/*
Theme Name: VOIE Parfums
Theme URI: http://localhost/nafha
Author: VOIE Parfums
Description: Thème WooCommerce sur mesure pour une maison de parfums d'inspiration au Maroc.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: nafha
*/

:root {
	/* VOIE brand: Soft Ivory #EEECE7 (background) · Charcoal #222525 (primary) */
	--paper: #EEECE7;
	--paper-2: #E4E1DA;
	--card: #F6F5F1;
	--ink: #222525;
	--ink-2: #4B4F4F;
	--ink-3: #858987;
	--line: #D9D6CE;
	--accent: #222525;
	--accent-2: #3A3F3F;
	--gold: #A3A6A2;
	--night: #222525;
	--wa: #1f9d55;
	--r: 14px;
	--r-lg: 22px;
	--display: "Cormorant Garamond", Georgia, serif;
	--body: "Montserrat", system-ui, sans-serif;
	--wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
p { margin: 0 0 1em; }
.ic { width: 22px; height: 22px; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.eyebrow { font: 600 .74rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 56ch; }

/* Buttons */
.btn, .button, button.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border-radius: 999px; border: 1px solid var(--ink);
	background: var(--ink); color: var(--paper); font: 600 .95rem/1 var(--body);
	cursor: pointer; transition: background .2s, color .2s, transform .2s; text-decoration: none;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover {
	background: var(--accent); border-color: var(--accent); color: #fff;
}
.btn:disabled, .woocommerce button.button:disabled, .woocommerce button.button.alt.disabled { opacity: .35; cursor: not-allowed; background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: #17844a; border-color: #17844a; color: #fff; }

/* Announcement bar */
.announce { background: var(--night); color: #D9D7D1; font-size: .8rem; letter-spacing: .04em; overflow: hidden; }
.announce-track { display: flex; width: max-content; padding: 9px 0; white-space: nowrap; animation: announce-scroll 40s linear infinite; }
.announce:hover .announce-track { animation-play-state: paused; }
.announce-group { display: flex; flex-shrink: 0; }
.announce-group span { padding-right: 56px; }
.announce-track span::before { content: "✦"; color: var(--gold); margin-right: 10px; }
@keyframes announce-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation-duration: 120s; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(238, 236, 231, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "search brand actions"; align-items: center; gap: 24px; height: 92px; }
.hdr-search { grid-area: search; min-width: 0; }
.brand { grid-area: brand; display: inline-flex; align-items: center; justify-content: center; }
.site-header .brand-logo { display: block; height: 62px; width: auto; max-width: none; }
.hdr-actions { grid-area: actions; display: flex; gap: 4px; align-items: center; justify-content: flex-end; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--paper-2); color: var(--accent); }
.nav-toggle, .nav-head { display: none; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .66rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--paper); }
.main-nav { border-top: 1px solid var(--line); }
.main-nav .menu { list-style: none; display: flex; gap: 44px; margin: 0; padding: 0; justify-content: center; }
.main-nav .menu a { position: relative; display: block; padding: 15px 0 14px; font: 600 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.main-nav .menu a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 8px; height: 1px; background: var(--gold); transition: left .25s, right .25s; }
.main-nav .menu a:hover, .main-nav .current-menu-item > a:not([href*="#"]) { color: var(--accent); }
.main-nav .menu a:hover::after, .main-nav .current-menu-item > a:not([href*="#"])::after { left: 0; right: 0; }
.scrim { position: fixed; inset: 0; z-index: 900; background: rgba(34, 37, 37, .45); backdrop-filter: blur(2px); animation: fadein .25s ease; }
.scrim[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } }
html.is-locked { overflow: hidden; }

/* Search bar (pill) + live results */
.nsearch { position: relative; display: flex; align-items: center; max-width: 360px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 20px; transition: border-color .2s, box-shadow .2s, max-width .3s; }
.nsearch:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(34, 37, 37, .08); }
.nsearch input[type=search] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0; min-height: 40px; border-radius: 0; font-size: .9rem; color: var(--ink); }
.nsearch input[type=search]:focus { outline: none; }
.nsearch input::placeholder { color: var(--ink-3); }
.nsearch-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--night); color: var(--paper); cursor: pointer; transition: background .2s; }
.nsearch-btn:hover { background: var(--accent); }
.nsearch-btn .ic { width: 18px; height: 18px; stroke-width: 1.8; }
.nsearch.is-loading .nsearch-btn .ic { animation: nspin .8s linear infinite; }
@keyframes nspin { to { transform: rotate(360deg); } }
.nsearch-res { position: absolute; left: 0; width: max(100%, 440px); top: calc(100% + 8px); z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px rgba(34, 37, 37, .14); padding: 8px; max-height: min(70vh, 520px); overflow-y: auto; text-align: left; }
.nsearch-res[hidden] { display: none; }
.nsr-item { display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: 14px; color: var(--ink); }
.nsr-item:hover, .nsr-item.is-active { background: var(--paper); color: var(--ink); }
.nsr-item img, .nsr-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--paper-2); }
.nsr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.nsr-txt strong { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nsr-num { font: italic 500 .8rem var(--display); color: var(--accent); }
.nsr-house { font-size: .82rem; color: var(--ink-3); }
.nsr-price { flex: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.nsr-all { display: block; margin-top: 4px; padding: 12px; border-top: 1px solid var(--line); text-align: center; font-weight: 600; color: var(--accent); }
.nsr-all:hover { color: var(--ink); }
.nsr-empty { margin: 0; padding: 18px; text-align: center; color: var(--ink-2); }

input[type=search], input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], textarea, select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container .select2-selection--single {
	font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; min-height: 48px; width: 100%;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 22px; padding: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 11px; right: 8px; }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-art { position: relative; height: 540px; }
.hero-bottle { position: absolute; width: 58%; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(34, 37, 37, .35); transition: transform .4s; }
.hero-bottle:hover { transform: translateY(-6px) rotate(0deg) !important; }
.hb-0 { left: 4%; top: 6%; transform: rotate(-5deg); z-index: 2; }
.hb-1 { right: 0; top: 0; width: 46%; transform: rotate(4deg); }
.hb-2 { right: 6%; bottom: 0; width: 44%; transform: rotate(-2deg); z-index: 3; }
.hero-ar { position: absolute; left: -2%; bottom: -40px; font: 600 10rem/1 var(--display); letter-spacing: .08em; color: var(--paper-2); z-index: 0; pointer-events: none; }

/* Trust */
.trust { border-block: 1px solid var(--line); background: var(--card); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 24px 20px; align-items: center; }
.trust-grid > div + div { border-left: 1px solid var(--line); }
.trust .ic { grid-row: span 2; width: 30px; height: 30px; color: var(--accent); }
.trust strong { font-size: .95rem; }
.trust span { font-size: .85rem; color: var(--ink-3); }

/* Sections */
.section { padding: 80px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.sec-head h2 { margin: 0; }
.sec-head.center { justify-content: center; text-align: center; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; white-space: nowrap; }

/* Univers */
.univers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
/* Category cards: full image, text over a soft shade at the bottom */
.uni { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 3 / 4; display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: #2b2a28; }
.uni:hover, .uni:focus-visible { color: #fff; }
.uni img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.uni::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%); transition: opacity .4s; }
.uni:hover img { transform: scale(1.06); }
.uni-body { padding: 0 24px 24px; width: 100%; }
.uni h3 { font-size: 2rem; margin: 0 0 6px; color: #fff; letter-spacing: .01em; }
.uni p { font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.82); max-width: 26ch; margin: 0 0 14px; }
.uni-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.55); }
.uni-link .ic { width: 16px; transition: transform .25s; }
.uni:hover .uni-link .ic { transform: translateX(4px); }
.uni:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Product grid & cards */
.woocommerce ul.products, ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product.card, ul.products li.card { width: auto !important; margin: 0 !important; float: none !important; padding: 0; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--paper-2); aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-num { position: absolute; left: 12px; top: 12px; font: italic 500 .9rem/1 var(--display); background: rgba(246, 245, 241, .9); padding: 6px 10px; border-radius: 999px; }
.card-tag { position: absolute; right: 12px; top: 12px; font: 600 .66rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 7px 10px; border-radius: 999px; }
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card-insp { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.card-title { font: 500 1.3rem/1.15 var(--display); margin: 0 0 4px; }
.card-house { font-size: .88rem; font-weight: 600; margin: 0 0 12px; }
.card-house span { font-weight: 400; color: var(--ink-3); }
.card-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.card-foot .price, .woocommerce ul.products li.product .price { color: var(--ink); font-weight: 700; font-size: 1rem; margin: 0; }
.from { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.card-cta { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); transition: all .2s; }
.card-cta .ic { width: 18px; }
.card:hover .card-cta { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Pack band */
.pack-band { margin-top: 90px; background: var(--night); color: #EEECE7; padding: 72px 0; position: relative; overflow: hidden; }
.pack-band::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(238, 236, 231, .10), transparent 65%); }
.pack-grid { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.pack-band .eyebrow { color: var(--gold); }
.pack-band p { color: #A9ACA8; max-width: 52ch; }
.pack-price { font-family: var(--display); line-height: .8; display: flex; align-items: flex-start; }
.pack-price span { font-size: clamp(7rem, 16vw, 13rem); font-weight: 300; font-style: italic; color: var(--gold); letter-spacing: -.05em; }
.pack-price small { font-size: 1.6rem; margin-top: 14px; }

/* Brands */
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands li a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 500 1.12rem/1.2 var(--display); transition: background .2s; }
.brands li a:hover { background: var(--card); }
.brands small { font: 600 .75rem/1 var(--body); color: var(--ink-3); }

/* Families */
.families { display: flex; flex-wrap: wrap; gap: 12px; }
.fam { display: inline-flex; flex-direction: column; padding: 18px 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); min-width: 150px; transition: transform .2s, border-color .2s; }
.fam:hover { transform: translateY(-3px); border-color: var(--ink); color: var(--ink); }
.fam span { font: 500 1.25rem/1.2 var(--display); }
.fam small { color: var(--ink-3); font-size: .8rem; }
.fam::before { content: ""; width: 26px; height: 26px; border-radius: 50%; margin-bottom: 12px; background: var(--c, var(--gold)); }
.fam-boise { --c: #7a4a2a; } .fam-oriental { --c: #a4521f; } .fam-floral { --c: #e7a3b4; } .fam-fruite { --c: #e7796a; }
.fam-frais { --c: #b9d27c; } .fam-aquatique { --c: #7fb5d3; } .fam-aromatique { --c: #8fae7e; } .fam-gourmand { --c: #c98a4b; }
.fam-cuir { --c: #5b3a2b; } .fam-oud { --c: #3e2418; } .fam-musque { --c: #d9cfc3; } .fam-epice { --c: #b5482a; } .fam-chypre { --c: #8a7b3a; }

/* How */
.how-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; padding: 56px; background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 10px; }
.steps span { grid-row: span 2; font: italic 400 2rem/1 var(--display); color: var(--accent); }
.steps strong { font-size: 1.05rem; }
.steps p { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 500 1.2rem/1.3 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 300 1.6rem/1 var(--body); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); }

/* Footer */
.site-footer { margin-top: 100px; background: var(--night); color: #CFCDC7; padding: 64px 0 0; }
.ftr { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr h4 { font: 600 .74rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.ftr a:hover { color: #fff; }
.ftr-brand p { color: #9A9D99; font-size: .93rem; max-width: 34ch; margin: 14px 0 20px; }
.site-footer .ftr-brand .brand-logo { width: 190px; height: auto; }
.ftr-icons li { display: flex; gap: 10px; align-items: center; }
.ftr-icons .ic { color: var(--gold); width: 20px; }
.ftr-legal { border-top: 1px solid #383C3C; margin-top: 56px; padding: 22px 24px; font-size: .78rem; color: #858987; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* Shop pages */
.shop-wrap, .page-wrap { padding-top: 40px; }
.woocommerce .woocommerce-breadcrumb { font-size: .82rem; color: var(--ink-3); margin-bottom: 20px; }
.woocommerce-products-header__title, .page-title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.term-description { color: var(--ink-2); max-width: 60ch; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 24px; }
.chips a, .chips button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: 500 .9rem/1 var(--body); color: var(--ink); cursor: pointer; }
.chips a.on, .chips button.on, .chips a:hover, .chips button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.woocommerce .woocommerce-result-count { color: var(--ink-3); font-size: .88rem; margin: 10px 0 24px; }
.woocommerce .woocommerce-ordering select { width: auto; min-height: 42px; padding: 8px 14px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: var(--paper); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: 1.8rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.35rem; }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--r-lg); }
.woocommerce div.product div.images { position: sticky; top: 100px; }
.woocommerce div.product > .pyramid, .woocommerce div.product > .related, .woocommerce div.product > .up-sells { grid-column: 1 / -1; }
.p-num { display: inline-block; font: italic 500 1rem/1 var(--display); color: var(--accent); border: 1px solid currentColor; padding: 7px 12px; border-radius: 999px; margin-bottom: 18px; }
.p-insp { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.p-title { margin-bottom: 6px !important; font-size: clamp(2.4rem, 4.6vw, 3.8rem) !important; }
.p-house { font-size: 1.1rem; font-weight: 600; margin-bottom: 18px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font: 600 1.5rem/1.2 var(--body); }
.p-excerpt { color: var(--ink-2); margin-top: 8px; }
.p-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 22px 0; }
.p-facts div { background: var(--card); padding: 12px 14px; }
.p-facts dt { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.p-facts dd { margin: 2px 0 0; font-weight: 600; font-size: .92rem; }
.meter { display: grid; grid-template-columns: 70px 1fr 34px; gap: 12px; align-items: center; font-size: .86rem; margin-bottom: 8px; }
.meter .bar { height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: calc(var(--v) * 20%); background: linear-gradient(90deg, var(--gold), var(--accent)); }
.meter .mv { color: var(--ink-3); text-align: right; }
.woocommerce div.product form.cart { margin: 26px 0 12px; }
.woocommerce div.product form.cart .variations { margin-bottom: 10px; border: 0; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; }
.woocommerce div.product form.cart .variations label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.size-btns { display: flex; gap: 10px; margin: 10px 0 6px; flex-wrap: wrap; }
.size-btns button { min-width: 92px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font: 600 1rem/1 var(--body); cursor: pointer; color: var(--ink); }
.size-btns button.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.woocommerce div.product .woocommerce-variation-price { margin: 8px 0 14px; }
.woocommerce .quantity .qty { width: 80px; text-align: center; border-radius: 999px; min-height: 50px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { display: flex; gap: 10px; flex-wrap: wrap; }
.woocommerce div.product form.cart .button { flex: 1; min-height: 52px; }
.btn-wa { width: 100%; }
.summary .btn-wa { min-height: 52px; }
.p-trust { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.p-trust li { display: flex; gap: 10px; align-items: center; }
.p-trust .ic { color: var(--accent); width: 20px; }
.pyramid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 48px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pyr-text { color: var(--ink-2); }
.pyr-steps { list-style: none; margin: 0; padding: 0; }
.pyr-steps li { display: grid; grid-template-columns: 140px 1fr; gap: 4px 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pyr-steps li:first-child { padding-top: 0; }
.pyr-steps li:last-child { border: 0; }
.pyr-steps span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; padding-top: 6px; }
.pyr-steps strong { font: 500 1.3rem/1.3 var(--display); }
.pyr-steps em { grid-column: 2; font-size: .82rem; color: var(--ink-3); font-style: normal; }
.related { margin-top: 64px; }
.related > h2 { margin-bottom: 26px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--card); border-radius: 12px; color: var(--ink); list-style: none; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent); }

/* Cart & checkout (classic + blocks) */
.ship-bar { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; margin-bottom: 24px; }
.ship-bar p { margin: 0 0 10px; }
.ship-bar .bar { display: block; height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.ship-bar .bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--gold), var(--accent)); }
.woocommerce table.shop_table { border-radius: var(--r); background: var(--card); border-color: var(--line); }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--body); }

/* Coffret builder */
.coffret-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.coffret-head .lead { margin: 0 auto; }
.pack-tools { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.pack-tools .chips { margin: 0; }
.pack-search { max-width: 320px; }
.pack-list { list-style: none; margin: 0 0 140px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.pack-item label { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pack-item label:hover { border-color: var(--ink-3); }
.pack-item input { position: absolute; opacity: 0; pointer-events: none; }
.pack-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.pi-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.pi-text small { font-size: .68rem; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.pi-text strong { font: 500 1.08rem/1.2 var(--display); }
.pi-text em { font-style: normal; font-size: .82rem; color: var(--ink-2); }
.pi-check { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.pi-check .ic { width: 18px; }
.pi-check .ic + .ic { display: none; }
.pack-item.on label { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pack-item.on .pi-check { background: var(--accent); border-color: var(--accent); color: #fff; }
.pack-item.on .pi-check .ic:first-child { display: none; }
.pack-item.on .pi-check .ic + .ic { display: block; }
.pack-item input:disabled + img { opacity: .45; }
.pack-item input:focus-visible ~ .pi-check { outline: 2px solid var(--accent); outline-offset: 2px; }
.pack-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(34, 37, 37, .97); color: #EEECE7; padding: 14px 0; }
.pack-bar-in { display: flex; align-items: center; gap: 24px; }
.slots { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.slot { width: 58px; height: 58px; border-radius: 12px; border: 1px dashed #5E6262; display: grid; place-items: center; position: relative; color: #858987; font-weight: 600; overflow: hidden; }
.slot.full { border: 0; cursor: pointer; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot em { position: absolute; inset: auto 0 0 0; font-size: .55rem; font-style: normal; background: rgba(0, 0, 0, .6); color: #fff; padding: 2px 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.pack-status { margin: 0; flex: 1; }
.pack-status strong { color: var(--gold); font-size: 1.2rem; }
.pack-bar .btn { background: var(--gold); border-color: var(--gold); color: var(--night); }
.pack-bar .btn:disabled { background: #3A3F3F; border-color: #3A3F3F; color: #858987; opacity: 1; }
.coffret ~ .wa-float, body.page-template-default .pack-form ~ .wa-float { bottom: 100px; }

/* Responsive */
@media (max-width: 1080px) {
	.univers { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(3, 1fr); }
	.ftr { grid-template-columns: 1fr 1fr; }
	.main-nav .menu { gap: 28px; }
}
@media (max-width: 880px) {
	.hero { padding-top: 32px; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-art { height: 360px; order: -1; }
	.hero-ar { font-size: 6.5rem; }
	.trust-grid > div { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 8px; }
	.trust .ic { grid-row: auto; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
	.woocommerce div.product div.images { position: static; }
	.pyramid, .how-grid { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
	.pack-grid { grid-template-columns: 1fr; gap: 10px; }
	.announce-track { animation-duration: 28s; }
}
@media (max-width: 600px) {
	.wrap { padding: 0 16px; }
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
	.univers { grid-template-columns: 1fr 1fr; gap: 10px; }
	.uni-body { padding: 0 14px 16px; }
	.uni h3 { font-size: 1.4rem; margin-bottom: 8px; }
	.uni p { display: none; }
	.uni-link { font-size: .64rem; letter-spacing: .12em; }
	.card-title { font-size: 1.08rem; }
	.card-house span { display: none; }
	.card-num { display: none; }
	.card-tag { left: 8px; right: auto; top: 8px; font-size: .58rem; padding: 6px 8px; }
	.trust-grid > div { padding: 16px 10px; column-gap: 10px; }
	.trust span { display: none; }
	.section { padding-top: 56px; }
	.sec-head { flex-direction: column; align-items: start; }
	.ftr { grid-template-columns: 1fr; }
	.p-facts { grid-template-columns: 1fr 1fr; }
	.pyr-steps li { grid-template-columns: 1fr; }
	.pyr-steps em { grid-column: 1; }
	.pack-bar-in { flex-wrap: wrap; gap: 10px; }
	.slot { width: 46px; height: 46px; }
	.pack-status { font-size: .85rem; }
	.pack-bar .btn { width: 100%; padding: 13px; }
	.pack-list { margin-bottom: 190px; }
	.hero-art { height: 300px; }
}

@media (max-width: 600px) {
	.nsr-item { gap: 10px; padding: 6px; }
	.nsr-item img, .nsr-ph { width: 48px; height: 48px; }
	.nsr-price { font-size: .82rem; }
}

/* Card: sizes + add to cart */
.card-sizes { margin-top: auto; display: flex; gap: 6px; margin-bottom: 12px; }
.card-sizes button { flex: 1; min-width: 0; padding: 8px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: 600 .88rem/1 var(--body); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.card-sizes button small { font-size: .7em; font-weight: 500; margin-left: 2px; }
.card-sizes button:hover { border-color: var(--ink-3); }
.card-sizes button.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.card-add { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 .88rem/1 var(--body); cursor: pointer; white-space: nowrap; transition: background .2s, transform .1s; }
.card-add:hover { background: var(--accent); }
.card-add:active { transform: scale(.97); }
.card-add .ic { width: 18px; height: 18px; }
.card-add.is-loading { pointer-events: none; opacity: .7; }
.card-add.is-loading .ic { animation: nspin .8s linear infinite; }
.card-add.is-added { background: var(--accent); }
.card-add.is-added .card-add-txt { font-size: 0; }
.card-add.is-added .card-add-txt::after { content: "Ajouté ✓"; font-size: .88rem; }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.cart-toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px); padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--night); color: #EEECE7; font-size: .9rem; box-shadow: 0 14px 34px rgba(0,0,0,.25); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.cart-toast.show { transform: translate(-50%, 0); }
.cart-toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-toast a { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; }
@media (max-width: 600px) {
	.card-sizes { gap: 4px; margin-bottom: 10px; }
	.card-sizes button { padding: 8px 2px; font-size: .8rem; border-radius: 8px; }
	.card-foot { flex-wrap: wrap; gap: 8px; }
	.card-foot .card-price { width: 100%; }
	.card-add { width: 100%; height: 40px; padding: 0 10px; }
	.card-add-long { display: none; }
	.cart-toast { bottom: 16px; font-size: .82rem; padding-left: 16px; }
}
.card-house + .card-foot { margin-top: auto; }

/* Header — tablet & mobile */
@media (max-width: 960px) {
	.hdr { grid-template-columns: auto 1fr auto; grid-template-areas: "toggle brand actions" "search search search"; gap: 4px 8px; height: auto; padding-top: 10px; padding-bottom: 12px; }
	.nav-toggle { grid-area: toggle; display: inline-grid; }
	.brand { justify-self: center; }
	.site-header .brand-logo { height: 44px; }
	.hdr-wa { display: none; }
	.hdr-search { margin-top: 6px; }
	.nsearch { max-width: none; }
	.nsearch input[type=search] { font-size: 16px; }
	.nsearch-res { width: 100%; }
	.main-nav { position: fixed; inset: 0 auto 0 0; z-index: 90; width: min(86vw, 360px); background: var(--paper); border: 0; transform: translateX(-102%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; box-shadow: 20px 0 50px rgba(34, 37, 37, .18); }
	.nav-open .main-nav { transform: none; }
	.main-nav .wrap { padding: 0 24px 32px; }
	.nav-head { display: flex; align-items: center; justify-content: space-between; height: 72px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
	.site-header .nav-head .brand-logo { height: 38px; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { padding: 18px 0; font-size: .8rem; border-bottom: 1px solid var(--line); }
	.main-nav .menu a::after { display: none; }
}

/* Side cart */
.side-cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000; width: min(100vw, 430px); display: flex; flex-direction: column; background: var(--card); box-shadow: -24px 0 60px rgba(34, 37, 37, .2); transform: translateX(102%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); visibility: hidden; outline: none; }
.cart-open .side-cart { transform: none; visibility: visible; }
.sc-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 18px 24px; border-bottom: 1px solid var(--line); }
.sc-head h2 { margin: 0; font: italic 400 1.7rem/1 var(--display); display: flex; align-items: center; gap: 10px; }
.sc-count { font: 700 .72rem/1 var(--body); font-style: normal; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--ink); color: var(--paper); display: inline-grid; place-items: center; }
.sc-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sc-body .widget_shopping_cart_content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sc-body .ship-bar { margin: 16px 24px 0; padding: 12px 16px; font-size: .86rem; border-radius: 12px; background: var(--paper); }
.sc-body .ship-bar p { margin-bottom: 8px; }
.sc-items { list-style: none; margin: 0; padding: 4px 24px; flex: 1; overflow-y: auto; }
.sc-item { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 30px 18px 0; border-bottom: 1px solid var(--line); transition: opacity .2s; }
.sc-item:last-child { border-bottom: 0; }
.sc-item.is-busy { opacity: .45; pointer-events: none; }
.sc-thumb { display: block; border-radius: 12px; overflow: hidden; background: var(--paper-2); aspect-ratio: 1; }
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-info { display: flex; flex-direction: column; min-width: 0; }
.sc-num { font: italic 500 .8rem/1.2 var(--display); color: var(--accent); }
.sc-name { font: 500 1.08rem/1.25 var(--display); color: var(--ink); margin: 2px 0; }
.sc-meta { font-size: .8rem; color: var(--ink-3); }
.sc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.sc-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.sc-qty button { width: 32px; height: 32px; border: 0; background: transparent; font: 500 1.05rem/1 var(--body); color: var(--ink); cursor: pointer; border-radius: 50%; }
.sc-qty button:hover:not(:disabled) { background: var(--paper-2); }
.sc-qty button:disabled { color: var(--line); cursor: default; }
.sc-qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .9rem; }
.sc-price { font-weight: 700; font-size: .98rem; white-space: nowrap; }
.sc-remove { position: absolute; top: 16px; right: -6px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; border-radius: 50%; }
.sc-remove:hover { background: var(--paper-2); color: var(--accent); }
.sc-remove .ic { width: 16px; height: 16px; }
.sc-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.sc-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 4px; }
.sc-total span { font: 500 1.25rem/1 var(--display); }
.sc-total strong { font-size: 1.3rem; }
.sc-note { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .78rem; color: var(--ink-2); }
.sc-note .ic { width: 16px; height: 16px; color: var(--gold); }
.sc-checkout { width: 100%; justify-content: center; min-height: 52px; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; }
.sc-view { display: block; text-align: center; margin-top: 12px; font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.sc-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 40px 24px; text-align: center; color: var(--ink-2); }
.sc-empty .ic { width: 44px; height: 44px; color: var(--gold); }
.cart-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
	.sc-head { padding-left: 18px; }
	.sc-items { padding: 4px 18px; }
	.sc-item { grid-template-columns: 72px 1fr; gap: 12px; }
	.sc-foot { padding: 16px 18px 18px; }
	.sc-body .ship-bar { margin: 12px 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.side-cart, .main-nav { transition: none; }
}

@media (max-width: 960px) {
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
	.nav-open .site-header { z-index: 950; }
}

/* Card — simple footer (price + round add button) */
.card-house { margin-bottom: 10px; }
.card-house + .card-foot { margin-top: auto; }
.card-foot .card-price { display: inline-flex; align-items: baseline; gap: 6px; width: auto; }
.card-foot .card-price small { font-size: .78rem; font-weight: 500; color: var(--ink-3); }
.card-add { width: 40px; height: 40px; padding: 0; border-radius: 50%; flex: none; }
.card-add .ic { width: 20px; height: 20px; }
@media (max-width: 600px) {
	.card-foot { flex-wrap: nowrap; }
	.card-foot .card-price { width: auto; }
	.card-add { width: 36px; height: 36px; padding: 0; }
}
/* Side cart — instant (optimistic) states */
.sc-item.is-pending { animation: scIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes scIn { from { opacity: 0; transform: translateY(-8px); } }
.sc-adding { font-size: .78rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.sc-adding::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: nspin .7s linear infinite; }
.sc-item.is-leaving { opacity: 0; transform: translateX(16px); transition: opacity .25s, transform .25s; pointer-events: none; }
.sc-skel { color: transparent !important; min-width: 72px; min-height: 1.2em; border-radius: 6px; background: linear-gradient(90deg, var(--paper-2), var(--line), var(--paper-2)); background-size: 200% 100%; animation: skel 1s linear infinite; display: inline-block; }
@keyframes skel { to { background-position: -200% 0; } }
.sc-checkout.is-wait { opacity: .6; pointer-events: none; }
.sc-item.is-busy { opacity: 1; pointer-events: auto; }

/* VOIE typography — Cormorant Garamond titles, Montserrat text */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.card-title { font-weight: 600; font-size: 1.45rem; }
.card-num, .sc-num, .nsr-num { font-weight: 600; font-size: .95rem; }
.sc-name { font-weight: 600; font-size: 1.2rem; }
.sc-head h2 { font-weight: 500; font-size: 1.9rem; }
.sc-total span { font-weight: 600; font-size: 1.4rem; }
body { font-size: 15px; }
.eyebrow { letter-spacing: .24em; }
.btn { letter-spacing: .06em; }
@media (max-width: 600px) { .card-title { font-size: 1.2rem; } }

@media (max-width: 600px) { .nsearch input::placeholder { font-size: 13.5px; letter-spacing: -.01em; } }
