:root { --blue:#0868bd; --deep:#064f92; --ink:#101722; --muted:#6d7783; --line:#e3e8ed; --soft:#f4f7f9; --yellow:#ffd84a; --white:#fff; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color:var(--ink); background:#eaf0f5; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-width:320px; background:#eaf0f5; }
button, input, textarea { font:inherit; }
button { cursor:pointer; }
.hidden { display:none !important; }
.app-shell { width:min(100%, 560px); min-height:100vh; margin:0 auto; background:#fff; box-shadow:0 0 80px rgba(20,48,70,.13); }
.topbar { height:68px; position:sticky; z-index:20; top:0; display:flex; align-items:center; justify-content:space-between; padding:0 18px; background:var(--blue); color:#fff; }
.logo { color:#fff; text-decoration:none; font-size:22px; font-weight:900; letter-spacing:-.045em; }
.logo span { color:#8ed3ff; margin-left:3px; }
.top-actions { display:flex; gap:7px; }
.top-actions button { width:39px; height:39px; position:relative; border:1px solid rgba(255,255,255,.35); border-radius:50%; background:transparent; color:#fff; font-size:23px; }
.top-actions button b { min-width:17px; height:17px; position:absolute; right:-4px; top:-4px; display:grid; place-items:center; padding:0 4px; border:2px solid var(--blue); border-radius:10px; background:var(--yellow); color:var(--ink); font-size:9px; }
.search-section { padding:0 14px 13px; background:var(--blue); }
.search-box { min-height:45px; display:flex; align-items:center; gap:8px; padding:4px 5px 4px 14px; border-radius:24px; background:rgba(255,255,255,.22); color:#fff; }
.search-box > span { font-size:22px; transform:rotate(-18deg); }
.search-box input { min-width:0; flex:1; border:0; outline:0; background:transparent; color:#fff; font-size:13px; }
.search-box input::placeholder { color:rgba(255,255,255,.65); }
.search-box button { border:0; border-radius:18px; background:#fff; color:var(--deep); padding:9px 13px; font-size:11px; font-weight:800; }
.hero-card { min-height:388px; position:relative; overflow:hidden; display:flex; padding:44px 23px; background:linear-gradient(145deg,#cbe6ff 0%,#eaf5ff 58%,#f8fbff 100%); }
.hero-card::before { content:""; width:290px; height:290px; position:absolute; right:-125px; bottom:-110px; border-radius:50%; background:rgba(8,104,189,.1); box-shadow:0 0 0 55px rgba(8,104,189,.04); }
.hero-copy { max-width:305px; position:relative; z-index:2; }
.hero-copy > span { color:var(--blue); font-size:9px; font-weight:900; letter-spacing:.1em; }
.hero-copy h1 { margin:18px 0 12px; font-size:39px; line-height:.98; letter-spacing:-.055em; }
.hero-copy p { max-width:275px; margin:0; color:#465666; font-size:12px; line-height:1.55; }
.hero-copy button { margin-top:24px; border:0; border-radius:4px; background:var(--blue); color:#fff; padding:13px 16px; font-size:11px; font-weight:800; }
.hero-device { width:200px; height:255px; position:absolute; right:-48px; bottom:-22px; transform:rotate(25deg); }
.device-back,.device-front { position:absolute; border-radius:30px; box-shadow:0 25px 40px rgba(5,60,105,.22); }
.device-back { width:132px; height:235px; left:0; top:0; background:linear-gradient(145deg,#f4768d,#bd3858); }
.device-front { width:145px; height:252px; right:0; bottom:0; border:9px solid #07131f; background:linear-gradient(160deg,#77c7f6,#c3ecff 48%,#8e74df); }
.device-front i { width:13px; height:13px; display:block; margin:10px auto; border:4px solid #142231; border-radius:50%; background:#46748d; }
.category-strip { display:flex; gap:8px; overflow-x:auto; padding:15px 14px; border-bottom:1px solid var(--line); scrollbar-width:none; }
.category-strip::-webkit-scrollbar { display:none; }
.category-strip button { flex:0 0 auto; display:flex; align-items:center; gap:7px; border:1px solid #b9d7ef; border-radius:20px; background:#fff; color:var(--blue); padding:6px 11px 6px 6px; font-size:10px; font-weight:800; }
.category-strip button i { width:27px; height:27px; display:grid; place-items:center; border-radius:50%; background:#e7f3fc; font-size:15px; font-style:normal; }
.category-strip button.active { background:var(--blue); color:#fff; border-color:var(--blue); }
.category-strip button.active i { background:#fff; color:var(--blue); }
.catalog-section { padding:34px 14px 100px; }
.legal-footer { display:flex; flex-wrap:wrap; gap:9px 15px; padding:18px 14px 105px; border-top:1px solid var(--line); }
.legal-footer a { color:var(--blue); font-size:9px; }
.legal-footer small { width:100%; color:var(--muted); font-size:8px; line-height:1.45; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.section-heading span { color:var(--blue); font-size:8px; font-weight:900; letter-spacing:.11em; }
.section-heading h2 { margin:5px 0 0; font-size:27px; letter-spacing:-.04em; }
.section-heading small { color:var(--muted); font-size:9px; }
.product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.product-card { min-width:0; display:flex; flex-direction:column; padding:10px; border:1px solid var(--line); background:#fff; }
.product-visual { aspect-ratio:1.08; position:relative; display:grid; place-items:center; overflow:hidden; margin:-10px -10px 12px; background:linear-gradient(145deg,#eff4f7,#dce7ee); }
.product-visual::before,.product-visual::after { content:""; position:absolute; border-radius:50%; background:rgba(255,255,255,.5); }
.product-visual::before { width:115px; height:115px; right:-28px; top:-35px; }
.product-visual::after { width:85px; height:85px; left:-29px; bottom:-32px; }
.product-visual > span { position:relative; z-index:2; display:block; color:#234762; font-size:68px; line-height:1; transform:rotate(-7deg); filter:drop-shadow(0 18px 12px rgba(17,52,77,.15)); }
.product-visual > img { width:82%; height:82%; position:relative; z-index:2; object-fit:contain; filter:drop-shadow(0 15px 13px rgba(17,52,77,.17)); }
.product-visual > b { position:absolute; z-index:3; left:8px; top:8px; border-radius:2px; background:var(--yellow); padding:5px 6px; font-size:7px; }
.visual-1 { background:linear-gradient(145deg,#fae6e9,#f6c8d1); }.visual-2 { background:linear-gradient(145deg,#e4effc,#bfd7f3); }.visual-3 { background:linear-gradient(145deg,#e9e4fb,#d2c8f4); }
.product-card > small { color:var(--blue); font-size:7px; font-weight:800; text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.product-card h3 { min-height:34px; margin:7px 0 4px; font-size:12px; line-height:1.35; }
.product-card > p { min-height:31px; margin:0 0 12px; color:var(--muted); font-size:8px; line-height:1.45; }
.stock-count { margin:-5px 0 10px; color:#28724f; font-size:8px; font-weight:800; }
.price-row { display:flex; align-items:end; justify-content:space-between; gap:8px; margin-top:auto; }
.price-row > div { display:flex; flex-direction:column; gap:3px; }
.price-row strong { font-size:13px; }
.price-row del { color:#9ba4ac; font-size:8px; }
.price-row button { width:34px; height:34px; border:0; border-radius:50%; background:var(--blue); color:#fff; font-size:20px; }
.price-row button:disabled { background:#c9d0d6; font-size:9px; }
.catalog-loading,.catalog-error,.empty-state { grid-column:1/-1; padding:50px 20px; text-align:center; color:var(--muted); font-size:12px; }
.empty-state b { color:var(--ink); font-size:16px; }.empty-state p { margin:7px 0 0; }
.floating-cart { width:calc(min(100%, 560px) - 28px); min-height:56px; position:fixed; z-index:25; left:50%; bottom:calc(14px + env(safe-area-inset-bottom)); transform:translateX(-50%); display:flex; align-items:center; justify-content:space-between; border:0; border-radius:7px; background:var(--blue); color:#fff; padding:0 18px; box-shadow:0 15px 35px rgba(8,104,189,.32); }
.floating-cart span { font-size:11px; }.floating-cart strong { font-size:14px; }.floating-cart b { display:inline-grid; place-items:center; min-width:22px; height:22px; margin-right:7px; border-radius:12px; background:#fff; color:var(--blue); }
.sheet { width:min(100%,560px); max-width:none; height:100%; max-height:none; margin:auto; border:0; padding:0; background:transparent; }
.sheet::backdrop { background:rgba(7,17,28,.55); backdrop-filter:blur(2px); }
.sheet-panel { width:100%; max-height:92%; position:absolute; left:0; bottom:0; overflow:auto; margin:0; padding:22px 18px calc(22px + env(safe-area-inset-bottom)); border:0; border-radius:17px 17px 0 0; background:#fff; animation:sheetIn .22s ease-out; }
@keyframes sheetIn { from { transform:translateY(30px); opacity:.4; } }
.sheet-head { display:flex; align-items:start; justify-content:space-between; gap:20px; margin-bottom:25px; }
.sheet-head h2 { margin:0; font-size:26px; letter-spacing:-.04em; }.sheet-head small { color:var(--blue); font-size:8px; font-weight:900; }
.sheet-head > button { width:35px; height:35px; border:0; border-radius:50%; background:var(--soft); color:#66717b; font-size:25px; }
.filter-block { padding:0 0 22px; margin-bottom:20px; border-bottom:1px solid var(--line); }.filter-block > span { display:block; margin-bottom:12px; font-size:12px; font-weight:800; }
.filter-chips { display:flex; flex-wrap:wrap; gap:6px; }.filter-chips button { border:0; border-radius:16px; background:#f1f3f5; padding:8px 10px; color:#313c45; font-size:9px; }.filter-chips button.active { background:var(--blue); color:#fff; }
.price-inputs { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:10px; }.price-inputs input { width:100%; border:1px solid #bdc6cd; border-radius:5px; padding:11px; font-size:11px; }.price-inputs i { color:#88929a; font-style:normal; }
.check-row { display:flex; gap:10px; align-items:center; margin:0 0 24px; font-size:11px; }.check-row input { width:20px; height:20px; accent-color:var(--blue); }
.sheet-actions { display:grid; grid-template-columns:.7fr 1.3fr; gap:8px; }.primary,.secondary { min-height:49px; border:0; border-radius:5px; font-size:11px; font-weight:850; text-transform:uppercase; }.primary { background:var(--blue); color:#fff; }.secondary { background:#edf1f4; color:#4a555f; }
.cart-panel { min-height:62%; }.cart-items { display:flex; flex-direction:column; }
.cart-row { display:grid; grid-template-columns:49px 1fr auto; align-items:center; gap:11px; padding:13px 0; border-bottom:1px solid var(--line); }.cart-icon { width:49px; height:49px; display:grid; place-items:center; background:#e8f2f9; color:var(--blue); font-size:25px; }.cart-row > div:nth-child(2) { min-width:0; display:flex; flex-direction:column; gap:6px; }.cart-row strong { font-size:10px; line-height:1.35; }.cart-row small { color:var(--muted); font-size:9px; }.quantity { display:grid; grid-template-columns:25px 21px 25px; align-items:center; text-align:center; }.quantity button { height:28px; border:0; background:var(--soft); }.quantity span { font-size:10px; }
.cart-empty { padding:50px 15px; text-align:center; }.cart-empty b { font-size:16px; }.cart-empty p { color:var(--muted); font-size:11px; }
.cart-summary,.checkout-total { display:flex; align-items:center; justify-content:space-between; margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }.cart-summary span,.checkout-total span { color:var(--muted); font-size:11px; }.cart-summary strong,.checkout-total strong { font-size:23px; }
.checkout-button { width:100%; margin-top:20px; }.checkout-panel label { display:flex; flex-direction:column; gap:7px; margin-bottom:15px; font-size:9px; font-weight:800; text-transform:uppercase; }.checkout-panel input,.checkout-panel textarea { width:100%; border:1px solid #cbd3d9; border-radius:4px; outline:0; padding:13px; font-size:12px; text-transform:none; resize:vertical; }.checkout-panel input:focus,.checkout-panel textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(8,104,189,.1); }
.checkout-panel .consent-row { flex-direction:row; align-items:flex-start; gap:9px; font-weight:500; line-height:1.45; text-transform:none; }
.checkout-panel .consent-row input { width:18px; height:18px; flex:0 0 auto; padding:0; accent-color:var(--blue); }
.consent-row a { color:var(--blue); }
.legal-note { display:block; margin-top:11px; color:#86909a; font-size:8px; line-height:1.5; text-align:center; }
.toast { width:calc(min(100%,560px) - 36px); position:fixed; z-index:50; left:50%; bottom:84px; transform:translateX(-50%); border-radius:5px; background:#101722; color:#fff; padding:14px 16px; box-shadow:0 15px 40px rgba(0,0,0,.3); font-size:11px; line-height:1.45; }
@media (max-width:380px) { .hero-copy h1{font-size:34px}.hero-device{right:-72px}.product-grid{gap:7px}.product-card{padding:8px}.product-visual{margin:-8px -8px 10px}.case{} }
@media (prefers-reduced-motion:reduce) { *{scroll-behavior:auto!important;animation:none!important;transition:none!important} }
