/*
Theme Name: Progress Child Theme
Template: progress
Theme URI: https://progress.themerex.net/
Description: Progress Child Theme
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: progress
*/

:root {
	--theme-var-page_width: 1380px;
}

header.top_panel {
	z-index: 15 !important;
}

.wcmamtx_modal {
	z-index: 50 !important;
}

/* = Pagina profilo con riepilogo punti e membership
------------------------------------------------------------ */

/* = Available from date message
------------------------------------------------------------ */
.available-from {
	background-color: #f8f8f8;
	border-left: 3px solid #007cba;
	padding: 10px 15px;
	margin: 15px 0;
	font-weight: 500;
	color: #333;
	display: inline-block;
}

.available-from-notice {
	background-color: #f8f8f8;
	border: 1px solid #ddd;
	border-left: 3px solid #007cba;
	padding: 15px;
	margin: 0 0 20px 0;
	font-size: 1.1em;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 10;
}

.available-from-notice .available-from {
	background-color: transparent;
	border-left: none;
	padding: 0;
	margin: 0;
	font-weight: 600;
	font-size: 1.2em;
	color: #333;
	display: block;
}

/* Make sure the message is visible on the product page */
.summary.entry-summary .available-from-notice {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin-top: 0 !important;
	margin-bottom: 20px !important;
}

/* Hide product ID */
.product-id,
.product_id,
.product_meta .product-id,
.product_meta .product_id,
.entry-summary .product-id,
.entry-summary .product_id,
.woocommerce-product-details__product-id,
[class*='product-id-'],
[id*='product-id-'] {
	display: none !important;
}

/* Hide tab list when there's only a single tab */
.wc-tabs:only-child,
.wc-tabs li:only-child,
.woocommerce-tabs .tabs:has(li:only-child) {
	display: none !important;
}
section.related.products {
	display: none;
}

.woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	a.button {
		width: 100% !important;
		margin-bottom: 1rem;
	}
}

.woocommerce-result-count,
.woocommerce-ordering {
	display: none !important;
}

@media (width>=1200px) {
	.two-cols-lg {
		colums-count: 2;
		columns: 2;
		column-gap: 2rem;
	}
}

.btn-green > a {
	text-transform: uppercase;
	background-color: var(--e-global-color-dd150f6);
	fill: #fff;
	color: #fff;
	border-radius: 30px 30px 30px 30px;
	padding: 0 !important;
	width: auto !important;
	display: block !important;
	span {
		padding-block: 10px;
		font-family: 'DM Sans', sans-serif;
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		width: 100%;
		text-align: center;
		display: inline-block;
	}
}

.menu_mobile_nav_area .btn-green {
	margin-top: 2rem;
}

@media (width>=1280px) {
	.menu_mobile_nav_area .btn-green {
		display: none !important;
	}
}

.woocommerce-additional-fields,
.menu_button_close_text,
.sidebar .widget.widget_categories,
.sidebar .widget.widget_tag_cloud,
.sidebar .widget_search,
.sidebar .widget_recent_posts,
.menu_mobile_widgets_area{
	display: none !important;
} 
/*.invited-members*/

.sidebar .widget + .widget,
.sidebar_default[class*='scheme_'] .widget + .widget {
	margin-top: 0 !important;
}

/*
.woocommerce-MyAccount-content > p {
	display: none;
}*/

form .wpcf7-submit {
	display: block;
	margin-top: 2rem;
}

@media (width>=1024px) {
	.woocommerce-MyAccount-content {
		.sidebar.widget_area {
			position: absolute;
			top: 0;
			right: 0;
			background: #f8f9fa;
		}
	}
	.woocommerce-account .woocommerce-MyAccount-navigation {
		width: 25% !important;
	}
	.woocommerce-account .woocommerce-MyAccount-content {
		width: 65%;
	}
}

.menu_mobile {
	--theme-color-alter_bg_color: #12416c;
}

@media (width<1280px) {
	.menu_mobile .sc_layouts_logo img,
	.home header .sc_layouts_logo img {
		filter: brightness(10) saturate(0) contrast(5);
	}
}

.sidebar_inner {
	background: url(https://www.iovoto.cloud/wp-content/uploads/2025/04/Banner-mobile.png)
		no-repeat bottom center;
	background-size: cover;
	height: min(600px, 80vh);
	.widget_shopping_cart_content a,
	.total,
	.widget_title {
		color: #fff !important;
	}
	.amount {
		color: #f0f0f0 !important;
	}
	.image_wrap {
		opacity: 0;
	}
}

@media (width<540px) {
	.sidebar_inner {
		height: min(400px, 100vw);
	}
}

.woocommerce .widget_shopping_cart .buttons a.checkout,
.woocommerce.widget_shopping_cart .buttons a.checkout {
	background-color: #fff !important;
}

.shop_table {
	thead tr th {
		color: #333 !important;
	}
	.button {
		padding: 5px 15px !important;
	}
}

header.top_panel {
	background-color: #0c2e57;
}

header.top_panel_custom_header-main-sticky {
	.sc_layouts_row_type_compact
		.sc_layouts_item
		a:not(.sc_button):not([class*='button']),
	[class*='scheme_'].sc_layouts_row_type_compact
		.sc_layouts_item
		a:not(.sc_button):not([class*='button']) {
		/*color: #fff !important;*/
		&:active,
		&:hover,
		&:focus {
			color: #fff !important;
		}
	}
	.menu_hover_zoom_line
		.sc_layouts_menu_nav
		> li:not(.menu-collapse)
		> a:after {
		background-color: #fff;
	}
}

.woocommerce-MyAccount-content {
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		margin: 0 !important;
		padding-bottom: 30px !important;
		font-size: var(--theme-font-h4_font-size) !important;
		line-height: 1.2em !important;
	}
}

.woocommerce-message {
	padding: 1rem;
	background-color: #0c2e57 !important;
	color: #fff;
	text-align: center;
	a {
		color: #fff !important;
	}
}

body.privacy-policy {
	:is(h2, h3, h4) {
		font-family: var(--theme-font-h4_font-family);
		font-size: var(--theme-font-h4_font-size) !important;
		font-weight: var(--theme-font-h4_font-weight);
		font-style: var(--theme-font-h4_font-style);
		line-height: var(--theme-font-h4_line-height) !important;
		text-decoration: var(--theme-font-h4_text-decoration);
		text-transform: var(--theme-font-h4_text-transform);
		letter-spacing: var(--theme-font-h4_letter-spacing);
		margin-top: var(--theme-font-h4_margin-top);
		margin-bottom: var(--theme-font-h4_margin-bottom);
	}
	.sc_layouts_row_type_compact
		.sc_layouts_item
		a:not(.sc_button):not([class*='button']) {
		color: #fff !important;
	}
	@media (width<1280px) {
		header section.elementor-top-section {
			background-color: #ccc !important;
		}
	}
}
