/* Logatech: readable surfaces, fluid layouts and touch controls. */
#lg1,#lg1-modal,#lg1-quote{--muted:#4b5968;--orange-d:#a6530b;--green-d:#286925;--line:#cbd5df}
#lg1 :is(h1,h2,h3,h4,p,a,span,td),#lg1-modal :is(h2,p,td),#lg1-quote .qtx{overflow-wrap:anywhere}
#lg1 :is(.wrap,.split,.cat-layout,.top,.form,.way,.card,.body,.info,.buy)>*{min-width:0}
#lg1 :is(button,.btn,input,select,textarea):focus-visible,#lg1 a:focus-visible,#lg1-modal :focus-visible,#lg1-quote :focus-visible{outline:3px solid #e08a2e;outline-offset:3px}
#lg1 .btn{white-space:normal;text-align:center;justify-content:center;line-height:1.4;min-height:44px}
#lg1 .btn-green,#lg1 .pp .buy .b1,#lg1-modal .buy .b1{background:#a6530b;color:#fff}
#lg1 .brand{color:#44576a;filter:none}
#lg1 .noimg,#lg1-modal .noimg,#lg1-quote .noimg{color:#526171}
#lg1 .noimg svg,#lg1-modal .noimg svg{stroke:#647487}
#lg1-quote .b1,.lg1-wa{background:#087d42;color:#fff}
.lg1-wa{animation:none;box-shadow:0 4px 16px #12305e33}
#lg1 .phero{isolation:isolate;background:#12305e}
#lg1 .phero .ph{z-index:-2}
#lg1 .phero::before{z-index:-1;background:linear-gradient(90deg,rgba(10,32,62,.96),rgba(10,32,62,.88) 65%,rgba(10,32,62,.78));pointer-events:none}
#lg1 :is(.phero,.cta-band,.slide-txt,.story .panel,.filters .help){color:#fff}
#lg1 :is(.phero,.cta-band,.slide-txt,.story .panel,.filters .help) :is(h1,h2,h3){color:#fff}
#lg1 :is(.phero,.cta-band,.slide-txt,.story .panel,.filters .help) p,#lg1 .slide-txt li,#lg1 .phero .crumbs{color:#edf4fc}
#lg1 .phero h1 em,#lg1 .slide-txt h2 em{color:#ffbc70}
#lg1 .slide.active .slide-txt>*{animation:none;opacity:1;transform:none}
#lg1 .slider .arrow{top:auto;bottom:16px;transform:none;width:44px;height:44px}
#lg1 .slider .arrow.prev{left:auto;right:72px}#lg1 .slider .arrow.next{right:20px}
#lg1 .dots{bottom:18px;gap:4px}
#lg1 .dots button{width:34px;height:40px;background:transparent;border-radius:0}
#lg1 .dots button::before{content:'';position:absolute;inset:18px 3px;background:#819bb7;border-radius:3px}
#lg1 .dots button i{inset:18px 3px;background:#ffbc70;animation:none;transform:scaleX(0)}
#lg1 .dots button.on i{transform:scaleX(1);animation:none}
#lg1 .slide-txt{padding-bottom:90px}
#lg1 .story .pic .cap,#lg1 .split .pic .cap{right:14px;background:#fff;color:#12305e;line-height:1.5}
#lg1 .footer{color:#e0eaf5;padding-bottom:72px}
#lg1 .footer .logo-fallback{background:#fff;border-radius:8px;padding:12px;max-width:280px}
#lg1 .footer .logo-fallback .wm{color:#12305e}#lg1 .footer .logo-fallback small{color:#4b5968}
#lg1 .footer .logo-fallback .wm span{color:#1f5fbf}
#lg1 .footer .soc a{width:44px;height:44px}
#lg1 .header .wrap{grid-template-columns:220px minmax(240px,1fr) auto;gap:12px 20px;padding-top:14px;padding-bottom:12px}
#lg1 .header .logo{grid-column:1;grid-row:1}
#lg1 .header .search{grid-column:2;grid-row:1}
#lg1 .header .hdr-actions{grid-column:3;grid-row:1}
#lg1 .header .mainnav{grid-column:1/-1;grid-row:2;justify-content:center;flex-wrap:wrap}
#lg1 .header .wa-btn span{display:none}
#lg1 .header .logo-fallback .mark{width:auto;height:48px;max-width:40px;object-fit:contain;flex:none}
#lg1 .pp .main img.ph,#lg1 .pp .thumbs img.ph,#lg1-modal .main img.ph,#lg1-modal .thumbs img.ph{object-fit:contain;background:white}
#lg1 .form .via{flex-wrap:wrap;gap:12px;align-items:center}
#lg1 .form .via input{width:20px;height:20px;min-height:0;flex:none}
#lg1 .form :is(input,select,textarea),#lg1-quote textarea{font-size:16px;color:#1b2430}
#lg1 .form input::placeholder,#lg1 .search input::placeholder{color:#566474;opacity:1}
#lg1 .filters :is(a,label),#lg1 .pager button{min-height:44px}
#lg1 .pp .buy .qty button,#lg1-modal .buy .qty button,#lg1-quote .qq button,#lg1-quote .qq input{min-height:44px;min-width:40px}
#lg1 .pp .buy .qty input,#lg1-modal .buy .qty input{font-size:16px}
#lg1-quote .close{width:44px;height:44px;flex:none}
#lg1-quote .panel{height:100%;height:100dvh}
#lg1-quote .qfoot{padding-bottom:max(18px,env(safe-area-inset-bottom));max-height:52dvh;overflow:auto}
#lg1-quote .qlist{min-height:0}
@media(max-width:1100px){
 #lg1 .header{position:relative}
 #lg1 .header .wrap{grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;min-height:0;padding-top:12px;padding-bottom:12px}
 #lg1 .header .burger{display:flex;grid-column:1;grid-row:1;width:44px;height:44px}
 #lg1 .header .logo{grid-column:2;grid-row:1;justify-content:center}
 #lg1 .header .logo-fallback .mark{width:32px;height:42px;max-width:32px;object-fit:contain;flex:none}
 #lg1 .header .mainnav,#lg1 .header .wa-btn,#lg1 .catnav{display:none}
 #lg1 .header .hdr-actions{grid-column:3;grid-row:1;gap:0}
 #lg1 .quote-btn{width:44px;height:44px;padding:10px;justify-content:center}
 #lg1 .quote-btn>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 #lg1 .quote-btn .cnt{top:-5px;left:auto;right:-5px}
 #lg1 .header .search{grid-row:2;grid-column:1/-1;height:44px}
 #lg1 .search select{display:none}#lg1 .search input{font-size:16px;padding:0 10px}
 #lg1 .search button{padding:0 12px;font-size:13px;gap:6px}
 #lg1 .topbar .wrap{padding-top:7px;padding-bottom:7px;min-height:0}
 #lg1 .topbar ul{display:none}#lg1 .topbar .promo{font-size:12px;line-height:1.5}
 #lg1 .mobile-nav.open{max-height:70dvh;overflow:auto}
 #lg1 .slider{display:grid;min-height:0;padding-bottom:64px}
 #lg1 .slide{position:relative;grid-area:1/1;inset:auto;grid-template-columns:1fr;transform:none;transition:none}
 #lg1 .slide.leaving{visibility:hidden;transform:none}
 #lg1 .slide-vis{display:none}
 #lg1 .slide-txt{padding:28px 24px 10px;justify-content:flex-start;gap:16px}
 #lg1 .slide-txt h2{font-size:30px;line-height:1.16}#lg1 .slide-txt p{font-size:16px;line-height:1.6}
 #lg1 .slide-txt .tag{max-width:100%;font-size:11px}
 #lg1 .slide-txt ul{gap:8px 14px;margin-top:0}
 #lg1 .dots{left:20px;bottom:18px}
 #lg1 .filters{z-index:99999;padding-top:72px;overscroll-behavior:contain}
 #lg1 .filters.open .fclose{display:flex;top:14px;right:18px;width:44px;height:44px;z-index:1;background:#12305e;color:#fff}
 #lg1 .pp .main{min-height:280px;height:clamp(250px,55vw,380px)}
 #lg1 .pp .buy{position:static}
}
@media(max-width:640px){
 #lg1{font-size:16px}
 #lg1 .wrap{padding-left:16px;padding-right:16px}
 #lg1 .hero{padding:16px 0 20px}
 #lg1 .slider{border-radius:12px}
 #lg1 .slide-txt{padding:24px 20px 8px;gap:14px}
 #lg1 .slide-txt h2{font-size:27px}#lg1 .slide-txt p{font-size:15px}
 #lg1 .slide-txt .ctas{display:grid;grid-template-columns:1fr;width:100%;gap:10px;margin-top:0}
 #lg1 .slide-txt .btn{font-size:14px;padding:12px}
 #lg1 .slide-txt li{font-size:12px}
 #lg1 .sec,#lg1 .story{padding:36px 0}#lg1 .brands{padding:30px 0 20px}#lg1 .products{padding:20px 0 36px}
 #lg1 .sec-title,#lg1 .story h2{font-size:25px;line-height:1.2}
 #lg1 .sec-head{gap:12px;margin-bottom:20px;align-items:flex-start}
 #lg1 .phero,#lg1 .phero.sm{padding:28px 0 32px}
 #lg1 .phero h1,#lg1 .phero.sm h1{font-size:29px;line-height:1.18}
 #lg1 .phero p{font-size:15px;line-height:1.6}
 #lg1 .phero .ctas{display:grid;grid-template-columns:1fr;gap:10px}
 #lg1 .trust .it{padding:14px;gap:12px}#lg1 .trust span{font-size:13px}
 #lg1 .pgrid,#lg1 .pgrid.cols3{grid-template-columns:minmax(0,1fr);gap:14px}
 #lg1 .pgrid .card{display:grid;grid-template-columns:112px minmax(0,1fr)}
 #lg1 .card .img{aspect-ratio:auto;min-height:190px;border-right:1px solid var(--line)}
 #lg1 .card .body{padding:14px 12px}#lg1 .card h3{font-size:15px;line-height:1.35}
 #lg1 .card .meta{font-size:12px}#lg1 .card .cat{font-size:10px;letter-spacing:.03em}
 #lg1 .card .price{flex-wrap:wrap;gap:10px}#lg1 .card .price .p{font-size:15px}#lg1 .card .price .p small{font-size:12px}
 #lg1 .card .add{min-height:44px;justify-content:center;width:100%}
 #lg1 .card .badge{font-size:9px;left:4px;top:6px;max-width:104px;white-space:normal;padding:4px 5px;text-align:center}
 #lg1 .card .quick{opacity:1;transform:none;bottom:8px;left:6px;right:6px;width:calc(100% - 12px);font-size:10px;padding:8px 2px;min-height:38px;background:#12305e;color:#fff}
 #lg1 .card .noimg{padding:8px 5px 48px}#lg1 .card img.product-photo{padding:28px 6px 42px}
 #lg1 .toolbar{gap:10px}#lg1 .toolbar .res{width:100%}#lg1 .toolbar select{max-width:100%;font-size:16px;min-height:44px}
 #lg1 .catbanner{align-items:flex-start;padding:14px;gap:12px}#lg1 .catbanner .ic{width:40px;height:40px}
 #lg1 .split,#lg1 .story .wrap{gap:24px}
 #lg1 .val,#lg1 .pol,#lg1 .step,#lg1 .form,#lg1 .story .panel{padding:20px}
 #lg1 .val p,#lg1 .step p,#lg1 .pol li,#lg1 .prose{font-size:15px;line-height:1.65}
 #lg1 .nums{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#lg1 .nums div{padding:18px 14px}#lg1 .nums b{font-size:28px}
 #lg1 .form{gap:16px}#lg1 .form label{line-height:1.5}
 #lg1 .way{padding:14px;gap:10px}#lg1 .way b{font-size:14px}#lg1 .way span{font-size:13px}
 #lg1 .cta-band{padding:24px 20px;gap:20px}#lg1 .cta-band h2{font-size:24px;line-height:1.25}#lg1 .cta-band p{font-size:15px;line-height:1.6}
 #lg1 .cta-band .btns{width:100%;display:grid;grid-template-columns:1fr}
 #lg1 .pp{padding:20px 0 36px}#lg1 .pp .top{gap:16px}
 #lg1 .pp .main{height:260px;min-height:0}#lg1 .pp .thumbs button{width:52px;height:52px}
 #lg1 .pp .info h1{font-size:24px;line-height:1.25}#lg1 .pp .info td{font-size:14px}
 #lg1 .pp .tabs nav,#lg1-modal .tabs nav{display:grid;grid-template-columns:1fr 1fr;gap:0}
 #lg1 .pp .tabs nav button,#lg1-modal .tabs nav button{padding:12px 8px;font-size:12px;min-height:48px}
 #lg1 .pp .tabs .grid2 div{display:block}#lg1 .pp .tabs .grid2 b{display:block;width:auto;margin-bottom:4px}
 #lg1 .bsearch input{min-width:0;width:100%;flex-basis:100%;font-size:16px}
 #lg1 .bsearch .letters{gap:6px}#lg1 .bsearch .letters button{width:40px;height:44px}
 #lg1 .brandgrid{gap:12px}#lg1 .bcard{padding:16px 10px}#lg1 .bcard b{font-size:14px}
 #lg1 .footer{padding-top:32px}#lg1 .footer .cols{gap:28px}
 #lg1 .footer li a{display:inline-block;padding:4px 0;line-height:1.6}
 #lg1-modal .dlg{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:12px}
 #lg1-modal .main{min-height:230px;height:230px}#lg1-modal .info h2{font-size:22px}
 #lg1-modal .crumb{padding:16px 64px 0 16px}#lg1-modal .crumb .full{float:none;display:block;margin-top:8px}
 #lg1-modal .close{width:44px;height:44px;background:#12305e;color:#fff}
 #lg1-quote .qhead,#lg1-quote .qlist,#lg1-quote .qfoot{padding-left:16px;padding-right:16px}
 #lg1-quote .qtx b{font-size:14px}#lg1-quote .qtx span{font-size:12px}
 .lg1-wa{width:48px;height:48px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:55}
 .lg1-wa svg{width:26px;height:26px}
}
@media(prefers-reduced-motion:reduce){#lg1 .track{animation:none}#lg1 .marquee{overflow-x:auto}}

#lg1 .header .logo-fallback .wm{white-space:nowrap;font-size:24px}
@media(max-width:640px){#lg1 .header .logo-fallback{gap:7px}#lg1 .header .logo-fallback .wm{font-size:21px}#lg1 .header .logo-fallback small{font-size:8px;max-width:145px}}
/* Precio por cotización: texto pequeño necesita contraste sobre blanco. */
#lg1 .card .price .p,#lg1 .card .price .p.q{color:#286925}

/* Confirmación de producto: tarjeta persistente y legible. */
#loga-added{position:fixed;z-index:100100;right:24px;bottom:24px;width:min(480px,calc(100% - 32px));padding:24px;background:#fff;color:#12305e;border:1px solid #cbd8e4;border-top:5px solid #267443;border-radius:18px;box-shadow:0 18px 65px #0f2b4e55;font:400 15px/1.5 "Open Sans",sans-serif;box-sizing:border-box;max-height:calc(100dvh - 80px);overflow:auto}
#loga-added[hidden]{display:none}#loga-added *{box-sizing:border-box}
#loga-added .notice-close{position:absolute;right:10px;top:8px;width:44px;height:44px;border:0;border-radius:50%;background:#edf3f7;color:#12305e;font-size:28px;cursor:pointer}
#loga-added .notice-status{color:#23623a;font-weight:700;font-size:17px;padding-right:32px;margin-bottom:18px}
#loga-added .notice-product{display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:20px}
#loga-added .notice-image{height:96px;padding:6px;background:#f5f8fa;border:1px solid #dce5ed;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}
#loga-added .notice-image img{max-width:100%;width:100%;height:100%;object-fit:contain}#loga-added .notice-image svg{max-width:100%;max-height:80px}
#loga-added h3{font:700 17px/1.4 Montserrat,sans-serif;margin:0 0 7px;overflow-wrap:anywhere}
#loga-added p{margin:0;color:#4b5968;font-size:14px;overflow-wrap:anywhere}
#loga-added .notice-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#loga-added .notice-actions button{min-height:48px;padding:10px;border:1px solid #c5d4e2;border-radius:9px;background:#fff;color:#12305e;font:700 14px/1.4 "Open Sans",sans-serif;cursor:pointer}
#loga-added .notice-actions button:first-child{background:#155bb0;color:#fff;border-color:#155bb0}
#loga-added .notice-message{padding:16px 36px 16px 0;font-size:16px;color:#12305e}
#loga-added button:focus-visible{outline:3px solid #e08a2e;outline-offset:3px}
/* Cotizador amplio, altura según contenido y un único scroll. */
#lg1-quote{z-index:100050}
#lg1-quote .panel{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(680px,calc(100% - 40px));height:auto;max-height:88dvh;border-radius:20px;overflow:auto;display:block;animation:none}
#lg1-quote .qhead{position:sticky;top:0;z-index:2;padding:22px 26px;background:#12305e;border:0;gap:14px}
#lg1-quote .qhead b{font-size:24px;color:#fff}#lg1-quote .qhead span{font-size:14px;color:#e1ebf5}
#lg1-quote .close{width:44px;height:44px;border-radius:10px;font-size:26px}
#lg1-quote .qlist{padding:8px 26px;overflow:visible;min-height:0}
#lg1-quote .qi{grid-template-columns:96px minmax(0,1fr);gap:18px;padding:20px 0}
#lg1-quote .qim{width:96px;height:110px;padding:8px;background:#f4f7fa;border:1px solid #dae3ec;border-radius:12px}
#lg1-quote .qim img.ph{object-fit:contain}
#lg1-quote .qtx b{font-size:17px;line-height:1.45;overflow-wrap:anywhere}
#lg1-quote .qtx span{font-size:14px;line-height:1.5;color:#4b5968;margin:6px 0 12px}
#lg1-quote .qq{max-width:100%;width:auto;flex-wrap:wrap;border:0;gap:4px;overflow:visible}
#lg1-quote .qq button,#lg1-quote .qq input{height:44px;min-width:44px;border:1px solid #cbd8e4;border-radius:6px;font-size:17px}
#lg1-quote .qq .un{margin:0 5px;font-size:13px}#lg1-quote .qq .rm{font-size:13px;border:0;min-width:60px}
#lg1-quote .qfoot{padding:20px 26px 24px;max-height:none;overflow:visible;background:#f3f7fa}
#lg1-quote textarea{min-height:78px;font-size:16px;border-color:#bdcddb}
#lg1-quote .btn{min-height:50px;border-radius:10px;font-size:16px}
#lg1-quote .lnk{padding:10px;min-height:44px;font-size:13px}
#lg1-quote small{font-size:12px;line-height:1.6;color:#4b5968}
@media(max-width:640px){
 #loga-added{right:16px;bottom:max(16px,env(safe-area-inset-bottom));padding:20px;width:calc(100% - 32px)}
 #loga-added .notice-product{grid-template-columns:76px minmax(0,1fr);gap:12px}#loga-added h3{font-size:16px}
 #loga-added .notice-actions{grid-template-columns:1fr}
 #lg1-quote .panel{width:100%;max-height:94dvh;top:auto;bottom:0;left:0;transform:none;border-radius:20px 20px 0 0}
 #lg1-quote .qhead{padding:18px 20px}#lg1-quote .qhead b{font-size:22px}
 #lg1-quote .qlist{padding:0 18px}#lg1-quote .qi{grid-template-columns:76px minmax(0,1fr);gap:12px}
 #lg1-quote .qim{width:76px;height:96px}#lg1-quote .qtx b{font-size:16px}#lg1-quote .qtx span{font-size:13px}
 #lg1-quote .qfoot{padding:18px 20px max(20px,env(safe-area-inset-bottom))}
}

#loga-added .noimg{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;color:#596b7b;font-size:10px;line-height:1.25}#loga-added .noimg svg{width:32px;height:32px;fill:none;stroke:#6a7f90;stroke-width:1.6}

/* Categorías: cada enlace conserva espacio propio y salta de fila. */
#lg1 .catnav .wrap{flex-wrap:wrap;gap:6px 8px;padding-top:10px;padding-bottom:10px;overflow:visible}
#lg1 .catnav a{flex:0 0 auto;min-width:max-content;padding:10px 12px;min-height:44px;line-height:1.5;border-radius:7px}
#lg1 .catnav a.all{margin-right:0;border-radius:7px}
#lg1 .catnav a.all.cur{color:#fff;background:#12305e;border-color:transparent}
#lg1 .mainnav a,#lg1 .mobnav a{line-height:1.5}
#lg1 .header .search button,#lg1 .header .search select,#lg1 .hdr-actions{flex-shrink:0}
#lg1 .meta,#lg1 .card h3,#lg1 .card .price{overflow-wrap:anywhere}
#lg1 .card h3{line-height:1.45}
#lg1 .card .meta{line-height:1.55}
#lg1 .card .price small{line-height:1.5;margin-top:4px}
#lg1 .sec-head{flex-wrap:wrap;gap:12px 24px}
#lg1 .topbar .wrap{gap:10px 24px;flex-wrap:wrap}
