/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.woocommerce-checkout .woocommerce-shipping-totals {
	display: none;
}
#shipping_method li {
	margin: 0;
	padding-bottom: 5px;
}
.my-custom-shipping-table {
	margin-bottom: 20px;
}

.custom-switch {
	display: inline-block;
	width: 36px;
	height: 20px;
	background-color: #ccc;
	border-radius: 10px;
	position: relative;
	cursor: pointer;
	transition: background 0.3s ease-in-out;
	margin-right: 10px;
	vertical-align: middle;
}
.woocommerce-checkout .my-custom-shipping-table {
	display: block !important;
}

.custom-switch::before {
	content: "";
	width: 16px;
	height: 16px;
	background-color: white;
	border-radius: 50%;
	position: absolute;
	top: 2px;
	left: 2px;
	transition: transform 0.3s ease-in-out;
}


.woocommerce-shipping-methods input[type="radio"]:checked + label .custom-switch {
	background-color: #459647;
}

.woocommerce-shipping-methods input[type="radio"]:checked + label .custom-switch::before {
	transform: translateX(16px);
}

.woocommerce-shipping-methods input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.woocommerce-shipping-methods label {
	display: flex;
	align-items: center;
	cursor: pointer;
}

#shipping_method {
	padding: 10px;
}
.shipping_address {
	display: block !important;
}

.wc_payment_methods input[type="radio"]:checked + label .custom-switch {
	background: #28a745;
}
.wc_payment_methods input[type="radio"] {
	display: none;
}
.wc_payment_methods input[type="radio"]:checked + label .custom-switch::before {
	transform: translateX(16px);
}


