/* Checkout styles kept in one place to prevent accumulated sizing overrides. */
body.checkout-mode>.announcement,body.checkout-mode>footer,body.checkout-mode>header nav,body.checkout-mode>header .header-tools{display:none}
body.checkout-mode>header{height:64px;display:flex;justify-content:flex-start;padding:0 max(28px,calc((100vw - 1100px)/2 + 28px));background:#fff;box-shadow:none;border-bottom:1px solid #e6e6e6;position:relative}
body.checkout-mode>header .brand img{width:132px;height:auto}
.checkout-page{background:#fff;min-height:calc(100dvh - 64px);font:400 14px/1.5 var(--sans);color:#222;overflow:clip}
.checkout-layout{display:grid;grid-template-columns:minmax(0,600px) minmax(0,500px);max-width:1100px;margin:auto;align-items:stretch}
.checkout-form{padding:32px 38px 36px 28px;border-right:1px solid #dedede;min-width:0}
.checkout-form fieldset{margin:0 0 24px;padding:0;border:0;min-width:0}
.checkout-form legend{font-size:20px;font-weight:600;line-height:1.3;color:#111;margin-bottom:16px;letter-spacing:-.3px}
.checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.checkout-control{min-width:0}.checkout-control.wide,.checkout-field.wide,.checkout-locality{grid-column:1/-1}
.checkout-locality{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;min-width:0}
.checkout-field{display:block;position:relative;height:50px;padding:0 12px;min-width:0;margin:0;background:#fff;border:1px solid #d9d9d9;border-radius:9px;box-shadow:0 1px 1px #00000002}
.checkout-field>span{position:absolute;left:12px;right:10px;top:50%;transform:translateY(-50%);transform-origin:left top;font-size:14px;line-height:18px;font-weight:400;color:#737373;pointer-events:none;white-space:nowrap;transition:top .15s ease,transform .15s ease}
.checkout-field input,.checkout-field select{display:block;width:100%;min-width:0;max-width:100%;height:100%;margin:0;padding:18px 0 3px;border:0;border-radius:0;background:transparent;box-shadow:none;font:400 14px/22px var(--sans);color:#222}
.checkout-field:focus-within>span,.checkout-field:has(input:not(:placeholder-shown))>span,.checkout-field:has(select)>span{top:5px;transform:translateY(0) scale(.79)}
.checkout-field:has(input:autofill)>span{top:5px;transform:translateY(0) scale(.79)}
.checkout-field:has(input:-webkit-autofill)>span{top:5px;transform:translateY(0) scale(.79)}
.checkout-field:focus-within{border-color:#222;outline:1px solid #222;outline-offset:0}
.checkout-field input:focus,.checkout-field select:focus{outline:none}
.checkout-error{font-size:12px;line-height:1.4;color:#d00000;margin:5px 0 0}.checkout-error[hidden]{display:none}.checkout-field:has(input[aria-invalid="true"]){border-color:#d00000}
.checkout-payment{margin-top:20px}.checkout-payment>.button{width:100%;min-height:48px;justify-content:center;padding:12px 18px;font-size:16px;font-weight:500;border-radius:8px;line-height:1.4;background:#9019ff;color:#fff;opacity:1;cursor:not-allowed}
.checkout-payment p{font-size:12px;line-height:1.5;color:#737373;margin:10px 0 0}
.checkout-guarantee{display:flex;align-items:center;justify-content:center;gap:7px;color:#0a9a54;font-size:12px;line-height:1.5;margin:22px 0 0}.checkout-guarantee svg{width:20px;height:24px;flex-shrink:0}
.checkout-summary{position:relative;isolation:isolate;padding:36px 28px 40px 36px;background:#f5f5f5;min-width:0}
.checkout-summary::after{content:'';position:absolute;left:100%;top:0;bottom:0;width:50vw;background:#f5f5f5;z-index:-1}
.checkout-items{display:grid;gap:18px;margin:0 0 28px}
.checkout-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0}
.checkout-image{position:relative;width:64px;height:64px;border:1px solid #dedede;border-radius:9px;background:#fff}
.checkout-image img{display:block;width:100%;height:100%;padding:3px;object-fit:contain}
.checkout-image>span{position:absolute;right:-7px;top:-8px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:50%;background:#777;color:#fff;font-size:11px;line-height:1}
.checkout-item h3{font-size:14px;font-weight:500;line-height:1.4;letter-spacing:0;margin:0 0 3px;color:#222}
.checkout-item-copy p{font-size:12px;line-height:1.5;color:#737373;margin:0;text-transform:capitalize}
.checkout-item-price{font-size:14px;font-weight:500;white-space:nowrap;color:#222}
.checkout-totals{margin:0;color:#333;font-size:14px;line-height:1.5}
.checkout-totals>div{display:flex;justify-content:space-between;gap:18px;border:0;padding:5px 0;margin:0}
.checkout-totals dd{margin:0;text-align:right}
.checkout-totals>.checkout-grand{padding-top:18px;margin-top:4px;border:0;font-size:20px;font-weight:600;color:#111}
.checkout-summary-actions{display:flex;align-items:start;gap:22px;flex-wrap:wrap;margin-top:22px}
.checkout-summary-actions>.text-button{font-size:12px;padding:0;color:#666}
.checkout-coupon{border:0;padding:0;margin:0;background:none;max-width:100%}
.checkout-coupon summary{list-style:none;cursor:pointer;font-size:12px;font-weight:400;padding:0;color:#337ea0}
.checkout-coupon summary::after{content:none}.checkout-coupon summary::-webkit-details-marker{display:none}
.checkout-coupon p{font-size:12px;line-height:1.5;color:#777;margin:8px 0 0}
.checkout-price-warning{font-size:13px;color:#a1271c}.checkout-empty{padding:55px 24px}.checkout-empty h1{font-size:30px}
@media(max-width:900px){.checkout-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.checkout-form{padding:28px 24px}.checkout-summary{padding:32px 24px}.checkout-item{grid-template-columns:54px minmax(0,1fr) auto;gap:10px}.checkout-image{width:54px;height:54px}.checkout-item-price{font-size:13px}}
@media(max-width:750px){body.checkout-mode>header{height:58px;padding:0 20px;justify-content:center}body.checkout-mode>header .brand img{width:125px}.checkout-layout{grid-template-columns:1fr}.checkout-form{border:0;padding:24px 20px 30px}.checkout-summary{padding:26px 20px;border-top:1px solid #ddd}.checkout-summary::after{display:none}.checkout-field input,.checkout-field select{font-size:16px}.checkout-locality{grid-template-columns:1fr 1fr}.checkout-locality>.checkout-control:first-child{grid-column:1/-1}.checkout-item{grid-template-columns:60px minmax(0,1fr) auto;gap:14px}.checkout-image{width:60px;height:60px}.checkout-item-price{font-size:14px}}
@media(prefers-reduced-motion:reduce){.checkout-field>span{transition:none}}

@media(min-width:751px){.checkout-layout{min-height:calc(100dvh - 64px)}}

/* Native select text has a browser-specific inset; use the same text origin as inputs. */
.checkout-field select{appearance:none;-webkit-appearance:none;padding-left:0;padding-right:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23222' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right center}

.checkout-summary-toggle{display:none}
@media(max-width:750px){
 .checkout-summary{grid-row:1;padding:0;border-top:0;border-bottom:1px solid #ddd}
 .checkout-summary-toggle{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;padding:20px;color:#292333;font:inherit;text-align:left;cursor:pointer}
 .checkout-summary-toggle>svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;flex-shrink:0}
 .checkout-summary-toggle strong{margin-left:auto;white-space:nowrap;font-size:17px}
 .checkout-summary-toggle[aria-expanded="true"]>svg{transform:rotate(180deg)}
 .checkout-summary-toggle[aria-expanded="false"]+#checkout-summary-content{display:none}
 #checkout-summary-content{padding:6px 20px 24px}
 .checkout-summary-toggle:focus-visible{outline:2px solid #9019ff;outline-offset:-3px}
}

.payment-test-notice{padding:14px 16px;margin:0 0 24px;border:1px solid #e4c765;border-radius:10px;background:#fff8dc;color:#604b10;font-size:14px;line-height:1.6}.payment-test-notice[hidden]{display:none}

/* Soft Lavender: selected checkout design. */
body.checkout-mode>header{height:72px;padding:0 max(24px,calc((100vw - 1140px)/2));border-color:#e4deec}
body.checkout-mode>header .brand img{width:164px}
.checkout-page{color:#252133;padding:0 24px 48px}
.checkout-intro{max-width:1140px;margin:32px auto 30px}
.checkout-intro h1{font-size:36px;line-height:1.2;letter-spacing:-1px;margin:0 0 14px;color:#252133}
.checkout-intro p{font-size:15px;color:#81778c;margin:0}
.checkout-layout{max-width:1140px;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:42px;align-items:start;min-height:0}
.checkout-form{padding:0;border:0}
.checkout-form fieldset{margin-bottom:28px}
.checkout-form legend{font-size:19px;color:#252133;margin-bottom:18px}
.checkout-field{height:58px;border:1px solid #e4deec;border-radius:12px;padding:0 13px;box-shadow:none}
.checkout-field>span{top:50%;left:13px;transform:translateY(-50%);font-size:15px;line-height:19px;color:#81778c;transition:top .15s ease,transform .15s ease}
.checkout-field:focus-within>span,.checkout-field:has(input:not(:placeholder-shown))>span,.checkout-field:has(select)>span,.checkout-field:has(input:autofill)>span,.checkout-field:has(input:-webkit-autofill)>span{top:7px;transform:translateY(0) scale(.75)}
@media(prefers-reduced-motion:reduce){.checkout-field>span{transition:none}}
.checkout-field input,.checkout-field select{padding:24px 0 6px;font-size:15px;color:#3d3548}
.checkout-field:focus-within{border-color:#8c20ee;outline:1px solid #8c20ee}
.checkout-summary{padding:26px;background:#faf7fe;border:1px solid #e4deec;border-radius:14px}
.checkout-summary::after{display:none}
.checkout-summary-heading{font-size:21px;color:#252133;margin:0 0 26px;line-height:1.3;letter-spacing:-.4px}
.checkout-item{grid-template-columns:70px minmax(0,1fr) auto;gap:14px}
.checkout-image{width:70px;height:80px;border-color:#e4deec;border-radius:12px}
.checkout-image>span{background:#737373}
.checkout-item h3{color:#252133;font-weight:600}
.checkout-item-copy p{color:#81778c}
.checkout-item-price{font-size:13px;font-weight:600;color:#252133}
.checkout-items{margin-bottom:24px}
.checkout-totals{border-top:1px solid #e4deec;padding-top:16px;color:#352e41;font-size:13px}
.checkout-totals>div{padding:7px 0}
.checkout-totals>.checkout-grand{border-top:1px solid #e4deec;padding-top:20px;margin-top:12px;color:#252133;font-size:21px}
.checkout-summary-actions{margin-top:20px;gap:18px}
.checkout-summary-actions>.text-button,.checkout-coupon summary{color:#8134bc}
.checkout-summary-promise{border-top:1px solid #e4deec;margin-top:24px;padding-top:20px;font-size:12px;line-height:1.6}
.checkout-summary-promise strong{color:#352b43}
.checkout-summary-promise p{margin:4px 0 0;color:#81778c}
.checkout-payment{margin-top:28px}
.checkout-payment #payment-fields>h2{font-size:19px;color:#252133;margin:0 0 18px;line-height:1.3;letter-spacing:-.3px}
.checkout-payment #payment-pay{background:#8c20ee;color:#fff;min-height:50px;font-size:16px;border-radius:100px}
.checkout-payment #payment-pay:hover,.checkout-payment #payment-pay:focus-visible{background:#7918d4;color:#fff}
.checkout-payment .payment-test-notice{margin:0 0 22px;color:#604b10}
@media(max-width:950px) and (min-width:751px){.checkout-layout{gap:24px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.checkout-summary{padding:20px}.checkout-item{grid-template-columns:54px minmax(0,1fr);gap:10px}.checkout-image{width:54px;height:64px;grid-row:1/3}.checkout-item-price{grid-column:2}.checkout-item-copy{align-self:end}}
@media(max-width:750px){body.checkout-mode>header{height:60px;justify-content:flex-start;padding:0 20px}body.checkout-mode>header .brand img{width:142px}.checkout-page{padding:0 20px 32px}.checkout-intro{margin:26px 0 24px}.checkout-intro h1{font-size:30px}.checkout-intro p{font-size:14px}.checkout-layout{grid-template-columns:minmax(0,1fr);gap:26px}.checkout-form{padding:0}.checkout-summary{padding:0;border:1px solid #e4deec;border-radius:12px}.checkout-summary-toggle{padding:18px;font-size:13px}.checkout-summary-toggle strong{font-size:16px}#checkout-summary-content{padding:4px 18px 22px}.checkout-summary-heading{display:none}.checkout-item{grid-template-columns:58px minmax(0,1fr) auto;gap:10px}.checkout-image{width:58px;height:68px}.checkout-item h3{font-size:13px}.checkout-item-price{font-size:12px}.checkout-field input,.checkout-field select{font-size:16px}.checkout-fields{gap:10px}}

.checkout-item-copy p{text-transform:none}

/* Keep the checkout header and form on a continuous white surface. */
body.checkout-mode,body.checkout-mode #main{background:#fff}
body.checkout-mode>header{border-bottom:1px solid #e2e2e2;max-width:none;width:100%}
.checkout-page{padding-top:32px}
@media(max-width:750px){.checkout-page{padding-top:24px}}

/* Restore the original checkout form width while retaining the lavender card. */
@media(min-width:951px){
 body.checkout-mode>header{padding-left:max(28px,calc((100vw - 1100px)/2 + 28px));padding-right:max(28px,calc((100vw - 1100px)/2 + 28px))}
 .checkout-layout{max-width:1100px;grid-template-columns:minmax(0,600px) minmax(0,500px);gap:0}
 .checkout-form{padding:0 38px 0 28px}
}

/* Keep the desktop order card visible; long orders scroll inside the card. */
@media(min-width:751px){
 .checkout-summary{position:sticky;top:24px;align-self:start;max-height:calc(100dvh - 48px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d6c8e4 transparent}
}

.checkout-summary-promise{display:grid;gap:12px}
.checkout-promise-item{display:flex;align-items:center;gap:10px;color:#756b80}
.checkout-promise-item svg{width:21px;height:21px;flex:0 0 21px;fill:none;stroke:#8134bc;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.checkout-coupon-entry{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.checkout-coupon-entry input{min-width:0;flex:1;width:140px;padding:11px 12px;border:1px solid #ded5e8;border-radius:8px;font:inherit;background:white}.checkout-coupon-entry button:not(.text-button){background:#8c20ee;color:white;border:0;border-radius:8px;padding:10px 15px;font:inherit;cursor:pointer}.checkout-coupon-entry button:disabled{opacity:.55;cursor:wait}.checkout-coupon-entry input:focus-visible,.checkout-coupon-entry button:focus-visible{outline:2px solid #8c20ee;outline-offset:2px}#checkout-discount-row{color:#13814d}#checkout-discount-row[hidden]{display:none}#checkout-coupon-message{font-size:13px;line-height:1.5;margin:10px 0 0}#checkout-coupon-remove[hidden]{display:none}

/* Empty checkout remains part of the storefront, with navigation and footer. */
.empty-cart-page{max-width:1240px;margin:auto;padding:34px 32px 64px}.empty-cart-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:32px;align-items:center;background:#f1edf7;border:1px solid #e7dfef;border-radius:24px;padding:44px 48px}.empty-cart-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:650;color:#8c729e;margin:0 0 15px}.empty-cart-copy h1{font-size:36px;line-height:1.18;letter-spacing:-1.1px;color:#302639;font-weight:600;margin:0 0 18px}.empty-cart-copy h1 em{color:#805198;font-style:normal;font-weight:500}.empty-cart-copy>p:not(.empty-cart-eyebrow){font-size:15px;line-height:1.65;color:#7a6c83;max-width:410px;margin:0 0 25px}.empty-cart-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.empty-cart-actions .button{font-size:14px;padding:13px 22px;gap:16px}.empty-cart-help{font-size:12px;color:#7c598f;text-underline-offset:4px}.empty-cart-art{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:235px;isolation:isolate}.empty-cart-halo{position:absolute;width:220px;height:220px;border-radius:50%;background:#e5d9f0;z-index:-1;top:0}.empty-cart-art svg{width:175px;height:175px;transform:rotate(-7deg)}.empty-cart-art-caption{font-size:13px;color:#896c9c;margin-top:16px}.empty-cart-promises{display:flex;justify-content:center;gap:40px;padding:25px 0;color:#776b80;font-size:12px;border-bottom:1px solid #e5deeb}.empty-cart-promises>span{display:flex;align-items:center;gap:9px}.empty-cart-promises svg{width:21px;height:21px;stroke:#8b60a6;fill:none;stroke-width:1.6}.empty-cart-picks{padding-top:33px}.empty-cart-picks-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}.empty-cart-picks-heading .empty-cart-eyebrow{margin-bottom:9px}.empty-cart-picks-heading h2{font-size:27px;line-height:1.2;color:#34283e;margin:0;letter-spacing:-.6px;font-weight:600}.empty-cart-picks-heading>a{font-size:12px;color:#805099;white-space:nowrap}.empty-cart-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.empty-cart-grid .lp-card-stage h3{font-size:19px;min-height:66px;padding:18px 18px 0}.empty-cart-grid .lp-card-image{aspect-ratio:1.1}.empty-cart-grid .lp-card-footer{padding:16px}.empty-cart-grid .lp-card-price{font-size:17px}.empty-cart-grid .lp-card-shop{font-size:12px;padding:9px 13px;gap:10px}
@media(max-width:900px){.empty-cart-hero{padding:32px;grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr);gap:20px}.empty-cart-copy h1{font-size:30px}.empty-cart-promises{gap:20px;font-size:11px}.empty-cart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.empty-cart-page{padding:20px 18px 42px}.empty-cart-hero{display:flex;flex-direction:column-reverse;gap:19px;padding:26px 23px;border-radius:20px}.empty-cart-art{min-height:135px}.empty-cart-art svg{width:100px;height:110px}.empty-cart-halo{width:125px;height:125px;top:-4px}.empty-cart-art-caption{margin-top:6px;font-size:11px}.empty-cart-copy{text-align:center}.empty-cart-copy h1{font-size:27px;letter-spacing:-.6px}.empty-cart-copy>p:not(.empty-cart-eyebrow){font-size:13px;margin-bottom:21px}.empty-cart-actions{justify-content:center;gap:17px}.empty-cart-actions .button{width:100%}.empty-cart-promises{flex-wrap:wrap;gap:12px 20px;padding:21px 0}.empty-cart-promises>span:last-child{display:none}.empty-cart-picks-heading{align-items:flex-start;flex-direction:column;gap:12px}.empty-cart-picks-heading h2{font-size:24px}.empty-cart-grid{gap:12px}.empty-cart-grid .lp-card-stage h3{font-size:16px;min-height:64px;padding:15px 12px 0}.empty-cart-grid .lp-card-footer{padding:12px;gap:8px;flex-wrap:wrap}.empty-cart-grid .lp-card-price{font-size:15px}.empty-cart-grid .lp-card-shop{font-size:11px;padding:8px 11px}}

/* Keep cart editing with the order heading and coupons directly below totals. */
.checkout-summary-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}
.checkout-summary-header .checkout-summary-heading{display:block;margin:0}
.checkout-summary-header #edit-bag{padding:0;font-size:12px;color:#8134bc;white-space:nowrap}
.checkout-summary-actions{display:block}
.checkout-summary-actions .checkout-coupon{width:100%}
.checkout-coupon-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;margin-top:12px}
.checkout-coupon-entry #checkout-coupon-code,.checkout-coupon-entry #checkout-coupon-apply{box-sizing:border-box;height:44px;min-height:44px;margin:0;line-height:20px;padding:11px 12px}
.checkout-coupon-entry #checkout-coupon-code{width:100%}
.checkout-coupon-entry #checkout-coupon-apply{padding:11px 18px}
.checkout-coupon-entry #checkout-coupon-remove{grid-column:1/-1;justify-self:start;padding:0}
@media(max-width:750px){.checkout-summary-header{margin:12px 0 22px}.checkout-summary-header .checkout-summary-heading{font-size:18px}}

/* Align the price with the name, above the pack-description line. */
@media(min-width:951px),(max-width:750px){.checkout-item-price{transform:translateY(-10.5px)}}

/* Square product frames at every checkout breakpoint. */
.checkout-image{height:auto;aspect-ratio:1;align-self:center}

/* Compact coupon field; the label itself toggles the disclosure. */
.checkout-coupon-entry{grid-template-columns:minmax(120px,calc(50% - 41px)) max-content;justify-content:start}
.checkout-coupon summary::after,.checkout-coupon[open] summary::after{content:none;display:none}
