/* ============================================================
   DRAGON PHARMA — Suplementos deportivos
   ============================================================ */

:root {
  --red: #DC2626;
  --red-light: #E53E3E;
  --carbon: #0A0A0A;
  --carbon-soft: #121212;
  --white: #FFFFFF;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-700: #1F2937;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}
p { margin: 0 0 1em; line-height: 1.6; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(220,38,38,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(220,38,38,.75); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }
.btn-dark {
  background: var(--carbon);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(10,10,10,0);
  transition: background .3s var(--ease), padding .3s var(--ease), backdrop-filter .3s;
}
.site-nav.is-scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  padding: 12px 32px;
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.site-nav .nav-logo img { height: 46px; }
.nav-right { display: flex; align-items: center; gap: 34px; }
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }

.dp-nav-icons { display: flex; align-items: center; gap: 18px; }
.dp-nav-icon-btn {
  position: relative;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  transition: color .2s;
}
.dp-nav-icon-btn:hover { color: var(--red-light); }
.dp-cart-badge, .dp-wl-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.hidden { display: none !important; }

.nav-hamburger {
  display: none;
  position: relative;
  z-index: 600;
  background: none; border: none; color: var(--white);
  font-size: 26px; cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--carbon);
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 760px;
  padding: 140px 24px 100px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--red-light);
}
.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  margin-bottom: 22px;
}
.hero h1 span { color: var(--red-light); }
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  animation: bob 2.2s ease-in-out infinite;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.hero-scroll:hover { color: var(--white); background: rgba(255,255,255,.1); }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; padding: 100px 0; }
.section-dark { background: var(--carbon); color: var(--white); }
.section-gray { background: var(--gray-100); }
.section-pattern {
  background-image: linear-gradient(180deg, rgba(10,10,10,.88), rgba(10,10,10,.94)), url('images/bg-dragon-pattern.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.section-head { max-width: 620px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--red); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.section-head p { color: var(--gray-700); font-size: 16px; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

/* ── Trust strip ── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--gray-700); }
.trust-item i { font-size: 22px; color: var(--red); }

/* ── Category / pillar cards ── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(10,10,10,.18);
  border-color: transparent;
}
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(220,38,38,.08);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.pillar-card h3 { font-size: 20px; margin-bottom: 10px; text-transform: none; }
.pillar-card p { color: var(--gray-700); font-size: 14.5px; margin-bottom: 0; }

/* ============================================================
   TIMELINE (líneas de producto)
   ============================================================ */
.timeline { position: relative; max-width: 1020px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 6px; bottom: 6px;
  width: 1px; background: var(--gray-200);
  transform: translateX(-50%);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-bottom: 96px;
}
.tl-item:last-child { margin-bottom: 0; }

/* Punto sobre la línea */
.tl-item::before {
  content: '';
  position: absolute; left: 50%; top: 6px;
  width: 11px; height: 11px; border-radius: 999px;
  background: var(--white); border: 2px solid var(--red);
  transform: translateX(-50%);
  z-index: 2;
}

.tl-content { grid-column: 1; padding-right: 64px; text-align: right; }
.tl-year {
  grid-column: 2; padding-left: 64px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  color: var(--gray-200);
}
.tl-item:nth-child(even) .tl-content {
  grid-column: 2; padding-left: 64px; padding-right: 0; text-align: left;
}
.tl-item:nth-child(even) .tl-year {
  grid-column: 1; padding-right: 64px; padding-left: 0; text-align: right;
}

.tl-kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 10px;
}
.tl-desc { font-size: 14px; color: #6B7280; max-width: 340px; margin: 0 0 22px; }
.tl-item .tl-desc { margin-left: auto; }
.tl-item:nth-child(even) .tl-desc { margin-left: 0; margin-right: auto; }

.tl-img-wrap {
  width: 250px; height: 250px;
  border-radius: 999px;
  background: var(--gray-100);
  overflow: hidden;
  margin: 0 0 20px auto;
  display: flex; align-items: center; justify-content: center;
}
.tl-item:nth-child(even) .tl-img-wrap { margin-left: 0; margin-right: auto; }
.tl-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.tl-brand {
  font-size: 12px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: #9CA3AF; margin: 0 0 6px;
}
.tl-brand strong { color: var(--gray-700); font-weight: 800; }

.tl-title {
  font-size: clamp(30px, 4vw, 46px);
  color: var(--carbon);
  margin-bottom: 20px;
}

.tl-stats { display: flex; gap: 0; justify-content: flex-end; }
.tl-item:nth-child(even) .tl-stats { justify-content: flex-start; }
.tl-stats > div {
  padding: 0 18px;
  border-left: 1px solid var(--gray-200);
  text-align: left;
}
.tl-stats > div:first-child { border-left: none; padding-left: 0; }
.tl-item:nth-child(even) .tl-stats > div:first-child { padding-left: 0; }
.tl-stats span {
  display: block; font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #9CA3AF;
  margin-bottom: 4px;
}
.tl-stats strong { font-size: 13.5px; color: var(--gray-700); font-weight: 700; }

@media (max-width: 860px) {
  .timeline::before { left: 6px; }
  .tl-item { grid-template-columns: 1fr; margin-bottom: 64px; }
  .tl-item::before { left: 6px; }
  .tl-content,
  .tl-item:nth-child(even) .tl-content {
    grid-column: 1; grid-row: 2;
    padding-left: 34px; padding-right: 0; text-align: left;
  }
  .tl-year,
  .tl-item:nth-child(even) .tl-year {
    grid-column: 1; grid-row: 1;
    padding-left: 34px; padding-right: 0; text-align: left;
    margin-bottom: 8px;
  }
  .tl-item .tl-desc,
  .tl-item:nth-child(even) .tl-desc { margin-left: 0; margin-right: 0; max-width: none; }
  .tl-img-wrap,
  .tl-item:nth-child(even) .tl-img-wrap {
    width: 200px; height: 200px; margin-left: 0; margin-right: auto;
  }
  .tl-stats, .tl-item:nth-child(even) .tl-stats { justify-content: flex-start; flex-wrap: wrap; gap: 12px 0; }
}

/* ============================================================
   PRODUCT CARDS / GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prod-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(10,10,10,.2); }
.prod-card-link { position: absolute; inset: 0; z-index: 1; }
.prod-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.prod-card-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .3s var(--ease);
}
.prod-card:hover .prod-card-img-wrap img {
  transform: scale(1.06);
}
.prod-card-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.prod-card:hover .prod-card-overlay { opacity: 1; }
.prod-card-view { color: var(--white); font-weight: 600; font-size: 13px; letter-spacing: .03em; }
.prod-wl-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--carbon);
  transition: background .2s, color .2s, transform .2s;
}
.prod-wl-btn:hover { transform: scale(1.08); }
.prod-wl-btn.active { color: var(--red); }
.prod-card-name { font-size: 15px; font-weight: 700; margin: 16px 16px 4px; text-transform: none; font-family: var(--font-body); }
.prod-card-price { font-size: 14px; color: var(--red); font-weight: 700; margin: 0 16px 14px; }
.prod-var-select {
  margin: 0 16px 10px;
  padding: 8px 10px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 13px;
  position: relative; z-index: 2;
}
.prod-card-atc {
  position: relative; z-index: 2;
  margin: 0 16px 16px;
  padding: 12px;
  background: var(--carbon);
  color: var(--white);
  border: none; border-radius: 8px;
  font-weight: 700; font-size: 13px; letter-spacing: .02em;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s;
}
.prod-card-atc:hover { background: var(--red); }
.prod-card-atc.disabled { background: var(--gray-200); color: #9CA3AF; cursor: not-allowed; }

.bst-loading, .dp-loading { display: contents; }
.dp-skel {
  aspect-ratio: 1/1.35;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--gray-100) 30%, var(--gray-200) 50%, var(--gray-100) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.dp-empty { text-align: center; padding: 60px 20px; color: var(--gray-700); grid-column: 1/-1; }

/* ============================================================
   PDP (product detail)
   ============================================================ */
.dp-pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 140px;
}
.dp-pdp-gallery { position: sticky; top: 120px; align-self: start; }
.dp-pdp-main-img {
  width: 100%; aspect-ratio: 1/1; object-fit: contain; object-position: center;
  padding: 24px;
  border-radius: var(--radius); background: var(--gray-100);
}
.dp-pdp-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.dp-pdp-thumb {
  width: 68px; height: 68px; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; padding: 4px; cursor: pointer; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
}
.dp-pdp-thumb.is-active { border-color: var(--red); }
.dp-pdp-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

.dp-pdp-eyebrow { color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.dp-pdp-name { font-size: 38px; margin-bottom: 10px; }
.dp-pdp-serving { color: var(--gray-700); font-size: 14px; margin-bottom: 20px; }
.dp-pdp-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; }
.dp-pdp-price { font-size: 30px; font-weight: 800; color: var(--red); font-family: var(--font-display); }
.dp-pdp-compare { font-size: 18px; color: #9CA3AF; text-decoration: line-through; }

.dp-pdp-opt-group { margin-bottom: 20px; }
.dp-pdp-opt-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .03em; }
.dp-pdp-opt-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-pdp-opt-btn {
  padding: 10px 16px; border-radius: 8px; border: 1.5px solid var(--gray-200);
  background: var(--white); cursor: pointer; font-size: 13.5px; font-weight: 600;
  transition: border-color .2s, background .2s, color .2s;
}
.dp-pdp-opt-btn.is-active { border-color: var(--red); background: var(--red); color: var(--white); }
.dp-pdp-opt-btn.is-oos { opacity: .4; text-decoration: line-through; }

.dp-pdp-qty-row { display: flex; align-items: center; gap: 18px; margin: 26px 0; }
.dp-qty-ctrl { display: flex; align-items: center; border: 1.5px solid var(--gray-200); border-radius: 999px; overflow: hidden; }
.dp-qty-ctrl button { width: 40px; height: 40px; border: none; background: none; font-size: 18px; cursor: pointer; }
.dp-qty-ctrl span { width: 32px; text-align: center; font-weight: 700; }

.dp-pdp-actions { display: flex; gap: 12px; margin-bottom: 34px; }
.dp-pdp-actions .btn-primary { flex: 1; }
.dp-pdp-wl-btn {
  width: 56px; border-radius: 999px; border: 1.5px solid var(--gray-200);
  background: var(--white); cursor: pointer; font-size: 20px; color: var(--carbon);
}
.dp-pdp-wl-btn.is-active { color: var(--red); border-color: var(--red); }

.dp-pdp-benefits { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; padding: 22px; background: var(--gray-100); border-radius: var(--radius); }
.dp-benefit-row { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.dp-benefit-row i { color: var(--red); font-size: 18px; }

.dp-pdp-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--gray-200); margin-bottom: 24px; }
.dp-pdp-tab { background: none; border: none; padding: 12px 0; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; color: #9CA3AF; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.dp-pdp-tab.is-active { color: var(--carbon); border-color: var(--red); }
.dp-pdp-tab-panel { display: none; font-size: 14.5px; color: var(--gray-700); }
.dp-pdp-tab-panel.is-active { display: block; }
.dp-pdp-no-data { color: #9CA3AF; font-style: italic; }

.dp-nutri-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.dp-nutri-table td { padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 14px; }
.dp-nutri-table tr.is-highlight td { font-weight: 800; color: var(--red); }

.dp-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.dp-related-card { display: block; }
.dp-related-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--gray-100);
}
.dp-related-name { font-size: 13.5px; font-weight: 700; margin: 0; }
.dp-related-price { font-size: 13px; color: var(--red); font-weight: 700; margin: 2px 0 0; }

/* ============================================================
   VIDEOS
   ============================================================ */
.vid-filters, .col-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 44px;
}
.vid-filter, .col-filter {
  padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--gray-200); background: var(--white);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 700;
  color: var(--gray-700); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.vid-filter span, .col-filter span {
  display: inline-block; margin-left: 6px;
  font-size: 11px; color: #9CA3AF; font-weight: 700;
}
.vid-filter:hover, .col-filter:hover { border-color: var(--carbon); }
.vid-filter.is-active, .col-filter.is-active { background: var(--carbon); border-color: var(--carbon); color: var(--white); }
.vid-filter.is-active span, .col-filter.is-active span { color: rgba(255,255,255,.6); }

.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.vid-card {
  display: block; text-align: left; padding: 0;
  border: none; background: none; cursor: pointer;
  font-family: var(--font-body);
}
.vid-thumb {
  position: relative; display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 14px;
}
.vid-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.vid-card:hover .vid-thumb img { transform: scale(1.06); }
.vid-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 45%, rgba(10,10,10,.5) 100%);
}
.vid-play {
  position: absolute; z-index: 2;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 26px -8px rgba(220,38,38,.7);
  transition: transform .25s var(--ease);
}
.vid-card:hover .vid-play { transform: translate(-50%, -50%) scale(1.12); }
.vid-meta { display: block; }
.vid-by {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 5px;
}
.vid-title {
  display: block; font-size: 15px; font-weight: 700;
  color: var(--gray-700); line-height: 1.35;
}

/* Lightbox */
.vid-lightbox {
  position: fixed; inset: 0; z-index: 980;
  background: rgba(10,10,10,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.vid-lightbox.is-open { opacity: 1; pointer-events: auto; }
.vid-frame-wrap {
  width: 100%; max-width: 960px; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: #000;
}
.vid-frame-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid-close {
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: none;
  color: var(--white); font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.vid-close:hover { background: rgba(255,255,255,.24); }

@media (max-width: 980px) {
  .vid-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .vid-grid { grid-template-columns: 1fr; }
  .vid-filters { justify-content: flex-start; }
}

/* ============================================================
   DRAWERS / MODALS / TOAST
   ============================================================ */
.dp-overlay {
  position: fixed; inset: 0; background: rgba(10,10,10,.55);
  z-index: 900; opacity: 0; pointer-events: none; transition: opacity .3s;
  backdrop-filter: blur(2px);
}
.dp-overlay.is-visible { opacity: 1; pointer-events: auto; }

.dp-drawer {
  position: fixed; top: 0; bottom: 0; right: -420px; width: 100%; max-width: 420px;
  background: var(--white); z-index: 950; transition: right .35s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,.2);
}
.dp-drawer.is-open { right: 0; }
.dp-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--gray-200); }
.dp-drawer-head h3 { text-transform: none; font-family: var(--font-body); font-size: 18px; font-weight: 800; }
.dp-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--gray-700); }
.dp-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.dp-drawer-footer { padding: 20px 24px; border-top: 1px solid var(--gray-200); }
.dp-cart-total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 17px; margin-bottom: 16px; }
.dp-empty { color: #9CA3AF; text-align: center; padding: 40px 0; }

.dp-cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gray-200); position: relative; align-items: center; }
.dp-cart-img, .dp-cart-img-ph { width: 64px; height: 64px; border-radius: 8px; object-fit: contain; object-position: center; background: var(--gray-100); padding: 4px; flex-shrink: 0; }
.dp-cart-info { flex: 1; }
.dp-cart-name { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.dp-cart-price { font-size: 13px; color: var(--red); font-weight: 700; margin: 0 0 8px; }
.dp-cart-qty { display: flex; align-items: center; gap: 10px; }
.dp-qty-btn { width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--gray-200); background: var(--white); cursor: pointer; }
.dp-cart-remove { position: absolute; top: 14px; right: 0; background: none; border: none; font-size: 18px; color: #9CA3AF; cursor: pointer; }

.dp-wl-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gray-200); align-items: center; }
.dp-wl-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.dp-wl-add { background: var(--carbon); color: var(--white); border: none; border-radius: 6px; padding: 6px 10px; font-size: 12px; cursor: pointer; }
.dp-wl-rm { background: none; border: none; color: #9CA3AF; font-size: 16px; cursor: pointer; }

.dp-modal {
  position: fixed; inset: 0; z-index: 960;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.dp-modal.is-open { opacity: 1; pointer-events: auto; }
.dp-modal-box { background: var(--white); border-radius: var(--radius); padding: 36px; width: 100%; max-width: 400px; position: relative; }
.dp-modal-title { text-transform: none; font-family: var(--font-body); font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.dp-modal-box label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.dp-modal-box input {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: 14px; font-family: var(--font-body);
}
.dp-form-err { color: var(--red); font-size: 13px; margin-bottom: 10px; min-height: 1em; }
.dp-form-link { text-align: center; font-size: 13.5px; margin-top: 14px; }
.dp-form-link a { color: var(--red); font-weight: 700; }
.dp-modal-box .btn-primary { width: 100%; }

.dp-acct-header { margin-bottom: 22px; }
.dp-acct-name { font-size: 18px; font-weight: 800; margin: 0; }
.dp-acct-email { color: #9CA3AF; font-size: 13.5px; }
.dp-section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9CA3AF; margin-bottom: 10px; }
.dp-order { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--gray-200); font-size: 13px; }
.dp-logout-btn { margin-top: 24px; width: 100%; padding: 12px; border-radius: 8px; border: 1.5px solid var(--gray-200); background: none; cursor: pointer; font-weight: 700; }

.dp-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px);
  background: var(--carbon); color: var(--white);
  padding: 14px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  z-index: 1000; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.dp-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.dp-toast--success { background: #059669; }
.dp-toast--error { background: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--carbon); color: rgba(255,255,255,.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
.footer-logo img { height: 32px; margin-bottom: 18px; }
.footer-grid h4 { color: var(--white); font-size: 13px; letter-spacing: .06em; margin-bottom: 18px; text-transform: uppercase; }
.footer-grid ul li { margin-bottom: 12px; font-size: 14px; }
.footer-grid ul a:hover { color: var(--white); }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 180px 0 80px;
  background: var(--carbon);
  color: var(--white);
  text-align: center;
}
.page-header h1 { font-size: clamp(36px, 6vw, 64px); }
.page-header p { color: rgba(255,255,255,.7); max-width: 560px; margin: 16px auto 0; }
/* El contenido va por encima de la capa de partículas */
.page-header > .container { position: relative; z-index: 1; }

/* Capa Glitter Wrap (Originkit) detrás de los títulos de sección */
.glitter-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* Difumina los bordes para que las partículas no se corten en seco */
.glitter-layer::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0) 45%, rgba(10,10,10,.85) 100%);
}

/* ── Simple content pages (policies, privacy) ── */
.legal-content { max-width: 780px; margin: 0 auto; padding-top: 160px; }
.legal-content h2 { font-size: 24px; text-transform: none; margin: 34px 0 14px; }
.legal-content p, .legal-content li { color: var(--gray-700); font-size: 15px; }
.legal-content ul { list-style: disc; padding-left: 22px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-item i { width: 44px; height: 44px; border-radius: 12px; background: rgba(220,38,38,.08); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info-item h4 { text-transform: none; font-family: var(--font-body); font-size: 15px; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--gray-700); margin: 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  padding: 14px 16px; border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-family: var(--font-body); font-size: 14px; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ── Gracias page ── */
.gracias-box { text-align: center; padding-top: 200px; padding-bottom: 120px; }
.gracias-icon { width: 90px; height: 90px; border-radius: 999px; background: rgba(220,38,38,.1); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 42px; margin: 0 auto 26px; }

/* ── About / Quiénes somos teaser ── */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-teaser-img { text-align: center; }
.about-teaser-img img {
  max-width: 340px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.about-teaser-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
}
.about-teaser-content p {
  font-size: 16px;
  margin-bottom: 26px;
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dp-pdp { grid-template-columns: 1fr; gap: 36px; padding-top: 110px; }
  .dp-pdp-gallery { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-teaser-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .about-teaser-content { text-align: center; }
  .about-teaser-content .eyebrow { justify-content: center; }
  .about-teaser-img img { max-width: 260px; }
}
@media (max-width: 720px) {
  .nav-links, .site-nav .textbox { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.is-open {
    display: flex; position: fixed; inset: 0 0 0 auto; width: 78%; z-index: 550;
    background: var(--carbon); flex-direction: column; padding: 100px 32px; gap: 26px;
  }
  .trust-strip { flex-direction: column; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  section { padding: 70px 0; }
}
@media (max-width: 480px) {
  .about-teaser-grid { gap: 28px; }
  .about-teaser-img img { max-width: 200px; }
}
