/* One owner for checkout-dialog sizing, including the visible area above mobile keyboards. */
html.purchase-open{overflow:hidden}
.gv-site .purchase-dialog{position:fixed;top:calc(var(--purchase-top,0px) + var(--purchase-height,calc(var(--vh, 1vh) * 100))/2);top:calc(var(--purchase-top,0px) + var(--purchase-height,100vh)/2);right:0;bottom:auto;left:0;transform:translateY(-50%);width:calc(100% - 40px);max-width:520px;max-height:calc(var(--purchase-height,calc(var(--vh, 1vh) * 100)) - 40px);max-height:calc(var(--purchase-height,100vh) - 40px);margin:0 auto;padding:0;overflow:hidden;border:1px solid #e5e1ef;border-radius:22px;background:#fff;color:#242538;box-shadow:0 24px 90px #211b3f38}
.purchase-dialog::backdrop{background:#211b3f70;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.purchase-form{position:relative;display:flex;flex-direction:column;max-height:calc(var(--purchase-height,calc(var(--vh, 1vh) * 100)) - 42px);max-height:calc(var(--purchase-height,100vh) - 42px);min-height:0;margin:0}
.purchase-dialog-head{display:flex;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px 16px;border-bottom:1px solid #eeecf4}
.purchase-dialog-head>div{min-width:0}
.gv-site .purchase-dialog-head .eyebrow{font-size:11px;line-height:1.4;letter-spacing:.08em}
.gv-site .purchase-dialog-head h2{margin:5px 0 0;font-size:22px;line-height:1.35;overflow-wrap:anywhere;outline:none}
.purchase-dialog-head .icon-button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #e9e5f0;border-radius:13px;background:#faf9fc;color:#626078;font-size:28px;line-height:1}
.purchase-dialog-body{display:flex;flex-direction:column;gap:20px;flex:1 1 auto;min-height:0;padding:20px 24px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding:16px}
.purchase-intro{margin:0;color:#76758b;font-size:13px;line-height:1.6}
.purchase-quantity-row{display:flex;justify-content:space-between;align-items:center;gap:16px}
.purchase-quantity-row>label,.purchase-field>label{font-size:14px;font-weight:650;color:#35344a;min-height:0}
.purchase-field{display:grid;gap:9px;min-width:0}
.purchase-field>label{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.purchase-field>label>span{color:#9391a3;font-size:12px;font-weight:400}
.gv-site .purchase-dialog input{box-sizing:border-box;width:100%;min-width:0;min-height:50px;margin:0;padding:12px 14px;font-family:inherit;font-size:16px;font-weight:400;line-height:1.5;border:1px solid #dddce9;border-radius:12px;background:#fff;color:#29283e;scroll-margin:16px}
.gv-site .purchase-dialog input::placeholder{color:#aaa7ba;font-size:14px}
.gv-site .purchase-dialog input:focus{border-color:#8970e8;box-shadow:0 0 0 3px #785ae915;outline:none}
.purchase-stepper{display:flex;align-items:center;border:1px solid #e3dfed;border-radius:12px;overflow:hidden;background:#faf9fd}
.purchase-stepper button{flex-shrink:0;width:44px;height:44px;padding:0;border:0;background:transparent;color:#6354be;font-size:22px}
.purchase-stepper button:disabled{color:#ccc7da;cursor:default}
.gv-site .purchase-stepper input{width:54px;min-height:44px;height:44px;padding:4px;text-align:center;border:0;border-radius:0;background:#fff;font-size:16px;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}
.purchase-stepper input::-webkit-inner-spin-button,.purchase-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.purchase-password{position:relative;min-width:0}
.gv-site .purchase-password input{padding-right:65px}
.purchase-password button{position:absolute;right:4px;top:3px;min-width:52px;min-height:44px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:#7460bd;font-size:13px}
.purchase-field-help{margin:0;color:#8d889e;font-size:12px;line-height:1.55}
.purchase-field-help.is-error,.purchase-form-status{color:#b44552}
.purchase-field-help.is-valid{color:#29826d}
.purchase-coupon{border-top:1px solid #efedf5;padding-top:4px}
.purchase-coupon summary{display:flex;align-items:center;gap:8px;min-height:44px;color:#74618e;font-size:13px;list-style:none}
.purchase-coupon summary::-webkit-details-marker{display:none}
.purchase-coupon summary::after{content:'+';margin-left:auto;font-size:19px;color:#9182b5}
.purchase-coupon[open] summary::after{content:'−'}
.purchase-coupon summary span{color:#aaa2b6;font-size:12px}
.purchase-coupon .purchase-field-help{margin-top:8px}
.purchase-notice{margin:0;padding:12px 14px;border-radius:12px;background:#f7f6fb;color:#8a849a;font-size:12px;line-height:1.75}
.purchase-form-status{margin:0;font-size:13px;line-height:1.6;outline:none;overflow-wrap:anywhere}
.purchase-form-status:empty{display:none}
.gv-site .purchase-dialog-foot{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:16px;padding:15px 24px;border-top:1px solid #ebe7f3;background:#fff}
.purchase-dialog-foot>div{display:grid;gap:2px;flex-shrink:0;max-width:45%;min-width:0}
.purchase-dialog-foot small{font-size:11px;color:#9892a8}
.purchase-dialog-foot strong{font-size:25px;line-height:1.3;letter-spacing:-.03em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.gv-site .purchase-dialog-foot .btn{flex:1;max-width:255px;min-width:0;min-height:48px;padding:12px;font-size:15px;white-space:normal}
.purchase-form[aria-busy=true] [data-purchase-submit]{opacity:.65;cursor:wait}
.purchase-discard{position:absolute;top:0;right:0;bottom:0;left:0;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;padding:24px;background:#fffffff7;text-align:center;overflow:auto}
.purchase-discard h3{font-size:20px;margin:0 0 12px}.purchase-discard p{font-size:14px;color:#827b94;line-height:1.6}.purchase-discard-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px}
@media(max-width:640px){
 .gv-site .purchase-dialog{top:var(--purchase-top,0px);left:0;right:0;bottom:auto;transform:none;width:100%;max-width:none;height:var(--purchase-height,calc(var(--vh, 1vh) * 100));height:var(--purchase-height,100dvh);max-height:none;margin:0;border:0;border-radius:0;box-shadow:none}
 .purchase-form{height:100%;max-height:100%;min-height:0}
 .purchase-dialog-head{padding:14px 18px 12px}
 .gv-site .purchase-dialog-head h2{font-size:20px;margin-top:3px}
 .purchase-dialog-body{padding:18px;gap:20px}
 .gv-site .purchase-dialog-foot{gap:14px;padding:12px 18px calc(12px + env(safe-area-inset-bottom))}
 .gv-site .purchase-dialog-foot .btn{max-width:240px;min-height:48px;font-size:14px}
 .purchase-dialog-foot strong{font-size:24px}
 .purchase-discard{padding:20px}
 .is-compact-viewport .purchase-dialog-head{padding:8px 16px}
 .is-compact-viewport .purchase-dialog-head .eyebrow{display:none}
 .is-compact-viewport .purchase-dialog-head h2{margin:0;font-size:18px}
 .is-compact-viewport .purchase-dialog-body{padding:14px 18px;gap:16px}
 .gv-site .is-compact-viewport .purchase-dialog-foot{padding:8px 16px;gap:12px}
 .is-compact-viewport .purchase-dialog-foot small{display:none}
 .is-compact-viewport .purchase-dialog-foot strong{font-size:22px}
}
@media(max-height:400px) and (min-width:641px){.purchase-dialog-head{padding:8px 20px}.purchase-dialog-head .eyebrow{display:none}.purchase-dialog-body{padding:14px 20px}.gv-site .purchase-dialog-foot{padding:8px 20px}}
@media(prefers-reduced-motion:reduce){.purchase-dialog *{scroll-behavior:auto!important;transition:none!important}}
