/* Winged Charm, refonte 2026-11. Charge apres le CSS additionnel du theme.
   Tout est limite a body.wc-refonte : retirer le mu-plugin rend l'ancien style. */
.wc-refonte {
	--wcr-white: #FFFFFF;
	--wcr-sand: #F4EFE9;
	--wcr-ink: #1C1915;
	--wcr-muted: #6F675E;
	--wcr-line: #E6DFD6;
	--wcr-gold: #A8844B;
	--wcr-serif: "Cormorant Garamond", Garamond, Georgia, serif;
	--wcr-sans: "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Global ---------- */
body.wc-refonte { background: var(--wcr-white); color: var(--wcr-ink); font-family: var(--wcr-sans); font-weight: 300; }
.wc-refonte p, .wc-refonte li, .wc-refonte a, .wc-refonte button, .wc-refonte input, .wc-refonte select, .wc-refonte textarea, .wc-refonte .price { font-family: var(--wcr-sans); }
.wc-refonte h1, .wc-refonte h2:not(.woocommerce-loop-product__title), .wc-refonte h3:not(.woocommerce-loop-product__title), .wc-refonte .entry-title, .wc-refonte .product_title,
.wc-refonte h1.wp-block-heading, .wc-refonte h2.wp-block-heading, .wc-refonte .entry-content h1 { font-family: var(--wcr-serif) !important; font-weight: 400 !important; color: var(--wcr-ink); letter-spacing: 0; }
.wc-refonte strong, .wc-refonte b { font-weight: 500; }
.wc-refonte .site, .wc-refonte .separate-containers .inside-article, .wc-refonte .inside-article, .wc-refonte .site-content { background: var(--wcr-white); }
.wc-refonte a { color: var(--wcr-ink); }
.wc-refonte .entry-content a:not(.button):not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; }

/* Bandeau d'annonce */
.wcr-announce { background: var(--wcr-ink); color: #fff; text-align: center; padding: 10px 16px; }
.wcr-announce-in { position: relative; height: 16px; overflow: hidden; max-width: 900px; margin: 0 auto; }
.wcr-announce p { margin: 0; position: absolute; inset: 0; font: 400 11.5px/16px var(--wcr-sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; transition: opacity .6s, transform .6s; }
.wcr-announce p[aria-hidden="true"] { opacity: 0; transform: translateY(8px); }

/* En-tete */
.wc-refonte .site-header { background: var(--wcr-white); border-bottom: 1px solid var(--wcr-line); position: sticky; top: 0; z-index: 50; }
.wc-refonte.admin-bar .site-header { top: 32px; }
.wc-refonte .inside-header { padding-top: 14px; padding-bottom: 14px; }
.wc-refonte .main-title, .wc-refonte .site-title { font-family: var(--wcr-serif) !important; font-weight: 500 !important; font-size: 25px; letter-spacing: .28em !important; text-transform: uppercase; }
.wc-refonte .main-title a, .wc-refonte .main-title a:hover { color: var(--wcr-ink); }
.wc-refonte .main-navigation, .wc-refonte .main-navigation ul ul { background: var(--wcr-white); }
.wc-refonte .main-navigation .main-nav ul li a { font: 400 12px var(--wcr-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--wcr-ink); }
.wc-refonte .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.wc-refonte .main-navigation .main-nav ul li[class*="current-menu-"] > a { color: var(--wcr-gold); background: transparent; }
.wc-refonte .main-navigation .sub-menu { border: 1px solid var(--wcr-line); box-shadow: 0 12px 30px rgba(28,25,21,.06); }
.wc-refonte .main-navigation .sub-menu a { letter-spacing: .12em !important; }
.wc-refonte .wc-header-cart-link { border-radius: 0; color: var(--wcr-ink); }
.wc-refonte .wc-header-cart-link:hover { background: transparent; color: var(--wcr-gold); }
.wc-refonte .wc-header-cart-icon { color: var(--wcr-ink); }
.wc-refonte .wc-header-cart-count { background: var(--wcr-ink); }
.wc-refonte .wc-header-cart-total { font-weight: 400; font-family: var(--wcr-sans); }
.wc-refonte .menu-toggle, .wc-refonte .menu-toggle:hover, .wc-refonte .menu-toggle:focus { background: transparent; color: var(--wcr-ink); }

/* Boutons */
.wc-refonte button.button.alt, .wc-refonte a.button.alt, .wc-refonte input.button.alt,
.wc-refonte a.add_to_cart_button, .wc-refonte ul.products a.button, .wc-refonte button.button,
.wc-refonte a.button, .wc-refonte .wp-block-button__link, .wc-refonte .wc-card-buy-now-btn {
	background-color: var(--wcr-ink) !important; color: #fff !important; border: 1px solid var(--wcr-ink) !important; border-radius: 0 !important;
	font: 400 12px var(--wcr-sans) !important; letter-spacing: .18em !important; text-transform: uppercase; padding: 15px 26px;
	transition: background-color .25s, color .25s;
}
.wc-refonte button.button.alt:hover, .wc-refonte a.button.alt:hover, .wc-refonte a.add_to_cart_button:hover,
.wc-refonte ul.products a.button:hover, .wc-refonte button.button:hover, .wc-refonte a.button:hover,
.wc-refonte .wp-block-button__link:hover, .wc-refonte .wc-card-buy-now-btn:hover {
	background-color: transparent !important; color: var(--wcr-ink) !important;
}
.wc-refonte .wc-card-buy-now-btn { height: auto; }
.wc-refonte input[type="text"], .wc-refonte input[type="email"], .wc-refonte input[type="tel"], .wc-refonte input[type="number"],
.wc-refonte input[type="password"], .wc-refonte input[type="search"], .wc-refonte textarea, .wc-refonte select { border-radius: 0; border-color: var(--wcr-line); background: #fff; }

/* Boutique : grille produits */
.wc-refonte ul.products li.product { text-align: left; background: transparent !important; }
.wc-refonte ul.products li.product:hover { background: transparent !important; }
.wc-refonte ul.products li.product a img { aspect-ratio: 4/5; object-fit: cover; background: var(--wcr-sand); margin-bottom: 14px; transition: transform .8s ease; }
.wc-refonte ul.products li.product a:first-child { display: block; overflow: hidden; }
.wc-refonte ul.products li.product:hover a img { transform: scale(1.04); }
.wc-refonte ul.products a { text-decoration: none !important; }
.wc-refonte ul.products li.product .woocommerce-loop-product__title { font: 400 15px/1.4 var(--wcr-sans) !important; color: var(--wcr-ink); padding: 0; }
.wc-refonte ul.products li.product .price { color: var(--wcr-ink) !important; font-weight: 400 !important; font-size: 15px; }
.wc-refonte ul.products li.product .button { width: 100%; text-align: center; margin-top: 10px; }
.wc-refonte .woocommerce-result-count, .wc-refonte .woocommerce-ordering select { font-size: 13px; color: var(--wcr-muted); }
.wc-refonte .woocommerce-products-header__title, .wc-refonte .woocommerce-products-header h1 { font-size: clamp(36px, 4vw, 52px) !important; text-align: center; }
.wc-refonte span.onsale { background: var(--wcr-white); color: var(--wcr-ink); border-radius: 0; min-height: 0; min-width: 0; line-height: 1; padding: 6px 10px; font: 400 11px var(--wcr-sans); letter-spacing: .16em; text-transform: uppercase; }

/* Fiche produit */
.wc-refonte.single-product .product_title { font-size: clamp(32px, 3.6vw, 46px) !important; line-height: 1.1; }
.wc-refonte.single-product div.product p.price, .wc-refonte.single-product div.product span.price { color: var(--wcr-ink); font-size: 22px; font-weight: 400; }
.wc-refonte.single-product div.product .woocommerce-product-gallery img { background: var(--wcr-sand); }
.wc-refonte div.product .woocommerce-tabs ul.tabs li { background: transparent; border-radius: 0; border-color: var(--wcr-line); }
.wc-refonte div.product .woocommerce-tabs ul.tabs li a { font: 400 12px var(--wcr-sans); letter-spacing: .16em; text-transform: uppercase; }
.wc-refonte .woocommerce-message, .wc-refonte .woocommerce-info { border-top-color: var(--wcr-gold); background: var(--wcr-sand); }
.wc-refonte .woocommerce-message::before, .wc-refonte .woocommerce-info::before { color: var(--wcr-gold); }

/* Pied de page */
.wc-refonte .site-footer, .wc-refonte #footer-widgets, .wc-refonte .footer-widgets, .wc-refonte .site-info { background: var(--wcr-sand); color: var(--wcr-muted); }
.wc-refonte #footer-widgets { border-top: 0; }
.wc-refonte .footer-widgets .widget-title { font: 400 11.5px var(--wcr-sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--wcr-ink); }
.wc-refonte .footer-widgets a, .wc-refonte .site-info a { color: var(--wcr-muted); }
.wc-refonte .footer-widgets a:hover, .wc-refonte .site-info a:hover { color: var(--wcr-ink); }
.wc-refonte .site-info { border-top: 1px solid var(--wcr-line); font-size: 12.5px; }

/* ---------- Page d'accueil ---------- */
.wc-refonte.home #page.grid-container, .wc-refonte.home .site.container { max-width: none; padding: 0; }
.wc-refonte.home .site-content { display: block; padding: 0; }
.wcr-home { display: block; }
.wcr-home img { display: block; max-width: 100%; }
.wcr-wrap { max-width: 1320px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wcr-cap { font: 400 11.5px/1.4 var(--wcr-sans); letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.wcr-gold { color: var(--wcr-gold); }
.wcr-muted { color: var(--wcr-muted); }
.wcr-small { font-size: 13.5px; margin-top: 10px; }
.wcr-home h1, .wcr-home h2 { margin: 0; line-height: 1.08; text-wrap: balance; }
.wcr-home h2 { font-size: clamp(34px, 4vw, 50px) !important; }
.wcr-section { padding: 84px 0; }
.wcr-pt0 { padding-top: 0; }
.wcr-title { text-align: center; margin-bottom: 40px; display: grid; gap: 10px; justify-items: center; }
.wcr-center { text-align: center; margin-top: 44px; }

.wcr-home .wcr-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; padding: 16px 28px; font: 400 12px var(--wcr-sans); letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--wcr-ink); background: var(--wcr-ink); color: #fff; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.wcr-home .wcr-btn:hover { background: transparent; color: var(--wcr-ink); }
.wcr-home .wcr-btn-light { background: #fff; color: var(--wcr-ink); border-color: #fff; }
.wcr-home .wcr-btn-light:hover { background: transparent; color: #fff; }
.wcr-home .wcr-btn-line { background: transparent; color: #fff; border-color: #fff; }
.wcr-home .wcr-btn-line:hover { background: #fff; color: var(--wcr-ink); }
.wcr-home .wcr-full { width: 100%; }

/* Hero */
.wcr-hero { position: relative; }
.wcr-hero-imgs { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 4px; }
.wcr-hero-imgs img { width: 100%; height: clamp(420px, 62vw, 680px); object-fit: cover; }
.wcr-hero-over { position: absolute; inset: 0; display: grid; place-items: end center; padding: 0 16px clamp(36px, 6vw, 72px); background: linear-gradient(180deg, rgba(28,25,21,0) 45%, rgba(28,25,21,.55)); color: #fff; text-align: center; }
.wcr-hero h1 { font-size: clamp(42px, 6.2vw, 84px) !important; color: #fff !important; margin-top: 16px; }
.wcr-hero h1 em { font-style: italic; }
.wcr-hero-lead { margin: 14px auto 26px; font-size: 16px; max-width: 42ch; color: #fff; }
.wcr-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Categories */
.wcr-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wcr-cats a { display: grid; gap: 14px; text-align: center; text-decoration: none !important; }
.wcr-ph { display: block; overflow: hidden; background: var(--wcr-sand); position: relative; }
.wcr-cats img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .8s ease; }
.wcr-cats a:hover img { transform: scale(1.05); }

/* Onglets + grille */
.wcr-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 30px; margin-bottom: 36px; }
.wcr-tabs button { background: none !important; border: 0 !important; border-bottom: 1px solid transparent !important; padding: 6px 0 !important; cursor: pointer; color: var(--wcr-muted) !important; font: 400 11.5px var(--wcr-sans) !important; letter-spacing: .2em !important; text-transform: uppercase; }
.wcr-tabs button[aria-selected="true"] { color: var(--wcr-ink) !important; border-bottom-color: var(--wcr-ink) !important; }
.wcr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 18px; }
.wcr-card { display: grid; gap: 6px; align-content: start; min-width: 0; }
.wcr-card[hidden] { display: none; }
.wcr-card .wcr-ph { margin-bottom: 10px; }
.wcr-card .wcr-ph img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .8s ease; }
.wcr-card:hover .wcr-ph img { transform: scale(1.05); }
.wcr-home .wcr-quick { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; margin: 0; background: rgba(255,255,255,.94) !important; color: var(--wcr-ink) !important; border: 0 !important; padding: 15px !important; text-align: center; font: 400 11.5px var(--wcr-sans) !important; letter-spacing: .2em !important; text-transform: uppercase; transform: translateY(100%); transition: transform .3s ease, background .2s; }
.wcr-card:hover .wcr-quick, .wcr-home .wcr-quick:focus-visible, .wcr-home .wcr-quick.loading, .wcr-home .wcr-quick.added { transform: none; }
.wcr-home .wcr-quick:hover { background: var(--wcr-ink) !important; color: #fff !important; }
.wcr-home .wcr-quick.added::after { content: " ✓"; }
.wcr-home .added_to_cart { display: block; margin-top: 6px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.wcr-card h3 { font: 400 15px/1.4 var(--wcr-sans) !important; margin: 0; }
.wcr-card h3 a { text-decoration: none !important; }
.wcr-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.wcr-price { font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wcr-price .amount { color: var(--wcr-ink); }
.wcr-kind { color: var(--wcr-muted); font-size: 13px; }

/* Editorial */
.wcr-edit { display: grid; grid-template-columns: 1fr 1fr; background: var(--wcr-sand); }
.wcr-edit > img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.wcr-edit-txt { display: grid; align-content: center; justify-items: start; gap: 22px; padding: 64px clamp(24px, 6vw, 96px); }
.wcr-edit h2 { font-size: clamp(36px, 4.4vw, 58px) !important; }
.wcr-edit h2 em { font-style: italic; color: var(--wcr-gold); }
.wcr-edit p { margin: 0; color: var(--wcr-muted); max-width: 46ch; font-size: 16px; }
.wcr-edit p.wcr-cap { color: var(--wcr-gold); font-size: 11.5px; }

/* Prix */
.wcr-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wcr-prices a { position: relative; overflow: hidden; display: block; text-decoration: none !important; }
.wcr-prices img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s ease; }
.wcr-prices a:hover img { transform: scale(1.05); }
.wcr-prices-txt { position: absolute; inset: auto 0 0 0; padding: 90px 20px 24px; background: linear-gradient(transparent, rgba(28,25,21,.72)); color: #fff; text-align: center; display: grid; gap: 6px; justify-items: center; }
.wcr-prices-txt .wcr-cap { color: #fff; }
.wcr-prices strong { font: 400 clamp(30px, 3.4vw, 42px)/1 var(--wcr-serif); }
.wcr-u { border-bottom: 1px solid #fff; padding-bottom: 3px; }

/* Empilement */
.wcr-stack { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.wcr-stack > img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--wcr-sand); }
.wcr-stack h2 { font-size: clamp(32px, 3.8vw, 48px) !important; margin: 12px 0 14px !important; }
.wcr-stack > div > p.wcr-muted { margin: 0 0 26px; max-width: 46ch; }
.wcr-items { border-top: 1px solid var(--wcr-line); margin-bottom: 26px; }
.wcr-items label { display: grid; grid-template-columns: auto 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--wcr-line); cursor: pointer; font-size: 15px; }
.wcr-items input { accent-color: var(--wcr-ink); width: 16px; height: 16px; margin: 0; }
.wcr-items img { width: 64px; height: 64px; object-fit: cover; background: var(--wcr-sand); }
.wcr-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.wcr-total b { font: 400 26px var(--wcr-serif); }

/* Garanties */
.wcr-usp { border-top: 1px solid var(--wcr-line); }
.wcr-usp .wcr-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.wcr-usp .wcr-wrap > div { padding: 34px 20px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.wcr-usp .wcr-wrap > div + div { border-left: 1px solid var(--wcr-line); }
.wcr-usp svg { width: 26px; height: 26px; stroke: var(--wcr-gold); fill: none; stroke-width: 1.2; }
.wcr-usp p { margin: 0; color: var(--wcr-muted); font-size: 13.5px; }

@media (max-width: 960px) {
	.wcr-hero-imgs { grid-template-columns: 1fr 1fr; }
	.wcr-hero-imgs img:first-child { display: none; }
	.wcr-cats, .wcr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wcr-edit, .wcr-stack { grid-template-columns: 1fr; }
	.wcr-edit > img { min-height: 0; aspect-ratio: 1; }
	.wcr-usp .wcr-wrap { grid-template-columns: 1fr 1fr; }
	.wcr-usp .wcr-wrap > div:nth-child(3) { border-left: 0; }
	.wcr-usp .wcr-wrap > div:nth-child(n+3) { border-top: 1px solid var(--wcr-line); }
	.wcr-home .wcr-quick { position: static; transform: none; border: 1px solid var(--wcr-line) !important; background: #fff !important; }
	.wc-refonte ul.products li.product .button { padding: 12px 8px !important; font-size: 11px !important; letter-spacing: .12em !important; }
	.wcr-section { padding: 60px 0; }
	.wcr-section.wcr-pt0 { padding-top: 0; }
	.wc-refonte .main-title, .wc-refonte .site-title { font-size: 18px; letter-spacing: .2em !important; }
}
@media (max-width: 782px) { .wc-refonte.admin-bar .site-header { top: 0; } }
@media (max-width: 520px) {
	.wcr-hero-imgs { grid-template-columns: 1fr; }
	.wcr-hero-imgs img:nth-child(3) { display: none; }
	.wcr-hero-imgs img { height: 540px; }
	.wcr-prices { grid-template-columns: 1fr; }
	.wcr-prices img { aspect-ratio: 16/10; }
	.wcr-grid { gap: 28px 12px; }
	.wcr-row { flex-direction: column; align-items: flex-start; gap: 2px; }
	.wcr-price { white-space: normal; font-size: 14px; }
	.wcr-home .wcr-quick { padding-left: 6px !important; padding-right: 6px !important; letter-spacing: .1em !important; }
	.wcr-cats { gap: 12px; }
	.wcr-home .wcr-btn { min-width: 0; width: 100%; }
	.wcr-usp .wcr-wrap > div { padding: 24px 10px; }
	.wcr-items label { grid-template-columns: auto 52px 1fr auto; gap: 10px; font-size: 14px; }
	.wcr-items img { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .wc-refonte * { transition: none !important; } }
