/* Theme Name: NY Móvil Store Responsive
Theme URI: https://example.com/
Author: NY Móvil
Description: Tema responsive de accesorios y servicio técnico, compatible con WooCommerce, Elementor y Crocoblock.
Version: 4.1.0
Requires PHP: 7.4
Text Domain: nymovil
*/
:root{--green:#65bd00;--lime:#9bd800;--dark:#252d40;--ink:#1b2432}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:white}a{text-decoration:none;color:inherit}.wrap{width:min(1200px,94%);margin:auto}.topbar{background:#1d242b;color:white;font-size:12px}.topinner{min-height:34px;display:flex;align-items:center;gap:38px}.topright{margin-left:auto;display:flex;align-items:center;gap:15px}.topright a{background:linear-gradient(120deg,#3fa900,#65ce00);padding:10px 18px;font-weight:bold}.sitehead{background:white}.headinner{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:16px 0}.brand{display:block;width:270px;flex-shrink:0}.brand img{width:100%;display:block}.search{display:flex;flex:1;max-width:440px;height:43px;border:1px solid #d9dee4;border-radius:5px;overflow:hidden}.search input{border:0;outline:0;padding:12px;flex:1;min-width:0}.search button{border:0;background:linear-gradient(#7cd400,#4ca900);color:white;font-size:27px;width:54px;cursor:pointer}.headlinks{display:flex;gap:30px;align-items:center;font-size:14px}.headlinks a{white-space:nowrap}.mainnav{background:#f4f5f7;border-top:1px solid #e6e8eb;border-bottom:1px solid #e6e8eb}.navinner{display:flex;align-items:center;justify-content:space-between;gap:18px}.navinner>a{padding:16px 10px;font-weight:600;font-size:14px}.navinner .catbtn{background:linear-gradient(#80d400,#51b100);color:white;padding:16px 32px;min-width:230px;border-radius:4px}.menutoggle{display:none}.hero{background:#161c26;color:white}.herowrap{min-height:360px;display:grid;grid-template-columns:54% 46%;overflow:hidden}.herocopy{padding:38px 0 30px 25px;display:flex;gap:20px;align-items:flex-start;background:radial-gradient(circle at 90% 60%,#343b45,#141920 75%)}.heroicon{background:linear-gradient(#80d700,#3ea600);border-radius:18px;padding:14px;font-size:42px}.herocopy h1{font-size:clamp(32px,4vw,56px);line-height:1.04;margin:0;font-weight:800}.herocopy h2{font-size:clamp(22px,2.5vw,32px);color:#a1dc0a;margin:5px 0 12px}.herocopy ul{list-style:none;padding:0;margin:0 0 18px}.herocopy li{font-size:18px;line-height:1.45;font-weight:600}.herocopy li:before{content:'✓';display:inline-grid;place-items:center;width:22px;height:22px;background:#8cd500;border-radius:50%;margin-right:12px;font-size:15px}.btn{display:inline-block;background:linear-gradient(#70d100,#45a900);color:white;padding:13px 26px;border-radius:8px;font-weight:700;box-shadow:0 4px 12px #0002}.heroimage{background:linear-gradient(90deg,#151b2388,transparent 24%),url('assets/images/technician.jpg') center/cover no-repeat;border-left:10px solid #88d300;border-radius:48% 0 0 48%}.benefits{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0;gap:12px;border-bottom:1px solid #eee}.benefits>div{display:flex;align-items:center;gap:12px;padding:0 10px;border-right:1px solid #e7e7e7}.benefits>div:last-child{border:0}.benefits b{font-size:34px;color:#55ae00}.benefits strong{display:block;font-size:14px}.benefits small{display:block;font-size:11px;margin-top:5px}.section{padding:38px 0 50px}.sectitle{font-size:29px;letter-spacing:-1px;margin:0 0 12px}.sectitle em{font-style:normal;color:#5daf00}.greenline{height:4px;width:90px;background:#5eb500;border-radius:3px;margin-bottom:20px}.categorygrid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}.category{border:1px solid #e4e7eb;border-radius:9px;text-align:center;padding:8px;background:#fafbfc;box-shadow:0 3px 10px #00000008}.category img{width:100%;aspect-ratio:1.25;object-fit:cover;border-radius:7px;background:#f0f2f5}.category strong{font-size:13px;display:block;margin:9px 0 4px}.sectionrow{display:flex;justify-content:space-between;align-items:center}.more{font-weight:bold;color:#5dad00}.installnote{background:#f2f7ed;border:1px solid #d6e8c5;padding:24px;border-radius:8px}.service{background:#f5f7f8;padding:55px 0}.servicegrid{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.servicegrid img{width:100%;height:330px;object-fit:cover;border-radius:14px}.service h2{font-size:35px;margin:10px 0}.service p{line-height:1.7}.eyebrow{color:#5caf00;font-weight:bold}.contact{text-align:center}.contact h2{font-size:30px}.contact p{margin-bottom:24px}.floatingwa{position:fixed;right:24px;bottom:24px;background:#05c94c;color:white;font-size:34px;border:4px solid white;border-radius:50%;height:62px;width:62px;display:grid;place-items:center;box-shadow:0 4px 16px #0003;z-index:99}footer{background:#202938;color:white}footer a{color:inherit}.woocommerce ul.products li.product{border:1px solid #e4e7eb;padding:12px;border-radius:10px}.woocommerce ul.products li.product .button{background:#60b900;color:white}.woocommerce div.product .button{background:#60b900!important;color:white!important}
@media(max-width:850px){.topinner{gap:12px}.topright{font-size:11px}.headinner{gap:10px;flex-wrap:wrap;padding:10px 0}.menutoggle{display:block;border:0;background:none;font-size:26px}.brand{width:190px}.headlinks{margin-left:auto;gap:8px}.headlinks span{display:none}.search{order:4;flex-basis:100%;max-width:none}.mainnav{display:none}.mainnav.open{display:block}.navinner{flex-direction:column;align-items:stretch;gap:0}.navinner>a{padding:13px 18px}.navinner .catbtn{min-width:0}.herowrap{grid-template-columns:1fr}.herocopy{position:relative;z-index:1;background:linear-gradient(90deg,#111923f5,#111923b5),url('assets/images/technician.jpg') center/cover;padding:28px 16px;min-height:315px}.heroimage{display:none}.herocopy h1{font-size:32px}.herocopy h2{font-size:22px}.herocopy li{font-size:15px}.heroicon{font-size:26px;padding:10px}.benefits{grid-template-columns:repeat(2,1fr)}.benefits>div{border:0}.categorygrid{grid-template-columns:repeat(3,1fr)}.servicegrid{grid-template-columns:1fr;gap:20px}.servicegrid img{height:260px}}
@media(max-width:480px){.topinner>span:nth-child(2){display:none}.topright{font-size:0}.topright a{font-size:11px;padding:10px}.brand{width:155px}.categorygrid{grid-template-columns:repeat(3,1fr);gap:6px}.category{padding:4px}.category strong{font-size:11px}.benefits{gap:8px}.benefits b{font-size:24px}.benefits strong{font-size:11px}.benefits small{font-size:10px}.sectitle{font-size:25px}.service h2{font-size:28px}}

/* NY Móvil 2.1: ajustes precisos de diseño y accesibilidad */
.herocopy h1{color:#fff!important}.herocopy h2{color:#91d500!important}
.navinner>a:not(.catbtn){color:#30394d!important}
.navinner>a:hover{color:#4ba900!important}
.search button{display:grid;place-items:center;color:#fff}
.btn,.btn:visited{color:#fff!important}
.floatingwa{transition:transform .2s ease}
.floatingwa:hover{transform:scale(1.06)}
@media(max-width:850px){
  .menutoggle{background:#65c900!important;color:#fff!important;border-radius:12px;padding:10px 20px;min-width:64px;line-height:1.1;cursor:pointer}
  .headinner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:10px;row-gap:12px;align-items:center}
  .brand{width:auto;max-width:195px;min-width:0}
  .brand img{max-width:100%;height:auto}
  .headlinks{margin-left:0;gap:12px}
  .search{grid-column:1/-1;order:initial;width:100%;max-width:none;flex-basis:auto}
  .herowrap{min-height:0}
  .herocopy{min-height:0;padding:28px 18px 36px;gap:12px;align-items:flex-start}
  .herocopy>div:last-child{min-width:0;flex:1}
  .herocopy h1{font-size:clamp(27px,7.5vw,36px)!important;line-height:1.1!important;overflow-wrap:break-word}
  .herocopy h2{font-size:clamp(20px,5.5vw,26px)!important;line-height:1.2!important}
  .herocopy li{font-size:14px;line-height:1.65}
  .herocopy li:before{width:19px;height:19px;margin-right:8px}
  .heroicon{font-size:24px;padding:10px;border-radius:13px}
  .floatingwa{width:48px!important;height:48px!important;right:10px!important;bottom:12px!important;border-width:3px!important}
  .floatingwa svg{width:25px;height:25px}
}
@media(max-width:480px){
  .wrap{width:94%}
  .topinner{gap:5px;justify-content:space-between}
  .topinner>span:first-child{font-size:10px}
  .topright a{font-size:10px;padding:8px 6px}
  .headinner{padding:10px 0}
  .brand{max-width:160px}
  .headlinks{gap:7px;font-size:12px}
  .herocopy{padding:25px 12px 30px;gap:9px}
  .herocopy h1{font-size:clamp(25px,7.4vw,32px)!important}
  .herocopy h2{font-size:clamp(19px,5.5vw,24px)!important}
  .heroicon{font-size:19px;padding:9px}
  .herocopy li{font-size:13px}
  .herocopy .btn{font-size:13px;padding:12px 14px}
}

/* NY Móvil V4: enlaces sociales del encabezado */
.topright .nym-instagram{display:inline-flex;align-items:center;gap:7px;background:transparent;padding:4px 0;color:#fff;font-weight:600;white-space:nowrap}
.topright .nym-whatsapp-top{display:inline-flex;align-items:center;gap:6px;color:#fff;white-space:nowrap;border-radius:5px;padding:8px 12px}
.topright svg{width:19px;height:19px;display:block;flex:none}
.topright a:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:767px){
 .topinner{min-height:32px;gap:6px;flex-wrap:wrap;justify-content:space-between;padding:4px 0}
 .topinner>span:not(.topright){font-size:10px;line-height:1.3}
 .topright{margin-left:auto;gap:6px}
 .topright .nym-instagram{font-size:0;padding:4px}
 .topright .nym-instagram span{display:none}
 .topright .nym-whatsapp-top{font-size:10px;padding:6px 7px}
 .topright svg{width:17px;height:17px}
}

/* NY Móvil V4.1 — refinamiento responsive móvil, sin alterar escritorio */
@media (max-width: 767px) {
  html,body{max-width:100%;overflow-x:hidden}
  .topbar .topinner{width:96%;min-height:0;padding:7px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
  .topinner>span:first-child{min-width:0;font-size:10px!important;line-height:1.35;overflow-wrap:normal}
  .topinner>span:nth-child(2){display:none}
  .topright{margin:0;display:flex;gap:10px;align-items:center;justify-content:flex-end;min-width:0}
  .topright a,.topright .nym-instagram,.topright .nym-whatsapp-top{background:transparent!important;padding:2px!important;border-radius:0;box-shadow:none;color:#fff!important;display:flex;align-items:center;gap:4px}
  .topright .nym-instagram span{display:block;font-size:9px;color:#fff}
  .topright .nym-whatsapp-top span{font-size:9px;color:#fff;white-space:nowrap}
  .topright svg{width:17px;height:17px}
  .sitehead .headinner{grid-template-columns:46px minmax(0,1fr) auto;gap:8px;padding:10px 0}
  .menutoggle{min-width:0!important;width:46px;height:43px;padding:0!important;font-size:23px;border-radius:10px!important}
  .brand{width:100%;max-width:195px;justify-self:center}
  .headlinks{gap:9px;font-size:14px}
  .search{height:42px;grid-column:1/-1;margin-top:2px}
  .search button{width:55px}
  .herowrap{min-height:0!important;display:block}
  .herocopy{min-height:0!important;padding:22px 16px 24px!important;gap:10px!important;align-items:flex-start;background-position:center center!important;background-size:cover!important}
  .herocopy>div:last-child{min-width:0;flex:1}
  .herocopy h1{font-size:clamp(22px,5.8vw,30px)!important;line-height:1.12!important;margin:0 0 7px!important}
  .herocopy h2{font-size:clamp(18px,4.6vw,23px)!important;line-height:1.2!important;margin:0 0 12px!important}
  .heroicon{font-size:20px!important;padding:9px!important;border-radius:12px!important;flex:none}
  .herocopy ul{margin:0 0 15px!important}
  .herocopy li{font-size:clamp(12px,3.45vw,15px)!important;line-height:1.6!important;white-space:normal}
  .herocopy li:before{width:18px;height:18px;margin-right:8px}
  .herocopy .btn{font-size:13px!important;line-height:1.3!important;padding:11px 16px!important;max-width:100%;text-align:center}
  .benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:15px 0!important}
  .benefits>div{min-width:0;align-items:flex-start;gap:8px;padding:12px 8px!important;border:0!important}
  .benefits b{font-size:24px!important;line-height:1.1;flex:none}
  .benefits strong{font-size:12px!important;line-height:1.3}
  .benefits small{font-size:11px!important;line-height:1.4;margin-top:4px}
  .service{padding:28px 0!important}
  .servicegrid{gap:15px!important}
  .servicegrid img{height:190px!important;object-fit:cover}
  .service h2{font-size:clamp(23px,6vw,29px)!important;line-height:1.2!important;margin:8px 0!important;overflow-wrap:normal}
  .service p{font-size:14px;line-height:1.55}
  .contact h2{font-size:clamp(23px,6vw,29px)!important;line-height:1.2}
  .contact p{font-size:14px;line-height:1.5}
  .floatingwa{width:46px!important;height:46px!important;right:10px!important;bottom:12px!important}
}
@media(max-width:380px){
  .topbar .topinner{grid-template-columns:minmax(0,1fr) auto;gap:4px}
  .topinner>span:first-child{font-size:9px!important}
  .topright{gap:5px}
  .topright .nym-whatsapp-top span{font-size:8px}
  .topright .nym-instagram span{font-size:8px}
  .topright svg{width:15px;height:15px}
  .herocopy{padding:19px 11px 21px!important;gap:8px!important}
  .heroicon{font-size:18px!important;padding:7px!important}
  .herocopy h1{font-size:22px!important}
  .herocopy h2{font-size:18px!important}
  .herocopy li{font-size:12px!important}
  .benefits>div{padding:10px 5px!important;gap:6px}
  .benefits strong{font-size:11px!important}
  .benefits small{font-size:10px!important}
}

/* NY Móvil: portada editable en Elementor / Crocoblock */
.nym-editable-home{width:100%;overflow:hidden}
.nym-editable-home .elementor-widget-heading h1,.nym-editable-home .elementor-widget-heading h2{line-height:1.14}
.nym-editable-home .elementor-button{border-radius:10px}
.nym-editable-home .elementor-widget-image img{max-width:100%;height:auto;object-fit:cover}
@media(max-width:767px){.nym-editable-home .elementor-section .elementor-container{flex-wrap:wrap}.nym-editable-home .elementor-column{min-width:0}}
