/* ==========================================================================
   01 — Detail page theme and hero
   ========================================================================== */
.page-look-detail {
  --cream2: #fffaf2;
  --blue: #183d9c;
  --muted: #70675f;
}

.product-hero {
  position: relative;
  min-height: calc(92vh - var(--topbar-height) - var(--nav-height));
  padding: 70px 28px 68px;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/look-royal-jacket-open.jpg") center 22% / cover no-repeat;
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.02);
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .38) 48%, rgba(0, 0, 0, .72)),
    linear-gradient(0deg, rgba(0, 0, 0, .86), transparent 58%);
}

.page-look-detail .hero-grid {
  position: relative;
  z-index: 2;
  min-height: calc(92vh - 180px);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 680px) 380px;
  gap: 46px;
  align-items: end;
}

.page-look-detail .eyebrow {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.page-look-detail .eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold2);
}

.page-look-detail h1 {
  margin: 0 0 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(56px, 8vw, 112px);
  line-height: .86;
  letter-spacing: -.065em;
}

.page-look-detail .lead {
  max-width: 650px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.style-rich-copy > :first-child { margin-top: 0; }
.style-rich-copy > :last-child { margin-bottom: 0; }
.page-look-detail .lead.style-rich-copy p { margin: 0; }
.style-rich-copy ul,
.style-rich-copy ol { padding-left: 1.35em; }
.copy.style-rich-copy ul,
.copy.style-rich-copy ol,
.copy .style-rich-copy ul,
.copy .style-rich-copy ol {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

.page-look-detail .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-look-detail .btn {
  font-weight: 900;
}

.page-look-detail .btn:hover {
  transform: translateY(-2px);
}

.buy-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(12, 12, 12, .52);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.buy-card small {
  color: var(--gold2);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.buy-card h2 {
  margin: 12px 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 39px;
  line-height: .95;
}

.price {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 900;
}

.detail-list {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.45;
  list-style: none;
}

.detail-list b {
  color: #fff;
}

/* ==========================================================================
   02 — Story and supporting content
   ========================================================================== */
.page-look-detail .section {
  padding: 88px 28px;
}

.page-look-detail .wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.intro h2,
.section-title {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: .92;
  letter-spacing: -.055em;
}

.copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

.gold-line {
  color: #111;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.eyebrow-presence {
  color: var(--gold);
}

.style-intro {
  margin-bottom: 34px;
}

.quote {
  padding: 22px 0 22px 24px;
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(200, 161, 74, .13), transparent);
  color: #221b13;
  font-family: "Cormorant Garamond", serif;
  font-size: 33px;
  line-height: 1.08;
}

/* ==========================================================================
   03 — Gallery and style notes
   ========================================================================== */
.gallery-section {
  background: #101010;
  color: #fff;
}

.gallery-head {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.gallery-head p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  line-height: 1.7;
}

.gallery-copy {
  max-width: 520px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.7;
}
.gallery-copy p { max-width: none; }

.gallery {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 18px;
}

.shot {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #222;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .28);
  cursor: pointer;
}

.shot.tall {
  min-height: 744px;
  grid-row: span 2;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s ease;
}

.shot:hover img {
  transform: scale(1.045);
}

.shot span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  color: var(--gold2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.style-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.page-look-detail .note {
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, .07);
  background: #fff;
  box-shadow: 0 16px 45px rgba(43, 30, 18, .08);
}

.page-look-detail .note b {
  margin-bottom: 14px;
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 1;
}

.page-look-detail .note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.page-look-detail .note-copy {
  color: var(--muted);
  line-height: 1.65;
}

.cta {
  background: linear-gradient(135deg, #111, #252018);
  color: #fff;
  text-align: center;
}

.cta h2 {
  max-width: 850px;
  margin: 0 auto 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .9;
  letter-spacing: -.055em;
}

.cta p {
  max-width: 760px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, .76);
  font-size: 18px;
  line-height: 1.7;
}

/* ==========================================================================
   04 — Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  padding: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-panel {
  position: relative;
  width: min(1180px, 100%);
  height: min(86vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #111;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: .18s ease;
}

.lightbox-close {
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 34px;
  transform: translateY(-50%);
}

.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

.lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 50%;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  color: var(--gold2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255, 255, 255, .18);
}

.lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

.lightbox-close:hover {
  transform: scale(1.04);
}

/* ==========================================================================
   05 — Entrance motion
   ========================================================================== */
.fade {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeIn .8s cubic-bezier(.2, .8, .2, 1) forwards;
}

.d1 { animation-delay: .16s; }
.d2 { animation-delay: .32s; }
.d3 { animation-delay: .48s; }
.d4 { animation-delay: .64s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   06 — Detail responsive rules
   ========================================================================== */
@media (max-width: 980px) {
  .page-look-detail .hero-grid,
  .intro {
    grid-template-columns: 1fr;
  }

  .page-look-detail .hero-grid {
    min-height: auto;
  }

  .buy-card {
    max-width: 520px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .shot.tall {
    min-height: 520px;
    grid-row: auto;
  }

  .style-notes {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .page-look-detail {
    --topbar-height: 0px;
    --nav-height: 76px;
  }

  .page-look-detail .nav {
    padding: 0 22px;
  }

  .page-look-detail .brand {
    font-size: 30px;
  }

  .product-hero {
    min-height: auto;
    padding: 46px 22px;
  }

  .product-hero::before {
    background-position: center top;
  }

  .page-look-detail .hero-grid {
    gap: 28px;
  }

  .page-look-detail .eyebrow {
    font-size: 11px;
    letter-spacing: .13em;
  }

  .page-look-detail .eyebrow::before {
    width: 32px;
  }

  .page-look-detail h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .page-look-detail .lead {
    font-size: 16px;
  }

  .page-look-detail .section {
    padding: 62px 22px;
  }

  .gallery-head {
    display: block;
  }

  .gallery,
  .style-notes {
    grid-template-columns: 1fr;
  }

  .shot,
  .shot.tall {
    min-height: 440px;
  }

  .quote {
    font-size: 27px;
  }

  .page-look-detail .btn {
    width: 100%;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-panel {
    height: 82vh;
  }

  .lightbox-close {
    top: -4px;
    right: -4px;
    width: 44px;
    height: 44px;
  }

  .lightbox-arrow {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .lightbox-prev { left: -6px; }
  .lightbox-next { right: -6px; }

  .lightbox-caption {
    bottom: -8px;
    max-width: 86vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
