/* =========================================================
   BARRACA OTTO WULFF - VERSION PLANA MINIMAL
   Blanco + recto + bordes minimos
========================================================= */

:root{
  --rojo:#c62828;
  --rojo-oscuro:#9f1f1f;
  --amarillo:#f4c318;
  --amarillo-oscuro:#ddb000;
  --grafito:#1f2329;
  --grafito-2:#2b3138;
  --gris-claro:#eeeeee;
  --gris-fondo:#ffffff;
  --gris-fondo-suave:#f7f7f7;
  --gris-linea:#e9e9e9;
  --gris-linea-fuerte:#dcdcdc;
  --texto:#20242a;
  --texto-suave:#6a6a6a;
  --blanco:#ffffff;
  --verde:#198754;
  --max:1280px;
  --trans:.2s ease;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family: Arial, Helvetica, sans-serif;
  background:var(--gris-fondo);
  color:var(--texto);
  line-height:1.45;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
  transition:var(--trans);
}

ul{
  list-style:none;
}

input, select, textarea, button{
  font-family: Arial, Helvetica, sans-serif;
}

button{
  cursor:pointer;
  border:none;
}

.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

.desktop{
  display: block;
}
.mobile{
  display: none;
}

/* =========================================================
   UTILIDADES
========================================================= */

.section{
  padding:15px 0;
}

.card{
  background:var(--blanco);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 18px;
  font-size:14px;
  font-weight:bold;
  transition:var(--trans);
}

.btn-rojo{
  background:var(--rojo);
  color:var(--blanco);
}

.btn-rojo:hover{
  background:var(--rojo-oscuro);
}

.btn-amarillo{
  background:var(--amarillo);
  color:#111;
}

.btn-amarillo:hover{
  background:var(--amarillo-oscuro);
}

.btn-borde{
  background:#fff;
  border:1px solid var(--gris-linea-fuerte);
  color:var(--texto);
}

.btn-borde:hover{
  border-color:var(--rojo);
  color:var(--rojo);
}

.btn-agregar-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  color:inherit;
  text-decoration:none;
  font-weight:800;
}

.titulo-seccion{
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:18px 0;
  padding: 20px 10px;
  text-align: left;
  border-left:4px solid var(--rojo);
}

.titulo-seccion h2{
  font-size:28px;
  line-height:1.1;
  padding: 0 8px;
}

.titulo-seccion p{
  color:var(--texto-suave);
  font-size:14px;
  padding: 3px 8px;
}

:root{
  --fade-bottom: radial-gradient(
    ellipse at bottom,
    rgba(220,220,220,0.7) 0%,
    rgba(245,245,245,0.5) 40%,
    rgba(255,255,255,0) 80%
  );

  --fade-top: radial-gradient(
    ellipse at top,
    rgba(220,220,220,0.7) 0%,
    rgba(245,245,245,0.5) 40%,
    rgba(255,255,255,0) 80%
  );
}

.icon{
  display:inline-block;
  vertical-align:middle;
  fill:currentColor;
  flex:0 0 auto;
  width:22px;
  height:22px;
}

.btn:hover .icon{
  color:var(--rojo);
}

.icon.is-active{
  color:var(--amarillo);
}


.btn-favorito,
.btn-favorito-producto {
    border: 0;
    cursor: pointer;
}

.btn-favorito {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 10px rgba(0,0,0,.16);
    color: #333;
    z-index: 3;
}

.btn-favorito:hover{
    color: var(--rojo);
}

.btn-favorito.is-active {
    color: var(--rojo);
}

.btn-favorito-producto {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 11px 16px;
    background: #fff;
    color: var(--grafito);
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.btn-favorito-producto.is-active {
    color: var(--rojo);
}

.guardar_en_favoritos{
  margin: 0px 0px 30px 0px;
}

/* =========================================================
   HEADER
========================================================= */

.site-header{
  position:relative;
  top:0;
  z-index:300;
  background:#fff;
  border-bottom:1px solid var(--gris-linea);
}

.topbar{
  background:var(--grafito);
  color:rgba(255,255,255,.9);
  font-size:13px;
}

.topbar-inner{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.topbar-left,
.topbar-right{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.topbar a:hover{
  color:var(--amarillo);
}

.header-desktop{
  min-height:84px;
  display:grid;
  grid-template-columns:260px 1fr 220px;
  align-items:center;
  gap:18px;
  background:#fff;
}

.logo a{
  display:flex;
  align-items:center;
}

.logo-brand{
  max-height:58px;
  width:auto;
  display:block;
}

.header-search form{
  width:100%;
}

.search-box{
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid var(--gris-linea-fuerte);
  padding:8px 10px 8px 14px;
  transition:var(--trans);
}

.search-box:focus-within{
  border-color:var(--rojo);
}

.search-box input{
  width:100%;
  height:42px;
  border:none;
  background:transparent;
  outline:none;
  color:var(--texto);
  font-size:15px;
}

.search-box button{
  min-width:44px;
  height:44px;
  background:var(--rojo);
  color:var(--blanco);
  font-size:16px;
}

.search-box button:hover{
  background:var(--rojo-oscuro);
}


.header-user-name {
    font-size: 13px;
    font-weight: 600;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.header-action,
.mobile-icon-btn{
  min-width:48px;
  height:48px;
  padding:0 10px;
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--grafito);
  position:relative;
  text-decoration:none;
  font-size:18px;
}

.header-action:hover,
.mobile-icon-btn:hover{
  color:var(--rojo);
}

.badge{
  position:absolute;
  top:-5px;
  right:-4px;
  min-width:22px;
  height:22px;
  padding:0 6px;
  background:var(--amarillo);
  color:#111;
  font-size:11px;
  font-weight:bold;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #fff;
}

.navbar-desktop{
  background:#fff;
  border-top:1px solid #f2f2f2;
  border-bottom:1px solid var(--gris-linea);
}

.navbar-inner{
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.nav-menu{
  display:flex;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  border-radius: 8px;
}

.nav-menu a{
  padding:10px 14px;
  font-size:14px;
  font-weight:bold;
  color:var(--texto);
}

.nav-menu a:hover,
.nav-menu a.active{
  color:var(--rojo);
  background:#fafafa;
}

.nav-highlight{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--texto-suave);
  font-size:13px;
}

.nav-highlight strong{
  color:var(--rojo);
}

/* =========================================================
   MOBILE HEADER
========================================================= */

.mobile-header,
.mobile-search-panel,
.mobile-menu-panel{
  display:none;
}

.mobile-header{
  min-height:68px;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.mobile-brand{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:0;
}

.mobile-brand img{
  max-height:34px;
  width:auto;
  max-width:180px;
}

.mobile-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.mobile-nav{
  display:grid;
  gap:8px;
  padding:14px 0 18px;
}

.mobile-nav a,
.mobile-nav-group > button{
  width:100%;
  text-align:left;
  background:#fff;
  border:1px solid var(--gris-linea);
  padding:12px 14px;
  font-size:14px;
  font-weight:bold;
  color:var(--texto);
}

.mobile-submenu{
  display:grid;
  gap:8px;
  padding-top:8px;
  padding-left:12px;
}

.mobile-submenu a{
  font-size:13px;
  font-weight:normal;
}

.mobile-search-panel{
  border-top:1px solid var(--gris-linea);
  padding:10px 0 12px;
  background:#fff;
}

.mobile-menu-panel{
  border-top:1px solid var(--gris-linea);
  background:#fff;
}

body.search-open .mobile-search-panel{
  display:block;
}

body.menu-open .mobile-menu-panel{
  display:block;
}

/* =========================================================
   RESPONSIVE HEADER
========================================================= */

@media (max-width: 980px){
  .header-desktop{
    grid-template-columns:220px 1fr 160px;
  }

  .nav-highlight{
    display:none;
  }
}

@media (max-width: 780px){
  .topbar,
  .header-desktop,
  .navbar-desktop{
    display:none;
  }

  .mobile-header{
    display:flex;
  }

  .header-action,
  .mobile-icon-btn{
    min-width:42px;
    height:42px;
    font-size:17px;
  }

  .mobile-brand img{
    max-height:30px;
    max-width:160px;
  }
}


/* =========================================================
   BANNERS SOLUCION
========================================================= */

.banners-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.banner-solucion{
  display:flex;
  align-items:center;
  gap:20px;
  padding:22px;
  background:#fffdf6;
  border:1px solid var(--gris-linea);
  text-decoration:none;
  transition:.2s ease;
}

.banner-solucion:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}

/* IMAGEN */

.banner-solucion-img{
  width:96px;
  height:96px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.banner-solucion-img img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

/* CONTENIDO */

.banner-solucion-content{
  flex:1;
}

.banner-solucion-content h3{
  margin:0 0 8px;
  font-size:22px;
  font-weight:800;
  line-height:1.1;
  color:var(--texto);
}

.banner-solucion-content p{
  margin:0;
  font-size:14px;
  line-height:1.5;
  color:var(--texto-suave);
}

/* LINK */

.banner-solucion-link{
  display:inline-block;
  margin-top:12px;
  font-size:13px;
  font-weight:800;
  color:var(--rojo);
  transition:.2s;
}

.banner-solucion:hover .banner-solucion-link{
  transform:translateX(4px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:780px){

  .banners-grid{
    grid-template-columns:1fr;
  }

  .banner-solucion{
    gap:14px;
    padding:18px;
  }

  .banner-solucion-img{
    width:70px;
    height:70px;
  }

  .banner-solucion-content h3{
    font-size:18px;
  }

}

/* =========================================================
   HERO SLIDER PRO
========================================================= */

.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: 0;
    background-color:#000000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transform: translate3d(100%, 0, 0);
    transition:
        transform 0.85s cubic-bezier(.22, .61, .36, 1),
        opacity 0.55s ease,
        visibility 0s linear 0.85s;
    will-change: transform, opacity;
}

.hero-slide.is-current,
.hero-slide.is-prev,
.hero-slide.is-next,
.hero-slide.active {
    visibility: visible;
}

.hero-slide.is-current {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    z-index: 3;
    transition:
        transform 0.85s cubic-bezier(.22, .61, .36, 1),
        opacity 0.55s ease;
}

.hero-slide.is-next {
    opacity: 1;
    transform: translate3d(100%, 0, 0);
    z-index: 2;
}

.hero-slide.is-prev {
    opacity: 1;
    transform: translate3d(-100%, 0, 0);
    z-index: 1;
}

.hero-slide.from-right {
    opacity: 1;
    visibility: visible;
    transform: translate3d(100%, 0, 0);
    z-index: 4;
}

.hero-slide.from-left {
    opacity: 1;
    visibility: visible;
    transform: translate3d(-100%, 0, 0);
    z-index: 4;
}

.hero-slide.to-left {
    opacity: 1;
    transform: translate3d(-18%, 0, 0);
    z-index: 3;
}

.hero-slide.to-right {
    opacity: 1;
    transform: translate3d(18%, 0, 0);
    z-index: 3;
}

.hero-slide-bg {
    position: absolute;
    inset: -2%;    
    background:
        linear-gradient(
            180deg,
            var(--hero-color-izq) 0%,
            var(--hero-color-der) 100%
        );
    z-index: 1;
    transform: scale(1.06) translate3d(4%, 0, 0);
    transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.hero-slide.is-current .hero-slide-bg {
    transform: scale(1.02) translate3d(0, 0, 0);
}

.hero-slide.is-prev .hero-slide-bg {
    transform: scale(1.06) translate3d(-4%, 0, 0);
}

.hero-slide.is-next .hero-slide-bg {
    transform: scale(1.06) translate3d(4%, 0, 0);
}

.hero-slide.from-right .hero-slide-bg {
    transform: scale(1.08) translate3d(6%, 0, 0);
}

.hero-slide.from-left .hero-slide-bg {
    transform: scale(1.08) translate3d(-6%, 0, 0);
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: block;
}

.hero-slide::after {
    display:none;
}

.hero-content{
    position: relative;
    z-index: 4;
    width: 48%;
    min-height: 520px;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
}


.hero-content a{
    pointer-events: auto;
}

.hero-media{
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-media-link{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    position: relative;
    z-index: 3;
    cursor: pointer;
    pointer-events: auto;
}

.hero-product-image{
    width: 100%;
    height: 520px;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: var(--hero-image-pos);
}

.hero-slide .hero-content {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
}

.hero-slide .hero-media {
    opacity: 0;
    transform: translate3d(70px, 0, 0) scale(0.98);
}

.hero-slide.is-current .hero-content {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.14s;
}

.hero-slide.is-current .hero-media {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 0.22s;
}

.hero-content-pro h1 {
    margin: 0 0 16px;
    color: var(--hero-texto-color);
    font-size: clamp(34px, 4.3vw, 64px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-wrap: balance;
    text-transform: uppercase;
}

.hero-content-pro p {
    margin: 0 0 24px;
    max-width: 620px;
    color: var(--hero-texto-color);
    opacity: 0.92;
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.5;
}

.hero-main-link-pro {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.hero-slide.is-current .hero-product-image {
    transform: translate3d(0, 0, 0) scale(1);
}

.hero-slide.is-prev .hero-product-image {
    transform: translate3d(-16px, 0, 0) scale(0.985);
}

.hero-slide.is-next .hero-product-image {
    transform: translate3d(16px, 0, 0) scale(0.985);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.hero-nav:hover {
    transform: translateY(-50%) scale(1.05);
    background: rgba(255,255,255,0.22);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.40);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.hero-dot.active {
    width: 28px;
    background: #ffffff;
}

@media (max-width: 991px) {
    .hero-slider,
    .hero-slide-inner {
        min-height: 460px;
    }

    .hero-content{
        width: 100%;
        min-height: 460px;
        padding: 28px 22px 90px;
        text-align: center;
        justify-content: flex-start;
    }

    .hero-content-pro{
        max-width: 520px;
        margin: 0 auto;
        padding-top: 0;
    }

    .hero-content-pro{
        margin-top: 20px;
    }

    .hero-content-pro h1 {
        margin-top: 0;
        font-size: clamp(28px, 8vw, 38px);
        line-height: 0.95;
    }

    .hero-content-pro p {
        max-width: 100%;
    }

    .hero-media{
        inset: auto 0 0 0;
        height: 62%;
        z-index: 2;
    }

    .hero-media-link{
        align-items: flex-end;
        justify-content: center;
    }

    .hero-product-image {
        padding: 10px;
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        object-position: center bottom;
    }

    .hero-slide::after {
        z-index: 3;
        background:
          linear-gradient(
            180deg,
            rgba(0,0,0,0.32) 0%,
            rgba(0,0,0,0.18) 38%,
            rgba(0,0,0,0.05) 70%,
            rgba(0,0,0,0.00) 100%
          );
    }

    .hero-slide .hero-content,
    .hero-slide .hero-media {
        transform: translate3d(0, 24px, 0);
    }

    .hero-slide.is-current .hero-content,
    .hero-slide.is-current .hero-media {
        transform: translate3d(0, 0, 0);
    }

    .hero-nav {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-content,
    .hero-media,
    .hero-dot,
    .hero-nav {
        transition: none !important;
    }
}

/* =========================================================
   HERO SUBGRID BANNERS
========================================================= */

.hero-subgrid{
  padding-top: 18px;
}

.hero-subgrid-inner{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:18px;
  align-items:stretch;
}

.hero-box{
  position:relative;
  display:block;
  min-height:240px;
  padding:30px;
  overflow:hidden;
  text-decoration:none;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.hero-box:hover{
  transform:translateY(-3px);
}

.hero-mini-label{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  margin-bottom:18px;
  font-size:11px;
  font-weight:900;
  letter-spacing:1.1px;
  text-transform:uppercase;
}

/* =========================
   OFERTAS
========================= */

.hero-box-ofertas-pro{
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 34%),
    linear-gradient(135deg, #a81919 0%, #c62828 48%, #de3b3b 100%);
  color:#fff;
  box-shadow:0 16px 34px rgba(198,40,40,.22);
}

.hero-box-ofertas-pro::before{
  content:"";
  position:absolute;
  right:-38px;
  top:-38px;
  width:180px;
  height:180px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
}

.hero-box-ofertas-pro::after{
  content:"";
  position:absolute;
  left:-24px;
  bottom:-24px;
  width:110px;
  height:110px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
}

.hero-box-ofertas-pro .hero-mini-label{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(6px);
}

.hero-suboferta-wrap{
  position:relative;
  z-index:2;
  max-width:520px;
}

.hero-suboferta-top{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:8px;
}

.hero-suboferta-hasta{
  font-size:13px;
  font-weight:900;
  letter-spacing:1.4px;
  color:rgba(255,255,255,.82);
  text-transform:uppercase;
}

.hero-suboferta-porcentaje{
  font-size:18px;
  font-weight:900;
  color:#ffd54a;
  letter-spacing:.4px;
  text-transform:uppercase;
}

.hero-suboferta-main{
  display:flex;
  align-items:flex-end;
  gap:12px;
  margin-bottom:10px;
  line-height:1;
}

.hero-suboferta-valor{
  display:block;
  font-size:clamp(72px, 9vw, 100px);
  font-weight:900;
  line-height:.82;
  letter-spacing:-.05em;
  color:#fff;
  text-shadow:0 6px 22px rgba(0,0,0,.14);
}

.hero-suboferta-texto{
  display:block;
  font-size:clamp(28px, 3.2vw, 40px);
  font-weight:900;
  line-height:1;
  color:#fff;
  text-wrap:balance;
}

.hero-suboferta-desc{
  max-width:430px;
  margin:0;
  font-size:16px;
  line-height:1.5;
  color:rgba(255,255,255,.90);
}

/* =========================
   NOVEDADES
========================= */

.hero-box-secundario{
  background:
    linear-gradient(135deg, #fff4b8 0%, #ffe07a 100%);
  color:#222;
  border:1px solid #f1d46a;
  box-shadow:0 12px 30px rgba(244,195,24,.18);
}

.hero-box-secundario::after{
  content:"✦";
  position:absolute;
  right:22px;
  bottom:10px;
  font-size:72px;
  font-weight:900;
  line-height:1;
  color:rgba(198,40,40,.06);
  pointer-events:none;
}

.hero-box-secundario::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg, var(--rojo) 0%, var(--amarillo) 100%);
}

.hero-box-secundario .hero-mini-label{
  background: rgba(0,0,0,.06);
  color: #111;
}

.hero-box-secundario-inner{
  position:relative;
  z-index:2;
  max-width:420px;
}

.hero-box-secundario h3{
  margin:0 0 12px;
  font-size:clamp(28px, 3vw, 36px);
  line-height:1.02;
  font-weight:900;
  color:var(--texto);
  letter-spacing:-.03em;
}

.hero-box-secundario p{
  margin:0;
  font-size:15px;
  line-height:1.6;
  color:var(--texto-suave);
}

/* =========================
   LINK CTA
========================= */

.hero-box-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:22px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.2px;
  color:#fff;
}

.hero-box-link-dark{
  color:var(--rojo);
}

.hero-box-link-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  transition:transform .18s ease, background .18s ease;
}

.hero-box-link-dark .hero-box-link-arrow{
  background:rgba(198,40,40,.10);
}

.hero-box:hover .hero-box-link-arrow{
  transform:translateX(3px);
}

.hero-box-ofertas-pro:hover{
  box-shadow:0 20px 42px rgba(198,40,40,.28);
}

.hero-box-secundario:hover{
  border-color:#d8d8d8;
  box-shadow:0 14px 30px rgba(0,0,0,.08);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px){
  .hero-subgrid-inner{
    grid-template-columns:1fr;
  }
}

@media (max-width: 780px){
  .hero-box{
    min-height:auto;
    padding:22px;
  }

  .hero-mini-label{
    margin-bottom:14px;
  }

  .hero-suboferta-top{
    gap:8px;
    margin-bottom:6px;
  }

  .hero-suboferta-hasta{
    font-size:12px;
  }

  .hero-suboferta-porcentaje{
    font-size:16px;
  }

  .hero-suboferta-valor{
    font-size:72px;
  }

  .hero-suboferta-texto{
    font-size:24px;
  }

  .hero-suboferta-desc,
  .hero-box-secundario p{
    font-size:14px;
  }

  .hero-box-secundario h3{
    font-size:26px;
  }

  .hero-box-link{
    margin-top:18px;
    font-size:13px;
  }
}

@media (max-width: 980px){
  .hero-subgrid-inner{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px){

  .hero-suboferta-valor{
    font-size: 56px;
  }

  .hero-suboferta-porcentaje{
    font-size: 20px;
  }

  .hero-suboferta-texto{
    font-size: 22px;
  }

  .hero-actions{
    display: none;
  }

  .hero-content-pro p{
    display: none;
  }
}


/* =========================================================
   CATEGORIAS
========================================================= */

.categorias-grid{
  display:grid;
  grid-template-columns:repeat(23, 1fr);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  /* ocultar scrollbar */
  scrollbar-width: none; /* Firefox */
  scroll-snap-type: x mandatory;
}

.categorias-grid::-webkit-scrollbar {
  display: none; /* Chrome */
}

.categoria-icon{
  width:50px;
  height:50px;
  font-size:14px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.categoria-item h3{
  font-size:15px;
  line-height:1.2;
}

.categorias-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: radial-gradient(
    ellipse at center,
    rgba(220,220,220,0.7) 0%,
    rgba(245,245,245,0.5) 40%,
    rgba(255,255,255,0) 80%
  );
}

.categorias-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 2px 14px;
  flex: 1 1 auto;
  scroll-snap-type: x proximity;
}

.categorias-grid::-webkit-scrollbar {
  display: none;
}

.categoria-item {
  flex: 0 0 100px;
  min-width: 120px;
  max-width: 160px;
  text-decoration: none;
  position: relative;
  padding:4px 4px;
  text-align:center;
  transition:var(--trans);
  scroll-snap-align: start;
}

.categoria-item:hover {
  border-color: #cfcfcf;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.categoria-item:active {
  transform: translateY(-1px);
}

.categoria-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.categoria-item h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  color: #222;
  font-weight: 600;
}

.categorias-arrow {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  color: #222;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 42px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  z-index: 2;
}

.categorias-arrow:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.categorias-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}


/* =========================================================
   PRODUCTOS
========================================================= */

.productos-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
  align-items:stretch;
}

.product-card{
  background:#fff;
  overflow:hidden;
  transition:var(--trans);
  position:relative;
  display:flex;
  flex-direction:column;
  height:100%;
}

.product-image{
  background:#fff;
  aspect-ratio:1/1;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid var(--gris-linea);
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.product-tag{
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  background:var(--amarillo);
  color:#111;
  font-size:18px;
  font-weight:bold;
  padding:7px 10px;
  border-radius:20px;
  transition: transform .15s ease;
}

 .product-tag:hover{
  transform:scale(1.08);
 }

.product-card:hover{
  transform:translateY(-3px);
  background:#fafafa;
}

.product-image{
  background:#fff;
  aspect-ratio:1/1;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid var(--gris-linea);
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.product-body{
  padding:16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category{
  font-size:11px;
  color:var(--texto-suave);
  text-transform:uppercase;
  letter-spacing:.4px;
  margin-bottom:4px;
}

.product-title{
  font-size:18px;
  font-weight:bold;
  color:var(--texto);
  line-height:1.3;
  min-height:40px;
  margin-bottom:10px;
}

.product-title a:hover{
  color:var(--rojo);
}

.product-price-old{
  min-height:18px;
  color:#9097a3;
  font-size:13px;
  text-decoration:line-through;
}

.product-price{
  display:flex;
  align-items:flex-end;
  gap:8px;
  margin:4px 0 2px;
  font-size:28px;
  line-height:1;
  color:var(--rojo);
}

.product-price strong{
  font-size:28px;
  line-height:1;
  color:var(--rojo);
}

.product-discount{
  font-size:16px;
  font-weight:bold;
  color:var(--verde);
}

.product-cash{
  font-weight: bolder;
  font-size:16px;
  color:var(--texto-suave);
  margin-bottom:14px;
}

.product-bottom{
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-actions{
  display:grid;
  grid-template-columns:1fr 48px;
  gap:10px;
}

.product-actions-card{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}

.cantidad-card{
  display:grid;
  grid-template-columns:32px 1fr 32px;
  width:100%;
  height:32px;
  border:1px solid var(--gris-linea-fuerte);
  background:#fff;
  overflow:hidden;
}

.cantidad-card .cantidad-btn{
  all: unset;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:32px;
  background:#f5f5f5;
  color:var(--texto);
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

.cantidad-card .cantidad-btn:hover{
  background:#ececec;
  color:var(--rojo);
}

.cantidad-card input{
  all: unset;
  width:100%;
  height:32px;
  text-align:center;
  background:#fff;
  font-size:14px;
  font-weight:700;
  color:var(--texto);
  border-left:1px solid var(--gris-linea);
  border-right:1px solid var(--gris-linea);
}

.cantidad-card input{
  border-left:1px solid var(--gris-linea);
  border-right:1px solid var(--gris-linea);
}

.cantidad-card input::-webkit-outer-spin-button,
.cantidad-card input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.product-add-btn-wide{
  width:100%;
  min-width:100%;
  height:46px;
}

.product-add-btn-wide .product-add-btn-text{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.product-boton-borde{
  background:#fff;
  border-top:2px solid var(--gris-linea-fuerte);
  color:var(--texto);
}

.product-boton-borde:hover{
  border-color:var(--rojo);
  color:var(--rojo);
}

.producto-form{
  margin-top:20px;
}

.producto-acciones-modern{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:stretch;
}

.cantidad-modern{
  display:inline-flex;
  align-items:center;
  height:54px;
  background:#fff;
  border:1px solid var(--gris-linea-fuerte);
  box-shadow:0 8px 22px rgba(0,0,0,0.04);
  overflow:hidden;
}

.cantidad-btn{
  width:46px;
  height:54px;
  background:linear-gradient(
    180deg,
    rgba(248,248,248,1) 0%,
    rgba(239,239,239,1) 100%
  );
  color:var(--texto);
  font-size:20px;
  font-weight:700;
  border:none;
  transition:var(--trans);
}

.cantidad-btn:hover{
  background:#ececec;
  color:var(--rojo);
}

.cantidad-modern input{
  width:70px;
  height:54px;
  border:none;
  background:#fff;
  text-align:center;
  font-size:16px;
  font-weight:800;
  color:var(--texto);
  outline:none;
  appearance:textfield;
  -moz-appearance:textfield;
}

.cantidad-modern input::-webkit-outer-spin-button,
.cantidad-modern input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.btn-agregar-pro{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:54px;
  padding:0 24px;
  border:none;
  background:linear-gradient(180deg, #d83b3b 0%, #b92525 100%);
  color:#fff;
  font-size:15px;
  font-weight:800;
  letter-spacing:.2px;
  box-shadow:0 12px 26px rgba(198,40,40,0.24);
  overflow:hidden;
  cursor:pointer;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease,
    background .18s ease,
    opacity .18s ease;
}

.btn-agregar-pro::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    110deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.16) 35%,
    rgba(255,255,255,0) 70%
  );
  transform:translateX(-120%);
  transition:transform .55s ease;
}

.btn-agregar-pro:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(198,40,40,0.32);
  filter:saturate(1.03);
}

.btn-agregar-pro:hover::before{
  transform:translateX(120%);
}

.btn-agregar-pro:active{
  transform:translateY(0);
  box-shadow:0 8px 18px rgba(198,40,40,0.22);
}

.btn-agregar-pro svg{
  width:22px;
  height:22px;
  display:block;
}

.btn-agregar-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.btn-agregar-text{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}

.btn-agregar-pro.is-loading{
  pointer-events:none;
  opacity:.92;
}

.btn-agregar-pro.is-added{
  background:linear-gradient(180deg, #1f9d62 0%, #16734b 100%);
  box-shadow:0 12px 26px rgba(25,135,84,0.24);
}

.btn-agregar-pro.is-error{
  background:linear-gradient(180deg, #666 0%, #444 100%);
  box-shadow:0 12px 26px rgba(0,0,0,0.18);
}

.producto-feedback{
  min-height:20px;
  margin-top:10px;
  font-size:13px;
  font-weight:600;
}

.producto-feedback.ok{
  color:var(--verde);
}

.producto-feedback.error{
  color:var(--rojo);
}

.badge-pop{
  animation:badgePop .35s ease;
}

.product-add-btn{
  min-width:48px;
  position:relative;
}

.product-add-btn.is-added{
  background:linear-gradient(180deg, #1f9d62 0%, #16734b 100%);
}

.product-add-btn.is-error{
  background:linear-gradient(180deg, #666 0%, #444 100%);
}

.product-add-btn:disabled{
  opacity:.95;
  cursor:default;
}

.btn-agregar-pro.is-added svg{
  transform:scale(1.15);
  transition:transform .2s ease;
}

.producto-feedback.ok{
  color:#18794e;
  background:#f3fff7;
  border:1px solid #b7e0c2;
  padding:8px 10px;
}

.producto-feedback.error{
  color:#b42318;
  background:#fff4f4;
  border:1px solid #f1b7b7;
  padding:8px 10px;
}

@keyframes badgePop{
  0%{ transform:scale(1); }
  40%{ transform:scale(1.22); }
  100%{ transform:scale(1); }
}

@media (max-width:640px){
  .producto-acciones-modern{
    grid-template-columns:1fr;
  }

  .cantidad-modern{
    width:100%;
    justify-content:center;
  }

  .btn-agregar-pro{
    width:100%;
  }
}

.toast-carrito{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#1f9d62;
  color:#fff;
  padding:12px 16px;
  font-weight:600;
  box-shadow:0 10px 25px rgba(0,0,0,.2);
  transform:translateY(20px);
  opacity:0;
  transition:.3s;
  z-index:9999;
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

.toast-carrito.visible{
  transform:translateY(0);
  opacity:1;
}


.toast-carrito:hover{
  filter:brightness(1.05);
}

/* =========================================================
   BENEFICIOS / BLOQUES
========================================================= */

.beneficios-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.beneficio{
  background:#fff;
  padding:20px;
}

.beneficio h3{
  font-size:17px;
  margin-bottom:6px;
}

.beneficio p{
  color:var(--texto-suave);
  font-size:14px;
}

.banners-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.banner-box{
  min-height:220px;
  padding:28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.banner-box.dark{
  background:var(--grafito);
  color:var(--blanco);
}

.banner-box.light{
  background:#f8f1c7;
  color:#111;
}

.banner-box h3{
  font-size:30px;
  line-height:1.05;
  margin-bottom:10px;
}

.banner-box p{
  max-width:420px;
  font-size:15px;
  opacity:.92;
}

/* =========================================================
   PAGINACION
========================================================= */
.paginacion{
  display:none;
}

.paginacion.is-visible{
  display:flex;
}

.cargar-mas-wrap{
  height:40px;
  margin-top:10px;
  display:flex;
  justify-content:center;
  align-items:center;
}

#btnCargarMas{
  position:relative;
  width:1px;
  height:1px;
  min-width:1px;
  padding:0;
  opacity:0;
  pointer-events:none;
  overflow:hidden;
}

.product-card-skeleton{
  pointer-events:none;
}

.skeleton-img,
.skeleton-line{
  position:relative;
  overflow:hidden;
  background:#eeeeee;
}

.skeleton-img{
  aspect-ratio:1/1;
  margin:18px;
}

.skeleton-line{
  height:14px;
  margin-bottom:12px;
}

.skeleton-small{
  width:42%;
}

.skeleton-title{
  width:88%;
  height:22px;
}

.skeleton-price{
  width:58%;
  height:30px;
}

.skeleton-button{
  width:100%;
  height:46px;
  margin-top:16px;
}

.skeleton-img::after,
.skeleton-line::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.75),
    transparent
  );
  animation:skeletonShine 1.15s infinite;
}

@keyframes skeletonShine{
  100%{
    transform:translateX(100%);
  }
}

.product-card-enter{
  opacity:0;
  transform:translateY(18px);
  transition:
    opacity .55s ease,
  transform .55s cubic-bezier(.22,.61,.36,1);
}

.product-card-enter.is-visible{
  opacity:1;
  transform:translateY(0);
}

#btnCargarMas:disabled{
  opacity:.65;
  cursor:wait;
}

.paginacion{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:28px;
}

.paginacion a,
.paginacion span{
  min-width:42px;
  height:42px;
  padding:0 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid var(--gris-linea);
  font-size:14px;
  font-weight:bold;
  border-radius: 8px;
}

.paginacion a:hover{
  color:var(--rojo);
  border-color:var(--rojo);
}

.paginacion .actual{
  background:var(--rojo);
  color:#fff;
  border-color:var(--rojo);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer{
  margin-top: 50px;
  color: rgba(255,255,255,.92);
}

.footer-top{
  background: var(--gris-claro);
  padding: 46px 0 34px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand{
  padding-right: 18px;
}

.footer-logo-link{
  display: inline-flex;
  align-items: center;
}

.footer-logo{
  max-width: 180px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.footer-brand-text{
  color: var(--texto-suave);
  font-size: 14px;
  line-height: 1.7;
  max-width: 340px;
}

.footer-col h4{
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--texto);
}

.footer-col p,
.footer-col li,
.footer-col a{
  color: var(--texto);
  font-size: 14px;
}

.footer-col ul{
  display: grid;
  gap: 8px;
}

.footer-col a:hover{
  color: var(--amarillo);
}

.footer-contacto li{
  line-height: 1.8;
}

.footer-bottom{
  background: #000000; /* negro real */
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom-inner{
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-bottom p{
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.58);
  line-height: 1.5;
}

/* =========================================================
   PAGINAS INTERNAS
========================================================= */

.page-header{
  padding:28px 0 16px;
  display: block;
}


.page-header h1{
  font-size:38px;
  margin-bottom:8px;
}


.page-header-producto{
  padding:18px 0 0;
  display: block;
}

.page-header-producto + .section{
  padding-top: 6px;
}

.page-header-producto h1{
  font-size:38px;
}

.page-header-box{
  background: var(--fade-bottom);
  color: var(--texto);
  padding: 34px 0;
}

.page-header-box-producto{
  background:#fff;
  padding:5px;
  color:#000;
}

.page-header-box-producto p{
  color:#000;
}

.marca-texto-header{
  display: block; 
}

.content-grid{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:20px;
}

.sidebar{
  background:#fff;
  padding:20px;.
}

.content-main{
  min-width:0;
}

/* =========================================================
   PRODUCTO INDIVIDUAL
========================================================= */

.producto-detalle{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
}

.producto-info{
  padding:0px;
}

.producto-galeria{
  padding:10px;
}

.producto-galeria-principal{
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  padding:20px;
}

.producto-info h1{
  font-size:32px;
  line-height:1.1;
  margin-bottom:10px;
}

.producto-info-producto{
  display: none;
}

.producto-codigo,
.producto-stock{
  font-size:14px;
  color:var(--texto-suave);
  margin-bottom:8px;
}

.producto-precio{
  margin:18px 0 8px;
}

.producto-precio .anterior{
  display:block;
  color:#8c93a0;
  text-decoration:line-through;
  margin-bottom:4px;
}

.producto-precio .actual{
  display:block;
  color:var(--rojo);
  font-size:42px;
  font-weight:bold;
  line-height:1;
}

.producto-efectivo{
  color:var(--verde);
  font-weight:bold;
  margin-bottom:18px;
}

.producto_video_btn{
  width: 100%;
  margin-top: 5px;
  padding: 12px 18px 12px 14px;
  border: 1px solid var(--gris-linea-fuerte);
  color: var(--texto);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--trans);
  text-align: center;
}

.producto_video_btn:hover{
  border-color: var(--rojo);
  color: var(--rojo);
  background: #fafafa;
}

.precio-showcase{
  margin:20px 0 18px;
  padding:22px;
  background:linear-gradient(
    180deg,
    rgba(248,248,248,0.96) 0%,
    rgba(255,255,255,1) 100%
  );
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.precio-showcase-meta{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.precio-badge-descuento{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 12px;
  background:linear-gradient(180deg, #d83b3b 0%, #b92525 100%);
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.5px;
  box-shadow:0 8px 18px rgba(198,40,40,0.18);
}

.precio-showcase-anterior{
  color:#8b93a1;
  font-size:14px;
  text-decoration:line-through;
}

.precio-showcase-head{
  margin-bottom:18px;
}

.precio-showcase-head h3{
  font-size:24px;
  line-height:1.05;
  margin-bottom:6px;
  color:var(--texto);
}

.precio-showcase-head p{
  font-size:14px;
  color:var(--texto-suave);
  margin:0;
}

.precio-showcase-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  align-items:stretch;
}

.precio-card{
  position:relative;
  padding:20px;
  background:#fff;
  border:1px solid var(--gris-linea-fuerte);
  overflow:hidden;
  min-height:170px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.precio-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:var(--gris-linea);
}

.precio-card-label{
  font-size:11px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--texto-suave);
  margin-bottom:10px;
}

.precio-card-valor{
  font-size:clamp(32px, 4.5vw, 40px);
  font-weight:900;
  line-height:.95;
  letter-spacing:-1px;
  margin-bottom:10px;
  color:var(--texto);
}

.precio-card-foot{
  font-size:13px;
  line-height:1.4;
  color:var(--texto-suave);
}

.precio-card-principal{
  background:#fff;
  border:1px solid var(--gris-linea-fuerte);
}

.precio-card-principal::before{
  background:var(--rojo);
}

.precio-card-principal .precio-card-label{
  color:var(--rojo);
}

.precio-card-principal .precio-card-valor{
  color:var(--rojo);
}

.precio-card-efectivo{
  background:#fff;
  border:1px solid var(--gris-linea-fuerte);
}

.precio-card-efectivo::before{
  background:var(--verde);
}

.precio-card-efectivo .precio-card-label{
  color:var(--verde);
}

.precio-card-efectivo .precio-card-valor{
  color:#16734b;
}

.precio-card-texto{
  letter-spacing:0;
  font-size:28px;
  line-height:1.05;
}

.product-precio-mini{
  margin-top:10px;
}

.product-precio-mini-meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
}

.mini-descuento{
  background:var(--rojo);
  color:#fff;
  font-size:11px;
  font-weight:800;
  padding:3px 6px;
}

.mini-antes{
  font-size:12px;
  color:#8c93a0;
  text-decoration:line-through;
}

.product-precio-mini-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}

.mini-precio{
  background:#fff;
  padding:8px;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.mini-label{
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  color:var(--texto-suave);
}

.mini-precio strong{
  font-size:22px;
  font-weight:900;
  line-height:1;
}

.mini-tarjeta{
  border-left:3px solid var(--rojo);
}

.mini-tarjeta strong{
  color:var(--rojo);
}

.mini-efectivo{
  border-left:3px solid var(--verde);
}

.mini-efectivo strong{
  color:#16734b;
}

.mini-texto{
  font-size:14px;
}

@media (max-width:780px){
  .precio-showcase{
    padding:18px;
  }

  .precio-showcase-head h3{
    font-size:21px;
  }

  .precio-showcase-grid{
    grid-template-columns:1fr;
  }

  .precio-card{
    min-height:auto;
  }

  .precio-card-valor{
    font-size:40px;
  }
}

.producto-descripcion{
  color:var(--texto-suave);
  font-size:15px;
  margin:18px 0 22px;
}

.producto-ficha-extra{
  margin-top:18px;
}

.producto-ficha-extra p{
  margin:0 0 10px;
}

.envio-gratis{
  color:var(--verde);
  font-weight:bold;
}

.envio-consulta{
  color:var(--texto-suave);
}

.envio-precio{
  color:var(--texto-suave);
}

.producto-pagos{
  margin-top:14px;
  margin-bottom:14px;
}

.producto-pagos strong{
  display:block;
  margin-bottom:10px;
}

.producto-pagos-logos{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.producto-pagos-logos img{
  display:block;
  width:auto;
  height:18px;
  object-fit:contain;
  background:#fff;
}

.producto-condiciones{
  margin-top:16px;
  padding:14px;
  border:1px solid var(--gris-linea);
  background:var(--gris-fondo-suave);
  color:var(--texto-suave);
  font-size:13px;
  line-height:1.6;
}

.producto-acciones{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.cantidad-box{
  display:flex;
  align-items:center;
  background:#fff;
  overflow:hidden;
  border:1px solid var(--gris-linea-fuerte);
}

.cantidad-box input{
  width:58px;
  height:46px;
  text-align:center;
  border:none;
  background:transparent;
  outline:none;
  font-size:15px;
  font-weight:bold;
}

.cantidad-box button{
  width:42px;
  height:46px;
  background:#f7f7f7;
  font-size:18px;
}

.cantidad-box button:first-child{
  border-right:1px solid var(--gris-linea);
}

.cantidad-box button:last-child{
  border-left:1px solid var(--gris-linea);
}

.producto-pack-box{
  margin-bottom:18px;
  padding:16px;
  border:1px solid var(--gris-linea-fuerte);
  background:linear-gradient(
    180deg,
    rgba(255,248,220,0.55) 0%,
    rgba(255,255,255,1) 100%
  );
}

.producto-pack-head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:14px;
}

.producto-pack-icon{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--amarillo);
  color:#111;
  flex:0 0 42px;
}

.producto-pack-head-texto strong{
  display:block;
  font-size:16px;
  line-height:1.1;
  margin-bottom:4px;
}

.producto-pack-head-texto span{
  display:block;
  font-size:13px;
  color:var(--texto-suave);
  line-height:1.35;
}

.producto-pack-precios{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.producto-pack-precio{
  background:#fff;
  border:1px solid var(--gris-linea);
  padding:12px;
}

.producto-pack-precio small{
  display:block;
  font-size:12px;
  color:var(--texto-suave);
  margin-bottom:4px;
  text-transform:uppercase;
  letter-spacing:.3px;
}

.producto-pack-precio strong{
  display:block;
  font-size:24px;
  line-height:1.05;
  color:var(--rojo);
}

.producto-pack-nota{
  margin-top:12px;
  font-size:13px;
  color:var(--texto-suave);
  line-height:1.45;
}

@media (max-width: 520px){
  .producto-pack-precios{
    grid-template-columns:1fr;
  }

  .producto-pack-precio strong{
    font-size:22px;
  }
}


.producto-rating-box{
  margin:16px 0 20px;
  padding:16px 18px;
  background:#f8f8f8;
  border:1px solid var(--gris-linea);
}

.producto-rating-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:8px;
}

.producto-rating-label{
  font-size:14px;
  font-weight:bold;
  color:var(--texto);
}

.producto-rating-resumen{
  font-size:13px;
  color:var(--texto-suave);
}

.producto-rating-form{
  margin:0;
}

.producto-rating-estrellas-wrap{
  position:relative;
  display:inline-block;
  line-height:1;
}

.producto-rating-estrellas{
  display:flex;
  gap:4px;
}

.current-rating{
  position:relative;
  z-index:1;
}

.voting-rating{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-end;
  gap:4px;
}

.rating-star{
  font-size:28px;
  color:#d8d8d8;
  line-height:1;
  transition:var(--trans);
}

.rating-star.active{
  color:var(--amarillo);
}

.rating-star-btn{
  appearance:none;
  border:none;
  background:transparent;
  padding:0;
  margin:0;
  width:28px;
  height:28px;
  font-size:28px;
  line-height:1;
  color:transparent;
  cursor:pointer;
  position:relative;
}

.rating-star-btn::before{
  content:"★";
  color:rgba(0,0,0,0);
  position:absolute;
  inset:0;
  transition:var(--trans);
}

.voting-rating:hover .rating-star-btn::before{
  color:#d8d8d8;
}

.voting-rating .rating-star-btn:hover::before,
.voting-rating .rating-star-btn:hover ~ .rating-star-btn::before{
  color:var(--amarillo);
}

.producto-rating-mensaje{
  margin-top:10px;
  font-size:13px;
  color:var(--texto-suave);
}

.producto-rating-bloque{
  margin:14px 0;
}

.producto-rating-bloque strong{
  display:block;
  margin-bottom:8px;
}

.producto-rating-resumen-visible{
  margin-top:8px;
  font-size:13px;
  color:var(--texto-suave);
  line-height:1.4;
}

.producto-rating-resumen-visible.sin-votos{
  color:var(--texto-suave);
  font-style:italic;
}

.producto-rating-mensaje-visible{
  margin-top:8px;
  font-size:13px;
  color:var(--verde);
  line-height:1.4;
}

.producto-marca-logo-bajo{
  margin-top:0px;
  padding-top:14px;
  border-top:1px solid var(--gris-linea);
  display:flex;
  justify-content:center;
  align-items:center;
  background: var(--fade-top);
}

.producto-marca-logo-bajo a,
.producto-marca-logo-bajo img{
  display:block;
}

.producto-marca-logo-bajo img{
  max-width:220px;
  max-height:90px;
  width:auto;
  height:auto;
  object-fit:contain;
}

.marca-box{
  border-top:1px solid var(--gris-linea);
  padding-top:10px;
}

.marca-box-grid{
  display:block;
}

.marca-box-head{
}

.marca-box-head h2{
  font-size:28px;
  line-height:1.1;
  margin-bottom:10px;
}

.marca-box-head h2 a:hover{
  color:var(--rojo);
}

.marca-box-head p{
}

.marca-box-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.producto-slider-clickable{
  cursor: zoom-in;
}

.product-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.product-lightbox.is-open{
  display: block;
}

.product-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
}

.product-lightbox-dialog{
  position: relative;
  z-index: 2;
  width: min(92vw, 1200px);
  height: min(90vh, 900px);
  margin: 5vh auto;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 12px;
}

.product-lightbox-content{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox-content img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  background: #fff;
}

.product-lightbox-close{
  position: absolute;
  top: -8px;
  right: 0;
  width: 44px;
  height: 44px;
  background: #fff;
  color: #111;
  font-size: 30px;
  line-height: 1;
  z-index: 3;
}

.product-lightbox-nav{
  width: 48px;
  height: 48px;
  background: #fff;
  color: #111;
  font-size: 34px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox-nav.prev{
  justify-self: start;
}

.product-lightbox-nav.next{
  justify-self: end;
}

body.lightbox-open{
  overflow: hidden;
}

.relacionados-lazy-box{
  min-height: 120px;
}

.relacionados-loading{
  padding: 22px;
  border: 1px solid var(--gris-linea);
  background: var(--gris-fondo-suave);
  color: var(--texto-suave);
  font-size: 14px;
}

.relacionados-mas-box{
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.relacionados-mas-btn{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: #fff;
  border: 1px solid var(--gris-linea-fuerte);
  color: var(--texto);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--trans);
}

.relacionados-mas-btn:hover{
  border-color: var(--rojo);
  color: var(--rojo);
  background: #fafafa;
}

.relacionados-mas-icon{
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rojo);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 28px;
}

.relacionados-mas-btn:hover .relacionados-mas-icon{
  background: var(--rojo-oscuro);
}

.producto-share{
  margin:14px 0;
}

.producto-share strong{
  display:block;
  margin-bottom:10px;
}

.producto-share-botones{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border:1px solid var(--gris-linea-fuerte);
  background:#fff;
  color:var(--texto);
  font-size:13px;
  font-weight:bold;
  transition:var(--trans);
  gap:8px;
}

.share-btn:hover{
  border-color:var(--rojo);
  color:var(--rojo);
}

.share-btn svg{
  width:16px;
  height:16px;
}

.share-wa:hover{
  border-color:#25d366;
  color:#25d366;
}

.share-fb:hover{
  border-color:#1877f2;
  color:#1877f2;
}

.share-x:hover{
  border-color:#111;
  color:#111;
}

/* =========================================================
   CARRITO
========================================================= */

.carrito-box{
  background:#fff;
  padding:22px;
}

.carrito-tabla{
  width:100%;
  border-collapse:collapse;
}

.carrito-tabla th,
.carrito-tabla td{
  padding:14px 10px;
  border-bottom:1px solid var(--gris-linea);
  text-align:left;
  vertical-align:middle;
}

.carrito-total{
  margin-top:22px;
  display:flex;
  justify-content:flex-end;
}

.carrito-total-box{
  width:100%;
  max-width:360px;
  background:#f7f7f7;
  padding:20px;
}

.carrito-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.6fr) minmax(280px, 380px);
  gap:24px;
  align-items:start;
}

.carrito-form{
  display:block;
}

.carrito-lista{
  display:grid;
  gap:16px;
}

.carrito-item{
  display:grid;
  grid-template-columns:130px minmax(0, 1fr);
  gap:18px;
  background:#fff;
  border:1px solid var(--gris-linea);
  padding:16px;
}

.carrito-item-media{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid var(--gris-linea);
  aspect-ratio:1 / 1;
  padding:12px;
}

.carrito-item-media img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.carrito-item-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.carrito-item-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}

.carrito-item-kicker{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.6px;
  color:var(--texto-suave);
  margin-bottom:5px;
}

.carrito-item-title{
  font-size:22px;
  line-height:1.15;
}

.carrito-item-title a:hover{
  color:var(--rojo);
}

.carrito-item-update-wrap{
  margin-top: 10px;
}

.carrito-item-update-btn{
  min-width: 120px;
}

.carrito-remove{
  width:40px;
  height:40px;
  flex:0 0 40px;
  background:#fff;
  border:1px solid var(--gris-linea-fuerte);
  color:var(--texto-suave);
  font-size:24px;
  line-height:1;
  transition:var(--trans);
}

.carrito-remove:hover{
  border-color:var(--rojo);
  color:var(--rojo);
}

.carrito-item-meta{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  align-items:end;
}

.carrito-price-block,
.carrito-cantidad-block,
.carrito-subtotal-block{
  padding:12px;
  background:var(--gris-fondo-suave);
  border:1px solid var(--gris-linea);
}

.carrito-price-label{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:var(--texto-suave);
  margin-bottom:6px;
}

.carrito-price-block strong,
.carrito-subtotal-block strong{
  font-size:24px;
  line-height:1;
  color:var(--rojo);
}

.carrito-cantidad-input{
  width:90px;
  min-height:46px;
  border:1px solid var(--gris-linea-fuerte);
  padding:0 10px;
  background:#fff;
  font-size:16px;
  font-weight:700;
}

.carrito-resumen{
  position:sticky;
  top:20px;
}

.carrito-total-box-pro{
  background:linear-gradient(
    180deg,
    rgba(248,248,248,0.96) 0%,
    rgba(255,255,255,1) 100%
  );
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.carrito-total-box-pro h3{
  font-size:28px;
  margin-bottom:18px;
  line-height:1.05;
}

.carrito-resumen-linea{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-top:1px solid var(--gris-linea);
  font-size:15px;
}

.carrito-resumen-linea:first-of-type{
  border-top:none;
  padding-top:0;
}

.carrito-resumen-total{
  margin-top:4px;
  padding-top:16px;
}

.carrito-resumen-total strong{
  font-size:30px;
  line-height:1;
  color:var(--rojo);
}

.carrito-resumen-botones{
  display:grid;
  gap:10px;
  margin-top:18px;
}

.carrito-btn-full{
  width:100%;
}

.carrito-resumen-nota{
  margin-top:16px;
  font-size:13px;
  line-height:1.55;
  color:var(--texto-suave);
}

.carrito-actions-mobile{
  display:none;
}

.carrito-vacio{
  text-align:center;
  padding:36px 20px;
  background:#fff;
  border:1px solid var(--gris-linea);
}

.carrito-vacio-icono{
  font-size:42px;
  margin-bottom:12px;
}

.carrito-vacio h2{
  font-size:30px;
  margin-bottom:8px;
}

.carrito-vacio p{
  color:var(--texto-suave);
  font-size:15px;
}


.carrito-cantidad-control{
  display:grid;
  grid-template-columns:36px 1fr 36px;
  width:100%;
  max-width:140px;
  border:1px solid var(--gris-linea-fuerte);
  background:#fff;
  overflow:hidden;
}

.carrito-cantidad-btn{
  width:36px;
  height:40px;
  border:none;
  background:#f5f5f5;
  color:var(--texto);
  font-size:18px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:var(--trans);
}

.carrito-cantidad-btn:hover{
  background:#ececec;
  color:var(--rojo);
}

.carrito-cantidad-input{
  width:100%;
  min-width:0;
  height:40px;
  border:none;
  border-left:1px solid var(--gris-linea);
  border-right:1px solid var(--gris-linea);
  padding:0;
  text-align:center;
  background:#fff;
  font-size:15px;
  font-weight:700;
}

.carrito-cantidad-input::-webkit-outer-spin-button,
.carrito-cantidad-input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.carrito-stock-alerta {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #c62828;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.carrito-alerta-general {
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #c62828;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.btn:disabled,
.carrito-btn-full:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.2);
}

@media (max-width:980px){
  .carrito-layout{
    grid-template-columns:1fr;
  }

  .carrito-resumen{
    position:static;
  }
}

@media (max-width:780px){
  .carrito-item{
    grid-template-columns:1fr;
  }

  .carrito-item-media{
    max-width:180px;
  }

  .carrito-item-meta{
    grid-template-columns:1fr;
  }

  .carrito-price-block strong,
  .carrito-subtotal-block strong{
    font-size:22px;
  }

  .carrito-actions-mobile{
    display:grid;
    gap:10px;
    margin-top:16px;
  }
}

/* =========================================
   CARRITO PRECIOS PRO
========================================= */

.carrito-precios-block,
.carrito-cantidad-block,
.carrito-subtotal-block{
  padding:12px;
  background:var(--gris-fondo-suave);
  border:1px solid var(--gris-linea);
}

.carrito-precios-block{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.carrito-precio-mini-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.carrito-precio-mini-grid .mini-precio{
  min-height:68px;
  justify-content:center;
}

.carrito-precio-mini-grid .mini-label{
  font-size:10px;
}

.carrito-precio-mini-grid .mini-precio strong{
  font-size:18px;
}

.carrito-subtotal-duo{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.carrito-subtotal-linea{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding:8px 10px;
  background:#fff;
  border-left:3px solid var(--rojo);
}

.carrito-subtotal-linea small{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:var(--texto-suave);
}

.carrito-subtotal-linea strong{
  font-size:18px;
  line-height:1;
  color:var(--rojo);
}

.carrito-subtotal-linea.efectivo{
  border-left-color:var(--verde);
}

.carrito-subtotal-linea.efectivo strong{
  color:#16734b;
}

.carrito-resumen-precios{
  display:grid;
  gap:12px;
  margin-top:14px;
}

.carrito-resumen-precio{
  padding:16px;
  background:#fff;
  border:1px solid var(--gris-linea);
  position:relative;
}

.carrito-resumen-precio::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:var(--gris-linea);
}

.carrito-resumen-precio span{
  display:block;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--texto-suave);
  margin-bottom:8px;
}

.carrito-resumen-precio strong{
  display:block;
  font-size:30px;
  line-height:1;
  font-weight:900;
  margin-bottom:8px;
}

.carrito-resumen-precio em{
  display:block;
  font-style:normal;
  font-size:13px;
  color:var(--texto-suave);
}

.carrito-resumen-precio.tarjeta::before{
  background:var(--rojo);
}

.carrito-resumen-precio.tarjeta span,
.carrito-resumen-precio.tarjeta strong{
  color:var(--rojo);
}

.carrito-resumen-precio.efectivo::before{
  background:var(--verde);
}

.carrito-resumen-precio.efectivo span{
  color:var(--verde);
}

.carrito-resumen-precio.efectivo strong{
  color:#16734b;
}

.carrito-resumen-precio.efectivo em{
  color:#16734b;
  font-weight:700;
}

@media (max-width:780px){
  .carrito-precio-mini-grid{
    grid-template-columns:1fr;
  }

  .carrito-resumen-precio strong{
    font-size:26px;
  }
}

/* =========================================================
   LOGIN / CONTACTO
========================================================= */

.form-box{
  max-width:520px;
  margin:0 auto;
  background:#fff;
  padding:28px;
}

.form-box h1{
  font-size:30px;
  margin-bottom:10px;
}

.form-row{
  margin-bottom:16px;
}

.form-row label{
  display:block;
  font-size:14px;
  font-weight:bold;
  margin-bottom:7px;
}

.form-row input,
.form-row textarea,
.form-row select{
  width:100%;
  min-height:48px;
  border:1px solid var(--gris-linea-fuerte);
  padding:0 14px;
  background:#fff;
  outline:none;
}

.form-row textarea{
  min-height:130px;
  padding:14px;
  resize:vertical;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus{
  border-color:var(--rojo);
}

/* =========================================================
   PRODUCTO NUEVO - GALERIA
========================================================= */

.producto-slider{
  width:100%;
  height:100%;
  position:relative;
}

.producto-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}

.producto-slide.is-active{
  opacity:1;
  pointer-events:auto;
}

.producto-thumbs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.producto-thumb{
  width:72px;
  height:72px;
  border:1px solid var(--gris-linea);
  background:#fff;
  padding:6px;
  cursor:pointer;
}

.producto-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.producto-thumb.is-active{
  border-color:var(--rojo);
}

.stock-ok{
  color:var(--verde);
}

.stock-off{
  color:var(--rojo);
}

.page-header-box-marca{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.page-header-box-marca p{
  padding: 30px;
}

.page-header-box-marca::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fade-bottom);
  pointer-events: none;
}

.page-header-box-marca > *{
  position: relative;
  z-index: 1;
}

.marca-hero-logo-wrap{
  margin: 0 auto 18px;
  display: flex;
  justify-content: center;
}

.marca-hero-logo{
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  padding: 14px 18px;
}

@media (max-width: 768px){
  .marca-hero-logo{
    max-width: 200px;
    padding: 10px 14px;
  }
}

/* =========================================================
   NOSOTROS - TIMELINE NUEVA
========================================================= */

.nosotros-historia-wrap{
  position: relative;
  overflow: hidden;
}

.nosotros-timeline-head{
  margin-bottom: 16px;
  background: var(--fade-bottom);
  text-align: center;
}

.nosotros-timeline-head img{
  max-width: 720px;
  width: 100%;
  height: auto;
  display: inline-block;
}

.nosotros-timeline{
  position: relative;
  width: 100%;
  padding: 28px 0 36px;
}

.timeline-line-base{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(220,220,220,0.15) 0%,
    rgba(220,220,220,0.75) 10%,
    rgba(220,220,220,0.75) 90%,
    rgba(220,220,220,0.15) 100%
  );
  pointer-events: none;
}

.timeline-line-progress{
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 0;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    var(--rojo) 0%,
    #e04a4a 50%,
    var(--amarillo) 100%
  );
  box-shadow: 0 0 18px rgba(198,40,40,0.24);
  z-index: 1;
  pointer-events: none;
}

.timeline-item{
  position: relative;
  width: 50%;
  padding: 18px 40px 18px 40px;
  z-index: 2;
}

.timeline-item.left{
  left: 0;
}

.timeline-item.right{
  left: 50%;
}

.timeline-dot{
  position: absolute;
  top: 40px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid var(--gris-linea-fuerte);
  box-shadow: 0 0 0 0 rgba(198,40,40,0);
  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease,
    box-shadow .35s ease;
  z-index: 3;
}

.timeline-item.left .timeline-dot{
  right: -9px;
}

.timeline-item.right .timeline-dot{
  left: -9px;
}

.timeline-item.is-active .timeline-dot{
  background: var(--rojo);
  border-color: #fff;
  transform: scale(1.15);
  box-shadow:
    0 0 0 6px rgba(198,40,40,0.12),
    0 0 18px rgba(198,40,40,0.28);
}

.timeline-content{
  background: #fff;
  border: 1px solid var(--gris-linea);
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.04);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.timeline-content::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background: var(--rojo);
}

.timeline-item:hover .timeline-content{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.07);
}

.timeline-year{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  margin-bottom: 10px;
  background: rgba(198,40,40,0.08);
  color: var(--rojo);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.timeline-content h3{
  font-size: 24px;
  line-height: 1.08;
  margin-bottom: 10px;
  color: var(--texto);
}

.timeline-content p{
  color: var(--texto-suave);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.timeline-content.mundo{
  background: linear-gradient(
    180deg,
    rgba(247,247,247,0.95) 0%,
    rgba(255,255,255,1) 100%
  );
}

.timeline-content.mundo::before{
  background: var(--amarillo);
}

.timeline-content.mundo .timeline-year{
  background: rgba(244,195,24,0.16);
  color: #8b6a00;
}

.timeline-figure{
  margin: 0;
}

.timeline-figure img{
  width: 100%;
  display: block;
  border: 1px solid var(--gris-linea);
}

.timeline-figure figcaption{
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--texto-suave);
  background: #f7f7f7;
  padding: 10px;
}

.timeline-item.is-revealed .timeline-content{
  will-change: transform, opacity;
}

/* fallback sin animejs */
.no-anime .timeline-item{
  opacity: 1 !important;
  transform: none !important;
}



/* =========================================================
   TERMINOS Y CONDICIONES
========================================================= */

.terminosycondiciones{

}

.terminosycondiciones h3{
  margin: 20px 0 10px;
}

.terminosycondiciones p{
  margin-left: 25px;  
  margin-bottom: 5px;
}

.terminosycondiciones ul{
  margin-left: 55px;
  list-style: disc;
}

/* =========================================================
   MOVIL
========================================================= */

@media (max-width: 980px){
  .timeline-content h3{
    font-size: 21px;
  }
}

@media (max-width: 780px){
  .nosotros-timeline{
    padding-left: 0;
  }

  .timeline-line-base,
  .timeline-line-progress{
    left: 18px;
    transform: none;
  }

  .timeline-item,
  .timeline-item.left,
  .timeline-item.right{
    width: 100%;
    left: 0;
    padding: 0 0 18px 48px;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot{
    left: 9px;
    right: auto;
    top: 32px;
  }

  .timeline-content{
    padding: 18px;
  }

  .timeline-content h3{
    font-size: 20px;
  }
}

/* MOBILE */
@media (max-width:780px){

  .timeline-line{
    left:20px;
  }

  .timeline-item{
    width:100%;
    padding-left:60px;
    padding-right:10px;
  }

  .timeline-item.left,
  .timeline-item.right{
    left:0;
    text-align:left;
  }

  .timeline-dot{
    left:20px;
  }

  .footer-brand{
    text-align: center;
  }

  .footer-logo-link{
    justify-content: center;
  }

  .footer-brand-text{
    margin: 0 auto;
  }
}

@media (max-width:1100px){

  .footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-brand{
    grid-column: 1 / -1;
    padding-right: 0;
  }
}



.mobile-nav-group .mobile-submenu{
  display:none;
}

.mobile-nav-group.open .mobile-submenu{
  display:grid;
}

.mobile-cat-toggle{
  position:relative;
}

.mobile-cat-toggle::after{
  content:"+";
  float:right;
  font-size:18px;
  line-height:1;
}

.mobile-nav-group.open .mobile-cat-toggle::after{
  content:"−";
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:1100px){

  .desktop{
    display: block;
  }
  .mobile{
    display: none;
  }

  .hero-grid,
  .producto-detalle,
  .content-grid,
  .footer-grid,
  .banners-grid{
    grid-template-columns:1fr;
  }

  .categorias-grid{
    grid-template-columns:repeat(3, 1fr);
  }

  .productos-grid{
    grid-template-columns:repeat(3, 1fr);
  }

  .beneficios-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .page-header{
  }

  .marca-texto-header{
    display: none;    
  }

  .producto-info-producto{
    display: block;
  }

  .page-header-producto{
    display: none;
  }
}

@media (max-width:780px){

  body{
    padding-top:0;
  }

  .desktop{
    display: none;
  }
  .mobile{
    display: block;
  }

  .topbar{
    display:none;
  }

  .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    padding:10px 0;
  }

  .search-box{
    padding:4px 6px 4px 10px;
    border-radius:8px;
  }

  .search-box input{
    height:34px;
    font-size:13px;
  }

  .search-box button{
    height:34px;
    min-width:34px;
    border-radius:8px;
  }

  .hero h1{
    font-size:34px;
  }

  .titulo-seccion{
    flex-direction:column;
    align-items:flex-start;
  }

  .categorias-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .productos-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .beneficios-grid{
    grid-template-columns:1fr;
  }

  .page-header-box h1,
  .producto-info h1{
    font-size:28px;
  }

  .product-price strong{
    font-size:24px;
  }

  .producto-precio .actual{
    font-size:34px;
  }

  .producto-rating-box{
    padding:14px;
  }

  .rating-star,
  .rating-star-btn{
    width:24px;
    height:24px;
    font-size:24px;
  }

  .product-lightbox-dialog{
    width: 96vw;
    height: 88vh;
    grid-template-columns: 42px 1fr 42px;
    gap: 8px;
  }

  .product-lightbox-nav{
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .product-lightbox-close{
    width: 40px;
    height: 40px;
    font-size: 28px;
    top: -4px;
  }

  .nosotros-intro-texto,
  .nosotros-bloque{
    padding:22px;
  }

  .nosotros-bloque-head h2{
    font-size:24px;
  }

  .nosotros-frase-inner span{
    font-size:42px;
  }

  .nosotros-frase-inner p{
    font-size:16px;
  }
  
  .hero-slider {
    min-height: 430px;
  }

  .hero-slide-inner{
      min-height: 430px;
  }

  .hero-content {
      min-height: 430px;
      padding: 26px 18px 150px;
  }

  .hero-media{
      height: 58%;
  }

  .hero-content {
    padding: 10px 22px 12px;
    max-width: 100%;
  }

  .hero-content-pro h1{
    text-transform: uppercase;
    font-weight: 900;
      font-size: 27px;
    line-height: .96;
    margin-bottom: 10px;
  }

  .hero-content-pro p{
    margin-bottom: 14px;
  }

  .hero-product-image{
      height: 100%;
      object-fit: contain;
      object-position: center bottom;
  }

  .hero-nav {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .hero-prev {
    left: 8px;
  }

  .hero-next {
    right: 8px;
  }
  
  .hero-oferta-valor {
    font-size: 50px;
  }

  .hero-oferta-porcentaje {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .hero-oferta-texto {
    font-size: 24px;
  }

  .whatsapp-float{
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-float a{
    padding: 10px 14px;
    font-size: 14px;
  }

  .whatsapp-icon{
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .whatsapp-text{
    display: none;
  }
  .categorias-slider-wrap {
    gap: 6px;
  }

  .categoria-item {
    flex: 0 0 130px;
    min-width: 130px;
    max-width: 130px;
    padding: 14px 10px;
  }

  .categoria-icon {
    width: 64px;
    height: 64px;
  }

  .categoria-item h3 {
    font-size: 14px;
  }

  .categorias-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
    flex-basis: 36px;
  }
  
  .footer-top{
    padding: 34px 0 24px;
  }

  .footer-grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-logo{
    max-width: 150px;
    margin-bottom: 12px;
  }

  .footer-col h4{
    margin-bottom: 10px;
  }

  .footer-bottom-inner{
    min-height: auto;
    padding: 14px 0;
  }
}

@media (max-width:520px){

  .container{
    padding:0 12px;
  }

  .categorias-grid,
  .productos-grid{
    grid-template-columns:1fr;
  }

  .nav-menu{
    gap:4px;
  }

  .nav-menu a{
    padding:6px 8px;
    font-size:12px;
  }

  .hero h1{
    font-size:28px;
  }

  .product-title{
    font-size:22px;
  }


  .mini-precio strong{
    font-size:30px;
  }

}

/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.whatsapp-float a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border:1px solid #1faa53;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: var(--trans);
}

.whatsapp-float a:hover{
  background:#21bd5d;
}

.whatsapp-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.whatsapp-text{
  white-space: nowrap;
}

