
:root{--wt-orange:#ff7a00;--wt-blue:#0878df;--wt-black:#111;--wt-border:#e4e7eb}
body.wtcd-lock{overflow:hidden}
.wtcd-overlay{position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:99990;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}
.wtcd-overlay.is-open{opacity:1;visibility:visible}
.wtcd-drawer{position:fixed;top:0;right:0;width:450px;max-width:94vw;height:100vh;background:#fff;z-index:99991;box-shadow:-10px 0 35px rgba(0,0,0,.18);transform:translateX(105%);transition:transform .28s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column;font-family:Arial,Helvetica,sans-serif;color:#111}
.wtcd-drawer.is-open{transform:translateX(0)}
.wtcd-head{height:92px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f0f0;flex:0 0 auto}
.wtcd-head h2{margin:0;font-size:25px;line-height:1.15;font-weight:800;letter-spacing:-.5px}
.wtcd-head .wtcd-count{color:var(--wt-orange)}
.wtcd-close{border:0;background:transparent;font-size:37px;line-height:1;cursor:pointer;color:#111;padding:4px 0 7px 12px;font-weight:300}
.wtcd-body{padding:16px 25px 22px;overflow-y:auto;flex:1}
.wtcd-free{background:#fff7ef;border-radius:9px;padding:13px 14px 12px;margin-bottom:13px}
.wtcd-free-text{display:flex;align-items:center;gap:11px;color:var(--wt-orange);font-size:15px}
.wtcd-free-text strong,.wtcd-free-text b{font-weight:700}
.wtcd-truck{font-size:26px;line-height:1}
.wtcd-progress{height:9px;background:#e9ecef;border-radius:99px;overflow:hidden;margin:11px 1px 0 43px}
.wtcd-progress span{display:block;height:100%;background:var(--wt-orange);border-radius:99px;transition:width .25s ease}
.wtcd-item{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid #e6e6e6;position:relative}
.wtcd-thumb{width:104px;height:104px;flex:0 0 104px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:6px}
.wtcd-thumb img{width:100%;height:100%;object-fit:cover}
.wtcd-item-main{min-width:0;flex:1}
.wtcd-item-row{padding-right:21px;position:relative}
.wtcd-name{font-size:17px;line-height:1.22;font-weight:500;overflow-wrap:anywhere}
.wtcd-remove{position:absolute;right:0;top:-3px;border:0;background:transparent;color:#9ca3aa;font-size:27px;line-height:1;cursor:pointer;padding:0}
.wtcd-bottom-row{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-top:7px}
.wtcd-left-meta{min-width:0}
.wtcd-qty{height:35px;border:1px solid #d8dce1;border-radius:6px;display:inline-flex;align-items:center;overflow:hidden;background:#fff}
.wtcd-qty-btn{width:34px;height:33px;border:0;background:#fff;font-size:21px;cursor:pointer;color:#111}
.wtcd-qty-value{min-width:30px;text-align:center;font-size:16px}
.wtcd-price{color:var(--wt-orange);font-size:19px;font-weight:800;white-space:nowrap}
.wtcd-store{font-size:14px;margin-top:7px;color:#111}
.wtcd-store span{color:#0086d7}
.wtcd-item.is-updating{opacity:.55;pointer-events:none}
.wtcd-summary{padding:14px 0 5px}
.wtcd-summary>div{display:flex;justify-content:space-between;align-items:center;font-size:16px;line-height:1.35;padding:4px 0}
.wtcd-summary strong{font-weight:500}
.wtcd-summary .wtcd-total-row{font-size:25px;padding-top:5px}
.wtcd-total-row strong:last-child{color:var(--wt-orange);font-weight:800}
.wtcd-delivery-note{color:#666;font-size:13px}
.wtcd-actions{display:flex;flex-direction:column;gap:9px;margin-top:9px}
.wtcd-actions a{display:flex;align-items:center;justify-content:center;height:50px;border-radius:8px;text-decoration:none!important;font-size:18px;font-weight:700;color:#fff!important}
.wtcd-view-cart{background:#0878df}
.wtcd-checkout{background:var(--wt-orange)}
.wtcd-trust{display:grid;grid-template-columns:1.2fr 1fr .9fr;gap:9px;margin-top:24px;padding-top:3px}
.wtcd-trust>div{display:flex;align-items:flex-start;gap:7px;min-width:0}
.wtcd-trust-icon{width:26px;height:25px;flex:0 0 26px;display:flex;align-items:center;justify-content:center;color:var(--wt-orange);margin-top:0}
.wtcd-trust-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wtcd-trust b{font-size:13px;line-height:1.05;display:block;white-space:nowrap}
.wtcd-trust small{display:block;font-size:10px;font-weight:400;margin-top:3px;white-space:nowrap}
.wtcd-empty{text-align:center;padding:55px 20px;color:#555}
.wtcd-empty-icon{font-size:45px;margin-bottom:10px}
.wtcd-empty h3{margin:0 0 5px;font-size:21px;color:#111}
.wtcd-empty p{margin:0}
@media(max-width:520px){
  .wtcd-drawer{width:100%;max-width:none}
  .wtcd-head{height:76px;padding:0 18px}
  .wtcd-head h2{font-size:22px}
  .wtcd-body{padding:12px 16px 18px}
  .wtcd-thumb{width:82px;height:82px;flex-basis:82px}
  .wtcd-name{font-size:15px}
  .wtcd-price{font-size:17px}
  .wtcd-trust{grid-template-columns:1fr 1fr 1fr}
  .wtcd-trust>div{gap:5px}
  .wtcd-trust-icon{width:21px;height:21px;flex-basis:21px}
  .wtcd-trust b{font-size:11px}
  .wtcd-trust small{font-size:9px}
}

/* Keep the WILTECH drawer as the only visible cart panel while it is open. */
body.wtcd-exclusive-open .cart-drawer,
body.wtcd-exclusive-open .mini-cart-drawer,
body.wtcd-exclusive-open .side-cart,
body.wtcd-exclusive-open .offcanvas-cart,
body.wtcd-exclusive-open .woocommerce-mini-cart-widget,
body.wtcd-exclusive-open .widget_shopping_cart,
body.wtcd-exclusive-open [id*="cart-drawer"],
body.wtcd-exclusive-open [class*="cart-drawer"]:not(#wtcd-drawer),
body.wtcd-exclusive-open [class*="mini-cart-drawer"],
body.wtcd-exclusive-open [class*="side-cart"],
body.wtcd-exclusive-open [class*="offcanvas-cart"]{visibility:hidden !important;opacity:0 !important;pointer-events:none !important}
