
:root{
  --red:#ed1018;
  --black:#0b0b0b;
  --white:#fff;
  --text:#151515;
  --muted:#626873;
  --line:#e5e5e5;
  --soft:#f6f7f8;
  --radius:12px;
  --container:1380px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:15px}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button,input{font:inherit}
.m-shell{width:min(calc(100% - 48px),var(--container));margin-inline:auto}
.m-icon{display:inline-flex;align-items:center;justify-content:center;line-height:0}
.m-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* TOP BAR */
.topbar{height:58px;background:#f5f6f7;border-top:1px solid #ececec;border-bottom:1px solid #e4e4e4}
.topbar-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
.topbar-welcome,.topbar-links,.topbar-links a{display:flex;align-items:center}
.topbar-welcome{gap:10px;font-size:15px}
.topbar-welcome .m-icon{width:26px;height:26px}
.topbar-welcome strong{color:var(--red)}
.topbar-links{gap:18px;font-size:15px}
.topbar-links a{gap:8px}
.topbar-links .m-icon{width:22px;height:22px;color:var(--red)}
.top-separator{width:1px;height:26px;background:#b9b9b9}

/* MAIN HEADER */
.header-main{height:150px;background:#fff;border-bottom:1px solid var(--line)}
.header-main-inner{height:100%;display:grid;grid-template-columns:220px minmax(420px,1fr) 350px;align-items:center;gap:30px}
.brand{display:flex;justify-content:center;align-items:center}
.brand img{width:180px;max-height:105px;object-fit:contain}
.header-search{height:64px;border:1.4px solid #c8ccd0;border-radius:12px;overflow:hidden;display:flex;background:#fff}
.header-search input{flex:1;min-width:0;border:0;outline:0;padding:0 20px;font-size:18px}
.header-search input::placeholder{color:#9a9da2}
.header-search button{width:170px;border:0;background:var(--red);color:#fff;border-radius:0 11px 11px 0;display:flex;align-items:center;justify-content:center;gap:11px;font-weight:700;font-size:18px;cursor:pointer;transition:.2s}
.header-search button:hover{background:#000}
.header-search button .m-icon{width:31px;height:31px}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:22px}
.head-icon-link{position:relative;display:inline-flex}
.head-icon-link .m-icon{width:37px;height:37px;color:#111}
.badge{position:absolute;right:-8px;top:-10px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;font-size:12px;font-weight:700}
.header-separator{width:1px;height:43px;background:#aaa}
.account-link{display:flex;align-items:center;gap:12px}
.account-link>.m-icon{width:40px;height:40px}
.account-copy{display:flex;flex-direction:column;line-height:1.15}
.account-copy strong{font-size:16px}
.account-copy small{font-size:15px;color:#5f5f5f;margin-top:2px}

/* NAV */
.main-nav-wrap{height:86px;background:#fff;border-bottom:1px solid var(--line)}
.main-nav{height:100%;display:grid;grid-template-columns:230px minmax(450px,1fr) 130px;align-items:center;gap:34px}
.categories-wrap{position:relative}
.categories-toggle{width:230px;height:54px;border:0;border-radius:12px;background:var(--red);color:#fff;display:grid;grid-template-columns:38px 1fr 26px;align-items:center;padding:0 17px;cursor:pointer;transition:.2s}
.categories-toggle:hover{background:#000}
.categories-toggle .m-icon:first-child{width:29px;height:29px}
.categories-toggle .m-icon:last-child{width:21px;height:21px}
.categories-toggle strong{font-size:18px;text-align:left}
.categories-dropdown{display:none;position:absolute;z-index:100;top:64px;left:0;width:230px;background:#fff;border:1px solid #e3e3e3;border-radius:11px;padding:8px;box-shadow:0 12px 28px rgba(0,0,0,.12)}
.categories-wrap.is-open .categories-dropdown{display:block}
.categories-dropdown ul{list-style:none;margin:0;padding:0}
.categories-dropdown a{display:block;padding:10px 11px;border-radius:7px;font-size:14px}
.categories-dropdown a:hover{background:#f5f5f5;color:var(--red)}
.empty-cat{font-size:12px;color:#777;padding:5px}
.primary-nav .menu{display:flex;justify-content:center;align-items:center;gap:52px;list-style:none;margin:0;padding:0}
.primary-nav a{display:block;position:relative;padding:30px 0;font-size:17px;font-weight:500}
.primary-nav a:hover,.primary-nav .current-menu-item>a{color:var(--red)}
.primary-nav .current-menu-item>a:after{content:"";position:absolute;left:-10px;right:-10px;bottom:12px;height:2px;background:var(--red)}
.social-nav{display:flex;justify-content:flex-end;gap:14px}
.social-nav a,.footer-socials a{width:47px;height:47px;border:1px solid #ffd0d2;border-radius:50%;background:#fff;color:var(--red);display:grid;place-items:center;box-shadow:0 3px 12px rgba(0,0,0,.06);transition:.22s}
.social-nav a:hover,.footer-socials a:hover{background:var(--red);color:#fff;transform:translateY(-3px) scale(1.04)}
.social-nav .m-icon,.footer-socials .m-icon{width:24px;height:24px}

/* HERO */
.hero-slider{position:relative;overflow:hidden;background:#f5f5f5}
.slide{display:none}
.slide.is-active{display:block}
.slide img{width:100%;height:auto}
.slider-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:#000;color:#fff;font-size:32px;line-height:36px;cursor:pointer}
.slider-prev{left:12px}.slider-next{right:12px}
.slider-dots{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:7px}
.dot{width:9px;height:9px;border:0;border-radius:50%;background:#fff;opacity:.85;padding:0;cursor:pointer}
.dot.is-active{background:var(--red);opacity:1}

/* BENEFITS */
.benefits{padding:13px 0 3px}
.benefits-grid{min-height:76px;background:#f6f6f6;border-radius:13px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;padding:9px 0}
.benefit{height:50px;display:flex;align-items:center;gap:14px;padding:0 22px;border-right:1px solid #c7c7c7}
.benefit:last-child{border-right:0}
.benefit>.m-icon{width:34px;height:34px;color:var(--red);flex:0 0 auto}
.benefit strong{display:block;font-size:14px;line-height:1.1}
.benefit small{display:block;margin-top:4px;color:#555b65;font-size:11px;line-height:1.25}

/* PRODUCT SECTIONS */
.products-section{padding:30px 0 8px}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:15px}
.section-heading h2{margin:0;font-size:25px;line-height:1.1}
.section-heading h2 span{color:var(--red)}
.section-heading p{margin:4px 0 0;color:#687080;font-size:13px}
.outline-btn{min-width:106px;height:38px;border:1.4px solid var(--red);border-radius:20px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 15px;font-size:12px;font-weight:700;transition:.2s}
.outline-btn b{font-size:21px;font-weight:400}
.outline-btn:hover{background:var(--red);color:#fff}
.mavigox-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.mavigox-product-card{border:1px solid #ddd;border-radius:9px;overflow:hidden;background:#fff}
.mavigox-product-image{display:block;aspect-ratio:1.02/1;overflow:hidden;background:#f7f7f7}
.mavigox-product-image img{width:100%;height:100%;object-fit:cover}
.mavigox-product-body{position:relative;min-height:97px;padding:11px 54px 13px 12px;border-top:1px solid #eee}
.mavigox-product-body h3{margin:0 0 8px;font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mavigox-product-price{font-size:18px;font-weight:800;color:var(--red)}
.mavigox-product-price del{font-size:12px;color:#999;font-weight:400;margin-left:7px}
.mavigox-product-price ins{text-decoration:none}
.mavigox-cart-btn{position:absolute;right:9px;bottom:10px;width:38px;height:38px;border-radius:9px;background:var(--red);color:#fff;display:grid;place-items:center;transition:.2s}
.mavigox-cart-btn:hover{background:#000}
.mavigox-cart-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* FOOTER */
.site-footer{margin-top:60px;background:linear-gradient(180deg,#f6f7f8 0%,#eef0f2 100%);border-top:1px solid #dedede}
.footer-grid{min-height:405px;display:grid;grid-template-columns:1.15fr .75fr 1.2fr 1fr;gap:52px;align-items:start;padding:55px 0 37px}
.footer-brand{text-align:center}
.footer-brand img{width:165px;margin:0 auto 17px}
.footer-brand p{margin:0 auto 20px;color:#646974;font-size:16px;line-height:1.5}
.footer-socials{display:flex;justify-content:center;gap:18px}
.footer-socials a{width:46px;height:46px}
.footer-col h3{margin:5px 0 27px;font-size:21px}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li{margin-bottom:18px}
.footer-col a{color:#626772;font-size:16px}
.footer-col a:hover{color:var(--red)}
.footer-contact p{display:grid;grid-template-columns:42px 1fr;align-items:start;gap:12px;margin:0 0 18px;color:#626772;font-size:15px;line-height:1.4}
.footer-contact .m-icon{width:38px;height:38px;border:1px solid #ffd2d4;border-radius:50%;background:#fff;color:var(--red);padding:10px;box-shadow:0 3px 10px rgba(0,0,0,.05)}
.footer-bottom{min-height:86px;border-top:2px solid #fff;display:flex;align-items:center;justify-content:space-between;color:#666b75;font-size:14px}
.payment-row{display:flex;align-items:center;gap:14px}
.payment-divider{height:28px;width:1px;background:#9a9a9a;margin:0 4px}
.payment-logo{display:block;object-fit:contain;background:transparent}
.payment-logo.yape{width:58px;height:50px}
.payment-logo.visa{width:72px;height:50px}
.payment-logo.master{width:92px;height:50px}

/* GENERAL CONTENT */
.page-content,.woocommerce-wrap{padding:40px 0}

/* LARGE DESKTOP */
@media (min-width:1600px){
  :root{--container:1480px}
  .m-shell{width:min(calc(100% - 64px),var(--container))}
}

/* STANDARD LAPTOP */
@media (max-width:1366px){
  :root{--container:1160px}
  .m-shell{width:min(calc(100% - 36px),var(--container))}
  .topbar{height:50px}
  .topbar-welcome,.topbar-links{font-size:13px}
  .header-main{height:126px}
  .header-main-inner{grid-template-columns:180px minmax(360px,1fr) 315px;gap:22px}
  .brand img{width:150px}
  .header-search{height:56px}
  .header-search input{font-size:16px}
  .header-search button{width:145px;font-size:16px}
  .header-search button .m-icon{width:27px;height:27px}
  .head-icon-link .m-icon{width:32px;height:32px}
  .account-link>.m-icon{width:34px;height:34px}
  .account-copy strong{font-size:14px}.account-copy small{font-size:13px}
  .main-nav-wrap{height:72px}
  .main-nav{grid-template-columns:205px 1fr 112px;gap:28px}
  .categories-toggle{width:205px;height:48px;grid-template-columns:34px 1fr 24px}
  .categories-toggle strong{font-size:16px}
  .primary-nav .menu{gap:42px}
  .primary-nav a{font-size:15px;padding:25px 0}
  .social-nav a{width:41px;height:41px}
  .benefits-grid{min-height:70px}
  .benefit{padding:0 17px}
  .benefit strong{font-size:12px}.benefit small{font-size:10px}
  .section-heading h2{font-size:22px}
  .mavigox-product-body{min-height:90px}
  .footer-grid{min-height:350px;padding-top:45px;gap:38px}
  .footer-brand img{width:145px}
  .footer-brand p,.footer-col a{font-size:14px}
  .footer-col h3{font-size:19px}
  .footer-contact p{font-size:13px}
}

/* TABLET */
@media (max-width:1024px){
  :root{--container:930px}
  .topbar-inner{gap:18px}
  .topbar-links span:not(.top-separator){display:none}
  .header-main{height:auto}
  .header-main-inner{grid-template-columns:150px 1fr;gap:18px;padding:20px 0}
  .brand img{width:130px}
  .header-actions{grid-column:1/-1;justify-content:center}
  .main-nav-wrap{height:auto}
  .main-nav{grid-template-columns:205px 1fr auto;padding:11px 0}
  .primary-nav .menu{gap:25px}
  .primary-nav a{padding:15px 0}
  .benefits-grid{grid-template-columns:1fr 1fr;padding:10px 0}
  .benefit{margin:5px 0}
  .benefit:nth-child(2){border-right:0}
  .mavigox-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:1fr 1fr;min-height:auto}
}

/* MOBILE */
@media (max-width:640px){
  .m-shell{width:calc(100% - 24px)}
  .topbar{height:auto;padding:10px 0}
  .topbar-welcome{font-size:11px}
  .topbar-links{font-size:11px}
  .header-main-inner{display:flex;flex-direction:column;align-items:stretch;padding:16px 0}
  .brand{justify-content:center}
  .brand img{width:135px}
  .header-search{height:48px}
  .header-search input{padding:0 12px;font-size:14px}
  .header-search button{width:84px;font-size:0}
  .header-search button .m-icon{width:24px;height:24px}
  .header-actions{gap:18px}
  .account-copy{display:none}
  .main-nav{grid-template-columns:1fr auto}
  .categories-toggle{width:100%;height:47px}
  .primary-nav{grid-column:1/-1;order:3}
  .primary-nav .menu{flex-wrap:wrap;gap:17px}
  .primary-nav a{font-size:13px;padding:7px 0}
  .social-nav a{width:39px;height:39px}
  .social-nav .m-icon{width:20px;height:20px}
  .slider-arrow{width:34px;height:34px;font-size:27px}
  .benefits-grid{grid-template-columns:1fr}
  .benefit{border-right:0;border-bottom:1px solid #ccc;padding:11px 16px}
  .benefit:last-child{border-bottom:0}
  .section-heading h2{font-size:20px}
  .section-heading p{font-size:12px}
  .outline-btn{min-width:92px;height:34px;font-size:11px}
  .mavigox-products-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:23px;padding:38px 0 27px;text-align:center}
  .footer-col h3{margin-bottom:19px}
  .footer-contact p{grid-template-columns:38px 1fr;text-align:left;max-width:330px;margin-left:auto;margin-right:auto}
  .footer-bottom{flex-direction:column;text-align:center;padding:22px 0;gap:17px}
  .payment-row{flex-wrap:wrap;justify-content:center}
}


/* =========================
   MAVIGOX V04 - AJUSTES FINALES
   ========================= */

/* Iconos más finos y negros */
.m-icon svg{stroke-width:1.35!important}
.topbar-links .m-icon,
.head-icon-link .m-icon,
.account-link>.m-icon{color:#050505!important}

/* Barra superior */
.topbar{height:48px!important}
.topbar-welcome{font-size:12px!important}
.topbar-links{font-size:12px!important}
.topbar-welcome .m-icon{display:none!important}
.topbar-links .m-icon{width:18px!important;height:18px!important}

/* Header y buscador más compactos */
.header-main{height:120px!important}
.header-main-inner{grid-template-columns:180px minmax(360px,1fr) 310px!important;gap:22px!important}
.brand img{width:150px!important;max-height:90px!important}
.header-search{height:46px!important}
.header-search input{font-size:15px!important;padding:0 15px!important}
.header-search button{width:130px!important;font-size:15px!important;gap:8px!important}
.header-search button .m-icon{width:22px!important;height:22px!important}
.head-icon-link .m-icon{width:30px!important;height:30px!important}
.account-link>.m-icon{width:32px!important;height:32px!important}
.account-copy strong{font-size:14px!important}
.account-copy small{font-size:13px!important}

/* Tercera fila más baja */
.main-nav-wrap{height:64px!important}
.main-nav{grid-template-columns:195px minmax(420px,1fr) 105px!important;gap:24px!important}
.categories-toggle{width:195px!important;height:42px!important}
.categories-toggle strong{font-size:15px!important}
.categories-toggle .m-icon:first-child{width:24px!important;height:24px!important}
.categories-toggle .m-icon:last-child{width:17px!important;height:17px!important}
.primary-nav .menu{gap:38px!important}
.primary-nav a{font-size:16px!important;font-weight:600!important;padding:21px 0!important;color:#111!important}
.primary-nav a:hover,.primary-nav .current-menu-item>a{color:var(--red)!important}
.social-nav a{width:38px!important;height:38px!important}
.social-nav .m-icon{width:19px!important;height:19px!important}

/* Banner más pequeño y centrado */
.hero-wrap{padding:12px 0 0!important;background:#fff!important}
.hero-shell{max-width:1080px!important}
.hero-slider{margin:0 auto!important}
.slider-arrow{width:34px!important;height:34px!important;font-size:26px!important}
.slider-dots{bottom:8px!important}
.dot{width:7px!important;height:7px!important}

/* Beneficios */
.benefits{padding-top:10px!important}
.benefits-grid{min-height:74px!important}
.benefit{
  min-height:54px!important;
  justify-content:center!important;
  gap:12px!important;
  padding:0 16px!important;
}
.benefit>.m-icon{width:28px!important;height:28px!important}
.benefit>.m-icon svg{stroke-width:1.2!important}
.benefit strong{font-size:16px!important}
.benefit small{font-size:11px!important}

/* Secciones productos */
.products-section{padding-top:26px!important}
.section-heading{margin-bottom:12px!important}
.section-heading h2{font-size:26px!important}
.section-heading p{display:none!important}
.outline-btn{
  min-width:90px!important;
  height:31px!important;
  font-size:10px!important;
  padding:0 11px!important;
}
.outline-btn b{font-size:16px!important}
.mavigox-product-body{min-height:88px!important}
.mavigox-cart-btn{width:34px!important;height:34px!important}
.mavigox-cart-btn svg{width:17px!important;height:17px!important;stroke-width:1.45!important}

/* Footer: mantener primera columna y empujar otras a la derecha */
.footer-grid{
  grid-template-columns:1.28fr .72fr 1.15fr 1fr!important;
  gap:42px!important;
  padding:40px 0 26px!important;
  min-height:320px!important;
}
.footer-brand img{width:138px!important}
.footer-brand p{font-size:13px!important}
.footer-socials a{
  width:38px!important;height:38px!important;
}
.footer-socials .m-icon{width:19px!important;height:19px!important}
.footer-col:nth-child(2){padding-left:34px!important}
.footer-col:nth-child(3){padding-left:42px!important}
.footer-col:nth-child(4){padding-left:28px!important}
.footer-col h3{font-size:18px!important;margin-bottom:20px!important}
.footer-col a{font-size:13px!important}
.footer-col li{margin-bottom:14px!important}
.footer-contact p{font-size:12px!important;margin-bottom:14px!important}
.footer-contact .m-icon{width:32px!important;height:32px!important;padding:8px!important}
.footer-contact .m-icon svg{stroke-width:1.2!important}

/* Copyright / pagos */
.footer-bottom{min-height:52px!important;font-size:12px!important}
.payment-row{gap:9px!important}
.payment-divider{height:20px!important}
.payment-logo.yape{width:38px!important;height:31px!important}
.payment-logo.visa{width:47px!important;height:31px!important}
.payment-logo.master{width:58px!important;height:31px!important}

/* Laptop */
@media(max-width:1366px){
  .header-main{height:108px!important}
  .header-main-inner{grid-template-columns:155px minmax(300px,1fr) 285px!important;gap:18px!important}
  .brand img{width:132px!important}
  .header-search{height:44px!important}
  .header-search button{width:118px!important;font-size:14px!important}
  .main-nav-wrap{height:60px!important}
  .main-nav{grid-template-columns:180px 1fr 98px!important}
  .categories-toggle{width:180px!important;height:40px!important}
  .primary-nav a{font-size:15px!important}
  .hero-shell{max-width:980px!important}
  .benefit strong{font-size:15px!important}
  .section-heading h2{font-size:24px!important}
  .footer-grid{gap:30px!important}
  .footer-col:nth-child(2){padding-left:26px!important}
  .footer-col:nth-child(3){padding-left:30px!important}
  .footer-col:nth-child(4){padding-left:18px!important}
}

/* Tablet */
@media(max-width:1024px){
  .header-main{height:auto!important}
  .header-main-inner{grid-template-columns:140px 1fr!important;padding:16px 0!important}
  .header-actions{grid-column:1/-1!important;justify-content:center!important}
  .main-nav-wrap{height:auto!important}
  .main-nav{grid-template-columns:180px 1fr auto!important;padding:9px 0!important}
  .primary-nav .menu{gap:22px!important}
  .hero-shell{max-width:860px!important}
  .benefits-grid{grid-template-columns:1fr 1fr!important}
  .mavigox-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .footer-grid{grid-template-columns:1fr 1fr!important}
  .footer-col:nth-child(2),
  .footer-col:nth-child(3),
  .footer-col:nth-child(4){padding-left:0!important}
}

/* Móvil */
@media(max-width:640px){
  .topbar{height:auto!important;padding:8px 0!important}
  .header-main-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important}
  .brand img{width:125px!important}
  .header-search{height:43px!important}
  .header-search button{width:72px!important;font-size:0!important}
  .account-copy{display:none!important}
  .main-nav{grid-template-columns:1fr auto!important}
  .categories-toggle{width:100%!important;height:43px!important}
  .primary-nav{grid-column:1/-1!important;order:3!important}
  .primary-nav .menu{flex-wrap:wrap!important;gap:15px!important}
  .primary-nav a{font-size:13px!important;padding:6px 0!important}
  .hero-shell{max-width:none!important;width:calc(100% - 14px)!important}
  .benefits-grid{grid-template-columns:1fr!important}
  .benefit{justify-content:flex-start!important}
  .section-heading h2{font-size:21px!important}
  .mavigox-products-grid{grid-template-columns:1fr!important}
  .footer-grid{grid-template-columns:1fr!important;text-align:center!important}
  .footer-bottom{padding:15px 0!important;gap:12px!important}
}


/* =========================
   MAVIGOX V05
   ========================= */

/* Primera fila: más legible */
.topbar-welcome,
.topbar-links{
  font-size:14px!important;
}
.topbar-links .m-icon{
  width:20px!important;
  height:20px!important;
}

/* Segunda fila: buscador más estrecho, centrado y bajo */
.header-main-inner{
  grid-template-columns:190px minmax(320px,760px) 320px!important;
  justify-content:center!important;
}
.header-search{
  width:100%!important;
  max-width:760px!important;
  justify-self:center!important;
  height:44px!important;
}
.header-search input{
  font-size:16px!important;
}
.header-search button{
  width:124px!important;
  font-size:15px!important;
}
.header-search button .m-icon{
  width:24px!important;
  height:24px!important;
}
.header-search button .m-icon svg{
  stroke-width:1.85!important;
}

/* Los demás iconos siguen finos */
.head-icon-link .m-icon svg,
.account-link>.m-icon svg,
.social-nav .m-icon svg,
.footer-socials .m-icon svg{
  stroke-width:1.35!important;
}

/* Tercera fila: misma altura, textos un poco mayores */
.categories-toggle strong{
  font-size:17px!important;
}
.primary-nav a{
  font-size:18px!important;
  font-weight:600!important;
}

/* Beneficios: un poco más altos y más legibles */
.benefits-grid{
  min-height:86px!important;
  padding:10px 0!important;
}
.benefit{
  min-height:62px!important;
}
.benefit strong{
  font-size:17px!important;
}
.benefit small{
  font-size:13px!important;
}
.benefit>.m-icon{
  width:31px!important;
  height:31px!important;
}
.benefit>.m-icon svg{
  stroke-width:1.15!important;
}

/* Títulos productos */
.section-heading h2{
  font-size:28px!important;
}

/* Tarjeta de producto */
.mavigox-product-card{
  position:relative!important;
}
.mavigox-product-media{
  position:relative!important;
}
.product-wishlist{
  position:absolute;
  top:10px;
  right:10px;
  z-index:4;
  width:32px;
  height:32px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:.2s ease;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.product-wishlist svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:#111;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.product-wishlist:hover,
.product-wishlist.is-active{
  background:#fff;
  transform:scale(1.05);
}
.product-wishlist.is-active svg{
  fill:var(--red);
  stroke:var(--red);
}

/* Etiquetas diagonales */
.product-ribbon{
  position:absolute;
  z-index:5;
  top:13px;
  left:-30px;
  width:112px;
  padding:5px 0;
  transform:rotate(-35deg);
  text-align:center;
  font-size:10px;
  font-weight:700;
  color:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.ribbon-new{background:#2e9f4d}
.ribbon-out{background:#d71920}
.ribbon-sale{background:#f3b400;color:#111}

/* Nombre y precio */
.mavigox-product-body h3{
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.35!important;
}
.mavigox-product-price{
  font-size:14px!important;
  font-weight:800!important;
}
.mavigox-product-price ins{
  font-size:14px!important;
  text-decoration:none!important;
}
.mavigox-product-price del{
  font-size:11px!important;
  margin-left:6px!important;
  font-weight:400!important;
}

/* Carrito más profesional */
.mavigox-cart-btn{
  width:36px!important;
  height:36px!important;
  border-radius:9px!important;
}
.mavigox-cart-btn svg{
  width:19px!important;
  height:19px!important;
  stroke-width:1.7!important;
}

/* Footer: más legible */
.footer-brand p{
  font-size:15px!important;
  line-height:1.55!important;
}
.footer-col a{
  font-size:15px!important;
}
.footer-contact p{
  font-size:14px!important;
}
.footer-col h3{
  font-size:19px!important;
}
.footer-socials a{
  width:41px!important;
  height:41px!important;
}
.footer-socials .m-icon{
  width:21px!important;
  height:21px!important;
}
.footer-contact .m-icon{
  width:34px!important;
  height:34px!important;
}
.footer-bottom{
  min-height:58px!important;
  font-size:13px!important;
}
.payment-row{
  font-size:13px!important;
}
.payment-logo.yape{
  width:42px!important;
  height:34px!important;
}
.payment-logo.visa{
  width:52px!important;
  height:34px!important;
}
.payment-logo.master{
  width:64px!important;
  height:34px!important;
}

/* Laptop */
@media(max-width:1366px){
  .topbar-welcome,
  .topbar-links{
    font-size:13px!important;
  }

  .header-main-inner{
    grid-template-columns:160px minmax(300px,650px) 285px!important;
  }
  .header-search{
    max-width:650px!important;
    height:42px!important;
  }
  .header-search button{
    width:112px!important;
    font-size:14px!important;
  }
  .categories-toggle strong{
    font-size:16px!important;
  }
  .primary-nav a{
    font-size:17px!important;
  }
  .benefit strong{
    font-size:16px!important;
  }
  .benefit small{
    font-size:12px!important;
  }
  .section-heading h2{
    font-size:26px!important;
  }
  .footer-brand p,
  .footer-col a{
    font-size:14px!important;
  }
  .footer-contact p{
    font-size:13px!important;
  }
  .footer-bottom,
  .payment-row{
    font-size:12px!important;
  }
}

/* Tablet */
@media(max-width:1024px){
  .header-main-inner{
    grid-template-columns:140px 1fr!important;
  }
  .header-search{
    max-width:none!important;
  }
  .primary-nav a{
    font-size:16px!important;
  }
  .benefit strong{
    font-size:16px!important;
  }
}

/* Móvil */
@media(max-width:640px){
  .topbar-welcome,
  .topbar-links{
    font-size:12px!important;
  }
  .header-search{
    max-width:none!important;
  }
  .header-search button{
    width:72px!important;
  }
  .categories-toggle strong{
    font-size:15px!important;
  }
  .primary-nav a{
    font-size:14px!important;
  }
  .benefit strong{
    font-size:16px!important;
  }
  .benefit small{
    font-size:12px!important;
  }
  .section-heading h2{
    font-size:22px!important;
  }
  .footer-brand p,
  .footer-col a,
  .footer-contact p{
    font-size:14px!important;
  }
  .footer-bottom,
  .payment-row{
    font-size:12px!important;
  }
}


/* =========================
   MAVIGOX V06
   ========================= */

/* Primera fila más visible */
.topbar{height:54px!important}
.topbar-welcome,
.topbar-links{
  font-size:16px!important;
  line-height:1.2!important;
}
.topbar-links .m-icon{
  width:21px!important;
  height:21px!important;
}

/* Flechas del slider bien centradas */
.slider-arrow{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  padding:0!important;
}
.slider-prev{padding-right:2px!important}
.slider-next{padding-left:2px!important}

/* Banners un poco más contenidos */
.hero-shell{
  max-width:1040px!important;
}

/* Etiquetas más visibles */
.product-ribbon{
  width:126px!important;
  top:17px!important;
  left:-33px!important;
  padding:6px 0!important;
  font-size:12px!important;
  font-weight:800!important;
}

/* Wishlist hover rojo */
.product-wishlist:hover{
  background:var(--red)!important;
}
.product-wishlist:hover svg{
  stroke:#fff!important;
  fill:none!important;
}
.product-wishlist.is-active{
  background:var(--red)!important;
}
.product-wishlist.is-active svg{
  stroke:#fff!important;
  fill:#fff!important;
  fill-opacity:.12!important;
}

/* Título, puntuación y carrito */
.mavigox-product-body{
  min-height:118px!important;
}
.mavigox-product-body h3{
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.32!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:unset!important;
  margin-bottom:7px!important;
}
.mavigox-rating{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:6px;
  font-size:12px;
  color:#777;
}
.mavigox-rating .star-rating{
  margin:0!important;
  font-size:13px!important;
  line-height:1!important;
}
.mavigox-rating span{
  font-size:12px;
  color:#6e6e6e;
}
.mavigox-product-price{
  font-size:14px!important;
}
.mavigox-product-price ins{
  font-size:14px!important;
}
.mavigox-product-price del{
  font-size:11px!important;
}
.mavigox-cart-btn{
  width:38px!important;
  height:38px!important;
}
.mavigox-cart-btn svg{
  width:22px!important;
  height:22px!important;
  stroke-width:1.75!important;
}

/* Footer inferior */
.footer-brand-name{
  color:var(--red)!important;
  font-weight:700;
}
.footer-bottom{
  min-height:60px!important;
  font-size:14px!important;
}
.payment-row,
.payment-row span{
  font-size:14px!important;
}

/* Laptop */
@media(max-width:1366px){
  .topbar-welcome,
  .topbar-links{
    font-size:15px!important;
  }
  .hero-shell{max-width:980px!important}
  .product-ribbon{
    width:116px!important;
    font-size:11px!important;
  }
  .mavigox-product-body h3{
    font-size:15px!important;
  }
  .footer-bottom,
  .payment-row,
  .payment-row span{
    font-size:13px!important;
  }
}

/* Tablet */
@media(max-width:1024px){
  .topbar-welcome,
  .topbar-links{
    font-size:14px!important;
  }
  .hero-shell{max-width:900px!important}
  .mavigox-product-body h3{
    font-size:15px!important;
  }
}

/* Móvil */
@media(max-width:640px){
  .topbar{height:auto!important;padding:10px 0!important}
  .topbar-welcome,
  .topbar-links{
    font-size:13px!important;
  }
  .hero-shell{width:calc(100% - 12px)!important}
  .product-ribbon{
    width:112px!important;
    font-size:11px!important;
  }
  .mavigox-product-body{
    min-height:110px!important;
  }
  .mavigox-product-body h3{
    font-size:15px!important;
  }
  .footer-bottom,
  .payment-row,
  .payment-row span{
    font-size:12px!important;
  }
}


/* =========================
   MAVIGOX V07
   ========================= */

/* Tercera fila fija al bajar */
.main-nav-wrap{
  position:sticky!important;
  top:0;
  z-index:120;
  transition:box-shadow .25s ease, background-color .25s ease;
}
.main-nav-wrap.is-sticky{
  box-shadow:0 8px 22px rgba(0,0,0,.08);
  background:#fff;
}
body.admin-bar .main-nav-wrap{top:32px}
@media(max-width:782px){
  body.admin-bar .main-nav-wrap{top:46px}
}

/* Botón "Ver todos" un poco más grande */
.outline-btn{
  min-width:118px!important;
  height:42px!important;
  padding:0 16px!important;
  font-size:13px!important;
  font-weight:700!important;
  border-radius:23px!important;
}
.outline-btn b{
  font-size:18px!important;
}

/* Tarjetas de producto */
.mavigox-product-body h3{
  font-size:17px!important;
  font-weight:600!important;
  line-height:1.28!important;
}

.mavigox-product-price{
  display:flex!important;
  align-items:baseline!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.mavigox-product-price ins{
  order:1!important;
  text-decoration:none!important;
  color:#111!important;
  font-size:18px!important;
  font-weight:800!important;
}
.mavigox-product-price ins .woocommerce-Price-amount{
  color:#111!important;
}
.mavigox-product-price del{
  order:2!important;
  margin:0!important;
  color:#d48486!important;
  opacity:1!important;
  font-size:13px!important;
  font-weight:500!important;
}
.mavigox-product-price del .woocommerce-Price-amount{
  color:#d48486!important;
}

/* Etiquetas diagonales más limpias y centradas */
.product-ribbon{
  width:154px!important;
  left:-40px!important;
  top:16px!important;
  padding:7px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding-left:10px!important;
  text-align:center!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:.1px!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}

/* WishList y carrito con animación suave */
@keyframes mavigoxBuzz {
  0%   { transform:translateY(0) translateX(0) rotate(0deg); }
  25%  { transform:translateY(-1px) translateX(-1px) rotate(-2deg); }
  50%  { transform:translateY(-2px) translateX(1px) rotate(2deg); }
  75%  { transform:translateY(-1px) translateX(-1px) rotate(-1deg); }
  100% { transform:translateY(-2px) translateX(0) rotate(0deg); }
}
.product-wishlist,
.mavigox-cart-btn{
  transition:transform .22s ease, background-color .22s ease, box-shadow .22s ease!important;
}
.product-wishlist:hover,
.mavigox-cart-btn:hover{
  animation:mavigoxBuzz .55s ease-out 1;
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.mavigox-cart-btn svg{
  width:24px!important;
  height:24px!important;
}

/* Footer inferior más legible */
.footer-bottom{
  font-size:15px!important;
}
.footer-bottom > div:first-child{
  font-size:15px!important;
}
.payment-row,
.payment-row span{
  font-size:15px!important;
}

/* Botones flotantes */
.mavigox-floating-actions{
  position:fixed;
  right:20px;
  bottom:22px;
  z-index:160;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.floating-whatsapp,
.floating-top{
  width:54px;
  height:54px;
  border-radius:50%;
  border:0;
  display:grid;
  place-items:center;
  box-shadow:0 10px 22px rgba(0,0,0,.14);
  cursor:pointer;
  transition:transform .22s ease, box-shadow .22s ease, background-color .22s ease, opacity .22s ease;
}
.floating-whatsapp{
  background:#25D366;
  color:#fff;
}
.floating-top{
  background:#111;
  color:#fff;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
}
.floating-top.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.floating-whatsapp:hover,
.floating-top:hover{
  transform:translateY(-3px) scale(1.03);
  box-shadow:0 12px 24px rgba(0,0,0,.18);
}
.floating-whatsapp .m-icon,
.floating-top .m-icon{
  width:26px;
  height:26px;
}

/* Ajustes responsive */
@media(max-width:1366px){
  .outline-btn{
    min-width:112px!important;
    height:40px!important;
    font-size:12.5px!important;
  }
  .mavigox-product-body h3{
    font-size:16px!important;
  }
  .mavigox-product-price ins{
    font-size:17px!important;
  }
  .footer-bottom,
  .footer-bottom > div:first-child,
  .payment-row,
  .payment-row span{
    font-size:14px!important;
  }
}

@media(max-width:1024px){
  .product-ribbon{
    width:146px!important;
    left:-40px!important;
    font-size:12px!important;
  }
  .mavigox-floating-actions{
    right:16px;
    bottom:18px;
  }
  .floating-whatsapp,
  .floating-top{
    width:50px;
    height:50px;
  }
}

@media(max-width:640px){
  .outline-btn{
    min-width:106px!important;
    height:38px!important;
    font-size:12px!important;
  }
  .mavigox-product-body h3{
    font-size:16px!important;
  }
  .mavigox-product-price ins{
    font-size:17px!important;
  }
  .mavigox-product-price del{
    font-size:12px!important;
  }
  .footer-bottom,
  .footer-bottom > div:first-child,
  .payment-row,
  .payment-row span{
    font-size:13px!important;
  }
  .mavigox-floating-actions{
    right:14px;
    bottom:16px;
  }
  .floating-whatsapp,
  .floating-top{
    width:48px;
    height:48px;
  }
}


/* =========================
   MAVIGOX V08
   ========================= */

/* Primera fila más visible */
.topbar{height:56px!important}
.topbar-inner{align-items:center!important}
.topbar-welcome,
.topbar-links,
.topbar-links a{
  font-size:18px!important;
  line-height:1.2!important;
}
.topbar-welcome strong{font-weight:700!important}
.topbar-links .m-icon{width:22px!important;height:22px!important}

/* Franja de oferta un poco más arriba */
.product-ribbon{
  top:10px!important;
}

/* Precios: actual en rojo y regular en plomo */
.mavigox-product-price ins,
.mavigox-product-price ins .woocommerce-Price-amount{
  color:var(--red)!important;
  font-size:18px!important;
  font-weight:800!important;
}
.mavigox-product-price del,
.mavigox-product-price del .woocommerce-Price-amount{
  color:#8e959e!important;
  font-size:14px!important;
  font-weight:500!important;
}

/* Footer inferior más grande */
.footer-bottom,
.footer-bottom > div:first-child,
.payment-row,
.payment-row span{
  font-size:16px!important;
  line-height:1.25!important;
}

@media(max-width:1366px){
  .topbar-welcome,
  .topbar-links,
  .topbar-links a{font-size:17px!important}
  .footer-bottom,
  .footer-bottom > div:first-child,
  .payment-row,
  .payment-row span{font-size:15px!important}
}

@media(max-width:1024px){
  .topbar-welcome,
  .topbar-links,
  .topbar-links a{font-size:16px!important}
  .footer-bottom,
  .footer-bottom > div:first-child,
  .payment-row,
  .payment-row span{font-size:14px!important}
}

@media(max-width:640px){
  .topbar{height:auto!important;padding:10px 0!important}
  .topbar-welcome,
  .topbar-links,
  .topbar-links a{font-size:14px!important}
  .product-ribbon{top:8px!important}
  .mavigox-product-price ins,
  .mavigox-product-price ins .woocommerce-Price-amount{font-size:17px!important}
  .mavigox-product-price del,
  .mavigox-product-price del .woocommerce-Price-amount{font-size:13px!important}
  .footer-bottom,
  .footer-bottom > div:first-child,
  .payment-row,
  .payment-row span{font-size:13px!important}
}


/* =========================
   MAVIGOX V09 - CARRITO
   ========================= */

.mavigox-cart-page{padding:30px 0 46px;background:#fff}

/* progreso */
.cart-progress{position:relative;display:grid;grid-template-columns:repeat(3,1fr);max-width:900px;margin:0 auto 28px;min-height:72px}
.cart-progress-line{position:absolute;top:18px;left:16.66%;right:16.66%;height:3px;background:#c9cdd3;z-index:0}
.cart-progress-line::before{content:"";position:absolute;left:0;top:0;width:50%;height:100%;background:var(--red)}
.cart-step{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:6px;color:#16233a}
.step-number{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:3px solid #bcc2cb;background:#fff;color:#8c95a2;font-size:15px;font-weight:700}
.cart-step.is-active .step-number{border-color:var(--red);background:var(--red);color:#fff}
.cart-step:last-child .step-number{border-color:#aeb5bf;background:#aeb5bf;color:#fff}
.step-label{font-size:15px;font-weight:600}
.cart-step.is-active .step-label{font-weight:800}

/* layout */
.cart-layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(300px,.95fr);gap:18px;align-items:stretch}
.cart-main-card,.cart-summary-card,.cart-recommendations,.cart-empty-box{background:#fff;border:1px solid #e1e4e8;border-radius:12px;box-shadow:0 5px 18px rgba(20,31,48,.03)}
.cart-main-card{padding:24px 22px 18px}
.cart-title h1{margin:0;color:#0e1a30;font-size:29px;line-height:1.15;font-weight:800}
.cart-title p{margin:5px 0 20px;color:#6a7382;font-size:14px}

/* tabla */
.cart-table-head{display:grid;grid-template-columns:minmax(300px,1.55fr) 100px 110px 105px 38px;gap:8px;align-items:center;min-height:46px;padding:0 10px;border-radius:8px;background:#f6f7f9;color:#5e6877;font-size:12px}
.cart-select-all{display:flex;align-items:center;gap:10px}
.fake-check{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;border:1px solid #d4d7dc;background:#fff;color:#fff;font-size:13px;font-weight:700;flex:0 0 auto}
.fake-check.is-checked{background:var(--red);border-color:var(--red)}

.cart-product-row{display:grid;grid-template-columns:30px minmax(270px,1.55fr) 100px 110px 105px 38px;gap:8px;align-items:center;min-height:145px;padding:14px 4px;border-bottom:1px solid #eceef1}
.row-check{display:flex;justify-content:center}
.cart-product-info{display:flex;align-items:center;gap:14px;min-width:0}
.cart-product-thumb{width:108px;height:108px;flex:0 0 auto;overflow:hidden;border-radius:7px;background:#f6f6f6}
.cart-product-thumb img{width:100%;height:100%;object-fit:cover}
.cart-product-copy h3{margin:0 0 3px;color:#14233b;font-size:15px;font-weight:700;line-height:1.25}
.cart-brand{display:block;margin-bottom:4px;color:#758092;font-size:11px;font-weight:700}
.cart-attributes{margin-bottom:7px;color:#687383;font-size:12px}
.cart-attributes dl{margin:0}
.cart-badges{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.cart-badges span{display:inline-block;padding:4px 7px;border-radius:5px;background:#dbf5df;color:#188539;font-size:10px;font-weight:600}

.cart-price{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.cart-price strong{color:var(--red);font-size:16px;font-weight:800}
.cart-price del{color:#929aa6;font-size:12px}

.cart-qty{display:grid;grid-template-columns:34px 42px 34px;align-items:center;overflow:hidden;border:1px solid #dfe3e8;border-radius:8px;background:#f8f9fb;height:40px}
.qty-btn{height:100%;border:0;background:transparent;color:#536073;cursor:pointer;font-size:20px}
.qty-input{width:100%;height:100%;border:0;border-left:1px solid #e4e7eb;border-right:1px solid #e4e7eb;outline:0;background:#fff;text-align:center;color:#17233b;font-weight:700;-moz-appearance:textfield}
.qty-input::-webkit-inner-spin-button,.qty-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cart-line-subtotal{color:#111d33;font-size:15px;font-weight:800}
.cart-remove a{display:grid;place-items:center;color:#657185}
.cart-remove svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* acciones */
.cart-actions-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 4px 2px}
.cart-continue-link,.cart-empty-link{display:flex;align-items:center;gap:9px;color:#20304a;font-size:13px;font-weight:600}
.cart-empty-link svg{width:20px;height:20px;fill:none;stroke:#667287;stroke-width:1.7}
.cart-actions-right{display:flex;align-items:center;gap:18px}
.cart-update-btn{border:0;background:transparent;color:#657185;cursor:pointer;font-size:12px}

/* resumen */
.cart-summary-card{padding:24px 22px}
.cart-summary-card h2{margin:0 0 22px;color:#0e1a30;font-size:21px;font-weight:800}
.summary-row{display:flex;justify-content:space-between;align-items:center;min-height:52px;border-bottom:1px solid #eceef1;color:#4f5d72;font-size:13px}
.summary-row strong{color:#111d32;font-size:14px}
.discount-row strong{color:#16a13a;font-size:17px}
.summary-total{display:flex;justify-content:space-between;align-items:center;padding:24px 0 20px;color:#111d32;font-size:18px;font-weight:800}
.summary-total strong{color:var(--red);font-size:28px;font-weight:900}
.checkout-btn{width:100%;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:18px;background:var(--red);color:#fff;font-size:16px;font-weight:700;transition:.22s ease}
.checkout-btn:hover{background:#000}
.checkout-arrow{font-size:22px}

/* recomendados */
.cart-recommendations{margin-top:24px;padding:24px 28px 26px}
.recommendations-heading h2{margin:0;color:#0e1a30;font-size:24px;font-weight:800}
.recommendations-heading p{margin:3px 0 18px;color:#6b7585;font-size:13px}
.recommendation-carousel{position:relative}
.recommendation-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(170px,1fr);gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 20px}
.recommendation-track::-webkit-scrollbar{display:none}
.recommend-card{position:relative;overflow:hidden;min-width:0;border:1px solid #e0e3e7;border-radius:9px;background:#fff;scroll-snap-align:start}
.recommend-card .product-wishlist{top:8px;right:8px;width:31px;height:31px}
.recommend-img{display:block;aspect-ratio:1/1;overflow:hidden;background:#f7f7f7}
.recommend-img img{width:100%;height:100%;object-fit:cover}
.recommend-body{padding:11px 10px 10px}
.recommend-body h3{margin:0 0 7px;color:#14233b;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recommend-price{margin-bottom:10px;color:var(--red);font-size:16px;font-weight:800}
.recommend-price ins{text-decoration:none;color:var(--red)}
.recommend-price del{display:block;margin-top:3px;color:#9ba1aa;font-size:12px;font-weight:400}
.recommend-add{height:39px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:9px;background:var(--red);color:#fff;font-size:13px;font-weight:700;transition:.22s ease}
.recommend-add:hover{background:#000;animation:mavigoxBuzz .55s ease-out 1}
.recommend-add svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.recommend-arrow{position:absolute;z-index:5;top:48%;transform:translateY(-50%);width:42px;height:42px;border:1px solid #e0e3e7;border-radius:50%;display:grid;place-items:center;background:#fff;color:#1f2c44;font-size:29px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.05)}
.rec-prev{left:-15px}.rec-next{right:-15px}

/* carrito vacío */
.cart-empty-box{padding:60px 30px;text-align:center}
.cart-empty-box h1{margin:0 0 8px;font-size:28px}
.cart-empty-box p{color:#6d7583;margin-bottom:20px}
.mavigox-primary-btn{display:inline-flex;min-width:160px;height:46px;align-items:center;justify-content:center;border-radius:12px;background:var(--red);color:#fff;font-weight:700}
.mavigox-primary-btn:hover{background:#000}

/* laptop */
@media(max-width:1366px){
  .cart-progress{max-width:760px}
  .cart-main-card{padding:22px 20px 16px}
  .cart-title h1{font-size:26px}
  .cart-table-head{grid-template-columns:minmax(260px,1.45fr) 90px 100px 95px 34px}
  .cart-product-row{grid-template-columns:28px minmax(245px,1.45fr) 90px 100px 95px 34px}
  .cart-product-thumb{width:96px;height:96px}
  .cart-product-copy h3{font-size:14px}
  .cart-summary-card h2{font-size:19px}
  .summary-total strong{font-size:25px}
}

/* tablet */
@media(max-width:1024px){
  .cart-layout{grid-template-columns:1fr}
  .cart-table-head{display:none}
  .cart-product-row{
    grid-template-columns:30px minmax(0,1fr) 95px 40px;
    grid-template-areas:"check info price remove" ". info qty subtotal";
    min-height:150px
  }
  .row-check{grid-area:check}.cart-product-info{grid-area:info}.cart-price{grid-area:price}.cart-qty{grid-area:qty}.cart-line-subtotal{grid-area:subtotal}.cart-remove{grid-area:remove}
  .recommendation-track{grid-auto-columns:220px}
}

/* móvil */
@media(max-width:640px){
  .mavigox-cart-page{padding-top:20px}
  .cart-progress{max-width:100%;margin-bottom:20px}
  .step-number{width:34px;height:34px;font-size:13px}
  .cart-progress-line{top:16px}
  .step-label{font-size:12px}
  .cart-main-card,.cart-summary-card,.cart-recommendations{border-radius:10px}
  .cart-main-card{padding:18px 14px 14px}
  .cart-title h1{font-size:22px}
  .cart-title p{font-size:12px}
  .cart-product-row{
    grid-template-columns:26px minmax(0,1fr) 34px;
    grid-template-areas:"check info remove" ". info info" ". price price" ". qty subtotal";
    gap:8px;padding:13px 0
  }
  .cart-product-info{align-items:flex-start}
  .cart-product-thumb{width:84px;height:84px}
  .cart-product-copy h3{font-size:13px}
  .cart-badges{display:none}
  .cart-price{flex-direction:row;align-items:baseline;gap:8px}
  .cart-actions-row{align-items:flex-start;flex-direction:column}
  .cart-actions-right{width:100%;justify-content:space-between}
  .cart-summary-card{padding:19px 16px}
  .cart-summary-card h2{font-size:18px}
  .summary-total strong{font-size:23px}
  .checkout-btn{height:48px;font-size:14px}
  .cart-recommendations{padding:18px 14px 20px}
  .recommendations-heading h2{font-size:20px}
  .recommendation-track{grid-auto-columns:72%;padding:0 12px}
  .recommend-arrow{width:36px;height:36px;font-size:25px}
  .rec-prev{left:-8px}.rec-next{right:-8px}
}


/* =========================
   MAVIGOX V10
   ========================= */

/* HOME: precios menos gruesos */
.mavigox-product-price,
.mavigox-product-price ins,
.mavigox-product-price ins .woocommerce-Price-amount{
  font-weight:700!important;
}

/* HOME: tarjetas un poco más pequeñas */
.products-section .mavigox-products-grid{
  gap:12px!important;
}
.products-section .mavigox-product-card{
  max-width:260px;
  width:100%;
  justify-self:center;
}
.products-section .mavigox-product-image{
  aspect-ratio:1.08/1!important;
}
.products-section .mavigox-product-body{
  min-height:104px!important;
  padding:10px 48px 11px 11px!important;
}
.products-section .mavigox-product-body h3{
  font-size:15px!important;
}
.products-section .mavigox-cart-btn{
  width:34px!important;
  height:34px!important;
}
.products-section .mavigox-cart-btn svg{
  width:21px!important;
  height:21px!important;
}

/* CARRITO: miga de pan */
.mavigox-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
  color:#7a8493;
  font-size:13px;
}
.mavigox-breadcrumb a{
  color:#5f6a79;
  font-weight:600;
}
.mavigox-breadcrumb a:hover{
  color:var(--red);
}
.mavigox-breadcrumb span:last-child{
  color:#18253b;
  font-weight:700;
}

/* CARRITO: progreso más compacto y un poco más abajo */
.cart-progress{
  max-width:780px!important;
  min-height:64px!important;
  margin:8px auto 24px!important;
}
.cart-progress-line{
  top:16px!important;
}
.step-number{
  width:34px!important;
  height:34px!important;
  font-size:13px!important;
}
.step-label{
  font-size:13px!important;
}

/* CARRITO: precio menos grueso */
.cart-price strong{
  font-weight:700!important;
  font-size:15px!important;
}
.cart-line-subtotal{
  font-weight:700!important;
}

/* CARRITO: precio tachado más visible */
.cart-price del{
  font-size:13px!important;
  color:#8e959e!important;
}

/* CARRITO: selector cantidad simétrico */
.cart-qty{
  display:grid!important;
  grid-template-columns:40px 40px 40px!important;
  width:120px!important;
  height:40px!important;
}
.cart-qty > *{
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
}
.qty-btn{
  font-size:18px!important;
  line-height:1!important;
}
.qty-input{
  text-align:center!important;
}

/* Recomendados: mucho más compactos */
.cart-recommendations{
  padding:20px 24px 22px!important;
}
.recommendations-heading h2{
  font-size:21px!important;
}
.recommendations-heading p{
  font-size:12px!important;
  margin-bottom:14px!important;
}
.recommendation-track{
  grid-auto-columns:165px!important;
  gap:12px!important;
  padding:0 18px!important;
}
.recommend-card{
  border-radius:8px!important;
}
.recommend-img{
  aspect-ratio:1/1!important;
}
.recommend-body{
  padding:9px 9px 9px!important;
}
.recommend-body h3{
  font-size:12px!important;
}
.recommend-price{
  font-size:14px!important;
  margin-bottom:8px!important;
}
.recommend-price del{
  font-size:11px!important;
}
.recommend-add{
  height:35px!important;
  font-size:12px!important;
}
.recommend-add svg{
  width:18px!important;
  height:18px!important;
}
.recommend-card .product-wishlist{
  width:28px!important;
  height:28px!important;
}
.recommend-card .product-wishlist svg{
  width:16px!important;
  height:16px!important;
}

/* Laptop */
@media(max-width:1366px){
  .products-section .mavigox-product-card{
    max-width:235px;
  }

  .cart-progress{
    max-width:700px!important;
  }

  .recommendation-track{
    grid-auto-columns:155px!important;
  }
}

/* Tablet */
@media(max-width:1024px){
  .products-section .mavigox-product-card{
    max-width:none;
  }

  .recommendation-track{
    grid-auto-columns:180px!important;
  }
}

/* Mobile */
@media(max-width:640px){
  .mavigox-breadcrumb{
    font-size:12px;
    margin-bottom:10px;
  }

  .cart-progress{
    max-width:100%!important;
    margin-top:4px!important;
  }

  .recommendation-track{
    grid-auto-columns:58%!important;
  }

  .recommendations-heading h2{
    font-size:19px!important;
  }
}


/* =========================
   MAVIGOX V11
   ========================= */

/* CART fixes */
.mavigox-breadcrumb{font-size:15px!important;margin-bottom:22px!important}
.cart-progress{margin-top:16px!important}
.cart-progress .step-label:nth-child(2){white-space:nowrap}

.real-check-label{display:flex;align-items:center;gap:10px;cursor:pointer}
.real-check-label input{position:absolute;opacity:0;pointer-events:none}
.real-check-ui{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;border:1px solid #d4d7dc;background:var(--red);color:#fff;font-size:13px;font-weight:700}
.real-check-label input:not(:checked) + .real-check-ui{background:#fff;color:transparent}
.cart-product-row.is-unselected{opacity:.48}

.cart-qty{grid-template-columns:40px 40px 40px!important;width:120px!important}
.cart-qty>*{width:40px!important;min-width:40px!important}
.cart-price{padding-right:4px}
.cart-line-subtotal{padding-left:4px}
.cart-update-btn{display:none!important}

.summary-total strong{font-weight:700!important;font-size:25px!important}
.cart-summary-card h2{font-weight:700!important}
.summary-total span{font-weight:700!important}

/* Floating buttons smaller */
.mavigox-floating-actions{right:18px!important;bottom:18px!important;gap:9px!important}
.floating-whatsapp,.floating-top{width:46px!important;height:46px!important}
.floating-whatsapp .m-icon,.floating-top .m-icon{width:24px!important;height:24px!important}

/* SHOP PAGE */
.mavigox-products-page{padding:24px 0 50px}
.products-breadcrumb{margin-bottom:14px!important}
.products-page-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:26px;align-items:start}
.products-sidebar{position:sticky;top:90px}
.filter-box{border:1px solid #e0e3e7;border-radius:9px;padding:18px 16px;background:#fff;margin-bottom:14px}
.filter-box h3{margin:0 0 17px;font-size:15px;color:#1b2638}
.price-filter-line{height:6px;border-radius:10px;background:var(--red);position:relative;margin:12px 6px 14px}
.price-filter-line span{position:absolute;top:50%;transform:translateY(-50%);width:16px;height:16px;border-radius:50%;background:var(--red)}
.price-filter-line span:first-child{left:-6px}.price-filter-line span:last-child{right:-6px}
.price-filter-inputs{display:flex;justify-content:space-between;gap:8px;margin-bottom:12px}
.price-filter-inputs label{font-size:13px;color:#283447;display:flex;align-items:center;gap:4px}
.price-filter-inputs input{width:70px;border:0;background:transparent;font-size:13px}
.filter-submit{width:100%;height:38px;border:0;border-radius:7px;background:var(--red);color:#fff;font-weight:700;cursor:pointer}
.filter-submit:hover{background:#000}
.category-filter-row{display:grid;grid-template-columns:22px 1fr auto;gap:9px;align-items:center;padding:7px 0;font-size:13px;color:#455166}
.category-check{width:19px;height:19px;border:1px solid #c9ced5;border-radius:5px;display:grid;place-items:center;color:#fff;font-size:11px}
.category-filter-row.is-active .category-check{background:var(--red);border-color:var(--red)}
.category-filter-row.is-active .category-name{font-weight:700;color:#222}
.category-count{color:#97a0ad}

.products-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:14px}
.products-header h1{margin:0;font-size:28px;color:#172338}
.products-header p{margin:2px 0 8px;color:#6b7585;font-size:14px}
.products-count{font-size:12px;color:#788291}
.orderby-form{display:flex;align-items:center;gap:10px;font-size:12px;color:#5f6979}
.orderby-form select{height:38px;min-width:160px;border:1px solid #dfe3e8;border-radius:7px;padding:0 12px;background:#fff;color:#4b5666}

.products-grid-page{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.shop-product-card{border:1px solid #e0e3e7;border-radius:8px;overflow:hidden;background:#fff;position:relative}
.shop-product-media{position:relative;overflow:hidden}
.shop-discount{position:absolute;z-index:4;top:8px;left:8px;background:var(--red);color:#fff;font-size:11px;font-weight:700;padding:4px 9px;border-radius:14px}
.shop-heart{top:8px!important;right:8px!important;width:29px!important;height:29px!important}
.shop-product-img{display:block;aspect-ratio:1.05/1;overflow:hidden;background:#f7f7f7}
.shop-product-img img{width:100%;height:100%;object-fit:cover}
.shop-product-body{padding:9px 9px 10px}
.shop-product-body h3{margin:0 0 5px;font-size:12px;font-weight:600;color:#273347;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-rating{display:flex;align-items:center;gap:5px;margin-bottom:5px}
.shop-rating .star-rating{font-size:11px}
.shop-rating>span{font-size:10px;color:#7e8792}
.shop-product-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:8px}
.shop-price{font-size:16px;font-weight:700;color:var(--red)}
.shop-price ins{text-decoration:none;color:var(--red)}
.shop-price del{font-size:11px;color:#98a0aa;margin-left:4px}
.shop-cart-btn{width:34px;height:34px;border-radius:7px;background:var(--red);color:#fff;display:grid;place-items:center;transition:.2s}
.shop-cart-btn:hover{background:#000;animation:mavigoxBuzz .55s ease-out 1}
.shop-cart-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.products-pagination{margin-top:20px}
.products-pagination ul{list-style:none;display:flex;justify-content:center;gap:7px;margin:0;padding:0}
.products-pagination a,.products-pagination span{width:35px;height:35px;border:1px solid #dfe3e8;border-radius:6px;display:grid;place-items:center;font-size:12px;color:#485365}
.products-pagination .current{background:var(--red);border-color:var(--red);color:#fff}

/* SINGLE PRODUCT */
.mavigox-single-product{padding:22px 0 50px}
.single-breadcrumb{margin-bottom:16px!important}
.single-product-top{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.9fr);gap:28px;align-items:start}
.product-gallery-wrap{display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px}
.product-thumbs{display:flex;flex-direction:column;gap:8px}
.product-thumb-btn{border:1px solid transparent;border-radius:6px;background:#f7f7f7;padding:0;overflow:hidden;cursor:pointer}
.product-thumb-btn.is-active{border-color:var(--red)}
.product-thumb-btn img{width:100%;aspect-ratio:1/1;object-fit:cover}
.product-main-image{position:relative;border-radius:4px;overflow:hidden;background:#f7f7f7}
.product-main-image>img{width:100%;aspect-ratio:1.13/1;object-fit:cover}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:50%;background:rgba(40,48,58,.65);color:#fff;font-size:27px;display:grid;place-items:center;cursor:pointer}
.gallery-prev{left:14px}.gallery-next{right:14px}

.product-detail-panel{padding:10px 2px}
.product-title-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.product-brand-label{color:var(--red);font-size:19px;font-weight:800}
.title-divider{width:1px;height:28px;background:#c9cdd3}
.product-title-line h1{margin:0;font-size:27px;color:#182337}
.single-attribute{margin-bottom:16px}
.single-attribute>strong{display:block;margin-bottom:9px;font-size:14px;color:#303b4a}
.attribute-options{display:flex;gap:9px;flex-wrap:wrap}
.attribute-option{min-width:56px;height:40px;border:1px solid #dfe3e8;border-radius:7px;background:#fff;color:#343f50;cursor:pointer}
.attribute-option.is-selected{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.single-price-block{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 26px}
.single-current-price{font-size:34px;font-weight:800;color:var(--red)}
.single-discount{padding:5px 9px;border-radius:6px;background:var(--red);color:#fff;font-size:13px;font-weight:700}
.single-price-block del{width:100%;font-size:24px;color:#9da3ac}
.single-buy-row{display:grid;grid-template-columns:120px 1fr 48px;gap:12px;align-items:center}
.single-qty{display:grid;grid-template-columns:40px 40px 40px;height:46px;border:1px solid #dfe3e8;border-radius:8px;overflow:hidden}
.single-qty-btn{border:0;background:#f7f8fa;color:#4b5666;font-size:20px;cursor:pointer}
.single-qty input{width:40px;border:0;border-left:1px solid #e4e7eb;border-right:1px solid #e4e7eb;text-align:center;font-weight:700}
.single-add-cart{height:46px;border-radius:23px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700}
.single-add-cart:hover{background:#000}
.single-heart{position:static!important;width:46px!important;height:46px!important;border:1px solid #dfe3e8!important}

.single-benefits{margin:24px 0 22px;padding:18px 28px;border-radius:10px;background:#f7f7f7;display:grid;grid-template-columns:repeat(3,1fr)}
.single-benefit{display:flex;gap:14px;align-items:center;padding:0 24px;border-right:1px solid #ddd}
.single-benefit:last-child{border-right:0}
.benefit-line-icon{font-size:28px}
.single-benefit strong{display:block;font-size:14px;color:#1e2939}
.single-benefit small{display:block;margin-top:3px;font-size:11px;color:#606b7a}

.product-tabs{margin:20px 0 28px}
.tabs-header{max-width:500px;margin:0 auto 20px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #dfe3e8;border-radius:24px;overflow:hidden}
.product-tab-btn{height:42px;border:0;background:#fff;color:#515c6c;cursor:pointer}
.product-tab-btn.is-active{background:var(--red);color:#fff;font-weight:700;border-radius:21px}
.tab-panel{display:none;font-size:14px;color:#5b6574;line-height:1.6}
.tab-panel.is-active{display:block}

.single-related{margin-top:24px}
.single-related-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.single-related-heading h2{margin:0;font-size:22px;color:#182337}
.single-related-heading a{color:var(--red);font-size:13px;font-weight:700}
.single-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.single-related-card{position:relative;border:1px solid #e0e3e7;border-radius:8px;overflow:hidden;background:#fff}
.related-heart{top:8px!important;right:8px!important;width:29px!important;height:29px!important}
.related-img{display:block;aspect-ratio:1.35/1;overflow:hidden;background:#f7f7f7}
.related-img img{width:100%;height:100%;object-fit:cover}
.related-body{padding:9px 10px 10px}
.related-body h3{margin:0 0 8px;font-size:12px;color:#263246;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.related-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:8px}
.related-price{font-size:16px;font-weight:700;color:var(--red)}
.related-price ins{text-decoration:none;color:var(--red)}
.related-price del{font-size:11px;color:#9aa1aa;margin-left:4px}
.related-cart{width:34px;height:34px;border:1px solid #dfe3e8;border-radius:6px;display:grid;place-items:center;color:#1d2a3e}
.related-cart:hover{background:var(--red);color:#fff;border-color:var(--red)}
.related-cart svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}

/* Responsive */
@media(max-width:1366px){
  .products-page-layout{grid-template-columns:220px 1fr;gap:22px}
  .products-grid-page{gap:11px}
  .product-title-line h1{font-size:24px}
  .single-current-price{font-size:31px}
}
@media(max-width:1024px){
  .products-page-layout{grid-template-columns:1fr}
  .products-sidebar{position:static}
  .products-grid-page{grid-template-columns:repeat(3,1fr)}
  .single-product-top{grid-template-columns:1fr}
  .single-related-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .products-header{align-items:flex-start;flex-direction:column}
  .products-grid-page{grid-template-columns:repeat(2,1fr)}
  .shop-product-body h3{font-size:11px}
  .product-gallery-wrap{grid-template-columns:1fr}
  .product-thumbs{order:2;flex-direction:row;overflow-x:auto}
  .product-thumb-btn{min-width:68px}
  .single-buy-row{grid-template-columns:1fr}
  .single-heart{justify-self:start}
  .single-benefits{grid-template-columns:1fr;padding:10px 16px}
  .single-benefit{border-right:0;border-bottom:1px solid #ddd;padding:12px 0}
  .single-benefit:last-child{border-bottom:0}
}
@media(max-width:480px){
  .products-grid-page{grid-template-columns:1fr}
  .single-related-grid{grid-template-columns:1fr}
}


/* =========================
   MAVIGOX V12
   Ajustes finos carrito
   ========================= */

/* Más espacio entre miga y línea de avance */
.mavigox-breadcrumb{
  margin-bottom: 34px !important;
  font-size: 16px !important;
}
.cart-progress{
  margin-top: 0 !important;
  margin-bottom: 30px !important;
}

/* Estructura desktop del carrito mejor alineada */
@media (min-width: 1025px){
  .cart-header-row,
  .cart-product-row{
    display: grid !important;
    grid-template-columns: 34px minmax(300px,1.85fr) 96px 132px 120px 26px !important;
    column-gap: 14px !important;
    align-items: center !important;
  }

  .cart-header-row{
    min-height: 46px !important;
  }

  .cart-product-row{
    min-height: 118px !important;
  }

  .cart-col-price,
  .cart-col-qty,
  .cart-col-subtotal{
    justify-self: start !important;
    text-align: left !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .cart-price,
  .cart-qty-wrap,
  .cart-line-subtotal,
  .cart-row-remove{
    justify-self: start !important;
    text-align: left !important;
  }

  .cart-price{
    min-width: 96px !important;
  }

  .cart-qty-wrap{
    width: 132px !important;
    min-width: 132px !important;
  }

  .cart-line-subtotal{
    min-width: 120px !important;
    padding-left: 18px !important; /* separa del signo + */
  }

  .cart-row-remove{
    margin-left: 2px !important;
  }
}

/* Ajustes de precio y tachado */
.cart-price strong,
.cart-line-subtotal{
  font-size: 14px !important;
  font-weight: 700 !important;
}
.cart-price del{
  display: inline-block !important;
  margin-top: 4px !important;
  font-size: 14px !important;
  color: #98a1ad !important;
  font-weight: 500 !important;
}

/* Evita montado del subtotal con el botón + */
.cart-qty{
  margin-right: 0 !important;
}
.cart-line-subtotal{
  white-space: nowrap !important;
}

/* Resumen lateral: productos / descuentos más grandes */
.summary-line{
  font-size: 16px !important;
}
.summary-line .label,
.summary-line .value,
.summary-line strong,
.summary-line span{
  font-size: 16px !important;
  font-weight: 700 !important;
}
.summary-line.discount .value,
.summary-line .discount-value{
  font-size: 16px !important;
}
.summary-total strong{
  font-size: 16px !important;
}
.summary-total span{
  font-size: 17px !important;
}

/* Responsive */
@media (max-width: 1024px){
  .mavigox-breadcrumb{
    margin-bottom: 24px !important;
  }
}
@media (max-width: 640px){
  .mavigox-breadcrumb{
    margin-bottom: 18px !important;
    font-size: 15px !important;
  }
}


/* =========================
   MAVIGOX V13
   Correcciones finas carrito
   ========================= */

/* 1) Más espacio entre miga de pan y progreso */
.mavigox-breadcrumb{
  margin-bottom: 44px !important;
  font-size: 16px !important;
}
.cart-progress{
  margin-top: 6px !important;
  margin-bottom: 28px !important;
}

/* 2 y 3) Alinear encabezados con columnas de precio, cantidad y total parcial */
@media (min-width: 1025px){
  .cart-table-head{
    display:grid !important;
    grid-template-columns: 30px minmax(270px,1.55fr) 96px 120px 110px 38px !important;
    gap: 10px !important;
    padding: 0 4px !important;
  }
  .cart-table-head > .cart-select-all{
    grid-column: 1 / span 2 !important;
  }
  .cart-table-head > span:nth-of-type(1){
    grid-column: 3 !important;
    justify-self: start !important;
    text-align: left !important;
  }
  .cart-table-head > span:nth-of-type(2){
    grid-column: 4 !important;
    justify-self: center !important;
    text-align: center !important;
  }
  .cart-table-head > span:nth-of-type(3){
    grid-column: 5 !important;
    justify-self: start !important;
    text-align: left !important;
  }
  .cart-table-head > span:nth-of-type(4){
    grid-column: 6 !important;
  }

  .cart-product-row{
    grid-template-columns: 30px minmax(270px,1.55fr) 96px 120px 110px 38px !important;
    gap: 10px !important;
  }

  .cart-price{
    justify-self: start !important;
    padding-left: 0 !important;
  }
  .cart-qty{
    justify-self: center !important;
    width: 120px !important;
    grid-template-columns: 40px 40px 40px !important;
  }
  .cart-qty > *{
    width: 40px !important;
    min-width: 40px !important;
  }
  .cart-line-subtotal{
    justify-self: start !important;
    min-width: 110px !important;
    padding-left: 12px !important;
    white-space: nowrap !important;
  }
}

/* 4 y 5) Resumen de compra con tipografía un poco más grande */
.cart-summary-card .summary-row{
  font-size: 16px !important;
}
.cart-summary-card .summary-row span,
.cart-summary-card .summary-row strong{
  font-size: 16px !important;
}
.cart-summary-card .discount-row strong{
  font-size: 16px !important;
}

/* 6 y 7) Botones pequeños con icono */
.cart-actions-row{
  padding-top: 16px !important;
  padding-bottom: 0 !important;
}
.cart-actions-right{
  gap: 12px !important;
}
.cart-continue-link,
.cart-empty-link{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  border: 1px solid #d8dde4 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #20304a !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  transition: .22s ease !important;
}
.cart-continue-link:hover,
.cart-empty-link:hover{
  color: var(--red) !important;
  border-color: var(--red) !important;
  background: #fff7f7 !important;
}
.cart-continue-link svg,
.cart-empty-link svg{
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 auto !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

@media (max-width: 1024px){
  .mavigox-breadcrumb{
    margin-bottom: 30px !important;
  }
}
@media (max-width: 767px){
  .cart-continue-link,
  .cart-empty-link{
    font-size: 13px !important;
    padding: 9px 12px !important;
  }
  .mavigox-breadcrumb{
    margin-bottom: 22px !important;
    font-size: 15px !important;
  }
}


/* =========================
   MAVIGOX V14
   Ajustes finos extra carrito
   ========================= */

/* 1) Más separación entre miga de pan y barra de progreso */
.mavigox-breadcrumb{
  margin-bottom: 54px !important;
}

/* 2) Columna Precio más a la derecha y alineada con su título */
@media (min-width: 1025px){
  .cart-table-head > span:nth-of-type(1){
    justify-self: center !important;
    text-align: center !important;
    padding-left: 14px !important;
  }
  .cart-price{
    justify-self: center !important;
    text-align: center !important;
    padding-left: 14px !important;
    min-width: 88px !important;
  }

  /* 3) Columna Subtotal / Total parcial más a la derecha y centrada */
  .cart-table-head > span:nth-of-type(3){
    justify-self: center !important;
    text-align: center !important;
    padding-left: 10px !important;
  }
  .cart-line-subtotal{
    justify-self: center !important;
    text-align: center !important;
    padding-left: 10px !important;
    min-width: 96px !important;
  }

  /* Selector de cantidad un poco más pequeño */
  .cart-qty{
    width: 108px !important;
    height: 38px !important;
    grid-template-columns: 36px 36px 36px !important;
  }
  .cart-qty > *{
    width: 36px !important;
    min-width: 36px !important;
    height: 38px !important;
  }
  .qty-input{
    font-size: 16px !important;
  }
}

/* 4 y 5) Resumen de compra con texto y montos un poco más grandes */
.cart-summary-card .summary-row,
.cart-summary-card .summary-row span,
.cart-summary-card .summary-row strong{
  font-size: 17px !important;
  line-height: 1.35 !important;
}
.cart-summary-card .discount-row strong,
.cart-summary-card .discount-row span{
  font-size: 17px !important;
}

/* 6 y 7) Botones compactos, al tamaño del texto e ícono */
.cart-continue-link,
.cart-empty-link{
  padding: 9px 13px !important;
  font-size: 14px !important;
  border-radius: 10px !important;
}
.cart-continue-link svg,
.cart-empty-link svg{
  width: 17px !important;
  height: 17px !important;
}

@media (max-width: 1024px){
  .mavigox-breadcrumb{
    margin-bottom: 34px !important;
  }
}
@media (max-width: 767px){
  .mavigox-breadcrumb{
    margin-bottom: 24px !important;
  }
}


/* =========================
   MAVIGOX V15
   Página individual de producto refinada
   ========================= */
.mavigox-single-product{padding:24px 0 52px}
.single-breadcrumb{margin-bottom:18px!important;font-size:14px;font-weight:500;color:#748091}
.single-breadcrumb a{color:#748091}
.single-breadcrumb span:last-child{color:#5d6673}
.single-product-top{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(360px,.9fr);gap:34px;align-items:start}
.product-gallery-wrap{display:grid;grid-template-columns:86px minmax(0,1fr);gap:16px;align-items:start}
.product-thumbs{display:flex;flex-direction:column;gap:10px}
.product-thumb-btn{border:1px solid #e1e4e8;border-radius:7px;background:#fff;padding:0;overflow:hidden;cursor:pointer;transition:border-color .25s ease, box-shadow .25s ease}
.product-thumb-btn.is-active{border-color:var(--red);box-shadow:0 0 0 1px var(--red) inset}
.product-thumb-btn img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.product-main-image{position:relative;border-radius:6px;overflow:hidden;background:#f6f7f8}
.product-main-image>img{width:100%;aspect-ratio:1.12/1;object-fit:cover;display:block}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:50%;background:rgba(83,90,101,.8);color:#fff;font-size:28px;display:grid;place-items:center;cursor:pointer;line-height:1}
.gallery-prev{left:14px}.gallery-next{right:14px}
.product-detail-panel{padding:6px 2px}
.product-title-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.product-brand-label{color:var(--red);font-size:18px;font-weight:800;letter-spacing:.02em}
.title-divider{width:1px;height:30px;background:#ccd2d9}
.product-title-line h1{margin:0;font-size:27px;line-height:1.2;font-weight:800;color:#1b2739}
.single-attribute{margin-bottom:18px}
.single-attribute>strong{display:block;margin-bottom:10px;font-size:15px;color:#2d3746;font-weight:700}
.attribute-options{display:flex;gap:10px;flex-wrap:wrap}
.attribute-option{min-width:58px;height:40px;padding:0 14px;border:1px solid #dde2e8;border-radius:8px;background:#fff;color:#303a47;font-size:15px;font-weight:600;cursor:pointer;transition:.25s ease}
.attribute-option.is-selected{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.single-price-block{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:24px 0 28px}
.single-current-price{font-size:32px;font-weight:800;color:var(--red);line-height:1}
.single-discount{padding:6px 10px;border-radius:6px;background:var(--red);color:#fff;font-size:14px;font-weight:700;line-height:1}
.single-price-block del{width:100%;font-size:22px;font-weight:500;color:#9aa1ab}
.single-buy-row{display:grid;grid-template-columns:132px 1fr 48px;gap:12px;align-items:center}
.single-qty{display:grid;grid-template-columns:44px 44px 44px;height:46px;border:1px solid #dfe3e8;border-radius:8px;overflow:hidden;background:#fff}
.single-qty-btn{border:0;background:#f8f9fb;color:#4b5666;font-size:21px;font-weight:600;cursor:pointer}
.single-qty input{width:44px;border:0;border-left:1px solid #e4e7eb;border-right:1px solid #e4e7eb;text-align:center;font-weight:700;font-size:16px;color:#253244}
.single-add-cart{height:46px;border-radius:23px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700}
.single-add-cart:hover{background:#000}
.single-heart{position:static!important;width:46px!important;height:46px!important;border:1px solid #dfe3e8!important}
.single-benefits{margin:28px 0 24px;padding:18px 20px;border-radius:12px;background:#f8f8f8;display:grid;grid-template-columns:repeat(3,1fr)}
.single-benefit{display:flex;gap:14px;align-items:center;padding:0 24px;border-right:1px solid #e3e3e3}
.single-benefit:last-child{border-right:0}
.benefit-line-icon{display:inline-grid;place-items:center;flex:0 0 auto}
.benefit-line-icon svg{width:36px;height:36px;fill:none;stroke:#131a24;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.single-benefit strong{display:block;font-size:15px;color:#1e2939;font-weight:700;line-height:1.3}
.single-benefit small{display:block;margin-top:4px;font-size:13px;color:#5f6877;line-height:1.35}
.product-tabs{margin:22px 0 30px}
.tabs-header{max-width:500px;margin:0 auto 20px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #dfe3e8;border-radius:24px;overflow:hidden;background:#fff}
.product-tab-btn{height:44px;border:0;background:#fff;color:#4f5b69;font-size:15px;font-weight:500;cursor:pointer}
.product-tab-btn.is-active{background:var(--red);color:#fff;font-weight:700;border-radius:22px}
.tab-panel{display:none;font-size:15px;color:#5b6574;line-height:1.7}
.tab-panel.is-active{display:block}
.single-related{margin-top:26px}
.single-related-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.single-related-heading h2{margin:0;font-size:22px;line-height:1.25;color:#182337}
.single-related-heading a{color:var(--red);font-size:14px;font-weight:700}
.single-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.single-related-card{position:relative;border:1px solid #e0e3e7;border-radius:10px;overflow:hidden;background:#fff}
.related-heart{top:10px!important;right:10px!important;width:31px!important;height:31px!important}
.related-img{display:block;aspect-ratio:1.32/1;overflow:hidden;background:#f7f7f7}
.related-img img{width:100%;height:100%;object-fit:cover;display:block}
.related-body{padding:10px 12px 12px}
.related-body h3{margin:0 0 8px;font-size:15px;line-height:1.35;color:#263246;font-weight:600;min-height:40px}
.related-body h3 a{color:inherit}
.related-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:8px}
.related-price{font-size:17px;font-weight:700;color:var(--red)}
.related-price ins{text-decoration:none;color:var(--red)}
.related-price del{display:block;font-size:12px;color:#9aa1aa;margin:2px 0 0}
.related-cart{width:36px;height:36px;border:1px solid #dfe3e8;border-radius:7px;display:grid;place-items:center;color:#1d2a3e;transition:.25s ease}
.related-cart:hover{background:var(--red);color:#fff;border-color:var(--red)}
.related-cart svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}

@media(max-width:1200px){
  .single-product-top{grid-template-columns:minmax(0,1fr) minmax(320px,.86fr);gap:24px}
  .single-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1024px){
  .single-product-top{grid-template-columns:1fr}
  .product-gallery-wrap{grid-template-columns:74px minmax(0,1fr)}
  .single-benefits{grid-template-columns:1fr;gap:16px}
  .single-benefit{padding:0;border-right:0}
}
@media(max-width:767px){
  .mavigox-single-product{padding:18px 0 42px}
  .single-breadcrumb{font-size:13px;margin-bottom:14px!important}
  .product-gallery-wrap{grid-template-columns:64px minmax(0,1fr);gap:10px}
  .product-title-line h1{font-size:23px}
  .single-current-price{font-size:28px}
  .single-buy-row{grid-template-columns:1fr;gap:10px}
  .single-qty{max-width:132px}
  .single-heart{justify-self:start}
  .tabs-header{max-width:100%}
  .product-tab-btn{font-size:14px}
  .single-related-heading{flex-direction:column;align-items:flex-start}
  .single-related-grid{grid-template-columns:1fr 1fr;gap:12px}
  .related-body h3{font-size:14px;min-height:38px}
}
@media(max-width:575px){
  .single-related-grid{grid-template-columns:1fr}
}


/* =========================
   MAVIGOX V17
   Router + protección del producto individual personalizado
   ========================= */
body.single-product .woocommerce-wrap{padding:0!important}
body.single-product .product.type-product{float:none!important;width:auto!important;margin:0!important}
body.single-product .mavigox-single-product .woocommerce-product-gallery,
body.single-product .mavigox-single-product .summary.entry-summary{float:none!important;width:auto!important;margin:0!important}
body.single-product .mavigox-single-product{display:block!important;width:100%!important;max-width:none!important}
body.single-product .mavigox-single-product .m-shell{display:block!important}

/* Mantener tamaños legibles definidos para el mockup */
body.single-product .product-title-line h1{font-size:27px!important}
body.single-product .single-attribute>strong{font-size:15px!important}
body.single-product .attribute-option{font-size:15px!important}
body.single-product .single-current-price{font-size:32px!important}
body.single-product .single-price-block del{font-size:22px!important}
body.single-product .single-add-cart{font-size:16px!important}
body.single-product .single-benefit strong{font-size:15px!important}
body.single-product .single-benefit small{font-size:13px!important}
body.single-product .product-tab-btn{font-size:15px!important}
body.single-product .related-body h3{font-size:15px!important}

@media(max-width:767px){
  body.single-product .product-title-line h1{font-size:23px!important}
  body.single-product .single-current-price{font-size:28px!important}
  body.single-product .product-tab-btn{font-size:14px!important}
  body.single-product .related-body h3{font-size:14px!important}
}

/* =========================
   MAVIGOX V19 - producto individual
   ========================= */
body.single-product .product-brand-label{
  font-size:17px!important;
  font-weight:700!important;
}
body.single-product .product-title-line h1{
  font-size:26px!important;
  font-weight:700!important;
  line-height:1.15!important;
}
body.single-product .single-current-price{
  font-size:31px!important;
  font-weight:700!important;
}
body.single-product .single-price-block del{
  font-size:20px!important;
  font-weight:500!important;
  color:#9aa1ab!important;
}
body.single-product .single-price-block .woocommerce-Price-amount,
body.single-product .single-price-block bdi{
  font-weight:inherit!important;
}
body.single-product .single-product-top{
  gap:32px!important;
}
body.single-product .product-gallery-wrap{
  grid-template-columns:88px minmax(0,1fr)!important;
  gap:14px!important;
}
body.single-product .product-thumbs{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
}
body.single-product .product-thumb-btn{
  width:88px!important;
  height:88px!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:#f6f7f8!important;
  border:1px solid #dfe4e8!important;
  padding:6px!important;
}
body.single-product .product-thumb-btn img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
}
body.single-product .product-main-image{
  min-height:470px!important;
  display:grid!important;
  place-items:center!important;
  background:#f6f7f8!important;
}
body.single-product .product-main-image>img{
  width:100%!important;
  height:100%!important;
  max-height:470px!important;
  aspect-ratio:1.12/1!important;
  object-fit:contain!important;
  display:block!important;
}
body.single-product .single-buy-row{
  grid-template-columns:116px minmax(240px,292px) 46px!important;
  gap:12px!important;
  align-items:center!important;
  justify-content:start!important;
}
body.single-product .single-qty{
  grid-template-columns:38px 38px 38px!important;
  height:44px!important;
}
body.single-product .single-qty-btn{
  font-size:20px!important;
  font-weight:600!important;
}
body.single-product .single-qty input{
  width:38px!important;
  font-size:15px!important;
  font-weight:700!important;
  text-align:center!important;
  padding:0!important;
  margin:0!important;
}
body.single-product .single-add-cart{
  width:100%!important;
  max-width:292px!important;
  height:44px!important;
  border-radius:22px!important;
  font-size:15px!important;
  font-weight:700!important;
}
body.single-product .single-heart{
  width:44px!important;
  height:44px!important;
}
body.single-product .benefit-line-icon svg{
  width:37px!important;
  height:37px!important;
  stroke-width:1.75!important;
}
body.single-product .single-benefit strong{font-size:15px!important}
body.single-product .single-benefit small{font-size:13px!important}
body.single-product .tab-panel{
  padding:4px 2px!important;
}
body.single-product .empty-tab-note{
  margin:0!important;
  color:#697382!important;
  font-size:14px!important;
}
body.single-product .single-related-card{
  border-radius:10px!important;
}
body.single-product .related-img{
  aspect-ratio:1.28/1!important;
  display:grid!important;
  place-items:center!important;
  background:#f7f7f7!important;
}
body.single-product .related-img img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:10px!important;
  display:block!important;
}
body.single-product .related-body h3{
  font-size:15px!important;
  font-weight:600!important;
}
body.single-product .related-price{
  display:flex!important;
  align-items:baseline!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  font-size:16px!important;
  font-weight:700!important;
  color:var(--red)!important;
}
body.single-product .related-price ins{
  order:1!important;
  text-decoration:none!important;
  color:var(--red)!important;
}
body.single-product .related-price del{
  order:2!important;
  display:inline!important;
  margin:0!important;
  font-size:12px!important;
  color:#9aa1aa!important;
}
body.single-product .related-price del .woocommerce-Price-amount,
body.single-product .related-price del bdi{
  color:#9aa1aa!important;
}
body.single-product .related-cart{
  width:38px!important;
  height:38px!important;
}

@media(max-width:1024px){
  body.single-product .product-gallery-wrap{
    grid-template-columns:76px minmax(0,1fr)!important;
  }
  body.single-product .product-thumb-btn{
    width:76px!important;
    height:76px!important;
  }
  body.single-product .product-main-image{
    min-height:420px!important;
  }
  body.single-product .product-main-image>img{
    max-height:420px!important;
  }
}

@media(max-width:767px){
  body.single-product .product-title-line h1{
    font-size:22px!important;
  }
  body.single-product .single-current-price{
    font-size:28px!important;
  }
  body.single-product .product-gallery-wrap{
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:10px!important;
  }
  body.single-product .product-thumb-btn{
    width:64px!important;
    height:64px!important;
    padding:4px!important;
  }
  body.single-product .product-main-image{
    min-height:320px!important;
  }
  body.single-product .product-main-image>img{
    max-height:320px!important;
  }
  body.single-product .single-buy-row{
    grid-template-columns:1fr!important;
  }
  body.single-product .single-add-cart{
    max-width:none!important;
  }
  body.single-product .single-heart{
    justify-self:start!important;
  }
}


/* =========================
   MAVIGOX V20
   Estructura global Header / Home / Footer
   ========================= */

/* Header y footer son globales y conservan su ancho normal en todas las páginas */
.site-header,
.site-footer{
  width:100%;
  max-width:none;
  position:relative;
}

/*
 * Solo la tercera fila del encabezado se fija al llegar al borde superior.
 * Las dos primeras filas permanecen en el flujo normal, por lo que al volver
 * arriba aparece nuevamente el encabezado completo.
 */
.main-nav-wrap{
  position:sticky !important;
  top:0 !important;
  z-index:120 !important;
  width:100% !important;
  background:#fff !important;
}
.main-nav-wrap.is-sticky{
  box-shadow:0 8px 22px rgba(0,0,0,.08) !important;
}
body.admin-bar .main-nav-wrap{
  top:32px !important;
}
@media(max-width:782px){
  body.admin-bar .main-nav-wrap{
    top:46px !important;
  }
}

/* El Home central nunca debe heredar contenedores de página de WordPress */
body.home .home-page,
body.front-page .home-page,
body.page-template-page-inicio .home-page{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  overflow-x:hidden !important;
  background:#fff !important;
}

/* Evita que el banner genere desplazamiento horizontal */
.home-page .hero-wrap,
.home-page .hero-shell,
.home-page .hero-slider,
.home-page .slides,
.home-page .slide{
  max-width:100% !important;
}
.home-page .slide img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
}

/* Footer siempre visible al final del documento */
.site-footer{
  display:block !important;
  clear:both !important;
}


/* =========================
   MAVIGOX V21 - REGLAS GLOBALES APROBADAS
   ========================= */

/* REGLA GLOBAL 1: solo la tercera fila del encabezado queda sticky. */
.site-header{
  position:relative!important;
  z-index:100!important;
  width:100%!important;
}
.main-nav-wrap{
  position:sticky!important;
  top:0!important;
  z-index:999!important;
  width:100%!important;
  background:#fff!important;
  box-shadow:0 1px 0 rgba(0,0,0,.08)!important;
}
body.admin-bar .main-nav-wrap{top:32px!important}
@media(max-width:782px){body.admin-bar .main-nav-wrap{top:46px!important}}

/* REGLA GLOBAL 2: footer aprobado visible en toda la web. */
.site-footer{
  display:block!important;
  width:100%!important;
  clear:both!important;
  visibility:visible!important;
  opacity:1!important;
}

/* REGLA GLOBAL 3: corazón idéntico en todas las tarjetas. */
.product-wishlist,
.shop-heart,
.recommend-heart,
.related-heart{
  width:31px!important;
  height:31px!important;
  border-radius:50%!important;
  background:#fff!important;
  border:0!important;
  box-shadow:0 2px 8px rgba(0,0,0,.08)!important;
}
.product-wishlist svg,
.shop-heart svg,
.recommend-heart svg,
.related-heart svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:#111!important;
  stroke-width:1.6!important;
}
.product-wishlist:hover,
.shop-heart:hover,
.recommend-heart:hover,
.related-heart:hover{
  background:var(--red)!important;
}
.product-wishlist:hover svg,
.shop-heart:hover svg,
.recommend-heart:hover svg,
.related-heart:hover svg{
  stroke:#fff!important;
}

/* Franja diagonal común: Nuevo / Agotado / Oferta. */
.mavigox-product-media,
.shop-product-media,
.recommend-card,
.single-related-card{
  overflow:hidden!important;
}
.product-ribbon{
  position:absolute!important;
  z-index:8!important;
  top:12px!important;
  left:-39px!important;
  width:145px!important;
  min-width:145px!important;
  padding:6px 0!important;
  transform:rotate(-35deg)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:800!important;
  color:#111!important;
  box-shadow:none!important;
}
.ribbon-sale{background:#ffc400!important;color:#111!important}
.ribbon-new{background:#2e9f4d!important;color:#fff!important}
.ribbon-out{background:#e51c23!important;color:#fff!important}
.shop-discount{display:none!important}

/* Estructura de tarjeta consistente con el modelo aprobado. */
.mavigox-product-card,
.shop-product-card,
.recommend-card,
.single-related-card{
  background:#fff!important;
  border:1px solid #dfe2e6!important;
  border-radius:9px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
.mavigox-product-body h3,
.shop-product-body h3,
.recommend-body h3,
.related-body h3{
  color:#111!important;
  font-weight:600!important;
  line-height:1.28!important;
}

/* Precio aprobado: rebajado rojo primero + normal tachado gris al costado. */
.mavigox-product-price,
.shop-price,
.recommend-price,
.related-price{
  display:flex!important;
  align-items:baseline!important;
  gap:9px!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  color:var(--red)!important;
}
.mavigox-product-price ins,
.shop-price ins,
.recommend-price ins,
.related-price ins{
  order:1!important;
  display:inline!important;
  margin:0!important;
  text-decoration:none!important;
  color:var(--red)!important;
  font-size:16px!important;
  font-weight:700!important;
}
.mavigox-product-price del,
.shop-price del,
.recommend-price del,
.related-price del{
  order:2!important;
  display:inline!important;
  margin:0!important;
  color:#959ca5!important;
  font-size:12px!important;
  font-weight:400!important;
}
.mavigox-product-price del .woocommerce-Price-amount,
.shop-price del .woocommerce-Price-amount,
.recommend-price del .woocommerce-Price-amount,
.related-price del .woocommerce-Price-amount,
.mavigox-product-price del bdi,
.shop-price del bdi,
.recommend-price del bdi,
.related-price del bdi{
  color:#959ca5!important;
}
/* Producto sin oferta también usa precio principal rojo. */
.mavigox-product-price > .woocommerce-Price-amount,
.shop-price > .woocommerce-Price-amount,
.recommend-price > .woocommerce-Price-amount,
.related-price > .woocommerce-Price-amount{
  color:var(--red)!important;
  font-size:16px!important;
  font-weight:700!important;
}

/* Carrito rojo cuadrado consistente. */
.mavigox-cart-btn,
.shop-cart-btn,
.related-cart{
  width:36px!important;
  height:36px!important;
  border-radius:8px!important;
  background:var(--red)!important;
  color:#fff!important;
  border:0!important;
  display:grid!important;
  place-items:center!important;
}
.mavigox-cart-btn:hover,
.shop-cart-btn:hover,
.related-cart:hover{background:#000!important}
.mavigox-cart-btn svg,
.shop-cart-btn svg,
.related-cart svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
}

/* Página Productos: tarjeta igual al Home. */
.shop-product-card .shop-heart{top:8px!important;right:8px!important;position:absolute!important;z-index:9!important}
.shop-product-body{padding:9px 9px 10px!important}
.shop-product-body h3{font-size:13px!important;margin:0 0 6px!important}
.shop-product-bottom{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:8px!important}

/* Imagen 4: mueve la flecha del selector más hacia la izquierda. */
.orderby-form select{
  appearance:none!important;
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  padding-right:42px!important;
  background-color:#fff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23546172' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-size:14px 14px!important;
  background-position:right 16px center!important;
}

/* Imagen 5: Price/Cantidad/Total parcial usan exactamente la misma rejilla que sus valores. */
@media(min-width:1025px){
  .cart-table-head,
  .cart-product-row{
    grid-template-columns:30px minmax(270px,1.55fr) 100px 120px 110px 38px!important;
    column-gap:10px!important;
  }
  .cart-table-head{padding:0 4px!important}
  .cart-table-head>.cart-select-all{grid-column:1 / span 2!important}
  .cart-table-head>span:nth-of-type(1){
    grid-column:3!important;
    justify-self:center!important;
    text-align:center!important;
    width:100px!important;
    padding:0!important;
  }
  .cart-table-head>span:nth-of-type(2){
    grid-column:4!important;
    justify-self:center!important;
    text-align:center!important;
    width:120px!important;
    padding:0!important;
  }
  .cart-table-head>span:nth-of-type(3){
    grid-column:5!important;
    justify-self:center!important;
    text-align:center!important;
    width:110px!important;
    padding:0!important;
  }
  .cart-table-head>span:nth-of-type(4){grid-column:6!important}
  .cart-price{
    grid-column:3!important;
    justify-self:center!important;
    align-items:center!important;
    text-align:center!important;
    width:100px!important;
    padding:0!important;
  }
  .cart-qty{
    grid-column:4!important;
    justify-self:center!important;
  }
  .cart-line-subtotal{
    grid-column:5!important;
    justify-self:center!important;
    text-align:center!important;
    width:110px!important;
    min-width:110px!important;
    padding:0!important;
  }
  .cart-remove{grid-column:6!important}
}


/* =========================
   MAVIGOX V22
   Ajustes: precios carrito + barra navegación sticky global
   ========================= */

/* Carrito: el precio vigente en rojo debe destacar más que el tachado */
.mavigox-cart-page .cart-price strong,
.mavigox-cart-page .cart-price strong .woocommerce-Price-amount,
.mavigox-cart-page .cart-price strong bdi{
  font-size:16px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  color:var(--red) !important;
}

.mavigox-cart-page .cart-price del,
.mavigox-cart-page .cart-price del .woocommerce-Price-amount,
.mavigox-cart-page .cart-price del bdi{
  font-size:13px !important;
  line-height:1.15 !important;
  font-weight:500 !important;
  color:#9aa2ad !important;
}

/*
 * Regla global: solo la tercera fila del header queda fija.
 * Se usa position:fixed al cruzar el punto de la barra para evitar que
 * cualquier contenedor de WooCommerce anule position:sticky.
 */
.main-nav-wrap{
  width:100% !important;
  background:#fff !important;
  z-index:9990 !important;
}

.main-nav-wrap.is-fixed-global{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  width:100% !important;
  margin:0 !important;
  box-shadow:0 6px 18px rgba(0,0,0,.08) !important;
}

body.admin-bar .main-nav-wrap.is-fixed-global{
  top:32px !important;
}

.main-nav-placeholder{
  display:none;
  width:100%;
}

.main-nav-placeholder.is-active{
  display:block;
}

@media(max-width:782px){
  body.admin-bar .main-nav-wrap.is-fixed-global{
    top:46px !important;
  }
}


/* =========================
   MAVIGOX V23 - Checkout + precios
   ========================= */

/* Precio normal tachado más legible en todas las tarjetas de producto */
.mavigox-product-price del,
.shop-price del,
.related-price del,
.recommend-price del,
.mavigox-product-price del .woocommerce-Price-amount,
.shop-price del .woocommerce-Price-amount,
.related-price del .woocommerce-Price-amount,
.recommend-price del .woocommerce-Price-amount,
.mavigox-product-price del bdi,
.shop-price del bdi,
.related-price del bdi,
.recommend-price del bdi{
  font-size:13px !important;
  color:#979fa9 !important;
  font-weight:500 !important;
}

/* Checkout */
.mavigox-checkout-page{padding:26px 0 52px;background:#fff;color:#142038}
.checkout-progress{position:relative;display:grid;grid-template-columns:repeat(3,1fr);max-width:700px;margin:0 auto 30px;min-height:65px}
.checkout-progress-line{position:absolute;left:16.66%;right:16.66%;top:17px;height:3px;background:#c7ccd4;z-index:0}
.checkout-progress-line:before{content:"";position:absolute;left:0;top:0;width:50%;height:100%;background:var(--red)}
.checkout-progress-step{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:13px;color:#26344a}
.checkout-step-circle{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#aeb6c2;color:#fff;font-weight:700;font-size:14px}
.checkout-progress-step.is-done .checkout-step-circle,.checkout-progress-step.is-active .checkout-step-circle{background:var(--red)}
.checkout-progress-step.is-active span:last-child{font-weight:700}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(300px,.82fr);gap:18px;align-items:start}
.checkout-main-card,.checkout-summary-card{border:1px solid #e2e6eb;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(20,31,48,.025)}
.checkout-main-card{padding:24px 20px}
.checkout-title-block h1{margin:0;font-size:28px;line-height:1.15;font-weight:800;color:#152238}
.checkout-title-block p,.section-helper{margin:5px 0 0;color:#637083;font-size:13px}
.checkout-section{padding:22px 0;border-bottom:1px solid #e8ebef}
.checkout-section h2{margin:0 0 12px;font-size:17px;font-weight:800;color:#17243a}
.delivery-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.delivery-card{position:relative;min-height:128px;border:1px solid #dce2e8;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px 10px;cursor:pointer;transition:.22s ease;background:#fff}
.delivery-card input{position:absolute;opacity:0}
.delivery-card.is-selected{border-color:var(--red);background:#fff8f8;box-shadow:0 0 0 1px rgba(244,20,28,.08) inset}
.delivery-check,.payment-select-dot{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;border:1px solid #bbc5d0;color:transparent;background:#fff;font-size:11px;font-weight:700}
.delivery-card.is-selected .delivery-check,.payment-method-card.is-selected .payment-select-dot{background:var(--red);border-color:var(--red);color:#fff}
.checkout-line-icon{display:grid;place-items:center;color:#152238;margin-bottom:6px}
.checkout-line-icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.delivery-card.is-selected .checkout-line-icon,.store-red{color:var(--red)}
.delivery-card strong{font-size:14px}.delivery-card small{font-size:12px;color:#687386;margin-top:4px;line-height:1.3}
.auth-grid{display:grid;grid-template-columns:1.05fr .8fr;gap:14px;margin-top:12px}
.auth-actions{display:grid;gap:9px}
.checkout-auth-primary,.checkout-auth-secondary{min-height:46px;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:700}
.checkout-auth-primary{background:var(--red);color:#fff}.checkout-auth-primary:hover{background:#000;color:#fff}
.checkout-auth-secondary{border:1px solid #d8dee6;color:#26334a;background:#fff}.checkout-auth-secondary:hover{border-color:var(--red);color:var(--red)}
.checkout-auth-primary svg,.checkout-auth-secondary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
.account-benefits{border-radius:8px;background:#f7f8fa;padding:14px;display:flex;flex-direction:column;gap:7px;font-size:12px;color:#455267}
.account-benefits strong{font-size:12px;color:#203047}.account-benefits span{display:block}
.logged-account-box{display:flex;align-items:center;gap:10px;background:#f5fbf6;border:1px solid #d9eddd;padding:12px;border-radius:8px;margin-top:10px}
.logged-check{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#19a447;color:#fff;font-weight:700}.logged-account-box small{display:block;color:#647083;margin-top:2px}
.checkout-auth-lock.is-locked{opacity:.42;pointer-events:none;user-select:none}
.contact-fields,.delivery-address-fields{display:grid;grid-template-columns:1.3fr .75fr .85fr;gap:10px;margin-top:12px}
.delivery-address-fields{grid-template-columns:1fr 1fr}.field-wide{grid-column:1/-1}
.contact-fields label,.delivery-address-fields label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#26334b}.contact-fields em,.delivery-address-fields em{color:var(--red);font-style:normal}
.contact-fields input,.delivery-address-fields input{height:42px;border:1px solid #dce2e8;border-radius:6px;padding:0 11px;font:inherit;color:#28364c;outline:0}.contact-fields input:focus,.delivery-address-fields input:focus{border-color:var(--red)}
.fulfillment-panel{display:none}.fulfillment-panel.is-active{display:block}
.pickup-info-card{display:grid;grid-template-columns:52px 1.25fr 1fr;gap:14px;align-items:center;background:#fff7f7;border-radius:9px;padding:16px;margin-top:10px}
.pickup-store-copy{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#536074}.pickup-store-copy strong{font-size:13px;color:#202f47}.pickup-store-copy small{font-size:11px}.pickup-notice{border-left:1px solid #d5dbe2;padding-left:18px;font-size:12px;color:#556278;line-height:1.45}
.pickup-map{height:185px;border-radius:8px;overflow:hidden;margin-top:12px;border:1px solid #e2e5e8}.pickup-map iframe{width:100%;height:100%;border:0}
.checkout-payment-layout{display:grid;grid-template-columns:.95fr 1.25fr;gap:12px;margin-top:10px}
.checkout-payment-methods{display:flex;flex-direction:column;gap:9px}.payment-method-card{position:relative;min-height:78px;border:1px solid #dce2e8;border-radius:8px;display:grid;grid-template-columns:48px 1fr;align-items:center;gap:10px;padding:10px 34px 10px 13px;cursor:pointer;background:#fff}.payment-method-card input{position:absolute;opacity:0}.payment-method-card.is-selected{border-color:var(--red);background:#fff8f8}.payment-method-card .checkout-line-icon{margin:0}.payment-method-copy{display:flex;flex-direction:column;gap:3px}.payment-method-copy strong{font-size:13px}.payment-method-copy small{font-size:11px;color:#687386;line-height:1.35}.yape-icon{color:#7b188f}
.checkout-payment-details{min-height:165px;border:1px solid #e2e6eb;border-radius:8px;background:#fafbfc;padding:14px}.payment-detail-panel{display:none!important;margin:0!important;padding:0!important;background:transparent!important}.payment-detail-panel.is-active{display:block!important}.payment-detail-title{display:flex;align-items:center;gap:8px;margin-bottom:10px}.payment-detail-title strong{font-size:13px}.payment-detail-title img{max-height:28px;width:auto}.payment-detail-panel p{font-size:12px;color:#5e6a7c}.payment-detail-placeholder,.no-payment-gateways{font-size:12px;color:#667184;line-height:1.45}
.checkout-terms-row{padding:18px 0 12px}.checkout-terms-row label{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#47556b;cursor:pointer}.checkout-terms-row input{margin-top:1px;accent-color:var(--red)}.checkout-terms-row a{color:var(--red);font-weight:600}
.mavigox-place-order{width:100%;height:50px;border:0;border-radius:12px;background:var(--red);color:#fff;display:grid;grid-template-columns:32px 1fr auto 28px;align-items:center;gap:8px;padding:0 18px;font-size:15px;cursor:pointer;transition:.2s ease}.mavigox-place-order:disabled{opacity:.45;cursor:not-allowed}.mavigox-place-order:not(:disabled):hover{background:#000}.modern-pay-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mavigox-place-order strong{text-align:left}.pay-total{font-weight:800}.pay-total .woocommerce-Price-amount{color:#fff}.pay-arrow{font-size:22px}
.checkout-security-note{text-align:center;margin-top:12px;font-size:11px;color:#798393}
.checkout-summary-column{position:sticky;top:90px}.checkout-summary-card{padding:20px 16px}.checkout-summary-card h2{margin:0 0 14px;font-size:18px;color:#18243a}.checkout-summary-products{display:grid;gap:8px}.checkout-summary-product{display:grid;grid-template-columns:68px 1fr;gap:10px;border:1px solid #e3e7eb;border-radius:8px;padding:7px}.summary-product-image{width:68px;height:68px;border-radius:6px;overflow:hidden;background:#f5f6f7}.summary-product-image img{width:100%;height:100%;object-fit:contain}.summary-product-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.summary-product-copy strong{font-size:12px;line-height:1.25}.summary-product-copy small{font-size:10px;color:#667386}.summary-product-copy span{font-size:13px;font-weight:700;color:#17243a;margin-top:2px}.checkout-summary-totals{margin-top:14px;padding-top:12px;border-top:1px solid #e4e8ec;display:grid;gap:10px}.checkout-summary-totals>div{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#3e4d64}.checkout-summary-totals strong{font-weight:600}.checkout-grand-total{padding-top:10px;border-top:1px solid #e4e8ec;font-size:18px!important;font-weight:800}.checkout-grand-total strong,.checkout-grand-total .woocommerce-Price-amount{font-size:24px;color:var(--red);font-weight:800}.checkout-coupon-box{margin-top:14px;border:1px solid #e0e4e8;border-radius:7px;display:grid;grid-template-columns:24px 1fr auto;align-items:center;overflow:hidden}.checkout-coupon-box span{padding-left:9px}.checkout-coupon-box input{height:40px;border:0;outline:0;font-size:11px}.checkout-coupon-box button{height:40px;border:0;border-left:1px solid #e0e4e8;background:#fff;padding:0 10px;font-size:11px;font-weight:700;cursor:pointer}.checkout-secure-card{margin-top:14px;border-radius:8px;background:#fff5f5;padding:13px;display:flex;align-items:center;gap:9px}.checkout-secure-card span{color:var(--red);font-size:22px}.checkout-secure-card strong{font-size:11px}.checkout-secure-card small{display:block;color:#697486;font-size:10px;margin-top:2px}
.floating-whatsapp{width:48px!important;height:48px!important}.floating-whatsapp .m-icon{width:29px!important;height:29px!important}.floating-whatsapp .m-icon svg{stroke:#fff!important;fill:none!important;stroke-width:1.75!important}

@media(max-width:1024px){.checkout-layout{grid-template-columns:1fr}.checkout-summary-column{position:static}.checkout-payment-layout{grid-template-columns:1fr}.contact-fields{grid-template-columns:1fr 1fr}.contact-fields label:first-child{grid-column:1/-1}.delivery-options{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:700px){.mavigox-checkout-page{padding-top:18px}.checkout-main-card{padding:18px 14px}.checkout-title-block h1{font-size:24px}.delivery-options{grid-template-columns:1fr}.auth-grid{grid-template-columns:1fr}.contact-fields,.delivery-address-fields{grid-template-columns:1fr}.field-wide,.contact-fields label:first-child{grid-column:auto}.pickup-info-card{grid-template-columns:44px 1fr}.pickup-notice{grid-column:1/-1;border-left:0;border-top:1px solid #e1dede;padding:10px 0 0}.checkout-payment-layout{grid-template-columns:1fr}.checkout-progress{margin-bottom:20px}.checkout-progress-step{font-size:11px}}


/* ============================================================
   MAVIGOX V24
   Sistema Responsive Global + Header/Footer móvil
   ============================================================ */

.mobile-header,
.mobile-bottom-nav{
  display:none;
}

/* Evitar desbordamientos globales */
html,
body{
  max-width:100%;
  overflow-x:hidden;
}

img,
svg{
  max-width:100%;
}

/* ---------- PC grandes ---------- */
@media(min-width:1440px){
  .m-shell{
    width:min(1240px, calc(100% - 64px)) !important;
    margin-inline:auto !important;
  }

  .products-grid-page{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }

  .single-related-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}

/* ---------- Laptop ---------- */
@media(min-width:1025px) and (max-width:1439px){
  .m-shell{
    width:min(1120px, calc(100% - 48px)) !important;
    margin-inline:auto !important;
  }

  .products-grid-page{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }

  .shop-product-card,
  .mavigox-product-card,
  .single-related-card,
  .recommend-card{
    min-width:0 !important;
  }
}

/* ---------- Tablet ---------- */
@media(min-width:768px) and (max-width:1024px){
  .m-shell{
    width:calc(100% - 40px) !important;
    margin-inline:auto !important;
  }

  .products-grid-page{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }

  .products-section .mavigox-products-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }

  .single-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .cart-layout,
  .checkout-layout{
    grid-template-columns:1fr !important;
  }

  .checkout-summary-column{
    position:static !important;
  }

  .single-product-top{
    grid-template-columns:1fr !important;
  }

  .product-gallery-wrap{
    max-width:100% !important;
  }

  .header-main-inner{
    grid-template-columns:135px minmax(0,1fr) !important;
  }

  .header-actions{
    grid-column:1 / -1;
    justify-content:center;
  }
}

/* ============================================================
   MÓVIL - mockup aprobado
   ============================================================ */
@media(max-width:767px){

  body{
    padding-bottom:92px !important;
  }

  /* Ocultar header/footer desktop */
  .site-header{
    display:none !important;
  }

  .site-footer{
    display:none !important;
  }

  .main-nav-placeholder{
    display:none !important;
    height:0 !important;
  }

  /* HEADER MÓVIL */
  .mobile-header{
    display:block !important;
    position:sticky;
    top:0;
    z-index:10000;
    padding:12px 12px 0;
    background:rgba(248,249,250,.96);
    backdrop-filter:blur(10px);
  }

  body.admin-bar .mobile-header{
    top:46px;
  }

  .mobile-header-card{
    width:100%;
    border:1px solid #eceff2;
    border-radius:18px;
    background:#fff;
    box-shadow:0 9px 28px rgba(19,29,43,.08);
    padding:15px 14px 14px;
  }

  .mobile-header-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
  }

  .mobile-brand{
    display:flex;
    align-items:center;
    min-width:0;
  }

  .mobile-brand img{
    width:150px;
    height:auto;
    display:block;
  }

  .mobile-head-actions{
    display:flex;
    align-items:center;
    gap:19px;
  }

  .mobile-cart-top,
  .mobile-user-top{
    position:relative;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    color:#111;
  }

  .mobile-cart-top .m-icon,
  .mobile-user-top .m-icon{
    width:31px;
    height:31px;
  }

  .mobile-cart-badge{
    position:absolute;
    top:-4px;
    right:-6px;
    min-width:23px;
    height:23px;
    padding:0 5px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:var(--red);
    color:#fff;
    font-size:11px;
    font-weight:700;
    line-height:1;
  }

  .mobile-header-search-row{
    display:grid;
    grid-template-columns:46px minmax(0,1fr);
    gap:12px;
    align-items:center;
    margin-top:15px;
  }

  .mobile-menu-trigger{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border:0;
    background:transparent;
    color:#111;
    cursor:pointer;
    padding:0;
  }

  .mobile-menu-trigger .m-icon{
    width:34px;
    height:34px;
  }

  .mobile-search-form{
    height:48px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 64px;
    overflow:hidden;
    border:1.5px solid #bcc3cc;
    border-radius:11px;
    background:#fff;
  }

  .mobile-search-form input{
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    padding:0 14px;
    color:#303846;
    font-size:16px;
  }

  .mobile-search-form input::placeholder{
    color:#9ba2ac;
  }

  .mobile-search-form button{
    border:0;
    background:var(--red);
    color:#fff;
    display:grid;
    place-items:center;
    cursor:pointer;
  }

  .mobile-search-form button .m-icon{
    width:28px;
    height:28px;
  }

  .mobile-category-panel{
    display:none;
    margin-top:12px;
    padding:6px 0 0;
    border-top:1px solid #eceff2;
  }

  .mobile-category-panel.is-open{
    display:block;
  }

  .mobile-category-panel ul{
    list-style:none;
    margin:0;
    padding:7px 0 0;
  }

  .mobile-category-panel li + li{
    border-top:1px solid #f0f1f3;
  }

  .mobile-category-panel a{
    display:block;
    padding:12px 4px;
    color:#263246;
    font-size:14px;
    font-weight:600;
  }

  /* FOOTER / NAV MÓVIL FIJO */
  .mobile-bottom-nav{
    position:fixed;
    z-index:10001;
    left:12px;
    right:12px;
    bottom:12px;
    height:74px;
    display:grid !important;
    grid-template-columns:repeat(4,1fr);
    align-items:center;
    border:1px solid #eceff2;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(19,29,43,.12);
    overflow:hidden;
  }

  .mobile-bottom-nav > a,
  .mobile-bottom-nav > button{
    height:100%;
    border:0;
    background:transparent;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    color:#111;
    font-size:12px;
    font-weight:500;
    cursor:pointer;
    padding:0;
  }

  .mobile-bottom-nav .m-icon{
    width:27px;
    height:27px;
  }

  .mobile-bottom-nav .is-active{
    color:var(--red);
  }

  .mobile-bottom-cart-icon{
    position:relative;
    display:grid;
    place-items:center;
  }

  .mobile-bottom-cart-icon .mobile-cart-badge{
    top:-8px;
    right:-12px;
  }

  /* WhatsApp y volver arriba no deben pisar barra móvil */
  .mavigox-floating-actions{
    right:12px !important;
    bottom:100px !important;
  }

  .floating-whatsapp,
  .floating-top{
    width:44px !important;
    height:44px !important;
  }

  /* Contenedores globales */
  .m-shell{
    width:calc(100% - 24px) !important;
    margin-inline:auto !important;
  }

  main,
  .home-page,
  .mavigox-products-page,
  .mavigox-cart-page,
  .mavigox-checkout-page,
  .mavigox-single-product{
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  /* HOME */
  .home-page .hero-wrap,
  .home-page .hero-shell,
  .home-page .hero-slider,
  .home-page .slides,
  .home-page .slide{
    width:100% !important;
    max-width:100% !important;
  }

  .home-page .slide img{
    width:100% !important;
    height:auto !important;
    object-fit:contain !important;
  }

  .usp-grid{
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  .usp-item{
    min-width:0 !important;
  }

  /* TARJETAS PRODUCTOS */
  .products-section .mavigox-products-grid,
  .products-grid-page,
  .single-related-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .mavigox-product-card,
  .shop-product-card,
  .single-related-card,
  .recommend-card{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
  }

  .mavigox-product-image,
  .shop-product-img,
  .related-img,
  .recommend-img{
    width:100% !important;
    aspect-ratio:1/1 !important;
  }

  .mavigox-product-image img,
  .shop-product-img img,
  .related-img img,
  .recommend-img img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
  }

  .mavigox-product-body,
  .shop-product-body,
  .related-body,
  .recommend-body{
    padding:8px !important;
  }

  .mavigox-product-body h3,
  .shop-product-body h3,
  .related-body h3,
  .recommend-body h3{
    font-size:12px !important;
    line-height:1.28 !important;
    min-height:auto !important;
    white-space:normal !important;
  }

  .mavigox-product-price,
  .shop-price,
  .related-price,
  .recommend-price{
    font-size:14px !important;
  }

  .mavigox-product-price del,
  .shop-price del,
  .related-price del,
  .recommend-price del{
    font-size:11px !important;
  }

  .mavigox-cart-btn,
  .shop-cart-btn,
  .related-cart{
    width:32px !important;
    height:32px !important;
  }

  /* PRODUCTOS */
  .products-page-layout{
    display:block !important;
  }

  .products-sidebar{
    position:static !important;
    margin-bottom:14px;
  }

  .products-header{
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
  }

  .orderby-form{
    width:100%;
    justify-content:space-between;
  }

  .orderby-form select{
    min-width:0 !important;
    width:58% !important;
  }

  /* PRODUCTO INDIVIDUAL */
  .single-product-top{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .product-gallery-wrap{
    grid-template-columns:56px minmax(0,1fr) !important;
    gap:8px !important;
  }

  .product-thumb-btn{
    width:56px !important;
    height:56px !important;
  }

  .product-main-image{
    min-height:280px !important;
  }

  .product-main-image > img{
    max-height:280px !important;
    object-fit:contain !important;
  }

  .product-title-line h1{
    font-size:22px !important;
  }

  .single-current-price{
    font-size:27px !important;
  }

  .single-buy-row{
    grid-template-columns:1fr !important;
  }

  .single-add-cart{
    width:100% !important;
    max-width:none !important;
  }

  .single-benefits{
    grid-template-columns:1fr !important;
  }

  .single-benefit{
    border-right:0 !important;
    border-bottom:1px solid #e2e4e7;
    padding:10px 0 !important;
  }

  .single-benefit:last-child{
    border-bottom:0;
  }

  /* CARRITO */
  .cart-layout{
    grid-template-columns:1fr !important;
  }

  .cart-main-card,
  .cart-summary-card{
    padding:16px 12px !important;
  }

  .cart-title h1{
    font-size:22px !important;
  }

  .cart-table-head{
    display:none !important;
  }

  .cart-product-row{
    grid-template-columns:24px 78px minmax(0,1fr) 30px !important;
    grid-template-areas:
      "check image info remove"
      ". image price price"
      ". image qty subtotal" !important;
    gap:8px !important;
    min-height:0 !important;
    padding:12px 0 !important;
  }

  .row-check{
    grid-area:check;
  }

  .cart-product-info{
    grid-area:info;
    display:block !important;
  }

  .cart-product-thumb{
    grid-area:image;
    width:78px !important;
    height:78px !important;
  }

  .cart-product-copy h3{
    font-size:12px !important;
  }

  .cart-price{
    grid-area:price;
    flex-direction:row !important;
    align-items:baseline !important;
    gap:7px !important;
    padding:0 !important;
  }

  .cart-qty{
    grid-area:qty;
    justify-self:start !important;
  }

  .cart-line-subtotal{
    grid-area:subtotal;
    justify-self:end !important;
    padding:0 !important;
  }

  .cart-remove{
    grid-area:remove;
  }

  /* CHECKOUT */
  .checkout-layout{
    grid-template-columns:1fr !important;
  }

  .checkout-main-card,
  .checkout-summary-card{
    padding:16px 12px !important;
  }

  .checkout-title-block h1{
    font-size:23px !important;
  }

  .delivery-options,
  .auth-grid,
  .contact-fields,
  .delivery-address-fields,
  .checkout-payment-layout{
    grid-template-columns:1fr !important;
  }

  .field-wide,
  .contact-fields label:first-child{
    grid-column:auto !important;
  }

  .checkout-summary-column{
    position:static !important;
  }

  /* Tipografía general cómoda */
  input,
  select,
  textarea,
  button{
    font-size:16px;
  }
}

/* Móviles muy angostos */
@media(max-width:420px){
  .mobile-brand img{
    width:132px;
  }

  .mobile-head-actions{
    gap:12px;
  }

  .mobile-search-form{
    grid-template-columns:minmax(0,1fr) 58px;
  }

  .products-section .mavigox-products-grid,
  .products-grid-page,
  .single-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  .mavigox-product-body h3,
  .shop-product-body h3,
  .related-body h3{
    font-size:11.5px !important;
  }
}


/* ============================================================
   MAVIGOX V25 - Checkout refinado
   ============================================================ */

/* Tarjetas tipo de entrega más compactas */
.delivery-options{
  gap:10px !important;
}
.delivery-card{
  min-height:104px !important;
  padding:13px 10px 12px !important;
  border-radius:9px !important;
}
.delivery-card .checkout-line-icon{
  width:38px !important;
  height:38px !important;
  margin-bottom:5px !important;
}
.delivery-card .checkout-line-icon svg{
  width:31px !important;
  height:31px !important;
  stroke-width:1.65 !important;
}
.delivery-card strong{
  font-size:13px !important;
  line-height:1.2 !important;
}
.delivery-card small{
  font-size:10.5px !important;
  line-height:1.3 !important;
}

/* Campos de entrega */
.delivery-fields-v25{
  grid-template-columns:1fr 1fr !important;
  gap:12px !important;
}
.delivery-fields-v25 .field-wide{
  grid-column:1/-1 !important;
}
.delivery-fields-v25 input{
  height:42px !important;
}
.delivery-fields-v25 input[list]{
  background-image:
    linear-gradient(45deg, transparent 50%, #7b8593 50%),
    linear-gradient(135deg, #7b8593 50%, transparent 50%);
  background-position:
    calc(100% - 15px) 18px,
    calc(100% - 10px) 18px;
  background-size:5px 5px,5px 5px;
  background-repeat:no-repeat;
  padding-right:28px !important;
}

/* Botón pagar ajustado al contenido */
.mavigox-place-order{
  width:auto !important;
  min-width:310px !important;
  max-width:100% !important;
  height:48px !important;
  display:inline-grid !important;
  grid-template-columns:24px auto auto 22px !important;
  justify-content:center !important;
  column-gap:12px !important;
  padding:0 22px !important;
  margin:2px auto 0 !important;
  border-radius:11px !important;
}
.mavigox-place-order strong{
  text-align:center !important;
}
.pay-total{
  font-weight:700 !important;
}
.pay-total .woocommerce-Price-amount,
.pay-total bdi{
  font-weight:700 !important;
}
.modern-pay-icon svg{
  width:20px !important;
  height:20px !important;
}
.checkout-security-note{
  display:none !important;
}

/* Resumen derecho: subtotal y envío más visibles */
.checkout-summary-totals > div:not(.checkout-grand-total){
  font-size:15px !important;
}
.checkout-summary-totals > div:not(.checkout-grand-total) strong,
.checkout-summary-totals > div:not(.checkout-grand-total) .woocommerce-Price-amount,
.checkout-summary-totals > div:not(.checkout-grand-total) bdi{
  font-size:16px !important;
  font-weight:600 !important;
  color:#1c2940 !important;
}

/* Total: más limpio, menos grueso */
.checkout-grand-total{
  font-size:18px !important;
  font-weight:700 !important;
}
.checkout-grand-total strong,
.checkout-grand-total .woocommerce-Price-amount,
.checkout-grand-total bdi{
  font-size:24px !important;
  font-weight:700 !important;
  color:var(--red) !important;
}

/* Cupón profesional */
.checkout-coupon-box{
  grid-template-columns:36px 1fr auto !important;
}
.coupon-pro-icon{
  width:36px;
  height:40px;
  display:grid;
  place-items:center;
  padding:0 !important;
  color:#42516a !important;
}
.coupon-pro-icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Compra segura profesional */
.checkout-secure-card{
  gap:12px !important;
  padding:14px !important;
}
.secure-pro-icon{
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  background:#fff;
  color:var(--red) !important;
  border:1px solid #ffd0d0;
}
.secure-pro-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.checkout-secure-card strong{
  font-size:12px !important;
}
.checkout-secure-card small{
  font-size:10.5px !important;
}

/* Responsive */
@media(max-width:1024px){
  .delivery-card{
    min-height:98px !important;
  }
}

@media(max-width:700px){
  .delivery-fields-v25{
    grid-template-columns:1fr !important;
  }
  .delivery-fields-v25 .field-wide{
    grid-column:auto !important;
  }
  .mavigox-place-order{
    width:100% !important;
    min-width:0 !important;
    grid-template-columns:22px auto auto 20px !important;
    padding:0 14px !important;
    column-gap:8px !important;
  }
}


/* ============================================================
   MAVIGOX V26 - Checkout ajustes finos
   ============================================================ */
.delivery-options{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  padding:0 10px !important;
}
.delivery-card{
  min-height:88px !important;
  width:94% !important;
  justify-self:center !important;
  padding:10px 8px !important;
}
.delivery-card .checkout-line-icon{
  width:34px !important;
  height:34px !important;
  margin-bottom:3px !important;
}
.delivery-card .checkout-line-icon svg{
  width:28px !important;
  height:28px !important;
}
.delivery-card strong{font-size:12.5px !important}
.delivery-card small{font-size:10px !important}
.motorcycle-icon svg{stroke-width:1.7 !important}

.checkout-field-label{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  min-height:18px !important;
  margin-bottom:3px !important;
  line-height:1.2 !important;
}
.checkout-field-label em{
  position:relative;
  top:1px;
  color:var(--red) !important;
  font-style:normal !important;
  font-weight:700 !important;
}
.contact-fields label,
.delivery-address-fields label{
  gap:7px !important;
}
.delivery-fields-v26{
  grid-template-columns:1fr 1fr !important;
  gap:13px 14px !important;
}
.delivery-fields-v26 .field-wide{grid-column:1/-1 !important}
.delivery-fields-v26 input{height:41px !important}

.summary-product-copy .summary-quantity{
  margin-top:3px !important;
  font-size:11.5px !important;
  color:#59667a !important;
  font-weight:600 !important;
}
.summary-product-copy .summary-quantity span{
  color:var(--red) !important;
  font-size:14px !important;
  font-weight:700 !important;
  margin-left:3px !important;
}

@media(max-width:700px){
  .delivery-options{grid-template-columns:1fr !important;padding:0 !important;gap:10px !important}
  .delivery-card{width:100% !important;min-height:82px !important}
  .delivery-fields-v26{grid-template-columns:1fr !important}
  .delivery-fields-v26 .field-wide{grid-column:auto !important}
}


/* ============================================================
   MAVIGOX V27 - Breadcrumb global + Contáctanos
   ============================================================ */

/* Regla global de miga de pan */
.mavigox-breadcrumb{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:7px !important;
  font-style:italic !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:1.4 !important;
  color:#657184 !important;
}
.mavigox-breadcrumb a{
  color:#657184 !important;
  font-style:italic !important;
  font-weight:500 !important;
}
.mavigox-breadcrumb a:hover{
  color:var(--red) !important;
}
.mavigox-breadcrumb .breadcrumb-separator,
.mavigox-breadcrumb > span:not(:last-child){
  color:#8e98a6 !important;
}
.mavigox-breadcrumb .breadcrumb-current,
.mavigox-breadcrumb > span:last-child{
  color:var(--red) !important;
  font-style:italic !important;
  font-weight:600 !important;
}

/* Página Contacto */
.mavigox-contact-page{
  padding:24px 0 52px;
  background:#fff;
}
.contact-breadcrumb{
  margin-bottom:10px !important;
}
.contact-page-heading{
  margin-bottom:20px;
}
.contact-page-heading h1{
  margin:0;
  color:#050505;
  font-size:48px;
  line-height:1;
  font-weight:800;
  letter-spacing:-1.8px;
}
.contact-page-heading h1 span{
  color:var(--red);
}
.contact-page-heading p{
  margin:8px 0 0;
  color:#58667e;
  font-size:16px;
  line-height:1.45;
}
.contact-page-grid{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(420px,.92fr);
  gap:24px;
  align-items:start;
}
.contact-info-column{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.contact-info-card,
.contact-map-card,
.contact-form-card{
  border:1px solid #e4e7eb;
  background:#fff;
  border-radius:12px;
  box-shadow:0 4px 18px rgba(20,31,48,.035);
}
.contact-info-card{
  min-height:82px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr) minmax(190px,.8fr);
  gap:16px;
  align-items:center;
  padding:14px 20px;
}
.contact-location-card{
  grid-template-columns:58px 1fr;
}
.contact-round-icon{
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--red);
  color:#fff;
}
.contact-round-icon svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.contact-card-main{
  min-width:0;
  color:#101b31;
}
.contact-card-main strong{
  display:block;
  margin-bottom:3px;
  font-size:14px;
  font-weight:700;
}
.contact-card-main a,
.contact-card-main > span{
  color:#101b31;
  font-size:20px;
  line-height:1.2;
  font-weight:800;
}
.contact-location-card .contact-card-main > span{
  font-size:16px;
  font-weight:700;
}
.contact-card-main small{
  display:block;
  margin-top:4px;
  color:#68758a;
  font-size:13px;
}
.contact-card-note{
  padding-left:20px;
  border-left:1px solid #dfe3e8;
  color:#66748a;
  font-size:13px;
  line-height:1.45;
}
.contact-map-card{
  padding:16px 18px 18px;
}
.contact-map-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.contact-map-head h2{
  margin:0;
  color:#111d33;
  font-size:18px;
  font-weight:800;
}
.contact-route-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 14px;
  border-radius:18px;
  background:#fff4f4;
  color:var(--red);
  font-size:13px;
  font-weight:700;
}
.contact-route-btn svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
}
.contact-map-frame{
  height:245px;
  border-radius:8px;
  overflow:hidden;
  background:#f4f5f6;
}
.contact-map-frame iframe{
  width:100%;
  height:100%;
  border:0;
}
.contact-form-card{
  padding:20px 22px 16px;
}
.contact-form-heading{
  margin-bottom:18px;
}
.contact-form-heading h2{
  margin:0;
  color:#101b31;
  font-size:22px;
  font-weight:800;
}
.contact-form-heading p{
  margin:4px 0 0;
  color:#66748a;
  font-size:13px;
}
.mavigox-contact-form{
  display:flex;
  flex-direction:column;
  gap:13px;
}
.mavigox-contact-form label{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:7px;
  color:#1c2a43;
  font-size:13px;
  font-weight:500;
}
.mavigox-contact-form em{
  color:var(--red);
  font-style:normal;
}
.mavigox-contact-form input,
.mavigox-contact-form textarea{
  width:100%;
  border:1px solid #d8dee6;
  border-radius:7px;
  background:#fff;
  color:#253247;
  font:inherit;
  font-size:14px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.mavigox-contact-form input{
  height:43px;
  padding:0 13px;
}
.mavigox-contact-form textarea{
  height:105px;
  resize:vertical;
  padding:12px 13px 28px;
}
.mavigox-contact-form input:focus,
.mavigox-contact-form textarea:focus{
  border-color:var(--red);
  box-shadow:0 0 0 2px rgba(238,17,25,.07);
}
.contact-counter{
  position:absolute;
  right:10px;
  bottom:9px;
  color:#798598;
  font-size:11px;
  font-weight:500;
}
.contact-submit-btn{
  height:47px;
  border:0;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--red);
  color:#fff;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  transition:.22s ease;
}
.contact-submit-btn:hover{
  background:#000;
}
.contact-submit-btn svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.contact-form-footnote{
  margin:0;
  text-align:center;
  color:#778398;
  font-size:11px;
}
.contact-alert{
  margin-bottom:14px;
  padding:10px 12px;
  border-radius:7px;
  font-size:13px;
}
.contact-alert.is-success{
  background:#eaf8ee;
  color:#1f7e3d;
}
.contact-alert.is-error{
  background:#fff0f0;
  color:#b11b20;
}

/* Responsive de Contacto sin alterar otras páginas */
@media(max-width:1180px){
  .contact-page-grid{
    grid-template-columns:1fr 1fr;
    gap:18px;
  }
  .contact-info-card{
    grid-template-columns:50px minmax(0,1fr);
  }
  .contact-card-note{
    grid-column:2;
    padding:7px 0 0;
    border-left:0;
    border-top:1px solid #e5e8ec;
  }
  .contact-page-heading h1{
    font-size:42px;
  }
}
@media(max-width:900px){
  .contact-page-grid{
    grid-template-columns:1fr;
  }
  .contact-form-card{
    order:2;
  }
  .contact-map-frame{
    height:300px;
  }
}
@media(max-width:767px){
  .mavigox-breadcrumb{
    font-size:13px !important;
  }
  .mavigox-contact-page{
    padding:18px 0 34px;
  }
  .contact-page-heading h1{
    font-size:34px;
    letter-spacing:-1px;
  }
  .contact-page-heading p{
    font-size:14px;
  }
  .contact-info-card{
    grid-template-columns:46px minmax(0,1fr);
    gap:12px;
    padding:13px 14px;
  }
  .contact-round-icon{
    width:42px;
    height:42px;
  }
  .contact-card-main a,
  .contact-card-main > span{
    font-size:16px;
  }
  .contact-location-card .contact-card-main > span{
    font-size:14px;
  }
  .contact-map-card,
  .contact-form-card{
    padding:15px 14px;
  }
  .contact-map-frame{
    height:250px;
  }
  .contact-form-heading h2{
    font-size:20px;
  }
}
@media(max-width:480px){
  .contact-map-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .contact-route-btn{
    align-self:flex-start;
  }
  .contact-map-frame{
    height:220px;
  }
}


/* ============================================================
   MAVIGOX V28 - móvil + producto individual
   ============================================================ */

/* Producto individual: nombre limpio en todos los dispositivos */
body.single-product .product-brand-label,
body.single-product .title-divider{
  display:none !important;
}
body.single-product .product-title-line{
  display:block !important;
  margin-bottom:18px !important;
}
body.single-product .product-title-line h1{
  margin:0 !important;
}

/* Miga de pan más legible como regla general */
.mavigox-breadcrumb{
  font-size:16px !important;
  line-height:1.45 !important;
}

@media(max-width:767px){
  /* Header móvil al ras, sin tarjeta ni esquinas redondeadas */
  .mobile-header{
    padding:0 !important;
    background:#fff !important;
    backdrop-filter:none !important;
    width:100% !important;
    left:0 !important;
    right:0 !important;
  }
  .mobile-header-card{
    width:100% !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    padding:14px 14px 12px !important;
    margin:0 !important;
  }

  /* Favoritos en lugar de carrito en encabezado móvil */
  .mobile-favorites-top,
  .mobile-user-top{
    position:relative !important;
    width:42px !important;
    height:42px !important;
    display:grid !important;
    place-items:center !important;
    color:#111 !important;
  }
  .mobile-favorites-top .m-icon,
  .mobile-user-top .m-icon{
    width:30px !important;
    height:30px !important;
  }

  /* Barra inferior móvil a todo el ancho, cuadrada y fija */
  .mobile-bottom-nav{
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    height:76px !important;
    border:0 !important;
    border-top:1px solid #eceff2 !important;
    border-radius:0 !important;
    box-shadow:0 -5px 18px rgba(19,29,43,.08) !important;
    margin:0 !important;
  }
  body{
    padding-bottom:76px !important;
  }
  .mavigox-floating-actions{
    bottom:88px !important;
  }

  /* Miga de pan móvil más grande */
  .mavigox-breadcrumb{
    font-size:15.5px !important;
    line-height:1.5 !important;
  }

  /* Producto individual: galería izquierda + imagen derecha */
  body.single-product .product-gallery-wrap{
    display:grid !important;
    grid-template-columns:62px minmax(0,1fr) !important;
    gap:10px !important;
    align-items:start !important;
  }
  body.single-product .product-thumbs{
    grid-column:1 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    overflow:visible !important;
  }
  body.single-product .product-main-image{
    grid-column:2 !important;
    grid-row:1 !important;
    min-width:0 !important;
    min-height:300px !important;
  }
  body.single-product .product-thumb-btn{
    width:62px !important;
    height:62px !important;
    min-width:62px !important;
  }
  body.single-product .product-main-image>img{
    width:100% !important;
    height:100% !important;
    max-height:330px !important;
    object-fit:contain !important;
  }

  /* Nombre del producto más grande en móvil */
  body.single-product .product-title-line h1{
    font-size:25px !important;
    line-height:1.18 !important;
    font-weight:700 !important;
  }
}

@media(max-width:420px){
  body.single-product .product-gallery-wrap{
    grid-template-columns:56px minmax(0,1fr) !important;
    gap:8px !important;
  }
  body.single-product .product-thumb-btn{
    width:56px !important;
    height:56px !important;
    min-width:56px !important;
  }
  body.single-product .product-title-line h1{
    font-size:24px !important;
  }
  .mavigox-breadcrumb{
    font-size:15px !important;
  }
}


/* ============================================================
   MAVIGOX V29 - Favoritos + búsqueda rápida + rendimiento
   ============================================================ */
.mavigox-favorites-page{padding:22px 0 54px;background:#fff}
.favorites-breadcrumb{margin-bottom:18px!important}
.favorites-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.favorites-page-head h1{margin:0;color:#17243a;font-size:34px;line-height:1.1;font-weight:700}
.favorites-page-head p{margin:7px 0 0;color:#637087;font-size:16px}
.favorites-count{font-size:16px;color:#657087;white-space:nowrap}
.favorites-count strong{font-size:19px;color:#17243a;font-weight:700}
.favorites-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.favorite-product-card{border:1px solid #e0e4e9;border-radius:10px;overflow:hidden;background:#fff;min-width:0}
.favorite-product-media{position:relative;aspect-ratio:1.22/1;background:#f7f7f7;overflow:hidden}
.favorite-product-media>a{display:block;width:100%;height:100%}
.favorite-product-media img{width:100%;height:100%;object-fit:contain;display:block;padding:8px}
.favorite-remove{position:absolute!important;top:11px!important;right:11px!important;width:38px!important;height:38px!important;background:#fff!important;color:var(--red)!important;border:0!important;box-shadow:0 5px 16px rgba(20,29,42,.09)!important}
.favorite-remove svg{fill:var(--red)!important;stroke:var(--red)!important}
.favorite-product-body{padding:13px 14px 14px}
.favorite-product-body h3{margin:0 0 5px;font-size:17px;line-height:1.25;color:#19263b;font-weight:700}
.favorite-product-body h3 a{color:inherit}
.favorite-sizes{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0;color:#657087;font-size:12px}
.favorite-sizes b{min-width:30px;height:26px;border-radius:8px;background:#f4f5f7;display:grid;place-items:center;color:#586579;font-size:12px;font-weight:500}
.favorite-price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:12px 0 15px}
.favorite-current{color:var(--red);font-size:22px;font-weight:700}
.favorite-current ins{text-decoration:none}
.favorite-regular{color:#8e98a8;font-size:14px;text-decoration:line-through}
.favorite-regular del{text-decoration:none}.favorite-regular ins{text-decoration:none}
.favorite-card-actions{display:grid;grid-template-columns:1fr auto;gap:8px}
.favorite-add-cart,.favorite-view-product{height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:700}
.favorite-add-cart{border:1px solid #d5dbe3;color:#1e2b40;background:#fff}
.favorite-add-cart:hover{border-color:var(--red);color:var(--red)}
.favorite-add-cart svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.favorite-view-product{padding:0 18px;background:var(--red);color:#fff}
.favorite-view-product:hover{background:#000;color:#fff}
.favorites-empty{max-width:470px;margin:24px auto 30px;padding:44px 34px;border:1px solid #e3e6ea;border-radius:12px;background:#fafafa;text-align:center}
.favorites-empty-heart{width:94px;height:94px;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px;background:#ffe8e8;color:var(--red)}
.favorites-empty-heart svg{width:48px;height:48px;fill:currentColor;stroke:currentColor;stroke-width:1.1}
.favorites-empty h2{margin:0;color:#17243a;font-size:24px;line-height:1.25}
.favorites-empty p{margin:16px 0 24px;color:#667288;font-size:15px;line-height:1.55}
.favorites-explore-btn{height:48px;max-width:320px;margin:auto;border-radius:8px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;gap:11px;font-size:16px;font-weight:700}
.favorites-explore-btn:hover{background:#000;color:#fff}
.favorites-explore-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}
.favorites-loading{min-height:140px;display:flex;align-items:center;justify-content:center;gap:12px;color:#6a7484;font-size:14px}
.favorites-loading[hidden]{display:none!important}
.favorites-loader{width:24px;height:24px;border:2px solid #e0e3e8;border-top-color:var(--red);border-radius:50%;animation:favSpin .75s linear infinite}
@keyframes favSpin{to{transform:rotate(360deg)}}
.favorites-benefits{margin-top:34px;padding:20px 24px;border-radius:10px;background:#fff7f7;display:grid;grid-template-columns:repeat(4,1fr)}
.favorites-benefit{display:flex;align-items:center;gap:13px;padding:0 22px;border-right:1px solid #d9dde2;min-width:0}
.favorites-benefit:first-child{padding-left:0}.favorites-benefit:last-child{border-right:0;padding-right:0}
.favorites-benefit-icon{flex:0 0 auto;color:var(--red)}
.favorites-benefit-icon svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.favorites-benefit strong{display:block;color:#17243a;font-size:14px;line-height:1.25}
.favorites-benefit small{display:block;margin-top:4px;color:#687387;font-size:11.5px;line-height:1.35}

/* Active heart appearance globally */
.product-wishlist.is-active{background:var(--red)!important;color:#fff!important;border-color:var(--red)!important}
.product-wishlist.is-active svg{fill:#fff!important;stroke:#fff!important}

/* Fast search dropdown */
.header-search,.mobile-search-form{position:relative}
.mavigox-live-search{display:none;position:absolute;z-index:10020;left:0;right:0;top:calc(100% + 7px);max-height:390px;overflow:auto;background:#fff;border:1px solid #e1e5ea;border-radius:10px;box-shadow:0 15px 34px rgba(22,32,47,.13);padding:6px}
.mavigox-live-search.is-open{display:block}
.live-search-item{display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:center;padding:7px;border-radius:7px;color:#243148}
.live-search-item:hover{background:#f7f8fa}
.live-search-item img{width:54px;height:54px;object-fit:contain;border-radius:6px;background:#f6f7f8}
.live-search-item strong{display:block;font-size:13px;line-height:1.25}
.live-search-item small{display:block;margin-top:4px;color:var(--red);font-size:12px}
.live-search-empty{padding:14px;color:#6b7585;font-size:13px;text-align:center}

@media(max-width:1024px){
  .favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .favorites-benefits{grid-template-columns:repeat(2,1fr);gap:18px 0}
  .favorites-benefit:nth-child(2){border-right:0}
}
@media(max-width:767px){
  .mavigox-favorites-page{padding:18px 0 42px}
  .favorites-page-head{align-items:flex-start;flex-direction:column;gap:9px;margin-bottom:18px}
  .favorites-page-head h1{font-size:27px}.favorites-page-head p{font-size:14px}.favorites-count{font-size:13px}.favorites-count strong{font-size:16px}
  .favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .favorite-product-media{aspect-ratio:1/1}
  .favorite-product-body{padding:9px}.favorite-product-body h3{font-size:13px}
  .favorite-sizes{gap:4px;margin:7px 0;font-size:10px}.favorite-sizes b{min-width:24px;height:22px;font-size:10px}
  .favorite-price{gap:7px;margin:8px 0 10px}.favorite-current{font-size:16px}.favorite-regular{font-size:11px}
  .favorite-card-actions{grid-template-columns:1fr;gap:6px}.favorite-add-cart,.favorite-view-product{height:35px;font-size:11px;padding:0 7px}
  .favorites-empty{margin:10px 0 20px;padding:34px 18px}.favorites-empty h2{font-size:20px}.favorites-empty p{font-size:13px}
  .favorites-benefits{grid-template-columns:1fr;margin-top:22px;padding:14px 15px}
  .favorites-benefit,.favorites-benefit:first-child,.favorites-benefit:last-child{padding:12px 0;border-right:0;border-bottom:1px solid #e1e3e7}.favorites-benefit:last-child{border-bottom:0}
  .mavigox-live-search{position:fixed;left:10px;right:10px;top:145px;max-height:52vh}
}


/* ============================================================
   MAVIGOX V30
   Corrección exclusiva de página Favoritos.
   Header, menú y footer globales: SIN CAMBIOS.
   ============================================================ */
.mavigox-favorites-page{
  min-height:520px;
}
