/* ==========================================================================
   Product detail page (PDP)
   ========================================================================== */

.pdp__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 496px;
  gap: 42px;
  align-items: start;
  padding-bottom: 26px;
}

/* ---------- Gallery ---------- */
.pdp__gallery {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.pdp__thumbs {
  display: grid;
  gap: 10px;
}

.pdp__thumb {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface-alt);
  padding: 0;
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__thumb:hover { border-color: var(--text-faint); }

.pdp__thumb.is-active {
  border-color: var(--brand-yellow-dark);
  box-shadow: 0 0 0 2px rgba(255, 216, 20, 0.45);
}

.pdp__stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #0b0b0d;
  aspect-ratio: 1 / 1.2;
}

.pdp__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pdp__gallery.is-zoomed .pdp__stage img { transform: scale(1.6); }

.pdp__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.pdp__zoom:hover { background: #fff; }
.pdp__zoom svg { width: 17px; height: 17px; }

/* ---------- Buy box ---------- */
.pdp__title {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 9px 0 8px;
}

.pdp__rating {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-14);
  color: var(--text-body);
  margin-bottom: 10px;
}

.pdp__rating b { font-weight: 600; }
.pdp__rating span:not(.stars) { color: var(--text-muted); }

.pdp__price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.pdp__price-now {
  font-size: 32px;
  font-weight: 700;
  color: var(--price-red);
  letter-spacing: -0.02em;
}

.pdp__price-was {
  font-size: var(--fs-18);
  color: var(--text-faint);
  text-decoration: line-through;
}

.pdp__save {
  background: var(--sale-red);
  color: #fff;
  font-size: var(--fs-13);
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}

.pdp__vat {
  font-size: var(--fs-13);
  color: var(--text-muted);
  margin: 3px 0 13px;
}

.pdp__bullets {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

.pdp__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: var(--fs-14);
  color: var(--text-body);
  line-height: 1.45;
}

.pdp__bullets svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--brand-yellow-darker);
}

.pdp__stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--success);
  margin-bottom: 15px;
}

.pdp__stock svg { width: 17px; height: 17px; }

/* delivery panel */
.delivery {
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 13px 15px;
  margin-bottom: 14px;
}

.delivery__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-14);
  font-weight: 600;
  margin-bottom: 10px;
}

.delivery__head svg { width: 16px; height: 16px; }

.delivery__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 12px;
}

.delivery__form input {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-size: var(--fs-13);
  background: var(--surface);
  min-width: 0;
}

.delivery__form input:focus {
  outline: none;
  border-color: var(--brand-yellow-dark);
}

.delivery__form .btn { padding: 9px 22px; }

.delivery__eta {
  display: flex;
  gap: 10px;
  font-size: var(--fs-13);
  color: var(--text-body);
  line-height: 1.5;
}

.delivery__eta svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; }
.delivery__eta small { display: block; color: var(--text-muted); font-size: var(--fs-12); }

/* quantity + actions */
.pdp__buy {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.qty button {
  width: 36px;
  height: 44px;
  font-size: 19px;
  line-height: 1;
  color: var(--text-body);
}

.qty button:hover { background: var(--surface-soft); }

.qty input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  text-align: center;
  font-size: var(--fs-14);
  font-weight: 600;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.qty input:focus { outline: none; }

.pdp__buy .btn--yellow { height: 44px; font-size: var(--fs-15); }
.pdp__buynow { height: 44px; margin-bottom: 14px; }

.pdp__links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: var(--fs-13);
  margin-bottom: 14px;
}

.pdp__links button,
.pdp__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--info-blue);
}

.pdp__links button:hover,
.pdp__links a:hover { text-decoration: underline; }
.pdp__links svg { width: 15px; height: 15px; }
.pdp__links .is-on svg { fill: currentColor; }

/* reassurance row under the buy box */
.reassure {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 26px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-12);
  color: var(--text-muted);
}

.reassure > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.reassure svg { width: 21px; height: 21px; color: var(--text-body); flex: 0 0 auto; }
.reassure b { display: block; font-size: var(--fs-12); font-weight: 600; color: var(--text-primary); }

.reassure__cards { display: flex; gap: 5px; }

.reassure__cards span {
  height: 19px;
  min-width: 33px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  font-size: 8px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ---------- Tab bar ---------- */
.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tabs a {
  padding: 11px 0;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.tabs a:hover { color: var(--text-primary); }

.tabs a.is-active {
  color: var(--text-primary);
  font-weight: 600;
  border-bottom-color: var(--brand-yellow);
}

/* ---------- About block ---------- */
.pdp__grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.prose h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.prose p {
  font-size: var(--fs-14);
  color: var(--text-body);
  line-height: 1.75;
}

/* wide feature banner */
.pdp__banner {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  isolation: isolate;
  background: #170d22;
}

.pdp__banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  z-index: -2;
}

.pdp__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(270deg,
    rgba(24, 8, 34, 0.92) 0%,
    rgba(24, 8, 34, 0.72) 34%,
    rgba(24, 8, 34, 0.2) 66%,
    rgba(24, 8, 34, 0) 88%);
}

.pdp__banner-body {
  padding: 20px 26px;
  width: 54%;
  color: #fff;
}

.pdp__banner-title {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ff4d6d;
  text-shadow: 0 0 18px rgba(255, 77, 109, 0.5);
}

.pdp__banner-sub {
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 8px;
  line-height: 1.4;
}

/* ---------- Feature tiles ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 12px 15px;
  text-align: center;
  background: var(--surface);
}

.feature__icon {
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: var(--info-blue);
}

.feature__icon svg { width: 28px; height: 28px; }
.feature__icon img { width: 34px; height: 34px; object-fit: contain; }

.feature__t { font-size: var(--fs-13); font-weight: 600; margin-bottom: 3px; }
.feature__s { font-size: var(--fs-12); color: var(--text-muted); line-height: 1.45; }

/* ---------- Specs + included ---------- */
.specs-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.block-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.spectable {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: var(--fs-13);
}

.spectable tr + tr td { border-top: 1px solid var(--line-soft); }

.spectable td {
  padding: 7px 14px;
  color: var(--text-body);
}

.spectable td:first-child {
  width: 45%;
  color: var(--text-primary);
  border-right: 1px solid var(--line-soft);
}

.included {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.included figure {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
  text-align: center;
  background: var(--surface);
  margin: 0;
}

.included img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 8px;
}

.included figcaption { font-size: var(--fs-12); color: var(--text-body); }

/* ---------- Why you'll love it ---------- */
.love-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.love {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 175px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: #16121c;
}

.love img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.love::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(6, 5, 8, 0.9) 0%, rgba(6, 5, 8, 0.45) 45%, rgba(6, 5, 8, 0.1) 100%);
}

.love__body { padding: 14px; color: #fff; }

.love__t {
  font-size: var(--fs-14);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.love__s { font-size: var(--fs-12); color: #d7d3da; margin-top: 3px; line-height: 1.35; }

/* ---------- Reviews ---------- */
.reviews-summary {
  display: grid;
  grid-template-columns: auto minmax(220px, 320px) 1fr;
  align-items: center;
  gap: 46px;
  margin-bottom: 18px;
}

.reviews-score {
  text-align: center;
}

.reviews-score b {
  display: block;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.reviews-score .stars { margin: 6px 0 4px; }
.reviews-score small { font-size: var(--fs-12); color: var(--text-muted); }

.bars { display: grid; gap: 5px; }

.bar {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-12);
  color: var(--text-muted);
}

.bar__track {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--surface-soft);
  overflow: hidden;
}

.bar__fill {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--brand-yellow);
}

.reviews-summary__cta { justify-self: end; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.review {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  background: var(--surface);
}

.review__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.review__avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  object-fit: cover;
  background: var(--surface-soft);
  flex: 0 0 auto;
}

.review__who { font-size: var(--fs-13); font-weight: 600; }
.review__verified { font-size: var(--fs-11); color: var(--success); }

.review__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.review__date { font-size: var(--fs-11); color: var(--text-faint); }

.review__text {
  font-size: var(--fs-13);
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 10px;
}

.review__shots { display: flex; gap: 6px; }

.review__shots img {
  width: 46px;
  height: 46px;
  border-radius: var(--r-xs);
  object-fit: cover;
}

.review .wish { top: 12px; right: 10px; width: 22px; height: 22px; }
.review .wish svg { width: 15px; height: 15px; }

/* mini cards in the PDP rails show a shorter image, as in the reference */
.pcard--mini .pcard__media { aspect-ratio: 1.6 / 1; margin-bottom: 8px; }
.pcard--mini .price { margin-bottom: 2px; }

/* ---------- Rails ---------- */
.rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: 12px;
}

.rail-head h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.grid-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
}

.acc__item { border-bottom: 1px solid var(--line); }

.acc__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 2px;
  font-size: var(--fs-14);
  font-weight: 500;
  text-align: left;
  color: var(--text-primary);
}

.acc__head svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--text-muted);
  transition: transform var(--t-fast);
}

.acc__item.is-open .acc__head svg { transform: rotate(180deg); }

.acc__body {
  display: none;
  padding: 0 2px 14px;
  font-size: var(--fs-13);
  color: var(--text-body);
  line-height: 1.6;
}

.acc__item.is-open .acc__body { display: block; }
