/*
Theme Name: LadyWW Beauty Tech
Theme URI: https://www.ladyww.net
Description: Premium B2B Beauty Tech & Aesthetic Equipment theme — medical-grade elegance for global Med-Spas and salons. Female-led, Shenzhen-sourced, certified quality. Includes WooCommerce shop integration.
Author: LadyWW
Version: 1.1.0
License: GPL v2
Text Domain: ladyww-com
*/

/* ── CSS Variables ── */
:root {
    /* Color palette — Medical Clean + Rose Gold Luxury */
    --color-bg: #FAF6F0;
    --color-bg-alt: #F8F9FA;
    --color-surface: #FFFFFF;
    --color-navy: #1C2D42;
    --color-navy-light: #2B2D42;
    --color-rosegold: #D4A373;
    --color-rosegold-light: #E8C5AF;
    --color-text: #1C2D42;
    --color-text-md: #4A5568;
    --color-text-light: #718096;
    --color-text-inv: #FAF6F0;
    --color-text-inv-md: rgba(250,246,240,0.75);
    --color-border: #E2D8CF;
    --color-border-light: #F0E8DF;
    --color-gold: #D4A373;
    --color-green: #2D6A4F;
    --color-red: #C4454E;

    /* Typography */
    --font-heading: 'Montserrat', 'Cinzel', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;

    /* Spacing & Sizing */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --shadow-sm: 0 1px 3px rgba(28,45,66,0.04);
    --shadow-md: 0 4px 16px rgba(28,45,66,0.06);
    --shadow-lg: 0 8px 32px rgba(28,45,66,0.08);
    --shadow-xl: 0 16px 48px rgba(28,45,66,0.10);

    --max-width: 1240px;
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.65;
    color:var(--color-text);
    background:var(--color-bg);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block}
svg{display:inline-block!important;vertical-align:middle;flex-shrink:0}
a{color:var(--color-navy);text-decoration:none;transition:color 0.25s}
a:hover{color:var(--color-rosegold)}
ul,ol{list-style:none}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6{
    font-family:var(--font-heading);
    font-weight:700;
    line-height:1.2;
    color:var(--color-navy);
}
h1{font-size:3.2rem;letter-spacing:-0.01em}
h2{font-size:2.2rem}
h3{font-size:1.45rem}
h4{font-size:1.15rem}

/* ── Layout ── */
.container{max-width:var(--max-width);margin:0 auto;padding:0 2rem}
.section{padding:6rem 0}
.section-sm{padding:4rem 0}
.section-tight{padding:3rem 0}
.section-label{
    display:inline-block;
    font-family:var(--font-heading);
    font-size:0.72rem;
    font-weight:800;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--color-rosegold);
    margin-bottom:0.75rem;
}
.section-title{
    font-size:2.4rem;
    font-weight:800;
    margin-bottom:1rem;
    letter-spacing:-0.01em;
}
.section-subtitle{
    font-size:1.05rem;
    color:var(--color-text-md);
    max-width:680px;
    line-height:1.7;
}
.text-center{text-align:center}
.text-center .section-subtitle{margin:0 auto}

/* Grids */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}

/* ── Header ── */
#site-header{
    position:fixed;
    top:0;left:0;right:0;
    z-index:1000;
    background:rgba(250,246,240,0.92);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border-bottom:1px solid var(--color-border-light);
    transition:all 0.3s;
}
#site-header.scrolled{
    background:rgba(250,246,240,0.98);
    box-shadow:var(--shadow-md);
}
.header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    max-width:var(--max-width);
    margin:0 auto;
    padding:0 2rem;
    height:72px;
}
.site-logo a{
    display:block;
    text-decoration:none;
}
.logo-text{
    font-family:var(--font-heading);
    font-size:1.35rem;
    font-weight:800;
    color:var(--color-navy);
    letter-spacing:-0.02em;
}
.logo-accent{
    color:var(--color-rosegold);
}
.logo-subtitle{
    font-size:0.62rem;
    font-weight:600;
    color:var(--color-text-light);
    letter-spacing:0.06em;
    text-transform:uppercase;
    margin-top:1px;
}

/* Nav */
.site-nav{display:flex;align-items:center}
.nav-menu{
    display:flex;
    align-items:center;
    gap:0.15rem;
}
.nav-menu > li{position:relative}
.nav-menu > li > a{
    display:flex;
    align-items:center;
    gap:0.3rem;
    font-size:0.8rem;
    font-weight:600;
    color:var(--color-text-md);
    padding:0.55rem 0.85rem;
    border-radius:var(--radius-sm);
    transition:all 0.2s;
    white-space:nowrap;
}
.nav-menu > li > a:hover{
    color:var(--color-rosegold);
    background:rgba(212,163,115,0.06);
}
.nav-menu a svg{
    display:inline-block;
    vertical-align:middle;
    flex-shrink:0;
}

/* Sub-menu */
.sub-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:220px;
    width:max-content;
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    padding:0.4rem 0;
    opacity:0;
    visibility:hidden;
    transform:translateY(6px);
    transition:all 0.2s;
    box-shadow:var(--shadow-lg);
}
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
/* Bridge gap between menu item and sub-menu */
.nav-menu > li::before{
    content:'';
    position:absolute;
    top:100%;
    left:0;right:0;
    height:10px;
    z-index:2;
}
.sub-menu a{
    display:flex;
    align-items:center;
    gap:0.3rem;
    padding:0.45rem 1.2rem;
    font-size:0.78rem;
    color:var(--color-text-md);
    white-space:nowrap;
    transition:all 0.15s;
}
.sub-menu a:hover{
    color:var(--color-rosegold);
    background:rgba(212,163,115,0.06);
}

/* Header CTA */
.header-cta{
    font-family:var(--font-heading);
    font-size:0.76rem;
    font-weight:700;
    letter-spacing:0.03em;
    color:var(--color-surface)!important;
    background:var(--color-rosegold);
    padding:0.55rem 1.4rem;
    border-radius:var(--radius-md);
    transition:all 0.3s;
    white-space:nowrap;
}
.header-cta:hover{
    background:var(--color-navy);
    color:var(--color-surface)!important;
}

/* Mobile menu toggle */
.menu-toggle{
    display:none;
    background:none;
    border:none;
    padding:0.4rem;
    cursor:pointer;
    color:var(--color-navy);
}

/* ── Buttons ── */
.btn{
    display:inline-flex;
    align-items:center;
    gap:0.5rem;
    padding:0.75rem 1.8rem;
    border-radius:var(--radius-md);
    font-family:var(--font-heading);
    font-size:0.82rem;
    font-weight:700;
    letter-spacing:0.02em;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
    transition:all 0.3s;
    border:none;
}
.btn-rose{
    background:var(--color-rosegold);
    color:var(--color-surface)!important;
    box-shadow:0 2px 8px rgba(212,163,115,0.25);
}
.btn-rose:hover{
    background:var(--color-navy);
    color:var(--color-surface)!important;
    box-shadow:0 4px 16px rgba(28,45,66,0.2);
}
.btn-navy{
    background:var(--color-navy);
    color:var(--color-surface)!important;
}
.btn-navy:hover{
    background:var(--color-rosegold);
    color:var(--color-surface)!important;
}
.btn-outline{
    background:transparent;
    color:var(--color-navy);
    border:1.5px solid var(--color-navy);
}
.btn-outline:hover{
    background:var(--color-navy);
    color:var(--color-surface)!important;
}
.btn-lg{padding:0.95rem 2.4rem;font-size:0.88rem}
.btn-sm{padding:0.5rem 1.2rem;font-size:0.74rem}

/* ── Content Sections ── */
.section-header{margin-bottom:3.5rem}
.section-header h2{font-size:2.4rem;margin-bottom:0.75rem}
.section-header p{font-size:1.05rem;color:var(--color-text-md);max-width:640px}
.text-center .section-header p{margin:0 auto}

/* ── Cards ── */
.card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    padding:2rem;
    transition:all 0.3s;
    box-shadow:var(--shadow-sm);
}
.card:hover{
    box-shadow:var(--shadow-lg);
    transform:translateY(-2px);
}
.card-icon{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:var(--radius-md);
    background:rgba(212,163,115,0.08);
    color:var(--color-rosegold);
    margin-bottom:1.25rem;
    flex-shrink:0;
}
.card h3{font-size:1.1rem;margin-bottom:0.5rem;color:var(--color-navy)}
.card p{font-size:0.88rem;color:var(--color-text-md);line-height:1.7}

/* ── Product Cards ── */
.product-card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    overflow:hidden;
    transition:all 0.3s;
    box-shadow:var(--shadow-sm);
}
.product-card:hover{
    box-shadow:var(--shadow-lg);
    transform:translateY(-3px);
}
.product-card-img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    background:var(--color-bg-alt);
}
.product-card-body{padding:1.5rem}
.product-card-body h3{font-size:1.05rem;font-weight:700;margin-bottom:0.35rem}
.product-card-body .product-tag{
    display:inline-block;
    font-size:0.66rem;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--color-rosegold);
    margin-bottom:0.5rem;
}
.product-card-body p{
    font-size:0.84rem;
    color:var(--color-text-md);
    line-height:1.6;
    margin-bottom:1rem;
}
.product-card-body .product-specs{
    display:flex;
    flex-wrap:wrap;
    gap:0.5rem;
    margin-bottom:1rem;
}
.product-card-body .spec-badge{
    font-size:0.7rem;
    font-weight:600;
    padding:0.25rem 0.65rem;
    background:rgba(28,45,66,0.04);
    color:var(--color-text-md);
    border-radius:999px;
}

/* ── Certification Badge ── */
.cert-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:3rem;
    padding:2.5rem 0;
}
.cert-item{
    display:flex;
    align-items:center;
    gap:0.75rem;
    font-size:0.88rem;
    font-weight:700;
    color:var(--color-navy);
}
.cert-item svg{color:var(--color-rosegold);flex-shrink:0}
.cert-item span{font-family:var(--font-heading);letter-spacing:0.03em}

/* ── Step Cards (numbered flow) ── */
.step-card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    padding:2rem;
    position:relative;
    text-align:center;
    transition:all 0.3s;
    box-shadow:var(--shadow-sm);
}
.step-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.step-number{
    position:absolute;
    top:-18px;left:-18px;
    width:44px;height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--color-rosegold);
    color:var(--color-surface);
    font-family:var(--font-heading);
    font-size:1.1rem;
    font-weight:800;
    border-radius:50%;
    box-shadow:0 4px 12px rgba(212,163,115,0.3);
}
.step-card .card-icon{margin:0 auto 1rem}
.step-card h3{font-size:1.05rem}

/* ── Dark Section ── */
.dark-section{
    background:var(--color-navy);
    color:var(--color-text-inv);
}
.dark-section h2,
.dark-section h3{color:var(--color-text-inv)}
.dark-section .section-label{color:var(--color-rosegold-light)}
.dark-section p{color:var(--color-text-inv-md)}
.dark-section .card{
    background:rgba(255,255,255,0.04);
    border-color:rgba(250,246,240,0.08);
}
.dark-section .card:hover{background:rgba(255,255,255,0.06)}
.dark-section .card h3{color:var(--color-text-inv)}
.dark-section .card p{color:var(--color-text-inv-md)}
.dark-section .card-icon{background:rgba(212,163,115,0.12)}

/* ── Female-Led Block ── */
.female-led-block{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:3.5rem;
    align-items:center;
}
.female-led-img{
    border-radius:var(--radius-lg);
    overflow:hidden;
    aspect-ratio:3/4;
    background:linear-gradient(135deg, var(--color-rosegold-light), var(--color-navy-light));
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}
.female-led-img-placeholder{
    text-align:center;
    color:rgba(255,255,255,0.9);
}
.female-led-img-placeholder svg{width:80px;height:80px;margin-bottom:1rem;color:var(--color-surface)}
.female-led-img-placeholder p{
    font-family:var(--font-heading);
    font-size:0.8rem;
    font-weight:600;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.7);
}
.female-led-quote{
    font-family:var(--font-heading);
    font-size:1.4rem;
    font-weight:700;
    font-style:italic;
    color:var(--color-navy);
    line-height:1.5;
    margin-bottom:1.5rem;
}
.female-led-quote::before{content:'\201C';color:var(--color-rosegold);margin-right:0.2rem}
.female-led-text{
    font-size:0.95rem;
    color:var(--color-text-md);
    line-height:1.8;
    margin-bottom:1.25rem;
}
.female-led-signature{
    font-family:var(--font-heading);
    font-size:0.9rem;
    font-weight:700;
    color:var(--color-rosegold);
    margin-top:1.5rem;
}

/* ── Testimonial Cards ── */
.testimonial-card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    padding:2rem;
    box-shadow:var(--shadow-sm);
    transition:all 0.3s;
}
.testimonial-card:hover{box-shadow:var(--shadow-md)}
.testimonial-stars{
    display:flex;
    gap:0.15rem;
    margin-bottom:1rem;
    color:var(--color-rosegold);
}
.testimonial-stars svg{width:16px;height:16px}
.testimonial-text{
    font-size:0.9rem;
    color:var(--color-text-md);
    line-height:1.75;
    font-style:italic;
    margin-bottom:1.25rem;
}
.testimonial-author{
    display:flex;
    align-items:center;
    gap:0.75rem;
    border-top:1px solid var(--color-border-light);
    padding-top:1.25rem;
}
.testimonial-avatar{
    width:42px;height:42px;
    border-radius:50%;
    background:var(--color-rosegold-light);
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:var(--font-heading);
    font-weight:700;
    font-size:0.95rem;
    color:var(--color-surface);
    flex-shrink:0;
}
.testimonial-name{font-weight:700;font-size:0.85rem}
.testimonial-role{font-size:0.74rem;color:var(--color-text-light)}

/* ── Stats Row ── */
.stats-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:4rem;
    padding:2.5rem 0;
}
.stat-block{text-align:center}
.stat-number{
    font-family:var(--font-heading);
    font-size:3rem;
    font-weight:800;
    color:var(--color-rosegold);
    line-height:1.1;
    letter-spacing:-0.02em;
}
.stat-label{
    font-size:0.82rem;
    font-weight:600;
    color:var(--color-text-md);
    margin-top:0.35rem;
    letter-spacing:0.03em;
}

/* ── CTA Banner ── */
.cta-banner{
    text-align:center;
    padding:4.5rem 2rem;
    border-radius:var(--radius-lg);
    background:linear-gradient(135deg, var(--color-navy), #2A3D5C);
    color:var(--color-text-inv);
    position:relative;
    overflow:hidden;
}
.cta-banner::before{
    content:'';
    position:absolute;
    top:-50%;right:-30%;
    width:500px;height:500px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(212,163,115,0.1), transparent 70%);
}
.cta-banner *{position:relative;z-index:1}
.cta-banner h2{
    font-size:2.2rem;
    font-weight:800;
    color:var(--color-text-inv);
    margin-bottom:0.75rem;
}
.cta-banner p{
    font-size:1.05rem;
    color:var(--color-text-inv-md);
    max-width:580px;
    margin:0 auto 2rem;
    line-height:1.7;
}
.cta-banner .btn-group{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    justify-content:center;
}
.cta-banner .btn-rose{
    background:var(--color-rosegold);
    color:var(--color-surface)!important;
    box-shadow:0 4px 16px rgba(212,163,115,0.35);
}
.cta-banner .btn-rose:hover{
    background:var(--color-surface);
    color:var(--color-navy)!important;
}

/* ── Articles Grid ── */
.posts-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
}
.post-card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    overflow:hidden;
    transition:all 0.3s;
    box-shadow:var(--shadow-sm);
}
.post-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.post-card-thumb{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    background:var(--color-bg-alt);
}
.post-card-body{padding:1.5rem}
.post-card-body .post-date{
    font-size:0.72rem;
    color:var(--color-text-light);
    letter-spacing:0.03em;
    margin-bottom:0.5rem;
    font-weight:600;
}
.post-card-body h3{
    font-size:1rem;
    font-weight:700;
    margin-bottom:0.4rem;
    line-height:1.4;
}
.post-card-body h3 a{color:var(--color-navy)}
.post-card-body h3 a:hover{color:var(--color-rosegold)}
.post-card-body p{
    font-size:0.82rem;
    color:var(--color-text-md);
    line-height:1.6;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.post-card-body .read-more{
    display:inline-block;
    margin-top:0.75rem;
    font-size:0.76rem;
    font-weight:700;
    color:var(--color-rosegold);
    letter-spacing:0.02em;
}

/* Category filter */
.cat-filter{
    display:flex;
    flex-wrap:wrap;
    gap:0.5rem;
    margin-bottom:2.5rem;
    justify-content:center;
}
.cat-filter a{
    padding:0.45rem 1.2rem;
    border-radius:999px;
    font-size:0.78rem;
    font-weight:600;
    color:var(--color-text-md);
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    transition:all 0.2s;
}
.cat-filter a:hover,
.cat-filter a.active{
    background:var(--color-navy);
    color:var(--color-surface);
    border-color:var(--color-navy);
}

/* Pagination */
.pagination{
    display:flex;
    justify-content:center;
    gap:0.4rem;
    margin-top:3rem;
}
.pagination a,.pagination span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;height:40px;
    border-radius:var(--radius-sm);
    font-size:0.82rem;
    font-weight:600;
    border:1px solid var(--color-border-light);
    background:var(--color-surface);
    color:var(--color-text-md);
    transition:all 0.2s;
}
.pagination a:hover,
.pagination .current{
    background:var(--color-navy);
    color:var(--color-surface);
    border-color:var(--color-navy);
}

/* ── Single Post ── */
.single-post{padding-top:2rem}
.article-header{margin-bottom:2rem;text-align:center}
.article-header .post-cat{
    display:inline-block;
    font-size:0.7rem;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--color-rosegold);
    margin-bottom:0.75rem;
}
.article-header h1{
    font-size:2.4rem;
    line-height:1.2;
    margin-bottom:1rem;
    max-width:800px;
    margin-left:auto;margin-right:auto;
}
.article-meta{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:1.25rem;
    font-size:0.82rem;
    color:var(--color-text-light);
    flex-wrap:wrap;
}
.article-meta span{display:flex;align-items:center;gap:0.3rem}
.article-meta svg{color:var(--color-text-light)}

/* TOC + Content layout */
.article-layout{
    display:grid;
    grid-template-columns:1fr 260px;
    gap:3rem;
    align-items:start;
    max-width:var(--max-width);
    margin:0 auto;
    padding:0 2rem;
}
.toc-sidebar{
    position:sticky;
    top:90px;
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    padding:1.5rem;
    box-shadow:var(--shadow-sm);
}
.toc-sidebar h4{
    font-size:0.8rem;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--color-text-md);
    margin-bottom:1rem;
}
.toc-sidebar nav a{
    display:block;
    padding:0.35rem 0;
    font-size:0.8rem;
    color:var(--color-text-md);
    border-left:2px solid transparent;
    padding-left:0.75rem;
    transition:all 0.15s;
}
.toc-sidebar nav a:hover,
.toc-sidebar nav a.active{
    color:var(--color-rosegold);
    border-left-color:var(--color-rosegold);
}
.toc-sidebar nav a.toc-h3{
    padding-left:1.5rem;
    font-size:0.76rem;
}

/* Article body typography */
.ladyww-article-body{
    font-size:1rem;
    line-height:1.85!important;
    color:var(--color-text)!important;
}
.ladyww-article-body h2{
    font-size:1.6rem!important;
    margin:2.5rem 0 1rem!important;
    color:var(--color-navy)!important;
}
.ladyww-article-body h3{
    font-size:1.2rem!important;
    margin:2rem 0 0.75rem!important;
    color:var(--color-navy)!important;
}
.ladyww-article-body p{
    margin-bottom:1.25rem!important;
    font-size:1rem!important;
    color:var(--color-text)!important;
}
.ladyww-article-body ul,.ladyww-article-body ol{
    padding-left:1.5rem!important;
    margin-bottom:1.25rem!important;
    list-style:disc!important;
}
.ladyww-article-body ol{list-style:decimal!important}
.ladyww-article-body li{
    margin-bottom:0.4rem!important;
    font-size:1rem!important;
    color:var(--color-text)!important;
}
.ladyww-article-body blockquote{
    border-left:3px solid var(--color-rosegold)!important;
    padding:1rem 1.5rem!important;
    margin:1.5rem 0!important;
    background:rgba(212,163,115,0.04)!important;
    font-style:italic!important;
    color:var(--color-text-md)!important;
    border-radius:0 var(--radius-sm) var(--radius-sm) 0!important;
}
.ladyww-article-body img{
    border-radius:var(--radius-md)!important;
    margin:1.5rem 0!important;
    height:auto!important;
}
.ladyww-article-body a{
    color:var(--color-rosegold)!important;
    text-decoration:underline!important;
}
.ladyww-article-body table{
    width:100%!important;
    border-collapse:collapse!important;
    margin:1.5rem 0!important;
    font-size:0.88rem!important;
}
.ladyww-article-body th,.ladyww-article-body td{
    border:1px solid var(--color-border-light)!important;
    padding:0.65rem 1rem!important;
    text-align:left!important;
}
.ladyww-article-body th{
    background:rgba(28,45,66,0.03)!important;
    font-weight:700!important;
    color:var(--color-navy)!important;
}
.ladyww-article-body code{
    background:rgba(28,45,66,0.05)!important;
    padding:0.15rem 0.4rem!important;
    border-radius:3px!important;
    font-family:var(--font-mono)!important;
    font-size:0.88em!important;
}
.ladyww-article-body pre{
    background:var(--color-navy)!important;
    color:var(--color-text-inv)!important;
    padding:1.25rem!important;
    border-radius:var(--radius-sm)!important;
    overflow-x:auto!important;
    margin:1.5rem 0!important;
    font-size:0.85rem!important;
    line-height:1.6!important;
}
.ladyww-article-body pre code{
    background:none!important;
    padding:0!important;
    color:inherit!important;
}

/* Tags */
.post-tags{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:0.5rem;
    margin-top:2rem;
    padding-top:1.5rem;
    border-top:1px solid var(--color-border-light);
}
.post-tags-label{
    font-size:0.8rem;
    font-weight:700;
    color:var(--color-text);
    margin-right:0.25rem;
}
.post-tag-item{
    display:inline-block;
    padding:0.28rem 0.85rem;
    background:var(--color-navy);
    color:var(--color-surface);
    border-radius:999px;
    font-size:0.74rem;
    font-weight:600;
    letter-spacing:0.02em;
    transition:all 0.2s;
}
.post-tag-item:hover{
    background:var(--color-rosegold);
    color:var(--color-surface)!important;
}

/* Post navigation */
.post-nav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1.5rem;
    margin-top:3rem;
    padding-top:2rem;
    border-top:1px solid var(--color-border-light);
}
.post-nav a{
    display:block;
    padding:1.25rem;
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    transition:all 0.2s;
}
.post-nav a:hover{
    border-color:var(--color-rosegold);
    box-shadow:var(--shadow-sm);
}
.post-nav .nav-label{
    font-size:0.7rem;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--color-text-light);
    margin-bottom:0.3rem;
}
.post-nav .nav-title{
    font-size:0.88rem;
    font-weight:600;
    color:var(--color-navy);
    line-height:1.45;
}
.post-nav .nav-next{text-align:right}

/* Related posts */
.related-posts{margin-top:4rem}
.related-posts h3{
    font-size:1.3rem;
    margin-bottom:1.5rem;
    color:var(--color-navy);
}
.related-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
}
.related-card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    overflow:hidden;
    transition:all 0.2s;
    box-shadow:var(--shadow-sm);
}
.related-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.related-thumb{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    background:var(--color-bg-alt);
}
.related-card-body{padding:1rem 1.25rem}
.related-card-body h4{
    font-size:0.9rem;
    line-height:1.4;
    margin-bottom:0.25rem;
}
.related-card-body h4 a{color:var(--color-navy)}
.related-card-body h4 a:hover{color:var(--color-rosegold)}
.related-card-body .related-date{
    font-size:0.7rem;
    color:var(--color-text-light);
}

/* ── FAQ ── */
details.faq-item{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    margin-bottom:0.75rem;
    overflow:hidden;
}
details.faq-item summary{
    padding:1.1rem 1.3rem;
    font-weight:700;
    font-size:0.9rem;
    color:var(--color-navy);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
    user-select:none;
    list-style:none;
}
details.faq-item summary::-webkit-details-marker{display:none}
details.faq-item summary::after{
    content:'+';
    font-size:1.3rem;
    color:var(--color-rosegold);
    transition:transform 0.25s;
    font-weight:300;
}
details.faq-item[open] summary::after{content:'\2212'}
details.faq-item .faq-content{
    padding:0 1.3rem 1.3rem;
    font-size:0.86rem;
    color:var(--color-text-md);
    line-height:1.75;
}

/* ── Contact Form ── */
.contact-form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1rem;
}
.contact-form-grid .full-width{grid-column:1/-1}
.form-group{margin-bottom:1rem}
.form-group label{
    display:block;
    font-size:0.78rem;
    font-weight:700;
    color:var(--color-navy);
    margin-bottom:0.35rem;
    letter-spacing:0.02em;
}
.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    padding:0.75rem 1rem;
    border:1px solid var(--color-border);
    border-radius:var(--radius-sm);
    font-family:var(--font-body);
    font-size:0.86rem;
    color:var(--color-text);
    background:var(--color-surface);
    transition:border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
    outline:none;
    border-color:var(--color-rosegold);
    box-shadow:0 0 0 3px rgba(212,163,115,0.08);
}
.form-group textarea{resize:vertical;min-height:130px}
.form-success,.form-error{
    display:none;
    padding:0.8rem 1rem;
    border-radius:var(--radius-sm);
    font-size:0.82rem;
    font-weight:600;
    margin-bottom:1rem;
}
.form-success{background:#f0fff4;color:#1a7f3d;border:1px solid #a3e4b8}
.form-error{background:#fff5f5;color:#c41e3a;border:1px solid #fcc}

/* ── Floating CTA ── */
.float-cta{
    position:fixed;
    right:1.5rem;
    bottom:2rem;
    z-index:999;
    display:flex;
    flex-direction:column;
    gap:0.6rem;
}
.float-btn{
    display:flex;
    align-items:center;
    gap:0.5rem;
    padding:0.7rem 1.1rem;
    border-radius:var(--radius-md);
    font-size:0.78rem;
    font-weight:700;
    letter-spacing:0.02em;
    color:var(--color-surface)!important;
    text-decoration:none;
    box-shadow:var(--shadow-lg);
    transition:all 0.3s;
}
.float-btn.whatsapp{background:#25D366}
.float-btn.whatsapp:hover{background:#1da851;transform:translateY(-1px)}
.float-btn.quote{background:var(--color-rosegold)}
.float-btn.quote:hover{background:var(--color-navy);transform:translateY(-1px)}
.float-btn svg{color:var(--color-surface)}
.float-btn .pulse-dot{
    width:8px;height:8px;
    border-radius:50%;
    background:#fff;
    animation:pulse 1.5s infinite;
}

/* ── Notification Toast ── */
.toast{
    position:fixed;
    top:1.5rem;
    right:1.5rem;
    z-index:9999;
    background:var(--color-navy);
    color:var(--color-text-inv);
    padding:0.9rem 1.5rem;
    border-radius:var(--radius-md);
    font-size:0.83rem;
    font-weight:600;
    box-shadow:var(--shadow-lg);
    opacity:0;
    transform:translateY(-10px);
    transition:all 0.3s;
}
.toast.show{opacity:1;transform:translateY(0)}
.toast.success{background:#1a7f3d}
.toast.error{background:#c41e3a}

/* ── 404 ── */
.not-found{padding:10rem 0;text-align:center}
.not-found h1{
    font-family:var(--font-heading);
    font-size:8rem;
    font-weight:900;
    color:var(--color-rosegold);
    line-height:1;
}
.not-found h2{font-size:1.5rem;margin:1rem 0}
.not-found p{color:var(--color-text-md);margin-bottom:2rem}

/* ── Search ── */
.search-form-wrap{
    max-width:560px;
    margin:0 auto 3rem;
}
.search-form-wrap input{
    width:100%;
    padding:0.9rem 1.2rem;
    border:1.5px solid var(--color-border);
    border-radius:var(--radius-md);
    font-family:var(--font-body);
    font-size:1rem;
    color:var(--color-text);
    transition:border-color 0.2s;
}
.search-form-wrap input:focus{
    outline:none;
    border-color:var(--color-rosegold);
}

/* ── Hero Section ── */
.hero{
    padding:8rem 0 6rem;
    background:linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    overflow:hidden;
}
.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4rem;
    align-items:center;
}
.hero-content h1{
    font-size:3rem;
    font-weight:800;
    line-height:1.15;
    margin-bottom:1.25rem;
    letter-spacing:-0.02em;
}
.hero-content h1 .highlight{
    background:linear-gradient(135deg, var(--color-rosegold), var(--color-rosegold-light));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.hero-content .hero-desc{
    font-size:1.1rem;
    color:var(--color-text-md);
    line-height:1.7;
    margin-bottom:2rem;
    max-width:520px;
}
.hero-content .hero-cta-group{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    margin-bottom:2rem;
}
.hero-badges{
    display:flex;
    flex-wrap:wrap;
    gap:1.25rem;
    font-size:0.8rem;
    font-weight:600;
    color:var(--color-text-md);
}
.hero-badge-item{
    display:flex;
    align-items:center;
    gap:0.4rem;
}
.hero-badge-item svg{color:var(--color-rosegold)}
.hero-visual{
    position:relative;
    border-radius:var(--radius-lg);
    overflow:hidden;
    aspect-ratio:4/3;
    background:linear-gradient(135deg, var(--color-navy), #2A3D5C);
    display:flex;
    align-items:center;
    justify-content:center;
}
.hero-visual-placeholder{text-align:center;color:rgba(255,255,255,0.9)}
.hero-visual-placeholder svg{width:100px;height:100px;margin-bottom:1rem;color:var(--color-rosegold-light)}
.hero-visual-placeholder p{
    font-family:var(--font-heading);
    font-size:0.78rem;
    font-weight:600;
    letter-spacing:0.05em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.6);
}

/* ── Page template generic ── */
.template-header{
    padding:5rem 0 3rem;
    text-align:center;
    background:linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}
.template-header h1{font-size:2.6rem;margin-bottom:0.75rem}
.template-header p{font-size:1.05rem;color:var(--color-text-md);max-width:640px;margin:0 auto}

/* ── Breadcrumbs ── */
.breadcrumbs{
    display:flex;
    flex-wrap:wrap;
    gap:0.4rem;
    align-items:center;
    font-size:0.76rem;
    color:var(--color-text-light);
    padding:1rem 0;
    margin-bottom:1.5rem;
}
.breadcrumbs a{color:var(--color-text-light)}
.breadcrumbs a:hover{color:var(--color-rosegold)}
.breadcrumbs .sep{color:var(--color-text-light)}

/* ── Responsive ── */
@media (max-width:1024px){
    h1{font-size:2.4rem}
    .grid-3{grid-template-columns:repeat(2,1fr)}
    .grid-4{grid-template-columns:repeat(2,1fr)}
    .posts-grid{grid-template-columns:repeat(2,1fr)}
    .related-grid{grid-template-columns:repeat(2,1fr)}
    .article-layout{grid-template-columns:1fr}
    .toc-sidebar{position:static;order:-1}
    .hero-grid{grid-template-columns:1fr;gap:3rem}
    .hero-visual{max-width:500px;margin:0 auto;order:-1}
    .female-led-block{grid-template-columns:1fr;gap:2rem}
    .female-led-img{max-width:400px;margin:0 auto}
}
@media (max-width:768px){
    h1{font-size:2rem}
    h2{font-size:1.6rem}
    .section{padding:3.5rem 0}
    .container{padding:0 1.25rem}
    .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
    .posts-grid{grid-template-columns:1fr}
    .related-grid{grid-template-columns:1fr}
    .contact-form-grid{grid-template-columns:1fr}
    .post-nav{grid-template-columns:1fr}
    .section-title{font-size:1.8rem}

    /* Mobile Nav */
    .menu-toggle{display:block}
    .site-nav{
        position:absolute;
        top:72px;left:0;right:0;
        background:var(--color-surface);
        border-top:1px solid var(--color-border-light);
        padding:1rem;
        display:none;
        box-shadow:var(--shadow-lg);
    }
    .site-nav.open{display:block}
    .nav-menu{flex-direction:column;align-items:stretch;gap:0.2rem}
    .nav-menu > li > a{padding:0.75rem 1rem}
    .sub-menu{
        position:static;
        opacity:1;visibility:visible;
        transform:none;
        box-shadow:none;
        border:none;
        padding-left:1rem;
        background:var(--color-bg-alt);
    }
    .header-cta{display:none}
    .float-cta{right:0.75rem;bottom:1.25rem}
    .hero{padding:5rem 0 3rem}
    .hero-content h1{font-size:2rem}
    .cert-row{gap:1.5rem}
    .stats-row{flex-direction:column;gap:2rem;align-items:center}
    .cta-banner h2{font-size:1.6rem}
}
@media (max-width:480px){
    h1{font-size:1.75rem}
    .hero-content h1{font-size:1.7rem}
}

/* ── Breadcrumbs override ── */
@media (min-width:1024px){
    .hero-content{max-width:560px}
}

/* ── SVG Icon Alignment Fix ── */
li:has(> svg){
    display:flex;
    align-items:flex-start;
    gap:0.5rem;
    padding:0.3rem 0;
    line-height:1.65;
}
li:has(> svg) > svg{margin-top:0.15rem}

/* ── Admin Bar Offset ── */
body.admin-bar #site-header{top:32px}
@media (max-width:782px){body.admin-bar #site-header{top:46px}}

/* ── Animations ── */
@keyframes fadeup{
    from{opacity:0;transform:translateY(30px)}
    to{opacity:1;transform:translateY(0)}
}
@keyframes slideInRight{
    from{opacity:0;transform:translateX(30px)}
    to{opacity:1;transform:translateX(0)}
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}
@keyframes scaleIn{
    from{opacity:0;transform:scale(0.95)}
    to{opacity:1;transform:scale(1)}
}
.animate-fadeup{animation:fadeup 0.7s ease-out both}
.animate-slide-right{animation:slideInRight 0.7s ease-out both}
.animate-scale{animation:scaleIn 0.5s ease-out both}

/* Staggered animation delays */
.stagger > *:nth-child(1){animation-delay:0.1s}
.stagger > *:nth-child(2){animation-delay:0.2s}
.stagger > *:nth-child(3){animation-delay:0.3s}
.stagger > *:nth-child(4){animation-delay:0.4s}
.stagger > *:nth-child(5){animation-delay:0.5s}
.stagger > *:nth-child(6){animation-delay:0.6s}

/* Page wrapper offset for fixed header */
.page-wrapper{padding-top:72px}

/* ── Footer ── */
.site-footer{
    background:var(--color-navy);
    color:var(--color-text-inv-md);
    padding:4rem 0 2rem;
    border-top:1px solid rgba(255,255,255,0.06);
}
.footer-grid{
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr 1fr;
    gap:2rem;
    margin-bottom:2rem;
}
.footer-brand .logo-text{font-size:1.3rem;font-weight:700;color:var(--color-white);letter-spacing:0.5px}
.footer-brand .logo-accent{color:var(--color-gold)}
.footer-brand p{font-size:0.85rem;color:var(--color-text-inv-md);line-height:1.7;margin-top:0.5rem;max-width:260px}
.footer-col h4{font-size:0.85rem;font-weight:600;color:var(--color-white);text-transform:uppercase;letter-spacing:1.5px;margin-bottom:1rem}
.footer-col ul{list-style:none;padding:0;margin:0}
.footer-col li{margin-bottom:0.55rem}
.footer-col a,.footer-contact span{font-size:0.84rem;color:var(--color-text-inv-md);transition:color 0.2s}
.footer-col a:hover{color:var(--color-gold)}
.footer-contact li{display:flex;align-items:center;gap:0.5rem}
.footer-contact svg{flex-shrink:0;color:var(--color-gold)}
.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid rgba(255,255,255,0.08);
    padding-top:1.5rem;
    font-size:0.78rem;
    color:var(--color-text-inv-md);
}
.footer-social{display:flex;gap:0.75rem}
.footer-social a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,0.06);color:var(--color-text-inv-md);transition:all 0.2s}
.footer-social a:hover{background:var(--color-gold);color:var(--color-white)}

@media (max-width:768px){
    .footer-grid{grid-template-columns:1fr 1fr;gap:1.5rem}
    .footer-bottom{flex-direction:column;gap:0.75rem;text-align:center}
}

/* ── Floating CTA ── */
.float-cta{
    position:fixed;
    bottom:1.5rem;
    right:1.5rem;
    display:flex;
    flex-direction:column;
    gap:0.6rem;
    z-index:999;
    pointer-events:none;
}
.float-cta > *{pointer-events:auto}
.float-btn{
    display:inline-flex;
    align-items:center;
    gap:0.5rem;
    padding:0.75rem 1.1rem;
    border-radius:var(--radius-lg);
    font-size:0.82rem;
    font-weight:600;
    color:var(--color-white);
    box-shadow:0 4px 14px rgba(0,0,0,0.15);
    transition:all 0.2s;
    position:relative;
}
.float-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,0.2)}
.float-btn.whatsapp{background:#25D366}
.float-btn.quote{background:var(--color-gold);color:var(--color-navy)}
.float-btn span:first-of-type{display:none}
@media (min-width:640px){.float-btn span:first-of-type{display:inline}}
.pulse-dot{
    position:absolute;
    top:0.4rem;
    right:0.4rem;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#fff;
    animation:pulse 2s infinite;
    border:1px solid rgba(255,255,255,0.3);
}

/* ── Toast ── */
#toast{
    position:fixed;
    bottom:7rem;
    right:1.5rem;
    background:var(--color-navy);
    color:var(--color-white);
    padding:0.75rem 1.25rem;
    border-radius:var(--radius-md);
    font-size:0.85rem;
    font-weight:500;
    box-shadow:0 4px 16px rgba(0,0,0,0.2);
    opacity:0;
    transform:translateY(12px);
    transition:all 0.3s ease;
    z-index:1000;
    pointer-events:none;
    border:1px solid rgba(255,255,255,0.08);
}
#toast.show{opacity:1;transform:translateY(0)}

/* ── Admin Bar Offset ── */
body.admin-bar #site-header{top:32px}


/* ============================================================
   COOKIE CONSENT — centred modal, GDPR / ePrivacy
   Colours mapped onto the LadyWW palette (navy / rose gold / cream).
   ============================================================ */
/* ============================================================
   COOKIE CONSENT — centred modal, GDPR / ePrivacy
   ============================================================ */

.lw-c {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1f2937;
}

.lw-c[hidden] { display: none; }

.lw-c__scrim {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.lw-c__panel {
    position: relative;
    width: 100%;
    max-width: 46rem;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.55);
    overflow: hidden;
    animation: lw-c-in 0.22s ease-out;
}

.lw-c__panel:focus,
.lw-c__panel:focus-visible { outline: none; }

@keyframes lw-c-in {
    from { opacity: 0; transform: translateY(12px) scale(0.985); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .lw-c__panel { animation: none; }
}

.lw-c__head { padding: 1.5rem 1.75rem 0.5rem; }

.lw-c__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.lw-c__sub { margin: 0; font-size: 0.9rem; color: #4b5563; }

.lw-c__body {
    flex: 1 1 auto;
    /* Without min-height a flex item refuses to shrink below its content and
       the buttons end up below the fold instead of the body scrolling. */
    min-height: 0;
    padding: 0.75rem 1.75rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.lw-c__panel > [data-zxy-view] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.lw-c__panel > [data-zxy-view][hidden] { display: none; }

.lw-c__lede { margin: 0 0 1rem; color: #374151; }

.lw-c__lede a,
.lw-c__fine a {
    color: #22364F;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lw-c__fine { margin: 0.9rem 0 0; font-size: 0.8rem; line-height: 1.55; color: #6b7280; }

.lw-c__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 1rem 1.75rem 1.25rem;
    background: #FBF8F3;
    border-top: 1px solid #e5e7eb;
}

/* Accept and reject carry the same size and weight — the part most banners
   get wrong. */
.lw-c__btn {
    flex: 1 1 0;
    min-width: 10rem;
    appearance: none;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lw-c__btn--accept { background: #22364F; color: #ffffff; }
.lw-c__btn--accept:hover { background: #1e3a8a; }

.lw-c__btn--reject { background: #334155; color: #ffffff; }
.lw-c__btn--reject:hover { background: #1e293b; }

.lw-c__btn--ghost {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1f2937;
    flex: 0 1 auto;
}
.lw-c__btn--ghost:hover { border-color: #94a3b8; background: #f1f5f9; }

.lw-c__btn:focus-visible { outline: 3px solid #D4A373; outline-offset: 2px; }

.lw-c__list { margin: 0.25rem 0 0; border-top: 1px solid #e5e7eb; list-style: none; padding: 0; }

.lw-c__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.lw-c__row-text h3 { margin: 0 0 0.2rem; font-size: 0.98rem; font-weight: 700; color: #111827; }
.lw-c__row-text p { margin: 0; font-size: 0.85rem; color: #6b7280; line-height: 1.55; }

.lw-c__always {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    margin-top: 0.15rem;
}

.lw-c__switch { position: relative; flex-shrink: 0; width: 3rem; height: 1.75rem; margin-top: 0.15rem; }

.lw-c__switch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.lw-c__track {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    transition: background-color 0.18s ease;
    pointer-events: none;
}

.lw-c__track::after {
    content: "";
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    width: 1.35rem;
    height: 1.35rem;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.35);
    transition: transform 0.18s ease;
}

.lw-c__switch input:checked + .lw-c__track { background: #22364F; }
.lw-c__switch input:checked + .lw-c__track::after { transform: translateX(1.25rem); }
.lw-c__switch input:focus-visible + .lw-c__track { outline: 3px solid #D4A373; outline-offset: 2px; }

.lw-c__cookies {
    margin-top: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lw-c__cookies table {
    width: 100%;
    min-width: 38rem;
    border-collapse: collapse;
    font-size: 0.8rem;
    table-layout: fixed;
}

.lw-c__cookies th {
    background: #f1f5f9;
    text-align: left;
    font-weight: 600;
    color: #334155;
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.lw-c__cookies th:nth-child(1) { width: 25%; }
.lw-c__cookies th:nth-child(2) { width: 10%; }
.lw-c__cookies th:nth-child(3) { width: 15%; }
.lw-c__cookies th:nth-child(4) { width: 39%; }
.lw-c__cookies th:nth-child(5) { width: 11%; }

.lw-c__cookies td {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid #f1f5f9;
    color: #4b5563;
    vertical-align: top;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.lw-c__cookies tr:last-child td { border-bottom: 0; }

.lw-c__cookies code {
    font-size: 0.76rem;
    white-space: nowrap;
    color: #0f172a;
    background: #FBF8F3;
    padding: 0.05rem 0.25rem;
    border-radius: 0.25rem;
}

.lw-c__pill {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 999998;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    background: #ffffff;
    color: #1f2937;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    box-shadow: 0 6px 18px -6px rgba(15, 23, 42, 0.4);
    cursor: pointer;
}

.lw-c__pill[hidden] { display: none; }
.lw-c__pill:hover { background: #FBF8F3; }

body.lw-c-locked { overflow: hidden; }

@media (max-width: 640px) {
    .lw-c { padding: 0; align-items: flex-end; }

    .lw-c__panel {
        max-width: none;
        max-height: 100vh;
        border-radius: 1rem 1rem 0 0;
    }

    .lw-c__head { padding: 1.25rem 1.15rem 0.25rem; }
    .lw-c__body { padding: 0.5rem 1.15rem 0.75rem; }
    .lw-c__foot { padding: 0.85rem 1.15rem 1.1rem; flex-direction: column; }
    .lw-c__btn { min-width: 0; flex: 1 1 auto; width: 100%; }
    .lw-c__title { font-size: 1.15rem; }
    .lw-c__pill { left: 0.75rem; bottom: 0.75rem; }
}

/* ============================================================
   CONTENT COMPONENTS — product depth, guides, sitemap
   Uses the theme variables above; no new palette.
   ============================================================ */

/* ── Prose wrapper ── */
.lw-prose {
    max-width: 860px;
    margin: 0 auto;
}

.lw-prose p {
    margin-bottom: 1.1rem;
    color: var(--color-text-md);
    line-height: 1.75;
}

/* ── Section ── */
.lw-section {
    margin-bottom: 3.5rem;
}
.lw-section--tight { margin-bottom: 2.25rem; }

.lw-h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--color-border);
}

.lw-lede {
    font-size: 1rem;
    color: var(--color-text-md);
    margin-bottom: 1.25rem;
    max-width: 72ch;
}

.lw-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.9rem;
}
.lw-note a { color: var(--color-rosegold); text-decoration: underline; }

/* ── Bullet list with icons ── */
.lw-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}
.lw-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.94rem;
    color: var(--color-text-md);
    line-height: 1.65;
}
.lw-list li:last-child { border-bottom: none; }
.lw-list li svg {
    flex: 0 0 auto;
    margin-top: 0.25rem;
    color: var(--color-rosegold);
}

/* ── Tables ── */
.lw-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.lw-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.55;
}

.lw-table thead th {
    background: var(--color-navy);
    color: var(--color-text-inv);
    text-align: left;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.7rem 1rem;
    white-space: nowrap;
}

.lw-table tbody td,
.lw-table tbody th {
    padding: 0.7rem 1rem;
    border-top: 1px solid var(--color-border-light);
    color: var(--color-text-md);
    vertical-align: top;
}

.lw-table tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--color-navy);
    white-space: nowrap;
    background: var(--color-bg-alt);
    width: 34%;
}

.lw-table tbody tr:nth-child(even) { background: #FDFAF6; }
.lw-table tbody tr:hover { background: #FBF3E9; }

/* ── Answer block ── */
.lw-answer {
    background: linear-gradient(135deg, #FDF8F1, #FAF6F0);
    border-left: 4px solid var(--color-rosegold);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.6rem;
    margin: 1.75rem 0 2rem;
}
.lw-answer__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-rosegold);
    margin-bottom: 0.5rem;
}
.lw-answer__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-md);
    margin: 0 !important;
}

/* ── FAQ ── */
.lw-faq {
    margin: 3rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}
.lw-faq__item {
    border-bottom: 1px solid var(--color-border-light);
}
.lw-faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.98rem;
    line-height: 1.5;
    list-style: none;
}
.lw-faq__item summary::-webkit-details-marker { display: none; }
.lw-faq__plus {
    flex: 0 0 auto;
    color: var(--color-rosegold);
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.18s ease;
}
.lw-faq__item[open] .lw-faq__plus { transform: rotate(45deg); }
.lw-faq__answer {
    padding: 0 0 1.1rem;
    font-size: 0.94rem;
    color: var(--color-text-md);
    line-height: 1.75;
}

/* ── Numbered steps ── */
.lw-steps {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    counter-reset: step;
}
.lw-steps li {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--color-border-light);
}
.lw-steps li:last-child { border-bottom: none; }
.lw-steps__num {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--color-navy);
    color: var(--color-text-inv);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}
.lw-steps li strong {
    display: block;
    color: var(--color-navy);
    margin-bottom: 0.35rem;
    font-size: 0.98rem;
}
.lw-steps li p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--color-text-md);
    line-height: 1.65;
}

/* ── Category landing intro ── */
.lw-cat-intro {
    max-width: 820px;
    margin: 0 auto 2.5rem;
    text-align: center;
}
.lw-cat-intro__kicker {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-rosegold);
    margin-bottom: 0.75rem;
}
.lw-cat-intro__answer {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--color-text-md);
}

/* ── Related products ── */
.lw-related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.lw-related__card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.lw-related__card:hover {
    border-color: var(--color-rosegold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.lw-related__name { font-weight: 700; color: var(--color-navy); font-size: 0.95rem; }
.lw-related__price { color: var(--color-text-light); font-size: 0.85rem; }
.lw-related__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-rosegold);
}

/* ── Map ── */
.lw-map { max-width: 960px; margin: 0 auto; }
.lw-map__lede {
    color: var(--color-text-md);
    max-width: 70ch;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.lw-map__frame {
    position: relative;
    aspect-ratio: 16 / 8;
    min-height: 300px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-alt);
}
.lw-map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lw-map__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.5rem;
    text-align: center;
    background: var(--color-bg-alt);
    color: var(--color-text-md);
}
.lw-map__placeholder[hidden] { display: none; }
.lw-map__placeholder svg { color: var(--color-rosegold); }
.lw-map__small { font-size: 0.82rem; color: var(--color-text-light); max-width: 46ch; }
.lw-map__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.lw-map__meta {
    margin-top: 0.9rem;
    font-size: 0.82rem;
    color: var(--color-text-light);
}

/* ── Sitemap ── */
.lw-sitemap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.lw-sitemap__list { list-style: none; margin: 0; padding: 0; }
.lw-sitemap__list li {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.94rem;
}
.lw-sitemap__list a { color: var(--color-text-md); }
.lw-sitemap__list a:hover { color: var(--color-rosegold); }
.lw-sitemap__count {
    color: var(--color-text-light);
    font-size: 0.78rem;
    margin-left: 0.4rem;
}
.lw-linkish {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--color-text-md);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

/* ── Footer legal row ── */
.footer-disclaimer {
    font-size: 0.76rem;
    line-height: 1.7;
    color: rgba(250, 246, 240, 0.55);
    max-width: 900px;
    margin: 2rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(250, 246, 240, 0.12);
}
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 0.82rem;
}
.footer-legal a { color: rgba(250, 246, 240, 0.72); }
.footer-legal a:hover { color: var(--color-rosegold); }
.footer-legal__button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 0.82rem;
    color: rgba(250, 246, 240, 0.72);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}
.footer-legal__button:hover { color: var(--color-rosegold); }

/* ── Responsive ── */
@media (min-width: 768px) {
    .lw-sitemap { grid-template-columns: 1fr 1fr; }
    .lw-h2 { font-size: 1.7rem; }
}

@media (max-width: 640px) {
    .lw-section { margin-bottom: 2.5rem; }
    .lw-h2 { font-size: 1.25rem; }
    .lw-table { min-width: 480px; font-size: 0.84rem; }
    .lw-table thead th,
    .lw-table tbody td,
    .lw-table tbody th { padding: 0.55rem 0.7rem; }
    .lw-table tbody th { white-space: normal; width: 40%; }
    .lw-map__frame { aspect-ratio: 4 / 3; }
    .footer-legal { gap: 0.75rem; }
}

/* ============================================================
   HEADER ROBUSTNESS
   The header is a fixed 72px flex row. Adding a menu item made the
   nav wide enough to squeeze the logo column, so "LadyWW Beauty"
   wrapped onto three lines and overflowed above the viewport.
   ============================================================ */
.site-logo { flex: 0 0 auto; }
.logo-text,
.logo-subtitle { white-space: nowrap; }
.logo-subtitle { overflow: hidden; text-overflow: ellipsis; max-width: 15rem; }
.site-nav { min-width: 0; }
.nav-menu > li > a { white-space: nowrap; }
.header-actions { flex: 0 0 auto; }

@media (min-width: 1024px) and (max-width: 1360px) {
    .header-inner { padding: 0 1.25rem; }
    .nav-menu > li > a {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
        font-size: 0.84rem;
    }
    .header-cta { padding-left: 1rem; padding-right: 1rem; font-size: 0.82rem; }
    .logo-subtitle { display: none; }
}
