/* Primary actions and navigation remain comfortable at every viewport size. */
.hero-copy>.hero-cta{min-width:280px;min-height:64px;max-width:100%;padding:18px 28px;font-size:18px;line-height:1.4;justify-content:space-between;gap:24px}
.hero-cta>.icon{width:23px;height:23px;flex:none}
.section-heading>.text-link,.nav-inner nav>a{min-height:44px;display:inline-flex;align-items:center}
.header-phone{min-height:44px}
.header-phone{align-self:center;justify-content:center}
.header-phone strong{display:block;line-height:1.25;font-weight:500}
.header-actions{align-items:center;gap:10px}
.header-actions .count{display:inline-flex;align-items:center;justify-content:center;top:-3px;right:-2px;min-width:22px;height:22px;padding:0 4px;border:2px solid #fff;border-radius:50%;font-family:inherit;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1;color:#fff;background:#526da7}
.header-actions .count[hidden]{display:none}
.header-actions .cart-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 16px;border:1px solid #dce3ee;border-radius:11px;background:#fff;color:#293950;box-shadow:none;font-family:inherit;font-size:16px;font-weight:400;line-height:1.25}
.header-actions .cart-button:hover{background:#f4f7fb;border-color:#b9c8df;color:#293950}
.header-actions .cart-button>.icon{width:22px;height:22px;stroke-width:1.6}
.header-actions .cart-button-label{font:inherit;color:inherit;line-height:inherit}
.header-actions .cart-count{position:static;min-width:24px;height:24px;border:0;border-radius:7px;background:#edf2fa;color:#385078;font-size:14px;font-weight:500;line-height:1}
.illustration-tag{background:#f1f5fa;color:#576c8b;border:1px solid #dde6f2;font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;line-height:1.4;padding:4px 7px;max-width:none}
.card-tags{flex-wrap:wrap;gap:5px}
.product-usage-note{margin-top:16px;padding:14px 16px;border-radius:10px;background:#edf3fc;color:#435b7f;font-size:15px;line-height:1.55}
.media-kind-note{display:block;color:#62738c;font-size:12px;font-weight:400;line-height:1.4;margin-top:4px}
.cart-image .media-kind-note,.suggest-image .media-kind-note{font-size:10px;margin-top:2px}
.detail-actions{flex-wrap:wrap}
.compare-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 10px;color:#3559c7;font-size:14px;line-height:1.4;border-radius:8px}
.compare-open:hover{background:#edf3fd;text-decoration:underline;text-underline-offset:3px}
.compare-open>.icon{width:18px;height:18px;flex:none}

/* Menu heading stays reachable while its categories scroll. */
.mega-menu{top:100%;padding:0;max-height:min(70vh,660px);max-height:min(70dvh,660px);overscroll-behavior:contain}
.mega-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:20px;padding:22px 26px;background:#fff;border-bottom:1px solid #e0e7f1}
.mega-heading .mega-title{display:block;flex:1;min-width:0;margin:0;font-size:24px;line-height:1.3}
.mega-heading .mega-title>span{display:block;margin-top:5px;font-size:14px;font-weight:400;line-height:1.4}
.mega-all{min-height:48px;font-size:16px;padding:12px 18px;gap:16px;white-space:nowrap}
.mega-close{width:44px;height:44px;flex:0 0 44px;border:1px solid #d2dcec;border-radius:9px}
.mega-grid{padding:16px}
.mega-grid>a{min-width:0;min-height:76px}
.mega-grid>a>span{min-width:0;overflow-wrap:anywhere}
.mega-grid>a>.icon{flex:none}

/* Four compact recommendations, even for products in a one-item category. */
.product-grid.related-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.related-grid .card-media{height:180px;padding:20px}
.related-grid .card-body{padding:16px 18px 18px}
.related-grid .product-card .card-meta{grid-template-rows:32px minmax(18px,auto);min-height:56px;gap:4px;margin-bottom:10px}
.related-grid .product-brand{--brand-height:32px;--brand-width:132px}
.related-grid .product-brand img{max-height:28px}
.related-grid .product-brand.has-name[title="Mellanox"] img{width:32px;height:32px;max-width:32px;max-height:32px}
.related-grid .product-card .card-body h3{font-size:19px;line-height:1.35;min-height:52px;margin-bottom:10px;overflow-wrap:anywhere}
.related-grid .product-card .card-description{font-size:14px;line-height:1.5;-webkit-line-clamp:2;margin-bottom:12px}
.related-grid .product-card .card-bottom{padding-top:14px;gap:12px}
.related-grid .product-card .card-price{font-size:23px;line-height:1.3}
.related-grid .product-card .card-price.price-text{font-size:17px}
.related-grid .product-card .product-buy{min-height:46px;padding:10px 12px;font-size:15px;gap:8px}
.related-grid .product-buy .icon{width:18px;height:18px;flex:none}
.related-grid .favorite-button{width:44px;height:44px}

/* Delete buttons keep their touch area inside the cart row. */
.cart-row>.icon-button,.drawer-content .cart-row>.icon-button{margin:0}
@media(max-width:1100px){.product-grid.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .header-actions{gap:6px}
 .header-actions .cart-button{padding:0 11px;font-size:15px}
 .related-grid .illustration-tag{font-size:10px;padding:2px 4px}
 .related-grid .card-tags{top:120px;left:6px;right:4px}
 .hero-copy>.hero-cta{width:100%;min-width:0;min-height:60px;font-size:17px;padding:16px 22px}
 .mega-heading{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:14px;padding:18px}
 .mega-heading .mega-title{font-size:22px;grid-column:1;grid-row:1}
 .mega-close{grid-column:2;grid-row:1}
 .mega-all{grid-column:1/-1;grid-row:2;justify-content:space-between}
 .mega-grid{grid-template-columns:minmax(0,1fr);gap:4px;padding:10px}
 .mega-grid>a{min-height:64px;padding:10px 12px;font-size:16px}
 .mega-grid small{font-size:14px;margin-top:3px}
 .product-grid.related-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .related-grid .product-card{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:start}
 .product-grid.related-grid .product-card:last-child:nth-child(4){display:grid}
 .related-grid .card-media{height:150px;padding:46px 12px 12px;position:relative}
 .related-grid .favorite-button{top:8px;right:auto;left:12px}
 .related-grid .card-body{border:0;padding:16px 14px 16px 0;min-width:0}
 .related-grid .product-card .card-body h3{font-size:17px;min-height:0;margin-bottom:8px}
 .related-grid .product-card .card-description{font-size:14px;line-height:1.4;margin-bottom:10px}
 .related-grid .product-card .card-price{font-size:21px}
 .related-grid .product-card .card-bottom{padding-top:12px;gap:10px}
 .cart-row,.drawer-content .cart-row{grid-template-columns:64px minmax(0,1fr) 44px}
}
@media(max-width:350px){
 .catalog-card-specs>div,.catalog-page .catalog-grid[data-view=grid] .catalog-card-specs>div{grid-template-columns:minmax(0,1fr);gap:2px}
 .catalog-card-specs dt{overflow-wrap:normal;word-break:normal}
 .related-grid .product-card{grid-template-columns:88px minmax(0,1fr)}
 .related-grid .card-media{padding-inline:10px}
 .related-grid .card-body{padding-right:12px}
 .cart-row,.drawer-content .cart-row{grid-template-columns:58px minmax(0,1fr) 44px}
}
