:root {
  --ink: #101714;
  --ink-2: #17231e;
  --ink-soft: #2a3a33;
  --mint: #40df91;
  --mint-dim: #2ec87a;
  --teal: #006b49;
  --teal-deep: #00583c;
  --row: #edf6f1;
  --paper: #f3f7f5;
  --white: #ffffff;
  --line: rgba(16, 23, 20, 0.08);
  --line-strong: rgba(16, 23, 20, 0.14);
  --muted: #5d6f67;
  --shadow: 0 12px 40px rgba(16, 23, 20, 0.12);
  --shadow-soft: 0 4px 18px rgba(16, 23, 20, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: "Heebo", "Segoe UI", Tahoma, sans-serif;
  --display: "Outfit", "Heebo", sans-serif;
  --max: 820px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.45;
  min-height: 100dvh;
  padding-bottom: calc(88px + var(--safe-bottom));
  overflow-x: clip;
  max-width: 100%;
}

body.cart-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; }

.skip {
  position: absolute;
  right: 12px;
  top: -40px;
  background: var(--mint);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 80;
  font-weight: 600;
}
.skip:focus { top: calc(var(--safe-top) + 8px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: #fff;
  padding-top: var(--safe-top);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

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

.brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  color: var(--mint);
  line-height: 1;
}

.brand-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.72);
  margin-top: 4px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.cart-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.cart-btn:hover { background: rgba(255,255,255,0.12); }
.cart-btn:active { transform: scale(0.96); }
.cart-btn svg { width: 22px; height: 22px; }

.cart-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
  transform-origin: center;
}
.cart-badge[hidden] { display: none; }

.cart-badge.pop { animation: pop 0.35s ease; }

@keyframes pop {
  0% { transform: scale(0.6); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.header-bar {
  height: 4px;
  background: var(--teal);
}

/* Hero */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 8px 16px 28px;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 4.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.95rem;
  max-width: 36em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill-stat {
  background: rgba(64, 223, 145, 0.12);
  color: var(--mint);
  border: 1px solid rgba(64, 223, 145, 0.22);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Toolbar */
.toolbar {
  position: sticky;
  top: calc(var(--header-h) + var(--safe-top) + 4px);
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0 10px;
  border-bottom: 1px solid transparent;
}

.toolbar.stuck { border-bottom-color: var(--line); }

.toolbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
}

.search svg {
  position: absolute;
  right: 14px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 14px;
  padding: 0 44px 0 44px;
  outline: none;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search input::placeholder { color: #4a5c54; }
.search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 134, 91, 0.18);
}

.search-clear {
  position: absolute;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 99px;
  color: var(--muted);
  display: none;
  place-items: center;
}
.search-clear.visible { display: grid; }
.search-clear:hover { background: var(--row); }

.cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 12px -16px 0;
  padding: 2px 16px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cats::-webkit-scrollbar { display: none; }

.cat-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.cat-chip svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.cat-chip .count {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.cat-chip:active { transform: scale(0.97); }

.cat-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.cat-chip[aria-pressed="true"] svg { color: var(--mint); }
.cat-chip[aria-pressed="true"] .count { color: var(--mint); }

/* Catalog */
.catalog {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 16px 24px;
}

.group {
  margin-bottom: 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 12px;
}

.group-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--row);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.group-icon svg { width: 22px; height: 22px; }

.group-head h2 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.group-head .group-count {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  min-height: 64px;
  transition: background 0.2s;
}

.product:nth-child(even) { background: var(--row); }
.product.in-cart { background: #e3f6ec; }

.product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sku {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.product-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.3;
}

.add-btn {
  flex-shrink: 0;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, transform 0.15s;
}
.add-btn:hover { background: var(--ink-soft); }
.add-btn:active { transform: scale(0.97); }

.stepper {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  box-shadow: var(--shadow-soft);
  direction: ltr;
}

.stepper button {
  width: 34px;
  height: 34px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.stepper button:hover { background: var(--row); }
.stepper button.minus:hover { background: #fdecea; color: #b42318; }
.stepper button svg { width: 16px; height: 16px; }

.stepper .qty {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
}
.empty svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  color: var(--teal);
  opacity: 0.7;
}
.empty h2 { margin: 0 0 6px; color: var(--ink-2); font-size: 1.1rem; }
.empty p { margin: 0; font-size: 0.92rem; }

/* Bottom bar */
.order-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 10px 16px calc(10px + var(--safe-bottom));
  background: linear-gradient(to top, var(--paper) 70%, transparent);
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.order-bar.visible {
  transform: none;
  pointer-events: auto;
}

.order-bar-btn {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  height: 56px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 18px;
  box-shadow: 0 10px 30px rgba(16, 23, 20, 0.28);
  font-weight: 700;
}
.order-bar-btn:active { transform: scale(0.99); }

.order-bar-btn span.strong { font-size: 1.02rem; }
.order-bar-btn .meta {
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-top: 1px;
  display: block;
}

.order-bar-cta {
  background: var(--mint);
  color: var(--ink);
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 23, 20, 0.46);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  max-height: min(92dvh, 860px);
  background: var(--paper);
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -16px 50px rgba(16, 23, 20, 0.2);
}
.drawer.open { transform: none; }

.drawer-handle {
  width: 44px;
  height: 4px;
  border-radius: 99px;
  background: #c5d0cb;
  margin: 10px auto 0;
  flex-shrink: 0;
}

.drawer-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 10px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
}
.drawer-close svg { width: 18px; height: 18px; }

.drawer-body {
  overflow-y: auto;
  padding: 12px 16px 16px;
  flex: 1;
}

.cart-empty {
  text-align: center;
  padding: 36px 16px 24px;
  color: var(--muted);
}
.cart-empty svg { width: 52px; height: 52px; margin: 0 auto 10px; color: var(--teal); }
.cart-empty p { margin: 0; }

.cart-group-title {
  margin: 14px 4px 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 10px 10px 8px;
  margin-bottom: 8px;
}

.cart-item .product-name { font-size: 0.92rem; }
.cart-item .stepper { box-shadow: none; }

.fields { margin-top: 16px; display: grid; gap: 10px; }

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 134, 91, 0.16);
}
.field textarea { resize: vertical; min-height: 72px; }

.drawer-foot {
  flex-shrink: 0;
  padding: 12px 16px calc(14px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.wa-btn {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  background: #0f7a40;
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 22px rgba(15, 122, 64, 0.28);
  transition: filter 0.15s, transform 0.15s;
}
.wa-btn svg { width: 22px; height: 22px; }
.wa-btn:hover { filter: brightness(1.05); }
.wa-btn:active { transform: scale(0.99); }
.wa-btn:disabled {
  background: #c5d0cb;
  color: #3e5048;
  box-shadow: none;
  cursor: not-allowed;
  filter: none;
}

.foot-note {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.site-footer {
  max-width: var(--max);
  margin: 8px auto 0;
  padding: 8px 16px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (min-width: 720px) {
  .hero { padding: 16px 24px 36px; }
  .toolbar-inner, .catalog, .header-inner, .hero-inner { padding-left: 24px; padding-right: 24px; }
  .cats { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
}

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

#toolbar-sentinel { height: 1px; pointer-events: none; }

.product-photo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-photo-icon {
  background: var(--row);
  color: var(--teal);
}
.product-photo-icon svg { width: 28px; height: 28px; }

.qty-input {
  width: 2.7em;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  padding: 4px 0;
  outline: none;
  color: inherit;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-input:focus {
  background: var(--row);
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(0, 134, 91, 0.25);
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item .product-photo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
}

@media (min-width: 720px) {
  .product-photo { width: 72px; height: 72px; }
}

/* Flavor selection (Qweet 180K and similar) */
.product--flavors {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 11px 12px 10px;
}
.product-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flavor-hint {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}
.flavor-toggle {
  flex-shrink: 0;
  height: 38px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s, transform 0.15s;
  max-width: 46%;
  text-align: center;
  line-height: 1.15;
}
.flavor-toggle:hover { background: var(--ink-soft); }
.flavor-toggle:active { transform: scale(0.97); }
.product--flavors.in-cart .flavor-toggle {
  background: var(--teal);
}
.flavor-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.product--flavors.is-open .flavor-chevron {
  transform: rotate(180deg);
}
.flavor-list {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}
.flavor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 6px;
  border-radius: 12px;
}
.flavor-row.in-cart { background: #e3f6ec; }
.flavor-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.3;
  min-width: 0;
}
.flavor-en {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-inline-start: 6px;
  font-family: var(--display), sans-serif;
}
.cart-flavor-total {
  display: block;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 700;
  margin-top: 2px;
}
.cart-item--flavors {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}
.cart-flavor {
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  border-top: 0;
  padding-inline-start: 16px;
  background: #f4faf7;
}
.cart-flavor.is-last {
  border-radius: 0 0 14px 14px;
  margin-bottom: 8px;
}
.cart-flavor .product-name { font-weight: 600; }

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.search input:focus,
.field input:focus,
.field textarea:focus,
.qty-input:focus {
  outline: 3px solid var(--teal);
  outline-offset: 1px;
}

.drawer:not(.open) {
  visibility: hidden;
}

.site-footer p {
  margin: 0 0 6px;
}
.site-footer a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer a:hover {
  color: var(--ink);
}

body.has-order-bar {
  /* reserve space already via padding-bottom */
}

/* Statement page */
.page-statement {
  padding-bottom: calc(32px + var(--safe-bottom));
}
.statement {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 16px 48px;
  color: var(--ink-2);
}
.statement-kicker {
  margin: 0 0 12px;
  font-size: 0.9rem;
}
.statement-kicker a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.statement h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.statement-lead {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal);
}
.statement h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--teal);
}
.statement p,
.statement li {
  font-size: 1rem;
  line-height: 1.65;
}
.statement p { margin: 0 0 12px; }
.statement ul {
  margin: 0 0 12px;
  padding: 0 1.2em 0 0;
}
.statement li { margin: 0 0 8px; }
.statement a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.statement address {
  font-style: normal;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 0 0 12px;
  line-height: 1.7;
}

/* Accessibility widget */
.a11y-root {
  position: fixed;
  left: 16px;
  bottom: calc(16px + var(--safe-bottom));
  z-index: 70;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 10px;
}
body.has-order-bar .a11y-root {
  bottom: calc(86px + var(--safe-bottom));
}

.a11y-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(16, 23, 20, 0.28);
  border: 2px solid transparent;
}
.a11y-fab svg { width: 30px; height: 30px; }
.a11y-fab:hover { background: var(--ink-soft); }
.a11y-fab[aria-expanded="true"] {
  background: var(--teal);
}

.a11y-panel {
  width: min(300px, calc(100vw - 32px));
  max-height: min(70dvh, 560px);
  overflow: auto;
  background: var(--white);
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 0 0 12px;
}
.a11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 10px 14px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--white);
}
.a11y-panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}
.a11y-panel-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.a11y-panel-close svg { width: 18px; height: 18px; }
.a11y-panel-body {
  display: grid;
  gap: 8px;
  padding: 12px 12px 4px;
}
.a11y-font-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.a11y-option {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 12px;
  text-align: center;
}
.a11y-option:hover { background: var(--row); }
.a11y-option[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.a11y-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.a11y-reset {
  margin-top: 4px;
  background: var(--white);
}
.a11y-statement-link {
  display: block;
  text-align: center;
  font-weight: 700;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 10px 8px 4px;
  font-size: 0.92rem;
}

/* Font size */
html[data-a11y-font="1"] { font-size: 118%; }
html[data-a11y-font="2"] { font-size: 135%; }
html[data-a11y-font="3"] { font-size: 150%; }

/* Readable font */
html.a11y-readable,
html.a11y-readable body,
html.a11y-readable button,
html.a11y-readable input,
html.a11y-readable textarea {
  font-family: Arial, Helvetica, Tahoma, sans-serif !important;
  letter-spacing: 0.02em;
  word-spacing: 0.03em;
  line-height: 1.6;
}

/* Stop animations (also respects prefers-reduced-motion, already defined) */
html.a11y-motion *,
html.a11y-motion *::before,
html.a11y-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* Grayscale without filter on body (avoids breaking position:fixed) */
html.a11y-gray {
  --mint: #c8c8c8;
  --mint-dim: #adadad;
  --teal: #2a2a2a;
  --teal-deep: #1a1a1a;
}
html.a11y-gray img,
html.a11y-gray .hero,
html.a11y-gray .site-header,
html.a11y-gray .header-bar,
html.a11y-gray .pill-stat,
html.a11y-gray .wa-btn,
html.a11y-gray .order-bar-cta,
html.a11y-gray .brand-mark {
  filter: grayscale(1);
}

/* Highlight links */
html.a11y-links a {
  background: #ffff00 !important;
  color: #000 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* High contrast */
html.a11y-contrast {
  --ink: #000000;
  --ink-2: #000000;
  --ink-soft: #111111;
  --mint: #ffff00;
  --mint-dim: #ffff00;
  --teal: #000000;
  --teal-deep: #000000;
  --row: #ffffff;
  --paper: #ffffff;
  --white: #ffffff;
  --line: #000000;
  --line-strong: #000000;
  --muted: #000000;
  --shadow: none;
  --shadow-soft: none;
}
html.a11y-contrast body,
html.a11y-contrast .toolbar {
  background: #fff;
  color: #000;
}
html.a11y-contrast .site-header,
html.a11y-contrast .hero {
  background: #000;

  color: #fff;
}
html.a11y-contrast .brand-mark,
html.a11y-contrast .pill-stat {
  color: #ffff00;
}
html.a11y-contrast .brand-sub,
html.a11y-contrast .hero p,
html.a11y-contrast .order-bar-btn .meta {
  color: #fff;
}
html.a11y-contrast .pill-stat {
  background: #000;
  border-color: #ffff00;
}
html.a11y-contrast .cart-btn,
html.a11y-contrast .a11y-fab {
  background: #000;
  color: #ffff00;
  border: 2px solid #ffff00;
}
html.a11y-contrast .cart-badge,
html.a11y-contrast .order-bar-cta,
html.a11y-contrast .wa-btn,
html.a11y-contrast .skip {
  background: #ffff00;
  color: #000;
}
html.a11y-contrast .header-bar { background: #ffff00; }
html.a11y-contrast .cat-chip,
html.a11y-contrast .group,
html.a11y-contrast .search input,
html.a11y-contrast .stepper,
html.a11y-contrast .cart-item,
html.a11y-contrast .field input,
html.a11y-contrast .field textarea,
html.a11y-contrast .drawer-close,
html.a11y-contrast .product-photo,
html.a11y-contrast .a11y-option,
html.a11y-contrast .a11y-panel,
html.a11y-contrast .statement address {
  border: 2px solid #000;
  background: #fff;
  color: #000;
}
html.a11y-contrast .cat-chip[aria-pressed="true"],
html.a11y-contrast .add-btn,
html.a11y-contrast .flavor-toggle,
html.a11y-contrast .order-bar-btn,
html.a11y-contrast .a11y-option[aria-pressed="true"] {
  background: #000;
  color: #ffff00;
  border-color: #000;
}
html.a11y-contrast .cat-chip[aria-pressed="true"] svg,
html.a11y-contrast .cat-chip[aria-pressed="true"] .count,
html.a11y-contrast .sku,
html.a11y-contrast .group-head h2,
html.a11y-contrast .cart-flavor-total,
html.a11y-contrast .statement-lead,
html.a11y-contrast .statement h2,
html.a11y-contrast .site-footer a,
html.a11y-contrast .statement a,
html.a11y-contrast .a11y-statement-link {
  color: #000;
}
html.a11y-contrast .product.in-cart,
html.a11y-contrast .flavor-row.in-cart,
html.a11y-contrast .product:nth-child(even) {
  background: #fff;
}
html.a11y-contrast .wa-btn:disabled {
  background: #fff;
  color: #000;
  border: 2px dashed #000;
}
html.a11y-contrast :focus-visible,
html.a11y-contrast .search input:focus,
html.a11y-contrast .field input:focus,
html.a11y-contrast .field textarea:focus,
html.a11y-contrast .qty-input:focus {
  outline: 3px solid #ffff00;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #000;
}
html.a11y-contrast .site-header :focus-visible,
html.a11y-contrast .hero :focus-visible,
html.a11y-contrast .a11y-fab:focus-visible,
html.a11y-contrast .cart-btn:focus-visible {
  outline: 3px solid #ffff00;
  outline-offset: 3px;
  box-shadow: none;
}

@media (max-width: 360px) {
  .product,
  .product-main {
    flex-wrap: wrap;
  }
  .flavor-toggle {
    max-width: 100%;
  }
}
