/* ===== cart drawer redesign ===== */
.dr{background:var(--bg)}
.dr .dh{background:var(--sf);padding:16px 20px}.dr .dh h3{font-size:20px;display:flex;align-items:baseline;gap:8px;margin:0}.ds-dh-n{font-size:14px;color:var(--mute);font-weight:400}
.dr .ds-ship{padding:12px 20px;background:var(--sf);border-top:0;border-bottom:1px solid var(--line);font-size:13px;color:var(--mute)}.dr .ds-ship.ok{color:var(--ok);font-weight:600}
.dr .dbody{flex:1;min-height:0;padding:0;overflow:hidden;display:flex;position:relative}
.dr .widget_shopping_cart_content{flex:1;display:flex;flex-direction:column;min-height:0;width:100%;transition:opacity .15s}
.dr.is-busy .widget_shopping_cart_content{opacity:.5;pointer-events:none}
.dr .mc-items{flex:1;overflow-y:auto;margin:0;padding:12px 16px;list-style:none;display:flex;flex-direction:column;gap:10px}
.dr .mc-item{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:12px;background:var(--sf);border:1px solid var(--line);border-radius:10px;padding:10px;position:relative;min-height:0}
.dr .mc-img,.dr .mc-img a{display:block;width:76px}.dr .mc-img img{width:76px;height:76px;object-fit:cover;border-radius:8px;display:block;float:none;margin:0}
.dr .mc-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.dr .mc-name{font-weight:600;color:var(--ink);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dr .mc-info dl.variation{margin:0;font-size:12px;color:var(--mute)}.dr .mc-info dl.variation dt,.dr .mc-info dl.variation dd{display:inline;margin:0}.dr .mc-info dl.variation dd p{display:inline;margin:0}
.dr .mc-unit{color:var(--mute);font-size:13px}
.dr .mc-qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;width:max-content;margin-top:4px;overflow:hidden}
.dr .mc-qty button{width:34px;height:34px;border:0;background:var(--bg);color:var(--ink);font-size:18px;line-height:1;cursor:pointer}
.dr .mc-qty button:hover:not(:disabled){background:var(--pri);color:#fff}.dr .mc-qty button:disabled{opacity:.35;cursor:not-allowed}
.dr .mc-qty span{min-width:34px;text-align:center;font-weight:600}
.dr .mc-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between}
.dr .mc-rm{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--sf);color:var(--mute);cursor:pointer;display:grid;place-items:center;padding:0}
.dr .mc-rm:hover,.dr .mc-rm:focus-visible{background:var(--sale);border-color:var(--sale);color:#fff}
.dr .mc-rm svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dr .mc-line{font-weight:700;white-space:nowrap}
.dr .mc-foot{padding:14px 20px calc(16px + env(safe-area-inset-bottom,0px));background:var(--sf);border-top:1px solid var(--line);box-shadow:0 -6px 16px rgba(0,0,0,.06)}
.dr .mc-foot .woocommerce-mini-cart__total{display:flex;justify-content:space-between;align-items:baseline;font-size:18px;margin:0 0 2px;padding:0;font-weight:400}.dr .mc-foot .woocommerce-mini-cart__total strong{font-weight:700}
.dr .mc-note{font-size:12px;color:var(--mute);margin:0 0 12px}
.dr .mc-foot .woocommerce-mini-cart__buttons{display:flex;flex-direction:column-reverse;gap:8px;margin:0}
.dr .mc-foot .button{display:block;text-align:center;padding:13px 16px;margin:0}
.dr .mc-foot .button:not(.checkout){background:var(--sf);color:var(--pri);border:2px solid var(--pri)}.dr .mc-foot .button:not(.checkout):hover{background:var(--pri);color:#fff}
.dr .mc-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:30px;color:var(--mute)}
.dr .mc-empty svg{width:72px;height:72px;stroke:currentColor;fill:none;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.6}
.dr .mc-empty p{margin:0}.dr .mc-empty strong{color:var(--ink);font-size:18px}
.dr .mc-toast{position:absolute;left:16px;right:16px;bottom:10px;z-index:3;background:var(--ink);color:var(--bg);border-radius:8px;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}
.dr .mc-toast.on{opacity:1;transform:none;pointer-events:auto}.dr .mc-toast button{background:none;border:0;color:var(--sig,#ffc933);font-weight:700;cursor:pointer;text-decoration:underline;padding:4px}
/* ===== product list: scroll area, controls, chips ===== */
.dr .mc-bar{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;background:var(--sf);border-bottom:1px solid var(--line);font-size:13px}
.dr .mc-count{color:var(--mute);font-weight:600}
.dr .mc-clear{background:none;border:0;color:var(--mute);text-decoration:underline;cursor:pointer;font-size:13px;padding:4px 0}.dr .mc-clear:hover{color:var(--sale)}.dr .mc-clear[data-confirm]{color:var(--sale);font-weight:700}
.dr .mc-items{scrollbar-width:thin;scrollbar-color:#c3c8ce transparent;overscroll-behavior:contain;scroll-behavior:auto;scroll-padding:12px;
 background:linear-gradient(var(--bg) 30%,rgba(255,255,255,0)) top/100% 28px no-repeat local,linear-gradient(rgba(255,255,255,0),var(--bg) 70%) bottom/100% 28px no-repeat local,radial-gradient(farthest-side at 50% 0,rgba(0,0,0,.22),transparent) top/100% 9px no-repeat scroll,radial-gradient(farthest-side at 50% 100%,rgba(0,0,0,.22),transparent) bottom/100% 9px no-repeat scroll;background-color:var(--bg)}
.dr .mc-items::-webkit-scrollbar{width:8px}.dr .mc-items::-webkit-scrollbar-thumb{background:#c3c8ce;border-radius:8px}.dr .mc-items::-webkit-scrollbar-track{background:transparent}
.dr .mc-items:focus-visible{outline:2px solid var(--pri);outline-offset:-2px}
.dr .mc-item{scroll-snap-align:start}
.dr .mc-unit ins{text-decoration:none;font-weight:700;color:var(--ink)}.dr .mc-unit del{color:var(--mute);margin-right:6px;font-size:12px}
.dr .mc-chip{display:inline-block;width:max-content;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;margin-top:2px}
.dr .mc-chip.arr{background:#fff3da;color:#8a4b00}.dr .mc-chip.low{background:#fdeceb;color:#9b1c10}
.dr .mc-ctl{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}.dr .mc-ctl .mc-qty{margin-top:0}
.dr .mc-save{background:none;border:0;color:var(--pri);font-size:12px;font-weight:600;cursor:pointer;padding:6px 2px}.dr .mc-save:hover{text-decoration:underline}
.dr .mc-qty button,.dr .mc-rm,.dr .mc-save,.dr .mc-clear{touch-action:manipulation}
.dr .mc-qty button:focus-visible,.dr .mc-rm:focus-visible,.dr .mc-save:focus-visible,.dr .mc-clear:focus-visible{outline:3px solid var(--pri);outline-offset:2px}
@media (max-width:420px){.dr .mc-item{grid-template-columns:64px minmax(0,1fr) auto;gap:10px;padding:10px 8px}.dr .mc-img,.dr .mc-img a{width:64px}.dr .mc-img img{width:64px;height:64px}.dr .mc-items{padding:10px 10px}.dr .mc-qty button{width:38px;height:38px}}
@media (prefers-reduced-motion:reduce){.dr .mc-items{scroll-behavior:auto}}
/* WooCommerce "Products" style list widgets in sidebars */
.widget ul.product_list_widget{list-style:none;margin:0;padding:0}
.widget ul.product_list_widget li{padding:10px 0;border-bottom:1px solid var(--line);display:flow-root}
.widget ul.product_list_widget li:last-child{border:0}
.widget ul.product_list_widget li img{float:left;width:64px;height:64px;object-fit:cover;border-radius:8px;margin:0 12px 0 0}
.widget ul.product_list_widget .product-title{display:block;font-weight:600;color:var(--ink);line-height:1.3}
.widget ul.product_list_widget .star-rating{margin:4px 0}
.dr .mc-item{flex:0 0 auto}
.dr .mc-items>li{min-height:0}
