/* ============================================================
   Starbucks v2 — Starbucks-style menu theme
   ============================================================ */
:root {
    --green: #1e3932;
    --green-dark: #122b25;
    --green-soft: #eef4f1;
    --gold: #c9a15c;
    --gold-dark: #b08a45;
    --cream: #f8f6f2;
    --card: #ffffff;
    --ink: #1e3932;
    --muted: #6f6f6f;
    --border: #e9e2d7;
    --radius: 16px;
    --shadow: 0 2px 14px rgba(30, 57, 50, .07);
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow {
    font-size: .72rem;
    letter-spacing: .22em;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    margin: 0 0 .6em;
}
.eyebrow.light { color: #cfe3da; }
.heart-accent { color: #b0563f; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: .65em 1.4em;
    font: 600 .85rem var(--sans);
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, background .15s;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green-soft); }
.btn-gold { background: var(--gold); color: var(--green-dark); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-sm { padding: .45em 1em; font-size: .78rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }
.icon-btn {
    background: none; border: 0; cursor: pointer; padding: .5em;
    color: var(--ink); border-radius: 50%; display: inline-flex;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--green-soft); }
.nav-toggle { display: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 14px rgba(30, 57, 50, .08);
}

/* ---------- Top utility bar ---------- */
.topbar { background: var(--green-dark); color: #cfe3da; font-size: .8rem; }
.topbar-inner {
    max-width: 1440px; margin: 0 auto; padding: .4rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar-note { color: #9db8ad; }
.header-inner {
    max-width: 1440px; margin: 0 auto; padding: .8rem 1.5rem;
    display: flex; align-items: center; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-logo { height: 42px; width: auto; }
.brand-mark { display: inline-flex; width: 38px; height: 38px; color: var(--green); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font: 800 1.15rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; gap: 1.6rem; margin-right: auto; }
.main-nav a {
    text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem;
    padding: .3em 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--green); }
.main-nav a.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-drop-btn {
    background: none; border: 0; cursor: pointer; padding: .3em 0;
    font: 500 .92rem var(--sans); color: var(--ink);
    border-bottom: 2px solid transparent;
    display: inline-flex; align-items: center; gap: .3em;
}
.nav-drop-btn::after { content: "▾"; font-size: .65em; color: var(--green); }
.nav-drop-btn:hover, .nav-drop-btn.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.nav-drop {
    display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    box-shadow: 0 14px 28px rgba(30, 57, 50, .14); min-width: 230px; padding: .4rem; z-index: 70;
}
.nav-drop a { display: block; padding: .55em .9em; border-bottom: 0; font-size: .9rem; white-space: nowrap; }
.nav-drop a:hover { background: var(--green-soft); border-radius: 8px; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { display: block; }
.header-cta { margin-left: .4rem; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.btn-store { background: var(--green); color: #fff; }
.btn-store:hover { background: var(--green-dark); }
.search-bar {
    border-top: 1px solid var(--border);
    padding: .8rem 1.5rem;
    background: #fff;
}
.search-bar form { max-width: 1440px; margin: 0 auto; display: flex; gap: .6rem; }
.search-bar input {
    flex: 1; border: 1px solid var(--border); border-radius: 999px;
    padding: .6em 1.2em; font: 1rem var(--sans);
}

/* ---------- Hero ---------- */
.hero { padding: 3rem 1.5rem 1.5rem; }
.hero-inner {
    max-width: 1440px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem;
}
.hero h1 {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(2.6rem, 5vw, 4rem); margin: 0 0 .4em; color: var(--ink);
}
.hero-sub { max-width: 34rem; color: #4a4a4a; font-size: 1.02rem; margin: 0; }
.hero-art { display: flex; align-items: center; gap: 1.2rem; color: var(--green); opacity: .9; }
.hero-script {
    font-family: var(--serif); font-style: italic; font-weight: 600;
    font-size: 1.5rem; line-height: 1.25; text-align: center;
}
.hero-leaf { width: 110px; height: auto; opacity: .35; }

/* ---------- Homepage hero (2026 redesign, better than .cc) ---------- */
.hero-home { background: #f8f7f3; padding: 3.5rem 1.5rem 3rem; border-bottom: 1px solid #ece9e0; }
.hero-home .hero-inner { align-items: center; gap: 3rem; }
.hero-home .hero-copy { flex: 1 1 52%; }
.hero-home .eyebrow { letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 700; color: var(--green); margin: 0 0 1rem; }
.hero-home h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.08; margin: 0 0 1rem; }
.hero-home h1 em { font-style: italic; color: #5b7d5a; font-weight: 600; }
.hero-home .hero-sub { font-size: 1.05rem; line-height: 1.65; color: #444; max-width: 34rem; margin: 0 0 1.6rem; }
.hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1.2rem; }
.hero-cta-btn { padding: .85em 1.6em; font-size: 1rem; }
.hero-link { color: var(--green); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--green); padding-bottom: 2px; }
.hero-link:hover { color: #005f3f; }
.hero-note { font-size: .85rem; color: #777; margin: 0; }
.hero-cards { flex: 1 1 44%; display: flex; gap: 1.4rem; align-items: flex-start; justify-content: center; }
.hero-card { margin: 0; border-radius: 999px 999px 18px 18px; overflow: hidden; background: #e9f1e4; box-shadow: 0 10px 30px rgba(30,57,50,.12); display: flex; flex-direction: column; }
.hero-card img { width: 100%; object-fit: cover; display: block; }
.hero-card-main { width: 300px; padding: 1.6rem 1.2rem 1.2rem; text-align: center; }
.hero-card-main img { aspect-ratio: 3/4; border-radius: 999px 999px 12px 12px; }
.hero-card-script { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #4a6b4f; margin-bottom: 1rem; }
.hero-card-main figcaption { padding: 1rem .4rem .4rem; }
.hero-card-kicker { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #6b7d6e; margin-bottom: .25rem; }
.hero-card-name { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.hero-cards-side { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding-top: 2.2rem; }
.hero-card-small { width: 170px; padding: .9rem .9rem .8rem; text-align: center; }
.hero-card-small img { aspect-ratio: 3/4; border-radius: 999px 999px 10px 10px; }
.hero-card-small figcaption { padding: .7rem .2rem .2rem; }
.hero-card-small .hero-card-name { font-style: italic; font-weight: 600; font-size: .98rem; }
.hero-card-green { background: #e9f1e4; }
.hero-card-pink { background: #fbe9e7; }
.hero-plus { font-size: 2rem; line-height: 1; color: #7fae7f; font-weight: 700; }

/* ---------- Category pills ---------- */
.cat-pills {
    max-width: 1440px; margin: 0 auto; padding: 1.2rem 1.5rem 1.8rem;
    display: flex; gap: 1.2rem; overflow-x: auto; scrollbar-width: thin;
}
.cat-pill {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: #00704a; color: #fff;
    border-radius: 999px; padding: .8rem 2rem;
    text-decoration: none; font-size: .95rem; font-weight: 700; white-space: nowrap;
    box-shadow: 5px 5px 0 #ffffff;
    transition: transform .15s, background .15s, box-shadow .15s;
}
.cat-pill:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #ffffff; color: #fff; }
.cat-pill.active { background: var(--green); color: #fff; box-shadow: 5px 5px 0 #ffffff; }

/* ---------- Menu layout ---------- */
.menu-layout {
    max-width: 1440px; margin: 0 auto; padding: 0 1.5rem 2rem;
    display: grid; grid-template-columns: 250px 1fr; gap: 1.8rem; align-items: start;
}

/* Filters sidebar */
.filters {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.4rem; box-shadow: var(--shadow);
    position: sticky; top: 92px;
}
.filters h3 { font-size: 1.02rem; margin: 0 0 1rem; }
.filter-group { border: 0; border-bottom: 1px solid var(--border); padding: 0 0 1rem; margin: 0 0 1rem; }
.filter-group legend { font-weight: 700; font-size: .88rem; padding: 0; margin-bottom: .6rem; }
.radio, .check {
    display: flex; align-items: center; gap: .6rem;
    font-size: .86rem; padding: .28em 0; cursor: pointer; color: #3d3d3d;
}
.radio input, .check input { accent-color: var(--green); width: 16px; height: 16px; margin: 0; }
.filter-actions { margin-top: .4rem; }

.promo-card {
    margin-top: 1.2rem; display: block; text-decoration: none; color: var(--green);
    background: var(--green-soft); border-radius: var(--radius); padding: 1.6rem 1.2rem;
    text-align: center;
}
.promo-icon { display: inline-flex; width: 34px; height: 34px; margin-bottom: .5rem; }
.promo-icon svg { width: 100%; height: 100%; }
.promo-text { display: block; font-weight: 700; font-size: .95rem; line-height: 1.4; }
.promo-arrow { display: block; margin-top: .6rem; font-size: 1.2rem; }

/* Drink grid */
.grid-head {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap;
}
.grid-head h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; margin: 0; }
.grid-meta { display: flex; align-items: center; gap: 1rem; }
.showing { font-size: .85rem; color: var(--muted); }
.sort-wrap { font-size: .85rem; color: var(--muted); display: inline-flex; align-items: center; gap: .5rem; }
.sort-wrap select {
    border: 1px solid var(--border); border-radius: 999px; padding: .5em 2em .5em 1em;
    font: 600 .82rem var(--sans); color: var(--ink); background: #fff;
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3932' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .7em center; background-size: 14px;
}

.drink-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.drink-grid.four { grid-template-columns: repeat(4, 1fr); }
.drink-card {
    position: relative; background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: transform .15s, box-shadow .2s;
}
.drink-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(30, 57, 50, .12); }
.fav-btn {
    position: absolute; top: .8rem; right: .8rem; z-index: 2;
    background: none; border: 0; cursor: pointer; color: var(--green); padding: .3em;
    border-radius: 50%; display: inline-flex;
}
.fav-btn svg { width: 20px; height: 20px; }
.fav-btn:hover { background: var(--green-soft); }
.fav-btn.active svg { fill: var(--green); }
.drink-img { display: block; width: 100%; aspect-ratio: 1 / 1; margin-bottom: .8rem; }
.drink-img img { width: 100%; height: 100%; object-fit: contain; }
.img-fallback {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; font-size: 4rem; color: var(--green); opacity: .4;
}
.img-fallback.big { font-size: 8rem; min-height: 320px; }
.drink-name { font-size: .98rem; font-weight: 600; margin: 0 0 .7rem; }
.drink-name a { color: var(--ink); text-decoration: none; }
.drink-name a:hover { color: var(--green); }
.size-pills { display: flex; gap: .45rem; flex-wrap: wrap; justify-content: center; margin-bottom: .7rem; }
.size-pill {
    border: 1px solid #cfc8ba; background: #fff; border-radius: 6px;
    font: 500 .68rem var(--sans); color: var(--ink);
    padding: .45em .7em; cursor: pointer;
}
.size-pill.active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.drink-price { font-weight: 700; font-size: .95rem; margin: 0; color: var(--ink); }

.empty-state {
    background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius);
    padding: 3rem; text-align: center; color: var(--muted);
}

/* ---------- Trust row ---------- */
.trust-row {
    max-width: 1440px; margin: 0 auto; padding: 2.2rem 1.5rem;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.trust-item { display: flex; gap: .9rem; align-items: flex-start; }
.trust-item + .trust-item { border-left: 1px solid var(--border); padding-left: 1.5rem; }
.trust-icon { width: 38px; height: 38px; flex: 0 0 38px; color: var(--green); }
.trust-icon svg { width: 100%; height: 100%; }
.trust-item strong { display: block; font-size: .88rem; }

/* ---------- UK sizes strip (homepage) ---------- */
.uk-sizes { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem 2rem; }
.uk-sizes-inner { background: #f2f7f4; border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem 1.5rem; }
.uk-sizes-inner h2 { font-size: 1.25rem; margin: .2rem 0 .9rem; }
.uk-size-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.uk-size-chip { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: .6rem .9rem; font-size: .85rem; }
.uk-size-chip strong { display: block; font-size: .95rem; }
.uk-size-chip span { color: var(--muted); }
.uk-sizes-note { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- Sub-category pills + breakfast SEO block ---------- */
.sub-pills { margin-top: -.8rem; }
.sub-pills .cat-pill { font-size: .82rem; padding: .45rem .9rem; }
.breakfast-seo { padding-top: 0; padding-bottom: 2rem; }
.breakfast-seo h2 { font-size: 1.4rem; margin: .2rem 0 .7rem; }
.breakfast-seo p { color: var(--muted); line-height: 1.65; max-width: 860px; }
.trust-item span span, .trust-item div span { display: block; font-size: .8rem; color: var(--muted); }

/* ---------- Newsletter band ---------- */
.newsletter-band { background: var(--green-dark); color: #fff; margin-top: 1rem; }
.newsletter-inner {
    max-width: 1440px; margin: 0 auto; padding: 2.8rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    background-image: radial-gradient(circle at 8% 50%, rgba(201, 161, 92, .12), transparent 40%);
}
.newsletter-copy h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .3em; }
.newsletter-copy p { margin: 0; color: #cfe3da; font-size: .95rem; }
.newsletter-form { display: flex; background: #fff; border-radius: 999px; padding: .35rem; min-width: min(480px, 100%); }
.newsletter-form input {
    flex: 1; border: 0; border-radius: 999px; padding: .7em 1.3em;
    font: 1rem var(--sans); outline: none; min-width: 0;
}

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--border); }
.footer-inner {
    max-width: 1440px; margin: 0 auto; padding: 2.6rem 1.5rem 1.5rem;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 2rem;
}
.footer-tagline { color: var(--muted); font-size: .88rem; margin-top: .8rem; }
.footer-col h4 { font-size: .85rem; margin: 0 0 .9em; letter-spacing: .04em; }
.footer-col a { display: block; color: #4a4a4a; text-decoration: none; font-size: .86rem; padding: .28em 0; }
.footer-col a:hover { color: var(--green); text-decoration: underline; }
.social-row { display: flex; gap: .8rem; }
.social-row a { display: inline-flex; width: 22px; height: 22px; color: var(--ink); padding: 0; }
.social-row a:hover { color: var(--green); }
.social-row svg { width: 100%; height: 100%; }
.footer-bottom {
    max-width: 1440px; margin: 0 auto; padding: 1.2rem 1.5rem 1.6rem;
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    border-top: 1px solid var(--border);
    font-size: .8rem; color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- Footer guides (blog posts) ---------- */
.footer-guides { background: var(--cream); border-top: 1px solid var(--border); }
.footer-guides-inner { max-width: 1440px; margin: 0 auto; padding: 2.4rem 1.5rem; }
.footer-guides-head h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0; }
.footer-guides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 1.3rem; }
.guide-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.guide-card a { display: block; text-decoration: none; color: inherit; height: 100%; }
.guide-card a:hover h4 { color: var(--green); }
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card h4 { font-size: 1.02rem; margin: .9rem 1rem .35rem; line-height: 1.35; }
.guide-card p { margin: 0 1rem .8rem; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.guide-card .guide-more { display: block; margin: 0 1rem 1.1rem; color: var(--green); font-weight: 600; font-size: .85rem; }

/* ---------- Homepage guide section ---------- */
.home-guide { background: #fff; border-top: 1px solid var(--border); }
.home-guide-inner { max-width: 1180px; margin: 0 auto; padding: 2.8rem 1.5rem; }
.home-guide h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); }
.home-guide h3 { font-size: 1.15rem; margin-top: 1.6em; }
.home-guide p { color: var(--muted); line-height: 1.7; }
.home-guide p strong { color: var(--ink); }

/* ---------- Drink detail ---------- */
.crumbs { max-width: 1440px; margin: 0 auto; padding: 1.4rem 1.5rem 0; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--green); text-decoration: none; }
.crumbs span { margin: 0 .4em; }
.drink-detail {
    max-width: 1280px; margin: 0 auto; padding: 1.5rem 1.5rem 3rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.detail-img { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 2rem; }
.detail-img img { width: 100%; max-height: 480px; object-fit: contain; }
.detail-fav { top: 1.2rem; right: 1.2rem; }
.detail-info h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 .5em; }
.badge-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.badge {
    background: var(--green-soft); color: var(--green); border-radius: 999px;
    font: 600 .72rem var(--sans); padding: .4em 1em;
}
.detail-desc { color: #4a4a4a; margin: 0 0 1.6rem; }
.detail-sub { font-size: 1.05rem; margin: 0 0 .7rem; }
.size-table { width: 100%; border-collapse: collapse; margin-bottom: 1.8rem; font-size: .9rem; background: #fff; border-radius: 12px; overflow: hidden; }
.size-table th, .size-table td { text-align: left; padding: .7em 1em; border-bottom: 1px solid var(--border); }
.size-table th { background: var(--green-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.related { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem 3rem; }
.related h2 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 1rem; }

/* ---------- CMS page ---------- */
.page-wrap { max-width: 1180px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.page-wrap h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6em; }
.cms-content { color: #3d3d3d; }
.page-featured-image { display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 0 auto 1.5rem; }
.cms-content h3 { margin-top: 1.6em; }
.cms-content a { color: var(--green); }

/* ---------- Toast ---------- */
.toast {
    position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--green-dark); color: #fff; padding: .8em 1.6em; border-radius: 999px;
    font-size: .9rem; opacity: 0; pointer-events: none; transition: all .3s; z-index: 200;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25); max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Calorie calculator ---------- */
.calc-layout {
    display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem;
    margin: 1.5rem 0 2.5rem; align-items: start;
}
.calc-main { padding: 1.6rem; }
.calc-step { margin-bottom: 1.6rem; }
.calc-step h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; font-size: 1.05rem; }
.step-num {
    width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; flex: 0 0 auto;
}
.calc-select {
    width: 100%; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: 12px;
    font-size: 1rem; background: #fff; color: var(--ink);
}
.calc-pills { display: flex; gap: .8rem; flex-wrap: wrap; }
.calc-pill {
    border: 2px solid var(--border); background: #fff; border-radius: 14px;
    padding: .7rem 1.2rem; cursor: pointer; text-align: center; min-width: 110px;
    display: flex; flex-direction: column; gap: .15rem; transition: all .15s;
}
.calc-pill strong { font-size: .95rem; }
.calc-pill span { font-size: .8rem; color: #5b6b63; }
.calc-pill:hover { border-color: var(--green); }
.calc-pill.active { border-color: var(--green); background: var(--green-soft); }
.calc-options { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.calc-check {
    display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem;
    border: 2px solid var(--border); border-radius: 12px; cursor: pointer; transition: all .15s;
}
.calc-check:hover { border-color: var(--green); }
.calc-check.active { border-color: var(--green); background: var(--green-soft); }
.calc-check input { accent-color: var(--green); width: 18px; height: 18px; flex: 0 0 auto; }
.calc-check span { flex: 1; font-size: .92rem; }
.calc-check em { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.calc-result { padding: 1.6rem; position: sticky; top: 90px; text-align: center; background: var(--green-dark); color: #fff; border: none; }
.calc-total-label { margin: 0; font-size: .85rem; opacity: .8; }
.calc-total { margin: .3rem 0 1rem; font-size: 3rem; font-weight: 800; line-height: 1; }
.calc-total small { font-size: 1.1rem; font-weight: 600; opacity: .8; }
.calc-breakdown { list-style: none; margin: 0 0 1rem; padding: 0; text-align: left; }
.calc-breakdown li {
    display: flex; justify-content: space-between; gap: .8rem; padding: .5rem 0;
    border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem;
}
.calc-breakdown li strong { white-space: nowrap; }
.calc-result .hint { color: rgba(255,255,255,.7); font-size: .78rem; margin: 0; }
.nutri-table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .88rem; color: #fff; text-align: left; }
.nutri-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; opacity: .65; font-weight: 700; padding: .35rem .25rem; border-bottom: 2px solid rgba(255,255,255,.35); }
.nutri-table td { padding: .42rem .25rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.nutri-table td:nth-child(2), .nutri-table td:nth-child(3), .nutri-table th:nth-child(2), .nutri-table th:nth-child(3) { text-align: right; white-space: nowrap; }
.nutri-table tr.nutri-sub td:first-child { padding-left: 1rem; opacity: .85; }
.calc-content h2 { margin-top: 2rem; }

/* ---------- Feedback ---------- */
.feedback-layout { display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; margin: 1.5rem 0 2rem; align-items: start; }
.feedback-form { padding: 1.6rem; }
.feedback-side { padding: 1.6rem; }
.feedback-side h3 { margin: 0 0 .6rem; font-size: 1rem; }
.feedback-side h3:not(:first-child) { margin-top: 1.4rem; }
.feedback-side ul { margin: 0; padding-left: 1.1rem; }
.feedback-side li { margin-bottom: .5rem; font-size: .92rem; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star input { position: absolute; opacity: 0; width: 0; }
.star span { font-size: 2rem; color: #d7dedb; cursor: pointer; transition: color .1s; }
.star:hover span, .star:hover ~ .star span { color: #e8b93c; }
.star input:checked ~ span, .star:has(input:checked) span { color: #e8b93c; }
.star:has(input:checked) ~ .star span { color: #e8b93c; }
.star input:focus-visible ~ span { outline: 2px solid var(--green); outline-offset: 2px; }

@media (max-width: 900px) {
    .calc-layout, .feedback-layout { grid-template-columns: 1fr; }
    .calc-result { position: static; }
    .calc-options { grid-template-columns: 1fr; }
}

/* Gift cards page */
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin: 1.6rem 0 2.5rem; }
.gift-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform .15s, box-shadow .2s;
}
.gift-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(30, 57, 50, .12); }
.gift-card img { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.gift-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.gift-cat { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.gift-card-body h3 { margin: 0; font-size: 1.05rem; }
.gift-desc { margin: 0; font-size: .88rem; color: var(--muted); }
.gift-amounts { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .3rem; }
.amt-pill {
    border: 1px solid #cfc8ba; background: #fff; border-radius: 999px;
    font: 600 .78rem var(--sans); color: var(--ink); padding: .35em .8em;
}
.gift-content { max-width: 760px; }
.gift-content ol, .gift-content ul { margin: .6rem 0 1.4rem; padding-left: 1.4rem; }
.gift-content li { margin-bottom: .5rem; }
.gift-content p { margin: .6rem 0 1rem; }
@media (max-width: 1150px) { .gift-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .gift-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gift-grid { grid-template-columns: 1fr; } }

/* ---------- Coffeehouse menu (menu.php) ---------- */
.sb-menu-layout { display: flex; gap: 2.5rem; max-width: 1440px; align-items: flex-start; }
.sb-side { flex: 0 0 240px; position: sticky; top: 1rem; }
.sb-side h2 { font-size: 1.05rem; margin-bottom: .8rem; color: var(--ink); }
.sb-side ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.sb-side li a { display: block; padding: .55rem .8rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sb-side li a:hover { background: var(--green-soft); }
.sb-side li a.active { background: var(--green); color: #fff; }
.sb-sub { margin: .2rem 0 .4rem 1rem; }
.sb-sub li a { font-size: .85rem; padding: .4rem .8rem; }
.sb-main { flex: 1; min-width: 0; }
.sb-main h1 { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: .2em; }
.sb-count { color: var(--muted); margin-bottom: 1.6rem; }
.sb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.2rem; }
.sb-card { text-decoration: none; color: var(--ink); text-align: center; display: block; }
.sb-circle { display: flex; align-items: center; justify-content: center; width: 150px; height: 150px; margin: 0 auto .7rem; border-radius: 50%; background: var(--green); overflow: hidden; box-shadow: 0 6px 18px rgba(30,57,50,.25); }
.sb-circle img { width: 100%; height: 100%; object-fit: cover; }
.sb-circle .img-fallback { font-size: 3rem; color: #fff; }
.sb-name { font-weight: 600; font-size: .95rem; display: block; }
.sb-card:hover .sb-name { color: var(--green); }

/* ---------- Drink detail ---------- */
.sb-hero { background: var(--green); color: #fff; }
.sb-hero-inner { max-width: 1440px; margin: 0 auto; padding: 3rem 1.5rem; display: flex; align-items: center; gap: 3rem; }
.sb-hero-photo { flex: 0 0 230px; width: 230px; height: 230px; border-radius: 50%; overflow: hidden; background: var(--green-dark); box-shadow: 0 10px 30px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; }
.sb-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.sb-hero-photo .img-fallback.big { font-size: 5rem; color: #fff; }
.sb-hero-copy h1 { color: #fff; font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .3em; }
.sb-cals { font-size: 1.25rem; margin: 0 0 .3rem; }
.sb-cals strong { font-size: 1.6rem; }
.sb-price { opacity: .85; margin: 0; }
.sb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1440px; }
.sb-h2 { font-size: 1.3rem; padding-bottom: .5rem; border-bottom: 3px solid var(--green); display: inline-block; margin-bottom: 1.4rem; }
.size-cups { display: flex; gap: 1rem; flex-wrap: wrap; }
.size-cup { border: 2px solid var(--border); background: #fff; border-radius: 14px; padding: 1rem .8rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 96px; color: var(--ink); }
.size-cup:hover { border-color: var(--green); }
.size-cup.active { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 2px var(--green) inset; }
.cup-icon { color: var(--green); display: block; }
.cup-icon svg { display: block; margin: 0 auto; }
.cup-0 svg { height: 34px; } .cup-1 svg { height: 40px; } .cup-2 svg { height: 46px; } .cup-3 svg { height: 52px; } .cup-4 svg { height: 58px; }
.cup-name { font-weight: 700; font-size: .95rem; }
.cup-label { font-size: .78rem; color: var(--muted); }
.sb-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.sb-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
/* What's Included customization */
.wi-section { margin-top: 2.4rem; margin-bottom: 2.4rem; }
.wi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem .9rem; }
.wi-item { position: relative; background: #fff; border: 1px solid #d9d2c4; border-radius: 10px; padding: .95rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 62px; }
.wi-tag { position: absolute; top: -.6rem; left: .85rem; background: #fff; padding: 0 .35rem; font-size: .72rem; color: #6f6f6f; line-height: 1.2; }
.wi-name { font-weight: 600; }
.wi-toggle { display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: 100%; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 0; text-align: left; }
.wi-value { font-weight: 500; }
.wi-chev { width: 1.7rem; height: 1.7rem; flex: none; border: 1.5px solid var(--green); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--green); }
.wi-chev svg { width: .8rem; height: .8rem; }
.wi-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid #d9d2c4; border-radius: 10px; list-style: none; margin: 0; padding: .3rem; z-index: 40; box-shadow: 0 12px 32px rgba(0,0,0,.14); max-height: 230px; overflow: auto; }
.wi-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: .55rem .7rem; border-radius: 7px; font: inherit; color: inherit; cursor: pointer; }
.wi-menu button:hover { background: #f4efe6; }
.wi-menu button.sel { font-weight: 700; color: var(--green); }
.wi-stepper { display: flex; align-items: center; gap: .7rem; }
.wi-btn { width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1.5px solid var(--green); background: #fff; color: var(--green); font-size: 1.05rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.wi-btn:hover { background: var(--green-soft); }
.wi-qty { min-width: 1.2rem; text-align: center; font-weight: 600; }
.wi-cals-note { margin-top: .9rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 700px) { .wi-grid { grid-template-columns: 1fr; } }
.sb-summary { background: var(--green); color: #fff; }
.sb-summary-inner { max-width: 1440px; margin: 0 auto; padding: 3rem 1.5rem; }
.sb-summary h2 { color: #fff; font-family: var(--serif); font-size: 1.8rem; margin-bottom: .6rem; }
.sb-summary-desc { opacity: .9; max-width: 640px; }
.sb-nums { display: flex; gap: 2.2rem; flex-wrap: wrap; margin: 1.6rem 0; }
.sb-num strong { display: block; font-size: 1.7rem; font-family: var(--serif); }
.sb-num span { font-size: .85rem; opacity: .75; }
.btn-light { display: inline-block; border: 2px solid #fff; color: #fff; border-radius: 999px; padding: .6rem 1.4rem; text-decoration: none; font-weight: 600; }
.btn-light:hover { background: #fff; color: var(--green); }
.sb-disclaimer { font-size: .8rem; opacity: .65; margin-top: 1.2rem; max-width: 640px; }
.related h2 { font-family: var(--serif); margin-bottom: 1.4rem; }

@media (max-width: 1000px) {
    .sb-grid { grid-template-columns: repeat(3, 1fr); }
    .sb-menu-layout { flex-direction: column; }
    .sb-side { position: static; flex: none; width: 100%; }
    .sb-side ul { display: flex; flex-wrap: wrap; gap: .4rem; }
    .sb-cols { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
    .sb-grid { grid-template-columns: repeat(2, 1fr); }
    .sb-circle { width: 120px; height: 120px; }
    .sb-hero-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
    .sb-hero-photo { flex: none; width: 180px; height: 180px; }
    .sb-nums { gap: 1.2rem; }
}

/* ---------- Store hours page ---------- */
.hours-page .lead { font-size: 1.08rem; }
.hours-table { width: 100%; max-width: 520px; border-collapse: collapse; margin: 1rem 0 1.8rem; }
.hours-table th, .hours-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
.hours-table th { width: 45%; font-weight: 700; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 2px solid var(--green); }
.reviewed { font-size: .85rem; color: var(--muted); margin-top: 2rem; }

/* ============================================================
   Responsive — whole site (added 2026-09-28)
   ============================================================ */
body { overflow-x: clip; }

/* ---------- Header / mobile nav ---------- */
@media (max-width: 940px) {
    .nav-toggle { display: inline-flex; }
    .header-inner { gap: 1rem; padding: .7rem 1rem; }
    .header-actions { margin-left: auto; }
    .main-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
        background: #fff; border-bottom: 1px solid var(--border);
        flex-direction: column; gap: 0; margin: 0;
        padding: .4rem 1.2rem 1rem;
        box-shadow: 0 14px 28px rgba(30, 57, 50, .14);
    }
    .main-nav.open { display: flex; }
    .main-nav a {
        padding: .75em 0; border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }
    .main-nav a:last-child { border-bottom: 0; }
    .main-nav a.active { border-bottom-color: var(--border); }
    .nav-item { display: block; }
    .nav-drop-btn { padding: .75em 0; font-size: 1rem; border-bottom: 1px solid var(--border); width: 100%; justify-content: space-between; }
    .nav-drop { display: block; position: static; transform: none; border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
    .nav-drop a { padding: .6em 0; font-size: .95rem; }
    .header-cta { display: none; }
    .topbar-note { display: none; }
    .topbar-inner { padding: .4rem 1rem; }
    .footer-guides-grid { grid-template-columns: repeat(2, 1fr); }
    .search-bar { padding: .7rem 1rem; }
}

/* ---------- Hero ---------- */
@media (max-width: 800px) {
    .hero { padding: 2rem 1rem 1rem; }
    .hero-inner { flex-direction: column; gap: 1.2rem; }
    .hero-art { justify-content: flex-start; }
    .hero-leaf { width: 64px; }
    .hero-script { font-size: 1.2rem; text-align: left; }
    .hero-home { padding: 2.2rem 1rem 2rem; }
    .hero-home .hero-inner { gap: 2rem; }
    .hero-cards { flex-wrap: wrap; }
    .hero-card-main { width: 260px; }
    .hero-card-small { width: 150px; }
    .cat-pills { padding: 1rem 1rem 1.4rem; gap: .8rem; }
}
@media (max-width: 560px) {
    .hero-cards { gap: .8rem; }
    .hero-card-main { width: 205px; }
    .hero-card-small { width: 126px; }
    .hero-cards-side { padding-top: 1.2rem; }
    .hero-card-script { font-size: 1rem; }
}

/* ---------- Homepage menu layout + drink grid ---------- */
@media (max-width: 940px) {
    .menu-layout { grid-template-columns: 1fr; gap: 1.2rem; padding: 0 1rem 2rem; }
    .filters { position: static; padding: 1.1rem 1.2rem; }
    .drink-grid, .drink-grid.four { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .grid-head { margin-bottom: 1rem; }
}
@media (max-width: 540px) {
    .drink-grid, .drink-grid.four { grid-template-columns: 1fr; }
    .drink-card { padding: 1rem; }
}

/* ---------- Trust row ---------- */
@media (max-width: 940px) {
    .trust-row { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; padding: 1.8rem 1rem; }
    .trust-item + .trust-item { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
    .trust-row { grid-template-columns: 1fr; }
}

/* ---------- Newsletter ---------- */
@media (max-width: 860px) {
    .newsletter-inner { flex-direction: column; align-items: stretch; gap: 1.2rem; padding: 2rem 1.2rem; }
    .newsletter-form { min-width: 0; width: 100%; }
}

/* ---------- Footer ---------- */
@media (max-width: 940px) {
    .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; padding: 2rem 1.2rem 1.2rem; }
}
@media (max-width: 560px) {
    .footer-inner { grid-template-columns: 1fr; gap: 1.2rem; }
    .footer-bottom { flex-direction: column; gap: .4rem; }
}

/* ---------- Drink detail (legacy layout) ---------- */
@media (max-width: 860px) {
    .drink-detail { grid-template-columns: 1fr; gap: 1.6rem; padding: 1rem 1rem 2.5rem; }
    .detail-img { padding: 1.2rem; }
}

/* ---------- Tables ---------- */
@media (max-width: 640px) {
    .size-table, .hours-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .size-table th, .size-table td { white-space: nowrap; }
    .page-wrap { padding: 2rem 1rem 3rem; }
    .home-guide-inner, .footer-guides-inner { padding: 2rem 1.2rem; }
    .footer-guides-grid { grid-template-columns: 1fr; }
    .calc-main { padding: 1.1rem; }
    .calc-pills { gap: .6rem; }
    .calc-pill { min-width: 0; flex: 1 1 45%; }
}
