@font-face { font-family: Geo; src: url("/editorial-red/geometos.ttf") format("truetype"); }
@font-face { font-family: Chunk; src: url("/editorial-red/chunk-five-print.otf") format("opentype"); }
@font-face { font-family: Market; src: url("/editorial-red/market-deco.ttf") format("truetype"); }

:root {
  --red: #fd4a3b;
  --action: #ef3822;
  --ink: #171717;
  --display: Geo, Arial, sans-serif;
  --brand: Chunk, Georgia, serif;
  --accent: Market, Geo, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #e9e9e9; color: var(--ink); font: 14px Arial, sans-serif; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
button:disabled { opacity: .5; cursor: default; }

.site {
  --theme-progress: 0;
  --white-share: calc(var(--theme-progress) * 100%);
  --surface: color-mix(in srgb, var(--red), #fff var(--white-share));
  --fg: color-mix(in srgb, #fff, var(--ink) var(--white-share));
  --rule: color-mix(in srgb, rgba(255,255,255,.33), #eaeaea var(--white-share));
  --cat: var(--fg);
  max-width: 1150px;
  min-height: 100vh;
  position: relative;
  overflow: clip;
  margin: auto;
  background: var(--surface);
  color: var(--fg);
}
.site.menu-light { --theme-progress: 1; --cat: var(--red); }
.page-body { display: flow-root; }

.head {
  position: sticky;
  top: 0;
  z-index: 6;
  min-height: 62px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  padding-top: max(12px, env(safe-area-inset-top));
  background: var(--surface);
  color: var(--fg);
}
.brand { position: relative; display: block; width: 150px; max-width: 52%; color: inherit; }
.logo { display: block; width: 100%; height: auto; }
.logo-white { opacity: calc(1 - var(--theme-progress)); }
.logo-red { position: absolute; inset: 0; opacity: var(--theme-progress); mix-blend-mode: multiply; }
.headright { display: flex; align-items: center; }
.bag {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  font: 400 13px/1.2 var(--display);
}
.bag svg { width: 25px; height: 25px; }
#headerTotal { order: -1; white-space: nowrap; }

.hero { position: relative; overflow: hidden; padding-bottom: 4px; }
.hero .photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 5%, #000 94%, transparent 100%);
}
.hero .copy { padding: 12px 20px 26px; text-align: center; }
.hero h1 {
  margin: 0;
  font: 400 clamp(29px, 8vw, 37px)/1.03 var(--brand);
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.hero p { margin: 14px 0 0; font: 400 12px/1.5 var(--display); letter-spacing: .015em; }

.catalog { scroll-margin-top: 70px; padding: 18px 18px 30px; border-top: 1px solid var(--rule); color: var(--fg); }
.catalogtop { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 13px; }
.catalogtop h2 { margin: 0; font: 400 23px/1.1 var(--display); }
.catalogtop span { opacity: .8; font-size: 11px; }
.cats {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 0 20px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--rule);
}
.cats button {
  justify-self: start;
  min-height: 32px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--cat);
  font: 400 11px/1.2 var(--display);
  white-space: nowrap;
}
.cats button[aria-pressed="true"] { border-color: var(--cat); }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 13px; }
.product { min-width: 0; display: flex; flex-direction: column; }
.thumb { width: 100%; padding: 0; border: 0; border-radius: 0; aspect-ratio: 4 / 3; background: transparent; display: block; }
.image-slot, .detail-slot { display: block; width: 100%; height: 100%; background: #f3f3f3; }
.site:not(.menu-light) .image-slot { background: rgba(255,255,255,.15); }
.thumb img, .detail-slot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product h3 { margin: 7px 0 3px; font: 400 12px/1.35 var(--display); overflow-wrap: anywhere; }
.product .portion { font-size: 11px; opacity: .8; }
.productbottom { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; gap: 4px; }
.price { font: 400 15px/1 var(--display); }
.availability { font-size: 11px; overflow-wrap: anywhere; }
.add {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font: 24px/1 Arial, sans-serif;
}
.site:not(.menu-light) .add { background: #fff; color: var(--ink); }
.cartbar {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 24px);
  min-height: 58px;
  margin: 0 12px max(12px, env(safe-area-inset-bottom));
  padding: 12px 15px 25px;
  overflow: hidden;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font: 400 13px/1.2 var(--display);
}
.cartbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 16px;
  background: repeating-conic-gradient(#fff 0% 25%, var(--red) 0% 50%) 0 0 / 16px 16px;
  pointer-events: none;
}
.site:not(.menu-light) .cartbar { border-color: #fff; }
.cartbar:focus-visible { outline-color: var(--ink); }

/* The prototype's modal surface also holds the live checkout and modifiers. */
.modal {
  border: 0;
  padding: 0;
  width: calc(100% - 20px);
  max-width: 430px;
  max-height: 85vh;
  max-height: 85dvh;
  border-radius: 14px 14px 6px 6px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 80px #0004;
  overscroll-behavior: contain;
}
body:has(.modal[open]) { overflow: hidden; }
.modal::backdrop { background: #0006; }
.modalbody { padding: 22px; }
.modalbody h2 { margin: 0 30px 14px 0; font-family: var(--display); font-size: 20px; overflow-wrap: anywhere; }
.modalbody p { line-height: 1.5; }
.close { position: absolute; z-index: 1; right: 12px; top: 10px; border: 0; background: #fff; font: 26px Arial; width: 40px; height: 40px; }
.detail-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.detail-slot { height: 150px; }
.detail-gallery .detail-slot { scroll-snap-align: start; }
.detail-slot img { background: #fff; }
.modalcta {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border: 0;
  border-radius: 4px;
  background: var(--action);
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}
.line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #eee; }
.line span { min-width: 0; overflow-wrap: anywhere; }
.line small { display: block; margin-top: 4px; line-height: 1.4; }
.line .unit-total { margin-top: 0; color: var(--ink); line-height: normal; }
.qty, .stepper { display: flex; align-items: center; gap: 9px; flex: none; }
.qty button, .stepper button { width: 32px; height: 32px; background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 0; }
.line-actions { flex: none; }
.remove { display: block; padding: 6px 0 0; margin-left: auto; border: 0; background: none; color: #555; font-size: 11px; }
.stepper input { width: 39px; min-height: 32px; text-align: center; appearance: textfield; padding: 0 2px; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
fieldset { margin: 12px 0; min-inline-size: 0; border: 1px solid #eaeaea; }
legend { padding-inline: 5px; font-family: var(--display); }
.choice { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; }
.choice > span { min-width: 0; overflow-wrap: anywhere; }
.choice small, #notice { display: block; color: #555; margin-top: 4px; }
.product-quantity { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#contact label { display: grid; gap: 5px; margin-block: 10px; }
#contact input, .stepper input { border: 1px solid #ddd; border-radius: 4px; background: #fff; font-size: 16px; }
#contact input { min-width: 0; min-height: 42px; width: 100%; padding: 8px; }
.error { color: #a3211a; }
.error:empty, #notice:empty { display: none; }

#receipt { padding: 18px; }
.receipt-card { margin: 16px auto; max-width: 430px; border: 1px solid #eaeaea; padding: 22px; overflow-wrap: anywhere; }
.receipt-card h1, .receipt-card h2 { font: 400 22px/1.15 var(--display); margin: 0 0 12px; }
.receipt-caption { font: 400 13px var(--accent); }
.receipt-items { margin: 12px 0; }
.receipt-line { display: flex; justify-content: space-between; align-items: baseline; gap: 7px; padding-block: 9px; border-bottom: 1px solid #eee; }
.receipt-line small { display: block; }
.receipt-line strong { white-space: nowrap; }
.payment-state { padding: 10px 12px; border-left: 2px solid #eaeaea; }
.payment-state[data-state="confirmed"] { border-color: var(--ink); }
.payment-state[data-state="canceled"], .payment-state[data-state="rejected"] { border-color: var(--red); }
.receipt-link { display: inline-block; margin-top: 12px; color: inherit; }

@media (min-width: 601px) {
  .site { box-shadow: 0 3px 28px #0001; }
  .head { padding: 18px 20px; min-height: 64px; }
  .hero .photo {
    max-width: 760px;
    margin: auto;
    mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 94%, transparent),
                linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-composite: intersect;
  }
  .hero .copy { padding-bottom: 34px; }
  .hero h1 { font-size: 54px; }
  .hero p { font-size: 15px; }
  .catalog { padding: 18px 35px 40px; }
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; }
  .product h3 { font-size: 15px; }
  .cartbar { max-width: 400px; margin-left: auto; margin-right: 20px; }
}

.site-footer {
  padding: 26px 18px max(16px, env(safe-area-inset-bottom));
  background: var(--red);
  color: #fff;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 20px;
}
.footer-top img { display: block; width: 150px; max-width: 100%; height: auto; }
.footer-top p { margin: 0; line-height: 1.4; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-block: 18px;
  border-block: 1px solid #fff9;
}
.footer-nav h2 { margin: 0; font: 400 12px/1.3 var(--display); text-transform: uppercase; }
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-weight: bold;
  text-underline-offset: 3px;
}
.footer-nav li { line-height: 1.3; overflow-wrap: anywhere; }
.footer-nav li span { display: block; margin-bottom: 8px; }
.footer-nav li:last-child span { margin-bottom: 0; }
.footer-copy { display: block; margin-top: 16px; font: 400 12px/1.3 var(--display); }

.info {
  max-width: 750px;
  margin-inline: auto;
  padding: 18px 18px 34px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.menu-link, .info-list a {
  color: #a3211a;
  text-underline-offset: 3px;
}
.menu-link { display: inline-flex; min-height: 44px; align-items: center; }
.info h1 {
  margin: 12px 0 16px;
  font: 400 clamp(30px, 7vw, 52px)/1.08 var(--display);
  text-transform: uppercase;
}
.info-caption { margin: 0 0 16px; font-size: 15px; line-height: 1.4; }
.info-caption span { font: 400 14px/1.4 var(--accent); }
.info-list { margin: 0; border-top: 2px solid var(--red); }
.info-list > div { padding: 10px 0; border-bottom: 1px solid #eaeaea; }
.info-list dt { margin-bottom: 3px; color: #555; font: 400 11px/1.4 var(--display); text-transform: uppercase; }
.info-list dd { margin: 0; font-size: 15px; line-height: 1.45; }
.copy-details {
  min-height: 44px;
  margin-top: 18px;
  padding: 9px 14px;
  border: 1px solid var(--red);
  background: #fff;
  color: var(--ink);
  font: 400 12px/1.4 var(--display);
}
.copy-details:hover { background: #fff2f1; }
.info-status { margin: 7px 0 0; line-height: 1.4; }
.info-status:empty { margin: 0; }

@media (min-width: 601px) {
  .site-footer { padding-inline: 35px; }
  .footer-nav { gap: 24px; }
  .info { padding: 30px 35px 48px; }
}

.legal { font-size: 16px; line-height: 1.65; }
.legal h1 { font-size: clamp(29px, 6vw, 46px); }
.legal h2 { margin: 0 0 8px; font: 400 clamp(18px, 4vw, 22px)/1.3 var(--display); }
.legal p { margin: 0 0 10px; }
.legal section { padding-block: 20px; border-top: 1px solid #eaeaea; }
.legal section > :last-child { margin-bottom: 0; }
.legal .legal-note { margin: 0 0 22px; padding-left: 12px; border-left: 2px solid var(--red); }
.legal a, .checkout-offer a { color: #a3211a; text-underline-offset: 3px; }
.legal-facts { margin: 0 0 10px; }
.legal-facts > div { margin-bottom: 8px; }
.legal-facts dt { font-weight: bold; }
.legal-facts dd { margin: 0; }
.checkout-offer { margin: 8px 0 0; font-size: 12px; }

.orders-unavailable {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--red);
  background: #fff2f1;
}
