/* PV product page — tasks 124/126/127/147/148/212/213/214/217/218/219/220/233.
   Colour, spacing and type all come from design-tokens.css. Nothing here
   defines its own colour. */

/* ---- 148/217: format badge on the card ---- */
.pv-card-format {
  display: inline-block;
  margin: var(--pv-s1) 0 0;
  vertical-align: middle;
}

/* ---- shared block shell ---- */
.pv-block {
  margin: var(--pv-s5) 0;
  font-family: var(--pv-font-body);
  font-size: var(--pv-fs-sm);
  color: var(--pv-ink);
}
.pv-block__h {
  font-family: var(--pv-font-body);
  font-size: var(--pv-fs-body);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 var(--pv-s3);
  color: var(--pv-ink);
}

/* ---- 147: attar / perfume cross-link ---- */
.pv-pair {
  background: var(--pv-surface-alt);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  padding: var(--pv-s3) var(--pv-s4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--pv-s2) var(--pv-s4);
  align-items: baseline;
}
.pv-pair__now { color: var(--pv-ink-muted); }
.pv-pair__link {
  color: var(--pv-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: auto;
}
.pv-pair__price { color: var(--pv-ink-muted); font-weight: 400; }

/* ---- 212: fragrance profile ---- */
.pv-profile__list { margin: 0; }
.pv-profile__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--pv-s3);
  padding: var(--pv-s2) 0;
  border-bottom: 1px solid var(--pv-border);
}
.pv-profile__row:last-child { border-bottom: 0; }
.pv-profile__row dt { color: var(--pv-ink-muted); margin: 0; font-weight: 500; }
.pv-profile__row dd { margin: 0; }

/* ---- 126/127/214: size & value ladder ---- */
.pv-ladder__t { width: 100%; border-collapse: collapse; }
.pv-ladder__t th,
.pv-ladder__t td {
  text-align: left;
  padding: var(--pv-s2) var(--pv-s2);
  border-bottom: 1px solid var(--pv-border);
  font-size: var(--pv-fs-sm);
}
.pv-ladder__t th { color: var(--pv-ink-muted); font-weight: 500; }
.pv-ladder__best td { background: var(--pv-surface-alt); }
.pv-tag {
  display: inline-block;
  background: var(--pv-accent);
  color: var(--pv-ink);
  border-radius: 4px;
  padding: 0 var(--pv-s1);
  font-size: var(--pv-fs-xs);
  font-weight: 700;
  text-transform: uppercase;
}
.pv-ladder__note { color: var(--pv-ink-muted); font-size: var(--pv-fs-xs); margin: var(--pv-s2) 0 0; }

/* ---- 218/233: trust row ---- */
.pv-trust {
  list-style: none;
  padding: var(--pv-s4) 0 0;
  margin: var(--pv-s5) 0 0;
  border-top: 1px solid var(--pv-border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--pv-s3) var(--pv-s4);
}
.pv-trust li { display: flex; flex-direction: column; gap: 2px; }
.pv-trust strong { font-size: var(--pv-fs-sm); font-weight: 600; }
.pv-trust span { font-size: var(--pv-fs-xs); color: var(--pv-ink-muted); }

/* ---- 220: cap the reviews block ---- */
.pv-reviews-capped { position: relative; max-height: 1400px; overflow: hidden; }
.pv-reviews-capped::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--pv-surface));
  pointer-events: none;
}
.pv-reviews-more {
  display: block;
  margin: calc(var(--pv-s4) * -1) auto var(--pv-s6);
  position: relative;
  z-index: 2;
}

/* ---- 124/213: sticky add-to-cart, mobile only ---- */
.pv-sticky-atc {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 998;
  display: none;
  align-items: center;
  gap: var(--pv-s3);
  padding: var(--pv-s2) var(--pv-gutter);
  padding-bottom: calc(var(--pv-s2) + env(safe-area-inset-bottom, 0px));
  background: var(--pv-surface);
  border-top: 1px solid var(--pv-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
.pv-sticky-atc.is-on { display: flex; }
.pv-sticky-atc__info { flex: 1 1 auto; min-width: 0; }
.pv-sticky-atc__name {
  display: block;
  font-size: var(--pv-fs-xs);
  color: var(--pv-ink-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pv-sticky-atc__price { display: block; font-size: var(--pv-fs-sm); font-weight: 600; color: var(--pv-ink); }
.pv-sticky-atc__btn {
  flex: 0 0 auto;
  min-height: var(--pv-tap);
  padding: 0 var(--pv-s5);
  border: 0; border-radius: var(--pv-radius);
  background: var(--pv-brand); color: var(--pv-ink-inverse);
  font-family: var(--pv-font-body); font-size: var(--pv-fs-body); font-weight: 600;
  cursor: pointer;
}

@media (min-width: 768px) {
  .pv-sticky-atc { display: none !important; }
  .pv-trust { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  .pv-profile__row { grid-template-columns: 110px 1fr; }
  .pv-ladder__t th, .pv-ladder__t td { padding: var(--pv-s2) var(--pv-s1); }
  /* leave room for the sticky bar so it never covers the footer links */
  body.single-product { padding-bottom: 76px; }
}

/* ---- 129: complete the set ---- */
.pv-fbt__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:var(--pv-s3)}
.pv-fbt__card{display:flex;flex-direction:column;gap:var(--pv-s1);text-decoration:none;color:var(--pv-ink);border:1px solid var(--pv-border);border-radius:var(--pv-radius);padding:var(--pv-s2);background:var(--pv-surface);min-height:auto}
.pv-fbt__card:hover{border-color:var(--pv-brand)}
.pv-fbt__img img{width:100%;height:auto;display:block;border-radius:4px}
.pv-fbt__name{font-size:var(--pv-fs-xs);line-height:1.35}
.pv-fbt__price{font-size:var(--pv-fs-sm);font-weight:600}
@media (max-width:767px){.pv-fbt__grid{grid-template-columns:repeat(3,1fr);gap:var(--pv-s2)}}
