/*
Theme Name:   Les créas de Laurence
Theme URI:    https://lescreasdelaurence.fr
Description:  Thème 100 % custom pour la boutique artisanale de Laurence Deroussen (gravure & découpe sur bois · sublimation). Design maison « BOIS » + WooCommerce. Pas de framework, pas de surcouche.
Author:       James Molloy
Author URI:   https://lescreasdelaurence.fr
Version:      1.1.6
Requires at least: 6.4
Requires PHP: 8.0
License:      Private — propriétaire Laurence Deroussen (SIREN 952 561 017)
Text Domain:  lcl
Tags:         woocommerce, custom, boutique, artisanat
*/

/* ===========================================================================
   Les créas de Laurence — Feuille de style principale
   ---------------------------------------------------------------------------
   Architecture :
     1. Design tokens (variables CSS)
     2. Reset moderne + box-sizing
     3. Typographie
     4. Layout + conteneurs
     5. Composants (boutons, cartes, inputs)
     6. Header + burger menu overlay
     7. Footer + bandeau légal
     8. Home sections (hero scrapbook + boutique + techniques + portrait + footer riche)
     9. Pages produit (WooCommerce single-product)
    10. Boutique (WooCommerce archive)
    11. Panier / Checkout / Mon compte (WC overrides)
    12. Utilities (fade-in au scroll, visually-hidden, etc.)
    13. Responsive
   =========================================================================== */


/* ===========================================================================
   1. DESIGN TOKENS
   =========================================================================== */
:root {
    /* Palette BOIS */
    --lcl-bg:            #FBF5EC;  /* Fond page */
    --lcl-surface:       #FFFFFF;  /* Cards, modals */
    --lcl-cream:         #FDF9F2;  /* Fond doux alternatif */
    --lcl-sand:          #E8DCC4;  /* Bordures, séparateurs */
    --lcl-wood:          #A67C52;  /* Bois clair */
    --lcl-wood-dark:     #6B4423;  /* Bois foncé, titres */
    --lcl-accent:        #C96E4E;  /* Terracotta — accents, prix, CTA secondaires */
    --lcl-accent-hover:  #A35538;  /* Terracotta foncé — hover */
    --lcl-text:          #3E2C1C;  /* Texte principal */
    --lcl-muted:         #8B7355;  /* Texte secondaire, meta */
    --lcl-success:       #6B8E5A;  /* Vert sauge — notifications OK */
    --lcl-error:         #C04040;  /* Erreurs */

    /* Typographie */
    --lcl-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --lcl-font-title:   'Playfair Display', Georgia, 'Times New Roman', serif;
    --lcl-font-script:  'Dancing Script', 'Brush Script MT', cursive;

    /* Ombres */
    --lcl-shadow-sm:     0 2px 8px rgba(107, 68, 35, 0.06);
    --lcl-shadow:        0 10px 30px rgba(107, 68, 35, 0.08);
    --lcl-shadow-hover:  0 20px 50px rgba(107, 68, 35, 0.15);
    --lcl-shadow-strong: 0 30px 70px rgba(107, 68, 35, 0.22);

    /* Rayons */
    --lcl-radius-sm:     6px;
    --lcl-radius:        10px;
    --lcl-radius-lg:     16px;
    --lcl-radius-pill:   999px;

    /* Espacements et largeurs */
    --lcl-container:     1100px;   /* Container principal (plus large que les 960 Blocksy pour respirer en 2 col) */
    --lcl-container-narrow: 760px; /* Pages texte (CGV, mentions) */
    --lcl-gutter:        clamp(1rem, 3vw, 2rem);

    /* Transitions */
    --lcl-ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --lcl-ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
    --lcl-ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ===========================================================================
   2. RESET MODERNE
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--lcl-bg);
    color: var(--lcl-text);
    font-family: var(--lcl-font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
picture { display: block; }

a { color: var(--lcl-accent); text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus-visible { color: var(--lcl-accent-hover); text-decoration: underline; text-underline-offset: 3px; }

button, input, select, textarea { font: inherit; color: inherit; }

button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--lcl-accent);
    outline-offset: 3px;
    border-radius: 3px;
}

::selection { background: var(--lcl-sand); color: var(--lcl-wood-dark); }


/* ===========================================================================
   3. TYPOGRAPHIE
   =========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 0.75em;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lcl-script, .script { font-family: var(--lcl-font-script); font-weight: 700; }

.lcl-eyebrow {
    display: inline-block;
    font-family: var(--lcl-font-body);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lcl-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}


/* ===========================================================================
   4. LAYOUT + CONTENEURS
   =========================================================================== */
.lcl-container {
    width: 100%;
    max-width: var(--lcl-container);
    margin-inline: auto;
    padding-inline: var(--lcl-gutter);
}
.lcl-container-narrow {
    width: 100%;
    max-width: var(--lcl-container-narrow);
    margin-inline: auto;
    padding-inline: var(--lcl-gutter);
}

.lcl-section {
    padding-block: clamp(3rem, 7vw, 6rem);
}

.lcl-divider {
    width: 60px;
    height: 2px;
    background: var(--lcl-accent);
    border: none;
    margin: 1rem auto 1.5rem;
    border-radius: 2px;
}
.lcl-divider-left { margin-inline: 0; }


/* ===========================================================================
   5. COMPOSANTS — boutons
   =========================================================================== */
.lcl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--lcl-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--lcl-radius-pill);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
    white-space: nowrap;
    border: 2px solid transparent;
    line-height: 1.1;
}

.lcl-btn-primary {
    background: var(--lcl-wood-dark);
    color: var(--lcl-cream);
    border-color: var(--lcl-wood-dark);
    box-shadow: 0 6px 18px rgba(107, 68, 35, 0.2);
}
.lcl-btn-primary:hover, .lcl-btn-primary:focus-visible {
    background: var(--lcl-cream);
    color: var(--lcl-wood-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(107, 68, 35, 0.3);
}

.lcl-btn-accent {
    background: var(--lcl-accent);
    color: var(--lcl-surface);
    border-color: var(--lcl-accent);
    box-shadow: 0 6px 18px rgba(201, 110, 78, 0.25);
}
.lcl-btn-accent:hover, .lcl-btn-accent:focus-visible {
    background: var(--lcl-accent-hover);
    border-color: var(--lcl-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(201, 110, 78, 0.35);
}

.lcl-btn-ghost {
    background: transparent;
    color: var(--lcl-wood-dark);
    border-color: var(--lcl-wood-dark);
}
.lcl-btn-ghost:hover, .lcl-btn-ghost:focus-visible {
    background: var(--lcl-wood-dark);
    color: var(--lcl-cream);
}

/* Inputs & textarea */
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="url"], input[type="number"], input[type="search"],
textarea, select {
    font-family: var(--lcl-font-body);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--lcl-sand);
    border-radius: var(--lcl-radius);
    background: var(--lcl-surface);
    color: var(--lcl-text);
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--lcl-wood);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.2);
}

/* Cards */
.lcl-card {
    background: var(--lcl-surface);
    border-radius: var(--lcl-radius-lg);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--lcl-shadow);
}


/* ===========================================================================
   6. HEADER — burger button + overlay menu
   =========================================================================== */
.lcl-skip-link {
    position: absolute;
    top: 0; left: 0;
    background: var(--lcl-wood-dark);
    color: var(--lcl-cream);
    padding: 0.75rem 1.25rem;
    z-index: 1000;
    text-decoration: none;
}
.lcl-skip-link:focus-visible {
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    position: absolute !important;
    outline-offset: 0;
}

/* Bouton burger fixe en haut à droite */
.lcl-burger-btn {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 110;
    width: 56px; height: 56px;
    background: var(--lcl-wood-dark);
    color: var(--lcl-cream);
    border-radius: var(--lcl-radius);
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(107, 68, 35, 0.3);
    transition: background 0.25s ease, transform 0.25s ease;
}
.lcl-burger-btn:hover, .lcl-burger-btn:focus-visible {
    background: var(--lcl-accent);
    transform: translateY(-2px);
}
.lcl-burger-line {
    display: block;
    width: 24px; height: 2.5px;
    background: var(--lcl-cream);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
/* État ouvert : le burger devient une croix */
.lcl-burger-btn.is-open .lcl-burger-line:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.lcl-burger-btn.is-open .lcl-burger-line:nth-child(2) { opacity: 0; }
.lcl-burger-btn.is-open .lcl-burger-line:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Overlay menu plein écran */
.lcl-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(107, 68, 35, 0.97);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.lcl-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s linear 0s;
}
.lcl-menu-overlay[hidden] { display: none; }
.lcl-menu-overlay.is-open[hidden] { display: flex; }

.lcl-menu-nav { width: 100%; max-width: 640px; padding: 2rem var(--lcl-gutter); }
.lcl-menu-list { list-style: none; padding: 0; margin: 0; }
.lcl-menu-list li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s var(--lcl-ease-out), transform 0.4s var(--lcl-ease-out);
}
.lcl-menu-overlay.is-open .lcl-menu-list li { opacity: 1; transform: translateY(0); }
.lcl-menu-overlay.is-open .lcl-menu-list li:nth-child(1) { transition-delay: 0.1s; }
.lcl-menu-overlay.is-open .lcl-menu-list li:nth-child(2) { transition-delay: 0.18s; }
.lcl-menu-overlay.is-open .lcl-menu-list li:nth-child(3) { transition-delay: 0.26s; }
.lcl-menu-overlay.is-open .lcl-menu-list li:nth-child(4) { transition-delay: 0.34s; }
.lcl-menu-overlay.is-open .lcl-menu-list li:nth-child(5) { transition-delay: 0.42s; }
.lcl-menu-overlay.is-open .lcl-menu-list li:nth-child(6) { transition-delay: 0.5s; }

.lcl-menu-list a {
    display: block;
    padding: 1.1rem 0;
    font-family: var(--lcl-font-title);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--lcl-cream);
    text-decoration: none;
    border-bottom: 1px solid rgba(253, 249, 242, 0.15);
    transition: color 0.2s ease, padding-left 0.3s ease;
}
.lcl-menu-list a:hover, .lcl-menu-list a:focus-visible {
    color: var(--lcl-accent);
    padding-left: 0.75rem;
    text-decoration: none;
}
.lcl-menu-sub {
    display: block;
    font-family: var(--lcl-font-body);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lcl-sand);
    font-weight: 500;
    margin-top: 0.35rem;
    opacity: 0.75;
}
/* Badge compteur panier dans le menu overlay (petit cercle terracotta) */
.lcl-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 0.5rem;
    margin-left: 0.6rem;
    background: var(--lcl-accent);
    color: var(--lcl-cream);
    border-radius: var(--lcl-radius-pill);
    font-family: var(--lcl-font-body);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

/* Verrouille le scroll body quand le menu est ouvert */
body.lcl-menu-is-open { overflow: hidden; }


/* ===========================================================================
   7. FOOTER — compact (pages non-home)
   =========================================================================== */
.lcl-footer-compact {
    background: var(--lcl-wood-dark);
    color: var(--lcl-cream);
    padding-block: clamp(2rem, 4vw, 3rem);
    margin-top: clamp(3rem, 6vw, 5rem);
}
.lcl-legal-bar { margin-bottom: 1.5rem; }
.lcl-legal-bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    justify-content: center;
}
.lcl-legal-bar a {
    color: var(--lcl-sand);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease;
}
.lcl-legal-bar a:hover, .lcl-legal-bar a:focus-visible {
    color: var(--lcl-surface);
    text-decoration: underline;
}
.lcl-footer-copyright {
    text-align: center;
    font-size: 0.82rem;
    color: var(--lcl-sand);
    margin: 0;
}
.lcl-footer-copyright a {
    color: var(--lcl-cream);
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ===========================================================================
   8. HOME SECTIONS (migration depuis l'ancien thème enfant Blocksy)
   Headers de sections + hero scrapbook + boutique + techniques + portrait
   + footer riche. Classes prefixées .lcl-section-* et .lcl-hero + enfants.
   =========================================================================== */
/* ==========================================================================
   FRONT PAGE — template one-page custom (front-page.php)
   ========================================================================== */

.lcl-front-page {
    background-color: var(--lcl-bg);
    color: var(--lcl-text);
}

/* --- Sections génériques --- */
.lcl-section {
    padding: 5rem 1.5rem;
    max-width: var(--lcl-container);
    margin: 0 auto;
    position: relative;
}
.lcl-section-alt {
    background-color: var(--lcl-cream);
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - var(--lcl-container) / 2 + 1.5rem);
    padding-right: calc(50vw - var(--lcl-container) / 2 + 1.5rem);
}

.lcl-section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.lcl-section-eyebrow {
    font-family: var(--lcl-font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    color: var(--lcl-accent);
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.lcl-section-title {
    font-family: var(--lcl-font-title);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--lcl-wood-dark);
    margin: 0 0 1rem;
    font-weight: 600;
}
.lcl-section-subtitle {
    color: var(--lcl-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}
.lcl-section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Sections full-screen (min-height viewport) */
.lcl-section-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 1.5rem;
    position: relative;
}
.lcl-section-container {
    max-width: var(--lcl-container);
    width: 100%;
    margin: 0 auto;
}


/* ==========================================================================
   HERO SCRAPBOOK — planche bois gravée + 18 objets en orbites 360°
   Portage de dev/hero-scrapbook-template.html v9 (session 2026-11-28).
   La logique d'animation (orbites, pyrogravure, étincelles) est dans
   js/scrapbook.js. Les URLs des 19 assets PNG sont injectées par
   functions.php via wp_localize_script (window.LCL_SCRAPBOOK_ASSETS).
   ========================================================================== */

/* Titre H1 sr-only (le texte visible est gravé dans le SVG, inaccessible aux lecteurs d'écran) */
.lcl-hero .screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px; height: 1px;
    overflow: hidden;
}

/* ───── Scène complète ───── */
.lcl-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 80% at 50% 40%, rgba(253, 249, 242, 1) 0%, rgba(251, 245, 236, 1) 60%),
        var(--lcl-bg);
}
.lcl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(107, 68, 35, 0.04) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Point (0,0) de référence pour les orbites — tous les objets sont ses enfants */
.lcl-orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 5;
}

/* Container titre + planche bois */
.lcl-hero-text {
    position: relative;
    z-index: 10;
    width: min(780px, 92vw);
    aspect-ratio: 2 / 1;
    pointer-events: auto;
}

/* ───── Planche en bois horizontale ───── */
.lcl-wood-plank {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    transform: scale(0.92) translateY(10px);
    animation: lcl-plank-appear 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
    filter: drop-shadow(0 25px 50px rgba(107, 68, 35, 0.28));
    overflow: visible;
}
.lcl-wood-plank-fallback,
.lcl-wood-plank-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.lcl-wood-plank-img { object-fit: contain; z-index: 1; }
/* Si l'image IA s'est chargée, masquer le fallback SVG procédural
   (évite un halo dépassant derrière les bords live-edge). */
.lcl-wood-plank.has-image .lcl-wood-plank-fallback { display: none; }

@keyframes lcl-plank-appear {
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ───── Texte gravé lettre par lettre ───── */
.lcl-engraved-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
/* Le <text> parent reste invisible ; ce sont les <tspan> enfants
   (un par lettre, injectés par scrapbook.js) qui portent l'animation. */
.eng { fill: transparent; }
.eng-letter {
    opacity: 0;
    fill: transparent;
    animation-duration: 0.7s;
    animation-timing-function: cubic-bezier(0.2, 0.9, 0.35, 1);
    animation-fill-mode: forwards;
    animation-name: eng-letter-burn;
}
@keyframes eng-letter-burn {
    0%   { opacity: 0; fill: transparent;              filter: none; }
    8%   { opacity: 1; fill: rgba(255, 220, 130, 1);
           filter: drop-shadow(0 0 6px rgba(255, 180, 60, 1))
                   drop-shadow(0 0 14px rgba(255, 120, 40, 0.9))
                   brightness(1.6); }
    20%  { opacity: 1; fill: rgba(255, 150, 60, 1);
           filter: drop-shadow(0 0 4px rgba(255, 140, 50, 0.85))
                   drop-shadow(0 0 10px rgba(255, 90, 30, 0.6))
                   brightness(1.3); }
    45%  { opacity: 1; fill: rgba(170, 85, 35, 1);
           filter: drop-shadow(0 0 2px rgba(200, 100, 40, 0.5))
                   brightness(1.1); }
    75%  { opacity: 1; fill: rgba(90, 55, 25, 1);     filter: none; }
    100% { opacity: 1; fill: #3E2416;                 filter: none; }
}
.eng-sub .eng-letter {
    animation-name: eng-letter-burn-sub;
    animation-duration: 0.55s;
}
@keyframes eng-letter-burn-sub {
    0%   { opacity: 0; fill: transparent;              filter: none; }
    10%  { opacity: 1; fill: rgba(255, 210, 120, 1);
           filter: drop-shadow(0 0 4px rgba(255, 170, 50, 0.9))
                   drop-shadow(0 0 10px rgba(255, 100, 30, 0.6))
                   brightness(1.4); }
    30%  { opacity: 1; fill: rgba(190, 115, 55, 1);
           filter: drop-shadow(0 0 2px rgba(200, 100, 40, 0.5))
                   brightness(1.1); }
    70%  { opacity: 1; fill: rgba(120, 75, 40, 1);    filter: none; }
    100% { opacity: 1; fill: #5A3A1E;                 filter: none; }
}

/* ───── Objets en orbite ─────
   Chaque objet est positionné absolument au centre (0,0 = centre scène).
   Son transform est calculé frame par frame par scrapbook.js. */
.lcl-orbit-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    transition: filter 0.4s ease;
}
.lcl-orbit-item img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(107, 68, 35, 0.15));
}
/* Placeholder affiché si l'URL asset manque ou si l'image a 404 */
.lcl-orbit-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--lcl-font-script);
    font-size: 0.85rem;
    color: var(--lcl-wood-dark);
    padding: 0.4rem;
    text-align: center;
    line-height: 1.1;
    background: var(--lcl-surface);
    border: 2px dashed var(--lcl-sand);
    filter: drop-shadow(0 10px 20px rgba(107, 68, 35, 0.1));
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
}

/* ───── Accessibilité — prefers-reduced-motion ───── */
@media (prefers-reduced-motion: reduce) {
    .lcl-wood-plank,
    .lcl-orbit-item,
    .eng-letter {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
    .eng-letter { fill: #3E2416 !important; }
    .eng-sub .eng-letter { fill: #5A3A1E !important; }
}

/* Scroll hint flèche + label */
.lcl-scroll-hint {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--lcl-wood-dark) !important;
    font-family: var(--lcl-font-body);
    font-size: 0.78rem !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none !important;
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
    animation: lcl-scroll-bounce 2.5s ease-in-out infinite;
    z-index: 3;
}
.lcl-scroll-hint:hover { opacity: 1; transform: translateX(-50%) translateY(-3px); }
@keyframes lcl-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0);   }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* ========== SECTION 2 — BOUTIQUE : search + carousel 3-par-vue ========== */
.lcl-shop-section {
    background: var(--lcl-cream);
}

.lcl-shop-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0 auto 2.5rem;
    max-width: 760px;
    flex-wrap: wrap;
}

.lcl-search-form-inline {
    flex: 1;
    min-width: 280px;
    max-width: 480px;
    position: relative;
    margin: 0 !important;
}
.lcl-search-form-inline .lcl-search-icon {
    position: absolute;
    left: 1.1rem; top: 50%;
    transform: translateY(-50%);
    color: var(--lcl-muted);
    pointer-events: none;
}
.lcl-search-form-inline .lcl-search-input {
    width: 100%;
    padding: 0.85rem 2.75rem 0.85rem 3rem;
    border: 2px solid transparent;
    border-radius: 999px;
    background: var(--lcl-surface);
    box-shadow: var(--lcl-shadow);
    font-family: var(--lcl-font-body);
    font-size: 1rem;
    color: var(--lcl-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lcl-search-form-inline .lcl-search-input:focus {
    outline: none;
    border-color: var(--lcl-accent);
    box-shadow: var(--lcl-shadow-hover);
}
#lcl-shop-search-clear {
    position: absolute;
    right: 1rem; top: 50%;
    transform: translateY(-50%);
    background: var(--lcl-sand);
    color: var(--lcl-wood-dark);
    border: none;
    width: 24px; height: 24px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
}
#lcl-shop-search-clear:hover { background: var(--lcl-wood); color: var(--lcl-surface); }

.lcl-shop-count {
    font-family: var(--lcl-font-body);
    font-size: 0.95rem;
    color: var(--lcl-muted);
    white-space: nowrap;
}
.lcl-shop-count strong { color: var(--lcl-wood-dark); font-size: 1.1rem; }

/* Carousel */
.lcl-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}
.lcl-carousel-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}
.lcl-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.lcl-carousel-slide {
    flex: 0 0 calc(100% / 3 - 1rem);
    margin: 0 0.5rem;
    background: var(--lcl-surface);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--lcl-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lcl-carousel-slide:hover {
    transform: translateY(-6px);
    box-shadow: var(--lcl-shadow-hover);
}
.lcl-carousel-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.6s ease;
}
.lcl-carousel-slide:hover img { transform: scale(1.03); }
.lcl-carousel-slide-cat {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--lcl-accent);
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.lcl-carousel-slide-title {
    font-family: var(--lcl-font-title);
    font-size: 1.2rem;
    color: var(--lcl-wood-dark);
    margin: 0 0 0.75rem;
    line-height: 1.3;
    min-height: 2.5em;
}
.lcl-carousel-slide-short {
    font-size: 0.9rem;
    color: var(--lcl-muted);
    line-height: 1.5;
    margin: 0 0 1rem;
    flex: 1;
}
.lcl-carousel-slide-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lcl-accent);
    font-family: var(--lcl-font-body);
    margin: 0 0 1rem;
}
.lcl-carousel-slide-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--lcl-accent);
    color: var(--lcl-surface) !important;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}
.lcl-carousel-slide-link:hover {
    background: var(--lcl-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 110, 78, 0.3);
}

/* Flèches nav */
.lcl-carousel-nav {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--lcl-surface) !important;
    color: var(--lcl-wood-dark) !important;
    border: 2px solid var(--lcl-sand) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transition: all 0.25s ease !important;
    box-shadow: var(--lcl-shadow) !important;
}
.lcl-carousel-nav:hover:not(:disabled) {
    background: var(--lcl-accent) !important;
    color: var(--lcl-surface) !important;
    border-color: var(--lcl-accent) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--lcl-shadow-hover) !important;
}
.lcl-carousel-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Dots indicateurs */
.lcl-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}
.lcl-carousel-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--lcl-sand);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}
.lcl-carousel-dot:hover { background: var(--lcl-wood); }
.lcl-carousel-dot.is-active {
    background: var(--lcl-accent);
    transform: scale(1.3);
}
.lcl-carousel-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--lcl-muted);
    font-style: italic;
}

/* ========== SECTIONS 3 & 4 — GRAVURE + SUBLIMATION ========== */
.lcl-tech-section      { background: var(--lcl-bg); }
.lcl-tech-section-alt  { background: var(--lcl-cream); }

.lcl-tech-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.lcl-tech-grid-reverse { grid-template-columns: 1.2fr 1fr; }
.lcl-tech-grid-reverse .lcl-tech-visual { order: 2; }
@media (max-width: 860px) {
    .lcl-tech-grid, .lcl-tech-grid-reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .lcl-tech-grid-reverse .lcl-tech-visual { order: 0; }
}

.lcl-tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
.lcl-tech-illustration {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(107, 68, 35, 0.15));
    transition: transform 0.5s ease;
}
.lcl-tech-visual:hover .lcl-tech-illustration { transform: rotate(-2deg) scale(1.02); }

.lcl-tech-text p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--lcl-text);
    margin-bottom: 1rem;
}
.lcl-tech-text strong { color: var(--lcl-wood-dark); }
.lcl-tech-text em { color: var(--lcl-accent); font-style: normal; font-weight: 500; }

.lcl-tech-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.lcl-tech-list li {
    padding: 0.5rem 0;
    color: var(--lcl-wood-dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--lcl-sand);
}
.lcl-tech-list li:last-child { border-bottom: none; }

/* ========== SECTION 5 — LAURENCE PORTRAIT ========== */
.lcl-portrait-section {
    background:
        radial-gradient(ellipse 60% 70% at 50% 30%, rgba(232, 220, 196, 0.4) 0%, rgba(232, 220, 196, 0) 70%),
        var(--lcl-bg);
}
.lcl-portrait {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}
.lcl-portrait .lcl-section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
}
.lcl-portrait .script {
    color: var(--lcl-accent);
    display: inline-block;
    transform: rotate(-3deg);
}
.lcl-portrait-text {
    margin-top: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--lcl-text);
    text-align: left;
}
.lcl-portrait-text p { margin-bottom: 1.25rem; }
.lcl-portrait-text strong { color: var(--lcl-wood-dark); }
.lcl-portrait-text em { color: var(--lcl-accent); font-style: italic; }
.lcl-signature {
    text-align: center;
    font-size: 2rem !important;
    margin-top: 2rem !important;
    color: var(--lcl-wood-dark) !important;
}

/* ========== SECTION 6 — FOOTER RICHE ========== */
.lcl-footer-section {
    background: linear-gradient(180deg, var(--lcl-cream) 0%, var(--lcl-sand) 100%);
    padding: 5rem 1.5rem 2rem;
    min-height: auto;
}

/* Livre d'or */
.lcl-reviews-block {
    text-align: center;
    margin-bottom: 4rem;
}
.lcl-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.lcl-review-card {
    background: var(--lcl-surface);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--lcl-shadow);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lcl-review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow-hover);
}
.lcl-review-stars {
    color: var(--lcl-accent);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}
.lcl-review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--lcl-text);
    font-style: italic;
    margin-bottom: 1rem;
}
.lcl-review-author {
    font-size: 0.9rem;
    color: var(--lcl-muted);
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.lcl-review-author strong { color: var(--lcl-wood-dark); }
.lcl-review-date { font-size: 0.8rem; color: var(--lcl-muted); }

/* Footer grid */
.lcl-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(107, 68, 35, 0.15);
}
.lcl-footer-col-map { min-width: 260px; }
.lcl-footer-title {
    font-family: var(--lcl-font-title);
    font-size: 1.1rem;
    color: var(--lcl-wood-dark);
    margin: 0 0 1rem;
    font-weight: 600;
}
.lcl-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lcl-footer-nav li {
    padding: 0.35rem 0;
    font-size: 0.92rem;
    color: var(--lcl-text);
    line-height: 1.6;
}
.lcl-footer-nav a {
    color: var(--lcl-wood-dark) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.lcl-footer-nav a:hover { color: var(--lcl-accent) !important; }

.lcl-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.lcl-social-link {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--lcl-wood-dark);
    color: var(--lcl-surface) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.lcl-social-link:hover {
    background: var(--lcl-accent);
    color: var(--lcl-surface) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(201, 110, 78, 0.3);
}

.lcl-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--lcl-shadow);
    margin-top: 0.5rem;
}
.lcl-map-hint {
    font-size: 0.85rem;
    color: var(--lcl-muted);
    margin-top: 0.75rem;
    font-style: italic;
}

.lcl-footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(107, 68, 35, 0.15);
    font-size: 0.85rem;
    color: var(--lcl-muted);
}

/* Logo Laurence en pied de page home (grand médaillon décoratif) —
   plafonné pour éviter qu'il déborde toute la section. */
.lcl-footer-brand {
    text-align: center;
    margin: 2.5rem auto 1.5rem;
}
.lcl-footer-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.4s ease;
}
.lcl-footer-logo:hover {
    opacity: 1;
    transform: scale(1.02);
}

/* --- Responsive ajustements V2 --- */
@media (max-width: 860px) {
    .lcl-carousel-slide {
        flex: 0 0 calc(100% / 2 - 1rem);
    }
}
@media (max-width: 640px) {
    .lcl-section-full { padding: 4rem 1rem; min-height: auto; }
    .lcl-hero-logo-img { width: 90vmin; max-height: 65vh; }
    .lcl-hero-sub      { font-size: 0.95rem; padding: 0 1rem; }
    .lcl-carousel { gap: 0.5rem; }
    .lcl-carousel-slide {
        flex: 0 0 calc(100% - 1rem);
    }
    .lcl-carousel-nav { width: 40px; height: 40px; }
    .lcl-shop-filter-bar { flex-direction: column; align-items: stretch; }
    .lcl-search-form-inline { max-width: 100%; }
    .lcl-tech-grid, .lcl-tech-grid-reverse { gap: 2rem; }
    .lcl-tech-text p { font-size: 0.95rem; }
    .lcl-portrait-text { font-size: 0.95rem; }
    .lcl-footer-section { padding: 3.5rem 1rem 1.5rem; }
}

/* --- CTA 'Voir toute la boutique' sous le carousel home --- */
.lcl-shop-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}
.lcl-shop-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    background: var(--lcl-surface);
    color: var(--lcl-wood-dark);
    font-family: var(--lcl-font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--lcl-wood-dark);
    border-radius: 999px;
    box-shadow: var(--lcl-shadow);
    transition: all 0.25s ease;
}
.lcl-shop-cta svg {
    transition: transform 0.25s ease;
}
.lcl-shop-cta:hover {
    background: var(--lcl-wood-dark);
    color: var(--lcl-cream);
    box-shadow: var(--lcl-shadow-hover);
    transform: translateY(-2px);
}
.lcl-shop-cta:hover svg {
    transform: translateX(4px);
}

/* ===========================================================================
   9. PAGE TEMPLATE (CGV, Mentions, Confidentialité, Cookies — via page.php)
   =========================================================================== */
.lcl-page {
    padding-top: 5.5rem; /* laisse la place au bouton burger fixe */
}
.lcl-page-header {
    margin-bottom: 2.5rem;
}
.lcl-page-title {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 0.5rem;
    line-height: 1.15;
}
.lcl-entry-content {
    font-family: var(--lcl-font-body);
    color: var(--lcl-text);
    font-size: 1.02rem;
    line-height: 1.75;
}
.lcl-entry-content h2 {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    margin: 2.5rem 0 1rem;
}
.lcl-entry-content h3 {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-size: 1.2rem;
    margin: 1.75rem 0 0.75rem;
}
.lcl-entry-content p { margin: 0 0 1rem; }
.lcl-entry-content ul, .lcl-entry-content ol { padding-left: 1.5rem; margin: 0 0 1rem; }
.lcl-entry-content li { margin-bottom: 0.4rem; }
.lcl-entry-content a { color: var(--lcl-accent); text-decoration: underline; text-underline-offset: 3px; }
.lcl-entry-content a:hover { color: var(--lcl-accent-hover); }
.lcl-entry-content strong { color: var(--lcl-wood-dark); }
.lcl-entry-content table.lcl-table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
    font-size: 0.95rem;
}
.lcl-entry-content table.lcl-table th,
.lcl-entry-content table.lcl-table td {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid var(--lcl-sand);
    text-align: left;
}
.lcl-entry-content table.lcl-table th {
    background: var(--lcl-cream);
    font-weight: 600;
    color: var(--lcl-wood-dark);
}


/* ===========================================================================
   10. SINGLE PRODUCT (WooCommerce — markup custom défini dans single-product.php)
   =========================================================================== */
.lcl-single-product {
    padding-top: 5.5rem;
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

.lcl-breadcrumb {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: var(--lcl-muted);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lcl-sand);
}
.lcl-breadcrumb .woocommerce-breadcrumb { color: inherit; }
.lcl-breadcrumb a {
    color: var(--lcl-wood);
    text-decoration: none;
}
.lcl-breadcrumb a:hover { color: var(--lcl-accent); text-decoration: underline; }

/* Grille 2 colonnes : galerie | résumé */
.lcl-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
@media (max-width: 860px) {
    .lcl-product-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Galerie image */
.lcl-product-gallery {
    background: var(--lcl-surface);
    border-radius: var(--lcl-radius-lg);
    padding: 1rem;
    box-shadow: var(--lcl-shadow);
}
.lcl-product-gallery img {
    border-radius: var(--lcl-radius);
    width: 100%;
    height: auto;
    display: block;
}
.lcl-product-gallery .woocommerce-product-gallery {
    width: 100%;
    margin: 0;
    float: none;
    opacity: 1 !important; /* évite le blocage initial de flexslider */
}
.lcl-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
    width: 100%;
}
.lcl-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
.lcl-product-gallery .flex-control-thumbs li {
    flex: 0 0 calc(25% - 0.5rem);
    margin: 0;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.25s ease;
}
.lcl-product-gallery .flex-control-thumbs li:hover,
.lcl-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
}
.lcl-product-gallery .flex-control-thumbs img {
    border-radius: var(--lcl-radius-sm);
}
.lcl-product-gallery .woocommerce-product-gallery__trigger {
    background: var(--lcl-surface);
    color: var(--lcl-wood-dark);
    border-radius: var(--lcl-radius-pill);
    width: 40px;
    height: 40px;
    top: 1.25rem !important;
    right: 1.25rem !important;
    text-indent: -9999px;
    box-shadow: var(--lcl-shadow);
}

/* Résumé produit (col droite) */
.lcl-product-summary { margin: 0; }
.lcl-product-title {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 1.25rem;
}
.lcl-product-price {
    font-family: var(--lcl-font-body);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--lcl-accent);
    line-height: 1.1;
    margin: 0 0 1.5rem;
}
.lcl-product-price del {
    color: var(--lcl-muted);
    font-weight: 400;
    margin-right: 0.5rem;
}
.lcl-product-price ins {
    text-decoration: none;
    background: none;
}
.lcl-product-short {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--lcl-sand);
}
.lcl-product-short p { margin: 0 0 0.75rem; }
.lcl-product-short p:last-child { margin-bottom: 0; }

/* Form add-to-cart */
.lcl-product-cart { margin: 0 0 2rem; }
.lcl-product-cart form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin: 0;
}
.lcl-product-cart .quantity {
    display: inline-flex;
    margin: 0;
}
.lcl-product-cart .quantity > label { display: none; }
.lcl-product-cart .quantity input.qty {
    width: 72px;
    height: 52px;
    padding: 0 0.75rem;
    border: 2px solid var(--lcl-sand);
    border-radius: var(--lcl-radius);
    text-align: center;
    font-weight: 600;
    color: var(--lcl-wood-dark);
    background: var(--lcl-surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lcl-product-cart .quantity input.qty:focus {
    outline: none;
    border-color: var(--lcl-wood);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.2);
}
.lcl-product-cart button.single_add_to_cart_button {
    flex: 1 1 auto;
    min-width: 200px;
    white-space: nowrap;
    background: var(--lcl-wood-dark);
    color: var(--lcl-cream);
    border: 2px solid var(--lcl-wood-dark);
    padding: 0.95rem 1.75rem;
    border-radius: var(--lcl-radius-pill);
    font-family: var(--lcl-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(107, 68, 35, 0.2);
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.lcl-product-cart button.single_add_to_cart_button:hover,
.lcl-product-cart button.single_add_to_cart_button:focus-visible {
    background: var(--lcl-cream);
    color: var(--lcl-wood-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(107, 68, 35, 0.3);
}
.lcl-product-cart button.single_add_to_cart_button:active { transform: translateY(0); }

/* Meta */
.lcl-product-meta {
    font-size: 0.85rem;
    color: var(--lcl-muted);
    padding-top: 1.25rem;
    border-top: 1px solid var(--lcl-sand);
}
.lcl-product-meta .sku_wrapper,
.lcl-product-meta .posted_in,
.lcl-product-meta .tagged_as {
    display: block;
    margin-bottom: 0.4rem;
}
.lcl-product-meta a {
    color: var(--lcl-wood);
    text-decoration: none;
}
.lcl-product-meta a:hover {
    color: var(--lcl-accent);
    text-decoration: underline;
}

/* Tabs */
.lcl-product-tabs {
    margin: clamp(3rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4rem);
}
.lcl-product-tabs .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0 0 2rem;
    list-style: none;
    border: none;
    border-bottom: 2px solid var(--lcl-sand);
}
.lcl-product-tabs .woocommerce-tabs ul.tabs::before,
.lcl-product-tabs .woocommerce-tabs ul.tabs::after { display: none; }
.lcl-product-tabs .woocommerce-tabs ul.tabs li {
    background: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
}
.lcl-product-tabs .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 0.95rem 1.5rem;
    font-family: var(--lcl-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: var(--lcl-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.lcl-product-tabs .woocommerce-tabs ul.tabs li a:hover { color: var(--lcl-wood-dark); }
.lcl-product-tabs .woocommerce-tabs ul.tabs li.active a {
    color: var(--lcl-accent);
    border-bottom-color: var(--lcl-accent);
}
.lcl-product-tabs .woocommerce-tabs .panel {
    padding: 1rem 0 0;
    line-height: 1.7;
}
.lcl-product-tabs .woocommerce-tabs .panel h2 {
    font-family: var(--lcl-font-title);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--lcl-wood-dark);
    margin: 0 0 1rem;
}

/* Related products */
.lcl-related-products {
    margin: clamp(3rem, 5vw, 4rem) 0 0;
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--lcl-sand);
}
.lcl-related-products .related > h2,
.lcl-related-products .up-sells > h2 {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    margin: 0 0 2.5rem;
}
.lcl-related-products .related > h2::after,
.lcl-related-products .up-sells > h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--lcl-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}
/* Related products — WC rend :
     <section class="related products">
       <h2>Produits similaires</h2>
       <ul class="products columns-X"> ... </ul>
     </section>
   Bug WC : la section parent est en `display: grid` avec 4 colonnes, ce qui
   coince le h2 en col 1 et l'ul en col 2 (241 px au lieu de 1036). On ne peut
   pas désactiver ce grid (WC le force en inline style). Solution : forcer
   TOUS les enfants de la section à spanner la largeur complète. */
body.single-product .lcl-related-products,
body.single-product .lcl-related-products .related.products,
body.single-product .lcl-related-products section.products,
body.single-product .lcl-related-products section.related {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-template: none !important;
}
/* Ceinture + bretelles : même si WC force display:grid sur la section via
   inline style, les enfants (h2 + ul) prennent toute la largeur en spanning
   toutes les cols existantes. */
body.single-product .lcl-related-products section.related.products > *,
body.single-product .lcl-related-products section.related > *,
body.single-product .lcl-related-products section.products > * {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
}
body.single-product .lcl-related-products ul.products,
body.single-product .lcl-related-products section.related ul,
body.single-product .lcl-related-products section.products ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 1.75rem !important;
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    justify-content: start !important;
    /* Variables CSS que WC core utilise parfois pour le nombre de cols */
    --wc-column-count: 3;
    --wc-grid: repeat(auto-fill, minmax(260px, 1fr));
}
/* ⚠️ WC ajoute un ::before clearfix (content:'';display:table) sur
   ul.products — en CSS grid, ce pseudo-élément devient un grid item fantôme
   qui occupe la 1re cellule et décale tous les produits visibles d'une
   colonne. On le supprime. */
body.single-product .lcl-related-products ul.products::before,
body.single-product .lcl-related-products ul.products::after {
    content: none !important;
    display: none !important;
}
.lcl-related-products ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    clear: none !important;
    background: var(--lcl-surface);
    border-radius: var(--lcl-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--lcl-shadow);
    text-align: center;
    transition: transform 0.4s var(--lcl-ease), box-shadow 0.4s var(--lcl-ease);
}
.lcl-related-products ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: var(--lcl-shadow-hover);
}
.lcl-related-products ul.products li.product a img,
.lcl-related-products ul.products li.product img {
    border-radius: var(--lcl-radius);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: auto;
    margin: 0 0 0.75rem;
    display: block;
    transition: transform 0.5s var(--lcl-ease);
}
.lcl-related-products ul.products li.product:hover img {
    transform: scale(1.03);
}
.lcl-related-products ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    padding: 0;
    line-height: 1.3;
    min-height: 2.6em;
}
.lcl-related-products ul.products li.product .price {
    color: var(--lcl-accent);
    font-weight: 700;
    font-family: var(--lcl-font-body);
    font-size: 1.1rem;
    display: block;
    margin: 0 0 0.75rem;
}
.lcl-related-products ul.products li.product .button {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    background: var(--lcl-accent);
    color: var(--lcl-surface);
    border-radius: var(--lcl-radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}
.lcl-related-products ul.products li.product .button:hover {
    background: var(--lcl-accent-hover);
    transform: translateY(-2px);
    color: var(--lcl-surface);
    text-decoration: none;
}

/* Notices WC — on retire l'icône pseudo-element ::before de WooCommerce
   (font icon WooCommerce qui se superpose au 1er mot) pour un rendu propre. */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    background: var(--lcl-cream);
    border: 1px solid var(--lcl-sand);
    border-left: 4px solid var(--lcl-accent);
    border-radius: var(--lcl-radius);
    padding: 1rem 1.25rem !important;
    font-family: var(--lcl-font-body);
    color: var(--lcl-text);
    margin: 0 0 1.5rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-noreviews::before,
li.woocommerce-info::before,
li.woocommerce-message::before { display: none !important; content: none !important; }
.woocommerce-message .button, .woocommerce-info .button {
    margin-left: auto;
}
.woocommerce-message a, .woocommerce-info a {
    color: var(--lcl-accent);
    font-weight: 600;
}
.woocommerce-error { border-left-color: var(--lcl-error); }


/* ===========================================================================
   11. ARCHIVE PRODUCT (Shop + catégories — archive-product.php)
   =========================================================================== */
.lcl-archive-product { padding-top: 5.5rem; }

.lcl-shop-header {
    text-align: center;
    margin-bottom: 3rem;
}
.lcl-shop-title {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0;
    line-height: 1.15;
}

.lcl-archive-product .products,
.lcl-archive-product ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem;
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}
.lcl-archive-product ul.products li.product {
    background: var(--lcl-surface);
    border-radius: var(--lcl-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--lcl-shadow);
    margin: 0;
    width: auto;
    float: none;
    text-align: center;
    transition: transform 0.4s var(--lcl-ease), box-shadow 0.4s var(--lcl-ease);
    position: relative;
}
.lcl-archive-product ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: var(--lcl-shadow-hover);
}
.lcl-archive-product ul.products li.product a img {
    border-radius: var(--lcl-radius);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    transition: transform 0.6s var(--lcl-ease);
}
.lcl-archive-product ul.products li.product:hover a img {
    transform: scale(1.03);
}
.lcl-archive-product ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    line-height: 1.3;
    min-height: 2.6em;
}
.lcl-archive-product ul.products li.product .price {
    color: var(--lcl-accent);
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--lcl-font-body);
    margin: 0 0 0.75rem;
    display: block;
}
.lcl-archive-product ul.products li.product .button {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--lcl-accent);
    color: var(--lcl-surface);
    border-radius: var(--lcl-radius-pill);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.88rem;
    transition: background 0.25s ease, transform 0.2s ease;
}
.lcl-archive-product ul.products li.product .button:hover {
    background: var(--lcl-accent-hover);
    transform: translateY(-2px);
    color: var(--lcl-surface);
    text-decoration: none;
}

.lcl-shop-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--lcl-muted);
    font-style: italic;
}

/* Pagination */
.lcl-archive-product .woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}
.lcl-archive-product .woocommerce-pagination ul li a,
.lcl-archive-product .woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--lcl-radius-pill);
    background: var(--lcl-surface);
    color: var(--lcl-wood-dark);
    border: 1px solid var(--lcl-sand);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}
.lcl-archive-product .woocommerce-pagination ul li a:hover,
.lcl-archive-product .woocommerce-pagination ul li span.current {
    background: var(--lcl-wood-dark);
    color: var(--lcl-cream);
    border-color: var(--lcl-wood-dark);
}


/* ===========================================================================
   11bis. PANIER / CHECKOUT / MON COMPTE (WC pages secondaires)
   =========================================================================== */
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-account main {
    padding-top: 5.5rem;
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

/* Titre H1 des pages WC (Panier, Commande, Mon compte) */
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-account .entry-title,
body.woocommerce-cart h1,
body.woocommerce-checkout h1,
body.woocommerce-account h1 {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 0.5rem;
}

/* Bouton "Continuer mes achats" injecté dans le panier (voir functions.php) */
.lcl-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.6rem 1.25rem;
    background: transparent;
    color: var(--lcl-wood-dark);
    border: 2px solid var(--lcl-wood-dark);
    border-radius: var(--lcl-radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.lcl-continue-shopping:hover {
    background: var(--lcl-wood-dark);
    color: var(--lcl-cream);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Input code promo : largeur confortable (défaut WC = 100px, trop étroit) */
body.woocommerce-cart #coupon_code,
body.woocommerce-cart input.input-text[name="coupon_code"] {
    width: auto !important;
    min-width: 200px;
    flex: 0 1 220px;
    height: 48px;
    padding: 0 1rem;
    border: 2px solid var(--lcl-sand);
    border-radius: var(--lcl-radius);
    background: var(--lcl-surface);
    font-size: 0.95rem;
    box-sizing: border-box;
}
body.woocommerce-cart .coupon {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
body.woocommerce-cart .coupon .button {
    height: 48px;
    padding: 0 1.25rem !important;
}

/* Quantité dans le panier : largeur confortable (≥ 3 chiffres) + on supprime
   les flèches spinner HTML5 (natives au browser) qui mangeaient de la place
   et affichaient un UI incohérent avec le reste du design. */
body.woocommerce-cart table.cart input.qty,
body.woocommerce-cart table.shop_table input.qty,
body.woocommerce-cart td.product-quantity input,
body.woocommerce-cart td.product-quantity input[type="number"],
body.woocommerce-cart .woocommerce-cart-form input.qty,
body.woocommerce-cart .cart_item input.qty {
    width: 80px !important;
    min-width: 80px !important;
    height: 44px !important;
    padding: 0 0.6rem !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border: 2px solid var(--lcl-sand) !important;
    border-radius: var(--lcl-radius-sm) !important;
    background: var(--lcl-surface) !important;
    color: var(--lcl-wood-dark) !important;
    box-sizing: border-box !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}
/* Supprime les flèches up/down natives WebKit (Chrome, Safari, Edge) */
body.woocommerce-cart input[type="number"]::-webkit-inner-spin-button,
body.woocommerce-cart input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Dashboard custom Mon compte (injecté via woocommerce_account_dashboard) */
.lcl-admin-dash {
    background: var(--lcl-surface);
    border-radius: var(--lcl-radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--lcl-shadow);
    margin-bottom: 2rem;
}
.lcl-admin-dash h3 {
    font-family: var(--lcl-font-title);
    color: var(--lcl-wood-dark);
    font-size: 1.35rem;
    margin: 0 0 1.25rem;
}
.lcl-admin-dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 0 0 1.5rem;
}
.lcl-admin-dash-stat {
    background: var(--lcl-cream);
    border-radius: var(--lcl-radius);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--lcl-sand);
}
.lcl-admin-dash-stat .num {
    display: block;
    font-family: var(--lcl-font-title);
    font-size: 2.25rem;
    color: var(--lcl-accent);
    font-weight: 700;
    line-height: 1;
}
.lcl-admin-dash-stat .label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--lcl-muted);
    text-transform: uppercase;
    margin-top: 0.35rem;
}
.lcl-admin-dash-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.lcl-admin-dash-links a {
    display: inline-block;
    padding: 0.55rem 1rem;
    background: var(--lcl-wood-dark);
    color: var(--lcl-cream);
    border-radius: var(--lcl-radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}
.lcl-admin-dash-links a:hover {
    background: var(--lcl-accent);
    color: var(--lcl-cream);
    text-decoration: none;
}


/* ===========================================================================
   12. UTILITIES
   =========================================================================== */
.lcl-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.lcl-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--lcl-ease), transform 0.8s var(--lcl-ease);
    will-change: opacity, transform;
}
.lcl-fade-in.lcl-visible { opacity: 1; transform: translateY(0); }

.lcl-stagger > .lcl-fade-in:nth-child(1) { transition-delay: 0.05s; }
.lcl-stagger > .lcl-fade-in:nth-child(2) { transition-delay: 0.15s; }
.lcl-stagger > .lcl-fade-in:nth-child(3) { transition-delay: 0.25s; }
.lcl-stagger > .lcl-fade-in:nth-child(4) { transition-delay: 0.35s; }
.lcl-stagger > .lcl-fade-in:nth-child(n+5) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .lcl-fade-in { opacity: 1; transform: none; }
}
