:root{--blue:#4a90e2;--blue-deep:#3478c8;--orange:#ff9800;--orange-deep:#e98600;--yellow:#ffe082;--ink:#282c32;--muted:#6c7480;--line:#e2e6eb;--surface:#f4f8fd;--red:#e53935;--green:#3a9a4d}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,"Liberation Sans",Helvetica,sans-serif;color:var(--ink);background:#fff}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #165da9;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-100px;z-index:99;background:#fff;padding:10px 14px}.skip:focus{top:8px}
.wrap{width:min(1100px,calc(100% - 40px));margin-inline:auto}
.header{background:var(--blue);color:#fff;position:relative;z-index:2}
.header-row{min-height:80px;display:flex;align-items:center;gap:28px}
.brand{font-size:30px;line-height:1;font-weight:800;white-space:nowrap;letter-spacing:-.04em}.brand-cloud{font-size:.85em;margin-right:5px}
.nav{display:flex;gap:20px;white-space:nowrap}.nav a{padding:6px 0;border-bottom:2px solid transparent}.nav a:hover,.nav a.active{border-color:#fff}
.search{flex:1;display:flex;min-width:180px}.search input{width:100%;min-width:0;height:36px;border:1px solid #ced5db;padding:0 10px;background:#fff;color:var(--ink);border-radius:3px 0 0 3px}.search button{border:0;background:var(--orange);color:#fff;font-weight:700;padding:0 15px;border-radius:0 3px 3px 0}.search button:hover,.btn:hover{background:var(--orange-deep)}
.cart-link{background:#fff;color:var(--blue-deep);border-radius:4px;padding:9px 13px;white-space:nowrap;font-size:14px;font-weight:700}.cart-link:hover{background:#eff7ff}.cart-link strong{font-weight:700}
main{min-height:420px}.hero{background:var(--yellow);text-align:center;padding:60px 20px}.hero h1{color:#e65100;font-size:clamp(30px,3.5vw,42px);margin:0 0 12px}.hero p{font-size:18px;margin:0 0 25px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:4px;background:var(--orange);color:#fff;padding:12px 25px;font-size:16px;font-weight:700;min-height:42px;text-align:center}.btn.blue{background:var(--blue)}.btn.blue:hover{background:var(--blue-deep)}.btn.small{padding:8px 14px;min-height:34px;font-size:14px}.btn:disabled{background:#abb4be;cursor:not-allowed}.btn-light{background:#eef5fc;color:var(--blue-deep)}.btn-light:hover{background:#dcecfb}.btn-ghost{background:transparent;color:var(--blue-deep);padding:8px 0}.btn-ghost:hover{background:transparent;text-decoration:underline}
.section{padding:36px 0 8px}.section:last-child{padding-bottom:58px}.section h2,.page-title{font-size:clamp(25px,2.5vw,30px);margin:0 0 24px;color:#333}.section h2{text-align:center}.page-title{margin:28px 0 20px}.section-note{text-align:center;color:var(--muted);margin:-13px 0 24px}
.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.category{background:#f5f5f5;border:1px solid #e1e1e1;min-height:144px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;transition:transform .2s ease,border-color .2s ease}.category:hover{transform:translateY(-3px);border-color:var(--blue)}.category .emoji{font-size:58px;line-height:1}.category b{font-size:18px}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.products.three{grid-template-columns:repeat(3,1fr)}.product-card{border:1px solid var(--line);padding:12px;text-align:center;display:flex;flex-direction:column;min-width:0}.product-card:hover{border-color:#b3cde9}.product-image{background:#eef4fb;min-height:150px;display:flex;align-items:center;justify-content:center;font-size:78px;line-height:1}.product-name{display:block;font-size:15px;min-height:44px;margin:12px 0 4px;line-height:1.35}.product-name:hover{color:var(--blue-deep);text-decoration:underline}.price{font-size:21px;color:var(--red);font-weight:700;margin:auto 0 10px}.product-card .btn{align-self:center}
.breadcrumbs{font-size:14px;color:var(--muted);margin-top:22px}.breadcrumbs a{color:var(--blue-deep);text-decoration:underline}.catalog-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:30px;margin:10px 0 60px}.filters{background:#fafafa;border:1px solid var(--line);padding:16px;align-self:start}.filters h3{font-size:17px;margin:0 0 14px}.filters label{display:block;font-size:15px;margin-bottom:10px}.filters input{accent-color:var(--blue)}.filters .filter-group{margin-top:20px}.filters .price-inputs{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.filters .price-inputs input{width:80px;height:32px;border:1px solid #cdd1d7;padding:4px 7px}.catalog-main h1{font-size:30px;margin:0 0 16px}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:14px}.catalog-toolbar select{height:30px;border:1px solid #cdd1d7;background:#fff;padding:0 6px}.results-count{color:var(--muted)}
.product-detail{display:grid;grid-template-columns:minmax(280px,460px) minmax(0,1fr);gap:40px;margin:24px 0 60px}.product-detail .product-image{min-height:400px;font-size:190px;border:1px solid var(--line)}.product-detail h1{font-size:30px;margin:0 0 10px}.rating{color:#d98800}.product-detail .price{font-size:32px;margin:17px 0}.product-detail p{line-height:1.55}.product-detail ul{padding-left:20px;line-height:1.8}.quantity{display:inline-flex;align-items:center;border:1px solid #ccd1d7;margin-right:14px}.quantity button,.quantity output{min-width:38px;height:40px;display:grid;place-items:center;border:0;background:#fff}.quantity button:hover{background:#f2f6fb}.quantity output{border-inline:1px solid #ccd1d7}
.cart-table{width:100%;border-collapse:collapse;margin:10px 0}.cart-table th{background:var(--blue);color:#fff;text-align:left;padding:12px 10px}.cart-table td{border-bottom:1px solid var(--line);padding:12px 10px}.cart-table .emoji{font-size:42px}.cart-table .item-name{font-weight:600}.cart-table .qty-cell{white-space:nowrap}.cart-table .qty-cell button{width:28px;height:28px;border:1px solid #cbd2d9;background:#fff}.cart-table .qty-cell span{display:inline-block;min-width:28px;text-align:center}.remove{background:transparent;border:0;color:#a12d2d;font-size:20px}.cart-summary{text-align:right;margin-top:24px}.cart-summary p{font-size:22px}.cart-summary b{color:var(--red)}.cart-actions{display:flex;justify-content:flex-end;align-items:center;gap:22px;margin:18px 0 60px}.text-link{color:var(--blue-deep);text-decoration:underline}.empty{padding:60px 20px;text-align:center;background:#f7fafd;margin:30px 0 60px}.empty .emoji{font-size:65px}.empty h2{margin:10px 0}.empty p{color:var(--muted);margin-bottom:22px}
.checkout{max-width:580px;margin:0 auto 60px}.checkout label{display:block;font-size:15px;font-weight:600;margin:16px 0 6px}.checkout input[type=text],.checkout input[type=tel],.checkout textarea{width:100%;border:1px solid #bfc7d0;border-radius:2px;padding:9px;font-size:16px}.checkout textarea{min-height:78px;resize:vertical}.checkout fieldset{border:0;padding:0;margin:20px 0 0}.checkout legend{font-weight:600;margin-bottom:8px}.checkout .choice{font-weight:400;margin:5px 0}.checkout input[type=radio]{accent-color:var(--blue)}.checkout .summary{background:#f5f8fb;border:1px solid var(--line);padding:16px;margin:23px 0}.checkout .summary div{display:flex;justify-content:space-between;margin:7px 0}.checkout .summary .grand{border-top:1px solid var(--line);padding-top:12px;font-size:20px;font-weight:700}.checkout .btn{width:100%}.form-error{color:#b52a2a;min-height:22px;margin:12px 0}.done{text-align:center;padding:82px 20px 84px}.done .emoji{font-size:110px}.done h1{font-size:36px;color:var(--green);margin:10px 0}.done p{font-size:18px;margin-bottom:24px}.done .order-id{font-weight:700}
.footer{background:#333;color:#d0d0d0;padding:30px 0 36px}.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;font-size:14px}.footer strong{color:#fff;display:block;font-size:16px;margin-bottom:10px}.footer p,.footer a{display:block;margin:0 0 5px;line-height:1.45}.footer a:hover{text-decoration:underline}.footer small{font-size:14px}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,15px);background:#253647;color:#fff;padding:11px 18px;border-radius:5px;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:940px){.header-row{gap:15px;flex-wrap:wrap;padding:14px 0}.brand{font-size:26px}.nav{order:3;width:100%;justify-content:center}.search{flex-basis:300px}.products{grid-template-columns:repeat(2,1fr)}.products.three{grid-template-columns:repeat(2,1fr)}.categories{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.wrap{width:min(100% - 28px,550px)}.header-row{display:grid;grid-template-columns:1fr auto;gap:13px;padding:14px 0}.brand{font-size:25px}.cart-link{justify-self:end}.search{grid-column:1/-1;grid-row:2}.nav{grid-column:1/-1;grid-row:3;justify-content:flex-start;gap:25px}.hero{padding:48px 20px}.hero p{font-size:16px}.catalog-layout{display:block}.filters{margin-bottom:22px}.filters .filter-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.product-detail{grid-template-columns:1fr;gap:24px}.product-detail .product-image{min-height:310px;font-size:160px}.cart-table{display:block;overflow-x:auto;white-space:nowrap}.cart-actions{flex-direction:column-reverse;align-items:stretch;gap:12px}.cart-actions .btn{text-align:center}.footer-grid{gap:25px}}
@media(max-width:440px){.products,.products.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{padding:8px}.product-image{min-height:118px;font-size:61px}.product-name{font-size:13px;min-height:50px}.price{font-size:18px}.product-card .btn.small{font-size:12px;padding:7px 8px}.categories{gap:10px}.category{min-height:120px}.category .emoji{font-size:49px}.category b{font-size:15px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.footer strong{font-size:15px}.footer-grid{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
.cart-mini{width:20px;height:20px;object-fit:contain;display:inline-block;vertical-align:-5px}
.category-image{width:72px;height:72px;object-fit:contain;display:block}
.product-image img{display:block;width:100%;height:150px;object-fit:contain;padding:5px}
.product-detail .product-image img{height:400px;padding:18px}
.product-thumb{width:60px;height:60px;display:block;object-fit:contain}
.empty-illustration{width:110px;height:110px;display:block;object-fit:contain;margin:0 auto}
.done-illustration{width:130px;height:130px;display:block;object-fit:contain;margin:0 auto}
.search-mark{width:60px;height:60px;border:8px solid var(--blue);border-radius:50%;display:block;position:relative;margin:0 auto 25px}
.search-mark::after{content:"";position:absolute;width:29px;height:8px;border-radius:5px;background:var(--blue);transform:rotate(45deg);right:-23px;bottom:-10px}
@media(max-width:700px){.product-detail .product-image img{height:310px}}
@media(max-width:440px){.category-image{width:58px;height:58px}.product-image img{height:118px;padding:3px}}
