/*
 Theme Name:   Trivio WP theme
 Theme URI:    http://www.boriswebactivity.altervista.org/
 Description:  Powered by <a href="http://boriswebactivity.altervista.org">BWA</a>.
 Author:       Boris
 Author URI:   http://boriswebactivity.altervista.org
 Template:     bwa-theme-v3
 Version:      1.0.9
*/

:root {
	--fluid-min: 360;
	--fluid-max: 1440;
	--fluid-range: calc(var(--fluid-max) - var(--fluid-min));

	/* BODY */
	--body-font-size-super-small: 16px;
	--body-font-size-small: clamp(16px, calc(16px + (20 - 16) * ((100vw - 360px) / var(--fluid-range))), 20px);
	--body-font-size: clamp(18px, calc(18px + (26 - 18) * ((100vw - 360px) / var(--fluid-range))), 26px);
	--body-large-font-size: clamp(21px, calc(21px + (32 - 21) * ((100vw - 360px) / var(--fluid-range))), 32px);
	--body-big-font-size: clamp(26px, calc(26px + (45 - 26) * ((100vw - 360px) / var(--fluid-range))), 45px);

	/* HEADINGS (h1–h6) */
	--font-h1: clamp(48px, calc(48px + (72 - 48) * ((100vw - 360px) / var(--fluid-range))), 72px);
	--font-h2: clamp(32px, calc(32px + (40 - 32) * ((100vw - 360px) / var(--fluid-range))), 40px);
	--font-h3: clamp(22px, calc(22px + (32 - 22) * ((100vw - 360px) / var(--fluid-range))), 32px);
	--font-h4: clamp(18px, calc(18px + (36 - 18) * ((100vw - 360px) / var(--fluid-range))), 36px);
	--font-h5: clamp(16px, calc(16px + (26 - 16) * ((100vw - 360px) / var(--fluid-range))), 26px);
	--font-h6: clamp(13px, calc(13px + (22 - 13) * ((100vw - 360px) / var(--fluid-range))), 22px);

	/* FONT-TITLE DECORATIVI */
	--font-title: clamp(36px, calc(36px + (65 - 36) * ((100vw - 360px) / var(--fluid-range))), 65px);
	--font-title-bigger: clamp(61px, calc(61px + (192 - 61) * ((100vw - 360px) / var(--fluid-range))), 192px);
	--font-title-middle: clamp(30px, calc(30px + (142 - 30) * ((100vw - 360px) / var(--fluid-range))), 142px);
	--font-title-mini: clamp(24px, calc(24px + (94.6 - 24) * ((100vw - 360px) / var(--fluid-range))), 94.6px);

	--font-cta: clamp(16px, calc(16px + (16 - 16) * ((100vw - 360px) / var(--fluid-range))), 16px);
	--font-note: clamp(12px, calc(12px + (12 - 12) * ((100vw - 360px) / var(--fluid-range))), 12px);

	/* SUBTITLE */
	--font-subtitle: clamp(18px, calc(18px + (26 - 18) * ((100vw - 360px) / var(--fluid-range))), 26px);

	/* WP PRESETS */
	--wp--preset--font-size--small: 13px;
	--wp--preset--font-size--medium: var(--font-h5);
	--wp--preset--font-size--large: var(--font-h2);
	--wp--preset--font-size--x-large: var(--font-h1);

	--header-height: 120px;
}

body {
	--color-nero-10: #f9f9f9;
	--color-nero-50: #e6ebeb;
	--color-nero-100: #E6E6E6;
	--color-nero-200: #CCCCCC;
	--color-nero-300: #B3B3B3;
	--color-nero-500: #808080;
	--color-nero-600: #666666;
	--color-nero-800: #333333;
	--color-nero-900: #1A1A1A;
}

body.scrolled {
	--header-height: 80px;
}

.shadowed {
	box-shadow: 0 0 1.5em 0 rgba(0, 0, 0, .075);
}

.site-header,
.site-header .header-container {
	transition: all .5s var(--bwa-transition);
}

/*@media screen and (min-width: 1200px) { */
body.trasp-header #top_container {
	padding-top: var(--header-height);
}

/*} */

/* default: se NON esiste un .is-active, tratta la prima come attiva */
[data-slider-nav]:not(:has(.is-active)) .is-first>a {
	color: var(--color-link-hover);
}

body.wp-theme-bwa-theme-v3 .wp-block-button.is-style-outline .wp-block-button__link {
	border-width: 3px;
}

body {
	font-size: var(--body-font-size-small);
	line-height: 1.4;
	--color-text: #292929;
	color: var(--color-text);
	--color-borders: #ededed;
	--mitrani-input-shadow: 0px 3px 6px rgba(0, 0, 0, 0.025);
	--mitrani-input-focus-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
	--color-borders-input: #cac9c9;
}

.extra-claim,
.section-subtitle,
.section-title,
.extra-title {
	font-size: var(--font-title);
	font-weight: 700;
	text-wrap: balance;
}

@media screen and (max-width: 781px) {

	.section-title,
	.extra-title {
		/*overflow-wrap: break-word;*/
		word-break: normal;
		hyphens: auto;
	}

	.bottom-title>.padded-content {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

.bottom-title .section-intro {
	padding-top: 0;
	padding-bottom: 1em;
	text-align: left;
}

.bottom-title .section-intro>div {
	align-items: flex-end;
	gap: 2em;
}

.bottom-title .section-intro .trivio-archive-description {
	font-size: var(--body-font-size-super-small);
}

.bottom-title .section-intro .section-title {
	color: var(--color-custom);
}

.section-title.bigger,
.extra-title.bigger {
	font-size: var(--font-title-bigger);
}

.section-title.middle,
.extra-title.middle {
	font-size: var(--font-title-middle);
}

.section-title.mini,
.extra-title.mini {
	font-size: var(--font-title-mini);
}

.extra-claim,
.section-subtitle {
	font-size: var(--font-subtitle);
	font-weight: 600;
	text-wrap: balance;
}

.extra-claim.bigger,
.section-subtitle.bigger {
	font-size: calc(var(--font-subtitle) / 0.685);
}

.extra-claim.middle,
.section-subtitle.middle {
	font-size: calc(var(--font-subtitle) / 1.25);
}

.extra-claim.mini,
.section-subtitle.mini {
	font-size: calc(var(--font-subtitle) / 1.5);
}

.has-large-font-size,
.has-x-large-font-size {
	line-height: 1.1em;
}

.wp-block-heading {
	font-weight: 700;
	line-height: 1.1em;
}

.font-alt,
.section-title,
.extra-title {
	line-height: 1.175em;
	text-transform: uppercase;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	font-weight: 700;
	line-height: 1.128em;
}

h1,
.h1 {
	font-size: var(--font-h1);
	line-height: 1.031em;
}

h2,
.h2 {
	font-size: var(--font-h2);
	line-height: 1.175em;
}

h3,
.h3 {
	font-size: var(--font-h3);
	line-height: 1.469em;
}

h4,
.h4 {
	font-size: var(--font-h4);
}

h5,
.h5 {
	font-size: var(--font-h5);
}

h6,
.h6 {
	font-size: var(--font-h6);
}

/* General rules */

#top_container:before {
	display: none;
}

.site-header {
	position: fixed !important;
}

.site-header .logo {
	height: 48px !important;
}

.site-header #open_primary {
	order: 0;
}

.site-header #masthead {
	order: 3;
}

body:not(.has-primary-open) .site-header.scrolled:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #FFFFFF;
	background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.64) 100%);
	backdrop-filter: blur(10px);
}

/* Menu */
.ogliarola.current-menu-item a,
.ogliarola a:hover {
	color: var(--color-link-hover) !important;
}

.coratina.current-menu-item a,
.coratina a:hover {
	color: var(--color-link) !important;
}

.og-le-co.current-menu-item a,
.og-le-co a:hover {
	color: var(--color-custom-4) !important;
}

#site-navigation {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: var(--color-custom);
	overflow-y: auto;
	display: grid;
	grid-template-columns: 1fr 2fr;
}

#site-navigation .nav-container {
	max-width: 600px;
	padding: 8em 4em;
}

#site-navigation .widget-area-top {
	text-align: left;
	padding: 8em 15vw;
	background-color: var(--color-bg);
	max-height: 100vh;
	overflow-y: auto;
}

#site-navigation .nav-menu .open-this {
	display: none !important;
}

#site-navigation .nav-menu .menu-item-has-children>a:not(.open-this) {
	padding-right: 15px;
}

#site-navigation .nav-menu .sub-menu {
	position: relative;
	clip-path: none;
	opacity: 1;
	background-color: transparent;
}

#site-navigation .nav-menu .sub-menu>li>a {
	font-weight: bold;
	padding-left: 1em;
	padding-right: 1em;
}

#site-navigation .nav-menu>li>.sub-menu>li>a {
	text-transform: uppercase;
}

.site-header .logo>span {
	height: 100%;
}

.site-header .logo>span>svg {
	height: 100%;
	width: auto;
	display: block;
}

.site-header.minimal .main-navigation {
	text-align: left;
}

.widget-area-bottom {
	order: 1;
	margin-left: auto;
	position: relative;
	z-index: 10;
}

.icon-link {
	text-decoration: none !important;
	display: block;
	width: 24px;
	min-width: 24px;
	height: 24px;
	color: var(--color-text);
}

.icon-link:hover path {
	fill: var(--color-link-hover) !important;
}

.bwa-ecom-icons {
	display: flex;
	gap: .6em;
	margin: 0 1em;
}

.site-header .menu-open .logo .onscroll {
	opacity: 1;
}

#site-navigation .nav-container,
#site-navigation .widget-area-top {
	background-image: url(images/pattern/typography-art-white.svg);
	background-repeat: no-repeat;
	background-size: 200%;
	background-position: -20% -25%;
	background-attachment: fixed;
}

ul.nav-menu>li {
	padding: .3em 0;
}

.nav-menu>ul>li>a,
ul.nav-menu>li>a {
	line-height: 1.4em;
	font-size: var(--body-large-font-size);
	font-weight: bold;
	text-transform: uppercase;
}

/* Single post */
.bwa-post-header {
	margin-bottom: 2em;
}

.bwa-post-title {
	color: var(--color-custom);
}

/* BWA: animated color cycle applied inside the SVG */
.bwa-anim-scope [data-bwa-fill] {
	fill: currentColor;
}

.bwa-anim-scope-- {
	color: var(--color-text);
}

.bwa-anim-scope {
	color: var(--color-text);
}

@keyframes bwaColorCycle {
	0% {
		color: #07783A;
	}

	33% {
		color: #DF2C6E;
	}

	66% {
		color: #015A84;
	}

	100% {
		color: #07783A;
	}
}

.bwa-anim-scope {
	animation: bwaColorCycle 12s ease-in-out infinite;
}

.site-header.scrolled .hamburger-inner,
.site-header.scrolled .hamburger-inner::after,
.site-header.scrolled .hamburger-inner::before,
.site-header .hamburger-inner,
.site-header .hamburger-inner::after,
.site-header .hamburger-inner::before {
	background-color: currentColor;
	background-color: var(--color-text);
}

.bwa-svg-container svg {
	width: 100%;
	height: auto;
}

/* Olio carousel */
nav[data-slider-nav] ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 1em;
}

#prodotti_image .bwa-product-card .bwa-media {
	margin: auto;
}

#prodotti_image .bwa-product-card .bwa-media .bwa-img {
	width: 100% !important;
	margin: 0 auto 0 0;
	display: block;
	object-fit: contain;
	min-height: 600px;
}

@media screen and (max-width: 1199px) {
	#prodotti_image .bwa-product-card .bwa-media .bwa-img {
		min-height: 600px;
	}
}

@media screen and (max-width: 991px) {
	#prodotti_image .bwa-product-card .bwa-media .bwa-img {
		min-height: 600px;
	}
}

@media screen and (max-width: 781px) {
	#prodotti_image .bwa-product-card .bwa-media .bwa-img {
		min-height: 600px;
	}
}

@media screen and (max-width: 419px) {
	#prodotti_image .bwa-product-card .bwa-media .bwa-img {
		min-height: 400px;
	}
}

#prodotti_image .bwa-trivio__nav {
	grid-column-start: 1;
	grid-column-end: 3;
}

.trivio-carousel-column-sillabe {
	align-items: center;
}

li.product .trivio-carousel-column-sillabe path {
	fill: var(--color-link) !important;
}

li.product.post-132 .trivio-carousel-column-sillabe path {
	fill: var(--color-custom-4) !important;
}

li.product.post-107 .trivio-carousel-column-sillabe path {
	fill: var(--color-link-hover) !important;
}

nav[data-slider-nav] ul a {
	color: var(--color-text);
	text-decoration: none !important;
	font-weight: bold;
}

nav[data-slider-nav] ul .is-active a {
	color: var(--color-link-hover);
}

nav[data-slider-nav] ul li.post-132 {
	--color-link-hover: var(--color-custom-4);
}

nav[data-slider-nav] ul li.post-127 {
	--color-link-hover: var(--color-link);
}

.carousel-info-row {
	min-height: 300px;
}

.site-header .header-container:not(.menu-open) .hamburger-bwa.is-active .hamburger-inner,
.site-header .header-container:not(.menu-open) .hamburger-bwa.is-active .hamburger-inner::after,
.site-header .header-container:not(.menu-open) .hamburger-bwa.is-active .hamburger-inner::before,
.site-header .header-container:not(.menu-open) .hamburger-bwa:hover .hamburger-inner,
.site-header .header-container:not(.menu-open) .hamburger-bwa:hover .hamburger-inner::after,
.site-header .header-container:not(.menu-open) .hamburger-bwa:hover .hamburger-inner::before {
	background-color: var(--color-link-hover);
}

/* In home senza scroll: niente animazione */
.single-post .site-header:not(.scrolled) .header-container:not(.menu-open) #masthead .bwa-anim-scope path,
.home .site-header:not(.scrolled) .header-container:not(.menu-open) #masthead .bwa-anim-scope path,
.single-post .site-header:not(.scrolled) .header-container:not(.menu-open) .icon-link path,
.home .site-header:not(.scrolled) .header-container:not(.menu-open) .icon-link path {
	fill: #fff !important;
}

.single-post .site-header:not(.scrolled) .hamburger-inner,
.single-post .site-header:not(.scrolled) .hamburger-inner::after,
.single-post .site-header:not(.scrolled) .hamburger-inner::before,
.home .site-header:not(.scrolled) .hamburger-inner,
.home .site-header:not(.scrolled) .hamburger-inner::after,
.home .site-header:not(.scrolled) .hamburger-inner::before {
	animation: none;
	background-color: #fff;
}

/* Quando hamburger è attivo → bianco fisso
#open_primary.is-active .hamburger-inner,
#open_primary.is-active .hamburger-inner::after,
#open_primary.is-active .hamburger-inner::before {
	animation: none;
	background-color: #fff !important;
	animation: none;
}
*/
.nav-menu>li.trp-menu-ls-item {
	display: inline-block !important;
	width: 60px !important;
	text-align: center;
	padding: 1em 0;
}

.nav-menu>li.trp-menu-ls-item.current-language-menu-item>a {
	color: var(--color-menu-items-hover);
}

.nav-menu>ul>li.divider-item::before,
ul.nav-menu>li.divider-item::before {
	content: '';
	line-height: 1px;
	width: 100%;
	height: 1px;
	transform: translateY(0);
	border-top: 1px solid;
	border-left-color: currentcolor;
	border-color: var(--color-menu-items);
	display: inline-block;
}

ul.nav-menu>li.divider-item>.sub-menu {
	display: flex;
}

#site-navigation .nav-menu .divider-item>.sub-menu>li>a {
	padding: .5em 1em;
}

@media screen and (max-width: 1199px) {
	body {
		--header-height: 80px;
	}

	.nav-menu li.menu-item-has-children>.sub-menu {
		height: auto;
		visibility: visible;
		clip-path: none;
		opacity: 1;
		font-size: var(--body-font-size-small);
	}

	.main-navigation .sub-menu>li>a {
		line-height: 2em;
	}

	body.has-primary-open .site-header:after {
		content: "";
		background-color: var(--color-text);
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	.site-header #masthead,
	.site-header #open_primary {
		z-index: 10;
	}

	#site-navigation {
		display: flex;
		flex-direction: column;
		max-height: 100vh;
		overflow-y: auto;
	}

	#site-navigation .nav-container {
		position: sticky;
		top: 0;
		padding: 6em 2em;
	}

	#site-navigation .widget-area-top {
		max-height: unset;
		padding: 1em 2em;
		height: auto;
		overflow: unset;
		position: sticky;
		top: var(--header-height);
	}

	.site-header .header-container.menu-open #masthead .bwa-anim-scope path,
	.site-header .header-container.menu-open .icon-link path {
		fill: #fff !important;
	}
}

.bwa-typo-art svg {
	width: 100%;
	height: auto;
}

@media screen and (max-width: 781px) {
	.site-header .logo {
		height: 36px !important;
	}

	.bwa-legal {
		gap: .5em !important;
		flex-direction: column;
	}

	.bwa-legal>span {
		display: none;
	}

	.widget-area-top .head-block-content:before,
	.widget-area-top:before {
		content: "";
		width: 96px;
		height: 4px;
		display: block;
		border-radius: 99px;
		background-color: var(--color-bg);
		position: absolute;
		top: -20px;
		left: 50%;
		transform: translateX(-50%);
		opacity: .5;
		pointer-events: none;
		z-index: 2;
	}

	.widget-area-top .head-block-content:before {
		display: none;
		z-index: 1;
		transform: none;
		width: 100%;
		height: 32px;
		top: 80px;
		background: #FFFEFA;
		background: linear-gradient(180deg, rgba(255, 254, 250, 1) 0%, rgba(255, 254, 250, 0.72) 70%, rgba(255, 254, 250, 0) 100%);
	}

	.header-hero {
		min-height: 412px !important;
	}

	.sisters-carousel .wp-block-image img {
		max-height: 50vh;
		width: auto !important;
		margin: auto;
	}

	.sisters-carousel .wp-block-columns {
		gap: 0 !important;
	}

	.sisters-carousel {
		margin-bottom: -24em !important;
	}

	/*
	.bwa-typo-art-section{
		display: flex;
		align-items: flex-start;
		height: 125vh;
	}
	.bwa-typo-art-section.bwa-typo-small{
		height: 100vh;
		align-items: center;
	}
	.bwa-typo-art svg {
		width: 300vw;
		height: auto;
	}
	*/
}

@media screen and (max-width: 419px) {
	.widget-area-bottom {
		margin: auto;
	}
}

/* Header show/hide on scroll */
body:not(.eye-up):not(.has-primary-open) .site-header.scrolled {
	transform: translateY(-100%);
}

/** .decorated **/

/* Contact forms */

/* Input customization */
label {
	font-size: var(--body-font-size-super-small);
}

.form-group {
	margin-bottom: .325em;
}

.form-group .checkbox,
.form-group .radio,
.form-group label {
	border: none;
	background-color: transparent !important;
	font-size: var(--body-font-size-super-small);
}

.form-group label.sr-only {
	padding: 0 !important;
	width: auto !important;
}

.form-group .checkbox label,
.form-group .radio label {
	background-color: transparent !important;
	align-items: baseline;
}

.form-group .checkbox,
.form-group .radio,
.form-group .form-control {
	border-color: var(--color-text);
	border-width: 2px !important;
	border: 2px solid var(--color-text);
	border-radius: .5em;
	transition: all .5s var(--bwa-transition);
	background-color: transparent;
}

.form-group .checkbox,
.form-group .radio {
	/*border-radius: 1em;
	border: 1px solid var(--color-borders) !important;*/
}

.form-group .checkbox svg,
.form-group .radio svg {
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 5px 0 auto;
	color: var(--color-link);
}

.form-group textarea.form-control {
	line-height: 1.4;
}

.form-group .form-control:focus {
	border-bottom-color: var(--color-custom-3);
}

.form-group .help-block {
	background-color: transparent;
}

.form-group .form-control {
	font-size: 16px;
}

.form-group .form-control {
	height: 54px;
	/*line-height: 54px;*/
	padding: 14px 20px;
}

.form-group textarea.form-control {
	height: auto;
}

.form-group .checkbox,
.form-group .radio {
	padding: 1em;
	box-shadow: none;
}

.form-group>.radio {
	flex-direction: column;
	gap: 7.5px;
}

/* stile generico per tutti i placeholder */
#newsletter .form-group .form-control {
	color: var(--color-text);
	border: none !important;
	border-bottom: 3px solid var(--color-text) !important;
	border-radius: 0;
}

.form-group .form-control:focus {
	border-bottom-color: var(--color-custom-3) !important;
}

.form-group .form-control:focus {
	border-color: var(--color-custom-3) !important;
	outline: 0;
	box-shadow: none;
}

#newsletter input.form-control::placeholder,
#newsletter textarea.form-control::placeholder {
	color: var(--color-text);
	/* il colore che preferisci */
	opacity: 1;
	/* su Firefox serve per avere piena opacità */
}

#newsletter select.form-control {
	color: var(--color-text);
}

#newsletter select.form-control option {
	color: #333;
}

#newsletter select.form-control option[disabled] {
	color: #777;
}

#newsletter .form-group .checkbox,
#newsletter .form-group .radio {
	border: none !important;
}

#newsletter .field-accetta label {
	font-size: 13px !important;
}

.bwa-form-actions {
	margin-top: 1em;
}

/* supporto vecchi browser con prefissi */
#newsletter .form-control::-moz-placeholder,
#newsletter .form-control::-webkit-input-placeholder,
#newsletter .form-control::-ms-input-placeholder,
#newsletter .form-control:-ms-input-placeholder {
	opacity: 1;
	color: var(--color-text);
}

.wpcf7-form .form-control {
	text-align: right;
	padding-left: 0;
	padding-right: 0;
}

.wpcf7-form .wp-block-columns {
	gap: 1em;
	margin-bottom: 0;
}

.wpcf7-acceptance .wpcf7-list-item {
	margin: 0 0 1em 0;
}

.wpcf7-acceptance .wpcf7-list-item>label {
	display: flex;
	gap: 1em;
	align-items: flex-start;
	flex-direction: row-reverse;
	font-weight: normal;
	font-size: .85em;
	text-transform: uppercase;
	text-align: right;
}

.wpcf7-acceptance {
	font-size: .85em;
}

/*@media screen and (max-width: 1199px){*/
.bwa-form-fields-wide,
.bwa-form-actions {
	flex-direction: column-reverse;
	gap: 1em !important;
}

.bwa-form-actions .wp-block-column:last-child>p {
	display: flex;
	flex-direction: row-reverse;
}

.bwa-form-fields-wide {
	flex-direction: column;
}

.wpcf7-acceptance .wpcf7-list-item {
	margin-bottom: 0;
}

/*}*/
.btn-lg,
.btn-group-lg>.btn,
.wc-block-components-button:not(.is-link),
.button,
.bwa-button,
button,
input[type="submit"] {
	border-radius: 99px;
	font-size: var(--font-cta);
}
.button.sm{
	font-size: 13px !important;
}
.button-filters{
	background-color: rgba(246, 246, 246, .9);
	backdrop-filter: blur(10px);
}

.woocommerce a.button.button-secondary,
.woocommerce input.button.button-secondary,
input.button.button-secondary,
.woocommerce input.bwa-button.button-secondary,
input.bwa-button.button-secondary,
.woocommerce .button.button-secondary,
.button.button-secondary,
.woocommerce .bwa-button.button-secondary,
.bwa-button.button-secondary {
	color: var(--color-text) !important;
	border: 3px solid var(--color-text) !important;
	border-radius: 99px;
	background-color: transparent !important;
}

.wp-block-button.is-style-outline>.wp-block-button__link:hover,
.woocommerce a.button.button-secondary:hover,
.woocommerce input.button.button-secondary:hover,
input.button.button-secondary:hover,
.woocommerce input.bwa-button.button-secondary:hover,
input.bwa-button.button-secondary:hover,
.woocommerce .button.button-secondary:hover,
.button.button-secondary:hover,
.woocommerce .bwa-button.button-secondary:hover,
.bwa-button.button-secondary:hover {
	border-color: var(--color-link) !important;
	color: white !important;
	background-color: var(--color-link) !important;
}

.wp-block-button>.wp-block-button__link:hover,
.wp-block-button.is-style-outline>.wp-block-button__link:active,
.woocommerce a.button.button-secondary:active,
.woocommerce input.button.button-secondary:active,
input.button.button-secondary:active,
.woocommerce input.bwa-button.button-secondary:active,
input.bwa-button.button-secondary:active,
.woocommerce .button.button-secondary:active,
.button.button-secondary:active,
.woocommerce .bwa-button.button-secondary:active,
.bwa-button.button-secondary:active {
	border-color: var(--color-link-hover) !important;
	background-color: var(--color-link-hover) !important;
	color: #fff !important;
}

.wp-block-button>.wp-block-button__link:active {
	border-color: var(--color-link-hover-hover) !important;
	background-color: var(--color-link-hover-hover) !important;
	color: #fff !important;
}

.post-132,
.color-ogliarola {
	--color-link: var(--color-custom-4);
}

/*.color-coratina{
	--color-link: var(--color-custom);
}*/
.post-107,
.color-bradano {
	--color-link: var(--color-link-hover);
}

button[disabled],
html input[disabled] {
	opacity: .85;
}

input[type="submit"].rounded-button,
.rounded-button {
	background-color: var(--color-link) !important;
}

input[type="submit"].rounded-button:hover,
.rounded-button:hover,
input[type="submit"].rounded-button:active,
.rounded-button:active,
input[type="submit"].rounded-button:focus,
.rounded-button:focus {
	background-color: var(--color-link) !important;
	color: var(--color-link-hover) !important;
}

input[type="submit"].rounded-button.white:hover,
.rounded-button.white:hover,
input[type="submit"].rounded-button.white:active,
.rounded-button.white:active,
input[type="submit"].rounded-button.white:focus,
.rounded-button.white:focus {
	background-color: #fff !important;
	color: var(--color-link-hover) !important;
}

/* PROG DELAY */

.progressive-delay .slide-bottom:nth-child(1) {
	transition-delay: .3s
}

.progressive-delay .slide-bottom:nth-child(2) {
	transition-delay: .6s
}

.progressive-delay .slide-bottom:nth-child(3) {
	transition-delay: .9s
}

@media screen and (max-width: 781px) {
	.stack-in-mobile {
		justify-content: flex-start !important;
	}

	.padded-content.sm {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* BWA: animated color cycle applied inside the SVG */
.bwa-anim-scope [data-bwa-fill] {
	fill: currentColor;
}

@keyframes bwaColorCycle {
	0% {
		color: #07783A;
	}

	33% {
		color: #DF2C6E;
	}

	66% {
		color: #015A84;
	}

	100% {
		color: #07783A;
	}
}

.bwa-anim-scope {
	animation: bwaColorCycle 12s ease-in-out infinite;
}

/* Layout hak */
#primary,
#secondary {
	padding-left: 5vw;
	padding-right: 5vw;
}

.tax-name-header {
	font-size: 13px;
	text-transform: uppercase;
	display: block;
	line-height: 1;
}

body.blog #primary,
body.archive #primary,
body.single-post #primary {
	padding-top: 30px;
	padding-bottom: 30px;
}

@media screen and (min-width: 992px) {
	#primary {
		width: 100%;
	}

	#secondary {
		width: 100%;
	}

	#secondary,
	#primary,
	#primary:not(.no-sidebar) {
		padding-left: 5vw;
		padding-right: 5vw;
	}
}

@media screen and (min-width: 1600px) {

	#secondary,
	#primary,
	#primary:not(.no-sidebar) {
		padding-left: 10vw;
		padding-right: 10vw;
	}
}

@media screen and (min-width: 1920px) {

	#secondary,
	#primary,
	#primary:not(.no-sidebar) {
		padding-left: 15vw;
		padding-right: 15vw;
	}
}

@media screen and (max-width: 781px) {
	#primary {
		width: 100%;
	}

	#secondary {
		width: 100%;
	}

	#primary,
	#primary:not(.no-sidebar) {
		padding-left: 7.5vw;
		padding-right: 7.5vw;
	}
}

/* Movimento e sovrapposizione */
.move-down-element {
	margin-bottom: -8em;
}

.move-up-element {
	margin-top: -4em;
}

.move-down-element.move-more {
	margin-bottom: -16em;
}

.move-up-element.move-more {
	margin-top: -6em;
}

.move-down-element.move-more-more {
	margin-bottom: -20em;
}

.move-up-element.move-more-more {
	margin-top: -12em;
}

/* Typography art */
.bwa-typo-art>svg {
	margin: auto;
	display: block;
}

/* Carousel */

.bwa-flickity-carousel-wp .flickity-page-dots {
	max-width: unset;
	left: auto;
	transform: translateX(0);
	right: 2em;
	width: auto;
	bottom: 2em;
}

.bwa-flickity-carousel-wp .flickity-page-dots .dot {
	padding: 0;
	width: 10px !important;
	height: 10px !important;
	margin: 0 5px;
	border-radius: 99px;
}

.bwa-flickity-carousel-wp .flickity-page-dots .dot {
	background-color: rgba(255, 255, 255, 0.25);
	border: 1px solid #fff;
	opacity: 1;
}

.bwa-flickity-carousel-wp .flickity-page-dots .dot.is-selected {
	background-color: #fff;
}

/* WooCommerce custom */
.woocommerce-message {
	font-size: var(--body-font-size-small);
}

.woocommerce-products-header {
	padding: 0;
}

#secondary.woocommerce-sidebar {
	font-size: var(--body-font-size-small);
	text-align: right;
	padding: 0 !important;
	width: 160px !important;
	min-width: 160px !important;
}

#secondary.woocommerce-sidebar .widget:not(:first-child) {
	margin-bottom: 2em;
}

#secondary.woocommerce-sidebar .widget-area {
	position: sticky;
	top: 0;
}

@media screen and (max-width: 991px) and (min-width: 782px) {
	#secondary.woocommerce-sidebar{
		width: 100% !important;
		text-align: center;
	}
	#secondary.woocommerce-sidebar .widget-area{
		display: flex;
		flex-direction: column;
	}
	#secondary.woocommerce-sidebar .woocommerce-widget-layered-nav-list{
		display: flex;
		justify-content: center;
		gap: 1em;
	}
}
@media screen and (max-width: 781px) {
	#secondary.woocommerce-sidebar {
		pointer-events: none;
		opacity: 0;
		transform: translateX(-101%);
		position: fixed;
		top: 0;
		left: 0;
		width: 100% !important;
		height: 100%;
		background-color: #FFFEFA;
		padding: 3em !important;
		z-index: 9;
		transition: all .3s var(--bwa-transition);
	}

	#secondary.woocommerce-sidebar.is-active {
		opacity: 1;
		transform: translateX(0);
		pointer-events: auto;
	}
}

@media screen and (max-width: 479px) {
	.woocommerce ul.products[class*="columns-"] li.product,
	.woocommerce-page ul.products[class*="columns-"] li.product {
		width: 100%;
	}
}

.widget-title,
.widgettitle {
	padding: 0;
	margin-top: 0;
}

/* Icona rimozione nei filtri attivi (Woo Layered Nav Filters) */
.widget_layered_nav_filters li.chosen>a::after {
	content: "\f00d";
	/* FA6: xmark (ex 'times') */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	/* solid */
	display: inline-block;
	margin-left: .45em;
	font-size: .9em;
	line-height: 1;
	opacity: .75;
	transition: opacity .2s ease, transform .2s ease;
	speak: none;
}

.widget_layered_nav_filters li.chosen>a:hover::after {
	opacity: 1;
	transform: scale(1.08);
}

.widget .wc-block-product-categories-list li,
.widget ul.menu li,
.widget>ul li,
.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item {
	display: flex;
	border-bottom: none;
	flex-direction: row-reverse;
	margin: 0 !important;
	font-size: var(--body-font-size-super-small);
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a,
.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item span {
	color: var(--color-text);
	text-transform: uppercase;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a:after {
	content: "\f00c";
	/* FA6: xmark (ex 'times') */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	/* solid */
	display: inline-block;
	margin-left: .45em;
	font-size: .9em;
	line-height: 1;
	opacity: .75;
	transition: opacity .2s ease, transform .2s ease;
	speak: none;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item.chosen a:after {
	content: "\f00d";
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a:active,
.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item:hover a,
.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item.chosen a {
	font-weight: 700;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item .count {
	display: none;
}

.woocommerce .widget_layered_nav_filters ul {
	justify-content: flex-end;
	background-color: transparent;
	padding: 0;
	border: none;
	gap: .35em;
}

.woocommerce .widget_layered_nav_filters ul li {
	background-color: var(--color-text);
}

@media screen and (min-width: 992px) {
	body.archive.woocommerce #primary {
		width: 100%;
		padding-left: 5vw;
		padding-right: 5vw;
	}

	body.archive.woocommerce #primary #content {
		display: flex;
		gap: 2em;
	}

	body.archive.woocommerce #primary #content .products-list-container {
		padding-right: 160px;
		width: 100%;
	}
}

@media screen and (min-width: 1600px) {
	body.archive.woocommerce #primary {
		width: 100%;
		padding-left: 10vw;
		padding-right: 10vw;
	}
}

@media screen and (min-width: 1920px) {
	body.archive.woocommerce #primary {
		width: 100%;
		padding-left: 15vw;
		padding-right: 15vw;
	}
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	align-items: center;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
	border-radius: 99px;
	border: 3px solid var(--color-text) !important;
	background-color: transparent !important;
	color: var(--color-text) !important;
	font-size: var(--font-cta);
	text-transform: uppercase;
	box-shadow: none !important;
	padding-top: 11px;
	padding-bottom: 11px;
	height: auto;
	min-height: unset;
	width: auto;
}

.woocommerce ul.products.bwa-related-ul,
.woocommerce ul.products.bwa-related-ul li.product {
	margin-bottom: 0em !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:active,
.woocommerce-page ul.products li.product .button:active,
.woocommerce ul.products li.product .button:focus,
.woocommerce-page ul.products li.product .button:focus {
	border-color: var(--color-link-hover) !important;
	color: var(--color-link-hover) !important;
}

/* Related */
.bwa-related-ul .product .price,
.bwa-related-ul .product .button,
.bwa-related-ul .product .bwa-toplines,
.bwa-related-ul .product .bwa-etichetta,
.bwa-related-ul .product .woocommerce-loop-product__title {
	display: none !important;
}

#tertiary .related .block-title {
	font-size: var(--body-font-size);
	text-align: right;
	width: 116px;
	margin-left: auto;
}

/*
@media screen and (min-width: 782px) {
	#tertiary .related .block-title {
		margin-top: 6.45em;
	}
}
*/

/* Custom product in home */
/* Wrapper card */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-size: var(--font-h3);
}

.bwa-product-card {
	list-style: none;
}

.bwa-card-link {
	display: grid;
	gap: .75rem;
	text-decoration: none;
	color: inherit;
	text-decoration: none !important;
}

/* Media */
.bwa-media {
	position: relative;
	overflow: hidden;
	display: block;
}

.bwa-media .bwa-img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	transition: opacity .28s ease !important;
	/* transition-delay: .36s !important; */
}

.bwa-media .bwa-img.secondary {
	position: absolute !important;
	inset: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	/* transition-delay: 0s !important; */
}

.bwa-product-card:hover .bwa-media.with-secondary .bwa-img.primary {
	opacity: 0 !important;
}

.bwa-product-card:hover .bwa-media.with-secondary .bwa-img.secondary {
	opacity: 1 !important;
}

/* Info */
.bwa-info {
	display: grid;
	gap: .25rem;
	text-transform: uppercase;
	text-align: center;
}

.bwa-trivio-logo {
	height: 33px !important;
	width: auto !important;
	display: block;
	margin: 0 auto 1em auto !important;
}

.bwa-line.bwa-etichetta,
.bwa-line.bwa-title,
.bwa-line.bwa-cat {
	font-size: 18px;
}

.bwa-line.bwa-title {
	font-weight: 700;
}

.products .product.post-127 {
	--color-link-hover: var(--color-link)
}

.products .product.post-132 {
	--color-link-hover: var(--color-custom-4)
}

.bwa-product-card .bwa-toplines {
	font-size: var(--body-font-size-small);
	color: var(--color-text) !important;
	text-transform: uppercase;
}

.bwa-product-card .bwa-toplines .bwa-formato,
.bwa-product-card .bwa-toplines .bwa-cat-top {
	text-transform: none;
}

.bwa-product-card .bwa-toplines .bwa-formato-item-list {
	display: none;
}

.bwa-product-card .bwa-toplines .bwa-formato-item-list:first-child {
	display: block;
}

.woocommerce ul.products li.product .bwa-etichetta,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	font-size: var(--body-font-size-small);
	text-transform: uppercase;
	color: var(--color-text);
}

.woocommerce ul.products li.product .bwa-line.bwa-formato {
	justify-content: center;
}

ul.products li.product .woocommerce-LoopProduct-link span.price {
	color: var(--color-text);
	margin: auto auto 0;
	font-size: var(--font-h3);
}

ul.products li.product .woocommerce-LoopProduct-link span.price small {
	display: none;
}

ul.products li.product .woocommerce-LoopProduct-link p.stock,
ul.products li.product .woocommerce-LoopProduct-link span.price {
	display: block;
	text-align: center;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.woocommerce ul.products li.product .bwa-toplines,
.woocommerce ul.products li.product .bwa-etichetta,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	text-align: center;
}

/** Sigle **/
/* Product Gallery */
.woocommerce div.product .entry-summary {
	max-width: 460px;
	margin: auto;
}

.woocommerce-product-gallery {
	max-width: 400px;
	margin-left: auto;
}

.woocommerce div.product {
	display: flex;
	gap: 2em;
	align-items: flex-start;
}

@media screen and (min-width: 782px) {
	body.woocommerce div.product div.images.woocommerce-product-gallery {
		position: -webkit-sticky;
		position: sticky;
		top: 60px;
	}
}

@media screen and (max-width: 991px) {
	.bwa-add-to-cart {
		gap: .5em;
		justify-content: flex-start;
	}

	.woocommerce div.product form.cart::after,
	.woocommerce div.product form.cart::before {
		display: none !important;
	}

	.woocommerce div.product p.price,
	.woocommerce div.product span.price {
		text-align: right;
	}
}

@media screen and (max-width: 781px) {
	.woocommerce div.product {
		flex-direction: column;
	}

	.woocommerce-product-gallery {
		margin-right: auto;
	}

	.woocommerce #content div.product div.summary,
	.woocommerce div.product div.summary,
	.woocommerce-page #content div.product div.summary,
	.woocommerce-page div.product div.summary {
		width: 80%;
	}
}

@media screen and (max-width: 419px) {

	.woocommerce #content div.product div.summary,
	.woocommerce div.product div.summary,
	.woocommerce-page #content div.product div.summary,
	.woocommerce-page div.product div.summary {
		width: 100%;
	}
}

.woocommerce div.product .product_title {
	font-size: var(--body-font-size-small);
	text-transform: uppercase;
	font-weight: 700;
	margin: 0;
}

/* Swatches */

.woocommerce div.product select#pa_formato {
	display: none;
}

.woocommerce div.product .form-group label {
	padding-left: 0;
	padding-right: 0;
}

.woocommerce div.product .bwa-formato-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: .356em;
	justify-content: space-between;
}

.woocommerce div.product .bwa-formato-swatches button {
	height: 36px;
	padding-left: 1.33em;
	padding-right: 1.33em;
	min-height: unset;
	background-color: transparent;
	border: 3px solid var(--color-text);
	color: var(--color-text);
	border-radius: 99px;
	font-size: var(--body-font-size-super-small);
	flex-grow: 1;
}

/* Add to cart block */

.quantity input {
	font-size: var(--font-cta) !important;
	min-height: unset !important;
	height: 45px !important;
	border: 3px solid var(--color-text) !important;
	padding-top: 11px !important;
	padding-bottom: 11px !important;
	border-radius: 99px !important;
}

.quantity button {
	margin-top: 0 !important;
	top: 13px !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.quantity button.plus {
	right: 9px;
}

.quantity button.minus {
	left: 9px;
}

.woocommerce button.button.single_add_to_cart_button {
	background-color: transparent !important;
	border: 3px solid var(--color-text);
	color: var(--color-text) !important;
	min-height: unset;
	height: 45px;
	padding-top: 11px !important;
	padding-bottom: 11px !important;
	border-radius: 99px;
}

.woocommerce button.button.single_add_to_cart_button:hover,
.woocommerce button.button.single_add_to_cart_button:active,
.woocommerce button.button.single_add_to_cart_button:focus {
	color: white !important;
}

.woocommerce div.product form.cart {
	margin-bottom: 3em;
}

.woocommerce div.product form.cart .reset_variations {
	position: absolute;
	top: 0;
	right: 0;
	font-size: var(--font-note);
	margin: 1em 0;
	padding: .3em .876em;
	color: var(--color-danger);
	border-radius: 99px;
	display: none !important;
}

.woocommerce div.product form.cart .single_variation_wrap .single_variation {
	margin: .5em 0 1em 0;
}

/* Woocommerce tabs */

#tab-description,
#tab-additional_information {
	font-size: var(--body-font-size-super-small);
}

.bwa-description>.tab {
	margin-bottom: 2em;
}

.bwa-description>.tab #comments h2,
.bwa-description>.tab .tab-title {
	font-size: var(--body-font-size-super-small);
	text-transform: uppercase;
	font-weight: 700;
}

.bwa-description>.tab #comments p {
	font-size: var(--font-note);
}

.woocommerce #review_form #respond {
	padding: 1em;
	border-radius: 2px;
}

.woocommerce #review_form #respond .comment-reply-title {
	font-size: var(--body-font-size-small);
}

.product_meta {
	font-size: var(--body-font-size-small);
}

/* Additional informations */
.woocommerce table.shop_attributes {
	border: none;
}

.woocommerce table.shop_attributes tr {
	border-bottom: 1px solid var(--color-text);
}

.woocommerce table.shop_attributes tr td,
.woocommerce table.shop_attributes tr th {
	background: transparent !important;
	border: none !important;
}

.woocommerce table.shop_attributes tr th {
	font-weight: 400;
	text-transform: uppercase;
}

.woocommerce table.shop_attributes tr td {
	text-align: right;
}

/* Woocommerce buttons */

.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce #respond input#submit:disabled[disabled],
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce a.button:disabled[disabled],
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button.disabled,
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled],
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
	font-size: var(--font-cta);
	text-transform: uppercase;
	border-radius: 50px;
}

.woocommerce div.product .bwa-line.bwa-etichetta,
.bwa-sp-head,
.bwa-line.bwa-cat-deep {
	font-size: var(--body-font-size-small);
	text-transform: uppercase;
}

.woocommerce-product-details__short-description,
.bwa-line.bwa-cat-deep {
	margin-top: 1.5em;
}

.woocommerce-product-details__short-description p {
	font-size: var(--body-font-size-super-small);
}

.woocommerce-product-details__short-description p:first-child {
	font-weight: bold;
	font-size: var(--body-font-size);
	margin-bottom: 1em;
}

.bwa-line.bwa-formato {
	display: flex;
	flex-wrap: wrap;
	gap: .35em;
}

.bwa-line.bwa-formato .bwa-formato-item {
	display: none;
}

.bwa-line.bwa-formato .bwa-formato-item.is-active {
	display: block;
}

.bwa-formato-swatches button {
	opacity: .5;
}

.bwa-formato-swatches button.is-selected {
	opacity: 1;
}

.bwa-formato-swatches button.is-disabled {
	opacity: .35;
	text-decoration: line-through !important;
}

/* Checkout */
.wp-block-woocommerce-checkout-order-summary-totals-block,
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-components-totals-wrapper,
.wc-block-cart .wp-block-woocommerce-cart-order-summary-block,
.wc-block-cart__main .wc-block-cart-items,
.wc-block-cart__main .wc-block-cart-items td {
	border-color: var(--color-text) !important;
}

.wc-block-components-totals-wrapper,
.wc-block-cart__main .wc-block-cart-items {
	font-size: var(--body-font-size-small);
}

.wc-block-cart__submit-button {
	background-color: var(--color-link-hover);
	font-size: var(--body-font-size-small);
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
}

.wc-block-cart__submit-button:hover {
	color: #fff;
	background-color: var(--color-link);
}

.wc-block-components-sidebar-layout {
	font-size: var(--body-font-size-small);
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
	min-height: 4em;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__wrap> :last-child {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	margin-bottom: .865em !important;
	min-height: unset;
	height: auto;
	font-variant: var(--color-danger);
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
	font-weight: bold;
	text-transform: uppercase;
	color: var(--color-text);
}

/* Home banners */
.home-banners .wp-block-cover:not(:hover, .is-active) img {
	filter: none;
}

.home-banners .wp-block-cover.is-active img,
.home-banners .wp-block-cover img {
	transition: transform 1.2s var(--bwa-transition), opacity .4s var(--bwa-transition);
	border-radius: 32px;
}

.home-banners .wp-block-cover.is-active h2,
.home-banners .wp-block-cover h2 {
	transition: transform .6s var(--bwa-transition), opacity .4s var(--bwa-transition), text-shadow .3s var(--bwa-transition);
	transform: scale(.85);
	opacity: 0;
}

.home-banners .wp-block-cover.is-active img,
.home-banners .wp-block-cover:hover img {
	transform: scale(.85);
}

.home-banners .wp-block-cover.is-active h2,
.home-banners .wp-block-cover:hover h2 {
	transform: scale(1.25);
	text-shadow: 0 .3em 2em rgba(0, 0, 0, 0.025);
	opacity: 1;
}

/* Griglia */
.bwa-gallery-svg {
	--cols: 5;
	--gap: 40px;
	display: grid;
	grid-template-columns: repeat(var(--cols), 1fr);
	gap: var(--gap);
	align-items: center;
}

/* Immagini a cerchio */
.bwa-gallery-svg .bwa-item--img {
	aspect-ratio: 1 / 1;
}

.bwa-gallery-svg .bwa-item--img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 9999px;
}

/* Separatori (TR/IV/IO) */
.bwa-gallery-svg .bwa-item--sep {
	display: flex;
	align-items: center;
	justify-content: center;
}

.bwa-gallery-svg .bwa-item--sep img {
	width: 70%;
	height: auto;
	display: block;
}

/* (opzionale) scale diverse per i tre tipi */
.bwa-gallery-svg .bwa-item--sep.tr img {
	transform: scale(1.00);
}

.bwa-gallery-svg .bwa-item--sep.iv img {
	transform: scale(1.00);
}

.bwa-gallery-svg .bwa-item--sep.io img {
	transform: scale(1.00);
}

/* Responsive: mantieni 5 colonne finché c'è spazio,
   poi passa auto-fit (se ti serve) */
@media (max-width: 1024px) {
	.bwa-gallery-svg {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	.bwa-gallery-svg {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Contenitore a colonna singola */
.bwa-contact-onecol {
	max-width: 100%;
}

/* FAQ compatte */
.bwa-faq {
	--gap: 12px;
	--radius: 12px;
	--border: 1px solid rgba(0, 0, 0, .08);
}

.bwa-faq .bwa-faq-item {
	margin-bottom: var(--gap);
	overflow: hidden;
}

/* Trigger */
.bwa-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 12px 22px 12px 22px;
	position: relative;
	font-weight: bold;
	color: var(--color-text);
	text-transform: uppercase;
	border: 3px solid transparent;
	border-radius: 99px;
	transition: all .3s var(--bwa-transition);
}

.bwa-faq summary::-webkit-details-marker {
	display: none;
}

.bwa-faq summary::before {
	content: "\f061";
	/* FA6: xmark (ex 'times') */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	/* solid */
	display: inline-block;
	margin-left: .45em;
	font-size: .9em;
	line-height: 1;
	transition: opacity .2s ease, transform .2s ease;
	speak: none;
	margin-right: 1em;
}

.bwa-faq details[open]>summary::before {
	transform: rotate(90deg);
}

/* Pannello */
.bwa-faq .bwa-faq-panel {
	padding: 0 1em 1em;
	color: var(--color-text);
}

.bwa-faq .bwa-faq-panel p {
	margin: 1em 0;
}

.bwa-faq .bwa-faq-panel small {
	display: block;
	color: #666;
	margin-top: 1em;
}

.bwa-faq .bwa-list {
	margin: 8px 0 0;
	padding-left: 18px;
}

.bwa-faq .bwa-list li {
	margin: 4px 0;
}

.bwa-faq .bwa-faq-actions {
	margin-top: 10px;
	display: flex;
	gap: 8px;
}

/* Focus accessibile */
.bwa-faq summary:focus,
.bwa-faq summary:hover {
	background-color: var(--color-custom);
	color: #fff;
}

.bwa-faq details[open]>summary {
	background-color: #fff;
	color: var(--color-text);
	border: 3px solid currentColor;
}


/* bwa-contact-options */
.bwa-panel-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
	margin: 1em 0;
}

.bwa-contact-option {
	display: block;
	width: 100%;
	padding: .6em 1.2em;
	border-radius: 1em;
	border: 3px solid #fff;
	background-color: #fff;
	color: var(--color-link);
	text-decoration: none !important;
	display: flex;
	flex-direction: column;
	transition: all .3s var(--bwa-transition);
	box-shadow: 0 0 2em rgba(0, 0, 0, 0.05);
	font-size: var(--body-font-size-super-small);
}

.bwa-contact-option:active,
.bwa-contact-option:hover {
	background-color: var(--color-link);
	color: #fff;
	border-color: var(--color-custom);
}

.bwa-contact-option:active {
	border-color: var(--color-link);
}

@media screen and (max-width: 1279px) {
	.bwa-panel-options {
		grid-template-columns: 1fr;
	}
}

.bwa-legal {
	display: flex;
	flex-wrap: wrap;
	font-size: var(--body-font-size-super-small);
	gap: 1em;
	padding: 1em 2em;
}

.bwa-legal a {
	color: var(--color-text);
}

/* --- overlay e animazione di comparsa --- */
#gnd-auth-modal {
	position: fixed;
	inset: 0px;
	background: rgba(0, 0, 0, 0.25);
	z-index: 999999;
	justify-content: flex-end;
	align-items: center;
	display: block;
	display: flex;
	pointer-events: none;
	opacity: 0;
	overflow: hidden;
	transition: opacity .3s var(--bwa-transition);
}

#gnd-auth-modal.open {
	opacity: 1;
	pointer-events: auto;
}

#gnd-auth-modal>div {
	background: #fff;
	padding: 2em;
	max-width: 640px;
	min-height: 100%;
	width: 100%;
	transition: transform .5s var(--bwa-transition);
	transform: translateX(100%);
}

#gnd-auth-modal.open>div {
	transform: translateX(0);
}

#customer_login {
	display: flex;
	flex-direction: column;
	max-width: 400px;
	margin: auto;
}

#customer_login .col-1,
#customer_login .col-2 {
	width: 100%;
}

#customer_login>div .h3 {
	color: var(--color-text);
	display: none;
}

/* quando vuoi aprirlo, aggiungi in JS: $modal.show().css('opacity',1); */
#gnd-auth-modal.open {
	display: flex;
	opacity: 1;
}

/* --- contenitore interno --- */
#gnd-auth-modal>div {
	max-height: 100%;
}

#gnd-auth-modal .gnd-auth-inner {
	background: #ffffff;
	border-radius: 0px;
	padding: 2em;
	width: 90%;
	max-width: 640px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	position: relative;
	overflow-y: auto;
}

/* --- responsive: già ok grazie a width 90% e max-width,  
		 ma ecco un esempio per ridurre padding su mobile --- */
@media (max-width: 480px) {
	#gnd-auth-modal .gnd-auth-inner {
		padding: 1.5rem;
	}
}

/* aggiungi nel tuo file CSS */

.customer-login-tabs {
	list-style: none;
	padding: 0;
	margin: 0 20px 1em;
	display: flex;
	justify-content: center;
}

#customer_login h2 {
	text-align: center;
	margin-bottom: 1em;
}

.customer-login-tabs li {
	padding: 0.5em 1em;
	cursor: pointer;
	border: 3px solid transparent;
	margin-bottom: -2px;
	border-radius: 99px;
	/* “attacca” il tab alla linea */
	font-weight: bold;
	text-transform: uppercase;
	font-size: var(--body-font-size-small);
}

.customer-login-tabs li.active {
	border-color: var(--color-text);
	background: #fff;
	color: var(--color-text);
}

#gnd-auth-modal .user-menu {
	list-style-type: none;
	padding: 0;
	margin: 1em 0;
	font-size: var(--body-font-size-small);
	font-weight: 500;
}

#gnd-auth-modal .user-menu>li>a {
	padding-top: 0.336em;
	padding-right: 1.33em;
	padding-bottom: 0.336em;
	padding-left: 1.33em;
	display: block;
	color: var(--color-text) !important;
	background-color: transparent !important;
}

#gnd-auth-modal .woocommerce-MyAccount-navigation .h2 {
	display: none;
}

.woocommerce-privacy-policy-text {
	font-size: var(--body-font-size-small);
}

/* Auth modal logged in */

#gnd-auth-modal .gnd-welcome-heading {
	color: var(--color-text);
	margin-top: 0;
}

#gnd-auth-modal .gnd-auth-modal-header {
	display: flex;
	justify-content: space-between;
	gap: 1em;
}

#gnd-auth-modal .gnd-welcome-heading small {
	display: block;
	color: var(--color-nero-600);
}

.mini-account-close {
	cursor: pointer;
}

/* Login and registration forms */

.woocommerce form.login,
.woocommerce form.register {
	flex-wrap: wrap;
	gap: 0 30px;
	flex-direction: row;
	padding: 0;
	margin: 0;
}

.woocommerce form.login .form-row,
.woocommerce form.register .form-row {
	width: calc(50% - 15px);
}

.woocommerce form.login .form-row-wide,
.woocommerce form.register .form-row-wide {
	width: 100%;
}

.woocommerce form.login .form-row label,
.woocommerce form.register .form-row label {
	font-size: var(--body-font-size-small);
	color: var(--color-nero-900);
}

.woocommerce form.register .g-recaptcha {
	margin: 1em 0;
}

.woocommerce-privacy-policy-text,
.woocommerce form.woocommerce-form .help-text {
	font-size: var(--body-font-size-small);
}

.woocommerce .woocommerce-MyAccount-content form fieldset,
.woocommerce-page .woocommerce-MyAccount-content form fieldset {
	margin: 2em 0;
}

.woocommerce .woocommerce-MyAccount-content form fieldset legend,
.woocommerce-page .woocommerce-MyAccount-content form fieldset legend {
	border: none;
	font-weight: bold;
	margin-bottom: 1em;
}

.woocommerce form p.form-row-wide>span:not(.password-input, .select2-selection__arrow, .woocommerce-input-wrapper):last-child,
.woocommerce-page form p.form-row-wide>span:not(.password-input, .select2-selection__arrow, .woocommerce-input-wrapper):last-child {
	padding: .365em 1em;
	font-size: var(--body-font-size-super-small);
	color: var(--color-nero-600);
}

.dashboard-intro {
	border: none;
	border-radius: .365em;
	background-color: var(--color-custom-2);
	color: var(--color-text);
	padding: .6em 1.2em;
}

.dashboard-widgets {
	border: none;
}

/* Quick user menu */

.bwa-user-quick-menu-container .block-title {
	font-size: var(--wp--preset--font-size--small);
	text-transform: uppercase;
	color: var(--color-nero-800);
}

.bwa-user-quick-enpoints>a,
.bwa-user-quick-toolbar>a {
	display: inline-block;
	padding: 0.75em 0;
	font-size: var(--wp--preset--font-size--small);
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-text);
}

.bwa-user-quick-enpoints>a.is-active,
.bwa-user-quick-toolbar>a.is-active {
	background-color: transparent;
	color: var(--color-link-hover);
}

.bwa-user-quick-enpoints>a {
	padding: 0.32em 0;
	display: block;
}

.bwa-user-quick-menu-container .bwa-user-section-title {
	margin-top: 2em;
	margin-top: 1em;
}

.bwa-user-quick-enpoints>a>i,
.bwa-user-quick-toolbar>a>i {
	display: inline-block;
	width: 1.6em;
	text-align: center;
}

.bwa-user-section-description {
	font-size: var(--body-font-size-small);
	color: var(--color-nero-800);
}

/* customer banners */

.gnd-box-icon {
	padding: 2em 2em 2em 5em;
	background-color: var(--color-nero-50);
	background-image: url(images/media/cropped-abracadabra-logo-skillaz.webp);
	background-position: 2em 2em;
	background-repeat: no-repeat;
	background-size: 32px;
	margin-bottom: 1em;
	width: 100%;
}

.gnd-box-icon p {
	margin: 0;
}

.gnd-box-icon.small {
	padding: 1em 1em 1em 4em;
	background-color: var(--color-nero-50);
	background-image: url(images/media/cropped-abracadabra-logo-skillaz.webp);
	background-position: 1em 1.75em;
	background-repeat: no-repeat;
	background-size: 26px;
	margin-bottom: 1em;
	width: 100%;
}

@media screen and (max-width: 781px) {

	.gnd-box-icon,
	.gnd-box-icon.small {
		padding: 1em 1em 1em 4em;
	}
}

/* Mini cart rules and product lists */

.mobile-cart-link {
	width: auto;
}

.mobile-cart-link .cart-label-count {
	position: absolute;
	top: 0;
	right: 2px;
}

#minicart_container {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.25);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	overflow: hidden;
	transition: opacity .3s var(--bwa-transition);
}

#minicart_container:not(.open) {
	pointer-events: none;
	opacity: 0;
}

#minicart_container .minicart-container-box {
	transition: transform .5s var(--bwa-transition);
	transform: translateX(100%);
}

#minicart_container.open .minicart-container-box {
	transform: translateX(0);
}

/* Struttura interna */
.minicart-header,
.minicart-footer {
	flex-shrink: 0;
	/* Mantiene l'altezza fissa */
}

#minicart_container .minicart-container-box {
	width: 100%;
	height: 100%;
	max-width: 640px;
	background-color: #ffffff;
	padding: 32px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: relative;
}

#minicart_container .minicart-container-box .mini-cart-column {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	overflow-y: auto
}

.minicart-header {
	display: flex;
	justify-content: space-between;
}

.minicart-header h3 {
	color: var(--color-nero-900);
	margin-top: 0;
}

.minicart-header h3 small {
	color: var(--color-nero-500);
	font-size: var(--body-font-size-small);
}

.woocommerce ul.cart_list {
	width: 100%;
	max-width: 620px;
	display: flex;
	flex-direction: column;
	gap: 1em;
	max-height: unset;
	flex-grow: 1;
	margin-bottom: auto;
}

.woocommerce ul.cart_list>li {
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start;
	border: none;
	padding: 1.375em !important;
}

.woocommerce ul.cart_list li .product-data {
	display: flex;
	flex-direction: column;
	padding: 0 1.25em;
	flex-grow: 1;
	width: calc(100% - (2.50em + 160px));
}

.woocommerce ul.cart_list li .prd-name {
	font-weight: 500;
}

.woocommerce ul.cart_list li .prd-thumb {
	width: 80px;
	height: 80px;
	background-color: white;
}

.woocommerce ul.cart_list li .prd-thumb img {
	height: 100%;
	width: 100%;
	display: block;
	object-fit: contain;
	object-position: center;
}

.woocommerce ul.cart_list li .prd-actions {
	min-width: 80px;
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.woocommerce ul.cart_list li .prd-actions .quantity input {
	padding-top: 0;
	padding-bottom: 0;
	height: 42px;
	border-color: var(--color-nero-500);
}

.woocommerce ul.cart_list li img,
.woocommerce ul.product_list_widget li img {
	height: 80px;
	width: 80px;
	min-width: 80px;
	margin: 0;
}

.woocommerce ul.cart_list li.woocommerce-mini-cart-item {
	color: var(--color-nero-900);
}

.woocommerce ul.cart_list>li span.price {
	display: flex;
	gap: .5em;
}

.woocommerce ul.cart_list>li span.price>div {
	flex-grow: 1;
}

.woocommerce ul.product_list_widget>li a.remove {
	display: flex;
	flex-direction: row;
	gap: .3em;
	width: auto;
	height: auto;
	position: static;
	font-size: 11px;
}

.woocommerce-mini-cart-item .product-data .prd-name {
	color: var(--color-text);
}

.woocommerce a.remove {
	font-size: var(--body-font-size-small);
	display: flex;
	align-items: center;
	height: auto;
	width: auto;
	text-align: center;
	line-height: 1;
	border-radius: 0;
	color: var(--color-nero-500) !important;
	text-decoration: none !important;
	font-weight: 300 !important;
	border: 0;
}

.woocommerce a.remove:hover {
	color: var(--wc-red) !important;
	background-color: transparent !important;
}

.woocommerce a.remove:hover svg path {
	fill: var(--wc-red) !important;
}

.button.wc-forward:not(.checkout) {
	background-color: transparent !important;
	border: 1px solid var(--color-nero-900);
	color: var(--color-nero-900) !important;
}

.woocommerce-mini-cart__buttons {
	margin-bottom: 0;
}

.woocommerce-mini-cart__total {
	font-size: var(--body-font-size-medium);
	color: var(--color-nero-900);
	display: flex;
	justify-content: space-between;
}

.minicart-footer {
	/* position: absolute;
	bottom: 0;
	left: 32px;
	right: 32px; */
	border-top: 1px solid var(--color-borders-tables);
	padding: 32px;
	margin: 0 -32px;
	background-color: white;
	z-index: 99;
}

.mini-cart-close {
	cursor: pointer;
}

/* Progress bar */
#free-shipping-progress-wrapper {
	position: sticky;
	top: 0;
	z-index: 101;
	grid-column-start: 1;
	grid-column-end: 4;
}

.woocommerce-cart #free-shipping-progress-wrapper,
.woocommerce-checkout #free-shipping-progress-wrapper {
	position: relative;
	z-index: 1;
}

#free-shipping-progress-wrapper .free-shipping-icon {
	height: 32px;
	width: 32px;
	border: 2px solid var(--color-link-hover);
	border-radius: 50%;
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	background-color: white;
	transform: translateY(48%);
	z-index: 3;
	background-image: url(images/icons/free-shipping-icon.svg);
	background-size: 70%;
	background-position: center;
	background-repeat: no-repeat;
}

#free-shipping-progress-wrapper.reached .free-shipping-icon {
	border-color: var(--color-link-hover);
	background-color: var(--color-link-hover);
	background-image: url(images/icons/free-shipping-icon-white.svg);
}

#free-shipping-progress {
	transition: all .5s var(--bwa-transition);
	display: block;
	text-align: center;
	padding: .2em 1em;
	font-size: 13px;
	white-space: nowrap;
	margin: 0;
	color: var(--color-text);
	white-space: nowrap;
	position: relative;
	z-index: 2;
	margin-bottom: .625em;
}

#free-shipping-bar-container {
	position: relative;
	width: 100%;
	height: 3px;
	border-radius: 2px;
	overflow: hidden;
	background-color: var(--color-borders);
}

#free-shipping-bar {
	display: block;
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	height: 100%;
	background-color: var(--color-link-hover);
	transition: all .5s var(--bwa-transition);
}

/* Ajax Search */

#bwa-search-container {
	max-width: 512px;
	width: 100%;
}

.abracadabra-search-container .woocommerce ul.cart_list {
	max-height: calc(100vh - 240px);
	border-radius: 4px;
	background-color: white;
}

.abracadabra-search-container .load-more-btn {
	width: 100%;
}

.abracadabra-search-container .form-group .form-control {
	border-color: var(--color-custom-2);
	background-color: #ffffff;
}

.abracadabra-search-container .form-group .form-control:focus {
	border-color: var(--color-custom-3);
}

.abracadabra-search-container .button.button-primary.inst-rev {
	color: #fff !important;
	background-color: var(--color-link-hover) !important;
}

.abracadabra-search-container .button.button-primary.inst-rev:hover {
	background-color: var(--color-link) !important;
}

.abracadabra-search-container {
	position: fixed;
	height: 100%;
	width: 100%;
	background-color: rgba(246, 246, 246, .9);
	backdrop-filter: blur(10px);
	display: none;
	z-index: 99999;
	top: 0;
	left: 0;
	margin: 0 !important;
	padding-top: 20px;
	padding-bottom: 20px;
}

.abracadabra-search-container.open {
	display: block;
}

.abracadabra-search-container .search-closer {
	font-size: 13px;
	text-transform: uppercase;
	background-color: var(--color-borders);
	display: inline-flex;
	gap: .625em;
	align-items: center;
	justify-content: center;
	padding: .3em 1em;
	border-radius: 3em;
}

.abracadabra-search-container .search-closer:hover {
	text-decoration: none;
	background-color: var(--color-link);
	color: #ffffff;
}

.abra-search-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row-reverse;
	width: 100%;
	gap: 20px;
}

@media screen and (min-width: 782px) {
	.abra-search-header {
		flex-direction: column;
	}
}

/* Blog */
.utility-link,
.gr-item .tax-links,
.gr-item .item-summary>p {
	font-size: var(--body-font-size-super-small);
}

.readmore {
	display: flex;
	align-items: center;
	gap: .5em;
	text-decoration: none !important;
	padding: .6em 1.2em;
	border: 3px solid var(--color-text);
	border-radius: 99px;
	color: var(--color-text);
}

.utility-link {
	margin-top: 1em;
	display: flex;
	gap: 1em;
	height: auto;
	justify-content: flex-end;
	align-items: center;
}

.utility-link>span {
	height: auto;
}

.readmore:hover {
	color: var(--color-link);
	border-color: var(--color-link);
}

.gr-item .summary-title {
	font-size: var(--body-font-size-medium);
}

.gr-item .item-summary {
	margin-top: .5em;
}

.gr-item .square img {
	border-radius: 54px;
}

.gr-item .gr-thumb {
	margin-bottom: 0;
}

.gr-item .gr-content {
	padding-top: 5em;
	padding-left: 2em;
	padding-right: 2em;
	margin-top: -4.5em;
	background-color: #fff;
	box-shadow: 0 0 2em rgba(0, 0, 0, 0.05);
	padding-bottom: 2em;
	border-radius: 0 0 54px 54px;
}

/* Account */

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

.woocommerce-account .single .woocommerce-MyAccount-content {
	margin-top: 2em;
}

.woocommerce-account .single .woocommerce-MyAccount-navigation .user-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	list-style-type: none;
	padding: 0;
}

.woocommerce-account .single .woocommerce-MyAccount-navigation .user-menu li:last-child {
	margin-left: auto;
}

.woocommerce-account .single .woocommerce-MyAccount-navigation .user-menu li:last-child a:after {
	content: "\f08b";
	/* FA6: xmark (ex 'times') */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	/* solid */
	display: inline-block;
	margin-left: .45em;
	font-size: .9em;
	line-height: 1;
	transition: opacity .2s ease, transform .2s ease;
	speak: none;
}

.woocommerce-account .single .woocommerce-MyAccount-navigation .user-menu li a {
	padding: .365em 1em;
	font-weight: bold;
	font-size: var(--body-font-size-super-small);
	text-transform: uppercase;
	border-radius: 99px;
	text-decoration: none !important;
	color: var(--color-text);
}

.woocommerce-account .single .woocommerce-MyAccount-navigation .user-menu li a.is-active {
	color: #fff;
}

.woocommerce-account .single .woocommerce-MyAccount-navigation .user-menu li a:hover {
	color: var(--color-link);
}

.woocommerce-account .single .woocommerce-MyAccount-navigation h4,
.woocommerce-account .single .woocommerce-MyAccount-content h2 {
	font-size: var(--body-font-size);
	text-transform: uppercase;
}

.woocommerce-account .single .woocommerce-MyAccount-navigation>h4,
.woocommerce-account .single .woocommerce-MyAccount-content>h2 {
	text-align: center;
}

#wcmca_custom_addresses .address address,
.woocommerce-Address address,
.woocommerce-column--billing-address address,
.woocommerce-column--shipping-address address {
	padding-left: 0;
	font-size: var(--body-font-size-super-small);
}

#wcmca_custom_addresses .address,
.woocommerce-Address,
.woocommerce-column--billing-address,
.woocommerce-column--shipping-address {
	padding: 1em 1.625em;
	border: 3px solid var(--color-custom-2);
	border-radius: .365em;
}

.woocommerce-account .addresses .title .edit,
#wcmca_custom_addresses .address .edit,
.woocommerce-Address .edit {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	padding: 0;
	margin: 0 0 1em 0;
	font-size: var(--body-font-size-small);
	border: none;
	font-weight: normal;
	float: none;
	text-decoration: underline;
}

#wcmca_custom_addresses .address,
.woocommerce-Address,
.woocommerce-column--billing-address,
.woocommerce-column--shipping-address,
.woocommerce table.my_account_orders {
	font-size: var(--body-font-size);
}

.woocommerce table.shop_table {
	border: none;
	border-radius: 0;
}

.woocommerce table.my_account_orders .order-actions {
	flex-direction: row;
	justify-content: flex-end;
	gap: .375em;
}

.woocommerce table.my_account_orders .order-actions a {
	display: flex;
	align-items: center;
	padding: 0 .5em;
	height: 32px;
	border-radius: 2px;
	border: 1px solid var(--color-nero-900);
	font-size: var(--body-font-size-small);
}

.woocommerce table.my_account_orders td,
.woocommerce table.my_account_orders th {
	padding: .375em .75em;
}

.woocommerce table.shop_table th {
	font-weight: normal;
	text-transform: uppercase;
	color: var(--color-nero-900);
	font-size: var(--body-font-size-small);
}

/* TRIVIO GALLERY */
#vertical_gallery_sisters{
	min-height: 720px;
}
#vertical_gallery_sisters>h1,
#vertical_gallery_sisters figure.wp-block-image {
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s var(--bwa-transition);
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(50px);
	max-width: 342px;
}

#vertical_gallery_sisters>h1.is-active,
#vertical_gallery_sisters figure.wp-block-image.is-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media screen and (max-width: 781px) {
	#vertical_gallery_sisters {
		position: relative !important;
		top: 0 !important;
		min-height: 270px;
	}

	#vertical_gallery_sisters>h1,
	#vertical_gallery_sisters figure.wp-block-image,
	#vertical_gallery_sisters figure.wp-block-image img,
	#vertical_gallery_sisters .bwa-svg-container,
	#vertical_gallery_sisters .bwa-svg-container svg,
	.vertical-gallery-sisters .wp-block-column:first-child {
		height: 270px;
		max-height: 270px;
		min-height: 270px;
		width: auto;
		padding-top: 0em !important;
	}

	#vertical_gallery_sisters figure.wp-block-image {
		padding-top: 30px !important;
	}

	#vertical_gallery_sisters figure.wp-block-image img {
		height: 240px;
		max-height: 240px;
		min-height: 240px;
	}

	body.eye-up.scrolled #vertical_gallery_sisters>h1,
	body.eye-up.scrolled #vertical_gallery_sisters figure.wp-block-image {
		top: var(--header-height);
	}

	.vertical-gallery-sisters .wp-block-column:first-child {
		background-color: #FFFEFA;
		position: sticky;
		top: 0;
		height: 300px;
		max-height: 300px;
		min-height: 300px;
		padding-top: 50px;
		z-index: 10;
	}

	.vertical-gallery-sisters .wp-block-column:first-child:after {
		content: "";
		position: absolute;
		width: 100%;
		top: 99%;
		left: 0;
		z-index: -1;
		height: 50px;
		background: #FFFEFA;
		background: linear-gradient(180deg, rgba(255, 254, 250, 1) 0%, rgba(255, 254, 250, 0.72) 70%, rgba(255, 254, 250, 0.3) 100%);
		display: block;
	}
}