/* ==========================================================================
   Starbucks Menu Prices — vanilla styles (ported from standalone artifact)
   Self-hosted fonts live in ../fonts/. No React / no external CDNs.
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/5c9c64a2-52ca-4597-a23c-662e08468d70.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/edd00972-cbb0-4583-9f42-2283f5e4824f.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/8eda044b-9faa-4e2b-b0a2-47911c67f93e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/96050123-267c-4599-a600-42ca61827bf0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/7345787c-7463-4a32-9e08-90080ccada69.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/11b88a9d-53dc-46b8-8fe1-f1dd10c6e873.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Scope / tokens ------------------------------------------------------- */
.sbux {
  --sbux-cream: #F6F1E7;
  --sbux-ink: #1B2620;
  --sbux-green: #14342B;
  --sbux-green2: #1d4a3c;
  --sbux-gold: #B8894B;
  --sbux-muted: #6B6257;
  --sbux-muted2: #9a917f;
  --sbux-line: #e4dcc9;
  --sbux-line2: #ece3d0;
  --sbux-line3: #ddd3bd;

  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  background: var(--sbux-cream);
  color: var(--sbux-ink);
  -webkit-font-smoothing: antialiased;
}
.sbux *,
.sbux *::before,
.sbux *::after { box-sizing: border-box; }
.sbux h2,
.sbux h3 { margin: 0; }

/* ---- Sticky search + category bar ---------------------------------------- */
.sbux-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 241, 231, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sbux-line);
}
.sbux-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.sbux-search { position: relative; flex: 1; min-width: 220px; }
.sbux-search-ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sbux-muted2);
  font-size: 15px;
}
.sbux-search-input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border: 1px solid var(--sbux-line3);
  border-radius: 40px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--sbux-ink);
  outline: none;
}
.sbux-search-input:focus { border-color: var(--sbux-gold); }
.sbux-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.sbux-nav-btn {
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 30px;
  background: #efe7d4;
  color: var(--sbux-green);
  transition: background .15s, color .15s;
}
.sbux-nav-btn:hover { background: #e4d8bd; }
.sbux-nav-btn.is-active { background: var(--sbux-green); color: var(--sbux-cream); }

/* ---- Menu ----------------------------------------------------------------- */
.sbux-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px 40px;
}
.sbux-empty { text-align: center; padding: 80px 20px; color: var(--sbux-muted); }
.sbux-empty-ico { font-size: 40px; margin-bottom: 12px; }
.sbux-empty p { margin: 0; }
.sbux-empty .lead { font-size: 18px; font-weight: 700; margin-bottom: 6px; }

.sbux-cat { padding: 44px 0 8px; scroll-margin-top: 72px; }
.sbux-cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.sbux-cat-ico { font-size: 26px; }
.sbux-cat-title {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--sbux-green);
}
.sbux-cat-count { font-size: 13px; color: var(--sbux-muted2); font-weight: 600; }
.sbux-cat-blurb { margin: 0 0 26px; color: var(--sbux-muted); font-size: 15px; max-width: 680px; }

.sbux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.sbux-card {
  background: #fff;
  border: 1px solid var(--sbux-line2);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(20, 52, 43, 0.04);
}
.sbux-card-imgwrap {
  position: relative;
  width: 100%;
  height: 170px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.sbux-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.sbux-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.sbux-card-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--sbux-green);
  min-height: 40px;
}
.sbux-sizes { display: flex; gap: 5px; margin-bottom: 12px; flex-wrap: wrap; }
.sbux-size {
  flex: 1 1 auto;
  padding: 7px 8px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  border-radius: 9px;
  border: 1px solid var(--sbux-line);
  background: #fff;
  color: var(--sbux-muted);
  transition: all .15s;
}
.sbux-size:hover { border-color: var(--sbux-green); }
.sbux-size.is-active { border-color: var(--sbux-green); background: var(--sbux-green); color: var(--sbux-cream); }
.sbux-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px dashed var(--sbux-line);
  padding-top: 12px;
  margin-top: auto;
}
.sbux-price {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--sbux-green);
  line-height: 1;
}
.sbux-price-sub { font-size: 12px; color: var(--sbux-muted2); margin-top: 4px; }
.sbux-cal-wrap { text-align: right; }
.sbux-cal { font-size: 15px; font-weight: 800; color: var(--sbux-gold); }
.sbux-cal-sub { font-size: 12px; color: var(--sbux-muted2); }
.sbux-readmore {
  margin-top: 14px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--sbux-green);
  background: transparent;
  color: var(--sbux-green);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  border-radius: 30px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.sbux-readmore:hover { background: var(--sbux-green); color: var(--sbux-cream); }

/* ---- Compare -------------------------------------------------------------- */
.sbux-compare {
  background: var(--sbux-green);
  color: var(--sbux-cream);
  padding: 64px 0;
  scroll-margin-top: 72px;
}
.sbux-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sbux-eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sbux-gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.sbux-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  margin: 0 0 8px;
}
.sbux-lead { margin: 0 0 30px; opacity: 0.82; max-width: 620px; }
.sbux-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(246, 241, 231, 0.14);
}
.sbux-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}
.sbux-table thead tr { background: rgba(184, 137, 75, 0.16); }
.sbux-table th {
  padding: 15px 12px;
  font-weight: 700;
  text-align: center;
}
.sbux-table th:first-child { text-align: left; padding: 15px 18px; font-weight: 800; letter-spacing: 0.5px; }
.sbux-table td {
  padding: 14px 12px;
  text-align: center;
  opacity: 0.9;
  border-top: 1px solid rgba(246, 241, 231, 0.1);
}
.sbux-table td.sbux-cmp-name { text-align: left; padding: 14px 18px; font-weight: 700; opacity: 1; }
.sbux-table tr.is-alt { background: rgba(246, 241, 231, 0.03); }
.sbux-note { margin: 16px 0 0; font-size: 12px; opacity: 0.6; }

/* ---- Nutrition ------------------------------------------------------------ */
.sbux-nutrition { padding: 64px 0; scroll-margin-top: 72px; }
.sbux-nutrition .sbux-h2 { color: var(--sbux-green); margin-bottom: 26px; }
.sbux-nutri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.sbux-nutri-card {
  background: #fff;
  border: 1px solid var(--sbux-line2);
  border-radius: 16px;
  padding: 24px;
}
.sbux-nutri-ico { font-size: 26px; margin-bottom: 12px; }
.sbux-nutri-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--sbux-green); }
.sbux-nutri-card p { font-size: 14px; color: var(--sbux-muted); margin: 0; line-height: 1.55; }

/* ---- FAQ ------------------------------------------------------------------ */
.sbux-faq { background: #efe7d4; padding: 64px 0; scroll-margin-top: 72px; }
.sbux-faq-inner { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.sbux-faq .sbux-h2 { color: var(--sbux-green); margin-bottom: 28px; }
.sbux-faq-list { display: flex; flex-direction: column; gap: 12px; }
.sbux-faq-item { background: #fff; border: 1px solid var(--sbux-line); border-radius: 14px; padding: 4px 20px; }
.sbux-faq-item > summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 800;
  font-size: 16px;
  color: var(--sbux-green);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sbux-faq-item > summary::-webkit-details-marker { display: none; }
.sbux-faq-item > summary::after { content: "+"; color: var(--sbux-gold); font-size: 20px; }
.sbux-faq-item[open] > summary::after { content: "\2013"; }
.sbux-faq-item p { margin: 0 0 16px; color: var(--sbux-muted); font-size: 14px; line-height: 1.6; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 600px) {
  .sbux-bar-inner,
  .sbux-main,
  .sbux-section-inner,
  .sbux-faq-inner { padding-left: 18px; padding-right: 18px; }
  .sbux-cat-title,
  .sbux-h2 { font-size: 28px; }
}

/* ---- Site-wide helpers ---------------------------------------------------- */
/* Remove the default focus outline on block-theme elements. */
:where(.wp-site-blocks *:focus) {
  outline-width: 0px;
  outline-style: none;
}

/* Smooth in-page anchor scrolling (Menu / Compare / Nutrition / FAQ links). */
html {
  scroll-behavior: smooth;
}
