/* Techub Hardware v2 polish layer — intentionally sits above the existing theme. */
:root{
  --th-blue:#075cf6;
  --th-ink:#071127;
  --th-muted:#64748b;
  --th-line:#e5ebf3;
  --th-soft:#f5f8fc;
  --th-radius:18px;
}
body.techub-modern-site{background:#f7f9fc;color:var(--th-ink)}
body.techub-modern-site .main,
body.techub-modern-site .reference-page-main{max-width:1480px;margin-inline:auto}

/* Brand architecture: this is the Hardware storefront, not the service site. */
.techub-store-identity{display:inline-flex!important;align-items:center;gap:8px!important;margin-left:18px!important;padding-left:18px!important;border-left:1px solid rgba(255,255,255,.16)!important;color:#fff!important;text-decoration:none!important;white-space:nowrap!important;font-size:12px!important;font-weight:800!important;letter-spacing:.02em!important}
.techub-store-identity .dot{width:7px;height:7px;border-radius:50%;background:#2f7bff;box-shadow:0 0 0 4px rgba(47,123,255,.13)}
.techub-service-link{display:inline-flex!important;align-items:center;gap:7px!important;color:#075cf6!important;font-weight:800!important;text-decoration:none!important}
.techub-service-link:after{content:'↗';font-size:12px}

/* Homepage: stronger retail hierarchy. */
body.reference-home .hero-grid{margin-bottom:34px!important}
body.reference-home .hero-slider{box-shadow:0 18px 50px rgba(15,23,42,.12)!important}
body.reference-home .home-product-showcase{padding-top:8px!important}
body.reference-home .home-section-head h2{font-size:clamp(1.7rem,2.2vw,2.15rem)!important;letter-spacing:-.035em!important}
body.reference-home .home-section-head p{color:#66758a!important}
body.reference-home .home-section-head a{font-weight:850!important}
.home-trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:26px 0 38px}
.home-trust-item{display:flex;align-items:flex-start;gap:12px;padding:17px 18px;border:1px solid var(--th-line);border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.045)}
.home-trust-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#eef5ff;color:var(--th-blue);font-weight:900;font-size:18px}
.home-trust-item strong{display:block;font-size:.9rem;margin-bottom:3px}
.home-trust-item span{display:block;color:var(--th-muted);font-size:.76rem;line-height:1.35}
.home-category-section{margin:0 0 40px}
.home-category-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}
.home-category-head h2{margin:0;font-size:clamp(1.55rem,2vw,2rem);letter-spacing:-.03em}
.home-category-head p{margin:6px 0 0;color:var(--th-muted);font-size:.9rem}
.home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.home-category-card{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid var(--th-line);border-radius:16px;background:#fff;color:var(--th-ink);text-decoration:none;transition:transform .18s,box-shadow .18s,border-color .18s}
.home-category-card:hover,.home-category-card:focus{transform:translateY(-2px);border-color:#cbdcf8;box-shadow:0 14px 34px rgba(15,23,42,.08)}
.home-category-card svg{width:24px;height:24px;flex:0 0 24px;stroke:var(--th-blue);stroke-width:1.8;fill:none}
.home-category-card strong{display:block;font-size:.92rem}.home-category-card span{display:block;margin-top:3px;color:var(--th-muted);font-size:.74rem}
.home-service-bridge{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center;margin:8px 0 46px;padding:24px 26px;border:1px solid #cfe0ff;border-radius:20px;background:linear-gradient(100deg,#eff5ff,#fff)}
.home-service-bridge .eyebrow{margin:0 0 5px;color:var(--th-blue);font-size:.72rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.home-service-bridge h2{margin:0;font-size:1.25rem;letter-spacing:-.02em}.home-service-bridge p{margin:6px 0 0;color:#5e6c80;font-size:.86rem;max-width:720px;line-height:1.5}
.home-service-bridge .btn{white-space:nowrap}

/* Product cards: comparison information first. */
.product-card--techstore .techstore-image-link{display:flex;align-items:center;justify-content:center;min-height:205px}
.product-card--techstore .techstore-meta{align-items:center}
.product-card--techstore .techstore-highlights{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 10px}
.product-card--techstore .techstore-highlight{padding:4px 7px;border-radius:7px;background:#f3f6fa;color:#536174;font-size:.67rem;line-height:1.2}
.product-card--techstore .rating-stock-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.product-card--techstore .stock-chip{font-weight:800}
.product-card--techstore .stock-chip--out{background:#f1f3f6;color:#687487}
.product-card--techstore .techstore-actions .mini-btn{width:100%;font-weight:850}
.product-card--techstore .techstore-actions .mini-btn:disabled{opacity:.62;cursor:not-allowed}

/* Product page purchase block. */
body.reference-product .product-detail-panel{border-radius:22px!important;box-shadow:0 18px 50px rgba(15,23,42,.07)!important}
body.reference-product .detail-buy-box{padding:17px 0!important;border-top:1px solid var(--th-line)!important;border-bottom:1px solid var(--th-line)!important}
body.reference-product .detail-price{font-size:2rem!important;letter-spacing:-.035em!important}
body.reference-product .purchase-row .btn-primary{min-width:190px!important;font-weight:900!important}
body.reference-product .detail-service-grid article{border-radius:14px!important;background:#f7f9fc!important}
body.reference-product .product-info-card{border-radius:18px!important;box-shadow:0 10px 34px rgba(15,23,42,.045)!important}

/* Checkout: make the order-request model explicit. */
.checkout-order-request-note{display:flex;gap:11px;align-items:flex-start;margin:0 0 18px;padding:13px 15px;border:1px solid #cfe0ff;border-radius:12px;background:#f1f6ff;color:#334155;font-size:.8rem;line-height:1.45}
.checkout-order-request-note strong{color:var(--th-ink)}

@media(max-width:1000px){
 .home-trust-strip{grid-template-columns:repeat(2,1fr)}
 .home-category-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
 .techub-store-identity{display:none!important}
 .home-trust-strip{grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 28px}
 .home-trust-item{padding:13px}.home-trust-item span{font-size:.7rem}.home-trust-icon{width:32px;height:32px;flex-basis:32px;font-size:15px}
 .home-category-grid{grid-template-columns:1fr 1fr;gap:8px}.home-category-card{padding:13px;gap:9px}.home-category-card strong{font-size:.8rem}.home-category-card span{font-size:.68rem}
 .home-service-bridge{grid-template-columns:1fr;margin:0 0 30px;padding:18px}.home-service-bridge .btn{width:100%}
 .product-card--techstore .techstore-image-link{min-height:145px}
 .product-card--techstore .techstore-highlights{display:none}
}
@media(max-width:420px){.home-trust-strip{grid-template-columns:1fr}.home-category-grid{grid-template-columns:1fr}}
