/*
Author: CAMP
Author URI: https://campdigital.it
Version: 1.0
License: Proprietary
Date: 29/01/2025
*/

/*@media only screen and (min-width: 1024px) {
	.woocommerce-checkout-review-order {
		display: flex;
		flex-flow: wrap;
	}
	.woocommerce-checkout-review-order .ppc-button-wrapper {
		width: auto;
		margin-left: calc(50% + 100px);
	}
}*/

@media only screen and (min-width: 1024px) {
	.woocommerce-checkout-review-order {
		display: block;
	}
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
	margin-top: 30px;
}

@media only screen and (max-width: 1024px) {
	.woocommerce-account #qodef-page-content {
		padding: 30px;
	}

}

#qodef-page-mobile-header .widget_icl_lang_sel_widget .wpml-ls-legacy-list-horizontal ul li {
	margin-right: unset;
}

.product_meta {
	display: none !important;
}

@media only screen and (max-width: 480px) {
	#qodef-woo-page.qodef--single form.cart .variations .label>* {
		margin-top: 15px;
	}
}

.reset_variations {
	display: none !important;
}

@media only screen and (max-width: 1024px) {
	.woocommerce-variation-price {
		padding: 20px 0;
	}

	.single_variation_wrap {
		position: relative;
	}

	.woocommerce-variation.single_variation {
		position: absolute !important;
		right: 0;
	}

	.single_variation_wrap button {
		width: 100% !important;
	}
	
	#qodef-woo-page.qodef--single form.cart .woocommerce-variation {
		padding-bottom: 0;
	}
	
	#qodef-woo-page.qodef--single form.cart .variations td, #qodef-woo-page.qodef--single form.cart .variations th {
		width: auto;
	}
	#qodef-woo-page.qodef--single .entry-summary .price {	   
		font-size: 20px !important;
	}	
	.summary .qodef-woo-product-title.product_title.entry-title {
		font-size: 30px !important;
	}

	#qodef-woo-page.qodef--single form.cart .variations td, #qodef-woo-page.qodef--single form.cart .variations th {
		width: auto !important;
	}
}

#qodef-woo-page.qodef--single .entry-summary .price {
	letter-spacing: 0.5px;
	color: black !important;
	font-size: 25px;
}

body .select2-container--default.select2-container--focus .select2-selection--multiple, body .select2-container--default.select2-container--focus .select2-selection--single {
	border: 1px solid #707070;
}

@media only screen and (max-width: 1024px) {
	.woocommerce-notices-wrapper {
		margin-top: 0;
		padding: 0 20px;
	}
	#qodef-woo-page.qodef--single form.cart .variations tr:last-child .select2-container--default {
		display: unset;
	}
}

#qodef-woo-page .added_to_cart, #qodef-woo-page .button, .qodef-woo-shortcode .added_to_cart, .qodef-woo-shortcode .button {
	font-size: 14px !important;
}

#qodef-woo-page.qodef--single form.cart .woocommerce-variation {
	padding-bottom: 30px;
}

@media only screen and (min-width: 1024px) {
	.variations {
		width: 60%;
	}
}

.price span.woocommerce-Price-amount.amount:nth-child(1) {
	padding-right: 7px;
}

.price span.woocommerce-Price-amount.amount:nth-child(2) {
	padding-left: 7px;
}

@media only screen and (max-width: 680px) {
	#qodef-woo-page.qodef--cart .cart-collaterals .shop_table th {
		padding-right: 35px;
	}
}

/*------------- carrello e checkout FIX 29/01/2025 ------------- */

.woocommerce-order-received .woocommerce-order .woocommerce-order-overview li {
	color: #171717;
}

.woocommerce-page div.woocommerce .shop_table td ul {
	color: #171717;
	font-size: 90%;
	line-height: 1.3;
	margin-top: 5px;
}

.woocommerce-page div.woocommerce .shop_table tr strong {
	color: #171717;
}

.woocommerce-account .woocommerce-MyAccount-content h2 {
	font-size: 26px!important;
}

.woocommerce-account .button {
	padding: 10px 20px 10px;
}

.woocommerce-page div.woocommerce .shop_table.custom-fields td:first-child {
	color: #171717;
	font-family: Poppins, sans-serif;
	font-weight: 400;
	color: #171717;
	font-size: 16px;
	line-height: 1.56em;
	font-weight: 400;
}

.woocommerce-checkout-review-order {
	background-image: url('../images/BLACKBLOOM-BackGround_IMG2.jpg');
	padding: 1.25rem;
}

body.woocommerce-cart #qodef-woo-page > .cart-collaterals .cart_totals {
	margin-top:0;
	padding: 30px;
	background-image: url('../images/BLACKBLOOM-BackGround_IMG2.jpg');
}
body.woocommerce-cart div.woocommerce .shop_table td {
	color: #222;	
}
body.woocommerce-cart div.woocommerce .shop_table  tr,
body.woocommerce-checkout div.woocommerce .shop_table  tr{
	border-color: #aaa;
}
body.woocommerce-cart #qodef-woo-page > .cart-collaterals .cart_totals > h2 {
	font-size: 26px;
	line-height: 1.2em;
	margin: 0 0 10px;
}

body.woocommerce-cart .coupon .button .qodef-m-icon-arrow-wrapper {
	display: none;
}

#qodef-woo-page.qodef--cart .shop_table td.actions .coupon {
	width: 100%;
}

body.woocommerce-cart #qodef-woo-page > .cart-collaterals .cart_totals > .wc-proceed-to-checkout > .button .qodef-m-icon-arrow-wrapper {
	display: none!important;
}

body.woocommerce-checkout div.woocommerce .shop_table td {
	color: #222;
}

.woocommerce-checkout .order-review-wrapper .shop_table thead th:last-child,
.woocommerce-checkout .order-review-wrapper .shop_table tbody td:last-child,
.woocommerce-checkout .order-review-wrapper .shop_table tfoot td:last-child {
	text-align: right;
}
.woocommerce-checkout div.woocommerce .shop_table thead th {
	padding-top: 0;
}

#qodef-woo-page.qodef--cart .shop_table td.actions .coupon input {
	padding: 19px 20px 20px;
}

#qodef-woo-page.qodef--checkout .woocommerce-checkout {
	margin-top: 0px;
}
#qodef-woo-page.qodef--checkout #customer_details h3 {
	margin-top: 0;
}
.woocommerce-checkout div.woocommerce .col2-set {
	display: block;
}

body.woocommerce-cart #qodef-woo-page > .cart-collaterals .cart_totals > .wc-proceed-to-checkout > .button {
	width: 100%;
	text-align: center;
}

#qodef-woo-page.qodef--checkout .woocommerce-checkout {
	display: flex;
	flex-flow: wrap;
}

#qodef-woo-page.qodef--checkout #customer_details h3 {
	font-size: 26px!important;
}
#qodef-woo-page.qodef--checkout #order_review_heading {
	font-size: 26px!important;
}

#qodef-woo-page.qodef--checkout .woocommerce-checkout #customer_details {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
}

#qodef-woo-page.qodef--checkout .wc_payment_methods .input-radio {
	margin-left: 0;
}

#qodef-woo-page.qodef--checkout .wc_payment_methods li {
	padding-left: 18px;
	padding-right: 0;
}

#qodef-woo-page.qodef--checkout .wc_payment_methods label {
	font-family: "Jost", sans-serif;
}

#qodef-woo-page.qodef--checkout .wc_payment_methods li {
	border-color: #aaa;
}

#qodef-woo-page.qodef--checkout .wc_payment_methods .payment_box fieldset {
	padding-left: 0;
	padding-right: 0;
}

#qodef-woo-page.qodef--checkout #payment #place_order {
	display: block;
	width: 100%;
}

#qodef-woo-page.qodef--checkout #payment p {
	color: #222;
}

#qodef-woo-page.qodef--checkout #payment p label a {
	text-decoration: underline;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle {
	width: 100%;
	padding-top: 20px;
}

body.woocommerce-order-received.woocommerce-checkout div.woocommerce .col2-set {
	display: flex;
}

.woocommerce-page #customer_details .woocommerce-billing-fields__field-wrapper p, .woocommerce-page .woocommerce-shipping-fields .woocommerce-shipping-fields__field-wrapper p, .woocommerce-page .create-account p {
	margin-bottom: 10px;
}


@media only screen and (min-width: 1024px) {
	.woocommerce-checkout-review-order .shop_table.woocommerce-checkout-review-order-table {
		width: 100%;
	}
	#qodef-woo-page.qodef--checkout .woocommerce-checkout-payment {
		width: 100%;
		margin-left: 0;
	}
}

@media (min-width: 768px) {
	.woocommerce-page #customer_details .woocommerce-billing-fields__field-wrapper, .woocommerce-page .woocommerce-shipping-fields .woocommerce-shipping-fields__field-wrapper, .woocommerce-page .create-account {
		display: flex;
		flex-flow: wrap;
	}
	.woocommerce-page #customer_details .woocommerce-billing-fields__field-wrapper p, .woocommerce-page .woocommerce-shipping-fields .woocommerce-shipping-fields__field-wrapper p, .woocommerce-page .create-account p , .woocommerce-page div.woocommerce form p#order_comments_field {
		width: 50%;
		padding-right: 10px;
	}
}

@media screen and (min-width: 49rem) {
	#qodef-woo-page.qodef--checkout .woocommerce-checkout {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	#qodef-woo-page.qodef--checkout .woocommerce-checkout #customer_details {
		-webkit-box-flex: 1;
		-ms-flex: 1;
		flex: 1;
		padding-right: 1.875rem;
	}
	
	#qodef-woo-page.qodef--checkout .woocommerce-checkout .order-review-wrapper {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 25rem;
		flex: 0 0 25rem;
		max-width: 25rem;
	}
	#qodef-woo-page.qodef--checkout #order_review_heading {
		margin-top: 0;
	}
	.woocommerce-checkout-review-order {
		padding: 2.5rem;
	}
}

@media only screen and (min-width: 1200px) {
	body.woocommerce-cart #qodef-woo-page {
		display: flex;
		flex-flow: wrap;
		justify-content: space-between;
	}
	body.woocommerce-cart #qodef-woo-page > .cart-collaterals {
		width: 28%;
	}
	body.woocommerce-cart #qodef-woo-page > .woocommerce-cart-form {
		width: 67%;
	}
	body.woocommerce-cart #qodef-woo-page > .woocommerce-notices-wrapper {
		width: 100%;
	}
	body.woocommerce-cart div.woocommerce .shop_table td {
		text-align: right;
	}
}

@media only screen and (max-width: 1199px) {
	body.woocommerce-cart #qodef-woo-page > .cart-collaterals {
		margin-top: 40px;
	}	
}

@media only screen and (max-width: 1023px) {
	#qodef-woo-page.qodef--checkout .woocommerce-checkout-payment {
		margin: 0;
	}
}

@media only screen and (max-width: 767px) {
	#qodef-woo-page.qodef--cart .shop_table td.actions input[type=text] {
		width: 100%;
		margin-right: 0;
	}
	#qodef-woo-page.qodef--cart .shop_table td.actions .coupon .button {
		width: 100%;
	}
	#qodef-woo-page.qodef--cart .shop_table td.actions .coupon .button .qodef-m-icon-arrow-wrapper {
		display: none;
	}
	.woocommerce-page div.woocommerce .shop_table td, .woocommerce-page div.woocommerce .shop_table th {
		padding: 15px 5px 15px 5px;
	}
	#qodef-woo-page.qodef--checkout #customer_details h3 {
		font-size: 26px!important;
		margin-top: 30px;
	}
	#qodef-woo-page.qodef--checkout .woocommerce-checkout #customer_details {
		flex: none;
		display: block;
		width: -webkit-calc(100% + 30px);
		width: calc(100% + 30px);
		max-width:none;
	}
	body.woocommerce-checkout .order-review-wrapper {
		width: 100%;
	}
	.woocommerce-account .woocommerce-MyAccount-content h2,
	.woocommerce-order-received .woocommerce-order .woocommerce-thankyou-order-received,
	.woocommerce-order-received .woocommerce-order h2 {
		font-size: 26px!important;
	}
	.woocommerce-order-received .woocommerce-order .woocommerce-thankyou-order-received {
		margin-top: 30px;
	}
}

#qodef-woo-page.qodef--single form.cart .variations_button, #qodef-woo-page.qodef--single form.cart:not(.variations_form) { 	
	display: none !important;

}

.bb-presto-in-vendita {
	font-size: 20px;
    margin-top: 24px;
    font-weight: 500;
}

 .custom-account-menu {
            position: relative;
            display: inline-block;
        }

        .account-icon {
            cursor: pointer;
            font-size: 18px;
            color: white; /* Default: bianco */
            transition: color 0.3s ease-in-out;
        }

        .qodef-skin--dark .custom-account-menu .account-icon {
            color: black; /* Se trova la classe qodef-skin--dark, diventa nero */
        }

        .account-dropdown {
            display: none;
            position: absolute;
            right: 0;
            background-color: #fff;
            border: 1px solid #ddd;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            min-width: 160px;
        }

        .custom-account-menu:hover .account-dropdown {
            display: block;
        }

        .account-dropdown ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .account-dropdown ul li {
            padding: 10px;
            border-bottom: 1px solid #eee;
        }

        .account-dropdown ul li:last-child {
            border-bottom: none;
        }

        .account-dropdown ul li a {
            text-decoration: none;
            color: #333;
            display: block;
        }

        .account-dropdown ul li a:hover {
            color: #0073aa;
        }