:root,:root[data-theme=dark]{--bg: #0e0f13;--surface: #16181f;--surface-2: #1e212a;--border: #2a2e39;--text: #f2f0ec;--text-muted: #8a8f9c;--accent: #ff7a1a;--accent-2: #ffb547;--on-accent: #17120d;--success: #3ddc97;--warn: #ffc14d;--danger: #ff5470;--glow: rgba(255, 122, 26, .16);--shadow: 0 8px 24px rgba(0, 0, 0, .35);color-scheme:dark}:root[data-theme=light]{--bg: #f7f4ef;--surface: #ffffff;--surface-2: #f0ece5;--border: #e3ddd3;--text: #1b1c21;--text-muted: #6b6f7a;--accent: #f06a0a;--accent-2: #ff9e2c;--on-accent: #ffffff;--success: #1fa971;--warn: #c98a00;--danger: #d93654;--glow: rgba(240, 106, 10, .1);--shadow: 0 6px 18px rgba(60, 40, 20, .08);color-scheme:light}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}h1,h2{margin:0}.app{max-width:640px;margin:0 auto;min-height:100vh;background:radial-gradient(120% 50% at 50% -10%,var(--glow),transparent 70%)}.app.with-nav{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.screen{padding:12px 16px 28px;animation:fade .18s ease-out}@keyframes fade{0%{opacity:0;transform:translateY(4px)}}.screen-title{font-size:24px;margin:6px 0 14px}.subhead{font-size:16px;margin:22px 0 10px}.muted{color:var(--text-muted)}.small{font-size:13px}.accent{color:var(--accent)}.success-text{color:var(--success)}.pre{white-space:pre-wrap;line-height:1.5;margin:8px 0 0}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row{display:flex;align-items:center}.row.between{justify-content:space-between;gap:12px}.row.gap{gap:8px;flex-wrap:wrap}.link{color:var(--accent);font-size:14px}.top{display:flex;align-items:center;justify-content:space-between;padding:4px 0 12px}.logo{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:1.5px}.icon-btn{display:grid;place-items:center;border:1px solid var(--border);background:var(--surface);width:40px;height:40px;border-radius:12px;font-size:18px;color:var(--accent)}.search{display:flex;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:0 14px;height:46px;transition:border-color .15s}.search:focus-within{border-color:var(--accent)}.search input{flex:1;border:0;outline:0;background:transparent;color:var(--text);font-size:15px;min-width:0}.search-clear{border:0;background:var(--surface-2);border-radius:50%;width:22px;height:22px;font-size:11px;cursor:pointer}.hero{padding:24px 2px 4px}.hero h1{font-size:27px;line-height:1.15;margin-bottom:8px}.eyebrow{margin:0 0 6px;display:inline-block;color:var(--accent-2);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:1.6px}.section{margin-top:24px}.section-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}.section-head h2{font-size:17px}.cat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cat-tile{min-width:0;display:flex;flex-direction:column;gap:2px;padding:14px;border-radius:16px;border:1px solid var(--border);background:var(--surface);transition:transform .12s,border-color .12s}.cat-tile:active{transform:scale(.98);border-color:var(--accent)}.cat-icon{font-size:22px;margin-bottom:4px}.cat-name{font-weight:700}.cat-hint{font-size:12px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grid-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(min-width:560px){.grid-products{grid-template-columns:repeat(3,minmax(0,1fr))}}.tile-product{display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:var(--surface);border:1px solid var(--border);transition:transform .12s}.tile-product:active{transform:scale(.98)}.muted-card{opacity:.6}.tile-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px;flex:1}.tile-name{font-size:14px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}.tile-price{display:flex;align-items:baseline;gap:6px;margin-top:auto}.tile-price b{color:var(--accent);font-size:16px}.tile-price s,.tile-price .from{color:var(--text-muted);font-size:12px}.art{display:block;width:100%;object-fit:cover;background:var(--surface-2)}.art-card{aspect-ratio:4 / 3}.art-hero{aspect-ratio:16 / 9;border-radius:18px}.art-thumb{width:48px;height:48px;border-radius:10px}.art-placeholder{position:relative;display:grid;place-items:center;background:radial-gradient(90% 90% at 20% 10%,hsla(var(--hue),80%,60%,.35),transparent 60%),radial-gradient(80% 80% at 90% 100%,rgba(255,122,26,.25),transparent 60%),var(--surface-2);overflow:hidden}.art-icon{font-size:34px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.35))}.art-hero .art-icon{font-size:54px}.art-label{position:absolute;left:10px;bottom:8px;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--text);opacity:.75}.chips{display:flex;gap:8px;overflow-x:auto;padding:12px 0 4px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{flex:none;border:1px solid var(--border);background:var(--surface);border-radius:999px;padding:8px 14px;font-size:14px;cursor:pointer;white-space:nowrap}.chip.active{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600}.toolbar{display:flex;align-items:center;gap:12px;margin:10px 0 14px}.toolbar select{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:8px 10px;font:inherit;font-size:14px}.toolbar .muted{margin-left:auto}.toggle{display:flex;align-items:center;gap:6px;font-size:14px}.toggle input{accent-color:var(--accent);width:16px;height:16px}.product-hero{position:relative}.fav-btn{position:absolute;top:10px;right:10px;width:42px;height:42px;border-radius:50%;border:0;background:#0e0f1399;color:#fff;font-size:20px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);cursor:pointer}.fav-btn.on{color:var(--accent)}.product-meta{margin-top:16px}.product-meta h1{font-size:22px;line-height:1.25;margin-bottom:10px}.block{margin-top:18px}.label{display:block;font-size:13px;color:var(--text-muted);margin-bottom:8px}.variant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.variant{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px;border-radius:14px;border:1.5px solid var(--border);background:var(--surface);cursor:pointer;text-align:left}.variant.active{border-color:var(--accent);box-shadow:0 0 0 3px var(--glow)}.variant.disabled{opacity:.45}.variant-name{font-weight:600}.variant-price{color:var(--accent);font-size:14px}.field{display:block;margin-bottom:12px}.field input{width:100%;height:46px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:0 14px;font:inherit;outline:none}.field input:focus{border-color:var(--accent)}.hint{display:block;font-size:12px;color:var(--text-muted);margin-top:6px}.price-row{display:flex;justify-content:space-between;align-items:center}.price-big{font-size:28px;font-weight:800;color:var(--accent)}.stepper{display:flex;align-items:center;border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden}.stepper button{width:42px;height:42px;border:0;background:transparent;font-size:18px;cursor:pointer}.stepper button:disabled{opacity:.3}.stepper span{min-width:28px;text-align:center;font-weight:600}.stepper.small button{width:34px;height:34px;font-size:15px}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:14px}details summary{cursor:pointer;font-weight:600;list-style:none}details summary:after{content:"▾";float:right;color:var(--text-muted)}details[open] summary:after{content:"▴"}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 18px;border-radius:14px;border:0;font-weight:700;font-size:15px;cursor:pointer;transition:transform .1s,opacity .15s}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.45;cursor:default}.btn-primary{background:linear-gradient(135deg,var(--accent-2),var(--accent));color:var(--on-accent);box-shadow:0 6px 18px var(--glow)}.btn-ghost{background:var(--surface);border:1px solid var(--border);color:var(--text)}.btn-danger{background:var(--danger);color:#fff}.btn-block{width:100%}.btn.small{height:34px;padding:0 12px;font-size:13px}.spinner{width:18px;height:18px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sticky-action{position:sticky;bottom:0;padding:12px 0 calc(12px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--bg) 70%,transparent);margin-top:16px}.with-nav .sticky-action{bottom:calc(68px + env(safe-area-inset-bottom))}.list{display:flex;flex-direction:column;gap:10px}.cart-line{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--surface);border:1px solid var(--border)}.cart-info{flex:1;min-width:0}.cart-title{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-price{color:var(--accent);font-weight:700;margin-top:4px}.methods{display:flex;flex-direction:column;gap:8px}.method{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;border:1.5px solid var(--border);background:var(--surface);text-align:left;cursor:pointer}.method.active{border-color:var(--accent);box-shadow:0 0 0 3px var(--glow)}.method.disabled{opacity:.55}.method-icon{font-size:24px}.method-body{display:flex;flex-direction:column}.method-title{font-weight:600}.summary{margin-top:16px;display:flex;flex-direction:column;gap:8px}.total-row{padding-top:8px;border-top:1px dashed var(--border);font-size:17px}.total-row b{color:var(--accent)}.order-row{display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:16px;background:var(--surface);border:1px solid var(--border)}.state-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;margin-bottom:12px;padding:22px 16px}.state-icon{font-size:40px}.state-title{font-size:18px;font-weight:700}.pulse{animation:pulse 1.6s ease-in-out infinite}@keyframes pulse{50%{transform:scale(1.12);opacity:.7}}.item-card{display:flex;flex-direction:column;gap:10px}.key-row{display:flex;gap:8px;align-items:center}.key{flex:1;min-width:0;padding:10px 12px;border-radius:10px;background:var(--surface-2);border:1px dashed var(--accent);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;word-break:break-all;-webkit-user-select:all;user-select:all}.balance-card{text-align:center;padding:20px;background:radial-gradient(100% 120% at 0% 0%,var(--glow),transparent 60%),var(--surface)}.segmented{display:flex;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:4px}.segmented button{flex:1;border:0;background:transparent;height:38px;border-radius:9px;cursor:pointer}.segmented button.active{background:var(--surface-2);font-weight:600;box-shadow:var(--shadow)}.badge{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}.badge-accent{background:var(--glow);color:var(--accent)}.badge-success{background:color-mix(in srgb,var(--success) 15%,transparent);color:var(--success)}.badge-warn{background:color-mix(in srgb,var(--warn) 15%,transparent);color:var(--warn)}.badge-muted{background:var(--surface-2);color:var(--text-muted)}.badge-ghost{border:1px solid var(--border);color:var(--text-muted)}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:48px 16px}.empty-icon{font-size:44px}.empty-title{font-size:17px;font-weight:700}.empty .btn{margin-top:10px}.skeleton{background:linear-gradient(90deg,var(--surface) 0%,var(--surface-2) 50%,var(--surface) 100%);background-size:200% 100%;animation:shimmer 1.2s infinite;border-radius:8px}.skeleton.line{height:14px;margin:4px 0}.skeleton.line.short{width:50%}@keyframes shimmer{to{background-position:-200% 0}}.toasts{position:fixed;left:50%;top:calc(12px + env(safe-area-inset-top));transform:translate(-50%);display:flex;flex-direction:column;gap:8px;z-index:50;width:min(92vw,420px)}.toast{padding:12px 16px;border-radius:14px;background:var(--surface-2);border:1px solid var(--border);box-shadow:var(--shadow);font-size:14px;animation:fade .2s ease-out}.toast-error{border-color:var(--danger)}.toast-success{border-color:var(--success)}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:640px;display:flex;background:color-mix(in srgb,var(--surface) 92%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);padding:6px 4px calc(6px + env(safe-area-inset-bottom));z-index:20}.bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:transparent;padding:6px 0;cursor:pointer;color:var(--text-muted)}.bottom-nav button.active{color:var(--accent)}.nav-icon{position:relative;font-size:20px;line-height:1}.bottom-nav button:not(.active) .nav-icon{filter:grayscale(.7);opacity:.8}.nav-label{font-size:11px;font-weight:600}.nav-badge{position:absolute;top:-6px;right:-12px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:11px;font-weight:700;display:grid;place-items:center}.chat-screen{display:flex;flex-direction:column;min-height:100vh;padding-bottom:0}.chat{flex:1;display:flex;flex-direction:column;gap:8px;padding-bottom:12px}.bubble{max-width:85%;padding:10px 12px;border-radius:16px;white-space:pre-wrap;word-break:break-word;line-height:1.4;font-size:15px}.bubble-in{align-self:flex-start;background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:4px}.bubble-out{align-self:flex-end;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:var(--on-accent);border-bottom-right-radius:4px}.bubble-author{font-size:12px;font-weight:700;color:var(--accent);margin-bottom:2px}.typing{letter-spacing:3px;color:var(--text-muted);animation:pulse 1.2s ease-in-out infinite}.chat-system{align-self:center;text-align:center;font-size:12px;color:var(--text-muted);max-width:90%}.chat-input{position:sticky;bottom:0;background:var(--bg);padding:8px 0 calc(12px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px}.chat-actions{display:flex;gap:8px;flex-wrap:wrap}.chat-compose{display:flex;gap:8px;align-items:flex-end}.chat-compose textarea{flex:1;resize:none;max-height:120px;font:inherit}.chat-closed{display:flex;flex-direction:column;gap:10px;align-items:center;margin-bottom:16px}.stars{display:flex;gap:6px}.stars button{font-size:26px;background:none;border:0;cursor:pointer}.chat-compose textarea.input{min-height:46px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:12px 14px;outline:none}.chat-compose textarea.input:focus{border-color:var(--accent)}.promo-row{display:flex;gap:8px;margin:16px 0 0}.promo-input{flex:1;min-width:0;height:46px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:0 14px;font:inherit;text-transform:uppercase}.bonus-card{display:flex;flex-direction:column;gap:14px}.review{padding:10px 0;border-top:1px solid var(--border)}.stars-view,.stars button.on{color:var(--accent-2)}.stars button{color:var(--border)}.rate-one{display:flex;flex-direction:column;gap:8px;padding:10px 0}.rate-one textarea{width:100%;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:10px 12px;font:inherit}
