/* =====================================================================
   Custom Cut Butcher — Design System & Components
   "Modern butcher (warm)" theme
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette — clean & sharp, cool neutrals */
  --cream: #ffffff;
  --cream-2: #eef1f4;
  --charcoal: #14171c;
  --charcoal-2: #1f242b;
  --red: #d81e2c;
  --red-bright: #ee2533;
  --tan: #6b7480;
  --tan-soft: #cfd6dd;

  /* Semantic */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f7f9;
  --ink: #14171c;
  --ink-soft: #495159;
  --ink-faint: #8a929c;
  --line: #e2e6ea;
  --accent: var(--red);
  --accent-ink: #ffffff;

  /* Stock states */
  --ok: #1f9d57;
  --ok-bg: #e6f5ec;
  --low: #b07d12;
  --low-bg: #f6efd9;
  --out: #c02a36;
  --out-bg: #fae3e5;

  /* Type */
  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* Radii — tightened for a sharper, crisper look */
  --r-sm: 5px;
  --r-md: 9px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* Shadows — cool/neutral */
  --shadow-sm: 0 1px 2px rgba(17, 20, 26, 0.06), 0 2px 6px rgba(17, 20, 26, 0.07);
  --shadow-md: 0 8px 24px rgba(17, 20, 26, 0.1);
  --shadow-lg: 0 20px 50px rgba(17, 20, 26, 0.18);
  --shadow-red: 0 10px 28px rgba(216, 30, 44, 0.3);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s;
  --t-med: 0.32s;
  --t-slow: 0.6s;

  --container: 1180px;
  --nav-h: 76px;

  /* Homepage hero image — swap the file in /images or change this one line */
  --hero-image: url("../images/hero.jpg");
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
.section {
  padding-block: var(--s-9);
}
.section--tight {
  padding-block: var(--s-7);
}
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--tan);
  display: inline-block;
}
.section-head {
  max-width: 640px;
  margin-bottom: var(--s-7);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: var(--s-3);
}
.section-head p {
  color: var(--ink-soft);
  margin-top: var(--s-3);
  font-size: 1.05rem;
}
.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.text-red {
  color: var(--red);
}

/* =====================================================================
   Buttons — consistent hover animation system
   ===================================================================== */
.btn {
  --btn-bg: var(--charcoal);
  --btn-ink: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.85em 1.6em;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease),
    background-color var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
/* sheen sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 80%
  );
  transform: translateX(-130%);
  transition: transform var(--t-slow) var(--ease);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn:hover::after {
  transform: translateX(130%);
}
.btn:active {
  transform: translateY(-1px) scale(0.99);
}
.btn:focus-visible {
  outline: 3px solid var(--tan);
  outline-offset: 2px;
}
.btn .ico {
  transition: transform var(--t-med) var(--ease);
}
.btn:hover .ico {
  transform: translateX(4px);
}

.btn--primary {
  --btn-bg: var(--red);
}
.btn--primary:hover {
  --btn-bg: var(--red-bright);
  box-shadow: var(--shadow-red);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: var(--charcoal);
  box-shadow: inset 0 0 0 2px var(--charcoal);
}
.btn--ghost:hover {
  --btn-ink: #fff;
  --btn-bg: var(--charcoal);
}
.btn--tan {
  --btn-bg: var(--tan);
  --btn-ink: #14171c;
}
.btn--tan:hover {
  --btn-bg: var(--tan-soft);
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 0.6em 1.1em;
  font-size: 0.88rem;
}
.btn--lg {
  padding: 1em 2em;
  font-size: 1.05rem;
}

/* Small icon button */
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--charcoal);
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.icon-btn:hover {
  background: var(--cream-2);
  transform: translateY(-2px);
}
.icon-btn:active {
  transform: scale(0.94);
}

/* =====================================================================
   Navbar
   ===================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease),
    background-color var(--t-med) var(--ease);
}
.nav.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: var(--s-5);
  transition: height var(--t-med) var(--ease);
}
.nav.scrolled .nav__inner {
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--charcoal);
  color: var(--tan);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), rotate var(--t-med) var(--ease);
}
.brand:hover .brand__mark {
  transform: translateY(-2px);
  rotate: -8deg;
}
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-left: auto;
}
.nav__link {
  position: relative;
  padding: 0.5em 0.9em;
  border-radius: var(--r-sm);
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9em;
  right: 0.9em;
  bottom: 0.28em;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--charcoal);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.cart-link {
  position: relative;
}
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--red);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform var(--t-fast) var(--ease);
}
.cart-count.show {
  transform: scale(1);
}
.cart-count.bump {
  animation: bump 0.4s var(--ease);
}
@keyframes bump {
  30% {
    transform: scale(1.4);
  }
  60% {
    transform: scale(0.85);
  }
  100% {
    transform: scale(1);
  }
}

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav__drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 auto;
  width: min(82vw, 340px);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: var(--s-6) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
  z-index: 99;
}
.nav__drawer.open {
  transform: translateX(0);
}
.nav__drawer a {
  padding: var(--s-4);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.nav__drawer a:hover {
  background: var(--cream-2);
  padding-left: calc(var(--s-4) + 6px);
}
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 24, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
  z-index: 98;
}
.scrim.open {
  opacity: 1;
  visibility: visible;
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  padding-block: var(--s-9) var(--s-8);
  background: radial-gradient(120% 90% at 85% -10%, var(--tan-soft) 0%, transparent 45%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-8);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  color: var(--red);
  font-style: italic;
}
.hero__sub {
  margin-top: var(--s-5);
  max-width: 46ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.hero__stats {
  display: flex;
  gap: var(--s-7);
  margin-top: var(--s-7);
  flex-wrap: wrap;
}
.hero__stat strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--charcoal);
  display: block;
  line-height: 1;
}
.hero__stat span {
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  animation: float 5s ease-in-out infinite;
}
.hero__badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(47, 125, 79, 0.5);
  animation: pulse 2s infinite;
}
@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(47, 125, 79, 0);
  }
}

/* marquee strip */
.strip {
  background: var(--charcoal);
  color: var(--cream);
  overflow: hidden;
  border-block: 1px solid var(--charcoal-2);
}
.strip__track {
  display: flex;
  gap: var(--s-7);
  padding-block: var(--s-4);
  white-space: nowrap;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.strip__track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--tan-soft);
  display: inline-flex;
  align-items: center;
  gap: var(--s-7);
}
.strip__track span::after {
  content: "✦";
  color: var(--red-bright);
}
.strip:hover .strip__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =====================================================================
   Cards & grids
   ===================================================================== */
.grid {
  display: grid;
  gap: var(--s-5);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Feature card */
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--tan);
}
.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cream-2);
  color: var(--red);
  margin-bottom: var(--s-4);
  transition: transform var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}
.feature:hover .feature__icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--tan-soft);
}
.feature h3 {
  font-size: 1.25rem;
}
.feature p {
  color: var(--ink-soft);
  margin-top: var(--s-2);
  font-size: 0.96rem;
}

/* Product card */
.product {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tan);
}
.product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-2);
}
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.product:hover .product__media img {
  transform: scale(1.08);
}
.product__quick {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s-3);
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, transparent, rgba(31, 27, 24, 0.55));
  transform: translateY(100%);
  opacity: 0;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
.product:hover .product__quick {
  transform: translateY(0);
  opacity: 1;
}
.product__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
}
.product__cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  font-weight: 700;
}
.product__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.product__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.product__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-3);
}
.price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--charcoal);
}
.price span {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--ink-faint);
  font-weight: 600;
}

/* Stock badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.badge--ok {
  color: var(--ok);
  background: var(--ok-bg);
}
.badge--low {
  color: var(--low);
  background: var(--low-bg);
}
.badge--out {
  color: var(--out);
  background: var(--out-bg);
}
.product.is-out {
  opacity: 0.72;
}
.product.is-out .product__media img {
  filter: grayscale(0.5);
}

/* =====================================================================
   Filter chips
   ===================================================================== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-6);
}
.chip {
  padding: 0.55em 1.1em;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.chip:hover {
  transform: translateY(-2px);
  border-color: var(--tan);
}
.chip.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

/* product enter/exit animation for filtering */
.product.filtering-out {
  animation: fadeOut 0.25s var(--ease) forwards;
}
.product.filtering-in {
  animation: fadeUp 0.45s var(--ease) both;
}
@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(0.94);
  }
}

/* =====================================================================
   Modal (quick view)
   ===================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: var(--s-5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 27, 24, 0.55);
  backdrop-filter: blur(3px);
}
.modal__card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.96);
  transition: transform var(--t-med) var(--ease-out);
}
.modal.open .modal__card {
  transform: translateY(0) scale(1);
}
.modal__media {
  position: relative;
  background: var(--cream-2);
  min-height: 320px;
}
.modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal__body {
  padding: var(--s-7) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.modal__close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  z-index: 2;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.modal__close:hover {
  rotate: 90deg;
}

/* qty stepper */
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.stepper button {
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--surface);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--charcoal);
  transition: background-color var(--t-fast) var(--ease);
}
.stepper button:hover {
  background: var(--cream-2);
}
.stepper input {
  width: 46px;
  text-align: center;
  border: 0;
  background: transparent;
  font-weight: 700;
}
.note {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--r-md);
  padding: var(--s-4);
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  gap: var(--s-3);
}
.note svg {
  flex-shrink: 0;
}

/* =====================================================================
   Toasts
   ===================================================================== */
.toasts {
  position: fixed;
  right: var(--s-5);
  bottom: var(--s-5);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: min(92vw, 360px);
}
.toast {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--charcoal);
  color: #fff;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  animation: toastIn 0.4s var(--ease-out) forwards;
}
.toast.hide {
  animation: toastOut 0.3s var(--ease) forwards;
}
.toast__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ok);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
@keyframes toastIn {
  to {
    transform: translateX(0);
  }
}
@keyframes toastOut {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* =====================================================================
   Forms
   ===================================================================== */
.field {
  position: relative;
  margin-bottom: var(--s-5);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 1.1em 1em 0.5em;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field label {
  position: absolute;
  left: 1em;
  top: 0.95em;
  color: var(--ink-faint);
  pointer-events: none;
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    font-size var(--t-fast) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(139, 30, 30, 0.12);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-0.7em);
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 700;
}

/* segmented toggle (login/register, pickup/delivery) */
.segmented {
  display: inline-flex;
  position: relative;
  background: var(--cream-2);
  border-radius: var(--r-pill);
  padding: 5px;
}
.segmented button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 0.6em 1.4em;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-soft);
  border-radius: var(--r-pill);
  transition: color var(--t-med) var(--ease);
}
.segmented button.active {
  color: #fff;
}
.segmented__thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  border-radius: var(--r-pill);
  background: var(--red);
  transition: transform var(--t-med) var(--ease-out), width var(--t-med) var(--ease-out);
  z-index: 0;
}

/* =====================================================================
   Auth / split pages
   ===================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.split__aside {
  background: linear-gradient(160deg, var(--charcoal), #232b34);
  color: var(--cream);
  padding: var(--s-9) var(--s-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-4);
  position: relative;
  overflow: hidden;
}
.split__aside h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}
.split__aside p {
  color: var(--tan-soft);
  max-width: 40ch;
}
.split__aside .glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 39, 31, 0.5), transparent 70%);
  top: -120px;
  right: -120px;
  filter: blur(8px);
}
.split__main {
  padding: var(--s-9) var(--s-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

/* =====================================================================
   Cart / checkout
   ===================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--s-6);
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: var(--s-4);
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  align-items: center;
  transition: box-shadow var(--t-fast) var(--ease);
}
.cart-item:hover {
  box-shadow: var(--shadow-sm);
}
.cart-item__media {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--cream-2);
}
.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item.removing {
  animation: fadeOut 0.3s var(--ease) forwards;
}
.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.summary__row {
  display: flex;
  justify-content: space-between;
  padding-block: var(--s-2);
  color: var(--ink-soft);
}
.summary__row--total {
  border-top: 1px dashed var(--line);
  margin-top: var(--s-3);
  padding-top: var(--s-4);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 1.2rem;
}
.summary__row--total span:last-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

/* =====================================================================
   Admin
   ===================================================================== */
.admin-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.admin-side {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--s-6) var(--s-4);
}
.admin-side a {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  color: var(--tan-soft);
  font-weight: 600;
  margin-bottom: var(--s-1);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    padding-left var(--t-fast) var(--ease);
}
.admin-side a:hover,
.admin-side a.active {
  background: var(--charcoal-2);
  color: #fff;
  padding-left: calc(var(--s-4) + 4px);
}
.admin-main {
  padding: var(--s-7);
  background: var(--surface-2);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-weight: 700;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  margin-top: var(--s-2);
}
.stat__delta {
  font-size: 0.82rem;
  font-weight: 700;
}
.stat__delta.up {
  color: var(--ok);
}
.stat__delta.down {
  color: var(--out);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: var(--s-6);
}
.panel__head {
  padding: var(--s-5);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  text-align: left;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.table th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  background: var(--surface-2);
}
.table tbody tr {
  transition: background-color var(--t-fast) var(--ease);
}
.table tbody tr:hover {
  background: var(--surface-2);
}
.table__media {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.table__media img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

/* toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}
.switch input {
  display: none;
}
.switch span {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color var(--t-med) var(--ease);
}
.switch span::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease);
}
.switch input:checked + span {
  background: var(--ok);
}
.switch input:checked + span::before {
  transform: translateX(20px);
}

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 700;
}
.pill--new {
  background: var(--low-bg);
  color: var(--low);
}
.pill--ready {
  background: var(--ok-bg);
  color: var(--ok);
}
.pill--done {
  background: var(--cream-2);
  color: var(--ink-faint);
}

/* =====================================================================
   Footer
   ===================================================================== */
.footer {
  position: relative;
  z-index: 1;
  background: var(--charcoal);
  color: var(--cream);
  padding-block: var(--s-8) var(--s-6);
  margin-top: var(--s-9);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: var(--s-6);
}
.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tan);
  margin-bottom: var(--s-4);
}
.footer a {
  color: var(--tan-soft);
  display: block;
  padding-block: 4px;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer__brand p {
  color: var(--tan-soft);
  margin-top: var(--s-3);
  max-width: 34ch;
}
.newsletter {
  display: flex;
  gap: var(--s-2);
  margin-top: var(--s-3);
}
.newsletter input {
  flex: 1;
  padding: 0.7em 1em;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--charcoal-2);
  background: var(--charcoal-2);
  color: #fff;
  transition: border-color var(--t-fast) var(--ease);
}
.newsletter input:focus {
  outline: none;
  border-color: var(--tan);
}
.newsletter input.invalid {
  border-color: var(--red-bright);
  animation: shake 0.4s;
}
@keyframes shake {
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.footer__hint {
  font-size: 0.8rem;
  margin-top: var(--s-2);
  min-height: 1.2em;
  transition: color var(--t-fast) var(--ease);
}
.footer__bottom {
  border-top: 1px solid var(--charcoal-2);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  color: var(--ink-faint);
  font-size: 0.86rem;
}

/* =====================================================================
   Scroll reveal
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}
.reveal[data-delay="5"] {
  transition-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* page-load hero entrance */
.enter {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) forwards;
}
.enter[data-delay="1"] {
  animation-delay: 0.1s;
}
.enter[data-delay="2"] {
  animation-delay: 0.22s;
}
.enter[data-delay="3"] {
  animation-delay: 0.34s;
}
.enter[data-delay="4"] {
  animation-delay: 0.46s;
}

/* =====================================================================
   Utilities
   ===================================================================== */
.flex {
  display: flex;
}
.between {
  justify-content: space-between;
}
.center {
  align-items: center;
}
.wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: var(--s-2);
}
.gap-3 {
  gap: var(--s-3);
}
.gap-4 {
  gap: var(--s-4);
}
.mt-3 {
  margin-top: var(--s-3);
}
.mt-5 {
  margin-top: var(--s-5);
}
.muted {
  color: var(--ink-faint);
}
.page-head {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
  padding-block: var(--s-7);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.breadcrumb a:hover {
  color: var(--red);
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1000px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }
  .hero__media {
    max-width: 460px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-side {
    display: flex;
    gap: var(--s-2);
    overflow-x: auto;
    padding: var(--s-3);
  }
  .admin-side a {
    margin: 0;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: flex;
    margin-left: auto;
  }
  .nav__actions {
    margin-left: 0;
  }
  .grid--3,
  .grid--4,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split__aside {
    display: none;
  }
  .modal__card {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal__media {
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }
  .section {
    padding-block: var(--s-7);
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .cart-item {
    grid-template-columns: 64px 1fr;
  }
  .cart-item__actions {
    grid-column: 1 / -1;
  }
  .toasts {
    left: var(--s-4);
    right: var(--s-4);
    bottom: var(--s-4);
  }
}

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================================
   HOME — reference-matched sections
   ===================================================================== */

/* Full-bleed cover hero */
.hero--cover {
  position: fixed;
  inset: 0 0 auto 0;
  height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  z-index: 0;
  background: #15171a var(--hero-image) center 30% / cover no-repeat;
}
.hero--cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.45) 0%, rgba(8, 10, 14, 0.66) 100%);
}
/* Hero stays fixed; the rest of the page scrolls up and over it until covered */
.hero-spacer {
  height: 100vh;
}
.below-hero {
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.hero--cover .hero__inner {
  position: relative;
  z-index: 1;
  padding: var(--s-8) var(--s-5);
  max-width: 920px;
}
.hero--cover h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 36px rgba(0, 0, 0, 0.55);
}
.hero--cover .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 3.4vw, 2.1rem);
  color: rgba(255, 255, 255, 0.92);
  margin-top: var(--s-3);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}
.hero--cover .hero__cta {
  justify-content: center;
}
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.85);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  50% {
    transform: translate(-50%, 10px);
  }
}

/* Contact bar */
.contact-bar {
  background: var(--charcoal);
  color: var(--tan-soft);
  text-align: center;
  padding: var(--s-4) var(--s-5);
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}
.contact-bar .flex {
  justify-content: center;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.contact-bar svg {
  color: var(--tan);
}
.contact-bar a {
  color: #fff;
  font-weight: 600;
  transition: color var(--t-fast) var(--ease);
}
.contact-bar a:hover {
  color: var(--tan);
}

/* Sign Up Now */
.signup {
  text-align: center;
  padding-block: var(--s-9);
}
.signup h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.signup p {
  color: var(--ink-soft);
  margin-top: var(--s-3);
  font-size: 1.05rem;
}
.signup-form {
  display: inline-flex;
  gap: var(--s-2);
  margin-top: var(--s-6);
  max-width: 520px;
  width: 100%;
}
.signup-form input {
  flex: 1;
  padding: 0.9em 1.2em;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.signup-form input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(139, 30, 30, 0.12);
}
.signup-form input.invalid {
  border-color: var(--red-bright);
  animation: shake 0.4s;
}
.signup__hint {
  min-height: 1.3em;
  margin-top: var(--s-3);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Centered features (gray section) */
.features-plain {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}
.feature--center {
  background: transparent;
  border: 0;
  text-align: center;
  padding: var(--s-5);
}
.feature--center:hover {
  transform: translateY(-8px);
  box-shadow: none;
}
.feature--center .feature__icon {
  margin: 0 auto var(--s-4);
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: transparent;
  color: var(--charcoal);
}
/* Uploadable feature icons (swap files in /images) */
.feature__icon img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.feature--center:hover .feature__icon {
  transform: translateY(-2px) scale(1.06);
  background: var(--cream-2);
  color: var(--red);
}
.feature--center h3 {
  font-size: 1.4rem;
}
.feature--center p {
  font-size: 0.98rem;
}

/* Category panels (Meats / Spices / Herbs) */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.cat-panel {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #15171a;
}
.cat-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.cat-panel:hover img {
  transform: scale(1.07);
}
.cat-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
  transition: background var(--t-med) var(--ease);
}
.cat-panel:hover::after {
  background: linear-gradient(180deg, rgba(139, 30, 30, 0.12) 0%, rgba(0, 0, 0, 0.68) 100%);
}
.cat-panel__body {
  position: absolute;
  left: var(--s-6);
  bottom: var(--s-6);
  z-index: 1;
}
.cat-panel__label {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  display: block;
}
.cat-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-2);
  color: var(--tan-soft);
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.cat-panel:hover .cat-panel__cta {
  opacity: 1;
  transform: translateY(0);
}

/* Location */
.location {
  padding-block: var(--s-9);
}
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
.location__info p {
  color: var(--ink-soft);
  margin-bottom: var(--s-2);
}
.location__map {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #e7ddcf, #f3ebe0);
  position: relative;
  border: 1px solid var(--line);
}
.location__map::before {
  /* stylized map grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.7;
}
.location__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  color: var(--red);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.25));
  animation: float 4s ease-in-out infinite;
}

/* Slim footer for home */
.footer--slim {
  margin-top: 0;
  padding-block: var(--s-6);
}
.footer--slim .footer__bottom {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 900px) {
  .location__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .cats {
    grid-template-columns: 1fr;
  }
  .cat-panel {
    aspect-ratio: 16 / 10;
  }
  .signup-form {
    flex-direction: column;
    border-radius: var(--r-md);
  }
  .signup-form input,
  .signup-form .btn {
    width: 100%;
  }
}

/* =====================================================================
   Placeholder "blank box" for menu-item images
   (shown until real product photos are added)
   ===================================================================== */
.ph-box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--cream-2), #fff);
  color: var(--ink-faint);
}
.ph-box::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed var(--line);
  border-radius: 10px;
  pointer-events: none;
}
.ph-box svg {
  opacity: 0.45;
  position: relative;
}
.ph-box__label {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.ph-box__hint {
  position: relative;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* small variant — cart thumbnail (92px) */
.ph-box--sm {
  padding: 6px;
  gap: 0;
}
.ph-box--sm::before {
  inset: 6px;
  border-width: 1.5px;
  border-radius: 6px;
}
.ph-box--sm svg,
.ph-box--sm .ph-box__hint {
  display: none;
}
.ph-box--sm .ph-box__label {
  font-size: 0.72rem;
  line-height: 1.15;
}

/* tiny variant — admin thumbnail (40px) */
.table__thumb {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.ph-box--xs {
  padding: 0;
  background: var(--cream-2);
}
.ph-box--xs::before {
  inset: 3px;
  border-width: 1px;
  border-radius: 4px;
}
.ph-box--xs .ph-box__label,
.ph-box--xs .ph-box__hint {
  display: none;
}
.ph-box--xs svg {
  opacity: 0.5;
}
