/*
 * Zestia Storefront · plantilla pública principal
 * ------------------------------------------------
 * Esta capa solo contiene estructura reutilizable. Logo, carta, precios,
 * textos e imágenes pertenecen al negocio y nunca forman parte del tema
 * global.
 */

body.app-body.storefront-font-editorial {
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.app-body.storefront-font-market {
  --font-heading: "Arial Narrow", "Avenir Next Condensed", Impact, ui-sans-serif, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.app-body.storefront-font-direct {
  --font-heading: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.app-body.theme-pizza_solas.storefront-template-editorial.storefront-shell {
  background:
    radial-gradient(circle at 10% -5%, rgba(255, 255, 255, 0.1), transparent 38%),
    radial-gradient(circle at 95% 10%, rgba(255, 255, 255, 0.06), transparent 30%),
    var(--journey-page-bg, #0b0b0b);
  color: var(--text);
  font-family: var(--font-body);
}

body.app-body.storefront-template-editorial.storefront-shell .site-header {
  border-color: var(--journey-line, #2e2e2e);
  background: color-mix(
    in srgb,
    var(--journey-surface-strong, #080808) 96%,
    transparent
  );
  color: var(--journey-text, #f7f4ef);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

body.app-body.storefront-template-editorial.storefront-shell .site-header :where(
  .brand-name,
  .nav-link,
  .cart-link,
  .customer-nav-toggle,
  .customer-nav-close
) {
  color: var(--journey-text, #f7f4ef);
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell .site-header .brand-tagline {
  color: var(--journey-muted, #b8b2aa);
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell .site-header :where(
  .cart-link,
  .ghost-button
) {
  border-color: var(--journey-line-on-dark, #353535);
  background: var(--journey-surface, #111111);
  color: var(--journey-text, #f7f4ef);
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell
  :where(h1, h2, h3, h4, h5, h6, .price, .product-title) {
  font-family: var(--font-heading);
}

body.app-body.storefront-template-editorial.storefront-shell .store-context-bar {
  border-color: var(--journey-line-on-dark, #353535);
  background: color-mix(
    in srgb,
    var(--journey-surface-strong, #080808) 94%,
    transparent
  );
  color: var(--journey-text-on-dark, #f7f4ef);
}

body.app-body.storefront-template-editorial.storefront-shell
  .store-context-bar
  :where(.store-context-bar__time strong) {
  color: var(--journey-text-on-dark, #f7f4ef);
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell
  .store-context-bar
  :where(.store-context-bar__label, .store-context-bar__time span) {
  color: var(--journey-muted-on-dark, #c9c3bb);
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell
  .store-context-bar
  .store-context-bar__cta {
  color: #080808;
  background: #fff;
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell .menu-header__copy h1 {
  font-size: clamp(2.7rem, 3.75vw, 3.35rem);
  line-height: 0.94;
}

body.app-body.storefront-template-editorial.storefront-shell
  .menu-section
  .section-header
  h2 {
  font-size: clamp(2rem, 2.5vw, 2.25rem);
  line-height: 1;
}

@media (min-width: 821px) {
  body.app-body.storefront-template-editorial.storefront-shell .site-header {
    min-height: 72px;
    flex-wrap: nowrap;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .site-header
    .brand-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  body.app-body.storefront-template-editorial.storefront-shell .main-nav {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

html.has-quick-product-dialog,
html.has-quick-product-dialog body {
  overflow: hidden;
}

body.app-body.storefront-shell .quick-product-dialog {
  width: min(940px, calc(100vw - 32px));
  max-width: 940px;
  max-height: min(88dvh, 940px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card, 16px);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.68);
}

body.app-body.storefront-shell .quick-product-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

body.app-body.storefront-shell .quick-product-dialog__shell {
  max-height: min(88dvh, 940px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

body.app-body.storefront-shell .quick-product-dialog__header {
  z-index: 3;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
}

body.app-body.storefront-shell .quick-product-dialog__identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

body.app-body.storefront-shell .quick-product-dialog__identity img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border: 1px solid var(--border);
  border-radius: 12px;
  object-fit: cover;
}

body.app-body.storefront-shell .quick-product-dialog__identity h2 {
  margin: 2px 0 3px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1;
}

body.app-body.storefront-shell .quick-product-dialog__identity p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

body.app-body.storefront-shell .quick-product-dialog__eyebrow {
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.app-body.storefront-shell .quick-product-dialog__close {
  flex: 0 0 auto;
  color: var(--text);
}

body.app-body.storefront-shell .quick-product-dialog__body {
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.app-body.storefront-shell .quick-product-dialog .product-purchase-card {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.app-body.storefront-shell .quick-product-dialog .product-purchase-card > h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.3rem;
}

body.app-body.storefront-shell .quick-product-dialog .product-details {
  margin-bottom: 12px;
}

body.app-body.storefront-shell .quick-product-dialog .product-configurator {
  border-color: var(--border);
  background: var(--bg-deep);
}

body.app-body.storefront-shell .quick-product-dialog .product-form .product-actions {
  bottom: 0;
}

body.app-body.storefront-shell .quick-product-dialog__detail-link {
  min-height: 44px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* The editorial tenant may intentionally use light runtime tokens for other
   surfaces. The quick order sheet is a dark decision surface, so its contrast
   must not inherit those light tenant values. */
body.app-body.storefront-template-editorial.storefront-shell .quick-product-dialog {
  width: min(1000px, calc(100vw - 32px));
  max-width: 1000px;
  border-color: var(--journey-line-on-dark, #353535);
  background: var(--journey-surface, #0f0f0f);
  color: var(--journey-text-on-dark, #f7f4ef);
  color-scheme: dark;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__header {
  border-color: var(--journey-line-on-dark, #353535);
  background:
    radial-gradient(circle at 8% 0%, rgba(213, 89, 70, 0.16), transparent 34%),
    var(--journey-surface-strong, #080808);
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__identity {
  flex: 1 1 auto;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__identity img {
  width: 96px;
  height: 96px;
  flex-basis: 96px;
  border-color: var(--journey-line-on-dark, #353535);
  border-radius: 16px;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__identity-copy {
  min-width: 0;
  flex: 1 1 auto;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__title-row h2,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__price,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__close,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .product-purchase-card > h2,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .product-configurator summary,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .option-choice__copy strong,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .ingredient-name,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .product-actions__qty-label {
  color: var(--journey-text-on-dark, #f7f4ef);
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__price {
  flex: 0 0 auto;
  font-size: 0.98rem;
  font-weight: 900;
  white-space: nowrap;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__identity p {
  color: var(--journey-muted-on-dark, #b9b6b1);
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__close {
  min-width: 104px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-color: var(--journey-line-on-dark, #353535);
  background: rgba(255, 255, 255, 0.06);
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__close-mark {
  font-size: 1.35rem;
  line-height: 1;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__body {
  background: var(--journey-surface, #0f0f0f);
  color: var(--journey-text-on-dark, #f7f4ef);
  scrollbar-gutter: stable;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__overview {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
  gap: 10px;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__overview-card {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--journey-line-on-dark, #353535);
  border-radius: 14px;
  background: var(--journey-surface-soft, #161616);
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__overview-label {
  display: block;
  margin-bottom: 6px;
  color: var(--journey-action, #d55946);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__overview-card p {
  margin: 0;
  color: var(--journey-text-on-dark, #f7f4ef);
  font-size: 0.9rem;
  line-height: 1.45;
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .product-purchase-card,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .product-details,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .product-configurator,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .option-choice {
  color: var(--journey-text-on-dark, #f7f4ef);
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .product-form .option-group,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .product-form .ingredient-control {
  border-color: var(--journey-line-on-dark, #353535);
  background: var(--journey-surface-soft, #161616);
  color: var(--journey-text-on-dark, #f7f4ef);
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .product-form .ingredient-control.is-extra {
  border-color: color-mix(
    in srgb,
    var(--journey-action, #d55946) 58%,
    var(--journey-line-on-dark, #353535)
  );
  background: color-mix(
    in srgb,
    var(--journey-surface-soft, #161616) 90%,
    var(--journey-action, #d55946)
  );
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .product-actions input[type="number"] {
  border-color: var(--journey-line-on-dark, #353535);
  background: var(--journey-surface, #0f0f0f);
  color: #f7f4ef !important;
  -webkit-text-fill-color: #f7f4ef !important;
  color-scheme: dark;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .option-choice__copy span,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .ingredient-meta,
body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog .muted {
  color: var(--journey-muted-on-dark, #b9b6b1);
  -webkit-text-fill-color: currentColor;
}

body.app-body.storefront-template-editorial.storefront-shell
  .quick-product-dialog__detail-link {
  color: var(--journey-text-on-dark, #f7f4ef);
  -webkit-text-fill-color: currentColor;
}

@media (max-width: 820px) {
  body.app-body.storefront-shell .quick-product-dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 58px);
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
  }

  body.app-body.storefront-shell .quick-product-dialog__shell {
    max-height: calc(100dvh - 58px);
  }

  body.app-body.storefront-shell .quick-product-dialog__header {
    padding: 11px 12px;
  }

  body.app-body.storefront-shell .quick-product-dialog__identity img {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  body.app-body.storefront-shell .quick-product-dialog__identity p {
    display: none;
  }

  body.app-body.storefront-shell .quick-product-dialog__body {
    padding: 12px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .quick-product-dialog__identity img {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .quick-product-dialog__title-row {
    display: block;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .quick-product-dialog__price {
    display: block;
    margin-top: 4px;
    font-size: 0.86rem;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .quick-product-dialog__close {
    min-width: 46px;
    padding-inline: 10px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .quick-product-dialog__close-label {
    display: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .quick-product-dialog__overview {
    grid-template-columns: 1fr;
  }
}

/* Product detail · editorial purchase sheet ----------------------------- */

body.app-body.storefront-template-editorial.storefront-shell .product-page--featured {
  width: min(100%, 1220px);
  margin-inline: auto;
  padding: clamp(16px, 2.4vw, 30px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
  border-radius: clamp(18px, 2.2vw, 28px);
  background:
    radial-gradient(circle at 4% 4%, color-mix(in srgb, var(--brand) 11%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 98%, #fff 2%), var(--bg-deep));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__top {
  min-height: 42px;
  margin-bottom: clamp(12px, 2vw, 22px);
  flex-wrap: nowrap;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__top .pill {
  max-width: min(52vw, 280px);
  overflow: hidden;
  border-color: color-mix(in srgb, var(--brand) 46%, var(--border));
  background: transparent;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(26px, 4.8vw, 68px);
  align-items: center;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__media {
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
  border-radius: clamp(16px, 2vw, 24px);
  background: #061014;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  background: #061014;
  filter: none;
}

body.app-body.storefront-template-editorial.storefront-shell
  .product-page__media[data-zestia-cutout="true"]
  .product-page__image {
  object-fit: contain;
  background: transparent;
}

body.app-body.storefront-template-editorial.storefront-shell
  .product-page__media[data-zestia-cutout="true"]::before {
  opacity: 0.22;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__summary {
  min-width: 0;
  padding: clamp(4px, 1.4vw, 16px) 0;
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__eyebrow {
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__summary h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.15vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: none;
  text-wrap: balance;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__price {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__lead {
  max-width: 48ch;
  margin: 0;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__fact {
  min-width: 0;
  padding: 15px clamp(8px, 1.5vw, 18px);
  display: grid;
  gap: 6px;
}

body.app-body.storefront-template-editorial.storefront-shell
  .product-page__fact:not(:last-child) {
  border-right: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__fact span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__fact strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  line-height: 1.2;
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.app-body.storefront-template-editorial.storefront-shell
  .product-page__status-line
  .meta-pill {
  border-color: var(--border);
  background: transparent;
  color: var(--muted);
}

body.app-body.storefront-template-editorial.storefront-shell .product-page__cta-row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
}

body.app-body.storefront-template-editorial.storefront-shell
  .product-page__primary-action {
  min-width: min(100%, 250px);
  min-height: 52px;
  justify-content: center;
}

body.app-body.storefront-template-editorial.storefront-shell
  .product-page__secondary-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand) 66%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@media (max-width: 900px) {
  body.app-body.storefront-template-editorial.storefront-shell .product-page__hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  body.app-body.storefront-template-editorial.storefront-shell .product-page__summary {
    padding-inline: clamp(4px, 2vw, 14px);
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .product-page__summary
    h1 {
    max-width: 15ch;
  }
}

@media (max-width: 620px) {
  body.app-body.storefront-template-editorial.storefront-shell .product-page--featured {
    padding: 10px;
    border-radius: 18px;
  }

  body.app-body.storefront-template-editorial.storefront-shell .product-page__top {
    min-height: 38px;
    margin-bottom: 8px;
    gap: 8px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .product-page__top
    :where(.ghost-button, .pill) {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.74rem;
  }

  body.app-body.storefront-template-editorial.storefront-shell .product-page__media {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  body.app-body.storefront-template-editorial.storefront-shell .product-page__hero {
    gap: 20px;
  }

  body.app-body.storefront-template-editorial.storefront-shell .product-page__summary {
    padding: 4px 5px 10px;
    gap: 14px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .product-page__summary
    h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 13vw, 4.15rem);
    line-height: 0.92;
  }

  body.app-body.storefront-template-editorial.storefront-shell .product-page__lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  body.app-body.storefront-template-editorial.storefront-shell .product-page__fact {
    padding: 13px 8px;
  }

  body.app-body.storefront-template-editorial.storefront-shell .product-page__fact span {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .product-page__fact
    strong {
    font-size: 0.82rem;
  }

  body.app-body.storefront-template-editorial.storefront-shell .product-page__cta-row {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .product-page__primary-action {
    width: 100%;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .product-page__secondary-action {
    justify-content: center;
  }
}

/* Catalogue widescreen contract -------------------------------------------
   The public shop uses the available canvas before increasing outer margins.
   Card density grows only while every product keeps a comfortable hit area. */

@media (min-width: 1181px) {
  body.app-body.storefront-shell {
    --zsf-canvas-max: min(96vw, 1920px);
  }

  body.app-body.storefront-shell .menu-section .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  body.app-body.storefront-shell .menu-section .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1900px) {
  body.app-body.storefront-shell {
    --zsf-canvas-max: min(96vw, 2600px);
  }

  body.app-body.storefront-shell .menu-section .product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(14px, 0.85vw, 24px);
  }
}

@media (min-width: 2800px) {
  body.app-body.storefront-shell {
    --zsf-canvas-max: min(96vw, 3600px);
  }

  body.app-body.storefront-shell .menu-section .product-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: clamp(16px, 0.8vw, 28px);
  }

  body.app-body.storefront-shell
    .product-card--compact
    .product-card__media-link,
  body.app-body.storefront-shell
    .product-card--compact
    .product-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}
