/* Keep the browsing viewport for products; only the category guide remains sticky. */
:root{--sticky-offset:14px}
.site-header{position:relative;top:auto}
.products-section,.catalog-breadcrumb{scroll-margin-top:18px}
.catalog-sidebar{top:14px!important;max-height:calc(100dvh - 32px)}
.catalog-controls{display:block;padding:16px;margin:15px 0 18px}
.catalog-controls>#resultsCount{max-width:none;margin:0 0 12px;padding:0;font-size:12px}
.catalog-control-fields{justify-content:flex-start;align-items:flex-end;gap:10px 12px}
.control-select{display:flex;flex-direction:column;align-items:stretch;gap:5px;font-size:11px}
.control-select select{height:38px;font-size:12px;max-width:160px}
.context-category{display:none}
.catalog-search{display:flex;align-items:center;gap:9px;flex:1;min-width:245px;height:38px;padding:0 11px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.catalog-search>svg{width:17px;height:17px;color:var(--muted);flex:none}
.catalog-search input{width:100%;min-width:0;background:transparent;color:var(--ink);border:0;outline:0;font:inherit;font-size:12px;height:100%}
.catalog-search:focus-within{outline:2px solid var(--primary);outline-offset:2px}
.catalog-search button{font-size:12px;font-weight:700;color:var(--primary);height:100%;padding-left:6px}
.budget-control{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px;color:var(--muted)}
.budget-range{display:flex;align-items:center;gap:5px;height:38px;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:0 9px}
.budget-range input{background:transparent;border:0;color:var(--ink);min-width:0;width:76px;height:100%;font:inherit;font-size:12px;outline:0}
.budget-range:focus-within{outline:2px solid var(--primary);outline-offset:2px}
.budget-range:has([aria-invalid=true]){border-color:#b42318}
#budgetError{max-width:190px;font-size:10px;color:#b42318;line-height:1.5}
.catalog-control-fields .quick-filter,.catalog-control-fields .clear-filters{min-height:38px}
.product-card{border-radius:9px}
.product-photo,.furniture-card .product-photo,.home-appliances .product-photo{height:185px}
.product-photo>img,.furniture-card .product-photo>img{height:100%;width:100%;object-fit:contain;padding:10px;mix-blend-mode:normal}
.furniture-card .product-photo>img{padding:4px}
.product-photo:has(.photo-scope)>img{padding-bottom:28px}
.product-photo .photo-scope{bottom:0;left:0;right:0;font-size:9px;line-height:1.5;padding:5px 7px;border-radius:0;background:var(--surface-soft);color:var(--muted);text-align:center}
.product-photo .photo-count{bottom:auto;top:9px;left:9px;right:auto;font-size:8px;background:var(--surface);color:var(--muted);border:1px solid var(--line)}
.product-card-body{padding:12px;gap:0}
.product-category{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 6px;font-size:10px;min-height:18px}
.stock-code{display:inline-grid;place-items:center;min-width:19px;height:19px;border:1px solid var(--line);border-radius:4px;padding:1px 4px;font-size:10px;line-height:1;color:var(--muted);font-weight:600;letter-spacing:0;vertical-align:middle}
.product-card h3{min-height:40px;margin:0}
.product-title{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-title .model-name{font-size:10px;line-height:1.5;margin-top:3px}
.spec-chips{min-height:30px;margin:8px 0;gap:4px}
.spec-chips li{padding:4px 5px}
.spec-chips span{font-size:8px;line-height:1.4}
.spec-chips b{font-size:10px;line-height:1.5}
.product-attributes{font-size:11px;line-height:1.5;margin:8px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:30px}
.fulfillment-line{font-size:10px;line-height:1.5;min-height:17px;margin:0 0 8px}
.product-price-block{gap:2px}
.sample-price-label{font-size:10px;line-height:1.5}
.product-price{font-size:25px;line-height:1.3}
.installment-caption{font-size:10px;line-height:1.5;min-height:30px;margin:5px 0 8px}
.add-button{min-height:39px;font-size:12px}
.compare-toggle{margin-top:7px;min-height:24px;padding:0;font-size:10px}
.representative-note{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin:4px 0}
.gallery-stage{position:relative}
.gallery-stage>.photo-scope{position:absolute;bottom:0;left:0;right:0;padding:8px 12px;text-align:center;background:var(--surface-soft);color:var(--muted);font-size:11px;line-height:1.6}
.offer-photo-note{position:absolute;left:10px;bottom:9px;padding:4px 7px;border-radius:4px;background:var(--surface);color:var(--muted);font-size:9px}
@media(max-width:1200px){.catalog-search{min-width:230px}.control-select select{max-width:146px}.budget-range input{width:66px}}
@media(max-width:950px){.context-category{display:flex}.catalog-search{flex-basis:100%;height:40px}.catalog-controls{padding:13px}.product-photo,.furniture-card .product-photo,.home-appliances .product-photo{height:170px}.catalog-sidebar{display:none}}
@media(max-width:700px){
 .catalog-control-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 .catalog-search{grid-column:1/-1;width:100%;min-width:0;height:40px;gap:7px;padding:0 9px}
 .catalog-search input{font-size:12px}.catalog-search input:focus,.budget-range input:focus{font-size:16px}
 .control-select{font-size:10px;gap:4px}.control-select select{max-width:none;width:100%;height:37px;font-size:12px}
 .budget-control{font-size:10px;gap:4px}.budget-range{padding:0 6px;height:37px;gap:3px}.budget-range input{width:100%;font-size:11px}
 #budgetError{font-size:9px}.catalog-control-fields .quick-filter{align-self:end;font-size:11px;min-height:37px}
 .product-grid{gap:10px}.product-photo,.furniture-card .product-photo,.home-appliances .product-photo{height:148px}
 .product-photo>img{padding:9px}.furniture-card .product-photo>img{padding:3px}
 .product-photo:has(.photo-scope)>img{padding-bottom:29px}.product-photo .photo-scope{font-size:8px;line-height:1.5;padding:4px}
 .product-photo .photo-count{font-size:7px;top:6px;left:6px}
 .product-card-body{padding:10px 9px}.product-category{font-size:9px;margin-bottom:5px;min-height:17px}.stock-code{font-size:9px;min-width:17px;height:17px;padding:1px 3px}
 .product-card h3{min-height:40px}.product-title{font-size:12px;line-height:1.6}.product-title .model-name{font-size:10px}
 .spec-chips{min-height:32px;margin:7px 0;gap:3px}.spec-chips li{padding:3px 4px}.spec-chips span{font-size:8px}.spec-chips b{font-size:9px}
 .fulfillment-line{font-size:9px;line-height:1.5;min-height:26px;margin-bottom:6px}
 .product-attributes{font-size:10px;min-height:30px;margin:7px 0}.sample-price-label{font-size:9px}.product-price{font-size:23px}
 .installment-caption{font-size:9px;line-height:1.5;min-height:28px;margin:4px 0 8px}
 .add-button{font-size:12px;min-height:39px}.add-button svg{height:15px;width:15px}.compare-toggle{font-size:10px;min-height:22px;margin-top:7px}
 .offer-photo-note{font-size:8px;left:5px;bottom:5px;max-width:110px;line-height:1.5}
 .gallery-stage>.photo-scope{font-size:10px;padding:7px 10px}
}

/* Equal navigation columns keep the final category clear of campaign actions. */
.main-nav{display:grid;grid-template-columns:190px minmax(0,1fr) auto auto;align-items:center;column-gap:28px;min-height:58px}
.nav-all{width:100%;min-height:48px;padding:0 18px 0 0;margin:0;font-size:13px;justify-content:flex-start}
.nav-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:6px;min-width:0;width:100%;overflow:visible;margin:0}
.nav-categories>a,.nav-categories>a:nth-child(n){display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 7px;margin:0;border-radius:5px;font-size:13px;font-weight:650;line-height:1.4;white-space:nowrap;text-align:center}
.nav-categories>a:hover{background:var(--surface-soft)}
.nav-offers{position:relative;min-height:48px;min-width:112px;padding:10px 12px;margin:0;gap:7px;font-size:13px;line-height:1.4;border-radius:5px}
.nav-offers:before{content:"";position:absolute;left:-14px;top:12px;bottom:12px;width:1px;background:var(--line)}
.nav-offers:hover{background:var(--surface-soft)}
.nav-bundles{min-height:40px;min-width:126px;padding:10px 13px;margin:0;font-size:12px;line-height:1.4;align-self:center}
.main-nav a:focus-visible,.nav-all:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:1200px){.main-nav{grid-template-columns:174px minmax(0,1fr) auto auto;column-gap:18px}.nav-all{padding-right:14px}.nav-categories>a,.nav-categories>a:nth-child(n){font-size:12px;padding:10px 5px}.nav-offers{min-width:104px;font-size:12px;padding:10px}.nav-offers:before{left:-9px}.nav-bundles{min-width:120px;padding:9px 10px}}
@media(min-width:701px) and (max-width:1100px){
 .main-nav{grid-template-columns:minmax(0,1fr) auto auto;gap:0 24px;min-height:98px}
 .nav-all{grid-column:1;grid-row:1;border-right:0;min-height:48px;font-size:13px}
 .nav-offers{grid-column:2;grid-row:1;min-height:48px;font-size:13px}
 .nav-offers:before{display:none}.nav-bundles{grid-column:3;grid-row:1;font-size:12px;min-width:128px}
 .nav-categories{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;border-top:1px solid var(--line)}
 .nav-categories>a,.nav-categories>a:nth-child(n){font-size:13px;min-height:46px;padding:10px 8px}
}
@media(max-width:700px){
 .main-nav{grid-template-columns:1.12fr 1fr 1.08fr;gap:10px;min-height:52px;align-items:center}
 .nav-categories{display:none}.nav-all{min-height:44px;padding:0;border:0;gap:6px;font-size:12px;line-height:1.4}
 .nav-all svg{width:16px;height:16px}.nav-offers{min-width:0;min-height:44px;padding:6px 2px;gap:5px;font-size:12px}
 .nav-offers:before{display:none}.nav-bundles{min-width:0;min-height:38px;padding:7px 6px;font-size:11px;gap:4px}
}
@media(max-width:375px){.main-nav{gap:7px;grid-template-columns:1.1fr 1fr 1.07fr}.nav-all,.nav-offers{font-size:11px}.nav-bundles{font-size:10px}}
