/**
 * SiloPress — WooCommerce Fashion Template
 * Haute Couture Editorial — Luxury Fashion Magazine Aesthetic
 *
 * Design: Vogue/Harper's Bazaar meets modern e-commerce editorial
 * Typography: Cormorant Garamond (display) + Outfit (body)
 * Palette: Onyx blacks, ivory whites, rose gold accents
 *
 * IMPORTANT: This template is WooCommerce-safe.
 * - NO ul/ol/li styles (preserves pagination, product grids, widgets)
 * - All selectors scoped to body.silopress-template-woo-fashion
 * - Does not override WooCommerce core classes
 *
 * @package SiloPress
 * @since   2.53.0
 */

/* ==========================================================================
   Font Imports — Haute Couture Typography
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Outfit:wght@200;300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ==========================================================================
   CSS Variables — Fashion House Palette
   ========================================================================== */
body.silopress-template-woo-fashion {
    /* Onyx & Ivory — The Foundation */
    --sp-ink: #0d0d0d;
    --sp-ink-soft: #1a1a1a;
    --sp-ink-muted: #757575;
    --sp-ink-faded: #a3a3a3;
    --sp-paper: #fefdfb;
    --sp-paper-warm: #faf8f5;
    --sp-paper-cream: #f5f0ea;

    /* Accent — Rose Gold */
    --sp-accent: #b76e79;
    --sp-accent-deep: #9c5663;
    --sp-accent-glow: #d4a0a7;
    --sp-accent-subtle: rgba(183, 110, 121, 0.07);

    /* Secondary — Champagne */
    --sp-champagne: #c9b99a;
    --sp-champagne-soft: #ddd0b8;

    /* Semantic */
    --sp-success: #4a7c59;
    --sp-warning: #b8860b;
    --sp-error: #8b2942;
    --sp-info: #4a6fa5;

    /* Typography */
    --sp-font-display: 'Cormorant Garamond', 'Didot', 'Bodoni MT', Georgia, serif;
    --sp-font-body: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
    --sp-font-mono: 'JetBrains Mono', 'Consolas', monospace;

    /* Spacing Scale */
    --sp-space-1: 0.25rem;
    --sp-space-2: 0.5rem;
    --sp-space-3: 0.75rem;
    --sp-space-4: 1rem;
    --sp-space-6: 1.5rem;
    --sp-space-8: 2rem;
    --sp-space-12: 3rem;
    --sp-space-16: 4rem;
    --sp-space-24: 6rem;

    /* Layout */
    --sp-content-width: 720px;
    --sp-wide-width: 960px;

    /* Effects */
    --sp-shadow-editorial: 0 1px 30px rgba(0, 0, 0, 0.04);
    --sp-shadow-card: 0 2px 20px rgba(0, 0, 0, 0.06);
    --sp-shadow-hover: 0 6px 32px rgba(0, 0, 0, 0.10);

    /* Transitions */
    --sp-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --sp-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    /* Borders */
    --sp-border-hairline: 1px solid rgba(13, 13, 13, 0.08);
    --sp-border-accent: 1px solid var(--sp-accent);
}

/* ==========================================================================
   Article Container — The Runway
   ========================================================================== */
body.silopress-template-woo-fashion :is(.sp-article, .entry-content, .post-content, .mrcontent-science, article .content) {
    font-family: var(--sp-font-body);
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--sp-ink-soft);
    max-width: var(--sp-content-width);
    margin: 0 auto;
    padding: var(--sp-space-12) var(--sp-space-6);
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Paragraphs — Editorial Prose
   ========================================================================== */
body.silopress-template-woo-fashion :is(.sp-article-paragraph, .he-paragraph, .health-paragraph, .entry-content p, .mrcontent-science p) {
    margin: 0 0 var(--sp-space-6);
    color: var(--sp-ink-soft);
    letter-spacing: 0.01em;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Lead paragraph — Fashion editorial drop cap */
body.silopress-template-woo-fashion :is(.sp-article-paragraph, .he-paragraph, .health-paragraph):first-of-type,
body.silopress-template-woo-fashion .entry-content > p:first-of-type,
body.silopress-template-woo-fashion .mrcontent-science > p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--sp-ink);
    font-weight: 300;
    margin-bottom: var(--sp-space-8);
}

body.silopress-template-woo-fashion :is(.sp-article-paragraph, .he-paragraph, .health-paragraph):first-of-type::first-letter,
body.silopress-template-woo-fashion .entry-content > p:first-of-type::first-letter,
body.silopress-template-woo-fashion .mrcontent-science > p:first-of-type::first-letter {
    float: left;
    font-family: var(--sp-font-display);
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 0.8;
    margin: 0.06em 0.12em 0 0;
    color: var(--sp-accent);
    font-style: italic;
}

/* ==========================================================================
   Headings — Fashion Titles
   ========================================================================== */
body.silopress-template-woo-fashion :is(.sp-article-section, .he-section-heading, .health-section-heading, .entry-content h2, .mrcontent-science h2) {
    font-family: var(--sp-font-display);
    font-size: 2.25rem;
    font-weight: 300;
    font-style: italic;
    color: var(--sp-ink);
    margin: var(--sp-space-16) 0 var(--sp-space-6);
    line-height: 1.2;
    letter-spacing: -0.01em;
    position: relative;
}

/* Minimal accent line — thin, elegant */
body.silopress-template-woo-fashion :is(.sp-article-section, .he-section-heading, .health-section-heading, .entry-content h2)::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    margin-bottom: var(--sp-space-4);
    background: var(--sp-accent);
}

body.silopress-template-woo-fashion :is(.sp-article-subsection, .entry-content h3, .mrcontent-science h3) {
    font-family: var(--sp-font-display);
    font-size: 1.625rem;
    font-weight: 400;
    color: var(--sp-ink);
    margin: var(--sp-space-12) 0 var(--sp-space-4);
    line-height: 1.3;
    letter-spacing: 0;
}

body.silopress-template-woo-fashion :is(.entry-content h4, .mrcontent-science h4) {
    font-family: var(--sp-font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sp-ink-muted);
    margin: var(--sp-space-8) 0 var(--sp-space-3);
}

/* ==========================================================================
   Links — Understated Elegance
   ========================================================================== */
body.silopress-template-woo-fashion :is(.sp-internal-link, .he-internal-link, .health-internal-link, .entry-content a, .mrcontent-science a) {
    color: var(--sp-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--sp-accent-glow);
    transition: border-color 0.3s var(--sp-ease-out), color 0.3s var(--sp-ease-out);
}

body.silopress-template-woo-fashion :is(.sp-internal-link, .he-internal-link, .health-internal-link, .entry-content a, .mrcontent-science a):hover {
    color: var(--sp-accent-deep);
    border-bottom-color: var(--sp-accent-deep);
}

/* ==========================================================================
   TOC — Couture Index
   ========================================================================== */
body.silopress-template-woo-fashion :is(.sp-article-toc, .he-toc, .health-toc) {
    background: transparent;
    border: none;
    border-top: 1px solid rgba(13, 13, 13, 0.1);
    border-bottom: 1px solid rgba(13, 13, 13, 0.1);
    border-radius: 0;
    padding: var(--sp-space-8) 0;
    margin: var(--sp-space-8) 0 var(--sp-space-12);
}

body.silopress-template-woo-fashion .sp-article-toc-title {
    font-family: var(--sp-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sp-ink-muted);
    margin-bottom: var(--sp-space-4);
    padding-bottom: var(--sp-space-3);
    border-bottom: none;
}

body.silopress-template-woo-fashion .sp-article-toc-title::before {
    content: none;
}

body.silopress-template-woo-fashion :is(.sp-article-toc, .he-toc, .health-toc) a {
    font-family: var(--sp-font-display);
    font-size: 1.0625rem;
    font-weight: 400;
    font-style: italic;
    color: var(--sp-ink-soft);
    padding: 0.35rem 0;
    margin: 0;
    border-radius: 0;
    background: none;
    border-bottom: none;
    transition: color 0.25s ease;
}

body.silopress-template-woo-fashion :is(.sp-article-toc, .he-toc, .health-toc) a:hover {
    background: none;
    color: var(--sp-accent);
}

body.silopress-template-woo-fashion :is(.sp-article-toc, .he-toc, .health-toc) a::before {
    font-family: var(--sp-font-body);
    font-style: normal;
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--sp-ink-faded);
    letter-spacing: 0.05em;
}

body.silopress-template-woo-fashion :is(.sp-article-toc, .he-toc, .health-toc) .sp-toc-sub a {
    font-size: 0.9375rem;
    color: var(--sp-ink-muted);
    padding: 0.25rem 0;
}

body.silopress-template-woo-fashion :is(.sp-article-toc, .he-toc, .health-toc) .sp-toc-sub a:hover {
    color: var(--sp-accent);
}

body.silopress-template-woo-fashion :is(.sp-article-toc, .he-toc, .health-toc) .sp-toc-sub a::before {
    font-size: 0.625rem;
}

/* ==========================================================================
   Key Takeaways — Editorial Sidebar
   ========================================================================== */
body.silopress-template-woo-fashion :is(.sp-article-takeaways, .sp-key-takeaways, .he-takeaways, .health-takeaways) {
    background: var(--sp-paper-cream);
    border-left: 2px solid var(--sp-accent);
    border-radius: 0;
    padding: var(--sp-space-8);
    margin: var(--sp-space-12) 0;
}

body.silopress-template-woo-fashion :is(.sp-article-takeaways, .sp-key-takeaways, .he-takeaways, .health-takeaways)::before {
    content: 'Points Clés';
    font-family: var(--sp-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sp-accent-deep);
}

/* ==========================================================================
   Blockquote — Fashion Pull Quote
   ========================================================================== */
body.silopress-template-woo-fashion :is(.sp-article-quote, .entry-content blockquote, .mrcontent-science blockquote) {
    font-family: var(--sp-font-display);
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--sp-ink);
    border-left: none;
    border-top: 1px solid var(--sp-accent);
    border-bottom: 1px solid var(--sp-accent);
    padding: var(--sp-space-8) 0;
    margin: var(--sp-space-12) 0;
    text-align: center;
    position: relative;
}

body.silopress-template-woo-fashion :is(.sp-article-quote, .entry-content blockquote, .mrcontent-science blockquote) p {
    margin: 0;
    color: var(--sp-ink);
}

body.silopress-template-woo-fashion :is(.sp-article-quote, .entry-content blockquote, .mrcontent-science blockquote) cite {
    display: block;
    margin-top: var(--sp-space-4);
    font-family: var(--sp-font-body);
    font-size: 0.75rem;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sp-ink-muted);
}

/* ==========================================================================
   Figures & Images — Gallery Treatment
   ========================================================================== */
body.silopress-template-woo-fashion :is(.sp-article-figure, .he-img-wrap, .health-img-wrap, .entry-content figure, .mrcontent-science figure) {
    margin: var(--sp-space-12) auto;
    padding: 0;
    max-width: 100%;
    position: relative;
}

body.silopress-template-woo-fashion :is(.sp-article-figure, .entry-content figure, .mrcontent-science figure) img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

body.silopress-template-woo-fashion :is(.sp-article-figure, .entry-content figure, .mrcontent-science figure) figcaption {
    font-family: var(--sp-font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--sp-ink-muted);
    margin-top: var(--sp-space-3);
    padding-top: var(--sp-space-2);
    border-top: 1px solid rgba(13, 13, 13, 0.06);
    text-align: left;
}

/* ==========================================================================
   Code — Discrete & Refined
   ========================================================================== */
body.silopress-template-woo-fashion :is(.entry-content code, .mrcontent-science code) {
    font-family: var(--sp-font-mono);
    font-size: 0.875em;
    background: var(--sp-paper-cream);
    padding: 0.15em 0.4em;
    border-radius: 2px;
    color: var(--sp-ink-soft);
}

body.silopress-template-woo-fashion :is(.entry-content pre, .mrcontent-science pre) {
    background: var(--sp-ink);
    color: var(--sp-paper);
    padding: var(--sp-space-6);
    border-radius: 0;
    overflow-x: auto;
    margin: var(--sp-space-8) 0;
    border-left: 2px solid var(--sp-accent);
}

body.silopress-template-woo-fashion :is(.entry-content pre code, .mrcontent-science pre code) {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 0.8125rem;
    line-height: 1.7;
}

/* ==========================================================================
   Info Boxes — Minimal Fashion Cards
   ========================================================================== */
body.silopress-template-woo-fashion .sp-info-box {
    --ibox-bg: linear-gradient(180deg, var(--sp-paper) 0%, var(--sp-paper-warm) 100%);
    --ibox-border: rgba(13, 13, 13, 0.08);
    --ibox-accent: var(--sp-accent);
    --ibox-accent-2: var(--sp-accent-glow);
    --ibox-accent-soft: var(--sp-accent-subtle);
    --ibox-kicker: var(--sp-accent-deep);
    --ibox-title: var(--sp-ink);
    --ibox-text: var(--sp-ink-soft);
    --ibox-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);

    border-radius: 0;
    border-left-width: 2px;
}

body.silopress-template-woo-fashion .sp-info-box-kicker {
    font-family: var(--sp-font-body);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

body.silopress-template-woo-fashion .sp-info-box-title {
    font-family: var(--sp-font-display);
    font-weight: 400;
    font-style: italic;
}

/* ==========================================================================
   FAQ — Elegant Accordion
   ========================================================================== */
body.silopress-template-woo-fashion .sp-faq-question {
    font-family: var(--sp-font-display);
    font-size: 1.1875rem;
    font-weight: 500;
    color: var(--sp-ink);
    padding: var(--sp-space-4) 0;
    border-bottom: 1px solid rgba(13, 13, 13, 0.06);
    cursor: pointer;
    transition: color 0.2s ease;
}

body.silopress-template-woo-fashion .sp-faq-question:hover {
    color: var(--sp-accent);
}

body.silopress-template-woo-fashion .sp-faq-answer {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--sp-ink-soft);
    padding: var(--sp-space-4) 0 var(--sp-space-6);
}

/* ==========================================================================
   Sources / References — Minimal Footnotes
   ========================================================================== */
body.silopress-template-woo-fashion .sp-sources-section {
    border-top: 1px solid rgba(13, 13, 13, 0.1);
    margin-top: var(--sp-space-16);
    padding-top: var(--sp-space-8);
}

body.silopress-template-woo-fashion .sp-sources-title {
    font-family: var(--sp-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sp-ink-muted);
    margin-bottom: var(--sp-space-4);
}

/* ==========================================================================
   Autopilot Appendix — Refined Footer
   ========================================================================== */
body.silopress-template-woo-fashion .sp-autopilot-appendix {
    border-top: 1px solid rgba(13, 13, 13, 0.08);
    margin-top: var(--sp-space-16);
    padding-top: var(--sp-space-8);
}

body.silopress-template-woo-fashion .sp-autopilot-appendix-title {
    font-family: var(--sp-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sp-ink-muted);
}

/* ==========================================================================
   Horizontal Rules — Thin Separator
   ========================================================================== */
body.silopress-template-woo-fashion :is(.entry-content hr, .mrcontent-science hr) {
    border: none;
    height: 1px;
    background: rgba(13, 13, 13, 0.08);
    margin: var(--sp-space-12) auto;
    max-width: 120px;
}

/* ==========================================================================
   Tables — Clean Editorial Data
   ========================================================================== */
body.silopress-template-woo-fashion :is(.entry-content table, .mrcontent-science table) {
    width: 100%;
    border-collapse: collapse;
    margin: var(--sp-space-8) 0;
    font-size: 0.9375rem;
}

body.silopress-template-woo-fashion :is(.entry-content th, .mrcontent-science th) {
    font-family: var(--sp-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sp-ink-muted);
    text-align: left;
    padding: var(--sp-space-3) var(--sp-space-4);
    border-bottom: 2px solid var(--sp-ink);
}

body.silopress-template-woo-fashion :is(.entry-content td, .mrcontent-science td) {
    padding: var(--sp-space-3) var(--sp-space-4);
    border-bottom: 1px solid rgba(13, 13, 13, 0.06);
    color: var(--sp-ink-soft);
    vertical-align: top;
}

/* ==========================================================================
   Selection — Rose Gold Highlight
   ========================================================================== */
body.silopress-template-woo-fashion ::selection {
    background: var(--sp-accent-glow);
    color: var(--sp-ink);
}

body.silopress-template-woo-fashion ::-moz-selection {
    background: var(--sp-accent-glow);
    color: var(--sp-ink);
}

/* ==========================================================================
   Responsive — Mobile Refinement
   ========================================================================== */
@media (max-width: 768px) {
    body.silopress-template-woo-fashion :is(.sp-article, .entry-content, .post-content, .mrcontent-science, article .content) {
        padding: var(--sp-space-6) var(--sp-space-4);
        font-size: 1rem;
    }

    body.silopress-template-woo-fashion :is(.sp-article-section, .he-section-heading, .health-section-heading, .entry-content h2, .mrcontent-science h2) {
        font-size: 1.75rem;
        margin-top: var(--sp-space-12);
    }

    body.silopress-template-woo-fashion :is(.sp-article-subsection, .entry-content h3, .mrcontent-science h3) {
        font-size: 1.375rem;
    }

    body.silopress-template-woo-fashion :is(.sp-article-quote, .entry-content blockquote, .mrcontent-science blockquote) {
        font-size: 1.25rem;
        padding: var(--sp-space-6) 0;
    }

    body.silopress-template-woo-fashion :is(.sp-article-paragraph, .he-paragraph, .health-paragraph):first-of-type::first-letter,
    body.silopress-template-woo-fashion .entry-content > p:first-of-type::first-letter,
    body.silopress-template-woo-fashion .mrcontent-science > p:first-of-type::first-letter {
        font-size: 3.5rem;
    }
}

/* ==========================================================================
   AI PRODUCT DESCRIPTION — .af-product Component System (v2.55.0)
   Premium e-commerce product descriptions — Haute Couture Editorial Design.
   Scoped to .af-product.af-product--woo to avoid WooCommerce conflicts.
   ========================================================================== */

/* ── Container ── */
.af-product.af-product--woo {
    --afp-radius: 12px;
    --afp-radius-sm: 6px;
    --afp-gap: clamp(1rem, 2.5vw, 1.5rem);
    --afp-section-gap: clamp(2.5rem, 5vw, 4rem);
    --afp-ease: cubic-bezier(0.22, 1, 0.36, 1);

    max-width: var(--sp-content-width, 720px);
    margin: 0 auto;
    font-family: var(--sp-font-body, 'Outfit', sans-serif);
    color: var(--sp-ink-soft, #1a1a1a);
    line-height: 1.8;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Section separator — thin decorative line between major blocks */
.af-product__why,
.af-product__styles,
.af-product__specs,
.af-product__cards,
.af-product__related,
.af-product__faq {
    position: relative;
}
.af-product__why::before,
.af-product__styles::before,
.af-product__specs::before,
.af-product__related::before,
.af-product__faq::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--sp-accent, #b76e79);
    margin: 0 auto var(--sp-space-8, 2rem);
    opacity: 0.6;
}

/* ── Hero Section ── */
.af-product__hero {
    text-align: center;
    margin-bottom: var(--afp-section-gap);
    padding: 0 0 var(--sp-space-8, 2rem);
    border-bottom: 1px solid rgba(13, 13, 13, 0.06);
}
.af-product__eyebrow {
    display: inline-block;
    font-family: var(--sp-font-body, sans-serif);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sp-accent, #b76e79);
    margin-bottom: var(--sp-space-4, 1rem);
    padding: 0.35em 1em;
    border: 1px solid var(--sp-accent, #b76e79);
    border-radius: 100px;
}
.af-product__title {
    font-family: var(--sp-font-display, 'Cormorant Garamond', serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.15;
    color: var(--sp-ink, #0d0d0d);
    margin: var(--sp-space-4, 1rem) 0 var(--sp-space-6, 1.5rem);
    letter-spacing: -0.015em;
}
.af-product__title strong {
    font-weight: 500;
    color: var(--sp-accent, #b76e79);
    background: linear-gradient(120deg, var(--sp-accent, #b76e79) 0%, var(--sp-accent-deep, #9c5663) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.af-product__lead {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--sp-ink-muted, #757575);
    max-width: 580px;
    margin: 0 auto;
    font-weight: 300;
}

/* ── Hero Image (constrained — prevents giant vertical product shots) ── */
.af-product__hero img,
.af-product__hero .wp-image-hero,
.af-product__hero .af-product__figure img {
    width: 100%;
    max-width: 560px;
    max-height: 620px;
    aspect-ratio: 4 / 5;
    height: auto;
    border-radius: var(--afp-radius);
    margin: var(--sp-space-8, 2rem) auto var(--sp-space-4, 1rem);
    display: block;
    object-fit: cover;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* ── Inline Images ── */
.af-product .aligncenter {
    display: block;
    margin: var(--afp-section-gap) auto;
    max-width: 100%;
    height: auto;
    border-radius: var(--afp-radius);
}
.af-product__figure {
    margin: var(--afp-section-gap) auto;
    max-width: 560px;
    text-align: center;
}
.af-product__img {
    display: block;
    width: 100%;
    max-width: 560px;
    max-height: 560px;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: var(--afp-radius);
    margin: var(--afp-section-gap) auto;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.4s var(--afp-ease);
}
.af-product__figure .af-product__img {
    margin: 0 auto;
}
.af-product__figcaption {
    font-family: var(--sp-font-body, sans-serif);
    font-size: 0.8125rem;
    color: var(--sp-ink-muted, #757575);
    text-align: center;
    margin-top: var(--sp-space-2, 0.5rem);
    font-style: italic;
    font-weight: 300;
}
.af-product__img:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}
/* Prevent two consecutive images stacking without breathing room */
.af-product__img + .af-product__img,
.af-product__figure + .af-product__figure {
    margin-top: calc(var(--afp-section-gap) * 1.25);
}

/* ── Highlights Strip ── */
.af-product__highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    list-style: none;
    padding: 0;
    margin: var(--afp-section-gap) 0;
    background: var(--sp-paper-cream, #f5f0ea);
    border-radius: var(--afp-radius);
    overflow: hidden;
}
.af-product__highlights li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-space-3, 0.75rem);
    padding: var(--sp-space-6, 1.5rem);
    border-bottom: 1px solid rgba(13, 13, 13, 0.04);
    border-right: 1px solid rgba(13, 13, 13, 0.04);
    transition: background 0.3s var(--afp-ease);
}
.af-product__highlights li:hover {
    background: rgba(183, 110, 121, 0.04);
}
.af-product__highlights li:nth-child(2n) {
    border-right: none;
}
.af-product__highlights li:nth-last-child(-n+2) {
    border-bottom: none;
}
.af-product__hl-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
    color: var(--sp-accent, #b76e79);
    background: rgba(183, 110, 121, 0.08);
    border-radius: 50%;
    line-height: 1;
}
.af-product__highlights li div {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--sp-ink-soft, #1a1a1a);
}
.af-product__highlights li div strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sp-ink, #0d0d0d);
    margin-bottom: 3px;
}

/* ── Why Section ── */
.af-product__why {
    margin: var(--afp-section-gap) 0;
}
.af-product__why h3 {
    font-family: var(--sp-font-display, serif);
    font-size: 1.625rem;
    font-weight: 400;
    font-style: italic;
    color: var(--sp-ink, #0d0d0d);
    margin-bottom: var(--sp-space-4, 1rem);
}
.af-product__why p {
    line-height: 1.9;
    font-weight: 300;
}

/* ── Styles Grid ── */
.af-product__styles {
    margin: var(--afp-section-gap) 0;
}
.af-product__styles h3 {
    font-family: var(--sp-font-display, serif);
    font-size: 1.625rem;
    font-weight: 400;
    font-style: italic;
    color: var(--sp-ink, #0d0d0d);
    margin-bottom: var(--sp-space-6, 1.5rem);
    text-align: center;
}
.af-product__styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--afp-gap);
}
.af-product__style {
    background: var(--sp-paper-warm, #faf8f5);
    border: 1px solid rgba(13, 13, 13, 0.06);
    border-radius: var(--afp-radius);
    padding: var(--sp-space-8, 2rem) var(--sp-space-6, 1.5rem);
    text-align: center;
    transition: box-shadow 0.35s var(--afp-ease), transform 0.35s var(--afp-ease), border-color 0.35s var(--afp-ease);
    position: relative;
    overflow: hidden;
}
.af-product__style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-accent, #b76e79), var(--sp-accent-glow, #d4a0a7));
    opacity: 0;
    transition: opacity 0.35s var(--afp-ease);
}
.af-product__style:hover {
    box-shadow: var(--sp-shadow-hover, 0 6px 32px rgba(0,0,0,0.10));
    transform: translateY(-4px);
    border-color: rgba(183, 110, 121, 0.15);
}
.af-product__style:hover::before {
    opacity: 1;
}
.af-product__style-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: var(--sp-font-display, serif);
    font-size: 1.125rem;
    font-weight: 300;
    font-style: italic;
    color: var(--sp-accent, #b76e79);
    border: 1px solid var(--sp-accent, #b76e79);
    border-radius: 50%;
    margin-bottom: var(--sp-space-3, 0.75rem);
}
.af-product__style h4 {
    font-family: var(--sp-font-body, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sp-ink, #0d0d0d);
    margin: 0 0 var(--sp-space-2, 0.5rem);
}
.af-product__style p {
    font-size: 0.9375rem;
    color: var(--sp-ink-muted, #757575);
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

/* ── Specs Table ── */
.af-product__specs {
    margin: var(--afp-section-gap) 0;
}
.af-product__specs h3 {
    font-family: var(--sp-font-body, sans-serif);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sp-ink-muted, #757575);
    margin-bottom: var(--sp-space-4, 1rem);
    text-align: center;
}
.af-product__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--sp-paper-warm, #faf8f5);
    border-radius: var(--afp-radius);
    overflow: hidden;
}
.af-product__table th {
    font-family: var(--sp-font-body, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sp-ink, #0d0d0d);
    text-align: left;
    padding: var(--sp-space-4, 1rem) var(--sp-space-6, 1.5rem);
    border-bottom: 1px solid rgba(13, 13, 13, 0.06);
    width: 38%;
    background: rgba(13, 13, 13, 0.015);
}
.af-product__table td {
    font-size: 0.9375rem;
    color: var(--sp-ink-soft, #1a1a1a);
    padding: var(--sp-space-4, 1rem) var(--sp-space-6, 1.5rem);
    border-bottom: 1px solid rgba(13, 13, 13, 0.04);
    font-weight: 300;
}
.af-product__table tr:last-child th,
.af-product__table tr:last-child td {
    border-bottom: none;
}
.af-product__table tr:hover td,
.af-product__table tr:hover th {
    background: rgba(183, 110, 121, 0.03);
}

/* ── Info Cards (Shipping / Care / Guarantee) ── */
.af-product__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--afp-gap);
    margin: var(--afp-section-gap) 0;
}
.af-product__card {
    background: var(--sp-paper-cream, #f5f0ea);
    border-radius: var(--afp-radius);
    padding: var(--sp-space-8, 2rem) var(--sp-space-6, 1.5rem);
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--sp-ink-soft, #1a1a1a);
    border: 1px solid transparent;
    transition: border-color 0.3s var(--afp-ease), transform 0.3s var(--afp-ease);
}
.af-product__card:hover {
    border-color: rgba(183, 110, 121, 0.2);
    transform: translateY(-2px);
}
.af-product__card strong {
    display: block;
    font-family: var(--sp-font-body, sans-serif);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sp-accent, #b76e79);
    margin-bottom: var(--sp-space-3, 0.75rem);
    padding-bottom: var(--sp-space-3, 0.75rem);
    border-bottom: 1px solid rgba(183, 110, 121, 0.15);
}

/* ── Related Products (Maillage Interne) ── */
.af-product__related {
    margin: var(--afp-section-gap) 0;
    padding: var(--sp-space-8, 2rem) var(--sp-space-6, 1.5rem);
    background: var(--sp-paper-warm, #faf8f5);
    border: 1px solid rgba(13, 13, 13, 0.06);
    border-radius: var(--afp-radius);
}
.af-product__related h3 {
    font-family: var(--sp-font-display, serif);
    font-size: 1.375rem;
    font-weight: 400;
    font-style: italic;
    color: var(--sp-ink, #0d0d0d);
    text-align: center;
    margin: 0 0 var(--sp-space-6, 1.5rem);
}
.af-product__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--afp-gap);
}
.af-product__related-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--sp-space-6, 1.5rem) var(--sp-space-4, 1rem);
    background: #fff;
    border: 1px solid rgba(13, 13, 13, 0.06);
    border-radius: var(--afp-radius-sm);
    text-decoration: none;
    color: var(--sp-ink-soft, #1a1a1a);
    transition: border-color 0.3s var(--afp-ease), box-shadow 0.3s var(--afp-ease), transform 0.3s var(--afp-ease);
    min-height: 100px;
}
.af-product__related-card:hover {
    border-color: var(--sp-accent, #b76e79);
    box-shadow: 0 4px 20px rgba(183, 110, 121, 0.12);
    transform: translateY(-3px);
    color: var(--sp-ink, #0d0d0d);
}
.af-product__related-card strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sp-ink, #0d0d0d);
    margin-bottom: var(--sp-space-2, 0.5rem);
    line-height: 1.35;
}
/* Fallback label when AI forgets the <span> badge — adds a "→" arrow */
.af-product__related-card {
    position: relative;
}
.af-product__related-card:not(:has(span))::after {
    content: '→';
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--sp-accent, #b76e79);
    margin-top: var(--sp-space-2, 0.5rem);
    letter-spacing: 0.1em;
}
.af-product__related-card span {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sp-accent, #b76e79);
    padding: 0.2em 0.6em;
    background: rgba(183, 110, 121, 0.06);
    border-radius: 100px;
    margin-top: auto;
}

/* ── Internal Product Links (contextual) ── */
a.af-product__interlink {
    color: var(--sp-ink, #0d0d0d);
    text-decoration: none;
    border-bottom: 1px solid var(--sp-accent-glow, #d4a0a7);
    font-weight: 400;
    transition: color 0.25s var(--afp-ease), border-color 0.25s var(--afp-ease), background 0.25s var(--afp-ease);
    padding-bottom: 1px;
}
a.af-product__interlink:hover {
    color: var(--sp-accent-deep, #9c5663);
    border-bottom-color: var(--sp-accent-deep, #9c5663);
    background: rgba(183, 110, 121, 0.04);
}

/* ── FAQ Section ── */
.af-product__faq {
    margin: var(--afp-section-gap) 0;
}
.af-product__faq h3 {
    font-family: var(--sp-font-display, serif);
    font-size: 1.625rem;
    font-weight: 400;
    font-style: italic;
    color: var(--sp-ink, #0d0d0d);
    margin-bottom: var(--sp-space-6, 1.5rem);
    text-align: center;
}
.af-product__faq-item {
    border-bottom: 1px solid rgba(13, 13, 13, 0.06);
}
.af-product__faq-item:first-of-type {
    border-top: 1px solid rgba(13, 13, 13, 0.06);
}
.af-product__faq-item summary {
    font-family: var(--sp-font-display, serif);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--sp-ink, #0d0d0d);
    padding: var(--sp-space-4, 1rem) var(--sp-space-2, 0.5rem);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.25s var(--afp-ease), padding-left 0.25s var(--afp-ease);
    border-left: 2px solid transparent;
}
.af-product__faq-item summary::-webkit-details-marker {
    display: none;
}
.af-product__faq-item summary::after {
    content: '+';
    font-family: var(--sp-font-body, sans-serif);
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--sp-ink-faded, #a3a3a3);
    flex-shrink: 0;
    margin-left: var(--sp-space-4, 1rem);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(13, 13, 13, 0.08);
    transition: all 0.3s var(--afp-ease);
}
.af-product__faq-item[open] summary {
    color: var(--sp-accent, #b76e79);
    border-left-color: var(--sp-accent, #b76e79);
    padding-left: var(--sp-space-4, 1rem);
}
.af-product__faq-item[open] summary::after {
    content: '−';
    color: #fff;
    background: var(--sp-accent, #b76e79);
    border-color: var(--sp-accent, #b76e79);
}
.af-product__faq-item summary:hover {
    color: var(--sp-accent, #b76e79);
}
.af-product__faq-item summary:hover::after {
    border-color: var(--sp-accent, #b76e79);
    color: var(--sp-accent, #b76e79);
}
.af-product__faq-item p,
.af-product__faq-item[open] > *:not(summary) {
    font-size: 0.9375rem;
    line-height: 1.85;
    color: var(--sp-ink-soft, #1a1a1a);
    padding: 0 0 var(--sp-space-6, 1.5rem) var(--sp-space-4, 1rem);
    margin: 0;
    font-weight: 300;
    border-left: 2px solid rgba(183, 110, 121, 0.15);
}
/* Fallback when the AI writes loose text directly inside <details> */
.af-product__faq-item[open] {
    padding-bottom: var(--sp-space-4, 1rem);
}

/* ── CTA Footer ── */
.af-product__cta {
    text-align: center;
    margin-top: var(--afp-section-gap);
    padding: var(--sp-space-12, 3rem) var(--sp-space-8, 2rem);
    background: linear-gradient(135deg, var(--sp-paper-cream, #f5f0ea) 0%, rgba(183, 110, 121, 0.06) 50%, var(--sp-paper-warm, #faf8f5) 100%);
    border-radius: var(--afp-radius);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--sp-ink, #0d0d0d);
    position: relative;
    overflow: hidden;
}
.af-product__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--sp-accent, #b76e79), transparent);
    border-radius: 2px;
}
.af-product__cta p {
    margin: 0;
    max-width: 520px;
    margin: 0 auto;
}
.af-product__cta strong {
    color: var(--sp-accent, #b76e79);
}

/* ── Image Gallery (multiple images) ── */
.af-product__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-space-3, 0.75rem);
    margin: var(--afp-section-gap) 0;
    border-radius: var(--afp-radius);
    overflow: hidden;
}
.af-product__gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s var(--afp-ease), filter 0.5s var(--afp-ease);
    cursor: pointer;
}
.af-product__gallery img:hover {
    transform: scale(1.04);
    filter: brightness(1.05);
}
/* Single image: full width */
.af-product__gallery img:first-child:nth-last-child(1) {
    grid-column: 1 / -1;
    height: auto;
    max-height: 500px;
    border-radius: var(--afp-radius);
}
/* Three images: 2 + 1 spanning */
.af-product__gallery img:first-child:nth-last-child(3),
.af-product__gallery img:first-child:nth-last-child(3) ~ img:nth-child(2) {
    height: 250px;
}
.af-product__gallery img:first-child:nth-last-child(3) ~ img:nth-child(3) {
    grid-column: 1 / -1;
    height: 300px;
}
/* Five+ images: feature first image large */
.af-product__gallery img:first-child:nth-last-child(n+5) {
    grid-column: 1 / -1;
    height: 360px;
}

/* ── Responsive — Tablet ── */
@media (max-width: 960px) {
    .af-product__styles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Responsive — Mobile ── */
@media (max-width: 768px) {
    .af-product__title {
        font-size: 1.625rem;
    }
    .af-product__lead {
        font-size: 1rem;
    }
    .af-product__highlights {
        grid-template-columns: 1fr;
    }
    .af-product__highlights li {
        border-right: none;
    }
    .af-product__highlights li:nth-last-child(2) {
        border-bottom: 1px solid rgba(13, 13, 13, 0.04);
    }
    .af-product__highlights li:last-child {
        border-bottom: none;
    }
    .af-product__cards {
        grid-template-columns: 1fr;
    }
    .af-product__styles-grid {
        grid-template-columns: 1fr;
    }
    .af-product__related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .af-product__gallery {
        grid-template-columns: 1fr;
        border-radius: var(--afp-radius-sm);
    }
    .af-product__gallery img {
        height: auto;
        max-height: 320px;
    }
    .af-product__gallery img:first-child:nth-last-child(n+5) {
        height: auto;
        max-height: 280px;
    }
    .af-product__faq-item summary {
        font-size: 1rem;
        padding: var(--sp-space-3, 0.75rem) var(--sp-space-2, 0.5rem);
    }
    .af-product__cta {
        padding: var(--sp-space-8, 2rem) var(--sp-space-4, 1rem);
    }
}

/* ── Responsive — Small phones ── */
@media (max-width: 480px) {
    .af-product__title {
        font-size: 1.5rem;
    }
    .af-product__related-grid {
        grid-template-columns: 1fr;
    }
    .af-product__style {
        padding: var(--sp-space-6, 1.5rem) var(--sp-space-4, 1rem);
    }
}

/* ── Print ── */
@media print {
    .af-product.af-product--woo {
        max-width: 100%;
        color: #000;
    }
    .af-product__style:hover,
    .af-product__related-card:hover,
    .af-product__card:hover {
        transform: none;
        box-shadow: none;
    }
    .af-product__gallery img:hover {
        transform: none;
    }
}

/* ==========================================================================
   IMPORTANT: NO list styles (ul, ol, li) are defined in this file.
   This is intentional to preserve WooCommerce compatibility:
   - Pagination numbers
   - Product grid layouts
   - Widget lists
   - Cart/checkout elements
   - Breadcrumbs
   - Any theme or plugin using native list elements
   ========================================================================== */
