/* --------------------------------------------------------------
   AL QUÈRTO - SHOP PRODUCTS
-------------------------------------------------------------- */

.aq-shop-products {
	position: relative;

	overflow: hidden;
	isolation: isolate;

	padding:
		clamp(86px, 10vw, 150px)
		clamp(20px, 5vw, 76px)
		clamp(100px, 11vw, 160px);

	color:
		var(--aq-black, #04070f);

	background:
		radial-gradient(
			circle at 88% 8%,
			rgba(5, 60, 255, .12),
			transparent 32rem
		),
		linear-gradient(
			180deg,
			#fffef9 0%,
			#fbfaf5 100%
		);
}


/* --------------------------------------------------------------
   GHOST
-------------------------------------------------------------- */

.aq-shop-products__ghost {
	position: absolute;

	right: -3vw;
	top: 2vw;

	z-index: 0;

	color:
		rgba(5, 60, 255, .05);

	font-family:
		var(--aq-font-display);

	font-size:
		clamp(12rem, 28vw, 35rem);

	font-weight: 400;
	line-height: .72;
	letter-spacing: -.055em;

	text-transform: uppercase;

	pointer-events: none;
}


/* --------------------------------------------------------------
   INNER
-------------------------------------------------------------- */

.aq-shop-products__inner {
	position: relative;

	z-index: 2;

	width:
		min(1440px, 100%);

	margin: 0 auto;
}


/* --------------------------------------------------------------
   HEADING
-------------------------------------------------------------- */

.aq-shop-products__head {
	max-width: 940px;

	margin-bottom:
		clamp(42px, 6vw, 82px);
}


.aq-shop-products__kicker {
	margin:
		0
		0
		16px;

	color:
		var(--aq-blue, #053cff);

	font-family:
		var(--aq-font-body);

	font-size: .72rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .09em;

	text-transform: uppercase;
}


.aq-shop-products__head h2 {
	margin:
		0
		0
		20px;

	font-family:
		var(--aq-font-display);

	font-size:
		clamp(3rem, 7.5vw, 4rem);

	font-weight: 400;
	line-height: .9;
	letter-spacing: -.02em;

	text-transform: uppercase;
}


.aq-shop-products__intro {
	max-width: 680px;

	margin: 0;

	color: #171e2f;

	font-family:
		var(--aq-font-body);

	font-size:
		clamp(1rem, 1.25vw, 1.17rem);

	line-height: 1.55;
}


/* --------------------------------------------------------------
   GRID
-------------------------------------------------------------- */

.aq-shop-products__grid {
	display: grid;

	grid-template-columns:
		repeat(4, minmax(0, 1fr));

	gap:
		clamp(16px, 2vw, 28px);
}


/* --------------------------------------------------------------
   PRODUCT CARD
-------------------------------------------------------------- */

.aq-product-card {
	position: relative;

	display: flex;
	flex-direction: column;

	min-width: 0;

	overflow: hidden;

	border:
		1px solid rgba(5, 60, 255, .17);

	background:
		rgba(255, 255, 255, .9);

	box-shadow:
		0 24px 76px
		rgba(5, 60, 255, .07);

	transition:
		transform .42s cubic-bezier(.16, 1, .3, 1),
		border-color .42s ease,
		box-shadow .42s cubic-bezier(.16, 1, .3, 1);
}


.aq-product-card:hover {
	transform:
		translateY(-8px);

	border-color:
		rgba(5, 60, 255, .35);

	box-shadow:
		0 38px 100px
		rgba(5, 60, 255, .14);
}


/* --------------------------------------------------------------
   IMAGE
-------------------------------------------------------------- */

.aq-product-card__media {
	position: relative;

	display: flex;

	align-items: center;
	justify-content: center;

	width: 100%;

	aspect-ratio: 1 / 1.05;

	overflow: hidden;

	padding:
		clamp(22px, 3vw, 20px);

	background:
		linear-gradient(
			180deg,
			rgba(5, 60, 255, .015),
			rgba(5, 60, 255, .045)
		);
}


/*
 * Alone blu sotto il PNG.
 */
.aq-product-card__glow {
	position: absolute;

	left: 16%;
	right: 16%;

	bottom: 12%;

	height: 26%;

	border-radius: 50%;

	background:
		radial-gradient(
			ellipse at center,
			rgba(5, 60, 255, .32),
			rgba(5, 60, 255, .08) 46%,
			transparent 72%
		);

	filter:
		blur(22px);

	opacity: .7;

	transition:
		opacity .5s ease,
		transform .5s ease;
}


.aq-product-card:hover
.aq-product-card__glow {

	opacity: 1;

	transform:
		scale(1.12);
}


/*
 * Perfetto per i PNG trasparenti.
 */
.aq-product-card__image {
	position: relative;

	z-index: 2;

	display: block;

	width: 100%;
	height: 100%;

	object-fit: contain;

	transform:
		scale(1.1);

	filter:
		drop-shadow(
			0 24px 25px
			rgba(3, 12, 48, .16)
		);

	transition:
		transform .65s
		cubic-bezier(.16, 1, .3, 1);
}


.aq-product-card:hover
.aq-product-card__image {

	transform:
		scale(.96)
		translateY(-5px);
}



/* --------------------------------------------------------------
   PRODUCT CLAIM
-------------------------------------------------------------- */

.aq-product-card__claim {
	position: absolute;

	right: 16px;
	bottom: 16px;

	z-index: 5;

	width:
		min(58%, 230px);

	padding:10px;

	border:
		1px solid rgba(5, 60, 255, .14);

	color:
		var(--aq-black, #04070f);

	background:
		rgba(255, 255, 255, .68);

	box-shadow:
		0 14px 34px
		rgba(5, 60, 255, .10);

	backdrop-filter:
		blur(10px);

	-webkit-backdrop-filter:
		blur(10px);

	transform:
		translateY(3px);

	transition:
		transform .42s cubic-bezier(.16, 1, .3, 1),
		box-shadow .42s cubic-bezier(.16, 1, .3, 1),
		background .42s ease;
}


.aq-product-card__claim p {
	margin: 0;

	color: #252c3d;

	font-family:
		var(--aq-font-body);

	font-size: .7rem;
	font-weight: 300;
	line-height: 1.4;
}


.aq-product-card:hover
.aq-product-card__claim {
	transform:
		translateY(0);

	background:
		rgba(255, 255, 255, .76);

	box-shadow:
		0 18px 42px
		rgba(5, 60, 255, .14);
}

@media (max-width: 580px) {

	.aq-product-card__claim {
		right: 12px;
		bottom: 12px;
	
		width:
			min(70%, 220px);
	
		padding:
			12px
			13px;
	}

}


/* --------------------------------------------------------------
   CONTENT
-------------------------------------------------------------- */

.aq-product-card__content {
	display: flex;
	flex-direction: column;

	flex: 1;

	padding:
		clamp(20px, 2vw, 28px);
}


/* Format */

.aq-product-card__format {
	margin:
		0
		0
		10px;

	color:
		var(--aq-blue, #053cff);

	font-family:
		var(--aq-font-body);

	font-size: .66rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .09em;

	text-transform: uppercase;
}


/* --------------------------------------------------------------
   TITLE
-------------------------------------------------------------- */

.aq-product-card__title {
	margin:
		0
		0
		14px;

	font-family:
		var(--aq-font-display);

	font-size:
		clamp(2rem, 2.8vw, 3rem);

	font-weight: 400;
	line-height: .9;
	letter-spacing: -.02em;

	text-transform: uppercase;
}


.aq-product-card__title a {
	color: inherit;

	transition:
		color .25s ease;
}


.aq-product-card__title a:hover {
	color:
		var(--aq-blue, #053cff);
}


/* --------------------------------------------------------------
   PRODUCT ATTRIBUTES
-------------------------------------------------------------- */

.aq-product-card__attributes {
	display: grid;

	gap: 18px;

	margin-bottom: 26px;
}


/* Singolo blocco */

.aq-product-card__attribute {
	display: grid;

	gap: 7px;
}


/* Label */

.aq-product-card__attribute-label {
	display: block;

	color:
		var(--aq-blue, #053cff);

	font-family:
		var(--aq-font-body);

	font-size: .62rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .09em;

	text-transform: uppercase;
}


/* --------------------------------------------------------------
   INGREDIENTI
-------------------------------------------------------------- */

.aq-product-card__ingredients-list {
	display: flex;
	flex-wrap: wrap;

	gap:0;

	margin: 0;
}


.aq-product-card__ingredient-item {
	position: relative;

	display: inline-flex;
	align-items: center;

	padding-left: 14px;
	margin-right: 10px;

	color: #32394a;

	font-family:
		var(--aq-font-body);

	font-size: .86rem;
	font-weight: 400;
	line-height: 1.48;
}


.aq-product-card__ingredient-item::before {
	content: '';

	position: absolute;
	left: 0;
	top: 50%;

	width: 4px;
	height: 4px;

	border-radius: 50%;

	background:
		var(--aq-blue, #053cff);

	transform: translateY(-50%);
}


/* --------------------------------------------------------------
   DETTAGLI
-------------------------------------------------------------- */

.aq-product-card__details {
	display: flex;
	flex-wrap: wrap;

	gap: 6px;
}


.aq-product-card__details span {
	display: inline-flex;

	align-items: center;

	min-height: 27px;

	padding:
		6px
		9px;

	border:
		1px solid
		rgba(5, 60, 255, .20);

	color:
		var(--aq-black, #04070f);

	background:
		rgba(5, 60, 255, .045);

	font-family:
		var(--aq-font-body);

	font-size: .68rem;
	font-weight: 700;
	line-height: 1;
}


/* --------------------------------------------------------------
   BOTTOM
-------------------------------------------------------------- */

.aq-product-card__bottom {
	display: grid;

	gap: 18px;

	margin-top: auto;
}


/* --------------------------------------------------------------
   PRICE
-------------------------------------------------------------- */

.aq-product-card__price {
	color:
		var(--aq-black, #04070f);

	font-family:
		var(--aq-font-display);

	font-size:
		clamp(2rem, 2.5vw, 2.8rem);

	font-weight: 400;
	line-height: 1;
	letter-spacing: -.025em;
}


.aq-product-card__price del {
	margin-right: 8px;

	color:
		rgba(4, 7, 15, .34);

	font-size: .7em;
}


.aq-product-card__price ins {
	color:
		var(--aq-blue, #053cff);

	text-decoration: none;
}


/* --------------------------------------------------------------
   BUY BUTTON
-------------------------------------------------------------- */

.aq-product-card__buy {
	display: flex;

	align-items: center;
	justify-content: space-between;

	gap: 18px;

	width: 100%;

	padding:
		15px
		17px;

	border:
		1px solid
		var(--aq-blue, #053cff);

	color: #fff;

	background:
		var(--aq-blue, #053cff);

	font-family:
		var(--aq-font-body);

	font-size: .7rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .075em;

	text-transform: uppercase;

	cursor: pointer;

	transition:
		color .32s ease,
		background .32s ease,
		transform .32s cubic-bezier(.16, 1, .3, 1);
}


.aq-product-card__buy i {
	font-family:
		var(--aq-font-body);

	font-size: 1.2rem;
	font-style: normal;
	font-weight: 500;
	line-height: 1;

	transition:
		transform .32s
		cubic-bezier(.16, 1, .3, 1);
}


/* Cart icon */

.aq-product-card__cart-icon {
	display: flex;

	align-items: center;
	justify-content: center;

	flex: 0 0 auto;

	width: 22px;
	height: 22px;

	transition:
		transform .32s
		cubic-bezier(.16, 1, .3, 1);
}


.aq-product-card__cart-icon svg {
	display: block;

	width: 100%;
	height: 100%;
}


/* Hover */

.aq-product-card__buy:hover
.aq-product-card__cart-icon {

	transform:
		translateY(-2px)
		scale(1.08);
}


.aq-product-card__buy:hover {
	color:
		var(--aq-blue, #053cff);

	background: #fff;

	transform:
		translateY(-3px);
}


.aq-product-card__buy:hover i {
	transform:
		rotate(90deg);
}


/* Added */

.aq-product-card__buy.added {
	color:
		var(--aq-blue, #053cff);

	background: #fff;
}


/* Accesso al carrello dopo l’aggiunta del prodotto. */
.aq-product-card
.added_to_cart.wc-forward {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 6px 0 0;
    padding: 10px 8px;
    color: var(--aq-blue, #053cff);
    font: 600 13px/1.4 var(--aq-font-body, Inter, sans-serif);
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* --------------------------------------------------------------
   SOLD OUT
-------------------------------------------------------------- */

.aq-product-card__sold-out {
	display: flex;

	align-items: center;
	justify-content: center;

	width: 100%;

	padding: 15px 17px;

	border:
		1px solid rgba(4, 7, 15, .18);

	color:
		rgba(4, 7, 15, .40);

	font-family:
		var(--aq-font-body);

	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .075em;

	text-transform: uppercase;
}


/* --------------------------------------------------------------
   EMPTY
-------------------------------------------------------------- */

.aq-shop-products__empty {
	padding: 30px;

	border:
		1px dashed
		rgba(5, 60, 255, .35);

	font-family:
		var(--aq-font-body);
}


/* --------------------------------------------------------------
   DESKTOP SMALL
-------------------------------------------------------------- */

@media (max-width: 1240px) {

	.aq-shop-products__grid {
		grid-template-columns:
			repeat(3, minmax(0, 1fr));
	}

}


/* --------------------------------------------------------------
   TABLET
-------------------------------------------------------------- */

@media (max-width: 900px) {

	.aq-shop-products__grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

}


/* --------------------------------------------------------------
   MOBILE
-------------------------------------------------------------- */

@media (max-width: 580px) {

	.aq-shop-products {
		padding:
			72px
			18px;
	}


	.aq-shop-products__head h2 {
		font-size:
			clamp(3.5rem, 17vw, 5.5rem);
	}


	.aq-shop-products__grid {
		grid-template-columns: 1fr;
	}


	.aq-product-card__media {
		aspect-ratio:
			1 / .92;
	}


	.aq-product-card__title {
		font-size: 2.7rem;
	}

}