:root{--bg:#101713;--panel:#18221c;--line:#2b382e;--text:#f2f2e9;--muted:#a6b1a6;--gold:#d5b577;--gold-dark:#201c14;--radius:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;color:var(--text);background:var(--bg);color-scheme:dark}
*{box-sizing:border-box}body{margin:0;padding-bottom:env(safe-area-inset-bottom)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:4px}[hidden]{display:none!important}.test-banner{padding:10px 20px;text-align:center;color:#cfceb8;background:#20291e;font-size:.875rem;line-height:1.5;border-bottom:1px solid #34412f}.header{height:92px;max-width:1260px;padding:0 40px;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:13px;font-size:1.125rem;letter-spacing:.17em;font-weight:450}.brand b{font-weight:350;color:var(--gold)}.brand-symbol{font-family:Georgia,serif;font-size:2.8rem;line-height:1;color:var(--gold)}.cart-top{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:30px;background:transparent;color:var(--text);padding:10px 17px;font-size:.875rem}.cart-top span{display:grid;place-content:center;min-width:24px;height:24px;border-radius:50%;background:var(--gold);color:#191d16;font-weight:650}.hero{max-width:1260px;margin:auto;padding:55px 40px 65px;display:grid;grid-template-columns:1.25fr 1fr;align-items:center;min-height:500px;gap:25px;overflow:hidden}.eyebrow{font-size:.75rem;letter-spacing:.18em;color:var(--gold);font-weight:600;line-height:1.6;margin:0 0 18px}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.6rem,4.8vw,4.3rem);font-weight:400;line-height:1.12;letter-spacing:-.035em;margin:0 0 24px}.hero h1 em{font-weight:400;color:var(--gold)}.hero-text{color:#b1bcae;line-height:1.65;margin:0 0 25px;font-size:1.05rem}.button{border:0;border-radius:12px;padding:15px 23px;min-height:50px;font-weight:600;font-size:.9375rem}.gold{background:var(--gold);color:#182017}.subtle{background:var(--panel);color:var(--text);border:1px solid var(--line)}.hero-note{font-size:.8125rem;color:var(--muted);margin-top:17px}.hero-art{position:relative;height:390px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#34453466,transparent 68%)}.orbit{position:absolute;inset:2% 2%;border:1px solid #52604466;border-radius:50%;transform:rotate(-25deg)}.orbit-two{inset:15% -3%;transform:rotate(40deg)}.art-card{position:absolute;width:205px;height:300px;overflow:hidden;border-radius:14px;border:1px solid #bfa47188;box-shadow:0 22px 40px #0007}.art-back{transform:rotate(-17deg) translate(-60px,-6px);background:repeating-linear-gradient(45deg,#263a2e,#263a2e 3px,#293c30 3px,#293c30 9px);display:grid;place-items:center}.art-back:before{content:"";position:absolute;inset:14px;border:1px solid #b59b6266;border-radius:6px}.art-back span{color:#b7a066;font-size:7rem}.art-front{transform:rotate(12deg) translate(42px,10px);background:#ecebe4;display:flex;flex-direction:column}.art-front img{height:255px;width:100%;object-fit:contain;padding:8px}.art-label{font-family:Georgia,serif;color:#313c2e;letter-spacing:.03em;font-size:.9rem;text-align:center;border-top:1px solid #c4bcab;padding:12px 2px}.star{position:absolute;color:var(--gold);font-size:2rem;z-index:2}.star-one{top:9px;right:25px}.star-two{left:11px;bottom:14px;font-size:3rem}.catalogue-section{max-width:1260px;margin:auto;padding:44px 40px 65px;border-top:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:26px}.section-heading .eyebrow{margin:0 0 8px;font-size:.6875rem}.section-heading h2{font-family:Georgia,serif;font-weight:400;font-size:2.2rem;letter-spacing:-.025em;margin:0}.muted{font-size:.875rem;color:var(--muted)}.sort-control{display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--muted);font-size:.875rem}.sort-control select{min-width:190px}.catalogue-tools{display:flex;gap:12px;margin-bottom:20px}.search{display:flex;gap:10px;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:0 16px;flex:1}.search span{font-size:1.8rem;color:var(--muted)}input,select{color:var(--text);border:1px solid var(--line);background:var(--panel);border-radius:10px;min-height:48px;padding:11px 13px;min-width:0}input::placeholder{color:#96a194}.search input{border:0;background:transparent;outline-offset:0;flex:1;padding:14px 0}select{appearance:none;padding-right:35px;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%23a6b1a6' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;font-size:.875rem}.categories{display:flex;gap:9px;overflow-x:auto;padding:0 0 22px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.chip{border:1px solid var(--line);border-radius:30px;padding:10px 17px;white-space:nowrap;background:transparent;color:#b8c2b6;font-size:.875rem}.chip.selected{background:#d5b577;color:#172016;border-color:#d5b577}.member-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #506044;background:#1d2b20;border-radius:13px;padding:16px 19px;margin-bottom:22px;font-size:.875rem;line-height:1.5}.member-strip strong{color:#dfca99}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:29px 22px}.product{min-width:0;display:flex;flex-direction:column}.product-photo{position:relative;border:0;width:100%;aspect-ratio:4/4.6;background:#f2f0e9;border-radius:15px;overflow:hidden;padding:18px;display:flex;align-items:center;justify-content:center}.product-photo img{width:100%;height:100%;object-fit:contain;transition:transform .3s}.product-photo:hover img{transform:scale(1.045)}.product-category{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:var(--gold);margin:17px 0 7px}.product-title{font-size:1rem;font-weight:450;line-height:1.45;color:var(--text);border:0;background:transparent;padding:0;text-align:left;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:46px}.product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:14px;gap:8px}.price{font-size:1.15rem;letter-spacing:-.02em}.add{border:1px solid #657354;color:var(--text);background:#263323;width:39px;height:39px;border-radius:50%;font-size:1.5rem;display:grid;place-items:center;font-weight:350}.small-note{font-size:.8125rem;color:#a6b69e;line-height:1.5;margin:5px 0 0}.stock-tag{position:absolute;top:9px;left:9px;background:#fffef1dd;color:#44513f;padding:5px 9px;border-radius:6px;font-size:.6875rem}.error{background:#562c2a;color:#f8d9cf;border-radius:12px;padding:17px;line-height:1.5}.loading,.empty{padding:50px 10px;text-align:center;color:var(--muted)}.snapshot{font-size:.75rem;color:#7e8a7d;line-height:1.6;margin:35px 0 0}footer{max-width:1180px;margin:0 auto;padding:30px 0 95px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.8125rem}.footer-brand{color:var(--gold);letter-spacing:.14em}.floating-cart{position:fixed;bottom:calc(21px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:5;width:min(480px,calc(100% - 32px));border:1px solid #edd2a0;border-radius:17px;background:var(--gold);color:#172016;box-shadow:0 12px 30px #0007;min-height:61px;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.floating-cart b{display:inline-grid;place-items:center;min-width:26px;height:26px;margin-left:7px;background:#17201622;border-radius:50%;font-size:.8125rem}.floating-cart strong{font-size:1.125rem}.sheet{color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:24px;padding:32px;max-height:90dvh;width:min(850px,calc(100% - 30px));max-width:850px;overscroll-behavior:contain}.sheet::backdrop{background:#000a;backdrop-filter:blur(5px)}.sheet h2{font-family:Georgia,serif;font-weight:400;font-size:1.8rem;line-height:1.25;margin:12px 0 20px}.sheet h3{font-weight:500;font-size:1.1rem}.close{position:sticky;float:right;top:0;z-index:3;width:36px;height:36px;font-size:1.5rem;border:1px solid var(--line);border-radius:50%;color:var(--text);background:var(--panel);margin:-15px -15px 0 8px}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px;clear:both}.gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:16px;aspect-ratio:4/4.6;background:#f2f0e9}.gallery img{object-fit:contain;flex:0 0 100%;width:100%;height:100%;padding:15px;scroll-snap-align:center}.gallery-count{font-size:.8125rem;text-align:center;color:var(--muted);margin:10px 0 20px}.detail-description{white-space:pre-line;font-size:1rem;line-height:1.65;color:#b6c1b3}.detail-params{width:100%;border-collapse:collapse;font-size:.875rem;line-height:1.5;margin:20px 0}.detail-params td{border-bottom:1px solid var(--line);padding:10px 0;vertical-align:top}.detail-params td:first-child{color:var(--muted);padding-right:15px}.detail-buy{display:flex;align-items:center;justify-content:space-between;gap:14px}.detail-buy .price{font-size:1.6rem}.cart-line{display:grid;grid-template-columns:65px 1fr auto;gap:15px;padding:19px 0;border-bottom:1px solid var(--line);align-items:center}.cart-line img{width:65px;height:80px;object-fit:contain;background:#f2f0e9;padding:5px;border-radius:8px}.cart-line h3{font-size:.9375rem;line-height:1.4;margin:0 0 6px}.quantity{display:flex;align-items:center;gap:9px;margin-top:10px;flex-wrap:wrap}.quantity button{width:44px;height:44px;flex:0 0 44px;display:grid;place-content:center;background:var(--panel);color:var(--text);border:1px solid #485442;border-radius:9px;font-size:1.1rem}.quantity span{min-width:20px;text-align:center}.quantity .remove{background:transparent;color:var(--muted);border-color:transparent;padding:0;margin-left:4px}.quantity .remove:hover{color:#f0c5bc;background:#4b302a}.quantity .remove:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.cart-total{display:flex;justify-content:space-between;font-size:1.25rem;margin:24px 0 18px}.full{width:100%}.delivery-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.delivery-form label{font-size:.875rem;color:var(--muted);display:flex;flex-direction:column;gap:7px}.delivery-form .span-two{grid-column:1/-1}.delivery-form .button{margin-top:5px}.delivery-note{font-size:.875rem;color:var(--muted);line-height:1.6}.order-status{border:1px solid #586a47;background:#1d2b20;border-radius:18px;padding:25px;margin:20px 0}.order-status h3{font-family:Georgia,serif;font-size:1.5rem;margin:0 0 13px}.order-status p{color:var(--muted);line-height:1.65}.order-status code{font-size:.8125rem;color:var(--gold)}.test-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);padding:13px 20px;border-radius:14px;background:#edf0df;color:#182017;box-shadow:0 6px 25px #0006;z-index:10;font-size:.9375rem;text-align:center;max-width:calc(100% - 30px);width:max-content;pointer-events:none}
@media(min-width:1450px){.hero{padding-top:80px;padding-bottom:80px}.hero-art{height:420px}}
@media(max-width:950px){.header{padding:0 25px;height:80px}.hero{padding:35px 25px 45px;min-height:420px}.hero-art{height:310px}.art-card{width:165px;height:245px}.art-front img{height:205px}.art-label{font-size:.7rem;padding:10px 0}.art-back{transform:rotate(-17deg)translate(-36px,-6px)}.art-front{transform:rotate(12deg)translate(25px,10px)}.catalogue-section{padding:35px 25px 50px}.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 18px}footer{margin:0 25px}.hero-text{font-size:1rem}}
@media(max-width:600px){.header{padding:0 20px;height:75px}.brand{font-size:.875rem;letter-spacing:.12em;gap:8px}.brand-symbol{font-size:2.2rem}.cart-top{padding:8px 11px;gap:8px;font-size:.8125rem}.hero{padding:22px 20px 32px;grid-template-columns:1fr;gap:0;position:relative;min-height:0}.hero h1{font-size:2.65rem;margin-bottom:18px}.hero-copy{z-index:1}.eyebrow{font-size:.6875rem;margin-bottom:15px}.hero-text{font-size:.9375rem;line-height:1.65;margin-bottom:20px}.hero-art{position:absolute;width:165px;height:250px;right:-25px;bottom:35px;opacity:.42;pointer-events:none}.art-card{width:110px;height:170px;border-radius:8px}.art-front img{height:140px;padding:4px}.art-label{font-size:.5rem;padding:8px 0}.art-back span{font-size:4rem}.art-back{transform:rotate(-17deg)translate(-10px,-5px)}.art-front{transform:rotate(12deg)translate(15px,10px)}.star-one{right:0;top:20px}.star-two{left:5px;bottom:20px}.hero-note{font-size:.75rem;max-width:230px}.hero .button{padding:13px 20px;position:relative}.catalogue-section{padding:28px 16px 35px}.section-heading{margin-bottom:22px}.section-heading h2{font-size:1.9rem}.section-heading .eyebrow{font-size:.625rem;letter-spacing:.12em}.section-heading .muted{font-size:.8125rem}.catalogue-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:16px}.search{min-width:0;width:100%}.sort-control{width:100%;justify-content:space-between;gap:12px}.catalogue-tools select{margin:0;min-height:44px;min-width:0;max-width:72%;padding-top:10px;padding-bottom:10px;background-color:var(--panel)}.categories{margin-top:0;padding:0 0 18px;width:100%;max-width:100%;align-items:center;height:auto;min-width:0}.categories .chip{flex:0 0 auto}.chip{padding:9px 13px;font-size:.8125rem}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 13px}.product-photo{padding:12px;border-radius:12px}.product-category{font-size:.6875rem;margin-top:12px}.product-title{font-size:.875rem;min-height:41px}.product-bottom{margin-top:10px}.price{font-size:1.05rem}.add{width:34px;height:34px;font-size:1.4rem}.small-note{font-size:.75rem}.stock-tag{font-size:.625rem;padding:4px 6px;top:7px;left:7px}.member-strip{display:block;padding:13px 14px;font-size:.8125rem;margin-bottom:20px}.member-strip span{display:block;margin-top:3px}footer{margin:0 20px;flex-direction:column;gap:10px;font-size:.75rem}.sheet{padding:25px 18px;width:100%;max-width:100%;max-height:94dvh;border-radius:23px 23px 0 0;margin:auto 0 0;bottom:0;top:auto}.close{margin:-10px -3px 0 8px}.detail-layout{grid-template-columns:1fr;gap:5px}.gallery{aspect-ratio:1/1;max-height:380px}.gallery img{padding:20px}.sheet h2{font-size:1.7rem}.cart-line{grid-template-columns:53px 1fr auto;gap:10px}.cart-line img{width:53px;height:72px}.cart-line h3{font-size:.875rem}.cart-line>.price{font-size:.9375rem}.delivery-form{gap:13px}.delivery-form input{width:100%}.toast{bottom:95px}.test-banner{font-size:.75rem;padding:8px 12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.carrier-options{border:0;padding:0;margin:0;min-width:0}.carrier-options legend{font-size:.875rem;color:var(--muted);margin-bottom:9px}.carrier-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.delivery-form .carrier-choice{position:relative;display:block;cursor:pointer}.carrier-choice input{position:absolute;opacity:0;width:1px!important;height:1px;padding:0;margin:0}.carrier-choice>span{display:flex;align-items:center;gap:10px;min-height:66px;border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:12px;color:var(--text)}.carrier-choice strong{font-size:.875rem;font-weight:500}.carrier-choice img{width:32px;height:32px;flex:0 0 32px;object-fit:contain}.carrier-choice input:checked+span{border-color:var(--gold);background:#2a3021;box-shadow:inset 0 0 0 1px var(--gold)}.carrier-choice input:focus-visible+span{outline:2px solid var(--gold);outline-offset:3px}
@media(max-width:380px){.cart-line{grid-template-columns:53px minmax(0,1fr)}.cart-line>.price{grid-column:2;justify-self:end}.carrier-choices{grid-template-columns:1fr}.sort-control{gap:8px}}

/* Carrier directory selectors stay in the sheet flow on narrow screens. */
.directory-field{min-width:0}.directory-field>label{margin-bottom:7px}.directory-field>input{width:100%}.directory-status{font-size:.8125rem;color:var(--muted);line-height:1.5;margin:7px 0 0;overflow-wrap:anywhere}.directory-results{margin-top:9px;max-height:245px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.directory-results button{display:block;width:100%;min-height:48px;padding:13px 14px;border:0;border-bottom:1px solid var(--line);color:var(--text);background:transparent;text-align:left;font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}.directory-results button:last-child{border-bottom:0}.directory-results button:hover,.directory-results button:focus-visible{background:#2a3827;outline:2px solid var(--gold);outline-offset:-2px}.directory-results strong{font-weight:500}.directory-results span{display:block;font-size:.8125rem;color:#dfca99;margin-top:5px}.point-types{border:0;padding:0;margin:0;min-width:0}.point-types legend{color:var(--muted);font-size:.875rem;margin-bottom:9px}.point-types>div{display:flex;gap:12px;flex-wrap:wrap}.delivery-form .point-types label{flex-direction:row;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:10px;cursor:pointer;color:var(--text);background:var(--panel)}.point-types input[type=radio],.access-confirmation input[type=checkbox]{width:18px!important;min-height:18px;height:18px;flex:0 0 18px;margin:0;padding:0;accent-color:var(--gold)}.point-types:disabled{opacity:.5}.delivery-form .access-confirmation{display:flex;flex-direction:row;align-items:flex-start;line-height:1.5;padding:13px;border:1px solid #776544;border-radius:10px;margin-top:12px;color:#dfca99}.access-confirmation input{margin-top:2px!important}.delivery-form label,.delivery-form input{min-width:0}.delivery-form>label{overflow:visible}

/* Focus stays on the complete control, including Safari and touch keyboards. */
.delivery-form input:not([type=radio]):not([type=checkbox]){font-size:1rem;max-width:100%;scroll-margin-block:90px;caret-color:var(--gold)}
.delivery-form input:not([type=radio]):not([type=checkbox]):focus{border-color:var(--gold);outline:2px solid var(--gold);outline-offset:1px}
.delivery-form .recipient-field:focus-within{color:var(--gold)}
.delivery-form input:autofill{background-color:var(--panel);color:var(--text)}
.delivery-form input:-webkit-autofill{-webkit-text-fill-color:var(--text);caret-color:var(--gold);-webkit-box-shadow:0 0 0 1000px var(--panel) inset}
.field-hint{font-size:.75rem;line-height:1.5;color:var(--muted)}
.search{min-width:0;gap:12px}.search>svg{flex:0 0 22px;color:var(--muted)}
.search input{width:100%;min-width:0;font-size:1rem;min-height:50px;border-radius:0}
.search:focus-within{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}
.search input:focus,.search input:focus-visible{outline:none;box-shadow:none}
.sort-control{justify-content:flex-end;gap:8px}.sort-control>span{white-space:nowrap}
.categories{overflow:visible;gap:8px}.categories .chip{min-height:44px}
.floating-cart>span{display:flex;align-items:center;gap:10px}.floating-cart b{margin-left:0}
.sheet{overflow-y:auto;overflow-x:hidden}.sheet .eyebrow{padding-right:38px}.sheet h2{padding-right:38px}.sheet .close{position:absolute;float:none;top:16px;right:16px;margin:0}
@media(max-width:600px){.catalogue-section{padding-top:24px}.catalogue-tools .sort-control{justify-content:flex-end;width:100%;gap:8px}.catalogue-tools .sort-control select{min-width:0;max-width:70%}.categories .chip{flex:1 1 auto;padding:9px 11px}.delivery-form{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet{padding-bottom:calc(25px + env(safe-area-inset-bottom))}}
@media(max-width:360px){.categories .chip{font-size:.75rem;padding:9px 8px}.sort-control{font-size:.8125rem}.delivery-form .recipient-field:not(.span-two){grid-column:1/-1}}

/* Keep refreshes inside a stable sheet instead of recentering the whole dialog. */
.cart-sheet{height:min(780px,90dvh);scrollbar-gutter:stable}
.cart-member{min-height:68px}
.price,.cart-total strong,.quantity-count,#floating-total{font-variant-numeric:tabular-nums}
.cart-line>.price{min-width:5.5em;white-space:nowrap;text-align:right}
.quantity .quantity-count{min-width:2ch}
.directory-status{min-height:3em}
.directory-results[aria-busy=true]{opacity:.6;cursor:progress}
@media(max-width:600px){.cart-sheet{height:94dvh}}

/* Keep the page stationary while the keyboard and its suggestion bar change size. */
html.modal-open{overflow:hidden;overscroll-behavior:none;scrollbar-gutter:stable}
html.modal-open body{position:fixed;inset-inline:0;top:var(--page-scroll-top,0);overflow:hidden}
.cart-sheet{position:fixed;top:var(--sheet-top,20px);bottom:auto;left:0;right:0;margin:0 auto;height:min(780px,var(--sheet-height,90dvh));max-height:var(--sheet-height,90dvh);overflow-anchor:none;scroll-behavior:auto}
.delivery-form input:not([type=radio]):not([type=checkbox]){font-size:max(16px,1rem);scroll-margin-block:16px}
@media(max-width:600px){.cart-sheet{top:var(--sheet-top,8px);height:var(--sheet-height,94dvh)}}

/* Keep information readable without scaling headings, prices or the whole UI. */
.delivery-form label,.carrier-options legend,.point-types legend,.carrier-choice strong,.delivery-note{font-size:1rem}
.directory-status,.directory-results span{font-size:.9375rem}
.directory-results button{font-size:1rem}
.field-hint{font-size:.875rem}
.delivery-form label,.carrier-options legend,.point-types legend{color:#b9c5b6}
.add{width:74px;height:48px;flex:0 0 74px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:13px;font-size:1.7rem;line-height:1}
.add svg{flex:0 0 24px}
.quantity button{width:48px;height:48px;flex-basis:48px;font-size:1.4rem}
.quantity .remove{font-size:1rem}
.stock-tag{font-size:1.375rem;line-height:1.15;max-width:calc(100% - 18px);text-align:left}
.toast{bottom:auto;left:12px;top:24px;transform:none;font-size:1rem;line-height:1.5;padding:14px 18px;border:1px solid #98ad83;overflow-wrap:anywhere}
.sheet .close{width:46px;height:46px;padding:0;display:grid;place-items:center;border-color:#efd9ad;background:var(--gold);color:#101713;line-height:0;box-shadow:0 3px 12px #0008}
.sheet .close svg{display:block;flex:none}
#product-dialog::before{content:"";display:block;position:absolute;top:10px;left:calc(50% - 22px);width:44px;height:4px;border-radius:4px;background:#72886d;pointer-events:none}
.product-photo,.gallery{background:#030604;border:1px solid #607b5b}
.cart-line img{background:#030604;border:1px solid #607b5b}
@media(max-width:600px){.stock-tag{font-size:1.25rem;max-width:calc(100% - 14px)}}
.order-status.sold-out{background:#38241f;border-color:#b7866a}
.detail-buy .button{display:flex;align-items:center;justify-content:center;gap:8px}
.availability-note{color:var(--gold);font-size:1.125rem}
.inquiry-product{font-size:1.125rem;line-height:1.5;margin-bottom:24px}
.stock-tag,.availability-note{background:#402b1d;color:#f2c594;border:1px solid #c88a50}
.availability-note{display:inline-block;border-radius:8px;padding:7px 12px}
.small-note{font-size:.9375rem}
@media(max-width:600px){.small-note{font-size:.875rem}}

/* A separate text span clamps reliably inside native Safari buttons. */
.product-title{display:flex;align-items:flex-start;height:4.35em;min-height:4.35em;max-height:4.35em;flex:0 0 4.35em;-webkit-line-clamp:unset}
.product-title-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;line-height:1.45;max-height:4.35em;overflow:hidden;overflow-wrap:anywhere;width:100%}
.product>.small-note{min-height:3em}

/* A compact cart leaves the catalogue visible while staying within the safe area. */
.floating-cart{left:auto;right:calc(16px + env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));transform:none;width:max-content;max-width:calc(100% - 32px);min-height:54px;padding:11px 14px;gap:12px;border-radius:16px}
.floating-cart>span{gap:8px}
.floating-cart strong{white-space:nowrap}
:root{--price-gold:#b59b62}
.product-bottom>.price{font-size:calc(1.15rem + 2px);color:var(--price-gold)}
.detail-buy>.price{font-size:calc(1.6rem + 2px);color:var(--price-gold)}
@media(max-width:600px){.product-bottom>.price{font-size:calc(1.05rem + 2px)}}

/* Image-rendered shop wordmark and simple tarot mark, sized for small screens. */
.header{height:112px;gap:20px}
.brand{display:block;min-width:0;width:320px;max-width:calc(100% - 112px);letter-spacing:normal}
.brand-lockup{display:block;width:100%;height:auto}
.cart-top{flex-shrink:0}
.telegram-entry{display:block;text-align:center;margin-top:16px}
.catalogue-section{border-top:0;padding-top:12px}
@media(max-width:600px){.header{height:96px;gap:12px}.brand{width:260px;max-width:calc(100% - 92px)}.catalogue-section{padding-top:8px}}
@media(max-width:360px){.header{padding-inline:16px;gap:8px}.brand{max-width:calc(100% - 88px)}}

/* Customer cabinet: the existing modal keeps keyboard/scroll behavior stable. */
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.account-open{width:44px;height:44px;display:grid;place-items:center;padding:0;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:var(--panel);color:var(--gold)}
.header .brand{max-width:calc(100% - 160px)}.cabinet{padding-top:4px;min-height:300px}.cabinet-heading{display:flex;align-items:center;gap:14px;padding-right:48px;margin-bottom:24px}.cabinet-heading .eyebrow{margin:0 0 8px;font-size:.65rem}.cabinet-heading h2{font-family:Georgia,serif;font-size:clamp(1.7rem,5vw,2.2rem);line-height:1.2;margin:0;overflow-wrap:anywhere}.cabinet-back{border:1px solid var(--line);background:var(--panel);color:var(--gold);border-radius:50%;width:42px;height:42px;padding:0;flex-shrink:0;font-size:24px;display:grid;place-items:center}.cabinet-profile{padding:18px 0 22px;border-bottom:1px solid var(--line)}.cabinet-phone{font-size:1rem;margin:0 0 12px;display:flex;flex-wrap:wrap;gap:8px 12px}.cabinet-phone span{color:var(--muted)}.cabinet-membership{font-size:.85rem;color:var(--gold);line-height:1.5}.history-list-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 16px}.history-list-heading h3{font-size:1.2rem;margin:0}.history-list-heading>span{color:var(--muted)}.cabinet-note,.history-empty{font-size:1rem;line-height:1.6;color:var(--muted)}.history-empty{padding:22px 0}.history-card{display:flex;flex-direction:column;gap:12px;width:100%;text-align:left;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:18px;margin-bottom:14px}.history-card-top,.history-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-card-top>span{font-size:.8rem;color:var(--muted);text-align:right}.history-card-top strong{font-size:1rem}.history-state{font-size:.85rem;color:var(--gold)}.history-card-items{font-size:.95rem;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.history-card-bottom{padding-top:12px;border-top:1px solid var(--line)}.history-card-bottom>span{font-size:.85rem;color:var(--muted)}.history-card-bottom strong{font-size:1.15rem;color:var(--gold);white-space:nowrap}.history-card-bottom strong span{margin-left:9px;font-size:24px}.history-pages{display:flex;justify-content:space-between;gap:12px;margin:22px 0}.cabinet-timestamp{color:var(--muted);font-size:.82rem;line-height:1.55;margin:14px 0}.cabinet-date{font-size:.95rem;color:var(--muted)}.history-status-panel{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:12px;margin:20px 0}.history-status-panel>span{color:var(--gold)}.history-lines{list-style:none;margin:16px 0;padding:0}.history-line{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.history-line>img,.history-placeholder{width:56px;height:72px;flex-shrink:0;object-fit:contain;background:#080b09;border:1px solid var(--line);border-radius:6px}.history-placeholder{display:grid;place-items:center;font-size:26px;color:var(--gold)}.history-line>div{min-width:0}.history-line strong{display:block;font-size:1rem;line-height:1.5;font-weight:500;overflow-wrap:anywhere}.history-line p{font-size:.95rem;color:var(--gold);margin:8px 0 0}.history-discount{display:block;font-size:.82rem;color:var(--muted);margin-top:6px}.history-totals{margin:24px 0}.history-totals>div{display:flex;justify-content:space-between;gap:18px;margin:13px 0;line-height:1.5}.history-totals dt{color:var(--muted)}.history-totals dd{margin:0;white-space:nowrap}.history-tracking{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding:18px 0;border-top:1px solid var(--line);margin-bottom:10px}.history-tracking span{display:block;font-size:.85rem;color:var(--muted);margin-bottom:6px}.history-tracking strong{font-variant-numeric:tabular-nums;font-size:1.05rem}.history-tracking .button{font-size:.85rem;padding:11px 15px}.history-skipped{background:#30241a;border:1px solid #805c35;border-radius:12px;padding:16px;margin:20px 0}.history-skipped h3{font-size:1rem;margin:0 0 12px;color:#f2c594}.history-skipped ul{padding-left:18px;margin:0}.history-skipped li{margin:12px 0;line-height:1.5}.history-skipped strong{display:block;font-weight:500}.history-skipped span{font-size:.85rem;color:var(--muted)}.history-repeat-total{display:flex;justify-content:space-between;gap:12px;margin:24px 0;font-size:1.15rem}.history-repeat-total strong{color:var(--gold)}.cabinet .full{margin-top:12px}
@media(max-width:600px){.header-actions{gap:8px}.header .brand{max-width:calc(100% - 132px)}.header-actions .cart-top{padding:8px 10px;gap:6px}.header-actions .cart-top span{min-width:20px;height:20px}.account-open{width:42px;height:42px}.cabinet-heading{gap:10px}.history-card{padding:15px}.history-card-top{align-items:flex-start}.history-card-top>span{max-width:58%;line-height:1.4}.history-line{gap:12px}}

/* Keep the brand and cabinet visible; the header cart remains hidden in HTML. */
.header{position:sticky;top:0;z-index:8;height:148px;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 7px 16px #0003}
.header .brand{width:400px;max-width:calc(100% - 76px)}
.header-actions .account-open{position:static;width:48px;height:48px;border-color:#6d6045;background:var(--panel);box-shadow:inset 0 1px #ffffff08}
.header-actions .account-open svg{display:block;width:28px;height:28px}
.floating-cart{max-width:calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right))}
@media(max-width:600px){.header{height:116px;gap:12px}.header .brand{width:320px;max-width:calc(100% - 60px)}}
@media(max-width:360px){.header{height:104px}}

/* Animate only a newly opened sheet; cart refreshes do not restart the motion. */
.cart-sheet[open]{animation:cart-sheet-enter 320ms cubic-bezier(.22,1,.36,1) both}
.cart-sheet[open]::backdrop{animation:cart-backdrop-enter 180ms ease-out both}
@keyframes cart-sheet-enter{from{transform:translateY(100vh)}to{transform:translateY(0)}}
@keyframes cart-backdrop-enter{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.cart-sheet[open],.cart-sheet[open]::backdrop{animation:none}}

/* Pin the notice and brand as one unit; no measured offsets or scroll handlers. */
.shop-top{position:sticky;top:0;z-index:8;background:var(--bg)}
.shop-top .header{position:static;top:auto;z-index:auto;height:136px}
.header-actions .account-open{border-radius:12px;border-color:var(--line);background:transparent;box-shadow:none}
.header-actions .account-open svg{width:26px;height:26px}
@media(max-width:600px){.shop-top .header{height:104px}}
@media(max-width:360px){.shop-top .header{height:92px}}

/* Allow grid children to shrink to the sheet instead of the gallery's intrinsic size. */
.detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-width:0;max-width:100%}
.detail-layout>div{min-width:0}
.gallery{width:100%;min-width:0;max-width:100%}
.gallery img{min-width:0;max-width:100%}
.detail-buy{min-width:0;flex-wrap:wrap}
@media(max-width:600px){.detail-layout{grid-template-columns:minmax(0,1fr)}}

/* Temporary, minimal scroll space keeps a focused carrier search above the keyboard. */
.cart-sheet{padding-bottom:calc(25px + env(safe-area-inset-bottom) + var(--directory-focus-space,0px))}

.cart-sheet .directory-results{max-height:min(245px,max(48px,calc(var(--sheet-height,94dvh) - 190px - var(--directory-results-offset,0px))))}

/* Keep both carrier switches compact and accessible above city search on small phones. */
@media(max-width:360px){.carrier-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.carrier-choice>span{min-height:60px;gap:7px;padding:8px}.carrier-choice img{width:24px;height:24px;flex-basis:24px}.carrier-choice strong{font-size:.875rem}}

/* Coolmat: supplied cloud wordmark, warm paper, sky blue and powder accents. */
:root{--bg:#f9f7f2;--panel:#fff;--line:#e2e6e5;--text:#293e49;--muted:#627680;--gold:#466f89;--gold-dark:#eef5f8;--radius:24px;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{background:var(--bg)}
.catalogue-section{padding:20px 32px 55px;max-width:1244px}.catalogue-tools{gap:14px}.search{background:#fff;border-color:var(--line);border-radius:18px}.search input{color:var(--text)}input::placeholder{color:#84949a}.sort-control select{background-color:#fff;border-color:var(--line);border-radius:14px}.categories{align-items:center;justify-content:space-between;margin-top:18px;margin-bottom:8px;padding-bottom:16px}.chip.selected{background:#e4eff2;color:#426778;border-color:transparent}.products{gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}.product{background:white;border:1px solid var(--line);padding:12px 12px 18px;border-radius:25px;box-shadow:0 5px 22px #3c566006}.product-photo{background:#f7f7f4!important;border:0!important;border-radius:17px;aspect-ratio:1.2;padding:0}.product-photo img{object-fit:cover}.product-title{font-size:1rem;font-weight:600;color:var(--text);margin-inline:7px}.product-category{color:#7c9397;margin:16px 7px 7px;font-size:.68rem}.product-bottom{margin:16px 7px 0}.product .price{font-size:1.45rem;color:#456d84}.small-note{color:var(--muted)}.add{background:#e8f0f3;color:#426c83;border:0}.stock-tag{background:#f0e4df;color:#906955;font-size:.78rem}.price{color:#456d84}.gold{background:#4c7891;color:#fff}.button{border-radius:15px}.subtle{background:#f3f6f6;color:#3e5966}.floating-cart{background:#4c7891;color:white;border-color:#4c7891;box-shadow:0 8px 28px #4a6f8a3a;border-radius:20px}.floating-cart b{background:#fff3;color:white}.sheet{background:#fff;color:var(--text);border-color:#d4e1e4;border-radius:26px 26px 0 0}.sheet h2,.cabinet-heading h2{font-family:inherit;font-weight:700;letter-spacing:-.03em}.sheet::backdrop{background:#18343c66}.sheet .close{background:#e7f0f3;color:#476f83;border:0;box-shadow:0 0 0 3px #fff}.gallery{background:#f6f7f5!important;border:1px solid var(--line)!important;border-radius:20px}.gallery img{background:transparent}.detail-params td{border-color:var(--line)}.detail-description{color:#526a74}.quantity button{background:#eef4f5;color:#476e82}.cart-line,.history-card,.history-status-panel{background:white;border-color:var(--line)}.cart-member{display:none}.delivery-form label,.carrier-options legend,.point-types legend{color:#526b77}.carrier-choice>span{background:#f8faf9}.carrier-choice input:checked+span{background:#e9f2f5;border-color:#60889c}.toast{background:#355f74;color:white;border-color:#60899d}.error{background:#fae8e3;color:#8d4c40}.order-status{background:#eef5f3;color:#365c53}.phone-gate{background:#f1f6f5}footer{padding-inline:32px;color:#7b8e95}.footer-brand{color:#63879b;font-weight:700;letter-spacing:.1em}.snapshot{color:#7a8f98;font-size:.8rem}.history-line>img{background:#f5f7f6}
@media(min-width:1000px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.catalogue-section{padding:15px 16px 40px}.catalogue-tools{gap:9px}.products{gap:12px}.product{padding:7px 7px 13px;border-radius:19px}.product-photo{aspect-ratio:1}.product-title{font-size:.9rem;margin-inline:3px;min-height:3.9em}.product-category{margin-inline:3px;font-size:.6rem}.product-bottom{margin:10px 3px 0;gap:4px}.product .price{font-size:1.15rem;white-space:nowrap}.add{width:50px;flex-basis:50px;height:43px;gap:0;font-size:1.25rem}.add svg{width:19px;flex-basis:19px}.categories .chip{flex:none}.detail-buy .price{font-size:1.8rem}footer{padding-inline:20px;flex-direction:column;gap:10px}.sheet{padding-inline:18px}}

/* Light checkout surfaces; preserve native autofill and the existing focus geometry. */
input,select,textarea{background:#fff;color:var(--text)}.delivery-note,.field-hint,.directory-status,.cabinet-note{color:var(--muted)}.directory-results{background:#fff;border-color:var(--line)}.directory-results button{color:var(--text);background:#fff;border-color:var(--line)}.directory-results button:hover{background:#edf4f5}.directory-results span{color:var(--muted)}.detail-params td:first-child{color:var(--muted)}.cart-total,.cart-summary{color:var(--text)}.checkout-intro,.member-strip{color:var(--muted);background:#eff5f5;border-color:var(--line)}.test-actions{display:flex;gap:10px;flex-wrap:wrap}.history-skipped{background:#faf0e7;border-color:#dcc5ad;color:#765c43}.history-skipped h3{color:#765c43}

/* Same sticky header, profile position and breakpoints as Sacred Magic.
   Only the supplied logo's aspect ratio needs an image-fitting rule. */
.header .brand{height:100%;padding-block:8px}
.brand-lockup{height:100%;max-height:100%;object-fit:contain;object-position:left center}
.catalogue-section{padding-top:12px}
@media(max-width:600px){.catalogue-section{padding-top:8px}}

/* The gallery has only one scroll axis; vertical gestures never pull the sheet. */
.gallery{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;overscroll-behavior-y:none;touch-action:pan-x;align-items:stretch;scroll-snap-type:x mandatory}
.gallery img{display:block;flex:0 0 100%;max-width:100%;max-height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none;touch-action:pan-x;transform:none}

/* All original logo sheets use white or transparent backgrounds.
   Keep the existing sticky geometry while giving every crop a clean backdrop. */
.shop-top,.shop-top .header{background:#fff}
.brand-lockup{user-select:none;-webkit-user-drag:none}

/* Product details: owner requested a two-pixel increase for easier reading. */
.detail-params{font-size:1rem}
.detail-description{font-size:1.125rem}
.order-actions{display:grid;gap:12px;margin-top:12px}
.liqpay-fallback{margin-top:16px}.liqpay-notice{border:2px solid #bd4646;border-radius:12px;padding:12px 14px;background:#fff5f5;color:#8f3030;font-size:1rem;line-height:1.5;margin:0 0 12px}

/* Carrier selection: one inset focus ring and distinct, contained options. */
.delivery-form .directory-field>input{display:block;box-sizing:border-box;min-width:0;max-width:100%}
#delivery-form .directory-field>input:focus,#delivery-form .directory-field>input:focus-visible{border-color:#4c7891;outline:none;box-shadow:inset 0 0 0 1px #4c7891}
.delivery-form .directory-results{display:grid;gap:6px;padding:6px;border:2px solid #839fab;background:#eaf1f4;overflow-x:hidden;box-shadow:0 4px 12px #28495718}
.delivery-form .directory-results button{min-width:0;max-width:100%;margin:0;border:1px solid #c0d1d9;border-radius:8px;background:#fff;color:#263e49;padding:12px 14px;min-height:52px}
.delivery-form .directory-results strong{font-weight:600}
.delivery-form .directory-results button:hover,.delivery-form .directory-results button:active,.delivery-form .directory-results button:focus-visible{background:#dcebf1;border-color:#4c7891;color:#203e4b;outline:none;box-shadow:inset 0 0 0 1px #4c7891}
.delivery-form .directory-status:empty{display:none}

/* Keep product quantity feedback and the shared cart within the modal top layer. */
.detail-cart-controls{flex:0 0 auto;max-width:100%}.detail-in-cart{display:grid;justify-items:center;gap:6px}
.in-cart-label{font-size:1rem;font-weight:600;color:#426c83}.detail-quantity{margin:0;flex-wrap:nowrap;gap:8px}
.detail-quantity .quantity-count{min-width:2ch;font-size:1.125rem;font-weight:600}.detail-quantity button{border-color:#b7cbd5}
.detail-quantity button:disabled{cursor:default}
.product-sheet.has-cart{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
.product-sheet>.floating-cart{z-index:6;right:max(calc(16px + env(safe-area-inset-right)),calc((100vw - 850px)/2 + 18px))}

.checkout-payment{display:grid;gap:8px}.checkout-payment .cart-total{margin:0}.delivery-form .checkout-payment>.button{margin-top:0}.history-line.history-no-image{grid-template-columns:minmax(0,1fr)}

/* Optional verified Telegram login; anonymous browsing remains available. */
.browser-login-modal{box-sizing:border-box;width:min(440px,calc(100% - 32px));max-height:85svh;overflow:auto;margin:auto;padding:28px;border:1px solid #64755f;border-radius:24px;color:#eee9dc;background:#101713;box-shadow:0 20px 80px #0008}
.browser-login-modal::backdrop{background:#0009;backdrop-filter:blur(5px)}
.browser-login-modal h2{margin:0 0 16px;font-size:27px;line-height:1.2}
.browser-login-modal p{font-size:17px;line-height:1.5;margin:0 0 16px}
.browser-login-modal a{color:inherit;text-underline-offset:3px}
.browser-login-note{opacity:.8}
.browser-login-actions{display:grid;gap:12px}
.browser-login-actions .button{width:100%;min-height:48px;white-space:normal}
.browser-login-modal #browser-login-status{font-size:15px;margin:16px 0 0}
.browser-login-modal #browser-login-status:empty{display:none}
.browser-login-modal.coolmat-login{background:#fffdf8;color:#34352e;border-color:#d1ccb8}
@media(max-width:360px){.browser-login-modal{padding:22px}.browser-login-modal h2{font-size:24px}}
