/* TECH BAZAR — regular product sections only. Special products retain original styling. */
@media (min-width: 1100px) {
  body:has(#hero) .wrap .product-grid:not(.special-product-grid):not(.top-grid) {grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
  body:has(#hero) .wrap .product-track:not(.special-product-grid) .product {flex:0 0 calc((100% - 60px)/6)}
}
body:has(#hero) .wrap section:has(> .product-grid):not(.special-products-section),
body:has(#hero) .wrap .collection:has(> .product-grid) {margin-top:28px;margin-bottom:30px}
body:has(#hero) .wrap section:has(> .product-grid):not(.special-products-section) > .section-head,
body:has(#hero) .wrap .collection:has(> .product-grid) > .section-head {border-bottom:0;margin:0 0 14px;padding:0;align-items:center;gap:12px}
body:has(#hero) .wrap section:has(> .product-grid):not(.special-products-section) > .section-head h2,
body:has(#hero) .wrap .collection:has(> .product-grid) > .section-head h2 {font-size:22px!important;font-weight:700!important;letter-spacing:-.25px}
body:has(#hero) .wrap section:has(> .product-grid):not(.special-products-section) > .section-head h2::after,
body:has(#hero) .wrap .collection:has(> .product-grid) > .section-head h2::after {display:none}
body:has(#hero) .wrap section:has(> .product-grid):not(.special-products-section) > .section-head a,
body:has(#hero) .wrap .collection:has(> .product-grid) > .section-head a {border:1px solid #d8dfe8;border-radius:999px;padding:7px 13px;background:#fff;color:#203049;text-transform:none;font-size:12px;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
body:has(#hero) .wrap section:has(> .product-grid):not(.special-products-section) > .section-head a:hover,
body:has(#hero) .wrap .collection:has(> .product-grid) > .section-head a:hover {background:#1b2636;color:#fff;border-color:#1b2636}
/* Exclude the special product grid explicitly; only ordinary cards get this layout. */
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product {position:relative;display:flex!important;flex-direction:column;min-width:0;min-height:306px;padding:13px!important;border:1px solid #e1e5ec!important;border-radius:11px!important;background:#fff!important;box-shadow:none;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .product-image {display:grid;place-items:center;width:100%;height:142px;overflow:hidden;background:#fff}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .product-image img {width:100%;height:100%;object-fit:contain;padding:12px;transition:transform .3s ease}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .product-body {display:flex;flex-direction:column;flex:1;padding:7px 0 0;min-width:0}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .product-name {font-size:12px;line-height:1.35;min-height:33px;max-height:34px;overflow:hidden;font-weight:500;color:#101e32}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .price {margin:8px 0 10px;color:#e61d29;font-size:13px;font-weight:800;line-height:1.3}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .price del {color:#8390a2;font-size:11px;font-weight:400}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .product-actions {display:flex;gap:6px;margin-top:auto;flex-wrap:nowrap}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .tb-view-details {display:flex;flex:1;min-width:0;min-height:35px;padding:8px 6px;border-radius:5px;background:#1b2534!important;border:1px solid #1b2534!important;color:white!important;font-size:12px;font-weight:700;transition:background .2s ease,box-shadow .2s ease,transform .2s ease}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .tb-quick-cart {display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;padding:6px;border-radius:5px;border:1px solid #dce2eb;background:#f8fafc;color:#1b2534;transition:background .2s,color .2s,transform .2s}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .tb-quick-cart svg {width:18px;height:18px}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .badges {justify-content:flex-start;top:10px;left:10px;right:10px}
body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .tb-save-badge {background:#00835c;color:white;font-size:10px;font-weight:700;border-radius:3px;padding:3px 6px}
@media (hover:hover) {
 body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product:hover {transform:translateY(-5px);border-color:#c7d3e1!important;box-shadow:0 12px 28px #12213a1c}
 body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product:hover .product-image img {transform:scale(1.055)}
 body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .tb-view-details:hover {background:#2563eb!important;border-color:#2563eb!important;box-shadow:0 6px 18px #2563eb48;transform:translateY(-1px)}
 body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .tb-quick-cart:hover {background:#1b2534;color:#fff;transform:translateY(-1px)}
}
@media (max-width:1099px) and (min-width:701px){body:has(#hero) .wrap .product-grid:not(.special-product-grid){grid-template-columns:repeat(4,minmax(0,1fr))}body:has(#hero) .wrap .product-track:not(.special-product-grid) .product{flex:0 0 calc((100% - 36px)/4)}}
@media (max-width:700px){body:has(#hero) .wrap .product-grid:not(.special-product-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body:has(#hero) .wrap .product-track:not(.special-product-grid) .product{flex:0 0 calc((100% - 9px)/2)}body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product{padding:9px!important;min-height:275px}body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .product-image{height:115px}body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .tb-view-details{font-size:11px}body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .tb-quick-cart{width:32px;flex-basis:32px;height:35px}}
@media(prefers-reduced-motion:reduce){body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product,body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product img,body:has(#hero) .wrap .product-grid:not(.special-product-grid) > .product .btn{transition:none!important;transform:none!important}}
