:root{--customer-gold:#b69a60;--customer-cream:#fcf9f2;--customer-border:#e5d9c4}
.customer-dialog{box-sizing:border-box;width:min(100%,720px);max-width:100%;height:min(100dvh,960px);max-height:100dvh;margin:auto;padding:0;border:1px solid var(--customer-border);border-radius:28px;background:var(--customer-cream);color:#24221f;box-shadow:0 30px 90px #241b1340;overflow:auto}
.customer-dialog::backdrop{background:#211c166b;backdrop-filter:blur(5px)}
.customer-shell{position:relative;isolation:isolate;min-height:100%;padding:28px 36px 24px;display:flex;flex-direction:column;background:radial-gradient(ellipse at center,#fcf9f2 40%,#f2e7d480)}
.customer-shell:before,.customer-shell:after{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:.24;background-image:url('assets/customer-ornament.svg');background-size:170px;background-repeat:repeat-y;width:60px;mask-image:linear-gradient(to right,#000,transparent)}
.customer-shell:after{left:auto;transform:scaleX(-1)}
.customer-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.customer-top .icon-button{font-size:30px;color:#25231f;background:transparent}.customer-wordmark{font-size:34px;font-weight:900;letter-spacing:-1.5px;position:relative;padding-top:12px}.customer-wordmark>span{position:absolute;top:-12px;left:27px;color:var(--customer-gold);font-size:26px}
.customer-stage{width:100%;max-width:490px;margin:auto; padding:36px 0 24px}.customer-stage h1{font-size:clamp(29px,5vw,43px);line-height:1.12;text-align:center;letter-spacing:-1.6px;margin:20px 0}.customer-description{text-align:center;font-size:18px;line-height:1.55;color:#655f54;margin:0 0 28px}.customer-emblem{width:82px;height:82px;display:grid;place-items:center;border:1px solid #ddccaa;border-radius:50%;margin:auto;color:#b69a60;font-size:39px;background:#f6efe2}.customer-dialog .form-label{display:block;font-weight:600;margin:16px 0}.customer-dialog .field{width:100%;background:#fffdf9;border:1px solid #cdbd9b;border-radius:16px;padding:18px;color:#25231f;box-sizing:border-box;font-size:18px}.customer-dialog .button.primary{background:linear-gradient(110deg,#c8ae79,#ad8f55);border:0;color:#191915;border-radius:16px;padding:19px 22px;font-size:19px;display:flex;align-items:center;justify-content:center;gap:24px;font-weight:700}.customer-dialog .button:disabled{opacity:.6}.customer-dialog .form-error:empty{display:none}.customer-phone{display:flex;align-items:center;border:1px solid #cdbd9b;border-radius:16px;background:#fffdf9;padding:0 16px;margin-top:8px}.customer-phone>span{white-space:nowrap;font-size:19px;border-right:1px solid #e2d6c3;padding-right:12px}.customer-phone input{background:transparent;border:0;outline:0;min-width:0;width:100%;padding:20px 12px;font-size:21px;color:#24221f}.customer-code{text-align:center;letter-spacing:8px;font-size:25px!important}.customer-resend,.customer-skip{display:block;margin:20px auto;text-align:center}.customer-terms{text-align:center;font-size:13px;line-height:1.7;color:#777064;margin:24px 0 0}.customer-terms button{border:0;background:none;padding:0;color:inherit;text-decoration:underline;font:inherit;cursor:pointer}.customer-shell footer{text-align:center;font-size:14px;padding-top:10px}.customer-shell footer a{color:#655f54;text-decoration:underline}.customer-avatar{width:72px;height:72px;flex-shrink:0;display:inline-grid;place-items:center;border-radius:50%;background:#fff;overflow:hidden;border:1px solid var(--customer-border);color:#a78748;font-size:32px;font-weight:700}.customer-avatar img{width:100%;height:100%;object-fit:contain;padding:10%;box-sizing:border-box}.customer-avatar.large{width:108px;height:108px}.customer-avatar img[src^='/media/']{object-fit:cover;padding:0}.avatar-preview{text-align:center;margin-bottom:20px}.avatar-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 24px}.avatar-option{aspect-ratio:1;background:#fff;border:1px solid #e6dccb;border-radius:50%;overflow:hidden;padding:10%;cursor:pointer;transition:border-color .15s,box-shadow .15s}.avatar-option img{width:100%;height:100%;object-fit:contain}.avatar-option.selected{border:2px solid #ad8f55;box-shadow:0 0 0 3px #b69a6026}.avatar-upload{position:relative;overflow:hidden;cursor:pointer;border-radius:14px}.avatar-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.avatar-upload+p{text-align:center}.profile-identity{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.profile-identity .text-link{display:block;margin-top:12px}.customer-profile .panel{border-color:var(--customer-border);border-radius:24px}.verified-phone{display:inline-block;color:#617354;font-size:12px;margin-left:8px}.payment-options{display:grid;gap:16px}.payment-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:24px 20px;background:#fffdf9;border:1px solid #ded2bc;border-radius:18px;text-align:left;cursor:pointer;color:#24221f}.payment-option b{font-size:30px;letter-spacing:-1px}.payment-option span{font-size:14px}.click-logo{color:#255dcd}.payme-logo{color:#25b8b6}.payment-option:hover{border-color:#a98a4d;box-shadow:0 4px 20px #b69a6020}.checkout-customer-summary{display:flex;gap:16px;align-items:center;margin-bottom:16px}.checkout-customer-summary strong{display:block;font-size:19px}.checkout-customer-summary p{margin:8px 0;color:#777064}.checkout-customer-summary a{font-size:12px;color:#81704f}.checkout-name-edit{margin-top:14px}.customer-name-disclosure{margin-top:16px}.customer-name-disclosure summary{cursor:pointer;text-decoration:underline;color:#81704f;font-size:14px}
@media(max-width:600px){.customer-dialog{height:100dvh;width:100%;border:0;border-radius:0}.customer-shell{padding:22px 22px 30px}.customer-stage{padding:30px 0 20px}.customer-description{font-size:17px}.customer-wordmark{font-size:30px}.customer-emblem{width:72px;height:72px}.avatar-grid{gap:8px}.profile-identity{gap:16px}.profile-identity .customer-avatar.large{width:84px;height:84px}.profile-identity h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.avatar-option{transition:none}}

.customer-emblem svg{width:44px;height:44px}.customer-profile .button.primary,#checkout-dialog .button.primary,.cart-summary .button.primary{background:linear-gradient(110deg,#c5a76e,#ad8f55);color:#211f1a;border-color:#b89b63}#checkout-dialog{border-color:var(--customer-border);border-radius:24px;background:#fcf9f2;color:#24221f}.checkout-customer-summary{margin-top:18px}.checkout-summary,.cart-summary{border-color:var(--customer-border)}

/* Follow the selected site theme, including system mode resolved by app.js. */
#checkout-dialog{background:var(--customer-cream);color:var(--ink)}
.checkout-customer-summary p{color:var(--muted)}
:root[data-theme=dark]{--customer-cream:var(--bg);--customer-border:var(--line)}
:root[data-theme=dark] .customer-dialog{background:var(--bg);color:var(--ink)}
:root[data-theme=dark] .customer-shell{background:radial-gradient(ellipse at center,var(--bg) 40%,var(--tint))}
:root[data-theme=dark] .customer-top .icon-button{color:var(--ink)}
:root[data-theme=dark] .customer-description,
:root[data-theme=dark] .customer-terms,
:root[data-theme=dark] .customer-shell footer a{color:var(--muted)}
:root[data-theme=dark] .customer-emblem{background:var(--tint);border-color:var(--line);color:var(--green)}
:root[data-theme=dark] .customer-dialog .field,
:root[data-theme=dark] .customer-phone{background:var(--surface);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .customer-phone input{color:var(--ink)}
:root[data-theme=dark] .customer-phone>span{border-color:var(--line)}
:root[data-theme=dark] .customer-dialog input::placeholder{color:var(--muted);opacity:1}
:root[data-theme=dark] .payment-option{background:var(--surface);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .click-logo{color:#8ab4ff}
:root[data-theme=dark] .payme-logo{color:#54d9d2}
:root[data-theme=dark] .checkout-customer-summary a,
:root[data-theme=dark] .customer-name-disclosure summary{color:var(--green)}
:root[data-theme=dark] .verified-phone{color:#abc990}
:root[data-theme=dark] #checkout-dialog .checkout-summary{color:var(--ink)}
:root[data-theme=dark] #checkout-dialog .delivery-option,
:root[data-theme=dark] #checkout-dialog .selected-point{color:var(--ink)}
:root[data-theme=dark] #checkout-dialog .form-error,
:root[data-theme=dark] .customer-dialog .form-error{color:#ffb3a8}
