/* ============================================================
   COMEX ROJO — SISTEMA DE DISEÑO
   Paleta: Rojo (#C0111F) + Vino (#7B0D1E) + Oscuros
   ============================================================ */

/* ============================================================
   PANTALLA DE CARGA — PINTURAS ROMAYRO
   ============================================================ */

/* Bloquea scroll mientras carga */
body.loading {
  overflow: hidden;
}

.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #560913 0%, #7B0D1E 40%, #C0111F 80%, #E8303A 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

/* Estado oculto al finalizar */
.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Patrón de fondo sutil */
.loader-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(255,255,255,0.02) 30px,
      rgba(255,255,255,0.02) 32px
    );
  pointer-events: none;
}

/* Contenido centrado */
.loader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: loaderFadeIn 0.5s ease both;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo superior */
.loader-logo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.loader-logo-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  animation: loaderSpin 8s linear infinite;
  box-shadow: 0 0 32px rgba(255,224,102,0.25);
}

.loader-logo-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes loaderSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.loader-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.loader-brand {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.loader-sub {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Slogan */
.loader-slogan {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
  text-align: center;
  max-width: 340px;
}

/* Barra de progreso */
.loader-bar-wrap {
  width: 320px;
}

.loader-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFE066 0%, #F5A623 50%, #FFE066 100%);
  background-size: 200% 100%;
  border-radius: 999px;
  transition: width 0.08s linear;
  animation: loaderShimmer 1.4s linear infinite;
  box-shadow: 0 0 10px rgba(255,224,102,0.5);
}

@keyframes loaderShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loader-percent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loader-percent-label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.loader-percent-num {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFE066;
  letter-spacing: -0.01em;
  min-width: 50px;
  text-align: right;
}

/* Puntos de carga */
.loader-dots {
  display: flex;
  gap: 8px;
}

.ldot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: ldotBounce 1.2s ease-in-out infinite;
}

.ldot:nth-child(1) { animation-delay: 0s; }
.ldot:nth-child(2) { animation-delay: 0.2s; }
.ldot:nth-child(3) { animation-delay: 0.4s; }

@keyframes ldotBounce {
  0%, 60%, 100% { transform: translateY(0);   opacity: 0.4; }
  30%            { transform: translateY(-8px); opacity: 1;   background: #FFE066; }
}

/* --- VARIABLES --- */
:root {
  --rojo:         #C0111F;
  --rojo-oscuro:  #9C0E19;
  --vino:         #7B0D1E;
  --vino-oscuro:  #560913;
  --rojo-claro:   #E8303A;
  --crema:        #FFF8F8;
  --gris-100:     #F5F5F5;
  --gris-200:     #EBEBEB;
  --gris-400:     #BBBBBB;
  --gris-600:     #757575;
  --gris-900:     #1A1A1A;
  --blanco:       #FFFFFF;
  --negro:        #0D0D0D;

  --sombra-sm:    0 2px 8px rgba(120,0,15,0.10);
  --sombra-md:    0 6px 24px rgba(120,0,15,0.14);
  --sombra-lg:    0 16px 48px rgba(120,0,15,0.18);

  --radio-sm:     8px;
  --radio-md:     14px;
  --radio-lg:     22px;
  --radio-pill:   999px;

  --transition:   0.22s cubic-bezier(.4,0,.2,1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--gris-900);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--vino-oscuro);
  color: rgba(255,255,255,0.85);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 0;
}

.location-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.location-link:hover { color: var(--blanco); }

/* ============================================================
   HEADER UNIFICADO — ESTILO IMPERCAUCHO
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1.5px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* Efecto glassmorphism al hacer scroll */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 4px 30px rgba(0,0,0,0.10);
  border-bottom-color: rgba(192,17,31,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  height: 68px;
}

/* LOGO — izquierda */
.logo {
  flex-shrink: 0;
  margin-right: 28px;
}
.logo a {
  display: flex;
  flex-direction: column;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}
.logo-text {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--rojo) 0%, var(--vino) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gris-600);
  -webkit-text-fill-color: var(--gris-600);
  background: none;
  text-transform: uppercase;
  margin-top: 2px;
}

/* NAV — centro */
.main-nav {
  flex: 1;
  background: none;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  height: 100%;
  padding: 0;
  margin: 0;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--gris-900);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 11px;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.nav-item > a:hover {
  color: var(--rojo);
  background: rgba(192,17,31,0.06);
}

/* Elemento activo con borde inferior estilo Impercaucho */
.nav-item > a::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rojo);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-item {
  position: relative;
  flex-shrink: 0;
}
.nav-item > a:hover::after {
  transform: scaleX(1);
}

.nav-promo > a {
  color: var(--rojo) !important;
  font-weight: 800;
  border: 1.5px solid var(--rojo);
  border-radius: 20px;
  padding: 6px 14px;
}
.nav-promo > a:hover {
  background: var(--rojo) !important;
  color: white !important;
}
.nav-promo > a::after { display: none; }

/* REDES SOCIALES + BUSCADOR — derecha */
.header-social {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 16px;
}

.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gris-900);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.social-icon-btn svg {
  width: 16px;
  height: 16px;
}
.social-icon-btn:hover {
  transform: translateY(-2px);
}
#social-facebook:hover { background: #1877F2; }
#social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
#social-tiktok:hover    { background: #000000; }

/* Buscador compacto */
.header-search-compact {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gris-200);
  border-radius: var(--radio-pill);
  overflow: hidden;
  background: var(--gris-100);
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-left: 6px;
}
.header-search-compact:focus-within {
  border-color: var(--rojo);
  box-shadow: 0 0 0 3px rgba(192,17,31,0.1);
  background: white;
}
.header-search-compact input {
  border: none;
  outline: none;
  background: transparent;
  padding: 7px 12px;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--gris-900);
  width: 130px;
}
.header-search-compact input::placeholder { color: var(--gris-400); }
.search-compact-btn {
  background: none;
  border: none;
  padding: 0 10px;
  color: var(--rojo);
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 100%;
}
.search-compact-btn:hover { color: var(--vino); }

/* Carrito en header */
.action-icon {
  position: relative;
  color: var(--gris-900);
  display: flex;
  align-items: center;
  margin-left: 6px;
  text-decoration: none;
}
.action-icon:hover { color: var(--rojo); }

.cart-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  background: var(--rojo);
  color: white;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Espacio para compensar header fijo */
body { padding-top: 68px; }



/* ============================================================
   HERO SECTION & WHOLESALE FORM
   ============================================================ */
.hero-section {
  background: linear-gradient(120deg, var(--vino-oscuro) 0%, #800A15 45%, var(--rojo) 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='28' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='2'/%3E%3C/svg%3E") center/60px repeat;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.hero-content { flex: 1; max-width: 520px; }

.hero-badge {
  display: inline-block;
  background: rgba(255,224,102,0.18);
  border: 1.5px solid #FFE066;
  color: #FFE066;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radio-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.highlight-text {
  color: #FFE066;
  background: linear-gradient(135deg, #FFE066 0%, #FFC107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  font-weight: 400;
  line-height: 1.5;
}

/* Trust Badges */
.hero-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 16px;
  border-radius: var(--radio-md);
  backdrop-filter: blur(4px);
}
.trust-icon {
  font-size: 1.4rem;
}
.trust-item strong {
  display: block;
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
}
.trust-item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.76rem;
  margin: 0;
}

/* FORM AREA */
.hero-form-area {
  flex: 1;
  max-width: 520px;
  display: flex;
  justify-content: center;
}

.wholesale-card-form {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 28px 30px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  border: 3px solid rgba(255,224,102,0.6);
  width: 100%;
  position: relative;
}

.wholesale-card-form::before {
  content: 'MAYOREO DIRECTO';
  position: absolute;
  top: -14px;
  right: 24px;
  background: #FFE066;
  color: var(--vino-oscuro);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radio-pill);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.form-header {
  margin-bottom: 20px;
  text-align: left;
}
.form-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--vino-oscuro);
  line-height: 1.25;
  margin-bottom: 4px;
}
.form-header p {
  font-size: 0.8rem;
  color: var(--gris-600);
}

/* Form inputs & controls */
.wholesale-card-form .form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wholesale-card-form .form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wholesale-card-form label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gris-900);
}

.wholesale-card-form input,
.wholesale-card-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gris-200);
  border-radius: var(--radio-sm);
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--gris-900);
  background: var(--gris-100);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.wholesale-card-form input:focus,
.wholesale-card-form select:focus {
  border-color: var(--rojo);
  background: white;
  box-shadow: 0 0 0 3px rgba(192,17,31,0.12);
}

.btn-submit-wholesale {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--rojo) 0%, var(--vino) 100%);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radio-pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 6px 20px rgba(192,17,31,0.35);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-submit-wholesale:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(192,17,31,0.48);
  background: linear-gradient(135deg, var(--rojo-claro) 0%, var(--rojo) 100%);
}

.form-footnote {
  font-size: 0.7rem;
  color: var(--gris-600);
  text-align: center;
  margin-top: 4px;
}

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.img-placeholder {
  background: linear-gradient(135deg, var(--gris-200) 0%, #DCDCDC 100%);
  border-radius: var(--radio-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gris-600);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 2px dashed var(--gris-400);
  line-height: 1.5;
}

.hero-img-placeholder {
  width: 440px;
  height: 340px;
  border-radius: var(--radio-lg);
  background: rgba(255,255,255,0.12);
  border: 2px dashed rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.55);
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radio-md);
  margin-bottom: 14px;
}

.editorial-img {
  width: 100%;
  height: 190px;
  border-radius: var(--radio-sm) var(--radio-sm) 0 0;
  border: none;
  border-bottom: 2px dashed var(--gris-400);
}

.galeria-img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
}

.article-img {
  width: 100%;
  height: 200px;
  border-radius: var(--radio-sm) var(--radio-sm) 0 0;
  border: none;
}

.avatar-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px dashed rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  font-size: 0.7rem;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content { padding-top: 0; }

.section { padding: 60px 0; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gris-900);
  letter-spacing: -0.02em;
}

.ver-mas-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rojo);
}
.ver-mas-link:hover { color: var(--vino); }

.section-subtitle {
  font-size: 0.85rem;
  color: var(--gris-600);
  margin-top: 4px;
}

.carousel-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gris-200);
  background: white;
  color: var(--gris-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.carousel-arrow:hover {
  background: var(--rojo);
  color: white;
  border-color: var(--rojo);
  box-shadow: 0 4px 14px rgba(192,17,31,0.3);
  transform: translateY(-2px);
}

.carousel-arrow:active {
  transform: translateY(0);
}

/* ============================================================
   PRODUCTS CARRUSEL TRACK
   ============================================================ */
.products-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 4px 20px 4px;
}

.products-slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.products-slider::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--blanco);
  border-radius: var(--radio-md);
  box-shadow: var(--sombra-sm);
  overflow: hidden;
  padding: 18px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1.5px solid var(--gris-200);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-md);
  border-color: var(--rojo);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rojo);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radio-pill);
  letter-spacing: 0.04em;
  z-index: 2;
}

.product-badge.badge-destacado {
  background: linear-gradient(135deg, #FFE066 0%, #F5A623 100%);
  color: #3a2500;
  box-shadow: 0 2px 8px rgba(245,166,35,0.4);
}

.product-badge.badge-nuevo {
  background: #25D366;
  color: white;
}

/* Swatches */
.product-swatches {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition);
}

.swatch:hover,
.swatch.active {
  transform: scale(1.35);
  box-shadow: 0 0 0 2px rgba(192,17,31,0.4);
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gris-900);
  margin-bottom: 4px;
}

.product-desc {
  font-size: 0.78rem;
  color: var(--gris-600);
  margin-bottom: 12px;
  line-height: 1.45;
}

.product-price { margin-bottom: 14px; }

.price-old {
  font-size: 0.78rem;
  color: var(--gris-400);
  text-decoration: line-through;
  display: block;
}
.price-new {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--rojo);
}

.btn-ver-detalles {
  display: block;
  text-align: center;
  background: var(--rojo);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 10px;
  border-radius: var(--radio-pill);
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition);
}
.btn-ver-detalles:hover {
  background: var(--vino);
  transform: translateY(-1px);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gris-300);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active {
  background: var(--rojo);
  transform: scale(1.3);
}

/* ============================================================
   EDITORIAL CARDS
   ============================================================ */
.editorial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.editorial-card {
  background: var(--blanco);
  border-radius: var(--radio-md);
  box-shadow: var(--sombra-sm);
  overflow: hidden;
  border: 1.5px solid var(--gris-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.editorial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-md);
}

.editorial-content {
  padding: 20px;
}

.editorial-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rojo);
  background: rgba(192,17,31,0.08);
  padding: 3px 10px;
  border-radius: var(--radio-pill);
  margin-bottom: 10px;
}

.editorial-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gris-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.editorial-content p {
  font-size: 0.82rem;
  color: var(--gris-600);
  margin-bottom: 14px;
}

.editorial-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rojo);
}
.editorial-link:hover { color: var(--vino); }

/* ============================================================
   IMPER-TIRE® PROMO BANNER
   ============================================================ */
.imper-tire-banner {
  position: relative;
  background: linear-gradient(110deg, #0a0a0a 0%, #1c0305 35%, #7B0D1E 65%, #C0111F 100%);
  overflow: hidden;
  margin: 0;
}

/* Background tyre-tread texture overlay */
.it-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 2px,
      transparent 2px,
      transparent 20px
    );
  pointer-events: none;
}

.it-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
}

/* --- LEFT COLUMN --- */
.it-left { color: white; }

.it-distribuidor-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radio-pill);
  margin-bottom: 16px;
}

.it-headline {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.it-brand {
  color: #FFE066;
  display: inline;
}

.it-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  margin-bottom: 22px;
}

/* Garantía pills */
.it-garantia-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.it-garantia-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--radio-md);
  line-height: 1.2;
  min-width: 100px;
}
.it-garantia-pill.gold {
  background: linear-gradient(135deg, #C9A227, #F5D060);
  color: #3a2500;
}
.it-garantia-pill.silver {
  background: linear-gradient(135deg, #8a8a8a, #c8c8c8);
  color: #1a1a1a;
}
.it-garantia-pill strong {
  font-size: 1.15rem;
  font-weight: 900;
}
.it-garantia-pill span {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* CTA buttons */
.it-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.it-cta-call {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 13px 24px;
  border-radius: var(--radio-pill);
  width: fit-content;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.it-cta-call:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}

.it-cta-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--rojo);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 13px 24px;
  border-radius: var(--radio-pill);
  width: fit-content;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.it-cta-whatsapp:hover {
  background: var(--crema);
  transform: translateY(-2px);
}

/* --- CENTER: Product --- */
.it-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.it-product-wrap {
  position: relative;
}

.it-product-img {
  width: 280px;
  height: 310px;
  border-radius: var(--radio-lg);
  background: rgba(255,255,255,0.07);
  border: 2px dashed rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
}

/* Badge "5 AÑOS GARANTÍA" */
.it-resist-badge {
  position: absolute;
  top: -18px;
  right: -18px;
  background: linear-gradient(135deg, #FFE066, #F5A623);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(245,166,35,0.5);
  text-align: center;
  line-height: 1;
  border: 3px solid white;
}
.it-resist-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: #3a2500;
  display: block;
  line-height: 1;
}
.it-resist-label {
  font-size: 0.45rem;
  font-weight: 800;
  color: #3a2500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* --- RIGHT COLUMN --- */
.it-right { color: white; }

.it-descuento-box {
  background: #FFE066;
  color: var(--vino-oscuro);
  border-radius: var(--radio-md);
  padding: 14px 20px;
  text-align: center;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(255,224,102,0.3);
}
.it-descuento-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.it-descuento-num {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--rojo);
}
.it-descuento-sub {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.it-beneficios h3 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFE066;
  margin-bottom: 10px;
}
.it-beneficios ul { list-style: none; }
.it-beneficios ul li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
  font-weight: 500;
}

.it-colores {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.it-color-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radio-pill);
  letter-spacing: 0.06em;
}
.it-color-chip.white {
  background: white;
  color: var(--gris-900);
  border: 2px solid rgba(255,255,255,0.6);
}
.it-color-chip.red {
  background: var(--rojo-claro);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

/* SLOGAN BAR */
.it-slogan-bar {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 14px 24px;
  position: relative;
  z-index: 1;
}
.it-slogan-bar p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  letter-spacing: 0.02em;
}
.it-slogan-bar strong { color: #FFE066; font-style: normal; }

/* WhatsApp green badge */
.app-badge-green {
  background: #25D366 !important;
  border-color: #128C7E !important;
}
.app-badge-green:hover {
  background: #128C7E !important;
}

/* ============================================================
   GALERÍA
   ============================================================ */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.galeria-card {
  position: relative;
  border-radius: var(--radio-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.galeria-card .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.galeria-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(92,9,19,0.85) 0%, transparent 100%);
  padding: 18px;
  transform: translateY(8px);
  transition: transform var(--transition);
}
.galeria-card:hover .galeria-overlay { transform: translateY(0); }

.galeria-color-tag {
  font-size: 0.88rem;
  font-weight: 800;
  color: white;
  display: block;
}

.galeria-overlay p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ============================================================
   TABS + ARTÍCULOS
   ============================================================ */
.section-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gris-200);
  margin-bottom: 32px;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gris-600);
  padding: 14px 24px;
  cursor: pointer;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  letter-spacing: 0.01em;
}
.tab-btn.active {
  color: var(--rojo);
  border-bottom-color: var(--rojo);
}
.tab-btn:hover:not(.active) { color: var(--gris-900); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card {
  background: var(--blanco);
  border-radius: var(--radio-md);
  box-shadow: var(--sombra-sm);
  overflow: hidden;
  border: 1.5px solid var(--gris-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-md);
}

.article-body { padding: 18px; }

.article-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vino);
  background: rgba(123,13,30,0.07);
  padding: 3px 10px;
  border-radius: var(--radio-pill);
  margin-bottom: 10px;
}

.article-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gris-900);
  margin-bottom: 8px;
  line-height: 1.3;
}
.article-body p {
  font-size: 0.8rem;
  color: var(--gris-600);
  margin-bottom: 14px;
}

.article-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rojo);
}
.article-link:hover { color: var(--vino); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--gris-900); color: rgba(255,255,255,0.75); }

.footer-main { padding: 56px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--rojo-claro); }

.footer-col p {
  font-size: 0.82rem;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
}

/* APP BADGES */
.app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radio-sm);
  transition: background var(--transition), border-color var(--transition);
}
.app-badge:hover {
  background: rgba(192,17,31,0.25);
  border-color: var(--rojo);
}

/* SOCIAL */
.social-links {
  display: flex;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-icon:hover {
  background: var(--rojo);
  color: white;
  transform: translateY(-2px);
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

.ppg-brand {
  font-weight: 900;
  color: white;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-legal a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--rojo-claro); }

.footer-payments {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-badge,
.trust-badge {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.8);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.trust-badge {
  background: rgba(192,17,31,0.25);
  border: 1px solid rgba(192,17,31,0.4);
  color: rgba(255,200,200,0.9);
}

@media (max-width: 1100px) {
  .products-slider { grid-template-columns: repeat(3, 1fr); }
  .it-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .it-center { display: flex; justify-content: center; margin: 20px 0; }
  .it-headline { font-size: 2.2rem; }
  .it-features { align-items: center; }
}

@media (max-width: 900px) {
  .site-header { position: relative; }
  body { padding-top: 0; }
  .header-inner { flex-wrap: wrap; gap: 10px; justify-content: center; height: auto; padding: 15px 0; }
  .logo { margin-right: 0; }
  .main-nav { width: 100%; }
  .nav-links { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 5px; justify-content: flex-start; }
  .header-social { display: none; } /* Ocultar iconos sociales arriba para ahorrar espacio, ya están en el footer */
  .search-bar { order: 3; flex: 1 1 100%; }
  .footer-grid-new { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.2rem; }
  .products-slider { grid-template-columns: repeat(2, 1fr); }
  .articles-grid,
  .editorial-cards,
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-title { font-size: 1.8rem; }
  .hero-img-placeholder { width: 100%; height: auto; aspect-ratio: 16/9; }
  .products-slider { grid-template-columns: 1fr; }
  .articles-grid,
  .editorial-cards,
  .galeria-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 15px; }
  .it-inner { padding-top: 30px; padding-bottom: 30px; }
  .it-headline { font-size: 1.6rem; }
  .it-garantia-row { flex-direction: column; align-items: center; gap: 10px; }
  .it-cta-row { flex-direction: column; align-items: center; width: 100%; }
  .it-cta-row .btn-primary, .it-cta-row .btn-secondary { width: 100%; text-align: center; }
  .it-product-img { width: 180px; height: auto; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeSlideUp 0.7s cubic-bezier(.4,0,.2,1) both;
}
.hero-image-area {
  animation: fadeSlideUp 0.9s cubic-bezier(.4,0,.2,1) 0.15s both;
}

/* ============================================================
   BOTONES FLOTANTES DE CONTACTO RÁPIDO
   ============================================================ */

/* Grupo contenedor — esquina inferior derecha */
.floating-cta-group {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 9999;
}

/* Etiqueta de invitación */
.floating-cta-label {
  background: rgba(0,0,0,0.75);
  color: white;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radio-pill);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  animation: floatIn 0.6s ease 1.5s both;
  pointer-events: none;
}

/* Base de cada botón flotante */
.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radio-pill);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: floatIn 0.5s cubic-bezier(.34,1.56,.64,1) both;
  cursor: pointer;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.04);
}

.floating-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Icono SVG */
.fab-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Texto del botón */
.fab-text {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ---- WhatsApp ---- */
.floating-btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  animation-delay: 0.3s;
}

.floating-btn-whatsapp:hover {
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}

/* Pulso animado en el botón de WhatsApp */
.fab-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: var(--radio-pill);
  background: rgba(37,211,102,0.4);
  animation: fabPulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes fabPulse {
  0%   { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  70%  { opacity: 0;   transform: translate(-50%, -50%) scale(1.6); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(1.6); }
}

/* ---- Llamar ---- */
.floating-btn-call {
  background: linear-gradient(135deg, var(--rojo) 0%, var(--vino-oscuro) 100%);
  box-shadow: 0 6px 24px rgba(192,17,31,0.45);
  animation-delay: 0.15s;
}

.floating-btn-call:hover {
  box-shadow: 0 10px 32px rgba(192,17,31,0.6);
}

/* Entrada animada */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* Responsive: en móvil solo muestra iconos */
@media (max-width: 480px) {
  .floating-btn { padding: 14px; border-radius: 50%; }
  .fab-text, .floating-cta-label { display: none; }
  .floating-cta-group { bottom: 18px; right: 14px; gap: 10px; }
}

/* ============================================================
   TIENDA EN LÍNEA
   ============================================================ */
.tienda-section {
  background: #f7f7f7;
  padding: 72px 0 80px;
}

.tienda-header {
  text-align: center;
  margin-bottom: 40px;
}

.tienda-platform-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.platform-logo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: white;
  border-radius: 12px;
  border: 2px solid #e8e8e8;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  min-width: 160px;
  min-height: 64px;
}
.platform-logo-btn:hover {
  border-color: #C0111F;
  box-shadow: 0 4px 16px rgba(192,17,31,0.12);
  transform: translateY(-3px);
}
.platform-logo-btn img { max-height: 36px; width: auto; }
.meli-text {
  font-size: 1.3rem;
  font-weight: 900;
  color: #3483FA;
}

.tienda-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.tienda-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 2px solid transparent;
}
.tienda-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.tienda-meli:hover { border-color: #FFE600; }
.tienda-amazon:hover { border-color: #FF9900; }

.tienda-card-platform {
  padding: 10px 16px 6px;
}

.platform-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
}
.meli-tag  { background: #FFE600; color: #333318; }
.amazon-tag { background: #FF9900; color: #1a1a1a; }

.tienda-card-img {
  width: 100%;
  overflow: hidden;
}
.tienda-card-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.tienda-card-info {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.tienda-brand {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--vino);
  text-transform: uppercase;
}

.tienda-card-info h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gris-900);
  margin: 0;
  line-height: 1.3;
}

.tienda-card-info p {
  font-size: 0.8rem;
  color: var(--gris-600);
  margin: 0;
}

.tienda-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.price-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gris-900);
}
.amazon-price { color: #B12704; }

.price-label {
  font-size: 0.75rem;
  color: var(--gris-500);
  font-weight: 600;
}

.super-precio {
  font-size: 0.7rem;
  font-weight: 900;
  color: #B12704;
  background: #FEECEB;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.tienda-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
}
.meli-full    { background: #E8F5E9; color: #2E7D32; }
.amazon-badge { background: #FFF8E1; color: #E65100; }

/* ============================================================
   BLOG / INFORMACIÓN DEL PRODUCTO
   ============================================================ */
.blog-section {
  background: white;
  padding: 80px 0;
}

.blog-header {
  text-align: center;
  margin-bottom: 48px;
}

.blog-grid-main {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

/* Tarjeta grande de instrucciones */
.blog-card-big {
  background: var(--gris-100);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.blog-card-img-wrap {
  position: relative;
}
.blog-full-img {
  width: 100%;
  display: block;
  border-radius: 20px 20px 0 0;
}
.blog-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--vino);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
}

.blog-card-body {
  padding: 28px 32px 32px;
}
.blog-card-body h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--vino);
  margin-bottom: 8px;
}
.blog-card-body > p {
  color: var(--gris-600);
  margin-bottom: 16px;
}

.instrucciones-list {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.instrucciones-list li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--gris-800);
  line-height: 1.5;
}
.instrucciones-list li::before {
  content: counter(step);
  background: var(--rojo);
  color: white;
  font-weight: 900;
  font-size: 0.75rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.blog-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rojo);
  color: white;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.blog-cta-btn:hover { background: var(--vino); transform: translateY(-2px); }

/* Columna lateral */
.blog-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-mini-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  border: 1px solid var(--gris-200);
}

.blog-mini-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
}
.blog-mini-header.vino    { background: var(--vino); color: white; }
.blog-mini-header.rojo    { background: var(--rojo); color: white; }
.blog-mini-header.warning-red { background: #FFF3E0; color: #E65100; border-bottom: 2px solid #FF9800; }

.blog-mini-header h4 {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0;
}
.blog-mini-header span { font-size: 1.2rem; }

/* Beneficios */
.beneficios-list {
  list-style: none;
  padding: 14px 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.beneficios-list li {
  font-size: 0.82rem;
  color: var(--gris-800);
}

/* Garantía */
.garantia-badges {
  display: flex;
  gap: 12px;
  padding: 4px 18px 18px;
}
.garantia-badge {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.garantia-badge.bg-green { background: #1B5E20; color: white; }
.garantia-badge.bg-blue  { background: #0D47A1; color: white; }
.garantia-badge strong { font-size: 1.1rem; font-weight: 900; }
.garantia-badge span { font-size: 0.65rem; opacity: 0.85; }

/* Herramientas */
.herramientas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px 18px 8px;
}
.herra-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.herra-item span { font-size: 1.5rem; }
.herra-item p { font-size: 0.68rem; color: var(--gris-700); margin: 0; font-weight: 600; }
.herramientas-note {
  padding: 0 18px 14px;
  font-size: 0.75rem;
  color: var(--gris-600);
  line-height: 1.5;
}

/* Advertencias */
.advertencias-list {
  list-style: none;
  padding: 12px 18px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.advertencias-list li {
  font-size: 0.8rem;
  color: var(--gris-900);
  padding: 6px 10px;
  background: #FFF8F0;
  border-radius: 6px;
  border-left: 3px solid #FF9800;
}

/* Usos recomendados */
.usos-section {
  background: linear-gradient(135deg, var(--vino-oscuro), var(--rojo));
  border-radius: 20px;
  padding: 40px 48px;
  color: white;
  text-align: center;
}
.usos-section h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.usos-section > p {
  opacity: 0.85;
  margin-bottom: 28px;
}

.usos-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}
.uso-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  padding: 16px 24px;
  border-radius: 12px;
  min-width: 110px;
  backdrop-filter: blur(6px);
}
.uso-item span { font-size: 2rem; }
.uso-item p { font-size: 0.78rem; font-weight: 700; margin: 0; color: rgba(255,255,255,0.9); }

.slogan-banner {
  margin-top: 8px;
}
.slogan-banner p {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 700;
  margin-bottom: 6px;
}
.slogan-banner span {
  font-size: 0.78rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .tienda-grid { grid-template-columns: 1fr; }
  .blog-grid-main { grid-template-columns: 1fr; }
  .usos-section { padding: 32px 24px; }
}

/* CSS PARA MENÚ HAMBURGUESA MÓVIL */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gris-900);
  cursor: pointer;
  padding: 5px;
}
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column !important;
    align-items: center !important;
    padding: 8px 0 0 !important;
    height: auto !important;
  }
  /* Hamburguesa oculta — se usa menú horizontal deslizable */
  .mobile-menu-btn { display: none !important; }
  .header-social   { display: none !important; }

  /* Nav siempre visible como barra horizontal deslizable */
  .main-nav {
    display: block !important;
    width: 100vw !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    background: #fff !important;
    padding: 6px 16px 10px !important;
    border-top: 1px solid #f0f0f0 !important;
    position: static !important;
    box-shadow: none !important;
    max-height: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .main-nav::-webkit-scrollbar { display: none; }

  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    padding: 0 !important;
    width: max-content !important;
    align-items: center !important;
  }
  .nav-item { width: auto !important; }
  .nav-item > a {
    font-size: 0.85rem !important;
    padding: 4px 0 !important;
    white-space: nowrap !important;
    border-bottom: none !important;
  }
}

