/*
Theme Name: Site child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: site
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor page builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 2.9.0.1698314425
Updated: 2023-10-26 12:00:25

*/

/* MaestroItalia button system: replaces the parent theme's default magenta controls. */
button:not(.maestro-product-tabs__tab),
[type="button"]:not(.maestro-product-tabs__tab),
[type="submit"]:not(.maestro-product-tabs__tab) {
	border: 1px solid #173B25;
	border-radius: 999px;
	background-color: transparent;
	color: #173B25;
	font-weight: 700;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

button:not(.maestro-product-tabs__tab):hover,
button:not(.maestro-product-tabs__tab):focus,
button:not(.maestro-product-tabs__tab):focus-visible,
[type="button"]:not(.maestro-product-tabs__tab):hover,
[type="button"]:not(.maestro-product-tabs__tab):focus,
[type="button"]:not(.maestro-product-tabs__tab):focus-visible,
[type="submit"]:not(.maestro-product-tabs__tab):hover,
[type="submit"]:not(.maestro-product-tabs__tab):focus,
[type="submit"]:not(.maestro-product-tabs__tab):focus-visible {
	border-color: #C9361F;
	background-color: #C9361F;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

button:not(.maestro-product-tabs__tab):focus-visible,
[type="button"]:not(.maestro-product-tabs__tab):focus-visible,
[type="submit"]:not(.maestro-product-tabs__tab):focus-visible {
	outline: 2px solid #C9361F;
	outline-offset: 3px;
}

/* Box only the main single-product content and related-products section.
 * Keep this scoped to the two Elementor containers; B2B Support and the final
 * CTA retain their existing full-background/boxed-content behavior. */
body.single-product .elementor-element-382f804,
body.single-product .elementor-element-18472be,
body.single-product .elementor-element-382f804 .e-con-inner,
body.single-product .elementor-element-18472be .e-con-inner {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: clamp(16px, 2vw, 24px);
    box-sizing: border-box;
    min-width: 0;
}

body.single-product .elementor img,
body.single-product .elementor video,
body.single-product .elementor iframe,
body.single-product .elementor svg {
	max-width: 100%;
}

body.single-product {
	overflow-x: clip;
}

/* Final override for the parent Hello theme's legacy #c36 button state. */
body button:not(.maestro-product-tabs__tab):hover,
body button:not(.maestro-product-tabs__tab):focus,
body button:not(.maestro-product-tabs__tab):focus-visible,
body [type="button"]:not(.maestro-product-tabs__tab):hover,
body [type="button"]:not(.maestro-product-tabs__tab):focus,
body [type="button"]:not(.maestro-product-tabs__tab):focus-visible,
body [type="submit"]:not(.maestro-product-tabs__tab):hover,
body [type="submit"]:not(.maestro-product-tabs__tab):focus,
body [type="submit"]:not(.maestro-product-tabs__tab):focus-visible {
	border-color: #C9361F !important;
	background-color: #C9361F !important;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-1px);
}

/* Product tabs must keep their own neutral tab treatment instead of inheriting button states. */
body.single-product .maestro-product-tabs__tab,
body.single-product .maestro-product-tabs__tab:hover,
body.single-product .maestro-product-tabs__tab:focus,
body.single-product .maestro-product-tabs__tab:focus-visible,
body.single-product .maestro-product-tabs__tab.is-active {
	border-color: transparent !important;
	background-color: #fcfaf6 !important;
	color: #515151 !important;
	text-decoration: none;
	transform: none;
}

body.single-product .maestro-product-tabs__tab.is-active::after {
	background-color: #C9361F;
}

/* Shared WooCommerce shop/archive wireframe skin. */
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_brand .woocommerce-products-header,
body.tax-pa_format .woocommerce-products-header {
	display: none;
}

.maestro-shop {
	max-width: 1400px;
	margin-inline: auto;
	padding-block: 30px 64px;
	padding-inline: 20px;
}

.maestro-shop__hero {
	position: relative;
	min-height: 190px;
	margin-block-end: 28px;
	border: 1px solid #E5DDD0;
	border-radius: 10px;
	background-color: #FCFAF6;
	background-image: var(--maestro-shop-hero);
	background-position: center right;
	background-size: cover;
	overflow: hidden;
}

.maestro-shop__hero::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(252,250,246,.98) 0%, rgba(252,250,246,.9) 38%, rgba(252,250,246,.18) 72%, rgba(252,250,246,0) 100%);
	content: '';
}

.maestro-shop__hero-content {
	position: relative;
	z-index: 1;
	max-width: 570px;
	padding: 20px 28px 24px;
}

.maestro-shop__header { max-width: none; margin-block-end: 0; }
.maestro-shop__breadcrumb { margin-block-end: 12px; font-size: 11px; }
.maestro-shop__eyebrow { margin-block-end: 6px; color: #C9361F; font-size: 10px; letter-spacing: .16em; }
.maestro-shop h1 { font-size: clamp(40px, 4vw, 58px); }
.maestro-shop__intro { max-width: 500px; margin-block-start: 10px; font-size: 14px; line-height: 1.4; }
.maestro-shop__layout { grid-template-columns: minmax(250px, 260px) minmax(0, 1fr); gap: 32px; }
.maestro-shop-filters { top: 24px; padding: 18px 14px; border: 1px solid #E5DDD0; border-radius: 8px; background: #FCFAF6; }
.maestro-shop__catalog { min-width: 0; }
.maestro-shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.maestro-shop-card { border-radius: 7px; }
.maestro-shop-card__media { aspect-ratio: 1 / .92; }
.maestro-shop-card__body { padding: 14px; }
.maestro-shop-card__title { font-size: 16px; }
.maestro-shop-card__meta { margin-block: 8px 12px; font-size: 11px; }
.maestro-shop-card__link { padding-block-start: 10px; font-size: 10px; }
.maestro-shop-pagination { gap: 6px; margin-block-start: 14px; }
.maestro-shop-pagination__link { min-width: 26px; height: 26px; padding-inline: 6px; border-radius: 50%; font-size: 11px; }

@media (max-width: 1199px) {
	.maestro-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	.maestro-shop { padding-block: 18px 42px; padding-inline: 16px; }
	.maestro-shop__hero { min-height: 170px; background-position: center; }
	.maestro-shop__hero-content { padding: 18px; }
	.maestro-shop__hero::after { background: linear-gradient(90deg, rgba(252,250,246,.96), rgba(252,250,246,.66)); }
	.maestro-shop h1 { font-size: 42px; }
	.maestro-shop__layout { display: block; }
	.maestro-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.maestro-shop-card__body { padding: 12px; }
	.maestro-shop-card__title { font-size: 14px; }
}

/* Archive wireframe scale correction: layout only, shared by Shop and product archives. */
body.post-type-archive-product .woocommerce-breadcrumb:not(.maestro-shop .woocommerce-breadcrumb),
body.tax-product_cat .woocommerce-breadcrumb:not(.maestro-shop .woocommerce-breadcrumb),
body.tax-product_brand .woocommerce-breadcrumb:not(.maestro-shop .woocommerce-breadcrumb),
body.tax-pa_format .woocommerce-breadcrumb:not(.maestro-shop .woocommerce-breadcrumb) {
	display: none;
}

@media (min-width: 1200px) {
	.maestro-shop {
		width: min(1400px, calc(100vw - 80px));
		max-width: none;
		margin-inline: 0;
		position: relative;
		inset-inline-start: 50%;
		transform: translateX(-50%);
		padding-inline: 0;
	}
	.maestro-shop__hero { min-height: 320px; margin-block-end: 44px; }
	.maestro-shop__hero-content { max-width: 600px; padding: 42px 52px 48px; }
	.maestro-shop h1 { font-size: clamp(64px, 4.8vw, 72px); }
	.maestro-shop__intro { max-width: 580px; font-size: 18px; line-height: 1.5; }
	.maestro-shop__layout { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; }
	.maestro-shop-filters { padding: 26px 24px; }
	.maestro-shop-filters h2 { font-size: 25px; }
	.maestro-shop-filter__label { font-size: 13px; }
	.maestro-shop-filter select, .maestro-shop-sort select { min-height: 48px; }
	.maestro-shop-button { min-height: 48px; }
	.maestro-shop-toolbar { margin-block-end: 22px; }
	.maestro-shop-toolbar__count { font-size: 18px; }
	.maestro-shop-sort { font-size: 14px; }
	.maestro-shop-grid { gap: 22px; }
	.maestro-shop-card__media { aspect-ratio: 1 / .9; min-height: 230px; }
	.maestro-shop-card__body { min-height: 210px; padding: 20px; }
	.maestro-shop-card__title { font-size: 23px; line-height: 1.16; }
	.maestro-shop-card__meta { margin-block: 12px 18px; font-size: 14px; line-height: 1.45; }
	.maestro-shop-card__link { padding-block-start: 16px; font-size: 15px; }
	.maestro-shop-pagination { gap: 9px; margin-block-start: 38px; }
	.maestro-shop-pagination__link { min-width: 38px; height: 38px; font-size: 14px; }
}

@media (min-width: 701px) and (max-width: 1199px) {
	.maestro-shop { max-width: none; }
	.maestro-shop__hero { min-height: 270px; }
	.maestro-shop__hero-content { padding: 34px 38px 40px; }
	.maestro-shop h1 { font-size: 58px; }
	.maestro-shop__intro { font-size: 17px; }
	.maestro-shop__layout { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
	.maestro-shop-filters { padding: 22px 20px; }
	.maestro-shop-grid { gap: 16px; }
	.maestro-shop-card__media { min-height: 190px; }
	.maestro-shop-card__body { min-height: 190px; padding: 16px; }
	.maestro-shop-card__title { font-size: 20px; }
}
