/* ═══════════════════════════════════════════════════════
   Calinckx Theme — Main Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ─── Font face : Microbrew Soft Three ─── */
@font-face {
    font-family: 'Microbrew Soft Three';
    src: url('../fonts/Microbrew_Three.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ─── CSS Variables ─── */
:root {
    --color-primary: #D4881F;
    --color-primary-dark: #B8741A;
    --color-teal: #5B9E9E;
    --color-teal-dark: #4A8585;
    --color-teal-darker: #3D7171;
    --color-cream: #F7F3EC;
    --color-cream-dark: #EDE7DB;
    --color-text: #7A5D5D;
    --color-dark: #333333;
    --color-dark-light: #3A3A3A;
    --color-gray: #777777;
    --color-sand: #D8C5A7;
    --color-white: #FFFFFF;
    --color-border: #CCCCCC;

    --font-display: 'Microbrew Soft Three', 'Georgia', serif;
    --font-body: 'Raleway', 'Helvetica Neue', Arial, sans-serif;

    --header-height: 85px;
    --container-width: 1100px;
    --container-wide: 1200px;
    --container-narrow: 850px;
}

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

.footer-main,
.footer-bottom {
    background: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── Notification toasts ─── */
.notif-center {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    pointer-events: none;
}

.notif-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 4px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-dark);
    pointer-events: auto;
    animation: notifIn 0.35s ease;
    cursor: pointer;
}

.notif-toast.is-leaving {
    animation: notifOut 0.3s ease forwards;
}

.notif-toast--success {
    background: var(--color-white);
    border-left: 4px solid #4CAF50;
}

.notif-toast--error {
    background: var(--color-white);
    border-left: 4px solid #E53935;
}

.notif-toast--notice {
    background: var(--color-white);
    border-left: 4px solid #B65D17;
}

.notif-toast__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-white);
    margin-top: 1px;
}

.notif-toast--success .notif-toast__icon { background: #4CAF50; }
.notif-toast--error .notif-toast__icon { background: #E53935; }
.notif-toast--notice .notif-toast__icon { background: #B65D17; }

.notif-toast__msg {
    flex: 1;
}

@keyframes notifIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes notifOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

/* Hide default WC notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper {
    display: none !important;
}

/* ─── Scroll animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    padding: 12px 20px 9px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 20px 0 0 0;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.btn:hover {
    background-color: #9A4E13;
}

.btn--primary {
    background-color: #B65D17;
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: #9A4E13;
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .header-inner {
    height: 60px;
}

.site-header.scrolled .site-logo img {
    height: 48px;
}

.header-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 30px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.3s ease;
}

.site-logo img {
    height: 70px;
    width: auto;
    transition: height 0.3s ease;
}


/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-dark);
    transition: all 0.3s ease;
}

/* Navigation */
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav .nav-list li a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    transition: color 0.2s ease;
    position: relative;
    padding: 5px 0;
}

.main-nav .nav-list li.has-megamenu .atelier-feature {
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    text-transform: none;
    letter-spacing: 0;
    color: inherit;
    line-height: 0;
}

.main-nav .nav-list li a:hover,
.main-nav .nav-list li a.active,
.main-nav .nav-list li.current-menu-item a,
.main-nav .nav-list li.current_page_item a {
    color: var(--color-primary);
}

/* ═══ Mega Menu — Atelier V2 ═══ */
.has-megamenu {
    position: static;
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding-top: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 180ms cubic-bezier(0.2, 0.8, 0.3, 1), transform 180ms cubic-bezier(0.2, 0.8, 0.3, 1), visibility 180ms;
    pointer-events: none;
}

.has-megamenu.mega-open .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.has-megamenu.mega-closing .megamenu {
    opacity: 0;
    transform: translateY(-6px);
    transition-duration: 120ms;
}

.megamenu > .atelier-body,
.megamenu > .atelier-foot {
    /* these are direct children wrapper */
}

.megamenu {
    flex-direction: column;
    align-items: center;
}

.atelier-body {
    width: 980px;
    display: grid;
    grid-template-columns: 380px 1fr;
    background: var(--color-white);
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(20,15,5,0.35), 0 8px 20px -6px rgba(0,0,0,0.15);
}

/* Featured (left) */
.atelier-feature {
    display: block;
    padding: 0;
    margin: 0;
    text-decoration: none;
    color: inherit;
    line-height: 0;
}

.atelier-feature-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 2px;
    overflow: hidden;
}

.atelier-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.atelier-feature:hover .atelier-feature-img img {
    transform: scale(1.02);
}

.atelier-feature-overlay {
    position: absolute;
    inset: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(20,15,8,0.78) 0%, rgba(20,15,8,0.4) 40%, transparent 70%);
    color: #FBF7EC;
}

.atelier-feature-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #D9A77E;
    margin-bottom: 8px;
    font-weight: 600;
}

.atelier-feature-name {
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    line-height: 1.05;
    font-weight: 500;
    margin-bottom: 8px;
}

.atelier-feature-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(251,247,236,0.85);
    margin-bottom: 12px;
    max-width: 90%;
}

.atelier-feature-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 4px;
    align-self: flex-start;
}

/* List (right) */
.atelier-list {
    padding: 30px 30px 22px;
    display: flex;
    flex-direction: column;
}

.atelier-list-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: #5D544A;
    margin-bottom: 12px;
}

.atelier-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 6px;
    border-bottom: 1px solid #F1EBDE;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    transition: background 0.2s, padding-left 0.2s;
}

.atelier-item:last-of-type {
    border-bottom: none;
}

.atelier-item:hover {
    background: rgba(185, 109, 58, 0.06);
    padding-left: 12px;
}

.atelier-item:hover .atelier-item-name {
    color: #B96D3A;
}

.atelier-item:hover .atelier-item-arrow {
    transform: translateX(6px);
    color: #B96D3A;
}

.atelier-item:hover .atelier-thumb {
    transform: scale(1.08);
}

.atelier-thumb {
    flex: none;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.25s ease;
}

.atelier-item-text {
    flex: 1;
    min-width: 0;
}

.atelier-item-name {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    color: #2A2520;
    transition: color 0.2s;
}

.atelier-item-meta {
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    color: #5D544A;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

.atelier-item-arrow {
    color: #5D544A;
    transition: transform 0.2s, color 0.2s;
    font-size: 16px;
}

/* Footer band */
.atelier-foot {
    width: 980px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 26px;
    background: #F7F1E4;
    border-top: 1px solid #EBE2CC;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 30px 60px -20px rgba(20,15,5,0.35), 0 8px 20px -6px rgba(0,0,0,0.15);
}

.atelier-foot-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8E5028;
    margin-bottom: 4px;
    font-weight: 600;
}

.atelier-foot-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    color: #2A2520;
    line-height: 1.2;
    max-width: 480px;
}

.atelier-foot-cta,
.main-nav .nav-list li .atelier-foot-cta {
    display: inline-block !important;
    padding: 14px 34px !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    border: none !important;
    border-radius: 30px 0 0 0 !important;
    background: #B65D17 !important;
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s !important;
}

.atelier-foot-cta:hover,
.main-nav .nav-list li .atelier-foot-cta:hover {
    background: #9A4E13 !important;
    color: #fff !important;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-icon {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
    position: relative;
}

.header-icon:hover {
    opacity: 0.7;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   HERO — HOME
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 95vh;
    min-height: 550px;
    overflow: visible;
    z-index: 2;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero__bg--placeholder {
    background: linear-gradient(135deg, #8DB87C 0%, #6B9F5B 30%, #A4C68F 60%, #7BAA6A 100%);
    position: absolute;
    inset: 0;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 60%);
    z-index: 1;
}

.hero__logo {
    max-height: 320px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.35));
    animation: heroLogoIn 1.2s ease both;
}

@keyframes heroLogoIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.hero__products {
    position: absolute;
    bottom: -60px;
    left: 50%;
    max-height: 55vh;
    width: auto;
    max-width: 800px;
    z-index: 3;
    filter: drop-shadow(0 8px 30px rgba(0,0,0,0.25));
    animation: heroProductsIn 1s 0.4s ease both;
}

@keyframes heroProductsIn {
    from { opacity: 0; transform: translateX(-50%) translateY(40px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   SECTION TITLE (shared)
   ═══════════════════════════════════════════════════════ */
.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: normal;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-title--decorated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title--decorated::before,
.section-title--decorated::after {
    content: '';
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary));
    flex-shrink: 0;
}

.section-title--decorated::after {
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

/* ═══════════════════════════════════════════════════════
   SECTION PRESENTATION — HOME
   ═══════════════════════════════════════════════════════ */
.section-presentation {
    position: relative;
    z-index: 1;
    padding: 160px 0 40px;
    background: var(--color-white) url('../img/papier-home.webp') top right / 50% auto no-repeat;
}

.presentation-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.presentation-intro {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 20px;
}

.presentation-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.presentation-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
}

.presentation-text p {
    margin-bottom: 10px;
}

.presentation-text ul {
    margin: 6px 0 10px 0;
    padding-left: 0;
}

.presentation-text ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
}

.presentation-text ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--color-text);
}

/* ═══════════════════════════════════════════════════════
   SECTION PRODUCTS — HOME
   ═══════════════════════════════════════════════════════ */
.section-products {
    padding: 45px 0 60px;
    background-color: rgba(216, 197, 167, 0.5);
}

.section-products .section-title {
    margin-bottom: 18px;
}

.products-intro {
    max-width: var(--container-narrow);
    margin: 0 auto 30px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
}

.products-intro p {
    margin-bottom: 6px;
}

.products-intro strong {
    color: var(--color-dark);
    font-weight: 700;
}

/* Product Categories Grid */
.product-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.product-category {
    /* Largeur fixe = 5 par rangée (gap 20px), quel que soit le nombre de tuiles.
       1 tuile a donc la même taille que parmi 5 ; 6/7 passent à la ligne. */
    flex: 0 0 calc(20% - 16px);
    min-width: 0;
    text-align: center;
}

.product-category a {
    display: block;
    transition: transform 0.3s ease;
}

.product-category a:hover {
    transform: translateY(-5px);
}

.product-category__image {
    width: 100%;
    aspect-ratio: 259 / 177;
    overflow: hidden;
    border-radius: 30px 0 0 0;
    margin-bottom: 12px;
}

.product-category__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-category__image--placeholder {
    background: linear-gradient(135deg, #6B8F5B 0%, #4A7A3A 100%);
    border-radius: 30px 0 0 0;
    width: 100%;
    height: 100%;
}

.product-category__title {
    font-family: var(--font-display); /* Microbrew Soft Three */
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text);
}

/* CTA */
.products-cta {
    text-align: center;
}

/* ═══════════════════════════════════════════════════════
   ARCHIVE PRODUCTS / CATEGORY PAGE
   ═══════════════════════════════════════════════════════ */

/* Hero */
.archive-hero {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.archive-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.archive-hero__bg--placeholder {
    background: linear-gradient(135deg, #8DB87C 0%, #5A8F4A 100%);
    height: 100%;
}

/* Archive breadcrumb */
.archive-breadcrumb {
    padding: 14px 0;
    background: var(--color-white);
}

.archive-breadcrumb .container {
    font-size: 15px;
    color: #B65D17;
}

.archive-breadcrumb a {
    color: #B65D17;
    text-decoration: none;
    transition: opacity 0.2s;
}

.archive-breadcrumb a:hover {
    opacity: 0.7;
}

.archive-breadcrumb .sep {
    margin: 0 8px;
    opacity: 0.5;
}

.archive-breadcrumb .current {
    font-weight: 600;
}

/* Banner */
.archive-banner {
    background-color: #B65D17;
    padding: 22px 20px;
    text-align: center;
}

.archive-banner__title {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: normal;
    color: var(--color-white);
    letter-spacing: 1px;
    margin: 0;
}

/* Description */
.archive-description {
    padding: 35px 0 30px;
    background: var(--color-white);
}

.archive-description__text {
    max-width: var(--container-narrow);
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text);
}

.archive-description__text p {
    margin-bottom: 10px;
}

.archive-description__text strong {
    color: var(--color-dark);
    font-weight: 700;
}

/* Filters section */
.archive-filters {
    padding: 40px 0;
    scroll-margin-top: 70px;
    position: relative;
    z-index: 2;
    background-image: url('../img/bg-ardoise.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}

.archive-filters--empty {
    display: none;
}

.archive-filters::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.archive-filters .container {
    position: relative;
    z-index: 1;
}

.archive-filters__title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.archive-filters__title svg {
    opacity: 0.7;
}

.archive-filters__grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.archive-filter-group {
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    min-width: 220px;
    flex: 1;
    max-width: 320px;
}

.archive-filter-group__title {
    background: #B65D17;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-white);
    margin: 0;
    padding: 14px 20px;
}

.archive-filter-group__title a {
    color: var(--color-white);
    text-decoration: none;
}

.archive-filter-group__title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.archive-filter-group__list {
    list-style: none;
    margin: 0;
    padding: 10px 20px 15px;
}

.archive-filter-group__list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(216, 197, 167, 0.4);
}

.archive-filter-group__list li:last-child {
    border-bottom: none;
}

.archive-filter-group__list li a {
    font-size: 12px;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

.archive-filter-group__list li a:hover {
    color: #B65D17;
}

.archive-filter-group__list {
    max-height: 312px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #B65D17 #F0EDEA;
}

.archive-filter-group__list::-webkit-scrollbar {
    width: 8px;
}

.archive-filter-group__list::-webkit-scrollbar-track {
    background: #F0EDEA;
}

.archive-filter-group__list::-webkit-scrollbar-thumb {
    background: #B65D17;
    border-radius: 4px;
}

.archive-filter-group__list::-webkit-scrollbar-thumb:hover {
    background: #9A4E13;
}

/* Search & Filter Pro */
.archive-filters__sf .searchandfilter > ul {
    display: flex;
    gap: 20px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-filters__sf .searchandfilter > ul > li {
    background: var(--color-white);
    overflow: hidden;
    flex: 1;
    max-width: 340px;
    min-width: 250px;
    padding-top: 0 !important;
}

/* Header titles */
.archive-filters__sf .searchandfilter > ul > li > h4,
.archive-filters__sf .searchandfilter > ul > li > label:first-child {
    background: #B65D17;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-white);
    margin: 0;
    padding: 12px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 58px;
}

/* Subtitles under filter headers */
.archive-filters__sf .searchandfilter > ul > li > h4::after {
    display: block;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.8px;
    opacity: 0.75;
    margin-top: 3px;
}

.archive-filters__sf .searchandfilter > ul > li:nth-child(2) > h4::after {
    content: "HUILES ESSENTIELLES";
}

.archive-filters__sf .searchandfilter > ul > li:nth-child(3) > h4::after {
    content: "POUR LA MAISON";
}

/* Item lists */
.archive-filters__sf .searchandfilter ul li ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-filters__sf .searchandfilter ul li ul li {
    border-bottom: 1px solid #E8E4DE;
}

.archive-filters__sf .searchandfilter ul li ul li:last-child {
    border-bottom: none;
}

/* Hide checkboxes */
.archive-filters__sf .searchandfilter input[type="checkbox"],
.archive-filters__sf .searchandfilter input[type="radio"] {
    display: none !important;
}

/* Labels as links */
.archive-filters__sf .searchandfilter ul li ul li label,
.archive-filters__sf .searchandfilter ul li ul li .sf-family-link {
    display: block;
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.15s;
}

.archive-filters__sf .searchandfilter ul li ul li label:hover,
.archive-filters__sf .searchandfilter ul li ul li .sf-family-link:hover {
    background: rgba(182, 93, 23, 0.06);
    color: #B65D17;
}

/* Active/selected item */
.archive-filters__sf .searchandfilter ul li ul li label.sf-label-active,
.archive-filters__sf .searchandfilter ul li ul li.sf-option-active label {
    color: #B65D17;
    font-weight: 700;
}

/* "All" option styled */
.archive-filters__sf .searchandfilter ul li ul li:first-child label {
    color: #B65D17;
    font-weight: 700;
}

/* Hide counts */
.archive-filters__sf .searchandfilter .sf-count {
    display: none;
}

/* Plantes list: scrollable */
.archive-filters__sf .searchandfilter > ul > li:not(:first-child) ul {
    max-height: 312px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #B65D17 #F0EDEA;
}

.archive-filters__sf .searchandfilter > ul > li:not(:first-child) ul::-webkit-scrollbar {
    width: 8px;
}

.archive-filters__sf .searchandfilter > ul > li:not(:first-child) ul::-webkit-scrollbar-track {
    background: #F0EDEA;
}

.archive-filters__sf .searchandfilter > ul > li:not(:first-child) ul::-webkit-scrollbar-thumb {
    background: #B65D17;
    border-radius: 4px;
}

.archive-filters__sf .searchandfilter > ul > li:not(:first-child) ul::-webkit-scrollbar-thumb:hover {
    background: #9A4E13;
}

/* Hide submit button (auto-submit) */
.archive-filters__sf .searchandfilter input[type="submit"] {
    display: none;
}

/* S&F select fallback */
.archive-filters__sf .searchandfilter select {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-top: 1px solid #E8E4DE;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-dark);
    cursor: pointer;
    text-transform: uppercase;
}

/* S&F Results grid */
.sf-results-wrap ul.sf-products-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 0 25px !important;
    padding: 0 !important;
    float: none !important;
}

.sf-results-wrap ul.sf-products-grid::before,
.sf-results-wrap ul.sf-products-grid::after {
    display: none !important;
}


/* S&F default output fallback (hide raw elements) */
.archive-products__sf-results > .search-filter-results > br,
.archive-products__sf-results > .search-filter-results > hr {
    display: none;
}

@media (max-width: 1024px) {
    .sf-results-wrap ul.sf-products-grid {
        /* 4 col handled by product-card width */
    }
}

@media (max-width: 768px) {
    .sf-results-wrap ul.sf-products-grid {
        /* 3 col handled by product-card width */
    }

    .archive-filters__sf .searchandfilter > ul {
        flex-direction: column;
        align-items: center;
    }

    .archive-filters__sf .searchandfilter > ul > li {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sf-results-wrap ul.sf-products-grid {
        /* 2 col handled by product-card width */
    }
}

/* Products grid */
.archive-products {
    padding: 45px 0 60px;
    background: var(--color-white);
    position: relative;
}

.archive-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25vw;
    background: url('../img/bg-papier.webp') top center / 100% auto no-repeat;
    transform: rotate(180deg);
    transform-origin: center center;
    pointer-events: none;
    z-index: -1;
}

.archive-products ul.products,
.archive-products .products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 0 35px !important;
    padding: 0 !important;
    float: none !important;
}

.archive-products ul.products::before,
.archive-products ul.products::after {
    display: none !important;
}

/* ── Product Card ── */
li.product-card {
    background: var(--color-white);
    border: 1px solid #B65D17;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.25s;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

li.product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.product-card__link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.product-card__image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.product-card__image img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 10px;
    transition: transform 0.3s;
    margin: 0 !important;
    max-width: none !important;
}

li.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0EDEA;
    color: #C0B8AE;
}

.product-card__placeholder svg {
    opacity: 0.4;
}

.product-card__tag {
    position: absolute;
    top: 10px;
    left: 0;
    background: #B65D17;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px 5px 10px;
    border-radius: 0 30px 30px 0;
    z-index: 1;
}

.product-card__info {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: end;
    padding: 8px 12px 10px;
    gap: 0;
    min-height: 52px;
}

.product-card__meta {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.product-card__cat {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #B65D17;
}

.product-card__price {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.product-card__price del {
    color: #BBB;
    font-size: 12px;
    font-weight: 400;
}

.product-card__price ins {
    text-decoration: none;
}

.product-card__actions {
    grid-column: 2;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    align-self: end;
}

.product-card__icon {
    color: var(--color-primary);
    opacity: 0.5;
    transition: opacity 0.2s;
    display: flex;
}

.product-card__icon:hover {
    opacity: 1;
}

.product-card__icon--fav.is-active {
    opacity: 1;
}

.product-card__icon--fav.is-active svg {
    fill: var(--color-primary);
    stroke: var(--color-primary);
}

.product-card__icon--cart:hover {
    opacity: 1;
}

/* Header fav badge */
.fav-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Favorites page */
.favorites-content {
    padding: 45px 0 60px;
    background: var(--color-white);
}

.fav-loader {
    text-align: center;
    padding: 80px 0;
}

.fav-loader__drops {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.fav-loader__drop {
    width: 14px;
    height: 18px;
    background: #B65D17;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: favDrop 1.4s ease-in-out infinite;
}

.fav-loader__drop--2 {
    background: var(--color-primary);
    animation-delay: 0.2s;
}

.fav-loader__drop--3 {
    background: #D8C5A7;
    animation-delay: 0.4s;
}

@keyframes favDrop {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.6; }
}

.fav-loader__text {
    font-size: 13px;
    color: var(--color-text);
    letter-spacing: 0.5px;
}

.favorites-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1024px) {
    .favorites-grid { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 768px) {
    .favorites-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 480px) {
    .favorites-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Load more pagination */
.load-more-section {
    text-align: center;
    padding: 30px 0 10px;
}

.load-more-count {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    margin: 0 0 12px;
}

.load-more-count strong {
    font-weight: 800;
    color: var(--color-dark);
}

.load-more-bar {
    max-width: 300px;
    height: 6px;
    background: #E8E4DE;
    border-radius: 3px;
    margin: 0 auto 25px;
    overflow: hidden;
}

.load-more-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, #B65D17, var(--color-primary));
    border-radius: 3px;
    transition: width 0.4s ease;
}

.load-more-btn {
    display: inline-block;
}

/* Empty state */
.archive-products__empty {
    text-align: center;
    padding: 60px 0;
    color: var(--color-text);
    font-size: 14px;
}

/* CTA */
.archive-products__cta {
    text-align: center;
    margin-top: 30px;
}

.archive-products__cta .btn {
    background: transparent;
    color: #B65D17;
    border: 2px solid #B65D17;
}

.archive-products__cta .btn:hover {
    background: #B65D17;
    color: var(--color-white);
}

/* ═══════════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════════ */

/* ============================================================
   CART REDESIGN — « Mon panier » (handoff hifi), scoped .cart-rd
   ============================================================ */
.cart-rd {
    --terra:#b8601f; --terra-deep:#9c4f17; --terra-soft:#e9d4bf;
    --teal:#3f7268; --teal-deep:#2f5750;
    --ck-cream:#f6f0e4; --ck-cream-2:#efe6d3; --ck-cream-3:#faf6ec;
    --sand:#dccbaa;
    --ck-ink:#463d33; --ck-ink-soft:#8a7e6e; --ck-brown:#6e5544;
    --ck-line:rgba(70,61,51,.13);
    --ck-ok:#4f8a5b;
    --ck-os:"Oswald", sans-serif;
    --ck-body:"Mulish", system-ui, sans-serif;
    color:var(--ck-ink);
    font-family:var(--ck-body);
}
.cart-rd *{ box-sizing:border-box; }

.cart-rd-container{ max-width:1280px; margin:0 auto; padding:0 48px; }

/* breadcrumb */
.cart-rd .cart-bread-wrap{ background:var(--color-white); }
.cart-rd .cart-bread{ padding:18px 0 14px; font-size:12.5px; letter-spacing:.04em;
    color:var(--ck-ink-soft); display:flex; gap:8px; align-items:center; }
.cart-rd .cart-bread a{ color:var(--ck-ink-soft); text-decoration:none; transition:color .15s ease; }
.cart-rd .cart-bread a:hover{ color:var(--terra); }
.cart-rd .cart-bread .sep{ opacity:.55; }
.cart-rd .cart-bread b{ color:var(--ck-brown); font-weight:600; }

/* title band */
.cart-rd .cart-band{ background:linear-gradient(120deg,var(--terra) 0%, #a9551b 100%);
    position:relative; overflow:hidden; }
.cart-rd .cart-band-inner{ padding-top:30px; padding-bottom:30px; position:relative; z-index:1; }
.cart-rd .cart-band h1{ font-family:var(--ck-os); font-weight:500; text-transform:uppercase;
    letter-spacing:.14em; color:#fff; font-size:30px; margin:0; line-height:1.04; text-align:center; }
.cart-rd .cart-band p{ margin:6px 0 0; color:rgba(255,255,255,.82); font-size:14px; }

/* content shell */
.cart-rd .cart-content{ background:var(--color-white); padding:0; }

/* free-shipping nudge */
.cart-rd .ship-nudge{ margin:26px 0 0; background:var(--ck-cream-3); border:1px solid var(--ck-line);
    border-radius:13px; padding:16px 22px; display:flex; align-items:center; gap:18px; }
.cart-rd .ship-nudge .ic{ width:42px; height:42px; border-radius:11px; background:#fff;
    border:1px solid var(--ck-line); display:flex; align-items:center; justify-content:center;
    color:var(--terra); flex:none; }
.cart-rd .ship-nudge .txt{ flex:1; }
.cart-rd .ship-nudge .txt p{ margin:0; font-size:14px; color:var(--ck-ink); }
.cart-rd .ship-nudge .txt b{ color:var(--terra); font-weight:700; }
.cart-rd .ship-nudge .txt b .woocommerce-Price-amount{ color:inherit; }
.cart-rd .ship-bar{ margin-top:9px; height:7px; border-radius:5px; background:var(--ck-cream-2); overflow:hidden; }
.cart-rd .ship-bar i{ display:block; height:100%; border-radius:5px;
    background:linear-gradient(90deg,var(--terra),#d98a3d); transition:width .4s ease; }

/* main grid */
.cart-rd .cart-main{ padding:30px 0 70px; display:grid; grid-template-columns:1fr 372px;
    gap:40px; align-items:start; }

/* items head */
.cart-rd .items-head{ display:flex; align-items:center; justify-content:space-between;
    padding:0 4px 14px; border-bottom:1px solid var(--ck-line); }
.cart-rd .items-head .t{ font-family:var(--ck-os); font-weight:500; text-transform:uppercase;
    letter-spacing:.1em; font-size:13px; color:var(--ck-ink-soft); }
.cart-rd .items-head .c{ font-size:13px; color:var(--ck-ink-soft); }
.cart-rd .items-head .c b{ color:var(--ck-brown); font-weight:700; }

/* line item — bigger thumbnail (140px) for real product photos */
.cart-rd .item{ display:grid; grid-template-columns:140px 1fr auto; gap:26px; padding:26px 4px;
    border-bottom:1px solid var(--ck-line); align-items:center; }
.cart-rd .item-thumb{ width:140px; height:140px; border-radius:14px; position:relative; overflow:hidden;
    display:flex; align-items:center; justify-content:center; border:1px solid var(--ck-line); background:#fff; }
.cart-rd .item-thumb a{ display:block; width:100%; height:100%; }
.cart-rd .item-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.cart-rd .item-info{ min-width:0; }
.cart-rd .item-cat{ font-family:var(--ck-body); font-weight:700; font-size:10px; letter-spacing:.14em;
    text-transform:uppercase; color:var(--terra); display:flex; align-items:center; gap:6px; margin-bottom:7px; }
.cart-rd .item-cat .dot{ width:6px; height:6px; border-radius:50%; background:var(--terra); flex:none; }
.cart-rd .item-name{ font-family:var(--ck-os); font-weight:500; font-size:18px; text-transform:uppercase;
    letter-spacing:.03em; color:var(--ck-ink); margin:0 0 5px; line-height:1.15; }
.cart-rd .item-name a{ color:inherit; text-decoration:none; transition:color .15s ease; }
.cart-rd .item-name a:hover{ color:var(--terra); }
.cart-rd .item-meta{ font-size:12px; color:var(--ck-ink-soft); margin:0 0 4px; }
.cart-rd .item-meta dl, .cart-rd .item-meta p{ margin:0; }
.cart-rd .item-meta dt{ font-weight:700; display:inline; margin:0 4px 0 0; }
.cart-rd .item-meta dd{ display:inline; margin:0 10px 0 0; }
.cart-rd .item-meta dd p{ display:inline; }
.cart-rd .item-desc{ margin:0; font-size:13px; line-height:1.5; color:var(--ck-ink-soft); max-width:46ch; }
.cart-rd .item-unit{ margin:9px 0 0; font-size:12.5px; color:var(--ck-brown); }
.cart-rd .item-unit b, .cart-rd .item-unit .woocommerce-Price-amount{ font-family:var(--ck-os);
    font-weight:500; color:inherit; }

.cart-rd .item-right{ display:flex; flex-direction:column; align-items:flex-end; gap:14px; }
.cart-rd .item-total{ font-family:var(--ck-os); font-weight:500; font-size:20px; color:var(--ck-brown);
    white-space:nowrap; }
.cart-rd .item-total .woocommerce-Price-amount{ color:inherit; font-family:var(--ck-os); }

/* stepper */
.cart-rd .stepper{ display:inline-flex; align-items:center; border:1px solid var(--ck-line);
    border-radius:9px; overflow:hidden; background:#fff; }
.cart-rd .stepper button{ width:34px; height:36px; border:none; background:none; cursor:pointer;
    color:var(--ck-brown); display:flex; align-items:center; justify-content:center; padding:0;
    transition:background .15s ease, color .15s ease; }
.cart-rd .stepper button:hover{ background:var(--ck-cream); color:var(--terra); }
.cart-rd .stepper .val{ width:38px; height:36px; line-height:36px; text-align:center; background:#fff;
    font-family:var(--ck-os); font-weight:500; font-size:15px; color:var(--ck-ink);
    border:none; border-left:1px solid var(--ck-line); border-right:1px solid var(--ck-line);
    border-radius:0; padding:0; -moz-appearance:textfield; appearance:textfield; }
.cart-rd .stepper .val::-webkit-outer-spin-button,
.cart-rd .stepper .val::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.cart-rd .item-remove{ background:none; border:none; cursor:pointer; color:#b6ab9b; padding:4px;
    display:inline-flex; align-items:center; gap:6px; font-size:12px; text-decoration:none;
    transition:color .15s ease; }
.cart-rd .item-remove:hover{ color:var(--terra); }

/* bottom action */
.cart-rd .cart-actions{ display:flex; align-items:center; justify-content:space-between; padding:20px 4px 0; gap:14px; }
.cart-rd .link-back{ display:inline-flex; align-items:center; gap:8px; color:var(--ck-brown);
    text-decoration:none; font-size:13.5px; font-weight:600; transition:color .15s ease; }
.cart-rd .link-back:hover{ color:var(--terra); }
.cart-rd .cart-update-btn{ display:inline-flex; align-items:center; border:1px solid var(--ck-line);
    background:#fff; color:var(--ck-brown); border-radius:9px; padding:9px 16px; cursor:pointer;
    font-family:var(--ck-os); font-weight:500; font-size:12px; letter-spacing:.06em; text-transform:uppercase;
    transition:background .15s ease, color .15s ease, border-color .15s ease; }
.cart-rd .cart-update-btn:hover{ background:var(--ck-cream); color:var(--terra); border-color:var(--terra-soft); }
.cart-rd .cart-main.js-live .cart-update-btn{ display:none; }
.cart-rd .cart-main.is-updating{ opacity:.55; pointer-events:none; transition:opacity .15s ease; }

/* summary (sticky) */
.cart-rd .summary{ position:sticky; top:24px; align-self:start; background:var(--ck-cream-3);
    border:1px solid var(--ck-line); border-radius:16px; padding:28px 26px; }
.cart-rd .summary h2{ font-family:var(--ck-os); font-weight:500; text-transform:uppercase;
    letter-spacing:.08em; font-size:16px; color:var(--ck-ink); margin:0 0 18px; }
.cart-rd .sum-row{ display:flex; align-items:center; justify-content:space-between; padding:9px 0;
    font-size:14px; color:var(--ck-ink); gap:12px; }
.cart-rd .sum-row .lbl{ color:var(--ck-ink-soft); }
.cart-rd .sum-row .val{ font-family:var(--ck-os); font-weight:500; font-size:15px; color:var(--ck-brown);
    white-space:nowrap; }
.cart-rd .sum-row .val.free{ color:var(--ck-ok); }
.cart-rd .sum-row .val .woocommerce-Price-amount{ color:inherit; font-family:var(--ck-os); }
.cart-rd .sum-row .val a{ color:var(--ck-ink-soft); margin-left:6px; text-decoration:none; font-family:var(--ck-body); }
.cart-rd .sum-row .val a:hover{ color:var(--terra); }
.cart-rd .sum-div{ height:1px; background:var(--ck-line); margin:10px 0; }

/* promo accordion */
.cart-rd .promo{ border:1px dashed var(--sand); border-radius:11px; background:#fff; margin:6px 0 16px; overflow:hidden; }
.cart-rd .promo-head{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:10px; padding:13px 15px;
    font-size:13.5px; color:var(--ck-brown); font-weight:600; font-family:var(--ck-body); -webkit-user-select:none; user-select:none; }
.cart-rd .promo-head::-webkit-details-marker{ display:none; }
.cart-rd .promo-head::marker{ content:""; }
.cart-rd .promo-head .tag{ color:var(--terra); display:flex; }
.cart-rd .promo-head__label{ flex:1; }
.cart-rd .promo-head .chev{ color:var(--ck-ink-soft); transition:transform .3s ease; display:flex; }
.cart-rd .promo[open] .promo-head .chev{ transform:rotate(180deg); }
.cart-rd .promo-body{ overflow:hidden; }
@keyframes ckPromoReveal{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:translateY(0); } }
.cart-rd .promo[open] .promo-body{ animation:ckPromoReveal .26s ease; }
.cart-rd .promo-form{ display:flex; gap:8px; padding:0 13px 14px; }
.cart-rd .promo-form input{ flex:1; min-width:0; border:1px solid var(--ck-line); border-radius:8px;
    background:#fff; padding:10px 12px; font-family:var(--ck-body); font-size:13.5px; color:var(--ck-ink); }
.cart-rd .promo-form input:focus{ outline:none; border-color:var(--terra); box-shadow:0 0 0 3px rgba(184,96,31,.12); }
.cart-rd .promo-form button{ border:none; background:var(--ck-brown); color:#fff; border-radius:8px; padding:0 16px;
    font-family:var(--ck-os); font-weight:500; font-size:12px; letter-spacing:.08em; text-transform:uppercase;
    cursor:pointer; transition:background .15s ease; }
.cart-rd .promo-form button:hover{ background:var(--ck-ink); }

/* total */
.cart-rd .sum-total{ display:flex; align-items:baseline; justify-content:space-between; margin:6px 0 4px; gap:12px; }
.cart-rd .sum-total .lbl{ font-family:var(--ck-os); font-weight:500; text-transform:uppercase;
    letter-spacing:.06em; font-size:15px; color:var(--ck-ink); }
.cart-rd .sum-total .val{ font-family:var(--ck-os); font-weight:600; font-size:30px; color:var(--terra); white-space:nowrap; }
.cart-rd .sum-total .val .woocommerce-Price-amount{ color:inherit; font-family:var(--ck-os); font-weight:600; }
.cart-rd .sum-vat{ margin:0 0 18px; font-size:11.5px; color:#b6ab9b; text-align:right; }

/* checkout CTA */
.cart-rd .checkout{ width:100%; display:flex; align-items:center; justify-content:center; gap:10px;
    background:var(--terra); color:#fff; border:none; border-radius:11px; padding:16px; cursor:pointer;
    font-family:var(--ck-os); font-weight:500; font-size:15px; letter-spacing:.1em; text-transform:uppercase;
    text-decoration:none; transition:background .18s ease, transform .15s ease; }
.cart-rd .checkout:hover{ background:var(--terra-deep); transform:translateY(-1px); color:#fff; }
.cart-rd .checkout-note{ margin:12px 0 0; text-align:center; font-size:12px; color:var(--ck-ink-soft);
    display:flex; align-items:center; justify-content:center; gap:7px; }
.cart-rd .checkout-note svg{ color:var(--ck-ok); }

/* reassurance */
.cart-rd .reassure{ margin-top:18px; display:grid; gap:12px; }
.cart-rd .reassure .r{ display:flex; align-items:center; gap:12px; }
.cart-rd .reassure .r .ic{ width:36px; height:36px; border-radius:10px; background:#fff; border:1px solid var(--ck-line);
    display:flex; align-items:center; justify-content:center; color:var(--teal); flex:none; }
.cart-rd .reassure .r p{ margin:0; font-size:12.5px; line-height:1.4; color:var(--ck-ink-soft); }
.cart-rd .reassure .r b{ color:var(--ck-brown); font-weight:700; display:block; font-size:13px; }

/* payment logos */
.cart-rd .pay-row{ display:flex; align-items:center; gap:8px; justify-content:center; margin-top:18px;
    padding-top:16px; border-top:1px solid var(--ck-line); flex-wrap:wrap; }
.cart-rd .pay-row .chip{ height:26px; padding:0 8px; border-radius:5px; border:1px solid var(--ck-line);
    background:#fff; display:flex; align-items:center; }
.cart-rd .pay-row .chip img{ height:15px; width:auto; display:block; }

/* empty cart */
.cart-rd .cart-empty-rd{ text-align:center; padding:64px 0 84px; max-width:520px; margin:0 auto; }
.cart-rd .cart-empty-rd__ic{ display:inline-flex; align-items:center; justify-content:center; width:84px; height:84px;
    border-radius:50%; background:var(--ck-cream-3); border:1px solid var(--ck-line); color:var(--terra); margin-bottom:22px; }
.cart-rd .cart-empty-rd__title{ font-family:var(--ck-os); font-weight:500; text-transform:uppercase;
    letter-spacing:.08em; font-size:24px; color:var(--ck-ink); margin:0 0 10px; }
.cart-rd .cart-empty-rd__text{ font-size:14px; color:var(--ck-ink-soft); margin:0 0 26px; }
.cart-rd .cart-empty-rd__cta{ display:inline-flex; width:auto; padding:15px 34px; }

/* WC notices (default WC css is dequeued) */
.cart-rd .woocommerce-message, .cart-rd .woocommerce-error, .cart-rd .woocommerce-info{
    list-style:none; margin:0 0 18px; padding:13px 18px; border-radius:11px; font-size:13.5px;
    border:1px solid var(--ck-line); }
.cart-rd .woocommerce-message{ background:#eef6ef; border-color:#cfe6d3; color:#2f5d3a; }
.cart-rd .woocommerce-error{ background:#fbeeee; border-color:#ecc9c9; color:#8a3a3a; }
.cart-rd .woocommerce-info{ background:var(--ck-cream-3); color:var(--ck-brown); }
.cart-rd .woocommerce-message a, .cart-rd .woocommerce-error a, .cart-rd .woocommerce-info a{
    color:inherit; font-weight:700; text-decoration:underline; }

/* responsive */
@media (max-width: 980px){
    .cart-rd .cart-main{ grid-template-columns:1fr; gap:30px; }
    .cart-rd .summary{ position:static; }
}
@media (max-width: 768px){
    .cart-rd-container{ padding:0 18px; }
    .cart-rd .cart-band h1{ font-size:24px; }
    .cart-rd .item{ grid-template-columns:104px 1fr; grid-template-areas:"thumb info" "right right"; gap:16px 18px; }
    .cart-rd .item-thumb{ width:104px; height:104px; grid-area:thumb; }
    .cart-rd .item-info{ grid-area:info; }
    .cart-rd .item-right{ grid-area:right; flex-direction:row; align-items:center; justify-content:space-between;
        width:100%; padding-top:6px; border-top:1px solid var(--ck-line); }
    .cart-rd .item-desc{ max-width:none; }
}
@media (prefers-reduced-motion: reduce){
    .cart-rd .ship-bar i, .cart-rd .promo-head .chev,
    .cart-rd .checkout, .cart-rd .cart-main{ transition:none !important; }
    .cart-rd .promo[open] .promo-body{ animation:none !important; }
}

/* Suggestions carousel */
.cart-suggestions {
    padding: 50px 0 60px;
    background: rgba(216, 197, 167, 0.3);
}

.cart-suggestions__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: normal;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 30px;
}

.cart-suggestions__track-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-suggestions__arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 2px solid #B65D17;
    border-radius: 50%;
    background: var(--color-white);
    color: #B65D17;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.cart-suggestions__arrow:hover {
    background: #B65D17;
    color: var(--color-white);
}

.cart-suggestions__track {
    display: flex;
    gap: 18px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    flex: 1;
}

.cart-suggestions__item {
    flex: 0 0 calc(20% - 15px);
    min-width: 160px;
}

.cart-suggestions__card {
    display: block;
    text-decoration: none;
    background: var(--color-white);
    border: 1px solid #B65D17;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.cart-suggestions__card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cart-suggestions__img {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.cart-suggestions__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.cart-suggestions__img .product-card__placeholder {
    position: absolute;
    inset: 0;
}

.cart-suggestions__name {
    display: block;
    padding: 8px 10px 2px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-suggestions__price {
    display: block;
    padding: 0 10px 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Suggestion card overlay + quick view button */
.cart-suggestions__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

.cart-suggestions__card:hover .cart-suggestions__overlay {
    opacity: 1;
    pointer-events: auto;
}

.cart-suggestions__qv-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    background: transparent;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.cart-suggestions__qv-btn:hover {
    background: var(--color-white);
    color: #B65D17;
}

/* Quick View Modal */
.qv-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.qv-modal.is-open {
    display: flex;
}

.qv-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    animation: qvFadeIn 0.25s ease;
}

.qv-modal__content {
    position: relative;
    background: var(--color-white);
    border-radius: 6px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
    animation: qvSlideIn 0.3s ease;
}

@keyframes qvFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes qvSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.qv-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 28px;
    color: var(--color-text);
    cursor: pointer;
    z-index: 1;
    transition: color 0.2s;
}

.qv-modal__close:hover {
    color: #B65D17;
}

.qv-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.qv-modal__img {
    background: #FAFAF8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 300px;
}

.qv-modal__img img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.qv-modal__info {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
}

.qv-modal__name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: normal;
    color: var(--color-primary);
    margin: 0 0 10px;
    line-height: 1.2;
}

.qv-modal__price {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 15px;
}

.qv-modal__desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 25px;
    flex: 1;
}

.qv-modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qv-modal__cart-btn {
    text-align: center;
}

.qv-modal__link {
    font-size: 13px;
    color: #B65D17;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s;
}

.qv-modal__link:hover {
    opacity: 0.7;
}

.qv-modal__variations {
    margin-bottom: 20px;
}

.qv-modal__var-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.qv-modal__var-select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #B65D17;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    background: var(--color-white);
    color: var(--color-dark);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    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='%23B65D17' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.qv-modal__added {
    text-align: center;
    color: #2E7D32;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    animation: qvFadeIn 0.3s ease;
}

/* Close animation */
.qv-modal.is-closing .qv-modal__overlay {
    animation: qvFadeOut 0.25s ease forwards;
}

.qv-modal.is-closing .qv-modal__content {
    animation: qvSlideOut 0.25s ease forwards;
}

@keyframes qvFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes qvSlideOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(15px) scale(0.97); }
}

@media (max-width: 600px) {
    .qv-modal__grid {
        grid-template-columns: 1fr;
    }

    .qv-modal__img {
        min-height: 200px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .cart-suggestions__item {
        flex: 0 0 calc(33.333% - 12px);
    }

    .cart-suggestions__arrow {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .cart-suggestions__item {
        flex: 0 0 calc(50% - 10px);
    }
}

/* ═══════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ═══════════════════════════════════════════════════════ */

/* Breadcrumb override for product page */
.single-product-page .breadcrumb {
    padding: 12px 0;
    background: var(--color-white);
    border-bottom: 1px solid #EEE;
    font-size: 12px;
    color: var(--color-text);
}

.single-product-page .breadcrumb a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-product-page .breadcrumb .sep {
    margin: 0 8px;
    opacity: 0.5;
}

.single-product-page .breadcrumb .current {
    font-weight: 600;
}

/* Product grid: image left, info right */
.sp-product {
    padding: 45px 0 50px;
    background: var(--color-white);
    position: relative;
    z-index: 1;
}

.sp-product__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Image */
.sp-product__image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    aspect-ratio: 1;
}

.sp-product__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sp-product__image-placeholder {
    color: #D0C8BE;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Info */
.sp-product__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: normal;
    color: var(--color-primary);
    margin: 0 0 6px;
    line-height: 1.2;
}

.sp-product__subtitle {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-text);
    margin: 0 0 18px;
}

.sp-product__price {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.sp-product__price del {
    color: #BBB;
    font-size: 16px;
    font-weight: 400;
}

.sp-product__price ins {
    text-decoration: none;
}

/* Prix par conditionnement (produits variables) — au lieu d'une fourchette */
.sp-product__price--variations {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sp-price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1.2;
}

.sp-price-line__amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
}

.sp-price-line__amount del {
    color: #BBB;
    font-size: 16px;
    font-weight: 400;
}

.sp-price-line__amount ins {
    text-decoration: none;
}

/* Conditionnement : plus fin, plus petit */
.sp-price-line__cond {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text);
    opacity: .8;
}

.sp-price-line__cond::before {
    content: "·";
    margin-right: 6px;
    opacity: .6;
}

.sp-product__short-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #F0EDEA;
}

.sp-product__short-desc p {
    margin-bottom: 8px;
}

.sp-product__desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 20px;
}

.sp-product__desc p {
    margin-bottom: 8px;
}

.sp-product__desc strong {
    color: var(--color-dark);
}

/* Stock */
.sp-product__stock {
    margin-bottom: 20px;
}

.sp-stock {
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sp-stock__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.sp-stock--in { color: #2E7D32; }
.sp-stock--in .sp-stock__dot { background: #4CAF50; }
.sp-stock--out { color: #C62828; }
.sp-stock--out .sp-stock__dot { background: #E53935; }

/* Add to cart */
.sp-product__cart {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-cart-form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.sp-qty {
    display: flex;
    align-items: center;
    border: 2px solid #B65D17;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    height: 46px;
}

.sp-qty__btn {
    width: 38px;
    height: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #B65D17;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.sp-qty__btn:hover {
    background: rgba(182, 93, 23, 0.08);
}

.sp-qty__input {
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    -moz-appearance: textfield;
    background: transparent;
}

.sp-qty__input::-webkit-outer-spin-button,
.sp-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sp-cart-btn {
    flex: 1;
    height: 46px;
    background: #B65D17;
    color: var(--color-white);
    border: none;
    border-radius: 30px 0 0 0;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.sp-cart-btn:hover {
    background: #9A4E13;
}

/* Variable product WC overrides */
.sp-product__cart .variations_form {
    width: 100%;
}

.sp-product__cart .variations {
    margin-bottom: 18px;
    width: 100%;
    border-collapse: collapse;
}

.sp-product__cart .variations tr {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sp-product__cart .variations .label {
    padding: 0;
    border: none;
}

.sp-product__cart .variations .label label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    white-space: nowrap;
}

.sp-product__cart .variations .value {
    padding: 0;
    border: none;
    flex: 1;
}

.sp-product__cart .variations select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #B65D17;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    background: var(--color-white);
    color: var(--color-dark);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    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='%23B65D17' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.sp-product__cart .variations select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(182, 93, 23, 0.15);
}

.sp-product__cart .reset_variations {
    display: inline-block;
    font-size: 11px;
    color: #B65D17;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 6px;
    transition: color 0.2s;
}

.sp-product__cart .reset_variations:hover {
    color: #9A4E13;
}

.sp-product__cart .woocommerce-variation {
    margin-bottom: 12px;
}

.sp-product__cart .woocommerce-variation .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
}

.sp-product__cart .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-product__cart .quantity {
    display: flex;
    align-items: center;
    border: 2px solid #B65D17;
    border-radius: 4px;
    overflow: hidden;
    height: 46px;
    flex-shrink: 0;
    position: relative;
}

.sp-product__cart .quantity .qty-btn {
    width: 38px;
    height: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #B65D17;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
}

.sp-product__cart .quantity .qty-btn:hover {
    background: rgba(182, 93, 23, 0.08);
}

.sp-product__cart .quantity .qty {
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    -moz-appearance: textfield;
    background: transparent;
    padding: 0;
}

.sp-product__cart .quantity .qty::-webkit-outer-spin-button,
.sp-product__cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sp-product__cart .single_add_to_cart_button {
    flex: 1;
    height: 46px;
    background: #B65D17;
    color: var(--color-white);
    border: none;
    border-radius: 30px 0 0 0;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.sp-product__cart .single_add_to_cart_button:hover {
    background: #9A4E13;
}

.sp-product__cart .single_add_to_cart_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Accordion section */
.sp-accordion-section {
    background: url('../img/bg-papier.webp') top center / cover no-repeat;
    padding: 40px 0 80px;
    position: relative;
    z-index: 0;
}

.sp-accordion-section__title {
    background: #D8C5A7;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding: 13px 30px;
    margin: 60px auto 20px;
    max-width: 800px;
    border-radius: 20px 0 0 0;
}

.sp-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.sp-accordion__item {
    background: var(--color-white);
    margin-bottom: 0;
    overflow: hidden;
    border-bottom: 1px solid #E8E4DE;
}

.sp-accordion__item:last-child {
    border-bottom: none;
}

.sp-accordion__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 12px 20px;
    border: none;
    background: var(--color-white);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    text-align: left;
    transition: background 0.15s;
}

.sp-accordion__header:hover {
    background: #FAFAF8;
}

.sp-accordion__icon {
    width: 26px;
    height: 26px;
    background: #B65D17;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.sp-accordion__item.is-open .sp-accordion__icon {
    transform: rotate(45deg);
}

.sp-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sp-accordion__body p {
    padding: 0 20px 16px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════
   PRODUCT REVIEWS / AVIS
   ═══════════════════════════════════════════════════════ */

/* Étoiles d'affichage (résumé + liste d'avis) — unicode, sans police WC */
.star-rating {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 5.2em;
    height: 1em;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    vertical-align: middle;
}
.star-rating::before {
    content: "★★★★★";
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    letter-spacing: 0.04em;
    color: #d9d2c5;
}
.star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    padding-top: 1.6em; /* pousse le texte natif hors champ */
    white-space: nowrap;
}
.star-rating span::before {
    content: "★★★★★";
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    letter-spacing: 0.04em;
    color: #B96D3A;
}

/* Résumé sous le prix */
.sp-product__rating {
    margin: -4px 0 18px;
}
.sp-rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-text);
}
.sp-rating-summary__count {
    font-family: var(--font-body);
    font-size: 13px;
    color: #6b6256;
}
.sp-rating-summary--empty {
    font-family: var(--font-body);
    font-size: 13px;
    color: #B96D3A;
}
.sp-rating-summary--empty:hover {
    text-decoration: underline;
}

/* Section avis */
.sp-reviews {
    padding: 40px 0 70px;
    display: none;
}
.sp-reviews__title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: normal;
    text-align: center;
    margin: 0 0 30px;
    color: var(--color-text);
}
.sp-reviews #reviews {
    max-width: 800px;
    margin: 0 auto;
}
.sp-reviews .woocommerce-Reviews-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px;
}
.sp-reviews .woocommerce-noreviews {
    text-align: center;
    color: #6b6256;
    font-size: 14px;
    margin-bottom: 24px;
}

/* Liste des avis */
.sp-reviews .commentlist {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
}
.sp-reviews .commentlist li {
    margin: 0 0 18px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #efe9df;
    border-radius: 8px 0 0 0;
    list-style: none;
}
.sp-reviews .comment_container {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.sp-reviews .comment_container img.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin: 0;
    flex-shrink: 0;
}
.sp-reviews .comment-text {
    flex: 1;
    min-width: 0;
}
.sp-reviews .comment-text .star-rating {
    margin: 0 0 8px;
}
.sp-reviews .meta {
    font-size: 13px;
    margin: 0 0 6px;
    color: var(--color-text);
}
.sp-reviews .woocommerce-review__author {
    font-weight: 700;
}
.sp-reviews .woocommerce-review__dash {
    color: #b8af9f;
    margin: 0 4px;
}
.sp-reviews .woocommerce-review__published-date {
    color: #9a9082;
    font-weight: 400;
}
.sp-reviews .comment-text .verified {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
    font-style: normal;
    color: #5A8F4A;
}
.sp-reviews .comment-text .description p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text);
}

/* Formulaire d'avis */
.sp-reviews #review_form_wrapper {
    background: #faf7f1;
    border-radius: 12px 0 0 0;
    padding: 26px 28px;
}
.sp-reviews .comment-reply-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}
.sp-reviews .comment-form p {
    margin: 0 0 16px;
}
.sp-reviews .comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.sp-reviews .comment-form input[type="text"],
.sp-reviews .comment-form input[type="email"],
.sp-reviews .comment-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd4c6;
    border-radius: 8px 0 0 0;
    font-family: var(--font-body);
    font-size: 14px;
    background: #fff;
}
.sp-reviews .comment-form textarea {
    min-height: 120px;
    resize: vertical;
}
.sp-reviews .comment-form-cookies-consent label {
    display: inline;
    font-weight: 400;
}
.sp-reviews .form-submit input,
.sp-reviews #submit {
    display: inline-block;
    padding: 12px 26px 9px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 20px 0 0 0;
    background: #B65D17;
    color: #fff;
    cursor: pointer;
    transition: background 0.25s ease;
}
.sp-reviews .form-submit input:hover,
.sp-reviews #submit:hover {
    background: #9A4E13;
}

/* Sélecteur d'étoiles du formulaire (rendu par single-product.js) */
.sp-reviews .comment-form-rating label {
    margin-bottom: 8px;
}
.sp-reviews p.stars {
    display: inline-block;
    margin: 0 0 16px;
}
.sp-reviews p.stars a {
    position: relative;
    display: inline-block;
    width: 1.6em;
    height: 1.6em;
    margin-right: 2px;
    text-indent: -9999px;
    text-decoration: none;
}
.sp-reviews p.stars a::before {
    content: "★";
    position: absolute;
    top: 0;
    left: 0;
    text-indent: 0;
    font-size: 1.6em;
    line-height: 1;
    color: #d9d2c5;
    transition: color 0.15s ease;
}
.sp-reviews p.stars:hover a::before { color: #B96D3A; }
.sp-reviews p.stars a:hover ~ a::before { color: #d9d2c5; }
.sp-reviews p.stars.selected a:not(.active)::before { color: #B96D3A; }
.sp-reviews p.stars.selected a.active::before { color: #B96D3A; }
.sp-reviews p.stars.selected a.active ~ a::before { color: #d9d2c5; }

/* ═══════════════════════════════════════════════════════
   REFONTE FAQ + AVIS (Variation A) — typo thème
   ═══════════════════════════════════════════════════════ */
.bandA, .reviewsA {
    --terra:#b8601f; --terra-deep:#9c4f17; --terra-soft:#e9d4bf;
    --cream:#f6f0e4; --cream-2:#efe6d3;
    --sand:#dccbaa; --tan:#d4c19c;
    --ink:#463d33; --ink-soft:#8a7e6e; --brown:#6e5544;
    --line:rgba(70,61,51,.14);
    --noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bandA .dhead, .reviewsA .dhead {
    font-family: var(--font-display), sans-serif;
    font-weight: 500; text-transform: uppercase;
    letter-spacing: .06em; margin: 0; line-height: 1.04;
}
.bandA .eyebrow {
    font-family: var(--font-body), sans-serif;
    font-weight: 700; text-transform: uppercase;
    letter-spacing: .26em; font-size: 11px; color: var(--terra);
}

/* Étoile SVG partagée (synthèse + formulaire) */
.cx-star { display: block; fill: none; stroke: #b8601f; stroke-width: 1.4px; stroke-linejoin: round; opacity: .45; }
.cx-star.is-on { fill: #b8601f; opacity: 1; }

/* ── Bande sable + carte FAQ ── */
.bandA { position: relative; padding: 96px 40px 80px; overflow: hidden; }
.sand-bg { position: absolute; inset: 0; z-index: 0;
    background:
      radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.35), transparent 55%),
      linear-gradient(180deg,#e9ddc4 0%, #ddccab 48%, #d3c09c 100%); }
.sand-bg::after { content: ""; position: absolute; inset: 0; background-image: var(--noise);
    background-size: 170px 170px; opacity: .18; mix-blend-mode: multiply; }
.sand-tear { position: absolute; top: -1px; left: 0; right: 0; height: 62px; z-index: 2;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 70' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1280 V28 C1120 54 1000 22 840 40 C690 57 560 20 400 38 C250 54 120 24 0 42 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center/100% 100%; }
.sand-bg, .sand-tear { pointer-events: none; }
.bandA-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.faqA-card { background: #fffdf8; border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 30px 60px -28px rgba(70,52,30,.45); border-radius: 6px; padding: 52px 56px 30px; }
.faqA-card .eyebrow { display: block; margin-bottom: 12px; }
.faqA-card .dhead { font-size: 42px; color: var(--ink); }
.bandA .dlead { margin: 14px 0 26px; max-width: 46ch; color: var(--ink-soft);
    font-size: 15.5px; line-height: 1.6; font-weight: 400; font-family: var(--font-body), sans-serif; }

/* Accordéon A */
.accA-row { border-top: 1px solid var(--line); }
.accA-row:last-child { border-bottom: 1px solid var(--line); }
.accA-head { width: 100%; display: flex; align-items: center; gap: 20px; padding: 22px 4px;
    background: none; border: none; cursor: pointer; text-align: left; }
.accA-idx { font-family: var(--font-display), sans-serif; font-weight: 500; font-size: 15px;
    color: var(--terra); letter-spacing: .04em; width: 24px; flex: none; }
.accA-title { flex: 1; font-family: var(--font-display), sans-serif; font-weight: 500; font-size: 18px;
    text-transform: uppercase; letter-spacing: .04em; color: var(--ink); transition: color .2s ease; }
.accA-head:hover .accA-title { color: var(--terra); }
.accA-toggle { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%;
    border: 1.5px solid var(--terra); transition: background .25s ease; }
.accA-toggle .bar { position: absolute; background: var(--terra); border-radius: 2px;
    transition: opacity .25s ease, background .25s ease; }
.accA-toggle .bar.h { width: 12px; height: 1.6px; top: 13.2px; left: 8px; }
.accA-toggle .bar.v { width: 1.6px; height: 12px; top: 8px; left: 13.2px; }
.accA-row.is-open .accA-toggle { background: var(--terra); }
.accA-row.is-open .accA-toggle .bar { background: #fff; }
.accA-row.is-open .accA-toggle .bar.v { opacity: 0; }
.accA-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.4,0,.2,1); }
.accA-row.is-open .accA-panel { grid-template-rows: 1fr; }
.accA-clip { overflow: hidden; }
.accA-body { margin: 0; padding: 2px 50px 26px 44px; color: var(--ink-soft); font-size: 15px;
    line-height: 1.72; font-weight: 400; max-width: 62ch; font-family: var(--font-body), sans-serif; }

/* ── Section avis ── */
.reviewsA { background: var(--cream); padding: 84px 40px 96px; }
.reviewsA-inner { max-width: 880px; margin: 0 auto; }
.rhead { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 40px; }
.rhead .dhead { font-size: 34px; color: var(--brown); }
.rhead-orn { height: 1px; width: 60px; background: linear-gradient(90deg,transparent,var(--terra)); }
.rhead-orn:last-child { background: linear-gradient(90deg,var(--terra),transparent); }

/* Synthèse de note */
.reviewsA .summary { display: grid; grid-template-columns: 230px 1fr; gap: 42px; align-items: center;
    border-radius: 8px; padding: 34px 40px; background: #fffdf8; border: 1px solid var(--line);
    box-shadow: 0 18px 40px -30px rgba(70,52,30,.4); }
.summary-score { text-align: center; border-right: 1px solid var(--line); padding-right: 38px; }
.summary-num { font-family: var(--font-display), sans-serif; font-weight: 300; font-size: 74px; line-height: .9; color: var(--brown); }
.summary-stars { display: flex; gap: 5px; justify-content: center; margin: 12px 0 8px; }
.summary-count { font-size: 12.5px; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; font-weight: 600; font-family: var(--font-body), sans-serif; }
.summary-barrow { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.summary-barlabel { font-size: 12px; color: var(--ink-soft); width: 30px; font-weight: 600; }
.summary-bartrack { flex: 1; height: 7px; border-radius: 5px; background: var(--cream-2); overflow: hidden; }
.summary-barfill { display: block; height: 100%; background: var(--terra); border-radius: 5px; }
.summary-barpct { font-size: 11px; color: #b6ab9b; width: 16px; text-align: right; }
.summary-invite { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); font-family: var(--font-body), sans-serif; }
.summary-invite strong { color: var(--terra); font-weight: 700; }

/* Liste des avis (rendu woocommerce_comment) */
.reviewsA-list { list-style: none; margin: 30px 0 0; padding: 0; }
.reviewsA-list li.comment, .reviewsA-list li.review { list-style: none; margin: 0 0 16px; padding: 20px 22px;
    background: #fffdf8; border: 1px solid var(--line); border-radius: 8px; }
.reviewsA-list .comment_container { display: flex; gap: 14px; align-items: flex-start; }
.reviewsA-list img.avatar { width: 44px; height: 44px; border-radius: 50%; margin: 0; flex: none; }
.reviewsA-list .comment-text { flex: 1; min-width: 0; }
.reviewsA-list .star-rating { margin: 0 0 8px; }
.reviewsA-list .star-rating span::before { color: #b8601f; }
.reviewsA-list .meta { font-size: 13px; margin: 0 0 6px; color: var(--ink); font-family: var(--font-body), sans-serif; }
.reviewsA-list .woocommerce-review__author { font-weight: 700; }
.reviewsA-list .woocommerce-review__dash { color: #b8af9f; margin: 0 4px; }
.reviewsA-list .woocommerce-review__published-date { color: #9a9082; }
.reviewsA-list .description p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink); font-family: var(--font-body), sans-serif; }
.reviewsA-list .verified { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; font-style: normal; color: #5A8F4A; }

/* Formulaire d'avis */
.rform-wrap { margin-top: 30px; }
.rform { background: #fffdf8; border: 1px solid var(--line); border-radius: 8px; padding: 42px 46px;
    box-shadow: 0 18px 40px -30px rgba(70,52,30,.4); }
.rform-title { font-family: var(--font-display), sans-serif; font-weight: 500; text-transform: uppercase;
    letter-spacing: .04em; font-size: 21px; color: var(--ink); margin: 0; }
.rform-sub { margin: 6px 0 26px; font-size: 13.5px; color: var(--ink-soft); font-family: var(--font-body), sans-serif; }
.rform-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: var(--brown); margin-bottom: 10px; font-family: var(--font-body), sans-serif; }
.rform-label span { color: var(--terra); }
.rform-stars { display: flex; gap: 6px; }
.rform-star { background: none; border: none; padding: 2px; cursor: pointer; line-height: 0; transition: transform .15s ease; }
.rform-star.on { transform: scale(1.08); }
.rform-star.on .cx-star { fill: #b8601f; opacity: 1; }
.rform-area, .rform-input { width: 100%; border: 1px solid var(--line); border-radius: 5px; background: #fff;
    padding: 13px 15px; font-family: var(--font-body), sans-serif; font-size: 14.5px; color: var(--ink);
    resize: vertical; transition: border-color .2s ease, box-shadow .2s ease; }
.rform-area::placeholder, .rform-input::placeholder { color: #b8ad9c; }
.rform-area:focus, .rform-input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(184,96,31,.12); }
.rform-submit { margin-top: 24px; background: var(--terra); color: #fff; border: none;
    font-family: var(--font-display), sans-serif; font-weight: 500; text-transform: uppercase;
    letter-spacing: .12em; font-size: 14px; padding: 15px 38px; border-radius: 4px; cursor: pointer;
    transition: background .2s ease, transform .15s ease; }
.rform-submit:hover { background: var(--terra-deep); transform: translateY(-1px); }
.rform-note { margin: 14px 0 0; font-size: 12px; color: #b6ab9b; font-family: var(--font-body), sans-serif; }
.rform-error { margin: 12px 0 0; font-size: 13px; color: #c0392b; font-weight: 600; font-family: var(--font-body), sans-serif; }
.rform-login { font-family: var(--font-body), sans-serif; color: var(--ink-soft); }

/* Responsive refonte */
@media (max-width: 768px) {
    .bandA { padding: 64px 18px 56px; }
    .faqA-card { padding: 30px 22px 18px; }
    .faqA-card .dhead { font-size: 30px; }
    .accA-body { padding: 2px 8px 22px 44px; }
    .reviewsA { padding: 56px 18px 64px; }
    .rhead .dhead { font-size: 26px; }
    .rhead-orn { width: 30px; }
    .reviewsA .summary { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
    .summary-score { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 22px; }
    .rform { padding: 30px 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .accA-panel, .accA-toggle, .accA-toggle .bar, .accA-title,
    .rform-star, .rform-submit, .rform-area, .rform-input { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════ */

/* Page Hero (shared for internal pages) */
.page-hero {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.page-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero__bg--placeholder {
    background: linear-gradient(135deg, #8DB87C 0%, #5A8F4A 100%);
    height: 100%;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    background: var(--color-white);
    border-bottom: 1px solid #EEE;
}

.breadcrumb__current {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Contact Banner */
.contact-banner {
    background-color: #B65D17;
    padding: 22px 0;
    text-align: center;
}

.contact-banner__title {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: normal;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 50px 0 60px;
    background: var(--color-white);
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-dark-light);
    font-style: italic;
}

.contact-intro em {
    font-style: italic;
}

/* Contact Messages */
.contact-message {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 15px 20px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.contact-message--success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.contact-message--error {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFCC80;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 18px;
}

.form-inputs-row {
    display: flex;
    gap: 30px;
}

.form-inputs-row input {
    flex: 1;
    min-width: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-dark);
}

.form-group .required {
    color: var(--color-primary);
    margin-left: 2px;
}

/* Layout with label on left, input on right */
.form-group--labeled {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-group--labeled label {
    min-width: 120px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.form-group--labeled input {
    flex: 1;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 0;
    background: var(--color-white);
    transition: border-color 0.2s ease;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #AAA;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-teal);
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

/* reCAPTCHA */
.form-captcha {
    margin: 20px 0;
}

.recaptcha-placeholder {
    border: 1px solid var(--color-border);
    padding: 15px 20px;
    background: #FAFAFA;
    color: #999;
    font-size: 13px;
    display: inline-block;
}

/* Submit */
.form-submit {
    text-align: center;
    margin: 30px 0 20px;
}

.form-privacy {
    font-size: 12px;
    line-height: 1.6;
    color: #888;
}

/* ═══════════════════════════════════════════════════════
   WOOCOMMERCE — MY ACCOUNT
   ═══════════════════════════════════════════════════════ */

/* Banner */
.account-banner {
    background-color: #B65D17;
    padding: 28px 0;
    text-align: center;
}

.account-banner__title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: normal;
    color: var(--color-white);
    letter-spacing: 2px;
    margin: 0;
}

/* Content wrapper */
.account-content-section {
    padding: 50px 0 80px;
    background: var(--color-white);
}

/* ── Reset WooCommerce defaults on this page ── */
.account-page .woocommerce {
    padding: 0;
    margin: 0;
}

.account-page .woocommerce::before,
.account-page .woocommerce::after {
    display: none;
}

/* ═══════════════════════════════════════
   LOGIN FORM (not logged in)
   ═══════════════════════════════════════ */

/* Card wrapping the whole login block (h2 + form) */
.account-page .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) {
    max-width: 480px;
    margin: 0 auto;
    padding: 50px 50px 40px;
    background: var(--color-white);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    border-radius: 4px;
}

.account-page .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) .woocommerce-notices-wrapper:empty {
    display: none;
}

/* Login title */
.account-page .woocommerce > h2 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: normal;
    color: var(--color-primary);
    text-align: center;
    margin: 0 0 35px;
    line-height: 1.2;
}

/* Login / Register side-by-side (if registration is enabled) */
.account-page #customer_login {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    max-width: 880px;
    margin: 0 auto;
}

.account-page #customer_login > div {
    flex: 1;
    min-width: 300px;
    padding: 45px 50px 40px;
    background: var(--color-white);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
}

.account-page #customer_login > div:last-child {
    border-left: 1px solid #F0EDEA;
}

.account-page #customer_login h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: normal;
    color: var(--color-primary);
    text-align: center;
    margin: 0 0 30px;
    line-height: 1.2;
}

/* Form rows (WooCommerce uses <p> tags) */
.account-page .woocommerce-form .form-row,
.account-page .woocommerce-form .woocommerce-form-row {
    margin: 0 0 22px;
    padding: 0;
}

.account-page .woocommerce-form label {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.account-page .woocommerce-form label .required {
    color: var(--color-primary);
    margin-left: 2px;
}

/* Inputs */
.account-page .woocommerce-form .input-text,
.account-page .woocommerce-form input[type="text"],
.account-page .woocommerce-form input[type="email"],
.account-page .woocommerce-form input[type="password"],
.account-page .woocommerce-form input[type="tel"],
.account-page .woocommerce-form select,
.account-page .woocommerce-EditAccountForm .input-text,
.account-page .woocommerce-EditAccountForm input[type="text"],
.account-page .woocommerce-EditAccountForm input[type="email"],
.account-page .woocommerce-EditAccountForm input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark);
    border: 1px solid #DDD;
    border-radius: 3px;
    background: #FAFAFA;
    transition: all 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

.account-page .woocommerce-form .input-text:focus,
.account-page .woocommerce-form input[type="text"]:focus,
.account-page .woocommerce-form input[type="email"]:focus,
.account-page .woocommerce-form input[type="password"]:focus,
.account-page .woocommerce-EditAccountForm input:focus {
    border-color: var(--color-teal);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(91, 158, 158, 0.1);
}

/* Remember me + submit row */
.account-page .woocommerce-form-login .form-row:last-of-type {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 28px;
}

.account-page .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-dark-light);
    cursor: pointer;
}

.account-page .woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--color-teal);
    cursor: pointer;
}

/* Buttons */
.account-page .woocommerce-form .button,
.account-page .woocommerce-Button,
.account-page button.woocommerce-button,
.account-page .woocommerce-MyAccount-content .button,
.account-page .woocommerce-form-login__submit {
    display: inline-block;
    padding: 13px 35px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    -webkit-appearance: none;
    border-radius: 3px;
    line-height: 1.4;
}

.account-page .woocommerce-form .button:hover,
.account-page .woocommerce-Button:hover,
.account-page button.woocommerce-button:hover,
.account-page .woocommerce-MyAccount-content .button:hover,
.account-page .woocommerce-form-login__submit:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(212, 136, 31, 0.3);
}

/* Lost password */
.account-page .woocommerce-LostPassword,
.account-page .lost_password {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #EEE;
}

.account-page .woocommerce-LostPassword a,
.account-page .lost_password a {
    font-size: 13px;
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s;
}

.account-page .woocommerce-LostPassword a:hover,
.account-page .lost_password a:hover {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ═══════════════════════════════════════
   DASHBOARD (logged in) — 2-column layout
   ═══════════════════════════════════════ */
.account-page .woocommerce:has(.woocommerce-MyAccount-navigation) {
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

/* Sidebar Navigation */
.account-page .woocommerce-MyAccount-navigation {
    width: 240px;
    flex-shrink: 0;
    background: var(--color-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 4px;
    overflow: hidden;
}

.account-page .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-page .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 1px solid #F0EDEA;
}

.account-page .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.account-page .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 22px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-dark-light);
    text-decoration: none;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.account-page .woocommerce-MyAccount-navigation ul li a:hover {
    color: var(--color-teal);
    background: rgba(91, 158, 158, 0.04);
    border-left-color: rgba(91, 158, 158, 0.3);
}

.account-page .woocommerce-MyAccount-navigation ul li.is-active a {
    color: var(--color-teal);
    font-weight: 600;
    background: rgba(91, 158, 158, 0.07);
    border-left-color: var(--color-teal);
}

/* Logout link special style */
.account-page .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #B0A090 !important;
    font-size: 12px;
}

.account-page .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    color: #C0392B !important;
    background: rgba(192, 57, 43, 0.04) !important;
    border-left-color: rgba(192, 57, 43, 0.3) !important;
}

/* Content area */
.account-page .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    background: var(--color-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 4px;
    padding: 35px 40px;
}

.account-page .woocommerce-MyAccount-content > p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-dark-light);
    margin-bottom: 12px;
}

.account-page .woocommerce-MyAccount-content > p:first-child {
    font-size: 15px;
    color: var(--color-dark);
}

.account-page .woocommerce-MyAccount-content > p a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.account-page .woocommerce-MyAccount-content > p a:hover {
    color: var(--color-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Content headings */
.account-page .woocommerce-MyAccount-content h2,
.account-page .woocommerce-MyAccount-content h3 {
    font-family: var(--font-display);
    font-weight: normal;
    color: var(--color-primary);
    margin: 0 0 25px;
    line-height: 1.3;
}

.account-page .woocommerce-MyAccount-content h2 {
    font-size: 30px;
}

.account-page .woocommerce-MyAccount-content h3 {
    font-size: 24px;
}

/* ── Orders table ── */
.account-page .woocommerce-orders-table,
.account-page .woocommerce-table--order-downloads,
.account-page .shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    border: 1px solid #EDEBE8;
    border-radius: 4px;
    overflow: hidden;
}

.account-page .woocommerce-orders-table thead th,
.account-page .woocommerce-table--order-downloads thead th,
.account-page .shop_table thead th {
    background: var(--color-teal);
    color: var(--color-white);
    padding: 13px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.account-page .woocommerce-orders-table tbody td,
.account-page .woocommerce-table--order-downloads tbody td,
.account-page .shop_table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #F0EDEA;
    color: var(--color-dark-light);
    background: var(--color-white);
    vertical-align: middle;
}

.account-page .woocommerce-orders-table tbody tr:last-child td,
.account-page .shop_table tbody tr:last-child td {
    border-bottom: none;
}

.account-page .woocommerce-orders-table tbody tr:hover td,
.account-page .shop_table tbody tr:hover td {
    background: #FDFCFA;
}

.account-page .woocommerce-orders-table .button,
.account-page .shop_table .button {
    padding: 8px 20px;
    font-size: 11px;
    border-radius: 3px;
}

/* ── Addresses ── */
.account-page .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.account-page .woocommerce-Addresses .woocommerce-Address {
    background: #FDFCFA;
    border: 1px solid #F0EDEA;
    border-radius: 4px;
    padding: 25px;
}

.account-page .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-primary);
}

.account-page .woocommerce-Address-title h3 {
    margin: 0 !important;
    font-size: 22px !important;
}

.account-page .woocommerce-Address-title a {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid var(--color-primary);
    border-radius: 3px;
    transition: all 0.2s;
}

.account-page .woocommerce-Address-title a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.account-page .woocommerce-Address address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-dark-light);
}

/* ── Edit account form ── */
.account-page .woocommerce-EditAccountForm .form-row {
    margin-bottom: 22px;
}

.account-page .woocommerce-EditAccountForm fieldset {
    border: none;
    padding: 25px 0 0;
    margin: 30px 0 0;
    border-top: 1px solid #F0EDEA;
}

.account-page .woocommerce-EditAccountForm fieldset legend {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: normal;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding: 0 10px 0 0;
    background: var(--color-white);
}

/* Inline form rows (first + last name) */
.account-page .woocommerce-EditAccountForm .form-row-first,
.account-page .woocommerce-EditAccountForm .form-row-last,
.account-page .woocommerce-form .form-row-first,
.account-page .woocommerce-form .form-row-last {
    display: inline-block;
    width: calc(50% - 10px);
    vertical-align: top;
}

.account-page .woocommerce-EditAccountForm .form-row-first,
.account-page .woocommerce-form .form-row-first {
    margin-right: 16px;
}

/* ── WooCommerce notices ── */
.account-page .woocommerce-message,
.account-page .woocommerce-info {
    background-color: var(--color-white);
    border: 1px solid var(--color-teal);
    border-left: 4px solid var(--color-teal);
    padding: 14px 20px;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--color-dark);
    border-radius: 0 4px 4px 0;
    list-style: none;
}

.account-page .woocommerce-message::before,
.account-page .woocommerce-info::before {
    color: var(--color-teal);
}

.account-page .woocommerce-error {
    background-color: #FFF8F6;
    border: 1px solid #E8A090;
    border-left: 4px solid #C0392B;
    padding: 14px 20px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #8B2515;
    list-style: none;
    border-radius: 0 4px 4px 0;
}

.account-page .woocommerce-MyAccount-content .woocommerce-info {
    text-align: center;
    padding: 40px 30px;
    border-left-width: 1px;
    border-radius: 4px;
    background: #FDFCFA;
    color: var(--color-dark-light);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
    background: linear-gradient(180deg, #365A55 0%, #3C7C73 100%);
}

.footer-main {
    padding: 40px 0;
}

.footer-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-nav .footer-nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav .footer-nav-list li a,
.footer-nav .footer-nav-list li a:visited {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #D8C5A7 !important;
    transition: color 0.2s ease;
    text-decoration: none !important;
}

.footer-nav .footer-nav-list li a:hover {
    color: var(--color-white) !important;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #D8C5A7;
    color: #365A55;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background-color: var(--color-white);
}

/* Footer Bottom */
.footer-bottom {
    padding: 15px 0;
}

.footer-bottom-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.footer-credits {
    font-size: 12px;
    color: #D8C5A7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vv-logo {
    height: 14px !important;
    width: auto !important;
    max-width: 60px !important;
    display: inline-block !important;
    vertical-align: middle;
}

.footer-credits {
    text-decoration: none;
}

.footer-credits:hover {
    color: var(--color-white);
}

.footer-legal {
    font-size: 12px;
    color: #D8C5A7;
    text-decoration: none;
}

.footer-legal:hover {
    color: var(--color-white);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .main-nav .nav-list {
        gap: 25px;
    }

    .product-categories {
        gap: 18px;
    }

    .product-categories {
        flex-wrap: wrap;
    }

    .product-category {
        flex: 0 0 calc(33.333% - 14px);
    }

    .archive-products ul.products,
    .archive-products .products,
    .sf-results-wrap ul.sf-products-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .main-nav {
        display: none;
    }

    .megamenu {
        display: none !important;
    }

    .header-icon--desktop {
        display: none;
    }

    .header-icons {
        display: none;
    }

    .header-inner {
        padding: 0 15px;
    }

    .site-logo img {
        height: 55px;
    }

    .hero {
        height: 75vh;
        min-height: 450px;
    }

    .hero__logo {
        max-height: 200px;
    }

    .hero__products {
        max-height: 280px;
        max-width: 90%;
        bottom: -80px;
    }

    .section-presentation {
        padding-top: 160px;
        background-size: 60% auto;
    }

    .section-title {
        font-size: 30px;
    }

    .section-title--decorated::before,
    .section-title--decorated::after {
        display: none;
    }

    .section-products {
        padding: 40px 0;
    }

    .product-categories {
        gap: 15px;
    }

    .product-category {
        flex: 0 0 calc(50% - 10px);
    }

    .form-inputs-row {
        flex-direction: column;
        gap: 18px;
    }

    .form-group--labeled {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    /* Single product responsive */
    .sp-product__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sp-product__image {
        max-width: 400px;
        margin: 0 auto;
    }

    .sp-cart-form {
        flex-wrap: wrap;
    }

    .sp-cart-btn {
        width: 100%;
    }

    /* Archive products responsive */
    .archive-hero {
        height: 200px;
    }

    .archive-banner__title {
        font-size: 26px;
    }

    .archive-products ul.products,
    .archive-products .products,
    .sf-results-wrap ul.sf-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .archive-filter-group {
        min-width: 100%;
    }

    /* Account page responsive */
    .account-page .woocommerce:has(.woocommerce-MyAccount-navigation) {
        flex-direction: column;
    }

    .account-page .woocommerce-MyAccount-navigation {
        width: 100%;
    }

    .account-page .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .account-page .woocommerce-MyAccount-navigation ul li {
        border-bottom: none;
        border-right: 1px solid #F0EDEA;
    }

    .account-page .woocommerce-MyAccount-navigation ul li a {
        padding: 12px 16px;
        font-size: 12px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .account-page .woocommerce-MyAccount-navigation ul li.is-active a {
        border-left-color: transparent;
        border-bottom-color: var(--color-teal);
    }

    .account-page .woocommerce-MyAccount-content {
        padding: 25px 20px;
    }

    .account-page .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) {
        padding: 35px 25px 30px;
        margin: 0 auto;
    }

    .account-page #customer_login > div {
        min-width: 100%;
        padding: 30px 25px;
    }

    .account-page #customer_login > div:last-child {
        border-left: none;
        border-top: 1px solid #F0EDEA;
    }

    .account-page .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .account-page .woocommerce-EditAccountForm .form-row-first,
    .account-page .woocommerce-EditAccountForm .form-row-last,
    .account-page .woocommerce-form .form-row-first,
    .account-page .woocommerce-form .form-row-last {
        width: 100%;
        display: block;
    }

    .account-page .woocommerce-EditAccountForm .form-row-first,
    .account-page .woocommerce-form .form-row-first {
        margin-right: 0;
    }

    .account-banner__title {
        font-size: 28px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-nav .footer-nav-list {
        gap: 15px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 65vh;
        min-height: 350px;
    }

    .hero__logo-main {
        font-size: 48px;
    }

    .hero__products {
        max-height: 200px;
        bottom: -60px;
    }

    .section-presentation {
        padding-top: 180px;
        background-size: 75% auto;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-banner__title,
    .account-banner__title,
    .archive-banner__title {
        font-size: 24px;
    }

    .product-category {
        flex: 0 0 calc(50% - 8px);
    }

    .archive-products ul.products,
    .archive-products .products,
    .sf-results-wrap ul.sf-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ═══ Mobile Drawer ═══ */
.m-scrim {
    position: fixed;
    inset: 0;
    background: rgba(20,15,5,0.45);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.m-scrim.is-open {
    opacity: 1;
    visibility: visible;
}

.m-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 92%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh; /* téléphone : ne pas déborder sous la barre d'URL du navigateur */
    background: #FFFCF5;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 40px -10px rgba(20,15,5,0.4);
    transition: right 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
    overflow: hidden;
}

.m-drawer.is-open {
    right: 0;
}

.m-drawer-view {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.3s;
}

.m-drawer-main {
    transform: translateX(0);
    opacity: 1;
}

.m-drawer.show-products .m-drawer-main {
    transform: translateX(-30%);
    opacity: 0;
    pointer-events: none;
}

.m-drawer-products {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.m-drawer.show-products .m-drawer-products {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.m-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 18px;
    border-bottom: 1px solid #E6DDC9;
}

.m-drawer-top--sub {
    padding: 18px;
}

.m-drawer-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #8E5028;
    font-weight: 600;
}

.m-drawer-sub-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: #2A2520;
    flex: 1;
    text-align: center;
}

.m-drawer-close,
.m-drawer-back {
    background: transparent;
    border: none;
    color: #2A2520;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.m-drawer-nav {
    flex: 1;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
}

.m-drawer-link {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 22px 26px;
    border-bottom: 1px solid #F1EBDE;
    text-decoration: none;
    color: inherit;
}

.m-drawer-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    color: #2A2520;
}

.m-drawer-link--products .m-drawer-name {
    color: #8E5028;
}

.m-drawer-meta {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5D544A;
    font-weight: 500;
}

.m-drawer-arrow {
    color: #5D544A;
    font-size: 22px;
    line-height: 1;
}

.m-drawer-foot {
    padding: 22px 26px 28px;
    background: #F7F1E4;
    border-top: 1px solid #EBE2CC;
}

.m-drawer-foot-row {
    display: flex;
    gap: 22px;
    margin-bottom: 18px;
}

.m-foot-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8E5028;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
}

.m-drawer-savoir-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8E5028;
    font-weight: 600;
    margin-bottom: 4px;
}

.m-drawer-savoir-line {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    line-height: 1.3;
    color: #2A2520;
}

/* Products sub-view */
.m-products-scroll {
    flex: 1;
    /* min-height:0 borne le conteneur à l'espace disponible (sinon l'enfant
       flex s'étire/compresse selon le moteur et le défilement ne s'active
       jamais — bug « 3 familles visibles, pas de scroll » sur téléphone). */
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Le contenu garde sa taille naturelle : c'est le conteneur qui défile,
   pas l'image « À l'honneur » qui s'écrase. */
.m-products-scroll > * {
    flex-shrink: 0;
}

.m-feature {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 2px;
    overflow: hidden;
}

.m-feature-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.2;
    overflow: hidden;
    background: radial-gradient(140% 90% at 40% 30%, #8e7fb3 0%, #5e4d8e 60%, #312957 100%);
}

.m-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.m-feature-overlay {
    position: absolute;
    inset: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(20,15,8,0.82) 0%, rgba(20,15,8,0.4) 45%, transparent 75%);
    color: #FBF7EC;
}

.m-feature-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #D9A77E;
    margin-bottom: 6px;
    font-weight: 600;
}

.m-feature-name {
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    line-height: 1.05;
    font-weight: 500;
    margin-bottom: 6px;
}

.m-feature-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(251,247,236,0.85);
    margin-bottom: 10px;
}

.m-feature-cta {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 3px;
    align-self: flex-start;
}

.m-list-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: #5D544A;
    padding: 0 4px;
}

.m-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #F1EBDE;
}

.m-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 4px;
    border-bottom: 1px solid #F1EBDE;
    text-decoration: none;
    color: inherit;
}

.m-thumb {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #E8E4DE;
}

.m-item-text {
    flex: 1;
    min-width: 0;
}

.m-item-name {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    color: #2A2520;
}

.m-item-meta {
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    color: #5D544A;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.m-item-arrow {
    color: #5D544A;
    font-size: 20px;
    line-height: 1;
}

.m-all-cta {
    margin-top: 6px;
    background: #2A2520;
    color: #fff;
    padding: 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Admin bar fix for drawer */
body.admin-bar .m-drawer {
    top: 32px;
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
}

body.admin-bar .m-scrim {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .m-drawer {
        top: 46px;
        height: calc(100vh - 46px);
        height: calc(100dvh - 46px);
    }
    body.admin-bar .m-scrim {
        top: 46px;
    }
}

/* Hide drawer on desktop */
@media (min-width: 769px) {
    .m-scrim,
    .m-drawer {
        display: none !important;
    }
}

/* ─── WP Admin bar fix ─── */
body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* =====================================================================
 * Configurateur de ventes additionnelles (modale bouchons + extraits)
 * Style de base — à peaufiner ensuite avec Claude Design.
 * ===================================================================== */
.cfg-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cfg-modal.is-open { display: flex; }

.cfg-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(51, 51, 51, 0.55);
    backdrop-filter: blur(2px);
    animation: cfgFade 0.2s ease;
}

.cfg-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 18px 0 18px 18px;
    box-shadow: 0 24px 60px rgba(51, 51, 51, 0.28);
    overflow: hidden;
    animation: cfgPop 0.22s ease;
}

@keyframes cfgFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cfgPop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Animation de fermeture */
.cfg-modal.is-closing .cfg-modal__overlay { animation: cfgFadeOut 0.2s ease forwards; }
.cfg-modal.is-closing .cfg-modal__dialog { animation: cfgPopOut 0.2s ease forwards; }
@keyframes cfgFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes cfgPopOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(14px); } }

.cfg-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.cfg-modal__close:hover { background: var(--color-cream-dark); color: var(--color-dark); }

.cfg-modal__head {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 22px 24px;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-cream-dark);
}
.cfg-modal__img {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    object-fit: cover;
    border-radius: 12px 0 12px 12px;
    background: var(--color-white);
}
.cfg-modal__title {
    font-family: var(--font-display);
    font-weight: normal;
    font-size: 22px;
    color: var(--color-primary);
    line-height: 1.2;
    margin: 0 0 4px;
}
.cfg-modal__intro {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
}

.cfg-modal__body {
    padding: 18px 24px;
    overflow-y: auto;
}

.cfg-section { margin-bottom: 18px; }
.cfg-section:last-child { margin-bottom: 0; }

.cfg-section__head { margin-bottom: 10px; }
.cfg-section__title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-dark);
    margin: 0;
}
.cfg-section__hint {
    font-size: 12px;
    color: var(--color-gray);
    margin: 3px 0 0;
}

.cfg-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--color-cream-dark);
    border-radius: 12px 0 12px 12px;
    background: var(--color-white);
}
/* Le filtre de recherche masque via l'attribut [hidden] : il faut surcharger le display:flex ci-dessus. */
.cfg-row[hidden] { display: none; }
.cfg-row--main {
    background: var(--color-cream);
    border-color: var(--color-sand);
}
.cfg-row--addon { margin-bottom: 8px; transition: border-color 0.2s, background 0.2s; }
.cfg-row--addon:last-child { margin-bottom: 0; }
.cfg-row--addon.is-active {
    border-color: var(--color-primary);
    background: rgba(212, 136, 31, 0.06);
}

.cfg-row__img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    object-fit: cover;
    border-radius: 9px 0 9px 9px;
    background: var(--color-cream);
}
.cfg-row__img--ph { display: inline-block; }

.cfg-row__info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cfg-row__title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.25;
}
.cfg-row__price {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.cfg-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
    border: 1px solid var(--color-sand);
    border-radius: 30px;
    overflow: hidden;
    background: var(--color-white);
}
.cfg-stepper__btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: var(--color-primary-dark);
    cursor: pointer;
    transition: background 0.15s;
}
.cfg-stepper__btn:hover { background: var(--color-cream); }
.cfg-stepper__val {
    min-width: 26px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
}

.cfg-search { margin-bottom: 10px; }
.cfg-search__input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-dark);
    background: var(--color-white);
    border: 1px solid var(--color-sand);
    border-radius: 30px;
    outline: none;
    transition: border-color 0.2s;
}
.cfg-search__input:focus { border-color: var(--color-primary); }
.cfg-search__input::placeholder { color: var(--color-gray); }

.cfg-addons { max-height: 320px; overflow-y: auto; }
/* En-tête de groupe (supports neutres : huiles vs extraits) — collant au scroll */
.cfg-addons__group {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary-dark);
    padding: 8px 2px 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--color-cream-dark);
}
/* Liste longue (neutre) : hauteur fixe → la recherche ne fait pas « sauter » la modale. */
.cfg-addons--fixed { height: 320px; max-height: none; }

.cfg-addons__empty {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-gray);
    text-align: center;
    padding: 14px 0;
    margin: 0;
}

.cfg-nudge {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px dashed var(--color-primary);
    border-radius: 12px 0 12px 12px;
    background: rgba(212, 136, 31, 0.06);
}
.cfg-nudge__txt {
    font-size: 13px;
    color: var(--color-text);
    margin: 0 0 10px;
}
.cfg-nudge__btns { display: flex; gap: 10px; flex-wrap: wrap; }

.cfg-modal__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-top: 1px solid var(--color-cream-dark);
    background: var(--color-white);
}
.cfg-total {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
}
.cfg-total span {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
}

.cfg-btn {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.cfg-btn--primary {
    flex: 0 0 auto;
    height: 46px;
    padding: 0 26px;
    background: #B65D17;
    color: var(--color-white);
    border-radius: 30px 0 0 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.cfg-btn--primary:hover { background: #9A4E13; }
.cfg-btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }
.cfg-btn--ghost {
    padding: 8px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-sand);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-dark);
}
.cfg-btn--ghost:hover { background: var(--color-cream); }

@media (max-width: 600px) {
    .cfg-modal { padding: 0; align-items: flex-end; }
    .cfg-modal__dialog {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
    }
    .cfg-modal__foot { flex-direction: column; align-items: stretch; }
    .cfg-btn--primary { width: 100%; }
}

/* Bloc « Complétez avec… » sur la fiche produit (bouchon ↔ extrait) */
.sp-crosslink {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid var(--color-cream-dark);
    border-radius: 14px 0 14px 14px;
    background: var(--color-cream);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.sp-crosslink:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 22px rgba(51, 51, 51, 0.10);
    transform: translateY(-1px);
}
.sp-crosslink__media {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 10px 0 10px 10px;
    overflow: hidden;
    background: var(--color-white);
}
.sp-crosslink__media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.sp-crosslink__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-crosslink__eyebrow {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary-dark);
}
.sp-crosslink__name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}
.sp-crosslink__price {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
}
.sp-crosslink__cta {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary-dark);
}

/* Sélecteur de conditionnement (cartes côte à côte) */
.cond-sel { width: 100%; margin-bottom: 4px; }
.cond-sel__title {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-text);
    margin-bottom: 10px;
}
.cond-sel__opts { display: flex; gap: 12px; margin-bottom: 18px; }
.cond-opt {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 14px 12px;
    background: var(--color-white);
    border: 2px solid var(--color-cream-dark);
    border-radius: 14px 0 14px 14px;
    cursor: pointer;
    text-align: center;
    transition: border-color .18s, box-shadow .18s;
}
.cond-opt:hover { border-color: var(--color-sand); }
.cond-opt.is-selected {
    border-color: var(--color-primary);
    box-shadow: 0 6px 18px rgba(212, 136, 31, .14);
}
.cond-opt__name { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--color-dark); }
.cond-opt__price { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--color-primary-dark); }
.cond-opt__unit { font-family: var(--font-body); font-size: 11px; color: var(--color-gray); }
.cond-sel__cart { display: flex; gap: 12px; align-items: center; }

/* ============================================================
   TUNNEL REDESIGN — Commander (checkout) + Confirmation
   scoped under .tunnel-rd
   ============================================================ */
.tunnel-rd{
    --terra:#b8601f; --terra-deep:#9c4f17; --terra-soft:#e9d4bf;
    --teal:#3f7268; --teal-deep:#2f5750;
    --ck-cream:#f6f0e4; --ck-cream-2:#efe6d3; --ck-cream-3:#faf6ec;
    --sand:#dccbaa;
    --ck-ink:#463d33; --ck-ink-soft:#8a7e6e; --ck-brown:#6e5544;
    --ck-line:rgba(70,61,51,.13);
    --ck-ok:#4f8a5b;
    --ck-os:"Oswald", sans-serif;
    --ck-body:"Mulish", system-ui, sans-serif;
    color:var(--ck-ink); font-family:var(--ck-body); background:#fff;
}
.tunnel-rd *{ box-sizing:border-box; }
.tunnel-rd-container{ max-width:1280px; margin:0 auto; padding:0 48px; }

/* breadcrumb + steps */
.tunnel-rd .co-top, .tunnel-rd .cf-top{ padding:20px 0 6px; }
.tunnel-rd .co-bread, .tunnel-rd .cf-bread{ font-size:12.5px; color:var(--ck-ink-soft);
    display:flex; gap:8px; align-items:center; }
.tunnel-rd .co-bread a, .tunnel-rd .cf-bread a{ color:var(--ck-ink-soft); text-decoration:none; transition:color .15s ease; }
.tunnel-rd .co-bread a:hover, .tunnel-rd .cf-bread a:hover{ color:var(--terra); }
.tunnel-rd .co-bread .sep, .tunnel-rd .cf-bread .sep{ opacity:.55; }
.tunnel-rd .co-bread b, .tunnel-rd .cf-bread b{ color:var(--ck-brown); font-weight:600; }

.tunnel-rd .steps{ list-style:none; display:flex; align-items:center; max-width:560px; margin:18px 0 4px; padding:0; }
.tunnel-rd .step{ display:flex; align-items:center; gap:10px; }
.tunnel-rd .step .num{ width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    font-family:var(--ck-os); font-weight:500; font-size:13px; border:1.5px solid var(--ck-line); color:var(--ck-ink-soft);
    background:#fff; flex:none; }
.tunnel-rd .step .lbl{ font-size:12.5px; font-weight:600; letter-spacing:.04em; color:var(--ck-ink-soft); text-transform:uppercase; }
.tunnel-rd .step.done .num{ background:var(--ck-ok); border-color:var(--ck-ok); color:#fff; }
.tunnel-rd .step.active .num{ background:var(--terra); border-color:var(--terra); color:#fff; }
.tunnel-rd .step.active .lbl{ color:var(--ck-brown); }
.tunnel-rd .step-line{ flex:1; height:1.5px; background:var(--ck-line); margin:0 14px; min-width:28px; }
.tunnel-rd .step-line.done{ background:var(--ck-ok); }

/* layout */
.tunnel-rd .co-main, .tunnel-rd .cf-main{ max-width:1184px; margin:0 auto; padding:26px 0 70px;
    display:grid; grid-template-columns:1fr 388px; gap:44px; align-items:start; }
.tunnel-rd .cf-main{ padding-top:0; }

/* form section cards */
.tunnel-rd .fcard{ border:1px solid var(--ck-line); border-radius:16px; padding:28px 30px; margin-bottom:22px; }
.tunnel-rd .fcard-head{ display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.tunnel-rd .fcard-step{ width:30px; height:30px; border-radius:9px; background:var(--ck-cream); display:flex;
    align-items:center; justify-content:center; font-family:var(--ck-os); font-weight:500; font-size:15px; color:var(--terra); flex:none; }
.tunnel-rd .fcard-head h2{ font-family:var(--ck-os); font-weight:500; text-transform:uppercase; letter-spacing:.07em;
    font-size:18px; color:var(--ck-ink); margin:0; }
.tunnel-rd .fcard-head .hint{ margin-left:auto; font-size:12px; color:var(--ck-ink-soft); display:inline-flex; align-items:center; gap:5px; }
.tunnel-rd .fcard-head .hint a{ color:var(--terra); font-weight:700; text-decoration:none; }

/* guest banner */
.tunnel-rd .guest{ display:flex; align-items:center; gap:12px; background:var(--ck-cream-3); border:1px solid var(--ck-line);
    border-radius:11px; padding:12px 16px; margin-bottom:16px; font-size:13.5px; color:var(--ck-ink); }
.tunnel-rd .guest svg{ color:var(--teal); flex:none; }
.tunnel-rd .guest a{ color:var(--terra); font-weight:700; text-decoration:none; white-space:nowrap; }

/* fields — map WooCommerce form-row markup to the mockup */
.tunnel-rd .woocommerce-billing-fields__field-wrapper,
.tunnel-rd .woocommerce-shipping-fields__field-wrapper,
.tunnel-rd .woocommerce-account-fields__field-wrapper{ display:flex; flex-wrap:wrap; gap:14px; }
.tunnel-rd .co-ship-flag{ display:none; }
.tunnel-rd .form-row{ position:relative; margin:0; flex:1 1 100%; min-width:0; }
.tunnel-rd .form-row-first, .tunnel-rd .form-row-last{ flex:1 1 calc(50% - 7px); }
.tunnel-rd .form-row label{ display:block; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
    color:var(--ck-brown); margin-bottom:8px; }
.tunnel-rd .form-row label .required{ color:var(--terra); text-decoration:none; border:none; }
.tunnel-rd .form-row label .optional{ color:#b6ab9b; font-weight:600; letter-spacing:.02em; text-transform:none; }
.tunnel-rd .woocommerce-input-wrapper{ display:block; width:100%; }
.tunnel-rd .input-text, .tunnel-rd .form-row input[type="text"], .tunnel-rd .form-row input[type="email"],
.tunnel-rd .form-row input[type="tel"], .tunnel-rd .form-row input[type="password"], .tunnel-rd .form-row select,
.tunnel-rd .note-input{
    width:100%; border:1px solid var(--ck-line); border-radius:10px; background:#fff; padding:14px 15px;
    font-family:var(--ck-body); font-size:14.5px; color:var(--ck-ink);
    transition:border-color .18s ease, box-shadow .18s ease; }
.tunnel-rd .input-text::placeholder, .tunnel-rd .note-input::placeholder{ color:#b8ad9c; }
.tunnel-rd .input-text:focus, .tunnel-rd .form-row select:focus, .tunnel-rd .note-input:focus{ outline:none;
    border-color:var(--terra); box-shadow:0 0 0 3px rgba(184,96,31,.12); }
.tunnel-rd .form-row select{ appearance:none; -webkit-appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e5544' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 15px center; padding-right:42px; cursor:pointer; }
.tunnel-rd .select2-container .select2-selection--single{ height:auto; border:1px solid var(--ck-line); border-radius:10px; padding:7px 8px; }
.tunnel-rd .woocommerce-invalid .input-text, .tunnel-rd .woocommerce-invalid select{ border-color:#d98b8b; }
.tunnel-rd .woocommerce-validated .input-text{ border-color:#bcd9c0; }
.tunnel-rd .co-createacct{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--ck-ink); cursor:pointer; }
.tunnel-rd .co-createacct input{ width:18px; height:18px; accent-color:var(--terra); }

/* billing-different toggle (CSS-only, checkbox-driven reveal) */
.tunnel-rd .co-billing-toggle{ margin-top:18px; padding-top:18px; border-top:1px solid var(--ck-line); }
.tunnel-rd .co-bill-check{ position:absolute; opacity:0; width:0; height:0; pointer-events:none; }
.tunnel-rd .co-check{ display:inline-flex; align-items:center; gap:11px; cursor:pointer; font-size:14px; color:var(--ck-ink); }
.tunnel-rd .co-check-box{ width:22px; height:22px; border-radius:6px; border:1.5px solid var(--sand); background:#fff;
    display:flex; align-items:center; justify-content:center; flex:none; color:#fff; transition:background .15s ease, border-color .15s ease; }
.tunnel-rd .co-check-box svg{ opacity:0; transition:opacity .15s ease; }
.tunnel-rd .co-bill-check:checked ~ .co-check .co-check-box{ background:var(--terra); border-color:var(--terra); }
.tunnel-rd .co-bill-check:checked ~ .co-check .co-check-box svg{ opacity:1; }
.tunnel-rd .co-bill-check:focus-visible ~ .co-check .co-check-box{ box-shadow:0 0 0 3px rgba(184,96,31,.25); }
.tunnel-rd .co-billing-fields{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .35s ease; }
.tunnel-rd .co-bill-check:checked ~ .co-billing-fields{ grid-template-rows:1fr; }
.tunnel-rd .co-billing-fields .clip{ overflow:hidden; padding-top:16px; }
@media (prefers-reduced-motion: reduce){ .tunnel-rd .co-billing-fields{ transition:none !important; } }

/* ===== payment selector (WooCommerce-native, restyled) ===== */
.tunnel-rd .pay-payment{ margin:0; }
.tunnel-rd .pay-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.tunnel-rd .pay-opt{ border:1.5px solid var(--ck-line); border-radius:13px; overflow:hidden; background:#fff;
    transition:border-color .2s ease, box-shadow .2s ease; }
.tunnel-rd .pay-opt.on{ border-color:var(--terra); box-shadow:0 10px 26px -20px rgba(184,96,31,.5); }
.tunnel-rd .pay-opthead{ display:flex; align-items:center; gap:14px; padding:16px 18px; cursor:pointer; margin:0; }
.tunnel-rd .pay-radio-input{ position:absolute; opacity:0; width:0; height:0; pointer-events:none; }
.tunnel-rd .pay-radio{ width:20px; height:20px; border-radius:50%; border:2px solid var(--sand); flex:none; position:relative;
    transition:border-color .2s ease; }
.tunnel-rd .pay-opt.on .pay-radio{ border-color:var(--terra); }
.tunnel-rd .pay-opt.on .pay-radio::after{ content:""; position:absolute; inset:3px; border-radius:50%; background:var(--terra); }
.tunnel-rd .pay-optmain{ min-width:0; flex:1; }
.tunnel-rd .pay-name{ font-family:var(--ck-os); font-weight:500; font-size:15.5px; text-transform:uppercase;
    letter-spacing:.04em; color:var(--ck-ink); display:block; }
.tunnel-rd .pay-sub{ font-size:12px; color:var(--ck-ink-soft); margin-top:2px; }
.tunnel-rd .pay-brands{ margin-left:auto; display:flex; align-items:center; gap:6px; }
.tunnel-rd .pay-brands img{ height:22px; width:auto; display:block; }
.tunnel-rd .payment_box{ border-top:1px solid var(--ck-line); padding:16px 18px 18px; font-size:13.5px;
    color:var(--ck-ink-soft); line-height:1.55; }
.tunnel-rd .payment_box p{ margin:0 0 8px; }
.tunnel-rd .payment_box p:last-child{ margin-bottom:0; }
.tunnel-rd .pay-empty .woocommerce-info{ margin:0; }

/* order note */
.tunnel-rd .co-note{ margin-top:18px; }
.tunnel-rd .note-toggle{ display:flex; align-items:center; gap:11px; background:none; border:none; cursor:pointer;
    padding:0; font-family:var(--ck-body); }
.tunnel-rd .note-toggle .chk{ width:22px; height:22px; border-radius:6px; border:1.5px solid var(--sand); background:#fff;
    display:flex; align-items:center; justify-content:center; flex:none; transition:all .15s ease; color:#fff; }
.tunnel-rd .note-toggle .chk svg{ opacity:0; transition:opacity .15s ease; }
.tunnel-rd .note-toggle[aria-expanded="true"] .chk{ background:var(--terra); border-color:var(--terra); }
.tunnel-rd .note-toggle[aria-expanded="true"] .chk svg{ opacity:1; }
.tunnel-rd .note-toggle span:last-child{ font-size:14px; color:var(--ck-ink); }
.tunnel-rd .note-area{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .3s ease; }
.tunnel-rd .note-area.on{ grid-template-rows:1fr; }
.tunnel-rd .note-area .clip{ overflow:hidden; }
.tunnel-rd .note-input{ margin-top:12px; resize:vertical; min-height:84px; }

/* legal + actions */
.tunnel-rd .co-legal{ font-size:13px; color:var(--ck-ink-soft); line-height:1.55; margin:22px 2px 0; }
.tunnel-rd .co-legal a{ color:var(--terra); text-decoration:none; font-weight:600; }
.tunnel-rd .co-actions{ display:flex; align-items:center; justify-content:space-between; margin-top:22px; }
.tunnel-rd .link-back{ display:inline-flex; align-items:center; gap:8px; color:var(--ck-brown); text-decoration:none;
    font-size:13.5px; font-weight:600; transition:color .15s ease; }
.tunnel-rd .link-back:hover{ color:var(--terra); }

/* ===== summary (shared) ===== */
.tunnel-rd .summary{ position:sticky; top:24px; align-self:start; background:var(--ck-cream-3); border:1px solid var(--ck-line);
    border-radius:16px; padding:26px 24px; }
.tunnel-rd .summary h2{ font-family:var(--ck-os); font-weight:500; text-transform:uppercase; letter-spacing:.08em;
    font-size:16px; color:var(--ck-ink); margin:0 0 18px; }
.tunnel-rd .woocommerce-checkout-review-order{ margin:0; }
.tunnel-rd .co-lines{ margin:0; }
.tunnel-rd .sline{ display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--ck-line); align-items:center; }
.tunnel-rd .sline:first-of-type{ padding-top:0; }
.tunnel-rd .sthumb{ width:60px; height:60px; border-radius:11px; border:1px solid var(--ck-line); position:relative;
    display:flex; align-items:center; justify-content:center; flex:none; overflow:hidden; background:#fff; }
.tunnel-rd .sthumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.tunnel-rd .sthumb .qty{ position:absolute; top:-7px; right:-7px; width:22px; height:22px; border-radius:50%;
    background:var(--ck-brown); color:#fff; font-family:var(--ck-os); font-weight:500; font-size:12px; z-index:1;
    display:flex; align-items:center; justify-content:center; border:2px solid var(--ck-cream-3); }
.tunnel-rd .sline-info{ flex:1; min-width:0; }
.tunnel-rd .sline-name{ font-family:var(--ck-body); font-weight:600; font-size:13.5px; color:var(--ck-ink); margin:0 0 3px; line-height:1.3; }
.tunnel-rd .sline-meta{ font-size:12px; color:var(--ck-ink-soft); }
.tunnel-rd .sline-meta p{ margin:0; }
.tunnel-rd .sline-price{ font-family:var(--ck-os); font-weight:500; font-size:15px; color:var(--ck-brown); white-space:nowrap; }
.tunnel-rd .sline-price .woocommerce-Price-amount{ color:inherit; font-family:var(--ck-os); }

.tunnel-rd .sum-row{ display:flex; align-items:center; justify-content:space-between; padding:8px 0; font-size:14px; gap:12px; }
.tunnel-rd .sum-row .lbl{ color:var(--ck-ink-soft); }
.tunnel-rd .sum-row .val{ font-family:var(--ck-os); font-weight:500; font-size:15px; color:var(--ck-brown); white-space:nowrap; }
.tunnel-rd .sum-row .val.free{ color:var(--ck-ok); }
.tunnel-rd .sum-row .val .woocommerce-Price-amount{ color:inherit; font-family:var(--ck-os); }
.tunnel-rd .sum-row .val a{ color:var(--ck-ink-soft); margin-left:6px; text-decoration:none; font-family:var(--ck-body); }
.tunnel-rd .sum-row .val a:hover{ color:var(--terra); }
.tunnel-rd .sum-div{ height:1px; background:var(--ck-line); margin:8px 0; }
.tunnel-rd .sum-total{ display:flex; align-items:baseline; justify-content:space-between; margin:4px 0; gap:12px; }
.tunnel-rd .sum-total .lbl{ font-family:var(--ck-os); font-weight:500; text-transform:uppercase; letter-spacing:.06em;
    font-size:15px; color:var(--ck-ink); }
.tunnel-rd .sum-total .val{ font-family:var(--ck-os); font-weight:600; font-size:30px; color:var(--terra); white-space:nowrap; }
.tunnel-rd .sum-total .val .woocommerce-Price-amount{ color:inherit; font-family:var(--ck-os); font-weight:600; }
.tunnel-rd .sum-vat{ margin:0 0 18px; font-size:11.5px; color:#b6ab9b; text-align:right; }

/* promo accordion (native details) */
.tunnel-rd .promo{ border:1px dashed var(--sand); border-radius:11px; background:#fff; margin:16px 0; overflow:hidden; }
.tunnel-rd .promo-head{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:10px; padding:13px 15px;
    font-size:13.5px; color:var(--ck-brown); font-weight:600; -webkit-user-select:none; user-select:none; }
.tunnel-rd .promo-head::-webkit-details-marker{ display:none; }
.tunnel-rd .promo-head::marker{ content:""; }
.tunnel-rd .promo-head .tag{ color:var(--terra); display:flex; }
.tunnel-rd .promo-head__label{ flex:1; }
.tunnel-rd .promo-head .chev{ color:var(--ck-ink-soft); transition:transform .3s ease; display:flex; }
.tunnel-rd .promo[open] .promo-head .chev{ transform:rotate(180deg); }
.tunnel-rd .promo-body{ overflow:hidden; }
@keyframes ckPromoRevealT{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:translateY(0); } }
.tunnel-rd .promo[open] .promo-body{ animation:ckPromoRevealT .26s ease; }
.tunnel-rd .promo-form{ display:flex; gap:8px; padding:0 13px 14px; }
.tunnel-rd .promo-form input{ flex:1; min-width:0; border:1px solid var(--ck-line); border-radius:8px; background:#fff;
    padding:10px 12px; font-family:var(--ck-body); font-size:13.5px; color:var(--ck-ink); }
.tunnel-rd .promo-form input:focus{ outline:none; border-color:var(--terra); box-shadow:0 0 0 3px rgba(184,96,31,.12); }
.tunnel-rd .promo-form button{ border:none; background:var(--ck-brown); color:#fff; border-radius:8px; padding:0 16px;
    font-family:var(--ck-os); font-weight:500; font-size:12px; letter-spacing:.08em; text-transform:uppercase; cursor:pointer;
    transition:background .15s ease; }
.tunnel-rd .promo-form button:hover{ background:var(--ck-ink); }

/* place order CTA — overlay pattern (real WC submit button transparent over a styled visual) */
.tunnel-rd .place-order{ margin:0; }
.tunnel-rd .pay-cta-wrap{ position:relative; margin-top:4px; }
.tunnel-rd .pay-cta{ width:100%; display:flex; align-items:center; justify-content:center; gap:10px; background:var(--terra);
    color:#fff; border:none; border-radius:12px; padding:17px; font-family:var(--ck-os); font-weight:500;
    font-size:15px; letter-spacing:.1em; text-transform:uppercase; transition:background .18s ease, transform .15s ease;
    pointer-events:none; }
.tunnel-rd .pay-cta-wrap:hover .pay-cta{ background:var(--terra-deep); transform:translateY(-1px); }
.tunnel-rd .pay-cta-submit{ position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; border:none;
    background:transparent; color:transparent; font-size:0; cursor:pointer; border-radius:12px; }
.tunnel-rd .pay-cta-wrap:focus-within .pay-cta{ box-shadow:0 0 0 3px rgba(184,96,31,.35); }
.tunnel-rd .pay-cta .pay-amount .woocommerce-Price-amount{ color:inherit; }
.tunnel-rd .cta-note{ margin:12px 0 0; text-align:center; font-size:12px; color:var(--ck-ink-soft);
    display:flex; align-items:center; justify-content:center; gap:7px; }
.tunnel-rd .cta-note svg{ color:var(--ck-ok); }
.tunnel-rd .co-terms{ margin:0 0 14px; font-size:12.5px; color:var(--ck-ink-soft); }

/* reassurance */
.tunnel-rd .reassure{ margin-top:18px; padding-top:16px; border-top:1px solid var(--ck-line); display:grid; gap:11px; }
.tunnel-rd .reassure .r{ display:flex; align-items:center; gap:11px; }
.tunnel-rd .reassure .r .ic{ width:34px; height:34px; border-radius:10px; background:#fff; border:1px solid var(--ck-line);
    display:flex; align-items:center; justify-content:center; color:var(--teal); flex:none; }
.tunnel-rd .reassure .r p{ margin:0; font-size:12.5px; line-height:1.35; color:var(--ck-ink-soft); }
.tunnel-rd .reassure .r b{ color:var(--ck-brown); font-weight:700; display:block; font-size:13px; }

/* ===== Confirmation : hero ===== */
.tunnel-rd .hero{ position:relative; overflow:hidden; border-radius:18px; margin:22px 0 26px;
    background:linear-gradient(135deg,#437a6f 0%, #3f7268 55%, #356158 100%); color:#fff; padding:30px 40px; text-align:center;
    height:auto; min-height:0; width:auto; z-index:auto; }
.tunnel-rd .hero::after{ content:""; position:absolute; right:-90px; top:-90px; width:300px; height:300px; border-radius:50%;
    background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 70%); }
.tunnel-rd .hero--failed{ background:linear-gradient(135deg,#9c4f17,#7d3e12); }
.tunnel-rd .hero-inner{ position:relative; z-index:1; max-width:560px; margin:0 auto; }
.tunnel-rd .hero-badge{ width:54px; height:54px; border-radius:50%; background:rgba(255,255,255,.16); display:flex;
    align-items:center; justify-content:center; margin:0 auto 14px; }
.tunnel-rd .hero-eyebrow{ font-family:var(--ck-body); font-weight:700; text-transform:uppercase; letter-spacing:.24em;
    font-size:11px; color:rgba(255,255,255,.78); }
.tunnel-rd .hero h1{ font-family:var(--ck-os); font-weight:500; text-transform:uppercase; letter-spacing:.06em; font-size:27px;
    line-height:1.06; margin:9px 0 10px; color:#fff; }
.tunnel-rd .hero p{ margin:0 auto; font-size:14px; line-height:1.55; color:rgba(255,255,255,.9); max-width:46ch; }
.tunnel-rd .hero p b{ color:#fff; font-weight:700; }
.tunnel-rd .hero-meta{ display:flex; gap:36px; margin-top:20px; flex-wrap:wrap; justify-content:center; }
.tunnel-rd .hero-meta .m .k{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.7); }
.tunnel-rd .hero-meta .m .v{ font-family:var(--ck-os); font-weight:500; font-size:17px; margin-top:4px; }
.tunnel-rd .hero-actions{ margin-top:18px; }
.tunnel-rd .hero-actions .cf-cta{ display:inline-flex; width:auto; padding:13px 26px; background:#fff; color:var(--terra-deep); }

/* check ring: visible base state; animate only when motion allowed */
.tunnel-rd .ring-circle{ stroke-dasharray:201; stroke-dashoffset:0; }
.tunnel-rd .ring-check{ stroke-dasharray:40; stroke-dashoffset:0; }
@media (prefers-reduced-motion: no-preference){
    .tunnel-rd .ring-circle{ animation:ckRingDraw .7s ease forwards .15s; }
    .tunnel-rd .ring-check{ animation:ckCheckDraw .4s ease forwards .7s; }
    @keyframes ckRingDraw{ from{ stroke-dashoffset:201; } to{ stroke-dashoffset:0; } }
    @keyframes ckCheckDraw{ from{ stroke-dashoffset:40; } to{ stroke-dashoffset:0; } }
}

/* confirmation : panels / timeline / addresses */
.tunnel-rd .mailrow{ display:flex; align-items:center; gap:12px; background:var(--ck-cream-3); border:1px solid var(--ck-line);
    border-radius:13px; padding:14px 18px; margin-bottom:22px; }
.tunnel-rd .mailrow .ic{ width:40px; height:40px; border-radius:11px; background:#fff; border:1px solid var(--ck-line);
    display:flex; align-items:center; justify-content:center; color:var(--terra); flex:none; }
.tunnel-rd .mailrow p{ margin:0; font-size:13.5px; color:var(--ck-ink); line-height:1.45; }
.tunnel-rd .mailrow b{ color:var(--ck-brown); font-weight:700; }
.tunnel-rd .panel{ border:1px solid var(--ck-line); border-radius:16px; padding:26px 28px; margin-bottom:22px; }
.tunnel-rd .panel-head{ display:flex; align-items:center; gap:11px; margin-bottom:18px; }
.tunnel-rd .panel-head .ic{ width:30px; height:30px; border-radius:9px; background:var(--ck-cream); display:flex;
    align-items:center; justify-content:center; color:var(--terra); flex:none; }
.tunnel-rd .panel-head h2{ font-family:var(--ck-os); font-weight:500; text-transform:uppercase; letter-spacing:.07em;
    font-size:17px; color:var(--ck-ink); margin:0; }
.tunnel-rd .timeline{ display:flex; flex-direction:column; }
.tunnel-rd .tl-step{ display:flex; gap:16px; }
.tunnel-rd .tl-rail{ display:flex; flex-direction:column; align-items:center; }
.tunnel-rd .tl-dot{ width:34px; height:34px; border-radius:50%; border:2px solid var(--ck-line); background:#fff; display:flex;
    align-items:center; justify-content:center; color:var(--ck-ink-soft); flex:none; }
.tunnel-rd .tl-step.done .tl-dot{ background:var(--ck-ok); border-color:var(--ck-ok); color:#fff; }
.tunnel-rd .tl-step.current .tl-dot{ background:var(--terra); border-color:var(--terra); color:#fff; }
.tunnel-rd .tl-bar{ width:2px; flex:1; min-height:26px; background:var(--ck-line); }
.tunnel-rd .tl-bar.done{ background:var(--ck-ok); }
.tunnel-rd .tl-body{ padding:4px 0 24px; }
.tunnel-rd .tl-step:last-child .tl-body{ padding-bottom:0; }
.tunnel-rd .tl-title{ font-family:var(--ck-os); font-weight:500; font-size:15px; text-transform:uppercase; letter-spacing:.03em;
    color:var(--ck-ink); margin:0 0 4px; }
.tunnel-rd .tl-step:not(.done):not(.current) .tl-title{ color:var(--ck-ink-soft); }
.tunnel-rd .tl-desc{ margin:0; font-size:13px; color:var(--ck-ink-soft); line-height:1.5; }
.tunnel-rd .tl-when{ display:inline-block; margin-top:6px; font-size:11.5px; font-weight:700; letter-spacing:.04em; color:var(--terra); }
.tunnel-rd .addr-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.tunnel-rd .addr h3{ font-family:var(--ck-body); font-weight:700; font-size:11px; letter-spacing:.12em; text-transform:uppercase;
    color:var(--ck-ink-soft); margin:0 0 9px; }
.tunnel-rd .addr p{ margin:0; font-size:14px; line-height:1.6; color:var(--ck-ink); }
.tunnel-rd .addr .pay-chip{ display:inline-flex; align-items:center; gap:8px; margin-top:10px; padding:7px 12px;
    border:1px solid var(--ck-line); border-radius:9px; font-size:12.5px; color:var(--ck-brown); font-weight:600; }
.tunnel-rd .bank-details{ font-size:13.5px; color:var(--ck-ink); line-height:1.6; }
.tunnel-rd .bank-details h2, .tunnel-rd .bank-details h3{ font-family:var(--ck-os); font-weight:500; font-size:14px;
    text-transform:uppercase; letter-spacing:.04em; color:var(--ck-ink); margin:0 0 8px; }
.tunnel-rd .bank-details ul, .tunnel-rd .bank-details table{ list-style:none; margin:0; padding:0; width:100%; }
.tunnel-rd .bank-details li, .tunnel-rd .bank-details td, .tunnel-rd .bank-details th{ padding:4px 0; text-align:left; }

/* confirmation CTAs */
.tunnel-rd .cf-cta{ width:100%; display:flex; align-items:center; justify-content:center; gap:10px; background:var(--terra);
    color:#fff; border:none; border-radius:12px; padding:15px; cursor:pointer; font-family:var(--ck-os); font-weight:500;
    font-size:14px; letter-spacing:.1em; text-transform:uppercase; transition:background .18s ease, transform .15s ease, border-color .18s ease;
    text-decoration:none; }
.tunnel-rd .cf-cta:hover{ background:var(--terra-deep); transform:translateY(-1px); color:#fff; }
.tunnel-rd .cf-cta.ghost{ background:none; color:var(--ck-brown); border:1.5px solid var(--ck-line); margin-top:10px; }
.tunnel-rd .cf-cta.ghost:hover{ background:#fff; border-color:var(--terra); color:var(--terra); }
.tunnel-rd .help{ margin-top:18px; padding-top:16px; border-top:1px solid var(--ck-line); font-size:12.5px; color:var(--ck-ink-soft);
    line-height:1.5; text-align:center; }
.tunnel-rd .help a{ color:var(--terra); font-weight:700; text-decoration:none; }

/* WC notices (default WC css dequeued on checkout) */
.tunnel-rd .woocommerce-NoticeGroup, .tunnel-rd .woocommerce-error, .tunnel-rd .woocommerce-message, .tunnel-rd .woocommerce-info{
    list-style:none; margin:0 0 18px; padding:13px 18px; border-radius:11px; font-size:13.5px; border:1px solid var(--ck-line); }
.tunnel-rd .woocommerce-message{ background:#eef6ef; border-color:#cfe6d3; color:#2f5d3a; }
.tunnel-rd .woocommerce-error{ background:#fbeeee; border-color:#ecc9c9; color:#8a3a3a; }
.tunnel-rd .woocommerce-info{ background:var(--ck-cream-3); color:var(--ck-brown); }
.tunnel-rd .woocommerce-error li, .tunnel-rd .woocommerce-message li, .tunnel-rd .woocommerce-info li{ list-style:none; }
.tunnel-rd form.checkout{ position:relative; }
.tunnel-rd .blockUI.blockOverlay{ border-radius:16px; }
.tunnel-rd .co-notices{ margin:14px 0 0; }
.tunnel-rd .co-notices:empty{ display:none; margin:0; }

/* responsive */
@media (max-width: 980px){
    .tunnel-rd .co-main, .tunnel-rd .cf-main{ grid-template-columns:1fr; gap:30px; }
    .tunnel-rd .summary{ position:static; }
}
@media (max-width: 768px){
    .tunnel-rd-container{ padding:0 18px; }
    .tunnel-rd .hero{ padding:26px 22px; }
    .tunnel-rd .hero h1{ font-size:23px; }
    .tunnel-rd .hero-meta{ gap:22px; }
    .tunnel-rd .addr-grid{ grid-template-columns:1fr; }
    .tunnel-rd .steps .lbl{ display:none; }
    .tunnel-rd .fcard{ padding:22px 18px; }
}
@media (prefers-reduced-motion: reduce){
    .tunnel-rd .pay-opt, .tunnel-rd .pay-cta, .tunnel-rd .cf-cta, .tunnel-rd .note-area, .tunnel-rd .promo-head .chev{ transition:none !important; }
    .tunnel-rd .promo[open] .promo-body{ animation:none !important; }
}

/* ═══════════════════════════════════════════════════════
   RECHERCHE INTELLIGENTE (overlay header)
   ═══════════════════════════════════════════════════════ */
.header-search-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Loupe mobile (les .header-icons sont masquées ≤768px) */
.header-search-toggle--mobile {
    display: none;
    color: var(--color-primary);
}

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    visibility: hidden;
    transition: visibility 0s linear 0.3s;
}

.search-overlay.is-open {
    visibility: visible;
    transition: visibility 0s;
}

.search-overlay__scrim {
    position: absolute;
    inset: 0;
    background: rgba(42, 37, 32, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.search-overlay.is-open .search-overlay__scrim {
    opacity: 1;
}

.search-overlay__panel {
    position: relative;
    background: var(--color-white);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    transform: translateY(-18px);
    opacity: 0;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    max-height: min(86vh, 760px);
    overflow-y: auto;
}

.search-overlay.is-open .search-overlay__panel {
    transform: translateY(0);
    opacity: 1;
}

.search-overlay__inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 26px 30px 36px;
}

.search-overlay__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.search-overlay__eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #8E5028;
    font-weight: 600;
}

.search-overlay__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.search-overlay__close:hover {
    background: var(--color-cream);
}

/* ─── Champ de recherche ─── */
.search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 2px solid var(--color-sand);
    padding-bottom: 14px;
}

/* Trait accent qui se déploie de gauche à droite au focus */
.search-form::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-form:focus-within::after {
    transform: scaleX(1);
}

.search-form__icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.search-form__input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-dark);
}

.search-form__input::placeholder {
    color: #B9A99B;
    font-weight: 400;
}

.search-form__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.search-form__submit {
    flex-shrink: 0;
}

.search-form__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-cream-dark);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: searchspin 0.7s linear infinite;
    flex-shrink: 0;
}

.search-form.is-loading .search-form__spinner {
    display: block;
}

@keyframes searchspin {
    to { transform: rotate(360deg); }
}

/* ─── Sections / chips ─── */
.search-results {
    padding-top: 24px;
}

.search-section + .search-section {
    margin-top: 24px;
}

.search-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.search-section__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gray);
    font-weight: 600;
}

.search-recent__clear {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-gray);
    text-decoration: underline;
}

.search-recent__clear:hover {
    color: var(--color-primary);
}

.search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-chip {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    background: none;
    border: 1px solid var(--color-sand);
    border-radius: 30px;
    padding: 8px 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.search-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(212, 136, 31, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(212, 136, 31, 0.14);
}

.search-chip:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ─── Résultats live ─── */
.search-cols {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: start;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 12px;
    border-radius: 12px 0 12px 12px;
    transition: background 0.18s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-item:hover,
.search-item.is-active {
    background: var(--color-cream);
    transform: translateX(4px);
}

.search-item__thumb {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 9px 0 9px 9px;
    overflow: hidden;
    background: var(--color-cream);
}

.search-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-item:hover .search-item__thumb img,
.search-item.is-active .search-item__thumb img {
    transform: scale(1.09);
}

.search-item__body {
    min-width: 0;
}

.search-item__name {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.35;
}

.search-item__name mark,
.search-cat__name mark {
    background: none;
    color: var(--color-primary);
}

.search-item__meta {
    display: block;
    font-size: 12.5px;
    color: var(--color-gray);
    margin-top: 2px;
}

.search-item__sep {
    margin: 0 6px;
    color: var(--color-sand);
}

.search-item__price,
.search-item__price .woocommerce-Price-amount {
    color: #8E5028;
    font-weight: 600;
}

.search-cat {
    justify-content: space-between;
    padding: 12px 14px;
}

.search-cat__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.3;
}

.search-cat__count {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: #8E5028;
    background: var(--color-cream);
    border-radius: 30px;
    padding: 3px 10px;
    margin-left: 10px;
}

.search-more {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

.search-empty {
    text-align: center;
    padding: 26px 0 10px;
}

.search-empty__msg {
    font-size: 16px;
    color: var(--color-dark);
}

.search-empty__hint {
    font-size: 13px;
    color: var(--color-gray);
    margin-top: 6px;
}

/* ─── Page de résultats de recherche ─── */
.search-page__refine {
    background: var(--color-white);
    padding: 34px 0 8px;
}

.search-refine {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
    border-bottom: 2px solid var(--color-sand);
    padding-bottom: 12px;
}

.search-refine::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-refine:focus-within::after {
    transform: scaleX(1);
}

.search-refine svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.search-refine input[type="search"] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--color-dark);
}

.search-refine input[type="search"]::placeholder {
    color: #B9A99B;
    font-weight: 400;
}

.search-refine input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.search-page__count {
    text-align: center;
    margin: 18px 0 0;
    font-size: 14px;
    color: var(--color-gray);
}

.search-page__count strong {
    color: var(--color-dark);
    font-weight: 700;
}

.search-page__families {
    justify-content: center;
    align-items: center;
    margin-top: 14px;
}

.search-page__families-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gray);
    font-weight: 600;
    margin-right: 4px;
}

a.search-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.search-chip__count {
    font-size: 10.5px;
    font-weight: 700;
    color: #8E5028;
    background: var(--color-cream);
    border-radius: 30px;
    padding: 1px 8px;
}

.search-chip:hover .search-chip__count {
    background: rgba(212, 136, 31, 0.12);
}

.search-page__results.archive-products {
    padding-top: 38px;
}

.search-page__empty {
    text-align: center;
    padding: 40px 0 20px;
}

.search-page__empty svg {
    margin: 0 auto 18px;
}

.search-page__empty-msg {
    font-size: 17px;
    color: var(--color-dark);
}

.search-page__empty-hint {
    font-size: 13.5px;
    color: var(--color-gray);
    margin-top: 8px;
}

.search-page__populars {
    justify-content: center;
    margin-top: 18px;
}

/* ─── Animations premium ─── */
@keyframes searchFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes searchBannerIn {
    from {
        opacity: 0;
        letter-spacing: 6px;
    }
    to {
        opacity: 1;
        letter-spacing: 1px;
    }
}

@keyframes searchFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

/* Loupe du header : léger grossissement au survol */
.header-search-toggle svg {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-search-toggle:hover svg {
    transform: scale(1.12);
}

/* Ouverture de l'overlay : le contenu suit le panneau en cascade */
.search-overlay.is-open .search-form {
    animation: searchFadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s backwards;
}

.search-overlay.is-open .search-default .search-section {
    animation: searchFadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.search-overlay.is-open .search-default .search-section:nth-child(1) { animation-delay: 0.16s; }
.search-overlay.is-open .search-default .search-section:nth-child(2) { animation-delay: 0.24s; }

/* Suggestions live : cascade pilotée par le délai inline posé en JS */
.search-live .search-item,
.search-live .search-more,
.search-live .search-empty {
    animation: searchFadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

/* Page de résultats : bannière, barre, puis cascade de cartes */
.search-page .archive-banner__title {
    animation: searchBannerIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.search-page .search-refine,
.search-page .search-page__count,
.search-page .search-page__families {
    animation: searchFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s backwards;
}

.search-page__results ul.products li.product-card {
    animation: searchFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.search-page__results ul.products li.product-card:nth-child(1)  { animation-delay: 0.10s; }
.search-page__results ul.products li.product-card:nth-child(2)  { animation-delay: 0.16s; }
.search-page__results ul.products li.product-card:nth-child(3)  { animation-delay: 0.22s; }
.search-page__results ul.products li.product-card:nth-child(4)  { animation-delay: 0.28s; }
.search-page__results ul.products li.product-card:nth-child(5)  { animation-delay: 0.34s; }
.search-page__results ul.products li.product-card:nth-child(6)  { animation-delay: 0.40s; }
.search-page__results ul.products li.product-card:nth-child(7)  { animation-delay: 0.46s; }
.search-page__results ul.products li.product-card:nth-child(8)  { animation-delay: 0.52s; }
.search-page__results ul.products li.product-card:nth-child(9)  { animation-delay: 0.58s; }
.search-page__results ul.products li.product-card:nth-child(10) { animation-delay: 0.64s; }
.search-page__results ul.products li.product-card:nth-child(11) { animation-delay: 0.70s; }
.search-page__results ul.products li.product-card:nth-child(12) { animation-delay: 0.76s; }
.search-page__results ul.products li.product-card:nth-child(13) { animation-delay: 0.82s; }
.search-page__results ul.products li.product-card:nth-child(14) { animation-delay: 0.88s; }
.search-page__results ul.products li.product-card:nth-child(15) { animation-delay: 0.94s; }

/* État vide : la loupe flotte doucement */
.search-page__empty svg {
    animation: searchFloat 3.4s ease-in-out infinite;
}

.search-page__empty .search-page__empty-msg,
.search-page__empty .search-page__empty-hint,
.search-page__empty .search-chips {
    animation: searchFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.search-page__empty .search-page__empty-hint { animation-delay: 0.10s; }
.search-page__empty .search-chips { animation-delay: 0.20s; }

/* Accessibilité : pas de mouvement si l'utilisateur le refuse */
@media (prefers-reduced-motion: reduce) {
    .search-overlay,
    .search-overlay__scrim,
    .search-overlay__panel,
    .search-form::after,
    .search-refine::after,
    .search-chip,
    .search-item,
    .search-item__thumb img,
    .header-search-toggle svg {
        transition: none !important;
    }

    .search-overlay.is-open .search-form,
    .search-overlay.is-open .search-default .search-section,
    .search-live .search-item,
    .search-live .search-more,
    .search-live .search-empty,
    .search-page .archive-banner__title,
    .search-page .search-refine,
    .search-page .search-page__count,
    .search-page .search-page__families,
    .search-page__results ul.products li.product-card,
    .search-page__empty svg,
    .search-page__empty .search-page__empty-msg,
    .search-page__empty .search-page__empty-hint,
    .search-page__empty .search-chips {
        animation: none !important;
    }
}

/* ─── Responsive recherche ─── */
@media (max-width: 900px) {
    .search-cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .search-refine .btn {
        padding: 10px 14px 8px;
        font-size: 11px;
    }

    .search-page__refine {
        padding-top: 24px;
    }
}

@media (max-width: 768px) {
    .header-search-toggle--mobile {
        display: flex;
        margin-left: auto;
        margin-right: 18px;
    }

    .menu-toggle {
        margin-left: 0;
    }

    .search-overlay__panel {
        height: 100%;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
    }

    .search-overlay__inner {
        padding: 18px 16px 30px;
    }

    .search-form__input {
        font-size: 17px;
    }

    .search-form__submit {
        display: none;
    }
}
