/* Painel lateral: mantém a identidade rosa e usa os dados do carrinho existente. */
html.cart-drawer-open,html.cart-drawer-open body{overflow:hidden}
.cart-drawer{position:fixed;inset:0;margin:0;padding:0;border:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;background:transparent;color:#21202c;overflow:hidden}
.cart-drawer[open]{display:flex;justify-content:flex-end}
.cart-drawer::backdrop{background:rgba(25,16,22,.44)}
.cart-drawer-panel{position:relative;display:flex;flex-direction:column;width:clamp(320px,29.2vw,430px);max-width:100%;height:100%;background:#fff;box-shadow:-8px 0 30px #24101a18;overflow:hidden}
.cart-drawer[open] .cart-drawer-panel{animation:cart-drawer-in .24s ease-out}
.drawer-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 32px;gap:5px;align-items:center;flex-shrink:0;min-height:54px;padding:0 12px 0 4px;background:linear-gradient(110deg,#f32673,#f02772);color:white}
.drawer-heading h2{font-size:16px;font-weight:600;text-align:center;line-height:1.4}
.drawer-heading h2 span{font-size:11px;font-weight:400;white-space:nowrap}
.drawer-heading>.icon{width:23px;height:25px;justify-self:end}
.drawer-close{display:grid;place-items:center;width:44px;height:48px;padding:10px;color:#fff}
.drawer-close:hover{color:white;background:#ffffff15}
.drawer-close .icon{width:24px;height:24px}
.drawer-close:focus-visible{outline:2px solid #fff;outline-offset:-5px;border-radius:7px}
.drawer-items{flex:1 1 auto;min-height:90px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#f6bfd3 #fff;padding:0 17px}
.drawer-item{position:relative;display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;padding:13px 0;border-bottom:1px solid #eeedf0}
.drawer-item:last-child{border-bottom:0}
.drawer-photo{width:84px;height:90px;display:grid;place-items:center;overflow:hidden;border-radius:7px;background:#fcecf2;align-self:start}
.drawer-photo img{width:100%;height:100%;object-fit:contain}
.drawer-photo>span{font-size:10px;text-align:center;color:#8b6977;padding:8px}
.drawer-item-info{min-width:0}
.drawer-item h3{font-size:11px;line-height:1.45;font-weight:500;padding-right:24px;overflow-wrap:anywhere}
.drawer-code{font-size:9px;color:#8b8d99;line-height:1.4;margin-top:1px}
.drawer-option{font-size:9px;color:#786773;line-height:1.35;margin-top:1px}
.drawer-price{display:block;font-size:14px;line-height:1.4;font-weight:700;color:var(--pink)}
.drawer-heart{position:absolute;top:9px;right:0;display:grid;place-items:center;width:32px;height:32px;color:var(--pink);padding:7px}
.drawer-heart .icon{width:17px;height:17px}
.drawer-item-controls{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:4px}
.drawer-quantity{display:grid;grid-template-columns:28px minmax(28px,1fr) 28px;min-width:88px;max-width:120px;border:1px solid #e3e4eb;border-radius:4px;overflow:hidden;background:#fff}
.drawer-quantity button{min-height:28px;padding:0;font-size:17px;color:#51586c}
.drawer-quantity button:hover{background:#fff0f6}
.drawer-quantity button:disabled{color:#c4c6cd;cursor:default}
.drawer-quantity input{width:100%;min-width:0;height:28px;text-align:center;padding:0 1px;font-size:11px;border:0;color:#303746;background:#fff;appearance:textfield;-moz-appearance:textfield}
.drawer-quantity input::-webkit-inner-spin-button,.drawer-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.drawer-quantity :focus-visible{outline-width:2px;outline-offset:-3px}
.drawer-remove{display:flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:4px 0;font-size:9px;color:#747b8b}
.drawer-remove span{text-decoration:underline;text-underline-offset:2px}
.drawer-remove .icon{width:15px;height:15px}
.drawer-summary{flex:0 1 auto;max-height:65%;overflow-y:auto;overscroll-behavior:contain;padding:9px 17px 12px;padding-bottom:max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #f3edf0}
.drawer-shipping{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:12px;background:linear-gradient(110deg,#fcebf1,#fff1f6);color:var(--pink);text-align:left}
.drawer-shipping>.icon{width:28px;height:28px}
.drawer-shipping>.icon:last-child{width:25px;height:25px;align-self:end;margin-bottom:2px}
.drawer-shipping>span{flex:1;min-width:0}
.drawer-shipping strong{display:block;font-size:11px;font-weight:600;line-height:1.35}
.drawer-shipping small{display:block;font-size:10px;line-height:1.4;color:#846275}
.drawer-shipping-track{display:block;height:9px;margin-top:7px;border-radius:999px;background:#f7c9db}
.drawer-subtotal{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:11px 0 10px;font-size:12px}
.drawer-subtotal strong{font-weight:600}
.drawer-subtotal [data-drawer-summary-count]{font-size:11px}
.drawer-subtotal [data-drawer-total]{font-size:16px;font-weight:700;color:var(--pink);white-space:nowrap}
.drawer-coupon{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 66px;gap:9px;align-items:center}
.drawer-coupon>.icon{position:absolute;left:10px;top:10px;width:17px;height:17px;pointer-events:none}
.drawer-coupon input{width:100%;height:37px;min-width:0;border:1px solid #d9dbe4;border-radius:5px;box-shadow:inset 0 1px 2px #22222208;padding:5px 7px 5px 36px;font-size:10px;color:#777d8c;cursor:pointer}
.drawer-coupon input::placeholder{opacity:1;color:#777d8c}
.drawer-coupon button{height:37px;border-radius:5px;background:var(--pink);color:#fff;font-size:11px;font-weight:500}
.drawer-coupon button:hover{background:var(--pink-deep)}
.drawer-checkout{display:flex;width:100%;min-height:45px;gap:10px;margin-top:12px;border:0;font-size:14px;font-weight:600}
.drawer-checkout .icon{width:18px;height:18px}
.drawer-checkout:disabled{opacity:.5;cursor:default}
.drawer-benefits{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:14px 0 8px}
.drawer-benefits>span{display:flex;align-items:center;gap:6px;font-size:8px;line-height:1.25}
.drawer-benefits .icon{color:var(--pink);width:22px;height:22px}
.drawer-demo{font-size:9px;text-align:center;color:#8d6b7c;line-height:1.5;margin-top:7px}
.drawer-full-cart{display:block;width:max-content;margin:7px auto 0;color:#866775;font-size:10px;text-decoration:underline;text-underline-offset:3px}
.drawer-empty,.drawer-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;padding:28px 6px;text-align:center;gap:15px}
.drawer-empty>.icon{width:50px;height:50px;color:var(--pink)}
.drawer-empty h3,.drawer-error h3{font-size:20px;font-weight:600;line-height:1.4}
.drawer-empty p,.drawer-error p{font-size:12px;line-height:1.6;color:#886a78}
.drawer-empty .pill,.drawer-error .pill{font-size:12px;padding:10px 20px}
.drawer-unavailable{padding:16px 0;border-bottom:1px solid #eeedf0;font-size:11px;color:#886a78;line-height:1.5}
.drawer-unavailable button{font-size:11px;text-decoration:underline;color:#ac2758;padding:8px 0}
.drawer-loading{padding:30px 0;text-align:center;color:#886a78;font-size:12px}
.drawer-feedback{position:absolute;z-index:2;top:64px;left:12px;right:12px;background:#fff5f9;border:1px solid #efb9cf;border-radius:9px;box-shadow:0 4px 16px #57122c18;padding:11px 13px;color:#8b1740;font-size:12px;line-height:1.5;pointer-events:none}
@keyframes cart-drawer-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:480px){.cart-drawer-panel{width:calc(100% - 32px)}.drawer-heading{min-height:51px}.drawer-item{grid-template-columns:82px minmax(0,1fr);gap:14px;padding-block:13px}.drawer-photo{width:82px;height:90px}.drawer-summary{padding-inline:16px}.drawer-feedback{top:60px}}
@media(max-width:350px){.drawer-items{padding-inline:16px}.drawer-item{gap:12px}.drawer-item h3{font-size:10px}.drawer-remove{font-size:8px;gap:4px}.drawer-quantity{grid-template-columns:25px minmax(28px,1fr) 25px;min-width:80px}.drawer-subtotal{font-size:11px}.drawer-benefits{gap:6px}.drawer-benefits>span{gap:5px;font-size:7px}.drawer-benefits .icon{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.cart-drawer[open] .cart-drawer-panel{animation:none}}
/* Seleção obrigatória reutiliza o mesmo painel e suas proteções de foco/toque. */
.drawer-choice-form{padding-block:22px;display:grid;gap:17px}
.drawer-choice-form h3{font-size:18px;overflow-wrap:anywhere}
.drawer-choice-form p{font-size:13px;color:#826471}
.drawer-choice-form fieldset{border:0;padding:0;margin:0;display:grid;gap:10px}
.drawer-choice{display:flex;align-items:center;gap:12px;border:1px solid #ecd0dc;padding:12px;border-radius:9px;cursor:pointer}
.drawer-choice input{accent-color:#ed3373;width:19px;height:19px}
.drawer-choice span{display:flex;align-items:center;gap:12px;font-size:13px;overflow-wrap:anywhere}
.drawer-choice img{object-fit:contain;flex-shrink:0}
.drawer-choice:has(input:checked){background:#fff0f6;border-color:#ed3373}
.drawer-choice-quantity{display:grid;gap:6px;font-size:13px}
.drawer-choice-quantity input{width:100%;padding:10px;border:1px solid #ecd0dc;border-radius:8px}
.drawer-choice-form .drawer-choice-error{color:#a71d3b;min-height:20px}
