/* ==========================================================================
   Deborah's Cakes — site styles (2026 redesign)
   Brand: purple #44098E · cream #FFF7CC · Nunito
   ========================================================================== */

:root {
    --purple: #44098E;
    --purple-deep: #2C0461;
    --purple-tint: #F3ECFB;
    --cream: #FFF7CC;
    --cream-soft: #FFFBEA;
    --white: #FFFFFF;
    --ink: #44098E;          /* v2.18: all text in Deborah's purple */
    --ink-soft: #44098E;
    --muted: #6A4C93;        /* softer purple for small print */
    --wisteria: #C9BEE6;     /* v2.18: top bar and home banner; v2.21: buttons */
    --wisteria-deep: #B6A8DC; /* v2.21: button hover */
    --on-purple: #FAEBD7;
    --on-purple-soft: #E9DDF7;
    --pink: #C2185B;
    --danger: #8A1240;
    --line: rgba(68, 9, 142, 0.12);
    --line-strong: rgba(68, 9, 142, 0.22);
    --shadow-card: 0 1px 0 rgba(68, 9, 142, 0.1), 0 24px 44px -30px rgba(44, 4, 97, 0.5);
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 16px;
    --wrap: 1240px;
    --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Delius', 'Nunito', cursive;   /* v2.20.1: headings, menu, buttons, prices, labels */
}

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

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
}

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

a { color: var(--purple); }
a:hover { color: var(--purple-deep); }

h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
    outline: 3px solid rgba(68, 9, 142, 0.45);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Generic page container — also used by older pages */
.main-content,
.page {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 40px 24px 96px;
}

.eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pink);
}

.page-title {
    margin: 0;
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--purple);
}

.section-title {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--purple);
}

.lead {
    margin: 0;
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 40em;
}

.icon { width: 20px; height: 20px; flex: 0 0 auto; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    border: 2px solid var(--purple);
    background: var(--purple);
    color: var(--on-purple);
    font: inherit;
    font-weight: 800;
    font-size: 17px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover {
    color: var(--on-purple);
    background: var(--purple-deep);
    border-color: var(--purple-deep);
    transform: translateY(-1px);
}

.btn-lg { min-height: 60px; font-size: 18px; box-shadow: 0 10px 24px -10px rgba(68, 9, 142, 0.7); }
.btn-block { width: 100%; }

.btn-outline {
    background: transparent;
    color: var(--purple);
}
.btn-outline:hover { background: var(--purple); color: var(--on-purple); }

.btn-cream {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--purple);
    font-weight: 900;
}
.btn-cream:hover { background: var(--white); border-color: var(--white); color: var(--purple); }

.link-btn {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 800;
    font-size: 14px;
    color: var(--danger);
    text-decoration: underline;
    cursor: pointer;
}

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

.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.topbar {
    background: var(--wisteria);
    color: var(--purple);
    font-size: 14px;
    font-weight: 700;
    padding: 9px 16px;
    text-align: center;
}

.header-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.brand img { width: 64px; height: 64px; border-radius: 50%; }

.brand-name { display: block; font-size: 21px; font-weight: 900; color: var(--purple); line-height: 1.1; }
.brand-tag { display: block; font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.2; }

.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    color: var(--ink);
}

.main-nav a:hover,
.main-nav a.is-active {
    background: rgba(68, 9, 142, 0.1);
    color: var(--purple);
}

.header-actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
}
.icon-btn:hover { background: rgba(68, 9, 142, 0.1); }

.basket-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px 0 14px;
    border-radius: 999px;
    background: var(--purple);
    color: var(--on-purple);
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
}
.basket-btn:hover { background: var(--purple-deep); color: var(--on-purple); }

.cart-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--cream);
    color: var(--purple);
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.site-footer {
    background: var(--purple);
    color: var(--on-purple);
}

.footer-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 64px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col h2 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
}

.footer-col a { color: var(--on-purple); text-decoration: none; font-weight: 600; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer-brand span { font-size: 22px; font-weight: 900; color: var(--cream); }

.footer-col p { margin: 0; font-size: 15px; color: var(--on-purple-soft); max-width: 30ch; }

.socials { display: flex; gap: 10px; }
.socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(250, 235, 215, 0.12);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}
.socials a:hover { background: rgba(250, 235, 215, 0.24); }

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(250, 235, 215, 0.18);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--on-purple-soft);
}

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */

.hero {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 56px 24px 80px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px 64px;
}

.hero-copy {
    flex: 1 1 440px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--white);
    color: var(--purple);
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 1px 0 var(--line);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--purple);
}

.hero-copy > p { margin: 0; font-size: 19px; color: var(--ink-soft); max-width: 34em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tick-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-weight: 700;
    font-size: 15px;
    color: var(--ink-soft);
}
.tick-list li { display: flex; align-items: center; gap: 8px; }

.hero-media {
    flex: 1 1 420px;
    min-width: 0;
    position: relative;
    padding: 0 0 24px 24px;
}

.hero-media::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 40px;
    width: 70%;
    height: 80%;
    border-radius: 999px 999px 40px 40px;
    background: var(--purple);
    opacity: 0.1;
}

.hero-media > img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    border-radius: 999px 999px 36px 36px;
    box-shadow: 0 30px 60px -30px rgba(44, 4, 97, 0.55);
}

.hero-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px 12px 12px;
    background: var(--white);
    border-radius: 999px;
    box-shadow: 0 16px 32px -16px rgba(44, 4, 97, 0.45);
    line-height: 1.25;
}
.hero-badge img { width: 56px; height: 56px; border-radius: 50%; }
.hero-badge strong { display: block; color: var(--purple); font-weight: 900; }
.hero-badge span { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }

.band-purple { background: var(--purple); color: var(--on-purple); }

.steps-inner {
    padding-top: 72px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.split-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.band-purple .section-title { color: var(--cream); }
.band-purple .split-head p { margin: 0; font-size: 17px; color: var(--on-purple-soft); max-width: 32em; }

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 20px;
}

.steps li {
    background: rgba(255, 247, 204, 0.08);
    border: 1px solid rgba(255, 247, 204, 0.18);
    border-radius: 28px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--purple);
    font-weight: 900;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps h3 { margin: 0; font-size: 22px; font-weight: 900; color: var(--cream); }
.steps p { margin: 0; color: var(--on-purple-soft); }

.section { padding-top: 88px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 36px; }
.section-tight { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
}

.category-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-card);
    transition: transform .2s ease;
}
.category-card:hover { transform: translateY(-4px); color: var(--ink); }
.category-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.category-card div { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.category-card h3 { margin: 0; font-size: 26px; font-weight: 900; color: var(--purple); }
.category-card p { margin: 0; color: var(--ink-soft); }
.category-card .more { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--purple); }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 45%), 1fr));
    gap: 16px;
}
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; }

.notice-card {
    background: var(--cream-soft);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px 40px;
}
.notice-card .icons { display: flex; flex-wrap: wrap; gap: 8px; }
.notice-card .icons img { width: 48px; height: 48px; }
.notice-card .text { flex: 1 1 360px; min-width: 0; }
.notice-card h2 { margin: 0 0 8px; font-size: 24px; font-weight: 900; color: var(--purple); }
.notice-card p { margin: 0; color: var(--ink-soft); }

.newsletter {
    background: var(--purple);
    border-radius: 40px;
    padding: clamp(32px, 5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px 48px;
    color: var(--on-purple);
}
.newsletter .text { flex: 1 1 380px; min-width: 0; }
.newsletter h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; font-weight: 900; color: var(--cream); }
.newsletter p { margin: 0; color: var(--on-purple-soft); }
.newsletter form { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input[type="email"] {
    flex: 1 1 240px;
    min-width: 0;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}
.newsletter .thanks { flex: 1 1 420px; font-size: 20px; font-weight: 800; color: var(--cream); }

/* --------------------------------------------------------------------------
   Shop / category pages
   -------------------------------------------------------------------------- */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--purple); }

.shop-head { padding-top: 40px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 14px; }

.shop-bar {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--cream);
}
.shop-bar .wrap {
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    background: var(--white);
    border-radius: 999px;
    box-shadow: 0 1px 0 var(--line);
}
.tabs a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    color: var(--purple);
    text-decoration: none;
}
.tabs a:hover { background: var(--purple-tint); }
.tabs a[aria-current="page"] { background: var(--purple); color: var(--on-purple); }

.note {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-soft);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 96px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.product-media { position: relative; background: var(--cream-soft); }
.product-media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.product-media .tag {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--purple);
    font-size: 13px;
    font-weight: 800;
}

.product-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.product-top h2 { margin: 0; font-size: 23px; font-weight: 900; color: var(--ink); }
.product-price { font-size: 20px; font-weight: 900; color: var(--purple); white-space: nowrap; }
.product-body p { margin: 0; color: var(--ink-soft); }

.allergens { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.allergens .label { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.allergens .list { display: flex; flex-wrap: wrap; gap: 6px; }
.allergens img { width: 32px; height: 32px; }

.add-form { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 12px; }
.add-form .btn { flex: 1; min-height: 48px; font-size: 16px; padding: 0 18px; }

.qty {
    display: flex;
    align-items: center;
    height: 48px;
    border: 2px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
}
.qty button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--purple);
    font: inherit;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 50%;
}
.qty input {
    width: 40px;
    border: 0;
    background: transparent;
    text-align: center;
    font: inherit;
    font-weight: 900;
    font-size: 17px;
    color: var(--ink);
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.empty-state {
    grid-column: 1 / -1;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 64px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.empty-state img { width: 96px; height: 96px; border-radius: 50%; }
.empty-state h2 { margin: 0; font-size: 26px; font-weight: 900; color: var(--purple); }
.empty-state p { margin: 0; font-size: 17px; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Basket / checkout
   -------------------------------------------------------------------------- */

.page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.two-col {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 28px;
}
.two-col > .main { flex: 999 1 560px; min-width: 0; }
.two-col > .side { flex: 1 1 340px; min-width: 0; }

.panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 1px 0 var(--line);
}

.basket-list { padding: 8px 28px; }

.basket-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.basket-line > img { width: 104px; height: 104px; object-fit: cover; border-radius: 20px; flex: 0 0 auto; background: var(--cream-soft); }
.basket-line .info { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.basket-line h2 { margin: 0; font-size: 20px; font-weight: 900; }
.basket-line .each { font-size: 15px; font-weight: 600; color: var(--muted); }
.basket-line .controls { display: flex; align-items: center; gap: 20px; }
.basket-line .line-total { min-width: 96px; text-align: right; font-size: 19px; font-weight: 900; color: var(--purple); }
.basket-line form { margin: 0; }

.basket-note { margin: 0; padding: 20px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 15px; font-weight: 700; color: var(--ink-soft); }

.summary-dark {
    background: var(--purple);
    color: var(--on-purple);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.summary-dark h2 { margin: 0; font-size: 22px; font-weight: 900; color: var(--cream); }
.summary-dark .row { display: flex; justify-content: space-between; gap: 12px; }
.summary-dark .row strong { font-weight: 800; }
.summary-dark .total { border-top: 1px solid rgba(255, 247, 204, 0.25); padding-top: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.summary-dark .total span { font-size: 18px; font-weight: 800; }
.summary-dark .total strong { font-size: 30px; font-weight: 900; color: var(--cream); }
.summary-dark p { margin: 0; font-size: 14px; color: var(--on-purple-soft); }

.summary { display: flex; flex-direction: column; gap: 18px; }
.summary h2 { margin: 0; font-size: 20px; font-weight: 900; color: var(--purple); }
.summary-item { display: flex; align-items: center; gap: 14px; }
.summary-item .name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.summary-item .name strong { font-weight: 800; }
.summary-item .name span { font-size: 14px; color: var(--muted); }
.summary-item .price { font-weight: 800; }
.summary .rows { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.summary .rows div { display: flex; justify-content: space-between; }
.summary .total { border-top: 1px solid var(--line); padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total span { font-size: 17px; font-weight: 800; }
.summary .total strong { font-size: 28px; font-weight: 900; color: var(--purple); }

.progress {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
}
.progress li { padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--muted); }
.progress li.done { background: rgba(68, 9, 142, 0.1); color: var(--purple); }
.progress li[aria-current] { background: var(--purple); color: var(--on-purple); }

.checkout-form { display: flex; flex-direction: column; gap: 20px; }

.checkout-form fieldset {
    margin: 0;
    border: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.checkout-form legend {
    float: left;
    width: 100%;
    padding: 0;
    margin-bottom: 4px;
    font-size: 22px;
    font-weight: 900;
    color: var(--purple);
}
.checkout-form legend + * { clear: both; }

.field { display: flex; flex-direction: column; gap: 8px; font-weight: 800; font-size: 15px; }
.field .hint { font-weight: 600; color: var(--muted); font-size: 14px; }

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--line-strong);
    background: var(--cream-soft);
    color: var(--ink);
    font: inherit;
    font-weight: 400;
    font-size: 16px;
}
.field textarea { padding: 14px 16px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid rgba(68, 9, 142, 0.3); outline-offset: 1px; border-color: var(--purple); }
.field-narrow input { max-width: 320px; }

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 16px;
}

.help {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 12px;
}

.choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 2px solid var(--line-strong);
    background: var(--white);
    cursor: pointer;
}
.choice input {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    margin: 0;
    border-radius: 50%;
    border: 2px solid rgba(68, 9, 142, 0.35);
    flex: 0 0 auto;
    background: var(--white);
}
.choice input:checked { border: 7px solid var(--purple); }
.choice:has(input:checked) { border-color: var(--purple); background: var(--purple-tint); }
.choice strong { display: block; font-size: 17px; font-weight: 900; }
.choice span { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }

.delivery-fields { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.delivery-fields[hidden] { display: none; }

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: #FBE4EC;
    color: var(--danger);
    font-weight: 700;
    margin-bottom: 20px;
}

.alert-info { background: var(--cream-soft); color: var(--ink-soft); border: 1px solid var(--line-strong); }

.center { text-align: center; align-self: center; }

/* --------------------------------------------------------------------------
   Confirmation
   -------------------------------------------------------------------------- */

.confirm {
    max-width: 880px;
    margin: 0 auto;
    padding: 64px 24px 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}
.confirm-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 12px rgba(68, 9, 142, 0.1);
}
.confirm-icon.muted { background: var(--muted); }
.confirm .panel { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 20px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 20px; }
.facts span { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.facts strong { font-size: 18px; font-weight: 900; }

/* --------------------------------------------------------------------------
   Allergens + text pages
   -------------------------------------------------------------------------- */

.intro-split { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 56px; margin-bottom: 36px; }
.intro-split > div:first-child { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.warning-card {
    flex: 1 1 360px;
    min-width: 0;
    background: var(--purple);
    color: var(--on-purple);
    border-radius: 28px;
    padding: 24px 26px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.warning-card p { margin: 0; }

.allergen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 16px;
    margin: 18px 0 36px;
}
.allergen-item {
    background: var(--white);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 1px 0 var(--line);
}
.allergen-item img { width: 56px; height: 56px; flex: 0 0 auto; }
.allergen-item h3 { margin: 0 0 4px; font-size: 18px; font-weight: 900; }
.allergen-item p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.cta-strip {
    background: var(--cream-soft);
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cta-strip h2 { margin: 0 0 6px; font-size: 22px; font-weight: 900; color: var(--purple); }
.cta-strip p { margin: 0; color: var(--ink-soft); }

/* Long-form text pages (terms, privacy, older pages) */
.prose { max-width: 820px; }
.main-content h1,
.prose h1 {
    margin: 0 0 20px;
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--purple);
}
.main-content h2,
.prose h2 { margin: 36px 0 10px; font-size: 22px; font-weight: 900; color: var(--purple); }
.main-content p,
.prose p,
.prose li { font-size: 17px; color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; }

@media (max-width: 600px) {
    .hero { padding-top: 32px; }
    .panel, .checkout-form fieldset, .summary-dark { padding: 24px; }
    .basket-list { padding: 4px 20px; }
    .basket-line .controls { width: 100%; justify-content: space-between; }
}

@media (max-width: 760px) {
    .header-inner { padding-top: 10px; padding-bottom: 6px; gap: 8px 12px; }
    .brand img { width: 48px; height: 48px; }
    .brand-name { font-size: 18px; }
    .main-nav {
        order: 3;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -8px;
        scrollbar-width: none;
    }
    .main-nav a { white-space: nowrap; padding: 8px 12px; }
    .basket-btn span:not(.cart-count) { display: none; }
    .topbar { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* ==========================================================================
   v2.0 — storefront structure (collection grid, product page, two-row header)
   Colours unchanged; shapes squarer and headings uppercase.
   ========================================================================== */

:root {
    --radius-lg: 10px;
    --radius-md: 8px;
    --radius-sm: 6px;
    --track: 0.08em;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--purple);
    color: var(--on-purple);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 800;
}
.skip-link:focus { top: 12px; color: var(--on-purple); }

.btn {
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: var(--track);
    font-size: 15px;
    min-height: 50px;
}
.btn-lg { font-size: 16px; min-height: 56px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
.btn:hover { transform: none; }

.center { text-align: center; }

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

.site-header { position: relative; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line); }

.topbar { letter-spacing: 0.03em; }

.header-bar {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 14px 24px 6px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}
.header-left { display: flex; gap: 4px; }
.header-right { display: flex; gap: 4px; justify-content: flex-end; }

.brand { display: block; }
.brand img { width: 84px; height: 84px; border-radius: 50%; }

.icon-btn { border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-toggle { display: none; }

.basket-link .cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 20px;
    height: 20px;
    font-size: 12px;
    background: var(--purple);
    color: var(--on-purple);
}

.main-nav { display: block; padding: 0 24px 6px; }
.main-nav > ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: var(--wrap);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 6px;
}
.main-nav li { position: relative; }

.main-nav .nav-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 -2px 0 transparent;
}
.main-nav .nav-top:hover,
.main-nav .nav-top.is-active { color: var(--purple); background: none; box-shadow: inset 0 -2px 0 var(--purple); }

.main-nav .drop {
    display: none;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    min-width: 230px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px -20px rgba(44, 4, 97, 0.45);
}
.main-nav .drop a {
    display: block;
    padding: 9px 20px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}
.main-nav .drop a:hover { background: var(--purple-tint); color: var(--purple); }

.has-drop.open > .drop { display: block; }
@media (hover: hover) and (min-width: 901px) {
    .has-drop:hover > .drop { display: block; }
}

.search-panel { border-top: 1px solid var(--line); background: var(--white); }
.search-panel[hidden] { display: none; }
.search-form { display: flex; align-items: center; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.search-form input {
    flex: 1;
    min-width: 0;
    min-height: 50px;
    padding: 0 16px;
    border: 2px solid var(--line-strong);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 17px;
    background: var(--cream-soft);
}
.search-inline { max-width: 640px; margin: 20px auto 0; padding: 0; }

@media (max-width: 900px) {
    .menu-toggle { display: flex; }
    .header-bar { padding-bottom: 12px; }
    .brand img { width: 64px; height: 64px; }
    .main-nav { display: none; padding: 0 0 12px; border-top: 1px solid var(--line); }
    .site-header.nav-open .main-nav { display: block; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav .nav-top { width: 100%; justify-content: space-between; padding: 0 24px; min-height: 52px; border-bottom: 1px solid var(--line); box-shadow: none; }
    .main-nav .nav-top.is-active { box-shadow: inset 4px 0 0 var(--purple); }
    .main-nav .drop { position: static; transform: none; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 8px; background: var(--cream-soft); }
    .main-nav .drop a { padding: 12px 40px; }
}

/* ---------- Home ---------- */

.banner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
    background: var(--purple);
    color: var(--on-purple);
    min-height: 440px;
}
.banner-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; order: 2; }
.banner-copy {
    padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
}
.banner h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--cream);
}
.banner-copy p { margin: 0; font-size: 18px; color: var(--on-purple-soft); max-width: 32em; }
.eyebrow-light { font-size: 13px !important; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream) !important; }

.home-section { padding-top: 72px; padding-bottom: 8px; }

.section-heading {
    margin: 0 0 32px;
    text-align: center;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 900;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--purple);
}

.tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(170px, 45%), 1fr));
    gap: 24px;
}
.tile { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.tile-media { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--cream-soft); border: 3px solid var(--white); box-shadow: 0 10px 24px -16px rgba(44, 4, 97, 0.5); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-label { font-weight: 900; font-size: 15px; letter-spacing: var(--track); text-transform: uppercase; }
.tile:hover .tile-label { color: var(--purple); }

.home-section .btn-outline { margin-top: 36px; }

.usp { margin-top: 80px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usp-list {
    list-style: none;
    margin: 0 auto;
    padding-top: 36px;
    padding-bottom: 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));   /* v2.20: 5 items fit on one row */
    gap: 24px;
}
.usp-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; color: var(--ink-soft); }
.usp-list .icon { grid-row: span 2; color: var(--purple); margin-top: 2px; }
.usp-list strong { font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px; color: var(--ink); }
.usp-list span { font-size: 15px; }

/* ---------- Collection ---------- */

.collection { padding-top: 48px; padding-bottom: 96px; }

.collection-head { text-align: center; margin-bottom: 32px; }
.collection-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--purple);
}
.collection-intro { margin: 12px auto 0; max-width: 40em; font-size: 17px; color: var(--ink-soft); }

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 12px 0;
    margin-bottom: 32px;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}
.toolbar-left { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.toolbar-count { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }

.filter { position: relative; }
.filter summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
}
.filter summary::-webkit-details-marker { display: none; }
.filter-panel {
    position: absolute;
    z-index: 10;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px -20px rgba(44, 4, 97, 0.45);
    display: grid;
    gap: 4px;
}
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--purple); }
.filter-actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; font-weight: 800; }

.sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: var(--track); text-transform: uppercase; }
.sort select {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--white);
    font: inherit;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
}

.grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 45%), 1fr));
    gap: 40px 24px;
}
.card-link { display: flex; flex-direction: column; gap: 10px; text-align: center; text-decoration: none; color: var(--ink); }
.card-media {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--cream-soft);
    border: 1px solid var(--line);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-link:hover .card-media img { transform: scale(1.04); }
.no-photo { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--cream-soft); }
.card-media .no-photo img { width: 38%; height: auto; opacity: 0.75; border-radius: 50%; transform: none !important; }
.card-title { margin-top: 6px; font-weight: 900; font-size: 15px; letter-spacing: var(--track); text-transform: uppercase; line-height: 1.3; }
.card-link:hover .card-title { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.card-price { font-weight: 700; color: var(--ink-soft); }

.notice {
    padding: 28px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    color: var(--ink-soft);
}

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

.product {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    gap: 48px 64px;
    padding-top: 48px;
    padding-bottom: 96px;
    align-items: start;
}
.product-main {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--cream-soft);
    border: 1px solid var(--line);
}
.product-main img { width: 100%; height: 100%; object-fit: cover; }
.product-main.no-photo img { width: 34%; height: auto; opacity: 0.75; border-radius: 50%; }

.product-info { display: flex; flex-direction: column; gap: 18px; }
.product-crumb { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.product-crumb a { color: var(--muted); text-decoration: none; }
.product-title {
    margin: 0;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--purple);
}
.product-info .product-price { margin: 0; font-size: 24px; font-weight: 800; color: var(--ink); }

.buy { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 4px; }
.buy-label { font-size: 13px; font-weight: 800; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; }
.buy .qty { height: 54px; border-radius: var(--radius-sm); }
.btn-buy { flex: 1 1 220px; min-height: 54px; }

.product-points { list-style: none; margin: 0; padding: 16px 0; display: grid; gap: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-points li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.product-points .icon { color: var(--purple); }

.product-desc p { margin: 0 0 12px; font-size: 17px; color: var(--ink-soft); }
.product-desc .small { font-size: 14px; color: var(--muted); }
.allergen-icons { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.allergen-icons img { width: 36px; height: 36px; }

.share { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 700; }
.share span { text-transform: uppercase; letter-spacing: var(--track); color: var(--muted); }
.back { margin: 0; }
.back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }

.drawer {
    position: fixed;
    z-index: 50;
    top: 16px;
    right: 16px;
    width: min(380px, calc(100vw - 32px));
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px -24px rgba(44, 4, 97, 0.55);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.drawer[hidden] { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head p { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 900; color: var(--purple); }
.drawer-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.drawer-item > img, .drawer-item > .no-photo { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: var(--radius-sm); flex: 0 0 auto; }
.drawer-item strong { display: block; font-weight: 800; }
.drawer-item span { display: block; font-size: 14px; color: var(--muted); }

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

.footer-col h2 { font-size: 13px; }
.footer-about h2 { font-size: 20px; letter-spacing: 0.04em; margin: 4px 0 0; }
.footer-logo { width: 72px; height: 72px; border-radius: 50%; }
.footer-form { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-form input {
    flex: 1 1 180px;
    min-width: 0;
    min-height: 50px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--radius-sm);
    font: inherit;
}
.footer-news .thanks { font-weight: 800; color: var(--cream); }

/* Older pages: soften the pill shapes to match */
.panel, .summary-dark, .checkout-form fieldset, .empty-state, .notice-card, .cta-strip, .allergen-item, .warning-card { border-radius: var(--radius-lg); }
.choice { border-radius: var(--radius-md); }
.page-title { text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(2rem, 4vw, 3rem); }

/* v2.1: photo that failed to load -> centred logo placeholder */
img.img-missing { object-fit: contain !important; padding: 28%; background: var(--cream-soft); border-radius: 0; opacity: .8; }

/* ---------- v2.2 product personalisation ---------- */
.buy { gap: 22px; }
.option { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.option-label { padding: 0; font-size: 15px; font-weight: 800; color: var(--ink); }
.option-price { font-weight: 700; color: var(--purple); }
.option textarea,
.option .name-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--white);
    font: inherit;
    font-size: 16px;
    color: var(--ink);
    resize: vertical;
}
.option .name-input { max-width: 260px; min-height: 50px; }
.option textarea:focus,
.option .name-input:focus { outline: 3px solid rgba(68, 9, 142, 0.3); outline-offset: 1px; border-color: var(--purple); }
.counter { font-size: 13px; font-weight: 600; color: var(--muted); }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 16px;
    border: 2px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-weight: 800;
    font-size: 15px;
    color: var(--ink);
}
.chip span small { font-weight: 700; color: var(--purple); font-size: 13px; }
.chip:hover span { border-color: var(--purple); }
.chip input:checked + span { background: var(--purple); border-color: var(--purple); color: var(--on-purple); }
.chip input:checked + span small { color: var(--on-purple); }
.chip input:focus-visible + span { outline: 3px solid rgba(68, 9, 142, 0.45); outline-offset: 2px; }

.buy-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.buy-total span { font-size: 14px; font-weight: 800; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.buy-total strong { font-size: 24px; font-weight: 900; color: var(--purple); }

/* Basket line breakdown */
.line-extras { list-style: none; margin: 2px 0 4px; padding: 0; width: 100%; max-width: 420px; display: grid; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.line-extras li { display: flex; justify-content: space-between; gap: 16px; }
.line-extras li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.line-extras li span:last-child { white-space: nowrap; font-weight: 700; }
.line-extras .each { border-top: 1px dashed var(--line-strong); padding-top: 4px; font-weight: 800; color: var(--ink); }
.summary-item .name .extra { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.drawer-item span strong { color: var(--purple); }
.buy .btn-buy { flex: none; }
img.img-missing { box-sizing: border-box; }
.basket-line > img.img-missing,
.drawer-item > img.img-missing { width: 104px; height: 104px; padding: 22px; border-radius: 20px; }
.drawer-item > img.img-missing { width: 64px; height: 64px; padding: 12px; }

/* ---------- v2.8 ---------- */
.confirm-icon.confirm-ok { width: 60px; height: 60px; background: #1b7f3b; color: #FFFFFF; box-shadow: 0 0 0 8px rgba(27, 127, 59, 0.14); }

/* Checkout calendar (v2.9: click-to-open, like the browser's own date box) */
.date-field label { font-weight: 800; font-size: 15px; }
.date-wrap { position: relative; max-width: 320px; }
.date-trigger {
    width: 100%; min-height: 52px; padding: 0 14px 0 16px;
    display: flex !important; align-items: center; justify-content: space-between; gap: 10px;
    border: 2px solid var(--line-strong); border-radius: var(--radius-sm);
    background: var(--cream-soft); color: var(--muted);
    font: inherit; font-size: 16px; font-weight: 400; text-align: left; cursor: pointer;
}
.date-trigger[hidden] { display: none !important; }
.date-trigger.has-value { color: var(--ink); }
.date-trigger .icon { color: var(--purple); }
.date-trigger:focus-visible, .date-trigger[aria-expanded="true"] { outline: 3px solid rgba(68, 9, 142, 0.3); outline-offset: 1px; border-color: var(--purple); }
.datepicker {
    position: absolute; z-index: 30; top: calc(100% + 6px); left: 0;
    width: 340px; max-width: calc(100vw - 48px); box-sizing: border-box;
    border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 12px;
    background: var(--white); box-shadow: 0 20px 40px -18px rgba(44, 4, 97, 0.45);
}
.datepicker[hidden] { display: none; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dp-title { font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; font-size: 14px; color: var(--purple); }
.dp-nav { width: 40px; height: 40px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--purple); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dp-nav:hover:not(:disabled) { background: var(--purple-tint); }
.dp-nav:disabled { opacity: 0.3; cursor: default; }
.dp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.dp-dow { text-align: center; font-size: 12px; font-weight: 800; color: var(--muted); padding: 4px 0; }
.dp-day { height: 40px; border: 0; border-radius: var(--radius-sm); background: transparent; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.dp-day:hover:not(:disabled) { background: var(--purple-tint); color: var(--purple); }
.dp-day:disabled { background: #EEEAF2; color: #A99FB5; cursor: not-allowed; text-decoration: line-through; font-weight: 600; }
.dp-day.is-selected, .dp-day.is-selected:hover:not(:disabled) { background: var(--purple); color: var(--on-purple); }
.dp-chosen { margin: 6px 0 0; font-weight: 700; font-size: 14px; color: var(--ink-soft); min-height: 1.2em; }
.dp-chosen.is-error { color: var(--danger); }
.dp-key { list-style: none; margin: 10px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.dp-key li { display: flex; align-items: center; gap: 6px; }
.dp-key .k { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line-strong); background: var(--white); }
.dp-key .k-off { background: #EEEAF2; border-color: transparent; }
.dp-key .k-sel { background: var(--purple); border-color: var(--purple); }
.field[hidden] { display: none; }

/* ---------- v2.10 home page slideshow ---------- */
.banner.has-slides { align-items: stretch; }
.slides { position: relative; order: 2; min-height: 360px; overflow: hidden; background: var(--purple-deep); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: block; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-captions { min-height: 92px; }
.slide-caption { display: flex; flex-direction: column; gap: 2px; animation: capIn .5s ease; }
.slide-caption[hidden] { display: none; }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.slide-cat { font-size: 13px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); opacity: 0.85; }
.slide-name { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 900; color: var(--white); line-height: 1.2; }
.slide-price { font-size: 18px; font-weight: 800; color: var(--cream); }
.btn-outline-light { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn-outline-light:hover { background: rgba(255, 247, 204, 0.12); color: var(--cream); border-color: var(--cream); }
.slide-controls {
    position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%);
    display: flex; align-items: center; gap: 6px; padding: 4px 6px;
    background: rgba(44, 4, 97, 0.72); border-radius: 999px;
}
.slide-btn { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.slide-btn:hover { background: rgba(255, 255, 255, 0.16); }
.slide-btn .i-play { display: none; }
.is-paused .slide-btn .i-play { display: block; }
.is-paused .slide-btn .i-pause { display: none; }
.slide-dots { display: flex; gap: 2px; }
.slide-dot { width: 24px; height: 40px; border: 0; background: transparent; cursor: pointer; position: relative; }
.slide-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.slide-dot.is-active::after { background: var(--cream); transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } .slide-caption { animation: none; } }
@media (max-width: 860px) { .slides { min-height: 0; aspect-ratio: 1 / 1; } }

/* ---------- v2.11 falling snow (home page) ---------- */
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }
#snow[hidden] { display: none; }
.snow-toggle {
    position: fixed; z-index: 45; left: 16px; bottom: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 16px 0 12px;
    border: 2px solid var(--purple); border-radius: 999px;
    background: var(--cream); color: var(--purple);
    font: inherit; font-weight: 800; font-size: 14px; letter-spacing: 0.04em;
    box-shadow: 0 10px 24px -12px rgba(44, 4, 97, 0.7); cursor: pointer;
}
.snow-toggle:hover { background: var(--white); }
.snow-toggle.is-off { background: var(--white); color: var(--muted); border-color: var(--line-strong); }
.snow-toggle[hidden] { display: none; }
@media print { #snow, .snow-toggle { display: none !important; } }

/* ---------- v2.16 Find our cakes (cafés map) ---------- */
.find-intro { max-width: 46em; }
.find-intro .lead { margin-top: 14px; }
.find-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 32px; align-items: start; margin-top: 36px; }
.map-box { position: relative; position: sticky; top: 16px; border-radius: var(--radius-md); overflow: hidden; background: #EFE7F8; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.jersey-map { display: block; width: 100%; height: auto; }
.jersey-map .jm-sea { fill: #EFE7F8; }
.jersey-map .parishes path { fill: var(--cream-soft); stroke: #C9B8E2; stroke-width: 3; stroke-linejoin: round; }
.jersey-map .parishes path.has-cafe { fill: var(--cream); }
.jersey-map .coast path { fill: none; stroke: var(--purple); stroke-width: 5; stroke-linejoin: round; }
.jersey-map { --pin-base: 1.35; }
.jersey-map .pin { cursor: pointer; outline: none; --pin-zoom: 1; }
.jersey-map .pin-body { transform: scale(calc(var(--pin-base) * var(--pin-zoom))); transition: transform .15s ease; }
.jersey-map .pin-shape { fill: var(--purple); stroke: var(--white); stroke-width: 10; }
.jersey-map .pin-num { fill: var(--white); font: 900 54px var(--font); pointer-events: none; }
.jersey-map .pin:hover, .jersey-map .pin:focus-visible, .jersey-map .pin.is-hover, .jersey-map .pin.is-active { --pin-zoom: 1.3; }
.jersey-map .pin.is-active .pin-shape, .jersey-map .pin.is-hover .pin-shape { fill: var(--pink); }
.jersey-map .pin:focus-visible .pin-shape { stroke: var(--ink); }
.map-pop { position: absolute; z-index: 2; width: max-content; max-width: min(260px, calc(100% - 16px)); padding: 12px 36px 12px 14px; background: var(--white); border-radius: 14px; box-shadow: 0 14px 30px -14px rgba(44, 4, 97, 0.55); border: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.map-pop strong { display: block; color: var(--purple); font-weight: 900; }
.map-pop span { display: block; color: var(--muted); }
.map-pop a { display: inline-block; margin-top: 6px; font-weight: 800; }
.map-pop-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.map-pop-x:hover { background: var(--purple-tint); }
.cafe-parish { margin: 0 0 10px; font-size: 14px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); }
.cafe-parish:not(:first-child) { margin-top: 26px; }
.cafe-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cafe { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 18px; background: var(--white); border: 2px solid transparent; border-radius: var(--radius-sm); box-shadow: 0 1px 0 var(--line); transition: border-color .15s ease; scroll-margin: 16px; }
.cafe.is-active, .cafe:target { border-color: var(--purple); }
.cafe-num { width: 36px; height: 36px; border-radius: 50%; background: var(--purple); color: var(--white); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.cafe.is-active .cafe-num { background: var(--pink); }
.cafe h3 { margin: 4px 0 2px; font-size: 18px; font-weight: 900; color: var(--ink); }
.cafe h3 span { font-weight: 700; color: var(--muted); }
.cafe p { margin: 0; }
.cafe-address { font-size: 15px; color: var(--muted); }
.cafe-note { font-size: 15px; color: var(--ink-soft); font-style: italic; }
.cafe-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px !important; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.cafe-link { padding: 4px 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 800; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cafe-link:hover { color: var(--purple-deep); }
.find-small { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.find-empty { margin-top: 32px; font-size: 18px; color: var(--muted); }
.find-trade { margin-top: 64px; padding: 36px; border-radius: var(--radius-lg); background: var(--purple); color: var(--on-purple); text-align: center; }
.find-trade h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; color: var(--cream); }
.find-trade p { margin: 10px auto 22px; max-width: 34em; color: var(--on-purple-soft); }
.find-trade .btn { background: var(--cream); border-color: var(--cream); color: var(--purple); font-weight: 900; }
.find-trade .btn:hover { background: var(--white); border-color: var(--white); color: var(--purple); }
.map-credit { margin: 28px 0 0; font-size: 13px; color: var(--muted); }
.map-credit a { color: inherit; }
@media (max-width: 900px) {
    .find-layout { grid-template-columns: 1fr; }
    .map-box { position: relative; top: auto; }
    .jersey-map { --pin-base: 1.9; }
}
@media (max-width: 600px) { .jersey-map { --pin-base: 2.4; } .find-trade { padding: 28px 20px; } }

/* Home page teaser */
.home-find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.home-find .map-box { position: relative; top: auto; }
.home-find .section-heading { margin: 8px 0 0; text-align: left; }
.home-find p { margin: 12px 0 24px; font-size: 18px; color: var(--ink-soft); }
@media (max-width: 860px) { .home-find { grid-template-columns: 1fr; gap: 24px; } }


/* ---------- v2.18 wisteria banner: text in the left third, a row of 3 photos
   moving right to left every 3 seconds (one photo at a time on phones) ---------- */
.banner { background: var(--wisteria); color: var(--purple); min-height: 220px; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.banner-copy { padding: 22px clamp(20px, 3vw, 44px); gap: 12px; }
.banner h1 { font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.1; color: var(--purple); }
.banner-copy p { color: var(--purple); font-size: 16px; }
.eyebrow-light { color: var(--purple) !important; font-size: 12px !important; }
.btn-outline-purple { background: transparent; border-color: var(--purple); color: var(--purple); min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-outline-purple:hover { background: var(--purple); color: var(--cream); border-color: var(--purple); }
.banner-img { min-height: 220px; max-height: 320px; }
.banner.has-slides .slides { position: relative; order: 2; min-height: 220px; overflow: hidden; background: var(--wisteria); }
.slide-track { --per: 3; display: flex; height: 100%; position: absolute; inset: 0; }
.slide-track.is-moving { transition: transform .8s ease; }
.banner.has-slides .slide { position: relative; inset: auto; opacity: 1; transition: none; flex: 0 0 calc(100% / var(--per)); height: 100%; border-left: 4px solid var(--wisteria); box-sizing: border-box; }
.banner.has-slides .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-controls { background: rgba(68, 9, 142, 0.72); bottom: 10px; left: auto; right: 10px; transform: none; }
@media (prefers-reduced-motion: reduce) { .slide-track.is-moving { transition: none; } }
@media (max-width: 860px) {
    .banner { grid-template-columns: minmax(0, 1fr); }
    .banner-copy { padding: 24px 20px; }
    .banner.has-slides .slides { min-height: 0; aspect-ratio: 4 / 3; }
    .banner.has-slides .slide { border-left: 0; }
    .banner-img { max-height: none; aspect-ratio: 4 / 3; }
}
.slide-controls[hidden] { display: none; }

/* ---------- v2.19 "Added to Basket" message (product page) ---------- */
.added-toast {
    position: fixed; z-index: 60; left: 50%; top: 38vh; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
    background: rgba(68, 9, 142, 0.82); color: var(--cream); font-weight: 900; font-size: 17px; letter-spacing: 0.02em;
    box-shadow: 0 14px 30px -14px rgba(44, 4, 97, 0.7); pointer-events: none; white-space: nowrap;
    animation: toastIn .3s ease; transition: opacity .5s ease;
}
.added-toast.is-gone { opacity: 0; }
.added-toast[hidden] { display: none; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .added-toast { animation: none; } }
.follow-label { font-weight: 900; font-size: 17px; color: var(--purple); }

/* ---------- v2.20 what3words box (checkout) ---------- */
.w3w-wrap { position: relative; display: block; }
.w3w-slashes { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 900; font-size: 18px; color: #E11F26; letter-spacing: -0.04em; pointer-events: none; }
.w3w-wrap input { width: 100%; padding-left: 46px !important; }
/* v2.20 product page order: description under the name, allergens under the price */
.product-desc-top p:last-child, .product-allergens p:last-child, .product-allergens .allergen-icons:last-child { margin-bottom: 0; }
.product-allergens { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--cream-soft); border: 1px solid var(--line); }
.product-allergens p { font-size: 15px; }
/* v2.20 banner wording: big heading, smaller line under it */
.banner h1 { font-size: clamp(1.5rem, 2.4vw, 2.3rem); }
.banner-sub { margin: 0; font-size: clamp(15px, 1.2vw, 17px) !important; font-weight: 800; color: var(--purple) !important; }

/* ==========================================================================
   v2.20.1 — Delius for headings, the menu, buttons, prices and labels
   (body text stays Nunito). Delius has one weight, so no bold/capitals.
   ========================================================================== */
h1, h2, h3,
.page-title, .section-title, .section-heading, .collection-title, .product-title,
.banner h1, .header-tagline h1, .footer-col h2, .find-trade h2, .cafe h3,
.summary h2, .basket-line h2, .empty-state h2, .allergen-item h3, .checkout-form legend,
.main-content h1, .main-content h2, .prose h1, .prose h2, .cta-strip h2, .newsletter h2, .notice-card h2,
.main-nav a, .main-nav .nav-top,
.btn, .basket-btn,
.product-price, .product-info .product-price, .card-price, .summary-item .price, .summary .total strong,
.basket-line .line-total, .buy-total span, .buy-total strong,
.option-label, .tile-label, .card-title, .usp-list strong, .follow-label, .header-tagline p, .added-toast {
    font-family: var(--font-display);
    font-weight: 400;
    font-synthesis: none;
    text-transform: none;
    letter-spacing: 0;
}
.section-heading { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.product-title { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.product-info .product-price { font-size: 28px; }
.page-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.main-nav a, .main-nav .nav-top { font-size: 18px; }
.btn { font-size: 18px; }
.tile-label { font-size: 20px; }
.card-title { font-size: 19px; line-height: 1.25; }
.usp-list strong { font-size: 17px; }
.option-label { font-size: 18px; }
.option-label .option-price { font-family: var(--font); font-weight: 700; font-size: 15px; }
.buy-total strong { font-size: 30px; }

/* ---------- v2.20.1 wording under the logo (home page only) ---------- */
.header-tagline { text-align: center; padding: 0 24px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.header-tagline h1 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; color: var(--purple); }
.header-tagline p { margin: 0; font-size: 17px; color: var(--muted); }

/* ---------- v2.20.1 banner: photos only, square, fading ---------- */
.banner { display: block; min-height: 0; padding: 4px 0; background: var(--wisteria); }
.banner.has-slides .slides { position: relative; min-height: 0; aspect-ratio: auto; overflow: hidden; background: var(--wisteria); }
.slide-track { --per: 6; position: static; inset: auto; height: auto; display: grid; grid-template-columns: repeat(var(--per), minmax(0, 1fr)); gap: 4px; }
.banner.has-slides .slide { position: relative; inset: auto; flex: none; height: auto; aspect-ratio: 1; border-left: 0; opacity: 1; overflow: hidden; }
.banner.has-slides .slide[hidden] { display: none; }
.banner.has-slides .slide img { width: 100%; height: 100%; object-fit: cover; transition: opacity 2s ease-in-out; }
.slides.is-fading .slide img { opacity: 0.1; transition-duration: 4s; }
.banner > .banner-img { display: block; width: 100%; height: clamp(200px, 22vw, 300px); max-height: none; min-height: 0; object-fit: cover; }
@media (max-width: 860px) {
    .banner.has-slides .slide { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .banner.has-slides .slide img { transition: none; } }

/* ==========================================================================
   v2.21 — purple buttons become wisteria (#C9BEE6) with purple text
   (outline, cream and light buttons keep their own look)
   ========================================================================== */
.btn:where(:not(.btn-outline, .btn-cream, .btn-outline-light, .btn-outline-purple)) {
    background: var(--wisteria);
    border-color: var(--wisteria);
    color: var(--purple);
}
.btn:where(:not(.btn-outline, .btn-cream, .btn-outline-light, .btn-outline-purple)):hover {
    background: var(--wisteria-deep);
    border-color: var(--wisteria-deep);
    color: var(--purple);
}
.btn-outline:hover, .btn-outline-purple:hover { background: var(--wisteria); border-color: var(--purple); color: var(--purple); }
.basket-btn { background: var(--wisteria); color: var(--purple); }
.basket-btn:hover { background: var(--wisteria-deep); color: var(--purple); }
.chip input:checked + span { background: var(--wisteria); border-color: var(--purple); color: var(--purple); }

/* ---------- v2.23 Cake HQ on the cafés map (red pin with a house) ---------- */
.jersey-map .pin-hq .pin-shape { fill: #DB2712; }
.jersey-map .pin-hq.is-active .pin-shape, .jersey-map .pin-hq.is-hover .pin-shape { fill: #A81D0D; }
.jersey-map .pin-home { fill: var(--white); pointer-events: none; }
.hq-list { margin-bottom: 26px !important; }
.cafe-hq { border-color: rgba(219, 39, 18, 0.35); }
.cafe-hq.is-active, .cafe-hq:target { border-color: #DB2712; }
.cafe-hq .cafe-num, .cafe-hq.is-active .cafe-num { background: #DB2712; }
.map-key { position: absolute; left: 10px; bottom: 10px; margin: 0; display: flex; gap: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 800; color: var(--ink); pointer-events: none; }
.map-key span { display: inline-flex; align-items: center; gap: 6px; }
.map-key span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--purple); }
.map-key .map-key-hq::before { background: #DB2712; }

/* ---------- v2.24 About page ---------- */
.about-page { display: flex; flex-direction: column; gap: 88px; padding-top: 56px; }
.about-split { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.about-van { grid-template-columns: 6fr 5fr; }
.about-photo { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: 0 24px 48px -28px rgba(44, 4, 97, 0.55); }
.about-split > .about-photo:first-child { aspect-ratio: 4 / 5; object-fit: cover; }
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-text .page-title { margin-bottom: 4px; }
.about-text p { margin: 0; font-size: 17.5px; line-height: 1.65; }
.about-text .lead { font-size: 20px; line-height: 1.55; font-weight: 600; }
.about-text h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.12; color: var(--purple); }
.about-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.badge-gj { display: block; height: 76px; width: auto; }
.badge-eatsafe { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.badge-eatsafe img { display: block; width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 6px 16px -10px rgba(44, 4, 97, 0.5); }
.badge-eatsafe .stars { display: flex; gap: 2px; }
.badge-eatsafe .stars svg { fill: #E8B10C; stroke: #A97800; stroke-width: 1; stroke-linejoin: round; }
.about-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 700; font-size: 16px; }
.about-points li { display: flex; align-items: center; gap: 10px; }
.about-points svg { flex: 0 0 auto; color: var(--purple); }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 44px 48px; border-radius: 20px; background: var(--wisteria); }
.about-cta h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 32px; color: var(--purple); }
.about-cta p { margin: 6px 0 0; font-size: 17px; font-weight: 600; max-width: 34em; }
.about-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
    .about-page { gap: 48px; padding-top: 32px; }
    .about-split, .about-van { grid-template-columns: 1fr; gap: 24px; }
    .about-van > .about-photo { order: -1; }   /* photo above its text on phones */
    .about-text .lead { font-size: 18px; }
    .about-text p { font-size: 16.5px; }
    .badge-gj { height: 68px; }
    .badge-eatsafe img { width: 84px; height: 84px; }
    .about-cta { padding: 28px 20px; }
    .about-cta h2 { font-size: 26px; }
}

/* ---------- v3.2 Home page notice (pop-up) ---------- */
.home-notice { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 32px 32px 28px; border: 0; border-radius: var(--radius-md); background: var(--cream); color: var(--purple); box-shadow: 0 30px 60px -20px rgba(44, 4, 97, 0.6); text-align: center; }
.home-notice::backdrop { background: rgba(44, 4, 97, 0.55); backdrop-filter: blur(3px); }
.home-notice-logo { display: block; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; }
.home-notice-text p { margin: 0 0 14px; font-size: 18px; line-height: 1.55; }
.home-notice-text a { color: var(--purple); font-weight: 800; white-space: nowrap; }
.home-notice-text .notice-sign { margin: 18px 0 0; font-family: var(--font-display); font-size: 26px; }
.home-notice form { margin: 22px 0 0; }
.home-notice-btn { min-width: 180px; }
@media (max-width: 600px) { .home-notice { padding: 24px 20px 22px; } .home-notice-text p { font-size: 16.5px; } }
