/**
* Theme Name: GreenMart Child
* Description: This is a child theme for GreenMart
* Author: Thembay
* Author URI: https://thembay.com/
* Version: 1.1
* Template: greenmart
* Text Domain: greenmart-child
*/


/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */
.cart-delivery.tbay-subtotal_free_shipping {
  padding-block: 20px;
}
.woocommerce .cart-popup .dropdown-menu .cart_list + .total, .cart-popup .dropdown-menu .cart_list + .total{
	display: flex;
	align-items: center;
}
.widget_shopping_cart_content .total .woocommerce-Price-amount.amount:not(.amount-eur) {
  margin-left: auto;
  margin-right: 4px;
}
.woocommerce-cart-form .tbay-total-condition-wrap.tbay-active {
  margin-top: 0;
}

/* Country always hidden (BG is default). */
#billing_country_field{
  display: none !important;
}

.mini_cart_inner p.buttons {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.mini_cart_inner p.buttons > * {
  flex-grow: 1;
}

.woocommerce .cart-popup .dropdown-menu p.buttons a {
  max-width: 100%;
}

.woocommerce-cart .woocommerce .cart-collaterals .cart_totals .shop_table ul#shipping_method li input[type="radio"] + label::before {
  margin-left: 0;
  min-width: 18px;
}

.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table, .woocommerce-checkout .woocommerce-shipping-totals {
  display: flex;
  flex-direction: column;
}

.woocommerce-checkout-review-order-table tr {
  display: flex;
}

.woocommerce-checkout-review-order-table thead th {
  flex-basis: 50%;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tbody > tr > td.product-name,
.woocommerce-checkout-review-order-table tfoot td {
  flex-grow: 1;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.order-total > td .includes_tax .woocommerce-Price-amount,
.woocommerce .cart_totals table tr.order-total .woocommerce-Price-amount {
  font-size: 100%;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-subtotal > th,
.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.cart-subtotal td {
  padding-bottom: 17px;
}

.cart-subtotal,
.woocommerce-shipping-totals {
  position: relative;
}

.cart-subtotal::after,
.woocommerce-shipping-totals::after {
  content: "";
  background: rgba(145, 158, 171, 0.24);
  height: 1px;
  position: absolute;
  left: 20px;
  right: 24px;
  bottom: 0;
}

@media (max-width: 767px) {
  .cart-subtotal::after,
  .woocommerce-shipping-totals::after {
    left: 15px;
    right: 15px;
  }

  .woo-bg-multiselect .multiselect__single {
    font-size: 14px;
  }
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.woocommerce-shipping-totals > td > ul#shipping_method li {
  display: flex;
  flex-wrap: wrap;
  padding-left: 20px;
  text-align: left;
  width: 100%;
}

#woo-bg--speedy-office-locator {
  text-decoration: underline;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.woocommerce-shipping-totals > td > ul#shipping_method li label::before {
  right: auto;
  left: 0;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.woocommerce-shipping-totals > td > ul#shipping_method li label {
  padding-left: 26px;
  padding-right: 0;
  line-height: 1.8;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.woocommerce-shipping-totals > td > ul {
  align-items: flex-start;
}

#shipping_method .woo-bg--speedy-delivery .woo-bg-multiselect {
  margin-bottom: 4px;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.woocommerce-shipping-totals > td {
  padding-top: 0;
}

.woo-bg--speedy-delivery {
  margin-bottom: 10px;
  width: 100%;
}

.woocommerce table.shop_table td small.includes_tax {
  display: block;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr.order-total > th {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 120%;
}


form.woocommerce-checkout .woocommerce-billing-fields h3,
form.woocommerce-checkout .details-review .order-review h3,
form.woocommerce-checkout .order-payment h3,
.woocommerce-cart .woocommerce .cart-collaterals .cart_totals h2 {
  text-transform: none;
}

#billing_state_field .select2-container .select2-selection--single .select2-selection__arrow b {
  background: none !important;
}
.select2-container .select2-selection--single .select2-selection__arrow b {
  background: none;
}
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
	width: 100%;
}
.woocommerce-checkout ul#shipping_method li label{
	display: flex;
	width: 100%;
}
.woocommerce-Price-amount.amount:not(.amount-eur) {
  margin-left: auto;
  margin-right: 4px;
}

.woocommerce ul#shipping_method {
  margin-left: 20px;
}

/*Thermo bag*/
.order-payment {
  display: flex;
  flex-direction: column;
}
.order-payment #thermo_bag_wrap {
  order: 1;
}
.order-payment #order_payment_heading {
  order: 2;
}
.order-payment #payment{
	order: 3;
}
#thermo_bag_wrap h3 {
  margin-top: 5px;
}
.order-payment .thermo_bag_inner{
  background: #f4f6f8;
  padding: 15px 23px;
}

#thermo_bag_field .checkbox {
	cursor: pointer;
	font-weight: 700;
	padding-left: 26px;
}
.thermo_bag_notice {
  font-size: 14px;
  line-height: 1.6;
  color: #637381;
}
#thermo_bag_field .checkbox .optional::before {
  left: 0;
  position: absolute;
  margin-left: 0;
}

/* My Account */
.woocommerce #review_form #respond p.comment-form-comment {
  display: none;
}