/* The Continental Cake Shop Canberra
   Mobile-first stylesheet. Colours and sizes live in the variables below. */

:root {
    --brand: #1E9B82;
    --brand-mint: #58DCBF;
    --brand-dark: #146B5A;
    --brand-deep: #0E5447;
    --brand-soft: #DDF8F1;
    --brand-softer: #F1FCF9;
    --brand-line: #BDEFE3;

    --ink: #1B1B1F;
    --text: #2E2E33;
    --muted: #66666E;
    --line: #E3EAE8;
    --white: #FFFFFF;
    --star: #F2A91E;

    --success-bg: #E8F6EE; --success: #1D6A43;
    --error-bg: #FDECEC;   --error: #A42323;
    --info-bg: #EEF3FB;    --info: #1F4C8A;

    --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(27, 27, 31, .06), 0 2px 8px rgba(27, 27, 31, .04);
    --shadow: 0 10px 30px rgba(14, 84, 71, .10);
    --container: 1200px;
    --gutter: 16px;
    --drip: 28px;
}

@media (min-width: 768px) {
    :root { --gutter: 24px; --drip: 38px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 .5em;
    font-weight: 600;
    letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid rgba(30, 155, 130, .45); outline-offset: 2px; border-radius: 6px; }

[hidden] { display: none !important; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--brand-deep); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.icon { flex-shrink: 0; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 11px 22px;
    font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.2;
    border: 1.5px solid transparent; border-radius: 999px;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.btn--primary { background: var(--brand); color: var(--white); box-shadow: 0 6px 16px rgba(30, 155, 130, .22); }
.btn--primary:hover { background: var(--brand-dark); color: var(--white); }

.btn--outline { background: transparent; color: var(--ink); border-color: rgba(27, 27, 31, .85); }
.btn--outline:hover { background: var(--brand-dark); color: var(--white); }

.btn--light { background: var(--white); color: var(--brand); }
.btn--light:hover { background: var(--brand-soft); color: var(--brand-dark); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .75); }
.btn--ghost-light:hover { background: var(--white); color: var(--brand); border-color: var(--white); }

.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover .icon { transform: translateX(3px); }

.link-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
    background: none; border: 0; color: var(--muted); font-size: 14px; cursor: pointer;
}
.link-btn:hover { color: var(--error); }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    background: transparent; border: 0; border-radius: 50%;
    color: inherit; cursor: pointer; text-decoration: none; position: relative;
    transition: background-color .2s;
}

/* ---------- Top bar ---------- */

.topbar { background: var(--brand); color: var(--white); font-size: 13px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.topbar--no-text { display: none; }
@media (min-width: 900px) { .topbar--no-text { display: block; } }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 36px; }
.topbar__text { display: flex; align-items: center; gap: 8px; margin: 0; text-align: center; }
.topbar__meta { display: none; align-items: center; gap: 20px; }
.topbar__meta span, .topbar__meta a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; }
.topbar__meta a:hover { text-decoration: underline; }

@media (min-width: 900px) {
    .topbar__inner { justify-content: space-between; }
    .topbar__meta { display: flex; }
}

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 30; background: var(--brand); color: var(--white); }

.site-header__inner {
    display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px;
    min-height: 64px;
}

.brand { justify-self: center; position: relative; z-index: 2; margin-bottom: -26px; line-height: 0; }
.brand .logo { width: 76px; height: 76px; filter: drop-shadow(0 6px 14px rgba(4, 40, 33, .28)); transition: transform .25s; }
.brand:hover .logo { transform: rotate(-4deg) scale(1.03); }

.icon-btn:hover { background: rgba(255, 255, 255, .14); color: var(--white); }

.main-nav { display: none; }

.header-actions { display: flex; align-items: center; gap: 2px; }
.header-phone, .header-cta { display: none !important; }

.cart-count {
    position: absolute; top: 3px; right: 1px;
    min-width: 19px; height: 19px; padding: 0 5px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--white); color: var(--brand); border-radius: 999px;
    font-size: 11px; font-weight: 700; line-height: 1;
}

.drip { display: block; width: 100%; height: var(--drip); pointer-events: none; }
.drip--header { position: absolute; left: 0; top: calc(100% - 1px); color: var(--brand); }

@media (min-width: 1024px) {
    .site-header__inner { grid-template-columns: auto 1fr auto; gap: 24px; min-height: 76px; }
    .nav-toggle { display: none; }
    .brand { justify-self: start; margin-bottom: -44px; }
    .brand .logo { width: 108px; height: 108px; }
    .main-nav { display: block; justify-self: center; }
    .header-phone { display: inline-flex !important; }
    .header-cta { display: inline-flex !important; margin-left: 8px; }
}

.main-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav__list > li { position: relative; }
.main-nav__list > li > a {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 16px; border-radius: 999px;
    color: var(--white); font-family: var(--font-head); font-weight: 500; font-size: 16px; text-decoration: none;
    transition: background-color .2s;
}
.main-nav__list > li > a:hover, .main-nav__list > li > a[aria-current="page"] { background: rgba(255, 255, 255, .16); }
.dropdown-caret { transition: transform .2s; }

.dropdown {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
    min-width: 250px; padding: 8px;
    background: var(--white); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(27, 27, 31, .16);
    opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dropdown ul { margin: 0; padding: 0; list-style: none; }
.dropdown a {
    display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
    color: var(--ink); font-weight: 500; text-decoration: none;
}
.dropdown a:hover { background: var(--brand-softer); color: var(--brand); }
.dropdown__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown__all a { color: var(--brand); font-weight: 600; }

.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .dropdown-caret, .has-dropdown:focus-within .dropdown-caret { transform: rotate(180deg); }

/* ---------- Mobile drawer ---------- */

.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(4, 30, 25, .5); opacity: 0; transition: opacity .3s; }
.drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(88vw, 380px);
    display: flex; flex-direction: column;
    background: var(--white); color: var(--text);
    box-shadow: -12px 0 40px rgba(27, 27, 31, .18);
    transform: translateX(100%); transition: transform .32s cubic-bezier(.22, .8, .3, 1);
    overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 12px 14px 20px; border-bottom: 1px solid var(--line);
    position: sticky; top: 0; background: var(--white); z-index: 1;
}
.drawer__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-head); font-weight: 600; text-decoration: none; line-height: 1.2; }
.drawer__close { color: var(--ink); background: var(--brand-softer); }
.drawer__close:hover { background: var(--brand-soft); color: var(--brand); }

.drawer__nav { display: flex; flex-direction: column; padding: 8px 20px; }
.drawer__nav > a, .drawer__group > summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 0; border-bottom: 1px solid var(--line);
    color: var(--ink); font-family: var(--font-head); font-size: 18px; font-weight: 500; text-decoration: none;
    cursor: pointer; list-style: none;
}
.drawer__group > summary::-webkit-details-marker { display: none; }
.drawer__nav > a .icon, .drawer__group > summary .icon { color: var(--muted); transition: transform .2s; }
.drawer__group[open] > summary .icon { transform: rotate(180deg); }
.drawer__nav a[aria-current="page"] { color: var(--brand); }
.drawer__sub { display: flex; flex-direction: column; padding: 6px 0 10px 12px; border-bottom: 1px solid var(--line); }
.drawer__sub a { padding: 9px 0; color: var(--text); text-decoration: none; }
.drawer__sub a:hover { color: var(--brand); }

.drawer__foot { display: flex; flex-direction: column; gap: 10px; padding: 20px; margin-top: auto; background: var(--brand-softer); }
.drawer__info { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.drawer__info .icon { margin-top: 3px; color: var(--brand); }

/* ---------- Common sections ---------- */

.section { padding: 44px 0; }
.section--compact { padding: 24px 0 44px; }
.section--tint { background: var(--brand-softer); }

@media (min-width: 768px) {
    .section { padding: 64px 0; }
    .section--compact { padding: 32px 0 64px; }
}

.section-title { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 700; margin-bottom: 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-title { margin-bottom: 14px; }

.page-hero { background: var(--brand-softer); padding: calc(var(--drip) + 20px) 0 28px; }
.page-hero--slim { padding-bottom: 24px; }
.page-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; margin: 0 0 8px; }
.page-lead { max-width: 680px; color: var(--muted); font-size: 17px; margin: 0; }

@media (min-width: 1024px) {
    .page-hero { padding-top: calc(var(--drip) + 28px); }
}

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs li[aria-current] { color: var(--ink); font-weight: 500; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.chip {
    display: inline-flex; align-items: center;
    padding: 8px 16px; border: 1.5px solid var(--brand-line); border-radius: 999px;
    background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
    transition: border-color .2s, background-color .2s, color .2s;
}
a.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: var(--white); }

.stars { display: inline-flex; gap: 2px; color: var(--star); }

.alert { padding: 14px 18px; border-radius: var(--radius); font-weight: 500; margin-bottom: 12px; }
.alert--success { background: var(--success-bg); color: var(--success); }
.alert--error { background: var(--error-bg); color: var(--error); }
.alert--info { background: var(--info-bg); color: var(--info); }
.alert a { color: inherit; font-weight: 700; }
.toast-stack { position: fixed; top: 16px; left: 50%; z-index: 150; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0; box-shadow: 0 16px 40px rgba(27, 27, 31, .16); transition: opacity .3s, transform .3s; }
.toast.is-hiding { opacity: 0; transform: translateY(-8px); }
.toast__close { display: inline-flex; padding: 2px; border: 0; background: none; color: inherit; cursor: pointer; opacity: .7; }
.toast__close:hover { opacity: 1; }

.empty-state { max-width: 520px; margin: 0 auto; padding: 40px 0; text-align: center; }
.empty-state > .icon { margin: 0 auto 16px; color: var(--brand); }
.empty-state h1, .empty-state h2 { font-size: 26px; }
.empty-state p { color: var(--muted); }
.empty-state__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero ---------- */

.kicker { margin: 0 0 14px; color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.hero { position: relative; padding: calc(var(--drip) + 28px) 0 48px; overflow: hidden; }
.hero__inner { display: grid; gap: 40px; align-items: center; }

.hero__title { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 20px; }
.hero__text { font-size: 17px; color: var(--muted); max-width: 500px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
@media (max-width: 479px) { .hero__actions .btn { flex: 1 1 100%; } }

.hero__rating { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; text-decoration: none; }
.hero__rating strong { color: var(--ink); }
.hero__rating:hover { color: var(--ink); }

.hero__media { position: relative; padding: 0 0 56px 0; }
.hero__cake {
    display: block; width: 78%; margin-left: auto;
    aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: 200px 200px 28px 28px;
    box-shadow: 0 30px 60px rgba(14, 84, 71, .18);
}
.hero__shop {
    position: absolute; left: 0; bottom: 0; width: 46%; margin: 0;
    padding: 8px 8px 12px; background: var(--white); border-radius: 20px;
    box-shadow: 0 18px 40px rgba(27, 27, 31, .16); transform: rotate(-3deg);
}
.hero__shop img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%; border-radius: 14px; }
.hero__shop figcaption { padding: 10px 6px 0; font-size: 12px; line-height: 1.35; color: var(--muted); }
.hero__shop figcaption strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 13px; }

@media (min-width: 900px) {
    .hero { padding: calc(var(--drip) + 36px) 0 64px; }
    .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; }
    .hero__text { font-size: 18px; }
    .hero__media { width: min(100%, 540px); margin-left: auto; }
    .hero__shop { width: 42%; }
    .hero__shop figcaption { font-size: 13px; padding: 12px 8px 2px; }
    .hero__shop figcaption strong { font-size: 15px; }
}
/* Phones and small tablets: the cake photo fills the hero and the text sits on top of it. */
@media (max-width: 899px) {
    .hero {
        isolation: isolate; display: flex; align-items: flex-end;
        min-height: min(660px, calc(100svh - 100px)); padding: 0;
    }
    .hero__inner { display: block; width: 100%; padding-top: calc(var(--drip) + 170px); padding-bottom: 28px; }
    .hero__media { position: absolute; inset: 0; z-index: -1; padding: 0; }
    .hero__media::after {
        content: ""; position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(4, 36, 30, .05) 0%, rgba(4, 36, 30, .25) 38%, rgba(4, 36, 30, .82) 72%, rgba(4, 36, 30, .92) 100%);
    }
    .hero__cake { width: 100%; height: 100%; max-width: none; margin: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; object-position: center 30%; }
    .hero__shop { left: auto; right: var(--gutter); top: calc(var(--drip) + 14px); bottom: auto; z-index: 1; width: 118px; padding: 5px 5px 8px; border-radius: 14px; }
    .hero__shop img { border-radius: 10px; }
    .hero__shop figcaption { padding: 6px 2px 0; font-size: 10px; }
    .hero__shop figcaption strong { font-size: 11px; }
    .hero__shop figcaption span { display: none; }
    .hero .kicker { color: #8EE0CF; }
    .hero__title { color: var(--white); font-size: clamp(2.1rem, 9vw, 2.8rem); margin-bottom: 12px; }
    .hero__text { color: rgba(255, 255, 255, .88); font-size: 15px; margin-bottom: 20px; }
    .hero__actions { margin-bottom: 16px; }
    .hero .btn--outline { color: var(--white); border-color: rgba(255, 255, 255, .8); }
    .hero .btn--outline:hover { background: var(--white); color: var(--ink); }
    .hero__rating, .hero__rating strong { color: var(--white); }
    .hero__rating .rating-stars__base { color: rgba(255, 255, 255, .35); }
}

/* Shorter laptop screens: same layout, slightly smaller so the hero fits on one screen. */
@media (min-width: 900px) and (max-height: 820px) {
    .hero { padding: calc(var(--drip) + 20px) 0 40px; }
    .hero__media { width: min(100%, 450px); }
    .hero__shop { width: 48%; }
    .hero__shop figcaption { font-size: 12px; }
    .hero__shop figcaption strong { font-size: 14px; }
    .hero__title { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
}

/* ---------- USP strip ---------- */

.usp { background: var(--brand); color: rgba(255, 255, 255, .92); }
.usp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding-top: 10px; padding-bottom: 10px; }
.usp__item { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 0; font-size: 13px; font-weight: 500; line-height: 1.35; }
.usp__item .icon { color: var(--brand-mint); }
@media (min-width: 900px) {
    .usp__grid { grid-template-columns: repeat(4, auto); justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
    .usp__item { font-size: 15px; }
}

/* ---------- Section headings ---------- */

.section-sub { margin: 10px 0 0; color: var(--muted); font-size: 16px; max-width: 560px; }

/* ---------- Category tiles ---------- */

.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile {
    position: relative; display: block; overflow: hidden; isolation: isolate;
    aspect-ratio: 1; border-radius: var(--radius-lg);
    background: var(--brand-deep); color: var(--white); text-decoration: none;
    box-shadow: 0 10px 26px rgba(14, 84, 71, .14), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }

/* Darkening gradient for legible text, plus a soft top highlight for the glossy finish. */
.tile::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 28%),
        linear-gradient(0deg, rgba(4, 38, 32, .82) 0%, rgba(4, 38, 32, .35) 42%, rgba(4, 38, 32, 0) 70%);
}
/* Light sweep on hover */
.tile::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 1;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .32) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-18deg) translateX(0); opacity: 0; pointer-events: none;
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; transform: skewX(-18deg) translateX(420%); transition: transform .9s ease, opacity .2s; }

.tile__body { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.tile__name { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.15; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.tile__meta { font-size: 12px; color: rgba(255, 255, 255, .85); }
.tile__arrow {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
    border-radius: 50%; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .4);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background-color .25s, color .25s, transform .25s;
}
.tile:hover .tile__arrow { background: var(--white); color: var(--brand); transform: rotate(-45deg); }

/* Spans come from templates/home/categories.php so every row is full, whatever the count. */
.tile { grid-column: span var(--span-sm, 1); }
.tile--feature { aspect-ratio: 16 / 10; }
.tile--wide-sm { aspect-ratio: 2 / 1; }
.tile--feature .tile__name { font-size: 24px; }

@media (min-width: 768px) {
    .tile-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
    .tile, .tile--feature, .tile--wide-sm { aspect-ratio: auto; min-height: 190px; grid-column: span var(--span-lg, 1); grid-row: span var(--rows-lg, 1); }
    .tile__body { left: 22px; right: 22px; bottom: 20px; }
    .tile__name { font-size: 22px; }
    .tile__meta { font-size: 14px; }
    .tile--feature .tile__name { font-size: 34px; }
    .tile--feature .tile__body { left: 30px; bottom: 28px; }
    .tile__arrow { top: 18px; right: 18px; width: 44px; height: 44px; }
}
@media (min-width: 1100px) { .tile-grid { grid-auto-rows: minmax(210px, auto); } }

/* ---------- Round categories that glide past (Admin > Homepage > Categories style) ---------- */
.cat-ticker { --size: 84px; display: flex; align-items: flex-start; gap: 10px; }
.cat-ticker__viewport { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent); }
.cat-ticker__viewport::-webkit-scrollbar { display: none; }
.cat-ticker__track { display: flex; width: max-content; padding: 8px 0 6px; }
.cat-ticker__list { display: flex; gap: 18px; margin: 0; padding: 0 9px; list-style: none; }
.cat-ticker.is-static .cat-ticker__list[aria-hidden] { display: none; }
.cat-circle, .cat-ticker__all { display: flex; flex-direction: column; align-items: center; gap: 10px; width: calc(var(--size) + 16px); color: var(--ink); text-decoration: none; text-align: center; }
.cat-circle__ring, .cat-ticker__all-ring { position: relative; display: block; width: var(--size); height: var(--size); padding: 4px; border: 3px solid var(--brand); border-radius: 50%; background: var(--white); box-shadow: 0 8px 20px rgba(14, 84, 71, .12); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.cat-circle__ring img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--brand-softer); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cat-circle__name { font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-circle:hover .cat-circle__ring, .cat-circle:focus-visible .cat-circle__ring { transform: translateY(-4px) scale(1.05); border-color: var(--brand-dark); box-shadow: 0 14px 30px rgba(30, 155, 130, .32); }
.cat-circle:hover .cat-circle__ring img { transform: scale(1.1); }
.cat-circle:hover .cat-circle__name { color: var(--brand-dark); }
.cat-ticker__all { flex: 0 0 auto; padding-top: 8px; }
.cat-ticker__all-ring { display: grid; place-items: center; padding: 0; background: var(--brand); color: var(--white); }
.cat-ticker__all:hover .cat-ticker__all-ring { transform: translateY(-4px) scale(1.05); background: var(--brand-dark); box-shadow: 0 14px 30px rgba(30, 155, 130, .32); }
.cat-ticker__all:hover .cat-ticker__all-ring .icon { transform: translateX(3px); }
.cat-ticker__all-ring .icon { transition: transform .25s; }
.cat-ticker__all .cat-circle__name { color: var(--brand-dark); }
.cat-ticker__all-more { display: none; }
@media (min-width: 640px) { .cat-ticker { --size: 120px; gap: 16px; } .cat-ticker__list { gap: 26px; padding: 0 13px; } .cat-circle__name { font-size: 15px; } .cat-ticker__all-more { display: inline; } }
@media (min-width: 1100px) { .cat-ticker { --size: 140px; } .cat-ticker__list { gap: 34px; padding: 0 17px; } .cat-circle__name { font-size: 16px; } }

/* ---------- Product cards ---------- */

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; } }

.product-card { position: relative; display: flex; flex-direction: column; }

.product-card__media {
    position: relative; display: block; overflow: hidden;
    border-radius: var(--radius-lg); background: #EDF3F1;
    box-shadow: 0 1px 0 rgba(27, 27, 31, .04);
}
/* The photo sits above the card's stretched title link, so it can be swiped; it links to the cake too. */
.product-card__media { z-index: 3; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.product-card__slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.product-card__slides::-webkit-scrollbar { display: none; }
.product-card__media img { flex: 0 0 100%; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.product-card:hover .product-card__media { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(14, 84, 71, .18); }
.product-card:not(.has-photos):hover .product-card__media img { transform: scale(1.06); }
.product-card__dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.product-card__dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: width .25s, background-color .25s; }
.product-card__dots i.is-on { width: 18px; background: var(--white); }
.product-card__quick { position: absolute; left: 50%; top: 50%; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--brand-dark); font-family: var(--font-head); font-weight: 600; font-size: 14px; white-space: nowrap; box-shadow: 0 10px 24px rgba(14, 84, 71, .2); opacity: 0; transform: translate(-50%, -30%); transition: opacity .25s, transform .3s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
@media (hover: hover) {
    .product-card__slides { overflow-x: hidden; scroll-snap-type: none; }
    .product-card:hover .product-card__quick { opacity: 1; transform: translate(-50%, -50%); }
}
@media (prefers-reduced-motion: reduce) { .product-card__media, .product-card__media img, .product-card__quick { transition: none; } }

.product-card__badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 5px 11px; border-radius: 999px;
    background: var(--white); color: var(--brand);
    font-size: 12px; font-weight: 700; line-height: 1.3; box-shadow: 0 4px 12px rgba(27, 27, 31, .1);
}

.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 2px 0; }
.product-card__category { margin: 0 0 2px; font-size: 13px; color: var(--muted); }
.product-card__title { font-size: 16px; font-weight: 600; line-height: 1.3; margin: 0 0 6px; }
.product-card__title a { color: var(--ink); text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.product-card__title a:focus-visible { outline: none; }
.product-card:focus-within .product-card__media { outline: 3px solid rgba(30, 155, 130, .45); outline-offset: 2px; }
.product-card:hover .product-card__title a { color: var(--brand); }
.product-card__foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.product-card__price { margin: 0; font-weight: 700; font-size: 15px; color: var(--ink); }
.product-card__action { position: relative; z-index: 3; margin: 0; }
.product-card__btn {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 42px; padding: 8px 12px;
    border: 0; border-radius: 999px; background: var(--brand); color: var(--white);
    font-family: var(--font-head); font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color .2s;
}
.product-card__btn:hover { background: var(--brand-dark); }
.product-card__btn--enquire { position: relative; z-index: 3; text-decoration: none; background: var(--white); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.product-card__btn--enquire:hover { background: var(--brand); color: var(--white); }

.cart-item__size { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.cart-item__size select {
    height: 36px; padding: 0 32px 0 12px; border: 1.5px solid var(--line); border-radius: 10px; appearance: none; cursor: pointer;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2366666E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    color: var(--ink); font-weight: 600;
}
.cart-item__size select:focus { outline: none; border-color: var(--brand); }

@media (min-width: 768px) {
    .product-card__title { font-size: 18px; }
    .product-card__price { font-size: 16px; }
    .product-card__btn { min-height: 44px; font-size: 15px; }
}

/* ---------- Custom cakes feature ---------- */

.custom-feature { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .custom-feature { grid-template-columns: 1fr 1fr; gap: 56px; } }
.custom-feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mosaic__item { margin: 0; overflow: hidden; border-radius: 16px; background: #EDF3F1; }
.mosaic__item img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease; }
.mosaic__item:hover img { transform: scale(1.05); }
@media (min-width: 640px) { .mosaic { gap: 14px; } }
.mosaic { padding-bottom: 28px; }
.mosaic__item:nth-child(3n+2) { translate: 0 28px; }
.mosaic__item img { aspect-ratio: 3 / 4 !important; }

.steps { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.steps span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.steps__num {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand) !important; font-family: var(--font-head); font-weight: 700; font-size: 15px !important;
}
.steps--plain { margin-top: 20px; gap: 10px; }

/* ---------- Reviews ---------- */

.rating-stars { position: relative; display: inline-flex; width: max-content; align-self: flex-start; line-height: 0; vertical-align: middle; }
.rating-stars__base { display: inline-flex; gap: 2px; color: #D9E2E0; }
.rating-stars__fill { position: absolute; inset: 0 auto 0 0; display: inline-flex; gap: 2px; overflow: hidden; white-space: nowrap; color: var(--star); }
.rating-stars .icon { flex-shrink: 0; }
.google-logo { flex-shrink: 0; }

.hero__rating .rating-stars { margin-right: 2px; }

.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.reviews__badge {
    display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px;
    background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none;
    transition: box-shadow .2s, transform .2s;
}
.reviews__badge:hover { box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.reviews__badge-score { font-family: var(--font-head); font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.reviews__badge-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }

.reviews__list {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px;
}
.reviews__list::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
    .reviews__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; }
}

.review-card {
    display: flex; flex-direction: column; flex: 0 0 82%; scroll-snap-align: start;
    margin: 0; padding: 22px; background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s;
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review-card__quote { color: var(--brand-line); margin-bottom: 12px; }
.review-card blockquote { flex: 1; margin: 0 0 18px; color: var(--ink); font-size: 16px; line-height: 1.6; }
.review-card__foot { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-card__foot .google-logo { margin-left: auto; }
.review-card__avatar {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 38px; height: 38px; border-radius: 50%; background: var(--avatar, var(--brand)); color: var(--white);
    font-family: var(--font-head); font-weight: 700; font-size: 15px;
}
.review-card__who { display: flex; flex-direction: column; line-height: 1.3; font-size: 13px; color: var(--muted); }
.review-card__who strong { font-size: 15px; color: var(--ink); }

/* ---------- Custom cake gallery page ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-bottom: 32px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 48px; } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 18px; background: #EDF3F1; box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
/* Staggered "up and down" rhythm: every other column sits lower. */
.gallery-grid figure:nth-child(2n) { translate: 0 32px; }
@media (min-width: 768px) {
    .gallery-grid figure:nth-child(2n) { translate: none; }
    .gallery-grid figure:nth-child(3n+2) { translate: 0 48px; }
}
@media (min-width: 1100px) {
    .gallery-grid figure:nth-child(3n+2) { translate: none; }
    .gallery-grid figure:nth-child(4n+2), .gallery-grid figure:nth-child(4n+4) { translate: 0 48px; }
}

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pagination a {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 16px;
    border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none;
    transition: border-color .2s, background-color .2s, color .2s;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination a.is-current { background: var(--brand); border-color: var(--brand); color: var(--white); }

/* ---------- Visit / map ---------- */

.visit__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; } }

.visit__info .section-title { margin-bottom: 16px; }
.visit__address { display: flex; align-items: flex-start; gap: 8px; font-size: 17px; color: var(--ink); }
.visit__address .icon { color: var(--brand); margin-top: 3px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table th, .hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours-table th { font-weight: 500; color: var(--ink); }
.hours-table td { text-align: right; color: var(--muted); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--brand); font-weight: 700; }
.hours-table th span { margin-left: 6px; padding: 2px 8px; background: var(--brand-soft); border-radius: 999px; font-size: 12px; }

.visit__map { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--brand-softer); }
.visit__map iframe { display: block; width: 100%; height: 280px; border: 0; }
.visit__map--wide { margin-top: 40px; }
@media (min-width: 900px) { .visit__map iframe { height: 380px; } }

/* Visit us on phones and tablets: just the heading and the map (opening hours are in the footer). Desktop keeps the week table. */
.visit__map-bar { display: none; }
@media (max-width: 899px) {
    .visit .visit__grid { gap: 20px; }
    .visit .visit__address, .visit .hours-table { display: none; }
    .visit .visit__actions { display: none; }
    .visit .section-title { margin-bottom: 0; }
    .visit__map { border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--white); }
    .visit__map iframe { height: 300px; }
    .visit__map-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
    .visit__map-pin { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); }
    .visit__map-text { display: flex; flex-direction: column; min-width: 0; font-size: 14px; line-height: 1.35; }
    .visit__map-text strong { font-size: 15px; }
    .visit__map-text span { color: var(--muted); }
    .visit__map-go { display: grid; place-items: center; flex: 0 0 36px; height: 36px; margin-left: auto; border-radius: 50%; background: var(--brand); color: var(--white); }
}

/* ---------- Shop ---------- */

.shop-toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.filter-chips {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter);
}
.filter-chips::-webkit-scrollbar { display: none; }

.shop-filters { display: flex; gap: 10px; }
.search-field { position: relative; flex: 1; }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; height: 46px; padding: 0 14px 0 40px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); }
.select-field select {
    height: 46px; padding: 0 38px 0 16px; border: 1.5px solid var(--line); border-radius: 999px;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366666E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none; cursor: pointer;
}
.search-field input:focus, .select-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 155, 130, .12); }

.result-count { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

@media (min-width: 1024px) {
    .shop-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
    .filter-chips { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
    .shop-filters { flex-shrink: 0; }
    .search-field { width: 230px; flex: none; }
}

/* ---------- Product page ---------- */

.product-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

.product-page { padding-top: calc(var(--drip) + 16px); }
@media (min-width: 1024px) { .product-page { padding-top: calc(var(--drip) + 24px); } }

.product-gallery { position: relative; }
@media (min-width: 900px) { .product-gallery { position: sticky; top: 24px; } }

.product-info__category { display: inline-block; margin-bottom: 8px; font-size: 14px; font-weight: 600; text-decoration: none; }
.product-info__title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 8px; }
.product-info__price { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--brand); margin-bottom: 14px; }
.product-info__lead { font-size: 17px; color: var(--muted); }

.product-form { margin: 24px 0; padding-top: 24px; border-top: 1px solid var(--line); }

.field-group { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field { margin-bottom: 18px; min-width: 0; }
.field-label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 600; font-size: 15px; padding: 0; }
.field-hint { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
.field-help { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.field-help .icon { margin-top: 2px; }
.field-error { margin: 6px 0 0; color: var(--error); font-size: 14px; font-weight: 500; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) {
    .field-row { grid-template-columns: 1fr 1fr; }
    .field-row--3 { grid-template-columns: repeat(3, 1fr); }
}

.input {
    display: block; width: 100%; min-height: 50px; padding: 12px 14px;
    background: var(--white); border: 1.5px solid var(--line); border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
select.input {
    appearance: none; padding-right: 40px; cursor: pointer;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366666E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.input:hover { border-color: #C9D6D2; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 155, 130, .12); }
.input[aria-invalid="true"] { border-color: var(--error); }

.size-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.size-option { position: relative; cursor: pointer; }
.size-option input { position: absolute; opacity: 0; pointer-events: none; }
.size-option__box {
    display: flex; flex-direction: column; gap: 2px; height: 100%;
    padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.size-option__label { color: var(--ink); font-weight: 700; }
.size-option__servings { font-size: 13px; color: var(--muted); }
.size-option__price { font-size: 14px; color: var(--muted); }
.size-option:hover .size-option__box { border-color: var(--brand-line); }
.size-option input:checked + .size-option__box { border-color: var(--brand); background: var(--brand-softer); box-shadow: 0 0 0 3px rgba(30, 155, 130, .12); }
.size-option input:checked + .size-option__box .size-option__price { color: var(--brand); font-weight: 600; }
.enquiry-box { margin: 18px 0 8px; padding: 18px; border-radius: 16px; background: var(--brand-softer); border: 1px solid var(--brand-line); }
.enquiry-box p { margin: 0 0 14px; }
.enquiry-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) { .enquiry-box__actions .btn { width: 100%; justify-content: center; } }
.size-option input:focus-visible + .size-option__box { outline: 3px solid rgba(30, 155, 130, .45); outline-offset: 2px; }

.qty { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); }
.qty__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 100%; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 999px; }
.qty__btn:hover { color: var(--brand); }
.qty__input { width: 40px; height: 100%; padding: 0; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }
.qty--sm { height: 40px; }
.qty--sm .qty__btn { width: 36px; }
.qty--sm .qty__input { width: 32px; }

.product-form__buy { display: flex; gap: 12px; align-items: center; }
.product-form__submit { flex: 1; }

@media (max-width: 899px) {
    .product-form__buy {
        position: sticky; bottom: 0; z-index: 20;
        margin: 0 calc(-1 * var(--gutter)); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(27, 27, 31, .06);
    }
}

.product-facts { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 20px; list-style: none; background: var(--brand-softer); border-radius: var(--radius); font-size: 15px; }
.product-facts li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.product-facts .icon { color: var(--brand); margin-top: 1px; }
.product-facts strong { color: var(--ink); }

.product-description { max-width: 760px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.product-description h2 { font-size: 24px; }

/* ---------- Cart & checkout ---------- */

.cart-layout, .checkout-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) {
    .cart-layout { grid-template-columns: 1fr 360px; gap: 40px; }
    .checkout-layout { grid-template-columns: 1fr 400px; gap: 40px; }
}

.cart-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item__media img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--brand-softer); }
.cart-item__title { font-size: 17px; margin: 0 0 2px; }
.cart-item__title a { color: var(--ink); text-decoration: none; }
.cart-item__title a:hover { color: var(--brand); }
.cart-item__meta { margin: 0; font-size: 14px; color: var(--muted); }
.cart-item__message { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 14px; color: var(--ink); }
.cart-item__controls { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.cart-item__total { grid-column: 2; margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
@media (min-width: 640px) {
    .cart-item { grid-template-columns: 110px 1fr auto; gap: 20px; }
    .cart-item__media img { width: 110px; height: 110px; }
    .cart-item__total { grid-column: auto; font-size: 17px; }
}

.summary-card { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (min-width: 960px) { .summary-card { position: sticky; top: 24px; } }
.summary-card__title { font-size: 20px; margin-bottom: 16px; }
.summary-card__back { display: flex; justify-content: center; margin-top: 14px; font-size: 15px; }
.summary-lines { margin: 0; }
.summary-lines div { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); }
.summary-lines dt, .summary-lines dd { margin: 0; }
.summary-lines div[hidden] { display: none; }
.summary-lines__discount { color: var(--brand); font-weight: 700; }
.coupon-box { margin: 4px 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.coupon-box__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; background: none; color: var(--brand); font: 600 15px var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.coupon-box__toggle:hover { color: var(--brand-dark); }
.coupon-box__form { display: flex; gap: 8px; margin-top: 8px; }
.coupon-box__form[hidden] { display: none; }
.coupon-box__form .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.coupon-box__form .btn { flex: 0 0 auto; padding-left: 18px; padding-right: 18px; }
.coupon-box .field-error { margin: 8px 0 0; }
.coupon-box__applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1.5px dashed var(--brand); border-radius: 12px; background: var(--brand-softer); font-size: 14px; }
.coupon-box__applied[hidden] { display: none; }
.coupon-box__applied > span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink); }
.coupon-box__applied .icon { color: var(--brand); }
.coupon-box__remove { border: 0; background: none; color: var(--muted); font: 600 13px var(--font-body); text-decoration: underline; cursor: pointer; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 18px; margin-top: 8px; border-top: 1px solid var(--line); }
.summary-total span { font-weight: 600; color: var(--ink); }
.summary-total strong { font-family: var(--font-head); font-size: 24px; color: var(--ink); }
.summary-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.summary-note .icon { margin-top: 2px; color: var(--brand); }

.summary-items { margin: 0 0 12px; padding: 0 0 12px; list-style: none; border-bottom: 1px solid var(--line); }
.summary-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; line-height: 1.35; }
.summary-items img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--brand-softer); }
.summary-items strong { display: block; color: var(--ink); }
.summary-items span { color: var(--muted); display: block; }
.summary-items li > span { color: var(--ink); font-weight: 600; }
.summary-items__msg { font-style: italic; }

.checkout-step { margin: 0 0 18px; padding: 22px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); min-width: 0; }
@media (min-width: 640px) { .checkout-step { padding: 28px; } }
.checkout-step__title { display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin-bottom: 20px; padding: 0; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); }
.checkout-step__title + * { clear: both; }
.checkout-step__title span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--white); font-size: 14px; }

.pickup-address { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; margin-bottom: 18px; background: var(--brand-softer); border-radius: 12px; }
.pickup-address .icon { color: var(--brand); margin-top: 2px; }
@media (min-width: 640px) { .field-row--suburb { grid-template-columns: 2fr 1fr; } }
.delivery-note { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; padding: 12px 14px; background: var(--brand-softer); border-radius: 12px; font-size: 14px; color: var(--text); }
.delivery-note .icon { flex: 0 0 auto; color: var(--brand); margin-top: 2px; }

.option-cards { display: grid; gap: 12px; margin-bottom: 18px; }
.option-cards--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .option-cards--2 { grid-template-columns: 1fr 1fr; } }
.option-card { position: relative; display: block; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card__box {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; line-height: 1.45;
    transition: border-color .2s, background-color .2s;
}
.option-card__box > .icon { color: var(--brand); margin-top: 2px; }
.option-card__box strong { display: block; color: var(--ink); }
.option-card__box span span { font-size: 14px; color: var(--muted); }
.option-card:hover .option-card__box { border-color: var(--brand-line); }
.option-card input:checked + .option-card__box { border-color: var(--brand); background: var(--brand-softer); }
.option-card input:focus-visible + .option-card__box { outline: 3px solid rgba(30, 155, 130, .45); outline-offset: 2px; }

.payment-details { margin: 10px 0 4px; padding: 16px; background: var(--white); border: 1px dashed var(--brand-line); border-radius: 12px; }
.payment-details dl { margin: 0 0 6px; }
.payment-details dl div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.payment-details dl div:last-child { border-bottom: 0; }
.payment-details dt { color: var(--muted); }
.payment-details dd { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.copy-btn { padding: 4px 10px; border: 1px solid var(--brand-line); border-radius: 999px; background: var(--brand-softer); color: var(--brand); font-size: 12px; font-weight: 600; cursor: pointer; flex: 0 0 auto; white-space: nowrap; word-break: normal; }
.copy-btn:hover { background: var(--brand-soft); }

.file-drop {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    padding: 22px 16px; border: 1.5px dashed var(--brand-line); border-radius: 14px; background: var(--brand-softer);
    color: var(--muted); text-align: center; font-size: 14px; cursor: pointer; transition: border-color .2s;
}
.file-drop .icon { color: var(--brand); }
.file-drop:hover, .file-drop.has-file { border-color: var(--brand); }
.file-drop.has-file { color: var(--ink); font-weight: 600; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
fieldset.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.choice-row { display: grid; gap: 10px; }
@media (min-width: 560px) { .choice-row { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font-weight: 600; color: var(--ink); transition: border-color .2s, background-color .2s; }
.choice span .icon { color: var(--brand); }
.choice:hover span { border-color: var(--brand-line); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-softer); box-shadow: 0 0 0 3px rgba(30, 155, 130, .12); }
.choice input:focus-visible + span { outline: 3px solid rgba(30, 155, 130, .45); outline-offset: 2px; }
.file-drop__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); }
.file-drop__done, .file-drop.is-uploaded .file-drop__icon .icon:first-child { display: none; }
.file-drop.is-uploaded .file-drop__done { display: block; }
.file-drop.is-uploaded { border-style: solid; background: var(--brand-soft); }
.file-drop.is-uploaded .file-drop__icon { background: var(--brand); }
.file-drop.is-uploaded .file-drop__icon .icon { color: var(--white); }
.file-drop.is-uploading { cursor: progress; }
.file-drop.is-uploading input { pointer-events: none; }
.file-drop__text { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 360px; word-break: break-word; }
.file-drop__progress { display: flex; align-items: center; gap: 10px; width: 100%; }
.file-drop__progress[hidden] { display: none; }
.file-drop__bar { flex: 1; height: 8px; border-radius: 999px; background: var(--white); overflow: hidden; box-shadow: inset 0 0 0 1px var(--brand-line); }
.file-drop__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--brand); transition: width .15s linear; }
.file-drop__percent { min-width: 42px; color: var(--brand); font-weight: 700; font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex-shrink: 0; }

/* Checkout: progress, "what is missing" list, finished steps, phone summary and sticky button */
.checkout-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.checkout-hero .page-title { margin: 0; }
.checkout-progress { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.checkout-progress li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.checkout-progress li + li::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand-line); }
.checkout-progress a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.checkout-progress a:hover { color: var(--brand); }
.checkout-progress span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--brand-line); font-size: 12px; color: var(--muted); }
.checkout-progress .is-done span { background: var(--brand); border-color: var(--brand); color: var(--white); }
.checkout-progress .is-current { color: var(--ink); }
.checkout-progress .is-current span { border-color: var(--brand); color: var(--brand); }
@media (max-width: 479px) {
    .checkout-progress { flex-wrap: wrap; font-size: 13px; gap: 6px; }
    .checkout-progress li + li::before { width: 12px; }
    /* Only the current step keeps its name on small phones. */
    .checkout-progress li:not(.is-current), .checkout-progress li:not(.is-current) a { font-size: 0; gap: 0; }
    .checkout-progress li:not(.is-current) span { font-size: 12px; }
    .checkout-progress li:not(.is-current) + li::before, .checkout-progress li + li:not(.is-current)::before { margin-right: 6px; }
}

.form-errors { margin: 0 0 18px; padding: 18px; border: 1.5px solid #F2B8B8; border-left-width: 5px; border-radius: var(--radius-lg); background: #FFF8F8; box-shadow: 0 10px 28px rgba(164, 35, 35, .08); outline: none; scroll-margin-top: 16px; }
.form-errors[hidden] { display: none; }
.form-errors:focus-visible { box-shadow: 0 0 0 3px rgba(164, 35, 35, .25); }
.form-errors__head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.form-errors__head strong { display: block; color: var(--error); font-family: var(--font-head); font-size: 18px; line-height: 1.3; }
.form-errors__head span { display: block; color: var(--muted); font-size: 14px; }
.form-errors__icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--error-bg); color: var(--error); }
.form-errors__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.form-errors__list a { position: relative; display: block; padding: 10px 40px 10px 14px; border: 1px solid #F4D2D2; border-radius: 12px; background: var(--white); color: var(--text); text-decoration: none; line-height: 1.4; transition: border-color .15s, transform .15s; }
.form-errors__list a::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--error); border-bottom: 2px solid var(--error); transform: translateY(-50%) rotate(-45deg); }
.form-errors__list a:hover { border-color: var(--error); transform: translateX(2px); }
.form-errors__list strong { display: block; color: var(--ink); font-size: 15px; }
.form-errors__list span { display: block; color: var(--error); font-size: 14px; }
.form-errors.is-shaking { animation: form-shake .45s ease; }
@keyframes form-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .form-errors.is-shaking { animation: none; } }

.checkout-step { box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; scroll-margin-top: 16px; }
.checkout-step:focus-within { border-color: var(--brand-line); box-shadow: 0 12px 30px rgba(14, 84, 71, .08); }
.checkout-step.has-error { border-color: #F2B8B8; }
.checkout-step__num b { font-weight: 700; }
.checkout-step__num .icon { display: none; }
.checkout-step.is-done .checkout-step__num { background: var(--brand-dark); }
.checkout-step.is-done .checkout-step__num b { display: none; }
.checkout-step.is-done .checkout-step__num .icon { display: block; }
.checkout-step.has-error .checkout-step__num { background: var(--error); }
.checkout-step.has-error .checkout-step__num b { display: inline; }
.checkout-step.has-error .checkout-step__num .icon { display: none; }
.field, .option-cards, .check { scroll-margin: 90px 0; }
.input[aria-invalid="true"] { background: #FFFBFB; }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(164, 35, 35, .14); }
.field-error { display: flex; gap: 6px; align-items: flex-start; }
.field-error[hidden] { display: none; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--error); color: var(--white); font-size: 12px; font-weight: 800; line-height: 1; }
.field-error:empty { display: none; }
.option-cards.is-invalid .option-card__box, .file-drop.is-invalid { border-color: var(--error); }
.file-drop.is-invalid { background: #FFF8F8; }

.option-card__box { position: relative; padding-right: 46px; background: var(--white); }
.option-card__box::after { content: ""; position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border: 2px solid #C9D6D2; border-radius: 50%; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.option-card input:checked + .option-card__box { box-shadow: 0 0 0 3px rgba(30, 155, 130, .12); }
.option-card input:checked + .option-card__box::after { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px var(--white); }

.check--confirm { padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--brand-softer); }
.check--confirm:has(input:checked) { border-color: var(--brand); }
.check--confirm:has(input[aria-invalid="true"]) { border-color: var(--error); background: #FFF8F8; }

.summary-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.summary-card__head .summary-card__title { margin: 0; }
.summary-card__secure { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--brand-softer); color: var(--brand-dark); font-size: 12px; font-weight: 700; }

.checkout-mini { margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.checkout-mini summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; }
.checkout-mini summary::-webkit-details-marker { display: none; }
.checkout-mini__label { display: inline-flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-weight: 600; color: var(--ink); }
.checkout-mini__label .icon { color: var(--brand); flex: 0 0 auto; }
.checkout-mini__label small { color: var(--muted); font-weight: 500; }
.checkout-mini summary strong { font-family: var(--font-head); font-size: 18px; color: var(--ink); }
.checkout-mini__chevron { color: var(--muted); transition: transform .2s; }
.checkout-mini[open] .checkout-mini__chevron { transform: rotate(180deg); }
.checkout-mini__items { margin: 0; padding: 4px 16px 8px; list-style: none; border-top: 1px solid var(--line); }
.checkout-mini__items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; color: var(--ink); }
.checkout-mini__items li + li { border-top: 1px dashed var(--line); }
.checkout-mini__items small { display: block; color: var(--muted); }
.checkout-mini__items li > span:last-child { font-weight: 600; white-space: nowrap; }
.checkout-mini .link-arrow { margin: 0 16px 14px; font-size: 14px; }
@media (min-width: 960px) { .checkout-mini { display: none; } }

.checkout-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(27, 27, 31, .10); backdrop-filter: blur(8px); animation: bar-in .25s ease; }
.checkout-bar[hidden] { display: none; }
.checkout-bar__total span { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.checkout-bar__total strong { font-family: var(--font-head); font-size: 20px; color: var(--ink); }
.checkout-bar .btn { flex: 0 1 auto; min-width: 0; padding-left: 22px; padding-right: 22px; }
@keyframes bar-in { from { transform: translateY(100%); } to { transform: none; } }
@media (min-width: 960px) { .checkout-bar { display: none !important; } }
@media print { .checkout-bar { display: none !important; } }

/* ---------- Order confirmation ---------- */

.order-hero { padding: calc(var(--drip) + 8px) 0 28px; text-align: center; }
.order-hero__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.order-hero--pending .order-hero__icon { background: var(--brand-soft); color: var(--brand); }
.order-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; }
.order-hero p { color: var(--muted); font-size: 17px; }
.order-hero__note { display: inline-flex; gap: 8px; align-items: flex-start; padding: 12px 16px; background: var(--info-bg); color: var(--info) !important; border-radius: 12px; font-size: 15px !important; text-align: left; }
.order-hero__note .icon { margin-top: 3px; }

.order-grid { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .order-grid { grid-template-columns: 1fr 1fr; } }
.order-box { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.order-box h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.order-box p { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.order-box p .icon { color: var(--brand); margin-top: 3px; }
.order-box p.order-box__note { padding: 10px 12px; border-radius: 10px; background: var(--brand-softer); color: var(--text); font-size: 14px; }
.order-box__big { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); }
.order-status { margin: 0; }
.order-status div { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.order-status dt { color: var(--muted); }
.order-status dd { margin: 0; font-weight: 600; color: var(--ink); }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--brand-soft); color: var(--brand-dark); }
.status--paid, .status--confirmed, .status--ready, .status--completed { background: var(--success-bg); color: var(--success); }
.status--failed, .status--cancelled { background: var(--error-bg); color: var(--error); }
.status--awaiting_verification, .status--partially_paid { background: var(--info-bg); color: var(--info); }
.order-items { margin: 0 0 8px; padding: 0; list-style: none; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-items strong { display: block; color: var(--ink); }
.order-items span { color: var(--muted); font-size: 14px; }
.order-items li > span { color: var(--ink); font-weight: 600; font-size: 16px; }
.order-help { margin-top: 24px; text-align: center; color: var(--muted); }

/* ---------- Custom cakes, contact, about ---------- */

.custom-layout, .contact-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) {
    .custom-layout { grid-template-columns: 1fr 380px; gap: 40px; }
    .contact-layout { grid-template-columns: 400px 1fr; gap: 40px; }
}

.form-card { padding: 24px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.form-card__title { font-size: 24px; margin-bottom: 6px; }
.form-card__lead { color: var(--muted); margin-bottom: 24px; }

.custom-aside, .contact-details { display: flex; flex-direction: column; gap: 16px; }
.info-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.info-card h2 { font-size: 19px; margin-bottom: 16px; }
.info-card--brand { background: var(--brand); border-color: var(--brand); color: var(--white); }
.info-card--brand h2 { color: var(--white); }
.info-card--brand p { opacity: .92; }
.info-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--white); font-weight: 600; text-decoration: none; }
.info-card__link:hover { color: var(--white); text-decoration: underline; }

.tick-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .icon { color: var(--brand); margin-top: 3px; }
.tick-list--lg { margin: 24px 0 28px; font-size: 17px; color: var(--ink); }

.contact-tile {
    display: flex; gap: 14px; align-items: center; padding: 18px 20px;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    color: var(--muted); text-decoration: none; line-height: 1.4; word-break: break-word;
    transition: border-color .2s, box-shadow .2s;
}
.contact-tile .icon { color: var(--brand); }
.contact-tile strong { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-tile:hover { border-color: var(--brand-line); box-shadow: var(--shadow-sm); color: var(--muted); }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.about-layout { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about-layout { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.about-copy p { color: var(--muted); font-size: 17px; }
.about-copy .section-title { margin-bottom: 18px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.about-media img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); aspect-ratio: 4 / 4.3; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 28px 16px; background: var(--brand-softer); border-radius: 28px; text-align: center; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); padding: 40px; } }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--brand); line-height: 1.1; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */

.site-footer { position: relative; margin-top: 24px; padding-top: calc(var(--drip) + 28px); background: var(--brand); color: rgba(255, 255, 255, .88); font-size: 14px; }
.drip--footer { position: absolute; top: -1px; left: 0; color: var(--white); }

.site-footer__grid { display: grid; gap: 28px; padding-bottom: 28px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.1fr 1.2fr 1fr; gap: 40px; } }

.footer-brand__logo { display: inline-block; margin-bottom: 10px; }
.footer-brand__logo img { width: 72px; height: 72px; }
.footer-brand p { max-width: 300px; margin: 0; }

.footer-col h2 { margin-bottom: 12px; color: var(--white); font-size: 15px; font-weight: 600; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.footer-links--2col { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
    padding-top: 14px; padding-bottom: calc(14px + env(safe-area-inset-bottom));
    position: relative; font-size: 13px;
}
.site-footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .2); }
.site-footer__bottom p { margin: 0; }
.footer-inline { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }

.footer-hours--dark { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.footer-hours--dark li { display: flex; justify-content: space-between; gap: 12px; }
.footer-hours--dark li span:first-child { color: var(--ink); }

/* ---------- Effects ---------- */

.btn--primary:hover, .btn--light:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(30, 155, 130, .26); }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4) { animation-delay: .24s; }
.hero__copy > *:nth-child(5) { animation-delay: .32s; }
.hero__cake { animation: settle .9s ease both; }
@keyframes rise-tilt { from { opacity: 0; transform: translateY(18px) rotate(-3deg); } to { opacity: 1; transform: rotate(-3deg); } }
.hero__shop { animation: rise-tilt .8s .35s cubic-bezier(.2, .7, .2, 1) both; }

@keyframes bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.35); } }
.cart-count.is-bumping { animation: bump .5s ease; }

/* Account icon gently shakes for guests to invite them to log in. */
@keyframes nudge {
    0%, 86%, 100% { transform: rotate(0); }
    88% { transform: rotate(-14deg); }
    90% { transform: rotate(12deg); }
    92% { transform: rotate(-10deg); }
    94% { transform: rotate(8deg); }
    96% { transform: rotate(-4deg); }
}
.account-link--nudge .icon { animation: nudge 5s ease-in-out 1.5s infinite; transform-origin: 50% 20%; }
.account-link--nudge::after {
    content: ""; position: absolute; top: 9px; right: 9px; width: 9px; height: 9px;
    border-radius: 50%; background: #FFD34D; box-shadow: 0 0 0 2px var(--brand);
}
.account-link__tip {
    position: absolute; top: calc(100% + 10px); right: -8px; z-index: 40;
    padding: 8px 12px; border-radius: 10px; background: var(--brand-deep); color: var(--white);
    font-size: 13px; font-weight: 500; white-space: nowrap; line-height: 1.3;
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s;
    pointer-events: none;
}
.account-link__tip::before { content: ""; position: absolute; bottom: 100%; right: 22px; border: 6px solid transparent; border-bottom-color: var(--brand-deep); }
.account-link--nudge:hover .account-link__tip, .account-link--nudge:focus-visible .account-link__tip, .account-link--nudge.show-tip .account-link__tip { opacity: 1; visibility: visible; transform: none; }

/* ---------- Accounts ---------- */

.auth-section { padding-top: calc(var(--drip) + 24px); }
.auth-layout { display: grid; gap: 24px; max-width: 980px; align-items: stretch; }
@media (min-width: 900px) { .auth-layout { grid-template-columns: 1fr 1fr; gap: 0; } .auth-layout .auth-card { border-radius: var(--radius-lg) 0 0 var(--radius-lg); } }
.auth-card { padding: 28px 22px; }
@media (min-width: 640px) { .auth-card { padding: 40px; } }
.auth-card--single { max-width: 480px; margin: 0 auto; }
.auth-switch { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.field-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field-label-row a { font-size: 14px; }

.auth-aside { position: relative; display: none; overflow: hidden; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: var(--brand-deep); color: var(--white); }
@media (min-width: 900px) { .auth-aside { display: block; } }
.auth-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 38, 32, .88) 0%, rgba(4, 38, 32, .2) 60%); }
.auth-aside__body { position: absolute; left: 32px; right: 32px; bottom: 32px; z-index: 1; }
.auth-aside__body h2 { color: var(--white); font-size: 22px; }
.auth-aside .tick-list .icon { color: var(--brand-mint); }

.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.account-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .account-layout { grid-template-columns: 1fr 340px; gap: 40px; } }
.account-title { font-size: 22px; margin-bottom: 16px; }
.account-side { display: flex; flex-direction: column; gap: 16px; }
.empty-state--left { text-align: left; margin: 0; padding: 0; }

.order-card { padding: 20px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.order-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.order-card__top h3 { font-size: 18px; margin: 0 0 2px; }
.order-card__top p { margin: 0; font-size: 14px; color: var(--muted); }
.order-card__pickup { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 15px; }
.order-card__pickup .icon { color: var(--brand); }
.order-card__payment { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.order-progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.order-progress li { position: relative; padding-top: 24px; font-size: 12px; line-height: 1.3; color: var(--muted); text-align: center; }
.order-progress li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--line); z-index: 1; }
.order-progress li::after { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.order-progress li:first-child::after { display: none; }
.order-progress li.is-done::before, .order-progress li.is-done::after { background: var(--brand); }
.order-progress li.is-current { color: var(--ink); font-weight: 700; }
.order-progress li.is-current::before { box-shadow: 0 0 0 4px var(--brand-soft); }

.account-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 18px; background: var(--brand-softer); border-radius: 12px; font-size: 14px; line-height: 1.5; }
.account-note .icon { color: var(--brand); margin-top: 1px; }
.create-account { padding: 14px 16px; border: 1.5px dashed var(--brand-line); border-radius: 12px; }
.create-account .field { margin: 14px 0 0; }

.account-prompt { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px; background: var(--brand-softer); border-radius: 12px; font-size: 14px; line-height: 1.5; }
.account-prompt .icon { color: var(--brand); margin-top: 2px; }
.account-prompt strong { display: block; color: var(--ink); }
.account-prompt span { color: var(--muted); }

/* ---------- Content pages, FAQ and accordions ---------- */

.prose { color: var(--text); font-size: 16px; line-height: 1.75; }
.prose h2 { margin: 32px 0 10px; font-size: 21px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--brand); }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin: 24px 0 8px; font-size: 18px; }
.prose h4 { margin: 20px 0 6px; font-size: 16px; }
.prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose img { height: auto; max-width: 100%; margin: 10px 0; border-radius: 14px; }
.prose blockquote { margin: 0 0 14px; padding: 12px 18px; border-left: 4px solid var(--brand-mint); background: var(--brand-softer); border-radius: 0 12px 12px 0; }
.prose a { color: var(--brand); }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose__updated { margin-top: 32px !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.policy-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.policy-nav a {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px;
    border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none;
}
.policy-nav a:hover { border-color: var(--brand); color: var(--brand); }

.faq-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 240px 1fr; gap: 48px; } }
.faq-topics { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.faq-topics::-webkit-scrollbar { display: none; }
.faq-topics a { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; background: var(--brand-softer); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.faq-topics a:hover { background: var(--brand-soft); color: var(--brand); }
@media (min-width: 960px) {
    .faq-topics { position: sticky; top: 24px; flex-direction: column; margin: 0; padding: 0; overflow: visible; }
    .faq-topics a { background: none; border-radius: 10px; padding: 10px 14px; }
}

.faq-group { margin-bottom: 28px; scroll-margin-top: 24px; }
.faq-group h2 { font-size: 20px; margin-bottom: 10px; }

.faq-item, .product-accordion details { border-bottom: 1px solid var(--line); }
.faq-item summary, .product-accordion summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 0; cursor: pointer; list-style: none;
    color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker, .product-accordion summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .product-accordion summary:hover { color: var(--brand); }
.faq-item__icon { flex-shrink: 0; color: var(--brand); transition: transform .25s; }
details[open] > summary .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { padding: 0 0 18px; color: var(--muted); }
.faq-item--compact summary { font-size: 15px; padding: 12px 0; }
.faq-item--compact .faq-item__answer { font-size: 14px; }
.info-card__more { margin-top: 14px; font-size: 15px; }

.faq-cta {
    display: flex; flex-direction: column; gap: 16px; margin-top: 12px; padding: 24px;
    background: var(--brand-softer); border-radius: var(--radius-lg);
}
.faq-cta h2 { font-size: 20px; margin-bottom: 4px; }
.faq-cta p { margin: 0; color: var(--muted); }
.faq-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 768px) { .faq-cta { flex-direction: row; align-items: center; justify-content: space-between; } }

.product-accordion { margin-top: 20px; border-top: 1px solid var(--line); }
.product-accordion summary { font-size: 16px; }
.product-accordion .prose { padding-bottom: 16px; font-size: 15px; color: var(--muted); }
.product-accordion .prose p { margin-bottom: 10px; }

.summary-legal { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.summary-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.summary-trust li { display: inline-flex; align-items: center; gap: 5px; }
.summary-trust .icon { color: var(--brand); }

.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .photo-strip { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.photo-strip figure { margin: 0; overflow: hidden; border-radius: 18px; background: #EDF3F1; }
.photo-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.photo-strip figure:hover img { transform: scale(1.05); }
@media (min-width: 768px) { .photo-strip figure:nth-child(even) { translate: 0 28px; } .photo-strip { padding-bottom: 28px; } }

.cta-band {
    display: flex; flex-direction: column; gap: 18px; margin-top: 24px; padding: 28px 24px;
    background: var(--brand); border-radius: 24px; color: rgba(255, 255, 255, .9);
}
.cta-band h2 { margin: 0 0 4px; color: var(--white); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 40px; } }

.footer-inline--brand { margin-top: 14px; }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}
.related { border-top: 1px solid var(--line); }

/* ---------- Promo popup ---------- */

.promo { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.promo[hidden] { display: none; }
.promo__backdrop { position: absolute; inset: 0; background: rgba(14, 84, 71, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.promo__card {
    position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto;
    border-radius: 24px; background: var(--white); box-shadow: 0 30px 80px rgba(14, 84, 71, .35); text-align: center;
    opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.promo.is-open .promo__backdrop { opacity: 1; }
.promo.is-open .promo__card { opacity: 1; transform: none; }
.promo__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.promo__close:hover { background: var(--white); color: var(--brand); }
.promo__image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo__ribbon { display: grid; place-items: center; height: 120px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mint) 100%); color: var(--white); }
.promo__ribbon .icon { width: 54px; height: 54px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.promo__body { padding: 24px 24px 18px; }
.promo__eyebrow { display: inline-block; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.promo__title { margin: 0 0 8px; font-size: clamp(1.5rem, 5vw, 1.85rem); line-height: 1.15; }
.promo__text { margin: 0 0 14px; color: var(--text); }
.promo__coupon { display: flex; align-items: stretch; justify-content: center; gap: 8px; margin: 6px 0 10px; }
.promo__code { display: inline-flex; align-items: center; padding: 10px 18px; border: 2px dashed var(--brand); border-radius: 12px; background: var(--brand-softer); color: var(--brand-dark); font: 700 1.3rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.promo__copy { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--brand); color: var(--white); font: 600 14px var(--font-head); cursor: pointer; }
.promo__copy:hover { background: var(--brand-dark); }
.promo__terms { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.promo__later { margin-top: 10px; padding: 6px 10px; border: 0; background: none; color: var(--muted); font: 500 14px var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .promo__card, .promo__backdrop { transition: none; } }
body.promo-open { overflow: hidden; }

/* ---------- Custom cake form ---------- */

.serving-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 18px; font-size: 14px; color: var(--muted); }
.serving-pick { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 14px var(--font-body); cursor: pointer; transition: border-color .2s, background-color .2s; }
.serving-pick small { color: var(--brand); font-weight: 600; }
.serving-pick:hover, .serving-pick.is-active { border-color: var(--brand); background: var(--brand-softer); }

/* ---------- Homepage text block ---------- */

.home-text__inner { max-width: 820px; }
.home-text .section-title { margin-bottom: 14px; }

/* ---------- Messages (customer side) ---------- */

.chat { display: grid; gap: 18px; max-width: 760px; }
.chat__list { display: flex; flex-direction: column; gap: 14px; }
.chat__empty { display: flex; gap: 10px; align-items: center; margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--brand-softer); color: var(--text); }
.chat__empty .icon { color: var(--brand); flex: 0 0 auto; }
.chat__msg { display: flex; flex-direction: column; max-width: 85%; }
.chat__msg--customer { align-self: flex-end; align-items: flex-end; }
.chat__msg--shop { align-self: flex-start; }
.chat__bubble { padding: 12px 16px; border-radius: 18px; line-height: 1.6; word-break: break-word; }
.chat__msg--customer .chat__bubble { background: var(--brand); color: var(--white); border-bottom-right-radius: 6px; }
.chat__msg--shop .chat__bubble { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }
.chat__meta { margin: 4px 6px 0; font-size: 12px; color: var(--muted); }
.chat__form textarea { margin-top: 6px; }
.chat__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 12px; }
.chat__actions .field-help { margin: 0; }

.thread-list { margin: 0; padding: 0; list-style: none; }
.thread-list li + li { border-top: 1px solid var(--line); }
.thread-list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; color: var(--text); text-decoration: none; }
.thread-list a:hover strong { color: var(--brand); }
.thread-list span { font-size: 14px; color: var(--muted); }
.badge-dot { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--brand); color: var(--white) !important; font-size: 11px; font-weight: 700; vertical-align: middle; }
.order-help { text-align: center; }
.order-help p { margin: 0 0 12px; }
.order-help__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Product options (e.g. eggless), sold out and paused states */
.option-list { display: grid; gap: 8px; }
.option-check { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; transition: border-color .15s, background .15s; }
.option-check:hover { border-color: var(--brand-line); }
.option-check input { position: absolute; opacity: 0; pointer-events: none; }
.option-check__box { display: grid; place-items: center; flex: 0 0 22px; height: 22px; border: 1.5px solid var(--line); border-radius: 6px; color: transparent; background: var(--white); }
.option-check__name { flex: 1; font-weight: 500; color: var(--ink); }
.option-check__price { font-weight: 600; color: var(--brand-deep); white-space: nowrap; }
.option-check:has(input:checked) { border-color: var(--brand); background: var(--brand-softer); }
.option-check input:checked + .option-check__box { border-color: var(--brand); background: var(--brand); color: var(--white); }
.option-check input:focus-visible + .option-check__box { outline: 3px solid rgba(30, 155, 130, .45); outline-offset: 2px; }
.product-card__badge--soldout { background: #4B5563; color: #fff; }
.product-card__btn--view { position: relative; z-index: 3; text-decoration: none; background: var(--white); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.enquiry-box--notice { border-color: #F3D9A4; background: #FFF8E6; }
.cart-item__options { display: block; font-size: 13px; color: var(--brand-deep); }

/* Extras in the cart (candles, knife, topper...) */
.cart-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.addons-box { padding: 18px; border-radius: var(--radius-lg); background: var(--brand-softer); border: 1px solid var(--brand-line); }
.addons-box__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; color: var(--ink); }
.addons-box__title .icon { color: var(--brand); }
.addons-list { display: grid; gap: 8px; }
.addon-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info price" "info qty"; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--white); border: 1.5px solid transparent; }
.addon-row.is-chosen { border-color: var(--brand); }
.addon-row__info { grid-area: info; display: flex; flex-direction: column; min-width: 0; }
.addon-row__info strong { color: var(--ink); }
.addon-row__info span { font-size: 13px; color: var(--muted); }
.addon-row__price { grid-area: price; justify-self: end; font-weight: 600; color: var(--brand-deep); }
.addon-row .qty { grid-area: qty; justify-self: end; }
@media (min-width: 600px) {
    .addon-row { grid-template-columns: 1fr auto auto; grid-template-areas: "info price qty"; }
}
.summary-items__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); flex: 0 0 56px; }

/* Online orders paused notice and the WhatsApp chat button */
.topbar--paused { display: block; background: #8A5A00; }
.whatsapp-fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); transition: transform .15s; }
.whatsapp-fab:hover { transform: translateY(-2px); }
.whatsapp-fab__label { display: none; padding-right: 6px; }
@media (min-width: 900px) { .whatsapp-fab { right: 24px; bottom: 24px; padding: 12px 18px 12px 14px; } .whatsapp-fab__label { display: inline; } }
@media print { .whatsapp-fab { display: none; } }
.order-card__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* Product photo gallery */
.product-gallery__main { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-softer); box-shadow: 0 18px 44px rgba(14, 84, 71, .12); }
.product-gallery__slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.product-gallery__slides::-webkit-scrollbar { display: none; }
.product-gallery__slides img { flex: 0 0 100%; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: center; cursor: zoom-in; }
.product-gallery__main .product-card__badge { top: 16px; left: 16px; font-size: 13px; }
.gallery-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .14); cursor: pointer; transition: transform .2s, background-color .2s, opacity .2s; }
.gallery-arrow:hover { background: var(--white); color: var(--brand); transform: scale(1.06); }
.gallery-arrow--prev { left: 14px; }
.gallery-arrow--prev .icon { transform: rotate(180deg); }
.gallery-arrow--next { right: 14px; }
@media (hover: hover) and (min-width: 900px) { .product-gallery__main .gallery-arrow { opacity: 0; } .product-gallery__main:hover .gallery-arrow, .gallery-arrow:focus-visible { opacity: 1; } }
.gallery-count { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 4px 11px; border-radius: 999px; background: rgba(27, 27, 31, .6); color: var(--white); font-size: 13px; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gallery-zoom { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .14); cursor: zoom-in; }
.gallery-zoom:hover { color: var(--brand); }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: thin; }
.product-gallery__thumb { flex: 0 0 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: var(--brand-softer); cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s, transform .2s; }
.product-gallery__thumb:hover { opacity: 1; transform: translateY(-2px); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumb.is-active { border-color: var(--brand); opacity: 1; box-shadow: 0 6px 16px rgba(30, 155, 130, .25); }
.product-gallery__thumb:focus-visible { outline: 3px solid rgba(30, 155, 130, .45); outline-offset: 2px; }

/* Hero heading: the kicker line and the big title are one h1 for search engines, styled as before. */
.hero__heading { margin: 0; }
.hero__heading .kicker, .hero__heading .hero__title { display: block; }
.hero__heading .kicker { font-family: var(--font-body); line-height: 1.65; }

/* Landing pages (Birthday cakes Canberra...) */
.landing-hero { padding-bottom: 32px; }
.landing-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.landing-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.landing-gallery__grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 700px) { .landing-gallery__grid { grid-template-columns: repeat(4, 1fr); } }
.landing-gallery__more { margin: 16px 0 0; text-align: center; }
.landing-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: var(--brand-softer); border: 1px solid var(--brand-line); }
.landing-cta h2 { margin: 0 0 6px; font-size: 22px; }
.landing-cta p { margin: 0; color: var(--muted); }

/* Live chat */
.chat__live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; font-weight: 600; color: var(--brand-dark); }
.chat__live span { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: live-pulse 2s infinite; }
.chat__msg { animation: msg-in .3s ease; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .chat__live span, .chat__msg { animation: none; } }
@media (max-width: 639px) { .cat-ticker__all-ring { width: 64px; height: 64px; margin-top: 10px; } .cat-ticker__all { width: 72px; } }

/* Large photo view */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 18, 16, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10, 18, 16, .9); }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 14px; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--white); cursor: pointer; }
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }
.lightbox .gallery-arrow { opacity: 1; }

/* Product page: price row, rating, badges and the phone buy bar */
.product-info__price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 10px; }
.product-info__price-row .product-info__price { margin: 0; }
.product-info__sizes { color: var(--muted); font-size: 14px; font-weight: 600; }
.product-rating { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 14px; text-decoration: none; }
.product-rating strong { color: var(--ink); }
.product-rating:hover span:last-child { color: var(--brand); text-decoration: underline; }
.product-rating__stars { position: relative; display: inline-block; color: #E3E7E6; font-size: 17px; letter-spacing: 1px; line-height: 1; }
.product-rating__stars::before { content: "★★★★★"; position: absolute; inset: 0; width: calc(var(--rating, 5) / 5 * 100%); overflow: hidden; color: #F5A524; }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.product-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--brand-line); border-radius: 999px; background: var(--brand-softer); color: var(--brand-dark); font-size: 13px; font-weight: 600; }
.product-badges .icon { color: var(--brand); }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(27, 27, 31, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: bar-in .25s ease; }
.buy-bar[hidden] { display: none; }
.buy-bar__info { display: flex; flex-direction: column; min-width: 0; }
.buy-bar__info strong { overflow: hidden; color: var(--ink); font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.buy-bar__info span { color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.buy-bar .btn { flex: 0 0 auto; }
body.has-buy-bar { padding-bottom: 76px; }
body.has-buy-bar .whatsapp-fab { bottom: 88px; }
@media (min-width: 900px) { .buy-bar { display: none !important; } }

/* Customer chat window: messages scroll inside it, the message box stays at the bottom */
.chat { max-width: 820px; }
.chat-window { display: flex; flex-direction: column; height: min(720px, calc(100vh - 140px)); height: min(720px, calc(100dvh - 140px)); min-height: 420px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.chat-window__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--brand); color: var(--white); }
.chat-window__avatar { flex: 0 0 auto; width: 44px; height: 44px; padding: 3px; border-radius: 50%; background: var(--white); }
.chat-window__who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.chat-window__who strong { font-family: var(--font-head); font-size: 16px; }
.chat-window__who span { overflow: hidden; color: rgba(255, 255, 255, .85); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.chat-window__head .chat__live { margin: 0; color: var(--white); }
.chat-window .chat__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px; background: #F1F5F4 radial-gradient(rgba(30, 155, 130, .07) 1px, transparent 1px) 0 0 / 18px 18px; }
.chat-window .chat__list:focus { outline: none; }
.chat-window .chat__msg { max-width: 82%; }
.chat__composer { position: relative; display: flex; align-items: flex-end; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.chat__input { flex: 1; min-width: 0; min-height: 46px; max-height: 160px; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 24px; background: #F7F9F8; font: inherit; font-size: 16px; line-height: 1.4; color: var(--ink); resize: none; }
.chat__input:focus { outline: none; border-color: var(--brand); background: var(--white); }
.chat__send { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--brand); color: var(--white); cursor: pointer; box-shadow: 0 6px 16px rgba(30, 155, 130, .3); transition: background-color .2s, transform .15s; }
.chat__send:hover { background: var(--brand-dark); }
.chat__send:active { transform: scale(.94); }
.chat__send:disabled { opacity: .6; cursor: progress; }
.chat__error { position: absolute; left: 16px; bottom: calc(100% + 6px); margin: 0; padding: 6px 10px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow-sm); }
.chat-window__foot { margin: 12px 4px 0; color: var(--muted); font-size: 14px; }
@media (hover: none) { .chat-window__keys { display: none; } }
@media (max-width: 640px) { .chat-window { height: calc(100vh - 24px); height: calc(100dvh - 24px); border-radius: 16px; scroll-margin-top: 12px; } .chat-window__who span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } }

/* Account: confirm your email */
.verify-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin: 20px 0 0; padding: 14px 18px; border: 1px solid #F3D9A4; border-radius: var(--radius); background: #FFF8E8; color: #6B4A00; font-size: 15px; }
.verify-banner > span { display: flex; gap: 10px; align-items: flex-start; flex: 1 1 320px; }
.verify-banner .icon { flex: 0 0 auto; margin-top: 2px; }

/* Long words and addresses break instead of spilling out of their box */
.prose, .faq-item, .product-info, .footer, .order-card, .chat__bubble { overflow-wrap: anywhere; }
/* Category tile names fit narrow tiles (tablets): slightly smaller and allowed to wrap */
.tile__name { overflow-wrap: anywhere; hyphens: auto; }
@media (min-width: 768px) and (max-width: 1099px) { .tile__name { font-size: 19px; } .tile--feature .tile__name { font-size: 28px; } .tile__body { left: 16px; right: 16px; bottom: 16px; } }
