/* Shared storefront hierarchy; administration uses its own layout. */
:root{--purchase:#cc2638;--nav-height:70px}.intro-kicker,.saved-eyebrow{display:block;font-size:.67rem;font-weight:700;letter-spacing:.04em;color:var(--ink-soft);margin-bottom:6px}.storefront-intro{border-inline-start:3px solid var(--brand);padding-inline-start:16px}.intro-links{display:flex;gap:16px;flex-wrap:wrap;flex-shrink:0}.intro-links a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:.8rem;color:var(--brand);font-weight:600}.product-card h4{height:3.3em;line-height:1.65}.product-card h4 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65}.product-card .card-facts{gap:5px 8px;line-height:1.65}.product-card .price-block{min-height:65px;display:flex;flex-direction:column;justify-content:flex-end}.product-quick-add button,.pd-actions .order-btn,.pd-sticky-bar .order-btn{background:var(--purchase);border-color:var(--purchase);color:white}.product-quick-add{margin-top:10px}.product-card:focus-within{outline:2px solid var(--brand);outline-offset:2px}
.gallery-thumbs .thumb{appearance:none;-webkit-appearance:none;padding:0;color:inherit;font:inherit;line-height:normal}
.product-buy-panel .qty-row{margin:20px 0 14px;justify-content:flex-start}.product-buy-panel .qty-box{height:44px}.product-buy-panel .qty-box button{min-width:44px;min-height:44px}.product-buy-panel .pd-actions{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:10px;margin:0;width:100%}.product-buy-panel .pd-actions>*{min-height:48px;width:100%;min-width:0;padding:11px 10px;font-size:.9rem;margin:0;border-radius:10px;display:flex;justify-content:center;align-items:center;gap:8px;white-space:normal;line-height:1.5}.pd-advice{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;color:var(--ink-soft);font-size:.78rem;margin-top:10px}.product-information{margin-top:20px}.product-information .tabs{margin-bottom:8px}.product-information .tab{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;font:inherit;cursor:pointer;min-height:48px;padding:12px 4px;margin-inline-end:20px;color:var(--ink-soft);font-weight:600}.product-information .tab.active{color:var(--ink);border-bottom-color:var(--brand)}.product-information .spec-table{margin-top:0!important}.product-information .spec-table td{padding:13px 10px}.description-heading h2{font-size:1rem;margin:22px 0 12px}.pd-trust-mini{font-size:.76rem;line-height:1.7}.product-buy-panel .key-specs{gap:10px}.product-buy-panel .key-spec{padding:14px 8px}.pd-sticky-bar.show{box-shadow:0 -4px 20px #0000000a}
.saved-page{max-width:1200px;min-height:55vh}.saved-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:8px 0 24px}.saved-heading h1{font-size:clamp(1.55rem,3vw,2.2rem);line-height:1.5}.saved-heading h1 small{font-size:.85rem;border-radius:99px;padding:3px 10px;background:var(--brand-tint);color:var(--brand);vertical-align:middle}.saved-browse{display:flex;align-items:center;gap:6px;min-height:44px;color:var(--brand);font-size:.8rem}.wishlist-empty{text-align:center;padding:48px 24px;background:var(--card);border:1px solid var(--line);border-radius:22px;max-width:760px;margin:0 auto}.wishlist-empty-art{width:100px;height:100px;display:grid;place-items:center;border-radius:30px;margin:0 auto 22px;background:var(--brand-tint);color:var(--brand);position:relative;transform:rotate(-6deg)}.wishlist-empty-art>svg{transform:rotate(6deg)}.wishlist-empty-art>span{position:absolute;bottom:0;inset-inline-end:-6px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--card);border:1px solid var(--line)}.wishlist-empty h2{font-size:1.35rem;line-height:1.6}.wishlist-empty p{max-width:45ch;margin:10px auto 22px;color:var(--ink-soft);font-size:.9rem;line-height:1.9}.wishlist-empty>a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 24px;background:var(--purchase);border-radius:11px}.wishlist-how{display:flex;justify-content:center;gap:26px;border-top:1px solid var(--line);padding-top:22px;margin-top:30px;flex-wrap:wrap}.wishlist-how>span{display:inline-flex;align-items:center;gap:7px;color:var(--ink-soft);font-size:.78rem}.saved-privacy{font-size:.75rem;color:var(--ink-soft);line-height:1.8;max-width:760px;margin:18px auto 0;display:flex;gap:8px;align-items:flex-start}.saved-privacy svg{flex-shrink:0;margin-top:3px}.nav-icon{position:relative;display:flex;align-items:center;justify-content:center;overflow:visible!important}.nav-icon>b{position:absolute;top:-6px;inset-inline-end:-13px;min-width:16px;height:16px;padding:0 3px;border-radius:9px;background:var(--brand);color:white;font-size:9px;line-height:16px;box-sizing:border-box}.nav-icon>b[hidden],[data-saved-count][hidden]{display:none}.mobile-bottom-nav a{position:relative}.mobile-bottom-nav a[aria-current=page]::before{content:'';position:absolute;top:-6px;width:28px;height:3px;background:var(--brand);border-radius:0 0 6px 6px}.saved-page [aria-busy=true]{opacity:.6;pointer-events:none}
@media(max-width:900px){.store-whatsapp{width:44px;height:44px;padding:0;box-sizing:border-box}.store-whatsapp>span{display:none}.mobile-bottom-nav{min-height:var(--nav-height);box-sizing:border-box}.product-buy-panel .pd-actions .order-btn{font-size:.85rem}.saved-page .saved-heading{align-items:flex-start}.saved-heading h1{font-size:1.65rem}.wishlist-empty{padding:32px 18px}.wishlist-empty h2{font-size:1.16rem}.wishlist-empty p{font-size:.82rem}.wishlist-how{gap:16px}.wishlist-how>span{font-size:.7rem}.saved-heading{margin-bottom:18px}.saved-browse{font-size:.73rem}.storefront-intro .intro-links{gap:14px;margin-top:5px}.storefront-intro .intro-links>a{font-size:.72rem}.storefront-intro h1{font-size:1.22rem;line-height:1.55}.storefront-intro p{font-size:.75rem}.storefront-intro{padding-inline-start:12px}.product-information .spec-table td{padding:12px 7px;font-size:.8rem}.product-buy-panel .pd-trust-mini{display:grid;grid-template-columns:1fr 1fr}.product-buy-panel .pd-trust-mini>span:last-child{grid-column:1/-1}.product-buy-panel .pd-actions{gap:8px}.pd-sticky-bar .order-btn{font-size:.82rem}.product-information{margin-top:18px}.saved-page{padding-top:8px}.saved-page .breadcrumb{font-size:.72rem}.saved-privacy{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* v44: compact cards and a quiet mobile navigation. */
.product-card .card-body{gap:5px;padding:11px!important}.product-card h4{font-size:.84rem;line-height:1.45;height:2.9em;min-height:2.9em;margin:0}.product-card h4 a{line-height:1.45}.product-card .product-brand{font-size:.65rem;min-height:14px;margin:0}.product-card .card-facts{min-height:0;margin:1px 0;font-size:.63rem;display:flex;align-items:center}.product-card .card-facts>span:last-child{margin-inline-start:auto}.product-card .spec-row{min-height:0;line-height:1.4;gap:4px}.product-card .spec-chip{font-size:.62rem}.product-card .price-block{min-height:0;border-top:0;margin-top:auto;padding-top:5px!important;display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:4px}.product-card .old-price{font-size:.65rem;margin:0;white-space:nowrap}.product-card .price{font-size:1.18rem;line-height:1.3}.product-card .product-quick-add{margin-top:5px}.product-card .purchase-btn{min-height:44px;border-radius:9px}.product-card .card-media{height:168px;aspect-ratio:auto}.product-card .card-save{min-height:36px;min-width:36px;padding:7px;top:6px;inset-inline-end:6px;box-shadow:none}.product-card .card-save svg{width:17px;height:17px}.mobile-product-facts{display:none}.storefront-intro{border:0;padding:0}.storefront-intro .intro-kicker{font-size:.62rem;margin-bottom:4px}.home-compact-opening{padding-block:12px}.home-assurance+.section .section-top{margin-bottom:12px}.home-assurance+.section .section-top h3{font-size:1rem}
@media(max-width:900px){.mobile-bottom-nav{background:var(--card);border-top:1px solid var(--line);box-shadow:none;padding:5px 8px calc(5px + env(safe-area-inset-bottom));min-height:62px;gap:4px}.mobile-bottom-nav a{min-height:46px;gap:3px;font-size:.6rem;border-radius:10px}.mobile-bottom-nav a[aria-current=page]{background:var(--brand-tint);color:var(--brand)}.mobile-bottom-nav a[aria-current=page]::before{display:none}.mobile-bottom-nav a>svg,.mobile-bottom-nav .nav-icon>svg{width:19px;height:19px}.nav-icon>b{font-size:8px;min-width:14px;height:14px;line-height:14px;inset-inline-end:-9px;top:-5px}.nav-icon>b:empty,.nav-icon>b[data-empty]{display:none}.home-compact-opening .intro-links{margin:0;gap:12px}.home-compact-opening .intro-links a{font-size:.7rem;min-height:36px}.storefront-intro h1{font-size:1.12rem;line-height:1.5}.storefront-intro p{font-size:.72rem;line-height:1.7}.home-assurance+.section .section-caption{display:none}.product-card .card-media{height:138px;min-height:0;aspect-ratio:auto}.product-media-link .product-photo{padding:10px}.product-card .card-body{padding:9px!important;gap:4px}.product-card h4{font-size:.76rem}.product-card .price{font-size:1.08rem}.product-card .card-facts{font-size:.58rem;line-height:1.5;gap:3px}.product-card .card-facts .is-available{font-size:.62rem}.product-card .card-facts .is-available::before{content:'';display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;vertical-align:middle}.product-card .spec-chip{font-size:.58rem}.product-card .card-interface{max-width:9ch;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}.product-card .card-media .condition-badge{font-size:.53rem;padding:3px 5px;max-width:calc(100% - 12px)}.product-card .discount-badge{font-size:.55rem}.product-card .purchase-btn{font-size:.68rem;padding:8px 4px}.product-detail{gap:14px}.product-detail .gallery-panel{padding:10px}.gallery-panel .gallery-main{height:clamp(200px,32svh,285px)!important;min-height:0!important;max-height:285px;flex:none;aspect-ratio:auto}.gallery-main #gallery-main-img{padding:12px!important}.gallery-panel .gallery-thumbs{gap:7px;margin-top:8px}.gallery-panel .thumb{width:44px;height:44px}.gallery-count{font-size:.62rem;bottom:8px}.mobile-product-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.mobile-product-facts>div{min-width:0;text-align:center;display:grid;gap:3px}.mobile-product-facts small{font-size:.6rem;color:var(--ink-soft)}.mobile-product-facts strong{font-size:.73rem;overflow-wrap:anywhere}.product-buy-panel .key-specs{display:none}.product-buy-panel{padding:14px!important}.product-buy-panel .pd-title{font-size:1.1rem;line-height:1.6;margin-bottom:8px}.product-buy-panel .detail-secondary-actions{margin:4px 0 8px;gap:10px}.product-buy-panel .pd-trust-mini{padding:9px;font-size:.67rem;gap:6px}.product-buy-panel .pd-avail{font-size:.7rem}.product-buy-panel .qty-row{margin:12px 0 10px}.product-information{margin-top:14px}}

/* Catalog search stays visible independently of the optional filters. */
.catalog-search-bar{display:flex;align-items:stretch;gap:8px;margin-bottom:12px;scroll-margin-top:12px;}
.catalog-search-field{display:flex;align-items:center;gap:8px;flex:1;min-width:0;background:var(--card);border:1px solid var(--panel-line);border-radius:12px;padding:0 12px;}
.catalog-search-field:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 15%,transparent);}
.catalog-search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:16px;min-height:46px;}
.catalog-search-bar button{min-height:46px;padding:0 16px;border-radius:12px;}
@media(max-width:900px){.catalog-page #catalog-search{scroll-margin-top:160px;}.catalog-page .filter-box{margin-bottom:12px;}}

[data-cart-count][hidden]{display:none!important;}

.product-warranty{margin:14px 0;padding:14px;border:1px solid var(--panel-line);border-radius:12px;background:var(--card-alt);font-size:.8rem;line-height:1.85;overflow-wrap:anywhere;color:var(--ink)}.product-warranty h3{display:flex;align-items:center;gap:7px;font-size:.88rem;margin:0 0 6px}.product-warranty summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}.product-warranty small{color:var(--ink-soft)}.warranty-terms-text{white-space:pre-wrap;margin:8px 0}.warranty-unconfigured{border-color:#e6b458}.cart-item-main .product-warranty{font-size:.75rem}.summary-box .product-warranty{text-align:start}.warranty-terms-body{padding-top:8px}

/* Uniform product cards: duration belongs to the product; policy text stays in details. */
.product-card{display:flex;flex-direction:column;height:100%;min-width:0}.product-card .card-body{display:flex;flex:1;flex-direction:column;min-width:0}.product-card .card-facts{min-height:20px;flex-wrap:nowrap}.product-card .card-facts>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:78%}.product-card .price-block{min-height:38px;flex-shrink:0}.product-card .stock-enquiry,.product-card .purchase-btn{min-height:44px;display:flex;align-items:center;justify-content:center}.product-card .stock-enquiry{margin-top:5px}.product-card .product-quick-add{flex-shrink:0}.product-card .card-body .product-brand{display:block;height:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

.pd-sticky-name{display:block;max-width:40vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem}.pd-sticky-summary{display:grid;gap:2px}.reviews-panel:has(.review-entry){padding:22px}.reviews-panel:not(:has(.review-entry)){padding:16px}.reviews-panel p{margin:6px 0;font-size:.85rem}input,button,select,textarea{font-family:inherit}

.pd-whatsapp-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;background:#146c46;color:#fff!important;border-radius:10px;padding:10px 14px;text-decoration:none}.pd-whatsapp-button:hover{background:#10583a}.home-intro .intro-links .order-btn{color:white;padding:10px 16px;border-radius:10px}

.shipping-rates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.product-card .card-facts{flex-wrap:wrap}.product-card .card-facts .is-available::before{margin-inline-end:4px}

/* Launch support and compact trust navigation. */
.home-assurance{display:flex;gap:24px;align-items:center;border-top:1px solid var(--line);padding-block:12px;margin-bottom:12px}.home-assurance a{display:flex;align-items:center;gap:7px;font-size:.78rem;color:var(--ink-soft);min-height:32px}.home-assurance svg{color:var(--brand);flex-shrink:0}.home-assurance a:hover{color:var(--brand)}.help-center{max-width:1000px}.help-heading h1{font-size:clamp(1.5rem,3vw,2.2rem);margin:8px 0}.help-heading p{color:var(--ink-soft);line-height:1.8}.help-jump-links{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.help-jump-links a{padding:10px 14px;border:1px solid var(--line);border-radius:10px;font-size:.82rem;background:var(--card)}.help-center>.help-card,.help-center>.help-grid{margin-bottom:18px}.help-center .help-card{scroll-margin-top:140px}.delivery-table{width:100%;border-collapse:collapse;margin:14px 0}.delivery-table th,.delivery-table td{text-align:start;padding:14px 10px;border-bottom:1px solid var(--line);font-size:.86rem}.delivery-table thead{color:var(--ink-soft)}.delivery-table small{display:block;color:var(--ink-soft);font-weight:400;margin-top:4px}.delivery-table tbody tr:nth-child(even){background:var(--card-alt)}.shipping-count,.policy-updated{font-size:.75rem;color:var(--ink-soft)}.policy-copy{white-space:pre-line;overflow-wrap:anywhere;line-height:1.95;padding:12px 0}.help-question{border-bottom:1px solid var(--line);padding:14px 0}.help-question summary,.checkout-returns summary,.order-returns summary{cursor:pointer;font-weight:600;line-height:1.8}.help-contact-strip{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:22px;background:var(--card);border:1px solid var(--line);border-radius:14px}.help-contact-strip>div{flex:1;min-width:220px}.help-contact-strip h2{font-size:1.12rem}.help-contact-strip p{color:var(--ink-soft);font-size:.85rem}.checkout-returns,.order-returns{padding:12px 0;font-size:.82rem;border-block:1px solid var(--line);margin-block:12px}.checkout-policy-link{display:inline-block;font-size:.8rem;text-decoration:underline;margin-bottom:16px}.skip-link{position:fixed;top:8px;inset-inline-start:8px;z-index:9999;padding:12px 20px;border-radius:8px;background:var(--ink);color:var(--bg);transform:translateY(-160%)}.skip-link:focus{transform:none}:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media(max-width:600px){.home-assurance{gap:8px;justify-content:space-between;padding-block:7px;margin-bottom:8px}.home-assurance a{font-size:.61rem;gap:4px;line-height:1.5}.home-assurance svg{width:15px;height:15px}.help-center .help-card{padding:18px}.help-jump-links{gap:7px}.help-jump-links a{font-size:.72rem;padding:9px}.delivery-table th,.delivery-table td{font-size:.76rem;padding:12px 5px}.help-contact-strip .pd-whatsapp-button,.help-contact-strip .btn-outline{flex:1;text-align:center}.home-intro .intro-links{margin-top:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

@media(max-width:600px){.product-card h4{font-size:.82rem}.product-card .card-facts,.product-card .card-facts .is-available{font-size:.64rem}}

.help-center select.form-input{display:block;width:100%;min-height:44px;margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit;font-size:.85rem}

.help-jump-links{flex-wrap:nowrap}.help-jump-links a{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;min-height:44px;padding:8px}

/* Product reading keeps the viewport clear of stacked fixed headers. */
@media(max-width:900px){body:has(.product-detail) header{position:static}}

.product-offer-badges{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0;font-size:.65rem}.product-offer-badges>span,.product-offer-badges>a{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;background:var(--brand-tint);color:var(--brand);border-radius:6px}.product-offer-badges .free-delivery-badge{background:#e8f5ef;color:#176441}.campaign-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:20px 0}.campaign-card{display:block;padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--card);position:relative;overflow:hidden}.campaign-card::before{content:'';position:absolute;inset-block:0;inset-inline-start:0;width:4px;background:var(--brand)}.campaign-card>span{display:flex;align-items:center;gap:8px;font-size:1.25rem;font-weight:800;color:var(--brand)}.campaign-card h2,.campaign-card h3{font-size:1.1rem;margin:12px 0 7px}.campaign-card p{font-size:.76rem;color:var(--ink-soft);line-height:1.8}.campaign-card small{color:#22805c}.offers-intro{max-width:760px;font-size:.88rem;color:var(--ink-soft);line-height:1.9}.offers-empty{text-align:center;padding:42px 20px}.offers-empty h2{font-size:1.2rem;margin-bottom:20px}.offers-empty .order-btn{display:inline-flex;gap:10px;padding:12px 20px}.campaign-home .section-top h2{font-size:1.15rem}.product-buy-panel>.product-offer-badges{font-size:.78rem;margin:12px 0}

.offers-intro{scroll-margin-top:150px}

/* Tablet storefront: three readable cards, explicit actions and touch-friendly footer. */
.header-quick-links{display:flex;max-width:1280px;margin:auto;padding:0 16px 8px;gap:18px;justify-content:flex-end}.header-quick-links a{display:inline-flex;align-items:center;gap:6px;min-height:36px;color:var(--ink-soft);font-size:.75rem}.header-quick-links a:first-child{display:none}.header-actions .install-entry .header-action-label{display:inline}.header-actions .install-entry{width:auto;gap:6px;padding-inline:10px}.header-actions [hidden],.header-quick-links [hidden],.footer-store-tools [hidden]{display:none!important}
.footer-store-tools{display:flex;flex-wrap:wrap;gap:12px 24px;padding-block:16px;border-top:1px solid #ffffff20}.footer-store-tools a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:.82rem;color:#fff}.footer-group summary{color:#fff;list-style:none;gap:12px}.footer-group summary::-webkit-details-marker{display:none}.footer-group summary::after{content:'+';display:block;font-size:1.2rem;color:#ffffffb3}.footer-group[open] summary::after{content:'−'}.footer-group ul{padding:0;margin:0}.foot-top>div{min-width:0}.foot-top a{overflow-wrap:anywhere}.foot-top li{padding:0;margin:0!important}.foot-top li a,.foot-top .install-footer{display:flex;align-items:center;min-height:42px;line-height:1.7}.foot-top h6{min-height:44px;display:flex;align-items:center;margin-bottom:0}
@media(min-width:600px) and (max-width:1100px){.product-grid,.product-grid.grid-3,.product-grid.grid-4{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-card h4{font-size:.82rem}.product-card .card-media{height:150px;aspect-ratio:auto}.product-card .purchase-btn{font-size:.76rem}.product-card .card-facts{font-size:.65rem}.foot-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px!important;padding-top:30px!important}.foot-top>div:first-child{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;border-bottom:1px solid #ffffff20;padding-bottom:20px}.foot-top>div:first-child p{flex:1;max-width:440px!important;min-width:200px}.foot-top .pay-row{margin:0}.header-actions .header-action-label{display:inline;font-size:.65rem}.header-actions .icon-btn:has(.header-action-label){width:auto;min-width:44px;padding:0 8px;gap:5px}.header-row{gap:14px}.header-actions{margin-inline-start:auto;gap:6px}}
@media(max-width:1100px){.header-actions #pwa-install-btn{display:none}.header-quick-links{justify-content:space-between;border-top:1px solid var(--line);padding-block:4px}.header-quick-links a:first-child:not([hidden]){display:inline-flex}.header-quick-links a:first-child{color:var(--brand);font-weight:700}}
@media(max-width:900px){.foot-bottom{padding-inline:16px}.header-quick-links a{font-size:.7rem;min-height:36px}}
@media(max-width:599px){.product-grid,.product-grid.grid-3,.product-grid.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.foot-top{grid-template-columns:minmax(0,1fr);gap:16px!important}.foot-top>div:first-child{border-bottom:1px solid #ffffff20;padding-bottom:20px}.footer-group{border-bottom:1px solid #ffffff20;padding-bottom:10px}.footer-group summary{min-height:48px}.footer-store-tools{gap:4px 20px;justify-content:space-between}.footer-store-tools a{font-size:.76rem}.header-quick-links{padding-inline:12px;gap:8px}.header-quick-links a{font-size:.64rem}.header-actions .header-action-label{display:none}.header-row .header-search{min-width:0}}
/* Install instructions are steps, never a substitute for the browser's native prompt. */
.store-install-dialog .install-brand{width:auto;height:auto;display:block;background:none;color:var(--ink);margin-bottom:16px}.install-close{position:absolute;inset-inline-end:12px;top:12px;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--card-alt);color:var(--ink);cursor:pointer}.store-install-dialog{padding:24px;max-width:520px;width:calc(100% - 28px);border-radius:20px}.store-install-dialog h2{font-size:1.25rem;margin:8px 0}.store-install-dialog p{font-size:.82rem;line-height:1.8}.install-platforms{display:flex;gap:5px;margin:18px 0}.install-platforms button{flex:1;min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--card-alt);color:var(--ink);font:inherit;font-size:.75rem;padding:7px;cursor:pointer}.install-platforms button[aria-pressed=true]{border-color:var(--brand);color:var(--brand);background:var(--brand-tint)}.install-guide h3{font-size:.9rem;margin:14px 0}.install-steps{list-style:none;display:grid;gap:10px;padding:0;margin:16px 0;counter-reset:install}.install-steps li{display:flex;gap:12px;align-items:flex-start;counter-increment:install;font-size:.82rem!important;line-height:1.85!important}.install-steps li>span{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:10px;background:var(--brand-tint);color:var(--brand);font-size:1.3rem}.install-steps li>div{padding-top:4px}.install-steps li strong{display:block;font-family:Arial,sans-serif;direction:ltr;text-align:start;font-size:.8rem}.install-browser-note{padding:10px 12px;border-radius:10px;background:var(--card-alt);font-size:.76rem!important}.install-actions{margin-top:18px}.install-page{max-width:780px}.install-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:16px}.install-page-card{padding:28px;background:var(--card);border:1px solid var(--line);border-radius:18px}.install-page-card h1{font-size:1.6rem;margin:8px 0}.install-page-card>p{font-size:.88rem;color:var(--ink-soft);line-height:1.9}.install-page-action{display:inline-flex;align-items:center;gap:8px;margin:16px 0;padding:10px 18px;min-height:44px}.install-guide [hidden]{display:none!important}.install-guide{min-width:0}.install-guide p,.install-guide li{overflow-wrap:anywhere}@media(max-width:599px){.install-page-card{padding:18px}.store-install-dialog{padding:20px}.store-install-dialog h2{padding-inline-end:26px}.install-steps{gap:8px}}

@media(min-width:600px) and (max-width:1100px){.header-actions .icon-btn:has(.header-action-label){flex-direction:column;justify-content:center;gap:3px;height:auto;min-height:56px;max-width:84px;padding:5px 7px}.header-actions .header-action-label{font-size:.6rem;line-height:1.3;text-align:center;max-width:74px}.header-actions{gap:5px}.header-row .store-logo{margin-inline-end:auto}.header-row .header-search{min-width:0}.header-search input{min-width:0}}

@media(min-width:600px) and (max-width:1100px){.util-bar{display:none}.header-actions .language-trigger{display:inline-flex;min-height:44px;font-size:.7rem}.header-row{padding:8px 16px;gap:8px}.header-search{padding:5px 10px;gap:8px}.header-search input{min-height:34px}.header-search button{min-height:36px}.cat-item{min-height:44px;padding:10px 12px}.header-quick-links{padding-block:2px}.header-quick-links a{min-height:32px}}
.footer-contact a[dir=ltr]{justify-content:flex-end}.footer-contact a{font-variant-numeric:tabular-nums}
@media(min-width:600px) and (max-width:1100px){.footer-contact{grid-column:1/-1;border-top:1px solid #ffffff20;padding-top:16px}.footer-contact ul{display:flex;align-items:center;flex-wrap:wrap;gap:12px 32px}.footer-contact li:first-child{flex:1;min-width:220px}.footer-contact a[dir=ltr]{justify-content:flex-start}}

/* v53: one consistent action row; secondary tasks belong in the More menu. */
.header-row{flex-wrap:nowrap;gap:18px}.header-row .header-search{min-width:0}.header-actions{gap:8px;margin-inline-start:auto}.header-actions>.icon-btn,.header-more>summary.icon-btn{box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--card);cursor:pointer;display:flex;align-items:center;justify-content:center}.header-actions>.icon-btn>.ico,.header-more>summary>.ico{width:20px;height:20px;flex:none}.header-actions .language-trigger{display:inline-flex;box-sizing:border-box;height:44px;min-height:44px;padding:0 10px;gap:6px;white-space:nowrap;background:var(--card);font-size:.76rem}.header-actions .language-trigger svg{width:20px;height:20px;flex:none}.header-more{position:relative;flex:none}.header-more>summary{list-style:none}.header-more>summary::-webkit-details-marker{display:none}.header-more[open]>summary{border-color:var(--brand);color:var(--brand);background:var(--brand-tint)}.header-more-panel{position:absolute;inset-inline-end:0;top:calc(100% + 10px);width:min(300px,calc(100vw - 24px));padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:0 12px 40px #14223824;z-index:1100;max-height:calc(100dvh - 95px);overflow-y:auto;display:grid;gap:2px}.header-more-panel>a,.header-more-panel>button,.header-more-panel form>button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 12px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;font-size:.82rem;line-height:1.6;text-align:start;cursor:pointer;box-sizing:border-box}.header-more-panel>a:hover,.header-more-panel>button:hover,.header-more-panel form>button:hover{background:var(--bg)}.header-more-panel .ico,.header-more-panel .theme-moon,.header-more-panel .theme-sun{flex:none;width:20px;height:20px}.header-more-panel form{margin:0}.header-more-panel #pwa-install-btn:not([hidden]){display:flex}.header-more-panel [hidden]{display:none!important}.header-more-panel>a[href*="HardDrives%2FAdmin"],.header-more-panel>a[href="/HardDrives/Admin"]{border-top:1px solid var(--line);border-radius:0;margin-top:4px;padding-top:12px}.header-more-panel #theme-toggle{border-top:1px solid var(--line);border-radius:0;margin-top:4px}.header-actions .mobile-search-toggle{display:none}.header-row .header-search input{min-width:0}
@media(min-width:600px) and (max-width:900px){.header-row{display:grid;grid-template-columns:auto 1fr;gap:10px 16px;padding:12px 16px}.header-row .store-logo{margin:0}.header-row .header-actions{justify-self:end;grid-column:2;grid-row:1;margin:0;gap:8px}.header-row .header-search{grid-column:1/-1;grid-row:2;display:flex;width:100%;box-sizing:border-box;padding:6px 10px}.header-row .header-search input{min-height:34px;font-size:.85rem}.header-row .header-search button{min-height:36px}.header-row .header-actions .language-trigger{font-size:.76rem}.header-row .header-actions>.icon-btn{flex-direction:row;min-height:44px}}
@media(min-width:901px) and (max-width:1100px){.header-row{display:flex;gap:16px;padding:12px 16px}.header-row .header-search{display:flex;padding:6px 10px}.header-row .header-actions{gap:8px}.header-row .header-actions>.icon-btn{flex-direction:row;min-height:44px}}
@media(max-width:599px){.header-row{display:flex;flex-wrap:wrap;gap:8px;padding:8px 12px}.header-row .store-logo{margin-inline-end:auto}.header-row .header-actions{gap:4px;margin:0}.header-row .header-actions .language-trigger{font-size:.68rem;padding:0 7px}.header-actions .mobile-search-toggle{display:flex}.header-row .header-search{display:none;order:3;flex-basis:100%;padding:6px 10px;box-sizing:border-box}.search-open .header-row .header-search{display:flex}.header-more-panel{max-height:calc(100dvh - 80px)}}
@media(max-width:359px){.header-row .header-actions .language-trigger>span{display:none}.header-row .header-actions .language-trigger{width:44px;padding:0}}

/* Frequently used filters stay beside search, including when mobile details are closed. */
.catalog-quick-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 20px}.catalog-quick-field{min-width:0;display:grid;align-content:start;gap:6px}.catalog-quick-field>label{font-size:.76rem;color:var(--ink-soft);font-weight:600}.catalog-quick-field select{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit;font-size:.82rem;padding:8px 10px}.catalog-quick-field .search-select-trigger{min-height:44px}.catalog-quick-field .search-select{min-width:0}@media(max-width:599px){.catalog-quick-filters{gap:8px;margin:12px 0 14px}.catalog-quick-field>label{font-size:.67rem}.catalog-quick-field select,.catalog-quick-field .search-select-trigger{font-size:.73rem;padding-inline:7px}}
.capacity-picker{border-block:1px solid var(--line);padding:16px 0;margin:16px 0}.capacity-picker-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.capacity-picker h2{font-size:.95rem;margin:0}.capacity-picker-heading>span{color:var(--ink-soft);font-size:.8rem}.capacity-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.capacity-option{display:grid;gap:4px;align-content:center;text-align:center;min-width:78px;min-height:66px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink)}.capacity-option strong{font-size:.88rem}.capacity-option>span{font-size:.73rem;color:var(--ink-soft)}.capacity-option.selected{border:2px solid var(--brand);padding:9px 11px;background:var(--brand-tint)}.capacity-option.unavailable{border-style:dashed}.capacity-option small{font-size:.63rem;color:var(--ink-soft)}.capacity-picker>p{font-size:.73rem;line-height:1.8;color:var(--ink-soft);margin:12px 0 0}.card-capacities{display:flex;gap:4px;flex-wrap:wrap;margin:5px 0}.card-capacities a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:3px 7px;border:1px solid var(--line);border-radius:6px;font-size:.64rem;color:var(--ink-soft)}.card-capacities a.selected{border-color:var(--brand);color:var(--brand)}.capacity-choice-cta{min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;font-size:.8rem;margin-top:5px}.card-capacities a:focus-visible,.capacity-option:focus-visible{outline:2px solid var(--brand);outline-offset:3px}@media(max-width:599px){.capacity-option{min-width:72px;min-height:64px}.capacity-picker{padding-block:12px}.capacity-options{gap:7px}.capacity-choice-cta{font-size:.72rem}.card-capacities a{min-height:34px;padding-inline:6px}}
.capacity-from{font-size:.64rem;font-weight:500;color:var(--ink-soft);margin-inline-end:5px}

/* Bound portrait supplier photos; the full image remains visible without stretching the page. */
.product-detail{align-items:start}.product-detail .gallery-panel{align-self:start;min-width:0}.gallery-panel .gallery-main{flex:none;height:clamp(300px,52vh,540px);min-height:0;max-height:540px;overflow:hidden}.gallery-main #gallery-main-img{display:block;width:100%;height:100%;max-height:100%;min-height:0;object-fit:contain}.reviews-empty{margin-block:18px;color:var(--ink-soft);font-size:.85rem}
@media(min-width:600px) and (max-width:1100px){.footer-group{border-bottom:1px solid #ffffff20}.footer-group summary{min-height:48px}.footer-group:not([open]){padding-bottom:8px}}

.catalog-header .header-actions{margin-inline-start:auto}.catalog-header .header-catalog-search{display:inline-flex}

/* Compact, aligned card rows: capacity summaries occupy the existing spec row. */
.product-card .card-body{display:grid!important;grid-template-rows:14px 40px 18px 26px auto 44px 44px;gap:4px;padding:10px!important;align-content:stretch}.product-card .product-brand{height:14px;min-height:0;overflow:hidden}.product-card h4{height:2.9em;min-height:0}.product-card .spec-row{height:20px;min-width:0;flex-wrap:nowrap;overflow:hidden;align-items:center}.card-capacity-summary{white-space:nowrap;color:var(--brand)}.product-card .card-facts{display:grid;height:28px;grid-template-columns:minmax(0,1fr);gap:1px;align-content:start;margin:0;font-size:.62rem;line-height:1.35}.product-card .card-facts>span:last-child{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-benefits{min-height:0}.card-benefits .product-offer-badges{margin:0;flex-wrap:nowrap;overflow:auto;max-height:28px;white-space:nowrap}.product-card .price-block{margin:0;padding:0!important;align-self:end;min-height:0;height:48px;align-items:end}.product-card .card-body>form,.product-card .card-body>.capacity-choice-cta,.product-card .card-body>.btn-outline{grid-row:7;margin:0!important;width:100%;min-width:0;align-self:end}.product-card .card-body>form button,.product-card .card-body>.capacity-choice-cta,.product-card .card-body>.btn-outline{height:44px;min-height:44px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.76rem}.product-card .capacity-choice-cta{background:var(--purchase);border-color:var(--purchase);color:#fff}.wrap.section.home-used-section{padding-block:26px 38px}.home-used-section .used-spotlight{margin:0 0 16px}.home-used-section+.section,.home-used-section+.wrap.section{padding-top:10px}.used-products{margin-bottom:0}.category-count-note{display:block;color:var(--ink-soft);font-size:.68rem;line-height:1.7;margin-bottom:10px}
/* Keep secondary details available without stretching the purchase card. */
.pd-more-info{border:1px solid var(--line);border-radius:10px;margin:10px 0}.pd-more-info>summary{cursor:pointer;padding:12px;font-size:.8rem;color:var(--ink-soft)}.pd-more-info[open]{padding-bottom:10px}.pd-more-info[open]>*:not(summary){margin-inline:12px}.pd-more-info .key-specs[hidden]{display:none!important}.product-buy-panel .pd-price-row{margin:8px 0}.product-buy-panel .capacity-picker{padding:10px 0;margin:10px 0}.capacity-picker .capacity-option{min-width:66px;min-height:44px;padding:6px 8px;gap:1px}.capacity-picker .capacity-option.selected{padding:5px 7px}.capacity-picker .capacity-options{gap:6px;margin-top:8px;max-height:164px;overflow:auto;padding:2px}.capacity-picker>p{margin:6px 0 0;font-size:.66rem}.capacity-picker .capacity-option strong{font-size:.8rem}.capacity-picker .capacity-option>span{font-size:.64rem}.product-buy-panel .detail-secondary-actions{margin:5px 0}.product-buy-panel .qty-row{margin:10px 0}.product-buy-panel .pd-advice{margin-top:8px}.product-buy-panel .product-warranty{margin:10px 0}
@media(min-width:901px){.product-detail{align-items:stretch;gap:24px}.product-detail .gallery-panel{align-self:stretch;min-height:0}.gallery-panel .gallery-main{position:relative;flex:1;height:auto;min-height:330px;max-height:none}.gallery-main #gallery-main-img{position:absolute;inset:0;width:100%;height:100%;max-height:100%;object-fit:contain}.gallery-panel .mobile-product-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;border-top:1px solid var(--line);padding-top:10px;text-align:center}.gallery-panel .mobile-product-facts>div{display:grid;gap:3px}.gallery-panel .mobile-product-facts small{font-size:.65rem;color:var(--ink-soft)}.gallery-panel .mobile-product-facts strong{font-size:.78rem}.product-buy-panel{padding:18px!important}.product-buy-panel .pd-title{font-size:1.2rem;line-height:1.5;margin-bottom:6px}}
@media(max-width:599px){.product-card .card-body{grid-template-rows:14px 36px 18px 26px auto 44px 44px;padding:9px!important;gap:3px}.product-card .card-body>form button,.product-card .card-body>.capacity-choice-cta,.product-card .card-body>.btn-outline{font-size:.66rem}.wrap.section.home-used-section{padding-block:20px 28px}.product-card .price-block{height:44px}}


.product-card .card-media{height:150px}.product-card .price-block{height:44px}@media(min-width:1101px) and (max-width:1399px){.home-product-grid>.product-card:nth-child(n+5){display:none}}@media(min-width:1400px){.home-product-grid>.product-card:nth-child(n+6){display:none}}@media(max-width:599px){.product-card .card-media{height:138px}}

.home-hero {
  padding: clamp(16px, 2.5vw, 32px);
  border: 1px solid var(--panel-line);
  border-inline-start: 4px solid var(--brand);
  border-radius: 16px;
  background: var(--card);
}
.home-hero .intro-kicker { color: var(--ink-soft); }
.home-hero h1 { margin-block-start: 4px; }
.home-hero .intro-links { flex-wrap: wrap; }
.home-service-links {
  justify-content: flex-start;
  gap: 8px;
  margin-block-end: 14px;
}
.home-service-links a {
  flex: 1;
  min-height: 44px;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: var(--card);
  text-align: center;
}
.home-service-links a:hover { border-color: var(--brand); }
.home-service-links svg { flex-shrink: 0; }
@media (max-width: 700px) {
  .home-hero { padding: 12px; }
  .home-hero .intro-links { gap: 8px 12px; }
  .home-service-links { padding-block: 0; }
}

#main-content .product-grid {
  gap: clamp(8px, 1vw, 12px);
}
.wrap.section.home-used-section {
  padding-block: 16px 22px;
}
.home-used-section .used-spotlight {
  margin-block-end: 10px;
}
.store-service-footer {
  padding-block: 12px;
}
.store-service-footer .home-service-links {
  margin-block-end: 0;
}

.catalog-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 8px 16px;
}
.catalog-quick-field {
  position: relative;
  flex: 0 1 11rem;
}
.catalog-quick-field > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.catalog-quick-field :is(select, .search-select-trigger) {
  min-height: 44px;
  border-radius: 12px;
  font-weight: 600;
}
.catalog-quick-field:has(option:checked:not([value=""]):not([value="all"])) :is(select, .search-select-trigger) {
  border-color: var(--brand);
}
@media (max-width: 599px) {
  .catalog-quick-field { flex: 1 1 28%; }
}

#filters .catalog-quick-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-block: 0 14px;
}
.compact-search-header .header-row .header-search {
  max-inline-size: 36rem;
  margin-inline: auto;
}
@media (min-width: 600px) {
  .compact-search-header .header-row .header-search {
    padding-block: 4px;
  }
}

.compact-search-header .header-row .header-search {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 2px 10px;
}
.compact-search-header .header-search button {
  min-height: 36px;
  padding-block: 4px;
}
@media (max-width: 900px) {
  .compact-search-header .header-row .header-search {
    max-inline-size: none;
    margin-inline: 0;
  }
  .compact-search-header .header-search input {
    font-size: 1rem;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .compact-search-header .header-row {
    display: flex;
    gap: 12px;
  }
  .compact-search-header .header-row .header-search {
    width: auto;
  }
}

@media (max-width: 599px) {
  .catalog-breadcrumb { display: none; }
}

.browse-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.browse-toolbar :is(p, select) { margin: 0; }
.catalog-page .filter-toggle { min-height: 44px; }
.product-share-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-block: 10px;
}
.product-share-actions .btn-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding-inline: 5px;
}
.product-share-copy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 8px;
}
.product-share-copy label { grid-column: 1 / -1; }
.product-share-copy input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding-inline: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}
@media (max-width: 600px) {
  .catalog-page .browse-toolbar { padding: 6px 8px; }
  .catalog-page .filter-box { margin-bottom: 8px; }
  .wholesale-page .b2b-filters { align-items: stretch; }
}

@media (max-width: 600px) {
  .catalog-page { padding-block-end: 24px; }
  .store-service-footer.catalog-service-footer { padding-block: 12px 40px; }
  .catalog-page .active-chips { gap: 6px; margin-block: 0 8px; }
  .catalog-page .active-chips .chip { min-height: 36px; }
  .catalog-page .result-toolbar { margin-block: 0 10px; }
  .catalog-page .sort-select { max-width: 50%; min-height: 40px; }
}

@media (max-width: 760px) {
  .catalog-page .filter-box.open {
    margin-block-end: 24px;
    padding-block-end: 20px;
  }
  .catalog-page .filter-box #filters {
    scroll-margin-block-end: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .catalog-page .filter-box #filters :is(button, a, input, select) {
    scroll-margin-block-end: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

.header-actions > .header-install { display: none; }
@media (max-width: 900px) {
  .header-actions > .header-install:not([hidden]) { display: flex; }
}

@media (max-width: 599px) {
  html[dir="rtl"] .header-row .store-logo {
    margin-inline: 0;
  }
  html[dir="rtl"] .header-row .header-actions {
    margin-inline-start: auto;
  }
}

/* Shared product cards, including saved and recently viewed products. */
#main-content .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.product-card .card-media,
.product-card.no-photo .card-media {
  flex: none;
  height: 126px;
  aspect-ratio: auto;
}
.product-card .card-body {
  grid-template-rows: 14px auto auto auto minmax(min-content, 1fr) auto auto;
  gap: 3px;
}
.product-card h4 {
  display: block;
  block-size: 2.8em;
  line-height: 1.4;
}
.product-card h4 a {
  line-height: inherit;
  overflow-wrap: anywhere;
  word-break: normal;
}
.product-card .spec-row { height: 16px; }
.product-card .card-facts {
  height: auto;
  min-height: 0;
  font-size: .64rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
}
.product-card .card-facts > span:last-child { max-width: 100%; }
.product-card .product-offer-badges {
  flex-wrap: wrap;
  overflow: visible;
  max-height: none;
  gap: 3px;
  white-space: normal;
}
.product-card .product-offer-badges > :is(span, a) {
  padding: 2px 4px;
  line-height: 1.3;
}
.product-card .product-image-fallback svg {
  width: 32px;
  height: 32px;
}
.product-card .price-block {
  height: auto;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 4px;
}
.product-card .price-row-bottom { min-height: 0; margin: 0; }
.product-card .iqd-estimate { font-size: .63rem; margin-top: 1px; }
.product-card .card-body > form button,
.product-card .card-body > .capacity-choice-cta,
.product-card .card-body > .btn-outline {
  height: auto;
  padding-inline: 4px;
}
@media (min-width: 1400px) {
  #main-content .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  #main-content .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  #main-content .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card .card-media,
  .product-card.no-photo .card-media { height: 104px; }
  .product-card .card-body { padding: 8px !important; }
  .product-card .card-media .product-photo { padding: 7px; }
}

/* Keep the product price prominent in grids and the main action clear on detail pages. */
.product-card .product-quick-add .purchase-btn {
  background: #fff1f2 !important;
  border-color: #f5c6cd;
  color: #a91d30;
}
.product-card .product-quick-add .purchase-btn:is(:hover, :active) {
  background: #ffe2e6 !important;
  border-color: currentColor;
}
[data-theme="dark"] .product-card .product-quick-add .purchase-btn {
  background: #38232a !important;
  border-color: #683946;
  color: #ffc0ca;
}
[data-theme="dark"] .product-card .product-quick-add .purchase-btn:is(:hover, :active) {
  background: #4a2934 !important;
  border-color: currentColor;
}
.product-buy-panel .pd-actions .buy-now {
  border: 1px solid var(--panel-line);
  color: var(--ink);
}
.product-buy-panel .pd-actions .buy-now:hover {
  background: var(--card-alt);
  border-color: var(--ink-soft);
}
.product-buy-panel #pd-whatsapp {
  width: fit-content;
  max-width: 100%;
  justify-content: flex-start;
  background: transparent;
  color: #146c46 !important;
  padding: 4px 0;
}
.product-buy-panel #pd-whatsapp:hover {
  text-decoration: underline;
}
[data-theme="dark"] .product-buy-panel #pd-whatsapp {
  color: #85dbb3 !important;
}

@media (max-width: 599px) {
  .home-used-section .used-spotlight {
    display: flex;
    gap: 8px;
    padding: 6px 10px;
  }
  .home-used-section .used-spotlight > div { min-width: 0; }
  .home-used-section .used-spotlight > div > svg { flex: none; width: 16px; height: 16px; }
  .home-used-section .used-spotlight h2 { font-size: .8rem; margin-inline-start: 0; }
  .home-used-section .used-spotlight p { display: none; }
  .home-used-section .used-spotlight > a {
    margin: 0;
    padding: 4px 6px;
    border-color: transparent;
    white-space: nowrap;
    font-size: .72rem;
  }
  .home-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 0;
  }
  .home-guide-grid > .guide-card:nth-child(n + 3) { display: none; }
  .home-guide-grid .guide-card { padding: 0; gap: 0; overflow: hidden; }
  .home-guide-grid .guide-cover-link { margin: 0; border-radius: 0; }
  .home-guide-grid .guide-card h3 { padding: 8px; margin: 0; font-size: .82rem; }
  .home-guide-grid .guide-card p { display: none; }

  footer .foot-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px !important;
    padding-block: 14px 8px;
  }
  footer .foot-top > :first-child,
  footer .footer-contact { grid-column: 1 / -1; }
  footer .foot-top > :first-child { padding-bottom: 8px; }
  footer .footer-group { padding-bottom: 0; }
  footer .footer-group summary,
  footer .foot-top h6 { min-height: 44px; }
  footer .footer-contact ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 14px;
  }
  footer .footer-contact li:first-child { flex-basis: 100%; }
  footer .footer-store-tools,
  footer .foot-bottom { padding-block: 6px; }
}

@media (max-width: 599px) {
  .home-compact-opening { padding-block: 8px; }
  .home-compact-opening .home-hero { padding: 8px 10px; gap: 4px; }
  .home-compact-opening .home-hero .intro-kicker { display: none; }
  .home-compact-opening .home-hero h1 { margin-block: 0 2px; }
  .home-compact-opening .home-hero p { margin-block: 0; }
  .home-compact-opening .home-hero .intro-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
  .home-compact-opening .home-hero .intro-links a {
    justify-content: center;
    min-height: 44px;
    padding: 3px 4px;
    text-align: center;
    font-size: .68rem;
    line-height: 1.35;
    white-space: normal;
  }
  .home-compact-opening .home-hero .intro-links svg { display: none; }
}

/* Product photo viewer stays inside the viewport and supports in-place navigation. */
.pd-lightbox{box-sizing:border-box;width:min(96vw,1120px);height:min(92dvh,820px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:auto;border:1px solid #ffffff38;border-radius:18px;box-shadow:0 24px 80px #0008}
.pd-lightbox::backdrop{background:#10151de6}
.pd-lightbox-toolbar{align-items:center;padding:10px 14px;min-height:60px}
.pd-lightbox-navigation,.pd-lightbox-actions{display:flex;align-items:center;gap:8px}
.pd-lightbox-navigation span{min-width:84px;text-align:center;font-size:.82rem;color:#fff}
.pd-lightbox-toolbar button:disabled{opacity:.35;cursor:default}
.pd-lightbox-stage{min-width:0;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:12px}
.pd-lightbox-stage img{display:block;flex:none;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.pd-lightbox.is-zoomed .pd-lightbox-stage{display:block;text-align:center}
.pd-lightbox.is-zoomed .pd-lightbox-stage img{display:inline-block;width:140%;height:auto;max-width:none;max-height:none}
@media(max-width:600px){.pd-lightbox{width:calc(100vw - 12px);height:calc(100dvh - 24px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 24px);border-radius:14px}.pd-lightbox-toolbar{padding:8px}.pd-lightbox-navigation span{min-width:64px;font-size:.72rem}.pd-lightbox-toolbar button{width:40px;height:40px}.pd-lightbox-stage{padding:8px}}

/* Compact share actions on product details. */
.product-share-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.product-share-actions .share-destination,.product-share-actions .share-copy-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:42px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit;font-size:.75rem;font-weight:700;text-decoration:none;cursor:pointer}
.product-share-actions .share-destination:hover,.product-share-actions .share-copy-button:hover{border-color:var(--brand);color:var(--brand)}
.product-share-actions .share-destination svg,.product-share-actions .share-copy-button svg{width:18px;height:18px;flex:none}
.product-share-actions .product-share-copy{align-items:end}
.product-share-actions .product-share-copy label{font-size:.72rem;color:var(--ink-soft)}
.product-share-actions .share-copy-button{white-space:nowrap}
.catalog-load-status{min-height:48px;margin:14px auto;text-align:center;color:var(--ink-soft);font-size:.78rem}
.catalog-page .pagination[hidden],.catalog-load-status[hidden]{display:none!important}
@media(max-width:599px){.product-share-actions .share-destination{gap:5px;padding-inline:4px;font-size:.66rem}.product-share-actions .share-destination svg{width:16px;height:16px}.product-share-actions .product-share-copy{grid-template-columns:minmax(0,1fr) auto}.product-share-actions .share-copy-button{padding-inline:9px}}

@media(max-width:599px){.product-share-actions .share-destination span{display:none}.product-share-actions .share-destination{min-height:44px}}

/* Home section headings follow the document outline without changing their visual scale. */
.home-compact-opening~.section .section-top h2{font-size:1.12rem;font-weight:800;color:var(--ink);letter-spacing:-.005em}
@media(max-width:600px){.home-compact-opening~.section .section-top-left h2{font-size:1rem;line-height:1.6}}

/* Live store review: compact hero proof, clear condition, consistent card titles. */
@media (min-width: 901px) {
  .home-compact-opening .home-hero.has-product-art {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content minmax(160px, 190px);
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
  }
  .home-compact-opening .home-hero .intro-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
  }
}
.home-hero-products { display: grid; gap: 6px; min-width: 0; }
.home-hero-products a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: var(--card-alt);
}
.home-hero-products a:hover { border-color: var(--brand); }
.home-hero-products .hero-product-photo { flex: none; width: 54px; height: 54px; display: grid; place-items: center; color: var(--ink-faint); }
.home-hero-products .hero-product-photo > :is(svg, img) { grid-area: 1 / 1; }
.home-hero-products .hero-product-photo img { width: 54px; height: 54px; object-fit: contain; background: var(--card); }
.home-hero-products span { display: grid; gap: 2px; min-width: 0; font-size: .66rem; line-height: 1.3; }
.home-hero-products bdi { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-hero-products strong { color: var(--ink); font-size: .75rem; }
.home-section-shortcuts { display: flex; gap: 6px; margin-top: 6px; }
.home-section-shortcuts a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}
.home-section-shortcuts a:hover { border-color: var(--brand); color: var(--brand); }
.product-card:not(.used-product) .condition-badge {
  top: auto;
  bottom: 7px;
  inset-inline-start: auto;
  inset-inline-end: 7px;
  max-width: calc(100% - 14px);
  background: var(--green-tint);
  color: #0d7140;
}
@media (max-width: 900px) {
  .home-hero-products { display: none; }
}
@media (max-width: 599px) {
  .home-compact-opening .home-hero .intro-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-compact-opening .home-hero .intro-links a:last-child { display: none; }
  .home-section-shortcuts { margin-top: 4px; }
}

/* Mobile catalog loading cue stays visible while the next page arrives. */
@media (max-width: 599px) {
  .catalog-page .catalog-load-status:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 132px;
    margin: 12px 0 32px;
    padding: 16px 20px;
    border: 1px solid var(--panel-line);
    border-radius: 12px;
    background: var(--card);
    color: var(--ink-soft);
    font-size: .82rem;
    line-height: 1.7;
    overflow-anchor: none;
  }
  .catalog-page .catalog-load-status[data-state="done"],
  .catalog-page .catalog-load-status[data-state="failed"] { min-height: 72px; }
  .catalog-load-spinner {
    display: none;
    width: 24px;
    height: 24px;
    flex: none;
    border: 3px solid var(--panel-line);
    border-top-color: var(--brand);
    border-radius: 50%;
  }
  .catalog-load-status[data-state="loading"] .catalog-load-spinner {
    display: block;
    animation: catalog-load-spin .75s linear infinite;
  }
}
@keyframes catalog-load-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .catalog-load-status .catalog-load-spinner { animation: none !important; }
}
/* Keep the mobile logo and navigation controls on one row, including RTL phones. */
@media (max-width: 599px) {
  header .header-row {
    flex-wrap: nowrap;
    gap: 4px;
    padding-inline: 8px;
  }
  header .header-row .store-logo {
    margin-inline: 0;
    min-width: 0;
    flex: 0 0 auto;
  }
  header .header-row .header-actions {
    margin-inline-start: auto;
    min-width: 0;
    flex: 0 0 auto;
    gap: 3px;
  }
  header .header-row .header-actions .language-trigger {
    box-sizing: border-box;
    width: 44px;
    min-width: 44px;
    padding: 0;
  }
  header .header-row .header-actions .language-trigger > span { display: none; }
  header.search-open .header-row { flex-wrap: wrap; }
  header.search-open .header-row .header-search {
    flex: 1 0 100%;
    order: 3;
    margin-inline: 0;
  }
}
@media (max-width: 599px) {
  header .header-row .header-actions > .header-install { display: none !important; }
}

/* Shared product cards need readable condition text in dark mode. */
[data-theme="dark"] .product-card:not(.used-product) .condition-badge {
  color: #b7f3d1;
}
[data-theme="dark"] .condition-badge.new {
  color: #ffd49d;
}

/* Make the wholesale path distinct from text links in both themes. */
.home-hero .intro-links > a[href^="/Wholesale"] {
  border: 1px solid var(--panel-line);
  border-radius: 9px;
  background: var(--card-alt);
  color: var(--ink);
  padding-inline: 10px;
}
.home-hero .intro-links > a[href^="/Wholesale"]:is(:hover, :focus-visible) {
  border-color: var(--brand);
  color: var(--brand);
}

/* Keep follow-up products next to short catalog results instead of below the tall filter sidebar. */
.catalog-results .recently-viewed {
  margin-top: 22px;
  padding-block: 20px 0;
  border-top: 1px solid var(--line);
}
.catalog-results .recently-viewed h2 { margin-bottom: 12px; }

/* Stock availability is separate from the new/used condition badge. */
.product-card.out-of-stock .card-facts .is-unavailable {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff0f1;
  color: #a41629;
  font-weight: 800;
}
[data-theme="dark"] .product-card.out-of-stock .card-facts .is-unavailable {
  background: #3a2529;
  color: #ffd2d7;
}

/* Keep short search results at the start of the RTL/LTR product list. */
@media (min-width: 901px) {
  #main-content .catalog-page.catalog-few-results .catalog-results > .product-grid {
    grid-template-columns: repeat(var(--catalog-columns), minmax(0, 320px));
    justify-content: start;
  }
  .catalog-page.catalog-few-results .filter-box { padding: 14px 16px; }
  .catalog-page.catalog-few-results .filter-box h5 { margin-bottom: 8px; padding-bottom: 8px; }
  .catalog-page.catalog-few-results .catalog-quick-filters { margin-block: 8px 12px; }
  .catalog-page.catalog-few-results .technical-filters { gap: 8px; margin-bottom: 12px; }
  .catalog-page.catalog-few-results .filter-group { margin-bottom: 12px; }
  .catalog-page.catalog-few-results .filter-group h6 { margin-bottom: 6px; }
}

@media (max-width: 900px) {
  #main-content .catalog-page.catalog-single-result .catalog-results > .product-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
    margin-inline-end: auto;
  }
}

/* Keep a failed local or remote product image from leaving an oversized empty gallery. */
@media (min-width: 901px) {
  .product-detail .gallery-panel:is(.image-failed, .no-photo) { align-self: start; }
  .product-detail .gallery-panel:is(.image-failed, .no-photo) .gallery-main {
    flex: none;
    height: clamp(220px, 24vw, 320px);
    min-height: 0;
  }
}

/* Clear paths into the catalog for shoppers who do not know a model name. */
.home-shop-paths{padding-block:4px 18px}.home-shop-paths-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.home-shop-paths-head h2{margin:0;font-size:1.05rem}.home-shop-paths-head>a{color:var(--brand);font-size:.78rem;font-weight:700;white-space:nowrap}.home-shop-paths-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.home-shop-paths-grid>a{display:flex;align-items:center;gap:10px;min-width:0;min-height:82px;padding:12px;border:1px solid var(--panel-line);border-radius:13px;background:var(--card);color:var(--ink);text-decoration:none;transition:border-color .15s,transform .15s}.home-shop-paths-grid>a:hover,.home-shop-paths-grid>a:focus-visible{border-color:var(--brand);transform:translateY(-2px)}.home-shop-paths-grid>a>svg:first-child{flex:none;color:var(--brand)}.home-shop-paths-grid>a>svg:last-child{flex:none;margin-inline-start:auto;color:var(--ink-soft)}.home-shop-paths-grid span{display:grid;gap:3px;min-width:0}.home-shop-paths-grid strong{font-size:.85rem;line-height:1.45}.home-shop-paths-grid small{color:var(--ink-soft);font-size:.7rem;line-height:1.4}
@media(max-width:900px){.home-shop-paths-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:599px){.home-shop-paths{padding-block:4px 14px}.home-shop-paths-grid>a:nth-child(n+3){display:none}.home-shop-paths-head h2{font-size:.94rem}.home-shop-paths-grid{gap:7px}.home-shop-paths-grid>a{min-height:72px;padding:9px;gap:7px}.home-shop-paths-grid>a>svg:first-child{width:18px;height:18px}.home-shop-paths-grid>a>svg:last-child{display:none}.home-shop-paths-grid strong{font-size:.73rem}.home-shop-paths-grid small{font-size:.62rem}}
.pd-delivery-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 12px;padding:10px 12px;border:1px solid var(--panel-line);border-radius:10px;background:var(--card-alt);color:var(--ink);font-size:.76rem}.pd-delivery-summary>svg{flex:none;color:var(--brand)}.pd-delivery-summary a{margin-inline-start:auto;color:var(--brand);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.color-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.color-option{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--card);font-size:.82rem}.color-option.selected{border:2px solid var(--brand);padding:7px 11px;background:var(--brand-tint)}.color-option.unavailable{border-style:dashed}.color-option small{color:var(--ink-soft);font-size:.68rem}.color-swatch{display:inline-block;flex:none;width:20px;height:20px;border:1px solid var(--line);border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.08)}.color-option:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
