/* ==========================================================================
   Halfmoon — base.css (loaded on every page)
   Tokens · fonts · reset · layout · buttons · header · drawers · footer ·
   product card · notices · utilities
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable, latin subset) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink-900: #1b1714;
  --ink-800: #26201c;
  --ink-700: #3a332c;
  --ink-500: #6e665b;
  --ink-300: #a89f93;
  --ink-200: #e4ddd2;
  --ink-100: #f2ece3;
  --surface: #ffffff;
  --bg: #faf6f0;
  --cream-200: #f3ebe0;
  --cream-300: #eadfcf;
  --red-50: #fdecea;
  --red-100: #f8ccc6;
  --red-500: #e5362b;
  --red-600: #cf2a20;
  --red-700: #a81f17;
  --amber-50: #fef3e0;
  --amber-400: #ffb020;
  --amber-500: #f59e0b;
  --amber-700: #9a6206;
  --green-50: #e8f6ee;
  --green-500: #2fa866;
  --green-700: #1c7a48;

  --color-text: var(--ink-700);
  --color-heading: var(--ink-900);
  --color-muted: var(--ink-500);
  --color-border: var(--ink-200);
  --color-cta: var(--red-600);
  --color-cta-hover: var(--red-700);
  --color-focus: var(--amber-400);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5625rem;
  --text-2xl: 1.9375rem;
  --text-3xl: clamp(1.9rem, 1.4rem + 1.6vw, 2.4375rem);
  --text-4xl: clamp(2.2rem, 1.6rem + 2vw, 3.0625rem);
  --text-5xl: clamp(2.4rem, 1.5rem + 3.4vw, 3.75rem);
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.55;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: clamp(64px, 8vw, 96px);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(27, 23, 20, 0.06), 0 1px 3px rgba(27, 23, 20, 0.08);
  --shadow-2: 0 4px 10px rgba(27, 23, 20, 0.07), 0 2px 4px rgba(27, 23, 20, 0.06);
  --shadow-3: 0 12px 28px rgba(27, 23, 20, 0.12);
  --dur: 160ms;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --container: 1440px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: var(--leading-tight);
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0 0 var(--space-4);
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  display: inline-block;
}

.screen-reader-text,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--surface);
  color: var(--ink-900);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: var(--space-9) 0;
}
.section.is-tight-top,
.section + .section.is-tight-top {
  padding-top: 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.section-head-text {
  max-width: 62ch;
}
.section-head h2 {
  font-size: clamp(2rem, 1.3rem + 2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.section-intro {
  color: var(--color-muted);
  margin: var(--space-3) 0 0;
  font-size: 1.125rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink-900);
  border-bottom: 2px solid var(--red-600);
  padding-bottom: 2px;
  white-space: nowrap;
}
.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover .icon {
  transform: translateX(3px);
}
.section-foot {
  margin-top: var(--space-7);
  display: flex;
  justify-content: center;
}
.eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  margin: 0 0 var(--space-2);
}
.eyebrow a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.eyebrow a:hover {
  color: var(--red-700);
}

.page-header {
  padding: var(--space-8) 0 var(--space-6);
}
.page-header h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.page-intro {
  color: var(--color-muted);
  font-size: var(--text-lg);
  max-width: 60ch;
  margin: var(--space-3) 0 0;
}
.page-header .status-open {
  margin-top: var(--space-4);
}

.btn-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}
.empty-state {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto;
  padding: var(--space-8) 0;
}
.empty-state h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}
.empty-state .btn-row {
  justify-content: center;
}
.empty-state p {
  color: var(--color-muted);
  font-size: var(--text-lg);
}

/* ---------- Buttons ---------- */
.btn,
.button,
button.button,
input.button,
a.button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none;
  background: var(--color-cta);
  color: #fff;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.btn-sm {
  padding: 11px 18px;
  font-size: var(--text-sm);
}
.btn-lg {
  padding: 18px 28px;
}
.btn-block {
  width: 100%;
}
.btn-primary,
.button.alt,
.button.checkout-button {
  background: var(--color-cta);
  color: #fff;
}
.btn-primary:hover,
.button:hover,
.button.alt:hover {
  background: var(--color-cta-hover);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-200);
}
.btn-secondary:hover {
  background: transparent;
  border-color: var(--ink-900);
  color: var(--ink-900);
}
.btn-dark {
  background: var(--ink-900);
  color: #fff;
}
.btn-dark:hover {
  background: var(--ink-700);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--ink-900);
}
.btn-light:hover {
  background: var(--cream-200);
  color: var(--ink-900);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: #fff;
}
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  flex: none;
}
.btn-icon .icon {
  width: 20px;
  height: 20px;
}
.btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}
.btn.is-loading .icon {
  animation: hm-spin 0.8s linear infinite;
}
.btn.is-added {
  background: var(--green-700);
}
.button:disabled,
.button.disabled,
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Whole-card click target from a single link (keeps one link per card for screen readers). */
.stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
@keyframes hm-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Badges, status, price ---------- */
.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink-100);
  color: var(--ink-700);
}
.badge-deal,
.badge-popular {
  background: var(--amber-400);
  color: var(--ink-900);
}
.badge-new,
.badge-spicy {
  background: var(--red-600);
  color: #fff;
}
.badge-veg {
  background: var(--green-700);
  color: #fff;
}
/* Opening status: plain text, no badge */
.status-open {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-700);
}
.status-open .dot {
  display: none;
}
.status-open.is-closed {
  color: var(--red-700);
}
.status-open.on-dark {
  color: var(--ink-300);
}
.status-open.on-dark.is-closed {
  color: #ff9b91;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1;
  white-space: nowrap;
}
.price .cur {
  font-size: 0.6em;
  vertical-align: 0.45em;
  margin-right: 1px;
}
.price .cents {
  font-size: 0.55em;
  vertical-align: 0.6em;
  margin-left: 1px;
}

/* ---------- Notice bar ---------- */
.notice-bar {
  background: var(--red-600);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
}
.notice-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-block: 9px;
  text-align: center;
  flex-wrap: wrap;
}
.notice-bar a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink-900);
  color: #fff;
  transition: box-shadow var(--dur) var(--ease);
}
.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  flex: none;
}
.brand img {
  width: 150px;
  height: auto;
}
.nav-links {
  flex: 1;
}
.nav-links .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-5);
  justify-content: center;
}
.nav-links a {
  display: block;
  padding: 6px 2px;
  position: relative;
  color: #fff;
  font-weight: 600;
  font-size: 1.0625rem;
  transition: color var(--dur) var(--ease);
}
.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--amber-400);
}
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--amber-400);
  border-radius: 2px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  margin-right: var(--space-2);
}
.nav-phone .icon {
  color: var(--amber-400);
}
.nav-phone:hover {
  color: var(--amber-400);
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #fff;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition:
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.icon-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.icon-btn .icon {
  width: 20px;
  height: 20px;
}
.icon-btn .count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--red-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--ink-900);
}
.icon-btn .count.is-bump {
  animation: hm-bump 0.35s var(--ease);
}
@keyframes hm-bump {
  50% {
    transform: scale(1.35);
  }
}
.menu-toggle {
  display: none;
}

/* ---------- Drawers ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(27, 23, 20, 0.55);
  z-index: 90;
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.scrim.is-open {
  opacity: 1;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  height: 100dvh;
  width: min(88vw, 400px);
  background: var(--ink-900);
  color: #fff;
  z-index: 100;
  transform: translateX(102%);
  transition: transform 240ms var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-3);
  visibility: hidden;
}
.drawer.is-open {
  transform: none;
  visibility: visible;
}
.drawer .d-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: var(--header-h);
}
.drawer .d-head h2 {
  color: #fff;
  font-size: var(--text-xl);
}
.drawer .brand img {
  width: 130px;
}
.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3) var(--space-5);
}
.drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.drawer-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-nav .current-menu-item > a {
  color: var(--amber-400);
}
.drawer-foot {
  padding: var(--space-5);
  display: grid;
  gap: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-foot .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.drawer-foot .status-open {
  color: var(--ink-300);
}
.drawer-foot .status-open.is-closed {
  color: #ff9b91;
}
body.has-drawer {
  overflow: hidden;
}

/* Cart drawer (light, holds the Woo mini cart) */
.cart-drawer {
  background: var(--bg);
  color: var(--color-text);
}
.cart-drawer .d-head {
  border-color: var(--color-border);
}
.cart-drawer .d-head h2 {
  color: var(--ink-900);
}
.cart-drawer .icon-btn {
  color: var(--ink-900);
  border-color: var(--ink-200);
  background: #fff;
}
.hm-minicart-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.widget_shopping_cart_content {
  display: contents;
}
.woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: var(--space-3) var(--space-5);
  flex: 1;
  overflow-y: auto;
}
.woocommerce-mini-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px var(--space-3);
  padding: var(--space-4) 32px var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.woocommerce-mini-cart-item > a:not(.remove) {
  display: contents;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--ink-900);
}
.woocommerce-mini-cart-item img {
  grid-row: span 3;
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: linear-gradient(135deg, var(--ink-100), var(--amber-50));
  border-radius: var(--radius-sm);
}
.woocommerce-mini-cart-item .remove {
  position: absolute;
  top: var(--space-4);
  right: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-500);
  background: var(--ink-100);
  font-size: 18px;
  line-height: 1;
}
.woocommerce-mini-cart-item .remove:hover {
  background: var(--red-600);
  color: #fff;
}
.woocommerce-mini-cart-item .quantity {
  grid-column: 2;
  color: var(--color-muted);
}
.woocommerce-mini-cart-item dl.variation,
.woocommerce-mini-cart-item .tc-epo-metadata,
.woocommerce-mini-cart-item .tm-cart-edit-options {
  grid-column: 2;
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-xs);
}
.woocommerce-mini-cart-item dl.variation dt,
.woocommerce-mini-cart-item dl.variation dd {
  display: inline;
  margin: 0;
}
.woocommerce-mini-cart-item dl.variation dd p {
  display: inline;
  margin: 0;
}
.woocommerce-mini-cart-item dl.variation dd::after {
  content: "";
  display: block;
}
.woocommerce-mini-cart__total,
.woocommerce-mini-cart__buttons {
  margin: 0;
  padding: var(--space-4) var(--space-5);
  background: #fff;
}
.woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-lg);
  border-top: 1px solid var(--color-border);
  color: var(--ink-900);
}
.woocommerce-mini-cart__total strong {
  font-weight: 600;
}
.woocommerce-mini-cart__total .amount {
  font-family: var(--font-display);
  font-weight: 800;
}
.woocommerce-mini-cart__buttons {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-3);
  padding-top: 0;
  padding-bottom: max(var(--space-5), env(safe-area-inset-bottom));
}
.woocommerce-mini-cart__buttons .button:not(.checkout) {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-200);
  box-shadow: none;
}
.woocommerce-mini-cart__empty-message {
  padding: var(--space-8) var(--space-5);
  text-align: center;
  color: var(--color-muted);
}

/* Cart suggestions (drawer + cart page) */
.woocommerce-mini-cart {
  order: 0;
}
.suggest-drawer {
  order: 1;
}
.woocommerce-mini-cart__total {
  order: 2;
}
.woocommerce-mini-cart__buttons {
  order: 3;
}
.suggest {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
}
.suggest h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
}
.suggest ul,
.prose .suggest ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}
.suggest li {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 var(--space-2);
  padding: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.suggest img {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.suggest-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.suggest-price {
  grid-column: 2;
  font-size: var(--text-xs);
  color: var(--color-muted);
}
.suggest-add {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--red-600);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
}
.suggest-add:hover {
  background: var(--red-700);
}
.suggest-add .icon {
  width: 16px;
  height: 16px;
}
.suggest-add.is-loading .icon {
  animation: hm-spin 0.8s linear infinite;
}
.suggest-drawer ul {
  grid-template-columns: 1fr;
}
.suggest-cart {
  padding: var(--space-5) 0 var(--space-2);
}
.suggest-cart ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hm-checkout-layout .entry .suggest h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
}
@media (max-width: 1100px) {
  .suggest-cart ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .suggest-cart ul {
    grid-template-columns: 1fr;
  }
}
.closed-note {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin: 0 0 var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--amber-50);
  border: 1px solid #f6d9a4;
  color: var(--ink-900);
  font-size: var(--text-sm);
}
.closed-note .icon {
  flex: none;
  margin-top: 2px;
  color: var(--amber-700);
}
.cart-drawer .closed-note {
  margin: var(--space-3) var(--space-5) 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: var(--space-9) 0 var(--space-6);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
.foot-brand .brand {
  margin-bottom: var(--space-4);
}
.foot-brand p {
  font-size: var(--text-sm);
  max-width: 32ch;
}
.foot-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--red-600);
  color: #fff;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
}
.foot-call:hover {
  background: var(--red-700);
}
.foot-apps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.foot-apps img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.foot-title {
  color: #fff;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-4);
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-col a,
.foot-col p {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink-300);
  margin-bottom: 10px;
  transition: color var(--dur) var(--ease);
}
.foot-col a:hover {
  color: #fff;
}
.foot-address {
  display: flex !important;
  gap: 8px;
  align-items: flex-start;
}
.foot-address .icon {
  margin-top: 2px;
  color: var(--red-500);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.foot-col .hours-row b {
  color: #fff;
  font-weight: 600;
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--ink-300);
}
.legal-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-4);
}
.legal-menu a:hover {
  color: #fff;
}
.foot-social {
  display: flex;
  gap: 10px;
}
.foot-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  color: var(--ink-300);
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.foot-social .icon {
  width: 16px;
  height: 16px;
}
.foot-social a:hover {
  background: var(--red-600);
  color: #fff;
  border-color: var(--red-600);
}

/* ---------- Mobile action bar & toast ---------- */
.action-bar {
  display: none;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  z-index: 120;
  background: var(--ink-900);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-3);
  opacity: 0;
  transition:
    opacity 200ms var(--ease),
    transform 200ms var(--ease);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.is-error {
  background: var(--red-700);
}

/* ---------- Product card (menu, grids, related) ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
}
.p-card {
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.p-card:hover {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--ink-900);
}
.p-card .ph {
  position: relative;
  aspect-ratio: 5/4;
  background: var(--cream-200);
  overflow: hidden;
}
.p-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.p-card .ph img.is-cutout {
  object-fit: contain;
  padding: 7%;
}
.p-card:hover .ph img {
  transform: scale(1.04);
}
.p-card:hover .ph img.is-cutout {
  transform: rotate(-5deg) scale(1.04);
}
.p-card .ph .badge {
  position: absolute;
  top: 10px;
  left: 10px;
}
.p-card .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-4) var(--space-4) var(--space-4);
}
.p-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.p-card:hover .p-title a {
  color: var(--red-600);
}
.p-card .desc {
  margin: 6px 0 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-card .foot,
.deal-card .foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
}

/* Price: "$17 – $23" + "3 sizes"; narrow cards show "from $17". */
.p-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.p-amount {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.p-from {
  display: none;
}
.p-from small {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-muted);
}
.p-sizes {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-muted);
}
@container (max-width: 240px) {
  .p-range {
    display: none;
  }
  .p-from {
    display: inline;
  }
}

/* Round add button (above the card's stretched link). */
.p-add {
  position: relative;
  z-index: 2;
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--red-600);
  color: #fff;
  padding: 0;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.p-add .icon {
  width: 20px;
  height: 20px;
}
.p-add:hover,
.p-card:hover .p-add,
.deal-card:hover .p-add {
  background: var(--red-700);
}
.p-add:active {
  transform: scale(0.94);
}
.p-add.is-loading .icon {
  animation: hm-spin 0.8s linear infinite;
}
.p-add.is-added {
  background: var(--green-700);
}

/* ---------- WooCommerce notices (any page) ---------- */
.woocommerce-notices-wrapper:empty {
  display: none;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--green-500);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-weight: 500;
  color: var(--ink-900);
}
.woocommerce-info {
  border-left-color: var(--amber-500);
}
.woocommerce-error {
  border-left-color: var(--red-600);
  display: block;
}
.woocommerce-error li + li {
  margin-top: 6px;
}
.woocommerce-message .button,
.woocommerce-info .button {
  order: 2;
  padding: 10px 18px;
  font-size: var(--text-sm);
}

/* ---------- Form controls (product options, checkout, account) ---------- */
.input-text,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink-900);
  font-size: 1rem; /* 16px stops iOS zooming on focus */
  line-height: 1.3;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
textarea {
  min-height: 96px;
  resize: vertical;
}
select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a332c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.input-text:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ink-900);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.35);
}
::placeholder {
  color: var(--ink-300);
}
label {
  font-weight: 600;
  color: var(--ink-900);
}
.required {
  color: var(--red-600);
  text-decoration: none;
  border: 0;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--red-600);
  width: 18px;
  height: 18px;
}

/* Quantity stepper (theme buttons around Woo's input) */
div.quantity {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-pill);
  background: #fff;
  height: 52px;
  padding: 4px;
}
div.quantity .qty {
  width: 44px;
  min-height: 0;
  height: 100%;
  border: 0;
  padding: 0;
  text-align: center;
  font-weight: 700;
  box-shadow: none;
  -moz-appearance: textfield;
}
div.quantity .qty::-webkit-outer-spin-button,
div.quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--ink-100);
  color: var(--ink-900);
  display: grid;
  place-items: center;
  padding: 0;
}
.qty-btn:hover {
  background: var(--ink-200);
}
div.quantity:has(input[type="hidden"]) .qty-btn,
div.quantity:has(.qty[readonly]) .qty-btn {
  display: none;
}

/* ---------- Prose ---------- */
.prose {
  max-width: 70ch;
}
.prose > * + * {
  margin-top: var(--space-4);
}
.prose h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-7);
}
.prose h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-6);
}
.prose a {
  color: var(--red-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  padding-left: 1.25em;
}
.prose p {
  margin-bottom: 0;
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-phone {
    display: none;
  }
}
@media (max-width: 1000px) {
  .prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .brand img {
    width: 124px;
  }
  .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }
}
@media (max-width: 680px) {
  .hide-sm {
    display: none !important;
  }
  .section-head {
    margin-bottom: var(--space-6);
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding-bottom: calc(var(--space-6) + 76px);
  }
  .action-bar {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: var(--space-3);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
    background: rgba(250, 246, 240, 0.94);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
  }
  .action-bar .btn {
    padding: 13px 16px;
  }
  .action-bar .btn-secondary {
    background: #fff;
  }
  .toast {
    bottom: 88px;
  }
  .p-card .body {
    padding: var(--space-3);
  }
  .p-title {
    font-size: 1rem;
  }
  .p-card .desc {
    display: none;
  }
  .p-card .foot {
    padding-top: var(--space-3);
  }
  .p-amount {
    font-size: 1.0625rem;
  }
  .p-add {
    width: 38px;
    height: 38px;
  }
  .p-card .ph{
            height: auto;
  }
}
