/*
Theme Name:  Mundo Vapers Store
Theme URI:   https://www.mundovaperstore.com.ar
Description: Tema premium standalone para Mundo Vapers Store
Author:      Mundo Vapers Store
Version:     2.0.0
Text Domain: mundovapers
*/

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════ */
:root {
  --bg-base:       #080808;
  --bg-surface:    #111111;
  --bg-raised:     #181818;
  --bg-overlay:    #1f1f1f;

  --gold:          #c9a84c;
  --gold-light:    #e2c97e;
  --gold-dim:      rgba(201,168,76,0.15);
  --gold-border:   rgba(201,168,76,0.25);

  --text-primary:  #f2f2f2;
  --text-secondary:#d4d4d4;
  --text-muted:    #a8a8a8;

  --border:        rgba(255,255,255,0.07);

  --success:       #4ade80;
  --error:         #f87171;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  --shadow-md:  0 6px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.6);
  --shadow-gold:0 8px 32px rgba(201,168,76,0.12);

  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --fast:   0.15s var(--ease);
  --mid:    0.25s var(--ease);
  --slow:   0.4s  var(--ease);

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  --container: 1280px;
}

/* ═══════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--fast); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

ul:not(.woocommerce-error):not(.woocommerce-message):not(.woocommerce-info) {
  list-style: none;
}

/* ═══════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════ */
.mv-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .mv-container { padding: 0 24px; } }
@media (min-width: 1024px) { .mv-container { padding: 0 32px; } }

.site-content { min-height: 60vh; }

/* ═══════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════ */
::-webkit-scrollbar              { width: 6px; }
::-webkit-scrollbar-track        { background: var(--bg-base); }
::-webkit-scrollbar-thumb        { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover  { background: var(--gold); }

/* ═══════════════════════════════════════════════
   HEADER — MOBILE FIRST
═══════════════════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--mid), box-shadow var(--mid);
}

#site-header.scrolled {
  background: rgba(8,8,8,0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

/* Layout mobile: hamburger | logo (centro) | acciones */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 0;
  position: relative;
}

/* Desktop: hamburger oculto, nav visible */
@media (min-width: 900px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    height: 68px;
  }
}

/* ── Logo ── */
.site-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 900px) {
  .site-logo { position: static; transform: none; }
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary) !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .site-logo a { font-size: 1.3rem; }
}

.site-logo .logo-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.site-logo img { height: 38px; width: auto; }
@media (min-width: 900px) { .site-logo img { height: 46px; } }

/* ── Nav desktop ── */
#main-nav { display: none; }

@media (min-width: 900px) {
  #main-nav { display: block; }

  #main-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: center;
    margin: 0; padding: 0;
  }

  #main-nav ul li { position: relative; list-style: none; }

  #main-nav ul li a {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: var(--r-sm);
    transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
    display: block;
    text-decoration: none;
  }

  #main-nav ul li a:hover,
  #main-nav ul li.current-menu-item > a {
    color: var(--gold);
    background: var(--gold-dim);
  }

  /* Sub-menú */
  #main-nav ul ul {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 190px;
    background: var(--bg-raised);
    border: 1px solid var(--gold-border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: color var(--mid), background var(--mid), background-color var(--mid), border-color var(--mid), opacity var(--mid), transform var(--mid), box-shadow var(--mid);
    flex-direction: column;
    padding: 6px;
    display: flex;
  }

  #main-nav ul li:hover > ul {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
}

/* ── Header actions (derecha) ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Botón búsqueda */
.header-search-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-search-toggle:hover { color: var(--gold); background: var(--gold-dim); }

/* Botón carrito */
.header-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  color: var(--text-secondary) !important;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
  text-decoration: none;
}
.header-cart-btn:hover { color: var(--gold) !important; background: var(--gold-dim); }

/* Burbuja contador */
.cart-bubble {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
}
.cart-bubble.has-items {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* ── Hamburger button ── */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  z-index: 1;
}
@media (min-width: 900px) { .mobile-menu-toggle { display: none; } }

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--gold); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--gold); }

/* ── Mobile Drawer ── */
#mobile-drawer { display: block; }

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1100;
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: #0f0f0f;
  border-right: 1px solid var(--gold-border);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}

body.drawer-open .drawer-overlay { display: block; }
body.drawer-open .drawer-panel    { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.drawer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
}
.drawer-close:hover { border-color: var(--gold); color: var(--gold); }

.drawer-nav { flex: 1; padding: 12px 0; }

.drawer-nav ul { margin: 0; padding: 0; }

.drawer-nav ul li { list-style: none; }

.drawer-nav ul li a {
  display: block;
  padding: 14px 24px;
  color: var(--text-secondary) !important;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
}

.drawer-nav ul li a:hover,
.drawer-nav ul li.current-menu-item > a {
  color: var(--gold) !important;
  background: var(--gold-dim);
  padding-left: 30px;
}

/* Kill WooCommerce float clearfix pseudo-elements that create a ghost first grid cell */
ul.products::before,
ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  content: none !important;
  display: none !important;
}

.drawer-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin: 20px 20px 28px;
  width: calc(100% - 40px);
  box-sizing: border-box;
  padding: 14px;
  background: var(--gold);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background var(--fast);
  position: relative;
}
.drawer-cart-btn:hover { background: var(--gold-light); }

.drawer-cart-count {
  background: #000;
  color: var(--gold);
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ── Search overlay ── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  transition: color var(--mid), background var(--mid), background-color var(--mid), border-color var(--mid), opacity var(--mid), transform var(--mid), box-shadow var(--mid);
}

.search-overlay.active { opacity: 1; visibility: visible; }

.search-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
  z-index: 1;
}
.search-close:hover { border-color: var(--gold); color: var(--gold); }

.search-overlay .search-wrap {
  width: 100%;
  max-width: 580px;
  position: relative;
}

.search-overlay form {
  width: 100%;
  position: relative;
}

.search-overlay input[type="search"] {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid var(--gold) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-display) !important;
  font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
  padding: 12px 0 !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.search-overlay input::placeholder { color: var(--text-muted) !important; }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-base);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.2rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(20%);
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-base) 0%, transparent 40%);
  z-index: 1;
}

/* Stats en el hero */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   BOTONES
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-md);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--mid), background var(--mid), background-color var(--mid), border-color var(--mid), transform var(--mid), box-shadow var(--mid);
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: #000;
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  background: var(--gold-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 10px 0;
}
.btn-ghost:hover { color: var(--gold-light); }
.btn-ghost::after {
  content: '→';
  transition: transform var(--fast);
}
.btn-ghost:hover::after { transform: translateX(4px); }

/* WooCommerce buttons override */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button {
  background: var(--gold) !important;
  color: #000 !important;
  border: none !important;
  border-radius: var(--r-md) !important;
  padding: 12px 24px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: color var(--mid), background var(--mid), background-color var(--mid), border-color var(--mid), transform var(--mid), box-shadow var(--mid) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button:hover {
  background: var(--gold-light) !important;
  color: #000 !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-gold) !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--bg-raised) !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold-border) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--gold) !important;
  color: #000 !important;
}

/* ═══════════════════════════════════════════════
   SECCIÓN GENÉRICA
═══════════════════════════════════════════════ */
.mv-section { padding: 90px 0; }
.mv-section-sm { padding: 60px 0; }

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

/* ═══════════════════════════════════════════════
   FIX: BRANDS STRIP (sin wrapping)
═══════════════════════════════════════════════ */
.brands-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
}

.brands-track {
  display: inline-flex;
  gap: 40px;
  align-items: center;
  animation: brandScroll 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.brands-track:hover { animation-play-state: paused; }

@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-item {
  color: #6a6a6a;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--mid);
  cursor: default;
  display: inline-block;
}
.brand-item:hover { color: var(--gold); }

.brand-sep {
  color: rgba(201,168,76,0.2);
  flex-shrink: 0;
  font-size: 0.35rem;
  display: inline-block;
}

/* ═══════════════════════════════════════════════
   FIX: TESTIMONIOS (card con borde visible)
═══════════════════════════════════════════════ */
.testimonials-section {
  background: #0d0d0d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: #161616 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 16px !important;
  padding: 28px !important;
  transition: border-color 0.25s !important;
  display: flex !important;
  flex-direction: column !important;
}

.testimonial-card:hover {
  border-color: rgba(201,168,76,0.35) !important;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
  display: block;
}

.testimonial-text {
  color: #c8c8c8 !important;
  font-size: 0.9rem !important;
  line-height: 1.8 !important;
  margin-bottom: 24px !important;
  font-style: italic !important;
  flex: 1 !important;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  color: var(--text-primary) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  display: block;
}

.testimonial-loc {
  color: var(--text-muted) !important;
  font-size: 0.75rem !important;
  display: block;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   FIX: COOKIE NOTICE (centrado y estilizado)
═══════════════════════════════════════════════ */
#cookie-notice {
  position: fixed !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(150px) !important;
  background: #1a1a1a !important;
  border: 1px solid rgba(201,168,76,0.3) !important;
  border-radius: 14px !important;
  padding: 16px 22px !important;
  max-width: 460px !important;
  width: calc(100% - 48px) !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  z-index: 1500 !important;
  box-shadow: 0 12px 48px rgba(0,0,0,0.7) !important;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1) !important;
}

#cookie-notice.show {
  transform: translateX(-50%) translateY(0) !important;
}

.cookie-text {
  font-size: 0.85rem !important;
  color: var(--text-secondary) !important;
  flex: 1 !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

.cookie-text a { color: var(--gold) !important; }

.cookie-accept {
  background: var(--gold) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 9px 18px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background 0.15s !important;
  flex-shrink: 0 !important;
  letter-spacing: 0.04em !important;
}

.cookie-accept:hover { background: var(--gold-light) !important; }

/* ═══════════════════════════════════════════════
   WHATSAPP FLOTANTE
═══════════════════════════════════════════════ */
#whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 600;
}

.wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.wa-btn:hover {
  background: #1ebe5d;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.wa-icon { font-size: 1.1rem; }
.wa-label { display: none; }
@media (min-width: 640px) { .wa-label { display: inline; } }

/* ═══════════════════════════════════════════════
   ANNOUNCEMENT BAR
═══════════════════════════════════════════════ */
#announcement-bar {
  background: linear-gradient(90deg, #1a1400, #2a1f00, #1a1400);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 9px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.announcement-text {
  color: #d4b86a;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.announcement-text strong { color: var(--gold); }

.announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px 8px;
  transition: color 0.15s;
  line-height: 1;
}

.announcement-close:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   LIVE SEARCH
═══════════════════════════════════════════════ */
.search-results-live {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: #181818;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  max-height: 380px;
  overflow-y: auto;
  z-index: 10;
  display: none;
}

.search-results-live.active { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  transition: background 0.15s;
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(201,168,76,0.08); }

.search-result-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #222;
}

.search-result-name {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.search-result-price {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
}

.search-no-results,
.search-loading {
  padding: 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.search-overlay .search-hint {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
  margin-top: 14px;
}

/* ═══════════════════════════════════════════════
   STICKY ADD TO CART
═══════════════════════════════════════════════ */
#sticky-cart-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(14,14,14,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 14px 24px;
  z-index: 800;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
}

#sticky-cart-bar.visible { transform: translateY(0); }

.sticky-cart-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sticky-cart-product {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.sticky-cart-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.sticky-cart-name {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cart-price { color: var(--gold); font-size: 0.85rem; font-weight: 700; }
.sticky-cart-actions { display: flex; align-items: center; gap: 12px; }

.sticky-qty {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 62px;
  padding: 9px;
  text-align: center;
}

@media (max-width: 600px) {
  .sticky-cart-img, .sticky-cart-name { display: none; }
}

/* ═══════════════════════════════════════════════
   TRUST BADGES (en producto individual)
═══════════════════════════════════════════════ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 11px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.mv-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.mv-stock-badge.in-stock {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  color: #4ade80;
}

.mv-stock-badge.out-of-stock {
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.25);
  color: #f87171;
}

/* ═══════════════════════════════════════════════
   QUICK VIEW MODAL
═══════════════════════════════════════════════ */
#quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: color 0.25s ease, background 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#quick-view-overlay.active { opacity: 1; visibility: visible; }

.quick-view-modal {
  background: #111;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 24px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.94);
  transition: transform 0.25s;
}

#quick-view-overlay.active .quick-view-modal { transform: scale(1); }

.quick-view-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  background: #1a1a1a;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  margin: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.15s ease, background 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 1;
}

.quick-view-close:hover { background: var(--gold); color: #000; border-color: var(--gold); }

.quick-view-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 20px 28px 32px;
  clear: both;
}

.quick-view-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.quick-view-img img { width: 100%; height: 300px; object-fit: cover; display: block; }

.quick-view-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.quick-view-price {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: block;
}

.quick-view-desc {
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.72;
  margin-bottom: 22px;
}

/* Quick view trigger en cards */
.quick-view-btn-card {
  position: absolute !important;
  bottom: 54px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  background: rgba(10,10,10,0.92) !important;
  border: 1px solid rgba(201,168,76,0.35) !important;
  color: var(--gold) !important;
  padding: 7px 16px !important;
  border-radius: 50px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  transition: color 0.25s ease, background 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
  cursor: pointer !important;
  z-index: 4 !important;
}

ul.products li.product:hover .quick-view-btn-card {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}

@media (max-width: 600px) {
  .quick-view-body { grid-template-columns: 1fr; }
  .quick-view-img img { height: 200px; }
}

/* ═══════════════════════════════════════════════
   STEPS (cómo comprar)
═══════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step-item { text-align: center; padding: 0 20px 24px; }

.step-number {
  width: 54px;
  height: 54px;
  background: var(--bg-surface);
  border: 2px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  transition: color 0.25s ease, background 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.step-item:hover .step-number {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.step-title { color: var(--text-primary); font-size: 0.92rem; font-weight: 700; margin-bottom: 8px; }
.step-desc  { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.65; }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   BADGE NUEVO EN CARDS
═══════════════════════════════════════════════ */
.mv-badge-new {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: #181818 !important;
  border: 1px solid rgba(201,168,76,0.35) !important;
  color: var(--gold) !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 3px 9px !important;
  border-radius: 4px !important;
  z-index: 3 !important;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════
   CATEGORÍAS
═══════════════════════════════════════════════ */
.category-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: color var(--mid), background var(--mid), background-color var(--mid), border-color var(--mid), opacity var(--mid), transform var(--mid), box-shadow var(--mid);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.category-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.category-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  filter: grayscale(30%);
  transition: transform var(--slow), filter var(--slow), opacity var(--slow);
}

.category-card:hover .category-card-img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.category-card-body {
  padding: 16px;
}

.category-card-name {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.category-card-count {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════
   CATEGORIES CAROUSEL
═══════════════════════════════════════════════ */
.cat-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 12px;
  flex: 1;
  scroll-behavior: smooth;
}
.cat-carousel-track::-webkit-scrollbar { display: none; }
.cat-carousel-track .category-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 160px;
  scroll-snap-align: start;
}
@media (max-width: 1024px) {
  .cat-carousel-track .category-card {
    flex: 0 0 calc(33.333% - 11px);
  }
}
@media (max-width: 768px) {
  .cat-carousel-track .category-card {
    flex: 0 0 calc(50% - 8px);
  }
}
@media (max-width: 480px) {
  .cat-carousel-track .category-card {
    flex: 0 0 72%;
  }
}
.cat-nav-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--fast), color var(--fast), border-color var(--fast);
  padding: 0;
}
.cat-nav-btn:hover {
  background: var(--gold-dim);
  color: var(--gold);
  border-color: var(--gold-border);
}
.cat-nav-btn:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
@media (max-width: 640px) {
  .cat-nav-btn { display: none; }
  .cat-carousel-outer { gap: 0; }
}

/* ═══════════════════════════════════════════════
   PRODUCTOS — GRID
═══════════════════════════════════════════════ */

/* WooCommerce shortcode wrapper — ensure full width */
div.woocommerce {
  width: 100% !important;
  max-width: 100% !important;
}

ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* WooCommerce sets columns with float-based layout — override with grid */
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products.columns-2,
.woocommerce ul.products.columns-3,
.woocommerce ul.products.columns-4,
.woocommerce ul.products.columns-5,
.woocommerce-page ul.products.columns-2,
.woocommerce-page ul.products.columns-3,
.woocommerce-page ul.products.columns-4,
.woocommerce-page ul.products.columns-5 {
  display: grid !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

ul.products li.product {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  overflow: hidden !important;
  transition: color var(--mid), background var(--mid), background-color var(--mid), border-color var(--mid), opacity var(--mid), transform var(--mid), box-shadow var(--mid) !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  /* Override WooCommerce float-based column widths */
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* High-specificity override for WooCommerce column width rules */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products.columns-2 li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce ul.products.columns-5 li.product,
.woocommerce-page ul.products.columns-2 li.product,
.woocommerce-page ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-4 li.product,
.woocommerce-page ul.products.columns-5 li.product {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  clear: none !important;
}

/* Related products section wrapper */
.related.products,
.upsells.products {
  width: 100% !important;
  max-width: 100% !important;
  clear: both !important;
}
.related.products ul.products li.product,
.upsells.products ul.products li.product {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

ul.products li.product:hover {
  border-color: var(--gold-border) !important;
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* Imagen */
.product-img-wrap {
  overflow: hidden;
  position: relative;
  background: var(--bg-raised);
}

ul.products li.product img {
  width: 100% !important;
  height: 230px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform var(--slow) !important;
}

ul.products li.product:hover img {
  transform: scale(1.05) !important;
}

/* Badge sale */
ul.products li.product .onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  background: var(--gold) !important;
  color: #000 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: var(--r-sm) !important;
  z-index: 2 !important;
}

/* Info */
ul.products li.product .woocommerce-loop-product__link {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  text-decoration: none !important;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  padding: 16px 16px 4px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  width: 100% !important;
  display: block !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  text-align: left !important;
  transition: color var(--fast) !important;
}

ul.products li.product:hover .woocommerce-loop-product__title,
ul.products li.product:hover h2 {
  color: var(--gold) !important;
}

ul.products li.product .price {
  color: var(--gold) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding: 2px 16px 16px !important;
  display: block !important;
  font-family: var(--font-body) !important;
}

ul.products li.product .price del {
  color: var(--text-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  margin-right: 6px !important;
}

ul.products li.product .price ins {
  text-decoration: none !important;
}

/* Botón agregar */
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
  display: block !important;
  width: 100% !important;
  margin-top: auto !important;
  background: var(--bg-raised) !important;
  color: var(--text-secondary) !important;
  border: none !important;
  border-top: 1px solid var(--border) !important;
  border-radius: 0 !important;
  padding: 13px 16px !important;
  font-size: 0.77rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), transform var(--fast), box-shadow var(--fast) !important;
  box-shadow: none !important;
}

ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
  background: var(--gold) !important;
  color: #000 !important;
  border-top-color: var(--gold) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Link "Ver carrito" que WooCommerce inyecta tras añadir al carrito */
ul.products li.product a.added_to_cart {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 12px !important;
  margin-top: 6px !important;
  background: transparent !important;
  color: var(--gold) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  border: 1px solid var(--gold-dim) !important;
  border-radius: var(--r-sm) !important;
  transition: background var(--fast), border-color var(--fast) !important;
}
ul.products li.product a.added_to_cart:hover {
  background: var(--gold-dim) !important;
  border-color: var(--gold) !important;
}

/* ═══════════════════════════════════════════════
   PRODUCTO INDIVIDUAL
═══════════════════════════════════════════════ */
.single-product div.product {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
  padding: 28px 0 40px !important;
  align-items: start !important;
}
@media (min-width: 900px) {
  .single-product div.product {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) !important;
    gap: 56px !important;
    padding: 48px 0 60px !important;
  }
}

/* Anular floats y anchos por defecto de WooCommerce */
.single-product .woocommerce-product-gallery,
.single-product div.product .images,
.single-product .summary,
.single-product .entry-summary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
}

.single-product .woocommerce-product-gallery {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  position: relative;
  align-self: start;
}

.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  border-radius: var(--r-lg);
}

.single-product .summary > *,
.single-product .entry-summary > * {
  max-width: 100%;
}

.single-product .product_title {
  font-family: var(--font-display) !important;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 0 0 14px !important;
  color: var(--text-primary) !important;
  width: 100% !important;
  display: block !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Esconder el h2 "Descripción" duplicado dentro del tab panel */
.woocommerce-Tabs-panel--description > h2:first-child,
#tab-description > h2:first-child {
  display: none;
}

.single-product .price {
  font-family: var(--font-display) !important;
  font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  margin-bottom: 22px !important;
  display: block !important;
  line-height: 1.1 !important;
}

.single-product .price del {
  color: var(--text-muted) !important;
  font-size: 0.65em !important;
  font-weight: 400 !important;
  margin-right: 10px !important;
  opacity: 0.7;
}
.single-product .price ins { text-decoration: none !important; }

.single-product .woocommerce-product-details__short-description {
  color: var(--text-secondary) !important;
  line-height: 1.75 !important;
  margin-bottom: 26px !important;
  font-size: 0.95rem !important;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.single-product form.cart {
  display: flex !important;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 4px 0 18px !important;
}

.single-product form.cart .quantity {
  display: inline-flex;
  align-items: center;
}

.single-product form.cart input.qty,
.single-product form.cart .quantity input.qty {
  width: 72px !important;
  min-height: 52px !important;
  height: 52px !important;
  text-align: center !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  background: var(--bg-raised) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  padding: 0 !important;
}

.single-product form.cart button.single_add_to_cart_button {
  flex: 1 1 auto;
  min-height: 52px !important;
  min-width: 220px;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 0 26px !important;
  border-radius: var(--r-md) !important;
  background: var(--gold) !important;
  color: #000 !important;
  border: 1px solid var(--gold) !important;
  cursor: pointer;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), transform var(--fast), box-shadow var(--fast);
}
.single-product form.cart button.single_add_to_cart_button:hover {
  background: #d4b558 !important;
  border-color: #d4b558 !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.single-product .product_meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.single-product .product_meta > span {
  display: block;
  padding: 5px 0;
}
.single-product .product_meta a {
  color: var(--text-secondary);
}
.single-product .product_meta a:hover { color: var(--gold); }

/* Related / upsells */
.single-product .related,
.single-product .upsells {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.single-product .related > h2,
.single-product .upsells > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-align: center;
  margin-bottom: 28px;
}

/* Tabs */
.woocommerce-tabs .tabs {
  border-bottom: 1px solid var(--border) !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.woocommerce-tabs .tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin-right: 0 !important;
}

.woocommerce-tabs .tabs li a {
  color: var(--text-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 14px 20px !important;
  border-bottom: 2px solid transparent !important;
  display: block !important;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast) !important;
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
  color: var(--gold) !important;
  border-bottom-color: var(--gold) !important;
  background: transparent !important;
}

.woocommerce-tabs .panel {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-top: none !important;
  border-radius: 0 0 var(--r-lg) var(--r-lg) !important;
  padding: 30px !important;
  color: var(--text-secondary) !important;
  line-height: 1.75 !important;
}

/* ═══════════════════════════════════════════════
   FORMULARIOS
═══════════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
  background: var(--bg-raised) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important; /* 16px previene zoom en iOS */
  padding: 13px 16px !important;
  width: 100%;
  min-height: 46px;
  transition: border-color var(--fast), box-shadow var(--fast) !important;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

@media (min-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select {
    font-size: 0.92rem !important;
    padding: 12px 16px !important;
  }
}

textarea { min-height: 110px; resize: vertical; }

select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%) !important;
  background-position: calc(100% - 18px) center, calc(100% - 13px) center !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  padding-right: 36px !important;
  cursor: pointer;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--gold-border) !important;
  box-shadow: 0 0 0 3px var(--gold-dim) !important;
}

input::placeholder, textarea::placeholder { color: var(--text-muted) !important; opacity: 1; }

label {
  color: var(--text-secondary) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  display: block !important;
}

label .required, .required { color: var(--gold) !important; text-decoration: none; }

/* Checkboxes y radios — apariencia coherente */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px;
  background: var(--bg-raised) !important;
  border: 1px solid var(--border) !important;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-block;
  vertical-align: middle;
}
input[type="checkbox"] { border-radius: 4px !important; }
input[type="radio"]    { border-radius: 50% !important; }

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 8px; height: 8px;
  background: #000;
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════
   CARRITO
═══════════════════════════════════════════════ */
.woocommerce-cart .woocommerce { display: block; }

table.shop_table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  overflow: hidden !important;
  margin-bottom: 28px !important;
}

table.shop_table th {
  background: var(--bg-raised) !important;
  color: var(--text-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 16px 20px !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  text-align: left !important;
}

table.shop_table td {
  color: var(--text-primary) !important;
  padding: 18px 20px !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  vertical-align: middle !important;
  font-size: 0.9rem !important;
}

table.shop_table tr:last-child td { border-bottom: none !important; }

table.shop_table .amount { color: var(--gold) !important; font-weight: 700 !important; }

table.shop_table .product-thumbnail img,
table.shop_table img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: var(--r-sm) !important;
  border: 1px solid var(--border) !important;
}

table.shop_table .product-name a {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
}
table.shop_table .product-name a:hover { color: var(--gold) !important; }

table.shop_table .product-remove a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  background: var(--bg-raised) !important;
  border: 1px solid var(--border) !important;
  border-radius: 50% !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast) !important;
}
table.shop_table .product-remove a:hover {
  background: var(--error) !important;
  border-color: var(--error) !important;
  color: #fff !important;
}

table.shop_table .quantity .qty { width: 64px !important; padding: 8px !important; font-size: 0.9rem !important; }

.actions { padding: 18px 20px !important; }
.actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.actions .coupon input { flex: 1; min-width: 0; max-width: 220px; }

.cart_totals {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  padding: 24px !important;
}

.cart_totals h2 {
  color: var(--text-primary) !important;
  font-family: var(--font-display) !important;
  font-size: 1.2rem !important;
  margin: 0 0 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid var(--border) !important;
}

.cart_totals table { width: 100%; margin-bottom: 20px; }
.cart_totals table th {
  color: var(--text-secondary) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  padding: 10px 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: transparent !important;
  border: none !important;
}
.cart_totals table td {
  color: var(--text-primary) !important;
  text-align: right !important;
  padding: 10px 0 !important;
  border: none !important;
  background: transparent !important;
}
.cart_totals .order-total .amount {
  font-size: 1.3rem !important;
  font-family: var(--font-display) !important;
}
.cart_totals .wc-proceed-to-checkout { padding: 0 !important; margin-top: 4px !important; }
.cart_totals .wc-proceed-to-checkout .checkout-button {
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
  padding: 15px !important;
  font-size: 0.85rem !important;
}

/* Mobile: tabla → cards apilados */
@media (max-width: 768px) {
  table.shop_table { display: block !important; border: none !important; background: transparent !important; }
  table.shop_table thead { display: none !important; }
  table.shop_table tbody { display: block !important; }
  table.shop_table tr {
    display: grid !important;
    grid-template-columns: 70px 1fr auto !important;
    grid-template-areas:
      "thumb name remove"
      "thumb price price"
      "qty   qty   subtotal" !important;
    gap: 6px 14px !important;
    align-items: center !important;
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--r-md) !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
  }
  table.shop_table tr:last-child { margin-bottom: 0 !important; }
  table.shop_table td {
    display: block !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0.88rem !important;
  }
  table.shop_table td::before {
    content: attr(data-title) ': ' !important;
    color: var(--text-muted) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin-right: 6px !important;
  }
  table.shop_table .product-thumbnail { grid-area: thumb !important; }
  table.shop_table .product-thumbnail::before { display: none !important; }
  table.shop_table .product-thumbnail img { width: 70px !important; height: 70px !important; }
  table.shop_table .product-name { grid-area: name !important; }
  table.shop_table .product-name::before { display: none !important; }
  table.shop_table .product-price { grid-area: price !important; }
  table.shop_table .product-quantity { grid-area: qty !important; }
  table.shop_table .product-subtotal {
    grid-area: subtotal !important;
    text-align: right !important;
    color: var(--gold) !important;
    font-weight: 700 !important;
  }
  table.shop_table .product-remove {
    grid-area: remove !important;
    text-align: right !important;
  }
  table.shop_table .product-remove::before { display: none !important; }

  /* Tabla del cart_totals — mantener layout 2 cols */
  .cart_totals table { display: table !important; }
  .cart_totals table thead { display: table-header-group !important; }
  .cart_totals table tbody { display: table-row-group !important; }
  .cart_totals table tr { display: table-row !important; background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important; }
  .cart_totals table td, .cart_totals table th { display: table-cell !important; padding: 10px 0 !important; }
  .cart_totals table td::before, .cart_totals table th::before { display: none !important; }

  .actions .coupon { flex-direction: column; align-items: stretch; }
  .actions .coupon input { max-width: 100%; }
  .actions .coupon .button { width: 100%; }
}

/* ═══════════════════════════════════════════════
   CHECKOUT
═══════════════════════════════════════════════ */
.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
  }
  .woocommerce-checkout #customer_details { grid-column: 1; }
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: 2;
    position: sticky;
    top: 88px;
  }
  .woocommerce-checkout #order_review_heading { position: static !important; margin: 0; }
}

.woocommerce-checkout h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 { width: 100% !important; float: none !important; }

.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.woocommerce-checkout #order_review_heading {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 12px;
}

.woocommerce-checkout #order_review {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  padding: 24px !important;
}

.woocommerce-checkout #order_review table {
  background: transparent !important;
  border: none !important;
  margin: 0 0 18px !important;
}
.woocommerce-checkout #order_review table th,
.woocommerce-checkout #order_review table td {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 12px 0 !important;
  font-size: 0.88rem !important;
}
.woocommerce-checkout #order_review table tfoot .order-total .amount {
  color: var(--gold) !important;
  font-size: 1.2rem !important;
  font-family: var(--font-display) !important;
}

.woocommerce-checkout-payment {
  background: var(--bg-raised) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  padding: 20px !important;
}

.woocommerce-checkout-payment ul.payment_methods {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  list-style: none !important;
}

.woocommerce-checkout-payment ul.payment_methods li {
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  padding: 14px 16px !important;
  margin-bottom: 10px !important;
  background: var(--bg-overlay) !important;
  list-style: none !important;
}

.woocommerce-checkout-payment ul.payment_methods li label {
  color: var(--text-primary) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin: 0 0 0 4px !important;
  display: inline !important;
  cursor: pointer !important;
}

.woocommerce-checkout-payment .payment_box {
  background: var(--gold-dim) !important;
  border: 1px solid var(--gold-border) !important;
  border-radius: var(--r-md) !important;
  color: var(--text-primary) !important;
  padding: 16px !important;
  margin-top: 12px !important;
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
}

.woocommerce-checkout #place_order {
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
  padding: 15px !important;
  font-size: 0.9rem !important;
  margin-top: 12px !important;
}

.woocommerce-terms-and-conditions-wrapper { margin: 16px 0 !important; }
.woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  color: var(--text-secondary) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 400 !important;
}

/* Datos de transferencia */
.wc-bacs-bank-details {
  background: var(--gold-dim) !important;
  border: 1px solid var(--gold-border) !important;
  border-radius: var(--r-md) !important;
  padding: 20px !important;
}

.wc-bacs-bank-details h3 {
  color: var(--gold) !important;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  margin-bottom: 14px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}
.wc-bacs-bank-details ul { list-style: none; padding: 0; margin: 0; }
.wc-bacs-bank-details ul li { color: var(--text-secondary); padding: 4px 0; font-size: 0.88rem; }
.wc-bacs-bank-details ul li strong { color: var(--text-primary); }

/* ═══════════════════════════════════════════════
   MENSAJES
═══════════════════════════════════════════════ */
.woocommerce-message,
.woocommerce-info {
  background: var(--gold-dim) !important;
  border-top: 4px solid var(--gold) !important;
  color: var(--text-primary) !important;
  border-radius: 0 var(--r-md) var(--r-md) 0 !important;
  padding: 14px 20px !important;
}

.woocommerce-error {
  background: rgba(248,113,113,0.08) !important;
  border-top: 4px solid var(--error) !important;
  color: var(--text-primary) !important;
  border-radius: 0 var(--r-md) var(--r-md) 0 !important;
}

/* ═══════════════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════════════ */
.woocommerce-breadcrumb {
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em !important;
  padding: 20px 0 !important;
}

.woocommerce-breadcrumb a { color: var(--text-muted) !important; }
.woocommerce-breadcrumb a:hover { color: var(--gold) !important; }

/* ═══════════════════════════════════════════════
   PAGINACIÓN
═══════════════════════════════════════════════ */
.woocommerce-pagination { text-align: center; padding: 40px 0 0; }

.woocommerce-pagination ul { display: inline-flex; gap: 6px; }

.woocommerce-pagination .page-numbers {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-secondary) !important;
  border-radius: var(--r-md) !important;
  padding: 10px 16px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast) !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.woocommerce-pagination .page-numbers:hover,
.woocommerce-pagination .page-numbers.current {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #000 !important;
}

/* ═══════════════════════════════════════════════
   WIDGETS
═══════════════════════════════════════════════ */
.widget {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.widget-title, .widgettitle {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.widget_product_categories ul li a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 7px 0;
  display: flex;
  justify-content: space-between;
  transition: color var(--fast);
  border-bottom: 1px solid var(--border);
}
.widget_product_categories ul li a:hover { color: var(--gold); }

.price_slider_wrapper .ui-slider { background: var(--border) !important; }
.price_slider_wrapper .ui-slider-range { background: var(--gold) !important; }
.price_slider_wrapper .ui-slider-handle {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}

/* ═══════════════════════════════════════════════
   CUENTA DE USUARIO
═══════════════════════════════════════════════ */
.woocommerce-MyAccount-navigation {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  overflow: hidden !important;
}

.woocommerce-MyAccount-navigation ul li a {
  color: var(--text-secondary) !important;
  padding: 13px 20px !important;
  display: block !important;
  border-bottom: 1px solid var(--border) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast) !important;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--gold-dim) !important;
  color: var(--gold) !important;
}

/* ═══════════════════════════════════════════════
   ORDENAR / RESULTADOS
═══════════════════════════════════════════════ */
.woocommerce-ordering select {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  color: var(--text-primary) !important;
  font-size: 0.82rem !important;
  padding: 10px 14px !important;
}

.woocommerce-result-count {
  color: var(--text-muted) !important;
  font-size: 0.82rem !important;
}

/* ═══════════════════════════════════════════════
   CANTIDAD
═══════════════════════════════════════════════ */
.quantity .qty {
  background: var(--bg-raised) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  color: var(--text-primary) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  width: 72px !important;
  text-align: center !important;
  padding: 10px !important;
}

/* ═══════════════════════════════════════════════
   BARRA DE CARACTERÍSTICAS (HOME)
═══════════════════════════════════════════════ */
.features-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-item {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-item:last-child { border-right: none; }

.feature-icon {
  width: 42px;
  height: 42px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.feature-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   NEWSLETTER / CTA
═══════════════════════════════════════════════ */
.cta-section {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 { margin-bottom: 12px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 30px; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
  margin-top: 80px;
}
@media (min-width: 1024px) {
  #site-footer { padding: 72px 0 0; margin-top: 96px; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; text-align: left; padding-bottom: 44px; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 360px;
}
@media (max-width: 639px) {
  .footer-brand p { margin-left: auto; margin-right: auto; }
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}
@media (min-width: 640px) { .footer-social { justify-content: flex-start; } }

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
}
.footer-social a:hover {
  border-color: var(--gold-border);
  color: var(--gold) !important;
  background: var(--gold-dim);
  transform: translateY(-2px);
}

.footer-col-title {
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 11px; }

.footer-links a {
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  transition: color var(--fast);
}
.footer-links a:hover { color: var(--gold) !important; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-brand-name { color: var(--gold); font-weight: 600; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════════════ */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--bg-raised);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  z-index: 500;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
  box-shadow: var(--shadow-md);
}
#scroll-top:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* ═══════════════════════════════════════════════
   TOAST NOTIFICACIÓN
═══════════════════════════════════════════════ */
.mv-toast {
  position: fixed;
  bottom: 80px;
  right: 28px;
  background: var(--bg-raised);
  border: 1px solid var(--gold-border);
  border-left: 3px solid var(--gold);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(20px);
  transition: color var(--mid), background var(--mid), background-color var(--mid), border-color var(--mid), opacity var(--mid), transform var(--mid), box-shadow var(--mid);
  max-width: 280px;
}
.mv-toast.show { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   Base = mobile. Se expande con min-width.
═══════════════════════════════════════════════ */

/* ── Hero ── */
.hero { min-height: 75vh; padding: 60px 0 40px; }
.hero-visual { display: none; }
.hero-stats { gap: 20px; flex-wrap: wrap; }
.hero-stat-num { font-size: 1.6rem; }

@media (min-width: 640px) {
  .hero { min-height: 80vh; }
  .hero-stats { gap: 32px; }
}
@media (min-width: 1024px) {
  .hero { min-height: 88vh; }
  .hero-visual { display: block; }
  .hero-stat-num { font-size: 2rem; }
}

/* ── Productos grid ── */
ul.products,
ul.products.columns-2,
ul.products.columns-3,
ul.products.columns-4,
ul.products.columns-5 {
  grid-template-columns: repeat(2, 1fr) !important;
}
@media (min-width: 640px) {
  ul.products,
  ul.products.columns-2,
  ul.products.columns-3,
  ul.products.columns-4,
  ul.products.columns-5 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 900px) {
  ul.products,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (min-width: 1100px) {
  ul.products.columns-4,
  ul.products.columns-5 {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* ── Features bar ── */
.features-grid { grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-item { padding: 24px 16px; }
@media (min-width: 640px) { .feature-item { padding: 28px 20px; } }

/* ── Steps ── */
.steps-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
@media (min-width: 900px) { .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 0; } }

/* ── Testimonios ── */
.testimonials-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Secciones padding ── */
.mv-section    { padding: 56px 0; }
.mv-section-sm { padding: 40px 0; }
@media (min-width: 768px) {
  .mv-section    { padding: 80px 0; }
  .mv-section-sm { padding: 56px 0; }
}
@media (min-width: 1024px) {
  .mv-section    { padding: 96px 0; }
  .mv-section-sm { padding: 64px 0; }
}

/* ── CTA section ── */
.cta-section { padding: 36px 24px; }
@media (min-width: 768px) { .cta-section { padding: 56px 48px; } }
@media (min-width: 1024px) { .cta-section { padding: 68px 60px; } }

/* ── Producto individual ── */
.single-product div.product { grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .single-product div.product { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* ── Footer bottom — column en mobile ── */
.footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }

/* ── Section header ── */
.section-header { margin-bottom: 36px; }
@media (min-width: 768px) { .section-header { margin-bottom: 52px; } }

/* ── Hero actions ── */
.hero-actions { flex-direction: column; align-items: center; gap: 10px; }
@media (min-width: 480px) { .hero-actions { flex-direction: row; justify-content: center; gap: 12px; } }
@media (min-width: 1024px) { .hero-actions { justify-content: flex-start; } }

/* ── Scroll top / WA — no se pisan en mobile ── */
#scroll-top    { bottom: 16px; right: 16px; }
#whatsapp-float{ bottom: 16px; left: 16px; }
@media (min-width: 640px) {
  #scroll-top    { bottom: 28px; right: 28px; }
  #whatsapp-float{ bottom: 28px; left: 28px; }
}

/* ═══════════════════════════════════════════════
   MOBILE FIRST — CENTRADO Y TIPOGRAFÍA
═══════════════════════════════════════════════ */

/* Hero — todo centrado en mobile */
.hero-content {
  text-align: center;
  margin: 0 auto;
}
.hero-eyebrow { justify-content: center; }
.hero-desc {
  margin-left: auto;
  margin-right: auto;
}
.hero-stats {
  justify-content: center;
  margin-top: 36px;
  padding-top: 28px;
}

/* En desktop vuelve a izquierda */
@media (min-width: 1024px) {
  .hero-content { text-align: left; margin: 0; }
  .hero-eyebrow { justify-content: flex-start; }
  .hero-stats   { justify-content: flex-start; margin-top: 60px; padding-top: 40px; }
}

/* Botones hero full-width en pantallas muy pequeñas */
@media (max-width: 400px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
}

/* Section title — escala fluida mejorada */
.section-title { font-size: clamp(1.6rem, 5.5vw, 2.8rem); }

/* Product image — algo más compacta en mobile */
@media (max-width: 640px) {
  ul.products li.product img { height: 180px !important; }
  .category-card-img { height: 120px; }
}

/* Features bar — una columna en móviles muy pequeños */
@media (max-width: 400px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-item  { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-item:last-child { border-bottom: none; }
}

/* Steps — mejor tipografía mobile */
@media (max-width: 640px) {
  .step-item { padding: 0 12px 20px; }
  .step-number { width: 46px; height: 46px; font-size: 1.1rem; }
}

/* Btn — tamaño táctil mínimo */
.btn { min-height: 44px; }

/* Announcement bar — texto más visible en mobile */
.announcement-text { font-size: 0.82rem; }

/* Formulario contacto — stack en mobile */
@media (max-width: 640px) {
  /* inline grid de 2 cols → 1 col */
  .mv-container [style*="grid-template-columns:1fr 1.2fr"],
  .mv-container [style*="grid-template-columns: 1fr 1.2fr"] {
    display: block !important;
  }
  .mv-container [style*="grid-template-columns:1fr 1fr"],
  .mv-container [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Footer brand description — más legible */
.footer-brand p { color: var(--text-secondary); }

/* ═══════════════════════════════════════════════
   UNIFICACIÓN GLOBAL — RIGOR ESTÉTICO
   Las reglas más específicas/finales del archivo
═══════════════════════════════════════════════ */

/* Tap targets accesibles — sólo CTAs, no botones-icono */
.btn, .button, a.button,
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Asegurar que botones-icono mantengan su layout original
   (hamburger, search-toggle, cart-btn, drawer-close, etc.) */
.mobile-menu-toggle {
  display: flex !important;
  flex-direction: column !important;
}
@media (min-width: 900px) {
  .mobile-menu-toggle { display: none !important; }
}

/* Selection color coherente */
::selection { background: var(--gold); color: #000; }
::-moz-selection { background: var(--gold); color: #000; }

/* Focus visible coherente */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Smooth transitions globales */
a, button { transition: color var(--fast), background var(--fast), border-color var(--fast), transform var(--fast); }

/* Section header — unificado */
.section-header { text-align: center; max-width: 580px; margin-left: auto; margin-right: auto; }

/* Section tag — espaciado mejorado */
.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Section title — peso y tracking unificados */
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

/* Card hover unification — feel coherente */
.category-card, ul.products li.product, .testimonial-card, .step-item, .feature-item {
  transition: transform var(--mid), border-color var(--mid), box-shadow var(--mid) !important;
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL — animaciones de entrada
═══════════════════════════════════════════════ */
.mv-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),
              transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.mv-reveal.mv-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Variantes de delay para stagger */
.mv-reveal-d1 { transition-delay: 0.08s; }
.mv-reveal-d2 { transition-delay: 0.16s; }
.mv-reveal-d3 { transition-delay: 0.24s; }
.mv-reveal-d4 { transition-delay: 0.32s; }

/* ═══════════════════════════════════════════════
   MOBILE — mejoras de touch targets y carrito
═══════════════════════════════════════════════ */
@media (max-width: 899px) {
  /* Targets táctiles mínimos 44px para header icons */
  .header-cart-btn,
  .header-search-toggle {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
  }

  /* Cart page: tabla responsive */
  .woocommerce-cart table.shop_table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Checkout: dos columnas → una columna */
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review {
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
  .woocommerce-checkout #order_review_heading {
    margin-top: 32px;
  }

  /* Sticky cart: más compacto */
  #sticky-cart-bar .sticky-cart-product { gap: 10px; }
  #sticky-cart-bar .sticky-cart-img { width: 36px; height: 36px; border-radius: 6px; }
}

/* ═══════════════════════════════════════════════
   ANIMACIONES CSS — hover mejorado
═══════════════════════════════════════════════ */
/* Botones primarios: sutil scale */
.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
}
.btn-outline:hover {
  transform: translateY(-1px);
}

/* Category cards: overlay de brillo en hover */
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,168,76,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--mid);
  pointer-events: none;
}
.category-card:hover::after { opacity: 1; }

/* Feature items: borde dorado en hover */
.feature-item:hover {
  border-color: var(--gold-border) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* Hero — fade in al cargar */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s both; }
.hero h1      { animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both; }
.hero-desc    { animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.32s both; }
.hero-actions { animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.42s both; }
.hero-stats   { animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.52s both; }

/* WhatsApp float — match con el resto */
.wa-btn {
  min-height: 48px;
  padding: 13px 22px !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Toast — bottom más alto en mobile para no chocar con WA */
@media (max-width: 640px) {
  .mv-toast { bottom: 90px; right: 16px; left: 16px; max-width: none; }
}

/* Cookie notice — mejor mobile */
@media (max-width: 640px) {
  #cookie-notice {
    bottom: 16px !important;
    width: calc(100% - 32px) !important;
    padding: 14px 16px !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .cookie-accept { width: 100% !important; padding: 12px !important; }
}

/* Account pages — unify */
.woocommerce-MyAccount-content {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
  }
}

/* Login forms */
.woocommerce-form-login, .woocommerce-form-register {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  max-width: 460px;
  margin: 0 auto;
}
.woocommerce-form-login p, .woocommerce-form-register p { margin-bottom: 16px; }

/* Shop page header — unificar con hero pequeño */
.woocommerce-products-header {
  text-align: center;
  padding: 40px 0 28px;
}
.woocommerce-products-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 8px;
}

/* Result count + ordering — alinear */
.woocommerce-result-count + .woocommerce-ordering,
.woocommerce-notices-wrapper + form .woocommerce-ordering {
  margin-bottom: 24px;
}
.woocommerce .woocommerce-ordering { margin-bottom: 24px !important; }
.woocommerce .woocommerce-result-count { margin-bottom: 24px !important; }

@media (max-width: 640px) {
  .woocommerce .woocommerce-ordering,
  .woocommerce .woocommerce-result-count {
    width: 100% !important;
    float: none !important;
    margin-bottom: 12px !important;
    text-align: center;
  }
  .woocommerce-ordering select { width: 100% !important; }
}

/* Quantity (cantidad) — diseño coherente con flechas */
.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-raised);
}
.quantity .qty {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  width: 56px !important;
  padding: 10px 0 !important;
  min-height: 42px;
  -moz-appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Cart page heading */
.woocommerce-cart h1, .woocommerce-checkout h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  text-align: center;
  margin: 32px 0 24px;
}

/* Cart collateral spacing */
.cart-collaterals { margin-top: 12px; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100% !important; max-width: 460px; margin-left: auto; }

/* Empty cart state */
.cart-empty {
  text-align: center;
  font-size: 1.1rem;
  padding: 40px 20px !important;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  color: var(--text-secondary);
}
.return-to-shop { text-align: center; margin-top: 20px; }
.return-to-shop .button { display: inline-flex !important; }

/* WC Notices — más visibles */
.woocommerce-message, .woocommerce-info {
  padding: 16px 20px !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
.woocommerce-error {
  padding: 16px 20px !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  margin-bottom: 20px !important;
  display: block !important;
}
.woocommerce-error li {
  padding: 4px 0;
}
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a {
  text-decoration: underline;
}

/* Hero stats: divider más fino en mobile */
.hero-stats > div { text-align: center; }
@media (min-width: 1024px) { .hero-stats > div { text-align: left; } }

/* Container — un poco más holgado lateral en pantallas medianas */
@media (min-width: 480px) and (max-width: 1023px) {
  .mv-container { padding: 0 20px; }
}

/* Buttons en hero — más altura/peso */
.hero .btn { padding: 14px 28px; font-size: 0.85rem; }

/* Mejorar legibilidad de iconos emoji */
.feature-icon, .step-number, .testimonial-avatar,
.search-overlay button, .drawer-close, .quick-view-close {
  line-height: 1;
}

/* Cookie text - prevenir overflow */
.cookie-text { word-break: break-word; }

/* Sticky cart — más prolijo en mobile */
@media (max-width: 600px) {
  #sticky-cart-bar { padding: 12px 16px !important; }
  .sticky-cart-inner { gap: 12px !important; }
  .sticky-qty { width: 56px !important; padding: 8px !important; }
  #sticky-cart-bar .btn { padding: 11px 18px !important; font-size: 0.75rem !important; }
}

/* Drawer cart count — verificar visibilidad */
.drawer-cart-count.empty { display: none; }

/* Page hero (templates) — unificar gradiente */
.mv-container > h1:first-child { font-family: var(--font-display); }

/* Productos individuales: extracto descripción */
.woocommerce-product-details__short-description p,
.woocommerce-Tabs-panel p {
  margin-bottom: 12px;
  color: var(--text-secondary);
}
.woocommerce-Tabs-panel p:last-child { margin-bottom: 0; }
.woocommerce-Tabs-panel h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 14px;
  color: var(--text-primary);
}

/* Tabs en mobile — scroll horizontal */
@media (max-width: 640px) {
  .woocommerce-tabs .tabs {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .woocommerce-tabs .tabs::-webkit-scrollbar { display: none; }
  .woocommerce-tabs .tabs li { flex-shrink: 0; list-style: none; }
  .woocommerce-tabs .tabs li a { padding: 12px 16px !important; font-size: 0.78rem !important; }
}

/* Reviews */
.woocommerce-Reviews .commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.woocommerce-Reviews .commentlist li {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  margin-bottom: 12px;
  list-style: none;
}
.woocommerce-Reviews .star-rating { color: var(--gold); }

/* Pages with linear gradient hero */
[style*="linear-gradient(180deg,#0d0d0d 0%,#080808 100%)"] {
  text-align: center;
}
@media (max-width: 640px) {
  [style*="linear-gradient(180deg,#0d0d0d"] {
    padding: 56px 0 40px !important;
  }
  [style*="linear-gradient(180deg,#0d0d0d"] h1 {
    font-size: clamp(1.8rem, 7vw, 3rem) !important;
  }
}

/* Page contact / FAQ / about / shipping — center on mobile */
@media (max-width: 640px) {
  .mv-section .mv-container > div[style*="max-width:860px"],
  .mv-section .mv-container > div[style*="max-width:800px"],
  .mv-section .mv-container > div[style*="max-width:700px"] {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

/* ═══════════════════════════════════════════════
   FAQ ACCORDION (native <details>/<summary>)
═══════════════════════════════════════════════ */
details.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-surface);
  transition: border-color 0.2s;
}
details.faq-item[open] {
  border-color: var(--gold-border);
}
details.faq-item > summary.faq-trigger {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
details.faq-item > summary.faq-trigger::-webkit-details-marker { display: none; }
details.faq-item > summary.faq-trigger::marker { content: ''; }
details.faq-item .faq-q {
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  flex: 1;
}
details.faq-item .faq-icon {
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s;
}
details.faq-item[open] .faq-icon { transform: rotate(45deg); }
details.faq-item .faq-body {
  padding: 0 24px 20px;
}
details.faq-item .faq-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.75;
  margin: 0;
}

/* FAQ items mobile */
@media (max-width: 640px) {
  details.faq-item > summary.faq-trigger { padding: 16px 18px; }
  details.faq-item .faq-q { font-size: 0.88rem; }
  details.faq-item .faq-body { padding: 0 18px 16px; }
  details.faq-item .faq-body p { font-size: 0.86rem; }
}

/* Cards genéricos en page templates — borde y radio unificado */
.mv-section [style*="background:var(--bg-surface)"],
.mv-section [style*="background: var(--bg-surface)"] {
  /* permitir override por inline cuando hace falta */
}

/* ═══════════════════════════════════════════════
   AGE GATE (+18)
═══════════════════════════════════════════════ */
html.age-gate-locked, html.age-gate-locked body { overflow: hidden !important; }

#age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5,5,5,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ageGateFadeIn 0.3s ease;
}
#age-gate.age-gate-exit { opacity: 0; transition: opacity 0.3s; pointer-events: none; }

@keyframes ageGateFadeIn { from { opacity: 0; } to { opacity: 1; } }

.age-gate-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}
@media (min-width: 640px) { .age-gate-card { padding: 40px 36px; } }

.age-gate-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 32px rgba(201,168,76,0.35);
}

.age-gate-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 1.9rem);
  margin-bottom: 14px;
  color: var(--text-primary);
}

.age-gate-lead {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.age-gate-lead strong { color: var(--gold); }

.age-gate-warn {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.25);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: #f8a8a8;
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 22px;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
@media (min-width: 480px) { .age-gate-actions { flex-direction: row; } .age-gate-actions .btn { flex: 1; } }
.age-gate-actions .btn { justify-content: center; }

.age-gate-fine {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
  margin: 0;
}
.age-gate-fine a { color: var(--gold); text-decoration: underline; }

/* ═══════════════════════════════════════════════
   THANK-YOU PAGE — Pasos + datos bancarios + upload
═══════════════════════════════════════════════ */
.mv-thankyou-wrap {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 900px) { .mv-thankyou-wrap { gap: 24px; } }

/* Pasos */
.mv-thankyou-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
}
@media (min-width: 768px) {
  .mv-thankyou-steps {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 24px;
    gap: 8px;
  }
}

.mv-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--r-sm);
  position: relative;
}

.mv-step-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.mv-step-text {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
}

.mv-step.done .mv-step-num {
  background: var(--success);
  border-color: var(--success);
  color: #000;
}
.mv-step.done .mv-step-num::before { content: '✓'; font-size: 0.95rem; }
.mv-step.done .mv-step-num { color: transparent; }
.mv-step.done .mv-step-text { color: var(--success); }

.mv-step.active .mv-step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  box-shadow: 0 0 0 4px rgba(201,168,76,0.18);
}
.mv-step.active .mv-step-text { color: var(--gold); font-weight: 700; }

/* Card */
.mv-thankyou-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
@media (min-width: 768px) { .mv-thankyou-card { padding: 28px; } }

.mv-thankyou-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.mv-thankyou-amount {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.mv-thankyou-amount strong {
  color: var(--gold);
  font-size: 1.2rem;
  font-family: var(--font-display);
}

/* Grid bancario */
.mv-bank-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .mv-bank-grid { grid-template-columns: 1fr 1fr; } }

.mv-bank-field {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.mv-bank-label {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mv-bank-value {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.mv-bank-value code {
  background: transparent;
  color: var(--text-primary);
  font-family: 'Menlo', 'Consolas', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-all;
  flex: 1;
  min-width: 0;
}
.mv-copy-btn {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--r-sm);
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
  flex-shrink: 0;
}
.mv-copy-btn:hover { background: var(--gold-light); }
.mv-copy-btn.copied { background: var(--success); color: #000; }

/* Upload */
.mv-upload-help {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.mv-file-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 14px;
}
.mv-file-picker input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.mv-file-picker-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
  border: 2px dashed var(--gold-border);
  color: var(--gold);
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
}
.mv-file-picker:hover .mv-file-picker-text,
.mv-file-picker input:focus + .mv-file-picker-text {
  background: var(--gold-dim);
  border-color: var(--gold);
  border-style: solid;
}
.mv-file-picker-name {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
  word-break: break-word;
}

#mv-comprobante-submit {
  width: 100%;
  justify-content: center;
  margin-bottom: 14px;
}

.mv-upload-status {
  text-align: center;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: var(--r-md);
  display: none;
}
.mv-upload-status:not(:empty) { display: block; }
.mv-upload-status.ok  { background: rgba(74,222,128,0.1);  border: 1px solid rgba(74,222,128,0.25);  color: var(--success); }
.mv-upload-status.err { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.25); color: var(--error); }

.mv-upload-ok {
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  color: var(--success);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 0.92rem;
}
.mv-upload-ok a { color: var(--success); text-decoration: underline; }

.mv-thankyou-or {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 14px 0;
  position: relative;
}
.mv-thankyou-or::before,
.mv-thankyou-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 30px);
  height: 1px;
  background: var(--border);
}
.mv-thankyou-or::before { left: 0; }
.mv-thankyou-or::after  { right: 0; }

/* ═══════════════════════════════════════════════
   HOME — FILAS POR CATEGORÍA
═══════════════════════════════════════════════ */
.mv-cat-row { padding-bottom: 56px; }
@media (min-width: 1024px) { .mv-cat-row { padding-bottom: 72px; } }

.mv-cat-row-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 28px;
}
@media (min-width: 768px) {
  .mv-cat-row-header {
    flex-direction: row;
    align-items: flex-end;
    text-align: left;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
  }
  .mv-cat-row-header .section-title { margin-bottom: 8px; }
  .mv-cat-row-header .section-desc  { font-size: 0.92rem; }
}

.mv-cat-row-header .section-title {
  font-size: clamp(1.4rem, 3.8vw, 2.1rem);
}
.mv-cat-row-header .section-desc {
  max-width: 480px;
  margin: 0 auto;
}
@media (min-width: 768px) { .mv-cat-row-header .section-desc { margin: 0; } }

.mv-cat-row-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  background: var(--gold-dim);
  transition: color var(--fast), background var(--fast), background-color var(--fast), border-color var(--fast), opacity var(--fast), transform var(--fast), box-shadow var(--fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.mv-cat-row-link:hover {
  background: var(--gold);
  color: #000 !important;
  border-color: var(--gold);
  transform: translateY(-1px);
}
.mv-cat-row-link span { transition: transform var(--fast); }
.mv-cat-row-link:hover span { transform: translateX(3px); }

.mv-cat-row-footer {
  text-align: center;
  margin-top: 32px;
}
@media (min-width: 768px) {
  /* En desktop el link superior alcanza, hacemos el footer opcional/sutil */
  .mv-cat-row-footer { display: none; }
}

/* ═══════════════════════════════════════════════
   PRINT STYLES — order confirmation page
═══════════════════════════════════════════════ */
@media print {
  body { background: #fff !important; color: #000 !important; }
  #site-header, #site-footer, #sticky-cart-bar, #whatsapp-float,
  #scroll-top, #age-gate, #cookie-notice, .mv-toast,
  .quick-view-overlay, .search-overlay,
  .mv-minicart-overlay, .mv-minicart-panel { display: none !important; }
  .mv-thankyou-card, .mv-bank-field, .mv-thankyou-wrap {
    border-color: #ccc !important;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .mv-bank-value code { color: #000 !important; background: #f5f5f5 !important; }
  a { color: #000 !important; text-decoration: underline !important; }
  .btn { border: 1px solid #000 !important; color: #000 !important; background: #fff !important; }
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION — respect user OS preference
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .brands-track { animation: none !important; }
  .mv-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mv-visible { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════
   MINI-CARRITO OFFCANVAS
═══════════════════════════════════════════════ */
.mv-minicart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--normal);
}
.mv-minicart-overlay.active { opacity: 1; pointer-events: all; }

.mv-minicart-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(400px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 9210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--normal);
}
.mv-minicart-overlay.active .mv-minicart-panel { transform: translateX(0); }

.mv-minicart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.mv-minicart-header h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.mv-minicart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color var(--fast);
}
.mv-minicart-close:hover { color: var(--text); }

.mv-minicart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.mv-minicart-body .woocommerce-mini-cart { list-style: none; padding: 0; margin: 0; }
.mv-minicart-body .woocommerce-mini-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mv-minicart-body .woocommerce-mini-cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.mv-minicart-body .woocommerce-mini-cart-item .mini_cart_item_name {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.mv-minicart-body .quantity { font-size: 0.8rem; color: var(--text-muted); }
.mv-minicart-body .woocommerce-mini-cart__total {
  padding: 16px 0 0;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
}
.mv-minicart-body .woocommerce-mini-cart__total .amount { color: var(--gold); }
.mv-minicart-body a.remove {
  color: var(--text-muted);
  font-size: 1rem;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.mv-minicart-body a.remove:hover { color: var(--error); }

.mv-minicart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 20px;
  font-size: 0.92rem;
}

.mv-minicart-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mv-minicart-footer .btn { justify-content: center; text-align: center; }

/* ═══════════════════════════════════════════════
   BADGE "SOLO QUEDAN X UNIDADES"
═══════════════════════════════════════════════ */
.mv-low-stock-badge {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0;
}
.mv-low-stock-single {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0 0 10px;
}
.mv-low-stock-single strong { color: var(--text-secondary); font-weight: 600; }

/* ═══════════════════════════════════════════════
   FORMULARIO "AVISARME CUANDO VUELVA EL STOCK"
═══════════════════════════════════════════════ */
.mv-notify-form {
  margin: 12px 0 16px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.mv-notify-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.mv-notify-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mv-notify-email {
  flex: 1;
  min-width: 180px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.9rem;
}
.mv-notify-email:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.mv-notify-submit { white-space: nowrap; }
.mv-notify-status {
  font-size: 0.82rem;
  margin-top: 8px;
  min-height: 1.2em;
  color: var(--text-muted);
}
.mv-notify-status.ok  { color: var(--success); }
.mv-notify-status.err { color: var(--error); }

/* ═══════════════════════════════════════════════
   BOTONES COMPARTIR
═══════════════════════════════════════════════ */
.mv-share-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.mv-share-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 4px;
}
.mv-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--fast), transform var(--fast);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.mv-share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.mv-share-wa { border-color: rgba(37,211,102,0.4); color: #25d366; background: rgba(37,211,102,0.08); }
.mv-share-copy { border-color: var(--border); }
.mv-share-copy.copied { color: var(--success); border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.08); }

/* ═══════════════════════════════════════════════
   TABLA ESPECIFICACIONES TÉCNICAS
═══════════════════════════════════════════════ */
.mv-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.mv-specs-table th,
.mv-specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.mv-specs-table th {
  width: 38%;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
}
.mv-specs-table td { color: var(--text); }
.mv-specs-table tr:last-child th,
.mv-specs-table tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════
   REVIEWS DE PRODUCTOS — WooCommerce
═══════════════════════════════════════════════ */
#reviews { margin-top: 48px; }
#reviews h2 { font-size: 1.4rem; margin-bottom: 24px; }
.woocommerce-Reviews-title { font-size: 1.3rem; font-weight: 700; }

.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list li { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-list li:last-child { border-bottom: none; }

.comment-list .comment_container {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.comment-list .avatar { border-radius: 50%; width: 44px; height: 44px; flex-shrink: 0; }
.comment-list .comment-text { flex: 1; }
.comment-list .woocommerce-review__author {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}
.comment-list .woocommerce-review__dash,
.comment-list .woocommerce-review__published-date {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.comment-list .star-rating { color: var(--gold); margin: 4px 0 8px; }
.comment-list .star-rating::before { color: rgba(255,255,255,0.1); }
.comment-list .description { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }

#review_form_wrapper { margin-top: 32px; }
#review_form_wrapper h3 { font-size: 1.1rem; margin-bottom: 20px; }
.comment-form-rating { margin-bottom: 16px; }
.comment-form-rating label { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 6px; }
.stars a { color: var(--text-muted); font-size: 1.4rem; text-decoration: none; transition: color var(--fast); }
.stars a:hover, .stars a.active, .stars .selected ~ a { color: var(--gold); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.92rem;
  font-family: inherit;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.comment-form textarea { min-height: 100px; resize: vertical; }
.comment-form .form-submit input[type="submit"] {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity var(--fast);
}
.comment-form .form-submit input[type="submit"]:hover { opacity: 0.85; }

/* ═══════════════════════════════════════════════
   FILTROS SIDEBAR — WooCommerce
═══════════════════════════════════════════════ */
.woocommerce-widget-layered-nav-list,
.product-categories,
.woocommerce-widget-layered-nav-list ul { list-style: none; padding: 0; margin: 0; }
.widget_price_filter,
.widget_product_categories,
.widget_layered_nav,
.widget_rating_filter {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 16px;
  margin-bottom: 20px;
}
.widget_price_filter .widget-title,
.widget_product_categories .widget-title,
.widget_layered_nav .widget-title,
.widget_rating_filter .widget-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.widget_product_categories .product-categories li,
.woocommerce-widget-layered-nav-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
}
.widget_product_categories .product-categories li:last-child,
.woocommerce-widget-layered-nav-list li:last-child { border-bottom: none; }
.widget_product_categories .product-categories a,
.woocommerce-widget-layered-nav-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--fast);
}
.widget_product_categories .product-categories a:hover,
.woocommerce-widget-layered-nav-list a:hover { color: var(--gold); }
.widget_product_categories .product-categories .count,
.woocommerce-widget-layered-nav-list .count {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 4px;
}
/* Price filter slider */
.price_slider_wrapper { padding-top: 8px; }
.price_slider { height: 4px; background: var(--border); border-radius: 2px; margin-bottom: 14px; }
.price_slider .ui-slider-range { background: var(--gold); }
.price_slider .ui-slider-handle {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--gold);
  cursor: pointer;
  top: -6px;
}
.price_slider_amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.price_slider_amount .button {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--fast);
}
.price_slider_amount .button:hover { opacity: 0.85; }

/* Search history chip list */
.mv-search-history {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 0;
}
.mv-search-history-label {
  width: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.mv-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--fast), color var(--fast);
}
.mv-search-chip:hover { background: var(--gold-dim); color: var(--gold); border-color: var(--gold-border); }

/* Category badge in live search results */
.search-result-badge {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  margin-bottom: 2px;
  line-height: 1.4;
}
.search-result-cat { background: rgba(255,255,255,0.02); }
