/**
 * Reference mockup homepage — black header, ivory catalog, light footer.
 */

body.al-mockup-home {
  --al-mockup-black: #0a0a0c;
  --al-mockup-gold: #c9a962;
  --al-mockup-ivory: #f7f4ee;
  --al-mockup-footer: #ece8e0;
  background: var(--al-mockup-ivory);
  color: #121212;
}

body.al-mockup-home .al-announce,
body.al-mockup-home .al-sticky-head,
body.al-mockup-home .al-hero-discovery,
body.al-mockup-home .al-lux-trust {
  display: none !important;
}

/* --- Header --- */
.al-mockup-head {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--al-mockup-black);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.al-mockup-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.al-mockup-topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.45rem 0;
}

.al-mockup-topbar__center {
  text-align: center;
  opacity: 0.92;
}

.al-mockup-topbar__right {
  justify-self: end;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.al-mockup-header__row {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr) minmax(0, 420px);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
}

.al-mockup-logo {
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.al-mockup-logo__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.22em;
}

.al-mockup-logo__tag {
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  opacity: 0.72;
  margin-top: 0.2rem;
}

.al-mockup-search {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 640px;
  margin-inline: auto;
  width: 100%;
}

.al-mockup-search__cat {
  border: none;
  background: #f3f0ea;
  padding: 0 0.85rem;
  font-size: 0.78rem;
  max-width: 9rem;
  color: #333;
}

.al-mockup-search__input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  min-width: 0;
}

.al-mockup-search__btn {
  border: none;
  background: transparent;
  padding: 0 1rem;
  cursor: pointer;
  color: #333;
}

.al-mockup-util {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.al-mockup-util__item {
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  position: relative;
  min-width: 3.2rem;
}

.al-mockup-util__icon {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.al-mockup-util__label {
  font-weight: 600;
  text-transform: uppercase;
}

.al-mockup-util__sub {
  opacity: 0.65;
  font-size: 0.55rem;
}

.al-mockup-util__badge {
  position: absolute;
  top: -4px;
  right: 0;
  background: var(--al-mockup-gold);
  color: #111;
  border-radius: 999px;
  min-width: 1rem;
  height: 1rem;
  font-size: 0.6rem;
  display: grid;
  place-items: center;
}

.al-mockup-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.al-mockup-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  overflow-x: auto;
}

.al-mockup-nav__all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.al-mockup-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.1rem;
  flex: 1;
  min-width: 0;
}

.al-mockup-nav__links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.al-mockup-nav__links a:hover {
  color: var(--al-mockup-gold);
}

.al-mockup-nav__hot {
  flex-shrink: 0;
  color: #ff6b4a;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Hero mockup --- */
body.al-mockup-home .al-hero-slider--cinema .al-hero-slide__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.al-mockup-home .al-hero-slide__subtitle {
  font-size: 1.05rem;
  max-width: 28rem;
  opacity: 0.9;
}

body.al-mockup-home .al-hero-slide__actions--mockup .al-btn--gold {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.85rem 1.75rem;
}

/* --- Trust strip --- */
.al-mockup-trust {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.al-mockup-trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
}

.al-mockup-trust__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

/* --- Category grid --- */
.al-mockup-cats {
  background: var(--al-mockup-ivory);
  padding: 1.5rem 0 2rem;
}

.al-mockup-cats__grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.75rem;
}

.al-mockup-cat-card {
  display: block;
  text-decoration: none;
  color: #111;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.al-mockup-cat-card__img {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--al-mockup-cat-bg) center / cover no-repeat;
}

.al-mockup-cat-card__body {
  display: block;
  padding: 0.55rem 0.5rem 0.65rem;
  text-align: center;
}

.al-mockup-cat-card__name {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
}

.al-mockup-cat-card__count {
  display: block;
  font-size: 0.68rem;
  color: #6b665c;
  margin-top: 0.15rem;
}

/* --- Collections band --- */
.al-mockup-collections {
  background: #fff;
  padding: 2rem 0;
}

.al-mockup-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.al-mockup-section-head .al-heading {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.al-mockup-section-head__link {
  color: #6b665c;
  text-decoration: none;
  font-size: 0.88rem;
}

.al-mockup-premium-grid {
  margin-bottom: 2rem;
}

.al-mockup-brands-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b665c;
  margin: 0 0 0.75rem;
}

.al-mockup-brands .al-ref-maison {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  color: #1a1a1a;
  opacity: 0.75;
}

.al-mockup-banners {
  margin-top: 1.5rem;
}

/* --- Product tabs --- */
.al-mockup-products {
  background: var(--al-mockup-ivory);
  padding: 2rem 0 2.5rem;
}

.al-mockup-products__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.al-mockup-products__tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b665c;
  cursor: pointer;
  margin-bottom: -1px;
}

.al-mockup-products__tab.is-active {
  color: #111;
  border-bottom-color: var(--al-mockup-gold);
}

.al-mockup-products__panel[hidden] {
  display: none !important;
}

.al-mockup-products__grid {
  --al-grid-cols: 6;
}

.al-mockup-products__grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

.al-mockup-products__more {
  text-align: center;
  margin-top: 1.5rem;
}

/* --- Lookbook --- */
.al-mockup-lookbook {
  background: #e8dfd0;
}

.al-mockup-lookbook__grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  min-height: 420px;
}

.al-mockup-lookbook__copy {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.al-mockup-lookbook__shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
}

.al-mockup-lookbook__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 380px;
}

/* --- Newsletter --- */
.al-mockup-newsletter {
  background: var(--al-mockup-black);
  color: #fff;
  padding: 2rem 0;
}

.al-mockup-newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.al-mockup-newsletter__form {
  display: flex;
  gap: 0.5rem;
}

.al-mockup-newsletter__form input[type="email"] {
  flex: 1;
  border-radius: 4px;
  border: none;
  padding: 0.75rem 1rem;
  min-width: 0;
}

.al-mockup-newsletter__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.88;
}

/* --- Footer --- */
.al-mockup-footer {
  background: var(--al-mockup-footer);
  color: #333;
  padding-top: 2.5rem;
}

.al-mockup-footer__mega {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.al-mockup-footer__col h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.al-mockup-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.al-mockup-footer__col a {
  color: #444;
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.9;
}

.al-mockup-footer__col a:hover {
  color: var(--al-mockup-gold);
}

.al-mockup-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.al-mockup-app-badge {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  margin: 0.25rem 0.25rem 0 0;
}

.al-mockup-footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0 1.5rem;
  font-size: 0.8rem;
}

.al-mockup-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.al-mockup-footer__pay {
  display: flex;
  gap: 0.65rem;
  opacity: 0.7;
}

.al-mockup-back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .al-mockup-cats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .al-mockup-products__grid ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .al-mockup-footer__mega {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .al-mockup-header__row {
    grid-template-columns: 1fr;
  }

  .al-mockup-search {
    order: 3;
    grid-column: 1 / -1;
  }

  .al-mockup-trust__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .al-mockup-lookbook__grid {
    grid-template-columns: 1fr;
  }

  .al-mockup-lookbook__shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .al-mockup-newsletter__inner {
    grid-template-columns: 1fr;
  }
}

/* Category section header */
.al-mockup-cats__head {
  margin-bottom: 1rem;
}

.al-mockup-cats__head .al-muted {
  margin: 0.35rem 0 0;
  max-width: 42rem;
}

/* Mobile quick category chips (below nav) */
.al-mockup-nav-chips-wrap {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0c;
}

.al-mockup-nav-chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.55rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.al-mockup-nav-chips::-webkit-scrollbar {
  display: none;
}

.al-mockup-nav-chip {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.al-mockup-home.al-has-mobile-nav {
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

body.al-mockup-home.al-has-mobile-nav .al-mockup-back-top {
  bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

body.al-mockup-home .al-mockup-products__grid ul.products,
body.al-mockup-home .al-mockup-products__grid .al-rail-fallback ul.products {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 640px) {
  .al-mockup-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .al-mockup-products__grid ul.products,
  .al-mockup-products__grid .al-rail-fallback ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .al-mockup-nav__inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .al-mockup-nav__all {
    flex-shrink: 0;
  }

  .al-mockup-nav__links {
    display: flex;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 0.25rem;
  }

  .al-mockup-nav__links::-webkit-scrollbar {
    display: none;
  }

  .al-mockup-nav__hot {
    flex-shrink: 0;
    margin-left: 0;
    padding-left: 0.5rem;
    background: linear-gradient(90deg, transparent, #0a0a0c 12px);
  }

  .al-mockup-nav-chips-wrap {
    display: block;
  }

  .al-mockup-util {
    justify-content: space-between;
  }

  .al-mockup-util__item {
    min-width: 0;
    flex: 1;
  }

  .al-mockup-util__sub {
    display: none;
  }

  .al-mockup-topbar__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.25rem;
  }

  .al-mockup-topbar__left,
  .al-mockup-topbar__right {
    justify-self: center;
  }

  .al-mockup-footer__mega {
    grid-template-columns: 1fr 1fr;
  }

  .al-mockup-footer__brand {
    grid-column: 1 / -1;
  }
}
