/*
 Theme Name:   Daves B2B 2025
 Theme URI:    https://b2b.davesamericanfood.com
 Description:  XStore Child Theme
 Author:       AJepCom
 Author URI:   https://www.ajepcom.it
 Template:     xstore
 Version:      0.0.1
 Text Domain:  daves
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}


/**
 * Header Nav
 */
@media (min-width: 850px) and (max-width: 960px) {
	.nav>li>a {font-size: 0.7em;}
}


/**
 * Home
 */
.home-top-cta {
	margin: 30px 0;	
}

.logged-in .home-top-cta {
	display: none;	
}

.home #content {
	padding-top: 0;	
}


/**
 * Footer
 */
#footer .footer-logo_call-us h5 {
	color: #e0162b;
}

#footer .is-divider {
	background-color: #e0162b;
}

#footer a {
	color: inherit;
}

#footer .footer-newsletter .section-title-normal,
#footer .footer-newsletter .section-title-normal span {
	border-bottom: none;
}

#footer .footer-newsletter .newsletter-popup-button {
	color: #ffffff !important;
}


.product-info .woocommerce-variation-price {
    display: inline-block;
}


/**
 * Sidenav widget
 */
.woocommerce-widget-layered-nav-dropdown button {
    color: #ffffff;
    margin-top: 10px;
}

aside.widget_nav_menu .menu li {
    border-radius: 10px;
    margin-bottom: 10px
}  
    
aside.widget_nav_menu .menu li a {
    color: #ffffff;
}

.sidebar #menu-shop-sidebar-links .menu-item, 
.elementor-widget-sidebar #menu-shop-sidebar-links .menu-item {
    font-weight: bold;
    line-height: 1.5em;
    border-radius: 10px;
    border: none;
    background: var(--et_btn-bg-color);
    height: auto;
    padding: 15px 30px;
    margin-bottom: 15px;
    display: inline-block;
}

.sidebar #menu-shop-sidebar-links .menu-item a, 
.elementor-widget-sidebar #menu-shop-sidebar-links .menu-item a {
  color: #FFFFFF;
}


/**
 * Shop bottom notice
 */
.woocommerce-shop-bottom-notice {
	font-weight: bold;
	text-align: center;
	margin-top: 5em;
}


/**
 * 
 */
.woocommerce-loop-product__title {
	display: inline-block;	
}


/**
 * Woocommerce message
 */
.woocommerce-message span.amount {
    color: inherit;
}

ul.message-wrapper {
    padding: 1px;
    margin-bottom: 30px;
}

ul.woocommerce-error.message-wrapper {
	outline: #e0162c auto 1px;
}

ul.message-wrapper span.amount {
	color: inherit;
}


/**
 * Product price suffix only on summary
 */
.woocommerce-price-suffix {
	/*display: none !important;*/
}

.product-info.summary .woocommerce-price-suffix {
	display: inline !important;
}


/**
 * Product price details only on summary and loop
 */
.product-price-details {
	/* font-size: 0.75em; */
	margin-left: 5px		
}

.product-summary .product-price-details .woocommerce-Price-currencySymbol {
    font-size: inherit;
    vertical-align: baseline;
    margin-top: 0em;
}

.product-price-details,
.product-price-details * {
	/*
	color: initial !important;
	font-size: 18px !important;
	font-weight: initial !important;
	*/
}

.product-price-details {
	display: none !important;
}

.product .product-price-details,
.product-info.summary .product-price-details {
	/*display: inline !important;*/
	display: inline-block !important;
}


/**
 * Product price on loop
 */
.product .price-wrapper {
	margin-top: 5px;
}


/**
 * Product layer and pallet info
 */
.product-layer-pallet-info-wrapper {
	display: flex;
	margin: 8px 0;
}

.product-layer-pallet-info-wrapper.loop {
	font-size: 14px;
}

.product-layer-pallet-info-wrapper.single {
	font-size: 16px;
}

.product-layer-pallet-info-wrapper .product-layer-pallet-info {
	display: inline-block;
	line-height: 1.0em;
}

.product-layer-pallet-info-wrapper .product-layer-pallet-info span {
	display: block;
}

.product-layer-pallet-info-wrapper.loop .product-layer-pallet-info span {
	line-height: 16px;
}

.product-layer-pallet-info-wrapper.single .product-layer-pallet-info span {
	line-height: 18px;
}

.product-layer-pallet-info-placeholder.loop {
	display: flex;
	height: 32px;
	margin: 8px 0;
}


/**
 * Product expiration date on loop
 */
.product .expiration-date-wrapper {
	font-size: 12px;
	font-weight: bold;
	margin-top: 5px;
}

.product .expiration-date-wrapper .expiration-date span {
    font-weight: normal;
}

.product .expiration-date-wrapper .expiration-date span.expiration-alert {
    color: #e0162b;
    font-weight: bold;
}


/**
 * Product quantity and add to cart button (on loop)
 */
.product .box-text .quantity {
    margin-top: 1em;
}

.product .box-text .quantity input {
    margin-top: 0;
}

.product .quantity+.button {
    margin-bottom: 0;
    font-size: .8em;
    line-height: 1.5em;
    padding: 0.5em 1.2em;
    margin-right: 1em;
    background-color: var(--primary-color) !important;
}


/**
 * Product add to cart button (on loop)
 */
.add_to_cart_button {
    line-height: 1.5em;
    padding: 0.5em 1.2em;
}

.add_to_cart_button.added {
    display: inline-block;
}

a.added_to_cart {
    display: none;
}


/**
 * Product availability
 */
.product-stock-status .wishlist-in-stock:before,
p.stock.available-on-backorder:before,
p.stock.in-stock.high-stock-amount:before {
    content: '\f12a';
    font-family: "dashicons";
    margin-right: 5px;
}


/**
 * Product image badge
 */
.product-images .badge {
	font-size: 14px;
    line-height: 16px;
    height: auto;
}

.product-images .badge-inner {
	padding: 10px;
}


/**
 * Product short description
 */
.single-product:not(.logged-in) .product-short-description {
	font-style: italic;
}


/**
 * Product additional information tab
 */
.woocommerce-product-attributes-item--custom_meta_daf_scadenza .expiration-alert {
	color: #e0162b;
	font-weight: bold;
}


/**
 * Order item meta
 */
.order_item .wc-item-meta {
	font-size: 14px;
	margin-top: 5px;
	margin-bottom: 0;
}

.order_item .wc-item-meta .wc-item-meta-label {
	font-weight: normal;
}

.order_item .wc-item-meta p {
	display: inline;
}


/*************** B2B registration form ***************/
.woocommerce-form-register .form-row {
	margin-bottom: 1em;
}

.woocommerce-form-register input, 
.woocommerce-form-register textarea, 
.woocommerce-form-register select {
    margin-bottom: 0.25em;
}

.woocommerce-form-register .afreg_extra_fields input, 
.woocommerce-form-register .afreg_extra_fields textarea, 
.woocommerce-form-register .afreg_extra_fields select {
    margin-bottom: 0.25em;
}

.afreg_extra_fields .input-text, .input-select {
    height: 2.507em;
}

.woocommerce-form-register .afreg_extra_fields .afreg_field_message {
	font-size: 16px;
}

.woocommerce-form-register .woocommerce-privacy-policy-text {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.woocommerce-form-register .woocommerce-password-strength.short,
.woocommerce-form-register .woocommerce-password-strength.bad {
	color: #e0162b;
}


/*************** YITH WooCommerce Brands Add-On / Flatsome Theme FIX ***************/
.yith-wcbr-brand-thumbnail .yith-wcbr-thumbnail-list ul li {
    margin-left: 0;
}


/*************** YITH WooCommerce Brands Add-On / Brand header ***************/
.yith-wcbr-brands-header-wrapper img {
    max-height: 180px;
    width: auto;
    margin: auto;
    display: block;
}


/*************** TablePress: table SPEDIZIONI STANDARD B2B ***************/
.tablepress-id-1 thead th,
.tablepress-id-1 tbody td {
    padding: 8px;
}

.tablepress-id-1 thead th {
    background-color: #e0162b;
    color: #ffffff;
    text-align: center;
}

.tablepress-id-1 .row-2 td,
.tablepress-id-1 tr.row-2:hover td {
    background-color: #07539f;
    color: #ffffff;
}

.tablepress-id-1 .row-3 td,
.tablepress-id-1 .row-5 td,
.tablepress-id-1 .row-12 td,
.tablepress-id-1 .row-19 td,
.tablepress-id-1 .row-24 td,
.tablepress-id-1 .row-27 td,
.tablepress-id-1 .row-31 td,
.tablepress-id-1 .row-35 td,
.tablepress-id-1 .row-40 td,
.tablepress-id-1 .row-47 td,
.tablepress-id-1 .row-52 td,
.tablepress-id-1 .row-55 td,
.tablepress-id-1 .row-60 td,
.tablepress-id-1 .row-63 td,
.tablepress-id-1 .row-65 td,
.tablepress-id-1 .row-69 td,
.tablepress-id-1 .row-73 td,
.tablepress-id-1 .row-75 td,
.tablepress-id-1 .row-80 td {
    background-color: #f3f3f3;
    text-align: center;
}


/*************** TablePress: table SPEDIZIONI ESPRESSE B2B ***************/
.tablepress-id-2 thead th,
.tablepress-id-2 tbody td {
    padding: 8px;
}

.tablepress-id-2 thead th {
    background-color: #e0162b;
    color: #ffffff;
    text-align: center;
}

.tablepress-id-2 .row-2 td,
.tablepress-id-2 tr.row-2:hover td {
    background-color: #07539f;
    color: #ffffff;
    text-align: center;
}


/*************** Brand Landing ***************/
.brand-landing-header {
    background-size: auto 100% !important;
}

.logged-in #brand-landing-content .brand-landing-content-account {
	width: 0;
	height: 0;
	display: none;
	visibility: hidden;
}

@media (min-width: 1025px) {
	.logged-in #brand-landing-content .brand-landing-content-info {
		width: 100%;
	}

	.logged-in #brand-landing-content .brand-landing-content-info.elementor-column>.elementor-element-populated {
		padding: 0;
	}

	.logged-in #brand-landing-content .brand-landing-content-info-brand .elementor-column-gap-default>.elementor-column>.elementor-element-populated,
	.logged-in #brand-landing-content .brand-landing-content-info-to-buy .elementor-column-gap-default>.elementor-column>.elementor-element-populated,
	.logged-in #brand-landing-content .brand-landing-content-info-image .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
		padding: 10px;
	}

	.logged-in #brand-landing-content .brand-landing-content-info-brand,
	.logged-in #brand-landing-content .brand-landing-content-info-to-buy {
		width: 50%;
	}
}


/**
 * Cart/Checkout custom notices
 */
.daves-info {
    color: #0052a5;
    background-color: #f1f1f1;
	border-left: 5px solid #e0162b;
	font-weight: 800;
    font-size: 1.4em;
	padding: .79em 1.2em;
	margin: 0 0 1.43em;
}

.daves-info.small-text {
    font-size: 1.2em;
	line-height: 1.2em;
}

.daves-info:before {
    content: none;
}


/**
 * Checkout coupon form
 */
.woocommerce-form-coupon-toggle {
	display: none;
}

.checkout_coupon.woocommerce-form-coupon {
	display: flex !important;
	flex-direction: column;
	background-color: #eeeeee;
	padding: 40px 0px 20px;
	border-radius: 10px;
}

.checkout_coupon.woocommerce-form-coupon .form-row.form-row-first {
	padding-right: 0;
}

.checkout_coupon.woocommerce-form-coupon #coupon_code {
	border-radius: 10px;
}


/* Coupons */
 .acfw-bogo-notice-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    color: #0853a0;
    padding: 10px;
    margin: 10px 0 30px;
    border: 2px solid #0853a0;
    border-radius: 5px;
}

.cart-discount.coupon-espositore-takis-in-omaggio {
    color: #e0162c;
}


/****************************************
 * Dave's B2B 2025
 ****************************************/
/**
 * Product
 */
/* Cards same height */
 .products-loop {
    display: flex;
    flex-flow: wrap;
}

 .products .product {
    padding: 10px;
}

/* Slide cards same height */
.swiper-slide {
    align-self: stretch;
    height: auto;
}

 .swiper .product {
    margin-top: 2px;
    height: 100%;
}

.content-product {
    height: 100%;
    height: calc(100% - 5px);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0px 2px 5px 0px #9E9E9E;
    margin-bottom: 5px !important;
	overflow: hidden;
}

.content-product .login-to-buy-product {
	font-family: "Nunito", Sans-serif;
	font-size: 16px !important;
	padding: 10px;
    width: 100%;
    text-transform: none !important;
}

.content-product .woocommerce-product-details__short-description {
    height: 28px;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
}

.content-product .woocommerce-product-details__short-description * {
    font-size: 14px;
    line-height: 1em;
}

.product .product-details {
	text-align: left;
}

.product .product-title a {
 	color: #000000;
	font-family: "Nunito", Sans-serif;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25em !important;
	letter-spacing: 0px;
}

.product .price {
  color: #24CB35 !important;
	font-family: "Nunitos Sans", Sans-serif;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25em;
}

.product .price .woocommerce-price-suffix,
.product .price .product-price-details {
	color: initial !important;
	font-weight: initial !important;
	font-size: 14px !important;
}

.product .yith-wcbr-brands {
  font-size: 12px;
  font-weight: 800;
  margin-top: 5px;
}

.product .yith-wcbr-brands a {
  font-weight: 400;
  text-decoration: underline;
}

.product .quantity-wrapper,
.product .etheme-wc-add-to-cart-wrapper form {
	display: flex !important;
	max-width: 100%;
	justify-content: flex-start;
}

.product  .quantity .minus,
.product  .quantity .plus {
	min-width: 36px;
	height: 36px;
	width: 36px;
	border: none;
	border-radius: 25px;
	padding: 0;
}

.product .quantity .minus {
	background: #E4E4E4;
}

.product .quantity .plus {
	background: #24CB35;
}

.product .quantity .minus i:before,
.product .quantity .plus i:before {
	font-size: 12px;
	font-weight: 800;
}

.product .quantity .minus i:before {
	color: #A1A1A1;
}

.product .quantity .plus i:before {
	color: #FFFFFF;
}

.product .quantity .qty {
	color: #000000;
	font-family: "Nunito", Sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25em;
	letter-spacing: 0px;
	border: none;
}

.product div.quantity>input[type=number] {
	min-width: 34px !important;
	width: 34px;
}

.product .quantity-wrapper .button,
.product .etheme-wc-add-to-cart-wrapper form .button {
	border-radius: 10px;
	width: 100%;
	max-width: 350px;
}

.product .quantity-wrapper .button:before {
	content: '\f291' !important;
	font-family: 'FontAwesome' !important;
	font-size: 15px !important;
	font-weight: 700;
}

.product .quantity-wrapper span.daf-add-to-cart-label {
    display: none;
}

.product .quantity-wrapper span.daf-add-to-cart-label.show {
    display: block;
    font-family: "Nunito", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
    line-height: 1.25em;
    color: #ffffff !important;
    order: -1;
    margin-right: 10px;
}


.product .single_add_to_cart_button span {
    display: inline-block;
}

.product .single_add_to_cart_button i.fa,
.product .single_add_to_cart_button i.fas {
	font-size: 15px;
	font-weight: 700;
}

@media(max-width: 767px) {
	.content-product .login-to-buy-product {
		font-size: 14px !important;
		padding: 5px 10px;
	}
	.product .product-title a {
		font-size: 14px;
	}
	.product .price {
		font-size: 14px;
	}
	.product .price .woocommerce-price-suffix, 
	.product .price .product-price-details {
		font-size: 12px !important;
	}
	.product  .quantity .minus,
	.product  .quantity .plus {
	  min-width: 30px;
	  height: 30px;
	  width: 30px;
  }
  .product div.quantity>input[type=number] {
	  min-width: 24px !important;
	  width: 24px;
  }
  .product .quantity-wrapper .button,
  .product .etheme-wc-add-to-cart-wrapper form .button {
	  min-height: 30px !important;
  }
}


/**
 * Off Canvas
 */
.etheme-elementor-off-canvas__container {
	z-index: 10000000;
}


/**
 * Cart
 */
.empty-cart-block:before {
    content: "\e916" !important;
}


/**
 * Mini cart
 */
.etheme-elementor-off-canvas_content-head {
    color: var( --e-global-color-098957e );
}

.etheme-elementor-off-canvas_content-head a {
    flex-direction: row;
    justify-content: space-around;
}

.etheme-elementor-off-canvas_content-head-icon {
    font-size: 22px;
    width: auto;
    order: 2;
    margin: 0;
}

.etheme-elementor-off-canvas_content-head-label {
    text-transform: none;
}

.etheme-elementor-off-canvas_content-head {
    color: var( --e-global-color-098957e );
}

.etheme-elementor-off-canvas_content-head a {
    flex-direction: row;
    justify-content: center;
	gap: 15px;
}

.etheme-elementor-off-canvas_content-head-icon {
    font-size: 22px;
    width: auto;
    order: 2;
    margin: 0;
}

.etheme-elementor-off-canvas_content-head-label {
    text-transform: none;
}

.etheme-elementor-off-canvas .product_list_widget:not(.swiper-wrapper) li {
    border-top: 1px solid #D9D9D9;
}

.etheme-elementor-off-canvas .product_list_widget:not(.swiper-wrapper) li:last-child {
    border-bottom: 1px solid #D9D9D9;
}

.etheme-elementor-off-canvas .product_list_widget:not(.swiper-wrapper) .remove {
    opacity: 1 !important;
    visibility: visible !important;
    margin: 20px 10px 0 0 !important;
}

.etheme-elementor-off-canvas .product_list_widget .remove .et-delete:before {
    content: "";
    display: block;
    width: 12px;
    height: 15px;
    background-image: url("assets/images/trash-bin.png");
    background-size: 12px 15px;
}

.etheme-elementor-off-canvas .product_list_widget .descr-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.etheme-elementor-off-canvas .product_list_widget li .product-title {
    margin-bottom: 15px;
}

.etheme-elementor-off-canvas .product_list_widget .descr-box .variation {
    font-size: 12px;
    color: #000000;
    order: 5;
}

.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper {
	height: 38px;
	align-items: center;
	position: relative;
}

.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .quantity {
	display: flex !important;
	max-width: 100%;
	justify-content: flex-start;
}

.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper span.quantity {
	justify-content: space-around;
	gap: 10px;
	min-width: 80px;
}

.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .quantity .minus,
.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .quantity .plus {
	min-width: 36px;
	height: 36px;
	border: none;
	border-radius: 25px;
	width: 36px;
	padding: 0;
}

.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .minus {
	background: #E4E4E4;
}

.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .plus {
	background: #24CB35;
}


.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .minus i:before,
.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .plus i:before {
	font-size: 12px;
	font-weight: 800;
}

.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .minus i:before {
	color: #A1A1A1;
}

.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .plus i:before {
	color: #FFFFFF;
}

.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .qty {
	color: #000000;
	font-family: "Nunito", Sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25em;
	letter-spacing: 0px;
	border: none;
}


.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .quantity>input[type=number] {
	min-width: 34px !important;
	width: 34px;
	background-color: transparent;
}

.etheme-elementor-off-canvas .product_list_widget .quantity-wrapper .quantity .amount{
	color: #24CB35 !important;
	font-family: "Nunito", Sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25em;
}

.etheme-elementor-off-canvas .cart-widget-subtotal .small-h {
	color: #A1A1A1;
	font-family: "Nunito", Sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25em;
}

.etheme-elementor-off-canvas .cart-widget-subtotal .big-coast {
    color: #24CB35;
	font-family: "Nunito", Sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25em;
}

.etheme-elementor-off-canvas .mini-cart-buttons a:not(.daf-button) {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
}

.etheme-elementor-off-canvas .mini-cart-buttons a {
	width: 240px;
	font-family: "Nunito", Sans-serif;
	font-size: 18px;
	font-weight: 700;
	text-transform: none;
	line-height: 1.25em;
	/* background-color: #0052A5; */
	border-radius: 10px;
	padding: 7px 24px 7px 25px;
	margin: auto;
}

.etheme-elementor-off-canvas .mini-cart-buttons a.daf-link {
 	font-size: 16px;
	background-color: transparent;
	color: #A1A1A1;
	text-decoration: underline;
}


/**
 * YITH Badge Management - Stacked Badges
 */
.content-product .product-image-wrapper {
    overflow: visible;
}

.content-product .container-image-and-badge .yith-wcbm-badge-49199,
.content-product .container-image-and-badge .yith-wcbm-badge-49202 {
	margin-left: -15px;
}

.yith-wcbm-badge:nth-of-type(1):is(.yith-wcbm-badge-49199, .yith-wcbm-badge-49202) {
	top: 0px !important;
}

.yith-wcbm-badge:nth-of-type(2):is(.yith-wcbm-badge-49199, .yith-wcbm-badge-49202) {
	top: 25px !important;
}

.yith-wcbm-badge {
	font-family: Nunito, sans-serif;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1em;
}

.yith-wcbm-css-text,
.yith-wcbm-badge-text,
.yith-wcbm-css-text p,
.yith-wcbm-badge-text p {
	font-size: 14px;
}


/**
 * Woocommerce My Account
 */
.woocommerce-MyAccount-content a:not(.btn) {
        text-decoration: underline;
}


/**
 * Social Chat
 */
@media screen and (max-width: 767px) {
	.qlwapp__container.qlwapp__container--rounded .qlwapp__button {
		border-radius: 200px;
	}

	.qlwapp__container .qlwapp__button {
		right: auto;
		width: var(--qlwapp-scheme-icon-size, 60px);
		height: var(--qlwapp-scheme-icon-size, 60px);
	}

	.qlwapp__container .qlwapp__button .qlwapp__text {
		display: none !important;
	}
}
