/* Barry's Wholesale v0.8.1 — premium WooCommerce cart drawer */
.bw-cart-overlay{position:fixed;inset:0;z-index:99996;background:rgba(17,17,17,.42);backdrop-filter:blur(2px);opacity:0;transition:opacity .22s ease}
.bw-cart-overlay[hidden]{display:none!important}
.bw-cart-overlay.is-open{opacity:1}
.bw-cart-drawer{position:fixed;top:0;right:0;z-index:99997;display:flex;flex-direction:column;width:min(440px,100vw);height:100dvh;background:#fff;box-shadow:-18px 0 54px rgba(17,17,17,.16);transform:translateX(102%);visibility:hidden;transition:transform .28s cubic-bezier(.22,.61,.36,1),visibility .28s;outline:0}
.bw-cart-drawer.is-open{transform:translateX(0);visibility:visible}
body.bw-cart-drawer-open{overflow:hidden}
.bw-cart-drawer__header{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;padding:26px 26px 20px;border-bottom:1px solid #eceae5}
.bw-cart-drawer__eyebrow{display:block;margin:0 0 5px;color:#77736b;font-size:10px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
.bw-cart-drawer__header h2{margin:0;color:#111;font-size:30px;line-height:1;font-weight:850;letter-spacing:-.035em}
.bw-cart-drawer__close{display:grid;place-items:center;width:42px;height:42px;margin:0;padding:0;border:1px solid #ddd9d1;border-radius:50%;background:#fff;color:#111;cursor:pointer;transition:background .18s ease,transform .18s ease}
.bw-cart-drawer__close:hover{background:#f5f3ee;transform:rotate(2deg)}
.bw-cart-drawer__close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.bw-cart-drawer__content{display:flex;flex:1 1 auto;min-height:0;flex-direction:column}
.bw-cart-drawer__items{flex:1 1 auto;min-height:0;overflow:auto;padding:8px 26px 0}
.bw-cart-drawer__item{display:grid;grid-template-columns:92px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid #eceae5}
.bw-cart-drawer__thumb{overflow:hidden;width:92px;height:108px;border-radius:14px;background:#f5f3ee}
.bw-cart-drawer__thumb a,.bw-cart-drawer__thumb img{display:block;width:100%;height:100%}
.bw-cart-drawer__thumb img{object-fit:cover}
.bw-cart-drawer__item-copy{display:flex;min-width:0;flex-direction:column;justify-content:center}
.bw-cart-drawer__condition{align-self:flex-start;margin:0 0 7px;padding:5px 7px;border:1px solid #d8d4cc;border-radius:6px;color:#3a3834;font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.bw-cart-drawer__item h3{margin:0 0 12px;font-size:16px;line-height:1.25;font-weight:800;letter-spacing:-.015em}
.bw-cart-drawer__item h3 a{color:#111;text-decoration:none}
.bw-cart-drawer__item-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#77736b;font-size:12px}
.bw-cart-drawer__item-meta strong{color:#111;font-size:14px;font-weight:850}
.bw-cart-drawer__item-meta del{color:#8b8881;font-weight:500}
.bw-cart-drawer__summary{flex:0 0 auto;padding:22px 26px 26px;border-top:1px solid #eceae5;background:#fbfaf7}
.bw-cart-drawer__subtotal{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:5px;color:#111;font-size:15px;font-weight:750}
.bw-cart-drawer__subtotal strong{font-size:20px;font-weight:900;letter-spacing:-.025em}
.bw-cart-drawer__shipping-note{margin:0 0 18px;color:#76726b;font-size:12px;line-height:1.45}
.bw-cart-drawer__checkout{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:58px;padding:0 19px 0 22px;border:1px solid var(--accent);border-radius:16px;background:var(--accent);color:var(--accent-text)!important;font-size:14px;font-weight:850;text-decoration:none!important;box-shadow:0 9px 28px rgba(17,17,17,.13);transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.bw-cart-drawer__checkout span:last-child{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(17,17,17,.10);color:var(--accent-text);font-size:17px;transition:transform .18s ease}
.bw-cart-drawer__checkout:hover{filter:brightness(.94);transform:translateY(-1px);box-shadow:0 13px 32px rgba(17,17,17,.17)}
.bw-cart-drawer__checkout:hover span:last-child{transform:translateX(2px)}
.bw-cart-drawer__continue{display:block;width:100%;margin:10px 0 0;padding:13px 16px;border:1px solid #d7d3cb;border-radius:13px;background:#fff;color:#111;font-size:13px;font-weight:800;cursor:pointer;transition:background .18s ease,border-color .18s ease}
.bw-cart-drawer__continue:hover{background:#f4f2ed;border-color:#c5c0b7}
.bw-cart-drawer__empty{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;padding:40px 30px;text-align:center}
.bw-cart-drawer__empty-icon{display:grid;place-items:center;width:68px;height:68px;margin-bottom:20px;border-radius:50%;background:#f2efe9;color:#111}
.bw-cart-drawer__empty-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.bw-cart-drawer__empty h3{margin:0 0 7px;font-size:24px;font-weight:850;letter-spacing:-.03em}
.bw-cart-drawer__empty p{margin:0 0 22px;color:#77736b;font-size:13px}
.bw-cart-drawer__continue--primary{max-width:250px;border-color:var(--accent);background:var(--accent);color:var(--accent-text)}
.bw-cart-drawer__continue--primary:hover{filter:brightness(.94);color:var(--accent-text)}
.bw-buybox__error{margin:12px 0 0;padding:10px 12px;border:1px solid #e3c8c8;border-radius:10px;background:#fff6f6;color:#7a2626;font-size:12px;line-height:1.45}
.bw-buybox__cta.is-loading{pointer-events:none;opacity:.72}
.bw-buybox__cta.is-loading .bw-buybox__cta-icon{animation:bw-cart-pulse .85s ease-in-out infinite alternate}
@keyframes bw-cart-pulse{to{transform:translateX(3px);opacity:.6}}
@media(max-width:520px){.bw-cart-drawer{width:100vw}.bw-cart-drawer__header{padding:22px 20px 17px}.bw-cart-drawer__header h2{font-size:27px}.bw-cart-drawer__items{padding-left:20px;padding-right:20px}.bw-cart-drawer__summary{padding:20px}.bw-cart-drawer__item{grid-template-columns:80px minmax(0,1fr);gap:13px}.bw-cart-drawer__thumb{width:80px;height:96px}}
@media(prefers-reduced-motion:reduce){.bw-cart-overlay,.bw-cart-drawer,.bw-cart-drawer__checkout,.bw-cart-drawer__checkout span:last-child,.bw-cart-drawer__close{transition:none!important}.bw-buybox__cta.is-loading .bw-buybox__cta-icon{animation:none}}

/* v0.9.0 — in-drawer quantity management. Scoped to the cart drawer only. */
.bw-cart-drawer__item-copy{position:relative;padding-right:4px}
.bw-cart-drawer__item-meta{align-items:center;margin-top:2px}
.bw-cart-drawer__qty{display:inline-grid;grid-template-columns:32px 34px 32px;align-items:center;overflow:hidden;border:1px solid #dcd8d0;border-radius:999px;background:#fff;color:#111}
.bw-cart-drawer__qty-btn{display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:0;background:transparent;color:#111;font-size:17px;font-weight:650;line-height:1;cursor:pointer;transition:background .16s ease,color .16s ease,opacity .16s ease}
.bw-cart-drawer__qty-btn:hover:not(:disabled){background:#f2f0ea}
.bw-cart-drawer__qty-btn:focus-visible{outline:2px solid #111;outline-offset:-2px}
.bw-cart-drawer__qty-btn:disabled{cursor:not-allowed;opacity:.35}
.bw-cart-drawer__qty-value{display:grid;place-items:center;min-width:34px;height:32px;border-right:1px solid #ebe8e1;border-left:1px solid #ebe8e1;font-size:12px;font-weight:850;font-variant-numeric:tabular-nums}
.bw-cart-drawer__line-total{margin-left:auto;white-space:nowrap}
.bw-cart-drawer__remove{display:inline-flex;align-items:center;align-self:flex-start;gap:5px;margin:10px 0 0;padding:0;border:0;background:transparent;color:#77736b;font-size:11px;font-weight:700;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:color .16s ease,text-decoration-color .16s ease}
.bw-cart-drawer__remove:hover{color:#111;text-decoration-color:currentColor}
.bw-cart-drawer__remove:focus-visible{outline:2px solid #111;outline-offset:3px;border-radius:2px}
.bw-cart-drawer__remove svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bw-cart-drawer__content{transition:opacity .16s ease}
.bw-cart-drawer__content.is-updating{pointer-events:none;opacity:.58}
.bw-cart-drawer__error{margin:10px 0 0;padding:10px 12px;border:1px solid #e7c9c9;border-radius:10px;background:#fff7f7;color:#7d2929;font-size:12px;line-height:1.45}
@media(max-width:520px){.bw-cart-drawer__qty{grid-template-columns:30px 32px 30px}.bw-cart-drawer__qty-btn{width:30px;height:30px}.bw-cart-drawer__qty-value{min-width:32px;height:30px}.bw-cart-drawer__item-meta{gap:8px}}


/* v0.18.2 — reinforce the below-RRP proposition inside the live bag. */
.bw-cart-drawer__line-pricing{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;margin-left:auto;white-space:nowrap}
.bw-cart-drawer__line-pricing del{color:#8b8881;font-size:11px;font-weight:600}
.bw-cart-drawer__item-saving{margin:7px 0 0;color:#657300;font-size:11px;line-height:1.25;font-weight:800}
.bw-cart-drawer__saving-total{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin:4px 0 7px;color:#657300;font-size:12px;font-weight:800}
.bw-cart-drawer__saving-total strong{font-size:14px;font-weight:900;white-space:nowrap}
@media(max-width:520px){
  .bw-cart-drawer__line-pricing{gap:4px}
  .bw-cart-drawer__line-pricing del{font-size:10px}
  .bw-cart-drawer__item-saving{font-size:10.5px}
  .bw-cart-drawer__saving-total{font-size:11px}
}
