/* Cart drawer: 1:1 from the demo. */
.cd-wrap{position:fixed;inset:0;z-index:70;display:flex;justify-content:flex-end}
.cd-bk{position:absolute;inset:0;background:rgba(13,16,20,.55);border:0;cursor:pointer;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:cdfade .3s both}
@keyframes cdfade{from{opacity:0}to{opacity:1}}
.cd{position:relative;width:100%;max-width:460px;height:100%;background:#F2F0EA;color:#0D1014;display:flex;flex-direction:column;animation:slidein .45s cubic-bezier(.2,.8,.2,1) both;box-shadow:-30px 0 60px -20px rgba(13,16,20,.5)}
.cd-hd{display:flex;align-items:flex-start;justify-content:space-between;padding:26px 26px 18px}
.cd-eb{color:var(--lg-red-deep);font-size:10.5px}
.cd-t{font-size:32px;font-weight:700;letter-spacing:-.02em;margin-top:6px;line-height:1.05}
.cd-ship{margin:0 26px 8px;padding:14px 16px;border-radius:14px;background:#FAF8F3;border:1.5px solid rgba(13,16,20,.12)}
.cd-ship.ok{background:#E6F5EC;border-color:color-mix(in srgb,var(--lg-green) 40%,transparent)}
.cd-sp{font-size:13.5px;line-height:1.4;color:#3B424B}
.cd-sp b{color:#0D1014;font-weight:700}
.cd-ship.ok .cd-sp b{color:#00753A}
.cd-bar{position:relative;height:8px;border-radius:99px;background:rgba(13,16,20,.12);margin:16px 12px 6px 0}
.cd-bar>i{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:linear-gradient(90deg,var(--lg-green),var(--lg-green-soft));transition:width .9s cubic-bezier(.2,.9,.2,1);min-width:8px}
.cd-bar>i>b{position:absolute;right:-12px;top:50%;width:30px;height:30px;margin-top:-15px;border-radius:50%;background:#0D1014;color:#fff;display:grid;place-items:center;box-shadow:0 6px 14px -4px rgba(13,16,20,.5);animation:cdtruck 1.6s ease-in-out infinite}
.cd-ship.ok .cd-bar>i>b{background:var(--lg-green);animation:cdarrive .8s cubic-bezier(.3,1.5,.4,1) both}
@keyframes cdtruck{0%,100%{transform:translateX(0)}50%{transform:translateX(3px)}}
@keyframes cdarrive{0%{transform:scale(.6) rotate(-14deg)}100%{transform:none}}
.cd-list{flex:1;min-height:0;overflow:auto;padding:6px 26px}
.cd-it{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;padding:16px 0;border-bottom:1px solid rgba(13,16,20,.14);animation:cdrow .45s cubic-bezier(.2,.9,.2,1) both}
.cd-it:nth-child(2){animation-delay:.06s}
.cd-it:nth-child(3){animation-delay:.12s}
@keyframes cdrow{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
.cd-th{width:72px;height:72px;border-radius:14px;background:#0D1014;display:grid;place-items:center}
.cd-nm{font-weight:600;font-size:15px;line-height:1.3}
.cd-sp2{color:#4A5058;font-size:10px;margin-top:4px}
.cd-un{font-size:12.5px;color:#4A5058;margin-top:6px}
.cd-ln{font-weight:700;font-size:16px;white-space:nowrap}
.cd-r2{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}
.cd-step{display:inline-flex;align-items:center;border:1.5px solid #0D1014;border-radius:12px;overflow:hidden}
.cd-step button{width:36px;height:36px;border:0;background:none;display:grid;place-items:center;cursor:pointer;color:#0D1014;transition:background .2s,color .2s}
.cd-step button:hover{background:#0D1014;color:#fff}
.cd-step .mono{min-width:30px;text-align:center;font-size:13px;letter-spacing:0}
.cd-rm{display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:#4A5058;font-size:12.5px;font-weight:500;cursor:pointer;padding:6px 0;transition:color .2s}
.cd-rm:hover{color:var(--lg-red-deep)}
.cd-foot{padding:14px 26px 22px;background:#FAF8F3;border-top:1.5px solid rgba(13,16,20,.14);box-shadow:0 -16px 30px -22px rgba(13,16,20,.4)}
.cd-cp{width:100%;display:flex;align-items:center;gap:10px;border:0;background:none;padding:8px 0;font-size:14px;font-weight:600;color:#0D1014;cursor:pointer}
.cd-cp span{flex:1;text-align:left}
.cd-cp[aria-expanded="true"] svg:last-child{transform:rotate(180deg)}
.cd-cp svg:last-child{transition:transform .3s}
.cd-cpf{display:flex;gap:8px;margin:4px 0 8px}
.cd-cpf input{flex:1;min-width:0;min-height:48px;border-radius:12px;border:1.5px solid rgba(13,16,20,.3);background:#fff;padding:0 14px;font:500 15px 'Inter',system-ui,sans-serif;color:#0D1014}
.cd-cpf input:focus{outline:3px solid #0D1014;outline-offset:2px}
.cd-sum{margin:8px 0 16px;display:grid;gap:8px}
.cd-sum div{display:flex;justify-content:space-between;align-items:baseline;font-size:14px;color:#3B424B}
.cd-sum dt,.cd-sum dd{margin:0}
.cd-sum dd{font-weight:600;color:#0D1014}
.cd-sum .cd-tot{padding-top:10px;border-top:1px solid rgba(13,16,20,.14);font-size:15px;color:#0D1014}
.cd-sum .cd-tot dd{font-size:26px;font-weight:700;letter-spacing:-.01em}
.cd-go{width:100%}
.cd-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.cd-two .btn{padding:0 12px;min-width:0}
.cd-trust{list-style:none;margin:16px 0 0;padding:0;display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:#4A5058}
.cd-trust li{display:inline-flex;align-items:center;gap:7px}
.cd-trust svg{color:#00753A;flex:none}
.cd-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 40px 70px}
.cd-elens{width:96px;height:96px;border-radius:50%;background:#0D1014;display:grid;place-items:center;margin-bottom:22px;box-shadow:0 0 0 8px color-mix(in srgb,var(--lg-green) 15%,transparent);animation:dkglow 2.4s ease-in-out infinite}
.cd-empty h3{font-size:26px;font-weight:700;margin-bottom:8px}
.cd-empty p{color:#4A5058;line-height:1.5;margin-bottom:22px}
@media(prefers-reduced-motion:reduce){.cd,.cd *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:520px){.cd-hd,.cd-foot{padding-left:18px;padding-right:18px}
.cd-ship{margin-left:18px;margin-right:18px}
.cd-list{padding:6px 18px}
.cd-it{grid-template-columns:60px minmax(0,1fr) auto;gap:12px}
.cd-th{width:60px;height:60px}
.cd-t{font-size:28px}}
/* WooCommerce wiring (not in the static demo): fragment wrapper, real product images, busy state, coupon message. */
.cd .widget_shopping_cart_content{display:contents}
.cd-th{overflow:hidden}
.cd-th img{width:100%;height:100%;object-fit:cover;display:block}
.cd-it.is-busy{opacity:.45;pointer-events:none}
.cd-cpf[hidden]{display:none}
.lg-coupon-msg{margin:8px 0 0;font-size:13px;color:#4a525c}
.lg-coupon-msg.is-err{color:var(--lg-red)}
.lg-coupon-msg.is-ok{color:var(--lg-green)}
.cd-step button:disabled{opacity:.35;cursor:not-allowed}

/* Applied coupon in the drawer */
.cd-cok{display:flex;align-items:center;gap:10px;margin:4px 0 8px;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--lg-green) 12%,transparent);color:var(--lg-green);font-size:14px}
.cd-cok span{flex:1}
.cd-cok button{border:0;background:transparent;color:var(--lg-red-deep);font:inherit;font-weight:600;font-size:13px;cursor:pointer}
.cd-dc dd{color:var(--lg-green);font-weight:600}

/* v1.5.110 Cart drawer: each product is a tidy card, the list takes only the room it needs, the summary stays pinned to the bottom with no smudge between */
.cd-list{flex:0 1 auto;display:flex;flex-direction:column;gap:12px;padding:14px 26px 18px}
.cd-it{padding:14px;border:1px solid rgba(13,16,20,.1);border-radius:18px;background:#FBFAF6;align-items:start}
.cd-it:last-child{border-bottom:1px solid rgba(13,16,20,.1)}
.cd-th{background:#fff;border:1px solid rgba(13,16,20,.08)}
.cd-r2{margin-top:12px}
.cd-foot{margin-top:auto;box-shadow:none;border-top:1px solid rgba(13,16,20,.12)}
@media(max-width:520px){.cd-list{padding:12px 18px 16px}.cd-it{padding:12px}}
