.store-flow{text-align:right;max-height:78dvh;overflow:auto;padding:8px;min-width:0}.store-flow h2{margin:0 0 18px}.store-flow p{line-height:2}.store-flow form{display:grid;gap:16px}.store-flow label{display:grid;gap:8px;font-size:14px}.store-flow input,.store-flow textarea{box-sizing:border-box;width:100%;border:1px solid #cad6da;border-radius:12px;padding:12px;background:white;color:#29485e;font:inherit}.store-flow textarea{min-height:90px;resize:vertical}.store-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.store-fields label:has(textarea){grid-column:1/-1}.store-flow .button{margin:8px 0;cursor:pointer}.store-flow .text-link{padding:10px;cursor:pointer}.store-flow button:disabled{opacity:.5;cursor:wait}.store-line{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-bottom:1px solid #e3e8eb;padding:16px 0}.store-line>a{flex:1 1 160px}.store-line input{width:76px}.store-address{display:flex!important;align-items:start;border:1px solid #dce4e8;border-radius:14px;padding:14px;line-height:2}.store-address input{width:20px;flex:none;margin-top:8px;accent-color:#29485e}.store-secondary{background:#edf3f5!important;color:#29485e!important}.store-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:11000;background:#29485e;color:white;border-radius:14px;padding:14px 22px;max-width:90vw;text-align:center;box-shadow:0 4px 24px #0002}#store-error{color:#a02030}.store-product-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.store-product-actions button{cursor:pointer}#site-dialog:has(.store-flow){width:min(580px,94vw);box-sizing:border-box}@media(max-width:480px){.store-fields{grid-template-columns:1fr}.store-flow{padding:2px}.store-line{gap:8px}}
/* One compact control for cards and the product page. */
.catalog-card-actions{inset:auto 8px 8px auto;width:min(132px,calc(100% - 16px));padding:0;border:0;border-radius:12px;box-shadow:0 2px 8px #29485e12;background:transparent}
.catalog-cart-control>.catalog-action-cart{height:44px;font-size:12px;background:#d3eaf6;border:1px solid #b6d5e5;border-radius:12px}
.catalog-stepper{border:1px solid #bdd6cc;background:#e5f1eb;border-radius:12px;min-height:44px}
.catalog-stepper button{height:42px;width:42px;flex-basis:42px;font-size:21px}
.catalog-cart-number small{display:none}.catalog-cart-number strong{font-size:16px}
.catalog-picture-link{padding-bottom:56px}.catalog-heart{background:#fffaf6db;border-radius:50%;box-shadow:none}
.store-product-actions{align-items:center;gap:10px;padding-top:18px;border-top:1px solid var(--line)}
.detail-cart-control{flex:0 1 200px;max-width:200px}.detail-cart-control>.catalog-action-cart{font-size:13px;height:48px}.detail-cart-control .catalog-stepper{min-height:48px}.detail-cart-control .catalog-stepper button{height:46px}
.detail-favorite{border:1px solid #dfdfd8;border-radius:12px;width:48px;height:48px;background:#fffaf6}.detail-favorite svg{width:21px;height:21px}
/* Calm checkout panels, grouped fields and a separate order summary. */
#site-dialog:has(.store-flow){border:1px solid #e3e5df;border-radius:24px;padding:32px;width:min(560px,calc(100vw - 24px));max-height:92dvh;box-shadow:0 24px 100px #172f4833;background:#fffdf9}
#site-dialog:has(.checkout-layout){width:min(920px,calc(100vw - 24px))}
#site-dialog::backdrop{background:#233b4b55;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
#site-dialog .dialog-close{z-index:3;position:absolute;top:12px;left:12px;width:36px;height:36px;display:grid;place-items:center;background:#f0f1ed;border-radius:50%;font-size:22px;cursor:pointer}
.store-flow{max-height:calc(92dvh - 64px);padding:4px;scrollbar-width:thin;overscroll-behavior:contain}
.store-flow h2{font-size:24px;line-height:1.6;margin:6px 0 8px}.store-flow>p,.checkout-heading p{color:#6b7e86;font-size:13px;margin:0 0 20px}
.store-eyebrow{color:#668798;font-size:10px;letter-spacing:.2px}.checkout-heading{padding-left:24px}
.checkout-steps{display:flex;list-style:none;gap:24px;margin:24px 0;padding:0 0 18px;border-bottom:1px solid #e8ebe6;color:#86908e;font-size:12px}.checkout-steps li{display:flex;align-items:center;gap:8px}.checkout-steps li>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#eef0ec}.checkout-steps [aria-current]{color:#29485e;font-weight:600}.checkout-steps [aria-current]>span{background:#d3eaf6}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);gap:28px;align-items:start}
.store-flow fieldset{min-width:0;padding:18px 0 0;margin:0 0 8px;border:0;border-top:1px solid #edf0e9}.store-flow legend{font-size:14px;font-weight:600;padding:0 0 0 12px}
.store-fields{gap:16px 12px}.store-fields .field-address{grid-column:1/-1}.store-flow label{font-size:12px;gap:7px;color:#536976}
.store-flow input,.store-flow textarea{min-width:0;background:#fff;border:1px solid #dce3e1;border-radius:10px;padding:12px;font-size:14px;line-height:1.5;transition:border-color .15s,box-shadow .15s}.store-flow input::placeholder,.store-flow textarea::placeholder{font-size:12px;color:#9aa5a8}.store-flow input:focus,.store-flow textarea:focus{outline:0;border-color:#83b5cc;box-shadow:0 0 0 3px #d3eaf655}.store-flow textarea{min-height:86px}.store-flow .field-hint{font-size:10px;line-height:1.9;color:#82908f;margin:8px 0 0}
.checkout-summary{background:#f1f5f3;border:1px solid #e4ebe6;border-radius:16px;padding:20px}.checkout-summary h3{font-size:16px;margin:8px 0 20px}.summary-item{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #e0e7e2;padding:12px 0;font-size:12px;line-height:1.8}.summary-item>span{min-width:0}.summary-item small{display:block;font-size:10px;color:#798b85}.summary-item strong{font-size:11px;white-space:nowrap}.summary-total{display:flex;justify-content:space-between;gap:10px;padding-top:20px;font-size:12px;line-height:2}.checkout-summary p{font-size:10px;color:#7c8b85;margin-bottom:0}
.checkout-footer{display:flex;align-items:center;gap:16px;margin-top:4px}.store-flow .button{min-height:46px;border-radius:11px;font-size:13px;padding:12px 20px;font-weight:600}.checkout-footer .button{flex:1;display:flex;justify-content:space-between;align-items:center}.store-flow .text-link{border:0;background:transparent;font:inherit;font-size:12px;color:#657e8a}.store-address{background:#fff;padding:16px;border-color:#e3e9e5}.store-address:has(input:checked){border-color:#97bfce;background:#f2f8fb}.store-address input{min-width:20px;box-shadow:none}
#store-error:empty{display:none}#store-error:not(:empty){padding:12px;background:#fff0ee;border-radius:10px;font-size:12px}
@media(max-width:700px){.checkout-layout{grid-template-columns:1fr;gap:20px}.checkout-summary{padding:16px}.checkout-summary h3{margin-bottom:8px}#site-dialog:has(.store-flow){padding:24px 16px;border-radius:20px}.store-flow{max-height:calc(92dvh - 48px)}.store-flow h2{font-size:21px}.checkout-steps{gap:20px;margin:18px 0}.store-fields{grid-template-columns:1fr 1fr;gap:14px 10px}.field-phone,.field-postal_code{grid-column:1/-1}.checkout-footer{gap:8px}.store-flow input{font-size:16px}.catalog-card-actions{width:min(120px,calc(100% - 12px));inset:auto 6px 6px auto}}
@media(max-width:359px){.store-fields{grid-template-columns:1fr}.store-fields label{grid-column:1}.checkout-steps{gap:12px;font-size:11px}}
.checkout-options{display:grid;gap:12px;margin-top:24px}.checkout-option{display:block;width:100%;text-align:right;font:inherit;color:#29485e;border:1px solid #dce5e4;border-radius:14px;padding:20px;background:#f2f8fa;cursor:pointer}.checkout-option+ .checkout-option{background:#faf7f1}.checkout-option strong{font-size:14px;display:flex;justify-content:space-between;gap:12px}.checkout-option small{display:block;font-size:11px;line-height:1.9;color:#72858e;margin-top:8px}.checkout-option:hover,.checkout-option:focus-visible{border-color:#83b5cc;outline:2px solid #d3eaf6;outline-offset:2px}
/* Cart drawer: one scroll area with an always-visible checkout action. */
html:has(#site-dialog[open]){overflow:hidden}
#site-dialog[data-view="cart"]{width:min(480px,calc(100vw - 32px));height:min(720px,88dvh);max-height:88dvh;padding:0;margin:auto auto 20px;border:0;border-radius:24px;overflow:hidden;background:#fffdf9}
#site-dialog[data-view="cart"] #dialog-content{height:100%}
#site-dialog[data-view="cart"] .store-flow{height:100%;max-height:none;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;padding:0;overflow:hidden;gap:0}
#site-dialog[data-view="cart"] .dialog-close{top:22px;left:20px;width:40px;height:40px;background:#f1f3ee}
.cart-sheet-heading{padding:24px 24px 16px;border-bottom:1px solid #eef0ea}
.sheet-handle{display:none}.cart-added-note{display:flex;align-items:center;gap:8px;font-size:12px;color:#42765c;margin-bottom:10px}.cart-added-note>span{display:grid;place-items:center;width:22px;height:22px;background:#e6f1e8;border-radius:50%;font-size:13px}
.cart-sheet-heading h2{font-size:21px;margin:0;display:flex;align-items:center;gap:10px}.cart-sheet-heading h2>span{font-size:11px;font-weight:400;color:#7c8e94;border-radius:20px;background:#f0f3f1;padding:5px 10px}
.cart-sheet-items{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:4px 24px;scrollbar-width:thin}
.cart-sheet-item{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid #edf0e9}.cart-sheet-item:last-child{border-bottom:0}
.cart-sheet-photo{display:grid;place-items:center;flex:0 0 76px;width:76px;height:100px;background:#f0f4f4;border-radius:12px;overflow:hidden;color:#9bb6c1}.cart-sheet-photo img{display:block;width:100%;height:100%;object-fit:contain}
.cart-sheet-copy{flex:1;min-width:0}.cart-sheet-copy>a{display:block;font-size:14px;line-height:1.8;font-weight:600;overflow-wrap:anywhere}.cart-sheet-copy>p{font-size:11px;color:#889496;line-height:1.7;margin:3px 0 6px}.cart-sheet-copy>strong{display:block;font-size:12px;font-weight:500;margin:7px 0 10px}
.cart-sheet-item-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.cart-sheet-quantity{display:flex;align-items:center;border:1px solid #dce6df;border-radius:10px;background:#f3f7f3;height:40px;overflow:hidden;direction:rtl}.cart-sheet-quantity button{height:40px;width:40px;min-width:40px;border:0;background:transparent;color:#35594b;font-size:21px;cursor:pointer;touch-action:manipulation}.cart-sheet-quantity span{width:26px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}.cart-sheet-quantity button:disabled{opacity:.35;cursor:default}.cart-sheet-remove{font:inherit;font-size:11px;color:#a07b75;background:transparent;border:0;padding:10px;cursor:pointer}
.cart-sheet-footer{padding:18px 24px 12px;background:#fffdf9;border-top:1px solid #e7ece6;box-shadow:0 -6px 18px #29485e05}.cart-sheet-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.cart-sheet-total>span{font-size:12px}.cart-sheet-total small{display:block;font-size:9px;line-height:1.8;color:#8c9799;margin-top:4px}.cart-sheet-total>strong{font-size:15px;white-space:nowrap}
.store-flow .cart-checkout-button{display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:50px;padding:14px 18px;margin:0;border-radius:12px;background:#294f65;border:1px solid #294f65;color:#fff;font-size:14px;font-weight:500;cursor:pointer;text-decoration:none}.cart-checkout-button>span{font-size:20px}.store-flow .cart-checkout-button:hover{background:#35647e;transform:none}
.cart-continue{display:block;width:100%;min-height:42px;margin:4px 0 0;padding:10px;border:0;background:transparent;font:inherit;font-size:12px;color:#7e8e93;cursor:pointer}.cart-sheet-empty{text-align:center;padding:40px 10px;color:#7b9098}.cart-sheet-empty>span{font-size:34px;color:#94b1bd}.cart-sheet-empty h3{font-size:16px;color:#34576a}.cart-sheet-empty p{font-size:12px}
#site-dialog[data-view="cart"] #store-error:not(:empty){margin:0;padding:12px 24px;border-radius:0}
.checkout-back{display:inline-block;border:0;background:transparent;color:#7a8e97;font:inherit;font-size:11px;padding:8px 0;cursor:pointer}
.checkout-order-preview{border:1px solid #e2e9e3;border-radius:14px;min-width:0;background:#f4f7f3;overflow:hidden}.checkout-order-preview>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:16px;font-size:11px}.checkout-order-preview>summary::-webkit-details-marker{display:none}.checkout-order-preview>summary>span:first-child{flex:1}.checkout-order-preview>summary>strong{font-size:11px}.checkout-order-preview .checkout-summary{border:0;border-top:1px solid #e2e9e3;border-radius:0}.checkout-order-preview[open]>summary>span:last-child{transform:rotate(180deg)}
.review-address{border:1px solid #e5e9e2;border-radius:14px;padding:18px;margin:20px 0;background:#fff}.review-address>div{display:flex;align-items:center;justify-content:space-between}.review-address h3{font-size:14px;margin:0 0 12px}.review-address>strong{font-size:13px}.review-address p{font-size:12px;line-height:2;margin:8px 0;color:#778990}.store-flow .review-note{font-size:11px;color:#7c8a8d;line-height:2;margin:18px 0}
.checkout-review-footer{padding-top:10px;background:#fffdf9}
@media(max-width:700px){
 #site-dialog[data-view="cart"]{width:100%;max-width:100%;height:min(680px,86dvh);max-height:86dvh;margin:auto 0 0;border-radius:24px 24px 0 0;padding:0}
 #site-dialog[data-view="cart"] .dialog-close{top:28px;left:16px}
 .sheet-handle{display:block;position:absolute;top:9px;left:calc(50% - 18px);width:36px;height:4px;background:#d5ded9;border-radius:9px}
 .cart-sheet-heading{padding:28px 20px 16px}.cart-sheet-heading h2{font-size:20px}.cart-added-note{padding-left:40px}.cart-sheet-items{padding:0 20px}.cart-sheet-item{gap:12px;padding:18px 0}.cart-sheet-photo{width:68px;flex-basis:68px;height:90px}.cart-sheet-copy>a{font-size:13px}.cart-sheet-footer{padding:16px 20px max(10px,env(safe-area-inset-bottom))}.cart-sheet-total>strong{font-size:14px}
 #site-dialog[data-view="checkout"]{position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0;background:#fffdf9}
 #site-dialog[data-view="checkout"] #dialog-content{height:100%}
 #site-dialog[data-view="checkout"] .store-flow{height:100%;max-height:100%;overflow-y:auto;padding:calc(28px + env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom));scroll-padding-bottom:100px}
 #site-dialog[data-view="checkout"] .dialog-close{position:fixed;left:16px;top:calc(16px + env(safe-area-inset-top));width:40px;height:40px;background:#eef2ee}
 #site-dialog[data-view="checkout"] .store-flow>h2,#site-dialog[data-view="checkout"] .checkout-heading{padding-left:40px}
 #site-dialog[data-view="checkout"] .checkout-layout{display:flex;flex-direction:column;gap:24px}#site-dialog[data-view="checkout"] .checkout-layout>form{width:100%;gap:22px}
 .checkout-order-preview{order:-1;width:100%}.checkout-order-preview>summary{padding:14px}.checkout-steps{margin:24px 0}.checkout-options{gap:14px;margin-top:24px}.checkout-option{padding:22px 18px}
 #site-dialog[data-view="checkout"] .checkout-footer,#site-dialog[data-view="checkout"] .checkout-review-footer{position:sticky;bottom:calc(-1 * max(20px,env(safe-area-inset-bottom)));z-index:2;padding:14px 0 max(16px,env(safe-area-inset-bottom));border-top:1px solid #e4e9e2;background:#fffdf9;box-shadow:0 -8px 18px #fffdf9}
 .checkout-footer .button{background:#294f65;color:white;min-height:50px;margin:0}.review-address{padding:16px}
}
@media(max-width:359px){.cart-sheet-items{padding:0 16px}.cart-sheet-heading{padding-right:16px}.cart-sheet-footer{padding-left:16px;padding-right:16px}.cart-sheet-total{gap:8px}.cart-sheet-total>strong{font-size:12px}}
@media(prefers-reduced-motion:no-preference){#site-dialog[data-view="cart"][open]{animation:cart-sheet-in .24s ease-out}.just-added .cart-sheet-photo{animation:cart-item-confirm .45s ease-out}}
@keyframes cart-sheet-in{from{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes cart-item-confirm{50%{background:#dcefe2;transform:scale(1.04)}}
/* Distinct, thumb-friendly quantity controls and a quiet remove icon. */
.cart-sheet-item{margin:12px 0;padding:16px;gap:14px;border:1px solid #e7ece6;border-radius:16px;background:#fff}.cart-sheet-item:last-child{border-bottom:1px solid #e7ece6}.cart-sheet-items{background:#f7f8f4;padding-top:2px;padding-bottom:8px}.cart-sheet-photo{height:104px;background:#edf3f4;border-radius:11px}.cart-sheet-copy>strong{font-size:13px;margin:8px 0 14px;color:#29485e}.cart-sheet-item-bottom{justify-content:space-between;gap:8px}
.cart-sheet-quantity{height:44px;border:1px solid #cbdde5;border-radius:12px;background:#f5f9fb;flex:0 0 auto;overflow:hidden}.cart-sheet-quantity button{width:44px;height:44px;min-width:44px;display:grid;place-items:center;color:#315d75;transition:background .15s}.cart-sheet-quantity button:first-child{background:#dceef7}.cart-sheet-quantity button:active:not(:disabled){background:#bbdce9}.cart-sheet-quantity button:disabled{background:#edf1f1;color:#adb9bd;opacity:1;cursor:not-allowed}.cart-sheet-quantity span{width:30px;font-size:15px;font-weight:600;color:#29485e}.cart-sheet-quantity svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;pointer-events:none}
.cart-sheet-remove{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #f0e2df;border-radius:12px;background:#fcf5f2;color:#ad776b;touch-action:manipulation}.cart-sheet-remove svg{pointer-events:none}.cart-sheet-remove:hover{background:#f9e5df;color:#a55344}.cart-sheet-quantity button:focus-visible,.cart-sheet-remove:focus-visible{outline:2px solid #527c90;outline-offset:-3px}
.summary-product{padding:12px 0 16px;border-bottom:1px solid #dfe7e0}.summary-product .summary-item{border:0;padding:0 0 12px}.summary-product .cart-sheet-quantity{background:#fff}.summary-product .summary-item strong{font-size:12px}.summary-product .cart-sheet-item-bottom{gap:12px}.summary-product .cart-sheet-remove{background:#faf6f2}.cart-sheet-total strong,.summary-total strong{font-variant-numeric:tabular-nums}
@media(max-width:700px){.cart-sheet-items{padding-left:14px;padding-right:14px}.cart-sheet-item{padding:12px;gap:12px}.cart-sheet-photo{width:62px;flex-basis:62px;height:92px}.cart-sheet-copy>a{font-size:12px}.cart-sheet-copy>strong{font-size:12px}.cart-sheet-heading{border-bottom:0}.cart-sheet-footer{box-shadow:0 -4px 18px #29485e08}}
@media(max-width:359px){.cart-sheet-item{padding:10px;gap:10px}.cart-sheet-photo{width:48px;flex-basis:48px;height:76px}.cart-sheet-quantity span{width:24px}.cart-sheet-item-bottom{gap:6px}.cart-sheet-items{padding-left:10px;padding-right:10px}}
/* Adding a product keeps browsing uninterrupted; checkout stays within reach. */
.quick-checkout{position:fixed;z-index:120;bottom:max(12px,env(safe-area-inset-bottom));inset-inline:12px;margin-inline:auto;width:calc(100% - 24px);max-width:420px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 8px 8px 16px;border:1px solid #dce7e5;border-radius:16px;background:#fffdf9f5;box-shadow:0 6px 24px #29485e20;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.quick-checkout[hidden]{display:none}.quick-checkout-count{white-space:nowrap;font-size:12px;color:#70848d;padding-inline:8px}.quick-checkout-count strong{color:#29485e;font-size:15px;font-weight:600;margin-inline-end:4px}.quick-checkout button{display:flex;align-items:center;justify-content:space-between;gap:24px;border:0;border-radius:11px;min-height:44px;padding:10px 18px;background:#294f65;color:white;font:inherit;font-size:13px;cursor:pointer;touch-action:manipulation}.quick-checkout button:focus-visible{outline:3px solid #80b9d1;outline-offset:2px}.quick-checkout button:hover{background:#35647e}.quick-checkout button:disabled{opacity:.65}.quick-checkout button>span{font-size:18px}
body:has(.quick-checkout:not([hidden])){padding-bottom:calc(88px + env(safe-area-inset-bottom))}body:has(.quick-checkout:not([hidden])) .store-toast{bottom:calc(88px + env(safe-area-inset-bottom))}
body:has(dialog[open]) .quick-checkout{visibility:hidden;pointer-events:none}
@media(max-width:359px){.quick-checkout{gap:8px;padding-left:8px}.quick-checkout button{gap:14px;padding-inline:14px;font-size:12px}.quick-checkout-count{font-size:11px;padding-inline:4px}}
