/*
Theme Name: Twenty Twenty-Five Enfant — Chic
Template: twentytwentyfive
Version: 1.0.0
Text Domain: ttf-child-chic
*/

/* ==========================================================================
   Boutique démo — thème "Chic Minimaliste Premium"
   Palette : crème / noir / or — typographie Playfair Display + Jost
   ========================================================================== */

/* --- Navigation --- */
.wp-block-navigation {
	font-family: var(--wp--preset--font-family--body);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.8rem;
}
.wp-block-navigation a {
	transition: color 0.25s ease;
}
.wp-block-navigation a:hover {
	color: var(--wp--preset--color--accent) !important;
}
.wp-block-site-title a {
	font-family: var(--wp--preset--font-family--heading);
	letter-spacing: 0.02em;
}

/* --- Boutons --- */
.wp-block-button__link,
.wc-block-components-button,
.button,
.checkout-button,
.single_add_to_cart_button,
a.added_to_cart {
	background-color: #17171533 ;
	background: var(--wp--preset--color--foreground) !important;
	color: var(--wp--preset--color--accent) !important;
	border: 1px solid var(--wp--preset--color--foreground) !important;
	border-radius: 1px !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	padding: 1em 2.2em !important;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
	box-shadow: none !important;
}
.wp-block-button__link:hover,
.wc-block-components-button:hover,
.button:hover,
.checkout-button:hover,
.single_add_to_cart_button:hover {
	background: var(--wp--preset--color--accent) !important;
	color: var(--wp--preset--color--foreground) !important;
	border-color: var(--wp--preset--color--accent) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--foreground) !important;
	border: 1px solid var(--wp--preset--color--foreground) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--foreground) !important;
	color: var(--wp--preset--color--accent) !important;
}

/* --- Prix --- */
.price,
.woocommerce-Price-amount,
.wc-block-components-product-price {
	font-family: var(--wp--preset--font-family--body);
	color: var(--wp--preset--color--accent-dark) !important;
	font-weight: 600;
	letter-spacing: 0.02em;
}
del .woocommerce-Price-amount {
	color: var(--wp--preset--color--muted) !important;
	opacity: 0.7;
}

/* --- Cartes produits (grille classique + blocks) --- */
ul.products li.product,
.wc-block-grid__product,
.wp-block-woocommerce-product-collection .wc-block-product,
.wc-block-product-template .wc-block-product {
	background: #FFFFFF;
	border: 1px solid rgba(20, 18, 14, 0.08);
	border-radius: 2px;
	padding: 1.4em 1.2em 1.8em;
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
ul.products li.product:hover,
.wc-block-grid__product:hover,
.wp-block-woocommerce-product-collection .wc-block-product:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(20, 18, 14, 0.1);
	border-color: var(--wp--preset--color--accent);
}
ul.products li.product img,
.wc-block-components-product-image img {
	border-radius: 1px;
}
ul.products li.product .woocommerce-loop-product__title,
.wc-block-components-product-title {
	font-family: var(--wp--preset--font-family--heading) !important;
	font-weight: 600 !important;
	font-size: 1.05rem !important;
	letter-spacing: 0.01em;
}

/* --- Badge vedette / en solde --- */
.onsale,
.wc-block-components-product-sale-badge {
	background: var(--wp--preset--color--foreground) !important;
	color: var(--wp--preset--color--accent) !important;
	font-family: var(--wp--preset--font-family--body);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.65rem !important;
	border-radius: 1px !important;
	font-weight: 500 !important;
}

/* --- Titres --- */
h1, h2, h3, h4,
.wp-block-heading {
	font-family: var(--wp--preset--font-family--heading);
	letter-spacing: 0.01em;
}

/* --- Section "hero" personnalisée (utilisée sur la page d'accueil) --- */
.demo-hero {
	position: relative;
	min-height: 78vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-color: #14120E;
	background-size: cover;
	background-position: center;
	color: #F5EFE4;
}
.demo-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20,18,14,0.55) 0%, rgba(20,18,14,0.75) 100%);
}
.demo-hero > .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
}
.demo-hero .demo-eyebrow {
	display: inline-block;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-size: 0.75rem;
	color: var(--wp--preset--color--accent);
	margin-bottom: 1em;
}
.demo-hero h1 {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2.4rem, 5vw, 4.2rem);
	font-weight: 600;
	color: #F5EFE4;
	max-width: 18em;
	margin: 0 auto 0.4em;
}
.demo-hero p {
	font-size: 1.1rem;
	color: #E4DBC8;
	max-width: 34em;
	margin: 0 auto 1.6em;
}

/* --- Cartes collections --- */
.demo-collection-card {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	min-height: 320px;
	display: flex;
	align-items: flex-end;
	color: #fff;
}
.demo-collection-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20,18,14,0) 40%, rgba(20,18,14,0.75) 100%);
	z-index: 0;
}
.demo-collection-card .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 1.6em;
}
.demo-collection-card h3 {
	font-family: var(--wp--preset--font-family--heading);
	color: #fff;
	margin: 0 0 0.2em;
	font-size: 1.4rem;
}
.demo-collection-card a {
	color: var(--wp--preset--color--accent);
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--accent);
	padding-bottom: 2px;
}

/* --- Bandeau valeurs (livraison, paiement, retours) --- */
.demo-values {
	background: #F1EBE0;
}
.demo-values .demo-value-item {
	text-align: center;
	padding: 1em;
}
.demo-values .demo-value-icon {
	font-size: 1.8rem;
	display: block;
	margin-bottom: 0.4em;
}
.demo-values h4 {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.05rem;
	margin: 0 0 0.3em;
}
.demo-values p {
	font-size: 0.9rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

/* --- Bandeau CTA final --- */
.demo-cta {
	background: var(--wp--preset--color--foreground);
	color: #F5EFE4;
	text-align: center;
}
.demo-cta h2 {
	color: #F5EFE4;
	font-family: var(--wp--preset--font-family--heading);
}
.demo-cta p {
	color: #C9C2B4;
}

/* --- Footer --- */
footer.wp-block-template-part,
.wp-block-template-part:has(.wp-block-group.footer) {
	background: var(--wp--preset--color--foreground);
	color: #C9C2B4;
}

/* --- Petits ajustements globaux --- */
body {
	background: var(--wp--preset--color--background);
}
::selection {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--foreground);
}
