/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* CONSENT */

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout #billing_country,
.woocommerce-checkout #billing_country_field {
	display:none;
}

.cs_preview_container button {
    border-radius: 0.65rem 0.65rem 0.65rem 0.65rem !important;
}

.cs-info-bar.bar_small .cs_action_btn,
.cs-modal-content .cs_action_btn {
    background-color: #c59b00 !important;
    border-radius: 0.65rem 0.65rem 0.65rem 0.65rem !important;
}

.cs-info-bar.bar_small .cs_action_btn:hover,
.cs_preview_container .options_btn:hover,
.cs-modal-content .cs_action_btn:hover {
    background-color: rgba(180, 80, 0, 1) !important;
    color: #f0f0f0 !important;
}

.cs-modal-content .custom-switch.custom-switch-btn {
    --cs-color-active-toggle-button: #c59b00 !important;
}

.cs_preview_container
    > div
    > div
    .cs-modal:not(.cs-modal-admin)
    .custom-switch
    .custom-switch-input:checked
    + .custom-switch-btn {
    background: #0c71c35c !important;
}

/* EOF CONSENT */

@media (width <= 480px) {
    .cs_preview_container.bar_small .btns_column .btn-row {
        flex-direction: column-reverse;
    }
}

.cs-info-sticky.desktop_right.bottom.show_button {
    display: none;
}

@media (min-width: 981px) {
    .et_pb_gutters3.single-product .woocommerce-tabs .et_pb_column_1_2 {
        width: 100%;
    }
}



.product-labels .product-label.out-of-stock {
    width: 100px;
    word-break: normal;
}

.grecaptcha-badge {
	display:none!important;
}

#menu-top-menu.wd-nav[class*="wd-style-underline"] .nav-link-text:after {
	background-color: var(--wd-primary-color);
}

.wd-nav[class*="wd-style-underline"] .nav-link-text:after {
    background-color: #000;
}

#menu-glavno-menyu-desktop-bg.wd-nav[class*="wd-style-underline"] .nav-link-text:after,
#menu-glavno-menyu-desktop-en.wd-nav[class*="wd-style-underline"] .nav-link-text:after {
    background-color: #fff;
}

.custom-h1-title {
    font-size: 30px;
    font-weight: 700;
}

/* Cart & Checkout styles */
.woocommerce-cart .cart_totals table > tbody > tr.woocommerce-shipping-totals, 
.woocommerce-cart .cart_totals table > tbody > tr.order-total {
	display: none;
}

.woocommerce-checkout .shipping_method h3 {
	text-transform: uppercase;
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
	display: none !important;
}

.woocommerce-checkout ul#shipping_method {
	display: flex;
	gap: 1.8rem;
	flex-wrap: wrap;
}

.woocommerce-checkout #main-content {
	padding-top:0;
}

.woocommerce-checkout .whb-header {
	display:none;
}

.woocommerce-checkout .wd-checkout-steps {
	display:none;
}

.woocommerce-checkout #shipping_method > li {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.2rem;
	float: left;
	width: 30%;
	border: 2px solid rgba(0,0,0,0.105);
	color: #111;
	background-color: #fff;
	font-size: 15px;
	font-weight: 400;
	cursor: pointer;
	padding: 1rem 0.1rem;
	margin-bottom: 0;
}

#shipping_method > li label {
	padding-left: 5px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

#shipping_method > li:has(#shipping_method_0_econt_shipping_method) label:before {
	content: '';
	width: 80px;
	height: 19px;
	display: inline-block;
	background-image: url(/wp-content/uploads/2026/04/econt.svg);
	background-size: contain;
	background-repeat: no-repeat;
	margin-right: 5px;
}

#shipping_method > li:has(#shipping_method_0_speedy_shipping_method) label:before {
	content: '';
	width: 90px;
	height: 30px;
	display: inline-block;
	background-image: url(/wp-content/uploads/2026/04/speedy.svg);
	background-size: contain;
	background-repeat: no-repeat;
	margin-right: 5px;
}

#shipping_method > li:has(#shipping_method_0_flat_rate2) label:before {
	content: '';
	width: 35px;
	height: 35px;
	display: inline-block;
	background-image: url(/wp-content/uploads/2026/04/store-cropped.svg);
	background-size: contain;
	background-repeat: no-repeat;
	margin-right: 5px;
}

.woocommerce-checkout #shipping_method > li:hover,
.woocommerce-checkout #shipping_method li:has(input[type="radio"]:checked) {
	background-color: #f7f7f7;
	border-color: #eb2732;
}

.woocommerce-checkout #shipping_method li label {
	position: relative;
	font-family: var(--wd-font-family);
	font-weight: 600;
}

.woocommerce-shipping-methods input.shipping_method {
	top: 0 !important;	
}

label[for="billing_econtshippingto_to_office"] span.required,
label[for="billing_econtshippingto_to_door"] span.required,
label[for="billing_econtshippingto_to_aps"] span.required,
label[for="billing_speedyshippingto_to_office"] span.required,
label[for="billing_speedyshippingto_to_door"] span.required,
label[for="billing_speedyshippingto_to_aps"] span.required {
	display: none !important;
}

label[for="billing_econtshippingto_to_office"],
label[for="billing_econtshippingto_to_door"],
label[for="billing_econtshippingto_to_aps"],
label[for="billing_speedyshippingto_to_office"],
label[for="billing_speedyshippingto_to_door"],
label[for="billing_speedyshippingto_to_aps"] {
	margin-bottom: 0 !important;
}

.speedy_select .woocommerce-input-wrapper label,
.econt_select .woocommerce-input-wrapper label {
	margin-right: 10px;
}

.woocommerce-checkout .woocommerce-additional-fields > h3 {
	font-size: 18px;
}

#order_comments_field label {
	display: none !important;
}

@media (min-width: 768px) {
	form.woocommerce-checkout {
		align-items: flex-start;
	}

	.woocommerce-checkout .checkout-order-review {
		position: sticky !important;
		top: 30px;
	}
}

@media (max-width: 768px) {
	.woocommerce-checkout ul#shipping_method {
		gap: 0.8rem;
	}
	
	.woocommerce-checkout #shipping_method > li {
		width: 100%;
	}
	
	#shipping_method > li:has(#shipping_method_0_flat_rate2) label:before {
		width: 25px;
		height: 25px;
	}
}

.woocommerce-checkout .wd-page-title .wd-page-title-bg img {
	display: none;
}

.woocommerce-checkout main#main-content {
	padding-bottom: 80px;
}