:root {
  --ink: #362017;
  --muted: #755c49;
  --paper: #f8e8c4;
  --surface: #fff7e7;
  --cream: #f1d9a6;
  --red: #b84b3b;
  --red-dark: #8f342e;
  --blue: #2f5d75;
  --yellow: #e8b43e;
  --green: #1f6d58;
  --accent-green: #1f6d58;
  --rose: #e99b87;
  --ochre: #c98736;
  --line: #d6b47d;
  --shadow: 0 18px 45px rgba(80, 43, 25, 0.18);
  --header-bg: rgba(248, 232, 196, 0.94);
  --header-border: rgba(80, 43, 25, 0.14);
  --card-shadow: 0 10px 26px rgba(80, 43, 25, 0.09);
  --notice-text: #4f3428;
  --input-border: #bd9663;
  --solid: #362017;
  --solid-text: #fff7e7;
  --primary-text: #fff7e7;
  --footer-bg: #3b2118;
  --footer-ink: #fff1cf;
  --footer-text: rgba(255, 241, 207, 0.76);
  --ribbon-bg: #1f6d58;
  --ribbon-ink: #fff7e7;
  --ribbon-accent: #e8b43e;
  --pattern-image: url("/assets/la-gloriosa-watercolor-pattern.svg");
  --border-motif-image: url("/assets/la-gloriosa-border-motifs.svg");
}

:root[data-theme="mid"] {
  --ink: #2d231a;
  --muted: #76624b;
  --paper: #f2dba7;
  --surface: #fff2d4;
  --cream: #e8c27e;
  --red: #a94236;
  --red-dark: #7f302b;
  --blue: #315b70;
  --yellow: #dea638;
  --green: #245f4d;
  --accent-green: #245f4d;
  --rose: #dc8b79;
  --ochre: #b97731;
  --line: #c99f63;
  --shadow: 0 18px 45px rgba(62, 42, 24, 0.22);
  --header-bg: rgba(242, 219, 167, 0.94);
  --header-border: rgba(45, 35, 26, 0.14);
  --card-shadow: 0 10px 26px rgba(62, 42, 24, 0.11);
  --notice-text: #4a3527;
  --input-border: #b78c56;
  --solid: #2d231a;
  --solid-text: #fff2d4;
  --primary-text: #fff7e7;
  --footer-bg: #302017;
  --footer-ink: #fff2d4;
  --footer-text: rgba(255, 242, 212, 0.74);
  --ribbon-bg: #245f4d;
  --ribbon-ink: #fff2d4;
  --ribbon-accent: #dea638;
}

:root[data-theme="night"] {
  --ink: #f6e8c8;
  --muted: #cdb990;
  --paper: #211712;
  --surface: #2d1f18;
  --cream: #3b2a1f;
  --red: #c85a49;
  --red-dark: #a23f35;
  --blue: #527b91;
  --yellow: #e7b84c;
  --green: #2f725d;
  --accent-green: #9cc78b;
  --rose: #da8a78;
  --ochre: #c58a3e;
  --line: #5d4430;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  --header-bg: rgba(33, 23, 18, 0.94);
  --header-border: rgba(246, 232, 200, 0.1);
  --card-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  --notice-text: #f1ddb5;
  --input-border: #745b42;
  --solid: #e7b84c;
  --solid-text: #211712;
  --primary-text: #fff7e7;
  --footer-bg: #170f0c;
  --footer-ink: #fff7e7;
  --footer-text: rgba(255, 247, 231, 0.72);
  --ribbon-bg: #170f0c;
  --ribbon-ink: #fff7e7;
  --ribbon-accent: #e7b84c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(14px);
}

.store-ribbon {
  position: sticky;
  top: 76px;
  z-index: 19;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  min-height: 42px;
  padding: 0 clamp(14px, 5vw, 72px);
  color: var(--ribbon-ink);
  background: var(--ribbon-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--header-border);
}

.ribbon-kicker,
.ribbon-target {
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0;
}

.ribbon-kicker {
  justify-self: start;
  color: var(--ribbon-accent);
  text-align: left;
}

.ribbon-target {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 28px;
  padding: 0 10px;
  color: var(--solid-text);
  background: var(--solid);
  border: 1px solid color-mix(in srgb, var(--ribbon-accent) 42%, transparent);
  border-radius: 999px;
}

.ribbon-window {
  position: relative;
  height: 42px;
  overflow: hidden;
}

.ribbon-track {
  position: relative;
  height: 42px;
}

.ribbon-message {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(-110%);
  animation: ribbon-drop 10.5s ease-in-out infinite;
}

.ribbon-message:nth-child(2) {
  animation-delay: 3.5s;
}

.ribbon-message:nth-child(3) {
  animation-delay: 7s;
}

.ribbon-message::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-right: 14px;
  background: var(--ribbon-accent);
  border-radius: 999px;
}

.ribbon-payment-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  text-transform: none;
}

.ribbon-payment-list span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: var(--ribbon-ink);
  background: color-mix(in srgb, var(--surface) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ribbon-accent) 32%, transparent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.time-mark {
  display: inline-flex;
  align-items: center;
  min-height: 1.65em;
  padding: 0 0.45em;
  color: #151a18;
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 950;
  white-space: nowrap;
}

.ribbon-message .time-mark {
  margin-inline: 0.2em;
}

@keyframes ribbon-drop {
  0%,
  100% {
    opacity: 0;
    transform: translateY(-110%);
  }

  8%,
  30% {
    opacity: 1;
    transform: translateY(0);
  }

  38% {
    opacity: 0;
    transform: translateY(110%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-message {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .ribbon-message:first-child {
    opacity: 1;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: white;
  background: var(--red);
  border: 4px solid var(--yellow);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 15px;
}

.theme-switch {
  display: inline-grid;
  grid-template-columns: repeat(4, auto);
  padding: 2px;
  background: color-mix(in srgb, var(--cream) 86%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--ink));
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface) 28%, transparent);
}

.theme-switch button {
  min-height: 28px;
  padding: 0 8px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

html:not([data-theme-preference]) .theme-switch button[aria-pressed="true"],
:root[data-theme-preference="auto"] .theme-switch button[data-theme-choice="auto"],
:root[data-theme-preference="day"] .theme-switch button[data-theme-choice="day"],
:root[data-theme-preference="mid"] .theme-switch button[data-theme-choice="mid"],
:root[data-theme-preference="night"] .theme-switch button[data-theme-choice="night"] {
  color: var(--solid-text);
  background: var(--solid);
  border-color: color-mix(in srgb, var(--line) 54%, var(--ink));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface) 24%, transparent);
}

.nav a,
.text-link,
.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.text-link:hover,
.footer-links a:hover {
  border-bottom-color: currentColor;
}

.cart-toggle,
.button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--solid-text);
  background: var(--solid);
  border: 1px solid color-mix(in srgb, var(--line) 58%, var(--ink));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface) 18%, transparent);
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  color: #202020;
  background: color-mix(in srgb, var(--yellow) 92%, #fff);
  border: 1px solid color-mix(in srgb, #202020 28%, var(--line));
  font-weight: 800;
  font-size: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  color: var(--primary-text);
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--ink);
}

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: min(560px, calc(100svh - 210px));
  isolation: isolate;
  display: grid;
  align-items: start;
  padding: clamp(26px, 4vw, 46px) clamp(18px, 5vw, 72px) clamp(26px, 3vw, 42px);
  overflow: hidden;
  background: #111815;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.34) 46%, rgba(0, 0, 0, 0.1));
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  max-width: 720px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
}

.hero h1 {
  margin-bottom: 14px;
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero p,
.lead {
  font-size: clamp(18px, 2.1vw, 23px);
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.8vw, 20px);
}

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

.dispatch-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  max-width: 680px;
  margin-top: 14px;
  padding: 10px 14px;
  color: #fff;
  background: rgba(8, 14, 12, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 5px solid var(--yellow);
  backdrop-filter: blur(10px);
}

.dispatch-strip span,
.dispatch-strip p {
  color: rgba(255, 255, 255, 0.74);
}

.dispatch-strip span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dispatch-strip .time-mark {
  display: inline-flex;
  color: #151a18;
  font-size: 0.95em;
  text-transform: none;
}

.dispatch-strip strong {
  display: block;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.15;
}

.dispatch-strip p strong {
  display: inline;
  color: #fff;
  font-size: inherit;
}

.dispatch-clock {
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 950;
  white-space: nowrap;
}

.dispatch-strip p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  font-size: 14px;
}

.notice-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.notice-band span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: var(--surface);
  text-align: center;
  font-weight: 700;
  color: var(--notice-text);
}

.section,
.split-band,
.product-page,
.checkout-page,
.page,
.admin-page {
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

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

.section-head p,
.page-title p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.delivery-options {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.courier-pilot-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: -8px 0 18px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: 8px;
}

.courier-pilot-line strong {
  font-size: 18px;
}

.courier-pilot-line > span {
  color: var(--muted);
  font-weight: 800;
}

.delivery-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.delivery-option {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.delivery-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 132px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
}

.logo-lalamove {
  color: #ffffff;
  background: #f36d21;
}

.logo-grab {
  color: #ffffff;
  background: #00b14f;
}

.logo-flash {
  color: #222222;
  background: #ffd100;
}

.delivery-option strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.delivery-option p {
  margin-bottom: 0;
  color: var(--muted);
}

.delivery-option span {
  align-self: end;
  display: inline-flex;
  justify-self: start;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: var(--solid-text);
  background: var(--solid);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cold-chain-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cold-chain-strip strong,
.cold-chain-strip span {
  font-weight: 900;
}

.cold-chain-strip span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.cold-chain-strip em {
  color: var(--muted);
  font-style: normal;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.product-image {
  position: relative;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  background: var(--cream);
}

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

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

.product-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.product-info {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.product-title {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.1;
}

.product-info p {
  color: var(--muted);
  margin-bottom: 0;
}

.product-meta,
.line-item,
.summary-line,
.cart-totals div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}

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

.product-meta strong {
  color: var(--ink);
  font-size: 20px;
}

.survival-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 72px);
  color: #151a18;
  background:
    linear-gradient(90deg, rgba(247, 206, 64, 0.92), rgba(247, 206, 64, 0.88) 48%, rgba(38, 86, 154, 0.92) 48%, rgba(38, 86, 154, 0.92) 74%, rgba(188, 40, 40, 0.94) 74%);
  overflow: hidden;
}

.survival-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.survival-band > * {
  position: relative;
  z-index: 1;
}

.survival-band h2 {
  max-width: 780px;
}

.survival-band p {
  max-width: 700px;
  color: rgba(21, 26, 24, 0.78);
  font-size: 18px;
}

.survival-band .secondary {
  color: #151a18;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(21, 26, 24, 0.18);
}

.survival-kit-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(21, 26, 24, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.survival-kit-card img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  background: var(--cream);
  border-radius: 6px;
}

.survival-kit-card strong,
.survival-kit-card span {
  display: block;
}

.survival-kit-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.survival-kit-card span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.survival-items {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.survival-items span {
  padding: 8px 12px;
  color: #151a18;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 26, 24, 0.14);
  border-radius: 999px;
  font-weight: 900;
}

.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  color: #fff;
  background: var(--green);
}

.split-band .eyebrow {
  color: var(--yellow);
}

.split-band p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

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

.arrival-grid div {
  min-height: 120px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.arrival-grid strong {
  display: block;
  color: var(--yellow);
  font-size: 34px;
  line-height: 1;
}

.arrival-grid span {
  display: block;
  margin-top: 16px;
  font-weight: 800;
}

.two-column,
.category-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-panel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-panel {
  min-height: 250px;
  display: grid;
  align-content: end;
  padding: 28px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  background: var(--blue);
}

.category-panel.arepas {
  background: var(--red);
}

.category-panel.survival {
  background: linear-gradient(135deg, #f2c33e 0 45%, #275aa2 45% 72%, #b8322c 72%);
}

.category-panel span {
  color: var(--yellow);
  font-weight: 900;
}

.category-panel strong {
  display: block;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.95;
}

.page-title {
  max-width: 900px;
  margin-bottom: 34px;
}

.product-page {
  padding-top: 34px;
}

.crumbs {
  display: flex;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 22px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.detail-image {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-image img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

.detail-copy h1 {
  color: var(--ink);
}

.product-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: var(--ink);
  background: color-mix(in srgb, var(--yellow) 18%, var(--surface));
  border-left: 4px solid var(--yellow);
  border-radius: 4px;
  font-size: 14px;
}

.product-note strong {
  font-weight: 900;
}

.buy-box {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.buy-box strong {
  font-size: 34px;
}

.buy-box span {
  color: var(--muted);
}

.qty-add {
  display: grid;
  grid-template-columns: 178px minmax(180px, 1fr);
  gap: 12px;
  align-items: end;
}

.qty-add label {
  max-width: none;
  margin: 0;
}

.qty-field {
  display: grid;
  gap: 6px;
}

.qty-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.qty-stepper {
  display: grid;
  grid-template-columns: 52px 74px 52px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--input-border);
  border-radius: 6px;
}

.qty-stepper button {
  min-height: 52px;
  color: var(--ink);
  background: var(--cream);
  border: 0;
  font-size: 24px;
  font-weight: 950;
  cursor: pointer;
}

.qty-stepper button:first-child {
  border-right: 1px solid var(--input-border);
}

.qty-stepper button:last-child {
  border-left: 1px solid var(--input-border);
}

.qty-stepper button:hover {
  background: color-mix(in srgb, var(--yellow) 18%, var(--cream));
}

.qty-field input {
  height: 52px;
  min-height: 52px;
  padding: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  font-size: 18px;
  font-weight: 900;
}

.qty-add .button {
  height: 52px;
  min-height: 52px;
}

.qty-field input::-webkit-outer-spin-button,
.qty-field input::-webkit-inner-spin-button,
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.qty-add .button {
  width: 100%;
  align-self: end;
}

.heating-guide {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 18px;
  background: color-mix(in srgb, var(--yellow) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--yellow) 42%, var(--line));
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
}

.heating-guide h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

.heating-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.heating-steps article {
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.heating-steps strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 900;
}

.heating-steps p,
.heating-safety {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.heating-safety {
  font-weight: 800;
}

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

.spec-list div,
.summary-box {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-list dt {
  font-weight: 900;
}

.spec-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.checkout-header {
  max-width: 880px;
  margin-bottom: 30px;
}

.checkout-minimal .checkout-page {
  padding-top: clamp(28px, 5vw, 58px);
}

.checkout-portal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr) auto;
  gap: clamp(14px, 3vw, 28px);
  align-items: center;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--green) 34%, var(--line));
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.checkout-portal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.checkout-portal-brand strong,
.checkout-portal-brand small {
  display: block;
}

.checkout-portal-brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.checkout-portal-copy {
  display: grid;
  gap: 4px;
}

.checkout-portal h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
}

.checkout-portal p {
  margin: 0;
  color: var(--muted);
}

.checkout-back-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-back-link::before {
  content: "<";
  margin-right: 8px;
  color: var(--green);
  font-weight: 950;
}

.checkout-back-link:hover {
  border-color: color-mix(in srgb, var(--green) 46%, var(--line));
  box-shadow: inset 3px 0 0 var(--green);
}

.checkout-minimal .checkout-summary {
  top: 24px;
  max-height: calc(100vh - 48px);
}

.checkout-security {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: -12px 0 24px;
  padding: 12px 14px;
  color: var(--ink);
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 34%, var(--line));
  border-radius: 8px;
}

.checkout-security strong {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.checkout-security span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 78%, var(--cream));
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--green));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

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

.checkout-form,
.checkout-summary,
.admin-card,
.admin-login .admin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.checkout-form,
.checkout-summary,
.admin-card {
  padding: clamp(18px, 3vw, 28px);
}

.checkout-summary {
  position: sticky;
  top: 138px;
  max-height: calc(100vh - 154px);
  overflow: auto;
}

.checkout-form h2 {
  margin-top: 28px;
  font-size: 22px;
}

.checkout-form h2:first-child {
  margin-top: 0;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-weight: 800;
}

.field-shell {
  margin-bottom: 14px;
  font-weight: 500;
}

.field-help {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--input-border);
  border-radius: 4px;
  font-weight: 500;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, font-weight 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--green) 54%, var(--input-border));
  box-shadow: inset 4px 0 0 var(--green);
}

textarea {
  resize: vertical;
}

.checkout-form input[readonly] {
  background: var(--cream);
}

.checkout-form input[readonly]:not([data-address-confirm]),
.checkout-form .checkout-confirmed,
.checkout-form [data-address-confirm].address-confirmed {
  color: var(--ink);
  background: color-mix(in srgb, var(--green) 9%, var(--surface));
  border-color: color-mix(in srgb, var(--green) 36%, var(--input-border));
  box-shadow: inset 4px 0 0 var(--green);
  font-weight: 800;
}

.checkout-form [data-address-confirm] {
  background: var(--cream);
  color: var(--muted);
}

.cart-checkout-link.is-disabled,
.cart-checkout-link[aria-disabled="true"] {
  color: color-mix(in srgb, var(--muted) 72%, var(--ink));
  background: color-mix(in srgb, var(--cream) 74%, var(--line));
  border-color: var(--line);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.72;
  pointer-events: none;
}

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

.phone-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px;
}

.phone-prefix {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--input-border);
  border-radius: 4px;
  font-weight: 800;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.payment-options label,
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-options label {
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.payment-options label.selected-payment {
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--green) 54%, var(--line));
  box-shadow: inset 4px 0 0 var(--green);
  font-weight: 900;
}

.payment-options label.payment-attention {
  background: color-mix(in srgb, var(--red) 7%, var(--surface));
  border-color: color-mix(in srgb, var(--red) 72%, var(--line));
  box-shadow: inset 4px 0 0 var(--red);
  animation: payment-attention-pulse 1200ms ease-in-out infinite;
}

.payment-options label > span:last-child {
  flex: 1 1 auto;
}

.disabled-option {
  cursor: not-allowed;
  color: var(--muted);
  opacity: 0.66;
}

.payment-options input,
.checkbox input {
  flex: 0 0 auto;
  width: auto;
  min-height: auto;
}

.payment-choice-logo {
  flex: 0 0 auto;
}

.payment-mark-promptpay {
  width: 78px;
  height: 34px;
  padding: 3px 5px;
}

.payment-mark-bank-transfer,
.payment-mark-cash-on-delivery {
  width: 64px;
  height: 34px;
}

.payment-panel {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shipping-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shipping-fact-grid article {
  min-height: 190px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.shipping-fact-grid article > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.shipping-fact-grid strong {
  display: inline-block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.shipping-fact-grid p {
  color: var(--muted);
}

.payment-panel[data-payment-panel="paypal"] {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.promptpay-qr-block {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.promptpay-amount {
  display: grid;
  gap: 2px;
  width: 170px;
  padding: 10px 12px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.promptpay-amount span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.promptpay-amount strong {
  color: var(--red);
  font-size: 28px;
  line-height: 1.1;
}

.paypal-box {
  width: min(100%, 380px);
  display: grid;
  justify-items: center;
  margin-inline: auto;
  min-height: 48px;
}

.paypal-box > * {
  margin-inline: auto;
}

.payment-panel.hidden,
.hidden {
  display: none !important;
}

.receipt-upload {
  margin-top: 10px;
  padding: 14px;
  background: color-mix(in srgb, var(--yellow) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--yellow) 52%, var(--line));
  border-radius: 8px;
  font-weight: 700;
}

.receipt-upload span {
  font-weight: 900;
}

.receipt-upload small {
  color: var(--muted);
  font-weight: 700;
}

@keyframes payment-attention-pulse {
  0%,
  100% {
    box-shadow: inset 4px 0 0 var(--red), 0 0 0 0 color-mix(in srgb, var(--red) 28%, transparent);
  }

  50% {
    box-shadow: inset 4px 0 0 var(--red), 0 0 0 4px color-mix(in srgb, var(--red) 0%, transparent);
  }
}

.qr-image,
.qr-placeholder {
  width: 170px;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--line);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.qr-placeholder strong,
.qr-placeholder span {
  display: block;
}

.qr-placeholder span,
.form-note,
.checkout-summary p,
.empty {
  color: var(--muted);
}

.checkout-summary .tax-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.summary-line,
.line-item {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line.total,
.line-item.total,
.cart-totals .grand {
  font-size: 20px;
  font-weight: 900;
  border-bottom: 0;
}

.form-message {
  display: none;
  gap: 5px;
  margin-top: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  font-weight: 700;
  line-height: 1.35;
}

.form-message.is-visible {
  display: grid;
}

.form-message strong,
.form-message span {
  display: block;
}

.form-message strong {
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.form-message.error {
  background: color-mix(in srgb, var(--red) 7%, var(--surface));
  border-color: color-mix(in srgb, var(--red) 44%, var(--line));
  box-shadow: inset 4px 0 0 var(--red), var(--card-shadow);
}

.form-message.error strong,
.error {
  color: var(--red);
}

.form-message.success {
  background: color-mix(in srgb, var(--green) 8%, var(--surface));
  border-color: color-mix(in srgb, var(--green) 38%, var(--line));
  box-shadow: inset 4px 0 0 var(--green), var(--card-shadow);
}

.form-message.success strong {
  color: var(--green);
}

.narrow {
  max-width: 860px;
  margin: 0 auto;
}

.page {
  min-height: 58vh;
}

.confirmation .summary-box {
  margin: 18px 0;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
  transition: background 180ms ease;
}

.cart-drawer.open {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.34);
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 16px;
  width: min(420px, 100%);
  height: 100%;
  padding: 22px;
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 180ms ease;
  overflow: auto;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-button {
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--cream);
  font-size: 28px;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 14px;
  align-content: start;
}

.empty-cart-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: var(--ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--yellow) 22%, var(--surface)), var(--surface) 54%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--yellow) 46%, var(--line));
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.empty-cart-card > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.empty-cart-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.empty-cart-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.empty-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.empty-cart-actions .button {
  min-height: 42px;
  padding-inline: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
}

.cart-line img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-line span {
  display: block;
  color: var(--muted);
}

.quantity {
  display: grid;
  grid-template-columns: 46px 66px 46px;
  gap: 6px;
  margin-top: 8px;
}

.quantity button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 6px;
  font-size: 22px;
  font-weight: 950;
  cursor: pointer;
}

.quantity input {
  min-height: 44px;
  padding: 4px 6px;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
}

.cart-totals {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.order-progress {
  display: grid;
  gap: 8px;
  padding: 12px;
  color: var(--ink);
  background: var(--cream);
  background: color-mix(in srgb, var(--yellow) 18%, var(--surface));
  border: 1px solid var(--line);
  border: 1px solid color-mix(in srgb, var(--yellow) 44%, var(--line));
  border-radius: 6px;
}

.order-progress.unlocked {
  background: var(--cream);
  background: color-mix(in srgb, var(--green) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--green) 42%, var(--line));
}

.order-progress div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.order-progress strong {
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
}

.order-progress span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.cart-drawer .order-progress {
  padding: 10px;
}

.cart-drawer .order-progress div:first-child {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px;
}

.cart-drawer .order-progress span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-bar {
  height: 7px;
  overflow: hidden;
  background: var(--line);
  background: color-mix(in srgb, var(--line) 72%, var(--surface));
  border-radius: 999px;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--red);
  border-radius: inherit;
}

.order-progress.unlocked .progress-bar span {
  background: var(--green);
}

.site-footer {
  display: grid;
  gap: 26px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--footer-ink);
  background: var(--footer-bg);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--footer-text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
}

.footer-payments {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--footer-ink) 16%, transparent);
}

.footer-display {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-footer .theme-switch {
  background: color-mix(in srgb, var(--footer-bg) 70%, var(--footer-ink));
  border-color: color-mix(in srgb, var(--footer-ink) 26%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--footer-bg) 72%, transparent);
}

.site-footer .theme-switch button {
  min-height: 32px;
  padding-inline: 11px;
  color: color-mix(in srgb, var(--footer-ink) 72%, transparent);
}

html:not([data-theme-preference]) .site-footer .theme-switch button[aria-pressed="true"],
:root[data-theme-preference="auto"] .site-footer .theme-switch button[data-theme-choice="auto"],
:root[data-theme-preference="day"] .site-footer .theme-switch button[data-theme-choice="day"],
:root[data-theme-preference="mid"] .site-footer .theme-switch button[data-theme-choice="mid"],
:root[data-theme-preference="night"] .site-footer .theme-switch button[data-theme-choice="night"] {
  color: #241610;
  background: color-mix(in srgb, var(--yellow) 88%, var(--surface));
  border-color: color-mix(in srgb, var(--yellow) 64%, var(--footer-ink));
}

.footer-display > span {
  color: color-mix(in srgb, var(--footer-ink) 68%, transparent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-credit {
  color: color-mix(in srgb, var(--footer-ink) 64%, transparent);
  font-size: 13px;
  font-weight: 800;
}

.footer-credit a {
  color: var(--footer-ink);
}

.footer-payments > span {
  color: color-mix(in srgb, var(--footer-ink) 68%, transparent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.payment-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 34px;
  padding: 4px 6px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

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

.payment-mark-paypal {
  width: 64px;
  height: 34px;
  padding-inline: 7px;
}

.payment-logo-grid .payment-mark-promptpay,
.payment-options .payment-mark-promptpay {
  width: 84px;
  height: 34px;
  padding: 3px 5px;
}

.legal-page {
  max-width: 720px;
}

.legal-document {
  padding: clamp(20px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  font-family: Georgia, "Times New Roman", serif;
}

.legal-document .legal-updated {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.legal-document h2 {
  margin: 28px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.legal-document p {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}

.admin-login {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 24px;
}

.admin-login .admin-card {
  width: min(420px, 100%);
}

.admin-page {
  display: grid;
  gap: 24px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-products {
  display: grid;
  gap: 16px;
}

.product-edit h3 {
  color: var(--blue);
}

.status-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
  }

  .store-ribbon {
    top: 98px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ribbon-kicker {
    display: none;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .delivery-option-grid {
    grid-template-columns: 1fr;
  }

  .shipping-fact-grid {
    grid-template-columns: 1fr;
  }

  .split-band,
  .product-detail,
  .survival-band,
  .category-panel-grid,
  .heating-steps,
  .checkout-portal,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    order: -1;
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  h2 {
    font-size: 30px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .store-ribbon {
    top: 98px;
    grid-template-columns: 1fr;
    gap: 0;
    padding-inline: 18px;
    padding-block: 4px;
  }

  .ribbon-message {
    justify-content: flex-start;
  }

  .ribbon-target {
    justify-self: start;
    margin-left: 20px;
    margin-bottom: 4px;
  }

  .brand small {
    max-width: 180px;
  }

  .hero {
    min-height: 500px;
    padding: 28px 18px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.36));
  }

  .notice-band,
  .delivery-option-grid,
  .product-grid,
  .two-column,
  .arrival-grid,
  .form-grid,
  .payment-options,
  .payment-panel {
    grid-template-columns: 1fr;
  }

  .phone-row {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 6px;
  }

  .phone-prefix {
    min-height: 42px;
    padding-inline: 6px;
    font-size: 14px;
  }

  .dispatch-strip {
    grid-template-columns: 1fr;
  }

  .qty-add {
    grid-template-columns: 1fr;
  }

  .section-head,
  .admin-head,
  .footer-main {
    display: grid;
  }

  .payment-panel {
    align-items: start;
  }

  .qr-image,
  .qr-placeholder,
  .promptpay-amount {
    width: min(100%, 220px);
  }

  .category-panel {
    min-height: 190px;
  }
}

/* La Gloriosa visual layer.
   Keeps the current ecommerce structure and behavior intact while adding
   Colombian watercolor market styling. Placeholder motif SVGs can be replaced
   later with final custom artwork using the same filenames. */
body {
  background:
    radial-gradient(circle at 16% 8%, color-mix(in srgb, var(--rose) 26%, transparent), transparent 26rem),
    radial-gradient(circle at 84% 16%, color-mix(in srgb, var(--yellow) 28%, transparent), transparent 24rem),
    linear-gradient(color-mix(in srgb, var(--paper) 82%, transparent), color-mix(in srgb, var(--paper) 86%, transparent)),
    var(--pattern-image);
  background-color: var(--paper);
  background-size: auto, auto, auto, 720px auto;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--surface) 34%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--surface) 28%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.18;
}

h1,
h2,
h3,
.brand strong,
.product-title,
.category-panel strong,
.survival-kit-card strong,
.checkout-portal h1 {
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-weight: 800;
}

h1,
h2,
.detail-copy h1,
.page-title h1 {
  color: var(--ink);
}

.site-header {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--surface) 82%, transparent), color-mix(in srgb, var(--paper) 74%, transparent)),
    var(--border-motif-image);
  background-position: center, center bottom;
  background-repeat: repeat, repeat-x;
  background-size: auto, 700px auto;
  box-shadow: 0 4px 18px rgba(80, 43, 25, 0.08);
}

.brand-mark {
  width: 46px;
  height: 46px;
  color: var(--footer-ink);
  background:
    radial-gradient(circle at 38% 34%, color-mix(in srgb, var(--yellow) 36%, transparent), transparent 34px),
    var(--red);
  border: 2px solid var(--yellow);
  outline: 2px solid color-mix(in srgb, var(--red-dark) 36%, transparent);
  outline-offset: 2px;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: color-mix(in srgb, var(--muted) 88%, var(--ink));
  font-weight: 700;
}

.nav a {
  color: var(--ink);
  font-weight: 850;
}

.store-ribbon {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--green) 92%, #12352d), color-mix(in srgb, var(--blue) 54%, var(--green))),
    var(--border-motif-image);
  background-position: center, center;
  background-size: auto, 620px auto;
}

.ribbon-target,
.time-mark {
  color: #2a1a13;
  background: color-mix(in srgb, var(--yellow) 94%, #fff3c9);
  border-color: color-mix(in srgb, var(--ochre) 64%, var(--yellow));
}

.ribbon-payment-list span {
  color: var(--ribbon-ink);
  background: rgba(255, 247, 231, 0.13);
  border-color: rgba(255, 247, 231, 0.28);
}

.la-gloriosa-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.85fr);
  align-items: center;
  min-height: 650px;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--red) 30%, transparent), transparent 15rem),
    radial-gradient(circle at 68% 78%, color-mix(in srgb, var(--yellow) 34%, transparent), transparent 18rem),
    linear-gradient(100deg, color-mix(in srgb, var(--paper) 88%, white), color-mix(in srgb, var(--rose) 34%, var(--paper)) 54%, color-mix(in srgb, var(--yellow) 38%, var(--paper))),
    var(--pattern-image);
  background-size: auto, auto, auto, 720px auto;
}

.la-gloriosa-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 142px;
  background: var(--border-motif-image) center bottom / 860px auto repeat-x;
  opacity: 0.8;
}

.la-gloriosa-hero::after {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 90%, transparent), color-mix(in srgb, var(--paper) 54%, transparent) 48%, color-mix(in srgb, var(--paper) 8%, transparent)),
    radial-gradient(circle at 78% 55%, color-mix(in srgb, var(--surface) 52%, transparent), transparent 18rem);
}

.hero > img.hero-food-image {
  inset: clamp(224px, 22vw, 272px) clamp(28px, 5vw, 80px) auto auto;
  z-index: 1;
  width: min(43vw, 580px);
  height: min(50vw, 390px);
  object-fit: cover;
  opacity: 1;
  mix-blend-mode: normal;
  background: var(--surface);
  border: 8px solid color-mix(in srgb, var(--surface) 86%, white);
  border-radius: 10px;
  box-shadow: 0 24px 58px rgba(80, 43, 25, 0.24);
  filter: saturate(1.1) contrast(1.04);
  transform: rotate(-1.5deg);
}

.hero-food-callout {
  position: absolute;
  right: clamp(44px, 7vw, 112px);
  top: clamp(438px, 38vw, 486px);
  bottom: auto;
  z-index: 4;
  display: grid;
  gap: 1px;
  min-width: 176px;
  padding: 12px 14px;
  color: #321d15;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--yellow) 90%, #fff3c6), color-mix(in srgb, var(--yellow) 72%, var(--surface)));
  border: 2px solid color-mix(in srgb, var(--red-dark) 52%, var(--yellow));
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(80, 43, 25, 0.24);
  transform: rotate(2deg);
}

.hero-food-callout span,
.hero-food-callout em {
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-food-callout strong {
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: 22px;
  line-height: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  color: var(--ink);
}

.hero .eyebrow {
  color: var(--red-dark);
}

.hero h1 {
  max-width: 700px;
  color: var(--ink);
  text-wrap: balance;
}

.hero p {
  color: color-mix(in srgb, var(--ink) 76%, var(--muted));
  font-weight: 700;
}

.hero-portrait {
  position: absolute;
  top: clamp(126px, 17vw, 154px);
  right: clamp(22px, 4vw, 58px);
  bottom: auto;
  z-index: 3;
  width: min(18vw, 205px);
  max-width: 205px;
  pointer-events: none;
  transform: rotate(4deg);
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -8% -10%;
  z-index: -1;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--yellow) 76%, var(--surface)), color-mix(in srgb, var(--red) 34%, var(--surface))),
    var(--border-motif-image);
  background-size: auto, 360px auto;
  border: 2px solid color-mix(in srgb, var(--red) 48%, var(--line));
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(80, 43, 25, 0.22);
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 0.82 / 1;
  max-height: 270px;
  object-fit: cover;
  object-position: center top;
  border: 5px solid color-mix(in srgb, var(--surface) 88%, white);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(80, 43, 25, 0.18);
  filter: saturate(1.1) contrast(1.04);
}

:root[data-theme="night"] .la-gloriosa-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(184, 75, 59, 0.42), transparent 15rem),
    radial-gradient(circle at 70% 80%, rgba(232, 180, 62, 0.34), transparent 18rem),
    linear-gradient(100deg, #3a2118, #623223 54%, #7d5724),
    var(--pattern-image);
  background-size: auto, auto, auto, 650px auto;
}

:root[data-theme="night"] .la-gloriosa-hero::after {
  background:
    linear-gradient(90deg, rgba(35, 20, 15, 0.9), rgba(35, 20, 15, 0.5) 48%, rgba(35, 20, 15, 0.08)),
    radial-gradient(circle at 78% 55%, rgba(255, 232, 190, 0.16), transparent 18rem);
}

.button {
  border-radius: 4px;
  box-shadow: inset 0 -2px 0 color-mix(in srgb, #000 16%, transparent);
}

.button.primary {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--red) 90%, var(--rose)), color-mix(in srgb, var(--red-dark) 88%, #4b211a));
  border-color: color-mix(in srgb, var(--red-dark) 76%, var(--ink));
}

.button.primary:hover {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--red) 80%, var(--rose)), color-mix(in srgb, var(--red-dark) 88%, var(--ink)));
}

.button.secondary,
.checkout-back-link,
.icon-button {
  background: color-mix(in srgb, var(--surface) 86%, var(--cream));
  border-color: color-mix(in srgb, var(--line) 78%, var(--ink));
}

.dispatch-strip {
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-color: color-mix(in srgb, var(--red) 24%, var(--line));
  border-left-color: var(--red);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(6px);
}

.dispatch-strip span,
.dispatch-strip p {
  color: var(--muted);
}

.dispatch-strip p strong,
.dispatch-clock {
  color: var(--red-dark);
}

.notice-band {
  background:
    linear-gradient(90deg, var(--line), color-mix(in srgb, var(--rose) 32%, var(--line)), var(--line));
}

.notice-band span {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 84%, transparent), color-mix(in srgb, var(--yellow) 20%, var(--paper))),
    var(--pattern-image);
  background-size: auto, 520px auto;
  font-weight: 850;
}

.section,
.product-page,
.checkout-page,
.page,
.admin-page {
  position: relative;
}

.section-head {
  border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  padding-bottom: 16px;
}

.eyebrow {
  color: var(--red-dark);
}

.text-link {
  color: var(--green);
  font-weight: 950;
}

.product-card,
.delivery-option,
.shipping-fact-grid article,
.buy-box,
.detail-image,
.spec-list div,
.summary-box,
.checkout-form,
.checkout-summary,
.admin-card,
.survival-kit-card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, white), color-mix(in srgb, var(--paper) 28%, var(--surface))),
    var(--surface);
  border-color: color-mix(in srgb, var(--line) 82%, var(--ink));
}

.product-card {
  position: relative;
  border-top: 5px solid var(--yellow);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--surface) 66%, transparent);
  border-radius: 8px;
}

.product-image {
  background:
    linear-gradient(color-mix(in srgb, var(--cream) 70%, transparent), color-mix(in srgb, var(--yellow) 18%, var(--cream))),
    var(--pattern-image);
  background-size: auto, 360px auto;
}

.product-card:nth-child(2n) {
  border-top-color: var(--red);
}

.product-card:nth-child(3n) {
  border-top-color: var(--green);
}

.product-card:nth-child(4n) {
  border-top-color: var(--blue);
}

.product-image span {
  color: var(--footer-ink);
  background: var(--green);
  border: 1px solid color-mix(in srgb, var(--yellow) 46%, transparent);
  border-radius: 999px;
}

.product-title {
  color: var(--red-dark);
}

.product-info .button.primary {
  min-height: 52px;
  font-size: 16px;
}

.product-meta strong,
.buy-box strong,
.promptpay-amount strong {
  color: var(--red-dark);
}

.survival-band {
  color: var(--ink);
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--yellow) 78%, var(--paper)), color-mix(in srgb, var(--rose) 46%, var(--paper)) 50%, color-mix(in srgb, var(--green) 44%, var(--paper))),
    var(--pattern-image);
  background-size: auto, 620px auto;
}

.survival-band p {
  color: color-mix(in srgb, var(--ink) 72%, var(--muted));
}

.survival-band::after {
  background: linear-gradient(90deg, rgba(255, 247, 231, 0.4), rgba(255, 247, 231, 0.08));
}

.survival-items span {
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border-color: color-mix(in srgb, var(--red) 24%, var(--line));
}

.split-band {
  color: var(--footer-ink);
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--green) 90%, #101513), color-mix(in srgb, var(--blue) 64%, var(--green))),
    var(--pattern-image);
  background-size: auto, 600px auto;
}

.arrival-grid div {
  background: rgba(255, 247, 231, 0.13);
  border-color: rgba(255, 247, 231, 0.22);
  border-radius: 8px;
}

.category-panel {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--green) 82%, var(--blue)), color-mix(in srgb, var(--green) 62%, var(--ink))),
    var(--pattern-image);
  background-size: auto, 460px auto;
}

.category-panel.arepas {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--red) 84%, var(--rose)), color-mix(in srgb, var(--red-dark) 78%, var(--ink))),
    var(--pattern-image);
  background-size: auto, 460px auto;
}

.category-panel.survival {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--yellow) 86%, var(--surface)), color-mix(in srgb, var(--blue) 58%, var(--green)) 58%, color-mix(in srgb, var(--red) 76%, var(--ink))),
    var(--pattern-image);
  background-size: auto, 460px auto;
}

.category-panel span {
  color: color-mix(in srgb, var(--yellow) 78%, #fff);
}

.payment-options label,
.phone-prefix,
.order-progress,
.checkout-security,
.payment-panel,
.receipt-upload,
.heating-guide,
.product-note,
.courier-pilot-line,
.cold-chain-strip {
  border-radius: 8px;
}

.checkout-portal {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--cream) 42%, var(--surface))),
    var(--border-motif-image);
  background-position: center, center bottom;
  background-size: auto, 620px auto;
}

.site-footer {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--footer-bg) 88%, #000), color-mix(in srgb, var(--footer-bg) 86%, var(--red-dark))),
    var(--pattern-image);
  background-color: var(--footer-bg);
  background-size: auto, 620px auto;
  border-top: 6px solid var(--red);
}

.site-footer strong {
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: 28px;
}

.footer-payments,
.footer-display {
  border-color: color-mix(in srgb, var(--footer-ink) 18%, transparent);
}

.payment-mark {
  border-color: color-mix(in srgb, var(--yellow) 22%, rgba(255, 255, 255, 0.18));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 980px) {
  .la-gloriosa-hero {
    grid-template-columns: 1fr;
    min-height: 720px;
  }

  .hero > img.hero-food-image {
    top: auto;
    right: 24px;
    left: auto;
    bottom: 34px;
    width: min(58vw, 430px);
    height: 250px;
  }

  .hero-portrait {
    top: auto;
    right: 24px;
    bottom: 260px;
    width: min(23vw, 150px);
  }

  .hero-food-callout {
    top: auto;
    right: 48px;
    bottom: 50px;
  }
}

@media (max-width: 680px) {
  body {
    background-size: auto, auto, auto, 640px auto;
  }

  .site-header {
    background-size: auto, 620px auto;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 13px;
  }

  .la-gloriosa-hero {
    min-height: auto;
    align-content: start;
    padding: 28px 18px 34px;
    background-size: auto, auto, auto, 560px auto;
  }

  .la-gloriosa-hero::after {
    background:
      radial-gradient(circle at 76% 74%, color-mix(in srgb, var(--surface) 58%, transparent), transparent 14rem),
      linear-gradient(180deg, color-mix(in srgb, var(--paper) 96%, transparent), color-mix(in srgb, var(--paper) 72%, transparent) 62%, color-mix(in srgb, var(--paper) 22%, transparent));
  }

  .hero > img.hero-food-image {
    position: relative;
    order: 2;
    inset: auto;
    width: 100%;
    height: 226px;
    margin-top: 18px;
    opacity: 1;
    transform: rotate(-1deg);
    border-width: 6px;
  }

  .hero-portrait {
    position: relative;
    order: 3;
    top: auto;
    right: auto;
    bottom: auto;
    justify-self: start;
    width: 118px;
    margin-top: -178px;
    margin-left: 18px;
  }

  .hero-portrait img {
    max-height: 156px;
    border-width: 4px;
  }

  .hero-food-callout {
    position: relative;
    order: 4;
    top: auto;
    right: auto;
    bottom: auto;
    justify-self: end;
    min-width: 150px;
    margin-top: -72px;
    margin-right: 12px;
    padding: 10px 12px;
  }

  .hero-food-callout strong {
    font-size: 19px;
  }

  .hero p {
    max-width: 92%;
  }

  .section-head {
    gap: 12px;
  }

  .payment-logo-grid {
    gap: 7px;
  }
}

/* La Gloriosa hero handoff.
   Header/navigation stays live HTML; the banner artwork is a responsive picture and must not be cropped. */
:root {
  --lg-hero-paper: #f6efe3;
  --lg-hero-ink: #64100f;
  --lg-hero-orange: #ec7200;
  --lg-hero-aqua: #67c9d2;
  --lg-hero-nav-height: 108px;
  --lg-hero-side-pad: clamp(24px, 5vw, 92px);
  --lg-hero-artwork-aspect: 1.8;
}

:root[data-theme="mid"] {
  --lg-hero-paper: #f2dba7;
  --lg-hero-ink: #561813;
  --lg-hero-orange: #d96514;
  --lg-hero-aqua: #58b9c4;
}

:root[data-theme="night"] {
  --lg-hero-paper: #211712;
  --lg-hero-ink: #f6e8c8;
  --lg-hero-orange: #eea448;
  --lg-hero-aqua: #4f9ba3;
}

.site-header {
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(18px, 2.4vw, 44px);
  align-items: center;
  min-height: var(--lg-hero-nav-height);
  padding: 18px var(--lg-hero-side-pad);
  color: var(--lg-hero-ink);
  background: var(--lg-hero-paper);
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header__nav,
.site-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 44px);
}

.site-header__nav a,
.order-button,
.mobile-header-nav a {
  color: inherit;
  text-decoration: none;
  font-size: clamp(0.84rem, 0.8vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header .brand {
  display: grid;
  justify-items: center;
  color: var(--lg-hero-orange);
  line-height: 0.9;
  text-decoration: none;
  text-transform: uppercase;
}

.brand__main {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.78rem, 2.2vw, 2.62rem);
  letter-spacing: 0.13em;
}

.brand__sub {
  font-size: clamp(1rem, 1.24vw, 1.5rem);
  letter-spacing: 0.28em;
}

.site-header__actions {
  justify-content: flex-end;
  gap: clamp(22px, 2.2vw, 38px);
}

.cart-link {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  color: var(--lg-hero-ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cart-link svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-link .cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 22px;
  height: 22px;
  color: var(--lg-hero-ink);
  background: var(--lg-hero-aqua);
  border: 2px solid var(--lg-hero-paper);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.order-button {
  display: inline-grid;
  min-width: 164px;
  min-height: 72px;
  place-items: center;
  padding: 18px 28px;
  background:
    linear-gradient(90deg, transparent 0 4px, var(--lg-hero-aqua) 4px calc(100% - 4px), transparent calc(100% - 4px)),
    linear-gradient(0deg, transparent 0 5px, var(--lg-hero-aqua) 5px calc(100% - 5px), transparent calc(100% - 5px));
}

.menu-button {
  display: grid;
  width: 54px;
  height: 44px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--lg-hero-ink);
}

.mobile-header-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  padding-top: 10px;
}

.mobile-header-nav[hidden] {
  display: none;
}

.hero {
  display: grid;
  min-height: calc(100svh - var(--lg-hero-nav-height));
  place-items: start center;
  padding: 0;
  overflow: hidden;
  isolation: auto;
  background: var(--lg-hero-paper);
}

.hero::after {
  content: none;
}

.hero__picture,
.hero__image {
  display: block;
}

.hero__picture {
  width: min(100%, calc((100svh - var(--lg-hero-nav-height)) * var(--lg-hero-artwork-aspect)));
  margin-inline: auto;
}

.hero__image {
  width: 100%;
  height: auto;
  max-width: none;
}

@media (max-width: 900px) {
  :root {
    --lg-hero-nav-height: 126px;
    --lg-hero-side-pad: 20px;
    --lg-hero-artwork-aspect: 0.5625;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: start;
    padding-top: 34px;
  }

  .site-header__nav,
  .cart-link {
    display: none;
  }

  .site-header .brand {
    justify-self: start;
  }

  .brand__main {
    font-size: clamp(1.25rem, 5.6vw, 1.75rem);
    letter-spacing: 0.12em;
  }

  .brand__sub {
    font-size: clamp(0.74rem, 3.2vw, 1rem);
    letter-spacing: 0.24em;
  }

  .site-header__actions {
    grid-column: 3;
    gap: 16px;
  }

  .order-button {
    min-width: 118px;
    min-height: 74px;
    padding: 14px 18px;
    line-height: 1.15;
    text-align: center;
  }

  .menu-button {
    width: 42px;
    height: 38px;
  }

  .mobile-header-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-inline: 12px;
  }

  .order-button {
    min-width: 108px;
    font-size: 0.75rem;
  }
}
