.page-shell {
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.page-shell--header {
  width: min(100%, var(--header-shell-max));
}

.page-shell--product {
  width: min(100%, 1560px);
}

.page-shell--mega {
  width: min(100%, var(--mega-shell-max));
}

.page-shell--collection {
  padding-top: 0.8rem;
  padding-bottom: var(--section-space);
}

.page-shell--narrow {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.982);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.announcement-rail {
  border-bottom: 1px solid #111111;
  background: #111111;
  color: #ffffff;
}

.utility-bar {
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.announcement-rail__inner,
.utility-bar__inner,
.main-header__inner {
  display: flex;
  align-items: center;
}

.announcement-rail__inner {
  justify-content: flex-start;
  gap: 0;
  min-height: 1.95rem;
  overflow-x: auto;
  padding-block: 0;
  scrollbar-width: none;
}

.announcement-rail__inner::-webkit-scrollbar {
  display: none;
}

.utility-bar__inner {
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 1.82rem;
}

.main-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 3.26rem;
  gap: 0.9rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.5rem;
  min-width: 0;
  overflow: hidden;
}

.desktop-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
  justify-self: end;
}

.mega-menu {
  display: none;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  background: linear-gradient(180deg, #ffffff 0%, #faf9f7 100%);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.04);
}

.mega-menu__inner {
  padding-top: 0.9rem;
  padding-bottom: 1rem;
}

.site-footer {
  margin-top: var(--section-space);
  padding-top: 1.2rem;
  background: #111111;
  color: #ffffff;
}

.site-footer__top,
.site-footer__middle,
.site-footer__bottom {
  display: grid;
  gap: 1.25rem;
}

.site-footer__top,
.site-footer__middle {
  padding-bottom: 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__bottom {
  padding-top: 0.95rem;
  padding-bottom: 1rem;
}

.collection-layout,
.product-layout {
  display: grid;
  gap: 1.25rem;
}

.category-parent-children__grid,
.category-parent-featured__grid {
  display: grid;
  gap: 0.9rem;
}

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

.collection-grid__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-layout__summary {
  display: grid;
  gap: 1.05rem;
  align-content: start;
}

.look-grid,
.editorial-grid {
  display: grid;
  gap: 1rem;
}

.story-stack {
  display: grid;
  gap: var(--section-space);
}

.story-split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .look-grid,
  .editorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
    justify-self: center;
  }

  .announcement-rail__inner {
    justify-content: center;
    min-height: 1.88rem;
    overflow: visible;
  }

  .utility-bar__inner {
    gap: 0.5rem;
    min-height: 1.62rem;
  }

  .main-header__inner {
    grid-template-columns: minmax(11.5rem, 1fr) auto minmax(21.75rem, 1fr);
    min-height: 3.16rem;
    gap: 1.35rem;
  }

  .site-brand {
    justify-self: start;
    max-width: 12.5rem;
  }

  .mega-menu__inner {
    padding-top: 0.78rem;
    padding-bottom: 0.88rem;
  }

  .site-footer__top {
    grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.35rem, 3vw, 3.2rem);
    align-items: start;
    padding-bottom: 1.45rem;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .site-footer__middle {
    padding-top: 0.72rem;
    padding-bottom: 1.45rem;
  }

  .site-footer__bottom {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem 1.35rem;
    align-items: center;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  .collection-layout {
    grid-template-columns: 15.25rem minmax(0, 1fr);
    align-items: start;
    gap: 1.25rem;
  }

  .category-parent-children__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem 0.8rem;
  }

  .collection-grid__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem 0.8rem;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(24rem, 0.8fr);
    align-items: start;
    gap: 2.5rem;
  }

  .product-layout__summary {
    position: sticky;
    top: calc(var(--header-total) + 1.2rem);
  }

  .story-split--reverse .story-split__media {
    order: 2;
  }
}

.page-product .product-layout {
  width: 100%;
  max-width: 82rem;
  margin-inline: auto;
  gap: 1rem;
  align-items: start;
}

.page-product .product-layout__media,
.page-product .product-layout__summary {
  min-width: 0;
}

.page-product .product-layout__summary {
  gap: 0.9rem;
}

.page-product .look-grid,
.page-product .editorial-grid {
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .page-product .page-shell--product {
    width: min(100%, 1500px);
  }

  .page-product .product-layout {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .page-product .page-shell--product {
    width: min(100%, 1460px);
    padding-inline: clamp(1.5rem, 2.6vw, 2.75rem);
  }

  .page-product .product-layout {
    grid-template-columns: minmax(0, 49.75rem) minmax(24.5rem, 30.25rem);
    justify-content: center;
    gap: clamp(1.75rem, 3vw, 3.25rem);
  }

  .page-product .product-layout__media {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .page-product .product-layout__summary {
    top: calc(var(--header-total) + 1rem);
    max-width: 30.25rem;
    justify-self: stretch;
    gap: 1rem;
  }

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