/* -----------------------------------------------------------------------
   Header block: breadcrumbs, title, description
   ----------------------------------------------------------------------- */

.plp-header .wc-block-breadcrumbs,
.plp-main .wc-block-breadcrumbs {
	font-family: var(--wp--preset--font-family--d-din);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin-bottom: 1.5rem;
}

.plp-header .wc-block-breadcrumbs a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.plp-header .wc-block-breadcrumbs a:hover {
	color: var(--wp--preset--color--black);
	border-bottom-color: var(--wp--preset--color--black);
}

.plp-header .wp-block-term-description {
	max-width: 46rem;
	color: var(--wp--preset--color--muted);
	font-weight: 400;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0 0 1.75rem;
}

.plp-header {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
	margin-bottom: 1.25rem;
}

/* -----------------------------------------------------------------------
   Toolbar: result count + sorting, styled as a slim instrument strip
   ----------------------------------------------------------------------- */

.plp-toolbar {
	align-items: center;
	padding: 0.85rem 0;
	margin-bottom: 2.5rem;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
}

.plp-toolbar .wc-block-woocommerce-product-results-count,
.plp-toolbar .wc-block-product-results-count {
	font-family: var(--wp--preset--font-family--d-din);
	font-weight: 600;
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.plp-toolbar .wc-block-sort-select__select,
.plp-toolbar select {
	appearance: none;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--wp--preset--color--black);
	font-family: var(--wp--preset--font-family--d-din);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--wp--preset--color--black);
	padding: 0 1.25rem 0.3rem 0;
	cursor: pointer;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--wp--preset--color--black) 50%),
		linear-gradient(135deg, var(--wp--preset--color--black) 50%, transparent 50%);
	background-position: right 4px top 45%, right 0 top 45%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.plp-toolbar select:focus-visible {
	outline: none;
	border-bottom-color: var(--wp--preset--color--accent);
}

/* -----------------------------------------------------------------------
   Grid + cards
   ----------------------------------------------------------------------- */

/* Card surface */
.plp-grid .wc-block-product-template > *,
.wc-block-product {
	counter-increment: plp-index;
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: none;
	border-radius: 24px;
	padding: 20px;
	transition: border-color 0.2s ease;
	justify-content: space-between;
}

.plp-grid .wc-block-product-template > *:hover,
.wc-block-product:hover {
	border-color: var(--wp--preset--color--black);
	box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
	transition: all 0.2s ease;
}

.plp-grid .wc-block-components-product-image,
.plp-grid .wp-block-woocommerce-product-image {
	background: var(--wp--preset--color--white);
	aspect-ratio: 1 / 1;
	overflow: hidden;
	margin: 0 0 1rem;
}

wc-block-components-product-image__inner-container:hover .plp-grid .wc-block-components-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.wc-block-components-product-image img:hover {
	transform: scale(1.1);
}

.plp-grid .wc-block-components-product-sale-badge {
	position: absolute;
	top: 1.4rem;
	right: 1.4rem;
	left: auto;
	z-index: 2;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--alert);
	color: var(--wp--preset--color--alert);
	font-family: var(--wp--preset--font-family--d-din);
	font-weight: 600;
	font-size: 0.62rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.15rem 0.4rem;
	border-radius: 0;
}

.plp-grid .wp-block-post-title a {
	color: var(--wp--preset--color--black);
	text-decoration: none;
}

.plp-grid .wp-block-post-title a:hover {
	color: var(--wp--preset--color--accent);
}

.plp-grid .wc-block-components-product-price__value.is-discounted {
	color: var(--wp--preset--color--alert);
}

.plp-grid .wc-block-components-product-price del {
	opacity: 0.55;
}

.plp-grid .wp-element-button {
	width: 100%;
}

.wc-block-product .wp-element-button {
	width: 100%;
}

.plp-grid .wc-block-components-product-button {
	margin-top: auto;
}

.plp-grid .wc-block-components-product-button .wp-block-button__link,
.plp-grid .wc-block-components-product-button .add_to_cart_button {
	width: 100%;
	background: transparent;
	color: var(--wp--preset--color--black);
	border: 1px solid var(--wp--preset--color--black);
	font-family: var(--wp--preset--font-family--d-din);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.65rem 1rem;
	transition: background 0.2s ease, color 0.2s ease;
}

.plp-grid .wc-block-components-product-button .wp-block-button__link:hover,
.plp-grid .wc-block-components-product-button .add_to_cart_button:hover {
	background: var(--wp--preset--color--black);
	color: var(--wp--preset--color--base);
}

.plp-grid a {
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {

	.plp-grid .wc-block-components-product-image img,
	.plp-grid .wc-block-product-template > *,
	.plp-grid .wc-block-components-product-button .wp-block-button__link {
		transition: none;
	}

	.plp-grid a:hover .wc-block-components-product-image img {
		transform: none;
	}
}

/* -----------------------------------------------------------------------
   Empty state
   ----------------------------------------------------------------------- */

.plp-empty {
	padding: 4rem 1rem;
	text-align: center;
	border-top: 1px solid var(--wp--preset--color--hairline);
}

.plp-empty p:first-child {
	font-family: var(--wp--preset--font-family--d-din);
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.plp-empty a {
	color: var(--wp--preset--color--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wc-block-product-template__responsive .wc-block-product-description p {
	line-height: 1.5;
	font-size: 14px;
}

.wc-block-product-template__responsive .wc-block-product-description h2 {
	color: var(--wp--preset--color--primary);
	margin-bottom: 13px;
}

.wc-block-product-template__responsive .wc-block-product-description p{
	color: var(--wp--preset--color--muted);
}

.wc-block-product-template__responsive h3,
.fixandgo-product-formato,
.fixandgo-product-formato h3,
.fixandgo-product-formato__value {
	font-family: var(--wp--preset--font-family--d-din), "Helvetica Neue", arial, sans-serif;
	font-size: 23px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--black);
}

.wc-block-product-template__responsive .fixandgo-product-sottotitolo h3{
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	font-size: 20px;
	margin-top: 0;
	margin-bottom: 0;
}
@media (min-width: 600px) {
    .wc-block-product-template.is-flex-container.is-flex-container.columns-3>li {
        width: 376px!important;
    }
}
.wc-block-product-template.is-flex-container{
}

