/* ==========================================================================
   RG Repuestos Güemes — Tienda online
   Formato de tienda (megatecno) + identidad de rg-gb.com:
   negro carbón · ámbar/oro · rojo carrera · blanco humo · Anton / Barlow Condensed / Inter
   ========================================================================== */
:root{
  --negro:#0d0d0f; --negro-2:#141416; --negro-3:#1b1b1f; --panel:#17171a;
  --linea:rgba(255,255,255,.08); --linea-fuerte:rgba(255,255,255,.16);
  --humo:#f4f4f5; --gris:#a7a7ad; --gris-suave:#c9c9cf;
  --oro:#ffb400; --oro-oscuro:#e0930b; --oro-glow:rgba(255,180,0,.35);
  --rojo:#e4322b; --verde-wa:#25d366;
  --fuente-display:"Anton","Arial Narrow",sans-serif;
  --fuente-cond:"Barlow Condensed","Arial Narrow",sans-serif;
  --fuente-texto:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --ancho:1240px; --radio:14px; --radio-s:10px;
  --sombra:0 24px 60px -20px rgba(0,0,0,.65);
  --t:.28s cubic-bezier(.4,.14,.3,1);
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--fuente-texto);background:var(--negro);color:var(--humo);line-height:1.6;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
ul,ol{list-style:none}
svg{flex-shrink:0}
:focus-visible{outline:3px solid var(--oro);outline-offset:3px;border-radius:4px}
::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:var(--negro)}::-webkit-scrollbar-thumb{background:var(--oro);border-radius:10px}
h1,h2,h3{font-family:var(--fuente-display);font-weight:400;line-height:1;letter-spacing:.01em;text-transform:uppercase}
.oro{color:var(--oro)}
.contenedor{width:min(var(--ancho),92vw);margin-inline:auto}
.seccion{padding:clamp(3.5rem,7vw,6rem) 0}
.centrado{text-align:center}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-9999px;top:0;z-index:3000;background:var(--oro);color:#161200;padding:.6rem 1rem;font-weight:700}
.skip-link:focus{left:1rem;top:1rem}
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;font-family:var(--fuente-cond);text-transform:uppercase;letter-spacing:.22em;font-weight:600;font-size:.82rem;color:var(--oro)}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--oro)}
.section-title{font-size:clamp(2rem,4.6vw,3.2rem);text-align:center;margin-bottom:2.6rem;color:#fff}
.section-title::after{content:"";display:block;width:60px;height:4px;margin:1rem auto 0;background:linear-gradient(90deg,var(--oro),var(--rojo));border-radius:2px}

/* ---------- botones ---------- */
.btn-hero,.btn-ghost,.final-btn,.btn-checkout{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  font-family:var(--fuente-cond);font-weight:700;font-size:1.08rem;text-transform:uppercase;letter-spacing:.08em;
  padding:1rem 2rem;border-radius:var(--radio-s);transition:var(--t);
}
.btn-hero,.final-btn,.btn-checkout{background:var(--oro);color:#161200;box-shadow:0 0 22px -4px var(--oro-glow)}
.btn-hero:hover,.final-btn:hover,.btn-checkout:hover{background:#ffc633;transform:translateY(-2px);box-shadow:0 0 34px -2px var(--oro-glow)}
.btn-ghost{border:1px solid var(--linea-fuerte);color:#fff}
.btn-ghost:hover{border-color:var(--oro);color:var(--oro)}
.final-btn svg,.btn-hero svg{width:22px;height:22px}

/* ---------- franja superior ---------- */
.anuncio{background:var(--oro);color:#161200;font-family:var(--fuente-cond);font-weight:600;font-size:.92rem;letter-spacing:.04em;
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.4rem 1.4rem;padding:.45rem 1rem;text-align:center}
.anuncio span{display:inline-flex;align-items:center;gap:.45rem}
.anuncio svg{width:17px;height:17px}
.anuncio-arrep{text-transform:uppercase;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* ---------- header ---------- */
.navbar{position:sticky;top:0;z-index:1000;background:rgba(13,13,15,.9);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--linea)}
.navbar-fila{display:flex;align-items:center;gap:1.4rem;padding:.85rem 0}
.marca{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.marca svg{width:48px;height:48px}
.marca-texto{display:flex;flex-direction:column;line-height:1.05}
.marca-texto b{font-family:var(--fuente-display);font-weight:400;font-size:1.25rem;letter-spacing:.03em;text-transform:uppercase}
.marca-texto span{font-family:var(--fuente-cond);font-size:.8rem;color:var(--oro);letter-spacing:.2em;text-transform:uppercase}
.search-container{flex:1;display:flex;max-width:620px;margin-inline:auto;background:var(--negro-3);border:1px solid var(--linea-fuerte);border-radius:999px;overflow:hidden;transition:var(--t)}
.search-container:focus-within{border-color:var(--oro);box-shadow:0 0 0 3px rgba(255,180,0,.15)}
.search-container input{flex:1;min-width:0;background:none;border:0;color:#fff;padding:.75rem 1.2rem;font:inherit;font-size:.95rem;outline:none}
.search-container input::placeholder{color:var(--gris)}
.search-container button{padding:0 1.1rem;color:var(--oro)}
.search-container button svg{width:20px;height:20px}
.nav-icons{display:flex;align-items:center;gap:.5rem;flex-shrink:0}
.nav-wa{display:inline-flex;align-items:center;gap:.45rem;padding:.55rem .9rem;border-radius:999px;border:1px solid rgba(37,211,102,.4);color:var(--verde-wa);font-family:var(--fuente-cond);font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:.92rem;transition:var(--t)}
.nav-wa:hover{background:rgba(37,211,102,.1)}
.nav-wa svg{width:20px;height:20px}
.open-cart-btn{position:relative;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:var(--negro-3);border:1px solid var(--linea-fuerte);transition:var(--t)}
.open-cart-btn:hover{border-color:var(--oro);color:var(--oro)}
.open-cart-btn svg{width:22px;height:22px}
.cart-count-badge{position:absolute;top:-4px;right:-4px;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:var(--rojo);color:#fff;font-size:.72rem;font-weight:700;display:grid;place-items:center}
.menu-toggle{display:none;width:46px;height:46px;place-items:center}
.menu-toggle svg{width:26px;height:26px}

.nav-rubros{border-top:1px solid var(--linea);background:var(--negro-2)}
.nav-menu{display:flex;flex-wrap:wrap;gap:.2rem}
.nav-menu>li{position:relative}
.nav-link{display:inline-flex;align-items:center;gap:.4rem;padding:.7rem .95rem;font-family:var(--fuente-cond);font-weight:600;font-size:.98rem;text-transform:uppercase;letter-spacing:.08em;color:var(--gris-suave);transition:var(--t)}
.nav-link:hover,.nav-menu>li:hover>.nav-link{color:var(--oro)}
.nav-link--taller{color:var(--oro)}
.nav-link svg{width:16px;height:16px}
.submenu{position:absolute;top:100%;left:0;min-width:230px;background:var(--panel);border:1px solid var(--linea-fuerte);border-top:2px solid var(--oro);border-radius:0 0 var(--radio-s) var(--radio-s);padding:.5rem 0;box-shadow:var(--sombra);
  opacity:0;visibility:hidden;transform:translateY(6px);transition:var(--t);z-index:10}
.nav-menu>li:hover>.submenu,.nav-menu>li:focus-within>.submenu{opacity:1;visibility:visible;transform:none}
.submenu a{display:block;padding:.5rem 1.1rem;font-size:.92rem;color:var(--gris-suave)}
.submenu a:hover{color:#fff;background:rgba(255,180,0,.08)}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;min-height:min(78vh,680px);display:flex;align-items:center;padding:4rem 0;
  background:radial-gradient(circle at 78% 38%,rgba(255,180,0,.18) 0%,transparent 45%),radial-gradient(circle at 15% 85%,rgba(228,50,43,.14) 0%,transparent 40%),var(--negro)}
.hero__bg{position:absolute;inset:0;opacity:.18}
.hero__bg img{width:100%;height:100%;object-fit:cover;filter:grayscale(.4)}
.hero::after{content:"";position:absolute;inset:auto 0 0;height:180px;background:linear-gradient(to top,var(--negro),transparent);pointer-events:none}
.hero__inner{position:relative;z-index:2;display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:2rem}
.hero-tag{display:block;color:var(--oro);font-family:var(--fuente-cond);font-weight:700;text-transform:uppercase;letter-spacing:.24em;font-size:.9rem;margin-bottom:1.2rem}
.hero h1{font-size:clamp(2.8rem,7.4vw,5.4rem);line-height:.95;margin-bottom:1.4rem;color:#fff}
.hero h1 span{color:var(--oro);text-shadow:0 0 30px var(--oro-glow)}
.hero-lead{max-width:54ch;color:var(--gris-suave);font-size:1.08rem;margin-bottom:2rem}
.hero-acciones{display:flex;flex-wrap:wrap;gap:1rem}
.hero-logo{width:100%;max-width:380px;justify-self:center;filter:drop-shadow(0 0 40px rgba(255,180,0,.25))}

/* ---------- beneficios ---------- */
.beneficios{background:var(--negro-2);border-block:1px solid var(--linea)}
.beneficios ul{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;padding:1.6rem 0}
.beneficios li{display:flex;align-items:center;gap:.9rem}
.beneficios li>svg{width:38px;height:38px;color:var(--oro);padding:8px;border-radius:10px;background:rgba(255,180,0,.1)}
.beneficios strong{display:block;font-family:var(--fuente-cond);font-size:1.1rem;text-transform:uppercase;letter-spacing:.04em;line-height:1.15}
.beneficios span{font-size:.85rem;color:var(--gris)}

/* ---------- rubros ---------- */
.coleccion-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.2rem}
.coleccion{position:relative;display:flex;flex-direction:column;gap:1.2rem;padding:1.6rem;min-height:210px;border-radius:var(--radio);background:linear-gradient(160deg,var(--negro-3),var(--panel));border:1px solid var(--linea);overflow:hidden;transition:var(--t)}
.coleccion::after{content:"";position:absolute;right:-40px;bottom:-40px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(255,180,0,.16),transparent 70%);transition:var(--t)}
.coleccion:hover{transform:translateY(-6px);border-color:var(--oro);box-shadow:var(--sombra)}
.coleccion:hover::after{transform:scale(1.6)}
.coleccion-icono{width:58px;height:58px;display:grid;place-items:center;border-radius:14px;background:rgba(255,180,0,.1);color:var(--oro)}
.coleccion-icono svg{width:32px;height:32px}
.coleccion-texto{display:flex;flex-direction:column;gap:.2rem;margin-top:auto}
.coleccion-texto strong{font-family:var(--fuente-display);font-weight:400;font-size:1.5rem;text-transform:uppercase;letter-spacing:.02em}
.coleccion-texto small{color:var(--gris);font-size:.88rem}
.coleccion-texto em{font-style:normal;display:inline-flex;align-items:center;gap:.4rem;margin-top:.5rem;color:var(--oro);font-family:var(--fuente-cond);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.9rem}
.coleccion-texto em svg{width:16px;height:16px;transition:var(--t)}
.coleccion:hover em svg{transform:translateX(4px)}
.coleccion--wa .coleccion-icono{background:rgba(37,211,102,.12);color:var(--verde-wa)}
.coleccion--wa .coleccion-texto em{color:var(--verde-wa)}

/* ---------- productos ---------- */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.6rem}
.product-card{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--linea);border-radius:var(--radio);overflow:hidden;transition:var(--t)}
.product-card:hover{transform:translateY(-8px);border-color:var(--oro);box-shadow:0 14px 34px rgba(0,0,0,.5),0 0 16px rgba(255,180,0,.15)}
.product-img-wrapper{position:relative;aspect-ratio:1/1;overflow:hidden;background:#fff}
.product-img{width:100%;height:100%;object-fit:contain;transition:var(--t)}
.product-card:hover .product-img{transform:scale(1.06)}
.product-img--icono{display:grid;place-items:center;color:var(--oro);background:radial-gradient(circle at 50% 40%,#25252b,var(--negro-3))}
.product-img--icono svg{width:42%;height:42%;opacity:.85}
.badge-nuevo{position:absolute;top:12px;left:12px;z-index:2;background:var(--rojo);color:#fff;font-family:var(--fuente-cond);font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;padding:.2rem .65rem;border-radius:6px}
.product-info{display:flex;flex-direction:column;flex:1;padding:1.2rem 1.3rem 1.3rem}
.product-category{font-family:var(--fuente-cond);font-size:.82rem;color:var(--oro);text-transform:uppercase;font-weight:700;letter-spacing:.1em;margin-bottom:.35rem}
.product-title{font-family:var(--fuente-texto);text-transform:none;font-size:1rem;font-weight:600;line-height:1.35;margin-bottom:.9rem;color:#fff}
.price-value{font-family:var(--fuente-display);font-size:1.7rem;letter-spacing:.02em;line-height:1;margin-top:auto}
.price-value--consultar{font-size:1.35rem;color:var(--gris-suave)}
.price-efectivo{margin-top:.35rem;color:var(--oro);font-weight:700;font-size:.95rem}
.price-efectivo small{color:var(--gris);font-weight:400;font-size:.78rem}
.price-cuotas{display:flex;align-items:center;gap:.35rem;margin-top:.25rem;font-size:.8rem;color:var(--gris)}
.price-cuotas svg{width:15px;height:15px}
.btn-buy{width:100%;margin-top:1rem;padding:.8rem;border-radius:var(--radio-s);background:var(--oro);color:#161200;display:flex;align-items:center;justify-content:center;gap:.5rem;font-family:var(--fuente-cond);font-weight:700;font-size:1rem;letter-spacing:.08em;text-transform:uppercase;transition:var(--t)}
.btn-buy svg{width:19px;height:19px}
.btn-buy:hover{background:#ffc633;box-shadow:0 0 20px var(--oro-glow)}

/* ---------- banner taller ---------- */
.servicios-banner{padding:0 0 1rem}
.servicios-caja{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;padding:clamp(1.8rem,4vw,3rem);border-radius:var(--radio);
  background:linear-gradient(110deg,rgba(13,13,15,.92) 40%,rgba(13,13,15,.55)),url(../img/service-cajas-automaticas.jpg) center/cover;border:1px solid var(--linea-fuerte)}
.servicios-caja h2{font-size:clamp(1.8rem,4vw,2.8rem);margin:.6rem 0 .8rem}
.servicios-caja p{max-width:56ch;color:var(--gris-suave)}
.servicios-botones{display:flex;gap:.8rem;flex-wrap:wrap}
.servicios-botones a{display:inline-flex;align-items:center;gap:.5rem;padding:.9rem 1.4rem;border-radius:var(--radio-s);font-family:var(--fuente-cond);font-weight:700;text-transform:uppercase;letter-spacing:.06em;border:1px solid var(--linea-fuerte);transition:var(--t)}
.servicios-botones a:first-child{background:var(--verde-wa);border-color:var(--verde-wa);color:#06290f}
.servicios-botones a:hover{transform:translateY(-2px);border-color:var(--oro)}
.servicios-botones svg{width:20px;height:20px}

/* ---------- pasos ---------- */
.pasos-lista{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;counter-reset:p}
.pasos-lista li{padding:2rem 1.6rem;border-radius:var(--radio);background:var(--panel);border:1px solid var(--linea);text-align:center}
.paso-num{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 1rem;border-radius:50%;background:var(--oro);color:#161200;font-family:var(--fuente-display);font-size:1.7rem;box-shadow:0 0 24px var(--oro-glow)}
.pasos-lista h3{font-size:1.45rem;margin-bottom:.6rem}
.pasos-lista p{color:var(--gris);font-size:.95rem}

/* ---------- catálogo ---------- */
.catalogo-cabecera{padding-top:2.2rem}
.migas{font-size:.85rem;color:var(--gris);margin-bottom:.8rem}
.migas a:hover{color:var(--oro)}
.migas span{color:var(--gris-suave)}
.catalogo-cabecera h1{font-size:clamp(2.2rem,5vw,3.4rem)}
.catalogo-cuenta{color:var(--gris);margin:.4rem 0 1.4rem}
.chips{display:flex;gap:.55rem;overflow-x:auto;padding-bottom:.4rem;scrollbar-width:thin}
.chip{flex-shrink:0;padding:.45rem 1rem;border-radius:999px;border:1px solid var(--linea-fuerte);font-size:.88rem;color:var(--gris-suave);transition:var(--t)}
.chip:hover{border-color:var(--oro);color:var(--oro)}
.chip.activo{background:var(--oro);border-color:var(--oro);color:#161200;font-weight:600}
.seccion--catalogo{padding-top:2rem}
.paginacion{display:flex;justify-content:center;gap:.5rem;margin-top:2.6rem}
.paginacion a{min-width:42px;height:42px;display:grid;place-items:center;border-radius:var(--radio-s);border:1px solid var(--linea-fuerte);font-weight:600}
.paginacion a:hover{border-color:var(--oro)}
.paginacion a.activo{background:var(--oro);border-color:var(--oro);color:#161200}
.vacio{max-width:560px;margin:1rem auto;text-align:center;padding:3rem 1.5rem;border:1px dashed var(--linea-fuerte);border-radius:var(--radio)}
.vacio>svg{width:52px;height:52px;color:var(--oro);margin:0 auto 1rem}
.vacio h2{font-size:1.8rem;margin-bottom:.6rem}
.vacio p{color:var(--gris);margin-bottom:1.6rem}

/* ---------- carrito ---------- */
.cart-overlay{position:fixed;inset:0;z-index:1900;background:rgba(0,0,0,.6);opacity:0;visibility:hidden;transition:var(--t)}
.cart-overlay.active{opacity:1;visibility:visible}
.cart-drawer{position:fixed;top:0;right:0;z-index:2000;width:100%;max-width:440px;height:100vh;height:100dvh;display:flex;flex-direction:column;
  background:rgba(13,13,15,.97);backdrop-filter:blur(20px);border-left:2px solid var(--oro);box-shadow:-15px 0 50px rgba(0,0,0,.9);
  transform:translateX(105%);transition:transform .5s cubic-bezier(.16,1,.3,1)}
.cart-drawer.active{transform:none}
.cart-header{display:flex;justify-content:space-between;align-items:center;padding:1.4rem 1.5rem;border-bottom:1px solid var(--linea);background:linear-gradient(90deg,rgba(255,180,0,.1),transparent)}
.cart-header-titulo{display:flex;align-items:center;gap:.8rem}
.cart-header-titulo svg{width:40px;height:40px}
.cart-header h2{font-size:1.8rem;letter-spacing:.04em}
.close-cart{width:40px;height:40px;display:grid;place-items:center;color:var(--gris);transition:var(--t)}
.close-cart svg{width:24px;height:24px}
.close-cart:hover{color:var(--oro);transform:rotate(90deg)}
.cart-items{flex:1;overflow-y:auto;padding:1.2rem}
.cart-vacio{color:var(--gris);text-align:center;padding:2rem 0}
.cart-vacio a{color:var(--oro);text-decoration:underline}
.cart-item{display:flex;gap:.9rem;margin-bottom:.9rem;padding:.9rem;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid var(--linea)}
.cart-item-img{width:64px;height:64px;border-radius:8px;object-fit:contain;background:#fff;flex-shrink:0}
.cart-item-img--vacia{display:grid;place-items:center;background:var(--negro-3);color:var(--oro);font-family:var(--fuente-display);font-size:1.3rem}
.cart-item-info{flex:1;min-width:0}
.cart-item-title{font-size:.92rem;font-weight:600;line-height:1.3;margin-bottom:.25rem}
.cart-item-price{color:var(--oro);font-weight:700}
.cart-item-qty{font-size:.82rem;color:var(--gris)}
.cart-item-ctl{display:flex;align-items:center;gap:.5rem;margin-top:.5rem}
.qty-btn{width:30px;height:30px;border-radius:8px;border:1px solid var(--linea-fuerte);font-weight:700}
.qty-btn:hover{border-color:var(--oro);color:var(--oro)}
.qty-num{min-width:22px;text-align:center;font-weight:600}
.cart-item-remove{margin-left:auto;color:#ff6b63;font-size:.8rem}
.cart-footer{padding:1.4rem 1.5rem;border-top:1px solid var(--linea);background:rgba(0,0,0,.3)}
.cart-total{display:flex;justify-content:space-between;font-family:var(--fuente-display);font-size:1.6rem;letter-spacing:.02em}
.cart-total-efectivo{color:var(--oro);font-size:.9rem;margin:.2rem 0 1rem}
.btn-checkout{width:100%}
.btn-checkout[aria-disabled="true"]{opacity:.5}
.aviso{position:fixed;left:50%;bottom:28px;z-index:2500;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--oro);color:#161200;font-weight:700;padding:.7rem 1.3rem;border-radius:999px;box-shadow:var(--sombra);transition:var(--t)}
.aviso.visible{opacity:1;transform:translate(-50%,0)}

/* ---------- checkout y formularios ---------- */
.checkout-container{display:grid;grid-template-columns:1.4fr 1fr;gap:2rem;align-items:start;padding:2.5rem 0 4rem}
.checkout-form,.order-summary{background:var(--panel);border:1px solid var(--linea);border-radius:var(--radio);padding:clamp(1.3rem,3vw,2rem)}
.order-summary{position:sticky;top:150px}
.checkout-form h1,.order-summary h2{font-size:2rem;margin-bottom:1.4rem}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}
.form-group{display:flex;flex-direction:column;gap:.35rem}
.form-group.full-width{grid-column:1/-1}
.form-group label,.opciones legend{font-family:var(--fuente-cond);font-weight:600;text-transform:uppercase;letter-spacing:.08em;font-size:.88rem;color:var(--gris-suave)}
.form-group small{color:var(--gris);font-size:.8rem}
input,textarea,select{width:100%;background:var(--negro-3);border:1px solid var(--linea-fuerte);border-radius:var(--radio-s);color:#fff;padding:.8rem 1rem;font:inherit;font-size:.95rem;transition:var(--t)}
input:focus,textarea:focus{outline:none;border-color:var(--oro);box-shadow:0 0 0 3px rgba(255,180,0,.15)}
input[type=radio]{width:auto}
textarea{resize:vertical}
.opciones{border:0;margin-bottom:1.2rem}
.opciones legend{margin-bottom:.6rem}
.opcion{display:flex;align-items:flex-start;gap:.8rem;padding:1rem;margin-bottom:.6rem;border:1px solid var(--linea-fuerte);border-radius:var(--radio-s);cursor:pointer;transition:var(--t)}
.opcion:has(input:checked){border-color:var(--oro);background:rgba(255,180,0,.06)}
.opcion input{margin-top:.3rem;accent-color:var(--oro)}
.opcion span{display:grid;grid-template-columns:auto 1fr;column-gap:.6rem}
.opcion span svg{width:22px;height:22px;color:var(--oro);grid-row:span 2}
.opcion small{color:var(--gris);font-size:.85rem}
.legal-nota{font-size:.82rem;color:var(--gris);margin:1rem 0}
.legal-nota a{color:var(--oro);text-decoration:underline}
.form-error{color:#ff6b63;font-weight:600;margin-bottom:.8rem}
.final-btn{width:100%;background:var(--verde-wa);color:#06290f;box-shadow:0 0 22px -4px rgba(37,211,102,.4)}
.final-btn:hover{background:#3be07a;box-shadow:0 0 30px -4px rgba(37,211,102,.5)}
.summary-total{display:flex;justify-content:space-between;font-family:var(--fuente-display);font-size:1.8rem;padding-top:1rem;margin-top:.4rem;border-top:1px solid var(--linea)}
.summary-efectivo{color:var(--oro);font-weight:600;font-size:.92rem;margin-top:.2rem}
.summary-nota{margin-top:1rem;font-size:.82rem;color:var(--gris)}

.pagina-texto{max-width:820px}
.pagina-texto h1{font-size:clamp(2.2rem,5vw,3.4rem);margin-bottom:1.4rem}
.pagina-texto h2{font-size:1.5rem;margin:1.8rem 0 .6rem;color:var(--oro)}
.pagina-texto p{color:var(--gris-suave);margin-bottom:1rem}
.form-simple{margin:2rem 0 1rem;padding:clamp(1.3rem,3vw,2rem);background:var(--panel);border:1px solid var(--linea);border-radius:var(--radio)}

/* ---------- footer ---------- */
.pie{margin-top:3rem;background:var(--negro-2);border-top:1px solid var(--linea);padding-top:3.5rem}
.pie-grid{display:grid;grid-template-columns:1.3fr 1fr 1.2fr;gap:2.5rem;padding-bottom:2.5rem}
.pie-marca svg{width:170px;height:auto;margin-bottom:1rem}
.pie-marca p{color:var(--gris);max-width:36ch;font-size:.92rem}
.pie-redes{display:flex;gap:.6rem;margin-top:1.2rem}
.pie-redes a{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--linea-fuerte);transition:var(--t)}
.pie-redes a:hover{border-color:var(--oro);color:var(--oro)}
.pie-redes svg{width:20px;height:20px}
.pie h2{font-family:var(--fuente-cond);font-weight:700;font-size:1rem;letter-spacing:.18em;color:var(--oro);margin-bottom:1rem}
.pie ul li{margin-bottom:.5rem;font-size:.92rem;color:var(--gris-suave)}
.pie ul a{display:inline-flex;align-items:center;gap:.5rem;transition:var(--t)}
.pie ul a:hover{color:var(--oro)}
.pie ul svg{width:17px;height:17px}
.pie-horarios b{color:#fff;font-weight:600}
.pie-legal{display:flex;align-items:center;gap:1.6rem;flex-wrap:wrap;padding:1.6rem 0;border-top:1px solid var(--linea)}
.btn-arrepentimiento-pie{display:inline-block;padding:.75rem 1.2rem;border:2px solid var(--rojo);border-radius:var(--radio-s);color:#fff;font-family:var(--fuente-cond);font-weight:700;text-transform:uppercase;letter-spacing:.08em;transition:var(--t)}
.btn-arrepentimiento-pie:hover{background:var(--rojo)}
.pie-legal-texto{flex:1;min-width:260px;font-size:.8rem;color:var(--gris)}
.pie-legal-texto a{text-decoration:underline}
.ley-datos{margin-top:.4rem;font-size:.74rem;opacity:.8}
.copyright{text-align:center;padding:1.2rem 1rem;border-top:1px solid var(--linea);font-size:.8rem;color:var(--gris)}

.wa-flotante{position:fixed;right:20px;bottom:20px;z-index:900;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:var(--verde-wa);color:#fff;box-shadow:0 10px 30px rgba(37,211,102,.4);transition:var(--t)}
.wa-flotante:hover{transform:scale(1.08)}
.wa-flotante svg{width:30px;height:30px}

/* ---------- responsive ---------- */
@media (max-width:1020px){
  .beneficios ul{grid-template-columns:repeat(2,1fr)}
  .checkout-container{grid-template-columns:1fr}
  .order-summary{position:static;order:-1}
  .pie-grid{grid-template-columns:1fr 1fr}
  .pie-marca{grid-column:1/-1}
}
@media (max-width:860px){
  .navbar-fila{flex-wrap:wrap;gap:.8rem}
  .search-container{order:3;flex-basis:100%;max-width:none}
  .nav-icons{margin-left:auto}
  .nav-wa span{display:none}
  .menu-toggle{display:grid}
  .nav-rubros{display:none;max-height:70vh;overflow-y:auto}
  .nav-rubros:has(.abierto){display:block}
  .nav-menu{flex-direction:column;padding:.5rem 0}
  .submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;background:none;padding:0 0 .4rem 1rem;min-width:0;display:flex;flex-wrap:wrap;gap:.2rem}
  .submenu a{padding:.3rem .7rem;font-size:.85rem;border:1px solid var(--linea);border-radius:999px}
  .hero__inner{grid-template-columns:1fr}
  .hero-logo{display:none}
  .pasos-lista{grid-template-columns:1fr}
}
@media (max-width:560px){
  .marca-texto{display:none}
  .anuncio{font-size:.8rem}
  .beneficios ul{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
  .product-card{min-width:0}
  .product-title{overflow-wrap:anywhere}
  .price-value--consultar{font-size:1.1rem}
  .navbar-fila,.search-container{min-width:0}
  .product-info{padding:.9rem}
  .product-title{font-size:.88rem}
  .price-value{font-size:1.35rem}
  .price-efectivo small,.price-cuotas{display:none}
  .btn-buy{font-size:.85rem;padding:.65rem .4rem}
  .btn-buy svg{display:none}
  .pie-grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
