
/* TechStore Electronics v1.0.23 — supplemental responsive stylesheet */
:root{--ts-focus:rgba(37,99,235,.18)}
:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
button,select,input{font:inherit}
button{cursor:pointer}
.site-header .container,.main-nav .container{min-width:0}
.site-logo:focus-visible,.header-action:focus-visible,.btn:focus-visible{border-radius:8px}
.techstore-promo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.techstore-promo-banner{position:relative;isolation:isolate;min-height:250px;border-radius:20px;overflow:hidden;background:#0f172a;color:#fff}
.techstore-promo-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.techstore-promo-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,23,42,.88),rgba(15,23,42,.15));z-index:-1}
.techstore-promo-overlay{position:relative;padding:30px;max-width:540px}
.techstore-promo-overlay h2{font-size:clamp(22px,3vw,34px);line-height:1.12;margin:0 0 10px;color:#fff}
.techstore-promo-overlay p{color:#e2e8f0;margin:0 0 18px}
.techstore-video-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:18px;background:#0f172a}
.techstore-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.techstore-view-switch{display:flex;gap:5px;flex-shrink:0}
.techstore-view-btn{width:38px;height:38px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font-size:18px}
.techstore-view-btn.is-active{background:var(--primary);border-color:var(--primary);color:#fff}
.techstore-filter-products.is-list-view{display:flex!important;flex-direction:column;gap:12px}
.techstore-filter-products.is-list-view .product-card,
.techstore-filter-products.is-list-view li.product,
.techstore-filter-products.is-list-view .techstore-filter-item{width:100%;max-width:none}
.techstore-filter-products.is-list-view .product-card{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:18px;padding:12px}
.techstore-filter-products.is-list-view .product-thumb{padding:0;width:150px}
.techstore-filter-products.is-list-view .product-thumb img{width:150px;height:130px;aspect-ratio:auto;object-fit:contain}
.techstore-filter-products.is-list-view .product-info{padding:8px 12px}
.techstore-filter-products.is-list-view .product-title{min-height:0}
.techstore-filter-products.is-list-view .product-actions{padding:12px}
.techstore-filter-products.is-list-view .product-actions .button{white-space:nowrap}
.techstore-shop-layout .woocommerce-widget-layered-nav-list,
.techstore-shop-layout .product-categories{list-style:none;margin:0;padding:0}
.techstore-widget-sidebar ul li{margin:0 0 9px}
.techstore-widget-sidebar a{overflow-wrap:anywhere}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:20px 0}
.woocommerce div.product .woocommerce-tabs ul.tabs:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--border);border-radius:8px;background:#f8fafc;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:10px 14px}
.woocommerce div.product .woocommerce-tabs .panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px}
.woocommerce div.product div.images img{border-radius:12px}
.woocommerce div.product form.cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.woocommerce .quantity .qty{min-height:42px;border:1px solid var(--border);border-radius:8px;padding:8px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--primary);border-radius:10px}
.woocommerce-message:before,.woocommerce-info:before{color:var(--primary)}
.woocommerce table.shop_table{border-collapse:collapse;border-radius:12px;overflow:hidden;border-color:var(--border)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:13px}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{max-width:100%;border:1px solid var(--border);border-radius:8px;padding:10px}
.woocommerce form .form-row{margin-bottom:14px}
.woocommerce a.remove{color:#dc2626!important}
.woocommerce a.remove:hover{background:#dc2626;color:#fff!important}
@media(max-width:900px){
 .techstore-promo-banner{min-height:220px}
 .techstore-filter-products.is-list-view .product-card{grid-template-columns:120px minmax(0,1fr);gap:10px}
 .techstore-filter-products.is-list-view .product-thumb,.techstore-filter-products.is-list-view .product-thumb img{width:120px}
 .techstore-filter-products.is-list-view .product-actions{grid-column:2;padding:0 12px 10px}
}
@media(max-width:680px){
 .techstore-promo-grid{grid-template-columns:1fr;gap:14px}
 .techstore-promo-banner{min-height:200px}
 .techstore-promo-overlay{padding:22px}
 .techstore-shop{padding-top:24px}
 .techstore-filter-products.is-list-view .product-card{grid-template-columns:88px minmax(0,1fr);padding:9px;gap:8px}
 .techstore-filter-products.is-list-view .product-thumb,.techstore-filter-products.is-list-view .product-thumb img{width:88px;height:95px}
 .techstore-filter-products.is-list-view .product-info{padding:4px}
 .techstore-filter-products.is-list-view .product-actions{grid-column:1/-1;padding:0}
 .techstore-filter-products.is-list-view .product-actions .button{width:100%;white-space:normal}
 .techstore-filter-products.is-list-view .product-price{font-size:16px;margin:6px 0}
 .woocommerce div.product{padding:14px}
 .woocommerce-cart-form,.cart_totals,.woocommerce-checkout #customer_details,.woocommerce-checkout-review-order{padding:12px;overflow-x:auto}
 .woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:8px;font-size:13px}
}
