/*
Theme Name: GlowGuide
Theme URI: https://glowguide.com
Author: GlowGuide Team
Author URI: https://glowguide.com
Description: A beautiful Beauty & Skincare Product Review WordPress Theme with Rose & Mauve color scheme, product reviews, pros/cons, ingredient analysis, and skin type guides.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glowguide
Tags: beauty, skincare, review, blog, custom-colors, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =============================================
   GOOGLE FONTS
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* =============================================
   CSS VARIABLES
============================================= */
:root {
    --rose: #C9526A;
    --rose2: #E8758A;
    --rose-light: #FDF0F3;
    --rose-border: #F5C8D2;
    --blush: #FFF5F7;
    --mauve: #7A3F52;
    --cream: #FDFAF8;
    --warm: #F8F3EF;
    --gold: #C8922A;
    --gold2: #E8A830;
    --gold-light: #FFF8EC;
    --gold-border: #F0D080;
    --text: #1C1C1C;
    --muted: #6A5A60;
    --light: #A89098;
    --white: #FFFFFF;
    --border: #EDE0E5;
    --green: #2E7D5E;
    --green-light: #EDFAF3;
    --red-light: #FFF0F0;
    --red: #C0392B;
    --shadow: 0 2px 20px rgba(180, 80, 100, 0.08);
    --shadow-hover: 0 10px 40px rgba(180, 80, 100, 0.16);
    --radius: 16px;
    --radius-sm: 10px;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--mauve); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--mauve);
    line-height: 1.25;
}

/* =============================================
   UTILITY
============================================= */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.section { padding: 72px 0; }
.section-bg-warm { background: var(--warm); }
.section-bg-blush { background: var(--blush); }
.section-bg-dark { background: linear-gradient(135deg, #2A0A18, #4A1530); }

.section-eyebrow {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--rose);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
    color: var(--mauve);
    margin-bottom: 10px;
}

.section-sub {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 48px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 26px;
    border-radius: 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.22s;
    text-decoration: none;
}

.btn-primary {
    background: var(--rose);
    color: white;
}
.btn-primary:hover { background: var(--mauve); color: white; }

.btn-outline {
    background: transparent;
    color: var(--rose);
    border: 1.5px solid var(--rose-border);
}
.btn-outline:hover { background: var(--rose-light); color: var(--rose); }

.btn-gold {
    background: var(--gold);
    color: var(--mauve);
}
.btn-gold:hover { background: var(--gold2); color: var(--mauve); }

.btn-dark {
    background: var(--mauve);
    color: white;
}
.btn-dark:hover { background: #2A0A18; color: white; }

.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 15px 32px; font-size: 0.95rem; }

/* =============================================
   BADGES
============================================= */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 5px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-best { background: var(--gold); color: var(--mauve); }
.badge-new  { background: var(--rose); color: white; }
.badge-popular { background: var(--mauve); color: white; }
.badge-good { background: var(--green-light); color: var(--green); border: 1px solid #B8E8D4; }
.badge-caution { background: var(--gold-light); color: var(--gold); border: 1px solid var(--gold-border); }
.badge-avoid { background: var(--red-light); color: var(--red); border: 1px solid #F5C0C0; }

/* =============================================
   STAR RATING
============================================= */
.star-rating { color: var(--gold); font-size: 0.95rem; letter-spacing: 1px; }
.star-rating .score { color: var(--mauve); font-weight: 700; margin-left: 4px; font-family: 'DM Sans', sans-serif; }

/* =============================================
   TOP BAR
============================================= */
.topbar {
    background: var(--mauve);
    padding: 9px 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left { display: flex; align-items: center; gap: 6px; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { color: rgba(255,255,255,0.6); font-size: 0.74rem; transition: color 0.2s; }
.topbar-links a:hover { color: var(--rose2); }

/* =============================================
   NAVIGATION
============================================= */
#masthead {
    background: var(--white);
    border-bottom: 2px solid var(--rose-border);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 18px rgba(180, 80, 100, 0.08);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-logo-mark {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--rose), var(--mauve));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--mauve);
    display: block;
    line-height: 1.1;
}
.site-description {
    font-size: 0.6rem;
    color: var(--rose);
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    display: block;
}

/* Primary Nav */
#primary-menu-wrap { display: flex; align-items: center; gap: 4px; }
#primary-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
#primary-menu li a {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    display: block;
    transition: all 0.2s;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item a {
    background: var(--rose-light);
    color: var(--rose);
}

/* Dropdown */
#primary-menu li { position: relative; }
#primary-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 200px;
    box-shadow: var(--shadow-hover);
    z-index: 300;
}
#primary-menu li:hover > ul { display: block; }
#primary-menu li ul li a { padding: 9px 18px; border-radius: 0; font-size: 0.82rem; }

/* Search + CTA */
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--warm);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s;
}
.header-search-btn:hover { background: var(--rose-light); border-color: var(--rose-border); }

/* Mobile toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--mauve);
}

/* Search overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(42, 10, 24, 0.85);
    z-index: 500;
    align-items: center;
    justify-content: center;
}
.search-overlay.active { display: flex; }
.search-overlay-inner { width: 90%; max-width: 560px; }
.search-overlay input[type="search"] {
    width: 100%;
    padding: 18px 22px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
}
.search-close {
    position: absolute;
    top: 24px; right: 24px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* =============================================
   HERO — HOMEPAGE
============================================= */
.hero-section {
    background: linear-gradient(135deg, #2A0A18 0%, #4A1530 50%, #2A0A18 100%);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-orb-1 {
    top: -80px; right: -80px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(201,82,106,0.2), transparent 70%);
}
.hero-orb-2 {
    bottom: -100px; left: -100px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(122,63,82,0.15), transparent 70%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(201,82,106,0.2);
    border: 1px solid rgba(201,82,106,0.35);
    color: #F5A0B0;
    padding: 7px 16px;
    border-radius: 22px;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-title em { color: var(--rose2); font-style: italic; }
.hero-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 440px;
}
.hero-search-form {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin-bottom: 18px;
}
.hero-search-form input[type="search"] {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 0.92rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    color: var(--text);
}
.hero-search-form input::placeholder { color: var(--light); }
.hero-search-form button {
    background: var(--rose);
    color: white;
    border: none;
    padding: 16px 26px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
    white-space: nowrap;
}
.hero-search-form button:hover { background: var(--mauve); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tag {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.55);
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.hero-tag:hover { background: rgba(201,82,106,0.2); color: #F5A0B0; }

/* Hero Right — Featured Cards */
.hero-products { display: flex; flex-direction: column; gap: 14px; }
.hero-product-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.22s;
    text-decoration: none;
}
.hero-product-card:hover {
    background: rgba(201,82,106,0.1);
    border-color: rgba(201,82,106,0.35);
}
.hero-product-img {
    width: 52px; height: 52px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.hero-product-info .name { font-size: 0.88rem; font-weight: 600; color: white; margin-bottom: 3px; }
.hero-product-info .stars { color: var(--gold2); font-size: 0.78rem; }
.hero-product-info .cat { font-size: 0.71rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.hero-product-arrow { margin-left: auto; color: rgba(255,255,255,0.3); font-size: 0.9rem; }

/* =============================================
   TRUST BAR
============================================= */
.trust-bar {
    background: var(--rose-light);
    border-bottom: 1px solid var(--rose-border);
    padding: 13px 0;
}
.trust-bar-inner {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: var(--mauve);
    font-weight: 500;
}
.trust-dot {
    width: 5px; height: 5px;
    background: var(--rose);
    border-radius: 50%;
    flex-shrink: 0;
}

/* =============================================
   CATEGORY PILLS (Filter Tabs)
============================================= */
.filter-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.filter-pill {
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--muted);
    font-size: 0.83rem;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.22s;
    font-family: 'DM Sans', sans-serif;
}
.filter-pill:hover,
.filter-pill.active {
    background: var(--rose);
    border-color: var(--rose);
    color: white;
}

/* =============================================
   PRODUCT CARDS GRID
============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card-thumb {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.product-card-thumb .no-img {
    font-size: 4.5rem;
}
.product-card-badge {
    position: absolute;
    top: 14px; left: 14px;
}
.product-card-rating {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,0.92);
    border-radius: 7px;
    padding: 4px 10px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--mauve);
    display: flex;
    align-items: center;
    gap: 3px;
    backdrop-filter: blur(4px);
}

.product-card-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-category {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--rose);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 7px;
    font-family: 'DM Sans', sans-serif;
}
.product-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--mauve);
    line-height: 1.3;
    margin-bottom: 8px;
}
.product-card-excerpt {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    gap: 10px;
}
.product-skin-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.skin-tag {
    background: var(--rose-light);
    color: var(--rose);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
}

/* =============================================
   SINGLE PRODUCT / POST LAYOUT
============================================= */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
    padding: 36px 0 80px;
}

/* Progress Bar */
.reading-progress {
    height: 3px;
    background: var(--rose-border);
    position: sticky;
    top: 70px;
    z-index: 150;
}
.reading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--rose), var(--rose2));
    width: 0%;
    transition: width 0.1s linear;
}

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.78rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb .sep { color: var(--light); }
.breadcrumb .current { color: var(--mauve); font-weight: 500; }

/* Product Header Card */
.product-hero-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 22px;
}
.product-hero-image {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.product-hero-image .hero-emoji-fallback {
    font-size: 6rem;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.2));
}
.product-hero-image .image-badge {
    position: absolute;
    top: 16px; left: 16px;
}
.product-hero-image .image-verified {
    position: absolute;
    top: 16px; right: 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    font-size: 0.68rem;
    padding: 5px 12px;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
}
.product-hero-body { padding: 28px 30px 26px; }
.product-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--rose-light);
    border: 1px solid var(--rose-border);
    color: var(--rose);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    font-family: 'DM Sans', sans-serif;
}
.product-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--mauve);
    line-height: 1.25;
    margin-bottom: 14px;
}
.product-hero-deck {
    font-size: 1.02rem;
    color: var(--muted);
    line-height: 1.78;
    margin-bottom: 22px;
    padding-left: 16px;
    border-left: 3px solid var(--rose);
}
.product-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.author-block { display: flex; align-items: center; gap: 10px; }
.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--mauve);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold2);
    flex-shrink: 0;
    overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 0.85rem; font-weight: 600; color: var(--mauve); }
.author-cred { font-size: 0.7rem; color: var(--muted); }
.meta-sep { width: 1px; height: 28px; background: var(--border); }
.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
}
.meta-item strong { color: var(--mauve); font-weight: 600; }
.share-buttons { margin-left: auto; display: flex; gap: 7px; }
.share-btn {
    width: 32px; height: 32px;
    border-radius: 7px;
    border: 1px solid var(--border);
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.share-btn:hover { background: var(--rose-light); border-color: var(--rose-border); }

/* TOC Card */
.toc-card {
    background: var(--gold-light);
    border: 1px solid var(--gold-border);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 22px;
}
.toc-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--mauve);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'DM Sans', sans-serif;
}
.toc-list { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; list-style: decimal; }
.toc-list a {
    font-size: 0.83rem;
    color: var(--mauve);
    font-weight: 500;
    transition: color 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.toc-list a:hover { color: var(--rose); }

/* =============================================
   SECTION CARDS (Article Body)
============================================= */
.section-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 22px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.section-card:hover { box-shadow: var(--shadow-hover); }

.section-card-head {
    padding: 22px 28px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}
.section-card-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--rose-light);
    border: 1px solid var(--rose-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.section-card-num {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--rose);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
    font-family: 'DM Sans', sans-serif;
}
.section-card-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--mauve);
}

.section-card-body {
    padding: 24px 28px;
    font-family: 'Playfair Display', serif;
    font-size: 1.02rem;
    line-height: 1.88;
    color: #2A2A2A;
}
.section-card-body p { margin-bottom: 18px; }
.section-card-body p:last-child { margin-bottom: 0; }
.section-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--mauve);
    margin: 24px 0 10px;
    padding-bottom: 7px;
    border-bottom: 1px dashed var(--border);
}
.section-card-body strong { color: var(--mauve); font-weight: 700; }
.section-card-body a { color: var(--rose); text-decoration: underline; text-decoration-color: var(--rose-border); }
.section-card-body ul,
.section-card-body ol {
    margin: 0 0 18px;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.section-card-body ul li,
.section-card-body ol li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.98rem;
    line-height: 1.75;
}
.section-card-body ul li::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--rose);
    margin-top: 10px;
    flex-shrink: 0;
}

.section-card-foot {
    padding: 13px 28px;
    background: var(--warm);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'DM Sans', sans-serif;
}
.section-card-foot-label { font-size: 0.71rem; color: var(--light); }
.section-card-foot-link { font-size: 0.75rem; color: var(--rose); font-weight: 600; cursor: pointer; }
.section-card-foot-link:hover { color: var(--mauve); }

/* Callout Boxes */
.callout {
    border-radius: 10px;
    padding: 16px 18px;
    margin: 18px 0;
    display: flex;
    gap: 12px;
    font-family: 'DM Sans', sans-serif;
}
.callout-tip   { background: #EEF6FF; border-left: 3px solid #2B7FCA; }
.callout-warn  { background: var(--gold-light); border-left: 3px solid var(--gold); }
.callout-check { background: var(--green-light); border-left: 3px solid var(--green); }
.callout-alert { background: var(--red-light); border-left: 3px solid var(--red); }
.callout-icon  { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.callout-content { font-size: 0.86rem; line-height: 1.65; color: var(--muted); }
.callout-content strong { color: var(--mauve); display: block; margin-bottom: 3px; font-size: 0.88rem; }

/* Pull Quote */
.pull-quote {
    background: var(--mauve);
    border-radius: 12px;
    padding: 22px 26px;
    margin: 22px 0;
    position: relative;
    overflow: hidden;
}
.pull-quote::before {
    content: '"';
    position: absolute;
    top: -14px; left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--rose);
    opacity: 0.25;
    line-height: 1;
}
.pull-quote p { font-family: 'Playfair Display', serif; font-size: 1rem; color: white; line-height: 1.65; font-style: italic; position: relative; z-index: 1; }
.pull-quote cite { display: block; margin-top: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.73rem; color: var(--rose2); font-style: normal; font-weight: 600; }

/* =============================================
   PROS & CONS
============================================= */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
    font-family: 'DM Sans', sans-serif;
}
.pros-box, .cons-box {
    border-radius: 12px;
    padding: 18px;
}
.pros-box { background: var(--green-light); border: 1px solid #B8E8D4; }
.cons-box { background: var(--red-light); border: 1px solid #F5C0C0; }
.pc-box-head {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pros-box .pc-box-head { color: var(--green); }
.cons-box .pc-box-head { color: var(--red); }
.pc-box-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pc-box-list li {
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.pros-box .pc-box-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.cons-box .pc-box-list li::before { content: '✗'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* =============================================
   INGREDIENT TAGS
============================================= */
.ingredient-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.ingr-tag {
    background: var(--warm);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.75rem;
    padding: 5px 13px;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}
.ingr-tag.good    { background: var(--green-light); border-color: #B8E8D4; color: var(--green); }
.ingr-tag.caution { background: var(--gold-light); border-color: var(--gold-border); color: var(--gold); }
.ingr-tag.avoid   { background: var(--red-light); border-color: #F5C0C0; color: var(--red); }

/* =============================================
   SCORE / RATING DISPLAY
============================================= */
.product-score-section {
    background: linear-gradient(135deg, #2A0A18, #4A1530);
    border-radius: 16px;
    padding: 28px;
    margin: 22px 0;
    display: flex;
    align-items: center;
    gap: 28px;
}
.big-score {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold2);
    line-height: 1;
    flex-shrink: 0;
}
.score-details .score-stars { color: var(--gold); font-size: 1.3rem; margin-bottom: 6px; }
.score-details .score-label { color: rgba(255,255,255,0.5); font-size: 0.8rem; font-family: 'DM Sans', sans-serif; }
.score-details .score-verdict { color: white; font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; margin-top: 4px; }
.score-bars { flex: 1; display: flex; flex-direction: column; gap: 10px; font-family: 'DM Sans', sans-serif; }
.score-bar-item { display: flex; align-items: center; gap: 10px; }
.score-bar-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); width: 100px; flex-shrink: 0; }
.score-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.12); border-radius: 3px; overflow: hidden; }
.score-bar-fill { height: 100%; background: var(--rose2); border-radius: 3px; }
.score-bar-num { font-size: 0.75rem; color: var(--gold2); font-weight: 600; width: 28px; text-align: right; flex-shrink: 0; }

/* =============================================
   FAQ SECTION
============================================= */
.faq-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 22px;
}
.faq-card-head {
    padding: 20px 28px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-card-head h2 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--mauve); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    padding: 16px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mauve);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
    user-select: none;
}
.faq-question:hover { background: var(--rose-light); }
.faq-question .faq-icon { color: var(--rose); font-size: 0.8rem; transition: transform 0.2s; }
.faq-question.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 0 28px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.86rem;
    line-height: 1.72;
    color: var(--muted);
}
.faq-answer.show { display: block; }

/* =============================================
   AUTHOR CARD
============================================= */
.author-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 24px 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.author-card-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--mauve);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold2);
    flex-shrink: 0;
    overflow: hidden;
}
.author-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-card-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--mauve); margin-bottom: 2px; }
.author-card-cred { font-size: 0.75rem; color: var(--rose); font-weight: 600; margin-bottom: 9px; font-family: 'DM Sans', sans-serif; }
.author-card-bio { font-size: 0.84rem; color: var(--muted); line-height: 1.68; font-family: 'DM Sans', sans-serif; }

/* Tags */
.post-tags-card {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 18px 22px;
    margin-bottom: 22px;
    font-family: 'DM Sans', sans-serif;
}
.post-tags-label { font-size: 0.71rem; font-weight: 700; color: var(--light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.post-tags-row { display: flex; flex-wrap: wrap; gap: 7px; }
.post-tag {
    background: var(--warm);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.76rem;
    padding: 5px 13px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.post-tag:hover { background: var(--rose-light); color: var(--rose); border-color: var(--rose-border); }

/* =============================================
   SIDEBAR
============================================= */
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: var(--shadow);
    font-family: 'DM Sans', sans-serif;
}
.sidebar-widget h3 {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mauve);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* Sidebar TOC */
.sidebar-toc ol { padding-left: 16px; list-style: decimal; display: flex; flex-direction: column; gap: 6px; }
.sidebar-toc ol li a { font-size: 0.79rem; color: var(--muted); font-weight: 500; line-height: 1.45; display: block; padding: 3px 0; transition: color 0.2s; }
.sidebar-toc ol li a:hover { color: var(--rose); }

/* Sidebar CTA */
.sidebar-cta { background: var(--mauve); border-color: var(--mauve); }
.sidebar-cta h3 { color: var(--gold2); border-bottom-color: rgba(255,255,255,0.12); }
.sidebar-cta p { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 16px; }

/* Sidebar Related */
.sidebar-related-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-related-item { display: flex; gap: 10px; cursor: pointer; padding: 8px; border-radius: 8px; transition: background 0.2s; text-decoration: none; }
.sidebar-related-item:hover { background: var(--warm); }
.sri-img {
    width: 48px; height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--warm);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.sri-img img { width: 100%; height: 100%; object-fit: cover; }
.sri-title { font-size: 0.8rem; font-weight: 600; color: var(--mauve); line-height: 1.3; margin-bottom: 3px; }
.sri-time { font-size: 0.71rem; color: var(--light); }

/* Newsletter mini */
.sidebar-nl input[type="email"] {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.83rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    margin-bottom: 9px;
    color: var(--text);
    background: var(--cream);
    transition: border-color 0.2s;
}
.sidebar-nl input:focus { border-color: var(--rose); }
.sidebar-nl button {
    width: 100%;
    padding: 11px;
    background: var(--mauve);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
}
.sidebar-nl button:hover { background: var(--rose); }
.sidebar-nl small { display: block; font-size: 0.68rem; color: var(--light); text-align: center; margin-top: 7px; }

/* =============================================
   SKIN TYPE GUIDE SECTION
============================================= */
.skin-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 18px;
}
.skin-type-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.24s;
    text-decoration: none;
    display: block;
}
.skin-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--rose-border);
}
.skin-type-emoji { font-size: 2.4rem; margin-bottom: 13px; display: block; }
.skin-type-card h3 { font-family: 'Playfair Display', serif; font-size: 1.02rem; font-weight: 700; color: var(--mauve); margin-bottom: 7px; }
.skin-type-card p { font-size: 0.79rem; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.skin-type-count { font-size: 0.74rem; font-weight: 600; color: var(--rose); font-family: 'DM Sans', sans-serif; }

/* =============================================
   NEWSLETTER SECTION
============================================= */
.newsletter-section {
    background: linear-gradient(135deg, var(--mauve), #2A0A18);
    padding: 72px 0;
    text-align: center;
}
.nl-icon { font-size: 2.6rem; margin-bottom: 16px; }
.newsletter-section h2 { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: white; margin-bottom: 10px; }
.newsletter-section p { color: rgba(255,255,255,0.58); font-size: 0.95rem; margin-bottom: 30px; }
.nl-form-big {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    gap: 10px;
}
.nl-form-big input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    color: var(--text);
}
.nl-form-big button {
    background: var(--rose);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
    transition: background 0.2s;
}
.nl-form-big button:hover { background: var(--rose2); }
.nl-note { font-size: 0.73rem; color: rgba(255,255,255,0.32); margin-top: 12px; }

/* =============================================
   COMMENTS
============================================= */
.comments-area { margin-top: 40px; }
.comments-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--mauve); margin-bottom: 24px; }
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.comment {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: var(--shadow);
}
.comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.comment-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--rose-light);
    border: 2px solid var(--rose-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--rose);
    flex-shrink: 0;
    overflow: hidden;
}
.comment-author-name { font-weight: 600; font-size: 0.88rem; color: var(--mauve); }
.comment-date { font-size: 0.74rem; color: var(--light); }
.comment-content { font-size: 0.88rem; color: var(--muted); line-height: 1.68; }
.comment-reply { margin-top: 8px; }
.comment-reply a { font-size: 0.78rem; color: var(--rose); font-weight: 600; }
.children { margin-left: 40px; margin-top: 16px; }

/* Comment Form */
.comment-respond {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.comment-reply-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--mauve); margin-bottom: 20px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comment-form label { font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; display: block; font-family: 'DM Sans', sans-serif; }
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: 0.88rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--cream);
    outline: none;
    transition: border-color 0.2s;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--rose); background: white; }
.comment-form textarea { resize: vertical; min-height: 120px; }
.form-submit input[type="submit"] {
    background: var(--rose);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
}
.form-submit input[type="submit"]:hover { background: var(--mauve); }

/* =============================================
   FOOTER
============================================= */
#colophon {
    background: #1A0810;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.9fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 44px;
}
.footer-brand-desc {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.72;
    margin-top: 13px;
    max-width: 230px;
    font-family: 'DM Sans', sans-serif;
}
.footer-col h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(245,160,176,0.8);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li a {
    display: block;
    color: rgba(255,255,255,0.38);
    font-size: 0.83rem;
    line-height: 2.2;
    transition: color 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.82); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    font-family: 'DM Sans', sans-serif;
}
.footer-disclaimer {
    font-size: 0.71rem;
    color: rgba(255,255,255,0.18);
    font-family: 'DM Sans', sans-serif;
}

/* =============================================
   PAGINATION
============================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 52px;
}
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    background: white;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.page-numbers:hover { background: var(--rose-light); border-color: var(--rose-border); color: var(--rose); }
.page-numbers.current { background: var(--rose); border-color: var(--rose); color: white; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .single-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    #primary-menu-wrap { display: none; }
    #primary-menu-wrap.toggled { display: flex; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: white; padding: 24px; overflow-y: auto; z-index: 199; }
    #primary-menu { flex-direction: column; gap: 4px; }
    #primary-menu li ul { display: block; position: static; box-shadow: none; padding-left: 16px; }
    .menu-toggle { display: flex; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-products { display: none; }
    .pros-cons-grid { grid-template-columns: 1fr; }
    .comment-form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nl-form-big { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .topbar-links { display: none; }
}

@media (max-width: 480px) {
    .section { padding: 48px 0; }
    .container { padding: 0 1rem; }
    .product-meta-row { gap: 10px; }
    .share-buttons { display: none; }
    .trust-bar-inner { gap: 14px; }
}

/* =============================================
   WORDPRESS CORE
============================================= */
.alignnone, .aligncenter, .alignleft, .alignright { max-width: 100%; height: auto; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--light); text-align: center; margin-top: 6px; font-family: 'DM Sans', sans-serif; }
.screen-reader-text { position: absolute; left: -9999px; }
.sticky {}
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; }

/* =============================================
   HERO BACKGROUND IMAGE SUPPORT
============================================= */
.hero-has-bg {
    position: relative;
    background-color: #2A0A18; /* fallback */
}
/* Dark overlay when image is set */
.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 4, 14, 0.82) 0%,
        rgba(42, 10, 24, 0.70) 50%,
        rgba(20, 4, 14, 0.78) 100%
    );
    z-index: 0;
}
/* Make all hero children sit above overlay */
.hero-has-bg .container,
.hero-has-bg .hero-orb {
    position: relative;
    z-index: 1;
}
/* Smooth cover for any image size/ratio */
.hero-has-bg {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transition: background-image 0.3s ease;
}

/* =============================================
   SKIN TYPE SVG ICONS
============================================= */
.skin-type-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.skin-type-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.skin-type-card:hover .skin-type-icon {
    transform: scale(1.12) rotate(-3deg);
}
.skin-type-card {
    border-top: 3px solid transparent;
    transition: all 0.25s;
}
.skin-type-card:hover {
    border-top-color: var(--skin-color, var(--rose));
}

/* Remove old emoji style */
.skin-type-emoji { display: none; }

/* =============================================
   DYNAMIC CATEGORY CARDS (stc = skin type card)
============================================= */
.stc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.stc-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--stc-color, var(--rose));
    padding: 28px 18px 22px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.stc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(180,80,100,0.13);
    border-color: var(--stc-color, var(--rose));
    background: var(--stc-bg, var(--blush));
}

/* Icon wrapper — fixed size like screenshot */
.stc-icon-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    background: var(--stc-bg, var(--rose-light));
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.stc-card:hover .stc-icon-wrap {
    transform: scale(1.08) rotate(-2deg);
}

/* Actual image — fills circle perfectly */
.stc-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Fallback initial letter circle */
.stc-icon-initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stc-icon-initial span {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

/* Text */
.stc-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--mauve);
    margin-bottom: 8px;
    line-height: 1.3;
}
.stc-card p {
    font-size: 0.79rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}
.stc-count {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--stc-color, var(--rose));
    font-family: 'DM Sans', sans-serif;
    margin-top: auto;
}

/* Admin hint (only visible to logged-in admins) */
.stc-hint {
    text-align: center;
    font-size: 0.75rem;
    color: var(--light);
    margin-top: 28px;
    font-family: 'DM Sans', sans-serif;
    display: none; /* shown only for admins via JS */
}
body.logged-in .stc-hint { display: block; }

/* Responsive */
@media (max-width: 768px) {
    .stc-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }
    .stc-icon-wrap { width: 90px; height: 90px; }
}
@media (max-width: 480px) {
    .stc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stc-icon-wrap { width: 80px; height: 80px; }
}

/* =============================================
   HERO — COMPLETE FIX
   Image auto-adjust, search bottom-left
============================================= */

/* Full-width hero with auto height */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#2A0A18 0%,#4A1530 50%,#2A0A18 100%);
    /* Image fills perfectly regardless of size */
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 520px;
    display: flex;
    align-items: stretch;
}

/* Dark overlay on top of image */
.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20,4,14,0.80) 0%,
        rgba(42,10,24,0.65) 50%,
        rgba(20,4,14,0.75) 100%
    );
    z-index: 0;
}

/* Layout: left text + right cards */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end; /* aligns to bottom so search is near bottom */
    padding: 60px 2rem 56px;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* LEFT side — search bar sits at bottom */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* push everything to bottom-left */
    gap: 0;
}
.hero-left .hero-pill   { margin-bottom: 16px; }
.hero-left .hero-title  { margin-bottom: 14px; }
.hero-left .hero-desc   { margin-bottom: 22px; }
.hero-left .hero-search-form { margin-bottom: 14px; }

/* Search form styling */
.hero-search-form {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0,0,0,0.3);
    max-width: 480px;
}
.hero-search-form input[type="search"] {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 0.9rem;
    font-family: 'DM Sans',sans-serif;
    outline: none;
    color: var(--text);
    background: white;
}
.hero-search-form input::placeholder { color: var(--light); }
.hero-search-form button {
    background: var(--rose);
    color: white;
    border: none;
    padding: 14px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans',sans-serif;
    transition: background 0.2s;
    white-space: nowrap;
}
.hero-search-form button:hover { background: var(--mauve); }

/* Hero product cards on right */
.hero-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}
.hero-product-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s;
}
.hero-product-card:hover {
    background: rgba(201,82,106,0.12);
    border-color: rgba(201,82,106,0.35);
}
.hero-product-img {
    width: 48px; height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--rose-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.hero-product-img img { width:100%;height:100%;object-fit:cover; }
.hero-product-img span { font-size: 22px; }
.hero-product-info .name { font-size:0.86rem;font-weight:600;color:white;margin-bottom:2px; }
.hero-product-info .stars { font-size:0.75rem;color:var(--gold2); }
.hero-product-info .cat { font-size:0.7rem;color:rgba(255,255,255,0.4);margin-top:1px; }
.hero-product-arrow { margin-left:auto;color:rgba(255,255,255,0.3);font-size:0.9rem; }

/* =============================================
   FILTER PILLS — Blog tab fix
============================================= */
.filter-pill[data-type="blog"] { }

/* =============================================
   NO POSTS MESSAGE
============================================= */
.no-posts-msg {
    text-align: center;
    color: var(--muted);
    padding: 60px 20px;
    grid-column: 1 / -1;
    font-size: 1rem;
}

/* =============================================
   PRODUCT CARD THUMB — auto fill
============================================= */
.product-card-thumb {
    height: 200px;
    background: var(--rose-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.product-card:hover .product-card-thumb img {
    transform: scale(1.04);
}
.product-card-thumb .no-img {
    font-size: 4rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* =============================================
   MOBILE RESPONSIVE — Complete Fix
============================================= */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        padding: 44px 1.5rem 40px;
        gap: 28px;
        align-items: start;
    }
    .hero-products { display: none; } /* hide right cards on mobile */
    .hero-title { font-size: clamp(1.7rem,5vw,2.4rem) !important; }
    .hero-search-form { max-width: 100%; }
}

@media (max-width: 768px) {
    /* Nav */
    #primary-menu-wrap { display: none; }
    #primary-menu-wrap.toggled {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 66px; left: 0; right: 0; bottom: 0;
        background: white;
        padding: 20px;
        overflow-y: auto;
        z-index: 300;
        box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    }
    #primary-menu { flex-direction: column; gap: 4px; width: 100%; }
    #primary-menu li a { padding: 12px 16px; font-size: 1rem; border-radius: 8px; }
    .menu-toggle { display: flex !important; }

    /* Trust bar */
    .trust-bar-inner { gap: 10px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 1rem; }
    .trust-item { white-space: nowrap; flex-shrink: 0; }

    /* Products grid — 2 columns on tablet */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    /* Category cards — 2 columns */
    .stc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stc-icon-wrap { width: 90px; height: 90px; }

    /* Filter pills — scroll horizontal */
    .filter-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .filter-pills::-webkit-scrollbar { display: none; }
    .filter-pill { flex-shrink: 0; }

    /* Pros cons */
    .pros-cons-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

    /* Newsletter */
    .nl-form-big { flex-direction: column; }

    /* Footer bottom */
    .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

    /* Topbar */
    .topbar { display: none; }

    /* Single layout */
    .single-layout { grid-template-columns: 1fr; gap: 24px; }
    .sidebar { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .section { padding: 44px 0; }

    /* 1 column on small phones */
    .products-grid { grid-template-columns: 1fr; }
    .stc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .stc-card { padding: 18px 12px 16px; }
    .stc-icon-wrap { width: 76px; height: 76px; margin-bottom: 12px; }
    .stc-card h3 { font-size: 0.9rem; }
    .stc-card p { display: none; } /* hide desc on very small screens */

    .product-card-thumb { height: 170px; }

    .hero-layout { padding: 32px 1rem 36px; }
    .hero-pill { font-size: 0.65rem; }
    .hero-title { font-size: 1.6rem !important; }
    .hero-desc { font-size: 0.85rem; }

    /* Header */
    .site-header-inner { height: 58px; }
    .header-actions .btn { display: none; }
}

/* =============================================
   HERO — CLEAN FULL WIDTH, SEARCH AT BOTTOM
   Image fills perfectly regardless of size/ratio
============================================= */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#2A0A18 0%,#4A1530 50%,#2A0A18 100%);
    background-size: cover !important;
    background-position: center top !important;   /* show top of image — face visible */
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;  /* push content to bottom */
    align-items: stretch;
    width: 100%;
}

/* Dark overlay — always present when image set */
.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20,4,14,0.25) 0%,
        rgba(20,4,14,0.55) 70%,
        rgba(20,4,14,0.80) 100%
    );
    z-index: 0;
}
.hero-orb { z-index: 0; }

/* Search-only layout: full width, bottom aligned */
.hero-search-only {
    position: relative;
    z-index: 1;
    padding-bottom: 48px;
    padding-top: 0;          /* no top padding — flex-end handles positioning */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-width: 640px;
}

/* Search form */
.hero-search-only .hero-search-form {
    width: 100%;
    max-width: 560px;
    display: flex;
    background: rgba(255,255,255,0.97);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,0,0,0.35);
}
.hero-search-only .hero-search-form input[type="search"] {
    flex: 1;
    border: none;
    padding: 15px 18px;
    font-size: 0.92rem;
    font-family: 'DM Sans',sans-serif;
    outline: none;
    color: var(--text);
    background: transparent;
}
.hero-search-only .hero-search-form input::placeholder { color: var(--light); }
.hero-search-only .hero-search-form button {
    background: var(--rose);
    color: white;
    border: none;
    padding: 15px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans',sans-serif;
    transition: background 0.2s;
    white-space: nowrap;
}
.hero-search-only .hero-search-form button:hover { background: var(--mauve); }

/* Quick-search tags */
.hero-search-only .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hero-tag {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: 'DM Sans',sans-serif;
}
.hero-tag:hover {
    background: rgba(201,82,106,0.3);
    border-color: rgba(201,82,106,0.5);
    color: white;
}

/* =============================================
   CATEGORY CARDS — PRODUCT IMAGE AUTO SIZE
   Image any size → fits circle perfectly
============================================= */
.stc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.stc-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--stc-color, var(--rose));
    padding: 24px 16px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(180,80,100,0.14);
    background: var(--stc-bg, var(--blush));
}

/* Image wrapper: fixed circle size */
.stc-icon-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    /* border ring matching card color */
    box-shadow: 0 0 0 3px var(--stc-color, var(--rose)), 0 4px 16px rgba(0,0,0,0.08);
}
.stc-card:hover .stc-icon-wrap {
    transform: scale(1.08) rotate(-2deg);
}

/* Image fills circle — any size auto adjusts */
.stc-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* crops to fill circle */
    object-position: center;
    display: block;
    border-radius: 50%;
}

/* Fallback letter */
.stc-icon-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.stc-icon-initial span {
    font-family: 'Playfair Display',serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.stc-card h3 {
    font-family: 'Playfair Display',serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--mauve);
    margin-bottom: 7px;
    line-height: 1.3;
}
.stc-card p {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}
.stc-count {
    font-size: 0.74rem;
    font-weight: 600;
    font-family: 'DM Sans',sans-serif;
    margin-top: auto;
}

/* =============================================
   PRODUCT CARD THUMB — Image auto fill
============================================= */
.product-card-thumb {
    height: 200px;
    background: var(--rose-light);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-thumb a { display: block; width: 100%; height: 100%; }
.product-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}
.product-card:hover .product-card-thumb img { transform: scale(1.04); }
.product-card-thumb .no-img {
    font-size: 4rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* =============================================
   MOBILE HERO FIX — image covers fully, search bottom-left
============================================= */

/* Base hero: make sure container inside hero stretches full width */
.hero-section > .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    /* ---- Hero image: always cover full width, fixed height ---- */
    .hero-section {
        min-height: 0 !important;
        height: 56vw;               /* aspect-ratio style: 56% of viewport width */
        max-height: 340px;          /* never taller than this on tablet */
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
        width: 100%;
        justify-content: flex-end; /* search bar at bottom */
        align-items: stretch;
        overflow: hidden;
    }
    .hero-section > .container.hero-search-only {
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    .hero-search-only {
        padding-bottom: 14px;
        padding-top: 0;
        max-width: 100%;
        width: 100%;
        align-items: flex-start;
    }
    .hero-search-only .hero-search-form {
        max-width: 100%;
        width: 100%;
    }
    .hero-search-only .hero-search-form input[type="search"] {
        font-size: 0.85rem;
        padding: 12px 14px;
    }
    .hero-search-only .hero-search-form button {
        padding: 12px 18px;
        font-size: 0.82rem;
    }
    .hero-tags { display: none !important; }
    .stc-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .stc-icon-wrap { width: 90px; height: 90px; }
    .stc-card { padding: 18px 12px 16px; }
}
@media (max-width: 480px) {
    .hero-section {
        height: 60vw;               /* slightly taller ratio on small phones */
        max-height: 280px;
        min-height: 0 !important;
        background-position: center center !important;
        background-size: cover !important;
    }
    .hero-search-only {
        padding-bottom: 12px;
        padding-top: 0;
        align-items: flex-start;
    }
    .hero-search-only .hero-search-form {
        max-width: 100%;
        width: 100%;
    }
    .hero-search-only .hero-search-form input[type="search"] {
        font-size: 0.8rem;
        padding: 12px 12px;
    }
    .hero-search-only .hero-search-form button {
        padding: 12px 16px;
        font-size: 0.78rem;
    }
    .hero-tags { display: none !important; }
    .hero-tag { font-size: 0.7rem; padding: 4px 10px; }
    .stc-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
    .stc-icon-wrap { width: 76px; height: 76px; }
    .stc-card h3 { font-size: 0.88rem; }
    .stc-card p { display: none; }
}
