/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

:root {
  --main-color: #D81E3F;
  --cta-hover-color:#d81e3fc7;
}

/* COMUNI */
.text-center {
	text-align:center!important;
}
.button.cta {
	background-color:var(--main-color);
	color:#fff;
}
.button.cta:hover {
	background-color:var(--cta-hover-color);
	color:#fff;
}

.color-white {
	color:white!important;
}
.w100 {
	width:100%!important;
}
.weight-normal {
	font-weight:normal!important;
}
.arrow-right-before, .arrow-right-after {
	display:inline-block;
}
.arrow-right-before:before {
	color: var(--mfn-button-icon-color);
	content: "\f061";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	margin-right:10px;
}
.arrow-right-after:after {
	color: var(--mfn-button-icon-color);
	content: "\f061";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	margin-left:10px;
}
.normal-weight {
	font-weight:normal!important;
}
.cta-fullwidth .wpcf7 input[type="submit"]  {
	width:100%!important;
}
.cta-maincolor .wpcf7 input[type="submit"] {
	background-color: var(--main-color)!important;
}

/* TYPINGS */
h3 {
	font-weight:700;
}

/* BOTTONI */
.button {
	text-transform:uppercase;
	font-size:19px;
	font-weight:400;
	padding:12px 40px;
	line-height:1.8;
	&.light {
		background-color:#F5F5F5;
		color:#000;
	}
	&:hover {
		background-color:#d81e3f;
		color:#fff;
	}
}

.text-white {
	color:#fff!important;
	h2 {
		color:#fff!important;
	}
}

button, input[type=button], input[type=reset], input[type=submit], .button, .woocommerce a.added_to_cart, .wc-block-components-button:not(.is-link), .wp-block-button__link {
	line-height:1.8;
}

/* PAYPAL */
.ppc-button-wrapper {
	margin-bottom:10px;
}

/* OWL CAROUSEL */

.owl-theme.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* Rende i pulsanti cliccabili solo sull'icona */
  button.owl-next, button.owl-prev {
	background-color: #ccc;
	width: 50px;
	padding-bottom: 5px!important;
  }
}


.owl-theme {
	.owl-prev, 
	.owl-next {
	  font-size: 45px !important;
	  line-height: 45px !important;
	  width: 45px;
	  position: absolute;
	  top: 50%;
	  transform: translateY(-50%);
	  pointer-events: all; /* Rende cliccabili i pulsanti */
	  border-radius: 50%;
	}

	.owl-prev {
	  left: 10px; /* Stacca di 10px dal bordo sinistro */
	}

	.owl-next {
	  right: 10px; /* Stacca di 10px dal bordo destro */
	}

	.owl-nav [class*='owl-'] {
		/* background: #ffffff3b!important; */
	}

	.owl-nav [class*='owl-']:hover {
		/* background: #1520193d!important; */
		color:#000;
	}
}

/* HEADER */

header {
	#Action_bar{
		&:not(.creative) {
			.social-menu {
				a:hover {
					color:var(--main-color);
				}
			}
		}
	}
	#Top_bar {
		.menu {
			.menu-item .description {
				display: none;
			}
			& > li {
				& > a 
				{
					span {
						text-transform:uppercase;
						&:not(.description) {
							border:none;
						}
					}
				}
				&.main-menu-item.current_page_item, &.current-menu-ancestor.current-menu-parent.current_page_parent.current_page_ancestor {
					background-color: var(--main-color);
					a{
						color:#fff;
					}
					ul {
						a {
							color:#000;
						}
					}
				}
			}
		}
		
		.top_bar_right {
			height: 85px;
			top:0 !important;
		}
		
	}
}
#Top_bar .menu > li > a:hover {
	color: #fff;
	background: #d81e3f;
}
#Top_bar.is-sticky .top_bar_right {
	height: 56px;
}

#Subheader {
	padding: 0;
	&:after{
		display:none;
	}
	ul.breadcrumbs{
		text-align:left!important;
		li:first-child{
			margin-left:10px;
		}
		margin:20px 0!important;
	}
	
}

#Content {
	padding-top: 2px;
}

footer {
	.widgets_wrapper {
		.container {
			max-width:1250px;
			&:before {
				background-image: url(/wp-content/uploads/2025/05/bonannini-logo-footer-white.png);
				margin-top:2px;
                content: " ";
                width: 100%;
                height: 117px;
                display: block;
                text-align: center;
                background-repeat: no-repeat;
                background-size: 278px auto;
                background-position: center;
			}
		}
	}
	.footer_copy {
		border-top: none!important;
		.mcb-column-inner {
			margin:0;
			.copyright {
				border-top:solid 1px #bebebe;
				color:#BEBEBE;
				padding:20px;
				margin-bottom: 40px!important;
				margin-top: 20px!important;
			}
		}
	}
}

/* LISTING/ARCHIVE */
.archive  {
	span.soldout {
		display:none;
	}
	#Subheader {
		ul.breadcrumbs{
			li:first-child{
				margin-left:40px;
			}
		}
		
		&:before {
			display: block;
			content: '';
			background-image: url(/wp-content/uploads/2025/05/top-poltrone.png);
			height:297px;
		}
	}
	
	.titolo-categoria {
		margin-bottom: 20px;
	}
	ul.products {
		li.product {
			
			&.outofstock .product-loop-thumb .image_wrapper img {
				opacity: 1;
			}
			.mfn-li-product-row.mfn-li-product-row-image {
				border: solid 1px #bebebe;
			}
			.image_links {
				display:none;
			}
			.image_wrapper {
				.mask {
					box-shadow:none;					
					/* border: solid 1px #bebebe; */
				}
			}
			h4 {
				font-weight: normal;
			}
			.price {
				color:#000;
				font-weight:bold;
				margin-top:10px;
			}
			.count {
				display:none;
			}
			&.outofstock .product-loop-thumb .soldout h4 {
				border:0;
			}
		}
	}
	.shop-filters {
		.woocommerce-ordering {
			select {
				background-color: #f5f5f5;
				padding: 5px 15px;
				width: 200px;
			}
		}
	}
	.widget_product_categories {
		ul {
			background-color: transparent;
			li {
				a {
					color:#000!important;
				}
				&.current-cat {
					a {
						color:var(--main-color)!important;
						font-weight: bold;
					}
					ul {
						li {
							a {
								color:#000!important;
								font-weight: bold;
							}
						}
					}
				}
			}
			
		}
	}
}

/* PRODUCT */
.single-product {
	span.soldout {
		display:none;
	}
	&.out-of-stock {
		.woocommerce-Price-amount.amount {
			display:none;
		}
	}
	.product {
		.product-message {
			background-color: #F5F5F5;
			display:flex;
			padding:20px;
			margin-bottom:10px;
			img {
				margin-right:10px;
				height:26px!important;
			}
		}
		/*.product_meta {
			display:none;
		}*/		
		.images {
			.flex-viewport {
				border:solid 1px #bebebe;
			}
		}
		.entry-summary {
			text-align: left!important;
		}
		.scroll-to-contacts {
			.fa {
				color: var(--main-color);
				margin-right:8px;
			}
			&.button {
				/* margin-top:28px; */
			}
			margin-bottom: 20px; 
			
		}
		.back-to-category {
			.fa {
				color: var(--main-color);
			}
			margin-bottom: 0px; 
		}
		.related.products {
			h3 {
				max-width:400px;
				margin-bottom:30px;
				font-weight: 500;
			}
			background-color:#f5f5f5;
			padding:20px 50px;
			.product {
				.image_frame {
					a {
						background-color:#fff;
					}
				}
			}
		}
		.product-category-link {
			margin-top:5px;
		}
		.info-prodotto {
			margin-top:5px;
			.fa {
				color:var(--main-color);
			}
		}
		ul.products {
			li.product {
				.image_wrapper {
					.mask {
						box-shadow:none;					
						/* border: solid 1px #bebebe; */
					}
				}
				h4 {
					font-weight: normal;
				}
				&.outofstock .product-loop-thumb .soldout h4 {
					border:0;
				}			
				.image_links {
					display:none;
				}
				&.outofstock .product-loop-thumb .image_wrapper img {
					opacity: 1;
				}
			}
		}
		.out-of-stock {
			display:none;
		}
		
	}
	
	.product-contacts {
		background-color: #2f2f2f;
		width: 100%;
		padding: 50px;
		color: #fff;
		h3 {
			font-size:30px;
			line-height:35px;
			color:#fff;
		}
		.riga2 {
			font-size:30px;
			line-height:35px;
			color:#fff;
			margin:20px 0;
		}
		.riga3 {
			font-size:20px;
			line-height:25px;
			color:#fff;
			font-weight:300;
		}
		a {
			color:#fff;
		}
		label {
			color:#888686;
		}
		input[type=submit] {
			width:100%;background-color:#D81E3F;color:#fff;text-transform:uppercase;
		}
	}
}

.grecaptcha-badge {
	display:none;
}

/*.term-1924 #Content:before {
	display: block;
	content: '';
	background-image: url(/wp-content/uploads/2025/05/top-poltrone.png#135850);
	height:297px;
}*/

/* SIDE SLIDE */
/*#Side_slide #menu ul li.submenu .menu-toggle {
	opacity:1;
}
#Side_slide #menu ul li.submenu .menu-toggle:after {
	content: "\f054";
	font-family: 'Font Awesome 5 Free';
	font-weight: 600;
}*/
#Side_slide {
	#menu {
		ul {
			li {
				a span.description {
					display:none;
				}
				
				.current-menu-item {
					background-color: #D81E3F;
					a {
						color: #fff;
					}
				}
				&.main-menu-item {
					text-transform:uppercase;
					li:not(.current-menu-item) {
						text-transform:capitalize;
					}
				}
				&.submenu {
					.menu-toggle{
						opacity:1;
						&:after {
							content: "\f054";
							font-family: 'Font Awesome 5 Free';
							font-weight: 600;
						}
					}
				}
				&.hover > .menu-toggle:after{
					content: "\f053";
					font-family: 'Font Awesome 5 Free';
					font-weight: 600;
				}
			}
			
		}
		&:has(#menu-item-135803.hover):after {
			content:' ';
			background:url('/wp-content/uploads/2025/06/direzionali_side.png');
			width:273px;
			height:246px;
			display:block;
		}
	}
	.extras {
		.extras-wrapper {
			.header-cart-total {
				display:none;
			}
		}
	}
	.social-menu {
		li {
			padding-right: 0px;
			&:first-child {
				a {
					border-right: solid 1px #555;
					padding-right: 10px;
				}
			}
		}
	}
}

/* HOME */
.home {
	.home-slider {
		h3 {
			font-size:25px;
			letter-spacing:3%;
			weight:500;
		}
		.owl-item {
			a {
				h3 {
					margin-top: 20px;		
					text-align:center;					
				}
				&:hover {
					text-decoration:none;
				}
			}
		}
		.owl-nav {
			.owl-next, .owl-prev {
				background-color: #ccc;
				width: 50px;
				padding-bottom: 5px!important;
			}
		}
	}
    
}
.home .icon_box .image_wrapper img {
	width: 150px !important;
	height: 150px !important;
}
.page-id-135814/*contatti*/ .icon_box .image_wrapper img {
	width: 120px !important;
	height: 120px !important;
}
.home .icon_box .desc_wrapper a, .page-id-135814/*contatti*/ .icon_box .desc_wrapper a {
	color: #fff !important;
}
.home .icon_box .desc_wrapper a:hover, .page-id-135814/*contatti*/ .icon_box .desc_wrapper a:hover {
	opacity: .6;
}

/* CARRELLO */
.woocommerce-cart {
	.wc-block-cart__submit-button {
		background-color:var(--mfn-woo-bg-themecolor);
	}
	.wc-block-cart__submit-button:hover {
		background-color:var(--cta-hover-color);
	}
}

/* CHECKOUT */
.woocommerce-checkout {
	.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
		background-color:var(--mfn-woo-bg-themecolor);
	}
	.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
		background-color:var(--cta-hover-color);
	}
	
	.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option[for=radio-control-wc-payment-method-options-ppcp-gateway]:after {
		position: relative;
        margin-top: 6px;
        content: '';
        display: inline-block;
        width: 87px;
        height: 87px;
        background-image: url(/wp-content/uploads/2025/09/paypal-logo.png);
        Background-repeat: no-repeat;
        background-size: cover;
        /* margin-left: 5px; */
        background-position: left center;
        background-color: transparent;
	}
	
	.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option[for=radio-control-wc-payment-method-options-ppcp-credit-card-gateway]:after {
		position: relative;
		margin-top: 6px;
		content: '';
		display: inline-block;
		width: 197px;
		height: 35px;
		background-image: url(/wp-content/uploads/2025/09/carte.png);
		Background-repeat: no-repeat;
		background-size: 197px;
		margin-left: 5px;
	}
}

/* RESPONSIVE */

@media (min-width:1024px) {
	/* Header */
	header {
		#Top_bar {
		    border-top: solid 1px #bebebe;
			border-bottom: solid 1px #bebebe;
		}
		
		#Action_bar {
			.contact_details {
				margin-left:10px;
			}
			#social-menu {
				li {
					&.bordered-right {
						a {
							&::after {
								content: '';
								width: 1px;
								height: 20px;
								border-right: solid 1px #000000;
								padding-left: 20px;
								vertical-align: middle;
								display: inline-block;
							}
						}
							
					}
				}
			}
		
		}
	}
		
	footer {
		padding: 0 15%;
	}
}

@media (max-width:768px) {
	
	/* COMMON */
	.only-desktop {
		display:none!important;
	}
	
	button, input[type=button], input[type=reset], input[type=submit], .button, .woocommerce a.added_to_cart, .wc-block-components-button:not(.is-link), .wp-block-button__link {
		text-transform: uppercase;
		font-size: 15px;
		line-height: 1.2;
		font-weight: 400;
		padding: 12px 10px;
	}
	
	.single-product {
		.product-contacts {
			padding:50px 0;
		}
		.container{
			.column {
				width: -webkit-fill-available;
				margin-bottom:20px;
			}
		}
	}
	
	.wpcf7  {
		span.wpcf7-form-control-wrap {
			margin-top:5px;
		}
		
		.wpcf7-not-valid-tip {
			background-color:var(--main-color)!important;
		}
	}
	
	/* LISTING/ARCHIVE */
	.archive {
		#Content:before {
			background-image: url(/wp-content/uploads/2025/05/top-poltrone-mobile.png);
			background-position: center;
		}
		.woocommerce_before_main_content {
			text-align: center;
		}
	}
	
	/* PRODUCT */
	.single-product {	
		div.entry-summary h1.product_title	{
			margin-top:50px;
		}
		.related.products {
			
			.product {
				width:100%!important;
			}
		}
	
	}
	
	/* CHECKOUT */
	.woocommerce-checkout {
		.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
			width:100%;
		}
	}

	/*#Subheader {
		padding: 0;
	}*/
}

@media (max-width:479px) {
	
	h3 {
		font-size: 31px;
		line-height: 35px;
	}
	
	body {
		font-size:15px;
	}
	
	#Top_bar {
		#logo {
				img.logo-mobile, img.logo-mobile-sticky {
				max-width:200px;		
				margin-left:-50px;
			}
		}
		.top_bar_right {
			.top-bar-right-icon, .wpml-languages, .top-bar-right-button {
				margin:0;
			}
		}
	}
	
	h1 {
		font-size:30px;
		line-height:35px;
	}
	
	.single-product {
		.product {
			#tab-additional_information {
				tr {
					display: flex;
					flex-direction: column;
					margin-top:20px;
					
				}
				th, td {
					text-align:left;
					padding:0 10px;
					
				}
			}
		
		}
	}
}