/* ═══════════════════════════════════════════════════════════════════ */
/* LA COLLECTION — Override boutique Maha · v=1                         */
/* Applied only when tenant.subdomain === 'maha' (injected by backend)  */
/* ═══════════════════════════════════════════════════════════════════ */

/* ─── 1. Typographie noble ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Playfair+Display:wght@400;700&display=swap');

/* ─── 2. Eyebrow "LA COLLECTION" injecté avant H1 ──────────────────── */
.mc-eyebrow {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.42em !important;
    text-transform: uppercase !important;
    color: #8B6914 !important;
    text-align: center !important;
    margin-bottom: 14px !important;
    font-weight: 800 !important;
    opacity: 0.85;
}

/* ─── 3. Nom créateur en Playfair, garde le shimmer existant ───────── */
body[data-theme="wood-legendary"] .ss-creator-name,
.ss-creator-name {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.08 !important;
    font-size: clamp(2.4rem, 6.5vw, 3.6rem) !important;
}

/* ─── 4. Bio remplacée par signature italique ───────────────────────── */
body[data-theme="wood-legendary"] .ss-creator-bio,
.ss-creator-bio {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic !important;
    font-size: clamp(17px, 2vw, 21px) !important;
    color: #7A4420 !important;
    font-weight: 400 !important;
    letter-spacing: 0.005em !important;
    max-width: 580px;
    margin: 6px auto 0 !important;
    line-height: 1.55 !important;
    opacity: 0.92;
}

/* ─── 5. Compteur "X produits" : transformé en "LA COLLECTION · X" ─── */
.ss-count {
    font-family: 'Inter', sans-serif !important;
    font-size: 10.5px !important;
    letter-spacing: 0.34em !important;
    text-transform: uppercase !important;
    color: rgba(122, 68, 32, 0.62) !important;
    font-weight: 500 !important;
    margin-bottom: 22px !important;
}

/* ─── 6. Filtre univers : sticky-top backdrop-blur ─────────────────── */
.ss-uni-filter {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 20px 16px 18px !important;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin-bottom: 20px;
    border-bottom: none;
}


/* Boutons univers : marron foncé pour lisibilité sur sticky transparente */
[data-theme=wood-legendary] .ss-uni-btn,
.ss-uni-btn {
    color: #2A1200 !important;
    -webkit-text-fill-color: #2A1200 !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 0 rgba(255,242,188,0.45) !important;
}

/* ─── 7. La grille — fix STRICT 3 colonnes desktop ─────────────────── */
.ss-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    align-items: stretch !important;
    padding: 0 16px;
}
@media (max-width: 980px) {
    .ss-cards { grid-template-columns: repeat(2, 1fr) !important; gap: 22px !important; }
}
@media (max-width: 620px) {
    .ss-cards { grid-template-columns: 1fr !important; gap: 18px !important; }
}

/* ─── 8. Cartes : hauteur uniforme, flex column, prix margin-top auto ─ */
.ss-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 460px !important;
}
.ss-card__body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}
[data-theme=wood-legendary] .ss-card__title, .ss-card__title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-size: 1.18rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    color: #1A0800 !important;
    text-shadow: 0 1px 0 rgba(255,242,190,0.85), 0 0 6px rgba(255,235,170,0.55) !important;
    text-transform: uppercase !important;
}
[data-theme=wood-legendary] .ss-card__desc, .ss-card__desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
    color: #2A0F00 !important;
    text-shadow: 0 1px 0 rgba(255,240,185,0.75), 0 0 4px rgba(255,235,170,0.45) !important;
}
.ss-card__footer {
    margin-top: auto !important;
    padding-top: 18px !important;
}
.ss-card__price {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    font-size: 1.45rem !important;
    color: #2A1200 !important;
    letter-spacing: -0.01em !important;
}

/* ─── 9. CTA "Voir →" en or vif (visible enfin) ────────────────────── */
.ss-card__cta {
    background: linear-gradient(135deg, #E5BE6E 0%, #C9A227 55%, #A8851E 100%) !important;
    color: #2A1200 !important;
    border: 1px solid rgba(168, 133, 30, 0.55) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    padding: 10px 20px !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(168, 133, 30, 0.28), inset 0 1px 0 rgba(255, 245, 195, 0.5) !important;
    text-shadow: 0 1px 0 rgba(255, 242, 188, 0.5) !important;
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease !important;
}
.ss-card:hover .ss-card__cta {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 8px 24px rgba(168, 133, 30, 0.42), inset 0 1px 0 rgba(255, 245, 195, 0.6) !important;
}

/* ─── 10. Badges "NEW" colorés → uniformiser en or ─────────────────── */
.ss-card__new-badge {
    background: linear-gradient(135deg, #E5BE6E 0%, #C9A227 100%) !important;
    color: #2A1200 !important;
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.45), inset 0 1px 0 rgba(255, 245, 195, 0.5) !important;
    text-shadow: 0 1px 0 rgba(255, 242, 188, 0.45) !important;
    border: 1px solid rgba(168, 133, 30, 0.55) !important;
    animation: none !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
}
.ss-card__badge {
    font-family: 'Inter', sans-serif !important;
    color: #8B6914 !important;
    font-weight: 800 !important;
    letter-spacing: 0.18em !important;
}

/* ─── 11. HERO produit phare "La Niche" (injecté par JS) ───────────── */
.mc-hero-featured {
    max-width: 1180px;
    margin: 0 auto 56px;
    padding: 0 16px;
}
.mc-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: linear-gradient(135deg, #1A0C03 0%, #3A1C0C 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(60, 25, 5, 0.32), 0 0 0 1px rgba(168, 133, 30, 0.28);
    min-height: 380px;
}
@media (max-width: 820px) {
    .mc-hero-card { grid-template-columns: 1fr; min-height: auto; }
}
.mc-hero-visual {
    position: relative;
    background-size: cover;
    background-position: center center;
    min-height: 320px;
}
.mc-hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 40%, rgba(26,12,3,0.45) 100%);
}
@media (max-width: 820px) { .mc-hero-visual { min-height: 220px; } .mc-hero-visual::after { background: linear-gradient(180deg, transparent 50%, rgba(26,12,3,0.6) 100%); } }
.mc-hero-body {
    padding: 44px 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #F5E9C8;
}
@media (max-width: 820px) { .mc-hero-body { padding: 28px 28px 32px; } }
.mc-hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #E5BE6E;
    margin-bottom: 14px;
    font-weight: 600;
}
.mc-hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(28px, 4.5vw, 42px);
    line-height: 1.1;
    margin: 0 0 14px;
    background: linear-gradient(180deg, #FFF6E0 0%, #E5BE6E 60%, #B6904C 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.mc-hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.55;
    color: rgba(245, 233, 200, 0.88);
    margin: 0 0 24px;
}
.mc-hero-meta {
    display: flex; flex-wrap: wrap; gap: 18px;
    margin-bottom: 28px;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(229, 190, 110, 0.85);
}
.mc-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.mc-hero-meta span::before { content: '✦'; color: #C9A227; font-size: 10px; }
.mc-hero-cta {
    display: inline-flex; align-items: center; gap: 12px;
    align-self: flex-start;
    padding: 14px 30px;
    background: linear-gradient(135deg, #E5BE6E 0%, #C9A227 55%, #A8851E 100%);
    color: #1A0C03 !important;
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px;
    letter-spacing: 0.28em; text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(255, 245, 195, 0.42);
    box-shadow: 0 14px 38px rgba(201, 162, 39, 0.42), inset 0 1px 0 rgba(255, 245, 195, 0.5);
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}
.mc-hero-cta:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 22px 60px rgba(201, 162, 39, 0.55), inset 0 1px 0 rgba(255, 245, 195, 0.5); }
.mc-hero-price {
    margin-top: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(245, 233, 200, 0.6);
}
.mc-hero-price strong {
    font-family: 'Playfair Display', serif;
    font-weight: 700; font-size: 26px;
    color: #E5BE6E; letter-spacing: -0.01em; margin-right: 6px;
    text-transform: none;
}

/* ─── 12. Social proof bandeau (injecté par JS) ────────────────────── */
.mc-trust {
    max-width: 1180px;
    margin: 0 auto 48px;
    padding: 26px 32px;
    background: linear-gradient(180deg, rgba(245, 224, 168, 0.18), rgba(245, 224, 168, 0.06));
    border-top: 1px solid rgba(180, 125, 40, 0.22);
    border-bottom: 1px solid rgba(180, 125, 40, 0.22);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 780px) {
    .mc-trust { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 20px 22px; }
}
.mc-trust-item { text-align: center; }
.mc-trust-big {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1;
    color: #8B6914;
    letter-spacing: -0.01em;
}
.mc-trust-label {
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(122, 68, 32, 0.7);
    font-weight: 500;
}

/* ─── 13. Ornement sacré entre sections (injecté par JS) ───────────── */
.mc-divider {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin: 48px auto 44px;
    max-width: 600px;
}
.mc-divider-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180, 125, 40, 0.42), transparent);
}
.mc-divider-star { color: #C9A227; font-size: 12px; }

/* ─── 14. Footer signature personnelle (override texte via JS) ─────── */
.mc-footer-signature {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: rgba(122, 68, 32, 0.78);
    text-align: center;
    margin-top: 8px;
    line-height: 1.6;
}

/* ─── 15. Carrousel témoignages (injecté par JS) ───────────────────── */
.mc-quotes {
    max-width: 1180px;
    margin: 0 auto 56px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 820px) { .mc-quotes { grid-template-columns: 1fr; } }
.mc-quote {
    background: rgba(255, 248, 230, 0.65);
    border: 1px solid rgba(180, 125, 40, 0.18);
    border-radius: 16px;
    padding: 24px 24px 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 22px rgba(60, 25, 5, 0.06);
}
.mc-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #C9A227;
    line-height: 0.6;
    margin-bottom: 4px;
}
.mc-quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 15.5px;
    line-height: 1.55;
    color: #3A1C0C;
    margin: 0 0 14px;
}
.mc-quote-author {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8B6914;
    font-weight: 600;
}

/* ─── 16. Section heading générique ─────────────────────────────────── */
.mc-section-heading {
    text-align: center;
    margin: 0 auto 28px;
    max-width: 720px;
    padding: 0 16px;
}
.mc-section-heading .eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: #8B6914;
    font-weight: 600;
    margin-bottom: 10px;
}
.mc-section-heading h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(24px, 3.4vw, 32px);
    line-height: 1.18;
    color: #2A1200;
    margin: 0;
}
.mc-section-heading h2 em { font-style: italic; color: #8B6914; }
