/* GECASER Design — habillage charte 2026 des pages produit WooCommerce */

body.single-product,
body.post-type-archive-product,
body.tax-product_cat,
body.woocommerce-cart,
body.woocommerce-checkout {
	font-family: 'Schibsted Grotesk', system-ui, sans-serif;
	background-color: #FBF8F2;
	color: #3C4853;
}

body.single-product h1, body.single-product h2, body.single-product h3,
body.post-type-archive-product h1, body.post-type-archive-product h2,
body.tax-product_cat h1, body.tax-product_cat h2,
body.woocommerce-cart h1, body.woocommerce-checkout h1 {
	font-family: 'Schibsted Grotesk', system-ui, sans-serif;
	color: #16242F;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
}

/* Titre produit */
body.single-product .product_title {
	font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
	font-weight: 800;
	color: #16242F;
}

/* Prix */
body.single-product .summary .price,
body.single-product .summary .woocommerce-Price-amount {
	font-family: 'Schibsted Grotesk', system-ui, sans-serif;
	color: #143A5A !important;
	font-weight: 800;
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
}

/* Boutons */
body.single-product .single_add_to_cart_button,
body.woocommerce-cart .checkout-button,
body.woocommerce-checkout #place_order,
body.post-type-archive-product .add_to_cart_button,
body.tax-product_cat .add_to_cart_button {
	background: #C8881E !important;
	color: #0E2236 !important;
	font-family: 'Schibsted Grotesk', system-ui, sans-serif;
	font-weight: 700 !important;
	border-radius: 11px !important;
	border: none !important;
	padding: .9em 1.6em !important;
	transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s, box-shadow .18s, color .18s !important;
}
body.single-product .single_add_to_cart_button:hover,
body.woocommerce-cart .checkout-button:hover,
body.woocommerce-checkout #place_order:hover,
body.post-type-archive-product .add_to_cart_button:hover,
body.tax-product_cat .add_to_cart_button:hover {
	background: #A86F14 !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px -20px rgba(14,34,54,.45);
}

/* Quantité */
body.single-product .quantity .qty {
	border: 1.5px solid #E4DCCB;
	border-radius: 11px;
	background: #fff;
	color: #16242F;
	font-weight: 700;
	padding: .7em .4em;
}

/* Galerie */
body.single-product .woocommerce-product-gallery__wrapper img {
	border-radius: 18px;
	box-shadow: 0 14px 34px -20px rgba(14,34,54,.45);
	border: 6px solid #FBF8F2;
}
body.single-product .flex-control-thumbs img {
	border-radius: 6px;
	border: 1px solid #E4DCCB;
}

/* Badge promo */
body.single-product span.onsale,
body.post-type-archive-product span.onsale {
	background: #C8881E;
	color: #0E2236;
	font-weight: 800;
	border-radius: 999px;
}

/* Onglets descriptif */
body.single-product .woocommerce-tabs ul.tabs li.active a { color: #143A5A; font-weight: 800; }
body.single-product .woocommerce-tabs ul.tabs li a { font-family: 'Schibsted Grotesk', system-ui, sans-serif; color: #717C88; font-weight: 600; }
body.single-product .woocommerce-tabs .panel { background: #fff; border: 1px solid #E4DCCB; border-radius: 18px; padding: 1.6rem 1.8rem; }

/* Réassurance sous le bouton d'achat */
.gcsr-reassure {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.4rem;
	margin-top: 1.1rem;
	padding-top: 1rem;
	border-top: 1px solid #E4DCCB;
	font-size: .85rem;
	font-weight: 600;
	color: #3C4853;
}
.gcsr-reassure i { font-style: normal; color: #A86F14; font-weight: 800; margin-right: .25em; }

/* Bloc avis sous la fiche */
.gcsr-product-avis { clear: both; margin-top: clamp(2.5rem, 5vw, 4rem); }
.gcsr-avis-title {
	text-align: center;
	font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
	margin-bottom: 1.6rem;
}

/* Produits liés / archives : cartes */
body.single-product ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product {
	background: #fff;
	border: 1px solid #E4DCCB;
	border-radius: 18px;
	padding: 1rem 1rem 1.3rem;
	transition: transform .2s, box-shadow .2s;
}
body.single-product ul.products li.product:hover,
body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px -20px rgba(14,34,54,.45);
}
ul.products li.product img { border-radius: 11px; }
ul.products li.product .woocommerce-loop-product__title { color: #16242F; font-weight: 800; font-family: 'Schibsted Grotesk', system-ui, sans-serif; }
ul.products li.product .price { color: #143A5A !important; font-weight: 800; }

/* Liens */
body.single-product a:not(.button):not(.rev):not(.src-pill),
body.woocommerce-cart a:not(.button),
body.woocommerce-checkout a:not(.button) { color: #143A5A; }

/* Messages Woo */
body.single-product .woocommerce-message,
body.woocommerce-cart .woocommerce-message {
	border-top-color: #C8881E;
	background: #F4EEE2;
	color: #16242F;
	border-radius: 11px;
}


/* ── Galerie : flèches précédent / suivant ── */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery .flex-direction-nav {
	margin: 0; padding: 0; list-style: none;
}
.woocommerce-product-gallery .flex-direction-nav li {
	margin: 0; padding: 0; list-style: none;
}
.woocommerce-product-gallery .flex-direction-nav a {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: rgba(251,248,242,.95);
	color: #143A5A;
	box-shadow: 0 4px 14px rgba(14,34,54,.25);
	font-size: 30px;
	line-height: 44px;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	opacity: .85;
	transition: opacity .15s, background .15s, color .15s, transform .15s;
}
.woocommerce-product-gallery .flex-direction-nav a:hover {
	background: #C8881E;
	color: #0E2236;
	opacity: 1;
	transform: translateY(-50%) scale(1.06);
}
.woocommerce-product-gallery .flex-direction-nav .flex-prev { left: 14px; }
.woocommerce-product-gallery .flex-direction-nav .flex-next { right: 14px; }
.woocommerce-product-gallery .flex-direction-nav .flex-disabled { opacity: 0; pointer-events: none; }
/* Loupe résiduelle : masquée */
.woocommerce-product-gallery__trigger { display: none !important; }


/* ── Bannière upsell pack (panier) ── */
.gcsr-pack-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	background: #143A5A;
	border-radius: 18px;
	padding: 1.2rem 1.6rem;
	margin: 0 0 1.6rem;
	box-shadow: 0 14px 34px -20px rgba(14,34,54,.45);
}
.gcsr-pack-banner-txt { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 260px; }
.gcsr-pack-banner p { margin: 0; color: rgba(251,248,242,.92); font-size: .98rem; line-height: 1.5; }
.gcsr-pack-banner p strong { color: #fff; }
.gcsr-pack-badge {
	flex: none;
	background: #C8881E;
	color: #0E2236;
	font-size: .66rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: .5em 1em;
	border-radius: 999px;
	white-space: nowrap;
}
.gcsr-pack-btn {
	flex: none;
	background: #C8881E;
	color: #0E2236 !important;
	font-weight: 700;
	padding: .85em 1.5em;
	border-radius: 11px;
	text-decoration: none;
	transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s, color .18s;
}
.gcsr-pack-btn:hover { background: #A86F14; color: #fff !important; transform: translateY(-2px); }
