/* Cookvera slide-out cart */
.cv-cart-drawer{width:min(500px,100vw);height:100vh;height:100dvh;max-width:100%;box-sizing:border-box;background:radial-gradient(circle at 100% 0,rgba(255,143,81,.12),transparent 42%),#fffaf3;color:#1d2a25;box-shadow:-18px 0 70px #1d2a2529;overflow:hidden}
.cv-cart-drawer *{box-sizing:border-box}
.cv-drawer-head{flex:none;display:grid;grid-template-columns:44px minmax(0,1fr) 40px;gap:14px;padding:22px 24px 18px;border-bottom:1px solid #efddc9;background:#fffdf8}
.cv-drawer-brand{text-align:center}
.cv-drawer-brand>span,.cv-drawer-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#b7451d}
.cv-drawer-brand h2{font-family:'Bricolage Grotesque',sans-serif;font-size:28px;line-height:1.15;margin:4px 0 0}
.cv-drawer-close{display:grid;place-items:center;width:44px;height:44px;border:1px solid #efddc9;border-radius:14px;background:#fff7ed;box-shadow:0 3px 0 #ead9c4;color:#b7451d;font-size:26px}
.cv-drawer-close svg{width:20px;height:20px}
.cv-drawer-count{width:38px;height:38px;min-width:38px;background:linear-gradient(135deg,#ff955b,#e85d2a);box-shadow:0 3px 0 #bd431b;color:white;align-self:center;font-size:13px}
.cv-drawer-body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px 24px;scrollbar-width:thin;scrollbar-color:#efb798 transparent;-webkit-overflow-scrolling:touch}
.cv-drawer-shipping{display:flex;gap:12px;align-items:center;padding:15px;border:1px solid #ffb181;border-radius:18px;background:linear-gradient(125deg,#ec602c,#f58140);box-shadow:0 4px 0 #bd431b,0 10px 22px #e85d2a14;color:white;margin:0 0 24px}
.cv-drawer-shipping-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #ffffff40;border-radius:13px;background:#ffffff18}
.cv-drawer-shipping svg{width:26px;height:26px}
.cv-drawer-shipping strong{display:block;font-size:15px;line-height:1.3}
.cv-drawer-shipping div>span{display:block;margin-top:3px;font-size:12px}
.cv-drawer-empty{border:1px solid #efddc9;border-radius:22px;background:linear-gradient(150deg,#fffdf8,#fff5e9);padding:32px 24px 28px;text-align:center;box-shadow:0 5px 0 #ead9c4,0 12px 30px #1d2a2505;color:#1d2a25}
.cv-drawer-empty-icon{display:grid;place-items:center;width:80px;height:80px;margin:0 auto 26px;transform:rotate(-6deg);border-radius:24px;background:linear-gradient(135deg,#ffab73,#ef6b32);border:1px solid #ffc59e;box-shadow:0 5px 0 #c24b20,0 16px 24px #e85d2a1c;color:#fff}
.cv-drawer-empty-icon svg{width:46px;height:46px}
.cv-drawer-empty h3{font-family:'Bricolage Grotesque',sans-serif;font-size:28px;line-height:1.15;letter-spacing:-.025em;margin:12px auto}
.cv-drawer-empty p{font-size:14px;line-height:1.65;color:#69716b;margin:0 auto 22px;max-width:320px}
.cv-drawer-shop,.cv-drawer-actions .cv-drawer-checkout{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:13px 18px;border:1px solid #ffa36c;border-radius:13px;background:linear-gradient(120deg,#ff8a4d,#e85d2a);color:#fff;text-decoration:none;font-weight:800;font-size:14px;box-shadow:0 4px 0 #bd431b,0 9px 18px #e85d2a13}
.cv-drawer-shop>span,.cv-drawer-checkout>span{margin-left:auto}
.cv-drawer-item{grid-template-columns:76px minmax(0,1fr) 36px;gap:12px;padding:14px;margin-bottom:16px;background:#fffdf8;border:1px solid #efddc9;border-radius:18px;box-shadow:0 4px 0 #ead9c4;align-items:start}
.cv-drawer-thumb{width:76px;height:88px;align-self:start;background:#fff;border:1px solid #f3e7d8;border-radius:12px;display:grid;place-items:center;overflow:hidden}
.cv-drawer-item img{width:100%;height:80px;object-fit:contain;background:#fff;border-radius:0}
.cv-drawer-item-copy{min-width:0}
.cv-drawer-item h3{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.cv-drawer-item-price{color:#b7451d;font-size:15px}
.cv-drawer-variation{color:#69716b;overflow-wrap:anywhere;font-size:11px}
.cv-drawer-qty{gap:0;width:max-content;max-width:100%;border:1px solid #efddc9;border-radius:12px;background:#fff5e8;overflow:hidden}
.cv-drawer-qty button{width:40px;height:44px;border:none;border-radius:0;background:transparent;color:#b7451d;font-size:18px}
.cv-drawer-qty>span{min-width:28px;text-align:center;font-size:14px;font-weight:700}
.cv-drawer-remove{align-self:start;width:36px;height:44px;border-radius:10px;background:#fff5e8;border-color:#efddc9;color:#b7451d;font-size:19px}
.cv-drawer-upsells{margin-top:28px}
.cv-drawer-upsells h3{font-family:'Bricolage Grotesque',sans-serif;font-size:22px;letter-spacing:-.02em}
.cv-drawer-upsell{grid-template-columns:60px minmax(0,1fr) 50px;gap:10px;padding:14px 0;border-color:#efddc9;font-size:12px}
.cv-drawer-upsell>div{min-width:0}
.cv-drawer-upsell strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12px;line-height:1.4}
.cv-drawer-upsell img{width:60px;height:72px;object-fit:contain;background:#fff}
.cv-drawer-upsell .price,.cv-drawer-upsell .woocommerce-Price-amount{color:#b7451d;font-weight:700;font-size:12px}
.cv-drawer-upsell button,.cv-drawer-view-product{min-height:44px;border:1px solid #efba97;border-radius:10px;background:#fff0de;color:#b7451d;font-size:12px;padding:8px;box-shadow:0 3px 0 #ead9c4}
.cv-drawer-order-note{border-color:#efddc9}
.cv-drawer-order-note summary{color:#b7451d;min-height:44px;display:flex;align-items:center;font-size:13px}
.cv-drawer-order-note summary:after{content:'+';margin-left:auto}
.cv-drawer-order-note[open] summary:after{content:'−'}
.cv-drawer-note-input{font-size:16px;border-color:#efddc9;background:#fffdf8}
.cv-drawer-footer{flex:none;padding:16px 24px max(18px,env(safe-area-inset-bottom));background:#fffdf8;border-top:1px solid #efddc9;box-shadow:0 -10px 25px #1d2a2504}
.cv-drawer-assurances{display:flex;justify-content:center;gap:20px;font-size:11px;font-weight:700;color:#b7451d}
.cv-drawer-returns-note{font-size:10px;text-align:center;color:#69716b;margin:4px 0 14px}
.cv-drawer-subtotal{font-size:19px;gap:12px}
.cv-drawer-subtotal strong{color:#b7451d;white-space:nowrap}
.cv-drawer-note{font-size:11px;line-height:1.5;color:#69716b;margin:5px 0 14px}
.cv-drawer-actions{gap:10px}
.cv-drawer-actions .cv-drawer-view{min-height:46px;border:1px solid #efc9a7;border-radius:13px;color:#b7451d;background:#fff4e6;box-shadow:0 3px 0 #ead9c4;font-size:13px}
.cv-drawer-checkout svg{width:19px;height:19px;flex:none}
.cv-cart-drawer:has(.cv-drawer-empty) .cv-drawer-subtotal,.cv-cart-drawer:has(.cv-drawer-empty) .cv-drawer-note{display:none}
.cv-cart-drawer a:focus-visible,.cv-cart-drawer button:focus-visible,.cv-cart-drawer summary:focus-visible,.cv-cart-drawer textarea:focus-visible{outline:3px solid #e85d2a;outline-offset:3px}
@media(max-width:600px){
.cv-cart-drawer{width:100vw;border-radius:0}
.cv-drawer-head{padding:16px 16px 14px;gap:10px}
.cv-drawer-brand h2{font-size:25px}
.cv-drawer-body{padding:18px 16px 24px}
.cv-drawer-shipping{padding:12px;gap:10px;margin-bottom:20px}
.cv-drawer-empty{padding:30px 20px 24px}
.cv-drawer-empty h3{font-size:27px}
.cv-drawer-footer{padding:14px 16px max(18px,env(safe-area-inset-bottom))}
.cv-drawer-item{padding:12px;gap:9px;grid-template-columns:64px minmax(0,1fr) 32px}
.cv-drawer-thumb{width:64px;height:80px}
.cv-drawer-remove{width:32px}
}
@media(max-height:650px){.cv-drawer-empty{padding:22px 18px}.cv-drawer-empty-icon{width:60px;height:60px;margin-bottom:20px;border-radius:18px}.cv-drawer-empty-icon svg{width:36px;height:36px}.cv-drawer-empty h3{font-size:24px}.cv-drawer-empty p{font-size:13px}.cv-drawer-assurances{font-size:10px}.cv-drawer-returns-note{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.cv-cart-drawer,.cv-cart-overlay{transition:none}}
