: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 {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

/* ── 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(42px, 6.2vw, 82px);
  line-height: 0.9;
}

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

.story-copy h2 {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.02;
}

.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 span {
  position: relative;
  z-index: 1;
  font-family: "Playfair Display", Georgia, serif;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(20px, 2.45vw, 30px);
  font-weight: 800;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.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;
}

.category-panel {
  overflow: hidden;
  border: 1px solid #dccdb6;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(249, 244, 233, 0.96), rgba(242, 234, 219, 0.98)),
    linear-gradient(135deg, rgba(214, 168, 58, 0.06), rgba(47, 75, 49, 0.05));
  box-shadow: 0 18px 42px rgba(35, 23, 15, 0.12);
  color: #31251c;
}

.category-panel-title {
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #d9c9ad;
  border-radius: 0;
  background: #efe4cf;
  color: #36553a;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 18px 20px;
  text-align: left;
  text-transform: uppercase;
}

.category-panel-title:hover {
  background: #eadfc8;
}

.category-panel-title b {
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  transition: transform 220ms ease;
}

.category-panel-body {
  display: block;
}

.category-panel.is-expanded .category-panel-title b {
  transform: rotate(180deg);
}

.category-all-link,
.category-parent,
.category-children a {
  color: inherit;
  text-decoration: none;
}

.category-all-link {
  display: block;
  border-bottom: 1px solid #dfd2bd;
  color: #594d40;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 20px;
}

.category-group {
  border-bottom: 1px solid #dfd2bd;
}

.category-group:last-child {
  border-bottom: 0;
}

.category-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #2d261f;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  padding: 16px 20px 10px;
}

.category-parent b {
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}

.category-children {
  display: grid;
  gap: 4px;
  padding: 0 20px 16px 34px;
}

.category-children a {
  border-radius: 6px;
  color: #6c6254;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  padding: 7px 10px;
}

.category-all-link.active,
.category-parent.active,
.category-children a.active {
  background: #f1e6cd;
  color: #1f3b27;
}

.category-children a.active {
  box-shadow: inset 3px 0 0 var(--gold);
}

.category-all-link:hover,
.category-parent:hover,
.category-children a:hover {
  background: rgba(214, 168, 58, 0.12);
  color: #1f3b27;
}

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

.product-results {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.shop-section > .product-results .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-page .category-panel {
  overflow: hidden;
  border: 1px solid #eadfcb;
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.94);
  box-shadow: 0 12px 34px rgba(48, 35, 20, 0.08);
}

.shop-filter-all,
.shop-filter-parent {
  display: flex;
  align-items: center;
  min-height: 66px;
  gap: 14px;
  color: #203f29;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  padding: 16px 18px;
  text-decoration: none;
}

.shop-filter-all {
  border-bottom: 1px solid #eadfcb;
}

.shop-filter-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.shop-filter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #245532;
  font-size: 17px;
  line-height: 1;
}

.shop-filter-icon img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
}

.shop-filter-parent {
  justify-content: space-between;
}

.shop-filter-parent b {
  color: #2c4f35;
  font-size: 18px;
}

.shop-filter-group {
  border-bottom: 1px solid #eadfcb;
}

.shop-filter-group:last-child {
  border-bottom: 0;
}

.shop-filter-children {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0 12px 16px 58px;
}

.shop-filter-children::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 18px;
  left: 38px;
  width: 1px;
  background: #ddd2bf;
}

.shop-filter-children a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 5px;
  color: #62594e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  padding: 10px 10px;
}

.shop-filter-dot {
  position: absolute;
  left: -24px;
  width: 8px;
  height: 8px;
  border: 2px solid #ddd2bf;
  border-radius: 50%;
  background: #fffdf8;
}

.shop-filter-all.active,
.shop-filter-parent.active,
.shop-filter-children a.active {
  background: #eef2e7;
  color: #173d25;
  box-shadow: inset 3px 0 0 #1d5a35;
}

.shop-filter-all:hover,
.shop-filter-parent:hover,
.shop-filter-children a:hover {
  background: #f3f5ee;
  color: #173d25;
}

.shop-results-head {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(420px, auto);
  gap: 20px;
  align-items: start;
}

.shop-results-title h2 {
  color: #23482e;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

.shop-results-title > span {
  display: block;
  width: 170px;
  height: 14px;
  margin: 6px 0 10px;
  background:
    linear-gradient(90deg, #dcc99c, #dcc99c) left 50% / 70px 1px no-repeat,
    linear-gradient(90deg, #dcc99c, #dcc99c) right 50% / 70px 1px no-repeat;
}

.shop-results-title > span::after {
  content: "❧";
  display: block;
  color: #c6a150;
  font-size: 18px;
  line-height: 14px;
  text-align: center;
}

.shop-results-title p {
  color: #6f665c;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

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

.shop-search-form {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 48px;
  gap: 0;
  width: min(470px, 100%);
  max-width: none;
}

.shop-search-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid #eadfcb;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: rgba(255, 253, 248, 0.94);
  color: #2c4f35;
  padding: 0 15px;
}

.shop-search-form input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.shop-search-form button {
  min-height: 50px;
  border: 1px solid #eadfcb;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 253, 248, 0.94);
  color: #1d5131;
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
}

.shop-sort-form {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5f564d;
  font-size: 14px;
  font-weight: 700;
}

.shop-sort-form select {
  min-height: 50px;
  border: 1px solid #eadfcb;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  color: #463d34;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 42px 0 16px;
}

.shop-page .product-card {
  overflow: hidden;
  border: 1px solid #eadfcb;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 12px 28px rgba(39, 30, 18, 0.08);
}

.shop-page .product-card:hover {
  transform: translateY(-3px);
}

.shop-page .product-image {
  aspect-ratio: 1 / 0.95;
  min-height: 0;
  border-radius: 0;
}

.shop-page .product-image img {
  border-radius: 0;
}

.shop-page .product-body {
  min-height: 218px;
  padding: 14px 16px 16px;
}

.shop-page .product-kicker {
  display: none;
}

.shop-page .product-body h3 {
  min-height: 52px;
  color: #2a211b;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 7px;
}

.shop-page .product-serving-size {
  min-height: 24px;
  color: #6d6257;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.shop-page .product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: end;
}

.shop-page .price-stack strong {
  color: #ac3142;
  font-size: 18px;
  font-weight: 900;
}

.shop-page .product-btn-group {
  display: contents;
}

.shop-page .product-inbox-link {
  grid-column: 2;
  grid-row: 1;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #eadfcb;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  color: #1d5131;
  padding: 0;
}

.shop-page .secondary-link {
  grid-column: 1 / -1;
  min-height: 44px;
  border-radius: 7px;
  background: #1d5131;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 8px;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pagination-btn,
.pagination-page {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dccdb6;
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.92);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.pagination-btn {
  font-size: 24px;
  line-height: 1;
}

.pagination-btn:hover,
.pagination-page:hover,
.pagination-page.active {
  border-color: #1d5131;
  background: #1d5131;
  color: #fff;
}

.pagination-btn.disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.pagination-summary {
  margin: -8px 0 0;
  color: #7a7065;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.shop-page .product-pagination {
  gap: 18px;
  padding-top: 6px;
}

.shop-page .pagination-pages {
  gap: 18px;
}

.shop-page .pagination-btn,
.shop-page .pagination-page {
  min-width: 44px;
  min-height: 44px;
  border-color: #eadfcb;
  background: rgba(255, 253, 248, 0.96);
  color: #4e463d;
  font-size: 16px;
}

.shop-page .pagination-page.active {
  border-color: #1d5131;
  background: #1d5131;
  color: #fff;
}

.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:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(250, 245, 235, 0.96)),
    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: contain;
  background: #fbf8ef;
}

.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 {
  display: grid;
  min-height: 188px;
  align-content: start;
  padding: 12px 12px 14px;
  text-align: center;
}

.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: 8px 0 0;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.32;
}

.product-body h3 a {
  color: inherit;
  text-decoration: none;
}

.product-serving-size {
  min-height: 20px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: end;
  gap: 8px;
  margin-top: auto;
  min-width: 0;
  text-align: left;
}

.product-actions.is-unavailable {
  grid-template-columns: 1fr;
}

.product-inbox-link {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 2px solid #dfcfae;
  border-radius: 8px;
  background: rgba(255, 252, 245, 0.96);
  color: #244326;
  padding: 0;
}

.product-inbox-link svg {
  width: 18px;
  height: 18px;
}

.product-btn-group {
  display: contents;
  gap: 8px;
  align-items: center;
  justify-content: stretch;
  min-width: 0;
  width: min(100%, 190px);
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 2px solid #17401f;
  background: #17401f;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  padding: 7px 12px;
  transition:
    background 200ms ease,
    color 200ms ease;
}

.product-detail-link {
  width: 100%;
  min-height: 38px;
  white-space: nowrap;
}

.secondary-link:hover {
  background: #0e2813;
  color: #fffaf0;
}

.product-detail-link {
  grid-column: 1 / -1;
  padding: 9px 14px;
}

.product-unavailable {
  display: inline-flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #efe3d3;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.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;
}

.product-detail-tabs {
  max-width: 1080px;
  margin: 34px auto 0;
}

.product-tabs-nav {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  scrollbar-width: none;
}

.product-tabs-nav::-webkit-scrollbar {
  display: none;
}

.product-tabs-nav button {
  position: relative;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #77716a;
  font-size: 17px;
  font-weight: 800;
  padding: 0;
  white-space: nowrap;
}

.product-tabs-nav button::before {
  position: absolute;
  top: -17px;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  content: "";
}

.product-tabs-nav button.active {
  color: #8f2622;
}

.product-tabs-nav button.active::before {
  background: #8f2622;
}

.product-tabs-panels {
  margin-top: 26px;
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  display: block;
}

.product-tab-empty {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 245, 0.72);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  padding: 18px;
}

.product-info-table {
  overflow: hidden;
  border: 1px solid rgba(220, 205, 182, 0.72);
  background: #fff;
}

.product-info-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
}

.product-info-table div:nth-child(even) {
  background: #e8e6e2;
}

.product-info-table span,
.product-info-table strong {
  color: #201a16;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.product-info-table strong {
  font-weight: 600;
}

.detail-readmore {
  position: relative;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.detail-readmore.is-collapsed {
  max-height: 410px;
}

.detail-readmore.is-collapsed::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(250, 246, 238, 0), var(--paper) 82%);
  content: "";
  pointer-events: none;
}

.detail-readmore:not(.is-collapsed) {
  max-height: none;
}

.detail-readmore-toggle {
  display: flex;
  min-width: min(280px, 100%);
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  border: 1px solid #8f2622;
  border-radius: 6px;
  background: rgba(255, 252, 245, 0.82);
  color: #8f2622;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-readmore-toggle:hover {
  background: #8f2622;
  color: #fffaf0;
}

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

.product-rich-body h2 {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 28px 0 12px;
  line-height: 1.12;
}

.product-rich-body h3 {
  color: var(--ink);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin: 22px 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 {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 26px;
}

.shop-sidebar {
  position: sticky;
  top: 104px;
}

.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;
}

.contact-page main {
  max-width: none;
  padding-top: 0;
  padding-inline: 0;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 86px max(24px, calc((100vw - 1220px) / 2)) 64px;
  background:
    linear-gradient(90deg, rgba(50, 68, 42, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(50, 68, 42, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(214, 168, 58, 0.14), transparent 28%),
    linear-gradient(135deg, #f8f2e5 0%, #fffaf1 54%, #eef4e7 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
  border-bottom: 1px solid rgba(49, 66, 43, 0.12);
  text-align: center;
}

.contact-hero .eyebrow,
.contact-panel-kicker,
.contact-form-head span {
  color: #ba493e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero .eyebrow {
  letter-spacing: 0.42em;
}

.contact-hero h1 {
  display: flex;
  flex-wrap: nowrap;
  max-width: 1120px;
  align-items: baseline;
  justify-content: center;
  gap: 0.2em;
  margin: 22px auto 18px;
  color: #2e442f;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.contact-hero h1 span,
.contact-hero h1 em {
  display: inline-block;
}

.contact-hero h1 em {
  background: linear-gradient(90deg, #d88a45 0%, #bd322f 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 28px;
  color: rgba(186, 73, 62, 0.55);
}

.contact-divider span {
  width: 84px;
  height: 1px;
  background: currentColor;
}

.contact-divider b {
  width: 10px;
  height: 10px;
  background: currentColor;
  transform: rotate(45deg);
}

.contact-hero > p:last-child {
  max-width: 900px;
  margin: 0 auto;
  color: #6d7789;
  font-size: clamp(17px, 2vw, 25px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  width: min(100%, 1680px);
  grid-template-columns: minmax(520px, 0.95fr) minmax(680px, 1.15fr);
  gap: clamp(28px, 3vw, 48px);
  margin: 0 auto;
  padding: 42px max(24px, calc((100vw - 1220px) / 2)) 76px;
}

.contact-info-panel,
.contact-form-panel {
  border: 1px solid rgba(214, 168, 58, 0.28);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(39, 28, 18, 0.08);
}

.contact-info-panel {
  align-self: start;
  padding: clamp(34px, 3vw, 58px);
  background:
    linear-gradient(145deg, rgba(14, 37, 26, 0.98), rgba(25, 55, 35, 0.99)),
    #12251b;
  color: #fff7e8;
}

.contact-info-panel h2 {
  margin: 12px 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  color: #fffaf0;
}

.contact-info-panel > p {
  margin: 0 0 26px;
  color: rgba(255, 247, 232, 0.82);
  line-height: 1.7;
}

.contact-info-list {
  display: grid;
  gap: 12px;
}

.contact-info-list a,
.contact-info-list div {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 247, 232, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: inherit;
  text-decoration: none;
}

.contact-info-list small {
  color: #d6a83a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-list strong {
  color: #fff7e8;
  font-size: 15px;
  line-height: 1.45;
}

.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-social-row a {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #d6a83a;
  color: #12251b;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.contact-form-panel {
  padding: clamp(34px, 3vw, 58px);
  background: rgba(255, 252, 246, 0.92);
}

.contact-form-head {
  margin-bottom: 24px;
}

.contact-form-head h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.18;
}

@media (max-width: 1320px) {
  .contact-layout {
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  }
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  margin-bottom: 8px;
  color: #31422b;
  font-size: 13px;
  font-weight: 800;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(49, 66, 43, 0.18);
  border-radius: 14px;
  background: #fffaf1;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  padding: 15px 16px;
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
}

.contact-field textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #d6a83a;
  background: #fffdf8;
  box-shadow: 0 0 0 4px rgba(214, 168, 58, 0.15);
}

.contact-field .errorlist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  color: #ba493e;
  font-size: 13px;
  font-weight: 700;
}

.contact-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: #0d170f;
  color: #fffaf1;
  cursor: pointer;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 160ms, background 160ms;
}

.contact-submit:hover {
  background: #1f4a2a;
  transform: translateY(-1px);
}

.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));
  }

  .shop-section {
    grid-template-columns: 1fr;
  }

  .shop-toolbar {
    position: static;
  }

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding-top: 46px;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  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;
  }

  .product-tabs-nav {
    gap: 18px;
  }

  .product-tabs-nav button {
    font-size: 15px;
  }

  .product-info-table div {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 14px;
  }

  .product-info-table span,
  .product-info-table strong,
  .product-rich-body {
    font-size: 14px;
  }

  .detail-readmore.is-collapsed {
    max-height: 360px;
  }

  .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;
  }

  .contact-hero {
    padding: 42px 18px 30px;
  }

  .contact-hero h1 {
    gap: 0.16em;
    font-size: clamp(26px, 7.4vw, 38px);
    line-height: 1.08;
  }

  .contact-hero .eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .contact-divider {
    gap: 10px;
    margin-bottom: 18px;
  }

  .contact-divider span {
    width: 52px;
  }

  .contact-hero > p:last-child {
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-layout {
    gap: 16px;
    padding: 22px 12px 48px;
  }

  .contact-info-panel,
  .contact-form-panel {
    border-radius: 14px;
    padding: 20px;
  }

  .contact-info-panel h2,
  .contact-form-head h2 {
    font-size: 32px;
  }

  .contact-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-social-row a {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: 0;
    gap: 18px;
    margin-left: 0;
    margin-right: 0;
    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 {
    grid-template-columns: 1fr;
  }

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

  .product-card {
    border-radius: 6px;
    background: var(--paper);
  }

  .product-image {
    aspect-ratio: 1 / 0.92;
    min-height: 0;
    font-size: 18px;
  }

  .product-image img {
    width: 100%;
    height: 100%;
  }

  .product-image::before {
    top: 8px;
    left: 8px;
    font-size: 9px;
    padding: 5px 7px;
  }

  .product-image em {
    top: 8px;
    right: 8px;
    max-width: calc(100% - 62px);
    font-size: 9px;
    line-height: 1.2;
    padding: 5px 7px;
  }

  .product-body,
  .product-grid.compact .product-body {
    min-height: 142px;
    padding: 9px;
  }

  .product-kicker {
    align-items: flex-start;
    gap: 4px;
    font-size: 9px;
    line-height: 1.25;
  }

  .product-kicker em {
    white-space: nowrap;
  }

  .product-body h3,
  .product-grid.compact .product-body h3 {
    display: -webkit-box;
    min-height: 32px;
    margin-top: 5px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-serving-size {
    min-height: 16px;
    font-size: 10px;
  }

  .product-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    align-items: end;
    gap: 7px;
    margin-top: 8px;
  }

  .product-actions.is-unavailable {
    grid-template-columns: 1fr;
  }

  .price-stack {
    gap: 0;
  }

  .price-stack del {
    font-size: 11px;
  }

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

  .product-btn-group {
    display: contents;
    gap: 5px;
  }

  .secondary-link,
  .product-grid.compact .secondary-link {
    min-height: 32px;
    padding: 7px 8px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .product-inbox-link,
  .product-grid.compact .product-inbox-link {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .product-inbox-link svg {
    width: 16px;
    height: 16px;
  }

  .product-unavailable {
    min-height: 32px;
    padding: 8px;
    text-align: center;
    font-size: 10px;
  }

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

  .story-copy h2 {
    font-size: 38px;
  }

  .category-carousel {
    max-width: 100%;
    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 span {
    font-size: 26px;
    line-height: 1.08;
  }

  .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;
  }

  .category-tabs {
    max-width: 100%;
    overscroll-behavior-x: contain;
  }

  .category-panel {
    border-radius: 7px;
    background:
      linear-gradient(180deg, rgba(250, 246, 238, 0.98), rgba(244, 237, 224, 0.98)),
      linear-gradient(135deg, rgba(214, 168, 58, 0.05), rgba(47, 75, 49, 0.04));
    box-shadow: 0 12px 28px rgba(36, 24, 15, 0.08);
  }

  .category-panel-title {
    display: flex;
    background: #efe5d3;
    color: #36553a;
    font-size: 13px;
    padding: 14px 16px;
  }

  .category-panel-body {
    display: grid;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 260ms ease,
      opacity 180ms ease;
  }

  .category-panel.is-expanded .category-panel-body {
    max-height: 760px;
    opacity: 1;
  }

  .category-all-link {
    font-size: 13px;
    padding: 12px 16px;
  }

  .category-parent {
    font-size: 14px;
    padding: 13px 16px;
  }

  .category-children {
    max-height: 0;
    overflow: hidden;
    gap: 2px;
    padding: 0 16px 0 26px;
    opacity: 0;
    transition:
      max-height 240ms ease,
      opacity 180ms ease,
      padding 180ms ease;
  }

  .category-group.is-mobile-open .category-children {
    max-height: 360px;
    padding: 0 16px 12px 26px;
    opacity: 1;
  }

  .category-group.is-mobile-open .category-parent b {
    transform: rotate(180deg);
  }

  .category-children a {
    font-size: 12px;
    padding: 6px 8px;
  }

  .shop-toolbar {
    display: grid;
    gap: 12px;
    min-width: 0;
  }

  .shop-section,
  .menu-section,
  .category-showcase,
  .category-carousel-shell,
  .product-results,
  .product-grid {
    max-width: 100%;
    min-width: 0;
  }

  .shop-section {
    display: grid;
    gap: 20px;
  }

  .shop-page .shop-search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shop-page .shop-search-form input,
  .shop-page .shop-search-form button {
    width: 100%;
  }

  .shop-page .shop-search-form button {
    min-height: 50px;
  }

  .shop-section > .product-results .product-grid,
  .shop-page .product-grid,
  .shop-page .product-grid.compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .shop-page .product-card {
    min-width: 0;
    overflow: hidden;
  }

  .shop-page .product-body,
  .shop-page .product-grid.compact .product-body {
    min-height: 142px;
    padding: 9px 8px 10px;
  }

  .shop-page .product-kicker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .shop-page .product-kicker span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .shop-page .product-body h3,
  .shop-page .product-grid.compact .product-body h3 {
    min-height: 34px;
    font-size: 12px;
    line-height: 1.32;
  }

  .shop-page .product-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    align-items: end;
    min-width: 0;
  }

  .shop-page .product-btn-group {
    display: contents;
    width: 100%;
    min-width: 0;
    gap: 5px;
  }

  .shop-page .secondary-link,
  .shop-page .product-grid.compact .secondary-link {
    min-width: 0;
    min-height: 31px;
    padding: 6px 7px;
    font-size: 9px;
    line-height: 1.15;
  }

  .shop-page .product-inbox-link,
  .shop-page .product-grid.compact .product-inbox-link {
    width: 32px;
    min-width: 32px;
    min-height: 31px;
    padding: 0;
  }

  .shop-page .category-tabs,
  .shop-page .product-card,
  .shop-page .product-card:hover,
  .shop-page .product-image img,
  .shop-page .product-card:hover .product-image img {
    transform: none;
    transition: none;
  }

  .product-results {
    gap: 16px;
  }

  .product-pagination {
    gap: 8px;
    padding-top: 2px;
  }

  .pagination-btn,
  .pagination-page {
    min-width: 36px;
    min-height: 36px;
    font-size: 12px;
  }

  .pagination-btn {
    font-size: 20px;
  }

  .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;
  }
}

@media (max-width: 1180px) {
  .shop-results-head {
    grid-template-columns: 1fr;
  }

  .shop-controls {
    justify-content: flex-start;
  }

  .shop-section > .product-results .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .shop-section {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }

  .shop-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-search-form {
    grid-template-columns: minmax(0, 1fr) 50px;
    width: 100%;
  }

  .shop-sort-form {
    justify-content: space-between;
  }

  .shop-sort-form select {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .shop-page .product-body,
  .shop-page .product-grid.compact .product-body {
    min-height: 166px;
    padding: 10px;
  }

  .shop-page .product-body h3,
  .shop-page .product-grid.compact .product-body h3 {
    min-height: 42px;
    font-size: 13px;
  }

  .shop-page .product-serving-size {
    min-height: 20px;
    font-size: 11px;
  }

  .shop-page .price-stack strong {
    font-size: 14px;
  }

  .shop-page .product-inbox-link,
  .shop-page .product-grid.compact .product-inbox-link {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .shop-page .secondary-link,
  .shop-page .product-grid.compact .secondary-link {
    min-height: 34px;
    font-size: 9px;
  }

  .shop-filter-all,
  .shop-filter-parent {
    min-height: 58px;
    font-size: 14px;
    padding: 14px 16px;
  }

  .shop-filter-children {
    padding-left: 52px;
  }
}

.shop-results-head {
  grid-template-columns: minmax(180px, 280px) minmax(420px, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

.shop-results-title h2 {
  max-width: 280px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
}

.shop-results-title > span {
  width: 122px;
  height: 10px;
  margin: 6px 0 8px;
  background:
    linear-gradient(90deg, #dcc99c, #dcc99c) left 50% / 48px 1px no-repeat,
    linear-gradient(90deg, #dcc99c, #dcc99c) right 50% / 48px 1px no-repeat;
}

.shop-results-title > span::after {
  font-size: 14px;
  line-height: 10px;
}

.shop-results-title p {
  font-size: 13px;
}

.shop-controls {
  gap: 12px;
}

.shop-search-form {
  grid-template-columns: minmax(220px, 360px) 42px;
  width: min(410px, 100%);
}

.shop-search-form label,
.shop-search-form button,
.shop-sort-form select {
  min-height: 42px;
}

.shop-search-form label {
  padding: 0 12px;
}

.shop-search-form input {
  font-size: 14px;
}

.shop-search-form button {
  font-size: 18px;
}

.shop-sort-form {
  gap: 8px;
  font-size: 13px;
}

.shop-sort-form select {
  min-width: 150px;
  padding: 0 34px 0 12px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .shop-results-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shop-results-title h2 {
    max-width: none;
  }

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

.shop-section .shop-results-head {
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 6px;
}

.shop-section .shop-results-title {
  min-width: 0;
}

.shop-section .shop-results-title h2 {
  max-width: none;
  color: #23482e;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.shop-section .shop-results-title > span {
  width: 82px;
  height: 8px;
  margin: 5px 0 7px;
  background:
    linear-gradient(90deg, #dcc99c, #dcc99c) left 50% / 32px 1px no-repeat,
    linear-gradient(90deg, #dcc99c, #dcc99c) right 50% / 32px 1px no-repeat;
}

.shop-section .shop-results-title > span::after {
  font-size: 11px;
  line-height: 8px;
}

.shop-section .shop-results-title p {
  font-size: 11px;
  line-height: 1.25;
}

.shop-section .shop-controls {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.shop-section .shop-search-form {
  flex: 0 1 340px;
  grid-template-columns: minmax(0, 1fr) 34px;
  width: 340px;
  min-width: 260px;
}

.shop-section .shop-search-form label,
.shop-section .shop-search-form button,
.shop-section .shop-sort-form select {
  min-height: 34px;
}

.shop-section .shop-search-form label {
  gap: 8px;
  padding: 0 10px;
}

.shop-section .shop-search-form input,
.shop-section .shop-sort-form,
.shop-section .shop-sort-form select {
  font-size: 12px;
}

.shop-section .shop-search-form button {
  font-size: 14px;
}

.shop-section .shop-sort-form {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 6px;
  white-space: nowrap;
}

.shop-section .shop-sort-form span {
  line-height: 1.05;
}

.shop-section .shop-sort-form select {
  min-width: 122px;
  padding: 0 28px 0 10px;
}

.shop-page .product-pagination {
  gap: 8px;
  padding-top: 0;
}

.shop-page .pagination-pages {
  gap: 6px;
}

.shop-page .pagination-btn,
.shop-page .pagination-page {
  min-width: 28px;
  min-height: 28px;
  font-size: 11px;
}

.shop-page .pagination-btn {
  font-size: 13px;
}

@media (max-width: 1180px) {
  .shop-section .shop-results-head {
    grid-template-columns: 1fr;
  }

  .shop-section .shop-controls {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .shop-section .shop-results-title h2 {
    white-space: normal;
  }

  .shop-section .shop-controls {
    flex-wrap: wrap;
  }

  .shop-section .shop-search-form {
    width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width: 760px) {
  .shop-page main {
    padding-inline: 0;
    padding-bottom: 40px;
  }

  .shop-page .site-header {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    min-height: 70px;
    padding: 8px 18px;
  }

  .shop-page .brand {
    gap: 8px;
  }

  .shop-page .brand > span:last-child {
    display: block;
    min-width: 0;
    text-align: center;
  }

  .shop-page .brand strong {
    color: #174628;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
  }

  .shop-page .brand small {
    color: #c49a42;
    font-size: 10px;
    line-height: 1.1;
  }

  .shop-page .brand-mark {
    display: none;
  }

  .shop-page .mobile-menu-toggle,
  .shop-page .mobile-search-link {
    color: #111;
  }

  .shop-page .mobile-menu-toggle span,
  .shop-page .mobile-search-link span::after {
    background: #111;
  }

  .shop-page .mobile-search-link span {
    border-color: #111;
  }

  .shop-page .shop-hero {
    min-height: 178px;
    margin-inline: 0;
  }

  .shop-page .shop-hero-inner {
    padding: 36px 18px 30px;
  }

  .shop-page .shop-hero-eyebrow {
    margin-bottom: 10px;
    border-radius: 6px;
    font-size: 10px;
    padding: 5px 12px;
  }

  .shop-page .shop-hero-title {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.04;
  }

  .shop-page .shop-hero-desc {
    max-width: 340px;
    font-size: 12px;
    line-height: 1.45;
  }

  .shop-page .shop-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 0;
    padding: 18px 14px 0;
  }

  .shop-page .category-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .shop-page .shop-filter-all,
  .shop-page .shop-filter-parent {
    min-height: 42px;
    border: 1px solid #e4d7bf;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: none;
    color: #2d2a25;
    flex: 0 0 auto;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 14px;
  }

  .shop-page .shop-filter-all.active,
  .shop-page .shop-filter-parent.active {
    border-color: #0f5a32;
    background: #0f5a32;
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 90, 50, 0.16);
  }

  .shop-page .shop-filter-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: currentColor;
    font-size: 15px;
  }

  .shop-page .shop-filter-icon img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
  }

  .shop-page .shop-filter-parent b {
    display: none;
  }

  .shop-page .shop-filter-group {
    display: contents;
    border: 0;
  }

  .shop-page .shop-filter-children {
    order: 20;
    position: relative;
    display: none;
    flex: 1 0 100%;
    flex-wrap: nowrap;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 4px;
    opacity: 1;
    scrollbar-width: none;
  }

  .shop-page .category-group.is-open .shop-filter-children,
  .shop-page .category-group:has(.shop-filter-children a.active) .shop-filter-children {
    display: flex;
  }

  .shop-page .shop-filter-children::-webkit-scrollbar {
    display: none;
  }

  .shop-page .shop-filter-children::before,
  .shop-page .shop-filter-dot {
    display: none;
  }

  .shop-page .shop-filter-children a {
    min-height: 40px;
    border: 1px solid #e4d7bf;
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.94);
    color: #4d4439;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 14px;
    white-space: nowrap;
  }

  .shop-page .shop-filter-children a.active {
    border-color: #0f5a32;
    background: #fffdf8;
    color: #0f5a32;
    box-shadow: inset 0 0 0 1px #0f5a32;
  }

  .shop-page .product-results {
    gap: 14px;
  }

  .shop-page .shop-results-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    border-top: 1px solid #eadfcb;
    padding-top: 14px;
  }

  .shop-page .shop-results-title {
    display: none;
  }

  .shop-page .shop-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(132px, auto);
    gap: 0;
    overflow: hidden;
    border: 1px solid #eadfcb;
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.94);
  }

  .shop-page .shop-search-form {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }

  .shop-page .shop-search-form label {
    display: contents;
  }

  .shop-page .shop-search-form label > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: #0f5a32;
    font-size: 18px;
  }

  .shop-page .shop-search-form input {
    min-height: 44px;
    border: 0;
    font-size: 0;
    padding: 0 8px 0 0;
  }

  .shop-page .shop-search-form input::placeholder {
    color: transparent;
  }

  .shop-page .shop-search-form button {
    display: none;
  }

  .shop-page .shop-sort-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    border-left: 1px solid #eadfcb;
    color: #1d5131;
    font-size: 12px;
    font-weight: 800;
    min-width: 0;
    padding-left: 12px;
  }

  .shop-page .shop-sort-form::before {
    color: #0f5a32;
    content: "↕";
    font-size: 15px;
    line-height: 1;
  }

  .shop-page .shop-sort-form span {
    display: none;
  }

  .shop-page .shop-sort-form select {
    min-width: 0;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #2d2a25;
    font-size: 12px;
    font-weight: 800;
    padding: 0 22px 0 0;
  }

  .shop-section > .product-results .product-grid,
  .shop-page .product-grid,
  .shop-page .product-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .shop-page .product-image,
  .shop-page .product-grid.compact .product-image {
    aspect-ratio: 1 / 0.82;
  }

  .shop-page .product-image img,
  .shop-page .product-grid.compact .product-image img {
    height: 100%;
  }

  .shop-page .product-body,
  .shop-page .product-grid.compact .product-body {
    min-height: 164px;
    padding: 10px 10px 12px;
  }

  .shop-page .product-body h3,
  .shop-page .product-grid.compact .product-body h3 {
    min-height: 42px;
    color: #0f3c22;
    font-size: 14px;
    line-height: 1.22;
    text-align: center;
  }

  .shop-page .product-serving-size {
    margin-bottom: 8px;
    text-align: center;
  }

  .shop-page .price-stack strong {
    font-size: 16px;
  }

  .shop-page .product-actions {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .shop-page .product-inbox-link,
  .shop-page .product-grid.compact .product-inbox-link {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .shop-page .secondary-link,
  .shop-page .product-grid.compact .secondary-link {
    min-height: 36px;
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  .shop-page .shop-search-form {
    display: block;
  }

  .shop-page .shop-search-form label {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #1d5131;
    font-size: 12px;
    font-weight: 800;
    padding: 0;
  }

  .shop-page .shop-search-form label::after {
    color: #2d2a25;
    content: "Lọc";
  }

  .shop-page .shop-search-form label > span {
    min-height: 0;
    font-size: 15px;
  }

  .shop-page .shop-search-form input,
  .shop-page .shop-search-form button {
    display: none;
  }
}

.mobile-shop-actions,
.shop-drawer-head {
  display: none;
}

@media (max-width: 760px) {
  body.shop-drawer-open {
    overflow: hidden;
  }

  body.shop-drawer-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 29;
    background: rgba(14, 20, 12, 0.52);
  }

  .shop-page .shop-section {
    padding-top: 14px;
  }

  .shop-page .mobile-shop-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    order: 0;
  }

  .shop-page .mobile-shop-action,
  .shop-page .mobile-shop-search label,
  .shop-page .mobile-shop-sort label {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #eadfcb;
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.96);
    color: #2d2a25;
    font-size: 12px;
    font-weight: 800;
    padding: 0 10px;
    white-space: nowrap;
  }

  .shop-page .mobile-shop-action span,
  .shop-page .mobile-shop-search span,
  .shop-page .mobile-shop-sort span {
    color: #174d2d;
    font-size: 16px;
    line-height: 1;
  }

  .shop-page .mobile-shop-action b {
    font: inherit;
  }

  .shop-page .mobile-shop-search,
  .shop-page .mobile-shop-sort {
    min-width: 0;
  }

  .shop-page .mobile-shop-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #2d2a25;
    font-size: 12px;
    font-weight: 800;
    padding: 0;
    outline: none;
  }

  .shop-page .mobile-shop-search input::placeholder {
    color: #2d2a25;
    opacity: 1;
  }

  .shop-page .mobile-shop-sort select {
    min-width: 0;
    max-width: 74px;
    border: 0;
    background: transparent;
    color: #2d2a25;
    cursor: pointer;
    font: inherit;
    padding: 0;
    outline: none;
  }

  .shop-page .shop-results-head {
    gap: 10px;
    border-top: 0;
    padding-top: 0;
  }

  .shop-page .shop-results-title {
    display: block;
    order: 1;
    padding-top: 2px;
  }

  .shop-page .shop-results-title h2 {
    color: #174d2d;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    white-space: normal;
  }

  .shop-page .shop-results-title > span {
    display: none;
  }

  .shop-page .shop-results-title p {
    color: #6a6259;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
  }

  .shop-page .shop-controls {
    display: none;
  }

  .shop-page .category-panel {
    position: fixed;
    inset: auto 10px 10px;
    z-index: 30;
    display: block;
    max-height: min(72vh, 620px);
    overflow-y: auto;
    border: 1px solid #eadfcb;
    border-radius: 22px;
    background: #fffdf8;
    box-shadow: 0 22px 60px rgba(23, 33, 18, 0.24);
    opacity: 0;
    padding: 0 14px 18px;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition:
      opacity 180ms ease,
      transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .shop-page .category-panel.is-drawer-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .shop-page .shop-drawer-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eadfcb;
    background: #fffdf8;
    color: #174d2d;
    padding: 18px 0 14px;
    text-align: center;
  }

  .shop-page .shop-drawer-handle {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 54px;
    height: 4px;
    border-radius: 999px;
    background: #d8ccb8;
    transform: translateX(-50%);
  }

  .shop-page .shop-drawer-head strong {
    grid-column: 2;
    font-size: 15px;
    font-weight: 900;
  }

  .shop-page .shop-drawer-head button {
    grid-column: 3;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: #173d25;
    font-size: 26px;
    padding: 0;
  }

  .shop-page .shop-filter-all {
    display: flex;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #2b2823;
    justify-content: flex-start;
    padding: 14px 8px;
  }

  .shop-page .shop-filter-all.active {
    background: transparent;
    color: #174d2d;
    box-shadow: none;
  }

  .shop-page .shop-filter-group {
    display: block;
    border-top: 1px solid #eadfcb;
  }

  .shop-page .shop-filter-parent {
    display: flex;
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: #174d2d;
    justify-content: space-between;
    padding: 13px 8px;
  }

  .shop-page .shop-filter-parent.active {
    background: #eef5ec;
    color: #174d2d;
    box-shadow: none;
  }

  .shop-page .shop-filter-parent b {
    display: block;
    color: #173d25;
    font-size: 18px;
    transition: transform 180ms ease;
  }

  .shop-page .category-group.is-mobile-open .shop-filter-parent b,
  .shop-page .category-group.is-open .shop-filter-parent b {
    transform: rotate(180deg);
  }

  .shop-page .shop-filter-icon,
  .shop-page .shop-filter-icon img {
    width: 18px;
    height: 18px;
  }

  .shop-page .shop-filter-children {
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: none;
    overflow: visible;
    padding: 0 4px 12px 44px;
  }

  .shop-page .category-group.is-mobile-open .shop-filter-children,
  .shop-page .category-group.is-open .shop-filter-children,
  .shop-page .category-group:has(.shop-filter-children a.active) .shop-filter-children {
    display: flex;
  }

  .shop-page .shop-filter-children::before {
    display: block;
    top: 2px;
    bottom: 18px;
    left: 22px;
  }

  .shop-page .shop-filter-dot {
    display: block;
    left: -25px;
  }

  .shop-page .shop-filter-children a {
    min-height: 34px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #5f574c;
    font-size: 12px;
    padding: 9px 4px;
    white-space: normal;
  }

  .shop-page .shop-filter-children a.active {
    background: transparent;
    color: #174d2d;
    box-shadow: none;
  }
}

.product-image::before,
.shop-page .product-image::before {
  display: none;
  content: none;
}

.product-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  max-width: calc(100% - 20px);
  overflow: hidden;
  border-radius: 5px;
  background: rgba(29, 81, 49, 0.88);
  color: #fff;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  padding: 8px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-page .product-category-badge {
  font-size: 11px;
  padding: 6px 9px;
}

.product-body,
.product-grid.compact .product-body {
  text-align: left;
}

.product-body h3,
.product-grid.compact .product-body h3,
.product-serving-size {
  text-align: left;
}

@media (max-width: 760px) {
  .shop-page .product-category-badge {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 14px);
    border-radius: 4px;
    font-size: 8px;
    padding: 3px 6px;
  }

  .shop-page .product-image .product-status-badge {
    display: none;
  }

  .shop-page .product-body,
  .shop-page .product-grid.compact .product-body {
    text-align: left;
  }

  .shop-page .product-body h3,
  .shop-page .product-grid.compact .product-body h3 {
    min-height: 38px;
    margin: 0 0 6px;
    text-align: left;
  }

  .shop-page .product-serving-size {
    min-height: 18px;
    margin-bottom: 6px;
    text-align: left;
  }

  .shop-page .product-actions {
    align-items: end;
  }
}

.shop-section > .product-results .product-grid,
.shop-page .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-filter-all.active,
.shop-filter-parent.active {
  background: #1d5131;
  color: #fff;
  box-shadow: none;
}

.shop-filter-all.active .shop-filter-icon,
.shop-filter-parent.active .shop-filter-icon,
.shop-filter-parent.active b {
  color: #fff;
}

.shop-filter-children a.active {
  background: #eef5ec;
  color: #174d2d;
  box-shadow: inset 3px 0 0 #1d5131;
}

.shop-filter-all.active:hover,
.shop-filter-parent.active:hover {
  background: #1d5131;
  color: #fff;
}

@media (max-width: 1180px) {
  .shop-section > .product-results .product-grid,
  .shop-page .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shop-section > .product-results .product-grid,
  .shop-page .product-grid,
  .shop-page .product-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.related-products-section .product-grid.compact {
  align-items: stretch;
}

.related-products-section .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.related-products-section .product-image {
  aspect-ratio: auto;
  height: 160px;
  min-height: 0;
  width: 100%;
}

.related-products-section .product-image img {
  display: block;
  width: 100%;
  height: 160px;
}

.related-products-section .product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.related-products-section .product-actions {
  margin-top: auto;
}

.top-nav-logout,
.mobile-menu-logout,
.product-card-cart-form {
  display: contents;
}

.top-nav-logout button,
.mobile-menu-logout button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
}

.product-card-cart-form button {
  border: 0;
  cursor: pointer;
}

.product-detail-page main {
  width: min(1880px, calc(100% - 56px));
  max-width: none;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #766f66;
  font-size: 14px;
  font-weight: 700;
  margin: 4px 0 22px;
}

.product-breadcrumb a,
.product-breadcrumb strong {
  color: #174d2d;
  text-decoration: none;
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(560px, 1.45fr) minmax(360px, 0.78fr) minmax(280px, 0.48fr);
  gap: 22px;
  align-items: start;
}

.product-gallery-card,
.product-summary-card,
.product-buy-card,
.product-detail-tabs,
.detail-media-card,
.detail-info-card,
.auth-card,
.commerce-shell {
  border: 1px solid #eadfcb;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 12px 32px rgba(39, 30, 18, 0.08);
}

.product-gallery-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1.25fr) minmax(220px, 0.72fr);
  gap: 12px;
  min-height: 410px;
  padding: 12px;
}

.product-gallery-thumbs {
  display: grid;
  align-content: start;
  gap: 12px;
}

.product-gallery-thumbs .detail-thumb-btn {
  width: 100%;
  height: 86px;
  border-radius: 7px;
}

.product-main-media,
.product-gallery-side {
  position: relative;
  display: grid;
  min-height: 386px;
  overflow: hidden;
  border-radius: 8px;
  background: #efe7d8;
  place-items: center;
}

.product-main-media img,
.product-gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-side span {
  color: #174d2d;
  font-weight: 900;
}

.product-summary-card {
  padding: 24px;
}

.detail-tags,
.detail-rating-row,
.detail-price-row,
.detail-option-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-tags span,
.detail-serving-chip,
.detail-option-grid span {
  border: 1px solid #dfe9da;
  border-radius: 6px;
  background: #eff5eb;
  color: #174d2d;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.product-summary-card h1 {
  margin: 16px 0 8px;
  color: #173d25;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(26px, 2.2vw, 36px);
  font-weight: 900;
  line-height: 1.18;
}

.detail-rating-row {
  color: #d6a83a;
  font-size: 15px;
}

.detail-rating-row small {
  color: #5f574e;
}

.detail-price-row {
  margin: 18px 0 12px;
}

.detail-price-row strong {
  color: #b83245;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 900;
}

.detail-price-row del {
  color: #7b7167;
  font-size: 18px;
  font-weight: 800;
}

.detail-option-grid {
  margin: 14px 0 20px;
}

.detail-option-grid span:first-child {
  border-color: #1d5131;
  background: #fffdf8;
}

.detail-benefits {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.detail-benefits li {
  color: #4c463e;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.detail-benefits li::before {
  content: "◇";
  margin-right: 9px;
  color: #174d2d;
}

.product-buy-card {
  padding: 22px;
}

.product-buy-card form {
  display: grid;
  gap: 14px;
}

.product-buy-card label {
  color: #5d554d;
  font-size: 14px;
  font-weight: 800;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  border: 1px solid #eadfcb;
  border-radius: 7px;
  overflow: hidden;
}

.quantity-stepper button,
.quantity-stepper input {
  min-height: 42px;
  border: 0;
  background: #fffdf8;
  color: #1d5131;
  font: inherit;
  font-weight: 900;
  text-align: center;
}

.quantity-stepper button {
  cursor: pointer;
}

.detail-buy-now,
.detail-add-cart {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  cursor: pointer;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-buy-now {
  flex-direction: column;
  border: 0;
  background: #0f4a2a;
  color: #fff;
}

.detail-buy-now span {
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
}

.detail-add-cart {
  border: 1px solid #0f4a2a;
  background: #fffdf8;
  color: #0f4a2a;
}

.detail-add-cart svg {
  width: 22px;
  height: 22px;
}

.detail-buy-now:disabled,
.detail-add-cart:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.buy-support-list {
  display: grid;
  margin-top: 18px;
}

.buy-support-list a,
.buy-support-list p {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-top: 1px solid #eee3d1;
  color: #3f3a33;
  margin: 0;
  padding: 14px 0;
  text-decoration: none;
}

.buy-support-list b {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eff5eb;
  color: #174d2d;
  font-weight: 900;
}

.buy-support-list span {
  display: grid;
  gap: 2px;
  color: #605850;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.buy-support-list strong {
  color: #2f2a24;
  font-size: 14px;
  text-transform: none;
}

.product-detail-tabs {
  margin-top: 24px;
  padding: 0 28px 28px;
}

.product-tabs-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid #eadfcb;
}

.product-tabs-nav button {
  min-height: 58px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #4d463f;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.product-tabs-nav button.active {
  border-bottom-color: #1d5131;
  color: #174d2d;
}

.product-tab-panel {
  display: none;
  padding-top: 24px;
}

.product-tab-panel.active {
  display: block;
}

.detail-block-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.detail-info-card {
  padding: 24px;
}

.detail-info-card--wide {
  max-width: none;
}

.detail-info-card > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #d6a83a;
  font-size: 22px;
  font-weight: 900;
}

.detail-info-card h2,
.detail-media-heading h2 {
  margin: 0 0 12px;
  color: #174d2d;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.detail-info-card p,
.detail-info-card li,
.detail-media-heading p {
  color: #4d463f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.detail-media-card {
  margin-top: 22px;
  padding: 24px;
}

.detail-media-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 10px;
}

.detail-media-item {
  min-height: 170px;
  overflow: hidden;
  border-radius: 8px;
  background: #efe7d8;
  margin: 0;
}

.detail-media-item:first-child {
  grid-row: span 2;
}

.detail-media-item img,
.detail-media-item video,
.detail-media-item iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  border: 0;
  object-fit: cover;
}

.detail-media-item figcaption {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

.detail-media-item figcaption strong {
  color: #174d2d;
  font-size: 13px;
}

.detail-media-item figcaption span {
  color: #6b6258;
  font-size: 12px;
}

.commerce-shell {
  padding: 28px;
}

.commerce-heading h1 {
  margin: 0 0 20px;
  color: #174d2d;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
}

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

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

.cart-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 150px 130px auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #eadfcb;
  border-radius: 8px;
  background: #fffdf8;
  padding: 12px;
}

.cart-product-media {
  display: grid;
  height: 84px;
  overflow: hidden;
  border-radius: 7px;
  background: #efe7d8;
  place-items: center;
}

.cart-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-product-copy {
  display: grid;
  gap: 4px;
}

.cart-product-copy strong,
.cart-line-total {
  color: #2b241e;
  font-size: 16px;
  font-weight: 900;
}

.cart-product-copy span,
.cart-product-copy small {
  color: #70675e;
  font-weight: 700;
}

.cart-quantity-form {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
}

.cart-quantity-form input,
.checkout-form input,
.checkout-form textarea,
.auth-card input {
  width: 100%;
  border: 1px solid #eadfcb;
  border-radius: 7px;
  background: #fffdf8;
  color: #2d2a25;
  font: inherit;
  min-height: 46px;
  padding: 0 12px;
}

.checkout-form textarea {
  min-height: 96px;
  padding-top: 12px;
}

.cart-quantity-form button,
.checkout-form button,
.auth-card button {
  border: 0;
  border-radius: 7px;
  background: #174d2d;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 46px;
  padding: 0 16px;
}

.commerce-checkout {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.checkout-login-note {
  color: #6a6259;
  font-size: 14px;
  font-weight: 650;
}

.payment-methods {
  display: grid;
  gap: 10px;
  border: 1px solid #eadfcb;
  border-radius: 8px;
  margin: 12px 0 0;
  padding: 16px;
}

.payment-methods legend {
  color: #174d2d;
  font-weight: 900;
  padding: 0 8px;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.payment-methods input {
  width: auto;
  min-height: 0;
}

.auth-shell {
  display: grid;
  min-height: 58vh;
  place-items: center;
}

.auth-card {
  display: grid;
  width: min(460px, 100%);
  gap: 12px;
  padding: 30px;
}

.auth-card h1 {
  margin: 0 0 8px;
  color: #174d2d;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
}

.auth-card label {
  color: #554d44;
  font-size: 13px;
  font-weight: 900;
}

.auth-card p {
  color: #62594f;
  font-weight: 650;
}

.auth-error {
  border-radius: 7px;
  background: #fff0f2;
  color: #a93445 !important;
  padding: 10px 12px;
}

.google-login-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #eadfcb;
  border-radius: 7px;
  background: #fff;
  color: #2d2a25;
  font-weight: 900;
  text-decoration: none;
}

.google-login-link span {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f4f8;
  color: #174d2d;
}

@media (max-width: 1180px) {
  .product-detail-shell {
    grid-template-columns: 1fr;
  }

  .product-gallery-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .product-gallery-side {
    display: none;
  }

  .product-buy-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .product-detail-page main {
    width: min(100% - 24px, 1000px);
  }

  .product-breadcrumb {
    font-size: 12px;
  }

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

  .product-gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    order: 2;
  }

  .product-gallery-thumbs .detail-thumb-btn {
    height: 68px;
  }

  .product-main-media {
    min-height: 280px;
  }

  .product-summary-card,
  .product-buy-card,
  .product-detail-tabs,
  .detail-info-card,
  .detail-media-card,
  .commerce-shell,
  .auth-card {
    padding: 18px;
  }

  .product-tabs-nav {
    display: flex;
    overflow-x: auto;
  }

  .product-tabs-nav button {
    flex: 0 0 auto;
    padding: 0 18px;
  }

  .detail-block-grid,
  .detail-media-grid,
  .commerce-layout,
  .commerce-checkout {
    grid-template-columns: 1fr;
  }

  .detail-media-item:first-child {
    grid-row: auto;
  }

  .cart-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .cart-quantity-form,
  .cart-line-total,
  .cart-row > form:last-child {
    grid-column: 1 / -1;
  }
}

.header-actions {
  position: relative;
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}

.header-icon-btn {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #354052;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.header-icon-btn svg {
  width: 31px;
  height: 31px;
}

.header-icon-btn--account {
  border: 3px solid #e6ebf3;
}

.header-icon-btn:hover,
.header-icon-btn.active {
  background: #fff;
  color: #193f28;
  box-shadow: 0 0 0 6px rgba(214, 168, 58, 0.12);
}

.header-account-form {
  display: contents;
}

.header-account-form button {
  font: inherit;
}

.header-account-menu-wrap {
  position: relative;
}

.header-account-toggle span {
  color: currentColor;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.header-account-menu-wrap.is-open .header-account-toggle {
  border-color: #2f63bd;
  color: #2f63bd;
  box-shadow: 0 0 0 6px rgba(47, 99, 189, 0.12);
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  right: -72px;
  z-index: 30;
  width: 280px;
  overflow: hidden;
  border: 1px solid #eadfcb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(22, 28, 22, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 160ms ease,
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.header-account-menu-wrap.is-open .account-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.account-dropdown strong {
  display: block;
  border-bottom: 1px solid #eee8dc;
  color: #9a8d89;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.16em;
  padding: 22px 24px 20px;
}

.account-dropdown a,
.account-dropdown button {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid #eee8dc;
  background: #fff;
  color: #2f3f2f;
  cursor: pointer;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  padding: 0 24px;
  text-decoration: none;
}

.account-dropdown form:last-child button {
  border-bottom: 0;
}

.account-dropdown svg {
  width: 25px;
  height: 25px;
  color: #c64035;
  flex: 0 0 25px;
}

.account-dropdown button {
  color: #df1c4b;
}

.header-cart-link > span {
  position: absolute;
  top: 3px;
  right: 2px;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c64035;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  padding: 0 5px;
}

.profile-page main {
  width: min(1720px, calc(100% - 56px));
  max-width: none;
}

.profile-shell {
  display: grid;
  grid-template-columns: minmax(300px, 470px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding: clamp(42px, 5vw, 82px) 0;
}

.profile-side {
  display: grid;
  gap: 32px;
}

.profile-card,
.profile-orders-card {
  border: 1px solid #eadfcb;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 48px rgba(39, 30, 18, 0.08);
}

.profile-card {
  display: grid;
  justify-items: center;
  padding: 42px 34px;
  text-align: center;
}

.profile-avatar {
  display: grid;
  width: 136px;
  height: 136px;
  margin-bottom: 24px;
  border: 7px solid #efe3d1;
  border-radius: 50%;
  background: #173d25;
  color: #fff;
  place-items: center;
}

.profile-avatar svg {
  width: 66px;
  height: 66px;
}

.profile-card h1 {
  margin: 0 0 8px;
  color: #203f29;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
}

.profile-card p {
  color: #7888a1;
  font-size: 18px;
  font-weight: 650;
  margin: 0 0 30px;
}

.profile-card form,
.profile-card button {
  width: 100%;
}

.profile-card button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(223, 28, 75, 0.26);
  border-radius: 14px;
  background: transparent;
  color: #e31d4d;
  cursor: pointer;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-card button svg {
  width: 22px;
  height: 22px;
}

.profile-reward-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(19, 49, 28, 0.95), rgba(19, 49, 28, 0.94)),
    radial-gradient(circle at 80% 0%, rgba(214, 168, 58, 0.22), transparent 34%);
  color: #fff;
  padding: 34px 38px;
}

.profile-reward-card span {
  color: #d6a83a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.profile-reward-card h2 {
  margin: 14px 0 18px;
  color: #fff;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.profile-reward-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
  margin: 0;
}

.profile-orders-card {
  min-height: 560px;
  overflow: hidden;
}

.profile-orders-card header {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #eadfcb;
  padding: 44px 48px;
}

.profile-orders-icon {
  display: grid;
  width: 52px;
  height: 52px;
  border: 1px solid #eadfcb;
  border-radius: 16px;
  background: #fff8ef;
  color: #e43b36;
  place-items: center;
}

.profile-orders-icon svg {
  width: 27px;
  height: 27px;
}

.profile-orders-card header p {
  color: #e43b36;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.26em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.profile-orders-card h2 {
  margin: 0;
  color: #203f29;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.1;
}

.profile-empty-orders {
  display: grid;
  justify-items: center;
  min-height: 430px;
  align-content: center;
  padding: 50px;
  text-align: center;
}

.profile-empty-orders > span {
  display: grid;
  width: 132px;
  height: 132px;
  margin-bottom: 28px;
  border: 4px solid #efe8dd;
  border-radius: 50%;
  background: #f7f0e6;
  color: #173d25;
  place-items: center;
}

.profile-empty-orders svg {
  width: 60px;
  height: 60px;
}

.profile-empty-orders b {
  color: #e43b36;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.profile-empty-orders p {
  max-width: 540px;
  color: #7888a1;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
  margin: 28px 0 34px;
}

.profile-empty-orders a {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #e43b36, #ad151e);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0 46px;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-order-list {
  display: grid;
  gap: 12px;
  padding: 28px;
}

.profile-order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.35fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid #eadfcb;
  border-radius: 14px;
  background: #fffdf8;
  padding: 18px 20px;
}

.profile-order-item div {
  display: grid;
  gap: 5px;
}

.profile-order-item strong {
  color: #203f29;
  font-weight: 900;
}

.profile-order-item span,
.profile-order-item small {
  color: #7a7067;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .profile-page main {
    width: min(100% - 24px, 900px);
  }

  .profile-shell {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 28px;
  }

  .account-dropdown {
    right: -54px;
    width: min(280px, calc(100vw - 24px));
  }

  .profile-orders-card header {
    padding: 28px 22px;
  }

  .profile-empty-orders {
    padding: 36px 20px;
  }

  .profile-order-item {
    grid-template-columns: 1fr;
  }
}

.auth-page {
  background:
    linear-gradient(180deg, rgba(247, 240, 229, 0.86), rgba(255, 253, 248, 0.96)),
    var(--paper);
}

.auth-page main {
  width: min(980px, calc(100% - 28px));
  max-width: none;
  padding-top: clamp(26px, 4vw, 58px);
}

.auth-shell {
  min-height: auto;
  place-items: center;
}

.auth-card.auth-card--wide {
  width: min(820px, 100%);
  gap: 0;
  overflow: hidden;
  border: 1px solid #eadfcb;
  border-top: 4px solid rgba(198, 64, 53, 0.28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 4%, rgba(214, 168, 58, 0.08), transparent 26%),
    rgba(255, 253, 248, 0.98);
  box-shadow: 0 22px 70px rgba(38, 28, 18, 0.12);
  padding: clamp(28px, 4vw, 56px) clamp(26px, 5vw, 66px);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #f0ece3;
  margin-bottom: clamp(44px, 5vw, 66px);
  padding: 8px;
}

.auth-tabs a {
  display: inline-flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 22px;
  color: #73819b;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.auth-tabs a.active {
  background: #fff;
  color: #263c2a;
  box-shadow: 0 8px 22px rgba(35, 24, 14, 0.07);
}

.auth-tabs svg {
  width: 26px;
  height: 26px;
}

.auth-heading {
  margin-bottom: clamp(30px, 4vw, 48px);
  text-align: center;
}

.auth-heading p {
  color: #c64035;
  font-size: clamp(14px, 1.8vw, 19px);
  font-weight: 900;
  letter-spacing: 0.42em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.auth-heading h1 {
  margin: 0 0 18px;
  color: #273f2b;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
}

.auth-heading span {
  color: #75849c;
  font-size: clamp(18px, 2.4vw, 25px);
  font-style: italic;
  font-weight: 600;
}

.auth-card .google-login-link {
  min-height: 78px;
  border-color: #ded8cd;
  border-radius: 18px;
  color: #2d2a25;
  font-size: clamp(20px, 2.6vw, 29px);
  font-weight: 900;
  margin-bottom: clamp(42px, 6vw, 78px);
}

.auth-card .google-login-link span {
  background: transparent;
  color: #4285f4;
  font-size: 28px;
}

.auth-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  color: #95a4bd;
  font-size: clamp(18px, 2.5vw, 25px);
  font-weight: 650;
  margin-bottom: 38px;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: #ded8cd;
  content: "";
}

.auth-card label {
  color: #273f2b;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 900;
  margin: 0 0 10px;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 34px;
}

.auth-input-wrap svg {
  position: absolute;
  left: 22px;
  width: 32px;
  height: 32px;
  color: #95a4bd;
  pointer-events: none;
}

.auth-card .auth-input-wrap input {
  width: 100%;
  min-height: 76px;
  border: 1px solid #ded8cd;
  border-radius: 18px;
  background: #fffdf8;
  color: #2d2a25;
  font-size: clamp(19px, 2.8vw, 28px);
  font-weight: 600;
  padding: 0 22px 0 72px;
}

.auth-card .auth-input-wrap input::placeholder {
  color: #8d8d8d;
  opacity: 1;
}

.auth-submit,
.auth-card button.auth-submit {
  width: 100%;
  min-height: 86px;
  border-radius: 18px;
  background: #1f3c27;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-card .auth-error {
  margin: -12px 0 28px;
}

.auth-card .auth-error p {
  margin: 0;
}

@media (max-width: 620px) {
  .auth-page main {
    width: min(100% - 18px, 620px);
    padding-top: 16px;
  }

  .auth-card.auth-card--wide {
    border-radius: 24px;
    padding: 22px 18px 28px;
  }

  .auth-tabs {
    border-radius: 20px;
    margin-bottom: 34px;
    padding: 6px;
  }

  .auth-tabs a {
    min-height: 58px;
    gap: 8px;
    letter-spacing: 0.04em;
  }

  .auth-tabs svg {
    width: 22px;
    height: 22px;
  }

  .auth-heading p {
    letter-spacing: 0.28em;
    margin-bottom: 18px;
  }

  .auth-card .google-login-link {
    min-height: 62px;
    margin-bottom: 38px;
  }

  .auth-divider {
    gap: 14px;
    margin-bottom: 28px;
  }

  .auth-card .auth-input-wrap input {
    min-height: 62px;
    padding-left: 58px;
  }

  .auth-input-wrap svg {
    left: 18px;
    width: 26px;
    height: 26px;
  }

  .auth-submit,
  .auth-card button.auth-submit {
    min-height: 68px;
  }
}

.header-search-form {
  position: absolute;
  right: 108px;
  z-index: 2;
  display: flex;
  width: min(440px, calc(100vw - 260px));
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(14px) scaleX(0.94);
  transform-origin: right center;
  transition:
    opacity 160ms ease,
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-header.is-search-open .header-search-form {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scaleX(1);
}

.site-header.is-search-open .header-search-toggle {
  opacity: 0;
  pointer-events: none;
}

.header-search-form input {
  width: 100%;
  height: 58px;
  border: 3px solid #c64035;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 9px rgba(198, 64, 53, 0.1);
  color: #2d3341;
  font-size: 20px;
  font-weight: 650;
  outline: none;
  padding: 0 28px;
}

.header-search-form input::placeholder {
  color: #8d8d8d;
  opacity: 1;
}

.header-search-close {
  display: inline-grid;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 0;
  background: transparent;
  color: #8491a8;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.header-search-close svg {
  width: 29px;
  height: 29px;
}

.top-nav a {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(160px, 260px) minmax(0, 1fr) auto;
    gap: 12px;
  }

  .top-nav {
    gap: 8px;
  }

  .top-nav a {
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 11px 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-icon-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .header-icon-btn svg {
    width: 27px;
    height: 27px;
  }

  .header-search-form {
    right: 94px;
    width: min(380px, calc(100vw - 220px));
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  .header-actions {
    grid-column: 3;
    gap: 5px;
  }

  .header-icon-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .header-icon-btn svg {
    width: 23px;
    height: 23px;
  }

  .header-icon-btn--account {
    border-width: 2px;
  }

  .header-cart-link > span {
    top: -4px;
    right: -5px;
  }

  .mobile-search-link {
    display: none;
  }

  .header-search-form {
    right: 76px;
    width: min(460px, calc(100vw - 98px));
  }

  .header-search-form input {
    height: 48px;
    border-width: 2px;
    box-shadow: 0 0 0 7px rgba(198, 64, 53, 0.1);
    font-size: 17px;
    padding: 0 20px;
  }

  .site-header.is-search-open .brand,
  .site-header.is-search-open .mobile-menu-toggle {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 560px) {
  .header-actions {
    gap: 3px;
  }

  .header-icon-btn {
    width: 31px;
    height: 31px;
    min-width: 31px;
    min-height: 31px;
  }

  .header-icon-btn svg {
    width: 21px;
    height: 21px;
  }

  .header-search-form {
    right: 68px;
    width: calc(100vw - 84px);
  }

  .header-search-form input {
    height: 44px;
    font-size: 16px;
  }
}

/* Compact account, auth and profile screens */
.account-dropdown {
  top: calc(100% + 10px);
  right: -36px;
  width: 220px;
  border-radius: 16px;
}

.account-dropdown strong {
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 14px 18px 13px;
}

.account-dropdown a,
.account-dropdown button {
  min-height: 46px;
  gap: 10px;
  font-size: 15px;
  padding: 0 18px;
}

.account-dropdown svg {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.auth-page main {
  width: min(720px, calc(100% - 28px));
}

.auth-card.auth-card--wide {
  width: min(640px, 100%);
  border-radius: 24px;
  padding: 30px 42px 36px;
}

.auth-tabs {
  border-radius: 18px;
  margin-bottom: 34px;
  padding: 6px;
}

.auth-tabs a {
  min-height: 52px;
  gap: 8px;
  border-radius: 14px;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.auth-tabs svg {
  width: 20px;
  height: 20px;
}

.auth-heading {
  margin-bottom: 30px;
}

.auth-heading p {
  font-size: 13px;
  letter-spacing: 0.32em;
  margin-bottom: 16px;
}

.auth-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 40px);
}

.auth-heading span {
  font-size: 16px;
}

.auth-card .google-login-link {
  min-height: 56px;
  border-radius: 14px;
  font-size: 18px;
  margin-bottom: 34px;
}

.auth-card .google-login-link span {
  font-size: 20px;
}

.auth-divider {
  gap: 18px;
  font-size: 16px;
  margin-bottom: 24px;
}

.auth-card label {
  font-size: 16px;
  margin-bottom: 8px;
}

.auth-input-wrap {
  margin-bottom: 22px;
}

.auth-input-wrap svg {
  left: 18px;
  width: 22px;
  height: 22px;
}

.auth-card .auth-input-wrap input {
  min-height: 54px;
  border-radius: 14px;
  font-size: 16px;
  padding: 0 18px 0 52px;
}

.auth-submit,
.auth-card button.auth-submit {
  min-height: 58px;
  border-radius: 14px;
  font-size: 17px;
}

.profile-page main {
  width: min(1360px, calc(100% - 40px));
}

.profile-shell {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 28px;
  padding: 34px 0 46px;
}

.profile-side {
  gap: 22px;
}

.profile-card,
.profile-orders-card {
  border-radius: 18px;
}

.profile-card {
  padding: 30px 24px;
}

.profile-avatar {
  width: 98px;
  height: 98px;
  margin-bottom: 18px;
  border-width: 5px;
}

.profile-avatar svg {
  width: 46px;
  height: 46px;
}

.profile-card h1 {
  font-size: 25px;
}

.profile-card p {
  font-size: 15px;
  margin-bottom: 24px;
}

.profile-card button {
  min-height: 46px;
  border-radius: 12px;
  font-size: 14px;
}

.profile-card button svg {
  width: 18px;
  height: 18px;
}

.profile-reward-card {
  border-radius: 18px;
  padding: 24px 26px;
}

.profile-reward-card span {
  font-size: 12px;
}

.profile-reward-card h2 {
  font-size: 22px;
  margin: 10px 0 12px;
}

.profile-reward-card p {
  font-size: 15px;
  line-height: 1.6;
}

.profile-orders-card {
  min-height: 420px;
}

.profile-orders-card header {
  gap: 14px;
  padding: 30px 34px;
}

.profile-orders-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.profile-orders-icon svg {
  width: 22px;
  height: 22px;
}

.profile-orders-card header p {
  font-size: 13px;
  letter-spacing: 0.22em;
}

.profile-orders-card h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.profile-order-list {
  padding: 22px 26px;
}

.profile-order-item {
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.35fr) auto;
  gap: 16px;
  padding: 14px 18px;
}

.profile-order-item strong {
  font-size: 15px;
}

.profile-order-item span,
.profile-order-item small {
  font-size: 12px;
}

.profile-empty-orders {
  min-height: 320px;
  padding: 34px;
}

.profile-empty-orders > span {
  width: 92px;
  height: 92px;
  margin-bottom: 20px;
}

.profile-empty-orders svg {
  width: 42px;
  height: 42px;
}

.profile-empty-orders b {
  font-size: 13px;
}

.profile-empty-orders p {
  font-size: 16px;
  margin: 20px 0 24px;
}

.profile-empty-orders a {
  min-height: 48px;
  padding: 0 30px;
}

@media (max-width: 900px) {
  .account-dropdown {
    right: -42px;
    width: min(220px, calc(100vw - 24px));
  }

  .profile-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
  }

  .profile-orders-card header {
    padding: 24px 20px;
  }
}

@media (max-width: 620px) {
  .auth-card.auth-card--wide {
    border-radius: 20px;
    padding: 22px 18px 28px;
  }

  .auth-tabs a {
    min-height: 46px;
    font-size: 13px;
  }

  .auth-heading h1 {
    font-size: 30px;
  }

  .auth-card .google-login-link {
    min-height: 52px;
    font-size: 16px;
  }

  .auth-card .auth-input-wrap input {
    min-height: 52px;
    font-size: 15px;
  }
}

/* Extra compact auth screens */
.auth-page main {
  width: min(480px, calc(100% - 24px));
}

.auth-shell {
  padding-block: 20px 36px;
}

.auth-card.auth-card--wide {
  width: min(430px, 100%);
  border-top-width: 3px;
  border-radius: 18px;
  padding: 20px 26px 24px;
}

.auth-tabs {
  border-radius: 14px;
  margin-bottom: 22px;
  padding: 5px;
}

.auth-tabs a {
  min-height: 38px;
  gap: 6px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.auth-tabs svg {
  width: 15px;
  height: 15px;
}

.auth-heading {
  margin-bottom: 22px;
}

.auth-heading p {
  font-size: 10px;
  letter-spacing: 0.28em;
  margin-bottom: 10px;
}

.auth-heading h1 {
  margin-bottom: 7px;
  font-size: 25px;
  line-height: 1.12;
}

.auth-heading span {
  font-size: 12px;
}

.auth-card .google-login-link {
  min-height: 42px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 24px;
}

.auth-card .google-login-link span {
  font-size: 16px;
}

.auth-divider {
  gap: 12px;
  font-size: 12px;
  margin-bottom: 16px;
}

.auth-card label {
  font-size: 13px;
  margin-bottom: 6px;
}

.auth-input-wrap {
  margin-bottom: 16px;
}

.auth-input-wrap svg {
  left: 14px;
  width: 16px;
  height: 16px;
}

.auth-card .auth-input-wrap input {
  min-height: 40px;
  border-radius: 10px;
  font-size: 13px;
  padding: 0 14px 0 40px;
}

.auth-submit,
.auth-card button.auth-submit {
  min-height: 44px;
  border-radius: 10px;
  font-size: 13px;
  letter-spacing: 0.07em;
}

.auth-card .auth-error {
  font-size: 12px;
  margin: -4px 0 14px;
}

@media (max-width: 620px) {
  .auth-page main {
    width: min(100% - 18px, 430px);
  }

  .auth-shell {
    padding-block: 12px 28px;
  }

  .auth-card.auth-card--wide {
    border-radius: 16px;
    padding: 18px 14px 22px;
  }

  .auth-tabs {
    margin-bottom: 20px;
  }

  .auth-tabs a {
    min-height: 36px;
    font-size: 10px;
  }

  .auth-heading h1 {
    font-size: 23px;
  }

  .auth-card .google-login-link {
    min-height: 40px;
    font-size: 13px;
  }

  .auth-card .auth-input-wrap input {
    min-height: 40px;
    font-size: 12px;
  }
}

/* Final compact pass for header, cart and auth */
.site-header {
  grid-template-columns: minmax(150px, 240px) 1fr minmax(120px, 180px);
  min-height: 58px;
  gap: 12px;
  padding: 6px max(18px, calc((100vw - 1180px) / 2));
}

.brand {
  gap: 8px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  font-size: 18px;
}

.brand-mark img {
  padding: 3px;
}

.brand strong {
  font-size: 18px;
}

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

.top-nav {
  gap: 10px;
}

.top-nav a {
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 8px 12px;
}

.header-actions {
  gap: 8px;
}

.header-icon-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
}

.header-icon-btn svg {
  width: 22px;
  height: 22px;
}

.header-icon-btn--account {
  border-width: 2px;
}

.header-account-toggle span {
  font-size: 12px;
}

.header-icon-btn:hover,
.header-icon-btn.active,
.header-account-menu-wrap.is-open .header-account-toggle {
  box-shadow: 0 0 0 4px rgba(214, 168, 58, 0.1);
}

.header-cart-link > span {
  top: -2px;
  right: -2px;
  min-width: 14px;
  height: 14px;
  font-size: 8px;
  padding: 0 4px;
}

.header-search-form {
  right: 78px;
  width: min(360px, calc(100vw - 150px));
}

.header-search-form input {
  height: 38px;
  font-size: 13px;
}

.cart-page main {
  width: min(1080px, calc(100% - 28px));
}

.cart-page .commerce-shell {
  padding: 18px;
}

.cart-page .commerce-heading .eyebrow {
  font-size: 12px;
  margin-bottom: 8px;
}

.cart-page .commerce-heading h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.cart-page .commerce-layout {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 16px;
}

.cart-page .cart-list {
  gap: 8px;
}

.cart-page .cart-row {
  grid-template-columns: 72px minmax(150px, 1fr) 108px 88px 52px;
  gap: 10px;
  border-radius: 7px;
  padding: 10px;
}

.cart-page .cart-product-media {
  height: 58px;
  border-radius: 6px;
}

.cart-page .cart-product-copy {
  gap: 2px;
}

.cart-page .cart-product-copy strong,
.cart-page .cart-line-total {
  font-size: 13px;
}

.cart-page .cart-product-copy span,
.cart-page .cart-product-copy small {
  font-size: 12px;
}

.cart-page .cart-quantity-form {
  grid-template-columns: 42px 58px;
  gap: 6px;
}

.cart-page .cart-quantity-form input,
.cart-page .cart-quantity-form button,
.cart-page .ghost-button {
  min-height: 34px;
  border-radius: 7px;
  font-size: 12px;
  padding: 0 8px;
}

.cart-page .ghost-button {
  width: 44px;
}

.cart-page .checkout-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  justify-items: stretch;
  padding: 16px;
}

.cart-page .checkout-box span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-page .checkout-box strong {
  font-size: 24px;
}

.cart-page .checkout-box .primary-link,
.cart-page .checkout-box .secondary-link {
  min-height: 38px;
  border-radius: 9px;
  font-size: 12px;
  padding: 0 12px;
}

.auth-page main {
  width: min(410px, calc(100% - 22px));
}

.auth-card.auth-card--wide {
  width: min(360px, 100%);
  border-radius: 15px;
  padding: 16px 20px 20px;
}

.auth-tabs {
  border-radius: 12px;
  margin-bottom: 18px;
  padding: 4px;
}

.auth-tabs a {
  min-height: 32px;
  border-radius: 9px;
  font-size: 10px;
}

.auth-tabs svg {
  width: 13px;
  height: 13px;
}

.auth-heading {
  margin-bottom: 16px;
}

.auth-heading p {
  font-size: 9px;
  margin-bottom: 8px;
}

.auth-heading h1 {
  font-size: 21px;
}

.auth-heading span {
  font-size: 11px;
}

.auth-card .google-login-link {
  min-height: 36px;
  font-size: 12px;
  margin-bottom: 18px;
}

.auth-divider {
  font-size: 11px;
  margin-bottom: 12px;
}

.auth-card label {
  font-size: 12px;
}

.auth-input-wrap {
  margin-bottom: 12px;
}

.auth-card .auth-input-wrap input {
  min-height: 34px;
  font-size: 12px;
}

.auth-submit,
.auth-card button.auth-submit {
  min-height: 38px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 54px;
    padding-block: 5px;
  }

  .cart-page .commerce-layout {
    grid-template-columns: 1fr;
  }

  .cart-page .cart-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cart-page .cart-quantity-form,
  .cart-page .cart-line-total,
  .cart-page .cart-row > form:last-child {
    grid-column: 2;
  }

  .cart-page .checkout-box {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .cart-page .checkout-box span,
  .cart-page .checkout-box strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    min-height: 50px;
    padding-inline: 10px;
  }

  .brand strong {
    font-size: 15px;
  }

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

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-icon-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .header-icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .cart-page main {
    width: min(100% - 14px, 560px);
  }

  .cart-page .commerce-shell {
    padding: 12px;
  }

  .cart-page .commerce-heading h1 {
    font-size: 28px;
  }

  .cart-page .cart-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
  }

  .cart-page .cart-product-media {
    height: 52px;
  }

  .cart-page .checkout-box {
    grid-template-columns: 1fr;
  }

  .auth-page main {
    width: min(100% - 16px, 360px);
  }

  .auth-card.auth-card--wide {
    padding: 14px 12px 18px;
  }
}

/* Requested nav/cart refinements */
.top-nav a {
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 8px 14px;
}

.top-nav a.active::after {
  bottom: 6px;
  width: 20px;
  height: 2px;
  transform: translateX(50%);
}

.cart-page .cart-row {
  grid-template-columns: 72px minmax(150px, 1fr) 132px 88px 52px;
}

.cart-page .cart-quantity-form {
  grid-template-columns: 42px 78px;
}

.cart-page .cart-quantity-form button {
  white-space: nowrap;
}

@media (max-width: 560px) {
  .top-nav a {
    font-size: 14px;
  }
}

/* Match /san-pham cards to homepage favorite product cards */
.shop-page .product-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.shop-page .product-image {
  aspect-ratio: auto;
  min-height: 140px;
  border-radius: 0;
}

.shop-page .product-image img {
  height: 160px;
  object-fit: contain;
  border-radius: 0;
}

.shop-page .product-body {
  min-height: 188px;
  padding: 12px 12px 14px;
}

.shop-page .product-body h3 {
  min-height: 0;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.32;
}

.shop-page .product-serving-size {
  min-height: 20px;
  margin: 4px 0 0;
  font-size: 12px;
}

.shop-page .product-actions {
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 8px;
  margin-top: auto;
}

.shop-page .product-inbox-link {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
}

.shop-page .secondary-link {
  min-height: 38px;
  font-size: 12px;
  padding: 9px 14px;
}

.shop-page .price-stack strong {
  font-size: 15px;
}

@media (max-width: 760px) {
  .shop-page .product-image img {
    height: 140px;
  }
}

/* Compact product detail and single-image gallery */
.product-detail-shell {
  grid-template-columns: minmax(420px, 1.05fr) minmax(320px, 0.72fr) minmax(250px, 0.42fr);
  gap: 18px;
}

.product-gallery-card {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
  padding: 10px;
}

.product-gallery-side {
  display: none;
}

.product-gallery-thumbs {
  gap: 10px;
}

.product-gallery-thumbs .detail-thumb-btn {
  height: 70px;
  border-radius: 7px;
}

.product-main-media {
  min-height: 410px;
  border-radius: 8px;
}

.product-main-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-main-media .detail-zoom-btn {
  top: 16px;
  right: 16px;
  left: auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 77, 45, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: #174d2d;
  opacity: 1;
  transform: none;
}

.product-main-media .detail-zoom-btn svg {
  width: 18px;
  height: 18px;
}

.product-summary-card {
  padding: 18px;
}

.detail-tags,
.detail-rating-row,
.detail-price-row,
.detail-option-grid {
  gap: 8px;
}

.detail-tags span,
.detail-serving-chip,
.detail-option-grid span {
  font-size: 11px;
  padding: 6px 10px;
}

.product-summary-card h1 {
  margin: 12px 0 8px;
  font-size: clamp(22px, 1.8vw, 28px);
}

.detail-rating-row {
  font-size: 13px;
}

.detail-rating-row small {
  font-size: 12px;
}

.detail-price-row {
  margin: 14px 0 10px;
}

.detail-price-row strong {
  font-size: clamp(24px, 2vw, 30px);
}

.detail-price-row del {
  font-size: 15px;
}

.detail-option-grid {
  margin: 10px 0 14px;
}

.detail-benefits {
  gap: 8px;
  margin-top: 14px;
}

.detail-benefits li {
  font-size: 12px;
  line-height: 1.55;
}

.product-buy-card {
  padding: 18px;
}

.product-buy-card form {
  gap: 10px;
}

.product-buy-card label {
  font-size: 12px;
}

.quantity-stepper {
  grid-template-columns: 38px minmax(0, 1fr) 38px;
}

.quantity-stepper button,
.quantity-stepper input {
  min-height: 36px;
  font-size: 13px;
}

.detail-buy-now,
.detail-add-cart {
  min-height: 48px;
  font-size: 13px;
}

.detail-buy-now span,
.buy-support-list span {
  font-size: 11px;
}

.detail-add-cart svg {
  width: 18px;
  height: 18px;
}

.buy-support-list {
  margin-top: 14px;
}

.buy-support-list a,
.buy-support-list p {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
}

.buy-support-list b {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.buy-support-list strong {
  font-size: 12px;
}

.product-detail-tabs {
  padding: 0 20px 22px;
}

.product-tabs-nav button {
  min-height: 46px;
  font-size: 13px;
}

.detail-info-card {
  padding: 18px;
}

.detail-info-card h2,
.detail-media-heading h2 {
  font-size: 16px;
}

.detail-info-card p,
.detail-info-card li,
.detail-media-heading p {
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .product-detail-shell {
    grid-template-columns: 1fr;
  }

  .product-gallery-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .product-gallery-card {
    grid-template-columns: 1fr;
  }

  .product-main-media {
    min-height: 300px;
  }

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

/* Equal product-detail top cards and red zoom control */
.product-gallery-card,
.product-summary-card,
.product-buy-card {
  height: 500px;
  max-height: 500px;
}

.product-gallery-card {
  align-items: stretch;
  overflow: hidden;
}

.product-gallery-thumbs {
  overflow: hidden;
}

.product-main-media {
  height: 480px;
  min-height: 0;
}

.product-main-media img {
  height: 100%;
  object-fit: cover !important;
}

.product-summary-card,
.product-buy-card {
  overflow: hidden;
}

.product-main-media .detail-zoom-btn {
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  background: #c83b5d;
  color: #fff;
  box-shadow: 0 10px 24px rgba(200, 59, 93, 0.24);
}

.product-main-media .detail-zoom-btn:hover {
  background: #174d2d;
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 77, 45, 0.24);
}

.product-main-media .detail-zoom-btn svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1180px) {
  .product-gallery-card,
  .product-summary-card,
  .product-buy-card {
    height: auto;
    max-height: none;
  }

  .product-main-media {
    height: 420px;
  }
}

@media (max-width: 760px) {
  .product-main-media {
    height: 300px;
  }
}
