/* Tienda Depot portada premium. Alcance exclusivo de la home. */
body:has(.td-store)>.top,body:has(.td-store)>header,body:has(.td-store)>nav{display:none!important}
body:has(.td-store)>main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important}
body:has(.td-store){margin:0;background:#fff;color:#092750;font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
body:has(.td-store) *{box-sizing:border-box}
.td-premium-header{width:100%;background:#fff;position:relative;z-index:5;box-shadow:0 3px 14px #092f4a14}
.td-promo-top{background:#0645a5;color:white;display:flex;justify-content:space-between;gap:18px;padding:10px clamp(18px,3vw,60px);font-size:12px;font-weight:650}
.td-brand-row{display:flex;align-items:center;gap:clamp(18px,2vw,40px);padding:14px clamp(18px,3vw,60px);max-width:none;margin:auto}.td-logo{width:230px;min-width:160px;display:flex}.td-logo img{width:100%;height:70px;object-fit:contain}.td-global-search{display:flex;flex:1;min-width:0;height:48px}.td-global-search input{width:100%;border:1px solid #d8e1ee;border-radius:9px 0 0 9px;padding:12px 16px;font-size:14px;min-width:0}.td-global-search button,.td-allcategories,.tdh-buy{background:#ff7800!important;color:white!important;border:0}.td-global-search button{font-weight:800;padding:0 24px;border-radius:0 8px 8px 0;cursor:pointer}.td-header-icons{display:flex;gap:20px;white-space:nowrap}.td-header-icons a{display:flex;flex-direction:column;text-align:center;gap:3px;color:#0d2b56!important;text-decoration:none;font-size:16px;font-weight:800}.td-header-icons span{font-size:12px}
.td-primary-nav{display:flex!important;width:100%;max-width:none!important;min-height:46px;background:#0750b8!important;align-items:center;gap:0;overflow-x:auto;white-space:nowrap;padding:0 clamp(18px,3vw,60px)!important;border:0!important;margin:0!important}.td-primary-nav a{display:block;color:#fff!important;font-size:12px;font-weight:750;text-decoration:none;padding:15px 17px!important;flex-shrink:0}.td-primary-nav a:hover{background:#0b3882}.td-primary-nav .td-allcategories{padding:15px 22px!important}
.td-store{max-width:none!important;width:100%!important;margin:0!important;padding:0 clamp(16px,3vw,58px) 60px!important;color:#0b2446}.tdh-wrap{max-width:none;width:100%;margin:0;padding:0!important}.tdh-wrap *{box-sizing:border-box}.tdh-section{margin:28px 0}.tdh-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 15px}.tdh-header h2{font-size:clamp(22px,2vw,30px);line-height:1.12;color:#082b5b;margin:0;font-weight:850}.tdh-header p{font-size:13px;color:#66758b;margin:6px 0 0}.tdh-header a{color:#0752ac;text-decoration:none;font-size:13px;font-weight:800}
.tdh-hero{--tdh-bg:#0750ad;margin:18px 0 23px;min-height:clamp(330px,31vw,500px);border-radius:16px;overflow:hidden;background:radial-gradient(circle at 70% 55%,#147ef0 0%,transparent 46%),linear-gradient(115deg,var(--tdh-bg),#06336b 78%);color:#fff;display:flex;align-items:center;padding:clamp(30px,5vw,85px);position:relative;isolation:isolate}.tdh-hero-text{width:55%;position:relative;z-index:2}.tdh-kicker{color:#8adaff;font-size:12px;letter-spacing:.20em;font-weight:900}.tdh-hero h1{color:white!important;font-size:clamp(38px,4.7vw,82px);line-height:1.02;font-weight:950;letter-spacing:-.055em;margin:14px 0 20px;text-shadow:0 2px 14px #00244d60}.tdh-hero p{color:#e5f2ff;font-size:clamp(16px,1.5vw,21px);line-height:1.42;max-width:640px;margin:0 0 23px}.tdh-button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;background:#ff7900!important;color:white!important;border-radius:8px;padding:12px 24px;font-size:14px;font-weight:900;text-decoration:none;box-shadow:0 5px 18px #001b4229}.tdh-hero-trust{display:flex;flex-wrap:wrap;gap:16px;margin-top:28px;font-size:12px;font-weight:750;color:#dcecff}.tdh-hero-art{position:absolute;inset:15px 3% 12px 54%;display:flex;align-items:flex-end;justify-content:center;gap:1%;z-index:1}.tdh-hero-art img{width:31%;max-height:88%;object-fit:contain;filter:drop-shadow(0 18px 18px #001c4077);background:#ffffffed;border-radius:12px;padding:10px}.tdh-hero-art img:first-child{width:37%;max-height:96%}.tdh-hero-art img:nth-child(3){width:27%}.tdh-hero-art img.tdh-art{width:100%;max-height:100%;background:none;padding:0;object-fit:contain}.tdh-hero-glow{position:absolute;right:5%;bottom:-190px;width:600px;height:400px;background:#74cbff;opacity:.19;filter:blur(80px);border-radius:50%}
.tdh-categories{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.tdh-category{height:145px;display:flex;flex-direction:column;justify-content:space-around;align-items:center;text-align:center;text-decoration:none!important;color:#0c2b59!important;border-radius:12px;background:linear-gradient(145deg,#f5f8fc,#fff);border:1px solid #e5ebf2;padding:11px 7px;transition:transform .15s,box-shadow .15s}.tdh-category:hover{transform:translateY(-3px);border-color:#ff8e2a;box-shadow:0 12px 25px #0b36731b}.tdh-category span{font-size:40px}.tdh-category img{width:92%;height:80px;object-fit:contain}.tdh-category strong{font-size:12px;line-height:1.2}.tdh-category b{display:none}
.tdh-features{display:grid;grid-template-columns:repeat(4,1fr);border-radius:12px;overflow:hidden;background:#e6f3ff;margin:24px 0}.tdh-features>div{padding:20px;display:flex;align-items:flex-start;flex-direction:column;gap:5px;font-size:29px;border-right:1px solid #c8daea}.tdh-features b{font-size:15px;color:#083b87}.tdh-features small{font-size:12px;color:#435d78}
.tdh-products-grid,.td-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.tdh-product,.td-item{background:#fff;border:1px solid #dfe7ef;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:box-shadow .15s}.tdh-product:hover,.td-item:hover{box-shadow:0 12px 32px #153d721c}.tdh-photo{height:190px;display:grid;place-items:center;padding:12px}.tdh-photo img{max-width:100%;max-height:100%;object-fit:contain}.tdh-photo span{font-size:54px}.tdh-product-text{display:flex;flex-direction:column;gap:7px;flex:1;padding:13px}.tdh-product-text small{color:#356294;font-size:11px;font-weight:800}.tdh-name{color:#102b4c!important;text-decoration:none;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:54px;font-size:12px;line-height:1.5;font-weight:700}.tdh-product-sku{font-size:10px;color:#66788c;overflow-wrap:anywhere}.tdh-product-text strong{margin-top:auto;font-size:clamp(17px,1.6vw,23px);color:#ef4808}.tdh-product-text em{color:#118b46;font-style:normal;font-size:10px;font-weight:700}.tdh-buy{padding:11px 8px!important;border-radius:7px;text-decoration:none;text-align:center;font-size:12px;font-weight:800}
.tdh-banner{--tdh-bg:#093d7f;min-height:210px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:clamp(22px,2.5vw,38px);margin:12px 0;color:#fff;background:radial-gradient(circle at 92% 15%,#ffffff24,transparent 33%),linear-gradient(115deg,var(--tdh-bg),#061c3d);border-radius:13px;position:relative;overflow:hidden}.tdh-banner h2{font-size:clamp(24px,2.4vw,39px);color:#fff!important;line-height:1.1;margin:0 0 9px}.tdh-banner p{color:#e6f3ff;font-size:14px;max-width:650px;line-height:1.4;margin:0 0 14px}.tdh-banner .tdh-banner-text{position:relative;z-index:1;max-width:70%}.tdh-banner .tdh-art{width:32%;height:200px;object-fit:contain;border-radius:11px}.tdh-banner-seguridad{background:linear-gradient(110deg,#051b3a,#074585)}.tdh-banner-gps{background:linear-gradient(110deg,#0a3a69,#0b70ac)}.tdh-banner-solar{background:linear-gradient(110deg,#0c5166,#038f7a)}.tdh-banner-promociones{background:linear-gradient(110deg,#ef7100,#f24e13)}
.td-store section#catalogo{max-width:none;padding-top:15px}.td-title{display:flex;justify-content:space-between;align-items:center;margin:24px 0 13px}.td-title h2{font-size:25px;margin:0;color:#082b5b}.td-count{font-size:13px;color:#61748a}.td-filter{display:flex;gap:10px;padding:13px;background:#f4f8fc;border:1px solid #e2eaf2;border-radius:11px;margin:12px 0 18px}.td-filter input{flex:1;min-width:0}.td-filter input,.td-filter select{border:1px solid #d5dfe9;padding:11px;border-radius:6px}.td-action{background:#ff7900!important;color:white!important;border-radius:7px;padding:11px 16px;text-decoration:none;font-weight:800;border:none}.td-item .td-image{height:170px;display:grid;place-items:center;padding:12px}.td-image img{width:100%;height:100%;object-fit:contain}.td-content{display:flex;flex-direction:column;gap:7px;padding:12px;flex:1}.td-content a{text-decoration:none}.td-content h3{font-size:12px;line-height:1.35;min-height:34px;max-height:47px;overflow:hidden;margin:0;color:#153454}.td-brand,.td-sku,.td-availability{font-size:11px;color:#61748a}.td-price{margin-top:auto;color:#ed4708;font-size:19px;font-weight:900}.td-chip{color:#158a4c;font-size:10px}.td-paging{display:flex;gap:10px;justify-content:center;margin:22px}.td-paging a{padding:9px 12px;border:1px solid #d6e0ee;border-radius:7px}.td-groups{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.td-group{background:#f4f8fd;padding:14px;border-radius:9px;text-decoration:none;display:flex;flex-direction:column;gap:3px;color:#0d3364}.td-group .ico{font-size:24px}.td-group small{font-size:11px}.td-ref{margin:15px 0;padding:10px;background:#f0f6fd;border:1px solid #c5d6e8;border-radius:8px}
@media(max-width:1350px){.tdh-categories{grid-template-columns:repeat(4,1fr)}.tdh-products-grid,.td-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.td-brand-row{gap:12px}.td-logo{width:165px}.td-header-icons span{display:none}.td-primary-nav{padding:0 12px!important}.tdh-hero-text{width:65%}.tdh-hero-art{left:60%}.tdh-features{grid-template-columns:repeat(2,1fr)}.tdh-products-grid,.td-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.td-promo-top span:nth-child(n+2){display:none}.td-brand-row{flex-wrap:wrap;padding:9px 14px}.td-logo{width:130px;min-width:130px}.td-logo img{height:53px}.td-global-search{order:3;width:100%;flex:auto}.td-header-icons{margin-left:auto}.td-store{padding:0 10px 40px!important}.tdh-hero{min-height:330px;padding:27px 21px;align-items:flex-start}.tdh-hero-text{width:100%}.tdh-hero h1{font-size:38px}.tdh-hero-art{opacity:.18;inset:35px 0 0 35%}.tdh-hero-trust{gap:8px;font-size:10px}.tdh-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.tdh-category{height:108px}.tdh-category span{font-size:29px}.tdh-category strong{font-size:11px}.tdh-products-grid,.td-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tdh-photo{height:145px}.tdh-banner{min-height:180px}.tdh-banner .tdh-banner-text{max-width:100%}.tdh-banner .tdh-art{display:none}.tdh-features>div{padding:12px}.tdh-header h2{font-size:21px}.td-filter{flex-wrap:wrap}.td-filter input{flex-basis:100%}}

/* V2: ancho real en Firefox y Chromium, sin depender de :has() */
html.td-home-page body > .top,html.td-home-page body > header,html.td-home-page body > nav{display:none!important}
html.td-home-page body > main{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;display:block!important}
html.td-home-page body{width:100%;min-width:0;margin:0!important;overflow-x:hidden}
html.td-home-page .td-premium-header{width:100vw!important;max-width:100vw!important;margin:0!important}
html.td-home-page .td-store{padding:0 0 58px!important;width:100vw!important;max-width:100vw!important;margin:0!important}
html.td-home-page .tdh-wrap{width:100%!important;max-width:100%!important;padding:0!important}
html.td-home-page .tdh-wrap > .tdh-section,html.td-home-page .tdh-wrap > .tdh-features,html.td-home-page .tdh-wrap > .tdh-banner,html.td-home-page .td-store > section#catalogo,html.td-home-page .td-ref{margin-left:clamp(16px,3vw,60px)!important;margin-right:clamp(16px,3vw,60px)!important}
html.td-home-page .td-store > section#catalogo{padding-left:clamp(16px,3vw,60px);padding-right:clamp(16px,3vw,60px)}
/* Carrusel con tarjetas vecinas asomándose y flechas que aparecen en hover */
.td-carousel-shell{width:100vw;max-width:100%;margin:14px 0 10px;overflow:hidden;position:relative}
.td-carousel-viewport{width:100%;position:relative;overflow:visible;outline:none}
.td-carousel-track{display:flex;gap:16px;align-items:stretch;transform:translate3d(0,0,0);transition:transform .55s cubic-bezier(.22,.75,.22,1);will-change:transform}
.td-carousel-slide{flex:0 0 min(81vw,1580px);height:clamp(265px,26vw,430px);border-radius:13px;position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;padding:clamp(20px,3.5vw,60px);background:radial-gradient(circle at 77% 50%,#2c87df 0%,transparent 47%),linear-gradient(112deg,var(--slide-color),#061b3b);color:white;box-shadow:0 5px 14px #0c2b4b17}
.td-carousel-slide::after{content:"";position:absolute;right:12%;bottom:-36%;width:45%;height:75%;border-radius:50%;background:#80c5ff16;filter:blur(35px);z-index:-1}
.td-carousel-copy{position:relative;z-index:2;width:55%;min-width:0}.td-carousel-eyebrow{font-size:clamp(10px,.9vw,14px);letter-spacing:.13em;color:#bfe8ff;font-weight:850}.td-carousel-copy h1{font-size:clamp(30px,4vw,70px)!important;line-height:1.03;letter-spacing:-.035em;color:white!important;margin:10px 0 13px!important;max-width:800px}.td-carousel-copy p{font-size:clamp(12px,1.25vw,19px);line-height:1.45;color:#edf7ff;max-width:660px;margin:0 0 18px}.td-carousel-cta{display:inline-flex;gap:14px;align-items:center;padding:13px 22px;background:#ff7900;color:white!important;text-decoration:none;border-radius:8px;font-weight:850;font-size:clamp(12px,1vw,15px)}.td-carousel-cta:hover{background:#ff9300}
.td-carousel-visual{position:absolute;inset:7% 3% 5% 54%;display:grid;place-items:center}.td-carousel-visual img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 14px 20px #00173480)}
.td-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%) scale(.85);width:54px;height:54px;border:0;border-radius:50%;background:#ffffffed;color:#134785;box-shadow:0 8px 30px #011a3a60;font-size:43px;line-height:43px;display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .18s,transform .18s;z-index:4}.td-carousel-prev{left:2.8vw}.td-carousel-next{right:2.8vw}.td-carousel-viewport:hover .td-carousel-arrow,.td-carousel-viewport:focus-within .td-carousel-arrow{opacity:1;transform:translateY(-50%) scale(1)}.td-carousel-arrow:hover{background:white;transform:translateY(-50%) scale(1.12)!important}.td-carousel-dots{display:flex;gap:7px;justify-content:center;margin:11px auto 8px}.td-carousel-dots button{border:0;width:9px;height:9px;padding:0;border-radius:50%;background:#c5cbd4;cursor:pointer}.td-carousel-dots button[aria-current="true"]{background:#ff7900;width:22px;border-radius:9px}
@media(max-width:700px){.td-carousel-slide{flex-basis:90vw;height:300px;padding:22px}.td-carousel-copy{width:80%}.td-carousel-copy h1{font-size:32px!important}.td-carousel-copy p{font-size:12px}.td-carousel-visual{inset:22% 1% 1% 54%;opacity:.58}.td-carousel-arrow{opacity:1;width:38px;height:38px;font-size:30px;line-height:30px}.td-carousel-prev{left:2vw}.td-carousel-next{right:2vw}}
@media(prefers-reduced-motion:reduce){.td-carousel-track,.td-carousel-arrow{transition:none}}

/* V3: campaña diseñada = imagen completa, sin textos duplicados. */
.td-carousel-slide.td-carousel-slide-artwork{padding:0!important;background:#071f42!important}
.td-carousel-slide-artwork::after{display:none!important}
.td-carousel-full-image{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
.td-carousel-full-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.td-carousel-copy h2{font-size:clamp(30px,4vw,70px)!important;line-height:1.03;letter-spacing:-.035em;color:white!important;margin:10px 0 13px!important;max-width:800px}
.td-carousel-slide:focus-within{outline:2px solid #ff8b25;outline-offset:-2px}
@media(max-width:700px){.td-carousel-full-image img{object-fit:cover;object-position:center}.td-carousel-slide-artwork{height:clamp(190px,40vw,300px)}}

/* V10 - menu publico de categorias activo y subcategorias */
.td-category-navigation{display:flex;align-items:center;gap:6px;padding:8px clamp(14px,3vw,60px);background:#f3f7fd;border-bottom:1px solid #dde7f1;color:#183b65;font-size:13px;overflow-x:auto;white-space:nowrap}.td-category-navigation>span{font-weight:800;margin-right:9px}.td-category-navigation details{position:relative;flex:0 0 auto}.td-category-navigation summary{cursor:pointer;list-style:none;border-radius:6px;padding:8px 11px;font-weight:650}.td-category-navigation summary:hover{background:#e5effb}.td-category-navigation summary::-webkit-details-marker{display:none}.td-category-navigation .td-cat-items{position:absolute;z-index:100;top:100%;left:0;min-width:210px;background:white;border:1px solid #dce5f0;box-shadow:0 8px 20px #15345c22;border-radius:8px;padding:6px;white-space:normal}.td-cat-items a{display:block;padding:9px;color:#17436f;text-decoration:none}.td-cat-items a:hover{background:#eef5fd}@media(max-width:720px){.td-category-navigation .td-cat-items{position:fixed;left:10px;right:10px;top:auto;max-height:60vh;overflow:auto}}
