/*
Theme Name: Connect-Scent Child
Theme URI: https://connect-scent.com
Description: Modern, elegant child theme for Connect-Scent.com — a Scentsy product discovery funnel site.
Author: Kent Hurlbert
Author URI: https://connect-scent.com
Template: astra
Version: 1.2.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: connect-scent-child
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --cs-primary: #4a2350;
    --cs-primary-light: #7b2d5f;
    --cs-accent: #c2185b;
    --cs-accent-hover: #a01548;
    --cs-bg-light: #f8f0f5;
    --cs-bg-white: #ffffff;
    --cs-text: #2d2d2d;
    --cs-text-muted: #6b6b6b;
    --cs-gradient: linear-gradient(135deg, #4a2350, #7b2d5f);
    --cs-gradient-soft: linear-gradient(135deg, #f8f0f5, #f0e4ed);
    --cs-shadow: 0 4px 24px rgba(74, 35, 80, 0.10);
    --cs-shadow-hover: 0 8px 32px rgba(74, 35, 80, 0.18);
    --cs-radius: 16px;
    --cs-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GLOBAL RESETS FOR HOMEPAGE
   ============================================ */
.cs-homepage {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--cs-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.cs-homepage *,
.cs-homepage *::before,
.cs-homepage *::after {
    box-sizing: border-box;
}

.cs-homepage img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HERO SECTION
   ============================================ */
.cs-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #4a2350, #7b2d5f, #c2185b, #4a2350, #7b2d5f);
    background-size: 400% 400%;
    animation: cs-gradient-shift 12s ease infinite;
    overflow: hidden;
}

@keyframes cs-gradient-shift {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 100% 50%; }
    50%  { background-position: 100% 100%; }
    75%  { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

.cs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,117.3C960,107,1056,149,1152,165.3C1248,181,1344,171,1392,165.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.4;
}

.cs-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 2rem;
}

.cs-hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.cs-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.cs-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2rem;
    line-height: 1.6;
}

.cs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.4rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--cs-transition);
    cursor: pointer;
    border: none;
}

.cs-btn-primary {
    background: var(--cs-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(194, 24, 91, 0.35);
}

.cs-btn-primary:hover {
    background: var(--cs-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(194, 24, 91, 0.45);
    color: #fff;
}

.cs-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cs-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.cs-btn-dark {
    background: var(--cs-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(74, 35, 80, 0.3);
}

.cs-btn-dark:hover {
    background: var(--cs-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(74, 35, 80, 0.4);
    color: #fff;
}

.cs-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   HERO TEXT ENTRANCE ANIMATION
   ============================================ */
@keyframes cs-hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-hero h1 {
    animation: cs-hero-fade-up 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.cs-hero p {
    animation: cs-hero-fade-up 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.cs-hero-buttons {
    animation: cs-hero-fade-up 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

/* Hero scent particles canvas */
.cs-hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   SECTION UTILITY
   ============================================ */
.cs-section {
    padding: 5rem 1.5rem;
}

.cs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cs-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cs-section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--cs-primary);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.cs-section-header p {
    font-size: 1.05rem;
    color: var(--cs-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   PRODUCT CATEGORIES GRID
   ============================================ */
.cs-categories {
    background: var(--cs-bg-light);
}

.cs-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cs-category-card {
    position: relative;
    background: var(--cs-bg-white);
    border-radius: var(--cs-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--cs-text);
    box-shadow: var(--cs-shadow);
    transition: all var(--cs-transition);
}

.cs-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cs-shadow-hover);
    color: var(--cs-text);
}

.cs-category-card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform var(--cs-transition);
}

.cs-category-card:hover .cs-category-card-img {
    transform: scale(1.05);
}

.cs-category-card-body {
    padding: 1rem 1.25rem;
    text-align: center;
}

.cs-category-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--cs-primary);
}

/* ============================================
   FEATURED BANNER
   ============================================ */
.cs-featured {
    position: relative;
    background: linear-gradient(135deg, #4a2350, #7b2d5f, #c2185b, #4a2350, #7b2d5f);
    background-size: 400% 400%;
    animation: cs-gradient-shift 12s ease infinite;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.cs-featured .cs-container {
    position: relative;
    z-index: 2;
}

.cs-featured h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0 0 0.75rem;
}

.cs-featured p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Featured banner staggered entrance (triggered by scroll via cs-fade-in) */
.cs-featured.cs-visible h2 {
    animation: cs-hero-fade-up 0.8s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.cs-featured.cs-visible p {
    animation: cs-hero-fade-up 0.8s ease forwards;
    animation-delay: 0.35s;
    opacity: 0;
}

.cs-featured.cs-visible .cs-btn {
    animation: cs-hero-fade-up 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

/* ============================================
   SCENTSY CLUB SECTION
   ============================================ */
.cs-club {
    background: var(--cs-bg-white);
}

.cs-club-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cs-club-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--cs-primary);
    margin: 0 0 1.5rem;
}

.cs-perks-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.cs-perks-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 1rem;
    color: var(--cs-text);
}

.cs-perks-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--cs-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.cs-club-visual {
    background: var(--cs-gradient-soft);
    border-radius: var(--cs-radius);
    padding: 3rem;
    text-align: center;
}

.cs-club-visual-inner {
    background: var(--cs-bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--cs-shadow);
}

.cs-club-visual-inner h3 {
    font-size: 1.5rem;
    color: var(--cs-primary);
    margin: 0 0 0.5rem;
}

.cs-club-visual-inner p {
    color: var(--cs-text-muted);
    margin: 0 0 1.5rem;
}

/* ============================================
   SHOP / HOST / JOIN
   ============================================ */
.cs-paths {
    background: var(--cs-bg-light);
}

.cs-paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cs-path-card {
    background: var(--cs-bg-white);
    border-radius: var(--cs-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--cs-shadow);
    transition: all var(--cs-transition);
}

.cs-path-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cs-shadow-hover);
}

.cs-path-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cs-path-card h3 {
    font-size: 1.3rem;
    color: var(--cs-primary);
    margin: 0 0 0.75rem;
}

.cs-path-card p {
    color: var(--cs-text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

/* ============================================
   NEWS & REVIEWS
   ============================================ */
.cs-news {
    background: var(--cs-bg-white);
}

.cs-news-card {
    background: var(--cs-gradient-soft);
    border-radius: var(--cs-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--cs-shadow);
    max-width: 680px;
    margin: 0 auto;
}

.cs-news-card p {
    color: var(--cs-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.cs-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cs-fade-in.cs-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* --- MOBILE FIRST: 90%+ of traffic is mobile --- */

@media (max-width: 768px) {
    .cs-hero {
        min-height: 65vh;
        padding: 1rem;
    }

    .cs-hero-content {
        padding: 1.5rem 1rem;
    }

    .cs-hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .cs-hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cs-hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
        margin-bottom: 1rem;
    }

    .cs-section {
        padding: 2.5rem 1rem;
    }

    .cs-section-header {
        margin-bottom: 2rem;
    }

    .cs-section-header h2 {
        font-size: 1.4rem;
    }

    .cs-section-header p {
        font-size: 0.95rem;
    }

    .cs-club-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cs-club-visual {
        padding: 1.5rem;
    }

    .cs-club-visual-inner {
        padding: 1.5rem;
    }

    .cs-paths-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cs-path-card {
        padding: 2rem 1.5rem;
    }

    .cs-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .cs-category-card {
        border-radius: 12px;
    }

    .cs-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    /* Touch-friendly tap targets (min 48px per Apple/Google guidelines) */
    .cs-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        min-height: 48px;
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .cs-featured h2 {
        font-size: 1.4rem;
    }

    .cs-featured p {
        font-size: 0.95rem;
    }

    /* Disable hover effects on mobile (they cause sticky states) */
    .cs-category-card:hover {
        transform: none;
    }

    .cs-category-card:hover .cs-category-card-img {
        transform: none;
    }

    .cs-path-card:hover {
        transform: none;
    }

    /* Active states for touch feedback instead */
    .cs-category-card:active {
        transform: scale(0.97);
    }

    .cs-btn:active {
        transform: scale(0.96);
    }

    .cs-path-card:active {
        transform: scale(0.98);
    }
}

@media (max-width: 480px) {
    .cs-hero {
        min-height: 55vh;
    }

    .cs-hero h1 {
        font-size: 1.5rem;
    }

    .cs-section {
        padding: 2rem 0.75rem;
    }

    .cs-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .cs-category-card-body {
        padding: 0.6rem;
    }

    .cs-category-card-body h3 {
        font-size: 0.85rem;
    }

    .cs-perks-list li {
        font-size: 0.9rem;
    }

    .cs-path-card {
        padding: 1.5rem 1.25rem;
    }
}

/* ============================================
   ASTRA OVERRIDES FOR HOMEPAGE
   ============================================ */

/* Force full-width: remove sidebar (but preserve footer widgets) */
.cs-homepage #secondary,
.cs-homepage .site-content .widget-area,
.cs-homepage .sidebar-main {
    display: none !important;
}

.cs-homepage #primary,
.cs-homepage .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.cs-homepage .entry-content {
    margin: 0;
    padding: 0;
}

.cs-homepage .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Hide default page title on homepage */
.cs-homepage .entry-header {
    display: none;
}

/* Ensure full-width layout */
.cs-homepage .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
}

/* Override Astra's content layout */
.cs-homepage .site-content .ast-col-md-8,
.cs-homepage .site-content .ast-col-md-9,
.cs-homepage .site-content .ast-col-lg-8,
.cs-homepage .site-content .ast-col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
}

/* Remove any Astra sidebar columns */
.cs-homepage .site-content .ast-col-md-4,
.cs-homepage .site-content .ast-col-md-3,
.cs-homepage .site-content .ast-col-lg-4,
.cs-homepage .site-content .ast-col-lg-3 {
    display: none !important;
}

/* Reset Astra row flex */
.cs-homepage .ast-row {
    display: block !important;
}

/* Force ast-container out of flex on homepage */
body.cs-homepage .site-content .ast-container {
    display: block !important;
    flex-direction: unset !important;
}

/* Force main to full width */
.cs-homepage-main,
body.cs-homepage main {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

/* ============================================
   WARMERS & WAX PAGE
   ============================================ */

/* --- Global resets scoped to warmers-wax --- */
.cs-warmers-wax {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--cs-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.cs-warmers-wax *,
.cs-warmers-wax *::before,
.cs-warmers-wax *::after {
    box-sizing: border-box;
}

.cs-warmers-wax img {
    max-width: 100%;
    height: auto;
}

/* --- Warmers-wax hero tweaks --- */
.cs-ww-hero {
    min-height: 70vh;
}

/* --- Duo CTA Card Grid --- */
.cs-ww-duo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cs-ww-cta-card {
    display: block;
    background: var(--cs-bg-white);
    border-radius: var(--cs-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--cs-text);
    box-shadow: var(--cs-shadow);
    transition: all var(--cs-transition);
}

.cs-ww-cta-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cs-shadow-hover);
    color: var(--cs-text);
}

.cs-ww-cta-card-img-wrap {
    overflow: hidden;
    aspect-ratio: 1;
}

.cs-ww-cta-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--cs-transition);
}

.cs-ww-cta-card:hover .cs-ww-cta-card-img-wrap img {
    transform: scale(1.05);
}

.cs-ww-cta-card-body {
    padding: 1.5rem;
    text-align: center;
}

.cs-ww-cta-card-body h2,
.cs-ww-cta-card-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cs-primary);
    margin: 0 0 0.5rem;
}

.cs-ww-cta-card-body p {
    color: var(--cs-text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.cs-ww-cta-card-body .cs-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.8rem;
}

/* --- Accessories bg --- */
.cs-ww-accessories {
    background: var(--cs-bg-light);
}

/* --- How It Works Steps --- */
.cs-ww-how-it-works {
    background: var(--cs-bg-white);
}

.cs-ww-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
}

.cs-ww-step {
    text-align: center;
    position: relative;
}

.cs-ww-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cs-accent);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.cs-ww-step-img-wrap {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--cs-shadow);
}

.cs-ww-step-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-ww-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cs-primary);
    margin: 0 0 0.5rem;
}

.cs-ww-step p {
    color: var(--cs-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* Dashed connector lines between steps */
.cs-ww-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -1.25rem;
    width: calc(2.5rem);
    height: 2px;
    border-top: 2px dashed var(--cs-accent);
    opacity: 0.4;
}

/* --- Scentsy Club (warmers-wax variant) --- */
.cs-ww-club-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cs-ww-club-text h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 1rem;
}

.cs-ww-club-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.cs-ww-club-img {
    border-radius: var(--cs-radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cs-ww-club-img img {
    width: 100%;
    display: block;
}

/* --- SEO Prose Content --- */
.cs-ww-seo-content {
    background: var(--cs-bg-light);
}

.cs-ww-prose {
    max-width: 800px;
    margin: 0 auto;
}

.cs-ww-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cs-primary);
    margin: 2.5rem 0 0.75rem;
    padding-left: 1rem;
    border-left: 4px solid var(--cs-accent);
}

.cs-ww-prose h2:first-child {
    margin-top: 0;
}

.cs-ww-prose p {
    color: var(--cs-text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 1.25rem;
}

/* --- FAQ Accordion --- */
.cs-ww-faq {
    background: var(--cs-bg-white);
}

.cs-ww-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.cs-faq-item {
    border-bottom: 1px solid rgba(74, 35, 80, 0.1);
}

.cs-faq-item:first-child {
    border-top: 1px solid rgba(74, 35, 80, 0.1);
}

.cs-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cs-primary);
    transition: color var(--cs-transition);
    min-height: 48px;
    gap: 1rem;
    font-family: inherit;
}

.cs-faq-question:hover {
    color: var(--cs-accent);
}

.cs-faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--cs-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.cs-faq-item.cs-faq-open .cs-faq-icon {
    transform: rotate(45deg);
}

.cs-faq-item.cs-faq-open {
    border-left: 3px solid var(--cs-accent);
    padding-left: 0.5rem;
}

.cs-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.cs-faq-answer p {
    padding: 0 0.5rem 1.25rem;
    color: var(--cs-text);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* --- Explore Products Grid --- */
.cs-ww-explore {
    background: var(--cs-bg-light);
}

.cs-ww-explore-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.cs-ww-explore-card {
    text-decoration: none;
    color: var(--cs-text);
    text-align: center;
    transition: transform var(--cs-transition);
}

.cs-ww-explore-card:hover {
    transform: translateY(-4px);
    color: var(--cs-text);
}

.cs-ww-explore-img-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--cs-shadow);
    transition: box-shadow var(--cs-transition);
}

.cs-ww-explore-card:hover .cs-ww-explore-img-wrap {
    box-shadow: var(--cs-shadow-hover);
}

.cs-ww-explore-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-ww-explore-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cs-primary);
    margin: 0;
}

/* --- Footer CTA Banner --- */
.cs-ww-footer-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cs-ww-footer-links .cs-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.6rem;
}

/* ============================================
   WARMERS & WAX — RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .cs-ww-hero {
        min-height: 55vh;
    }

    .cs-ww-duo-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cs-ww-cta-card-img-wrap {
        aspect-ratio: 4/3;
    }

    .cs-ww-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cs-ww-step:not(:last-child)::after {
        display: none;
    }

    .cs-ww-step-img-wrap {
        width: 140px;
        height: 140px;
    }

    .cs-ww-club-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .cs-ww-club-text h2 {
        font-size: 1.4rem;
    }

    .cs-ww-club-text p {
        font-size: 0.95rem;
    }

    .cs-ww-prose h2 {
        font-size: 1.25rem;
    }

    .cs-ww-prose p {
        font-size: 0.95rem;
    }

    .cs-ww-explore-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .cs-ww-explore-img-wrap {
        width: 90px;
        height: 90px;
    }

    .cs-ww-explore-card h3 {
        font-size: 0.8rem;
    }

    .cs-ww-footer-links {
        flex-direction: column;
        align-items: center;
    }

    .cs-ww-footer-links .cs-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        min-height: 48px;
    }

    /* Disable hover on touch */
    .cs-ww-cta-card:hover {
        transform: none;
    }

    .cs-ww-cta-card:hover .cs-ww-cta-card-img-wrap img {
        transform: none;
    }

    .cs-ww-explore-card:hover {
        transform: none;
    }

    /* Touch feedback */
    .cs-ww-cta-card:active {
        transform: scale(0.97);
    }

    .cs-ww-explore-card:active {
        transform: scale(0.95);
    }

    .cs-faq-question {
        font-size: 0.95rem;
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .cs-ww-hero {
        min-height: 45vh;
    }

    .cs-ww-explore-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .cs-ww-explore-img-wrap {
        width: 80px;
        height: 80px;
    }

    .cs-ww-cta-card-body {
        padding: 1rem;
    }

    .cs-ww-cta-card-body h2,
    .cs-ww-cta-card-body h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   ASTRA OVERRIDES FOR WARMERS & WAX PAGE
   ============================================ */
.cs-warmers-wax #secondary,
.cs-warmers-wax .site-content .widget-area,
.cs-warmers-wax .sidebar-main {
    display: none !important;
}

.cs-warmers-wax #primary,
.cs-warmers-wax .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.cs-warmers-wax .entry-content {
    margin: 0;
    padding: 0;
}

.cs-warmers-wax .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.cs-warmers-wax .entry-header {
    display: none;
}

.cs-warmers-wax .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
}

.cs-warmers-wax .site-content .ast-col-md-8,
.cs-warmers-wax .site-content .ast-col-md-9,
.cs-warmers-wax .site-content .ast-col-lg-8,
.cs-warmers-wax .site-content .ast-col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
}

.cs-warmers-wax .site-content .ast-col-md-4,
.cs-warmers-wax .site-content .ast-col-md-3,
.cs-warmers-wax .site-content .ast-col-lg-4,
.cs-warmers-wax .site-content .ast-col-lg-3 {
    display: none !important;
}

.cs-warmers-wax .ast-row {
    display: block !important;
}

body.cs-warmers-wax .site-content .ast-container {
    display: block !important;
    flex-direction: unset !important;
}

.cs-warmers-wax-main,
body.cs-warmers-wax main {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

/* ============================================
   SHARED: QUAD CARD GRID (4-column)
   ============================================ */
.cs-ww-quad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ============================================
   SHARED: 4-STEP HOW IT WORKS OVERRIDE
   ============================================ */
.cs-ww-steps-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   SHARED: LIFESTYLE IMAGE BANNER
   ============================================ */
.cs-ww-lifestyle {
    background: var(--cs-bg-white);
}

.cs-ww-lifestyle-inner {
    position: relative;
    border-radius: var(--cs-radius);
    overflow: hidden;
    box-shadow: var(--cs-shadow);
}

.cs-ww-lifestyle-inner > img {
    width: 100%;
    display: block;
    min-height: 300px;
    object-fit: cover;
}

.cs-ww-lifestyle-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(74, 35, 80, 0.45);
    text-align: center;
    padding: 2rem;
}

.cs-ww-lifestyle-overlay h2 {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin: 0 0 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SHARED: 3-COLUMN PRODUCT GRID (tri-grid)
   ============================================ */
.cs-ww-tri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ============================================
   SHARED: "PERFECT FOR" BADGE
   ============================================ */
.cs-ww-perfect-for {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cs-accent);
    margin-bottom: 1rem;
}

/* ============================================
   UNPLUGGED PAGE — GLOBAL RESETS
   ============================================ */
.cs-unplugged {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--cs-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.cs-unplugged *,
.cs-unplugged *::before,
.cs-unplugged *::after {
    box-sizing: border-box;
}

.cs-unplugged img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   AIR & PODS PAGE — GLOBAL RESETS
   ============================================ */
.cs-air-pods {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--cs-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.cs-air-pods *,
.cs-air-pods *::before,
.cs-air-pods *::after {
    box-sizing: border-box;
}

.cs-air-pods img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   DIFFUSERS PAGE — GLOBAL RESETS
   ============================================ */
.cs-diffusers {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--cs-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.cs-diffusers *,
.cs-diffusers *::before,
.cs-diffusers *::after {
    box-sizing: border-box;
}

.cs-diffusers img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   AIR & PODS / DIFFUSERS — RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .cs-ww-tri-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cs-ww-quad-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cs-ww-steps-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cs-ww-lifestyle-inner > img {
        min-height: 220px;
    }

    .cs-ww-lifestyle-overlay h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .cs-ww-tri-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .cs-ww-tri-grid .cs-ww-cta-card-img-wrap {
        aspect-ratio: 4/3;
    }

    .cs-ww-quad-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .cs-ww-quad-grid .cs-ww-cta-card-img-wrap {
        aspect-ratio: 4/3;
    }
}

/* ============================================
   ASTRA OVERRIDES FOR DIFFUSERS PAGE
   ============================================ */
.cs-diffusers #secondary,
.cs-diffusers .site-content .widget-area,
.cs-diffusers .sidebar-main {
    display: none !important;
}

.cs-diffusers #primary,
.cs-diffusers .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.cs-diffusers .entry-content {
    margin: 0;
    padding: 0;
}

.cs-diffusers .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.cs-diffusers .entry-header {
    display: none;
}

.cs-diffusers .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
}

.cs-diffusers .site-content .ast-col-md-8,
.cs-diffusers .site-content .ast-col-md-9,
.cs-diffusers .site-content .ast-col-lg-8,
.cs-diffusers .site-content .ast-col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
}

.cs-diffusers .site-content .ast-col-md-4,
.cs-diffusers .site-content .ast-col-md-3,
.cs-diffusers .site-content .ast-col-lg-4,
.cs-diffusers .site-content .ast-col-lg-3 {
    display: none !important;
}

.cs-diffusers .ast-row {
    display: block !important;
}

body.cs-diffusers .site-content .ast-container {
    display: block !important;
    flex-direction: unset !important;
}

.cs-diffusers-main,
body.cs-diffusers main {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

/* ============================================
   ASTRA OVERRIDES FOR AIR & PODS PAGE
   ============================================ */
.cs-air-pods #secondary,
.cs-air-pods .site-content .widget-area,
.cs-air-pods .sidebar-main {
    display: none !important;
}

.cs-air-pods #primary,
.cs-air-pods .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.cs-air-pods .entry-content {
    margin: 0;
    padding: 0;
}

.cs-air-pods .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.cs-air-pods .entry-header {
    display: none;
}

.cs-air-pods .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
}

.cs-air-pods .site-content .ast-col-md-8,
.cs-air-pods .site-content .ast-col-md-9,
.cs-air-pods .site-content .ast-col-lg-8,
.cs-air-pods .site-content .ast-col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
}

.cs-air-pods .site-content .ast-col-md-4,
.cs-air-pods .site-content .ast-col-md-3,
.cs-air-pods .site-content .ast-col-lg-4,
.cs-air-pods .site-content .ast-col-lg-3 {
    display: none !important;
}

.cs-air-pods .ast-row {
    display: block !important;
}

body.cs-air-pods .site-content .ast-container {
    display: block !important;
    flex-direction: unset !important;
}

.cs-air-pods-main,
body.cs-air-pods main {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

/* ============================================
   ASTRA OVERRIDES FOR UNPLUGGED PAGE
   ============================================ */
.cs-unplugged #secondary,
.cs-unplugged .site-content .widget-area,
.cs-unplugged .sidebar-main {
    display: none !important;
}

.cs-unplugged #primary,
.cs-unplugged .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.cs-unplugged .entry-content {
    margin: 0;
    padding: 0;
}

.cs-unplugged .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.cs-unplugged .entry-header {
    display: none;
}

.cs-unplugged .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
}

.cs-unplugged .site-content .ast-col-md-8,
.cs-unplugged .site-content .ast-col-md-9,
.cs-unplugged .site-content .ast-col-lg-8,
.cs-unplugged .site-content .ast-col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
}

.cs-unplugged .site-content .ast-col-md-4,
.cs-unplugged .site-content .ast-col-md-3,
.cs-unplugged .site-content .ast-col-lg-4,
.cs-unplugged .site-content .ast-col-lg-3 {
    display: none !important;
}

.cs-unplugged .ast-row {
    display: block !important;
}

body.cs-unplugged .site-content .ast-container {
    display: block !important;
    flex-direction: unset !important;
}

.cs-unplugged-main,
body.cs-unplugged main {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

/* ============================================
   LAUNDRY & CLEAN PAGE — GLOBAL RESETS
   ============================================ */
.cs-laundry-clean {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--cs-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.cs-laundry-clean *,
.cs-laundry-clean *::before,
.cs-laundry-clean *::after {
    box-sizing: border-box;
}

.cs-laundry-clean img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   ASTRA OVERRIDES FOR LAUNDRY & CLEAN PAGE
   ============================================ */
.cs-laundry-clean #secondary,
.cs-laundry-clean .site-content .widget-area,
.cs-laundry-clean .sidebar-main {
    display: none !important;
}

.cs-laundry-clean #primary,
.cs-laundry-clean .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.cs-laundry-clean .entry-content {
    margin: 0;
    padding: 0;
}

.cs-laundry-clean .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.cs-laundry-clean .entry-header {
    display: none;
}

.cs-laundry-clean .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
}

.cs-laundry-clean .site-content .ast-col-md-8,
.cs-laundry-clean .site-content .ast-col-md-9,
.cs-laundry-clean .site-content .ast-col-lg-8,
.cs-laundry-clean .site-content .ast-col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
}

.cs-laundry-clean .site-content .ast-col-md-4,
.cs-laundry-clean .site-content .ast-col-md-3,
.cs-laundry-clean .site-content .ast-col-lg-4,
.cs-laundry-clean .site-content .ast-col-lg-3 {
    display: none !important;
}

.cs-laundry-clean .ast-row {
    display: block !important;
}

body.cs-laundry-clean .site-content .ast-container {
    display: block !important;
    flex-direction: unset !important;
}

.cs-laundry-clean-main,
body.cs-laundry-clean main {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

/* ============================================
   BODY PAGE — GLOBAL RESETS
   ============================================ */
.cs-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--cs-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.cs-body *,
.cs-body *::before,
.cs-body *::after {
    box-sizing: border-box;
}

.cs-body img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   ASTRA OVERRIDES FOR BODY PAGE
   ============================================ */
.cs-body #secondary,
.cs-body .site-content .widget-area,
.cs-body .sidebar-main {
    display: none !important;
}

.cs-body #primary,
.cs-body .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.cs-body .entry-content {
    margin: 0;
    padding: 0;
}

.cs-body .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.cs-body .entry-header {
    display: none;
}

.cs-body .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
}

.cs-body .site-content .ast-col-md-8,
.cs-body .site-content .ast-col-md-9,
.cs-body .site-content .ast-col-lg-8,
.cs-body .site-content .ast-col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
}

.cs-body .site-content .ast-col-md-4,
.cs-body .site-content .ast-col-md-3,
.cs-body .site-content .ast-col-lg-4,
.cs-body .site-content .ast-col-lg-3 {
    display: none !important;
}

.cs-body .ast-row {
    display: block !important;
}

body.cs-body .site-content .ast-container {
    display: block !important;
    flex-direction: unset !important;
}

.cs-body-main,
body.cs-body main {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

/* ============================================
   PLUSH & CANDLES — CSS POLISH
   Dynamic grid pages (Spectra + Filter Everything).
   NOT full-width — keeps sidebar for filters.
   custom.css already handles .animated-gradient,
   .uagb-post-grid, .cs-filterbar styling.
   ============================================ */

/* Consistent typography on these pages */
.cs-plush,
.cs-candles {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--cs-text);
    line-height: 1.6;
}

.cs-plush img,
.cs-candles img {
    max-width: 100%;
    height: auto;
}

/* Hide page title (Astra entry header) — handled by animated-gradient hero */
.cs-plush .entry-header,
.cs-candles .entry-header {
    display: none;
}

/* Ensure product cards fill height consistently */
.cs-plush .uagb-post__inner-wrap,
.cs-candles .uagb-post__inner-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Tighten card title line-height */
.cs-plush .uagb-post__title a,
.cs-candles .uagb-post__title a {
    color: var(--cs-primary);
    line-height: 1.3;
}

/* CTA button brand consistency */
.cs-plush .uagb-post__cta a,
.cs-candles .uagb-post__cta a {
    background: var(--cs-accent);
    color: #fff;
    border-radius: 8px;
    transition: background var(--cs-transition);
}

.cs-plush .uagb-post__cta a:hover,
.cs-candles .uagb-post__cta a:hover {
    background: var(--cs-accent-hover);
}

/* Mobile: stack filter sidebar above grid */
@media (max-width: 768px) {
    .cs-plush .cs-filterbar,
    .cs-candles .cs-filterbar {
        margin-bottom: 1.5rem;
    }
}
