/* Peachpiper — clean premium ethnic: white and blush, logo coral, antique gold detailing, serif headings, large photos. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --coral: #FF767C;        /* brand colour from the logo */
  --coral-dark: #E85A62;
  --blush: #FFF0EE;        /* soft panels */
  --white: #FFFFFF;
  --cream: #FFFBF8;        /* page */
  --gold: #B8893A;         /* thin ornamental lines */
  --wine: #4A1823;         /* text and dark accents */
  --wine-soft: #6E3A44;
  --muted: #8B7275;
  --line: #EEDDD8;
  --emerald: #1E6B4E;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1280px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--wine); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; color: var(--wine); }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }

/* Announcement strip */
.strip { background: var(--coral); color: var(--wine); font-size: 0.85rem; font-weight: 600; text-align: center; padding: 8px var(--gutter); }

/* Header: centred logo, menu row below on desktop */
.header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-bottom: 1px solid rgba(184,137,58,.45); pointer-events: none; }
.header .wrap { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; height: 72px; }
.logo { justify-self: center; display: block; line-height: 0; }
.logo img { height: 52px; width: auto; }
.menu-btn { background: none; border: 0; padding: 8px; display: grid; gap: 5px; justify-self: start; }
.menu-btn span { width: 24px; height: 2px; background: var(--wine); display: block; }
.bag-btn { justify-self: end; position: relative; background: none; border: 0; padding: 8px; display: grid; place-items: center; }
.bag-btn .label { display: none; }
.bag-count { position: absolute; top: 0; right: -2px; background: var(--coral); color: var(--wine); border-radius: 999px; min-width: 19px; height: 19px; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; padding: 0 5px; }
.nav { display: none; }
@media (max-width: 380px) { .logo img { height: 44px; } }
@media (min-width: 900px) {
  .header .wrap { height: 88px; grid-template-columns: 1fr auto 1fr; }
  .logo img { height: 60px; }
  .menu-btn { visibility: hidden; }
  .bag-btn { display: flex; gap: 8px; border: 1px solid var(--wine); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 0.9rem; }
  .bag-btn .label { display: inline; }
  .bag-count { position: static; }
  .nav { display: flex; justify-content: center; gap: 36px; padding: 0 0 14px; }
  .nav a { text-decoration: none; font-weight: 600; font-size: 0.92rem; letter-spacing: .03em; }
  .nav a:hover { color: var(--coral-dark); }
}
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 4px var(--gutter) 16px; background: var(--white); }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 14px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .mobile-nav, .mobile-nav.open { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 2px; padding: 15px 34px; font-weight: 700; font-size: 0.95rem; letter-spacing: .02em; text-decoration: none; border: 1px solid var(--wine); background: var(--wine); color: var(--white); transition: background .2s; }
.btn:hover { background: var(--wine-soft); }
.btn--coral { background: var(--coral); border-color: var(--coral); color: var(--wine); }
.btn--coral:hover { background: #FF8A8F; }
.btn--ghost { background: transparent; color: var(--wine); }
.btn--ghost:hover { background: var(--blush); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--block { width: 100%; }

/* Ornament: thin gold rule with a small motif */
.ornament { display: block; width: 180px; height: 20px; margin: 12px auto 0; background: url('/assets/divider.svg') center / contain no-repeat; }

/* Hero: edge-to-edge photo trio, copy beneath */
.hero { background: var(--white); }
.hero-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-strip::-webkit-scrollbar { display: none; }
.hero-strip a { position: relative; display: block; scroll-snap-align: center; aspect-ratio: 4 / 5; background: var(--blush); overflow: hidden; }
.hero-strip img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
@media (min-width: 768px) { .hero-strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } .hero-strip a { aspect-ratio: 3 / 4; } }
.hero-copy { text-align: center; padding: 40px var(--gutter) 52px; border-bottom: 1px solid var(--line); }
.hero .kicker { color: var(--coral-dark); font-weight: 700; font-size: 0.9rem; letter-spacing: .06em; }
.hero h1 { margin-top: 10px; }
.hero-copy p.lead { margin: 16px auto 0; max-width: 46ch; font-size: 1.05rem; color: var(--wine-soft); }
.hero-copy .actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head .sub { margin-top: 10px; color: var(--muted); }

/* Categories: round photos with a gold ring */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 18px; max-width: 980px; margin: 0 auto; }
@media (min-width: 768px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.cat { text-decoration: none; text-align: center; }
.cat .arch { aspect-ratio: 1; border-radius: 50%; padding: 5px; border: 1.5px solid var(--gold); background: var(--white); max-width: 220px; margin: 0 auto; }
.cat .arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; border-radius: 50%; transition: transform .5s; }
.cat:hover .arch img { transform: scale(1.04); }
.cat h3 { margin-top: 14px; font-size: 1.4rem; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 44px 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { text-decoration: none; display: block; }
.card .img { position: relative; aspect-ratio: 3 / 4; background: var(--blush); overflow: hidden; }
.card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: opacity .35s, transform .6s; }
.card .img img + img { opacity: 0; }
@media (hover: hover) { .card:hover .img img + img { opacity: 1; } }
.card .tag { position: absolute; z-index: 2; top: 10px; left: 0; background: var(--coral); color: var(--wine); font-size: 0.75rem; font-weight: 700; padding: 4px 10px 4px 8px; }
.card .name { margin-top: 12px; font-size: 0.95rem; line-height: 1.35; color: var(--wine); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { margin-top: 6px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price .now { font-weight: 700; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: 0.9rem; }
.price .off { color: var(--coral-dark); font-size: 0.85rem; font-weight: 700; }
.more { text-align: center; margin-top: 44px; }

/* Skeletons and states */
.skeleton .img { animation: pulse 1.4s ease-in-out infinite; }
.skeleton .name { height: 14px; width: 80%; background: var(--blush); }
@keyframes pulse { 50% { opacity: .55; } }
.state { padding: 48px 0; text-align: center; color: var(--muted); }

/* Promise band */
.story { background: var(--blush); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story .wrap { padding-top: 56px; padding-bottom: 56px; text-align: center; }
.story h2 + .ornament + p { margin: 16px auto 0; max-width: 56ch; color: var(--wine-soft); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; margin-top: 40px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { color: var(--wine-soft); font-size: 0.92rem; }
.fact svg { display: block; margin: 0 auto 10px; color: var(--coral-dark); }
.fact strong { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--wine); margin-bottom: 2px; }

/* Page heads */
.page-head { background: var(--blush); padding: 44px 0 36px; text-align: center; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-head p { color: var(--muted); margin-top: 10px; }

/* Shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 18px; font-size: 0.9rem; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--wine); color: var(--white); border-color: var(--wine); }
.toolbar select { margin-left: auto; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: var(--white); font: inherit; color: inherit; }
.count { color: var(--muted); font-size: 0.9rem; }

/* Product page */
.pdp { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 64px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.2fr 1fr; gap: 56px; padding-top: 44px; } }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { scroll-snap-align: start; aspect-ratio: 3 / 4; object-fit: cover; background: var(--blush); width: 100%; }
@media (min-width: 900px) {
  .gallery { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 8px; }
}
.buy { align-self: start; }
@media (min-width: 900px) { .buy { position: sticky; top: 150px; } }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.buy h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.buy .price { margin-top: 14px; font-size: 1.25rem; }
.tax { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.sizes { margin-top: 26px; }
.sizes-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-weight: 700; }
.size-list { display: flex; flex-wrap: wrap; gap: 10px; }
.size { min-width: 54px; height: 46px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); font-weight: 600; }
.size:hover:not(:disabled) { border-color: var(--wine); }
.size[aria-pressed="true"] { border-color: var(--wine); background: var(--wine); color: var(--white); }
.size:disabled { color: #C9B8B6; text-decoration: line-through; cursor: not-allowed; }
.size-hint { margin-top: 10px; font-size: 0.9rem; color: #B3262E; min-height: 1.4em; }
.buy .actions { margin-top: 18px; display: grid; gap: 10px; }
.buy .actions .btn { background: var(--coral); border-color: var(--coral); color: var(--wine); font-size: 1rem; padding: 17px; }
.buy .actions .btn:hover { background: #FF8A8F; }
.perks { margin-top: 24px; display: grid; gap: 10px; padding: 18px; background: var(--blush); font-size: 0.95rem; }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks svg { flex: none; color: var(--coral-dark); }
.desc { margin-top: 28px; border-top: 1px solid var(--line); }
.desc details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.desc summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.desc summary::after { content: '+'; font-size: 1.3rem; line-height: 1; }
.desc details[open] summary::after { content: '–'; }
.desc .body { margin-top: 12px; color: var(--wine-soft); }
.desc .body p + p, .desc .body ul { margin-top: 10px; }
.desc .body ul { padding-left: 20px; }
.desc table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.desc th, .desc td { border: 1px solid var(--line); padding: 8px; text-align: center; }
.desc th { background: var(--blush); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--white); border-top: 1px solid var(--line); padding: 10px var(--gutter); display: flex; gap: 12px; align-items: center; transform: translateY(110%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy .price { margin: 0; flex: 1; }
.sticky-buy .btn { background: var(--coral); border-color: var(--coral); color: var(--wine); }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* Drawer */
.overlay { position: fixed; inset: 0; background: rgba(74,24,35,.45); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--white); z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.6rem; }
.drawer-head button { background: none; border: 0; font-size: 1.6rem; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; aspect-ratio: 3/4; object-fit: cover; background: var(--blush); }
.line .t { font-weight: 500; font-size: 0.95rem; line-height: 1.35; }
.line .v { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.line .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty button { background: none; border: 0; width: 32px; height: 32px; font-size: 1.1rem; }
.qty span { min-width: 24px; display: grid; place-items: center; font-weight: 600; }
.remove { background: none; border: 0; color: var(--muted); font-size: 0.85rem; text-decoration: underline; padding: 0; margin-top: 8px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot .btn { background: var(--coral); border-color: var(--coral); color: var(--wine); }
.subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; }
.note { color: var(--muted); font-size: 0.85rem; }
.error { color: #B3262E; font-size: 0.9rem; }
.empty { text-align: center; padding: 48px 0; color: var(--muted); display: grid; gap: 16px; justify-items: center; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); background: var(--wine); color: var(--white); padding: 12px 20px; font-weight: 500; z-index: 60; opacity: 0; transition: all .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Simple pages */
.prose { max-width: 66ch; margin: 0 auto; padding: 52px 0 80px; }
.prose p { margin-top: 14px; font-size: 1.05rem; color: var(--wine-soft); }
.notice { max-width: 560px; margin: 0 auto; padding: 88px var(--gutter); text-align: center; display: grid; gap: 18px; justify-items: center; }
.notice .mark { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; background: var(--blush); }

/* Footer */
.footer { background: var(--wine); color: #EBD3D5; padding: 56px 0 28px; font-size: 0.95rem; }
.footer .logo { justify-self: start; display: inline-block; background: var(--white); padding: 10px 16px; }
.footer .logo img { height: 40px; }
.footer .cols { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer .cols > div:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer .cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer .cols > div:first-child { grid-column: auto; } }
.footer h4 { margin: 0 0 12px; font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--white); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--coral); }
.footer .small { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: #C7A9AC; font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Review step */
.steps { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 28px 0 8px; margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--muted); counter-reset: st; flex-wrap: wrap; }
.steps li { counter-increment: st; display: flex; align-items: center; gap: 8px; }
.steps li::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--white); }
.steps li + li::after { order: -1; content: ''; width: 28px; height: 1px; background: var(--line); }
.steps .done::before { content: '✓'; background: var(--wine); color: var(--white); border-color: var(--wine); }
.steps .on { color: var(--wine); }
.steps .on::before { background: var(--coral); border-color: var(--coral); color: var(--wine); }
.review { display: grid; gap: 20px; padding: 20px 0 72px; }
@media (min-width: 900px) { .review { grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; } .r-pay { position: sticky; top: 150px; } }
.r-box { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.r-box h1 { font-size: 2rem; margin-bottom: 8px; }
.r-box h2 { font-size: 1.6rem; margin-bottom: 14px; }
.r-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.r-line img { width: 72px; aspect-ratio: 3/4; object-fit: cover; background: var(--blush); }
.r-line .t { font-weight: 500; font-size: 0.95rem; line-height: 1.35; }
.r-line .v { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.r-edit { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--coral-dark); text-decoration: none; }
.r-sum .row { display: flex; justify-content: space-between; padding: 8px 0; }
.r-sum .save { color: var(--emerald); font-weight: 600; }
.r-sum .free { color: var(--emerald); font-weight: 700; }
.r-sum .total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 14px; font-weight: 700; font-size: 1.2rem; }
.r-sum .incl { color: var(--muted); font-size: 0.82rem; margin: 2px 0 18px; }
.r-pay .btn { padding: 17px; font-size: 1rem; }
.trust { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.9rem; }
.trust li { display: flex; gap: 10px; align-items: center; }
.trust svg { color: var(--coral-dark); flex: none; }
.r-note { margin-top: 14px; font-size: 0.82rem; color: var(--muted); }

/* Product page: image-style controls */
.sizes-head { align-items: center; }
.chart-link { background: none; border: 0; padding: 0; font-weight: 500; font-size: 0.92rem; color: var(--wine-soft); text-decoration: underline; text-underline-offset: 5px; }
.size { min-width: 62px; height: 50px; border-radius: 10px; background: var(--blush); border-color: var(--line); font-weight: 700; }
.size[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--white); }
.buy .actions .btn { border-radius: 10px; padding: 19px; font-size: 1.15rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.eta { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 16px 18px; background: #F6F3F2; border-radius: 10px; font-size: 0.98rem; }
.eta-ic { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--emerald); }
.eta strong { color: var(--emerald); }
.acc { margin-top: 26px; display: grid; gap: 10px; }
.acc-item { background: #F3E7E1; border: 1px solid #E8D6CE; border-radius: 10px; }
.acc-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; font-weight: 800; font-size: 0.92rem; letter-spacing: .05em; text-transform: uppercase; color: var(--wine-soft); }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; line-height: 1; }
.acc-item[open] summary::after { content: '–'; }
.acc-item .body { padding: 0 18px 18px; color: var(--wine-soft); background: transparent; }
.acc-item .body p + p, .acc-item .body ul { margin-top: 10px; }
.acc-item .body ul { padding-left: 20px; display: grid; gap: 6px; }
.kv { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 8px 14px; margin: 0; font-size: 0.93rem; }
.kv dt { font-weight: 700; color: var(--wine); }
.kv dd { margin: 0; }

/* Size chart dialog */
.chart { border: 0; padding: 24px; width: min(560px, calc(100% - 24px)); max-height: 88vh; overflow: auto; background: var(--white); color: var(--wine); }
.chart::backdrop { background: rgba(74,24,35,.5); }
.chart-head { display: flex; justify-content: space-between; align-items: center; }
.chart-head button { background: none; border: 0; font-size: 1.8rem; line-height: 1; }
.chart-sub { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.chart-scroll { overflow-x: auto; margin-top: 16px; }
.chart table { border-collapse: collapse; width: 100%; font-size: 0.95rem; text-align: center; }
.chart th, .chart td { border: 1px solid var(--line); padding: 10px 8px; }
.chart thead th { background: var(--wine); color: var(--white); font-weight: 600; }
.chart tbody th { background: var(--blush); }
.chart tbody tr:nth-child(even) td { background: #FFF8F6; }
.chart h3 { margin-top: 20px; font-size: 1.3rem; }
.measure { padding-left: 20px; margin: 8px 0 0; display: grid; gap: 6px; font-size: 0.93rem; color: var(--wine-soft); }

/* Similar products */
.similar { border-top: 1px solid var(--line); padding-top: 56px; }
@media (max-width: 767px) {
  .similar-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .similar-grid::-webkit-scrollbar { display: none; }
  .similar-grid .card { scroll-snap-align: start; }
}

/* Checkout form */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; margin-top: 14px; }
.fld { display: grid; gap: 6px; }
.fld.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.fld label { font-weight: 600; font-size: 0.88rem; }
.fld .opt { font-weight: 400; color: var(--muted); }
.fld input, .fld select { width: 100%; height: 48px; padding: 0 12px; border: 1px solid #DCC8C2; background: var(--white); font: inherit; color: inherit; border-radius: 6px; }
.fld input:focus, .fld select:focus { outline: 2px solid var(--coral); outline-offset: 0; border-color: var(--coral); }
.fld [aria-invalid="true"] { border-color: #B3262E; }
.pre { display: flex; }
.pre span { display: grid; place-items: center; padding: 0 12px; border: 1px solid #DCC8C2; border-right: 0; background: var(--blush); border-radius: 6px 0 0 6px; font-weight: 600; }
.pre input { border-radius: 0 6px 6px 0; }
.f-err { color: #B3262E; font-size: 0.82rem; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.pay-title { margin-top: 30px; font-size: 1.6rem; }
.pay-opts { display: grid; gap: 10px; margin-top: 12px; }
.pay-opt { display: flex; gap: 12px; align-items: center; padding: 16px; border: 1px solid #DCC8C2; border-radius: 10px; cursor: pointer; background: var(--white); }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--wine); flex: none; }
.pay-opt span { display: grid; flex: 1; }
.pay-opt small { color: var(--muted); font-size: 0.85rem; }
.pay-opt .badges { font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--emerald); background: #E8F5EE; padding: 4px 8px; border-radius: 999px; }
.pay-opt:has(input:checked) { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); background: var(--blush); }
.r-pay [data-review-items] { margin-bottom: 8px; }
.r-pay .r-line { grid-template-columns: 56px 1fr auto; padding: 12px 0; }
.r-img { position: relative; }
.r-img img { width: 56px; aspect-ratio: 3/4; object-fit: cover; background: var(--blush); }
.r-img span { position: absolute; top: -8px; right: -8px; background: var(--wine); color: var(--white); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; }
.kicker-num { font-weight: 700; color: var(--coral-dark); letter-spacing: .04em; }

/* Discount code at checkout */
.coupon { margin: 4px 0 14px; }
.coupon-toggle, .linkish { background: none; border: 0; padding: 0; font-weight: 600; color: var(--wine); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(74,24,35,.35); }
.linkish { font-size: .8rem; margin-left: 6px; font-weight: 500; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); font: inherit; text-transform: uppercase; letter-spacing: .04em; background: #fff; color: inherit; }
.coupon-row .btn { padding-inline: 18px; }
.coupon-msg { font-size: .85rem; margin-top: 6px; min-height: 0; }
.coupon-msg.ok { color: var(--emerald); }
.coupon-msg.bad { color: #B3262E; }

/* Footer social links and WhatsApp chat button (set in the admin) */
.social-links { display: flex; gap: 16px; margin-top: 12px; font-weight: 600; font-size: .9rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
body[data-page="product"] .wa-float { bottom: 84px; }
[hidden] { display: none !important; }

/* Policy pages */
.policy h2 { font-size: 1.6rem; margin-top: 34px; }
.policy ul { padding-left: 20px; display: grid; gap: 8px; margin-top: 12px; color: var(--wine-soft); font-size: 1.02rem; }
.policy .updated { color: var(--muted); font-size: 0.9rem; margin-top: 0; }
.contact-cards { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-cards .cc { background: var(--white); border: 1px solid var(--line); padding: 20px; }
.contact-cards .cc h3 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-cards .cc a { font-weight: 700; color: var(--coral-dark); text-decoration: none; }

/* Add to bag + Buy now */
.buy .actions.two { grid-template-columns: 1fr 1fr; }
.buy .actions .btn--outline { background: var(--white); border: 2px solid var(--wine); color: var(--wine); }
.buy .actions .btn--outline:hover { background: var(--blush); }
.buy .actions .btn { font-size: 1rem; padding: 17px 10px; }
@media (min-width: 900px) { .buy .actions .btn { font-size: 1.08rem; } }
.sticky-buy .btn { padding: 12px 14px; font-size: 0.9rem; }
.sticky-buy .btn--outline { background: var(--white); border: 2px solid var(--wine); color: var(--wine); }
.sticky-buy .btn--coral { background: var(--coral); border-color: var(--coral); color: var(--wine); }

/* Image zoom */
.gallery .zoomable { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; scroll-snap-align: start; }
.gallery .zoomable img { width: 100%; }
@media (min-width: 900px) { .gallery .zoomable:first-child { grid-column: 1 / -1; } }
.zoom-ic { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--wine); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.zoom-box { position: fixed; inset: 0; z-index: 100; background: rgba(20,8,12,.94); display: grid; place-items: center; }
.zoom-stage { width: 100%; height: 100%; overflow: hidden; display: grid; place-items: center; touch-action: pinch-zoom; }
.zoom-stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.zoom-box.zoomed .zoom-stage { overflow: auto; display: block; touch-action: pan-x pan-y pinch-zoom; }
.zoom-box.zoomed .zoom-stage img { max-width: none; max-height: none; width: 250%; cursor: grab; }
@media (min-width: 900px) { .zoom-box.zoomed .zoom-stage img { width: 180%; } }
.zb { position: absolute; background: rgba(255,255,255,.95); color: var(--wine); border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; z-index: 2; }
.zb.close { top: 14px; right: 14px; }
.zb.prev { left: 14px; top: 50%; transform: translateY(-50%); }
.zb.next { right: 14px; top: 50%; transform: translateY(-50%); }
.zoom-box.zoomed .zb.prev, .zoom-box.zoomed .zb.next { display: none; }
.zoom-hint { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: 0.85rem; pointer-events: none; }
.sticky-buy { gap: 8px; }
.sticky-buy .btn { white-space: nowrap; padding: 12px 12px; font-size: 0.88rem; }
.sticky-buy .price .off { display: none; }
