/* Techmir storefront: search first, direct category navigation, denser catalogue. */
:root{--tm-header-height:94px;--paper:#f5f7fb}
body{background:#f5f7fb}.announcement{background:#13284c;font-size:12px;min-height:30px;padding:6px max(4%,calc((100% - 1440px)/2));color:#eef4ff}.announcement .preview-label{color:#d3dded;font-size:11px}
.header{height:142px;min-height:142px;background:#fff;box-shadow:0 3px 14px #152d500d}.header-inner{max-width:1520px;padding:0 40px;height:94px;min-height:94px;gap:40px}.header .logo{font-size:32px}.header .brand-logo{width:50px;height:50px}.header-actions{gap:20px}.header #search-jump{display:none}.header .cart-trigger{border:0;background:#f0f5ff;border-radius:10px;padding:12px 15px}.header .account-link{font-size:13px}.header-search{display:flex;flex:1;max-width:650px;height:46px;border:1px solid #cad7eb;border-radius:8px;background:#f8faff;overflow:hidden}.header-search:focus-within{outline:2px solid #2460ee;outline-offset:2px}.header-search input{border:0;background:transparent;min-width:0;flex:1;padding:0 17px;font-size:14px;outline:0}.header-search button{width:54px;display:grid;place-items:center;background:#2460ee;border:0;color:white}.shop-nav{border-top:1px solid #edf1f7;background:#fff;height:48px}.shop-nav-inner{max-width:1440px;margin:auto;display:flex;align-items:center;gap:35px;height:48px}.header .shop-nav nav{display:flex;gap:32px}.header .shop-nav nav a{font-size:13px;font-weight:500;padding:0;height:auto}.nav-tax{margin-left:auto;font-size:12px;color:#61718b}.catalog-menu{position:relative;align-self:stretch;width:238px;flex-shrink:0}.catalog-menu summary{list-style:none;display:flex;align-items:center;gap:13px;cursor:pointer;background:#2460ee;color:white;height:100%;padding:0 20px;font-size:14px;font-weight:600}.catalog-menu summary::-webkit-details-marker{display:none}.catalog-menu summary span:last-child{margin-left:auto}.catalog-menu-panel{position:absolute;top:48px;left:0;width:285px;background:white;padding:20px;border:1px solid #dce5f3;box-shadow:0 18px 35px #163a6420;border-radius:0 0 12px 12px}.catalog-menu-panel strong{display:block;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#75839c;margin:3px 0 12px}.catalog-menu-panel a{display:flex;justify-content:space-between;padding:13px 4px;border-bottom:1px solid #eef2f8;font-size:14px}.catalog-menu-panel a:hover{color:#2460ee}
html{scroll-padding-top:164px}
.hero-showcase{margin:24px auto 0;width:calc(100% - 80px);max-width:1440px;min-height:410px;padding:42px 45px;border-radius:14px}.hero-showcase .hero-copy{width:43%;max-width:550px}.hero-showcase h1{font-size:clamp(44px,4vw,62px);letter-spacing:-2.6px;margin:20px 0}.hero-showcase p{font-size:14px;line-height:1.75;max-width:350px;margin-bottom:23px}.hero-showcase .hero-link{font-size:12px;margin-top:16px}.hero-showcase .hero-note{display:none}.hero-showcase .hero-visual>img{object-fit:cover;object-position:center}.hero-showcase:after{background:linear-gradient(90deg,#f4f9ff 0%,#f4f9fff2 25%,#f4f9ff75 39%,transparent 60%)}.hero-showcase .eyebrow{font-size:11px}
.shop-service-strip{max-width:1440px;margin:18px auto 0;display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid #e3eaf4;border-radius:10px;padding:19px 8px}.shop-service-strip>div,.shop-service-strip>a{display:flex;align-items:center;gap:13px;padding:0 23px;border-right:1px solid #e5ebf4}.shop-service-strip>:last-child{border:0}.shop-service-strip>*>span{font-size:26px;color:#2460ee}.shop-service-strip p{font-size:11px;color:#71819b;line-height:1.7;margin:0}.shop-service-strip strong{display:block;font-size:13px;color:#223b61}
.section{max-width:1520px;padding:40px}.catalog{padding-top:38px}.section-heading{margin-bottom:23px}.section-heading h2{font-size:29px;letter-spacing:-1px}.catalog .eyebrow{font-size:10px}.catalog-toolbar{border:0;padding:0;gap:20px}.tabs{background:transparent;padding:0;gap:6px}.tabs button{background:white;border:1px solid #e0e7f2;padding:11px 15px;font-size:12px}.tabs .selected{background:#2460ee;border-color:#2460ee;color:white}.catalog-toolbar .search-box{width:300px}.catalog-toolbar .search-box input{width:100%;font-size:12px}.catalog-layout{grid-template-columns:210px minmax(0,1fr);gap:24px;margin-top:24px}.filters{background:white;border:1px solid #e2e9f3;border-radius:10px;padding:20px;align-self:start}.filter-title{margin-top:0;font-size:13px}.filters legend{font-size:12px}.filters .check{font-size:12px;line-height:1.5}.filter-note{margin-top:20px;padding:17px}.filter-note>span{margin-bottom:10px}.filter-note strong{font-size:15px}.filter-note p{font-size:12px}.result-top{font-size:12px}.price-note{margin:11px 0 18px}.product-grid{gap:16px;align-items:stretch}.product-card{display:flex;flex-direction:column;border-radius:10px;box-shadow:none}.product-visual{height:170px;background:#f4f7fc}.product-visual>img{height:125px}.product-body{padding:18px;display:flex;flex-direction:column;flex:1}.product-brand{font-size:11px}.product-title{font-size:18px;line-height:1.4;margin:8px 0;min-height:50px}.product-code{color:#72819a;font-size:11px;margin-bottom:10px}.product-specs{font-size:12px;min-height:42px;line-height:1.7;margin-bottom:12px}.product-bottom{margin-top:auto;padding-top:16px;gap:14px 8px}.product-body>.stock{margin:4px 0 18px;font-size:11px}.price{font-size:26px}.price small{font-size:11px}.product-bottom>.price{grid-column:1/-1}.add-button{display:flex;justify-content:center;gap:7px;width:auto;padding:0 12px;height:40px;font-size:12px;font-weight:600}.add-button svg{flex-shrink:0}.purchase-quantity{font-size:11px;gap:6px}.purchase-quantity-input{width:50px;height:40px}.empty-results{background:white;border:1px solid #e0e7f2}.categories{padding-top:10px}.category-card{min-height:185px;border-radius:10px}.category-card h3{font-size:24px}.category-card p{font-size:13px}.category-card>img{width:165px}.category-index{font-size:10px}.categories .section-heading h2{font-size:26px}.shop-brands{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:10px;padding-bottom:35px}.shop-brands h2{font-size:25px}.brand-links{display:flex;gap:18px;flex:1;max-width:750px}.brand-links a{display:grid;place-items:center;background:white;border:1px solid #dfe7f3;border-radius:10px;min-height:85px;flex:1;font-family:var(--heading);font-size:28px;font-weight:700;color:#3d5579}.brand-links a:hover{border-color:#2460ee;color:#2460ee}.setup-banner{max-width:1440px;margin:0 auto 10px;border-radius:12px;padding:32px 40px}.setup-banner h2{font-size:36px}.setup-banner p{font-size:14px}.banner-type{font-size:100px}.benefits{margin-top:20px}.faq{padding-top:10px}footer{background:#e9eef7}.portal-content{background:#fff}.portal-hero{background:#edf4ff}
@media(min-width:1550px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}.product-body{padding:15px}.add-button span{display:none}}
@media(max-width:1519px){.shop-nav-inner,.shop-service-strip{margin-left:40px;margin-right:40px}.setup-banner{margin-left:40px;margin-right:40px}}
@media(max-width:1100px){.header-inner{gap:22px;padding:0 28px}.header-search{max-width:none}.header-actions{gap:12px}.header .account-link span{display:none}.shop-nav-inner{gap:24px}.header .shop-nav nav{gap:20px}.nav-tax{display:none}.hero-showcase{min-height:380px;padding:35px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-service-strip{grid-template-columns:repeat(2,1fr);gap:20px}.shop-service-strip>:nth-child(2){border:0}.shop-service-strip p{font-size:12px}.catalog-toolbar .search-box{width:260px}.tabs button{padding:10px 12px}}
@media(max-width:800px){.header{height:164px;min-height:164px}.header-inner{height:116px;min-height:116px;display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding:10px 24px}.header .logo{font-size:27px}.header .brand-logo{width:39px;height:39px}.header-actions{grid-column:2;grid-row:1}.header-search{grid-column:1/-1;grid-row:2;max-width:none;width:100%;height:38px}.header-search input{font-size:13px}.shop-nav-inner{margin:0 24px;gap:20px}.catalog-menu{width:205px}.header .shop-nav nav{gap:18px}.header .shop-nav nav a{font-size:12px}.header .shop-nav nav a:nth-child(2){display:none}.hero-showcase{width:calc(100% - 48px);margin-top:18px}.hero-showcase h1{font-size:44px}.hero-showcase .hero-copy{width:49%}.section{padding:30px 24px}.shop-service-strip{margin:15px 24px 0}.catalog-toolbar{flex-direction:column;align-items:stretch}.catalog-toolbar .search-box{width:100%}.catalog-layout{grid-template-columns:175px minmax(0,1fr);gap:16px}.filters{padding:15px}.product-grid{gap:12px}.product-body{padding:14px}.add-button span{display:none}.product-title{font-size:17px}.setup-banner{margin-left:24px;margin-right:24px}.shop-brands{align-items:flex-start;flex-direction:column}.brand-links{width:100%}html{scroll-padding-top:185px}}
@media(max-width:650px){.hero-showcase{padding:28px 25px 0;min-height:0}.hero-showcase .hero-copy{width:100%}.hero-showcase h1{font-size:43px}.hero-showcase .hero-visual{height:220px;width:calc(100% + 50px);margin:18px -25px 0}.hero-showcase .hero-visual>img{object-position:right center}.shop-service-strip{padding:16px 0;gap:17px}.shop-service-strip>div,.shop-service-strip>a{padding:0 14px;gap:9px}.shop-service-strip>*>span{font-size:20px}.shop-service-strip strong{font-size:12px}.shop-service-strip p{font-size:10px}.catalog-layout{display:flex;flex-direction:column}.filters{width:100%;padding:15px}.filters .check{font-size:12px}.catalog .section-heading{gap:12px}.section-heading h2{font-size:25px}.catalog-toolbar .tabs{justify-content:flex-start;flex-wrap:wrap;gap:6px}.tabs button{font-size:11px;padding:9px 12px}.product-title{min-height:0}.product-code{font-size:12px}.product-body>.stock{font-size:12px}.category-card{min-height:145px}.category-card p{font-size:13px}.category-grid{grid-template-columns:1fr}.brand-links a{font-size:24px;min-height:70px}.setup-banner{padding:28px}.setup-banner h2{font-size:33px}.header .shop-nav nav a:nth-child(1){display:none}.shop-nav-inner{justify-content:space-between;gap:12px}.catalog-menu{width:210px}.header .shop-nav nav a:nth-child(3){display:flex}.header .cart-trigger{padding:8px 10px}.header .cart-trigger>span{display:none}.header .header-actions{gap:14px}.hero-showcase:after{display:none}.hero-showcase .hero-link{font-size:13px}.shop-nav nav{display:flex!important}.shop-nav{height:48px}.catalog-menu-panel{width:min(300px,85vw)}.section{padding-top:30px}.sample-pill{font-size:10px}.shop-brands{padding-top:0}}
@media(max-width:480px){.hero-showcase,.shop-service-strip{width:calc(100% - 28px);margin-left:14px;margin-right:14px}.section{padding-left:16px;padding-right:16px}.header-inner{padding-left:16px;padding-right:16px}.shop-nav-inner{margin:0 16px}.product-grid{grid-template-columns:1fr}.product-visual{height:205px}.product-visual>img{height:150px}.product-body{padding:20px}.product-title{font-size:21px}.product-specs{font-size:14px;min-height:0}.product-bottom{grid-template-columns:1fr auto}.product-bottom>.price{grid-column:1/-1}.add-button span{display:inline}.add-button{height:44px;padding:0 18px;font-size:13px}.purchase-quantity{font-size:13px}.purchase-quantity-input{height:44px;width:60px}.price{font-size:29px}.hero-showcase h1{font-size:43px}.setup-banner{margin-left:16px;margin-right:16px}.brand-links{gap:10px}.brand-links a{font-size:21px}}

/* Full supplier catalogue */
#brand-filters{max-height:320px;overflow:auto}#category-filter{width:100%;max-width:100%;padding:10px;border:1px solid #ccd9ef;border-radius:7px;background:white;color:#172d56}.product-visual img.supplier-photo,.detail-image img.supplier-photo{filter:none!important;mix-blend-mode:normal;object-fit:contain}.detail-description p{white-space:pre-line}

/* Home: ultimi arrivi (4 colonne x 2 righe) e shop a comparsa */
#catalogo[hidden],#novita[hidden]{display:none!important}
.new-arrivals-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.new-arrivals-cta{display:flex;justify-content:center;margin-top:28px}
.shop-back{border:1px solid #dde5d2;background:#fff;padding:7px 12px;border-radius:30px;font-size:11px;cursor:pointer;white-space:nowrap}
.shop-back:hover{background:#eff3e9}
@media(max-width:1100px){.new-arrivals-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.new-arrivals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Banner promozionali (sezione "perche") */
.promo-banners{display:grid;gap:20px}
.promo{position:relative;overflow:hidden;border-radius:22px;background:#eaf3ff var(--promo-img,none) no-repeat;background-size:cover;display:flex;align-items:center;box-shadow:0 18px 40px #1f3b7014}
.promo-wide{min-height:340px;background-position:right center;padding:46px 56px}
.promo-wide:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f4f9ffff 0%,#f4f9fff2 30%,#f4f9ff88 48%,transparent 66%)}
.promo-copy{position:relative;z-index:1;max-width:520px}
.promo-kicker{display:block;font-size:11px;font-weight:700;letter-spacing:1.8px;color:#2460ee;margin-bottom:12px}
.promo h2,.promo h3{color:#142348;margin:0 0 14px;letter-spacing:-1.5px;line-height:1.08}
.promo h2{font-size:clamp(30px,3.6vw,50px)}
.promo h3{font-size:clamp(26px,2.6vw,38px)}
.promo p{color:#405978;font-size:15px;line-height:1.55;margin:0 0 22px;max-width:430px}
.promo-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.promo-half{min-height:300px;padding:38px 40px}
.promo-tech{background-position:right center}
.promo-tech:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f4f9ffff 0%,#f4f9ffe6 34%,#f4f9ff55 58%,transparent 75%)}
.promo-trust{background:linear-gradient(135deg,#142348 0%,#1d3a8a 60%,#2460ee 100%)}
.promo-trust:after{content:"";position:absolute;right:-70px;top:-70px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,#ffffff2a,transparent 68%)}
.promo-trust h3{color:#fff}.promo-trust .promo-kicker{color:#9fc0ff}
.promo-trust ul{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:9px}
.promo-trust li{color:#e4edff;font-size:14px;padding-left:24px;position:relative}
.promo-trust li:before{content:"✓";position:absolute;left:0;top:0;color:#8fe3b0;font-weight:700}
.promo-link{display:inline-flex;gap:10px;align-items:center;font-weight:600;font-size:14px;color:#2460ee;border-bottom:1px solid currentColor;padding-bottom:3px}
.promo-trust .promo-link{color:#fff}
@media(max-width:900px){.promo-row{grid-template-columns:1fr}.promo-wide{padding:34px 28px;min-height:300px;background-position:68% center}.promo-wide:before{background:linear-gradient(90deg,#f4f9fffa 0%,#f4f9ffcc 55%,#f4f9ff40 100%)}.promo-half{padding:30px 26px}}
@media(max-width:560px){.promo-wide{min-height:380px;align-items:flex-start}.promo-wide:before{background:linear-gradient(180deg,#f4f9ffff 0%,#f4f9ffe0 50%,#f4f9ff20 100%)}.promo-tech:before{background:linear-gradient(90deg,#f4f9ffff 0%,#f4f9ffd0 60%,#f4f9ff55 100%)}}

/* Banner azzurro a tutta larghezza */
.promo-row{grid-template-columns:1fr}
.promo-trust{min-height:0;padding:44px 56px}
.promo-trust .promo-copy{max-width:none;width:100%;display:grid;grid-template-columns:1.1fr 1fr;grid-template-areas:"k k" "t l" "t a";column-gap:60px;align-items:center}
.promo-trust .promo-kicker{grid-area:k}.promo-trust h3{grid-area:t;margin:0;font-size:clamp(28px,3.4vw,46px)}
.promo-trust ul{grid-area:l;margin:0 0 20px}.promo-trust .promo-link{grid-area:a;justify-self:start}
@media(max-width:760px){.promo-trust{padding:32px 26px}.promo-trust .promo-copy{display:block}.promo-trust h3{margin:0 0 16px}}

/* Ultimi arrivi: cambio dolce ogni 5 secondi */
.new-arrivals-grid{transition:opacity .35s ease}
.new-arrivals-grid.is-swapping{opacity:0}

/* Carosello ultimi arrivi: scorrimento laterale con frecce */
.arrivals-carousel{position:relative}
.arrivals-viewport{overflow:hidden;margin:-8px -6px;padding:8px 6px 18px}
.arrivals-track{display:flex;transition:transform .7s cubic-bezier(.65,0,.35,1);will-change:transform}
.arrivals-page{flex:0 0 100%;min-width:0;align-content:start}
.arrivals-arrow{position:absolute;top:calc(50% - 18px);z-index:3;width:46px;height:46px;margin-top:-23px;border-radius:50%;border:1px solid #dbe5f6;background:#fff;color:#142348;font-size:28px;line-height:1;padding:0 0 3px;cursor:pointer;box-shadow:0 10px 26px #1f3b7026;display:grid;place-items:center;transition:background .2s,color .2s,transform .2s}
.arrivals-arrow:hover{background:#2460ee;color:#fff;border-color:#2460ee;transform:scale(1.07)}
.arrivals-arrow.prev{left:-23px}.arrivals-arrow.next{right:-23px}
.arrivals-dots{display:flex;justify-content:center;gap:8px;margin-top:6px}
.arrivals-dot{width:9px;height:9px;border-radius:9px;border:0;background:#c9d6ee;padding:0;cursor:pointer;transition:width .3s,background .3s}
.arrivals-dot.is-active{width:28px;background:#2460ee}
.arrivals-carousel.is-single .arrivals-arrow,.arrivals-carousel.is-single .arrivals-dots{display:none}
@media(max-width:900px){.arrivals-arrow{width:40px;height:40px;margin-top:-20px;font-size:24px}.arrivals-arrow.prev{left:-8px}.arrivals-arrow.next{right:-8px}}
@media(prefers-reduced-motion:reduce){.arrivals-track{transition:none}}
