/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; padding-top: 12px; }

.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.gallery__main { position: relative; aspect-ratio: 1; overflow: hidden; cursor: zoom-in;
  background: radial-gradient(110% 80% at 50% 40%, #f7f2e9 0%, var(--surface-2) 72%); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__main { cursor: zoom-in; }
.gallery__main.is-zoomed img { transform: scale(1.9); transition: transform .5s var(--ease-out); }
.gallery__main.is-switching img { opacity: 0; }
.gallery__main .tile__flags { left: 20px; top: 20px; }
/* Arrows and the counter: every photo fills the same square, the arrows flip through them. */
.gallery__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px;
  border: 1px solid rgba(28, 28, 26, .12); border-radius: 50%; background: rgba(250, 247, 241, .86); color: var(--ink);
  backdrop-filter: blur(6px); cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.gallery__arrow--prev { left: 18px; }
.gallery__arrow--prev .icon { transform: rotate(180deg); }
.gallery__arrow--next { right: 18px; }
.gallery__arrow:hover { background: var(--accent); color: #f4f1e8; border-color: var(--accent); }
.gallery__arrow:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.gallery__count { position: absolute; right: 20px; bottom: 18px; z-index: 2; padding: 6px 12px; font-size: 11px; letter-spacing: .14em;
  background: rgba(250, 247, 241, .86); color: var(--ink); }
/* Lightbox: the whole photo, uncropped, on a dark screen. */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(14, 18, 15, .96); color: #f4f1e8; overflow: hidden; }
.lightbox::backdrop { background: rgba(14, 18, 15, .6); }
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in .35s var(--ease); }
@keyframes lightbox-in { from { opacity: 0; } }
.lightbox__img { max-width: calc(100vw - 180px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain;
  transition: opacity .25s var(--ease); }
.lightbox.is-switching .lightbox__img { opacity: 0; }
.lightbox__close, .lightbox__arrow { position: absolute; display: grid; place-items: center; width: 52px; height: 52px;
  border: 1px solid rgba(244, 241, 232, .25); border-radius: 50%; background: rgba(244, 241, 232, .06); color: #f4f1e8;
  cursor: pointer; transition: background .4s var(--ease), border-color .4s var(--ease); }
.lightbox__close:hover, .lightbox__arrow:hover { background: rgba(244, 241, 232, .16); border-color: rgba(244, 241, 232, .6); }
.lightbox__close:focus-visible, .lightbox__arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__arrow { top: 50%; margin-top: -26px; }
.lightbox__arrow--prev { left: 28px; }
.lightbox__arrow--prev .icon { transform: rotate(180deg); }
.lightbox__arrow--next { right: 28px; }
.lightbox__count { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em;
  color: rgba(244, 241, 232, .7); }
@media (max-width: 700px) {
  .lightbox__img { max-width: 100vw; max-height: calc(100dvh - 140px); }
  .lightbox__close { top: 14px; right: 14px; width: 44px; height: 44px; }
  .lightbox__arrow { top: auto; bottom: 14px; margin-top: 0; width: 44px; height: 44px; }
  .lightbox__arrow--prev { left: 14px; }
  .lightbox__arrow--next { right: 14px; }
  .lightbox__count { bottom: 28px; }
}
@media (max-width: 700px) {
  .gallery__arrow { width: 42px; height: 42px; margin-top: -21px; }
  .gallery__arrow--prev { left: 10px; }
  .gallery__arrow--next { right: 10px; }
}
.gallery__thumbs { display: flex; gap: 12px; }
.gallery__thumb { position: relative; flex: 0 0 96px; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.gallery__thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .6s var(--ease); }
.gallery__thumb.is-active::after, .gallery__thumb:hover::after { transform: scaleX(1); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.buybox { padding-top: 12px; }
.buybox__meta { display: flex; gap: 22px; align-items: center; margin: 0 0 14px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.buybox__brand { color: var(--gold); font-weight: 500; text-decoration: none; }
.buybox__brand:hover { color: var(--ink); }
.buybox__title { margin: 0 0 14px; font: 400 clamp(36px, 3.8vw, 58px)/1.02 var(--serif); letter-spacing: -.01em; }
.buybox__specs { display: flex; flex-wrap: wrap; margin: 0 0 30px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.buybox__specs span + span::before { content: "·"; margin: 0 10px; color: var(--gold); }

.price--lg { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 10px; }
.price--lg .price__now { font: 400 34px/1 var(--serif); letter-spacing: .02em; }
.price--lg .price__old { font-size: 16px; }
.price__save { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sale); }

.variants { margin: 30px 0 4px; padding-top: 24px; border-top: 1px solid var(--line); }
.variants__label { margin: 0 0 14px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.variants__label span { color: var(--ink); }
.variants__list { display: flex; flex-wrap: wrap; gap: 14px; }
.variant { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; text-decoration: none; }
.variant::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color .3s, transform .5s var(--ease-out); }
.variant:hover::before { border-color: var(--ink-2); transform: scale(1.08); }
.variant.is-active::before { border-color: var(--ink); }
.variant.is-out { opacity: .45; }
.variant__swatch { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), transparent 55%), var(--swatch, #d9d0bf); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.variant__name, .variant__price { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.buybox__card { display: grid; gap: 16px; margin-top: 30px; }
.buybox__form { display: flex; gap: 12px; flex-wrap: wrap; }
.buybox__form .btn { flex: 1; min-width: 200px; }
.buybox__links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.buybox__fav { margin: 0; }

.perks { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.perks li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.perks .icon { color: var(--gold); margin-top: 3px; width: 22px; height: 22px; }
.perks strong { display: block; font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.perks span { font-size: 14px; color: var(--muted); }

.pdp-info { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); margin-top: clamp(64px, 9vw, 140px); padding-top: 48px; border-top: 1px solid var(--line); }
.prose--story { font: 400 clamp(21px, 1.8vw, 26px)/1.5 var(--serif); color: var(--ink); max-width: 36ch; }
.prose--story p:first-child::first-letter { float: left; font-size: 3.3em; line-height: .8; padding: .08em .1em 0 0; color: var(--gold); }
.pdp-info__sub { margin: 40px 0 10px; font-size: 20px; }
.prose--small { font-size: 15px; color: var(--ink-2); }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.specs th { width: 46%; padding-right: 16px; font-size: 10.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 18px; }
.specs td { font: 400 19px/1.3 var(--serif); }

.similar { margin-top: clamp(80px, 10vw, 150px); }

@media (max-width: 980px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .pdp-info { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 620px) {
  .gallery__thumb { flex-basis: 72px; }
  .price--lg .price__now { font-size: 30px; }
  .buybox__form .stepper { flex: none; }
  .buybox__form .btn { min-width: 0; }
}
