:root {
  --ink: #23170f;
  --deep: #12130e;
  --moss: #274b31;
  --leaf: #5f8f46;
  --cream: #f8f0df;
  --paper: #fffaf1;
  --muted: #7e6b58;
  --line: #e2d3bd;
  --gold: #d8a145;
  --berry: #9e3f4f;
  --surface: #ffffff;
  --hero-image: url("https://images.unsplash.com/photo-1564053489984-317bbd824340?auto=format&fit=crop&w=1600&q=80");
  --hero-size: cover;
  --hero-position: center center;
  --category-image: url("https://images.unsplash.com/photo-1551024506-0bccd828d307?auto=format&fit=crop&w=900&q=80");
  --category-size: cover;
  --category-position: center center;
  --story-image: url("https://images.unsplash.com/photo-1505253716362-afaea1d3d1af?auto=format&fit=crop&w=1100&q=80");
  --story-size: cover;
  --story-position: center center;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
}

/* ── Global grain texture overlay ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body.menu-open {
  overflow: hidden;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes softFloat {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -8px, 0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
.primary-link,
.secondary-link {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--deep);
  color: #fff;
  padding: 12px 20px;
}

button:hover,
.primary-link:hover {
  background: var(--moss);
}

button:disabled {
  background: #a99a8a;
  cursor: not-allowed;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 16px;
}

textarea {
  border-radius: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(180px, 300px) 1fr minmax(180px, 300px);
  align-items: center;
  gap: 20px;
  min-height: 88px;
  padding: 12px max(24px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid rgba(35, 23, 15, 0.12);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  grid-column: 1;
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--deep);
  border-radius: 50%;
  background: var(--deep);
  color: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 800;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  background: #fff;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  grid-column: 2;
}

.top-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: #354052;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 14px 18px;
  text-transform: uppercase;
}

.top-nav a:hover {
  border-color: var(--line);
  background: #fff7f4;
  color: var(--ink);
}

.top-nav a.active {
  position: relative;
  background: #fff7f4;
  color: #c64035;
}

.top-nav a.active::after {
  position: absolute;
  right: 50%;
  bottom: 8px;
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: #c64035;
  content: "";
  transform: translateX(50%);
}

.top-nav span {
  color: var(--berry);
}

.mobile-menu-toggle,
.mobile-search-link {
  display: none;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 18;
  display: none;
  background: rgba(8, 9, 7, 0.55);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 19;
  display: flex;
  width: min(66vw, 280px);
  max-width: 100%;
  flex-direction: column;
  overflow: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(rgba(23, 48, 31, 0.95), rgba(23, 48, 31, 0.95)),
    radial-gradient(circle at 22px 22px, rgba(216, 161, 69, 0.12) 1px, transparent 2px);
  background-size: auto, 54px 54px;
  color: #fff;
  padding: 14px 12px;
  transform: translateX(-104%);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-backdrop.is-open {
  display: block;
  opacity: 1;
}

.mobile-menu-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
}

.mobile-menu-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: #bd3833;
  box-shadow: 0 18px 34px rgba(189, 56, 51, 0.28);
  font-size: 15px;
  font-weight: 900;
}

.mobile-menu-head strong {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mobile-menu-head button {
  width: 36px;
  min-height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  padding: 0 0 4px;
}

.mobile-menu-nav {
  display: grid;
  gap: 8px;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 11px 12px;
  text-transform: uppercase;
}

.mobile-menu-nav a::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  flex: 0 0 6px;
  margin-right: 10px;
}

.mobile-menu-nav a span {
  flex: 1;
}

.mobile-menu-nav a b {
  color: rgba(255, 255, 255, 0.45);
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
}

.mobile-menu-nav a.active {
  background: #bd3833;
  box-shadow: 0 18px 40px rgba(189, 56, 51, 0.22);
  color: #fff;
}

.mobile-menu-nav a.active::before {
  background: #fff;
}

.mobile-menu-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  border-radius: 999px;
  background: #bd3833;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mobile-menu-phone::before {
  margin-right: 10px;
  content: "☎";
}

.mobile-menu > p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25em;
  line-height: 1.6;
  margin: 18px 0 0;
  text-align: center;
  text-transform: uppercase;
}

.announcement,
.messages {
  display: none;
}

main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
}

.eyebrow,
.strip-label {
  margin: 0 0 10px;
  color: #c64035;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.strip-label {
  color: #c64035;
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 30px;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(18, 19, 14, 0.92) 0%, rgba(18, 19, 14, 0.58) 54%, rgba(18, 19, 14, 0.22) 100%),
    var(--hero-image);
  background-color: #1c241b;
  background-position:
    var(--hero-position),
    center calc(50% + var(--parallax-y, 0px));
  background-size: var(--hero-size);
  background-repeat: no-repeat;
  color: #fff;
  /* break out of main container */
  margin-left: calc(-24px - max(0px, (100vw - 1220px) / 2));
  margin-right: calc(-24px - max(0px, (100vw - 1220px) / 2));
  margin-top: -28px;
  padding: clamp(28px, 5vw, 56px) max(28px, calc((100vw - 1220px) / 2 + 24px));
}

.hero::before {
  display: none;
}

/* ── Hero decorative layers ── */
.hero-deco { position: absolute; pointer-events: none; }

/* Vertical side texts */
.hero-side-text {
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.45em; text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  z-index: 4;
  writing-mode: vertical-rl;
}
.hero-side-left  { left: 14px; }
.hero-side-right { right: 14px; transform: translateY(-50%) rotate(180deg); color: rgba(216,161,69,0.55); }

@media (max-width: 768px) {
  .hero-side-text { display: none; }
}

.hero-copy {
  position: relative;
  z-index: 5;
  align-self: center;
  max-width: 760px;
  padding: 20px 0;
  animation: heroFadeUp 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero .eyebrow,
.hero-copy p {
  color: #f7e8c7;
}

.hero h1 {
  max-width: 780px;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(44px, 6.2vw, 86px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title-main {
  display: block;
  color: #F4F0E6;
}

.hero-title-accent {
  display: block;
  color: #D6A83A;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.hero-meta span {
  min-width: 108px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff7e4;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  padding-left: 12px;
  text-transform: uppercase;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero .primary-link {
  background: var(--cream);
  color: var(--deep);
}

.hero .primary-link:hover {
  background: #fff;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  padding: 12px 20px;
}

.hero-panel {
  position: relative;
  z-index: 5;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(18, 19, 14, 0.62);
  color: #fff;
  padding: 22px;
  backdrop-filter: blur(16px);
  animation: heroFadeUp 980ms 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-panel > span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-panel a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 16px 0;
}

.hero-panel small {
  color: #f3d699;
  font-weight: 800;
}

.hero-brand-panel {
  border-radius: 18px;
  padding: 26px;
}

.hero-brand-panel > p {
  border-left: 3px solid var(--gold);
  color: #f5ead3;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.65;
  margin: 0 0 22px;
  padding-left: 18px;
}

.hero-brand-panel a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  font-size: 14px;
  margin-top: 10px;
  padding: 16px 18px;
  text-transform: uppercase;
}

.hero-brand-panel a:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-brand-panel a span {
  font-size: 23px;
  line-height: 1;
}

.hero-brand-panel .hero-panel-primary {
  background: #a83d32;
  border-color: #bd5a4e;
  color: #fff;
}

.hero-brand-panel .hero-panel-primary:hover {
  background: #b9493d;
}

.hero-brand-panel .hero-panel-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.hero-brand-panel .hero-panel-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.numbers-section,
.promise-section,
.category-showcase,
.story-section,
.menu-section,
.cart-layout,
.checkout-layout,
.success-box {
  margin-top: 54px;
}

.numbers-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
}

/* Glow spot top-right for numbers */
.numbers-section::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,75,49,0.14) 0%, transparent 70%);
  pointer-events: none;
}

/* Tea leaf float bottom-left for numbers */
.numbers-section::after {
  content: "";
  position: absolute;
  bottom: -30px; left: -20px;
  width: 220px; height: 220px;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cellipse cx='60' cy='35' rx='18' ry='30' fill='%231c3d1f' transform='rotate(-25 60 35)'/%3E%3Cellipse cx='85' cy='75' rx='15' ry='26' fill='%231c3d1f' transform='rotate(20 85 75)'/%3E%3Cellipse cx='30' cy='80' rx='14' ry='24' fill='%231c3d1f' transform='rotate(-40 30 80)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.numbers-section h2,
.category-showcase h2,
.story-copy h2,
.promise-section h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
}

.menu-section h2 {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.3;
}

/* Subtle gold leaf watermark behind product grid */
.menu-section {
  position: relative;
}
.menu-section::before {
  content: "";
  position: absolute;
  top: 40px; right: -40px;
  width: 280px; height: 280px;
  pointer-events: none;
  opacity: 0.045;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cellipse cx='70' cy='38' rx='20' ry='34' fill='%231c3d1f' transform='rotate(-15 70 38)'/%3E%3Cellipse cx='100' cy='88' rx='17' ry='30' fill='%231c3d1f' transform='rotate(25 100 88)'/%3E%3Cellipse cx='38' cy='95' rx='16' ry='28' fill='%231c3d1f' transform='rotate(-45 38 95)'/%3E%3Cellipse cx='70' cy='110' rx='10' ry='18' fill='%231c3d1f' transform='rotate(10 70 110)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.number-grid article,
.promise-section article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.number-grid span,
.promise-section article span,
.story-copy article span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.number-grid strong {
  display: block;
  color: var(--moss);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  margin-top: 16px;
}

.number-grid p,
.promise-section p,
.story-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.promise-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* Green glow top-left of promise */
.promise-section::before {
  content: "";
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,75,49,0.16) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Tea leaf float top-right of promise */
.promise-section::after {
  content: "";
  position: absolute;
  top: -10px; right: 10px;
  width: 200px; height: 200px;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cellipse cx='60' cy='35' rx='18' ry='30' fill='%23d8a145' transform='rotate(-25 60 35)'/%3E%3Cellipse cx='85' cy='75' rx='15' ry='26' fill='%23d8a145' transform='rotate(20 85 75)'/%3E%3Cellipse cx='30' cy='80' rx='14' ry='24' fill='%23d8a145' transform='rotate(-40 30 80)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.promise-section > div {
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  padding: 26px;
}

.promise-section > div .eyebrow {
  color: var(--gold);
}

.promise-section article h3,
.story-copy h3 {
  font-size: 24px;
  line-height: 1;
  margin: 18px 0 10px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.category-carousel-heading {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  margin-bottom: 24px;
}

.category-carousel-heading h2 {
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.86;
}

.category-carousel-heading > p {
  color: #778190;
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  margin: 14px 0 0;
  text-align: right;
}

.category-carousel-shell {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  isolation: isolate;
}

.category-carousel-shell::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(90deg, rgba(250, 246, 238, 0), var(--paper) 88%);
  content: "";
  pointer-events: none;
  z-index: 2;
}

.category-carousel-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.category-carousel-controls button {
  position: absolute;
  top: 50%;
  display: grid;
  width: 58px;
  min-height: 58px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 34px rgba(35, 23, 15, 0.12);
  color: var(--deep);
  font-size: 32px;
  line-height: 1;
  padding: 0;
  pointer-events: auto;
  transform: translateY(-50%);
}

.category-carousel-controls button:hover {
  background: var(--deep);
  color: #fff;
}

.category-carousel-controls [data-category-scroll="prev"] {
  left: 16px;
}

.category-carousel-controls [data-category-scroll="next"] {
  right: 16px;
}

.category-carousel {
  display: grid;
  grid-auto-columns: minmax(320px, calc((100% - 36px) / 3));
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 0 18px;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.category-carousel::-webkit-scrollbar {
  display: none;
}

.category-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 19, 14, 0.08), rgba(18, 19, 14, 0.78)),
    var(--category-image);
  background-color: #1c241b;
  background-position: var(--category-position);
  background-size: var(--category-size);
  background-repeat: no-repeat;
  color: #fff;
  padding: 28px;
  transition:
    filter 420ms ease,
    box-shadow 420ms ease;
}

.category-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.16) 42%, transparent 72%);
  content: "";
  opacity: 0;
  transform: translateX(-60%);
  transition:
    opacity 420ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category-card:hover {
  box-shadow: 0 18px 46px rgba(28, 36, 27, 0.18);
  filter: saturate(1.08) contrast(1.04);
}

.category-card:hover::after {
  opacity: 1;
  transform: translateX(60%);
}

.category-card:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(18, 19, 14, 0.08), rgba(18, 19, 14, 0.78)),
    url("https://images.unsplash.com/photo-1563729784474-d77dbb933a9e?auto=format&fit=crop&w=900&q=80");
}

.category-card:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(18, 19, 14, 0.08), rgba(18, 19, 14, 0.78)),
    url("https://images.unsplash.com/photo-1488477181946-6428a0291777?auto=format&fit=crop&w=900&q=80");
}

.category-card span {
  position: relative;
  z-index: 1;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
}

.category-card small {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 260px;
  color: #f7e8c7;
  line-height: 1.5;
  margin-top: 12px;
}

.category-card strong {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 13px;
  text-transform: uppercase;
}

.story-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

/* Gold glow bottom-right of story */
.story-section::after {
  content: "";
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,161,69,0.1) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.story-image {
  display: flex;
  min-height: 520px;
  align-items: flex-end;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 19, 14, 0), rgba(18, 19, 14, 0.78)),
    var(--story-image);
  background-color: #1c241b;
  background-position:
    var(--story-position),
    center calc(50% + var(--parallax-y, 0px));
  background-size: var(--story-size);
  background-repeat: no-repeat;
  color: #fff;
  padding: 24px;
}

.story-image span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  animation: softFloat 3.6s ease-in-out infinite alternate;
}

.story-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.story-copy .eyebrow {
  color: #c64035;
}

.story-copy article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.search-form {
  display: grid;
  width: min(430px, 100%);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.category-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.category-tabs a {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  text-transform: uppercase;
}

.category-tabs a.active {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

.product-grid {
  counter-reset: product;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid.compact .product-body {
  padding: 12px 14px;
}

.product-grid.compact .product-body h3 {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 0;
  margin: 6px 0 0;
}

.product-grid.compact .product-body p {
  font-size: 12px;
  min-height: 0;
  margin: 4px 0 0;
}

.product-grid.compact .price {
  font-size: 14px;
}

.product-grid.compact .product-actions {
  margin-top: 8px;
  gap: 6px;
}

.product-grid.compact .product-inbox-link,
.product-grid.compact .secondary-link {
  font-size: 11px;
  padding: 5px 10px;
}

.product-card {
  counter-increment: product;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition:
    box-shadow 420ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover {
  box-shadow: 0 18px 50px rgba(36, 24, 15, 0.12);
  transform: translate3d(0, -7px, 0);
}

.product-image {
  position: relative;
  display: grid;
  min-height: 140px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(47, 75, 49, 0.12), rgba(216, 161, 69, 0.28)),
    url("https://images.unsplash.com/photo-1564053489984-317bbd824340?auto=format&fit=crop&w=900&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 800;
  text-align: center;
}

.product-card:nth-child(2n) .product-image {
  background-image:
    linear-gradient(135deg, rgba(47, 75, 49, 0.18), rgba(158, 63, 79, 0.32)),
    url("https://images.unsplash.com/photo-1488477181946-6428a0291777?auto=format&fit=crop&w=900&q=80");
}

.product-card:nth-child(3n) .product-image {
  background-image:
    linear-gradient(135deg, rgba(47, 75, 49, 0.18), rgba(216, 161, 69, 0.34)),
    url("https://images.unsplash.com/photo-1551024506-0bccd828d307?auto=format&fit=crop&w=900&q=80");
}

.product-image::before {
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 999px;
  background: rgba(18, 19, 14, 0.72);
  color: #fff;
  content: "No " counter(product, decimal-leading-zero);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
}

.product-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-image img,
.detail-image img {
  transition: transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.055);
}

.product-image em {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 999px;
  background: var(--berry);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  padding: 8px 10px;
}

.product-body {
  padding: 10px 12px 12px;
}

.product-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-kicker em {
  color: var(--gold);
  font-style: normal;
}

.product-body h3 {
  min-height: 0;
  margin: 6px 0 0;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.product-body p {
  min-height: 56px;
  color: var(--muted);
  line-height: 1.6;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.product-inbox-link {
  min-width: 0;
  padding: 7px 12px;
  font-size: 11px;
}

.product-btn-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  transition:
    background 200ms ease,
    color 200ms ease;
}

.secondary-link:hover {
  background: var(--ink);
  color: var(--surface);
}

.product-detail-link {
  padding: 8px 14px;
}

.product-unavailable {
  border-radius: 999px;
  background: #efe3d3;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  text-transform: uppercase;
}

.price-stack {
  display: grid;
  gap: 2px;
}

.price-stack del {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-actions strong,
.price {
  color: var(--berry);
  font-size: 15px;
  font-weight: 800;
}

.detail-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.detail-image-wrap {
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.detail-image-wrap > .detail-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.detail-image-placeholder {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}



.detail-zoom-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(18, 19, 14, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms ease, background 200ms ease;
  backdrop-filter: blur(2px);
}

.detail-image-wrap:hover .detail-zoom-btn {
  opacity: 1;
}

.detail-zoom-btn:hover {
  background: rgba(18, 19, 14, 0.82);
}

.detail-thumbs-strip {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow-x: auto;
  flex-wrap: nowrap;
}

.detail-thumb-btn {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: none;
  padding: 0;
  cursor: pointer;
  transition: border-color .18s;
}

.detail-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-thumb-btn.active,
.detail-thumb-btn:hover {
  border-color: var(--berry);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 8, 0.88);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}

.lightbox-close:hover {
  opacity: 1;
}

.detail-copy,
.checkout-form,
.order-summary,
.checkout-box,
.success-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
}

.detail-copy h1,
.checkout-form h1,
.success-box h1 {
  margin-bottom: 14px;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.25;
}

.detail-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.detail-short-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.detail-article-section {
  max-width: 780px;
  margin: 32px auto 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 36px;
}

.detail-article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 28px;
}

.detail-article:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* override any CKEditor heading inside article */
.detail-article h1,
.detail-article h2,
.detail-article h3,
.detail-article h4 {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin: 20px 0 8px;
}

.detail-article h1 { font-size: 20px; }
.detail-article h2 { font-size: 18px; }
.detail-article h3 { font-size: 16px; }
.detail-article h4 { font-size: 15px; }

.product-rich-body {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
}

.product-rich-body h2 {
  color: var(--ink);
  font-size: clamp(20px, 3vw, 26px);
  margin: 24px 0 10px;
  line-height: 1.2;
}

.product-rich-body h3 {
  color: var(--ink);
  font-size: clamp(17px, 2.5vw, 21px);
  font-weight: 800;
  margin: 20px 0 8px;
  line-height: 1.25;
}

.product-rich-body p {
  margin: 0 0 12px;
}

.product-rich-body ul,
.product-rich-body ol {
  padding-left: 20px;
  margin: 0 0 12px;
}

.product-rich-body li {
  margin-bottom: 6px;
}

.product-rich-body strong {
  color: var(--ink);
  font-weight: 700;
}

.product-rich-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 16px 0;
  padding: 10px 16px;
  color: var(--muted);
  font-style: italic;
}

.detail-price {
  display: inline-grid;
  margin-bottom: 12px;
}

.detail-inbox-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-unavailable {
  display: inline-block;
  margin-top: 22px;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.product-facts div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.product-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-facts dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.detail-block {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
}

.detail-block h2,
.gallery-section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
}

/* ── Shop page ── */
.shop-hero {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: center;
  background-color: #1a3a22;
  background-image: var(--shop-hero-image, none);
  background-size: cover;
  background-position: center;
}

.shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,26,14,0.55) 0%, rgba(10,26,14,0.75) 100%);
}

.shop-hero-inner {
  position: relative;
  z-index: 1;
  padding: 28px max(24px, calc((100vw - 1220px) / 2));
  text-align: center;
  width: 100%;
}

.shop-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,60,40,0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.shop-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffcc66;
  flex-shrink: 0;
}

.shop-hero-title {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 10px;
}

.shop-hero-accent {
  color: var(--gold);
  display: inline;
}

.shop-hero-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  font-style: italic;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.shop-section {
  margin-top: 24px;
}

.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.shop-toolbar .category-tabs {
  margin-bottom: 0;
  padding-bottom: 0;
}

.shop-search-form {
  width: 100%;
  max-width: 480px;
}

.menu-section-footer {
  text-align: center;
  margin-top: 36px;
}

.gallery-section {
  margin-top: 54px;
}

.gallery-viewer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
}

.gallery-main-wrap {
  position: relative;
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-thumb-btn {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: none;
  padding: 0;
  cursor: pointer;
  transition: border-color .18s;
  flex-shrink: 0;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb-btn.active,
.gallery-thumb-btn:hover {
  border-color: var(--berry);
}

.quantity-form,
.checkout-form {
  display: grid;
  gap: 12px;
}

.quantity-form {
  max-width: 280px;
  margin-top: 24px;
}

.cart-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 120px 74px;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.cart-row div span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.cart-row form {
  display: flex;
  gap: 8px;
}

.cart-row input {
  min-width: 0;
}

.ghost-button {
  background: #efe3d3;
  color: var(--ink);
  padding: 10px 12px;
}

.checkout-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.checkout-box strong {
  color: var(--berry);
  font-size: 28px;
}

.order-summary {
  display: grid;
  gap: 14px;
}

.order-summary div,
.order-summary footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.order-summary footer {
  border-top: 1px solid var(--line);
  color: var(--berry);
  font-size: 22px;
  font-weight: 800;
  padding-top: 14px;
}

.success-box {
  max-width: 700px;
}

.success-box p {
  color: var(--muted);
  line-height: 1.7;
}

.success-box strong {
  display: block;
  color: var(--berry);
  font-size: 30px;
  margin: 18px 0;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 32px;
  text-align: center;
}

.site-footer {
  margin-top: 24px;
  background: #12251b;
  color: rgba(250, 246, 238, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 48px max(24px, calc((100vw - 1220px) / 2));
}

.footer-col-title {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 246, 238, 0.45);
  margin: 0 0 16px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-logo-text {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff7e4;
  line-height: 1.2;
}

.footer-logo small {
  font-size: 11px;
  color: rgba(250, 246, 238, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(250, 246, 238, 0.65);
  margin: 0 0 20px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 246, 238, 0.7);
  transition: background 180ms, color 180ms, border-color 180ms;
}

.footer-socials a:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.footer-contact-list,
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(250, 246, 238, 0.75);
}

.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.6;
}

.footer-contact-list a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.footer-contact-list a:hover {
  color: #fff7e4;
}

.footer-nav-list a {
  font-size: 13px;
  color: rgba(250, 246, 238, 0.75);
  text-decoration: none;
  transition: color 160ms;
}

.footer-nav-list a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 238, 0.1);
  padding: 16px max(24px, calc((100vw - 1220px) / 2));
  text-align: center;
  font-size: 12px;
  color: rgba(250, 246, 238, 0.35);
}

.site-footer a {
  color: var(--gold);
}

.site-footer a:hover {
  color: #fff7e4;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 36px 1fr 36px;
    gap: 6px;
    min-height: 54px;
    padding: 6px 14px;
  }

  .brand {
    grid-column: 2;
    justify-content: center;
  }

  .brand > span:last-child {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 0;
    border-color: transparent;
    background: transparent;
  }

  .brand-mark img {
    padding: 0;
    background: transparent;
  }

  .top-nav {
    display: none;
  }

  .mobile-menu-toggle,
  .mobile-search-link {
    display: grid;
    width: 32px;
    height: 32px;
    min-height: 32px;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #354052;
    padding: 0;
  }

  .mobile-menu-toggle {
    grid-column: 1;
    justify-self: start;
    gap: 3px;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #354052;
  }

  .mobile-search-link {
    grid-column: 3;
    justify-self: end;
  }

  .mobile-search-link span {
    position: relative;
    display: block;
    width: 19px;
    height: 19px;
    border: 2px solid #354052;
    border-radius: 50%;
  }

  .mobile-search-link span::after {
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 9px;
    height: 2px;
    border-radius: 999px;
    background: #354052;
    content: "";
    transform: rotate(45deg);
  }

  .hero,
  .promise-section,
  .story-section,
  .detail-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
  }

  .number-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-carousel-heading {
    grid-template-columns: 1fr;
  }

  .category-carousel-heading > p {
    max-width: 560px;
    text-align: left;
  }

  .category-carousel-controls {
    justify-content: flex-start;
  }

  .category-carousel {
    grid-auto-columns: minmax(300px, calc((100% - 18px) / 2));
  }

  .product-grid,
  .product-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  h1,
  h2,
  h3 {
    line-height: 1.2;
  }

  .product-image {
    min-height: 160px;
  }

  .product-image img {
    height: 180px;
  }

  .product-body {
    padding: 14px;
  }

  .product-body h3 {
    font-size: 18px;
    line-height: 1.25;
    min-height: 0;
    margin: 6px 0 0;
  }

  .product-body p {
    font-size: 13px;
    min-height: 0;
    margin: 6px 0 0;
  }

  .product-actions strong,
  .price {
    font-size: 17px;
  }

  .product-btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .secondary-link,
  .product-inbox-link {
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
  }

  .detail-copy h1,
  .checkout-form h1,
  .success-box h1 {
    line-height: 1.1;
  }

  .detail-block h2,
  .gallery-section h2 {
    line-height: 1.15;
  }

  .promise-section h2,
  .numbers-section h2,
  .category-showcase h2,
  .menu-section h2,
  .story-copy h2 {
    line-height: 1.2;
  }

  .promise-section article h3,
  .story-copy h3 {
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .promise-section article,
  .number-grid article {
    padding: 18px 16px;
  }

  .promise-section {
    gap: 10px;
  }

  .site-header {
    position: sticky;
    min-height: 0;
    padding: 6px 14px;
  }

  .brand {
    gap: 0;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .brand strong {
    font-size: clamp(22px, 7vw, 30px);
  }

  .brand small {
    font-size: 10px;
  }

  main {
    padding: 16px 12px 48px;
  }

  .announcement,
  .messages {
    padding-inline: 16px;
  }

  .hero {
    min-height: 0;
    gap: 18px;
    padding: 30px 20px 20px;
    background-position:
      var(--hero-position),
      center center;
  }

  .hero::before {
    inset: 12px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.15;
    text-wrap: unset;
  }

  .hero-copy {
    padding: 8px 0 0;
  }

  .hero .eyebrow {
    font-size: 10px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .hero-meta span {
    min-width: 0;
    font-size: 10px;
    line-height: 1.4;
    padding-left: 8px;
  }

  .hero-brand-panel {
    border-radius: 14px;
    padding: 16px;
  }

  .hero-brand-panel > p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
    padding-left: 12px;
  }

  .hero-brand-panel a {
    min-height: 52px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 8px;
    padding: 13px 14px;
  }

  .hero-brand-panel a span {
    font-size: 20px;
  }

  .section-heading,
  .checkout-box {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .search-form,
  .number-grid,
  .product-grid,
  .product-grid.compact {
    grid-template-columns: 1fr;
  }

  .category-carousel-heading h2 {
    font-size: 56px;
  }

  .category-carousel {
    grid-auto-columns: minmax(260px, 82%);
    align-items: stretch;
    scroll-behavior: auto;
  }

  .category-card {
    height: 270px;
    min-height: 270px;
    transform: none !important;
    transition: none;
  }

  .category-card::after {
    display: none;
  }

  .category-carousel-controls [data-category-scroll="prev"] {
    left: 10px;
  }

  .category-carousel-controls [data-category-scroll="next"] {
    right: 10px;
  }

  .category-carousel-controls button {
    width: 50px;
    min-height: 50px;
    font-size: 28px;
  }

  .product-facts {
    grid-template-columns: 1fr;
  }
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
