/* ══════════════════════════════════════════════════════════
   Boutique Nutraceutic — style e-commerce (Shopify-like)
   ══════════════════════════════════════════════════════════ */

body.nut-shop-page main.nut-shop-page,
body.nut-product-page main.nut-product-page {
	margin: 0;
	padding: 0;
	max-width: none;
}

.nut-shop-page__wrap {
	background: #f4f5f7;
}

/* Bannière : assets/css/page-banner.css */

/* ── Corps ── */
.nut-shop-page__body {
	max-width: 1240px;
	margin: 0 auto;
	padding: 1.5rem clamp(1rem, 4vw, 2rem) 3rem;
}

/* Bandeau confiance */
.nut-shop-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.nut-shop-trust__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.65rem 0.75rem;
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 8px;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	color: #050A5E;
}

.nut-shop-trust__icon {
	font-size: 0.95rem;
	line-height: 1;
}

/* Toolbar */
.nut-shop-toolbar {
	margin-bottom: 1.25rem;
}

.nut-shop-toolbar__count {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.875rem;
	color: #6b7280;
}

/* ── Filtres & recherche ── */
.nut-shop-filters {
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 12px;
	padding: 1rem;
	margin-bottom: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.nut-shop-filters__search {
	position: relative;
}

.nut-shop-filters__search-icon {
	position: absolute;
	left: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1rem;
	color: #9ca3af;
	pointer-events: none;
	line-height: 1;
}

.nut-shop-filters__input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.72rem 1rem 0.72rem 2.35rem;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9rem;
	color: #050A5E;
	background: #f9fafb;
	border: 1px solid #e8eaef;
	border-radius: 8px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.nut-shop-filters__input:focus {
	outline: none;
	border-color: #39B54A;
	box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.15);
	background: #fff;
}

.nut-shop-filters__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
}

.nut-shop-filters__field {
	flex: 1 1 160px;
	min-width: 0;
}

.nut-shop-filters__select {
	width: 100%;
	padding: 0.65rem 2rem 0.65rem 0.75rem;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.85rem;
	color: #050A5E;
	background: #f9fafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
	border: 1px solid #e8eaef;
	border-radius: 8px;
	appearance: none;
	cursor: pointer;
}

.nut-shop-filters__select:focus {
	outline: none;
	border-color: #39B54A;
	box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.15);
}

.nut-shop-filters__promo {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.75rem;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.85rem;
	color: #374151;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}

.nut-shop-filters__promo input {
	width: 1rem;
	height: 1rem;
	accent-color: #39B54A;
	cursor: pointer;
}

.nut-shop-filters__reset {
	padding: 0.6rem 0.9rem;
	font-family: 'Quicksand', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	color: #050A5E;
	background: #fff;
	border: 1px solid #d1d5de;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
	white-space: nowrap;
}

.nut-shop-filters__reset:hover {
	background: #f3f4f6;
	border-color: #9ca3af;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.nut-shop-catalog [x-cloak] {
	display: none !important;
}

@media (max-width: 640px) {
	.nut-shop-filters__controls {
		flex-direction: column;
		align-items: stretch;
	}

	.nut-shop-filters__field {
		flex: 1 1 auto;
		width: 100%;
	}

	.nut-shop-filters__promo,
	.nut-shop-filters__reset {
		justify-content: center;
		width: 100%;
	}
}

/* ── Grille produits (reset WooCommerce) ── */
.nut-shop-grid-wrap {
	background: transparent;
}

.nut-shop-grid.products,
ul.nut-shop-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem !important;
	list-style: none !important;
	margin: 0 0 2rem !important;
	padding: 0 !important;
	width: 100% !important;
	clear: both !important;
}

.nut-shop-grid.products::before,
.nut-shop-grid.products::after {
	display: none !important;
	content: none !important;
}

.nut-shop-grid .nut-shop-grid__item,
.nut-shop-grid .product {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	clear: none !important;
}

@media (min-width: 900px) {
	.nut-shop-grid.products,
	ul.nut-shop-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 541px) and (max-width: 899px) {
	.nut-shop-grid.products,
	ul.nut-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

@media (max-width: 540px) {
	.nut-shop-grid.products,
	ul.nut-shop-grid {
		grid-template-columns: 1fr;
	}

	.nut-shop-trust {
		grid-template-columns: 1fr;
	}
}

/* ── Carte produit boutique : voir assets/css/product-card.css ── */

/* ── Bloc réassurance ── */
.nut-shop-reassurance {
	text-align: center;
	padding: 2rem 1.5rem;
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 12px;
}

.nut-shop-reassurance__title {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	color: #050A5E;
	margin: 0 0 0.5rem;
}

.nut-shop-reassurance__text {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #6b7280;
	margin: 0 auto 1rem;
	max-width: 48ch;
}

.nut-shop-reassurance .nut-btn--outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.5rem;
	font-family: 'Quicksand', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	background: #fff;
	border: 2px solid #050A5E;
	border-radius: 8px;
	color: #050A5E;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.nut-shop-reassurance .nut-btn--outline:hover {
	background: #050A5E;
	color: #fff;
}

.nut-shop-empty {
	text-align: center;
	padding: 3rem;
	color: #6b7280;
}

/* ── Mode sombre — page boutique ── */
body.nut-dark.nut-shop-page {
	background: var(--nut-navy-dark, #030740);
}

body.nut-dark .nut-shop-page__wrap {
	background: var(--nut-navy-dark, #030740);
}

body.nut-dark .nut-shop-trust__item {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.9);
}

body.nut-dark .nut-shop-toolbar__count {
	color: rgba(255, 255, 255, 0.6);
}

body.nut-dark .nut-shop-filters {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
}

body.nut-dark .nut-shop-filters__search-icon {
	color: rgba(255, 255, 255, 0.45);
}

body.nut-dark .nut-shop-filters__input {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
}

body.nut-dark .nut-shop-filters__input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

body.nut-dark .nut-shop-filters__input:focus {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--nut-green, #39B54A);
	box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.2);
}

body.nut-dark .nut-shop-filters__select {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.06);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' fill-opacity='0.55' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	border-color: rgba(255, 255, 255, 0.14);
}

body.nut-dark .nut-shop-filters__select option {
	color: #1a1a1a;
	background: #fff;
}

body.nut-dark .nut-shop-filters__promo {
	color: rgba(255, 255, 255, 0.8);
}

body.nut-dark .nut-shop-filters__reset {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.2);
}

body.nut-dark .nut-shop-filters__reset:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.35);
}

body.nut-dark .nut-shop-reassurance {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
}

body.nut-dark .nut-shop-reassurance__title {
	color: #fff;
}

body.nut-dark .nut-shop-reassurance__text {
	color: rgba(255, 255, 255, 0.65);
}

body.nut-dark .nut-shop-reassurance .nut-btn--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

body.nut-dark .nut-shop-reassurance .nut-btn--outline:hover {
	background: var(--nut-green, #39B54A);
	border-color: var(--nut-green, #39B54A);
	color: #fff;
}

body.nut-dark .nut-shop-empty {
	color: rgba(255, 255, 255, 0.55);
}

/* ── Footer boutique & fiche produit ── */
body.nut-shop-page .nut-footer,
body.nut-product-page .nut-footer {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 !important;
	background: linear-gradient(165deg, #050A5E 0%, #030740 55%, #061160 100%);
}

body.nut-shop-page .nut-footer.wp-block-group,
body.nut-product-page .nut-footer.wp-block-group {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.nut-shop-page .nut-footer::before,
body.nut-product-page .nut-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='84' viewBox='0 0 96 84'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'%3E%3Cpath d='M24 1 47 14v28L24 55 1 42V14Z'/%3E%3Cpath d='M72 1 95 14v28L72 55 49 42V14Z'/%3E%3Cpath d='M48 29 71 42v28L48 83 25 70V42Z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 118px 104px;
	opacity: 0.24;
	pointer-events: none;
}

body.nut-shop-page .nut-footer__inner,
body.nut-product-page .nut-footer__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 2.5rem clamp(1rem, 4vw, 2rem) 1.1rem;
	box-sizing: border-box;
}

body.nut-shop-page .nut-footer__grid,
body.nut-product-page .nut-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

body.nut-shop-page .nut-footer__logo,
body.nut-product-page .nut-footer__logo {
	display: block;
	height: 56px;
	width: auto;
	max-width: 115px;
	margin-bottom: 1rem;
	object-fit: contain;
}

body.nut-shop-page .nut-footer__about,
body.nut-product-page .nut-footer__about {
	margin: 0;
	max-width: 42ch;
	font-size: 0.92rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

body.nut-shop-page .nut-footer__bottom,
body.nut-product-page .nut-footer__bottom {
	margin-top: 1.6rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

body.nut-shop-page .nut-footer__bottom p,
body.nut-product-page .nut-footer__bottom p {
	margin: 0;
	text-align: center;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
	body.nut-shop-page .nut-footer__grid,
	body.nut-product-page .nut-footer__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	body.nut-shop-page .nut-footer__grid,
	body.nut-product-page .nut-footer__grid {
		grid-template-columns: 1fr;
	}
}
/* ── Fiche produit immersive ── */
.nut-product-breadcrumb {
	margin-bottom: 1rem;
}

.nut-product-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.65);
}

.nut-product-breadcrumb__item {
	display: inline-flex;
	align-items: center;
}

.nut-product-breadcrumb__item:not(:last-child)::after {
	content: '/';
	margin: 0 0.45rem;
	color: rgba(255, 255, 255, 0.35);
}

.nut-product-breadcrumb__item a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	transition: color 0.2s;
}

.nut-product-breadcrumb__item a:hover {
	color: #39B54A;
}

.nut-product-breadcrumb__item span[aria-current] {
	color: #fff;
	font-weight: 600;
}

.nut-product-page__body {
	padding-top: 1.75rem;
}

.nut-product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: stretch;
	margin-bottom: 2rem;
}

.nut-product__gallery {
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 12px;
	padding: 1rem 1.25rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.nut-product__gallery .woocommerce-product-gallery {
	margin: 0;
	width: 100%;
	opacity: 1 !important;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.nut-product__gallery .woocommerce-product-gallery__wrapper {
	transition: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.nut-product__gallery .woocommerce-product-gallery__image a {
	display: block;
	line-height: 0;
}

.nut-product__gallery .woocommerce-product-gallery__image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 260px;
	margin: 0 auto;
	object-fit: contain;
	border-radius: 8px;
}

.nut-product__gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.85rem 0 0;
	padding: 0;
	list-style: none;
}

.nut-product__gallery .flex-control-thumbs li {
	width: calc(25% - 0.38rem);
	margin: 0;
}

.nut-product__gallery .flex-control-thumbs img {
	border: 2px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	opacity: 0.65;
	transition: opacity 0.2s, border-color 0.2s;
}

.nut-product__gallery .flex-control-thumbs img.flex-active,
.nut-product__gallery .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: #39B54A;
}

.nut-product__summary {
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
	height: 100%;
	box-sizing: border-box;
}

.nut-product__badge {
	display: inline-block;
	margin-bottom: 0.65rem;
	padding: 0.25rem 0.6rem;
	font-family: 'Quicksand', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
	background: #dc2626;
	border-radius: 4px;
}

.nut-product__category {
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6b7280;
	margin-bottom: 0.5rem;
}

.nut-product__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 0.75rem;
	margin-bottom: 0.65rem;
}

.nut-product__price {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.65rem;
	font-weight: 700;
	color: #050A5E;
	line-height: 1.2;
}

.nut-product__price--sale {
	color: #39B54A;
}

.nut-product__price--was {
	font-size: 1rem;
	font-weight: 600;
	color: #9ca3af;
	text-decoration: line-through;
}

.nut-product__stock {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.85rem;
	margin: 0 0 1.25rem;
}

.nut-product__stock--in {
	color: #16a34a;
}

.nut-product__stock--out {
	color: #dc2626;
}

.nut-product__cart {
	margin-bottom: 1.25rem;
}

.nut-product__cart form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
}

.nut-product__cart .quantity {
	margin: 0;
}

.nut-product__cart .quantity .qty {
	width: 4.5rem;
	padding: 0.65rem 0.5rem;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.95rem;
	text-align: center;
	border: 1px solid #e8eaef;
	border-radius: 8px;
	color: #050A5E;
}

.nut-product__cart .quantity .qty:focus {
	outline: none;
	border-color: #39B54A;
	box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.15);
}

.nut-product__cart .single_add_to_cart_button,
.nut-product__cart button.button.alt {
	font-family: 'Quicksand', sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	background: #39B54A !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 0.85rem 1.75rem !important;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
}

.nut-product__cart .single_add_to_cart_button:hover,
.nut-product__cart button.button.alt:hover {
	background: #2D9A3E !important;
	transform: translateY(-1px);
}

.nut-product__trust {
	margin-top: 0.75rem;
}

.nut-product__trust.nut-shop-trust {
	margin-bottom: 0;
}

.nut-product__summary .nut-product__cart {
	margin-bottom: 0.85rem;
}

/* Masquer le doublon stock WooCommerce (on affiche déjà nut-product__stock) */
.nut-product__summary form.cart .stock {
	display: none;
}

/* ── Cartes informations produit ── */
.nut-product-info {
	margin-bottom: 2.5rem;
}

.nut-product-info__header {
	margin-bottom: 1.35rem;
}

.nut-product-info__title {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.45rem;
	font-weight: 700;
	color: #050A5E;
	margin: 0 0 0.35rem;
}

.nut-product-info__lead {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.92rem;
	color: #6b7280;
	margin: 0;
}

.nut-product-info__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.nut-product-info-card {
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 12px;
	padding: 1.15rem 1.2rem 1.2rem;
	box-shadow: 0 2px 12px rgba(5, 10, 94, 0.04);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.nut-product-info-card:hover {
	border-color: #d1d5de;
	box-shadow: 0 6px 22px rgba(5, 10, 94, 0.08);
}

.nut-product-info-card--description {
	grid-column: 1 / -1;
}

.nut-product-info-card--warning {
	background: #fffaf8;
	border-color: #f3d4cc;
}

.nut-product-info-card--benefits {
	border-top: 3px solid #39B54A;
}

.nut-product-info-card--usage {
	border-top: 3px solid #050A5E;
}

.nut-product-info-card__head {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 0.85rem;
}

.nut-product-info-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 8px;
	background: #f4f5f7;
	font-size: 1rem;
	line-height: 1;
	flex-shrink: 0;
}

.nut-product-info-card--warning .nut-product-info-card__icon {
	background: #fee2e2;
	color: #b91c1c;
}

.nut-product-info-card--benefits .nut-product-info-card__icon {
	background: rgba(57, 181, 74, 0.12);
	color: #16a34a;
}

.nut-product-info-card__title {
	font-family: 'Quicksand', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #050A5E;
	margin: 0;
}

.nut-product-info-card--warning .nut-product-info-card__title {
	color: #991b1b;
}

.nut-product-info-card__text {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.92rem;
	line-height: 1.7;
	color: #374151;
}

.nut-product-info-card__text p:last-child {
	margin-bottom: 0;
}

.nut-product-info-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.nut-product-info-card__list li {
	position: relative;
	padding-left: 1.15rem;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #374151;
}

.nut-product-info-card__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: #39B54A;
}

.nut-product-info-card--warning .nut-product-info-card__list li::before {
	background: #dc2626;
}

.nut-product-info-card--usage .nut-product-info-card__list li::before {
	background: #050A5E;
	border-radius: 2px;
	width: 0.35rem;
	height: 0.35rem;
}

@media (max-width: 768px) {
	.nut-product-info__grid {
		grid-template-columns: 1fr;
	}

	.nut-product-info-card--description {
		grid-column: auto;
	}
}

.nut-product-related {
	margin-bottom: 2rem;
}

.nut-product-related__title {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: #050A5E;
	margin: 0 0 1.25rem;
}

.nut-product-related__grid {
	margin-bottom: 0 !important;
}

/* Notices WooCommerce */
.nut-product-page .woocommerce-notices-wrapper {
	margin-bottom: 1rem;
}

.nut-product-page .woocommerce-message,
.nut-product-page .woocommerce-info,
.nut-product-page .woocommerce-error {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9rem;
	border-radius: 8px;
	padding: 0.85rem 1rem;
	margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
	.nut-product {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		align-items: start;
	}

	.nut-product__gallery,
	.nut-product__summary {
		height: auto;
	}

	.nut-product__gallery .woocommerce-product-gallery__image img {
		max-height: 320px;
	}
}

/* Mode sombre — fiche produit */
body.nut-dark.nut-product-page,
body.nut-dark.nut-product-page .nut-product-page__wrap {
	background: var(--nut-navy-dark, #030740);
}

body.nut-dark .nut-product__gallery,
body.nut-dark .nut-product__summary,
body.nut-dark .nut-product-info-card {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
}

body.nut-dark .nut-product-info-card--warning {
	background: rgba(220, 38, 38, 0.08);
	border-color: rgba(248, 113, 113, 0.35);
}

body.nut-dark .nut-product-info__title {
	color: #fff;
}

body.nut-dark .nut-product-info__lead {
	color: rgba(255, 255, 255, 0.6);
}

body.nut-dark .nut-product-info-card__title {
	color: #fff;
}

body.nut-dark .nut-product-info-card--warning .nut-product-info-card__title {
	color: #fecaca;
}

body.nut-dark .nut-product-info-card__text,
body.nut-dark .nut-product-info-card__list li {
	color: rgba(255, 255, 255, 0.82);
}

body.nut-dark .nut-product-info-card__icon {
	background: rgba(255, 255, 255, 0.08);
}

body.nut-dark .nut-product__gallery .woocommerce-product-gallery__image img {
	background: rgba(255, 255, 255, 0.03);
}

body.nut-dark .nut-product__category {
	color: rgba(255, 255, 255, 0.55);
}

body.nut-dark .nut-product__price {
	color: #fff;
}

body.nut-dark .nut-product__price--sale {
	color: var(--nut-green, #39B54A);
}

body.nut-dark .nut-product__price--was {
	color: rgba(255, 255, 255, 0.45);
}

body.nut-dark .nut-product__stock--in {
	color: #4ade80;
}

body.nut-dark .nut-product__stock--out {
	color: #f87171;
}

body.nut-dark .nut-product-related__title {
	color: #fff;
}

body.nut-dark .nut-product__cart .quantity .qty {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
}

body.nut-dark .nut-product-page .woocommerce-message,
body.nut-dark .nut-product-page .woocommerce-info {
	background: rgba(57, 181, 74, 0.12);
	color: rgba(255, 255, 255, 0.9);
	border-color: rgba(57, 181, 74, 0.35);
}

body.nut-dark .nut-product-page .woocommerce-error {
	background: rgba(220, 38, 38, 0.12);
	color: #fecaca;
	border-color: rgba(220, 38, 38, 0.35);
}
