.woocommerce-variation-description{
	margin-bottom: 20px;
}

:is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart .button:where(:not(:first-child)), :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart button:where(:not(:first-child)){
	width:100%;
}

.elementor-widget-woocommerce-cart .woocommerce .input-text.qty{
	padding: 0px 0px;
    text-align: center;
}

.woopq-quantity-input-plus, .woopq-quantity-input-minus {
    width: 30px;
    height: 30px;	
    background-color: #ac8510;
    color: #fff;
}

body .qib-button-wrapper .minus.qib-button, body .qib-button-wrapper .plus.qib-button{
	padding:10px !important;
}

.woocommerce div.product form.cart div.quantity .qty {
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 10px !important;
}

.wpcbn-btn.wpcbn-btn-single.wpcbn-btn-variable.single_add_to_cart_button button.alt{
	margin-top:5px !important;
}


.gt_selector{
	padding:5px !important;
}

.yay-currency-single-page-switcher{
	margin-bottom:0px;
}

/* checkout page country css */

.e-woo-select2-wrapper .select2-results__option {
    color: black;
    font-family: Roboto, sans-serif;
    font-size: 14px;
}

/* checkout page state css */

.e-woo-select2-wrapper .select2-results__option {
    color: black;
    font-family: Roboto, sans-serif;
    font-size: 14px;
}




/* =========================================
   ZDRIVE – FORCE MOBILE ADD TO CART FIX
   ========================================= */
@media (max-width: 767px) {

  /* ---------- FORM ---------- */
  body .elementor-widget-woocommerce-product-add-to-cart
  .elementor-product-simple form.cart {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    row-gap: 14px !important;
    column-gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* ---------- QUANTITY (FULL WIDTH) ---------- */
  body .elementor-widget-woocommerce-product-add-to-cart
  .qib-button-wrapper {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  body .elementor-widget-woocommerce-product-add-to-cart
  .qib-button-wrapper .minus,
  body .elementor-widget-woocommerce-product-add-to-cart
  .qib-button-wrapper .plus {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body .elementor-widget-woocommerce-product-add-to-cart
  .qib-button-wrapper .quantity {
    width: 70px !important;
    height: 44px !important;
    margin: 0 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body .elementor-widget-woocommerce-product-add-to-cart
  .qib-button-wrapper input.qty {
    text-align: center !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* ---------- BUTTONS (SIDE BY SIDE) ---------- */
  body .elementor-widget-woocommerce-product-add-to-cart
  button.single_add_to_cart_button,
  body .elementor-widget-woocommerce-product-add-to-cart
  .wpcbn-btn {
    width: 100% !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

}


.woocommerce-page div.product form.cart div.quantity.wqpmb_quantity, .woocommerce div.product form.cart .quantity.wqpmb_quantity, .woocommerce div.product .quantity.wqpmb_quantity {
    width: 70% !important;
    margin: 0 !important;
    padding-left: 10px;
    padding-right: 10px;
}

/* =========================================
   ZDRIVE – CART QUANTITY FIX
   ========================================= */

/* Cart table quantity cell */
.woocommerce-cart td.product-quantity {
    text-align: center;
    vertical-align: middle;
}

/* Quantity wrapper */
.woocommerce-cart td.product-quantity .qib-button-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: auto !important;
    margin: 0 auto !important;
    margin-left: 0px !important;
}

/* Minus / Plus buttons */
.woocommerce-cart td.product-quantity .qib-button-wrapper .minus,
.woocommerce-cart td.product-quantity .qib-button-wrapper .plus {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
}

/* Quantity input wrapper */
.woocommerce-cart td.product-quantity .qib-button-wrapper .quantity {
    width: 56px !important;
    height: 36px !important;
    margin: 0 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Quantity input */
.woocommerce-cart td.product-quantity .qib-button-wrapper input.qty {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    text-align: center !important;
}

/* =====================================================
   ZDRIVE – CART (MOBILE CLEAN / CLASSIC STYLE)
   ===================================================== */
@media (max-width: 767px) {

  /* Keep rows compact (no card padding) */
  .woocommerce-cart table.shop_table_responsive tr.cart_item {
    display: block;
    padding: 0;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
  }

  /* Make cells block but compact */
  .woocommerce-cart table.shop_table_responsive td {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border: none;
    text-align: left;
  }

  /* SHOW LABELS (Product, Price, Quantity…) */
  .woocommerce-cart table.shop_table_responsive td::before {
    content: attr(data-title);
    font-weight: 600;
    color: #000;
    flex: 0 0 90px;
    max-width: 90px;
  }

  /* Product image */
  .woocommerce-cart table.shop_table_responsive td.product-thumbnail {
    justify-content: center;
    padding-bottom: 8px;
  }

  .woocommerce-cart table.shop_table_responsive td.product-thumbnail::before {
    display: none;
  }

  .woocommerce-cart table.shop_table_responsive td.product-thumbnail img {
    max-width: 90px;
    height: auto;
  }

  /* Product name */
  .woocommerce-cart td.product-name a {
    font-weight: 600;
  }

  /* Quantity alignment */
  .woocommerce-cart td.product-quantity {
    justify-content: flex-start;
  }

  /* Remove button (top-right, minimal) */
  .woocommerce-cart td.product-remove {
    justify-content: flex-end;
    padding-top: 0;
  }

  .woocommerce-cart td.product-remove a.remove {
    font-size: 18px;
    color: #ac8510;
  }
}


@media (max-width: 767px) {

    .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
        display: flex;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        text-align: left !important;
        justify-content: flex-start;
    }
    
    .elementor-widget-woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr td, .elementor-widget-woocommerce-cart .woocommerce-page .cart_totals table.shop_table_responsive tr td {
    text-align: start !important;
    }
    
    .woocommerce-shipping-destination{
        display: none;
    }
    
    .woocommerce-shipping-calculator{
        display: none;
    }
}



/* =====================================================
   ZDRIVE – VARIATION ADD TO CART (MOBILE FIX)
   Matches Simple Product Layout
   ===================================================== */
@media (max-width: 767px) {

  /* Wrapper */
  body .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 10px !important;
    row-gap: 14px !important;
    width: 100% !important;
  }

  /* Quantity full width (top row) */
  body .woocommerce-variation-add-to-cart .qib-button-wrapper {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Quantity buttons */
  body .woocommerce-variation-add-to-cart .qib-button-wrapper .minus,
  body .woocommerce-variation-add-to-cart .qib-button-wrapper .plus {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Quantity input */
  body .woocommerce-variation-add-to-cart .qib-button-wrapper .quantity {
    width: 70px !important;
    height: 44px !important;
    margin: 0 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body .woocommerce-variation-add-to-cart .qib-button-wrapper input.qty {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* Buttons side by side */
  body .woocommerce-variation-add-to-cart
  button.single_add_to_cart_button,
  body .woocommerce-variation-add-to-cart
  .wpcbn-btn {
    width: 100% !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }
}




/* ZDRIVE – Reset Elementor button spacing for PDP */
.elementor-widget-woocommerce-product-add-to-cart
form.cart button,
.woocommerce-variation-add-to-cart button {
    margin: 0 !important;
}


/* ZDRIVE – Button spacing for Add to Cart & Buy Now */
.woocommerce div.product form.cart,
.woocommerce div.product .woocommerce-variation-add-to-cart {
    column-gap: 10px;
}