@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=PT+Serif:wght@700&display=swap";:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only;--bg:#f4ece0;--surface:#fff;--surface-muted:#faf7f1;--text:#201a14;--muted:#201a1499;--faint:#201a1473;--line:#201a1424;--line-strong:#201a143d;--primary:#171310;--primary-soft:#332b22;--danger:#a3402b;--success:#1f6c45;--pill:#e9dfc9;--radius:20px;--radius-sm:12px;--shadow-card:0 12px 28px -18px #201a1459;--font-ui:"Inter", system-ui, sans-serif;--font-display:"PT Serif", Georgia, serif;font-family:var(--font-ui);color:var(--text);background-color:var(--bg);-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.55}*{box-sizing:border-box}html,body,#root{width:100%;max-width:100%}body{background:var(--bg);min-height:100vh;margin:0;overflow-x:hidden}h1,h2,h3,.logo{font-family:var(--font-display);letter-spacing:-.01em}a{color:var(--text);text-decoration:none}a:hover{color:#5a4c3c}.layout{flex-direction:column;min-height:100vh;display:flex}.header{z-index:30;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f4ece0f0;border-bottom:1px solid #17131014;justify-content:space-between;align-items:center;gap:1rem;padding:1.2rem clamp(1rem,3.8vw,3.5rem);display:flex;position:sticky;top:0}.header-brand{flex-direction:column;gap:.2rem;display:flex}.logo{font-size:1.7rem;font-weight:700}.brand-subtitle{color:var(--faint);text-transform:uppercase;letter-spacing:.08em;margin:0;font-size:.76rem}.nav{flex-wrap:wrap;align-items:center;gap:.95rem;display:flex}.nav-link{font:500 .9rem var(--font-ui);color:#201a14c7;border-radius:999px;align-items:center;gap:.45rem;padding:.45rem .8rem;transition:background .2s,color .2s;display:inline-flex}.nav-link:hover{color:var(--text);background:#ffffff73}.nav-link.active{background:var(--surface);color:var(--text);box-shadow:inset 0 0 0 1px #1713101a}.token-pill{background:var(--pill);color:var(--text);border-radius:999px;padding:.2rem .55rem;font-size:.72rem;font-weight:700}.main{flex:1;width:100%;max-width:1440px;margin:0 auto;padding:clamp(.85rem,2vw,1.6rem) clamp(.9rem,2.2vw,2.6rem) clamp(1rem,2vw,2.2rem)}.main>*{min-width:0}.page-title{margin:0 0 1.6rem;font-size:clamp(2rem,4vw,2.8rem)}.page-subtitle{margin:0 0 .8rem;font-size:clamp(1.8rem,3.4vw,2.2rem)}.panel{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-card);border:1px solid #17131014}.muted{color:var(--muted);margin:0;font-size:.93rem}.error{color:var(--danger);margin:0;font-weight:500}.success{color:var(--success);margin:.9rem 0 0;font-weight:600}.label{text-transform:uppercase;letter-spacing:.07em;color:var(--faint);margin:0;font-size:.72rem;font-weight:700}.empty{text-align:center;border:1px dashed var(--line-strong);border-radius:var(--radius);background:#ffffff80;justify-items:center;gap:.8rem;padding:3rem 1.2rem;display:grid}.button{background:var(--primary);color:#fff;font:700 .86rem var(--font-ui);letter-spacing:.02em;cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;margin-top:.5rem;padding:.72rem 1.4rem;transition:transform .12s,background .2s;display:inline-flex}.button:hover{background:var(--primary-soft);color:#fff;transform:translateY(-1px)}.button.secondary{color:var(--primary);border:1px solid var(--primary);background:0 0}.button.secondary:hover{color:var(--primary);background:#1713100f}.button.small{margin-top:0;padding:.54rem .95rem;font-size:.74rem}.button:disabled{cursor:not-allowed;opacity:.6;transform:none}.auth-user{color:var(--faint);font-size:.86rem}.auth-logout{margin-top:0;padding:.55rem .95rem}label{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;flex-direction:column;gap:.42rem;font-size:.78rem;font-weight:700;display:flex}input[type=text],input[type=password],input[type=number],input[type=file],input[inputmode],textarea,select{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-muted);width:100%;color:var(--text);font:500 .9rem var(--font-ui);padding:.76rem .94rem}input:focus,textarea:focus,select:focus{border-color:var(--line-strong);outline:none;box-shadow:0 0 0 3px #17131014}textarea{resize:vertical;min-height:5.2rem}.catalog-page{gap:1rem;display:grid}.catalog-filters{gap:.8rem;padding:1.15rem;display:grid}.catalog-filters-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;display:grid}.catalog-filters-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;display:flex}.catalog-toolbar{justify-content:space-between;align-items:center;display:flex}.store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.store-card{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-card);border:1px solid #17131014;flex-direction:column;display:flex;overflow:hidden}.store-card-media-wrap{position:relative}.store-card-media{aspect-ratio:4/3;background:#efe6d6;display:block;overflow:hidden}.store-card-media img{object-fit:cover;width:100%;height:100%;transition:transform .28s;display:block}.store-card:hover .store-card-media img{transform:scale(1.03)}.icon-heart{width:2.25rem;height:2.25rem;color:var(--primary);cursor:pointer;background:#fffffff0;border:none;border-radius:999px;place-items:center;display:grid;position:absolute;top:.7rem;right:.7rem;box-shadow:0 2px 10px #17131029}.icon-heart svg{width:1.1rem;height:1.1rem}.icon-heart.active{color:#c23b2e}.icon-heart.inline{box-shadow:none;border:1px solid var(--line);position:static}.store-card-body{flex-direction:column;gap:.58rem;height:100%;padding:1.1rem 1rem 1rem;display:flex}.store-card-category,.category-pill{background:var(--pill);color:#201a14d1;border-radius:999px;align-items:center;width:fit-content;margin:0;padding:.28rem .68rem;font-size:.73rem;font-weight:700;display:inline-flex}.category-pill.large{margin-bottom:.4rem}.store-card-title{color:var(--text);margin:0;font-size:.93rem;font-weight:600}.store-card-description{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.84rem;display:-webkit-box;overflow:hidden}.store-card-footer{justify-content:space-between;align-items:center;gap:.6rem;margin-top:auto;display:flex}.store-card-price,.price{font:700 1.05rem var(--font-display);margin:0}.price.large{font-size:1.4rem}.filter-error{margin:0}.product-page{gap:.8rem;display:grid}.crumbs{color:var(--muted);font-size:.8rem}.product-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:.8rem;padding:.75rem;display:grid}.gallery{flex-direction:column;gap:.7rem;display:flex}.gallery-main{background:#efe6d6;border-radius:16px;overflow:hidden}.gallery-main img{object-fit:contain;width:100%;max-height:min(42vh,360px);margin:0 auto;display:block}.thumbs{flex-wrap:wrap;gap:.45rem;display:flex}.thumb{cursor:pointer;background:#fff;border:2px solid #0000;border-radius:10px;width:62px;height:48px;padding:0;overflow:hidden}.thumb img{object-fit:cover;width:100%;height:100%}.thumb.active{border-color:var(--primary)}.product-info{min-width:0;padding:.25rem .3rem}.product-info h1{margin:.1rem 0 .45rem;font-size:clamp(1.3rem,2.8vw,1.9rem)}.product-info-wide{flex-direction:column;gap:.5rem;display:flex}.description{color:var(--muted);white-space:pre-wrap;margin:0}.product-actions{flex-wrap:wrap;gap:.45rem;margin-top:.2rem;display:flex}.product-actions-grid .button{margin-top:0}.try-room{gap:.55rem;padding:.8rem;display:grid}.try-room h2{margin:0;font-size:1.3rem}.try-room-layout{grid-template-columns:minmax(160px,240px) minmax(0,1fr);gap:.65rem;display:grid}.try-room-preview{background:#efe6d6;border-radius:16px;min-height:160px;overflow:hidden}.try-room-preview img,.try-result-image img{object-fit:cover;width:100%;height:100%;display:block}.try-form{gap:.42rem;max-width:none;display:grid}.try-form textarea{min-height:2.6rem}.try-form input[type=text],.try-form input[type=file],.try-form textarea{padding:.5rem .64rem;font-size:.8rem}.try-form .button{justify-self:end;margin-top:0}.try-result{background:#efe6d6;grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);gap:.75rem;padding:.75rem;display:grid}.try-result-image{background:#fff;border-radius:14px;overflow:hidden}.try-result-info{flex-direction:column;gap:.55rem;display:flex}.try-result-info h3{margin:0;font-size:1.2rem}.other-products{gap:.45rem;display:grid}.other-products-head h2{margin:0;font-size:1.12rem}.other-products-wrap{position:relative}.other-products-track{scroll-snap-type:x mandatory;gap:.6rem;padding:.1rem .2rem .35rem;display:flex;overflow-x:auto}.other-product-card{scroll-snap-align:start;box-shadow:var(--shadow-card);background:#fff;border:1px solid #17131014;border-radius:14px;flex:0 0 168px;overflow:hidden}.other-product-media-wrap{position:relative}.other-product-media{aspect-ratio:4/3;background:#efe6d6;display:block;overflow:hidden}.other-product-media img{object-fit:cover;width:100%;height:100%;transition:transform .28s;display:block}.other-product-card:hover .other-product-media img{transform:scale(1.03)}.other-product-body{padding:.5rem .58rem .58rem}.other-product-title{-webkit-line-clamp:1;-webkit-box-orient:vertical;margin-bottom:.16rem;font-size:.73rem;font-weight:600;display:-webkit-box;overflow:hidden}.other-product-body .price{font-size:.92rem}.carousel-nav{cursor:pointer;width:2.5rem;height:2.5rem;color:var(--text);z-index:2;background:#fff;border:none;border-radius:999px;font-size:1.4rem;position:absolute;top:42%;box-shadow:0 6px 18px #201a1440}.carousel-nav.prev{left:.35rem}.carousel-nav.next{right:.35rem}.cart-page,.checkout-page,.cabinet-page,.buy-page,.favorites-page,.admin-page{gap:1rem;display:grid}.cart-list{display:grid}.cart-row{border-bottom:1px solid #17131012;grid-template-columns:84px minmax(0,1fr) auto auto auto;align-items:center;gap:.9rem;padding:.95rem 1rem;display:grid}.cart-row:last-child{border-bottom:none}.cart-row-media{background:#efe6d6;border-radius:10px;width:84px;height:84px;overflow:hidden}.cart-row-media img{object-fit:cover;width:100%;height:100%}.cart-row-info{min-width:0}.cart-row-title{text-overflow:ellipsis;white-space:nowrap;margin-bottom:.18rem;font-weight:600;display:block;overflow:hidden}.cart-row-qty{align-items:center;gap:.4rem;display:inline-flex}.cart-row-total{font:700 1rem var(--font-display);margin:0}.cart-total{justify-content:space-between;align-items:center;padding:1rem 1.2rem;display:flex}.cart-total strong{font:700 1.35rem var(--font-display)}.checkout-button{width:fit-content}.checkout-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:1rem;display:grid}.checkout-form{gap:.8rem;padding:1.2rem;display:grid}.checkout-payment{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text);padding:.8rem .9rem;font-size:.9rem;font-weight:600}.checkout-summary{padding:1.2rem}.checkout-summary h2{margin:0 0 .9rem;font-size:1.3rem}.checkout-summary-list{gap:.62rem;display:grid}.checkout-summary-row{justify-content:space-between;gap:.6rem;font-size:.9rem;display:flex}.checkout-summary-row span{min-width:0}.checkout-summary-total{border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:1rem;padding-top:.85rem;display:flex}.checkout-summary-total strong{font:700 1.2rem var(--font-display)}.cabinet-balance{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1.4rem;display:flex}.cabinet-balance-value{font:700 clamp(2.4rem, 7vw, 3.4rem) / 1 var(--font-display);margin:.3rem 0 .35rem}.cabinet-history-head{justify-content:space-between;align-items:end;gap:.7rem;display:flex}.cabinet-history-head h2{margin:0;font-size:1.4rem}.cabinet-history-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;display:grid}.cabinet-history-card{overflow:hidden}.cabinet-history-image{aspect-ratio:16/10;background:#efe6d6}.cabinet-history-image img{object-fit:cover;width:100%;height:100%;display:block}.cabinet-history-body{gap:.45rem;padding:.85rem;display:grid}.cabinet-history-title{font-weight:600}.status-pill{width:fit-content;color:var(--muted);background:#201a1414;border-radius:999px;padding:.2rem .6rem;font-size:.72rem;font-weight:700;display:inline-flex}.status-pill.liked{color:#fff;background:var(--primary)}.status-pill.redo{color:#8a5a2b;background:#8a5a2b1f}.cabinet-history-actions{flex-wrap:wrap;gap:.45rem;display:flex}.buy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.buy-card{background:#fff;border:1px solid #17131014;border-radius:24px;gap:.7rem;padding:1.6rem 1.45rem;display:grid}.buy-card.highlighted{background:var(--primary);color:#fff}.buy-card.highlighted .label,.buy-card.highlighted .buy-card-tokens{color:#ffffffbf}.buy-card-price{font:700 2.2rem var(--font-display);margin:0}.buy-card-tokens{color:var(--muted);margin:0}.admin-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;display:flex}.admin-filters{grid-template-columns:2fr 1fr;gap:.7rem;padding:1rem;display:grid}.admin-table{overflow-x:auto}.admin-row{border-bottom:1px solid #17131012;grid-template-columns:70px minmax(0,2fr) minmax(120px,1fr) minmax(92px,1fr) 170px;align-items:center;gap:.8rem;padding:.85rem 1rem;font-size:.88rem;display:grid}.admin-row:last-child{border-bottom:none}.admin-row-head{text-transform:uppercase;letter-spacing:.06em;color:var(--faint);background:#e9dfc94d;font-size:.73rem;font-weight:700}.admin-photo{background:#efe6d6;border-radius:8px;width:54px;height:54px;overflow:hidden}.admin-photo img{object-fit:cover;width:100%;height:100%}.admin-link-title{min-width:0;font-weight:600;display:block}.admin-actions{flex-wrap:wrap;gap:.6rem;display:flex}.link-danger{color:var(--danger);font:inherit;cursor:pointer;background:0 0;border:none;padding:0}.card-block{box-shadow:var(--shadow-card);background:#fff;border:1px solid #17131014;border-radius:24px}.form-card{max-width:820px;margin:0 auto;padding:1.5rem 1.4rem}.form-card h1{margin:0;font-size:1.9rem}.form{gap:.85rem;display:grid}.login-wrap{place-items:center;min-height:calc(100vh - 5rem);padding:1rem;display:grid}.login-card{width:100%;max-width:430px;box-shadow:var(--shadow-card);background:#fff;border:1px solid #1713101a;border-radius:24px;gap:.85rem;padding:1.35rem;display:grid}.login-card h1{margin:0}.auth-switch{color:var(--muted);margin:0;font-size:.9rem}.placeholder{width:100%;height:100%;color:var(--faint);text-align:center;place-items:center;padding:.35rem;font-size:.83rem;display:grid}.placeholder.large{min-height:250px}@media (width<=1160px){.store-grid,.cabinet-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-top{grid-template-columns:1fr}}@media (height<=900px) and (width>=901px){.header{padding-top:.78rem;padding-bottom:.78rem}.logo{font-size:1.48rem}.brand-subtitle{font-size:.68rem}.nav-link{padding:.36rem .65rem;font-size:.82rem}.auth-user{font-size:.8rem}.auth-logout{padding:.44rem .78rem}.main{padding-top:.65rem;padding-bottom:.7rem}.product-page{gap:.55rem}.product-top{gap:.62rem;padding:.62rem}.gallery-main img{max-height:min(32vh,255px)}.thumb{width:54px;height:42px}.product-info h1{margin:0;font-size:1.45rem}.product-actions{gap:.36rem}.product-actions .button{padding:.52rem .9rem;font-size:.76rem}.try-room{gap:.45rem;padding:.65rem}.try-room-layout{grid-template-columns:140px minmax(0,1fr);gap:.5rem}.try-room-preview{min-height:120px}.try-form{gap:.3rem}.try-form label{gap:.28rem;font-size:.64rem}.try-form input[type=text],.try-form input[type=file],.try-form textarea{padding:.4rem .56rem;font-size:.75rem}.try-form textarea{min-height:2rem}.try-form .button{justify-self:end}.other-products{gap:.35rem}.other-products-head .muted{display:none}.other-products-track{padding-bottom:.25rem}.other-product-card{flex-basis:150px}.carousel-nav{width:2rem;height:2rem;font-size:1.1rem}}@media (width<=900px){.header{flex-direction:column;align-items:flex-start}.catalog-filters-grid,.checkout-layout,.try-room-layout,.try-result,.buy-grid,.admin-filters{grid-template-columns:1fr}.cart-row{grid-template-columns:72px minmax(0,1fr);gap:.75rem}.cart-row-media{width:72px;height:72px}.cart-row-qty,.cart-row-total,.cart-row .button.secondary.small{grid-column:2;justify-self:start}.admin-row,.admin-row-head{grid-template-columns:56px 1fr}.admin-row span:nth-child(n+3),.admin-row-head span:nth-child(n+3){display:none}}@media (width<=680px){.main{padding:.95rem .8rem 2.8rem}.store-grid,.cabinet-history-grid{grid-template-columns:1fr}.cart-row{grid-template-columns:64px 1fr;gap:.7rem}.cart-row-qty,.cart-row-total{grid-column:2}.cart-row .button.secondary.small{grid-column:2;width:fit-content}.carousel-nav{display:none}}
