@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--navy:#082f52;--yellow:#ffd02d;--teal:#176768;--line:#dfe7ec;--red:#b91320;--side:230px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--navy);font-size:15px}button,input{font:inherit}button,a{cursor:pointer}.shell{width:min(1460px,calc(100% - 40px));margin:auto}
.top{height:38px;background:var(--teal);color:#fff;font-size:11px}.top .shell{height:100%;display:flex;align-items:center;justify-content:space-between}
.header{border-bottom:1px solid var(--line);background:#fff}.head{height:92px;display:grid;grid-template-columns:290px minmax(280px,1fr) 185px 78px 70px 60px;gap:15px;align-items:center}.logo{width:235px}.search{height:46px;border:1px solid var(--line);display:flex}.search input{border:0;outline:0;min-width:0;flex:1;padding:0 16px;font-size:14px}.search button{width:56px;border:0;background:var(--yellow)}.phone{display:flex;gap:8px;font-size:11px}.hi{border:0;background:none;color:var(--navy);font-size:21px;position:relative}.hi small{display:block;font-size:9px;font-weight:700}.hi i{position:absolute;right:0;top:-3px;width:17px;height:17px;border-radius:50%;background:#c51b28;color:#fff;font:normal 9px/17px Inter}
.navrow{height:58px;display:flex;align-items:center;position:relative}.catBtn{width:var(--side);height:58px;border:0;background:var(--yellow);font-size:13px;font-weight:800;text-align:left;padding-left:18px}.mobileBtn{display:none}.navrow nav{display:flex;gap:26px;padding-left:30px;font-size:13px;font-weight:600}.navrow nav a{height:58px;display:flex;align-items:center;position:relative}.navrow nav a:after{content:"";position:absolute;bottom:0;left:50%;right:50%;height:2px;background:var(--navy);transition:.2s}.navrow nav a:hover:after,.navrow nav a.active:after{left:0;right:0}

/* Structural fix: sidebar and main are siblings. Sidebar height NEVER determines main vertical flow. */
.pageLayout{display:grid;grid-template-columns:var(--side) minmax(0,1fr);gap:16px;align-items:start;margin-top:14px}.sidebar{min-width:0}.mainContent{min-width:0}
.cats{border:1px solid var(--line);border-radius:4px;overflow:hidden}.cats a{height:45px;padding:0 14px;display:flex;align-items:center;border-bottom:1px solid var(--line);font-size:13px;transition:.18s}.cats a b{margin-left:auto}.cats a:hover{background:#f5f9fb;padding-left:19px}.leftAds{display:flex;flex-direction:column;gap:13px;margin-top:14px}.leftAds img{width:100%;height:auto;display:block}
.heroRow{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);gap:14px}.heroBanner,.sideBanners{height:407px}.sideBanners{display:grid;grid-template-rows:1fr 1fr;gap:14px}.banner,.shine,.productImage,.bestImg,.catProductImage{position:relative;overflow:hidden;border-radius:5px}.banner img{width:100%;height:100%;display:block;object-fit:cover}.banner button{position:absolute;z-index:2;border:0;border-radius:4px;font-weight:800;box-shadow:0 4px 12px #0001}.heroBanner button{left:5%;bottom:13%;padding:12px 17px;background:var(--yellow)}.sideBanners button{left:7%;top:45%;padding:10px 14px;background:#fff}.organize button{left:4%;bottom:19%;padding:11px 16px;background:var(--yellow)}
.banner:after,.shine:after,.productImage:after,.bestImg:after,.catProductImage:after{content:"";position:absolute;top:-25%;left:-80%;width:38%;height:150%;background:linear-gradient(110deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-18deg);pointer-events:none}.banner:hover:after,.shine:hover:after,.productCard:hover .productImage:after,.bestItem:hover .bestImg:after,.catProduct:hover .catProductImage:after{animation:light .72s ease-out}@keyframes light{to{left:145%}}
.benefits{height:70px;margin:14px 0 14px;border:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);border-radius:4px}.benefits div{display:flex;align-items:center;justify-content:center;gap:8px;border-right:1px solid var(--line)}.benefits div:last-child{border:0}.benefits span{display:flex;flex-direction:column}.benefits b{font-size:11px}.benefits small{font-size:9px;color:#788893}
.sectionHead{height:48px;display:flex;align-items:center;justify-content:space-between}.sectionHead h2{font-size:23px;margin:0;letter-spacing:-.3px}.sectionHead a,.groupControls span{font-size:10px;color:#71828e}.sectionHead button,.bestHead button,.groupControls button{width:30px;height:30px;border:1px solid var(--line);background:#fff;border-radius:50%;margin-left:4px}.sectionHead button:hover,.bestHead button:hover,.groupControls button:hover{background:var(--navy);color:#fff}
.sliderViewport,.groupViewport,.bestSlider{overflow:hidden}.productTrack,.groupTrack,.bestTrack{display:flex;transition:transform .43s cubic-bezier(.2,.8,.2,1)}.productTrack{gap:12px}.productCard{flex:0 0 calc((100% - 36px)/4);border:1px solid var(--line);border-radius:6px;padding:12px;background:#fff;transition:.2s}.productCard:hover{box-shadow:0 8px 22px #082f5217;transform:translateY(-2px)}.productImage{height:190px;background:#fbfcfd}.productImage img{width:100%;height:100%;object-fit:contain}.productMeta{padding:10px 3px 2px}.productMeta small{font-size:11px;color:#d39200}.productMeta h3{font-size:14px;line-height:1.35;min-height:39px;margin:5px 0}.stars{font-size:11px;color:#f4a500}.price{font-size:18px;color:var(--red);font-weight:800;margin:8px 0}.price del{font-size:11px;color:#8b969d;margin-left:5px}.add{width:100%;border:0;background:var(--yellow);padding:10px;border-radius:4px;font-size:11px;font-weight:800}.organize{height:205px;margin:10px 0 7px}.organize img{width:100%;height:100%;object-fit:cover}
.bestColumns{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.bestColumn,.categoryColumn{border:1px solid var(--line);border-radius:6px;padding:14px;background:#fff}.bestHead{display:flex;align-items:center;margin-bottom:5px}.bestHead h3{font-size:14px;margin:0}.bestHead a{margin-left:auto;font-size:9px;color:#788893}.bestPage{min-width:100%}.bestItem{display:grid;grid-template-columns:88px 1fr;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #edf1f4}.bestItem:last-child{border:0}.bestImg{width:86px;height:86px;background:#fbfcfd}.bestImg img,.catProductImage img{width:100%;height:100%;object-fit:contain}.bestItem b,.catProduct b{font-size:12px;line-height:1.35;display:block}.bestItem .price,.catProduct .price{font-size:15px;margin:3px 0}
.categoryTitle{margin-top:8px}.groupControls{display:flex;align-items:center}.categoryPage{min-width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.categoryColumn h3{font-size:15px;margin:0 0 10px;display:flex;justify-content:space-between}.categoryColumn h3 a{font-size:9px;color:#788893}.catProduct{display:grid;grid-template-columns:82px 1fr;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f4}.catProduct:last-child{border:0}.catProductImage{width:80px;height:80px;background:#fbfcfd}
.brands{margin-top:18px;margin-bottom:20px}.brandGrid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.brandGrid b{height:58px;border:1px solid var(--line);display:grid;place-items:center;font-size:15px;transition:.2s}.brandGrid b:hover{transform:translateY(-2px);box-shadow:0 5px 16px #082f5215}
footer{background:#062c45;color:#fff;padding:34px 0}.foot{display:grid;grid-template-columns:1.2fr .8fr .65fr .8fr 1.5fr;gap:34px}.foot img{width:185px;filter:brightness(0) invert(1)}.foot h4{font-size:12px}.foot p,.foot a{font-size:10px;color:#d5dfe6;display:block;margin:7px 0}.foot form{display:flex}.foot input{height:36px;flex:1;min-width:0}.foot form button{border:0;background:var(--yellow);font-size:9px;font-weight:800}
.drawer{position:fixed;z-index:100;right:0;top:0;width:min(390px,92vw);height:100vh;background:#fff;padding:20px;transform:translateX(105%);transition:.25s}.drawer.open{transform:none}.drawer>div:first-child{display:flex;justify-content:space-between}.close{border:0;background:none;font-size:28px}.overlay{position:fixed;z-index:90;inset:0;background:#00182a88;opacity:0;visibility:hidden}.overlay.open{opacity:1;visibility:visible}.cartLine{padding:10px;border-bottom:1px solid var(--line);font-size:12px}.toast{position:fixed;z-index:110;bottom:20px;left:50%;background:var(--navy);color:#fff;padding:10px 17px;border-radius:4px;opacity:0;transform:translate(-50%,20px);transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}

/* Laptop */
@media(max-width:1200px){
 :root{--side:205px}.head{grid-template-columns:220px 1fr 60px}.phone,.hi:not(.cartOpen){display:none}.logo{width:190px}.navrow nav{gap:16px;font-size:11px}.heroRow{grid-template-columns:1fr}.sideBanners{display:grid;height:180px;grid-template-columns:1fr 1fr;grid-template-rows:1fr}.heroBanner{height:auto}.productCard{flex-basis:calc((100% - 24px)/3)}.bestItem{grid-template-columns:70px 1fr}.bestImg{width:68px;height:68px}
}
/* Tablet: sidebar becomes a drawer, main content owns full width */
@media(max-width:900px){
 .shell{width:calc(100% - 28px)}.top b:nth-child(n+2){display:none}.head{height:auto;padding:12px 0;grid-template-columns:1fr 52px}.search{grid-column:1/-1;grid-row:2}.navrow{height:50px}.catBtn{height:44px;width:auto;padding:0 14px}.mobileBtn{display:block;margin-left:8px;border:0;background:#f2f5f7;padding:10px 14px}.navrow nav{display:none;position:absolute;z-index:80;left:0;right:0;top:50px;background:#fff;box-shadow:0 10px 24px #0002;padding:10px;flex-direction:column}.navrow nav.open{display:flex}.navrow nav a{height:38px}.pageLayout{display:block;margin-top:12px}.sidebar{display:none;position:fixed;z-index:85;top:0;left:0;width:min(330px,88vw);height:100vh;overflow:auto;background:#fff;padding:14px;box-shadow:8px 0 30px #0003}.sidebar.open{display:block}.leftAds{display:none}.heroRow{grid-template-columns:1fr}.heroBanner{height:auto}.sideBanners{height:auto;grid-template-columns:1fr 1fr}.sideBanners .banner{aspect-ratio:2/1}.benefits{grid-template-columns:repeat(3,1fr)}.benefits div:nth-child(n+4){display:none}.productCard{flex-basis:calc((100% - 12px)/2)}.bestColumns{grid-template-columns:1fr 1fr}.bestColumn:last-child{display:none}.categoryPage{grid-template-columns:1fr 1fr}.categoryColumn:last-child{display:none}.brandGrid{grid-template-columns:repeat(3,1fr)}.foot{grid-template-columns:1fr 1fr}
}
/* Phone */
@media(max-width:600px){
 body{font-size:14px}.top{height:32px}.logo{width:170px}.heroRow{gap:10px}.sideBanners{grid-template-columns:1fr}.sideBanners .banner{aspect-ratio:2.1/1}.benefits{height:auto;grid-template-columns:1fr;margin:10px 0}.benefits div{padding:12px;justify-content:flex-start}.benefits div:nth-child(n+3){display:none}.sectionHead{height:44px}.sectionHead h2{font-size:20px}.productCard{flex-basis:100%}.productImage{height:235px}.organize{height:auto;aspect-ratio:2.2/1}.bestColumns{grid-template-columns:1fr}.bestColumn:nth-child(n+2){display:none}.categoryPage{grid-template-columns:1fr}.categoryColumn:nth-child(n+2){display:none}.brandGrid{grid-template-columns:repeat(2,1fr)}.foot{grid-template-columns:1fr}.groupControls span{display:none}
}