:root{--bg:#101115;--surface:#20232b;--line:#30333b;--muted:#a3a4aa;--accent:#fff;--white:#f8f8fa;font-family:Arial,Helvetica,sans-serif}
body{background:var(--bg)}header{position:static;border:0;background:transparent}.top{max-width:760px;padding:22px 14px 14px}.logo{font-size:24px;letter-spacing:-.7px;font-weight:700}.tagline{font-size:11px;color:var(--muted);margin-top:5px}.header-cart{border:0;background:#252831;color:white;border-radius:14px;min-width:44px;height:42px;font-size:15px;display:flex;gap:6px;align-items:center;justify-content:center}.header-cart b{font-size:12px}
main{max-width:760px;padding:8px 14px 105px}.hero{border:0;background:none;padding:0;margin:8px 0 20px;border-radius:0}.hero h1{font-size:36px;letter-spacing:-1.1px;line-height:1.15;margin:0 0 6px;font-weight:700}.hero p{margin:0;max-width:none;font-size:14px;line-height:1.5}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{border:0;background:var(--surface);padding:9px;border-radius:18px;display:flex;flex-direction:column}.photo{border:0;padding:0;width:100%;height:auto;aspect-ratio:1/1;background:#fff;border-radius:14px;flex-shrink:0;margin:0 0 12px}.photo img{display:block;width:100%;height:100%;object-fit:contain;padding:10px}.brand{font-size:10px;letter-spacing:0;line-height:1.4;height:auto;min-height:14px;margin-bottom:8px}.name{background:none;border:0;color:var(--white);text-align:left;padding:0;font-size:15px;line-height:1.3;font-weight:700;min-height:39px}.pills{margin-top:10px;gap:4px}.pill{flex:0 0 auto;padding:5px 12px;border:0;background:none;color:#92949b;font-weight:700;border-radius:20px;min-height:30px}.pill.selected{background:#303137;color:white}.price{font-size:16px;margin:12px 0 10px}.primary{border-radius:24px;background:#fff;color:#16171b;font-size:14px;font-weight:400;min-height:40px;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:12px}.primary span{font-size:20px;line-height:14px}.primary:disabled{opacity:.4;cursor:default}.catalog-footnote{font-size:13px;color:var(--muted);line-height:1.5;margin:18px 0 0}.bottom-nav{background:#191c23;padding-top:13px;max-width:760px;margin:auto;gap:0}.bottom-nav button{min-height:44px}.bottom-nav button.active{color:white}.bottom-nav button small{font-size:11px}.bottom-nav button span{font-size:20px}.remove-item{display:block;background:none;border:0;padding:8px 0 0;color:#b5b6bd;font-size:12px;text-decoration:underline}.qty-controls button{min-width:36px;min-height:36px}.checkout .primary{margin-top:18px}.section-title{font-weight:650}.status{color:#d4d5dc}.profile-card,.admin-card,.cart-card,.order-card{background:var(--surface)}.eyeline{color:#bfc0c7}.secondary{min-height:42px}.admin-card input,.admin-card select{margin-top:5px}.admin-grid label{font-size:12px}dialog{color:var(--white);background:#20232b;border:1px solid #383b43;border-radius:24px;padding:24px;width:calc(100% - 28px);max-width:440px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:12px;top:12px;z-index:1;border:0;border-radius:50%;width:36px;height:36px;font-size:25px;background:#252831;color:white}.detail-photo{background:#fff;border-radius:16px;margin-bottom:20px;height:260px}.detail-photo img{width:100%;height:100%;object-fit:contain;padding:15px}.detail-prices{display:flex;gap:16px;margin:20px 0;font-size:14px}.detail-notes{color:#e3e3e8;font-size:14px;line-height:1.6}dialog h2{margin:8px 0 12px;font-size:26px}button:focus-visible{outline:2px solid white;outline-offset:3px}button:active:not(:disabled){transform:translateY(1px)}#toast{background:#fff;color:#111}
@media(max-width:450px){.hero h1{font-size:29px}.hero p{font-size:12px}.logo{font-size:22px}.photo{aspect-ratio:1/1.12}.name{font-size:13px;min-height:34px}.brand{font-size:8px;min-height:22px;margin-bottom:4px}.pill{font-size:11px;padding:4px 9px}.price{font-size:14px}.product{padding:8px;border-radius:16px}.primary{font-size:12px}.grid{gap:8px}}
.phone-hint{font-size:11px;line-height:1.5;color:var(--muted);margin:7px 0}.phone-error{font-size:12px;color:#f0a6a6;min-height:16px;margin:4px 0}input[aria-invalid="true"]{border-color:#e98c8c;box-shadow:0 0 0 2px #e98c8c18}
button,input,select,textarea{transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .18s ease,opacity .2s ease}.primary:hover:not(:disabled){background:#e4e5e9}.primary:active:not(:disabled){transform:scale(.97)}.photo img{transition:transform .45s cubic-bezier(.2,.7,.2,1)}.photo:hover img{transform:scale(1.035)}.bottom-nav button.active{transform:translateY(-2px)}#app{animation:screen-in .28s ease both}.product{animation:card-in .4s cubic-bezier(.2,.7,.2,1) both}.product:nth-child(2){animation-delay:.05s}.product:nth-child(3){animation-delay:.1s}.cart-card,.profile-card,.order-card{animation:screen-in .3s ease both}dialog[open]{animation:dialog-in .25s cubic-bezier(.2,.7,.2,1) both}dialog[open]::backdrop{animation:backdrop-in .25s ease both}.status{display:inline-block;background:#ffffff0c;padding:5px 9px;border-radius:20px}#toast{transition:opacity .22s ease,translate .22s ease;translate:0 6px}#toast.visible{translate:0 0}@keyframes screen-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}@keyframes card-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes dialog-in{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.cart-flight{position:fixed;z-index:100;pointer-events:none;background:white;border:0;border-radius:14px;overflow:hidden;padding:0;box-shadow:0 16px 40px #0005;transform-origin:center}.cart-flight img{height:100%;width:100%;object-fit:contain;padding:10px}

.bottom-nav button{position:relative;gap:6px;padding:6px 12px;border-radius:14px;transition:color .22s ease,background-color .22s ease,transform .22s ease}.bottom-nav button svg{width:23px;height:23px;flex-shrink:0;transition:transform .22s ease,stroke-width .22s ease}.bottom-nav button.active{background:#ffffff08;transform:none}.bottom-nav button.active svg{stroke-width:2;transform:translateY(-1px)}.bottom-nav button:hover{color:#eee}.bottom-nav button:active{transform:scale(.95)}.bottom-nav{gap:6px;padding-left:14px;padding-right:14px}.bottom-nav button small{font-size:10px;letter-spacing:.1px}

.profile-identity{display:flex;gap:16px;align-items:center}.profile-avatar{height:58px;width:58px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#494e5e,#2d303a);color:white;font-size:20px;font-weight:600}.profile-identity h2{margin:0 0 6px;font-size:21px;overflow-wrap:anywhere}.profile-username{font-size:13px;color:#afb3bf;overflow-wrap:anywhere}

.order-contact{display:grid;gap:7px;margin:16px 0;font-size:13px;overflow-wrap:anywhere}.order-contact a{color:white;text-decoration:underline;text-underline-offset:3px}

#product-dialog{max-width:540px;padding:0;background:#171a20;border-radius:24px;scroll-behavior:smooth}#product-dialog .detail-photo{height:290px;border-radius:24px 24px 0 0;margin:0;background:#fff}#product-dialog .detail-photo img{padding:24px}.detail-content{padding:24px 24px 8px}.detail-content h2{font-size:30px;letter-spacing:-.6px;margin-bottom:14px}.fragrance-tags{display:flex;flex-wrap:wrap;gap:6px}.fragrance-tags span{font-size:10px;background:#ffffff09;border:1px solid #ffffff12;border-radius:20px;padding:6px 9px;color:#c8cad2}.fragrance-family{font-size:13px;color:#d7d9df;line-height:1.7;margin:14px 0 0}.story-section{padding:22px 0;border-bottom:1px solid #ffffff0c}.story-section h3,.decant-info h3{font-size:17px;line-height:1.4;font-weight:600;margin:0 0 12px}.story-section p,.decant-info p{font-size:13px;line-height:1.8;color:#b7bac5;margin:0}.note-pyramid{display:grid;gap:10px}.note-layer{display:flex;gap:13px;padding:16px 14px;background:#22262e;border-radius:14px}.note-step{font-size:11px;letter-spacing:1px;color:#757d8c;padding-top:3px}.note-layer h4{font-size:11px;font-weight:400;color:#a6adba;margin:0 0 10px}.note-chips{display:flex;flex-wrap:wrap;gap:6px}.note-chips span{border-radius:20px;background:#ffffff08;padding:6px 10px;font-size:12px;color:#f1f1f3}.notes-source{display:block;margin-top:14px;font-size:10px;color:#9299a7;text-underline-offset:3px}.wear-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.wear-grid div{padding:14px;border-radius:12px;background:#ffffff04}.wear-grid div:last-child{grid-column:1/-1}.wear-grid small{display:block;color:#868e9d;font-size:10px;margin-bottom:7px}.wear-grid b{font-size:12px;font-weight:400;line-height:1.6;display:block}.story-section .wear-note{font-size:10px;color:#838b9a;line-height:1.6}.decant-info{margin:20px 0;padding:16px;border:1px solid #ffffff12;border-radius:14px}.decant-info h3{font-size:13px}.decant-info p{font-size:11px}.detail-buy{position:sticky;bottom:0;padding:14px 24px 18px;background:#1d2129;border-top:1px solid #ffffff14;z-index:2}.detail-volumes{display:flex;align-items:center;gap:8px;margin-bottom:12px}.detail-volumes .pill{border:1px solid #ffffff14;padding:8px 17px}.detail-volumes .pill.selected{background:#fff;color:#111}.detail-volumes b{margin-left:auto;font-size:20px}.detail-buy>small{display:block;text-align:center;color:#858d9c;margin-top:9px;font-size:10px}.detail-buy .primary{font-size:13px;font-weight:600}.dialog-close{position:sticky;float:right;margin:12px 12px -48px 0;top:12px;background:#20232bde;right:auto}@media(max-width:450px){#product-dialog .detail-photo{height:230px}.detail-content{padding:20px 18px 8px}.detail-content h2{font-size:26px}.detail-buy{padding:12px 18px 16px}}
body:has(dialog[open]){overflow:hidden}@media(prefers-reduced-motion:reduce){#product-dialog{scroll-behavior:auto}}

.admin-actions{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:14px}.delete-product{border:1px solid #a85a5a55;background:#a85a5a0d;color:#e5aaaa;border-radius:10px;padding:11px 14px;min-height:42px;font-size:12px}.delete-product:hover{background:#a85a5a25}

.telegram-checkout{padding:17px;border-radius:16px;border:1px solid #ffffff14;background:#ffffff04;margin:18px 0}.telegram-checkout b{font-size:14px}.telegram-checkout p{font-size:12px;line-height:1.7;color:#aeb4c1;margin:8px 0}.telegram-checkout span{font-size:13px;color:white}

.draft-badge{display:inline-block;color:#d5bd8a;background:#d5bd8a12;border-radius:20px;padding:6px 10px;font-size:11px;margin-bottom:14px}.admin-draft-photo{height:180px;background:white;border-radius:14px;margin:10px 0}.admin-draft-photo img{width:100%;height:100%;object-fit:contain;padding:12px}
