/* Final polish and accessible checkout, preserving the ivory / rose palette. */
.product-action,.store-button:not(.store-button-outline){background:#975d55;color:#fffdf9}.favorite-button,.product-favorite{min-width:44px;min-height:44px}.active-filters{font-size:.8rem;color:#805149;margin:8px 0}.active-filters:empty{display:none}
#checkout-dialog{width:min(1000px,calc(100% - 32px));max-height:92dvh;padding:28px;border:1px solid #e5d9d2;border-radius:20px;background:#fffdf9;color:#514b58;overflow:auto}#checkout-dialog::backdrop,#privacy-dialog::backdrop{background:#30273180;backdrop-filter:blur(5px)}.checkout-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px;margin-top:16px}.checkout-notice{background:#f3e9e4;border-radius:12px;padding:16px;line-height:1.6}.checkout-steps{display:flex;gap:22px;padding:0;list-style-position:inside;font-size:.8rem}.checkout-steps [aria-current]{font-weight:700;color:#805149}#checkout-form fieldset{border:0;padding:0;margin:24px 0}#checkout-form legend{font-size:1.1rem;font-weight:600;margin-bottom:12px}#checkout-form label{display:flex;flex-direction:column;gap:7px;font-size:.85rem;margin-bottom:14px}#checkout-form input,#checkout-form select{width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #cbbeb8;border-radius:8px;background:white;color:#514b58;font:inherit;font-size:16px;min-height:46px}.checkout-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkout-privacy,.checkout-muted{font-size:.8rem;line-height:1.65;color:#6c6268}.checkout-summary{align-self:start;background:#f7f4ee;padding:24px;border-radius:16px}.checkout-line{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #e5d9d2;padding:14px 0;font-size:.86rem}.checkout-line div span{display:block;margin-top:5px;font-size:.78rem}.checkout-line>span{white-space:nowrap}.checkout-subtotal{display:flex;justify-content:space-between;gap:12px;font-size:.9rem}#checkout-review p{overflow-wrap:anywhere;line-height:1.7}#checkout-back{margin-top:20px}button:disabled{cursor:not-allowed;opacity:.6}#privacy-dialog{max-width:520px;width:calc(100% - 48px);box-sizing:border-box;background:#fffdf9;color:#514b58;padding:32px;border:1px solid #dfd2cc;border-radius:18px;line-height:1.7}#privacy-open{background:none;border:0;text-decoration:underline;color:inherit;padding:12px;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #805149;outline-offset:3px}
@media(max-width:700px){#checkout-dialog{width:100%;height:100dvh;max-height:100dvh;max-width:100%;margin:0;box-sizing:border-box;border-radius:0;padding:20px 16px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.checkout-layout{grid-template-columns:1fr;gap:20px}.checkout-summary{grid-row:1;padding:18px}.checkout-line{padding:10px 0}.checkout-steps{gap:14px;font-size:.75rem}}

/* Checkout handoff v93 */
#checkout-complete{width:min(92vw,560px);max-height:90dvh;overflow:auto;border:1px solid #d8cbb9;border-radius:18px;padding:24px;background:#faf7f0;color:#29251f}#checkout-complete::backdrop{background:rgb(0 0 0 / .45)}#checkout-complete .cart-content{display:grid;gap:14px}#checkout-complete .cart-heading{gap:20px}#checkout-complete h2{font-size:1.4rem}
/* Klô — entrega e pagamento integrados */
#checkout-dialog{width:min(1060px,calc(100% - 40px));border-radius:24px;padding:32px;background:#faf7f0;color:#423c39;border-color:#e8e0d6;box-shadow:0 24px 100px #322b2529}#checkout-dialog h2{font-family:Georgia,serif;font-size:1.85rem;font-weight:400;letter-spacing:-.035em}#checkout-dialog h3{font-size:1rem;font-weight:500;color:#423c39}.checkout-layout{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:40px}.checkout-notice{padding:0;background:none;font-size:.88rem;color:#80766d;margin:0 0 24px}.checkout-steps{list-style:none;counter-reset:steps;gap:24px;border-bottom:1px solid #e7dfd5;padding-bottom:20px}.checkout-steps li{display:flex;align-items:center;gap:8px;color:#94877b}.checkout-steps li:before{counter-increment:steps;content:counter(steps);display:grid;place-items:center;border:1px solid #d9cebf;width:22px;height:22px;border-radius:50%;font-size:.7rem}.checkout-steps [aria-current]{color:#5f493c;font-weight:500}.checkout-steps [aria-current]:before{color:white;background:#796353;border-color:#796353}#checkout-form legend{font-weight:500;font-size:1rem;color:#443e38}#checkout-form input,#checkout-form select{background:#fffcf7;border:1px solid #ded5ca;border-radius:10px;color:#443e38;padding:13px}#checkout-form label{font-size:.78rem;color:#75695e}.checkout-summary{position:sticky;top:0;background:#f1ece2;border:1px solid #e8dfd1;border-radius:18px;padding:26px}.checkout-summary h3{font-family:Georgia,serif;font-size:1.35rem!important;margin-top:0}#checkout-total{padding-top:16px;border-top:1px solid #dcd1c1;font-size:1.15rem;color:#44372c}.checkout-section{padding:20px 0;border-top:1px solid #e7dfd5;margin-top:22px}.checkout-choice{display:flex!important;align-items:center;flex-direction:row!important;gap:12px!important;min-height:68px;padding:14px 16px;border:1px solid #ddd3c6;border-radius:12px;background:#fffcf7;margin:10px 0!important;cursor:pointer;box-sizing:border-box}.checkout-choice:has(input:checked){border-color:#93785f;background:#f3ebdf;box-shadow:0 0 0 1px #93785f}.checkout-choice input{width:16px!important;min-height:16px!important;flex:0 0 16px;accent-color:#796353;padding:0!important}.checkout-choice>span{flex:1;font-size:.87rem;color:#443e38}.checkout-choice small{display:block;font-size:.73rem;color:#847669;margin-top:5px}.checkout-choice strong{font-size:.85rem;white-space:nowrap}.checkout-choice:has(input:disabled){opacity:.5;cursor:default}.payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px}.payment-method{margin:0!important}.payment-content{padding:12px 0;line-height:1.6;font-size:.85rem}.checkout-pix-qr{display:block;width:240px;height:240px;max-width:100%;margin:18px auto;border-radius:12px}.checkout-pix-code{display:block;box-sizing:border-box;width:100%;height:60px;border:1px solid #e2d8ca;border-radius:10px;padding:10px;background:#fffcf7;color:#807166;margin:14px 0;font:11px monospace;resize:none}.checkout-assistance{border-top:1px solid #e7dfd5;padding-top:16px;margin-top:24px;font-size:.8rem;color:#85776a}.checkout-assistance .cart-secondary{font-size:.8rem;background:transparent;border:0;text-decoration:underline;padding:0;color:#76604b}#checkout-dialog .product-action{border-radius:11px;background:#7d6654;color:#fffdf8;padding:15px 20px;border:0;font-size:.88rem;letter-spacing:.02em}#checkout-review{padding-top:16px}#review-contact,#review-address{font-size:.83rem;color:#766a60}#checkout-edit,#checkout-back{font-size:.8rem;background:transparent;border:1px solid #e1d7c9;border-radius:10px;color:#76604b}.checkout-line{border-color:#ddd4c7}#checkout-address-status:empty{display:none}
@media(max-width:700px){#checkout-dialog{width:100%;padding:24px 18px;max-height:100dvh;border-radius:0}.checkout-layout{grid-template-columns:1fr;gap:24px}.checkout-summary{position:static;grid-row:auto;padding:20px}.checkout-steps{gap:18px}.payment-methods{grid-template-columns:1fr 1fr;gap:8px}.payment-method{padding:12px 10px}.checkout-summary .checkout-muted{margin-bottom:0}#checkout-dialog h2{font-size:1.6rem}}

/* Delicate confirmation; popover places feedback above modal dialogs. */
body.storefront #cart-toast{position:fixed;inset:auto auto calc(24px + env(safe-area-inset-bottom,0px)) 50%;margin:0;box-sizing:border-box;width:max-content;max-width:min(360px,calc(100vw - 32px));padding:14px 18px;border:1px solid #e2d9cc;border-radius:16px;background:#fffdf8;color:#51473e;box-shadow:0 8px 30px #43382c1a;z-index:100;pointer-events:none;opacity:0;transform:translate(-50%,12px);transition:opacity .18s ease,transform .18s ease;font-family:inherit;line-height:1.4}
body.storefront #cart-toast.visible{display:flex;align-items:center;gap:12px;opacity:1;transform:translate(-50%,0)}
#cart-toast::backdrop{background:transparent;pointer-events:none}
#cart-toast .cart-added-icon{display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid #d7d8c7;border-radius:50%;color:#727a59;font-size:16px;font-weight:400}
#cart-toast strong{display:block;font-size:13px;font-weight:500;letter-spacing:.01em}
#cart-toast small{display:block;margin-top:3px;font-size:12px;color:#82766a;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){body.storefront #cart-toast{transition:none}}
/* Dedicated, progressive checkout. */
#checkout-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;box-sizing:border-box;padding:32px max(24px,calc((100vw - 960px)/2));background:#faf7f0}
#checkout-dialog [hidden]{display:none!important}#checkout-dialog .cart-heading{margin-bottom:28px}#checkout-dialog .dialog-eyebrow{font-size:10px;letter-spacing:.18em}#checkout-dialog h2{font-size:2rem}#checkout-dialog .checkout-steps{margin-bottom:32px;justify-content:space-between;max-width:530px;color:#65594f}#checkout-dialog .checkout-steps li{color:#75695e}#checkout-dialog .checkout-layout{margin:0;grid-template-columns:minmax(0,1fr) 310px;gap:64px}#checkout-dialog .checkout-main{min-width:0}#checkout-form fieldset{margin:0 0 20px}#checkout-form label{color:#544b43;font-size:14px;gap:8px;margin-bottom:18px}#checkout-form label>small{display:inline;font-size:12px;margin-top:-5px}#checkout-form input,#checkout-form select{min-height:48px;border-color:#d4c8ba}#checkout-dialog .checkout-muted,#checkout-dialog .checkout-privacy{font-size:13px;color:#6f6359;line-height:1.65}#checkout-dialog .checkout-privacy{margin:10px 0 28px}#checkout-dialog .checkout-summary{top:24px;padding:22px;border-radius:16px;background:#f3eee5;font-size:13px}#checkout-dialog .checkout-summary summary{cursor:pointer;font-size:14px;min-height:30px}#checkout-count{float:right;color:#6f6359;font-size:12px}#checkout-dialog .checkout-subtotal{font-size:13px;margin:16px 0}#checkout-dialog #checkout-total{font-size:20px;margin-bottom:0}#checkout-dialog .product-action{width:100%;min-height:48px;font-size:14px;background:#796353;border-radius:10px;cursor:pointer}#checkout-dialog .checkout-link{background:none;border:0;color:#665344;text-decoration:underline;text-underline-offset:4px;font:inherit;font-size:13px;cursor:pointer;padding:10px 0;min-height:44px;display:inline-flex;align-items:center;justify-content:center}#checkout-dialog .checkout-footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #e4dbce;margin-top:28px;padding-top:12px}#checkout-dialog #checkout-back{margin:0;border:0}#checkout-dialog .checkout-destination{border-bottom:1px solid #e4dbce;padding-bottom:16px;margin-bottom:24px}#checkout-dialog .checkout-destination p{font-size:13px;line-height:1.5;margin:4px 0;color:#6f6359}#checkout-dialog #checkout-review{padding:0}.fulfillment-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}#checkout-dialog .checkout-choice{margin:0 0 10px!important;padding:14px 12px}#checkout-dialog .checkout-choice small{font-size:12px;color:#716257}#checkout-dialog .checkout-choice input{width:18px!important;min-height:18px!important;height:18px}.city-state{grid-template-columns:minmax(0,1fr) 80px}#checkout-dialog .checkout-section{margin-top:16px;padding-top:16px}#checkout-save-error:empty{display:none}#checkout-save-error{font-size:14px;color:#8b392d;line-height:1.5}#checkout-receipt{padding:10px 0;line-height:1.7;font-size:14px}#checkout-receipt h3{font-family:Georgia,serif;font-size:24px}.receipt-mark{border:1px solid #c8cbb7;border-radius:50%;color:#727a59;width:46px;height:46px;display:grid;place-items:center;font-size:25px}.receipt-number{letter-spacing:.12em;font-size:12px;color:#786959}#checkout-receipt button{display:flex;margin:10px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){#checkout-dialog{padding:22px 20px calc(24px + env(safe-area-inset-bottom));}#checkout-dialog .cart-heading{margin-bottom:22px}#checkout-dialog h2{font-size:28px}#checkout-dialog .checkout-steps{margin-bottom:20px;font-size:12px;gap:12px;padding-bottom:16px}#checkout-dialog .checkout-layout{grid-template-columns:minmax(0,1fr);gap:24px}#checkout-dialog .checkout-summary{grid-row:1;position:static;padding:14px 16px}#checkout-dialog .checkout-summary .checkout-subtotal{display:inline-flex;gap:8px;margin:8px 14px 0 0;font-size:12px}#checkout-dialog #checkout-total{padding-top:10px;margin-top:12px;font-size:18px}#checkout-dialog .checkout-actions{position:static;bottom:auto;background:#faf7f0;padding:12px 0 calc(10px + env(safe-area-inset-bottom));z-index:2}#checkout-dialog .checkout-footer{margin-top:14px}.fulfillment-choices{gap:8px}#checkout-dialog .checkout-choice>span{font-size:13px}#checkout-dialog .checkout-choice small{font-size:11px}#checkout-dialog .checkout-line{font-size:12px}}
/* Override the shared catalog button palette only inside checkout. */
body.storefront #checkout-dialog .product-action{background:#796353;color:#fffdf8;border:1px solid #796353;box-shadow:none}
body.storefront #checkout-dialog .product-action:hover:not(:disabled){background:#65503f;border-color:#65503f}
#checkout-dialog #checkout-whatsapp{width:auto;flex:0 0 auto}
#checkout-dialog #checkout-back{white-space:nowrap;flex:0 0 auto}
#checkout-dialog #checkout-total:empty{display:none}

/* Keep catalogue display headings out of the secure payment form. */
#checkout-dialog [data-card-payment] h2{font-family:Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.4;letter-spacing:normal;margin:0 0 8px;color:#544b43}

#checkout-dialog #receipt-whatsapp{display:flex;align-items:center;justify-content:center;box-sizing:border-box;text-decoration:none;margin:14px 0;text-align:center}
.receipt-products{display:grid;gap:12px;margin-bottom:24px}.receipt-product{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:16px;padding:14px;border:1px solid #e5dcd1;border-radius:12px}.receipt-product img{width:76px;height:90px;object-fit:contain;border-radius:8px;background:#fffdf9}.receipt-product div{min-width:0}.receipt-product strong,.receipt-product small,.receipt-product span{display:block;overflow-wrap:anywhere}.receipt-product small{color:#796e62;font-size:12px}.receipt-product span{margin-top:6px}#checkout-receipt h3{font-size:22px;line-height:1.3;margin:12px 0}#checkout-receipt p{font-size:14px;line-height:1.6}#checkout-receipt button,#checkout-receipt a{max-width:100%;box-sizing:border-box}

#checkout-dialog .checkout-actions{position:static;inset:auto;clear:both;margin-top:20px}#checkout-dialog .checkout-actions .product-action{position:static;inset:auto;transform:none}#checkout-account-label{overflow-wrap:anywhere}

.order-share{margin:22px 0;padding:20px 0;border-top:1px solid #e0d2c8}.order-share h3{margin:0 0 10px}.order-share button{width:100%;margin:8px 0}.order-share details{margin-top:14px}.order-share summary{cursor:pointer;padding:10px 0}.order-share-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-share-photo{display:grid;gap:7px;color:#934c45;font-size:13px}.order-share-photo img{width:100%;height:auto;border-radius:10px}.order-share textarea{width:100%;min-height:200px;box-sizing:border-box}.order-share [hidden]{display:none!important}
