/* Keep native WooCommerce links, AJAX behavior and variable-product options. */
body.woocommerce.archive ul.products li.product .mkdf-pl-button-holder {
 overflow:visible !important; height:auto !important; min-height:0 !important; padding-bottom:0 !important;
}
body.woocommerce.archive ul.products li.product .mkdf-pl-button-holder .price {
 position:static !important; transform:none !important; opacity:1 !important; visibility:visible !important; display:block !important; margin:10px 0 !important;
}
body.woocommerce.archive ul.products li.product .mkdf-pl-button-holder > a.button,
body.woocommerce.archive ul.products li.product .mkdf-pl-button-holder > a.added_to_cart {
 position:relative !important; top:auto !important; left:auto !important; right:auto !important; bottom:auto !important;
 transform:none !important; opacity:1 !important; visibility:visible !important; display:flex !important;
 align-items:center; justify-content:center; box-sizing:border-box; width:100% !important; max-width:240px;
 min-height:44px; margin:8px auto 0 !important; padding:10px 12px !important; line-height:1.4 !important;
 font-size:14px !important; white-space:normal; text-align:center; background:#2d3e33; color:#fff; border-radius:4px;
}
body.woocommerce.archive ul.products li.product .mkdf-pl-button-holder > a.added_to_cart { background:transparent; color:#2d3e33; }
@media (max-width:1024px), (pointer:coarse) {
 body.single-product .nickx-slider-for { touch-action:pan-y pinch-zoom; }
 body.single-product .nickx-slider-for .nswiper-slide { touch-action:pan-y pinch-zoom; }
}
/* Match the original product button and give the price breathing room. */
body.woocommerce.archive ul.products li.product .mkdf-pl-button-holder .price { margin:12px 0 22px !important; }
body.woocommerce.archive ul.products li.product .mkdf-pl-button-holder > a.button {
 background:#d6b981 !important; color:#fff !important; border:1px solid transparent !important; border-radius:0;
 font-family:"Open Sans",sans-serif; font-size:12px !important; font-weight:600; text-transform:uppercase;
 padding:20px 18px !important; line-height:1.4 !important; margin-top:0 !important;
}
body.woocommerce.archive ul.products li.product .mkdf-pl-button-holder > a.button:not(.loading)::after { content:none !important; }
body.woocommerce.archive ul.products li.product .mkdf-pl-button-holder > a.added_to_cart {
 font-size:12px !important; min-height:36px; padding:8px !important; margin-top:8px !important; text-decoration:underline; background:transparent !important;
}
/* Preserve native form submission and make the action row independent of theme floats. */
.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions { padding:24px 0 !important; text-align:left !important; }
.woocommerce-cart .woocommerce-cart-form td.actions::before { display:none !important; }
.woocommerce-cart .woocommerce-cart-form td.actions .coupon {
 display:inline-flex !important; align-items:stretch; gap:12px; float:none !important; width:calc(100% - 236px); max-width:580px; padding:0 !important; box-sizing:border-box;
}
.woocommerce-cart .woocommerce-cart-form td.actions #coupon_code {
 width:100% !important; min-width:0; flex:1; height:48px; margin:0 !important; padding:12px 14px !important; box-sizing:border-box; font-size:14px;
}
.woocommerce-cart .woocommerce-cart-form td.actions button.button {
 height:auto; min-height:48px; margin:0 !important; padding:12px 18px !important; box-sizing:border-box;
 font-size:12px !important; line-height:1.4 !important; white-space:nowrap; background:#d6b981 !important; color:#fff !important; border:1px solid transparent; border-radius:0;
}
.woocommerce-cart .woocommerce-cart-form td.actions button[name="update_cart"] { float:right !important; width:220px; }
@media(max-width:900px) {
 .woocommerce-cart .woocommerce-cart-form td.actions .coupon { display:flex !important; width:100%; max-width:none; }
 .woocommerce-cart .woocommerce-cart-form td.actions button[name="update_cart"] { float:none !important; width:100%; margin-top:14px !important; }
}
@media(max-width:480px) {
 .woocommerce-cart .woocommerce-cart-form td.actions .coupon { flex-direction:column; gap:10px; }
 .woocommerce-cart .woocommerce-cart-form td.actions .coupon button { width:100% !important; }
 .woocommerce-cart .woocommerce-cart-form td.actions #coupon_code { flex:auto; }
}
