:root {
  --milk: #fffdf8;
  --cream: #fbf7ee;
  --cream-2: #f4ebdc;
  --linen: #efe4d1;
  --sage: #dfe9d7;
  --sage-2: #cddcbc;
  --olive: #65764e;
  --olive-dark: #33432e;
  --terracotta: #b76042;
  --terracotta-dark: #8f432f;
  --clay: #d6a27f;
  --text: #2e3027;
  --muted: #706b5e;
  --line: #e8dcc9;
  --shadow: 0 18px 46px rgba(69, 54, 33, 0.12);
  --shadow-soft: 0 10px 26px rgba(69, 54, 33, 0.09);
  --radius: 8px;
  --header-height: 76px;
  --container: min(1160px, calc(100vw - 40px));
  color-scheme: light;
}

.pwa-body {
  background:
    linear-gradient(180deg, #fbf7ee 0%, #fffaf1 42%, #f6eddf 100%);
  overflow-x: hidden;
}

.pwa-body .site-header,
.pwa-body .site-footer {
  display: none;
}

.pwa-body .site-main {
  padding: 0 0 calc(84px + env(safe-area-inset-bottom));
}

.pwa-app-shell {
  width: 100%;
  max-width: 620px;
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top)) 16px 24px;
  overflow-x: hidden;
}

.pwa-app-top,
.pwa-app-hero,
.pwa-install-card,
.pwa-quick-grid,
.pwa-section {
  width: 100%;
}

.pwa-app-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pwa-app-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--olive-dark);
  font-weight: 900;
}

.pwa-app-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
}

.pwa-app-brand span {
  overflow-wrap: anywhere;
}

.pwa-app-pill {
  flex: 0 0 auto;
  min-width: 64px;
  max-width: 122px;
  padding: 10px 12px;
  border: 1px solid rgba(101, 118, 78, 0.18);
  border-radius: 999px;
  color: var(--olive-dark);
  background: rgba(255, 253, 248, 0.86);
  font-size: 13px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  white-space: nowrap;
}

.pwa-app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 14px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(101, 118, 78, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(246, 237, 223, 0.9)),
    radial-gradient(circle at top right, rgba(223, 233, 215, 0.8), transparent 55%);
  box-shadow: 0 18px 42px rgba(69, 54, 33, 0.12);
  overflow: hidden;
}

.pwa-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pwa-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

.pwa-status.is-open::before {
  background: #5f8e44;
}

.pwa-app-hero h1 {
  margin: 0;
  color: var(--olive-dark);
  font-size: clamp(31px, 9vw, 48px);
  line-height: 0.98;
  letter-spacing: 0;
}

.pwa-app-hero p {
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.pwa-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pwa-hero-actions .button {
  min-height: 40px;
  padding: 10px 13px;
  font-size: 13px;
}

.pwa-hero-dish {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  border-radius: 16px;
  background: var(--linen);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.45);
}

.pwa-hero-dish img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwa-hero-dish span {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 9px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #fffaf1;
  background: rgba(47, 67, 43, 0.88);
  font-size: 11px;
  font-weight: 900;
}

.pwa-install-card {
  display: flex;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(183, 96, 66, 0.2);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow-soft);
}

.pwa-install-card strong,
.pwa-quick-grid strong,
.pwa-product-card h3 {
  color: var(--olive-dark);
}

.pwa-install-card p {
  max-width: calc(100vw - 64px);
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.pwa-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 20px;
}

.pwa-quick-grid a {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px;
  border: 1px solid rgba(101, 118, 78, 0.14);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 10px 22px rgba(69, 54, 33, 0.08);
}

.pwa-quick-grid span {
  color: var(--muted);
  font-size: 12px;
}

.pwa-section {
  margin-top: 22px;
}

.pwa-section-head {
  margin-bottom: 12px;
}

.pwa-section-head span {
  color: var(--terracotta-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pwa-section-head h2 {
  margin: 2px 0 0;
  color: var(--olive-dark);
  font-size: 24px;
  line-height: 1.1;
}

.pwa-category-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.pwa-category-strip::-webkit-scrollbar {
  display: none;
}

.pwa-category-strip a {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid rgba(101, 118, 78, 0.14);
  border-radius: 999px;
  color: var(--olive-dark);
  background: rgba(255, 253, 248, 0.9);
  font-size: 13px;
  font-weight: 850;
}

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

.pwa-product-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 132px;
  overflow: hidden;
  border: 1px solid rgba(101, 118, 78, 0.14);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 26px rgba(69, 54, 33, 0.09);
}

.pwa-product-image {
  position: relative;
  min-height: 132px;
  background: var(--linen);
}

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

.pwa-product-image em {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fffaf1;
  background: var(--terracotta-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.pwa-product-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
}

.pwa-product-copy h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.pwa-product-copy > span {
  align-self: flex-start;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--olive-dark);
  background: var(--sage);
  font-size: 11px;
  font-weight: 800;
}

.pwa-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.pwa-product-bottom strong {
  color: var(--terracotta-dark);
  font-size: 17px;
  white-space: nowrap;
}

.pwa-product-bottom button {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 12px;
  max-width: 100%;
  white-space: nowrap;
}

.pwa-product-bottom form {
  min-width: 0;
}

.pwa-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  width: min(420px, calc(100vw - 24px));
  transform: translateX(-50%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(101, 118, 78, 0.16);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 44px rgba(69, 54, 33, 0.22);
  backdrop-filter: blur(18px);
}

.pwa-bottom-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.pwa-bottom-nav a.active {
  color: #fffaf1;
  background: var(--olive-dark);
}

.pwa-bottom-nav em {
  position: absolute;
  top: 4px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fffaf1;
  background: var(--terracotta);
  font-size: 11px;
  font-style: normal;
  line-height: 18px;
}

.pwa-body .pwa-bottom-nav {
  display: grid;
}

.pwa-discount-toast {
  position: fixed;
  left: 50%;
  top: max(14px, env(safe-area-inset-top));
  z-index: 130;
  display: grid;
  width: min(420px, calc(100vw - 24px));
  gap: 5px;
  padding: 14px 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(101, 118, 78, 0.18);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 18px 44px rgba(69, 54, 33, 0.24);
  backdrop-filter: blur(18px);
}

.pwa-discount-toast strong {
  color: var(--olive-dark);
  font-size: 15px;
  line-height: 1.25;
}

.pwa-discount-toast span {
  color: var(--muted);
  font-size: 13px;
}

.pwa-discount-toast a {
  justify-self: start;
  margin-top: 2px;
  color: var(--terracotta-dark);
  font-size: 13px;
  font-weight: 900;
}

@media (display-mode: standalone) {
  .pwa-bottom-nav {
    display: grid;
  }

  .site-main {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .pwa-app-top {
    grid-template-columns: 1fr;
  }

  .pwa-app-pill {
    display: none;
  }

  .pwa-app-hero {
    grid-template-columns: 1fr;
  }

  .pwa-hero-dish {
    min-height: 180px;
  }

  .pwa-product-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .pwa-product-bottom form,
  .pwa-product-bottom button {
    width: 100%;
  }

  .pwa-product-bottom button {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .pwa-app-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pwa-app-hero {
    grid-template-columns: minmax(0, 1fr) 112px;
    padding: 15px;
  }

  .pwa-hero-dish {
    min-height: 158px;
  }

  .pwa-quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 410px) {
  .pwa-app-hero {
    grid-template-columns: 1fr;
  }

  .pwa-hero-dish {
    min-height: 190px;
  }

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

  .pwa-product-image {
    min-height: 126px;
  }

}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(223, 233, 215, 0.7), transparent 34rem),
    linear-gradient(180deg, var(--cream) 0%, #fffaf1 44%, #f7efe2 100%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(101, 118, 78, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 118, 78, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 78%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid rgba(101, 118, 78, 0.2);
  border-radius: var(--radius);
  color: var(--olive-dark);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 8px 18px rgba(69, 54, 33, 0.07);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

button:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 118, 78, 0.38);
  background: var(--milk);
  box-shadow: var(--shadow-soft);
}

button:active,
.button:active {
  transform: translateY(0);
}

button:disabled,
.primary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.primary {
  border-color: transparent;
  color: #fffaf1;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  box-shadow: 0 14px 30px rgba(143, 67, 47, 0.24);
}

.primary:hover {
  border-color: transparent;
  color: #fffaf1;
  background: linear-gradient(135deg, #c66b4b, var(--terracotta-dark));
  box-shadow: 0 18px 36px rgba(143, 67, 47, 0.28);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(232, 220, 201, 0.78);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 12px 30px rgba(69, 54, 33, 0.08);
}

.site-header-inner {
  width: var(--container);
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 18px;
  padding: 10px 0 12px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  grid-column: 1 / 2;
  min-width: 0;
  max-width: 100%;
  color: var(--olive-dark);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.site-brand span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark::after {
  content: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  grid-row: 2;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding: 2px 0 0;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 1 auto;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--olive-dark);
  background: var(--sage);
  border-color: rgba(101, 118, 78, 0.16);
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(101, 118, 78, 0.24);
  border-radius: 999px;
  color: var(--olive-dark);
  background: var(--milk);
  box-shadow: 0 10px 22px rgba(69, 54, 33, 0.08);
  font-size: 14px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  grid-column: 2 / 3;
  gap: 10px;
}

.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(183, 96, 66, 0.22);
  border-radius: 999px;
  color: var(--terracotta-dark);
  background: #fff7ee;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.account-link:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 96, 66, 0.42);
  box-shadow: var(--shadow-soft);
}

.cart-link:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 118, 78, 0.42);
  box-shadow: var(--shadow-soft);
}

.cart-icon {
  position: relative;
  width: 18px;
  height: 16px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px 3px 5px 5px;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: -7px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: #fffaf1;
  background: var(--terracotta);
  font-size: 12px;
  font-weight: 900;
}

.cart-link.cart-pulse .cart-count {
  animation: cartPulse 560ms ease;
}

.site-main {
  min-height: calc(100vh - var(--header-height));
}

.site-footer {
  width: var(--container);
  margin: 80px auto 0;
  padding: 34px 0 46px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--olive-dark);
  font-size: 18px;
}

.site-footer p {
  margin: 0 0 8px;
}

.store-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0 0 36px;
  padding: 72px 0 64px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(244, 235, 220, 0.92)),
    radial-gradient(circle at 78% 18%, rgba(214, 162, 127, 0.18), transparent 28rem);
  border-bottom: 1px solid rgba(232, 220, 201, 0.82);
}

.hero-backdrop {
  position: absolute;
  right: max(-40px, calc((100vw - 1160px) / 2 - 120px));
  top: 42px;
  z-index: -1;
  width: min(42vw, 540px);
  height: min(32vw, 420px);
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(1.04);
  opacity: 0.16;
  transform: rotate(4deg);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 18%, rgba(223, 233, 215, 0.72), transparent 30rem),
    radial-gradient(circle at 80% 78%, rgba(183, 96, 66, 0.11), transparent 28rem);
}

.hero-texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background-image:
    linear-gradient(120deg, transparent 0 47%, rgba(101, 118, 78, 0.08) 48% 50%, transparent 51%),
    linear-gradient(0deg, rgba(255, 253, 248, 0.7), transparent);
  background-size: 220px 220px, auto;
}

.hero-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.hero-content {
  max-width: 620px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--terracotta-dark);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6f8a57;
  box-shadow: 0 0 0 7px rgba(111, 138, 87, 0.14);
}

.store-hero h1 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 78px;
  line-height: 0.96;
  letter-spacing: 0;
}

.store-hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: #5f5a4e;
  font-size: 19px;
}

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

.hero-actions .button {
  min-height: 52px;
  padding: 15px 24px;
  font-size: 16px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(101, 118, 78, 0.16);
  border-radius: 999px;
  color: var(--olive-dark);
  background: rgba(255, 253, 248, 0.72);
  font-size: 13px;
  font-weight: 760;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 16px;
  align-items: stretch;
}

.showcase-card,
.mini-dish,
.hero-panel,
.product-card,
.cart-panel,
.form-section,
.checkout-summary,
.result-panel {
  border: 1px solid rgba(232, 220, 201, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-soft);
}

.showcase-main {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.showcase-image {
  display: block;
  flex: 1 1 auto;
  min-height: 310px;
  overflow: hidden;
  background: var(--sage);
}

.showcase-image img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.showcase-card:hover .showcase-image img,
.product-card:hover .product-image-link img,
.mini-dish:hover img,
.cart-line-image:hover img {
  transform: scale(1.035);
}

.showcase-copy {
  padding: 20px;
  display: grid;
  gap: 7px;
}

.showcase-copy span {
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.showcase-copy strong {
  color: var(--olive-dark);
  font-size: 24px;
  line-height: 1.14;
}

.showcase-copy em {
  color: var(--terracotta-dark);
  font-size: 21px;
  font-style: normal;
  font-weight: 900;
}

.showcase-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mini-dish {
  min-height: 94px;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.mini-dish:hover {
  transform: translateY(-3px);
  border-color: rgba(101, 118, 78, 0.24);
  box-shadow: var(--shadow);
}

.mini-dish img,
.mini-dish .product-placeholder {
  width: 92px;
  height: 100%;
  min-height: 94px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.mini-dish span {
  padding: 14px;
  color: var(--olive-dark);
  font-size: 15px;
  font-weight: 850;
}

.hero-panel {
  grid-column: 1 / -1;
  padding: 14px;
}

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

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--olive-dark);
  background: var(--cream-2);
  font-size: 13px;
  font-weight: 800;
}

.status-chip.success {
  color: #355331;
  background: var(--sage);
}

.status-chip.warning {
  color: #83522d;
  background: #f6dfbf;
}

.section,
.product-detail,
.checkout-layout,
.order-result {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 44px 0;
}

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

.section-head h1,
.section-head h2,
.product-info h1,
.checkout-form h1,
.result-panel h1,
.final-cta h2 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.product-info p,
.result-panel p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(244, 235, 220, 0.78)),
    radial-gradient(circle at right top, rgba(223, 233, 215, 0.86), transparent 24rem);
  box-shadow: var(--shadow-soft);
}

.compact-page-hero {
  align-items: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.category-grid a {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--olive-dark);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 8px 20px rgba(69, 54, 33, 0.06);
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.category-grid a::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: inset -4px -4px 0 rgba(101, 118, 78, 0.16);
}

.category-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(101, 118, 78, 0.24);
  background: var(--milk);
  box-shadow: var(--shadow-soft);
}

.feature-strip {
  width: var(--container);
  margin: 28px auto 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(183, 96, 66, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(246, 223, 191, 0.74)),
    radial-gradient(circle at 0 0, rgba(223, 233, 215, 0.78), transparent 18rem);
  box-shadow: var(--shadow-soft);
}

.feature-strip img {
  width: 128px;
  height: 96px;
  border-radius: var(--radius);
  object-fit: cover;
}

.feature-strip h2 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 32px;
}

.feature-strip p {
  margin: 6px 0 0;
  color: var(--muted);
}

.feature-button {
  background: linear-gradient(135deg, var(--olive), var(--olive-dark));
  box-shadow: 0 14px 30px rgba(51, 67, 46, 0.2);
}

.feature-button:hover {
  background: linear-gradient(135deg, #72865a, var(--olive-dark));
  box-shadow: 0 18px 36px rgba(51, 67, 46, 0.24);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(101, 118, 78, 0.26);
  box-shadow: var(--shadow);
}

.product-image-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sage);
}

.product-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 16px;
  color: var(--olive-dark);
  background:
    linear-gradient(135deg, var(--sage), #f8eddb),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 253, 248, 0.3) 12px 24px);
  font-weight: 850;
  text-align: center;
}

.card-badge,
.card-view {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.card-badge {
  top: 12px;
  left: 12px;
  color: #fffaf1;
  background: var(--terracotta);
  box-shadow: 0 10px 22px rgba(143, 67, 47, 0.24);
}

.card-view {
  right: 12px;
  bottom: 12px;
  color: #fffaf1;
  background: rgba(51, 67, 46, 0.92);
  box-shadow: 0 10px 22px rgba(51, 67, 46, 0.18);
}

.product-card-body {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.product-card h3 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 20px;
  line-height: 1.18;
}

.product-card h3 a:hover {
  color: var(--terracotta-dark);
}

.product-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-meta,
.category-tags,
.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-meta {
  margin-top: 12px;
}

.product-meta span,
.category-tags a,
.product-badge-row span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--olive-dark);
  background: var(--sage);
  font-size: 12px;
  font-weight: 780;
}

.product-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.product-card-bottom form {
  flex: 0 0 auto;
}

.product-card-bottom .primary {
  min-height: 42px;
  padding: 11px 14px;
}

.product-price {
  color: var(--terracotta-dark);
  font-size: 23px;
  font-weight: 950;
}

.special-note {
  margin-top: 4px;
  color: var(--terracotta-dark);
  font-size: 13px;
  font-weight: 820;
}

.reviews-section {
  padding-top: 24px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(232, 220, 201, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-soft);
}

.review-person {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.review-person img {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 253, 248, 0.95);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(69, 54, 33, 0.12);
}

.review-person strong,
.review-person span {
  display: block;
  min-width: 0;
}

.review-person strong {
  color: var(--olive-dark);
  font-size: 16px;
  font-weight: 920;
}

.review-person span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.review-rating {
  color: var(--terracotta);
  font-size: 15px;
  letter-spacing: 0;
}

.review-card p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.final-cta {
  width: var(--container);
  margin: 36px auto 0;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--olive-dark), #536642),
    radial-gradient(circle at right, rgba(255, 253, 248, 0.16), transparent 22rem);
  color: #fffaf1;
  box-shadow: var(--shadow);
}

.final-cta .section-kicker,
.final-cta h2,
.final-cta p {
  color: #fffaf1;
}

.final-cta p {
  max-width: 650px;
  margin: 10px 0 0;
  opacity: 0.88;
}

.product-detail {
  padding: 54px 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 34px;
  align-items: start;
}

.product-gallery,
.product-info {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-soft);
}

.product-gallery {
  padding: 12px;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  border-radius: var(--radius);
  object-fit: cover;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.product-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
}

.product-info {
  padding: 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--terracotta-dark);
  font-size: 14px;
  font-weight: 850;
}

.back-link::before {
  content: "";
  width: 16px;
  height: 16px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.product-badge-row {
  margin-bottom: 16px;
}

.product-info h1 {
  font-size: 52px;
}

.category-tags {
  margin: 20px 0;
}

.price-block {
  margin: 24px 0;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--cream-2);
}

.price-current {
  color: var(--terracotta-dark);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.price-old {
  margin-top: 7px;
  color: var(--muted);
  text-decoration: line-through;
}

.buy-form {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 12px;
  align-items: end;
}

label {
  display: grid;
  gap: 7px;
  color: var(--olive-dark);
  font-size: 14px;
  font-weight: 760;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(101, 118, 78, 0.22);
  border-radius: var(--radius);
  color: var(--text);
  background: #fffdf9;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(183, 96, 66, 0.72);
  background: var(--milk);
  box-shadow: 0 0 0 4px rgba(183, 96, 66, 0.12);
}

.alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--milk);
  color: var(--olive-dark);
  font-weight: 760;
}

.alert.success {
  border-color: rgba(101, 118, 78, 0.22);
  background: var(--sage);
}

.alert.warning {
  border-color: rgba(183, 96, 66, 0.28);
  background: #f8e4c8;
  color: #7a4a2f;
}

.alert.danger {
  border-color: rgba(143, 67, 47, 0.32);
  background: #f9ded4;
  color: #7e3827;
}

.cart-panel {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  align-items: start;
}

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

.cart-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 126px auto auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.8);
}

.cart-line-image {
  display: block;
  overflow: hidden;
  width: 96px;
  height: 76px;
  border-radius: var(--radius);
  background: var(--sage);
}

.cart-line-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.cart-line h3 {
  margin: 0 0 4px;
  color: var(--olive-dark);
  font-size: 17px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.quantity-field input {
  text-align: center;
}

.line-total {
  color: var(--terracotta-dark);
  font-size: 19px;
  font-weight: 900;
  white-space: nowrap;
}

.link-button {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--terracotta-dark);
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 850;
}

.link-button:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
  text-decoration: underline;
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-2);
}

.cart-summary dl,
.result-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
}

.cart-summary dt,
.result-list dt {
  color: var(--muted);
}

.cart-summary dd,
.result-list dd {
  margin: 0;
  color: var(--olive-dark);
  font-weight: 900;
  text-align: right;
}

.cart-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.empty-state {
  padding: 36px;
  border: 1px dashed rgba(101, 118, 78, 0.28);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 253, 248, 0.76);
  text-align: center;
}

.empty-state a {
  color: var(--terracotta-dark);
  font-weight: 850;
}

.checkout-layout {
  padding: 54px 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.checkout-form {
  min-width: 0;
}

.form-section {
  margin-bottom: 16px;
  padding: 22px;
}

.form-section h2,
.checkout-summary h2 {
  margin: 0 0 16px;
  color: var(--olive-dark);
  font-size: 22px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.choice-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: start;
  min-height: 102px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.choice-card input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--terracotta);
}

.choice-card span {
  color: var(--olive-dark);
  font-size: 17px;
  font-weight: 900;
}

.choice-card small {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.choice-card:has(input:checked) {
  border-color: rgba(183, 96, 66, 0.58);
  background: #fff7ee;
  box-shadow: 0 0 0 4px rgba(183, 96, 66, 0.1);
}

.choice-card-disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.address-field {
  position: relative;
}

.field-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.address-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  overflow: hidden;
  border: 1px solid rgba(101, 118, 78, 0.2);
  border-radius: var(--radius);
  background: var(--milk);
  box-shadow: var(--shadow);
}

.address-suggestion {
  width: 100%;
  min-height: 42px;
  justify-content: flex-start;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  text-align: left;
  font-weight: 650;
}

.address-suggestion:last-child {
  border-bottom: 0;
}

.address-suggestion:hover {
  transform: none;
  background: var(--cream-2);
  box-shadow: none;
}

.timed-fields {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--cream-2);
}

.checkout-submit {
  width: 100%;
  min-height: 54px;
  font-size: 16px;
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 22px;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line span {
  color: var(--muted);
}

.summary-line strong,
.summary-total strong {
  color: var(--olive-dark);
  white-space: nowrap;
}

.summary-total {
  margin-top: 4px;
  border-bottom: 0;
  font-size: 18px;
  font-weight: 900;
}

.order-result {
  padding: 54px 0 20px;
}

.auth-layout,
.account-layout {
  width: var(--container);
  margin: 0 auto;
  padding: 54px 0 20px;
}

.auth-card,
.account-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-soft);
}

.auth-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 30px;
}

.auth-card h1 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 40px;
  line-height: 1.08;
}

.auth-card p {
  margin: 12px 0 22px;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form .primary {
  width: 100%;
  min-height: 52px;
}

.auth-repeat-form {
  margin-top: 14px;
  text-align: center;
}

.account-grid,
.order-detail-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
}

.account-sidebar,
.account-password-form {
  display: grid;
  gap: 14px;
}

.account-panel {
  padding: 22px;
}

.account-panel h2 {
  margin: 0 0 16px;
  color: var(--olive-dark);
  font-size: 24px;
}

.discount-list,
.account-order-list,
.account-items {
  display: grid;
  gap: 12px;
}

.discount-card {
  padding: 16px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(183, 96, 66, 0.2);
  border-radius: var(--radius);
  background: #fff7ee;
}

.discount-card strong {
  color: var(--terracotta-dark);
  font-size: 30px;
  line-height: 1;
}

.discount-card span,
.discount-card small {
  color: var(--muted);
}

.account-order-card,
.account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
}

.account-order-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.account-order-card:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 118, 78, 0.26);
  box-shadow: var(--shadow-soft);
}

.account-order-card span,
.account-item span {
  display: grid;
  gap: 4px;
}

.account-order-card strong,
.account-item strong {
  color: var(--olive-dark);
}

.account-order-card small,
.account-item small {
  color: var(--muted);
}

.account-order-card em,
.account-item em {
  color: var(--terracotta-dark);
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.discount-hint {
  margin: 12px 0 0;
}

.discount-hint a,
.checkout-summary a {
  color: var(--terracotta-dark);
  font-weight: 850;
}

.result-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px;
}

.result-list {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--cream-2);
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .catalog-section[data-reveal],
.motion-ready .category-page[data-reveal],
.motion-ready .product-card[data-reveal] {
  opacity: 1;
  transform: none;
}

@keyframes cartPulse {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.18);
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100vw - 28px, 760px);
  }

  .site-header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 0;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin: 0 -2px;
  }

  .header-actions {
    gap: 8px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-main {
    min-height: 390px;
  }

  .product-detail,
  .checkout-layout,
  .cart-panel {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-summary {
    position: static;
  }

  .cart-line {
    grid-template-columns: 88px minmax(0, 1fr) auto;
  }

  .cart-line .quantity-field,
  .cart-line .line-total,
  .cart-line .link-button {
    grid-column: 2 / -1;
  }

  .cart-line .quantity-field {
    max-width: 180px;
  }

  .feature-strip {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .feature-strip .button {
    grid-column: 1 / -1;
    width: 100%;
  }

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

@media (max-width: 700px) {
  :root {
    --container: min(100vw - 24px, 520px);
    --header-height: 68px;
  }

  body::before {
    background-size: 26px 26px;
  }

  .site-header-inner {
    min-height: var(--header-height);
  }

  .site-brand {
    font-size: 16px;
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

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

  .cart-label {
    display: none;
  }

  .account-link {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 13px;
  }

  .store-hero {
    padding: 42px 0 42px;
  }

  .store-hero h1 {
    font-size: 48px;
  }

  .store-hero p {
    font-size: 17px;
  }

  .section-head h1,
  .section-head h2,
  .product-info h1,
  .checkout-form h1,
  .result-panel h1,
  .final-cta h2 {
    font-size: 34px;
  }

  .feature-strip h2 {
    font-size: 24px;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-main {
    min-height: 0;
  }

  .showcase-image,
  .showcase-image img {
    min-height: 250px;
  }

  .hero-panel {
    grid-column: auto;
  }

  .section {
    padding: 34px 0;
  }

  .section-head,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .section-head {
    display: grid;
  }

  .page-hero,
  .final-cta,
  .result-panel,
  .product-info,
  .form-section,
  .checkout-summary {
    padding: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-card-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .product-card-bottom .primary,
  .buy-form .primary,
  .final-cta .button {
    width: 100%;
  }

  .feature-strip {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .feature-strip img {
    width: 88px;
    height: 88px;
  }

  .product-detail,
  .checkout-layout,
  .auth-layout,
  .account-layout,
  .order-result {
    padding-top: 34px;
  }

  .auth-card {
    padding: 22px;
  }

  .auth-card h1 {
    font-size: 34px;
  }

  .account-grid,
  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .account-order-card,
  .account-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-main-image {
    min-height: 240px;
  }

  .buy-form,
  .form-row,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    padding: 14px;
  }

  .cart-line {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }

  .cart-line-image {
    width: 80px;
    height: 72px;
  }

  .cart-line .quantity-field,
  .cart-line .line-total,
  .cart-line .link-button {
    grid-column: 1 / -1;
  }

  .line-total {
    font-size: 21px;
  }

  .result-list {
    grid-template-columns: 1fr;
  }

  .result-list dd {
    text-align: left;
  }
}

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

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Ossetian restaurant redesign layer. Kept at the end to preserve business logic and layout contracts. */
:root {
  --milk: #fffaf3;
  --cream: #fff2df;
  --cream-2: #f5dfbd;
  --linen: #ead2a8;
  --sage: #e3e8d3;
  --sage-2: #c6d1ad;
  --olive: #687446;
  --olive-dark: #263221;
  --terracotta: #8f2b24;
  --terracotta-dark: #6e1d1b;
  --clay: #c7893d;
  --gold: #c59233;
  --brown: #332018;
  --text: #2b1b15;
  --muted: #6f5a4a;
  --line: rgba(143, 43, 36, 0.16);
  --shadow: 0 18px 46px rgba(78, 35, 20, 0.16);
  --shadow-soft: 0 12px 28px rgba(78, 35, 20, 0.1);
  --ornament-red: #8f2b24;
  --ornament-brown: #332018;
  --ornament-gold: #c59233;
  --ornament-olive: #687446;
  --ornament-band-height: 12px;
  --ornament-field-size: 120px 120px;
  --ornament-line-size: 80px 8px;
  --ornament-corner-size: 44px 44px;
  --ornament-field: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke-linecap='square'%3E%3Cpath d='M60 12 78 30 60 48 42 30Z' stroke='%238f2b24' stroke-opacity='.11' stroke-width='1.4'/%3E%3Cpath d='M60 22 68 30 60 38 52 30Z' stroke='%23c59233' stroke-opacity='.16' stroke-width='1.2'/%3E%3Cpath d='M0 60H22L30 52 38 60H82L90 52 98 60H120' stroke='%23687446' stroke-opacity='.08' stroke-width='1.2'/%3E%3Cpath d='M30 0V22L22 30 30 38V82L22 90 30 98V120M90 0V22L98 30 90 38V82L98 90 90 98V120' stroke='%238f2b24' stroke-opacity='.07' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
  --ornament-field-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke-linecap='square'%3E%3Cpath d='M60 12 78 30 60 48 42 30Z' stroke='%23fffaf3' stroke-opacity='.13' stroke-width='1.4'/%3E%3Cpath d='M60 22 68 30 60 38 52 30Z' stroke='%23c59233' stroke-opacity='.28' stroke-width='1.2'/%3E%3Cpath d='M0 60H22L30 52 38 60H82L90 52 98 60H120' stroke='%23fffaf3' stroke-opacity='.09' stroke-width='1.2'/%3E%3Cpath d='M30 0V22L22 30 30 38V82L22 90 30 98V120M90 0V22L98 30 90 38V82L98 90 90 98V120' stroke='%23c59233' stroke-opacity='.12' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
  --ornament-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='12' viewBox='0 0 96 12'%3E%3Cg fill='none' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M0 6H12L18 1 24 6H36L42 11 48 6H60L66 1 72 6H84L90 11 96 6' stroke='%238f2b24' stroke-opacity='.76' stroke-width='1.3'/%3E%3Cpath d='M0 1H96M0 11H96' stroke='%23332018' stroke-opacity='.2' stroke-width='.8'/%3E%3Cpath d='M24 6H36M72 6H84' stroke='%23c59233' stroke-opacity='.74' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");
  --ornament-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='8' viewBox='0 0 80 8'%3E%3Cg fill='none' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M0 4H22L28 1 34 4H46L52 7 58 4H80' stroke='%238f2b24' stroke-opacity='.7' stroke-width='1.2'/%3E%3Cpath d='M34 4H46' stroke='%23c59233' stroke-opacity='.78' stroke-width='1.4'/%3E%3C/g%3E%3C/svg%3E");
  --ornament-corner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke-linejoin='miter'%3E%3Cpath d='M42 2H14v6h18v18h6V2Z' fill='%238f2b24' fill-opacity='.54'/%3E%3Cpath d='M17 7 29 19 17 31 5 19Z' stroke='%23c59233' stroke-opacity='.72' stroke-width='1.4'/%3E%3Cpath d='M17 13 23 19 17 25 11 19Z' fill='%23687446' fill-opacity='.36'/%3E%3C/g%3E%3C/svg%3E");
}

body {
  color: var(--text);
  background:
    linear-gradient(180deg, #fff8ec 0%, var(--cream) 46%, #f7e6ca 100%);
}

body::before {
  background-image: var(--ornament-field);
  background-size: var(--ornament-field-size);
  opacity: 0.58;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 72%);
}

.pwa-body {
  background:
    var(--ornament-field),
    linear-gradient(180deg, #fff8ec 0%, var(--cream) 58%, #f7e6ca 100%);
  background-size: 110px 110px, auto;
}

button,
.button {
  border-color: rgba(143, 43, 36, 0.22);
  color: var(--terracotta-dark);
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 10px 22px rgba(78, 35, 20, 0.08);
}

button:hover,
.button:hover {
  border-color: rgba(197, 146, 51, 0.5);
  color: var(--terracotta-dark);
  background: #fffdf8;
}

.primary,
.pwa-bottom-nav a.active {
  color: #fffaf3;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  box-shadow: 0 16px 34px rgba(110, 29, 27, 0.28);
}

.primary:hover {
  color: #fffaf3;
  background: linear-gradient(135deg, #a3352c, var(--terracotta-dark));
  box-shadow: 0 20px 40px rgba(110, 29, 27, 0.32);
}

.site-header {
  background: rgba(255, 248, 236, 0.9);
  border-bottom: 1px solid rgba(143, 43, 36, 0.18);
}

.site-header::after {
  content: "";
  display: block;
  height: var(--ornament-band-height);
  background-image: var(--ornament-band);
  background-repeat: repeat-x;
  background-size: 96px var(--ornament-band-height);
  opacity: 0.72;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 243, 0.97);
  box-shadow: 0 14px 30px rgba(78, 35, 20, 0.1);
}

.site-brand {
  color: var(--terracotta-dark);
}

.brand-mark {
  width: 52px;
  height: 52px;
  padding: 3px;
  border: 1px solid rgba(197, 146, 51, 0.55);
  border-radius: 50%;
  background:
    linear-gradient(#fffaf3, #fffaf3) padding-box,
    linear-gradient(135deg, var(--gold), var(--terracotta-dark)) border-box;
  box-shadow: 0 10px 20px rgba(78, 35, 20, 0.14);
  overflow: hidden;
}

.brand-mark img,
.pwa-app-brand img,
.hero-logo {
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.1;
}

.brand-copy strong {
  min-width: 0;
  color: var(--terracotta-dark);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.brand-copy small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
  background: transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--terracotta-dark);
  background: rgba(245, 223, 189, 0.72);
  border-color: rgba(197, 146, 51, 0.32);
}

.cart-link,
.account-link {
  border-color: rgba(143, 43, 36, 0.2);
  color: var(--terracotta-dark);
  background: rgba(255, 250, 243, 0.94);
}

.cart-count,
.pwa-bottom-nav em {
  background: var(--gold);
  color: var(--brown);
}

.site-footer {
  position: relative;
  border-top: 1px solid rgba(143, 43, 36, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: var(--ornament-band-height);
  background-image: var(--ornament-band);
  background-repeat: repeat-x;
  background-size: 96px var(--ornament-band-height);
  opacity: 0.62;
}

.site-footer strong {
  color: var(--terracotta-dark);
}

.store-hero {
  margin-bottom: 34px;
  padding: 64px 0 62px;
  background:
    var(--ornament-field),
    linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(255, 242, 223, 0.94)),
    linear-gradient(90deg, rgba(110, 29, 27, 0.08), transparent 46%, rgba(197, 146, 51, 0.08));
  background-size: 140px 140px, auto, auto;
  border-bottom: 1px solid rgba(143, 43, 36, 0.16);
}

.store-hero::before,
.store-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--ornament-band-height);
  z-index: 0;
  pointer-events: none;
  background-image: var(--ornament-band);
  background-repeat: repeat-x;
  background-size: 96px var(--ornament-band-height);
  opacity: 0.64;
}

.store-hero::before {
  top: 0;
}

.store-hero::after {
  bottom: 0;
}

.hero-shade {
  background:
    linear-gradient(120deg, rgba(110, 29, 27, 0.08), transparent 36%),
    linear-gradient(270deg, rgba(104, 116, 70, 0.08), transparent 34%);
}

.hero-texture {
  opacity: 0.55;
  background-image:
    var(--ornament-field),
    linear-gradient(180deg, rgba(255, 250, 243, 0.82), transparent);
  background-size: 120px 120px, auto;
}

.hero-backdrop {
  border-radius: 50%;
  opacity: 0.2;
  filter: saturate(1.08) contrast(1.02);
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid rgba(197, 146, 51, 0.55);
  background: #fffaf3;
  box-shadow: 0 16px 36px rgba(78, 35, 20, 0.16);
  object-fit: cover;
}

.hero-kicker,
.section-kicker {
  color: var(--terracotta-dark);
}

.hero-kicker::after,
.section-kicker::after {
  content: "";
  width: 80px;
  height: 8px;
  background-image: var(--ornament-line);
  background-repeat: repeat-x;
  background-size: var(--ornament-line-size);
}

.live-dot {
  background: var(--olive);
  box-shadow: 0 0 0 7px rgba(104, 116, 70, 0.16);
}

.store-hero h1 {
  max-width: 760px;
  color: var(--terracotta-dark);
  text-wrap: balance;
}

.store-hero p {
  color: #5e4637;
  font-size: 20px;
}

.hero-metrics span,
.status-chip,
.product-meta span,
.category-tags a,
.product-badge-row span {
  border: 1px solid rgba(104, 116, 70, 0.18);
  color: var(--olive-dark);
  background: rgba(227, 232, 211, 0.82);
}

.status-chip.success {
  color: #243f22;
  background: #dfe9d2;
}

.status-chip.warning {
  color: var(--terracotta-dark);
  background: #f6dfbf;
}

.showcase-card,
.mini-dish,
.hero-panel,
.product-card,
.cart-panel,
.form-section,
.checkout-summary,
.result-panel,
.review-card,
.product-info,
.auth-card,
.account-card,
.order-card,
.page-hero {
  border-color: rgba(143, 43, 36, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.97), rgba(255, 246, 232, 0.94));
  box-shadow: var(--shadow-soft);
}

.showcase-card,
.product-card,
.review-card,
.product-info,
.page-hero {
  position: relative;
}

.showcase-card::before,
.product-card::before,
.review-card::before,
.product-info::before,
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 8px;
  background-image: var(--ornament-line);
  background-repeat: repeat-x;
  background-size: var(--ornament-line-size);
  opacity: 0.58;
  pointer-events: none;
}

.showcase-card::after,
.product-card::after,
.review-card::after,
.product-info::after,
.page-hero::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  background-image: var(--ornament-corner);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.16;
  pointer-events: none;
}

.showcase-card:hover,
.mini-dish:hover,
.product-card:hover,
.category-grid a:hover {
  border-color: rgba(197, 146, 51, 0.42);
  box-shadow: var(--shadow);
}

.showcase-image,
.product-image-link,
.product-main-image,
.cart-line-image {
  background:
    var(--ornament-field),
    linear-gradient(135deg, var(--cream-2), var(--sage));
  background-size: 120px 120px, auto;
}

.showcase-copy span,
.card-badge {
  color: #fffaf3;
  background: var(--terracotta);
}

.showcase-copy strong,
.mini-dish span,
.product-card h3,
.feature-strip h2,
.section-head h1,
.section-head h2,
.product-info h1,
.checkout-form h1,
.result-panel h1,
.final-cta h2 {
  color: var(--brown);
}

.showcase-copy em,
.product-price,
.price-current {
  color: var(--terracotta-dark);
}

.card-view {
  color: #fffaf3;
  background: rgba(51, 32, 24, 0.88);
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.category-grid a {
  position: relative;
  min-height: 92px;
  align-items: flex-start;
  padding: 20px 18px 18px;
  border-color: rgba(143, 43, 36, 0.16);
  color: var(--brown);
  background:
    var(--ornament-field),
    linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(255, 240, 216, 0.9));
  background-size: 118px 118px, auto;
  overflow: hidden;
}

.category-grid a::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 54px;
  bottom: 16px;
  height: 8px;
  background-image: var(--ornament-line);
  background-repeat: repeat-x;
  background-size: var(--ornament-line-size);
  opacity: 0.56;
}

.category-grid a::after {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 0;
  background-image: var(--ornament-corner);
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: none;
  opacity: 0.56;
}

.category-grid a span {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 36px);
}

.category-osetinskie-pirogi {
  border-top: 4px solid var(--terracotta);
}

.category-shashlyk-i-gril,
.category-shashlyk,
.category-shashlyk-i-grill {
  border-top: 4px solid var(--brown);
}

.category-sety-i-tarelki,
.category-sety-i-bolshie-tarelki {
  border-top: 4px solid var(--gold);
}

.category-pitstsa,
.category-picca,
.category-pizza {
  border-top: 4px solid #b85a32;
}

.category-garniry-i-ovoshchi {
  border-top: 4px solid var(--olive);
}

.category-napitki {
  border-top: 4px solid #4f7a63;
}

.category-solenya-i-dobavki {
  border-top: 4px solid #987241;
}

.feature-strip {
  border-color: rgba(143, 43, 36, 0.2);
  background:
    var(--ornament-field),
    linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(246, 223, 191, 0.84)),
    linear-gradient(90deg, rgba(143, 43, 36, 0.05), transparent);
  background-size: 124px 124px, auto, auto;
}

.feature-button {
  background: linear-gradient(135deg, var(--olive), var(--olive-dark));
}

.product-card p,
.product-info p {
  white-space: pre-line;
}

.product-weight {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(197, 146, 51, 0.28);
  border-radius: 999px;
  color: var(--terracotta-dark);
  background: rgba(245, 223, 189, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.detail-weight {
  margin-top: 14px;
  font-size: 13px;
}

.product-placeholder {
  color: var(--brown);
  background:
    var(--ornament-field),
    linear-gradient(135deg, var(--cream-2), var(--sage));
  background-size: 120px 120px, auto;
}

.review-rating {
  color: var(--gold);
}

.final-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 146, 51, 0.28);
  background:
    var(--ornament-field-dark),
    linear-gradient(135deg, var(--terracotta-dark), var(--terracotta));
  background-size: 120px 120px, auto;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}

.final-cta .button {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 250, 243, 0.36);
}

.back-link {
  color: var(--terracotta-dark);
  background: rgba(245, 223, 189, 0.64);
}

input,
textarea,
select {
  border-color: rgba(143, 43, 36, 0.22);
  color: var(--text);
  background: rgba(255, 250, 243, 0.92);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(143, 43, 36, 0.74);
  background: #fffdf8;
  box-shadow: 0 0 0 4px rgba(143, 43, 36, 0.12);
}

.choice-card {
  border-color: rgba(143, 43, 36, 0.16);
  background: rgba(255, 250, 243, 0.84);
}

.choice-card input {
  accent-color: var(--terracotta);
}

.choice-card:has(input:checked) {
  border-color: rgba(143, 43, 36, 0.58);
  background: #fff4e2;
  box-shadow: 0 0 0 4px rgba(143, 43, 36, 0.1);
}

.pwa-app-brand {
  color: var(--terracotta-dark);
}

.pwa-app-brand img {
  padding: 2px;
  border: 1px solid rgba(197, 146, 51, 0.5);
  background: #fffaf3;
}

.pwa-app-hero,
.pwa-install-card,
.pwa-section,
.pwa-quick-grid a {
  border-color: rgba(143, 43, 36, 0.16);
  background:
    var(--ornament-field),
    linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(255, 242, 223, 0.92));
  background-size: 110px 110px, auto;
}

.pwa-status {
  color: var(--terracotta-dark);
}

.pwa-status::before {
  background: var(--terracotta);
}

.pwa-status.is-open::before {
  background: var(--olive);
}

.pwa-bottom-nav {
  border-color: rgba(143, 43, 36, 0.18);
  background: rgba(255, 250, 243, 0.95);
  box-shadow: 0 16px 36px rgba(78, 35, 20, 0.16);
}

@media (max-width: 980px) {
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .hero-logo {
    width: 82px;
    height: 82px;
  }

  .store-hero {
    padding: 46px 0 50px;
  }
}

@media (max-width: 700px) {
  .site-header-inner {
    gap: 8px 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    padding: 2px;
  }

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

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

  .store-hero {
    padding: 34px 0 40px;
  }

  .hero-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 14px;
  }

  .store-hero h1 {
    font-size: 46px;
  }

  .store-hero p {
    font-size: 17px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .category-grid a {
    min-height: 84px;
  }

  .product-card-body {
    padding: 16px;
  }

  .product-weight {
    max-width: 100%;
    white-space: normal;
  }
}

/* Caucasus ornament refinement: denser original geometry, still subtle in the interface. */
:root {
  --ornament-field-size: 160px 160px;
  --ornament-line-size: 128px 14px;
  --ornament-corner-size: 72px 72px;
  --ornament-band-height: 22px;
  --ornament-field: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M80 14 118 52 80 90 42 52Z' stroke='%238f2b24' stroke-opacity='.13' stroke-width='1.45'/%3E%3Cpath d='M80 30 102 52 80 74 58 52Z' stroke='%23c59233' stroke-opacity='.19' stroke-width='1.35'/%3E%3Cpath d='M80 42 90 52 80 62 70 52Z' fill='%23687446' fill-opacity='.11' stroke='%23687446' stroke-opacity='.13' stroke-width='1'/%3E%3Cpath d='M80 88 104 112 80 136 56 112Z' stroke='%23332018' stroke-opacity='.075' stroke-width='1.1'/%3E%3Cpath d='M80 100 92 112 80 124 68 112Z' stroke='%238f2b24' stroke-opacity='.09' stroke-width='1'/%3E%3Cpath d='M0 80H24L32 72 40 80H58L66 88 74 80H86L94 72 102 80H120L128 88 136 80H160' stroke='%238f2b24' stroke-opacity='.085' stroke-width='1.2'/%3E%3Cpath d='M80 0V24L72 32 80 40V58L88 66 80 74V86L72 94 80 102V120L88 128 80 136V160' stroke='%23c59233' stroke-opacity='.08' stroke-width='1.1'/%3E%3Cpath d='M0 0H34V7H14V27H7V47H0M160 0H126V7H146V27H153V47H160M0 160H34V153H14V133H7V113H0M160 160H126V153H146V133H153V113H160' stroke='%23332018' stroke-opacity='.07' stroke-width='1.1'/%3E%3Cpath d='M18 18 30 30 18 42 6 30ZM142 18 154 30 142 42 130 30ZM18 118 30 130 18 142 6 130ZM142 118 154 130 142 142 130 130Z' stroke='%23687446' stroke-opacity='.065' stroke-width='1'/%3E%3Cpath d='M38 30H54M106 30H122M38 130H54M106 130H122M30 38V54M130 38V54M30 106V122M130 106V122' stroke='%23c59233' stroke-opacity='.1' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
  --ornament-field-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M80 14 118 52 80 90 42 52Z' stroke='%23fffaf3' stroke-opacity='.16' stroke-width='1.45'/%3E%3Cpath d='M80 30 102 52 80 74 58 52Z' stroke='%23c59233' stroke-opacity='.3' stroke-width='1.35'/%3E%3Cpath d='M80 42 90 52 80 62 70 52Z' fill='%23fffaf3' fill-opacity='.09' stroke='%23fffaf3' stroke-opacity='.14' stroke-width='1'/%3E%3Cpath d='M80 88 104 112 80 136 56 112Z' stroke='%23fffaf3' stroke-opacity='.09' stroke-width='1.1'/%3E%3Cpath d='M0 80H24L32 72 40 80H58L66 88 74 80H86L94 72 102 80H120L128 88 136 80H160' stroke='%23fffaf3' stroke-opacity='.12' stroke-width='1.2'/%3E%3Cpath d='M80 0V24L72 32 80 40V58L88 66 80 74V86L72 94 80 102V120L88 128 80 136V160' stroke='%23c59233' stroke-opacity='.18' stroke-width='1.1'/%3E%3Cpath d='M0 0H34V7H14V27H7V47H0M160 0H126V7H146V27H153V47H160M0 160H34V153H14V133H7V113H0M160 160H126V153H146V133H153V113H160' stroke='%23fffaf3' stroke-opacity='.1' stroke-width='1.1'/%3E%3C/g%3E%3C/svg%3E");
  --ornament-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='22' viewBox='0 0 192 22'%3E%3Cg fill='none' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M0 11H16L24 3 32 11H48L56 19 64 11H80L88 3 96 11H112L120 19 128 11H144L152 3 160 11H176L184 19 192 11' stroke='%238f2b24' stroke-opacity='.82' stroke-width='1.45'/%3E%3Cpath d='M0 3H12V7H4M48 3H60V7H52M96 3H108V7H100M144 3H156V7H148M36 19H48V15H40M84 19H96V15H88M132 19H144V15H136M180 19H192V15H184' stroke='%23332018' stroke-opacity='.28' stroke-width='1'/%3E%3Cpath d='M24 6 29 11 24 16 19 11ZM72 6 77 11 72 16 67 11ZM120 6 125 11 120 16 115 11ZM168 6 173 11 168 16 163 11Z' stroke='%23c59233' stroke-opacity='.9' stroke-width='1.1'/%3E%3Cpath d='M0 1H192M0 21H192' stroke='%23332018' stroke-opacity='.22' stroke-width='.85'/%3E%3Cpath d='M40 11H52M88 11H100M136 11H148M184 11H192' stroke='%23687446' stroke-opacity='.62' stroke-width='1.1'/%3E%3C/g%3E%3C/svg%3E");
  --ornament-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='14' viewBox='0 0 128 14'%3E%3Cg fill='none' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M0 7H20L28 2 36 7H52L64 13 76 7H92L100 2 108 7H128' stroke='%238f2b24' stroke-opacity='.78' stroke-width='1.35'/%3E%3Cpath d='M64 2 69 7 64 12 59 7Z' stroke='%23c59233' stroke-opacity='.92' stroke-width='1.15'/%3E%3Cpath d='M8 3H20M108 11H120M38 7H52M76 7H90' stroke='%23687446' stroke-opacity='.55' stroke-width='1'/%3E%3Cpath d='M0 1H16M112 13H128' stroke='%23332018' stroke-opacity='.22' stroke-width='.85'/%3E%3C/g%3E%3C/svg%3E");
  --ornament-corner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke-linejoin='miter' stroke-linecap='square'%3E%3Cpath d='M70 2H28v8h24v24h8V10h10Z' fill='%238f2b24' fill-opacity='.56'/%3E%3Cpath d='M62 12H40v7h15v15h7Z' fill='%23c59233' fill-opacity='.42'/%3E%3Cpath d='M27 9 43 25 27 41 11 25Z' stroke='%23332018' stroke-opacity='.56' stroke-width='1.25'/%3E%3Cpath d='M27 16 36 25 27 34 18 25Z' stroke='%23c59233' stroke-opacity='.86' stroke-width='1.15'/%3E%3Cpath d='M27 21 31 25 27 29 23 25Z' fill='%23687446' fill-opacity='.48'/%3E%3Cpath d='M8 46H24V38M46 8V24H38M2 58H18V50H10' stroke='%238f2b24' stroke-opacity='.36' stroke-width='1.15'/%3E%3C/g%3E%3C/svg%3E");
  --ornament-medallion: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M90 10 130 50 90 90 50 50Z' stroke='%238f2b24' stroke-opacity='.16' stroke-width='1.5'/%3E%3Cpath d='M90 34 106 50 90 66 74 50Z' stroke='%23c59233' stroke-opacity='.28' stroke-width='1.3'/%3E%3Cpath d='M90 90 130 130 90 170 50 130Z' stroke='%23332018' stroke-opacity='.08' stroke-width='1.35'/%3E%3Cpath d='M90 114 106 130 90 146 74 130Z' stroke='%23687446' stroke-opacity='.15' stroke-width='1.2'/%3E%3Cpath d='M10 90H46L58 78 70 90H110L122 102 134 90H170' stroke='%238f2b24' stroke-opacity='.11' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");
}

body::before {
  background-size: var(--ornament-field-size);
  opacity: 0.48;
}

.site-header::after,
.site-footer::before,
.store-hero::before,
.store-hero::after {
  height: var(--ornament-band-height);
  background-size: 192px var(--ornament-band-height);
}

.store-hero {
  background:
    var(--ornament-medallion),
    var(--ornament-field),
    linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(255, 242, 223, 0.94)),
    linear-gradient(90deg, rgba(110, 29, 27, 0.08), transparent 46%, rgba(197, 146, 51, 0.08));
  background-position:
    right max(24px, calc((100vw - 1160px) / 2 + 24px)) top 42px,
    0 0,
    0 0,
    0 0;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
  background-size: min(38vw, 360px) min(38vw, 360px), var(--ornament-field-size), auto, auto;
}

.hero-texture {
  opacity: 0.42;
  background-size: 160px 160px, auto;
}

.hero-kicker::after,
.section-kicker::after,
.showcase-card::before,
.product-card::before,
.review-card::before,
.product-info::before,
.page-hero::before,
.category-grid a::before {
  height: 14px;
  background-size: var(--ornament-line-size);
}

.showcase-card::after,
.product-card::after,
.review-card::after,
.product-info::after,
.page-hero::after,
.category-grid a::after {
  width: 48px;
  height: 48px;
  opacity: 0.2;
}

.category-grid a::after {
  opacity: 0.62;
}

.category-grid a,
.feature-strip,
.showcase-image,
.product-image-link,
.product-main-image,
.cart-line-image,
.product-placeholder,
.pwa-app-hero,
.pwa-install-card,
.pwa-section,
.pwa-quick-grid a {
  background-size: var(--ornament-field-size), auto, auto;
}

.final-cta {
  background-size: var(--ornament-field-size), auto;
}

@media (max-width: 700px) {
  :root {
    --ornament-field-size: 136px 136px;
    --ornament-line-size: 108px 12px;
    --ornament-band-height: 18px;
  }

  .store-hero {
    background-size: 210px 210px, var(--ornament-field-size), auto, auto;
    background-position: right -70px top 30px, 0 0, 0 0, 0 0;
  }

  .showcase-card::after,
  .product-card::after,
  .review-card::after,
  .product-info::after,
  .page-hero::after,
  .category-grid a::after {
    width: 38px;
    height: 38px;
  }
}

/* Logo header-only rule: the brand mark appears once, cleanly, in the site header. */
.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 14px 34px rgba(34, 21, 18, 0.12),
    0 0 0 1px rgba(191, 143, 63, 0.28);
}

.brand-mark::before,
.brand-mark::after {
  content: none !important;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
  transform: scale(1.08);
}

.brand-copy small {
  color: var(--red, #8c251c);
  letter-spacing: 0.18em;
}

.hero-logo,
.pwa-app-brand img {
  display: none !important;
}

.pwa-app-brand {
  gap: 0;
}

@media (max-width: 700px) {
  .brand-mark {
    width: 50px;
    height: 50px;
    padding: 0;
  }
}

/* Reference cleanup: keep the site close to the provided example and remove old visual extras. */
:root {
  --bg: #f7ebdd;
  --paper: #fff8ed;
  --ink: #221512;
  --muted: #705246;
  --wine: #551712;
  --red: #8c251c;
  --red-2: #6e1b16;
  --ochre: #bf8f3f;
  --gold: #d3a75a;
  --brown: #362119;
  --reference-shadow-soft: 0 28px 80px rgba(34, 21, 18, 0.12);
  --reference-shadow-card: 0 20px 60px rgba(34, 21, 18, 0.09);
  --reference-container: min(1200px, calc(100% - 44px));
  --reference-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='960' height='76' viewBox='0 0 960 76'%3E%3Cg fill='none' stroke='%238c251c' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M0 12H960M0 64H960' stroke-opacity='.38' stroke-width='1.4'/%3E%3Cpath d='M0 38H960' stroke-opacity='.24' stroke-width='.9' stroke-dasharray='2 15'/%3E%3Cg id='c'%3E%3Ccircle cx='0' cy='0' r='25' stroke-opacity='.62' stroke-width='1.8'/%3E%3Ccircle cx='0' cy='0' r='15' stroke-opacity='.52' stroke-width='1.3'/%3E%3Cpath d='M0 -25L18 0L0 25L-18 0Z' stroke-opacity='.84' stroke-width='2'/%3E%3Cpath d='M0 -13L10 0L0 13L-10 0Z' fill='%23bf8f3f' stroke='none' opacity='.78'/%3E%3Crect x='-4' y='-4' width='8' height='8' fill='%238c251c' stroke='none' opacity='.68'/%3E%3Ccircle cx='-38' cy='0' r='3.5' fill='%238c251c' stroke='none' opacity='.52'/%3E%3Ccircle cx='38' cy='0' r='3.5' fill='%238c251c' stroke='none' opacity='.52'/%3E%3Cpath d='M-54 0H-44M44 0H54' stroke-opacity='.55' stroke-width='1.6'/%3E%3C/g%3E%3Cuse href='%23c' x='30' y='38'/%3E%3Cuse href='%23c' x='110' y='38'/%3E%3Cuse href='%23c' x='190' y='38'/%3E%3Cuse href='%23c' x='270' y='38'/%3E%3Cuse href='%23c' x='350' y='38'/%3E%3Cuse href='%23c' x='430' y='38'/%3E%3Cuse href='%23c' x='510' y='38'/%3E%3Cuse href='%23c' x='590' y='38'/%3E%3Cuse href='%23c' x='670' y='38'/%3E%3Cuse href='%23c' x='750' y='38'/%3E%3Cuse href='%23c' x='830' y='38'/%3E%3Cuse href='%23c' x='910' y='38'/%3E%3C/g%3E%3C/svg%3E");
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, #f4e3cf 100%) !important;
}

body::before,
.hero-backdrop,
.hero-shade,
.hero-texture,
.hero-logo,
.hero-metrics,
.feature-strip,
.reviews-section,
.final-cta {
  display: none !important;
}

.site-header,
.store-hero,
.section,
.site-footer,
.product-card,
.category-grid a {
  letter-spacing: 0;
}

.site-header {
  background: rgba(255, 248, 237, 0.92);
  border-bottom: 1px solid rgba(85, 23, 18, 0.1);
  box-shadow: 0 14px 34px rgba(34, 21, 18, 0.05);
  backdrop-filter: blur(14px);
}

.site-header::after {
  content: none !important;
}

.site-header-inner {
  width: var(--reference-container);
  min-height: 82px;
  padding: 12px 0;
}

.site-brand {
  min-width: 270px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  box-shadow:
    0 14px 34px rgba(34, 21, 18, 0.12),
    0 0 0 1px rgba(191, 143, 63, 0.28);
}

.brand-copy strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0 !important;
}

.brand-copy small {
  margin-top: 7px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0 !important;
}

.site-nav {
  gap: 28px;
  color: #5b3d34;
  font-size: 14px;
  font-weight: 780;
}

.site-nav a {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
}

.account-link,
.cart-link,
.button,
button.primary,
a.primary {
  min-height: 48px;
  border-radius: 999px;
  font-weight: 850;
}

.button,
.account-link {
  border: 1px solid rgba(140, 37, 28, 0.24);
  background: rgba(255, 248, 237, 0.66);
  color: var(--wine);
  box-shadow: none;
}

.button.primary,
button.primary,
a.primary,
.cart-link {
  border: 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(140, 37, 28, 0.24);
}

.store-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 700px;
  padding: 0;
  border-bottom: 1px solid rgba(85, 23, 18, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.62) 0%, rgba(247, 235, 221, 0.46) 100%),
    linear-gradient(180deg, #f8ecdd 0%, #f4e3cf 100%) !important;
}

.store-hero::before,
.store-hero::after {
  content: "";
  position: absolute;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 76px;
  pointer-events: none;
  background-image: var(--reference-band);
  background-repeat: repeat-x;
  background-size: 960px 76px;
}

.store-hero::before {
  top: 0;
  opacity: 0.27;
}

.store-hero::after {
  bottom: 0;
  filter: sepia(1) saturate(0.7);
  opacity: 0.15;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 64px;
  width: var(--reference-container);
  margin: 0 auto;
  padding: 78px 0 132px;
}

.hero-content {
  max-width: 780px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(140, 37, 28, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 248, 237, 0.78);
  color: var(--wine);
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 13px 30px rgba(34, 21, 18, 0.07);
  backdrop-filter: blur(12px);
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ochre);
  box-shadow: 0 0 0 4px rgba(191, 143, 63, 0.15);
}

.hero-kicker::after,
.section-kicker::after,
.product-card::before,
.product-card::after,
.category-grid a::before,
.category-grid a::after,
.product-info::before,
.product-info::after,
.page-hero::before,
.page-hero::after {
  content: none !important;
}

.store-hero h1 {
  max-width: 780px;
  margin: 27px 0 0;
  color: var(--ink);
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: 0 !important;
}

.store-hero p {
  max-width: 660px;
  margin: 29px 0 0;
  color: #62473e;
  font-size: 20px;
  line-height: 1.76;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 39px;
}

.hero-note {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  width: min(100%, 555px);
  margin-top: 34px;
  border: 1px solid rgba(140, 37, 28, 0.12);
  border-radius: 24px;
  padding: 14px 16px;
  background: rgba(255, 248, 237, 0.58);
  color: #6a4d42;
  box-shadow: 0 14px 40px rgba(34, 21, 18, 0.06);
}

.hero-note span {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(140, 37, 28, 0.16);
  background: rgba(191, 143, 63, 0.12);
}

.hero-note span::before,
.hero-note span::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 2px solid rgba(140, 37, 28, 0.48);
  transform: rotate(45deg);
}

.hero-note span::after {
  inset: 18px;
  background: rgba(191, 143, 63, 0.55);
}

.hero-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin-left: auto;
}

.table-shadow {
  position: absolute;
  inset: 2%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(140, 37, 28, 0.14), transparent 62%);
  filter: blur(28px);
}

.plate {
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, #fff8ed 0%, #f3dec2 58%, #d8af75 100%);
  box-shadow:
    0 32px 90px rgba(34, 21, 18, 0.22),
    inset 0 0 0 1px rgba(85, 23, 18, 0.08),
    inset 0 0 0 22px rgba(255, 248, 237, 0.42);
}

.plate::before,
.plate::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.plate::before {
  inset: 10%;
  border: 1px solid rgba(140, 37, 28, 0.14);
}

.plate::after {
  inset: 16%;
  border: 1px solid rgba(191, 143, 63, 0.4);
}

.pie {
  position: absolute;
  inset: 23%;
  border-radius: 999px;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(circle at 50% 52%, #e7b45d 0%, #d99b45 52%, #b7652c 100%);
  box-shadow:
    0 34px 70px rgba(34, 21, 18, 0.26),
    inset 0 0 0 18px rgba(255, 248, 237, 0.25),
    inset 0 -24px 56px rgba(85, 23, 18, 0.14);
}

.pie::before,
.pie::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pie::before {
  background:
    linear-gradient(30deg, transparent 47%, rgba(140, 37, 28, 0.16) 48%, rgba(140, 37, 28, 0.16) 51%, transparent 52%),
    linear-gradient(90deg, transparent 48%, rgba(255, 248, 237, 0.16) 49%, rgba(255, 248, 237, 0.16) 51%, transparent 52%),
    linear-gradient(150deg, transparent 47%, rgba(140, 37, 28, 0.12) 48%, rgba(140, 37, 28, 0.12) 51%, transparent 52%);
}

.pie::after {
  inset: 8%;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 237, 0.34);
}

.pie-ring {
  position: absolute;
  border-radius: 999px;
  border: 2px solid rgba(140, 37, 28, 0.21);
}

.ring-one {
  inset: 14%;
}

.ring-two {
  inset: 27%;
  border-width: 1px;
}

.ring-three {
  inset: 40%;
  border-color: rgba(255, 248, 237, 0.28);
  border-width: 1px;
}

.center-medallion {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  border: 2px solid rgba(85, 23, 18, 0.36);
  transform: translate(-50%, -50%);
}

.center-medallion::before,
.center-medallion::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.center-medallion::before {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(85, 23, 18, 0.3);
}

.center-medallion::after {
  width: 22px;
  height: 22px;
  background: rgba(85, 23, 18, 0.2);
}

.pie-dot {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: rgba(140, 37, 28, 0.34);
  box-shadow: 0 0 0 4px rgba(255, 248, 237, 0.14);
}

.dot-one {
  left: 23%;
  top: 24%;
}

.dot-two {
  right: 23%;
  top: 24%;
}

.dot-three {
  left: 23%;
  bottom: 24%;
}

.dot-four {
  right: 23%;
  bottom: 24%;
}

.floating-rosette {
  position: absolute;
  width: 108px;
  height: 108px;
  opacity: 0.14;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(34, 21, 18, 0.08));
}

.floating-rosette::before,
.floating-rosette::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.floating-rosette::after {
  inset: 21%;
  border-radius: 0;
  transform: rotate(45deg);
}

.rosette-one {
  left: 0;
  bottom: 9%;
  color: var(--red);
  transform: rotate(-14deg);
}

.rosette-two {
  right: 0;
  top: 10%;
  width: 92px;
  height: 92px;
  color: var(--ochre);
  opacity: 0.18;
  transform: rotate(18deg);
}

.wrap-band {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 116%;
  height: 72px;
  pointer-events: none;
  opacity: 0.12;
  transform: translate(-50%, -50%) rotate(-16deg);
  background-image: var(--reference-band);
  background-repeat: repeat-x;
  background-size: 960px 76px;
}

.hero-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 18px;
  align-items: stretch;
}

.showcase-card,
.mini-dish,
.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(140, 37, 28, 0.105);
  border-radius: 34px;
  background: linear-gradient(180deg, #fff9ee 0%, #fff3e3 100%) !important;
  box-shadow: var(--reference-shadow-card);
}

.showcase-card::before,
.showcase-card::after,
.mini-dish::before,
.mini-dish::after,
.hero-panel::before,
.hero-panel::after {
  content: none !important;
}

.showcase-main {
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.showcase-image {
  position: relative;
  display: block;
  flex: 1;
  min-height: 360px;
  margin: 18px;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(circle at center, #ebc37a 0%, #c47135 38%, #5a1712 100%) !important;
  box-shadow: inset 0 0 42px rgba(34, 21, 18, 0.21);
}

.showcase-image img,
.showcase-image .product-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.showcase-card:hover .showcase-image img,
.mini-dish:hover img {
  transform: scale(1.05);
}

.showcase-copy {
  padding: 0 24px 24px;
}

.showcase-copy span {
  display: block;
  color: rgba(140, 37, 28, 0.72);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0 !important;
}

.showcase-copy strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0 !important;
}

.showcase-copy em {
  display: block;
  margin-top: 12px;
  color: var(--wine);
  font-size: 24px;
  font-style: normal;
  font-weight: 950;
}

.showcase-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mini-dish {
  min-height: 120px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  color: var(--ink);
  border-radius: 26px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.mini-dish:hover,
.showcase-card:hover,
.hero-panel:hover {
  border-color: rgba(140, 37, 28, 0.2);
  box-shadow: var(--reference-shadow-soft);
  transform: translateY(-3px);
}

.mini-dish img,
.mini-dish .product-placeholder {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  object-fit: cover;
  background: radial-gradient(circle at center, #ebc37a 0%, #c47135 44%, #5a1712 100%);
}

.mini-dish span {
  color: var(--brown);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

.hero-panel {
  grid-column: 2;
  padding: 18px;
  border-radius: 26px;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(191, 143, 63, 0.14);
  color: var(--wine);
  font-size: 12px;
  font-weight: 850;
}

.status-chip.success {
  background: rgba(104, 116, 70, 0.16);
  color: #475334;
}

.status-chip.warning {
  background: rgba(140, 37, 28, 0.12);
  color: var(--red);
}

.section {
  width: var(--reference-container);
  margin: 0 auto;
  padding: 92px 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 0;
  text-align: center;
}

.section-kicker {
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0 !important;
}

.section h2 {
  margin: 17px 0 0;
  color: var(--ink);
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: 0 !important;
}

.category-grid {
  gap: 23px;
  margin-top: 54px;
}

.category-grid a,
.product-card {
  overflow: hidden;
  border: 1px solid rgba(140, 37, 28, 0.105);
  border-radius: 34px;
  background: linear-gradient(180deg, #fff9ee 0%, #fff3e3 100%) !important;
  box-shadow: var(--reference-shadow-card);
}

.category-grid a {
  min-height: 150px;
  color: var(--ink);
}

.category-grid a:hover,
.product-card:hover {
  border-color: rgba(140, 37, 28, 0.2);
  box-shadow: var(--reference-shadow-soft);
  transform: translateY(-5px);
}

.category-grid a span,
.product-card h3,
.product-price {
  letter-spacing: 0 !important;
}

.product-image-link {
  border-radius: 25px;
  background: radial-gradient(circle at center, #ebc37a 0%, #c47135 38%, #5a1712 100%) !important;
  box-shadow: inset 0 0 42px rgba(34, 21, 18, 0.21);
}

.product-card {
  min-height: 360px;
}

.product-card p,
.product-weight,
.product-meta {
  color: var(--muted);
}

.product-price {
  color: var(--wine);
}

.site-footer {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 68px max(22px, calc((100vw - 1200px) / 2));
  border: 0;
  background: linear-gradient(180deg, #281712 0%, #1f120f 100%);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 76px;
  background-image: var(--reference-band);
  background-repeat: repeat-x;
  background-size: 960px 76px;
  filter: brightness(1.9) saturate(0.7);
  opacity: 0.16;
}

.site-footer strong {
  color: var(--paper);
}

.site-footer p {
  color: #e7d7c3;
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .hero-visual {
    margin: 0 auto;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --reference-container: min(100% - 30px, 1200px);
  }

  .site-header-inner {
    min-height: 74px;
    padding: 10px 0;
  }

  .site-brand {
    min-width: 0;
  }

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

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

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

  .account-link {
    display: none;
  }

  .store-hero {
    min-height: auto;
  }

  .store-hero::before,
  .store-hero::after {
    height: 52px;
    background-size: 657px 52px;
  }

  .hero-inner {
    gap: 42px;
    padding: 62px 0 88px;
  }

  .store-hero h1 {
    font-size: 49px;
  }

  .store-hero p {
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    grid-template-columns: 40px 1fr;
  }

  .hero-note span {
    width: 40px;
    height: 40px;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .showcase-main {
    min-height: 0;
  }

  .showcase-image {
    min-height: 260px;
  }

  .showcase-mini-grid,
  .hero-panel {
    grid-column: auto;
  }

  .mini-dish {
    grid-template-columns: 80px 1fr;
    min-height: 100px;
  }

  .mini-dish img,
  .mini-dish .product-placeholder {
    width: 80px;
    height: 80px;
  }

  .hero-visual {
    max-width: 370px;
  }

  .wrap-band {
    height: 52px;
    background-size: 657px 52px;
  }

  .section {
    padding: 74px 0;
  }

  .section h2 {
    font-size: 38px;
  }

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

  .category-grid a {
    min-height: 96px;
    border-radius: 28px;
  }
}

/* Hero composition fix: align the text and showcase blocks and remove the lower gap. */
.store-hero {
  min-height: auto;
}

.hero-inner {
  align-items: start;
  padding-top: 72px;
  padding-bottom: 54px;
}

.hero-content {
  padding-top: 4px;
}

.hero-showcase {
  align-self: start;
}

.showcase-main {
  min-height: 500px;
}

.showcase-image {
  min-height: 338px;
}

.showcase-mini-grid {
  align-content: start;
}

.mini-dish {
  min-height: 113px;
}

.hero-panel,
.status-list,
.status-chip {
  display: none !important;
}

.category-section {
  padding-top: 44px;
}

.category-grid {
  margin-top: 34px;
}

@media (max-width: 1040px) {
  .hero-inner {
    padding-top: 62px;
    padding-bottom: 48px;
  }
}

@media (max-width: 700px) {
  .hero-inner {
    gap: 30px;
    padding-top: 54px;
    padding-bottom: 36px;
  }

  .showcase-main {
    min-height: 0;
  }

  .showcase-image {
    min-height: 240px;
  }

  .category-section {
    padding-top: 36px;
  }

  .category-grid {
    margin-top: 26px;
  }
}

/* Tighten category and catalog sections after removing their small labels. */
.category-section {
  padding-top: 34px;
  padding-bottom: 22px;
}

.category-section .category-grid {
  margin-top: 0;
}

.catalog-section {
  padding-top: 18px;
}

.catalog-section .section-head {
  margin-bottom: 28px;
}

.catalog-section h2 {
  margin-top: 0;
}

@media (max-width: 700px) {
  .category-section {
    padding-top: 28px;
    padding-bottom: 18px;
  }

  .catalog-section {
    padding-top: 14px;
  }

  .catalog-section .section-head {
    margin-bottom: 22px;
  }
}

/* Keep hero content clear of the decorative top and bottom ornament bands. */
.store-hero::before,
.store-hero::after {
  z-index: 0;
}

.hero-inner {
  padding-top: 108px;
  padding-bottom: 112px;
}

.hero-content,
.hero-showcase {
  position: relative;
  z-index: 1;
}

@media (max-width: 1040px) {
  .hero-inner {
    padding-top: 96px;
    padding-bottom: 104px;
  }
}

@media (max-width: 700px) {
  .hero-inner {
    padding-top: 72px;
    padding-bottom: 78px;
  }
}
