/* ============================================
   MUNDO PÉPTIDOS MÉXICO — Design System
   Paleta: crema/beige, dorado suave, negro/carbón
   Menos saturado que la referencia original
   ============================================ */

:root {
  --cream: #faf7f2;
  --cream-2: #f2ede4;
  --sand: #e9e1d3;
  --gold: #a9835a;
  --gold-dark: #8a6a45;
  --gold-light: #c7a97e;
  --ink: #201c17;
  --ink-2: #4a443b;
  --muted: #7a7266;
  --white: #ffffff;
  --line: #e6ded0;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 4px 24px rgba(32, 28, 23, 0.06);
  --shadow-md: 0 8px 32px rgba(32, 28, 23, 0.1);
  --maxw: 1200px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: #000; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--sand);
}
.topbar .container {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.topbar span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ---------- Header ---------- */
header.main {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
header.main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 68px;
  width: auto;
  display: block;
}
.logo-img-footer {
  height: 72px;
  background: var(--cream);
  padding: 10px 14px;
  border-radius: 8px;
}

nav.primary {
  display: flex;
  gap: 32px;
}
nav.primary a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav.primary a:hover,
nav.primary a.active {
  color: var(--ink);
  border-color: var(--gold);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-icons svg { width: 19px; height: 19px; color: var(--ink); cursor: pointer; }
.cart-count {
  position: relative;
}
.cart-count .badge {
  position: absolute;
  top: -8px;
  right: -9px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 210;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.28s ease, opacity 0.2s ease, background 0.2s ease;
}
.hero-video-top .burger span { background: #111111; }
.burger.active span { background: var(--ink); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav menu ---------- */
body.menu-open { overflow: hidden; }
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: linear-gradient(160deg, var(--ink) 0%, #2a241c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 40px 24px;
}
.mobile-nav-inner a {
  font-family: var(--font-serif);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.mobile-nav-inner a:hover,
.mobile-nav-inner a.active { color: var(--gold-light); }
.mobile-nav-cta {
  margin-top: 12px;
  background: var(--gold);
  color: var(--white) !important;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--font-sans) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mobile-nav-cta:hover { background: var(--gold-dark); transform: translateY(-2px); }

@media (max-width: 980px) {
  .burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--cream-2) 0%, var(--cream) 60%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 72px;
  min-height: 460px;
}
.hero h1 {
  font-size: 52px;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-dark);
}
.hero p {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 440px;
  margin-bottom: 30px;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 4/3.1;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(169,131,90,0.12), rgba(32,28,23,0.18));
}
.hero-photo .float-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(250,247,242,0.94);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero-photo .float-card .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.hero-photo .float-card strong { display:block; font-size: 12.5px; }
.hero-photo .float-card span { display:block; font-size: 11px; color: var(--muted); }
.vial-row { display: flex; gap: 18px; align-items: flex-end; }

.lab-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

/* Decorative vial (pure CSS, no external product photos) */
.vial {
  width: 64px;
  height: 148px;
  position: relative;
}
.vial .cap {
  width: 100%;
  height: 26px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  border-radius: 6px 6px 2px 2px;
}
.vial .body {
  width: 100%;
  height: 122px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 8px 8px;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.vial .label {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 2px;
  width: 100%;
  height: 76%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
}
.vial .label .p { font-family: var(--font-serif); font-weight: 700; font-size: 13px; color: var(--gold-dark); }
.vial .label .n { font-size: 6.5px; letter-spacing: 0.06em; color: var(--ink-2); margin-top: 3px; text-transform: uppercase; }
.vial .label .m { font-size: 9px; font-weight: 700; margin-top: 3px; }
.vial.tall { height: 168px; }
.vial.tall .body { height: 142px; }
.vial.short { height: 128px; }
.vial.short .body { height: 102px; }

.molecule-bg {
  position: absolute;
  right: -60px;
  top: -20px;
  width: 320px;
  height: 320px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 8px;
}
.hero-badges .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.hero-badges svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* ---------- Hero v2: full-screen video hero ---------- */
.hero-video-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
.hero-video-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-video-section .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(250,247,242,0.55) 0%,
    rgba(250,247,242,0.4) 28%,
    rgba(250,247,242,0.18) 48%,
    rgba(20,17,13,0.35) 68%,
    rgba(20,17,13,0.72) 100%);
}
.hero-video-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-video-top {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-video-top .logo-img { height: 56px; }
.hero-video-top .logo-img-footer { background: transparent; padding: 0; height: 56px; }
@media (min-width: 980px) {
  .hero-video-top .logo-img,
  .hero-video-top .logo-img-footer { height: 108px; }
}
@media (max-width: 767px) {
  .hero-video-top .logo-img,
  .hero-video-top .logo-img-footer { height: 96px; }
}
.hero-video-nav {
  display: flex;
  gap: 26px;
}
.hero-video-nav a {
  color: #111111;
  font-size: 13.5px;
  font-weight: 600;
  text-shadow: none;
}
.hero-video-nav a:hover { color: var(--gold-dark); }

.hero-video-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 48px;
}
.hero-video-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #111111;
  font-weight: 600;
  margin-bottom: 18px;
  text-shadow: none;
}
.hero-video-headline {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: #111111;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 720px;
  text-shadow: 0 0 14px rgba(255,255,255,0.55), 0 0 30px rgba(255,255,255,0.3);
}
.hero-video-headline .accent {
  font-style: normal;
  color: var(--gold-dark);
  font-weight: 600;
}
.hero-video-headline .dot {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 8px;
  margin-bottom: 6px;
}
.hero-video-sub {
  color: #111111;
  font-weight: 500;
  font-size: 15.5px;
  max-width: 480px;
  margin-top: 20px;
  font-family: var(--font-sans);
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}
.hero-video-cta-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-wa-note {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: #25D366;
  border: 1px solid #1ebc59;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hero-wa-note svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero-video-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 15px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, transform 0.2s ease;
  font-family: var(--font-sans);
}
.hero-video-cta:hover { background: var(--gold-light); transform: translateY(-2px); }
.hero-video-cta svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero-video-cta-graphic {
  background: linear-gradient(180deg, #ffd27a 0%, #f2a326 45%, #e08e10 100%);
  color: #111111;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 16px 14px 16px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(160, 100, 20, 0.35), inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-video-cta-graphic:hover {
  background: linear-gradient(180deg, #ffd984 0%, #f5ac33 45%, #e6941a 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(160, 100, 20, 0.4), inset 0 1px 0 rgba(255,255,255,0.6);
}
.hero-video-cta-graphic .cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #111111;
  color: #fff;
  margin-left: 4px;
}
.hero-video-cta-graphic .cta-arrow svg { width: 15px; height: 15px; }
@media (max-width: 560px) {
  .hero-video-cta-graphic { padding: 13px 12px 13px 24px; font-size: 12.5px; }
  .hero-video-cta-graphic .cta-arrow { width: 22px; height: 22px; }
  .hero-video-cta-graphic .cta-arrow svg { width: 13px; height: 13px; }
}

.hero-video-bottom {
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-video-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(250,247,242,0.18);
}
.hero-video-badges .item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: rgba(250,247,242,0.82);
  font-weight: 500;
  font-family: var(--font-sans);
}
.hero-video-badges svg { width: 17px; height: 17px; color: var(--gold-light); flex-shrink: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.35s; }
.fade-up.d3 { animation-delay: 0.55s; }
.fade-up.d4 { animation-delay: 0.75s; }
.fade-up.d5 { animation-delay: 0.9s; }

@media (max-width: 980px) {
  .hero-video-nav { display: none; }
}
@media (max-width: 640px) {
  .hero-video-badges { gap: 16px 22px; }
}

/* ---------- Insights-style category cards (Inicio) ---------- */
.insights-section { padding: 84px 0 90px; background: var(--white); }
.insights-top {
  max-width: 560px;
  margin-bottom: 46px;
}
.insights-top .eyebrow { margin-bottom: 14px; }
.insights-top h2 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 1.08;
  margin-bottom: 14px;
}
.insights-top p { color: var(--ink-2); font-size: 16px; max-width: 380px; }

.insights-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.insights-card {
  flex: 1;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  min-height: 320px;
}
.insights-card .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.insights-card:hover .bg { transform: scale(1.06); }
.insights-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,28,23,0.05) 0%, rgba(32,28,23,0.35) 55%, rgba(20,17,13,0.82) 100%);
}
.insights-card .content {
  position: relative;
  z-index: 2;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.insights-card .icon-chip {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(250,247,242,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.insights-card .icon-chip svg { width: 19px; height: 19px; color: var(--gold-dark); }
.insights-card h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}
.insights-card p {
  color: rgba(250,247,242,0.82);
  font-size: 14.5px;
  font-family: var(--font-sans);
  max-width: 300px;
}
.insights-card .go {
  margin-top: 6px;
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-sans);
}

/* Reveal-on-scroll (blur-in) */
.reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(18px);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1), filter 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in-view {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}
.insights-card.reveal:nth-child(1) { transition-delay: 0s; }
.insights-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.insights-card.reveal:nth-child(3) { transition-delay: 0.3s; }

@media (min-width: 980px) {
  .insights-row { flex-direction: row; align-items: flex-end; gap: 22px; }
  .insights-card.tall { min-height: 460px; }
  .insights-card.short { min-height: 340px; }
}

/* ---------- Feature strip ---------- */
.strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.strip .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.strip svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }

/* ---------- Section generic ---------- */
section { padding: 72px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 20px;
}
.section-head h2 { font-size: 34px; }
.section-head .link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
}

/* ---------- Category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cat-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-card .photo {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cat-card .photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,28,23,0.05) 40%, rgba(32,28,23,0.62) 100%);
}
.cat-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(250,247,242,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 12px;
  left: 16px;
  z-index: 2;
}
.cat-card .icon svg { width: 20px; height: 20px; color: var(--gold-dark); }
.cat-card .body { padding: 20px 22px 24px; }
.cat-card h3 { font-size: 19px; margin-bottom: 6px; }
.cat-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.cat-card .go { font-size: 12.5px; font-weight: 600; color: var(--gold-dark); }

/* ---------- Product grid ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 22px;
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.prod-card[hidden] { display: none; }
.prod-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.prod-card .thumb {
  background: var(--cream-2);
  padding: 30px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  overflow: hidden;
}
.prod-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-card .thumb.photo {
  padding: 0;
  height: 220px;
}
.prod-card .info { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.prod-card .tag {
  font-size: 10.5px;
  color: var(--gold-dark);
  background: var(--cream-2);
  display: inline-block;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
  width: fit-content;
}
.prod-card h4 { font-size: 16px; font-weight: 600; font-family: var(--font-sans); margin-bottom: 2px; }
.prod-card .mg { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.prod-card .price { font-size: 17px; font-weight: 700; color: var(--ink); margin-top: auto; margin-bottom: 12px; }
.prod-variant-select {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
}
.prod-card .add {
  width: 100%;
  padding: 10px;
  font-size: 13px;
}

/* ---------- Best sellers carousel (Productos destacados) ---------- */
.bs-section {
  background: #F9F4F0;
  color: #1a1a1a;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .bs-section { padding: 64px 0; }
}

.bs-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.bs-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.bs-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .bs-tabs { gap: 24px; margin-bottom: 48px; }
}
.bs-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
@media (min-width: 640px) {
  .bs-tab { gap: 16px; }
}
.bs-tab-dot-wrap {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .bs-tab-dot-wrap { width: 24px; height: 24px; }
}
.bs-tab-dot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1a1a1a;
  animation: bs-scale-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes bs-scale-in {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.bs-tab-label {
  font-family: 'Jost', var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: lowercase;
  transition: color 0.3s ease;
}
.bs-tab:hover .bs-tab-label { color: #4b5563; }
.bs-tab.active .bs-tab-label { color: #1a1a1a; }
@media (min-width: 640px) { .bs-tab-label { font-size: 36px; } }
@media (min-width: 768px) { .bs-tab-label { font-size: 48px; } }

.bs-carousel-wrap { position: relative; }
.bs-carousel {
  display: flex;
  overflow-x: auto;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bs-carousel[hidden] { display: none; }
.bs-carousel::-webkit-scrollbar { display: none; }
.bs-carousel:active { cursor: grabbing; }

.bs-card {
  flex-shrink: 0;
  width: 260px;
  border: 1px solid #e5e7eb;
  margin-left: -1px;
  padding: 16px 0 24px;
  cursor: pointer;
}
.bs-card:first-child { margin-left: 0; }
@media (min-width: 640px) { .bs-card { width: 280px; } }
@media (min-width: 768px) { .bs-card { width: 300px; } }
@media (min-width: 980px) { .bs-card { width: calc(25% - 1px); } }

.bs-card-cat {
  padding: 0 16px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bs-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.bs-subcat {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  margin-top: 2px;
}
.bs-card-img {
  margin: 0 16px;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: #F9F4F0;
}
.bs-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.bs-card:hover .bs-card-img img { transform: scale(1.05); }
.bs-card-info { margin-top: 16px; text-align: center; padding: 0 16px; }
.bs-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  transition: color 0.3s ease;
}
.bs-formula {
  font-size: 12px;
  color: #6b7280;
  margin-top: 3px;
  line-height: 1.4;
}
.bs-price-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.bs-price { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.bs-price-old { font-size: 14px; color: #9ca3af; text-decoration: line-through; }

.bs-progress {
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  max-width: 280px;
}
@media (min-width: 640px) { .bs-progress { margin-top: 40px; } }
.bs-progress-track {
  height: 2px;
  background: #d1d5db;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.bs-progress-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  background: #1a1a1a;
  border-radius: 999px;
  transition: transform 0.15s ease-out;
}
.bs-view-all { text-align: center; margin-top: 28px; }

/* ---------- Banner / dark section ---------- */
.banner {
  background:
    linear-gradient(120deg, rgba(20,17,13,0.92), rgba(20,17,13,0.86)),
    var(--banner-img, none) center/cover;
  color: var(--sand);
}
.banner .container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 48px;
}
.banner h2 { color: var(--white); font-size: 30px; margin-bottom: 14px; }
.banner p { color: #cfc7b8; font-size: 14.5px; margin-bottom: 24px; max-width: 420px; }
.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.banner-grid .item { display: flex; gap: 12px; }
.banner-grid svg { width: 22px; height: 22px; color: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.banner-grid h4 { color: var(--white); font-size: 14.5px; font-family: var(--font-sans); font-weight: 600; margin-bottom: 3px; }
.banner-grid p { color: #a8a091; font-size: 12.5px; margin: 0; }
.banner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Why us (Targo-style: light bg + video + Quantico type + cyan accent) ---------- */
.why-targo {
  position: relative;
  overflow: hidden;
  background: #F2F1F0;
  padding: clamp(60px, 9vw, 110px) 0;
}
.why-targo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.why-targo > .container {
  position: relative;
  z-index: 2;
}
.why-targo-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.why-targo-eyebrow {
  display: inline-block;
  font-family: 'Quantico', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #15BCDF;
  margin-bottom: 14px;
}
.why-targo-title {
  font-family: 'Quantico', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  color: #2b3033;
  font-size: clamp(30px, 4.6vw, 46px);
}
.why-targo-title span { color: #15BCDF; }
.why-targo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-targo-card {
  background: #ffffff;
  border: 1px solid rgba(43, 48, 51, 0.08);
  padding: 32px 26px;
  text-align: left;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.why-targo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 188, 223, 0.4);
  box-shadow: 0 20px 40px -22px rgba(21, 188, 223, 0.45);
}
.why-targo-icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(43, 48, 51, 0.25);
  background: #F2F1F0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-targo-card:hover .why-targo-icon {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px -10px rgba(21, 188, 223, 0.4);
}
.why-targo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-targo-card h4 {
  font-family: 'Quantico', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 14.5px;
  color: #2b3033;
  margin-bottom: 8px;
}
.why-targo-card p {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  color: #6b6f72;
  margin: 0;
}
@media (max-width: 980px) {
  .why-targo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-targo-head { text-align: left; margin-left: 0; }
  .why-targo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .why-targo-card {
    padding: 18px 14px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }
  .why-targo-icon { width: 52px; height: 52px; border-radius: 12px; margin-bottom: 12px; }
  .why-targo-card h4 { font-size: 12px; margin-bottom: 5px; }
  .why-targo-card p { font-size: 11.5px; line-height: 1.45; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 40px;
}
.page-hero h1 { font-size: 40px; margin-bottom: 10px; }
.page-hero p { color: var(--ink-2); max-width: 560px; font-size: 15px; }

/* ---------- Catálogo layout ---------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}
.filter-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.filter-box h4 { font-size: 14px; font-family: var(--font-sans); font-weight: 700; margin-bottom: 12px; }
.filter-box .cats { margin-bottom: 24px; }
.filter-box .cats li {
  padding: 8px 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-radius: var(--radius);
  cursor: pointer;
}
.filter-box .cats li.active { background: var(--cream-2); color: var(--gold-dark); font-weight: 600; }
.filter-box .check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 8px;
  cursor: pointer;
}
.filter-box .check-item input { cursor: pointer; }
.filter-clear {
  width: 100%;
  margin-top: 6px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.filter-clear:hover { background: var(--cream-2); color: var(--gold-dark); }
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}
.faq-side li {
  padding: 10px 14px;
  font-size: 13.5px;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.faq-side li.active { background: var(--gold); color: var(--white); font-weight: 600; }
.faq-group h3 {
  font-size: 15px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--cream-2);
  padding: 10px 16px;
  border-radius: var(--radius);
  margin: 28px 0 12px;
}
.faq-group:first-child h3 { margin-top: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
}
.faq-q .plus { font-size: 18px; color: var(--gold); transition: transform 0.2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 13.5px;
  color: var(--ink-2);
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 16px; }

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border: none; }
.contact-item .ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item .ic svg { width: 18px; height: 18px; color: var(--gold-dark); }
.contact-item h4 { font-size: 14px; font-family: var(--font-sans); font-weight: 600; margin-bottom: 2px; }
.contact-item p { font-size: 13px; color: var(--muted); }

.shipping-partner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
}
.shipping-partner .fedex-logo {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.shipping-partner span {
  font-size: 13px;
  color: var(--ink-2);
  margin-left: auto;
  text-align: right;
  line-height: 1.4;
}
.shipping-partner span strong { color: var(--ink); }
@media (max-width: 560px) {
  .shipping-partner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
  }
  .shipping-partner .fedex-logo { height: 64px; }
  .shipping-partner span { margin-left: 0; text-align: left; font-size: 13px; }
}

.form-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13.5px;
  background: var(--cream);
}
.field textarea { min-height: 90px; resize: vertical; }

/* ---------- Quality / COA ---------- */
.quality-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.coa-mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.coa-mock .head { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.coa-mock .purity { font-size: 30px; font-family: var(--font-serif); font-weight: 700; color: var(--gold-dark); }
.coa-mock .chart { height: 60px; margin-top: 12px; display: flex; align-items: flex-end; gap: 2px; }
.coa-mock .chart span { flex: 1; background: var(--gold-light); border-radius: 2px 2px 0 0; }

.coa-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.coa-trust-strip div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.coa-trust-strip svg { width: 18px; height: 18px; color: var(--gold-dark); flex-shrink: 0; }

.coa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}
.coa-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.coa-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(32,28,23,0.14); border-color: var(--gold-light); }
.coa-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; display: block; border-bottom: 1px solid var(--line); }
.coa-purity {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.coa-purity::before { content: "✓"; color: #8fd19e; font-weight: 700; }
.coa-card-body { padding: 14px 16px 16px; }
.coa-card-body h4 { font-size: 15px; font-weight: 700; margin: 0 0 4px; font-family: var(--font-serif); }
.coa-lab { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.coa-cta { display: block; font-size: 12.5px; font-weight: 600; color: var(--gold-dark); }

.cat-grid-icon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 22px 26px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cat-card-icon:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(32,28,23,0.14); border-color: var(--gold-light); }
.cci-media {
  position: relative;
  width: 100%;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.cci-icon { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.cci-vial {
  position: absolute;
  right: 4%;
  bottom: -6px;
  height: 58px;
  width: auto;
  filter: drop-shadow(0 6px 10px rgba(32,28,23,0.18));
}
.cat-card-icon h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.25; }
.cat-card-icon p { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; flex-grow: 1; }
.cat-card-icon .go { font-size: 13px; font-weight: 600; color: var(--gold-dark); }

.coa-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #2f7d3c;
  background: #eaf6ec;
  border: 1px solid #c9e8cd;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 2px 0 8px;
  text-decoration: none;
  width: fit-content;
  transition: background 0.15s ease;
}
.coa-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.coa-badge:hover { background: #d9f0dc; }
.coa-badge[hidden] { display: none; }

.verify-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.verify-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.verify-card .icon-sq {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.verify-card .icon-sq svg { width: 20px; height: 20px; color: var(--gold-dark); }
.verify-card h4 { font-size: 14.5px; font-family: var(--font-sans); font-weight: 600; margin-bottom: 6px; }
.verify-card p { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.verify-card .link { font-size: 12px; font-weight: 600; color: var(--gold-dark); }

.verify-card-photo {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.verify-card-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20,17,13,0.15) 0%,
    rgba(20,17,13,0.35) 45%,
    rgba(20,17,13,0.88) 100%);
  z-index: 1;
}
.verify-card-photo > * { position: relative; z-index: 2; }
.verify-card-photo .icon-sq { background: rgba(250,247,242,0.92); }
.verify-card-photo h4 { color: var(--white); font-size: 15.5px; }
.verify-card-photo p { color: rgba(250,247,242,0.85); }
.verify-card-photo .link { color: var(--gold-light); }

/* ---------- Footer (Targo-style: light bg + video + Quantico type + cyan accent) ---------- */
footer.main {
  position: relative;
  overflow: hidden;
  background: #F2F1F0;
  color: #6b6f72;
  padding: clamp(50px, 8vw, 80px) 0 24px;
  border-top: 1px solid rgba(43, 48, 51, 0.08);
}
.contact-video-section {
  position: relative;
  overflow: hidden;
}
.contact-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}
.contact-video-section > .container {
  position: relative;
  z-index: 1;
}
.footer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.footer-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(242,241,240,0.3) 0%, rgba(242,241,240,0.5) 55%, rgba(242,241,240,0.7) 100%);
}
@media (max-width: 640px) {
  .footer-video { object-position: 75% center; }
}
footer.main > .container {
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(43, 48, 51, 0.1);
}
.footer-grid h4 {
  color: #2b3033;
  font-size: 13.5px;
  font-family: 'Quantico', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-grid li { font-size: 13px; margin-bottom: 9px; color: #6b6f72; }
.footer-grid a { color: #6b6f72; transition: color 0.15s; }
.footer-grid a:hover { color: #15BCDF; }
.footer-brand p { font-size: 13px; margin-top: 14px; color: #6b6f72; max-width: 260px; line-height: 1.6; }
.footer-brand .logo-img-footer { background: transparent; padding: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 12px;
  color: #8b9093;
  flex-wrap: wrap;
  gap: 12px;
}
.pay-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pay-icons img {
  height: 22px;
  width: auto;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid rgba(43, 48, 51, 0.08);
  padding: 3px 6px;
  display: block;
}
@media (min-width: 980px) {
  .footer-bottom { padding-right: 96px; }
}

.social-row { display: flex; gap: 10px; }
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1px solid rgba(43, 48, 51, 0.1);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: border-color 0.15s, transform 0.15s;
}
.social-row a:hover { border-color: #15BCDF; transform: translateY(-2px); }
.social-row img { width: 18px; height: 18px; display: block; object-fit: contain; }

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 200;
}
.wa-float svg { width: 28px; height: 28px; color: white; }

/* ---------- Product modal (agregar al carrito) ---------- */
body.modal-open { overflow: hidden; }
.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 17, 13, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.product-modal-overlay.open { opacity: 1; visibility: visible; }
.product-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  position: relative;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}
.product-modal-overlay.open .product-modal { transform: translateY(0) scale(1); opacity: 1; }
.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(32,28,23,0.06);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s ease;
}
.product-modal-close:hover { background: rgba(32,28,23,0.12); }
.product-modal-img {
  width: 42%;
  flex-shrink: 0;
  background: var(--cream-2);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
}
.product-modal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-modal-body {
  flex: 1;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.product-modal-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.product-modal-name {
  font-size: 24px;
  margin-bottom: 6px;
}
.product-modal-formula {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.product-modal-variant {
  margin-bottom: 16px;
}
.product-modal-variant label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.product-modal-variant select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
}
.product-modal-price {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.product-modal-totals {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin-bottom: 18px;
}
.pm-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
  padding: 3px 0;
}
.pm-total-row.pm-total-final {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-top: 8px;
}
.ship-free { color: #2f9e5c; font-weight: 700; }
.ship-strike { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: 11.5px; margin-left: 4px; }
.ship-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin: 6px 0 0;
  text-align: center;
}
.ship-hint.ship-hint-success { color: #2f9e5c; font-weight: 600; }
.product-modal-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.qty-label { font-size: 13px; font-family: var(--font-sans); font-weight: 600; color: var(--ink-2); }
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty-stepper button {
  width: 34px;
  height: 34px;
  border: none;
  background: var(--cream-2);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}
.qty-stepper button:hover { background: var(--gold-light); color: var(--white); }
.qty-stepper span {
  min-width: 36px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
}
.product-modal-add {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 14px;
  margin-bottom: 10px;
}
.product-modal-add.added { background: #2f9e5c; }
.product-modal-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px;
  border-radius: 999px;
  background: #25D366;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 14px;
  transition: background 0.15s ease;
}
.product-modal-wa:hover { background: #1ebc59; }
.product-modal-wa svg { width: 17px; height: 17px; flex-shrink: 0; }
.product-modal-note {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  margin: 0;
}
@media (max-width: 560px) {
  .product-modal { flex-direction: column; max-height: 92vh; }
  .product-modal-img {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .product-modal-body { padding: 24px 20px 26px; }
}

/* ---------- Carrito (drawer lateral) ---------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 13, 0.45);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  justify-content: flex-end;
}
.cart-drawer-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
}
.cart-drawer-overlay.open .cart-drawer { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-drawer-head h3 { font-size: 18px; margin: 0; }
.cart-drawer-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-2);
  cursor: pointer;
}
/* El drawer completo (productos + totales/pago) se desplaza como un solo bloque,
   así el panel de pago nunca "aplasta" la lista de productos, sin importar
   cuántos campos tenga. Solo el encabezado ("Tu carrito") queda fijo arriba. */
.cart-drawer-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}
.cart-drawer-body {
  padding: 16px 22px 4px;
}
.cart-empty { text-align: center; color: var(--muted); font-size: 13.5px; padding: 40px 10px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}
.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(43,48,51,0.08);
  background: var(--white);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; color: var(--ink); }
.cart-item-price { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.cart-item-line-total { font-size: 12.5px; font-weight: 700; color: var(--gold-dark); margin-bottom: 8px; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  overflow: hidden;
  background: var(--white);
}
.cart-item-qty button {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--cream-2);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.cart-item-qty button:hover { background: var(--gold-light); color: var(--white); }
.cart-item-qty span { min-width: 28px; text-align: center; font-size: 12.5px; font-weight: 700; }
.cart-item-remove {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  align-self: flex-start;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cart-item-remove:hover { background: #c0392b; color: var(--white); border-color: #c0392b; }
.cart-drawer-foot {
  border-top: 1px solid var(--line);
  padding: 16px 22px 22px;
}
.cart-clear-btn {
  width: 100%;
  margin-top: 6px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: none;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  cursor: pointer;
}
.cart-clear-btn:hover { color: #c0392b; }
.header-icons .cart-count { cursor: pointer; }

/* ---------- Método de pago (dentro del carrito) ---------- */
.cart-discount-row[hidden] { display: none; }
.cart-discount-row { align-items: flex-start; gap: 10px; }
.cart-discount-row span:first-child { color: #2f9e5c; font-weight: 600; flex: 1; }
.cart-discount-amount { color: #2f9e5c; font-weight: 700; white-space: nowrap; }

.first-purchase-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0 2px;
  padding: 10px 12px;
  border: 1px dashed var(--gold-light);
  border-radius: 10px;
  background: var(--cream);
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
}
.first-purchase-check input { width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }
.first-purchase-check strong { color: var(--gold-dark); }

.volume-tier-wrap[hidden] { display: none; }
.volume-tier-wrap { margin-bottom: 16px; }
.volume-tier-track {
  height: 8px;
  border-radius: 999px;
  background: var(--cream-2);
  overflow: hidden;
  margin-bottom: 8px;
}
.volume-tier-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transition: width 0.3s ease;
}
.volume-tier-hint {
  font-size: 12px;
  color: var(--ink-2);
  text-align: center;
  margin: 0 0 4px;
}
.volume-tier-hint strong { color: var(--gold-dark); }
.volume-tier-note {
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.pay-method-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: var(--cream);
}
.pay-method-tab {
  flex: 1;
  padding: 9px 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pay-method-tab.active { background: var(--ink); color: var(--white); }
.pay-card-panel[hidden], .pay-wa-panel[hidden] { display: none; }
.pay-card-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pay-card-icons img {
  height: 24px;
  width: auto;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid rgba(43, 48, 51, 0.08);
  padding: 3px 7px;
}
.pay-secure {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}
.pay-secure svg { width: 13px; height: 13px; flex-shrink: 0; }
.pay-card-panel .field { margin-bottom: 12px; }
.pay-card-panel .field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 5px;
}
.pay-card-panel .field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13px;
  background: var(--cream);
  letter-spacing: 0.4px;
}
.pay-card-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-card-submit {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 14px;
  margin-bottom: 10px;
}
.pay-card-submit[disabled] { opacity: 0.7; cursor: wait; }
.pay-card-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  margin: 0 0 6px;
}
.pay-card-note.pay-note-info { color: var(--gold-dark); font-weight: 600; }
@media (max-width: 560px) {
  .cart-drawer { max-width: 100%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  nav.primary { display: none; }
  .hero .container { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 38px; }
  .cat-grid, .why-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .banner .container, .quality-split, .contact-grid { grid-template-columns: 1fr; }
  .catalog-layout, .faq-layout { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .verify-grid { grid-template-columns: repeat(2, 1fr); }
  .coa-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid-icon { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .topbar .container { display: none; }
  .cat-grid, .why-grid, .prod-grid, .catalog-grid, .verify-grid, .coa-grid, .cat-grid-icon { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-img { height: 84px; }
}

/* ---------- Suscripción 10% por WhatsApp ---------- */
.newsletter-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 44px 0;
}
.newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid rgba(212,175,110,0.25);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  background: rgba(255,255,255,0.03);
}
.newsletter-copy { max-width: 480px; }
.newsletter-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #3ddc74;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.newsletter-copy h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 22px;
  margin: 0 0 8px;
}
.newsletter-copy p {
  color: rgba(250,247,242,0.75);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.newsletter-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}
.newsletter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  background: #25D366;
  color: #0b3d1f;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}
.newsletter-btn:hover { background: #2fe273; transform: translateY(-1px); }
.newsletter-wa-icon { width: 19px; height: 19px; flex: none; }
.newsletter-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,110,0.5);
  background: transparent;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease;
}
.newsletter-btn-secondary:hover { background: rgba(212,175,110,0.12); }
.newsletter-btn-secondary[hidden] { display: none; }
.newsletter-legal {
  width: 100%;
  margin: 2px 0 0;
  font-size: 11.5px;
  color: rgba(250,247,242,0.45);
}
@media (max-width: 700px) {
  .newsletter-box { flex-direction: column; align-items: stretch; text-align: center; }
  .newsletter-copy { max-width: none; }
  .newsletter-cta-row { align-items: stretch; width: 100%; }
  .newsletter-btn, .newsletter-btn-secondary { width: 100%; }
}

/* ---------- Aviso de uso exclusivo en investigación ---------- */
.research-disclaimer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.rd-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.rd-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-dark);
  flex: none;
}
.rd-head span {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--ink);
}
.rd-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 900px;
  margin: 0 0 16px;
}
.rd-text strong { color: var(--ink); }
.rd-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.rd-links a {
  font-size: 12.5px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
}
.rd-links a:hover { color: var(--gold-dark); text-decoration: underline; }
@media (max-width: 560px) {
  .rd-links { gap: 8px 16px; }
}

/* ---------- Splash de bienvenida (logo al abrir la página de inicio) ---------- */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.splash-logo {
  height: 100px;
  width: auto;
  animation: splashPulse 1.6s ease-in-out infinite;
}
.splash-screen.splash-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes splashPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.88; }
}
@media (prefers-reduced-motion: reduce) {
  .splash-logo { animation: none; }
}
@media (max-width: 560px) {
  .splash-logo { height: 76px; }
}

/* ---------- Páginas legales (Política, Disclaimer, Privacidad, Términos) ---------- */
.legal-page {
  padding: 50px 0 70px;
  background: var(--cream);
}
.legal-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow);
}
.legal-card h2 {
  font-family: var(--font-serif);
  color: var(--gold-dark);
  font-size: 20px;
  margin: 30px 0 10px;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.legal-card ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal-card li {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.legal-card a { color: var(--gold-dark); text-decoration: underline; }
.legal-card strong { color: var(--ink); }
.legal-updated {
  margin-top: 26px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px !important;
  color: var(--muted) !important;
}
@media (max-width: 560px) {
  .legal-card { padding: 30px 22px; }
}

/* ---------- Aviso de cookies ---------- */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9000;
  max-width: 620px;
  margin: 0 auto;
  background: var(--ink);
  border: 1px solid rgba(212,175,110,0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
  padding: 18px 22px;
  animation: cookieSlideUp 0.5s ease;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent-inner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(250,247,242,0.8);
}
.cookie-consent-inner a { color: var(--gold-light); text-decoration: underline; }
.cookie-btn-accept {
  flex: none;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cookie-btn-accept:hover { background: var(--gold-light); }
@keyframes cookieSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 560px) {
  .cookie-consent { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .cookie-consent-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-btn-accept { width: 100%; }
}

/* ===================== Panel de administrador ===================== */

.admin-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(32, 28, 23, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
}
.admin-overlay.open { opacity: 1; visibility: visible; }

.admin-box {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%; max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 36px 32px 28px;
  transform: translateY(10px);
  transition: transform .25s ease;
}
.admin-overlay.open .admin-box { transform: translateY(0); }

.admin-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--cream-2); color: var(--ink);
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.admin-close:hover { background: var(--sand); }

.admin-brand { text-align: center; margin-bottom: 24px; }
.admin-brand img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; margin-bottom: 10px; }
.admin-brand h3 { font-family: var(--font-serif); font-size: 24px; color: var(--ink); margin: 0 0 4px; }
.admin-brand p { color: var(--muted); font-size: 14px; margin: 0; }

.admin-field { margin-bottom: 16px; text-align: left; }
.admin-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.admin-field input:not([type="checkbox"]) {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-family: var(--font-sans); font-size: 15px; color: var(--ink);
}
.admin-field input:focus { outline: none; border-color: var(--gold); }
.admin-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-check-field label { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.admin-check-field input { width: auto; }

.admin-pass-wrap { position: relative; }
.admin-pass-wrap input { padding-right: 42px; }
.admin-eye {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: none; background: none; color: var(--muted);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.admin-eye svg { width: 20px; height: 20px; }
.admin-eye:hover { color: var(--gold-dark); }

.admin-error {
  background: #fbe9e7; color: #9d3b2c; border-radius: var(--radius);
  padding: 10px 13px; font-size: 13.5px; margin-bottom: 14px;
}

.admin-submit {
  width: 100%; padding: 13px; border: none; border-radius: var(--radius);
  background: var(--gold); color: var(--white); font-weight: 600; font-size: 15px;
  cursor: pointer; transition: background .2s ease;
}
.admin-submit:hover { background: var(--gold-dark); }
.admin-submit:disabled { opacity: .7; cursor: default; }

/* Dashboard */
.admin-dash-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.admin-dash-head h3 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 2px; color: var(--ink); }
.admin-dash-head p { font-size: 13px; color: var(--muted); margin: 0; }
.admin-logout {
  border: 1px solid var(--line); background: var(--white); color: var(--ink-2);
  padding: 8px 14px; border-radius: var(--radius); font-size: 13px; cursor: pointer; white-space: nowrap;
}
.admin-logout:hover { background: var(--cream-2); }

.admin-dash-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.admin-dash-toolbar span { font-size: 13px; color: var(--muted); }
.admin-add-btn {
  border: none; background: var(--ink); color: var(--white); padding: 9px 14px;
  border-radius: var(--radius); font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.admin-add-btn:hover { background: var(--gold-dark); }

.admin-loading { color: var(--muted); font-size: 14px; padding: 20px 0; text-align: center; }

.admin-product-list { display: flex; flex-direction: column; gap: 10px; }
.admin-product-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px;
}
.admin-product-thumb { width: 46px; height: 46px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; background: var(--cream-2); }
.admin-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-product-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.admin-product-info strong { font-size: 14.5px; color: var(--ink); }
.admin-product-info span { font-size: 12.5px; color: var(--muted); }
.admin-product-price { color: var(--gold-dark) !important; font-weight: 600; }
.admin-product-actions { display: flex; gap: 6px; flex-shrink: 0; }
.admin-edit-btn, .admin-delete-btn {
  border: none; border-radius: var(--radius); padding: 7px 11px; font-size: 12.5px; cursor: pointer; font-weight: 600;
}
.admin-edit-btn { background: var(--cream-2); color: var(--ink); }
.admin-edit-btn:hover { background: var(--sand); }
.admin-delete-btn { background: #fbe9e7; color: #9d3b2c; }
.admin-delete-btn:hover { background: #f6d4cf; }

/* Formulario de producto */
.admin-form-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.admin-form-head h3 { font-family: var(--font-serif); font-size: 21px; margin: 0; color: var(--ink); }
.admin-back-btn { border: none; background: none; color: var(--gold-dark); font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; }

.admin-image-field .admin-hint { margin-bottom: 10px; }
.admin-image-upload { display: flex; align-items: center; gap: 14px; }
.admin-image-preview {
  width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0;
  background: var(--cream-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.admin-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-image-preview span { font-size: 10.5px; color: var(--muted); text-align: center; }
.admin-image-upload-controls { display: flex; flex-direction: column; gap: 4px; }
.admin-upload-btn {
  display: inline-block; width: fit-content; border: 1px solid var(--gold); color: var(--gold-dark);
  background: var(--white); padding: 8px 14px; border-radius: var(--radius); font-size: 13px;
  font-weight: 600; cursor: pointer;
}
.admin-upload-btn:hover { background: var(--cream-2); }
.admin-upload-status { font-size: 12px; color: var(--muted); }
.admin-upload-status.admin-upload-ok { color: #2e7d4f; }
.admin-upload-status.admin-upload-error { color: #9d3b2c; }

.admin-variants-block { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }
.admin-variants-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.admin-variants-head h4 { font-size: 15px; margin: 0; color: var(--ink); }
.admin-add-variant-btn { font-size: 12.5px; padding: 7px 11px; }
.admin-hint { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.admin-variant-row { display: grid; grid-template-columns: 1fr 90px 150px 32px; gap: 8px; margin-bottom: 4px; align-items: center; }
.admin-variant-row input:not([type="hidden"]) {
  padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13.5px; background: var(--white);
}
.admin-variant-remove {
  width: 30px; height: 30px; border: none; border-radius: 50%; background: #fbe9e7; color: #9d3b2c;
  cursor: pointer; font-size: 16px; line-height: 1;
}
.admin-variant-image { display: flex; align-items: center; gap: 6px; }
.admin-image-preview-sm { width: 32px; height: 32px; }
.admin-image-preview-sm span { font-size: 9px; }
.admin-upload-btn-sm { padding: 6px 9px; font-size: 11.5px; white-space: nowrap; }
.admin-upload-status-sm { grid-column: 1 / -1; margin: 0 0 8px; font-size: 11px; }
.admin-upload-status-sm:empty { display: none; }

.admin-form-actions { margin-top: 18px; }

@media (max-width: 560px) {
  .admin-box { padding: 26px 18px 20px; max-height: 92vh; }
  .admin-field-row { grid-template-columns: 1fr; }
  .admin-variant-row { grid-template-columns: 1fr 1fr; grid-template-areas: "label price" "img remove"; }
  .admin-variant-image { grid-area: img; }
  .admin-variant-remove { grid-area: remove; }
  .admin-dash-head { flex-direction: column; }
}
