/* ZARI EDGE — targeted refinements */

.logo-img,
.footer-logo,
.mobile-menu-panel__brand img {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Cropped header logo */
.logo-img {
  height: 2.65rem !important;
  max-width: min(210px, 52vw) !important;
  object-fit: contain !important;
}
@media (min-width: 768px) {
  .logo-img {
    height: 3.15rem !important;
    max-width: 280px !important;
  }
}
@media (min-width: 1024px) {
  .logo-img {
    height: 3.6rem !important;
    max-width: 320px !important;
  }
}

/* Mobile header — true center logo + balanced side spacing */
@media (max-width: 1023px) {
  .header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 0.35rem !important;
    min-height: 3.85rem !important;
    padding-block: 0.4rem !important;
  }

  .menu-toggle {
    justify-self: start !important;
    grid-column: 1;
    margin: 0;
  }

  .logo-link {
    grid-column: 2 !important;
    justify-self: center !important;
    align-items: center !important;
    width: auto;
    max-width: min(210px, 54vw);
  }

  .logo-img {
    margin-inline: auto !important;
  }

  .header-actions.header-mobile-only {
    grid-column: 3;
    justify-self: end !important;
    gap: 0 !important;
    margin: 0 !important;
  }

  .header-actions.header-mobile-only .icon-btn,
  .menu-toggle.icon-btn {
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.4rem;
  }
}

/* Cart count — white number */
.site-header .count-badge,
.icon-btn .count-badge,
.count-badge {
  background: #111 !important;
  color: #fff !important;
}

/* Mobile hero — single Shop Now, compact size */
@media (max-width: 767px) {
  .hero-slide__content {
    padding-inline: 1rem !important;
  }
  .hero-slide__actions {
    display: flex !important;
    justify-content: center !important;
    margin-top: 1rem !important;
    width: auto !important;
    max-width: none !important;
  }
  .btn-hero-primary {
    flex: 0 0 auto;
    min-width: 8.5rem !important;
    min-height: 2.35rem !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.1em !important;
  }
  .hero-slide__title {
    font-size: clamp(1.65rem, 7vw, 2.25rem) !important;
  }
  .hero-slide__text {
    font-size: 0.9rem !important;
    margin-top: 0.65rem !important;
  }
}

/* PDP desktop layout */
.pdp {
  overflow-x: visible !important;
}
.pdp__layout {
  align-items: start;
  width: 100%;
}
@media (min-width: 1024px) {
  .pdp__layout {
    display: grid !important;
    grid-template-columns: minmax(0, 52%) minmax(0, 48%) !important;
    gap: 2.5rem 3rem !important;
    align-items: start !important;
  }
  .pdp-gallery,
  .pdp-info {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100%;
    min-width: 0;
  }
  .pdp-gallery {
    grid-template-columns: 4.25rem minmax(0, 1fr) !important;
  }
  .pdp-gallery--single {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .pdp-gallery__main {
    aspect-ratio: 3 / 4 !important;
    max-height: min(72vh, 640px);
  }
  .pdp-gallery__main img {
    max-height: min(72vh, 640px);
  }
  .pdp-info__title {
    font-size: clamp(1.75rem, 2.4vw, 2.35rem) !important;
  }
  .pdp-actions {
    grid-template-columns: 1fr 1fr auto auto !important;
  }
  .pdp-actions__bag,
  .pdp-actions__buy {
    grid-column: auto !important;
  }
}
.pdp-gallery__thumb img,
.pdp-gallery__img {
  object-fit: cover;
  object-position: center center !important;
}
.pdp-look__products .product-card {
  max-width: 100%;
}
@media (min-width: 900px) {
  .pdp-look__products {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}
.shop-rail__track .product-card {
  min-width: 0;
}

/* Mid-page editorial banner — text on open left side */
.editorial-banner--mid {
  min-height: 340px;
}
@media (min-width: 1024px) {
  .editorial-banner--mid {
    min-height: 580px;
  }
}
.editorial-banner--mid::after {
  background: linear-gradient(
    90deg,
    rgba(28, 26, 22, 0.72) 0%,
    rgba(28, 26, 22, 0.42) 38%,
    rgba(28, 26, 22, 0.12) 62%,
    rgba(28, 26, 22, 0.05) 100%
  ) !important;
}
.editorial-banner--mid .editorial-banner__media img {
  object-position: 68% center;
}
@media (max-width: 767px) {
  .editorial-banner--mid .editorial-banner__media img {
    object-position: 72% center;
  }
  .editorial-banner--mid::after {
    background: linear-gradient(
      180deg,
      rgba(28, 26, 22, 0.2) 0%,
      rgba(28, 26, 22, 0.55) 45%,
      rgba(28, 26, 22, 0.78) 100%
    ) !important;
  }
  .editorial-banner--mid .editorial-banner__content {
    max-width: 22rem;
    padding-block: 2.5rem 2.75rem;
  }
}
.editorial-banner--mid .editorial-banner__content {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}
.editorial-banner--mid .editorial-banner__title {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.editorial-banner--mid .btn-accent {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.editorial-banner--mid .btn-accent:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* Checkout extras */
.checkout-promo {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.checkout-promo .input {
  flex: 1;
  min-height: 2.85rem !important;
}
.checkout-promo .btn {
  flex: 0 0 auto;
  min-height: 2.85rem;
  padding-inline: 1rem;
}
.checkout-panel select.input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* Nav / menu — no visible scrollbars */
.desktop-nav-bar,
.desktop-nav,
.mobile-menu-panel__nav,
.mobile-menu-panel__carousel-track {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.desktop-nav-bar::-webkit-scrollbar,
.desktop-nav::-webkit-scrollbar,
.mobile-menu-panel__nav::-webkit-scrollbar,
.mobile-menu-panel__carousel-track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.mobile-menu-panel__nav {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Footer always visible on first paint */
.site-footer,
.site-footer .footer-grid,
.site-footer .footer-grid > *,
.site-footer .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.footer-logo {
  max-height: 3.75rem;
  width: auto;
  object-fit: contain;
  background: transparent !important;
}

.home-hero__controls,
.home-hero__controls[hidden] {
  display: none !important;
}

.product-card__image {
  aspect-ratio: 3 / 4;
  background: #f3f1ee;
}

.product-card__img {
  object-fit: cover;
  object-position: center 15%;
}

@media (max-width: 1023px) {
  .home-viewall {
    display: none;
  }

  .home-section__mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }

  .home-section__mobile-cta .btn {
    min-width: 10rem;
    min-height: 3rem;
  }

  .editors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem 0.75rem;
  }
}

@media (min-width: 1024px) {
  .home-section__mobile-cta {
    display: none;
  }
}

/* Category carousel — larger editorial cards, manual scroll */
.lux-cat-carousel[data-cat-slider] {
  position: relative;
  overflow: visible;
  padding-left: max(1.25rem, calc((100% - var(--container)) / 2 + 1.25rem));
  padding-right: max(1.25rem, calc((100% - var(--container)) / 2 + 1.25rem));
}
.lux-cat-carousel__viewport {
  overflow: hidden;
  padding: 0.35rem 0.15rem 1rem;
}
.lux-cat-carousel[data-cat-slider] .lux-cat-carousel__track {
  display: flex;
  gap: 1rem !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  padding: 0.25rem 0 0.65rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.lux-cat-carousel[data-cat-slider] .lux-cat-carousel__track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.lux-cat-carousel[data-cat-slider].is-dragging .lux-cat-carousel__track {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}
.lux-cat-carousel[data-cat-slider] .lux-cat-card {
  /* ~2 mobile cards, ~25% larger presence via taller media */
  flex: 0 0 calc((100% - 1rem) / 2) !important;
  max-width: calc((100% - 1rem) / 2);
  scroll-snap-align: start;
  border-radius: 14px !important;
  background: #fff !important;
  aspect-ratio: auto !important;
  overflow: hidden;
  user-select: none;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.07);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s ease;
}
.lux-cat-carousel[data-cat-slider] .lux-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.11);
}
@media (min-width: 768px) {
  .lux-cat-carousel[data-cat-slider] .lux-cat-carousel__track {
    gap: 1.2rem !important;
  }
  .lux-cat-carousel[data-cat-slider] .lux-cat-card {
    flex: 0 0 calc((100% - (1.2rem * 2)) / 2.75) !important;
    max-width: calc((100% - (1.2rem * 2)) / 2.75);
    border-radius: 16px !important;
  }
}
@media (min-width: 1024px) {
  .lux-cat-carousel[data-cat-slider] .lux-cat-carousel__track {
    gap: 1.45rem !important;
  }
  /* ~3.15 cards visible = ~25% larger than 4-up */
  .lux-cat-carousel[data-cat-slider] .lux-cat-card {
    flex: 0 0 calc((100% - (1.45rem * 2)) / 3.15) !important;
    max-width: calc((100% - (1.45rem * 2)) / 3.15);
  }
}
.lux-cat-card__media {
  position: relative !important;
  inset: auto !important;
  aspect-ratio: 3 / 4.15 !important;
  background: #f3f1ee;
  overflow: hidden;
  border-radius: 0;
}
.lux-cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  pointer-events: none;
  transition: transform 0.7s var(--ease-premium);
}
.lux-cat-card:hover .lux-cat-card__media img {
  transform: scale(1.04);
}
.lux-cat-card__overlay {
  padding: 1.35rem 1rem 1.45rem !important;
  background: linear-gradient(transparent 10%, rgba(0, 0, 0, 0.72) 100%) !important;
  align-items: center !important;
  text-align: center !important;
  gap: 0.4rem !important;
}
.lux-cat-card__overlay h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.25 !important;
  text-align: center;
  width: 100%;
}
.lux-cat-card__overlay span {
  font-size: 0.68rem !important;
  letter-spacing: 0.16em !important;
  opacity: 0.92;
}
.lux-cat-carousel__arrow {
  position: absolute;
  top: 44%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: rgba(250, 248, 244, 0.96);
  color: #111;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.lux-cat-carousel__arrow:hover {
  background: #111;
  color: #fff;
}
.lux-cat-carousel__arrow--prev {
  left: max(0.35rem, calc((100% - var(--container)) / 2 - 0.25rem));
}
.lux-cat-carousel__arrow--next {
  right: max(0.35rem, calc((100% - var(--container)) / 2 - 0.25rem));
}
@media (max-width: 767px) {
  .lux-cat-carousel__arrow {
    width: 2.45rem;
    height: 2.45rem;
  }
  .lux-cat-carousel__arrow--prev { left: 0.35rem; }
  .lux-cat-carousel__arrow--next { right: 0.35rem; }
  .lux-cat-card__overlay {
    padding: 1.15rem 0.75rem 1.25rem !important;
  }
}

.product-slider__viewport {
  scroll-behavior: smooth;
}

/* About page — editorial two-column */
.about-page {
  padding-block: 2.75rem 4.5rem;
}
.about-layout {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem 4rem;
  }
}
.about-layout__media {
  margin: 0;
  overflow: hidden;
  background: #ece8e1;
  aspect-ratio: 4 / 5;
}
@media (min-width: 900px) {
  .about-layout__media {
    aspect-ratio: 5 / 6;
  }
}
.about-layout__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-layout__copy .lux-page__eyebrow {
  margin-bottom: 0.55rem;
}
.about-layout__copy .lux-page__title {
  margin: 0 0 1rem;
}
.about-copy {
  display: grid;
  gap: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  max-width: 34rem;
}
.about-copy p {
  margin: 0;
}
.about-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-categories--footer {
  padding-bottom: 1rem;
}

/* Mobile menu — site cream background, categories only */
.mobile-menu-panel.mobile-drawer {
  background: var(--bg, #faf8f4) !important;
  color: #111 !important;
  width: min(86vw, 22rem) !important;
}

.mobile-menu-panel__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mobile-menu-panel__top {
  background: var(--bg, #faf8f4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.1rem 1.25rem;
}

.mobile-menu-panel__nav {
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
}

.mobile-menu-panel__link {
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #111 !important;
  padding: 1rem 1.35rem !important;
  border-bottom: 0 !important;
}

.mobile-menu-panel__link.is-sale {
  color: #b42318 !important;
}

.mobile-menu-panel__account,
.mobile-menu-panel__meta,
.mobile-menu-panel__wa,
.mobile-menu-panel__social {
  display: none !important;
}

.home-benefits--footer {
  border-top: 1px solid var(--border-soft);
}

/* Footer */
.footer-grid--balanced {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1.15fr;
  gap: 2rem 1.5rem;
}

@media (max-width: 1023px) {
  .footer-grid--balanced {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-brand-col {
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-acc {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-acc summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.25rem;
    padding: 0.85rem 0;
    font-family: var(--font-nav);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
  }

  .footer-acc summary::-webkit-details-marker {
    display: none;
  }

  .footer-acc summary::after {
    content: "+";
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
  }

  .footer-acc[open] summary::after {
    content: "−";
  }

  .footer-acc .footer-links {
    padding: 0 0 1rem;
  }
}

@media (min-width: 1024px) {
  .footer-acc {
    border: 0;
  }

  /* Always show columns on desktop (no accordion), even before JS sets open */
  .footer-acc > :not(summary) {
    display: block !important;
  }

  .footer-acc summary {
    list-style: none;
    pointer-events: none;
    font-family: var(--font-nav);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin: 0 0 1rem;
    padding: 0;
    min-height: 0;
  }

  .footer-acc summary::-webkit-details-marker {
    display: none;
  }

  .footer-acc summary::after {
    display: none;
  }
}

/* =========================================================
   Luxury hierarchy — typography, spacing, product cards
   ========================================================= */

/*
  Editorial spacing system (~15–20% more breathable than prior compact values).
  Uses fluid clamp() so mobile / tablet / laptop / desktop stay proportional.
*/
.home-section {
  padding: var(--section-space) 0 !important;
}
.home-section--soft {
  padding: var(--section-space-lg) 0 !important;
}

/* Hero → next section */
.home-hero + .home-section,
.home-hero + .home-categories {
  padding-top: clamp(1.45rem, 1rem + 1.6vw, 2rem) !important;
}

/* Category → products, products → products */
.home-categories {
  padding-top: var(--section-space) !important;
  padding-bottom: var(--section-space) !important;
}
.home-categories + .home-section {
  padding-top: var(--section-space) !important;
}

/* Banner sits flush; neighbouring section padding creates the rhythm */
.editorial-banner--mid {
  min-height: clamp(260px, 42vw, 440px) !important;
  margin: 0;
}

/* Best Sellers → Shop The Look → Features → Footer */
.shop-the-look {
  padding-top: var(--section-space) !important;
  padding-bottom: var(--section-space-lg) !important;
}
.home-benefits--footer {
  padding: var(--section-space) 0 var(--section-space-lg) !important;
}

/* Section heads — label → title → description → content */
.home-section__head {
  margin-bottom: var(--section-head-gap) !important;
}
.home-section__head:not(.home-section__head--center) {
  align-items: flex-end;
}
.home-section__head--center {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-bottom: var(--section-head-gap) !important;
  width: 100%;
}
.home-section__head--center > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-section__head--center .home-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.home-section__mobile-cta {
  margin-top: clamp(0.9rem, 0.7rem + 0.6vw, 1.25rem) !important;
}

/* Section labels */
.home-eyebrow {
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  margin: 0 0 var(--type-label-gap) !important;
  color: var(--gold-dark);
}

/* Section headings */
.home-title {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.015em !important;
  line-height: 1.12 !important;
  margin: 0 !important;
}
.home-subtitle {
  margin: var(--type-title-gap) 0 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  max-width: 26rem;
}

/* Site-wide page sections — same rhythm off the homepage */
.about-page,
.page-section,
.legal-page,
.contact-page,
.account-page {
  padding-block: var(--section-space-lg) clamp(2.5rem, 2rem + 2vw, 4rem) !important;
}
.shop-layout {
  padding-block: clamp(1.25rem, 1rem + 1vw, 1.75rem) var(--section-space) !important;
}
.collection-hero + .shop-layout,
.collection-hero + .container-page {
  padding-top: var(--section-space) !important;
}

/* Footer internal breathing room */
.site-footer .footer-grid {
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem) !important;
}
@media (min-width: 1024px) {
  .footer-grid--balanced {
    gap: clamp(1.75rem, 1.4rem + 1.2vw, 2.75rem) clamp(1.25rem, 1rem + 0.8vw, 2rem) !important;
  }
}
.footer-bottom {
  padding-block: clamp(1.1rem, 0.9rem + 0.5vw, 1.5rem) clamp(1.35rem, 1.1rem + 0.6vw, 1.75rem) !important;
}
.newsletter-section,
body.is-home .newsletter-section {
  padding: var(--section-space-lg) 0 !important;
}
@media (min-width: 1024px) {
  .newsletter-section,
  body.is-home .newsletter-section {
    padding: clamp(2.25rem, 1.5rem + 2.5vw, 3.25rem) 0 !important;
  }
}
.newsletter-section__eyebrow {
  margin-bottom: var(--type-label-gap) !important;
}
.newsletter-section__text {
  margin-top: var(--type-title-gap) !important;
}

/* Navigation — more premium item spacing, same header height */
.desktop-nav {
  gap: 0.15rem 0.55rem !important;
  padding-top: 0.3rem !important;
  padding-bottom: 0.45rem !important;
}
.desktop-nav__link {
  padding: 0.45rem 0.55rem !important;
  letter-spacing: 0.12em !important;
  font-size: 0.68rem !important;
}
@media (min-width: 1280px) {
  .desktop-nav {
    gap: 0.2rem 0.85rem !important;
  }
  .desktop-nav__link {
    padding: 0.5rem 0.65rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.13em !important;
  }
}
.desktop-nav__link::after {
  left: 0.45rem;
  right: 0.45rem;
}

/* Product grids — no carousel; stable mobile/desktop layout */
.product-grid,
.home-product-grid,
.shop-rail__track,
.product-slider__viewport {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.15rem 0.85rem !important;
  overflow: visible !important;
  width: 100%;
}
@media (min-width: 768px) {
  .product-grid,
  .home-product-grid,
  .shop-rail__track,
  .product-slider__viewport {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.35rem 1.1rem !important;
  }
}
@media (min-width: 1024px) {
  .product-grid,
  .home-product-grid,
  .shop-rail__track,
  .product-slider__viewport {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.5rem 1.25rem !important;
  }
}
.product-grid .product-card,
.home-product-grid .product-card,
.shop-rail__track .product-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: none !important;
}
.product-slider .slider-arrow,
[data-product-slider] .slider-arrow {
  display: none !important;
}

/* Product grid — image-dominant cards */
.product-card__image {
  aspect-ratio: 3 / 4 !important;
}
@media (max-width: 767px) {
  .product-card__image {
    aspect-ratio: 3 / 3.85 !important;
  }
}
.product-card__body {
  padding: 0.7rem 0.2rem 0 !important;
  gap: 0.18rem !important;
}
.product-card__title {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.01em;
  color: #222 !important;
}
.product-card__subtitle {
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  margin-top: 0.05rem !important;
}
.product-card__price {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.12rem !important;
  margin-top: 0.28rem !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  line-height: 1.25 !important;
}
.product-card__price-now {
  display: block;
  color: #1a1a1a !important;
  font-weight: 600 !important;
}
.product-card__price-was {
  display: block !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  color: #999 !important;
  text-decoration: line-through;
  line-height: 1.2 !important;
}
.product-grid,
.shop-product-grid {
  gap: 1.25rem 1rem !important;
}
@media (min-width: 1024px) {
  .product-grid,
  .shop-product-grid {
    gap: 1.5rem 1.25rem !important;
  }
}

/* Best Sellers — even 2×2 / 4-up grid (no orphan columns) */
.editors-grid {
  display: grid !important;
  width: 100% !important;
  margin: 0 auto !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem 0.75rem !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}
@media (min-width: 768px) {
  .editors-grid {
    /* keep 2 cols so 4 products stay a clean 2×2 */
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem 1.1rem !important;
    max-width: 52rem;
  }
}
@media (min-width: 1024px) {
  .editors-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.35rem 1.2rem !important;
    max-width: none;
  }
}
.editors-grid .product-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.editors-grid .product-card__media {
  width: 100%;
  flex: 0 0 auto;
}
.editors-grid .product-card__image {
  width: 100%;
}
.editors-grid .product-card__cta {
  width: 100%;
  flex: 0 0 auto;
}
.editors-grid .product-card__body {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 5.5rem;
}
.editors-grid .product-card__title,
.editors-grid .product-card__subtitle {
  max-width: 100%;
}
.editors-grid .product-card__price {
  margin-top: auto !important;
  padding-top: 0.3rem;
}

/* Banner typography balance with tighter section rhythm */
.editorial-banner__title {
  font-size: clamp(2.05rem, 4.5vw, 3.55rem) !important;
  line-height: 1.12 !important;
  letter-spacing: 0.015em !important;
}
.editorial-banner__text {
  margin: 0.7rem 0 1.25rem !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}
.editorial-banner__content {
  padding-block: 2.5rem !important;
}
@media (min-width: 1024px) {
  .editorial-banner__content {
    padding-block: 3rem !important;
  }
}

/*
  Mobile heading scale (exclude hero — already tuned).
  Keep section/page titles under the hero so hierarchy stays clear.
*/
@media (max-width: 767px) {
  .home-title {
    font-size: clamp(1.55rem, 5.2vw, 1.8rem) !important;
    line-height: 1.18 !important;
  }
  .home-subtitle {
    font-size: 0.88rem !important;
    max-width: 22rem;
  }
  .editorial-banner__title {
    font-size: clamp(1.6rem, 5.5vw, 1.9rem) !important;
    line-height: 1.18 !important;
  }
  .editorial-banner__text {
    font-size: 0.88rem !important;
    margin: 0.55rem 0 1.1rem !important;
  }
  .lux-page__title {
    font-size: clamp(1.6rem, 5.4vw, 1.85rem) !important;
    line-height: 1.18 !important;
  }
  .lux-page__sub {
    font-size: 0.9rem !important;
  }
  .pdp-info__title {
    font-size: clamp(1.5rem, 5vw, 1.75rem) !important;
    line-height: 1.2 !important;
  }
  .section-title,
  .heading-display.section-title {
    font-size: clamp(1.45rem, 4.8vw, 1.7rem) !important;
  }
  .checkout-panel h2,
  .checkout-summary h2,
  .cart-summary h2 {
    font-size: 1.35rem !important;
  }
  .collection-hero__title {
    font-size: clamp(1.55rem, 5.2vw, 1.85rem) !important;
  }
}
