/* ============================================================
   Storefront collections
   ============================================================ */

.gl-collection-page {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--gl-ink);
  background: var(--gl-bg);
  border-bottom: 1px solid var(--gl-line);
}

/* ── Hero ─────────────────────────────────────────────────── */
.gl-collection-hero {
  position: relative;
  min-height: clamp(440px, 64svh, 640px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--gl-line);
}

.gl-collection-hero.has-image {
  color: #fff;
  background: #171717;
}

.gl-collection-hero.has-no-image {
  min-height: clamp(420px, 60svh, 600px);
  color: var(--gl-ink);
  background:
    radial-gradient(circle at 78% 24%, rgba(160, 120, 64, 0.16), transparent 34%),
    linear-gradient(135deg, #f8f6f1 0%, var(--gl-bg2) 58%, #e8e4dc 100%);
}

.gl-collection-hero__picture,
.gl-collection-hero__image,
.gl-collection-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gl-collection-hero__picture {
  z-index: -3;
  overflow: hidden;
}

.gl-collection-hero__image {
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.002);
}

.gl-collection-hero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.04) 38%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 62%);
}

.gl-collection-hero__monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  color: transparent;
  font-family: var(--gl-disp);
  font-size: clamp(104px, 17vw, 300px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.09);
}

.gl-collection-hero__line {
  position: absolute;
  right: clamp(28px, 6vw, 96px);
  bottom: 0;
  z-index: -1;
  width: 1px;
  height: 54%;
  background: rgba(17, 17, 17, 0.14);
}

.gl-collection-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(34px, 5vw, 56px);
  padding: clamp(22px, 3vw, 42px) clamp(24px, 5.4vw, 88px) clamp(30px, 4vw, 58px);
}

.gl-collection-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  color: inherit;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.76;
}

.gl-collection-breadcrumbs a,
.gl-collection-breadcrumbs [aria-current='page'] {
  max-width: min(48vw, 440px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gl-collection-breadcrumbs a {
  transition: opacity 0.2s ease;
}

.gl-collection-breadcrumbs a:hover {
  opacity: 0.64;
}

.gl-collection-breadcrumbs a:focus-visible,
.gl-collection-hero__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.gl-collection-hero__copy {
  width: min(1040px, 92%);
}

.gl-collection-eyebrow,
.gl-collection-empty__eyebrow {
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.gl-collection-eyebrow {
  margin-bottom: 18px;
  color: inherit;
  opacity: 0.82;
}

.gl-collection-title {
  max-width: 1040px;
  margin: 0;
  font-family: var(--gl-disp);
  font-size: clamp(58px, 8.2vw, 132px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.027em;
  text-wrap: balance;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.gl-collection-subtitle {
  max-width: 700px;
  margin: 24px 0 0;
  color: inherit;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.65;
  opacity: 0.88;
  text-wrap: pretty;
}

.gl-collection-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 32px;
}

.gl-collection-hero__button {
  min-height: 48px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid currentColor;
  color: inherit;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gl-collection-hero__button svg {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.gl-collection-hero__button:hover svg {
  transform: translateY(3px);
}

.gl-collection-hero.has-image .gl-collection-hero__button:hover {
  color: var(--gl-ink);
  background: #fff;
  border-color: #fff;
}

.gl-collection-hero.has-no-image .gl-collection-hero__button:hover {
  color: var(--gl-bg);
  background: var(--gl-ink);
  border-color: var(--gl-ink);
}

.gl-collection-hero__count {
  color: inherit;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
}

/* ── Editorial story ──────────────────────────────────────── */
.gl-collection-story {
  display: grid;
  grid-template-columns: minmax(150px, 0.58fr) minmax(0, 2.42fr);
  gap: clamp(44px, 8vw, 144px);
  padding: clamp(64px, 8vw, 118px) clamp(24px, 6vw, 104px);
  background: var(--gl-bg);
  border-bottom: 1px solid var(--gl-line);
}

.gl-collection-story__label {
  color: var(--gl-muted);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.gl-collection-story__label::before {
  content: '';
  display: block;
  width: 52px;
  height: 1px;
  margin-bottom: 18px;
  background: var(--gl-ink);
}

.gl-collection-story__body {
  max-width: 960px;
}

.gl-collection-story__text {
  max-width: 880px;
  color: var(--gl-muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
}

.gl-collection-story__text p {
  margin: 0;
}

.gl-collection-story__text p + p {
  margin-top: 1.2em;
}

.gl-collection-story__text p:first-child {
  color: var(--gl-ink);
  font-family: var(--gl-disp);
  font-size: clamp(30px, 3.25vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* ── Products ─────────────────────────────────────────────── */
.gl-collection-products {
  scroll-margin-top: calc(var(--nav-h) + var(--ticker-h));
  background: var(--gl-bg);
}

.gl-collection-products--standalone {
  border-top: 0;
}

.gl-collection-products__grid {
  margin: 0;
}

.gl-p-editorial-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  max-width: calc(100% - 70px);
  padding: 5px 9px 4px;
  overflow: hidden;
  color: #fff;
  background: var(--gl-gold);
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.gl-p-editorial-label--stacked {
  top: 45px;
}

/* ── Empty state ──────────────────────────────────────────── */
.gl-collection-empty {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(160, 120, 64, 0.1), transparent 38%),
    var(--gl-bg2);
}

.gl-collection-empty__line {
  width: 1px;
  height: 48px;
  margin-bottom: 22px;
  background: var(--gl-gold);
}

.gl-collection-empty__eyebrow {
  margin-bottom: 16px;
  color: var(--gl-gold);
}

.gl-collection-empty h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--gl-disp);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.98;
  text-wrap: balance;
  text-transform: uppercase;
}

.gl-collection-empty > p:not(.gl-collection-empty__eyebrow) {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--gl-muted);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

.gl-collection-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.gl-collection-empty__actions .btn-gl-primary,
.gl-collection-empty__actions .btn-gl-outline {
  min-width: 190px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .gl-collection-hero__content {
    width: 100%;
  }

  .gl-collection-story {
    grid-template-columns: minmax(130px, 0.48fr) minmax(0, 1.52fr);
    gap: 48px;
  }
}

@media (max-width: 767.98px) {
  .gl-collection-hero,
  .gl-collection-hero.has-no-image {
    min-height: clamp(460px, 68svh, 600px);
  }

  .gl-collection-hero__image {
    object-position: center top;
  }

  .gl-collection-hero__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.05) 34%, rgba(0, 0, 0, 0.86) 100%);
  }

  .gl-collection-hero__monogram {
    top: 45%;
    font-size: clamp(86px, 30vw, 150px);
    transform: translate(-50%, -50%) rotate(-90deg);
  }

  .gl-collection-hero__line {
    right: 20px;
    height: 44%;
  }

  .gl-collection-hero__content {
    gap: 32px;
    padding: 18px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .gl-collection-breadcrumbs {
    flex-wrap: nowrap;
    gap: 7px;
    font-size: 9px;
    letter-spacing: 0.11em;
    overflow: hidden;
  }

  .gl-collection-breadcrumbs a,
  .gl-collection-breadcrumbs [aria-current='page'] {
    flex: 0 1 auto;
    max-width: 34vw;
  }

  .gl-collection-breadcrumbs [aria-current='page'] {
    min-width: 0;
  }

  .gl-collection-hero__copy {
    width: 100%;
  }

  .gl-collection-eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .gl-collection-title {
    max-width: 100%;
    font-size: clamp(44px, 14.5vw, 72px);
    line-height: 0.91;
  }

  .gl-collection-subtitle {
    max-width: 92%;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.58;
  }

  .gl-collection-hero__actions {
    align-items: flex-start;
    gap: 14px 18px;
    margin-top: 24px;
  }

  .gl-collection-hero__button {
    min-height: 46px;
    padding-inline: 18px;
  }

  .gl-collection-hero__count {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    font-size: 9px;
  }

  .gl-collection-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 48px 20px 54px;
  }

  .gl-collection-story__label::before {
    width: 38px;
    margin-bottom: 14px;
  }

  .gl-collection-story__text {
    font-size: 14px;
    line-height: 1.72;
  }

  .gl-collection-story__text p:first-child {
    font-size: clamp(29px, 9.5vw, 43px);
    line-height: 1.08;
  }

  .gl-p-editorial-label {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 56px);
    padding: 4px 7px 3px;
    font-size: 8px;
    letter-spacing: 0.11em;
  }

  .gl-p-editorial-label--stacked {
    top: 38px;
  }

  .gl-collection-empty {
    min-height: 390px;
    padding: 62px 20px;
  }

  .gl-collection-empty__line {
    height: 38px;
    margin-bottom: 18px;
  }

  .gl-collection-empty__actions {
    width: 100%;
  }

  .gl-collection-empty__actions .btn-gl-primary,
  .gl-collection-empty__actions .btn-gl-outline {
    flex: 1 1 170px;
    min-width: 0;
  }
}

@media (max-width: 399.98px) {
  .gl-collection-hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .gl-collection-hero__button {
    width: 100%;
  }

  .gl-collection-hero__count {
    min-height: 0;
  }

  .gl-collection-empty__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .gl-collection-empty__actions .btn-gl-primary,
  .gl-collection-empty__actions .btn-gl-outline {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gl-collection-breadcrumbs a,
  .gl-collection-hero__button,
  .gl-collection-hero__button svg {
    transition: none;
  }
}
