/* Zestia Editorial — native catalogue and complete customer journey.
   This file only changes composition. Tenant palette, content and media keep
   coming from the published/draft business revision. */

body.app-body.storefront-template-editorial.storefront-shell
  .featured-card__actions {
  min-width: 0;
  margin-top: auto;
  padding: 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

body.app-body.storefront-template-editorial.storefront-shell
  .featured-card__actions .product-form {
  min-width: 0;
  width: 100%;
  margin: 0;
}

body.app-body.storefront-template-editorial.storefront-shell
  .featured-card__primary-action {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 9px 12px;
  border-color: var(--editorial-action, #c93a24) !important;
  background: var(--editorial-action, #c93a24) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  line-height: 1.15;
  white-space: normal;
}

body.app-body.storefront-template-editorial.storefront-shell
  .featured-card__details-link {
  padding: 8px 2px;
  color: rgba(255, 255, 255, .78);
  -webkit-text-fill-color: currentColor;
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 520px) {
  body.app-body.storefront-template-editorial.storefront-shell
    .featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-shell {
  display: block;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-side,
body.app-body.storefront-template-editorial .zestia-storefront-surface--menu > .zestia-storefront-surface__body > .mini-cart,
body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header .fulfillment-inline,
body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .storefront-catalog-tools {
  display: none;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header--category {
  min-height: clamp(390px, 42vw, 590px);
  margin: 0 0 clamp(22px, 3vw, 42px);
  padding: clamp(34px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(340px, 1.18fr);
  align-items: center;
  border-radius: 0;
  border-width: 0 0 1px;
  background-image:
    linear-gradient(90deg, rgba(4, 5, 7, .98) 0%, rgba(4, 5, 7, .86) 38%, rgba(4, 5, 7, .2) 72%),
    linear-gradient(0deg, rgba(4, 5, 7, .7), transparent 56%),
    var(--category-bg-image, var(--menu-hero-image));
  background-size: cover;
  background-position: center;
  box-shadow: none;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header--category::before,
body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header--category::after {
  content: none;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header__copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  display: grid;
  align-content: center;
  gap: 15px;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header__copy .hero-eyebrow {
  padding: 0;
  border: 0;
  color: var(--editorial-action);
  font-size: .83rem;
  letter-spacing: .08em;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.6rem, 7.5vw, 7.8rem);
  line-height: .84;
  letter-spacing: -.055em;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header__copy > p {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .main-menu {
  position: sticky;
  top: 72px;
  z-index: 24;
  margin: 0 0 clamp(30px, 4vw, 52px);
  padding: 10px max(4px, var(--zsf-page-gutter));
  border-width: 1px 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--zsf-page-bg-deep) 90%, transparent);
  backdrop-filter: blur(18px) saturate(1.15);
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .main-menu__list {
  justify-content: flex-start;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .main-menu__link {
  min-height: 42px;
  border-color: transparent;
  border-radius: 7px;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .main-menu__link:is(:hover, :focus-visible, .is-active) {
  border-color: color-mix(in srgb, var(--editorial-action) 72%, #fff 8%);
  background: var(--editorial-action);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-section {
  margin-block: 0 clamp(52px, 6vw, 90px);
  scroll-margin-top: 150px;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .section-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--zsf-line);
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .subnav {
  margin-bottom: 16px;
  padding: 0 0 16px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 24px);
  align-items: stretch;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-card--compact {
  min-width: 0;
  height: 100%;
  grid-template-rows: auto 1fr;
  overflow: visible;
  border-color: color-mix(in srgb, var(--zsf-line) 86%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--zsf-surface) 95%, transparent);
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-card__media-link,
body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-media {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 15px 15px 0 0;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-media.has-cutout-media,
body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-media--cutout {
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--editorial-action) 18%, transparent), transparent 58%),
    var(--zsf-page-bg-deep);
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-body--compact {
  min-height: 250px;
  padding: clamp(17px, 2vw, 25px);
  align-content: start;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-title h3 {
  font-size: clamp(1.2rem, 1.55vw, 1.7rem);
  line-height: 1;
}

body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-card__actions {
  margin-top: auto;
}

@media (min-width: 1580px) {
  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header--category {
    min-height: 460px;
    grid-template-columns: minmax(0, 1fr);
    background-position: 60% center;
  }

  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header__copy {
    max-width: 34rem;
  }

  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header--category {
    min-height: 390px;
    margin-inline: calc(-1 * var(--storefront-edge, 12px));
    padding: 28px var(--zsf-page-gutter);
    align-items: end;
    background-image:
      linear-gradient(0deg, rgba(4, 5, 7, .98) 0%, rgba(4, 5, 7, .7) 52%, rgba(4, 5, 7, .16) 100%),
      var(--category-bg-image, var(--menu-hero-image));
    background-position: center;
  }

  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .menu-header h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .main-menu {
    top: 58px;
    margin-inline: calc(-1 * var(--zsf-page-gutter));
  }

  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-card__media-link,
  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu .product-media {
    aspect-ratio: 16 / 11;
  }
}

/* Flagship catalogue -------------------------------------------------------
   The cinematic Editorial direction keeps the transactional card DOM intact
   and only changes composition.  The direct pizza_solas runtime does not add
   the zestia-storefront wrapper yet, so every rule supports both containers. */

body.app-body.storefront-template-editorial.storefront-shell {
  --flagship-header-height: 84px;
  --flagship-rail-height: 62px;
  --flagship-line: color-mix(in srgb, var(--border) 82%, transparent);
  --flagship-panel: color-mix(in srgb, var(--bg-deep) 94%, #111 6%);
  --flagship-row: clamp(250px, calc((100dvh - 318px) / 2), 340px);
  --zsf-canvas-max: 100%;
}

body.app-body.storefront-template-editorial.storefront-shell
  :is(.zestia-storefront-surface--menu, .storefront-surface--products)
  .menu-shell > .mini-cart {
  display: none !important;
}

@media (min-width: 1100px) {
  body.app-body.storefront-template-editorial.storefront-shell .site-header {
    width: 100%;
    max-width: none;
    min-height: var(--flagship-header-height);
    padding: 12px clamp(20px, 2.4vw, 40px);
    display: grid;
    grid-template-columns: minmax(255px, 1fr) auto minmax(0, auto);
    align-items: center;
    gap: clamp(14px, 1.8vw, 30px);
    position: sticky;
    top: 0;
    z-index: 70;
    border-bottom: 1px solid var(--flagship-line);
    background: color-mix(in srgb, var(--bg-deep) 94%, transparent);
    backdrop-filter: blur(20px) saturate(1.12);
  }

  body.app-body.storefront-template-editorial.storefront-shell .site-header .brand {
    min-width: 0;
    justify-self: start;
  }

  body.app-body.storefront-template-editorial.storefront-shell .site-header .brand-copy {
    min-width: 0;
  }

  body.app-body.storefront-template-editorial.storefront-shell .site-header .brand-tagline {
    max-width: 36ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.app-body.storefront-template-editorial.storefront-shell .site-header .header-store-status {
    justify-self: end;
  }

  body.app-body.storefront-template-editorial.storefront-shell .site-header .main-nav {
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .site-header
    :is(.nav-link, .ghost-button, .customer-nav-fulfillment__choice) {
    min-height: 44px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .site-header
    .nav-link--phone
    > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .site-header
    .nav-link--phone {
    width: 44px;
    min-width: 44px;
    padding-inline: 0;
    justify-content: center;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products) {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 124px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .menu-shell,
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .menu-main {
    width: 100%;
    max-width: none;
    margin: 0;
    display: block;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .menu-side {
    display: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    :is(.menu-header, .storefront-catalog-tools) {
    display: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .main-menu {
    width: 100%;
    max-width: none;
    min-height: var(--flagship-rail-height);
    margin: 0;
    padding: 8px clamp(20px, 2.4vw, 40px);
    position: sticky;
    top: var(--flagship-header-height);
    z-index: 60;
    border-width: 0 0 1px;
    border-radius: 0;
    background: color-mix(in srgb, var(--bg-deep) 96%, transparent);
    backdrop-filter: blur(18px) saturate(1.12);
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .main-menu__list {
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
    gap: clamp(8px, 1.2vw, 20px);
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .main-menu__link {
    min-height: 44px;
    padding: 9px 8px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    font-size: clamp(.72rem, .85vw, .88rem);
    letter-spacing: .035em;
    white-space: nowrap;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .main-menu__link:is(:hover, :focus-visible, .active, .is-active) {
    border-color: var(--brand);
    background: transparent;
    color: var(--brand);
    -webkit-text-fill-color: currentColor;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .menu-section {
    min-height: calc(var(--flagship-row) * 2 + 1px);
    margin: 0;
    padding: 16px clamp(20px, 2.4vw, 40px) 40px;
    overflow: visible;
    scroll-margin-top: calc(var(--flagship-header-height) + var(--flagship-rail-height));
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .menu-section > .section-header {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .subnav {
    min-height: 42px;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .subnav__link {
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-grid {
    --flagship-grid-row: var(--flagship-row);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(2, var(--flagship-grid-row));
    grid-auto-rows: minmax(300px, auto);
    gap: 1px;
    align-items: stretch;
    overflow: visible;
    border: 1px solid var(--flagship-line);
    border-radius: 18px;
    background: var(--flagship-line);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact {
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: var(--flagship-panel);
    box-shadow: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:nth-child(2) { grid-column: 3; grid-row: 1; }
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:nth-child(3) { grid-column: 4; grid-row: 1; }
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:nth-child(4) { grid-column: 5; grid-row: 1; }
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:nth-child(5) { grid-column: 3; grid-row: 2; }
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:nth-child(6) { grid-column: 4; grid-row: 2; }
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:nth-child(7) { grid-column: 5; grid-row: 2; }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-grid:has(> .product-card--compact:last-child:nth-child(2))
    > .product-card--compact:nth-child(2) {
    grid-column: 3 / span 3;
    grid-row: 1 / span 2;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-grid:has(> .product-card--compact:last-child:nth-child(3))
    > .product-card--compact:nth-child(2) {
    grid-column: 3 / span 3;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-grid:has(> .product-card--compact:last-child:nth-child(3))
    > .product-card--compact:nth-child(3) {
    grid-column: 3 / span 3;
    grid-row: 2;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-grid:has(> .product-card--compact:last-child:nth-child(4))
    > .product-card--compact:nth-child(2),
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-grid:has(> .product-card--compact:last-child:nth-child(4))
    > .product-card--compact:nth-child(4) {
    grid-column: 3 / span 2;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-grid:has(> .product-card--compact:last-child:nth-child(4))
    > .product-card--compact:nth-child(3) {
    grid-column: 5;
    grid-row: 1 / span 2;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-grid:has(> .product-card--compact:last-child:nth-child(4))
    > .product-card--compact:nth-child(4) {
    grid-row: 2;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-grid:has(> .product-card--compact:last-child:nth-child(5))
    > .product-card--compact:nth-child(5) {
    grid-column: 3 / span 3;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-grid:has(> .product-card--compact:last-child:nth-child(6))
    > .product-card--compact:nth-child(6) {
    grid-column: 4 / span 2;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact > :is(.product-card__media-link, .product-body--compact) {
    min-width: 0;
    min-height: 0;
    grid-area: 1 / 1;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card__media-link,
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-media {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-body--compact {
    width: 100%;
    min-height: 0;
    padding: clamp(14px, 1.45vw, 24px);
    align-self: end;
    align-content: end;
    display: grid;
    gap: 8px;
    position: relative;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(4, 5, 6, .99) 0%, rgba(4, 5, 6, .88) 64%, transparent 100%);
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-body--compact :is(a, button, input, form) {
    pointer-events: auto;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:not(:first-child)
    .product-body--compact {
    padding: 58px 16px 14px;
    gap: 6px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-title h3,
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-title h3 a {
    min-width: 0;
    margin: 0;
    color: #fff;
    -webkit-text-fill-color: currentColor;
    font-size: clamp(1.05rem, 1.2vw, 1.45rem);
    line-height: .98;
    letter-spacing: -.025em;
    text-wrap: balance;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:first-child .product-title h3,
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:first-child .product-title h3 a {
    max-width: 12ch;
    font-size: clamp(2rem, 3.1vw, 4.2rem);
    line-height: .88;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-title .price {
    flex: 0 0 auto;
    color: #fff;
    -webkit-text-fill-color: currentColor;
    font-size: clamp(.92rem, 1.15vw, 1.28rem);
    white-space: nowrap;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-desc--compact {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255, 255, 255, .76);
    -webkit-text-fill-color: currentColor;
    font-size: clamp(.76rem, .82vw, .92rem);
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact :is(.product-meta, .product-card__allergens, .product-card__availability) {
    display: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card__actions {
    min-width: 0;
    margin: 4px 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card__primary-action {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-color: var(--editorial-action, #c93a24) !important;
    background: var(--editorial-action, #c93a24) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card__primary-action:is(:hover, :focus-visible) {
    border-color: color-mix(in srgb, var(--editorial-action, #c93a24) 82%, #fff) !important;
    background: color-mix(in srgb, var(--editorial-action, #c93a24) 84%, #fff 16%) !important;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card__details-link {
    padding: 8px 2px;
    color: rgba(255, 255, 255, .78);
    -webkit-text-fill-color: currentColor;
    font-size: .72rem;
    white-space: nowrap;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:not(:first-child) .product-card__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .product-card--compact:not(:first-child) .product-card__details-link {
    display: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock {
    width: min(calc(100% - 48px), 1240px);
    min-height: 92px;
    max-height: 112px;
    margin: 0 auto;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 65;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--border) 88%, #fff 8%);
    border-radius: 22px;
    background: color-mix(in srgb, var(--bg-deep) 93%, transparent);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
    backdrop-filter: blur(22px) saturate(1.16);
    transform: translateX(-50%);
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock:has(.customer-cart-drawer__empty) {
    display: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__items {
    min-width: 0;
    display: flex;
    gap: 10px;
    overflow: hidden;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__item {
    width: min(240px, 24vw);
    min-width: 0;
    padding: 7px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 9px;
    border: 1px solid var(--flagship-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__item:nth-child(n + 4) {
    display: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__item img {
    width: 54px;
    height: 54px;
    border-radius: 9px;
    object-fit: cover;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__item-copy {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 2px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__item-copy :is(strong, span) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__quantity {
    display: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__footer {
    min-width: 250px;
    padding: 0;
    display: grid;
    grid-template-columns: auto minmax(150px, auto);
    align-items: center;
    gap: 10px 18px;
    border: 0;
    background: transparent;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__footer p,
  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__footer .ghost-button {
    display: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__total {
    min-width: 120px;
    display: grid;
    gap: 2px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock .customer-cart-drawer__footer .button {
    min-height: 54px;
    margin: 0;
    padding-inline: 24px;
    border-radius: 12px;
    border-color: var(--editorial-action, #c93a24);
    background: var(--editorial-action, #c93a24);
    color: #fff;
    -webkit-text-fill-color: #fff;
    white-space: nowrap;
  }
}

@media (min-width: 821px) and (max-width: 1099px) {
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    :is(.menu-header, .storefront-catalog-tools) {
    display: none;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .main-menu {
    margin-top: 0;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock {
    display: none;
  }
}

@media (max-width: 820px) {
  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    :is(.menu-header, .storefront-catalog-tools) {
    display: none !important;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .main-menu {
    margin-top: 0;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    :is(.zestia-storefront-surface--menu, .storefront-surface--products)
    .menu-section {
    margin-top: 10px;
  }

  body.app-body.storefront-template-editorial.storefront-shell
    .flagship-cart-dock {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.app-body.storefront-template-editorial .zestia-storefront-surface--menu * {
    scroll-behavior: auto !important;
  }
}
