@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@400;500;600;700&display=swap');
:root{--ink:#2c1c12;--muted:#d4bda5;--paper:#fff5e7;--accent:#e5bd85;--line:#b8946c;--safe-bottom:max(env(safe-area-inset-bottom),var(--tg-content-safe-area-inset-bottom,0px));color-scheme:dark}*{box-sizing:border-box}body{margin:0;min-width:0;background:radial-gradient(ellipse at 15% 20%,#513521,#281a13 70%);color:#fff0dc;font:15px/1.5 Manrope,Arial,sans-serif}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{border:0;cursor:pointer;color:inherit;background:transparent;min-height:44px;padding:10px 14px;transition:transform .15s,filter .15s,background .2s}button:active{transform:scale(.96);filter:brightness(1.1)}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #bd8f54;outline-offset:3px}button svg{width:20px;height:20px;display:block}a{color:inherit;text-underline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;line-height:1.08}h1{font-size:42px}h1 em,h2 em{color:#e5c69f;font-weight:400}h2{font-size:30px}h3{font-size:25px}p+p{margin-top:10px}small,.muted{font-size:12px;color:var(--muted);line-height:1.5}.centered{text-align:center}.hidden,[hidden]{display:none!important}.full{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:50px;padding:12px 16px;border-radius:8px;background:linear-gradient(115deg,#eed5ae,#d3a46e);color:var(--ink);font-weight:600}.outlined,.light{border:1px solid #b8946c66;background:transparent;color:inherit;border-radius:24px}.text-button{padding:7px 0;min-height:36px;text-decoration:underline;text-underline-offset:4px;font-size:12px}.eyebrow,.step{font-size:10px;letter-spacing:1.7px;color:#d5b48c}.step{color:#81603e;margin-bottom:7px}.review-banner{padding:6px 12px;text-align:center;background:#f2dfbf;color:var(--ink);font-size:11px}
header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;max-width:900px;margin:auto;padding:10px 18px;background:#2d1e16f5;border-bottom:1px solid #ad845c22;backdrop-filter:blur(12px);padding-top:max(10px,var(--tg-content-safe-area-inset-top,0px))}.brand{font:33px/.9 'Cormorant Garamond',Georgia;padding:0;text-align:left;margin-right:auto;min-height:44px}.brand small{display:block;font:6px/1.3 Manrope,Arial;letter-spacing:2px;margin-top:9px;color:#f1d8b8}.header-cart{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:10px 12px;border-radius:16px;background:#ecd1a9;color:var(--ink);font-size:12px;white-space:nowrap}.icon-button{font-size:19px;padding:7px;min-width:38px}#quickMenu{position:fixed;z-index:30;right:12px;top:76px;max-width:calc(100% - 24px);width:320px;max-height:calc(var(--tg-viewport-stable-height,100dvh) - 155px);overflow:auto;padding:12px 18px;border:1px solid #b18c6055;border-radius:14px;background:#332218;box-shadow:0 12px 35px #0006}#quickMenu button{display:block;width:100%;text-align:left;border-bottom:1px solid #b18c6033;padding:12px 0}main{max-width:900px;margin:auto;padding:18px 18px calc(94px + var(--safe-bottom));min-height:65vh}.tabs{position:fixed;z-index:25;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:6px;background:#2d1e16f5;border-top:1px solid #ad845c33;padding:8px 12px calc(8px + var(--safe-bottom));backdrop-filter:blur(12px)}.tabs button{flex:1;max-width:200px;font-size:12px;border-radius:18px;color:#d5bda3;white-space:nowrap}.tabs .selected{background:#f0d5af;color:var(--ink)}body.keyboard-open .tabs{display:none}.catalog-heading{text-align:center;margin-bottom:18px}.catalog-heading h1{font-size:34px;margin:10px 0}.city-button{padding:4px 0;min-height:32px;color:#e5c69f;font-size:12px}.gift{font-size:11px;color:#d4bda5}.category-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border:1px solid #b8946c55;border-radius:25px;margin:16px auto;max-width:430px}.category-tabs button{font-size:13px;border-radius:20px;min-height:40px;padding:8px}.category-tabs [aria-pressed=true]{background:#ecd1a9;color:var(--ink)}
.carousel{max-width:680px;margin:auto}.scene{position:relative;height:230px;display:grid;align-items:center;isolation:isolate}.scene::before{content:'';position:absolute;inset:10% 12%;background:radial-gradient(ellipse,#c4884e22,transparent 65%);z-index:-1}.carousel-art{width:100%;height:100%;object-fit:contain;max-height:230px;filter:drop-shadow(0 6px 12px #160c0933);animation:drift 8s ease-in-out infinite}.scene button{position:absolute;top:50%;transform:translateY(-50%);border:1px solid #e1bb8666;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;background:#33221888;z-index:2}.scene button:first-of-type{left:0}.scene button:last-of-type{right:0}.scene button:active{transform:translateY(-50%) scale(.94)}.carousel-tools{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#cbb093;letter-spacing:1.5px;min-height:44px}.dots{display:flex}.dots button{position:relative;width:30px;padding:0}.dots button::after{content:'';display:block;width:5px;height:5px;margin:auto;border-radius:50%;background:#8e7154}.dots [aria-pressed=true]::after{background:#ffe1b5;box-shadow:0 0 0 2px #e5bd8522}.pause{border:1px solid #b8946c55;border-radius:50%;padding:0;width:38px;min-height:38px;letter-spacing:0}.product-info{text-align:center;display:grid;gap:10px}.product-info .eyebrow{font-size:9px}.product-info h2{font-size:36px}.product-copy{font-size:14px;color:#d4bda5;max-width:420px;margin:auto}.flavor-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 16px;color:#e2ccb1;font-size:11px}.flavor-tags span::before{content:'•';margin-right:6px;color:#e5bd85}.detail-link{width:100%;border-bottom:1px solid #b8946c44;border-radius:0;font-size:13px}.set-options{display:grid;grid-template-columns:repeat(var(--set-count),minmax(0,1fr));gap:6px}.set-options button{font-size:11px;border:1px solid #b8946c55;border-radius:4px;padding:8px 3px;min-width:0}.set-options [aria-pressed=true]{border-color:#e5bd85;background:#d5a76c22;color:#fff0dc}.buy{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:12px 18px;background:linear-gradient(110deg,#f0d4a6,#d7a66a);color:#332014;border-radius:4px;font-weight:600}.buy .qty{width:100%;justify-content:center}.buy .qty button{color:inherit}.bonus-reward{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;margin:auto;border:1px solid #c59b4c66;border-radius:20px;background:#eac46a;color:#49300f;font-size:10px;min-height:25px}.bonus-reward strong{font-size:12px}.loyalty-invite{display:block;width:100%;margin:24px 0 12px;padding:18px;border:1px solid #c59b4c77;border-radius:14px;background:linear-gradient(115deg,#efd3a0,#cda064,#efd9b2);color:#422c1c;text-align:left;box-shadow:0 5px 20px #b7843522}.loyalty-invite strong,.loyalty-invite span{display:block}.loyalty-invite strong{font-size:17px;margin-bottom:6px}.loyalty-invite span{font-size:12px}.loyalty-invite .invite-link{margin-top:10px;font-weight:600}.help-link{display:block;margin:auto}.page-heading{margin:4px 0 20px}.page-heading .eyebrow{margin-bottom:10px}.page-heading h1{margin-bottom:9px}.page-heading p:not(.eyebrow){font-size:13px;color:#d4bda5}
.checkout-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);gap:18px;align-items:start}.checkout-grid>*,.panel{min-width:0}.panel,.registration-block{background:var(--paper);color:var(--ink);border:1px solid #e5bd8533;border-radius:14px;padding:20px 16px;margin-bottom:16px}.panel h2{margin-bottom:16px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px;flex-wrap:wrap}.panel-heading h2{margin:0;font-size:28px}.panel-heading .text-button{margin-left:auto;font-size:11px}.cart-product{display:grid;grid-template-columns:66px minmax(0,1fr);grid-template-areas:'art title' 'qty cost' 'remove remove';align-items:center;gap:6px 12px;padding:14px 0;border-bottom:1px solid #9d785533}.cart-product:last-child{border:0}.cart-art{grid-area:art;width:66px;height:70px;object-fit:contain}.cart-title{grid-area:title}.cart-title h3{font:600 15px/1.35 Manrope,Arial;margin:0 0 5px}.cart-title p{font-size:12px;line-height:1.45;color:#66503d}.qty{grid-area:qty;display:flex;align-items:center;justify-content:center;gap:0;border:1px solid #b8946c66;border-radius:24px;width:112px;min-height:44px}.qty button{display:grid;place-items:center;width:40px;height:42px;min-height:42px;padding:0;font:23px/1 Arial}.qty span{display:grid;place-items:center;min-width:28px;height:42px;font-size:15px;font-variant-numeric:tabular-nums}.cart-cost{grid-area:cost;justify-self:end;font-size:17px;white-space:nowrap}.remove{grid-area:remove;justify-self:end;min-height:30px;padding:3px 0;font-size:11px;text-decoration:underline;color:#66503d}.gift-note{border-top:1px solid #9d785533;padding-top:12px;margin-top:8px;font-size:11px;color:#66503d}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.total{border-top:1px solid #b8946c55;padding-top:14px;font-size:17px}.panel label,.registration-block label{display:block;font-size:14px;font-weight:500;margin:16px 0 7px}.panel input:not([type=checkbox]),.panel textarea,.panel select,.registration-block input{width:100%;max-width:100%;min-height:48px;border:1px solid #b8946c;border-radius:8px;padding:11px 12px;background:#fffdf8;color:var(--ink);font:16px/1.5 Manrope,Arial;outline-color:#a17543;color-scheme:light}.panel input::placeholder{color:#8b7864}.phone-field{display:flex;align-items:center;border:1px solid #b8946c;border-radius:8px;background:#fffdf8;color:var(--ink);overflow:hidden}.phone-field>span{padding-left:13px;flex:none;font-size:16px}.panel .phone-field input{border:0!important;border-radius:0!important;min-width:0;padding-left:10px}.phone-field:focus-within{outline:2px solid #a17543;outline-offset:2px}.phone-field input:focus-visible{outline:0}.panel .check,.check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;font-weight:400}.check input{width:19px!important;height:19px;min-height:19px!important;padding:0;flex:none;margin:0;accent-color:#684630}.panel .muted,.panel .field-hint,.panel small,.registration-block .field-hint{color:#66503d}.field-hint{font-size:12px;line-height:1.5;margin-top:9px}.field-error{font-size:12px;color:#982c24;margin-top:5px}.field-error:empty{display:none}[aria-invalid=true]{border-color:#982c24!important}.method-options,.slot-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.method-options button,.slot-options button{border:1px solid #b8946c;border-radius:10px;padding:11px;text-align:left;color:var(--ink);background:#fffdf8;font-size:14px;min-height:58px}.method-options small{display:block;font-size:11px;margin-top:4px}.method-options [aria-pressed=true],.slot-options [aria-pressed=true]{background:#eedbc155;box-shadow:inset 0 0 0 1px #684630;border-color:#684630}.slot-options button:disabled{background:#eee5d9;color:#7d6c5b;opacity:1;text-decoration:line-through}.notice{padding:12px;font-size:12px;line-height:1.5;margin:12px 0;background:#ecd9bc66;border-left:2px solid #a97b45;color:#66503d;border-radius:5px}.bonus-card{padding:22px;border:1px solid #d9b58177;border-radius:14px;margin-bottom:16px;background:linear-gradient(125deg,#68472c66,#38251a88)}.bonus-card h2{font-size:29px;margin:12px 0}.bonus-balance{font-size:13px;color:#d7bb9c}.bonus-balance strong{font:40px/1 'Cormorant Garamond',Georgia;color:#fff0dc;margin-right:7px}.bonus-card .enrollment p{font-size:12px;margin-top:10px}.bonus-card small{display:block;margin-top:12px}.bonus-card .full{min-height:44px;margin-top:12px}.bonus-card .check{margin-top:14px}.order-summary .full{margin-top:16px}.order-summary small{font-size:11px}details{margin-top:18px}summary{cursor:pointer;font-size:12px}.error{padding:13px;border:1px solid #d2886f;border-radius:10px;background:#f6e1d5;color:#8c3024;margin-bottom:16px;font-size:13px}.empty-cart{padding:20px 0;color:#66503d;font-size:14px}.empty-cart button{margin-top:12px}.tabs button{font-variant-numeric:tabular-nums}
.loyalty-card{position:relative;overflow:hidden;border:1px solid #b98051;border-radius:18px;background:linear-gradient(125deg,#f4dcc2,#cb9464);color:#422c1c;padding:22px;margin:16px 0}.loyalty-card.silver{background:linear-gradient(125deg,#f4f7fa,#b9c6d2);color:#303d49}.loyalty-card.gold{background:linear-gradient(125deg,#fff0ba,#dfb64c);color:#513b0f}.loyalty-card small{color:inherit}.loyalty-card h3{margin:10px 0}.loyalty-card #balance{display:block;font:42px/1 Georgia;margin:14px 0 7px}.loyalty-card progress{width:100%;accent-color:#795539;margin-top:12px}.loyalty-card p{font-size:12px;margin-top:10px}.tier-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tier-list .loyalty-card{padding:14px 10px;margin-top:12px}.tier-list h3{font-size:20px}.tier-list p{font-size:11px}.tier-list b{font-size:22px}.personal-data{margin:0}.personal-data dt{font-size:12px;color:#66503d;margin-top:12px}.personal-data dd{margin:3px 0 0;font-size:14px;overflow-wrap:anywhere}#account>h3{margin:20px 0 10px}#account>.muted{margin-top:8px}.registration-block h3{margin-bottom:12px}.registration-block p{font-size:13px}.registration-block .light{color:var(--ink);margin-top:12px}.order{background:var(--paper);border-radius:12px;padding:16px;margin:12px 0;color:var(--ink);font-size:13px}.order .full{margin-top:10px}.order p{margin-top:8px}.order .row{margin:6px 0}.order .muted{color:#66503d}.telegram-identity{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid #b8946c55}.telegram-identity>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e5d2b5;color:#684630}.telegram-identity strong,.telegram-identity div>span{display:block}.telegram-identity small{font-size:10px;color:#66503d}.telegram-identity strong{font-size:14px}.telegram-identity div>span{font-size:11px;color:#81603e}.registration-later{text-align:center;margin-top:8px}.registration-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.registration-benefits span{text-align:center;font-size:10px;color:#d4bda5}.registration-benefits b{display:block;color:#f0d5af;font:26px/1.2 'Cormorant Garamond',Georgia}#registration{max-width:520px;margin:auto}#registration .full{margin-top:18px}#toast{position:fixed;z-index:60;bottom:calc(82px + var(--safe-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);width:max-content;border-radius:24px;padding:11px 18px;background:#f0d5af;color:var(--ink);box-shadow:0 5px 25px #0004;font-size:12px}dialog{width:min(560px,calc(100vw - 28px));max-height:calc(var(--tg-viewport-stable-height,100dvh) - 28px);padding:44px 20px 24px;border:1px solid #ac8b67;border-radius:18px;background:var(--paper);color:var(--ink);overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#150d09cc;backdrop-filter:blur(5px)}.dialog-close{position:absolute;top:4px;right:6px;width:40px;height:40px;font:28px/1 Arial;padding:0}.detail-art{display:block;width:100%;height:200px;object-fit:contain}.product-description{white-space:pre-line;font-size:13px;line-height:1.6;border-top:1px solid #b8946c55;padding-top:16px;margin-top:18px;overflow-wrap:anywhere}.detail-price{font-size:20px;margin:12px 0}.detail-actions{position:sticky;bottom:-24px;padding:12px 0;background:var(--paper)}#detail h2{font-size:34px}#detail .bonus-reward{margin:10px 0}#detail small,#detail .muted{color:#66503d}.detail-actions .text-button{display:block;width:100%;margin-top:5px}#cityDialog{text-align:center;background:linear-gradient(130deg,#3d281c,#281b14);color:#f5eadb;width:390px;padding:34px 24px 26px}#cityDialog h2{font-size:40px;margin:18px 0 24px}#cityDialog [data-city]{display:flex;align-items:center;justify-content:center;width:100%;max-width:280px;margin:10px auto 0;border:1px solid #a584605e;border-radius:24px;font-size:14px}#cityDialog [aria-pressed=true]{background:#eed7b7;color:#39251a}
@keyframes drift{0%,100%{transform:translateY(2px) rotate(-.4deg)}50%{transform:translateY(-6px) rotate(.5deg)}}@media(min-width:700px){.carousel{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:center;max-width:none}.visual{min-width:0}.scene,.carousel-art{height:320px;max-height:320px}.catalog-heading h1{font-size:42px}.product-info h2{font-size:43px}.loyalty-invite{max-width:680px;margin-left:auto;margin-right:auto}}@media(max-width:650px){.checkout-grid{grid-template-columns:1fr;gap:0}.method-options{grid-template-columns:1fr}.tier-list{grid-template-columns:1fr}.tier-list .loyalty-card{margin:0}.tier-list h3{display:inline;font-size:22px;margin-left:10px}.tier-list p{margin-top:4px}}@media(max-width:350px){main{padding-left:14px;padding-right:14px}header{padding-left:14px;padding-right:14px;gap:6px}.brand{font-size:29px}.brand small{font-size:5px;letter-spacing:1.7px}.header-cart{font-size:11px;padding:9px;gap:4px}.header-cart svg{width:17px;height:17px}.icon-button{min-width:32px;padding:4px}.product-info h2{font-size:33px}.catalog-heading h1{font-size:31px}.scene,.carousel-art{height:205px;max-height:205px}.slot-options{grid-template-columns:1fr}.panel-heading h2{font-size:26px}h1{font-size:37px}.set-options button{font-size:10px}.cart-product{column-gap:10px;grid-template-columns:58px minmax(0,1fr)}.cart-art{width:58px}.cart-title h3{font-size:14px}.cart-cost{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Revision 2: one-screen catalogue and compact, separated account panels. */
header{position:relative;flex:none;min-height:58px;width:100%;max-width:720px;padding:8px 18px}.brand{font-size:29px}.brand small{margin-top:6px}.header-cart{display:none}.tabs{position:sticky;top:0;bottom:auto;flex:none;padding:5px 18px 9px;gap:6px;border-top:0;border-bottom:1px solid #ad845c33;width:100%;max-width:720px;margin:0 auto}.tabs button{max-width:none;min-height:44px;padding:8px;font-size:13px}.tabs button.selected{box-shadow:0 2px 8px #0002}body.keyboard-open .tabs{display:flex}main{max-width:720px;min-height:0;padding:18px 20px calc(24px + var(--safe-bottom))}#quickMenu{top:62px}#toast{bottom:calc(18px + var(--safe-bottom))}body.catalog-mode{height:var(--app-height,100dvh);display:flex;flex-direction:column;overflow:hidden}body.catalog-mode main{flex:1;min-height:0;width:100%;display:flex;flex-direction:column;padding:6px 20px calc(10px + var(--safe-bottom))}#catalog{flex:1;min-height:0;display:flex;flex-direction:column;max-width:620px;width:100%;margin:auto}.catalog-heading{flex:none;margin:0;text-align:center}.gift{font-size:10px;line-height:16px}.category-tabs{flex:none;width:100%;max-width:440px;margin:6px auto;padding:3px}.category-tabs button{min-height:40px;padding:6px}#products{flex:1;min-height:0;display:flex;flex-direction:column}.carousel{flex:1;min-height:0;display:flex;flex-direction:column;width:100%;max-width:520px;margin:auto}.visual{flex:1;min-height:60px;position:relative;display:flex;flex-direction:column}.scene{height:auto;min-height:0;flex:1;display:block}.carousel-art{position:absolute;inset:0;height:100%;max-height:none;width:100%}.scene button{width:44px;height:44px}.carousel-tools{position:absolute;bottom:0;left:8px;right:8px;pointer-events:none;min-height:36px}.carousel-tools button{pointer-events:auto}.carousel-tools .dots{display:none}.pause{width:36px;min-height:36px;background:#332218aa}.product-info{flex:none;gap:7px}.product-info>.eyebrow,.flavor-tags{display:none}.product-info h2{font-size:31px;line-height:1.1}.product-copy{font-size:12px;line-height:1.35;max-width:340px}.detail-link{min-height:40px;padding:6px;font-size:12px}.set-options{gap:6px}.set-options button{min-height:44px;padding:6px 4px;font-size:11px}.buy{min-height:48px;padding:8px 15px}.buy .qty{min-height:40px;border:0}.buy .qty button,.buy .qty span{height:40px;min-height:40px}.bonus-reward{font-size:10px;min-height:22px;padding:2px 9px}.bonus-reward strong{font-size:11px}.page-heading{max-width:480px;margin:0 auto 18px}.page-heading .eyebrow{display:none}.page-heading h1{font-size:35px;margin-bottom:5px}#cart,#account{max-width:520px;margin:auto}.checkout-grid{grid-template-columns:1fr;gap:0;max-width:480px;margin:auto}.panel,.registration-block{padding:18px;border-radius:16px;margin-bottom:18px}.panel h2{font-size:27px;margin-bottom:14px}.panel-heading{gap:8px}.panel-heading h2{font-size:25px;margin:0}.panel-heading .text-button{font-size:11px}.cart-product{grid-template-columns:58px minmax(0,1fr);gap:8px 12px;padding:16px 0;grid-template-areas:'art title' 'qty cost' 'remove remove'}.cart-art{width:58px;height:64px}.cart-title h3{font-size:14px;line-height:1.3}.cart-title p{font-size:11px;line-height:1.4}.cart-cost{font-size:16px}.remove{min-height:36px}.checkout-city{display:flex;justify-content:space-between;align-items:center;width:100%;border:1px solid #b8946c;background:#fffdf8;border-radius:9px;padding:11px 12px;font-size:14px;color:var(--ink);min-height:48px}.method-options{grid-template-columns:1fr 1fr}.method-options button{padding:10px;font-size:12px}.method-options small{font-size:10px}.panel label{font-size:12px;margin:14px 0 6px}.bonus-card{max-width:380px;margin:0 auto 18px;padding:18px}.bonus-card h2{font-size:25px;margin:6px 0}.bonus-balance strong{font-size:34px}.order-summary{max-width:480px;margin-left:auto;margin-right:auto}.panel .full,.bonus-card .full{max-width:320px;margin-left:auto;margin-right:auto}.account-panel{padding:18px;background:#38261c;border:1px solid #b8946c44;border-radius:16px;margin:18px 0}.account-panel h3{font-size:25px;margin-bottom:12px}.account-panel .row{font-size:12px;border-bottom:1px solid #b8946c22;padding-bottom:10px;line-height:1.5}.account-panel .row:last-child{border:0}.account-panel .order{padding:14px;margin-bottom:0}.account-panel .muted{font-size:12px}.account-panel summary{font-size:14px;min-height:26px}.levels>.muted{margin-top:12px}.tier-list{grid-template-columns:1fr;gap:8px;margin-top:12px}.tier-list .loyalty-card{padding:12px;margin:0;border-radius:10px;box-shadow:none}.tier-list h3{display:inline;font-size:19px;margin-left:10px}.tier-list p{margin-top:4px;font-size:11px}.tier-list b{font-size:18px}.loyalty-card#loyaltyCard{max-width:380px;margin:18px auto 22px;padding:20px;border-radius:18px;box-shadow:0 10px 24px #0d080533}.loyalty-card#loyaltyCard h3{font-size:27px;line-height:1.15;margin:12px 0 8px}#loyaltyCard #tierRate{font-size:13px}#loyaltyCard #balance{font-size:38px;margin:16px 0 3px}#loyaltyCard>small{display:block;font-size:10px;line-height:1.5;margin-top:10px}#loyaltyCard>small:first-child{margin:0;letter-spacing:1px;font-size:8px}#loyaltyCard>div:not(#tierRate){font-size:12px}#loyaltyCard p{font-size:11px}#account>h2{font-size:30px;margin:0 0 16px}#account>.loyalty-invite{margin:0 0 18px;padding:16px}.loyalty-invite strong{font-size:15px}.registration-block .row{font-size:12px;gap:18px}.registration-block h3{font-size:25px}.personal-data{display:grid;grid-template-columns:94px minmax(0,1fr);gap:12px 14px;align-items:baseline}.personal-data dt,.personal-data dd{margin:0;font-size:12px;line-height:1.5}#personalData .full,#account>#help{max-width:320px;margin-left:auto;margin-right:auto;min-height:44px;font-size:12px}.registration-block .field-hint{font-size:11px;margin-top:14px}#registration{max-width:440px}#registration .page-heading h1{font-size:34px}.review-banner{font-size:9px;line-height:13px;padding:3px 8px;flex:none}
@media(min-width:700px){.carousel{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;max-width:620px;align-items:stretch}.visual{min-height:0}.scene{height:auto}.product-info{justify-content:center}.product-info h2{font-size:35px}.catalog-heading{margin:0}.category-tabs{margin:8px auto 12px}}
@media(max-height:620px){header{min-height:48px;padding-top:4px;padding-bottom:4px}.brand{font-size:25px}.brand small{font-size:5px;margin-top:4px}.tabs{padding-top:2px;padding-bottom:4px}.tabs button{min-height:40px}.catalog-heading{display:none}.product-info{gap:4px}.product-info h2{font-size:27px}.product-copy{font-size:11px}.detail-link{min-height:36px}.category-tabs{margin:3px auto}.bonus-reward{min-height:20px}.set-options button{font-size:10px}.scene button{width:40px;height:40px;min-height:40px}}
.buy .qty{width:auto;flex:none}.buy-price{margin-left:auto;white-space:nowrap;font-size:14px}.stock-warning{color:#982c24!important;font-weight:600}.account-panel .field-hint{font-size:11px}#account>p:has(#adminLink.hidden){display:none}body.catalog-mode:has(#error:not(.hidden)){overflow:auto}body.catalog-mode:has(#error:not(.hidden)) main{flex:none;min-height:calc(var(--app-height,100dvh) - 120px)}

/* Product image opens a bottom sheet; reward is part of the purchase control. */
.scene .product-image{position:absolute;inset:0;top:0;transform:none!important;width:100%;height:100%;min-height:0;border:0;border-radius:0;padding:0;background:transparent;display:block;overflow:visible;z-index:0}.scene .product-image:active{filter:brightness(1.06)}.scene [data-move]{position:absolute;inset:auto;top:50%;width:44px;height:44px;transform:translateY(-50%);z-index:3}.scene [data-move="-1"]{left:0}.scene [data-move="1"]{right:0}.buy{gap:10px;min-height:52px;padding:7px 10px 7px 16px}.buy-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-width:0;font-size:14px}.buy-caption b{font-size:13px;white-space:nowrap}.buy-caption>span{white-space:nowrap}.button-reward{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:76px;min-height:36px;padding:4px 9px;border-radius:10px;background:#51321d;color:#ffe3ac;border:1px solid #775030;line-height:1.15;box-shadow:inset 0 1px 0 #ffffff12}.button-reward b{font-size:12px;white-space:nowrap}.button-reward small{font-size:9px;line-height:1.2;color:#ffe3ac;margin-top:2px}.buy-added{padding-left:5px;gap:5px}.buy-added .qty{width:102px;min-height:40px}.buy-added .qty button{width:36px}.buy-added .qty span{min-width:26px}.buy-added .buy-price{font-size:13px}.buy-added .button-reward{min-width:70px;padding:4px 7px}#detail{position:fixed;top:auto;bottom:0;left:0;right:0;margin:0 auto;width:min(560px,100%);max-height:calc(var(--app-height,100dvh) - max(18px,var(--tg-content-safe-area-inset-top,0px)));border-radius:24px 24px 0 0;padding:12px 22px calc(14px + var(--safe-bottom));border-bottom:0;animation:sheet-arrive .24s ease-out}#detail::before{content:'';display:block;width:34px;height:4px;margin:0 auto 6px;border-radius:3px;background:#b8946c66}#detail .dialog-close{position:sticky;float:right;top:0;right:0;z-index:6;background:var(--paper);border-radius:50%;margin:-3px -10px 0 0;width:38px;height:38px;min-height:38px}#detail .detail-art{height:160px;max-height:24dvh;margin:0 auto 10px}#detail h2{font-size:31px;line-height:1.1}.detail-composition{font-size:13px;line-height:1.5;margin:10px 0;color:#66503d}.detail-gift{display:block;font-size:11px;line-height:1.5;margin-top:10px}.product-description{font-size:12px;line-height:1.6;margin-top:16px;padding-top:14px}.detail-bonus-note{font-size:10px;line-height:1.5;color:#66503d;margin-top:16px}.detail-actions{bottom:calc(-14px - var(--safe-bottom));margin-top:12px;padding:10px 0 calc(10px + var(--safe-bottom));box-shadow:0 -8px 15px var(--paper);z-index:5}.detail-actions .text-button{min-height:36px;font-size:11px}.detail-actions .buy{color:#332014}.detail-actions .qty{border-color:#a0784f66}@keyframes sheet-arrive{from{transform:translateY(50px);opacity:.6}to{transform:translateY(0);opacity:1}}@media(max-width:350px){.buy{gap:6px;padding-left:10px}.buy-caption{gap:6px;font-size:12px}.buy-caption b{font-size:12px}.button-reward{min-width:68px;padding:4px 6px}.button-reward b{font-size:11px}.buy-added{padding-left:3px}.buy-added .qty{width:94px}.buy-added .qty button{width:33px}.buy-added .qty span{min-width:24px}.buy-added .buy-price{font-size:12px}.product-copy{font-size:11px;max-width:300px}}

.detail-link{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:9px 14px;border:1px solid #c4a07888;border-radius:10px;background:#e6c3941c;color:#ffdfb5;font-size:13px;font-weight:600;text-decoration:none;box-shadow:inset 0 1px 0 #ffe4c912}.detail-link:active{background:#e6c39433}@media(max-height:620px){.detail-link{min-height:42px;padding:8px 12px}}

/* Profile: explicit page gutters and breathing room above the customer name. */
body:not(.catalog-mode) main{width:100%;max-width:720px;margin:0 auto;padding:22px 18px calc(24px + var(--safe-bottom))}#account{width:100%;max-width:480px;padding-top:4px;margin:0 auto}#account>#profileName{margin:0 0 20px;padding:0 16px;font-size:30px;line-height:1.2;overflow-wrap:anywhere}#account>.loyalty-invite{width:100%;margin:0 0 18px}#account>#loyaltyCard{width:100%}@media(max-width:350px){body:not(.catalog-mode) main{padding-left:16px;padding-right:16px}#account>#profileName{padding-left:14px;padding-right:14px;font-size:28px}}

/* Legible single-line reward; registered customers see their active card rate. */
.buy .button-reward{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;min-width:0;min-height:32px;padding:6px 9px;background:#fff6e8;color:#41291b;border:1px solid #99704488;border-radius:9px;box-shadow:none;font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums}.buy{flex-wrap:wrap}.buy-caption{flex-wrap:wrap;gap:2px 8px}.buy-added .button-reward{min-width:0;padding:6px 8px;margin-left:auto}.buy-added .buy-price{margin-left:auto}.buy-added .qty{flex-shrink:0}@media(max-width:350px){.buy .button-reward{font-size:10px;padding:6px 7px}.buy-caption{font-size:12px;min-width:115px}.buy-added .buy-price{font-size:11px}}

/* Keep actions clear of system navigation and Telegram's own bottom controls. */
:root{--safe-bottom:max(env(safe-area-inset-bottom,0px),calc(var(--app-system-safe-bottom,var(--tg-safe-area-inset-bottom,0px)) + var(--tg-content-safe-area-inset-bottom,0px)));--action-bottom-gap:calc(24px + var(--safe-bottom))}html{scroll-padding-bottom:calc(72px + var(--safe-bottom))}body.catalog-mode main{padding-bottom:var(--action-bottom-gap)}body:not(.catalog-mode) main{padding-bottom:calc(32px + var(--safe-bottom))}#detail{padding-bottom:0}#detail .detail-actions{bottom:0;margin-bottom:0;padding-bottom:var(--action-bottom-gap)}#detail .detail-actions .text-button{margin-bottom:0}#place,#registerProfile,.buy{scroll-margin-bottom:calc(72px + var(--safe-bottom))}#toast{bottom:var(--action-bottom-gap)}

/* Compact account: same palette and safe areas. */
#account .account-panel,#account .registration-block{padding:14px;margin:12px 0}
#account .account-panel h3,#account .registration-block h3{font-size:23px;margin-bottom:8px}
#account .row{margin:8px 0;line-height:1.4;padding-bottom:6px}
#account .personal-data{gap:8px 12px}
#account .loyalty-card#loyaltyCard{padding:16px;margin:12px auto 14px}
#account #loyaltyCard h3{margin:8px 0 6px}
#account #loyaltyCard #balance{margin:10px 0 3px;font-size:34px}
#account #loyaltyCard p{margin-top:7px}
#account .loyalty-invite{padding:14px;margin-bottom:12px}
.slot-options button{min-height:46px;text-align:center}
.slot-options button:disabled{opacity:.55;text-decoration:line-through;cursor:not-allowed}
[aria-busy=true]{opacity:.7;cursor:progress}

/* iOS date controls have an intrinsic minimum width. Constrain both grid and control. */
.panel,.panel form,.panel label,.form-columns>*{min-width:0;max-width:100%;box-sizing:border-box}
.panel input[type="date"]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;font-size:16px;appearance:none;-webkit-appearance:none;overflow:hidden}
.panel input[type="date"]::-webkit-date-and-time-value{text-align:left;min-width:0}


/* Экран оплаты MAX */
.max-success-style #success {
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.max-success-style #successSummary {
  margin-bottom: 20px;
}
.max-success-style #successPayment {
  margin: 18px 0 0;
  line-height: 1.45;
}
.max-success-style #successActions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 16px;
}
.max-success-style #successActions .success-pay {
  min-height: 54px;
  border: 1px solid #e9c99d;
  border-radius: 14px;
  color: #322014;
  font-weight: 700;
  background: linear-gradient(110deg, #d6ad73, #f4dfbb, #dcb783);
  background-size: 200% 100%;
  box-shadow: 0 5px 14px #0003, inset 0 1px 0 #fff9;
  animation: maxSuccessPayGlow 4s ease-in-out infinite;
}
.max-success-style #success > button.full {
  margin-top: 10px;
}
@keyframes maxSuccessPayGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .max-success-style #successActions .success-pay { animation: none; }
}
