/* ============================================================
   premium-product.css — PDP (Product Detail Page) 2026 redesign
   Carga DESPUÉS de styles.css y premium-storefront.css.
   Prefijo namespace: .pdp-*
   Tokens consumidos: --pm-brand, --pm-brand-deep, --pm-brand-bright,
                      --brand, --brand2, --brand3, --accent, --muted, --bg2
   ============================================================ */

/* ── Layout shell ─────────────────────────────────────────── */
.pdp-wrap {
  padding: 24px 0 96px;
  background: linear-gradient(180deg, #fafbf7 0%, #f4f7f1 320px, #ffffff 720px);
  min-height: 60vh;
}
.pdp-wrap .container { max-width: 1280px; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.pdp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: .82rem;
  color: #6b7280;
  margin: 4px 0 22px;
  font-weight: 600;
}
.pdp-breadcrumb a {
  color: #4b5563;
  text-decoration: none;
  transition: color .15s;
  padding: 2px 4px;
  border-radius: 4px;
}
.pdp-breadcrumb a:hover { color: var(--pm-brand-deep, #0d3d24); background: rgba(31,122,77,.06); }
.pdp-bc-sep { display: inline-flex; align-items: center; color: #9ca3af; }
.pdp-bc-current {
  color: var(--pm-brand-deep, #0d3d24);
  font-weight: 800;
  max-width: 460px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Hero grid ────────────────────────────────────────────── */
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* ── Gallery ──────────────────────────────────────────────── */
.pdp-gallery { position: sticky; top: 96px; }

.pdp-gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1px solid rgba(13,61,36,.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px -12px rgba(15,23,42,.10), 0 2px 8px -2px rgba(15,23,42,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.pdp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  cursor: zoom-in;
}
.pdp-gallery-main:hover img { transform: scale(1.06); }
.pdp-zoom-link { display: contents; }

/* Branded placeholder (cuando no hay foto) — MUCHO más grande que la card */
.pdp-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(135deg, #1f7a4d 0%, #145c38 45%, #c9a44b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 36px;
  color: #fff;
  text-align: center;
}
.pdp-placeholder::before {
  /* shimmer diagonal sutil */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.10) 50%, transparent 60%);
  pointer-events: none;
}
.pdp-ph-eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.pdp-ph-monogram {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
  text-shadow: 0 6px 20px rgba(0,0,0,.20);
}
.pdp-ph-emoji {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  opacity: .85;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
}

/* Floating badges */
.pdp-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--pm-brand, #1f7a4d);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(31,122,77,.45);
}
.pdp-badge--orange  { background: linear-gradient(135deg, #f97316, #ea580c); box-shadow: 0 4px 14px -4px rgba(234,88,12,.45); }
.pdp-badge--blue    { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 4px 14px -4px rgba(29,78,216,.45); }
.pdp-badge--red     { background: linear-gradient(135deg, #dc2626, #b91c1c); box-shadow: 0 4px 14px -4px rgba(185,28,28,.45); }
.pdp-badge--gold    { background: linear-gradient(135deg, #d4a544, #b8860b); color: #2a1d00; box-shadow: 0 4px 14px -4px rgba(184,134,11,.45); }

/* Wishlist heart */
.pdp-wish {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(13,61,36,.10);
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px -4px rgba(15,23,42,.18);
  transition: transform .18s, color .18s, background .18s;
}
.pdp-wish:hover { transform: scale(1.08); color: #dc2626; background: #fff; }
.pdp-wish.is-active { color: #dc2626; }
.pdp-wish.is-active svg { fill: #dc2626; }

/* Thumbnails */
.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pdp-thumb {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  border: 2px solid rgba(13,61,36,.08);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .18s, transform .18s;
}
.pdp-thumb:hover { border-color: var(--pm-brand, #1f7a4d); transform: translateY(-2px); }
.pdp-thumb.is-active { border-color: var(--pm-brand, #1f7a4d); box-shadow: 0 0 0 3px rgba(31,122,77,.10); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb-mono {
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--pm-brand, #1f7a4d);
}

/* ── Info column ──────────────────────────────────────────── */
.pdp-info { padding-top: 4px; }

.pdp-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pm-brand, #1f7a4d);
  margin: 0 0 14px;
}
.pdp-eyebrow .dot { color: #cbd5d3; }

.pdp-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--pm-brand-deep, #0d3d24);
  letter-spacing: -.025em;
  margin: 0 0 18px;
  text-wrap: balance;
  font-feature-settings: "ss01" 1, "ss02" 1;
}

/* Rating */
.pdp-rating-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.pdp-stars { display: inline-flex; gap: 2px; }
.pdp-star { color: #d1d5db; display: inline-flex; }
.pdp-star.is-on { color: #f59e0b; }
.pdp-star.is-on svg { fill: #f59e0b; }
.pdp-rating-text { font-size: .85rem; color: #4b5563; font-weight: 700; }
.pdp-rating-text--soft { color: #6b7280; font-weight: 600; }
.pdp-rating-link { color: var(--pm-brand, #1f7a4d); text-decoration: underline; text-underline-offset: 2px; }
.pdp-rating-link:hover { color: var(--pm-brand-deep, #0d3d24); }

/* Price */
.pdp-price-wrap {
  padding: 18px 0 4px;
  border-top: 1px dashed rgba(13,61,36,.10);
  border-bottom: 1px dashed rgba(13,61,36,.10);
  margin-bottom: 16px;
}
.pdp-price {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--pm-brand-deep, #0d3d24);
  letter-spacing: -.03em;
  line-height: 1;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.pdp-price-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: #6b7280;
  margin-top: 8px;
  letter-spacing: .02em;
}
.pdp-price-meta .dot { color: #cbd5d3; }

/* Stock pill */
.pdp-stock { margin-bottom: 22px; }
.pdp-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.pdp-stock-pill--ok  { background: rgba(31,122,77,.10); color: var(--pm-brand-deep, #0d3d24); border: 1px solid rgba(31,122,77,.22); }
.pdp-stock-pill--low { background: rgba(245,158,11,.12); color: #92400e; border: 1px solid rgba(245,158,11,.35); }
.pdp-stock-pill--out { background: rgba(220,38,38,.10); color: #991b1b; border: 1px solid rgba(220,38,38,.30); }
.pdp-stock-pill svg { flex-shrink: 0; }

/* Buy block */
.pdp-buy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(13,61,36,.10);
  border-radius: 18px;
  box-shadow: 0 4px 18px -8px rgba(15,23,42,.08);
  margin-bottom: 22px;
}

.pdp-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 4px;
}
.pdp-qty-label {
  font-size: .82rem;
  font-weight: 800;
  color: #374151;
  letter-spacing: .02em;
}

.pdp-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid rgba(13,61,36,.18);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.pdp-step-btn {
  background: transparent;
  border: 0;
  width: 42px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pm-brand-deep, #0d3d24);
  transition: background .15s;
}
.pdp-step-btn:hover { background: rgba(31,122,77,.10); }
.pdp-step-btn:active { background: rgba(31,122,77,.18); }
.pdp-qty-input {
  width: 56px;
  height: 44px;
  text-align: center;
  border: 0;
  border-left: 1.5px solid rgba(13,61,36,.10);
  border-right: 1.5px solid rgba(13,61,36,.10);
  font-size: 1rem;
  font-weight: 800;
  color: var(--pm-brand-deep, #0d3d24);
  background: #fff;
  -moz-appearance: textfield;
}
.pdp-qty-input::-webkit-outer-spin-button,
.pdp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-qty-input:focus { outline: 2px solid var(--pm-brand, #1f7a4d); outline-offset: -2px; }

/* Primary CTA */
.pdp-cta-add {
  width: 100%;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: .01em;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pm-brand, #1f7a4d) 0%, var(--pm-brand-deep, #0d3d24) 100%);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(31,122,77,.55), inset 0 1px 0 rgba(255,255,255,.20);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.pdp-cta-add:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(31,122,77,.65), inset 0 1px 0 rgba(255,255,255,.20);
  filter: brightness(1.05);
}
.pdp-cta-add:active:not(:disabled) { transform: translateY(0); }
.pdp-cta-add:disabled { opacity: .55; cursor: not-allowed; filter: grayscale(.25); }

/* Secondary CTA */
.pdp-cta-buy {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 12px;
  background: #fff;
  color: var(--pm-brand-deep, #0d3d24);
  border: 1.5px solid var(--pm-brand, #1f7a4d);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.pdp-cta-buy:hover:not(:disabled) {
  background: rgba(31,122,77,.06);
  transform: translateY(-1px);
}
.pdp-cta-buy svg { color: #d4a544; }

/* Trust signals */
.pdp-trust {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.pdp-trust li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(31,122,77,.04);
  border: 1px solid rgba(31,122,77,.10);
  border-radius: 12px;
  font-size: .86rem;
  color: #374151;
  line-height: 1.4;
}
.pdp-trust strong { color: var(--pm-brand-deep, #0d3d24); font-weight: 800; }
.pdp-trust-sub { color: #6b7280; font-size: .78rem; font-weight: 600; }
.pdp-trust-ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pm-brand, #1f7a4d);
  border: 1px solid rgba(31,122,77,.15);
}

.pdp-sku {
  margin: 8px 0 0;
  font-size: .76rem;
  color: #9ca3af;
  font-weight: 600;
}
.pdp-sku code {
  font-family: 'SFMono-Regular', 'Consolas', monospace;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  color: #4b5563;
  font-size: .82rem;
}

/* ── Tabs ─────────────────────────────────────────────────── */
.pdp-tabs-section {
  margin: 72px 0 48px;
  background: #fff;
  border: 1px solid rgba(13,61,36,.08);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 18px -8px rgba(15,23,42,.06);
}

.pdp-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 8px 0;
  border-bottom: 1px solid rgba(13,61,36,.08);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pdp-tabs::-webkit-scrollbar { display: none; }

.pdp-tab {
  position: relative;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  padding: 14px 22px;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: #6b7280;
  cursor: pointer;
  border-radius: 12px 12px 0 0;
  transition: color .15s, background .15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pdp-tab:hover { color: var(--pm-brand-deep, #0d3d24); background: rgba(31,122,77,.04); }
.pdp-tab.is-active { color: var(--pm-brand-deep, #0d3d24); background: #fff; }
.pdp-tab.is-active::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px;
  bottom: -1px;
  height: 3px;
  background: var(--pm-brand, #1f7a4d);
  border-radius: 3px 3px 0 0;
}
.pdp-tab-count {
  font-size: .68rem;
  background: rgba(31,122,77,.12);
  color: var(--pm-brand-deep, #0d3d24);
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 900;
}

.pdp-tab-panels { padding: 28px 32px 32px; }
.pdp-tab-panel { animation: pdpFadeIn .25s ease-out; }
@keyframes pdpFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pdp-prose {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  max-width: 70ch;
  margin: 0;
}
.pdp-prose--muted { color: #6b7280; font-style: italic; }

.pdp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pdp-tag {
  font-size: .74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg2, #f3f4f6);
  color: #4b5563;
  border: 1px solid rgba(13,61,36,.06);
}

/* Benefits list */
.pdp-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 700px) {
  .pdp-benefits { grid-template-columns: 1fr 1fr; }
}
.pdp-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(31,122,77,.04);
  border-radius: 12px;
  font-size: .94rem;
  line-height: 1.5;
  color: #374151;
}
.pdp-benefit-ico {
  flex-shrink: 0;
  color: var(--pm-brand, #1f7a4d);
  margin-top: 2px;
}

/* Ship list */
.pdp-ship-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.pdp-ship-list li {
  padding: 10px 14px;
  background: var(--bg2, #f3f4f6);
  border-radius: 10px;
  font-size: .92rem;
  color: #374151;
}
.pdp-ship-list strong { color: var(--pm-brand-deep, #0d3d24); margin-right: 6px; }

/* Reviews */
.pdp-reviews { display: flex; flex-direction: column; gap: 18px; }
.pdp-review {
  padding: 16px 18px;
  background: var(--bg2, #f9fafb);
  border-radius: 14px;
  border: 1px solid rgba(13,61,36,.06);
}
.pdp-review-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px;
}
.pdp-review-author { font-size: .9rem; color: var(--pm-brand-deep, #0d3d24); font-weight: 800; }
.pdp-review-date   { font-size: .76rem; color: #9ca3af; font-weight: 600; }
.pdp-review-body   { font-size: .94rem; color: #374151; line-height: 1.6; margin: 0; }

/* ── Related (cross-sell) ─────────────────────────────────── */
.pdp-related { margin-top: 56px; }
.pdp-related-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.pdp-related-head h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--pm-brand-deep, #0d3d24);
  margin: 0;
}
.pdp-related-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .86rem; font-weight: 800;
  color: var(--pm-brand, #1f7a4d);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background .15s;
}
.pdp-related-more:hover { background: rgba(31,122,77,.10); }

.pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.pdp-rel-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid rgba(13,61,36,.08);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.pdp-rel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(15,23,42,.18);
  border-color: rgba(31,122,77,.25);
}
.pdp-rel-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #fafbf7, #eef3ec);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pdp-rel-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.pdp-rel-mono {
  font-family: 'Georgia', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--pm-brand, #1f7a4d);
  letter-spacing: -.04em;
}
.pdp-rel-emoji { position: absolute; bottom: 12px; right: 12px; font-size: 1.4rem; opacity: .65; }
.pdp-rel-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--pm-brand, #1f7a4d); color: #fff;
}
.pdp-rel-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.pdp-rel-name {
  font-size: .94rem;
  font-weight: 800;
  color: var(--pm-brand-deep, #0d3d24);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdp-rel-weight { font-size: .72rem; color: #6b7280; font-weight: 700; }
.pdp-rel-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--pm-brand, #1f7a4d);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

/* ── Sticky buy bar ───────────────────────────────────────── */
.pdp-sticky-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(13,61,36,.10);
  box-shadow: 0 -8px 24px -8px rgba(15,23,42,.12);
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.22,1,.36,1);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.pdp-sticky-bar.is-visible { transform: translateY(0); }
.pdp-sticky-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pdp-sticky-thumb {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fafbf7, #eef3ec);
  border: 1px solid rgba(13,61,36,.08);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pdp-sticky-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pdp-sticky-mono {
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--pm-brand, #1f7a4d);
}
.pdp-sticky-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.pdp-sticky-name {
  font-size: .88rem;
  font-weight: 800;
  color: var(--pm-brand-deep, #0d3d24);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdp-sticky-price {
  font-size: 1rem;
  font-weight: 900;
  color: var(--pm-brand, #1f7a4d);
  font-variant-numeric: tabular-nums;
}
.pdp-sticky-add {
  flex-shrink: 0;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pm-brand, #1f7a4d), var(--pm-brand-deep, #0d3d24));
  color: #fff;
  border: 0;
  font-weight: 800;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px -4px rgba(31,122,77,.45);
  transition: filter .15s, transform .15s;
}
.pdp-sticky-add:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.pdp-sticky-add:disabled { opacity: .55; cursor: not-allowed; }

/* [FIX 2026-06-03] La barra fija de compra queda ABAJO también en desktop.
   Antes se posicionaba arriba (top:80px) pero el header (más alto que 80px) la
   tapaba y se veía "cortada". El bottom-bar no choca con el header en ningún
   tamaño. Se conserva el comportamiento base (bottom:0, oculta con translateY,
   visible con .is-visible). */

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp-gallery { position: static; }
  .pdp-title { font-size: 1.7rem; }
  .pdp-price { font-size: 2rem; }
  .pdp-tab-panels { padding: 22px 18px 26px; }
  .pdp-related-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (max-width: 560px) {
  .pdp-wrap { padding: 16px 0 120px; }
  .pdp-breadcrumb { font-size: .76rem; }
  .pdp-bc-current { max-width: 220px; }
  .pdp-gallery-main { border-radius: 18px; }
  .pdp-buy { padding: 16px; border-radius: 14px; }
  .pdp-cta-add { height: 52px; font-size: .96rem; }
  .pdp-tabs { padding: 6px 6px 0; }
  .pdp-tab { padding: 12px 14px; font-size: .84rem; }
  .pdp-trust { gap: 8px; }
  .pdp-trust li { padding: 10px 12px; font-size: .82rem; }
}

/* ── Print hide ───────────────────────────────────────────── */
@media print {
  .pdp-sticky-bar,
  .pdp-wish,
  .pdp-cta-buy,
  .pdp-related,
  .pdp-tabs { display: none !important; }
  .pdp-tab-panel { display: block !important; page-break-inside: avoid; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pdp-gallery-main img,
  .pdp-rel-card,
  .pdp-cta-add,
  .pdp-cta-buy,
  .pdp-sticky-bar,
  .pdp-wish,
  .pdp-tab-panel { transition: none !important; animation: none !important; }
}
