/* ═══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE STYLES — extends style.css
   ═══════════════════════════════════════════════════════════════════ */

.pdp-hero {
  padding: 120px 0 60px;
  background: transparent;
  position: relative;
  border-bottom: 1px solid var(--se-border);
}
.pdp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,48,80,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,48,80,.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 80%);
}

.pdp-breadcrumb {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--se-smoke);
  margin-bottom: 40px;
}
.pdp-breadcrumb a {
  color: var(--se-chrome);
  transition: color .2s;
}
.pdp-breadcrumb a:hover { color: var(--se-gold-lt); }
.pdp-breadcrumb .sep {
  color: var(--se-border);
}

.pdp-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

/* ── GALLERY ─────────────────────────────────────── */
.pdp-gallery {
  position: relative;
  display: grid;
  gap: 16px;
}
.pdp-gallery__specs-block,
.pdp-gallery__colors-block {
  margin-top: 32px;
}

.pdp-gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--se-bg-mid);
  border: 1px solid var(--se-border);
}
.pdp-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s var(--ease-out);
}
.pdp-gallery__floor-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(8,11,20,.85);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--se-gold-lt);
  border: 1px solid var(--se-border);
  z-index: 2;
}

.pdp-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pdp-gallery__thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--se-bg-mid);
  border: 1px solid var(--se-border);
  cursor: pointer;
  transition: all .3s var(--ease-out);
}
.pdp-gallery__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.6;
  transition: opacity .3s, transform .5s;
}
.pdp-gallery__thumb:hover img { opacity: 1; }
.pdp-gallery__thumb:hover { border-color: var(--se-chrome); }
.pdp-gallery__thumb.is-active {
  border-color: var(--se-gold);
  box-shadow: 0 0 0 1px var(--se-gold);
}
.pdp-gallery__thumb.is-active img { opacity: 1; }

/* ── DETAIL CONTENT ─────────────────────────────── */
.pdp-detail {
  padding-top: 12px;
}

.pdp-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--se-chrome);
  margin-bottom: 18px;
}

.pdp-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--se-white);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 400;
}
.pdp-tagline {
  font-size: 15px;
  line-height: 1.5;
  color: var(--se-gold-lt);
  margin-bottom: 22px;
  font-weight: 300;
  font-style: italic;
}

.pdp-floor-toggle {
  display: inline-flex;
  margin: 0 0 24px;
  background: var(--se-bg-surf);
  border: 1px solid var(--se-border);
  padding: 4px;
}
.pdp-floor-toggle button {
  padding: 9px 16px;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--se-silver);
  transition: all .3s var(--ease-out);
}
.pdp-floor-toggle button.is-active {
  background: var(--se-gold);
  color: var(--se-black);
}

.pdp-price-block {
  padding: 20px 22px;
  background: var(--se-bg-mid);
  border: 1px solid var(--se-border);
  border-left: 3px solid var(--se-gold);
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.pdp-price-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--se-smoke);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.pdp-price-value {
  font-family: var(--ff-display);
  font-size: clamp(36px, 3.6vw, 46px);
  color: var(--se-gold-lt);
  letter-spacing: 0.005em;
  line-height: 1;
}
.pdp-price-value--quote {
  font-size: clamp(22px, 2vw, 28px);
  color: var(--se-white);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.pdp-price-extra {
  font-size: 11px;
  color: var(--se-smoke);
  margin-top: 6px;
}
.pdp-price-iva {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--se-chrome);
  text-align: right;
  max-width: 130px;
  line-height: 1.5;
}

.pdp-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--se-mist);
  margin-bottom: 28px;
}

/* SPECS */
.pdp-section-title {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--se-gold-lt);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--se-border);
}

.pdp-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}
.pdp-spec {
  padding: 14px;
  background: var(--se-bg-surf);
  border: 1px solid var(--se-border);
}
.pdp-spec__icon {
  width: 24px; height: 24px;
  color: var(--se-chrome);
  margin-bottom: 8px;
}
.pdp-spec__label {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--se-smoke);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.pdp-spec__value {
  font-size: 13px;
  color: var(--se-white);
  font-weight: 600;
  line-height: 1.4;
}

/* COLORS */
.pdp-colors {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
}
.pdp-color {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.pdp-color__swatch {
  width: 48px; height: 48px;
  border: 2px solid var(--se-border);
  transition: all .3s;
  position: relative;
}
.pdp-color__swatch--black { background: #0E0F12; }
.pdp-color__swatch--white { background: #ECECEC; }
.pdp-color__swatch--gray  { background: #5A5C60; }
.pdp-color:hover .pdp-color__swatch { border-color: var(--se-gold-lt); }
.pdp-color.is-selected .pdp-color__swatch {
  border-color: var(--se-gold);
  box-shadow: 0 0 0 1px var(--se-gold), inset 0 0 0 2px var(--se-bg-dark);
}
.pdp-color__name {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--se-silver);
}

/* INCLUYE */
.pdp-features {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}
.pdp-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--se-bg-surf);
  border: 1px solid var(--se-border);
  border-left: 2px solid var(--se-gold);
}
.pdp-feature__check {
  width: 16px; height: 16px;
  background: var(--se-gold);
  color: var(--se-black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.pdp-feature__check svg { width: 10px; height: 10px; }
.pdp-feature__text {
  font-size: 13px;
  color: var(--se-mist);
  line-height: 1.5;
}
.pdp-feature__text strong {
  color: var(--se-white);
}

/* CTA (ahora colocado tras el precio) */
.pdp-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.pdp-cta .btn { width: 100%; justify-content: center; padding: 14px 22px; font-size: 12px; }

.pdp-warranty-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(198,152,48,.08), transparent);
  border: 1px solid rgba(198,152,48,.25);
}
.pdp-warranty-strip svg { width: 28px; height: 28px; color: var(--se-gold); flex-shrink: 0; }
.pdp-warranty-strip__text {
  font-size: 13px;
  color: var(--se-mist);
  line-height: 1.4;
}
.pdp-warranty-strip__text strong {
  color: var(--se-gold-lt);
  font-weight: 700;
}

/* TRUST STRIP — light breathing section between pdp-hero and pdp-related */
.pdp-trust {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--se-light-bg);
  color: var(--se-light-text);
  border-top: 1px solid var(--se-border);
  position: relative;
}
.pdp-trust::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--se-gold), transparent);
  opacity: 0.65;
}
.pdp-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.pdp-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.pdp-trust__item + .pdp-trust__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(14px, 2vw, 32px));
  top: 16%; bottom: 16%;
  width: 1px;
  background: var(--se-light-line);
}
.pdp-trust__num {
  font-family: var(--ff-display);
  font-size: clamp(42px, 5.4vw, 72px);
  color: var(--se-light-text);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
}
.pdp-trust__num--plus::before {
  content: '+';
  color: var(--se-gold);
  font-family: var(--ff-display);
  font-size: 0.6em;
  margin-right: 4px;
  vertical-align: 0.18em;
}
.pdp-trust__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--se-light-mute);
  line-height: 1.5;
  max-width: 22ch;
}
.pdp-trust__quote {
  margin-top: clamp(36px, 4.5vw, 56px);
  text-align: center;
  font-family: var(--ff-display);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--se-light-text);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.pdp-trust__quote strong {
  color: var(--se-gold);
  font-weight: 400;
}
.pdp-trust__quote-sub {
  margin-top: 14px;
  text-align: center;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--se-light-mute);
  letter-spacing: 0.02em;
  font-style: italic;
}
@media (max-width: 640px) {
  .pdp-trust__grid { grid-template-columns: 1fr; gap: 36px; }
  .pdp-trust__item + .pdp-trust__item::before {
    left: 0; right: 0; top: -18px; bottom: auto; width: 60px; height: 1px;
    margin: 0 auto;
  }
}


/* RELATED — claro para reducir densidad oscura */
.pdp-related {
  padding: var(--section-py) 0;
  background: var(--se-light-bg);
  color: var(--se-light-text);
  border-top: 1px solid var(--se-light-line);
  position: relative;
  overflow: hidden;
}
/* La regla section--dark::after vignette no debe aplicar en pdp-related */
.pdp-related.section--dark { background: var(--se-light-bg); }
.pdp-related.section--dark::after { display: none; }
.pdp-related .ambient-iso { display: none; }
.pdp-related .section-header__eyebrow { color: var(--se-light-mute); }
.pdp-related .section-header__title { color: var(--se-light-text); }
.pdp-related .section-header__eyebrow .eyebrow-dot { background: var(--se-gold); }
.pdp-related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

@media (max-width: 1024px) {
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .pdp-related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pdp-hero { padding: 100px 0 40px; }
  .pdp-specs { grid-template-columns: 1fr; }
  .pdp-cta { grid-template-columns: 1fr; }
  .pdp-price-block { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pdp-price-iva { text-align: left; }
}
