/*!
Theme Name: Store | Exercitatio Lab
Theme URI: http://underscores.me/
Author: Eugenio Palazzi
Author URI: http://eugeniopalazzi.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: store_exercitatio_lab
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Store | Exercitatio Lab is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	scroll-behavior: smooth;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	/* background: #fff; */
	background: var(--);
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: max-content;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Custom Eugenio
--------------------------------------------- */
:root {
    --color-bg-primary: #14171c;
    --color-bg-secondary: #1B1F26;
    --color-bg-tertiary: #0f1115;

    --color-text-primary: #ffffff;
    --color-text-accent: #D7FF3F;

    --color-border-subtle: rgba(243, 245, 240, 0.1);

    --color-accent: #d7ff3f;
	--paper: #f3f5f0;
	--product: #ebeae7;
	--line: #E1DFDA;
	--bg-box: #FAFAF8;

	--ink:#14171C;
    --ink-soft:#585E66;
    --lime:#D7FF3E;
    --lime-dark:#9FCB00;
    --bg:#EDEBE7;
    --surface:#FFFFFF;
    --radius-m:12px;
    --radius-s:7px;

	--tag-classico: rgb(199, 88, 199);
	--tag-top-quality: rgb(252, 167, 38);
	--tag-performance: rgb(243, 90, 102);
	--tag-alte-performance: rgb(252, 167, 68);
	--tag-impact: rgb(199, 88, 199);
	--tag-limited-edition: rgb(252, 167, 98);
	--tag-nuovi-arrivi: rgb(199, 88, 199);
	--tag-ottima-vestibilita: rgb(112, 145, 218);
	--tag-quartz: rgb(252, 167, 38);
	--tag-best: rgb(78, 205, 196);
	--tag-top-model: rgb(199, 88, 199);
	--tag-total-black: rgb(0,0,0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.single-product {
	background-color: var(--product);
}

body.archive.post-type-archive.post-type-archive-product,
body.tax-product_cat {
	background-color: var(--color-bg-primary);
}

#primary {
	width: 90%;
	margin: 0 auto;
}

header {
    width: 100%;
    height: 80px;
    background-color: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-border-subtle);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-style: normal;
}

header > div {
    width: 90%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-primary);
}

header > div img {
	width: 180px;
	filter: brightness(100);
}

header > div > div:first-child {
	display: flex;
	align-items: center;
	gap: 2rem;
	width: 400px;
	text-transform: uppercase;
}

header > div > div:last-child {
	display: flex;
	align-items: center;
	margin-left: 30px;
}

header > div > div p {
	margin: 0;
	font-weight: 400;
}

header > div > div a {
	line-height: 0;
}

.wp-block-woocommerce-customer-account a {
	color: var(--color-text-accent);
}

.wc-block-mini-cart.wp-block-woocommerce-mini-cart {
	width: max-content;
}

.wc-block-mini-cart__badge {
	background-color: var(--color-text-accent)!important;
	color: #000 !important;
}

.main-navigation ul {
	justify-content: flex-end;
}

.main-navigation ul li a {
	color: var(--color-text-accent);
}

a:visited {
	color: var(--color-text-accent);
}

/* Footer */

footer {
    width: 100%;
    height: 200px;
    background-color: var(--color-bg-primary);
    border-top: 1px solid var(--color-border-subtle);
}

footer.site-footer {
	height: auto;
}

footer.site-footer > div.site-info div:nth-child(6),
footer.site-footer > div.site-info div:nth-child(9) {
	background: rgba(243, 245, 240, 0.1);
}

footer.site-footer > div.site-info div:nth-child(7) {
	display: flex;
	align-items: center;
}

footer.site-footer > div.site-info div:nth-child(7) img {
	width: 200px;
	filter: invert(100%);
}

footer.site-footer > div.site-info div:nth-child(8) {
	display: flex;
	flex-wrap: wrap;
	column-gap: 1.2rem;
	align-items: center;
	justify-content: flex-start;
	margin-top: 1.5rem;
}

footer.site-footer > div.site-info div:last-child {
	display: flex;
	align-items: center;
	justify-content: center;
}

footer.site-footer > div.site-info div:last-child p {
	margin-bottom: 0;
	font-family: 'Barlow', sans-serif;
	font-weight:  300;
	font-style:  normal;
	 font-size: .85rem;
	color: white;
}

footer > div {
	display: grid;
	grid-template-columns: repeat(1,1fr);
	grid-template-rows: auto;
	gap: 1rem;
	width: 90%;
	margin: 0 auto;
	padding: 2rem 0;
}

footer ul {
	margin: 0;
	padding-bottom: 1rem;
	font-family: 'Barlow', sans-serif;
	font-size: .9rem;
	color: var(--ink-spedizioni);
}

footer ul li {
	list-style-type: none;
}

footer ul li:first-child {
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 8px;
}

footer ul li a {
	text-decoration: none;
	color: var(--paper);
}

footer ul li a:visited,
footer ul li a:hover  {
	color: var(--paper);
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--color-text-primary);
}

section {
    width: 90%;
    margin: 0 auto;
    color: var(--color-text-primary);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.hero {
	position: relative;
    width: 100%;
    height: 70vh;
    /* background-color: var(--color-bg-primary); */
	/* background-image: url(https://store.exercitatiolab.com/wordpress/wp-content/uploads/2026/09/hero-portiere-scaled-e1788880962557.webp);
	background-size: cover;
	background-position: center; */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-bottom: 1px solid var(--color-border-subtle);
	padding-bottom: 3rem;
}

.hero > div:first-child {
	width: 100%;
	height: inherit;
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(45deg, black, 76%, rgba(0,0,0,0));
}

.hero > img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: -1;
}

.hero > section {
	z-index: 0;
}

.hero > section > div {
	display: flex;
	margin-top: 2rem;
	gap: 1rem;
}

.hero > section > div > a button {
	padding: 15px 25px;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 1.1rem;
    font-weight: 600;
    font-style: normal;
	cursor: pointer;
	border-radius: 6px;
}

.hero > section > div > a:first-child button {
	background-color: var(--color-text-accent);
}

.hero > section > div > a:last-child button {
	background-color: transparent;
	border: 1px solid var(--paper);
	color: var(--paper);
}

.hero h2 {
	font-size: 4rem;
  	line-height: calc(4rem - 10%);
	text-transform: uppercase;
}

.hero h2 span {
	color: var(--color-text-accent);
}

.hero section h3 {
	width: 100%;
	margin-top: 2rem;
	font-weight: 400;
	line-height: 22px;
}

.hero h4 {
	color: var(--color-text-accent);
}

.hero section h2 {
	width: 100%;
}

.container {
    width: 100%;
    background-color: var(--color-bg-primary);
    padding: 30px 0;
}

.container.last {
	margin-bottom: 4rem;
}

section.grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

section.grid-3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

section.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

section.grid-5 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
	grid-template-rows: repeat(6, 300px);
    gap: 20px;
    padding: 20px 0;
}

section.grid-5 > div:first-child {
	background: linear-gradient(45deg, #272727, 50%, #000);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: start;
}

section.grid-5 > div:first-child h3 {
	text-transform: uppercase;
	font-size: 2rem;
}

section.grid-5 > div:first-child p {
	margin-bottom: 0;
	font-family: 'Barlow', sans-serif;
}

section.grid-5 > div {
    border: 1px solid var(--color-border-subtle);
    background-color: var(--color-bg-secondary);
    padding: 20px;
	border-radius: 8px;
	display: flex;
	align-items: flex-end;
	position: relative;
  	overflow: hidden;
}

section.grid-5 > div > div {
	z-index: 1;
}

section.grid-5 > div img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

section.grid-5 .span-2 {
	grid-column: span 1;
}

section.grid-5 .span-3 {
	grid-column: span 1;
}

section.grid-5 .span-5 {
	grid-column: span 1;
}

section.grid-5 h2 {
	line-height: 26px;
}

section.grid-5 p {
	line-height: 18px;
}

.gradient {
	background: linear-gradient(45deg, rgba(10,10,10,1), 50%, rgba(0,0,0,0));
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

section.grid-4 > div {
    border: 1px solid var(--color-border-subtle);
    display: flex;
    flex-direction: column;
}

section.grid-4 > div > div:first-child {
    width: 100%;
    height: 300px;
    background-color: var(--color-bg-tertiary);
}

section.grid-4 > div > div:not(:first-child) {
    padding: 20px;
    background-color: var(--color-bg-secondary);
}

.price {
    font-size: 20px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-top: 10px;
    color: var(--color-text-accent);
}

.flex {
    display: flex;
    gap: 20px;
    border: 1px solid var(--color-border-subtle);
    min-height: 350px;
    background-color: var(--color-bg-secondary);
}

.flex > div:first-child {
    width: 45%;
    background-color: var(--color-bg-tertiary);
}

.flex > div:not(:first-child) {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flex.reverse > div:first-child {
    width: 55%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: inherit;
}

.flex.reverse > div:not(:first-child) {
    width: 45%;
    background-color: var(--color-bg-tertiary);
}

.container > section > p {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
    font-style: normal;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

/* Breadcrumbs */

.woocommerce-breadcrumb {
	background: linear-gradient(45deg, #272727, 50%, #000);
	border: 1px solid var(--color-border-subtle);
	border-radius: 8px;
	padding: 1rem;
	margin-top: 1.5rem;
	color: var(--paper);
	font-size: .9rem;
	font-weight: 600;
}

nav.woocommerce-breadcrumb a {
	color: var(--paper);
	font-weight: 400;
}

.single-product .breadcrumb-custom {
	background-color: #fff;
	padding: 1.5rem 0;
}

.single-product .woocommerce-breadcrumb {
	background: transparent;
	padding: 0;
	margin-top: 0;
}

.single-product .breadcrumb-custom nav {
	font-size: .9rem;
	font-weight: 600;
	color: var(--color-bg-primary); 
}
.single-product .breadcrumb-custom nav a{
	font-weight: 400;
	color: var(--color-bg-primary);
}

.woocommerce-result-count {
	color: var(--ink-soft);
	margin-top: 1rem;
}

/* Stile per il dropdown "Ordinamento" della shop WooCommerce */

.woocommerce-ordering {
	margin-bottom: 2rem;
}

.woocommerce-ordering select.orderby,
.woocommerce-ordering select,
select.orderby {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    padding: 10px 40px 10px 16px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23c6ff00' d='M4 6l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-ordering select.orderby:hover,
select.orderby:hover {
    border-color: #c6ff00;
}

.woocommerce-ordering select.orderby:focus,
select.orderby:focus {
    outline: none;
    border-color: #c6ff00;
    box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.2);
}

/* Stile per il menu a tendina aperto (opzioni) */
.woocommerce-ordering select.orderby option,
select.orderby option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px;
}

.woocommerce-ordering select.orderby option:checked,
select.orderby option:hover {
    background-color: #c6ff00;
    color: #000000;
}

.woocommerce-product-gallery__wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.woocommerce-product-gallery__image {
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woocommerce-product-gallery__image:first-child {
    grid-column: span 2;
}

.flex-control-thumbs,
.flex-control-nav {
    display: none !important;
}

.site-main {
	font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.product_title {
	font-family: 'Barlow';
	font-size: 1.6rem;
	line-height: 30px;
	color: var(--color-bg-primary);
}

.price {
	font-family: 'Barlow Condensed';
	font-size: 34px;
	color: var(--color-bg-primary);
}

.woocommerce-product-details__short-description {
	font-family: 'Barlow';
	font-size: .95rem;
	font-weight: 400;
	color: var(--color-bg-secondary);
}

.woocommerce-product-details__short-description p {
	border-bottom: 1px solid var(--line);
	padding-bottom: 1.5rem;
	line-height: 22px;
}

.scheda-tecnica {
	background-color: var(--bg-box);
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	margin-bottom: 1.5rem;
}

.scheda-tecnica--title {
	font-weight: 600;
	margin-bottom: 14px;
}

.scheda-tecnica {
	display: grid;
	gap: .44rem;
	grid-template-columns: 1fr 2fr;
	font-size: .85rem;
}

.scheda-tecnica .strong{
    justify-self: end;
    text-align: right;
	font-weight: 600;
}

.separator {
	grid-column: span 2;
	height: 1px;
	background-color: var(--line);
}

.product .product_meta {
	display: none;
}

img.wp-post-image {
	border-radius: 12px;
}

.woocommerce-product-gallery__image img {
	border-radius: 8px;
}

.trust-row{display:flex; gap:16px; margin:18px 0 18px; flex-wrap:wrap; font-family: 'Barlow';}
.trust-item{display:flex; align-items:center; gap:7px; font-size:12.5px; color:var(--ink-soft);}
.trust-item svg{color:var(--ink); flex:0 0 auto;}

/* Style quantity product page | + | - | */

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled,
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled {
	display: flex;
	gap: 1rem;
}

.single_add_to_cart_button.button {
	font-family: 'Barlow';
	font-size: .84rem;
	font-weight: 600;
	padding: 10px;
} 

.qty-row{
    display:flex;
    gap:10px;
    margin-bottom:14px;
    align-items:center;
}

.quantity{
    display:flex;
    align-items:center;
    border:1.5px solid var(--line);
    border-radius:var(--radius-s);
    overflow:hidden;
    flex:0 0 118px;
}

.quantity .qty_button {
    width:36px;
    height:48px;
    border:none;
    background:#fff;
    font-size:16px;
    cursor:pointer;
    color:var(--ink);
    -webkit-appearance:none;
    appearance:none;
	padding: 0;
	border-radius: 0;
}

.quantity .qty_button:hover{
    background:var(--bg);
}

.quantity input.qty {
    width:46px;
    height:48px;
    border:none;
    border-left:1.5px solid var(--line);
    border-right:1.5px solid var(--line);
    text-align:center;
    font-size:14.5px;
    font-weight:700;
    font-family:'Barlow';
    color:var(--ink);
    -moz-appearance:textfield;
    appearance:textfield;
	border-radius: 0;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}

.quantity input.qty:focus{
    outline:none;
}

.single_add_to_cart_button{
    flex:1;
    background:var(--lime);
    color:var(--ink);
    border:none;
    border-radius:var(--radius-s);
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    transition:background .15s ease, transform .1s ease;
}

.single_add_to_cart_button:hover{background:var(--lime-dark);}
.single_add_to_cart_button:active{transform:scale(.98);}
.single_add_to_cart_button.added{background:var(--ink); color:var(--lime);}

.screen-reader-text{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(1px, 1px, 1px, 1px);
    white-space:nowrap;
}

table.variations {
	font-family: 'Barlow';
	position: relative;
}

table.variations th.label {
	font-size: .95rem;
	color: var(--color-bg-secondary);
}

table.variations tbody tr:last-child th {
    border-top: 12px solid transparent;
}

.reset_variations {
	position: absolute;
	top: 0;
	right: 0;
	color: var(--ink-soft);
}

/* Tag Categoria Pagina Prodotto */
.tag-categoria-product-page p {
	background: var(--color-bg-secondary);
	width: max-content;
	padding: 5px 10px;
	color: var(--color-text-accent);
	border-radius: 18px;
	font-family: 'Barlow';
	font-size: .8rem;
	font-weight: 600;
	margin-top: 2rem;
}

img.attachment-woocommerce_thumbnail {
	width: 100%;
	object-fit: contain;
}


/* Card prodotto homepage */
.gcard-stage {
	border-radius: 6px;
  	overflow: hidden;
}

.gcard-stage h2 {
	color: #fff;
	font-size: 1.6rem;
	line-height: 28px;
}

.gcard-stage > div:first-child {
	border-bottom: 2px solid white;
	overflow: hidden;
}

.gcard-stage a {
	text-decoration: none;
}

.gcard-stage p {
	margin: 0;
	line-height: 22px;
}

.gcard-stage .woocommerce-Price-amount.amount,
.price > span:nth-child(2) {
	color: var(--lime);
	font-size: 1.2rem;
}

.gcard-stage button {
	width: 100%;
	background-color: var(--lime);
	color: var(--color-bg-primary);
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 1.1rem;
	font-weight: 600;
	padding: 12px 0;
	cursor: pointer;
	border-radius: 6px;
	display: flex;
	justify-content: center;
	gap: 8px;
	align-items: center;
	margin-top: 1.5rem;
}

.gcard-stage > div:nth-child(2) {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.gcard-stage a button::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.4l2.1 10.2a1.6 1.6 0 0 0 1.6 1.3h8.1a1.6 1.6 0 0 0 1.6-1.2L20.4 8H6.2'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.4l2.1 10.2a1.6 1.6 0 0 0 1.6 1.3h8.1a1.6 1.6 0 0 0 1.6-1.2L20.4 8H6.2'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gcard-stage a > button:hover,
.gcard-stage a > button:focus,
a.btn--pieno:hover {
  background: var(--lime-dark);
  box-shadow: none;
}

.gcard-stage a > button:active {
  background: var(--lime-dark);
  transform: translateY(1px);
}

.gcard-stage a > button:focus-visible {
  outline: 3px solid var(--lime-dark);
  outline-offset: 3px;
}

.gcard-stage a > button,
a.btn--pieno {
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.gcard-stage .attachment-thumb_600.size-thumb_600 {
	object-fit: cover;
	height: 100%;
}

.container .grid-3 svg {
    flex: none;
    width: 55px; 
	height: 55px;
    fill: none;
    stroke: var(--lime);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.container .grid-3 h2 {
	font-size: 2rem;
}

.container .grid-3 > div {
	background: linear-gradient(45deg, #272727, 50%, #000);
	padding: 1rem;
	border-radius: 8px;
	border: 1px solid black;
}

.container-radius {
	border-radius: 8px;
	overflow: hidden;
}

.container-radius img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.container-radius div:nth-child(2) {
	justify-content: space-around;
}

.container-radius div:nth-child(2) > div {
	border-top: 1px solid var(--color-border-subtle);
}

.container-radius div:nth-child(2) span {
	font-size: 1.5rem;
	color: var(--color-text-accent);
	font-weight: 700;
	margin-bottom: .6rem;
}

.felpa__punti {
	margin: 0 0 32px;
	padding: 24px 0 0;
	border-top: 1px solid var(--linea);
	list-style: none;
	display: grid;
	gap: 14px;
}
.felpa__punti li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 16px;
	font-weight: 500;
	color: var(--testo);
}
.felpa__punti svg {
	flex: none;
	width: 24px; height: 24px;
	fill: none;
	stroke: var(--lime);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: max-content;
	padding: 15px 28px;
	font: 700 1.1rem/1 "Barlow Condensed", "Arial Narrow", sans-serif;
	border: 1px solid #d6ff3c;
	border-radius: 8px;
	cursor: pointer;
}

a.btn {
	color: var(--color-bg-secondary);
	text-decoration: none;
}

.btn--pieno {
	background: #d6ff3c;
	color: #11161d;
}

.btn--pieno.disabled{
	cursor: not-allowed;
}

.btn__icona {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
}

.wc-block-mini-cart__quantity-badge {
	color: var(--lime);
}

.prodotto__etichetta {
	display: inline-block;
	margin-bottom: 16px;
	padding: 5px 12px;
	width: fit-content;
	font-size: 14px!important;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #11161d!important;
	background: var(--lime);
	border-radius: 6px;
}

.etichetta__junior-adulto {
	display: none;
	gap: .8rem;
	text-transform: uppercase;
	color: var(--color-border-subtle);
	margin-top: 1rem;
}

.etichetta__junior-adulto span {
	border: 1px solid var(--color-border-subtle);
	border-radius: 26px;
	font-size: .65rem;
	padding: 3px 15px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.etichetta__junior-adulto span::before {
	content: '';
	width: 6px;
	height: 6px;
	background-color: var(--color-border-subtle);
	border-radius: 50%;
	display: block;
}

.etichetta__junior-adulto span.tag__evidenziato {
	border: 1px solid var(--color-text-accent);
	color: var(--color-text-accent);
}

.etichetta__junior-adulto span.tag__evidenziato::before {
	background-color: var(--color-text-accent);
}

.etichetta__tag-guanto span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: max-content;
	font-size: .85rem;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: 26px;
	padding: 3px 15px;
	margin-top: .5rem;
}

.etichetta__tag-guanto span.il-grande-classico {
    color: var(--tag-classico);
	background: color-mix(in srgb, var(--tag-classico), white 60%);
}

.etichetta__tag-guanto span.top-quality {
    color: var(--tag-top-quality);
	background: color-mix(in srgb, var(--tag-top-quality), white 60%);
}

.etichetta__tag-guanto span.performance {
    color: var(--tag-performance);
	background: color-mix(in srgb, var(--tag-performance), white 60%);
}

.etichetta__tag-guanto span.alte-performance {
    color: var(--tag-alte-performance);
    background: color-mix(in srgb, var(--tag-alte-performance), white 60%);
}

.etichetta__tag-guanto span.impact {
    color: var(--tag-impact);
    background: color-mix(in srgb, var(--tag-impact), white 60%);
}

.etichetta__tag-guanto span.limited-edition {
    color: var(--tag-limited-edition);
    background: color-mix(in srgb, var(--tag-limited-edition), white 60%);
}

.etichetta__tag-guanto span.nuovi-arrivi {
    color: var(--tag-nuovi-arrivi);
    background: color-mix(in srgb, var(--tag-nuovi-arrivi), white 60%);
}

.etichetta__tag-guanto span.ottima-vestibilita {
    color: var(--tag-ottima-vestibilita);
    background: color-mix(in srgb, var(--tag-ottima-vestibilita), white 60%);
}

.etichetta__tag-guanto span.quartz {
    color: var(--tag-quartz);
    background: color-mix(in srgb, var(--tag-quartz), white 80%);
}

.etichetta__tag-guanto span.best {
    color: var(--tag-best);
    background: color-mix(in srgb, var(--tag-the-best), white 60%);
}

.etichetta__tag-guanto span.top-model {
    color: var(--tag-top-model);
	background: color-mix(in srgb, var(--tag-top-model), white 60%);
}

.etichetta__tag-guanto span.total-black {
    color: var(--tag-total-black);
    background: color-mix(in srgb, var(--tag-total-black), white 60%);
}

.hero__tag-parata {
	width:auto;
	height:auto;
	background: rgba(0, 0, 0, 0.2);
	position:absolute;
	top:49%;
	left:70%;
	color:white;
	padding: 12px;
	border-left: 2px solid var(--color-text-accent);
	display: none;
	gap: .8rem;
	align-items: center;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	backdrop-filter: blur(4px);
	z-index: 1;
}

.hero__tag-parata img {
	width: 80px;
	height: 80px;
	object-fit: cover;
}

.hero__tag-parata p,
.hero__tag-parata a {
	margin-bottom: 0;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: .85rem;
	text-decoration: none;
}

.hero__tag-parata p:first-child {
	text-transform: uppercase;
	font-size: 1.1rem;
	font-weight: 600;
}

/* Pagina Shop */

nav.woocommerce-pagination {
	width: 90%;
	height: 80px;
	background: linear-gradient(45deg, #272727, 50%, #000);
	border: 1px solid var(--color-border-subtle);
	border-radius: 8px;
	margin: 2rem 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

nav.woocommerce-pagination ul.page-numbers {
	display: flex;
	gap: 26px;
	margin: 0;
}

nav.woocommerce-pagination ul.page-numbers li {
	list-style-type: none;
	font-size: 1.2rem;
}

nav.woocommerce-pagination ul.page-numbers li a {
	color: var(--color-text-accent);
}

li span.page-numbers.current {
	color: var(--paper);
}

.stripe__serie {
	justify-content: space-between;
}

.stripe__serie > div:first-child {
	background-color: var(--color-bg-secondary);
	padding: 20px;
	width: 100%;
}

.stripe__serie > div:not(:first-child) {
	background-color: var(--color-bg-tertiary);
	width: 100%;
}

section.stripe__serie {
	background-color: var(--color-bg-tertiary);
	gap: 0;
	flex-direction: column;
}

section.flex.stripe__serie-acquatech,
section.flex.stripe__serie-eclipse {
	flex-direction: column;
}

section.flex.stripe__serie-acquatech div,
section.flex.stripe__serie-eclipse div  {
	width: 100%;
}

section.flex.stripe__serie-eclipse div:first-child {
	background-color: var(--color-bg-secondary);
	padding: 20px;
}

section.flex.stripe__serie-eclipse div:last-child {
	padding: 0;
}

.stock.out-of-stock,
.stock.in-stock {
	font-family: 'Barlow', sans-serif;
	font-size: .95rem;
	font-weight: 600;
}

.reset_variations {
	display: none;
}

.pswp__caption__center {
	font-family: 'Barlow', sans-serif;
}

/* Spedizione, resi, pagamenti */

/* :root { --ink-spedizioni:#1f2933; --muted-spedizioni:#5b6770; --line-spedizioni:#d9dee3; --accent-spedizioni:#1d5c63; --bg-spedizioni:#fff; --soft-spedizioni:#f3f6f7; } */
/* @media (prefers-color-scheme: dark) { */
	:root { --ink-spedizioni:#e6eaed; --muted-spedizioni:#9aa6af; --line-spedizioni:#34404a; --accent-spedizioni:#6cc0c8; --bg-spedizioni:#14191d; --soft-spedizioni:#1e262c; }
/* } */
body { margin:0; background:var(--bg-spedizioni); color:var(--ink-spedizioni); font:17px/1.65 Georgia, "Times New Roman", serif; }
section#pagamenti, section#resi, section#spedizione {padding:4rem 0;}

.table-wrap { overflow-x:auto; margin:.75rem 0; }
.table-wrap table { border-collapse:collapse; width:100%; font-family:system-ui, sans-serif; font-size:.95rem; }
.table-wrap th, .table-wrap td { text-align:left; padding:.6rem .75rem; border-bottom:1px solid var(--line-spedizioni); }
.table-wrap th { background:var(--soft-spedizioni); }

/* Single Product Page */

.product.product-type-variable {
	width: 90%;
	margin: 0 auto;
}

.product.product-type-variable > div {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 4rem;
	margin-top: 3rem;
}

.product.product-type-variable > div > div:first-child {
	width: 100%;
}

.product.product-type-variable > div > div:last-child {
	width: 100%;
	height: max-content;
	margin: 0;
	background: #fff;
	padding: 0 2rem 1rem;
	border:  1px solid #E1DFDA;
	border-radius: 12px;
}

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-cart header.entry-header,
body.woocommerce-checkout header.entry-header {
	background-color: var(--product);
}

body.woocommerce-cart,
body.woocommerce-checkout,
section.woocommerce-order-details,
section.woocommerce-customer-details {
	color: var(--ink-soft);
}

/* ========== MINI-CART BLOCK WOOCOMMERCE – STILE EXERCITATIO LAB ========== */
:root {
  --lab-dark: #0d1014;
  --lab-lime: #a3c424;
  --lab-lime-hover: #b8dc2c;
  --lab-lime-dark: #6f8a0f;
  --lab-bg: #f4f4f2;
  --lab-text: #1a1d21;
  --lab-border: #dcdcd8;
}

/* Overlay dietro al pannello */
.wc-block-components-drawer__screen-overlay {
  background: rgba(13, 16, 20, 0.6);
}

/* Pannello */
.wc-block-mini-cart__drawer .wc-block-components-drawer,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content {
  background: var(--lab-bg);
  color: var(--lab-text);
  font-family: 'Barlow', sans-serif;
}

/* Titolo ("Il tuo carrello (3)") – ora leggibile */
.wc-block-mini-cart__title {
  background: var(--lab-dark);
  margin: 0;
  padding: 22px 24px;
  border-bottom: 3px solid var(--lab-lime);
}
.wc-block-mini-cart__title,
.wc-block-mini-cart__title *,
h2.wc-block-mini-cart__title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff !important;
}

/* Pulsante chiudi */
.wc-block-components-drawer__close {
  color: var(--lab-lime) !important;
  top: 22px;
}
.wc-block-components-drawer__close:hover {
  color: var(--lab-lime-hover) !important;
}

/* Righe prodotto */
.wc-block-mini-cart__items {
  padding: 0 24px;
}
.wc-block-mini-cart-items .wc-block-cart-items__row,
.wc-block-cart-items__row {
  border-bottom: 1px solid var(--lab-border);
  padding: 20px 0;
  align-items: center;
}
.wc-block-cart-item__image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* Nome prodotto: via il serif blu sottolineato */
.wc-block-components-product-name {
  font-family: 'Barlow', sans-serif !important;
  font-size: 16px;
  font-weight: 600;
  color: var(--lab-text) !important;
  text-decoration: none !important;
}
.wc-block-components-product-name:hover {
  color: var(--lab-lime-dark) !important;
}

/* Prezzo unitario (piccolo, verde) */
.wc-block-cart-item__prices .wc-block-components-product-price,
.wc-block-cart-item__prices .wc-block-components-product-price__value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--lab-lime-dark);
}

/* Totale riga (grande, a destra) */
.wc-block-cart-item__total .wc-block-components-product-price,
.wc-block-cart-item__total .wc-block-components-product-price__value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--lab-text);
}

/* Selettore quantità */
.wc-block-components-quantity-selector {
  border: 1px solid var(--lab-border);
  border-radius: 8px;
  background: #fff;
}
.wc-block-components-quantity-selector::after {
  border: none;
}
.wc-block-components-quantity-selector__button {
  color: var(--lab-dark);
}
.wc-block-components-quantity-selector__button:hover {
  color: var(--lab-lime-dark);
}

/* Rimuovi articolo */
.wc-block-cart-item__remove-link {
  color: #999 !important;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
}
.wc-block-cart-item__remove-link:hover {
  color: #d63638 !important;
}

/* Footer */
.wc-block-mini-cart__footer {
  background: #fff;
  border-top: 1px solid var(--lab-border);
  padding: 20px 24px;
}
.wc-block-mini-cart__footer .wc-block-components-totals-item,
.wc-block-mini-cart__footer-subtotal {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--lab-text);
}



/* Pulsanti */
.wc-block-mini-cart__footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wc-block-mini-cart__footer-actions .wc-block-components-button,
.wc-block-mini-cart__footer-actions .wp-block-button__link {
  width: 100%;
  font-family: 'Barlow', sans-serif !important;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 8px;
  padding: 16px 20px;
  transition: all .2s ease;
}

/* Vai al pagamento (principale) */
.wc-block-mini-cart__footer-checkout .wc-block-components-button,
.wc-block-mini-cart__footer-checkout.wp-block-button__link,
.wc-block-mini-cart__footer-checkout {
  background: var(--lab-lime) !important;
  color: var(--lab-dark) !important;
  border: 2px solid var(--lab-lime) !important;
}
.wc-block-mini-cart__footer-checkout:hover {
  background: var(--lab-lime-hover) !important;
  border-color: var(--lab-lime-hover) !important;
}

/* Visualizza carrello (secondario) */
.wc-block-mini-cart__footer-cart .wc-block-components-button,
.wc-block-mini-cart__footer-cart.wp-block-button__link,
.wc-block-mini-cart__footer-cart {
  background: transparent !important;
  color: var(--lab-dark) !important;
  border: 2px solid var(--lab-dark) !important;
}
.wc-block-mini-cart__footer-cart:hover {
  background: var(--lab-dark) !important;
  color: var(--lab-lime) !important;
}

.wc-block-mini-cart__items.wp-block-woocommerce-mini-cart-items-block,
.wp-block-woocommerce-filled-mini-cart-contents-block {
	background-color: var(--lab-bg);
}

.trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin: 16px 0;
    padding: 16px;
    background: #f7f8f3;
    border: 1px solid #e5e7de;
    border-radius: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.3;
    color: #5f6b76;
}

.trust-item:last-child {
    grid-column: 1 / -1;
}

.trust-icon {
    --c: #2563eb;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, white);
}

/* un colore per ogni voce */
.trust-item .trust-icon { --c: #2563eb; } 
/* .trust-item .trust-icon { --c: #16a34a; }  */

@media (max-width: 480px) {
    .trust-row { grid-template-columns: 1fr; }
}

/* Media Query */

@media screen and (min-width: 640px) {
	.hero {
	    align-items: center;
		padding-bottom: 0;
	}

	.hero section h3 {
		width: 470px;
	}

	.hero section h2 {
		width: 470px;
	}

	.etichetta__junior-adulto {
		display: flex;
	}
}

@media screen and (min-width: 768px) {
	section.grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}
	
	section.grid-4 {
		grid-template-columns: repeat(3, 1fr);
	}
	
	section.grid-2 {
		grid-template-columns: repeat(2, 1fr);
	}

	section.stripe__serie {
		flex-direction: row;
	}

	.stripe__serie > div:first-child {
		width: 40%;
	}

	.stripe__serie > div:not(:first-child) {
		width: 30%;
	}

	section.flex.stripe__serie-acquatech,
	section.flex.stripe__serie-eclipse {
		flex-direction: row;
	}

	section.flex.stripe__serie-acquatech div,
	section.flex.stripe__serie-eclipse div  {
		width: 50%;
	}

	section.grid-5 {
		grid-template-columns: repeat(5, 1fr);
		grid-template-rows: 100px 400px 400px;
	}

	section.grid-5 > div:first-child {
		flex-direction: row;
		justify-content: space-around;
		align-items: center;
	}

	section.grid-5 .span-2 {
		grid-column: span 2;
	}

	section.grid-5 .span-3 {
		grid-column: span 3;
	}

	section.grid-5 .span-5 {
		grid-column: span 5;
	}

	.hero h2 {
		font-size: 6rem;
		line-height: calc(6rem - 10%);
	}
}

@media screen and (min-width: 1024px) {
	section.grid-3 {
		gap: 64px;
	}

	section.grid-4 {
		grid-template-columns: repeat(4, 1fr);
	}

	.product.product-type-variable > div {
		flex-direction: row;
	}

	.product.product-type-variable > div > div:first-child {
		width: 60%;
	}

	.product.product-type-variable > div > div:last-child {
		width: 40%;
	}

	footer > div {
		grid-template-columns: repeat(5,1fr);
		grid-template-rows: auto 1px 50px 1px 50px;
	}

	footer.site-footer > div.site-info div:nth-child(6),
	footer.site-footer > div.site-info div:nth-child(9) {
		grid-column: span 5;
	}

	footer.site-footer > div.site-info div:nth-child(7) {
		grid-column: span 2; 
	}

	footer.site-footer > div.site-info div:nth-child(8) {
		grid-column: span 3;
		flex-wrap: nowrap;
		justify-content: flex-end;
		column-gap: 1.2rem;
		margin-top: 0;
	}

	footer.site-footer > div.site-info div:last-child {
		grid-column: span 5;
	}

	.hero__tag-parata {
		display: flex;
	}
}

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

	header > div {
		width: 1280px;
	}

	footer > div {
		width: 1280px;
	}

	section {
		width: 1280px;
	}

	/* Pagina Shop */

	nav.woocommerce-pagination {
		width: 1280px;
	}

	.product.product-type-variable {
		width: 1280px;
	}

	.product.product-type-variable > div {
		flex-direction: row;
	}

	.product.product-type-variable > div > div:first-child {
		width: 60%;
	}

	.product.product-type-variable > div > div:last-child {
		width: 40%;
	}

	.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled,
	.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled {
		gap: 2rem;
	}

	.single_add_to_cart_button.button {
		font-size: 1.1rem;
		padding: 0;
	}
}

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

/* Nascosto su desktop */
.mm-header, .mm-panel, .mm-overlay { display: none; }

@media (max-width: 767px) {

  /* Nasconde header/menu originale e il bottone "Primary Menu" */
  header.site-header,
  #masthead,
  .site-header,
  .main-navigation,
  .menu-toggle,
  button.menu-toggle,
  .wp-block-navigation__responsive-container-open { display: none !important; }

  /* Header mobile */
  .mm-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 12px 16px;
    background: #14171c;
    color: #c6ff3d;
  }
  .mm-logo { text-align: center; }
  .mm-logo img { max-height: 28px; width: auto; }
  .mm-actions { display: flex; justify-content: flex-end; gap: 16px; }
  .mm-actions a { color: #c6ff3d; display: flex; }

  /* Hamburger a sinistra */
  .mm-burger {
    justify-self: start;
    width: 28px; height: 22px;
    display: flex; flex-direction: column; justify-content: space-between;
    background: none; border: 0; padding: 0; cursor: pointer;
  }
  .mm-burger span {
    display: block; height: 2px; width: 100%;
    background: #c6ff3d; border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }
  .mm-open .mm-burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .mm-open .mm-burger span:nth-child(2) { opacity: 0; }
  .mm-open .mm-burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

  /* Pannello laterale */
  .mm-panel {
    display: block;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 80%; max-width: 320px;
    padding: 80px 24px 24px;
    background: #14171c;
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 10001;
    overflow-y: auto;
	font-family: 'Barlow', sans-serif;
  }
  .mm-open .mm-panel { transform: translateX(0); }

  .mm-list, .mm-list ul { list-style: none; margin: 0; padding: 0; }
  .mm-list a {
    display: block; padding: 14px 0;
    color: #fff; text-transform: uppercase; text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .mm-list a:hover { color: #c6ff3d; }
  .mm-list .sub-menu { padding-left: 16px; }

  .mm-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.6);
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
    z-index: 10000;
  }
  .mm-open .mm-overlay { opacity: 1; pointer-events: auto; }
  .mm-open { overflow: hidden; }
}