    /* --- EVERHEXA OFFICIAL PALETTE & VARIABLES --- */
    :root {
        --eh-vibrant-teal: #B0AAEF;   /* Main CTAs, Header Icons, Primary Links */
        --eh-deep-pink: #df5640;      /* Logo, Premium Badging, Key Emphasis */
        --eh-soft-pink: #F18F8E;      /* Hover states, Secondary accents */
        --eh-soft-aqua: #EFF7FB
;      /* Borders, Subtle icons, Secondary BG */
        
        --eh-dark-navy: #111827;      /* Keeping dark for readability */
        --eh-text-main: #0f172a;
        --eh-text-muted: #64748b;
        --eh-bg-light: #f8fafc;
        --eh-white: #ffffff;
        
        --eh-highlight: #f76a0c;
    }

    /* --- UTILITY CLASSES (SOP Rule 3: Backgrounds & Cascades) --- */
    .bg-blue { background-color: var(--global-palette3); }
    .bg-purple { background-color: var(--global-palette3); } /* Mapped to purple per instructions */
    .bg-teal { background-color: var(--eh-vibrant-teal); }
    .bg-light { background-color: var(--eh-bg-light); }
    .bg-aqua { background-color: var(--eh-soft-aqua); }

    /* Auto-contrast text for dark backgrounds */
    .bg-blue *, .bg-purple * { color: var(--eh-white) !important; border-color: rgba(255,255,255,0.1); }
    .bg-blue .highlight, .bg-purple .highlight { color: var(--eh-highlight) !important; }
    .bg-blue .full-access-badge, .bg-purple .full-access-badge { color: #000 !important; } /* Keep badge text dark */
    .bg-blue h3 {
        color: white;
    }

    /* Highlight Standard (SOP Rule 2) */
    .highlight { color: var(--eh-highlight); }

    /* Badge Standards (SOP Rule 1) */
    .white-badge { background: var(--eh-white); color: var(--eh-text-muted); padding: 4px 12px; border-radius: 30px; font-size: 0.8em; font-weight: 700; text-transform: uppercase; display: inline-block; }
    .orange-badge { background: var(--eh-highlight); color: var(--eh-white); padding: 4px 12px; border-radius: 30px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; display: inline-block; }
    .red-badge { background: #ef4444; color: var(--eh-white); padding: 2px 8px; border-radius: 10px; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; display: inline-block; }
    .full-access-badge { background: linear-gradient(to bottom, #fff176, #fdd835); color: #000; padding: 4px 12px; border-radius: 30px; font-size: 0.8em; font-weight: 700; text-transform: uppercase; display: inline-block; }

    /* text-align for every badge on mobile */
    @media (max-width: 768px) {
        .white-badge, .orange-badge, .red-badge, .full-access-badge { text-align: center; }

        .eh-tv-inner .orange-badge { 
            width: 250px;
                    margin-left: 50px;
        }
    }





    /* --- BASE LAYOUT --- */
    .eh-section-wrapper { width: 100%; display: block; position: relative; }
    .eh-container { max-width: 1290px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--eh-text-main); }

    /* for mobile */
    @media (max-width: 768px) {
        .eh-container { margin: 0 16px !important; }
    }
    
    /* "Follow the Leader" Spacing Rule Setup: Elements only push down */
    h1, h2, h3, h4, p, ul, .eh-video-main, .eh-btn-join, .eh-hero-features { margin-bottom: 0; }
    
    /* for mobile */
    @media (max-width: 768px) {
        h1 { text-align: center;}
        h2:not(.woocommerce-Reviews-title) { text-align: center; font-size: 2.0rem !important;  }
        h3 { text-align: center; font-size: 1.7rem !important; }

        .woocommerce-Reviews-title { 
            margin-bottom: 0px !important;
        }

        
    }


    /*Custom ordering of review section on mobile */

        @media (max-width: 768px) {
            /* 1. Set the parent container to Flex */
            #reviews {
                display: flex;
                flex-direction: column;
            }

            /* 2. Assign orders to the main blocks */
            #review_form_wrapper {
                order: 1; /* Moves "Add a Review" to the top */
                margin-bottom: 30px;
            }

            #comments {
                order: 2; /* Moves the list of reviews below the form */
                display: flex;
                flex-direction: column;
            }

            /* 3. Reordering internal elements of the comments section */
            .woocommerce-Reviews-title {
                order: 1;
            }

            #kt-reviews-overview {
                order: 2; /* Stats/Bars */
            }

            .commentlist {
                order: 3; /* The actual user comments */
            }

            .kt-ajax-load-more-reviews-container {
                order: 4; /* "More Reviews" button at the very bottom */
            }
        }

    /* --- HERO SECTION --- */
    .hero-wrapper {
        background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgba(252, 248, 248, 0.5) 13%, rgba(252, 251, 251, 0) 47%, rgba(246, 245, 245, 0.5) 87%, rgb(255, 255, 255) 100%), url("https://downloads.memorylanetherapy.com/uploads/2026/02/membership_promo_bg.webp");
        background-size: cover; background-position: center;
    }
    
    .eh-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding:16px 0 0 0; align-items: start; }
    .eh-hero-title { font-size: 3rem; font-weight: 800; line-height: 1.1; }

    /*for desktop and tablets */
    @media (min-width: 769px) {
    
        .eh-hero-title { width: 650px; }
    }

    .eh-hero-subtitle { font-size: 1.1rem; color: var(--eh-text-muted); line-height: 1.5; margin-top: 20px; }
    
    .eh-video-main { background: var(--eh-dark-navy); aspect-ratio: 16/9; border-radius: 12px; position: relative; overflow: hidden; margin-top: 30px; }
    .eh-hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px; }
    .eh-hero-feat-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; padding: 12px; border-radius: 8px; border: 1px solid var(--eh-soft-aqua); background: var(--eh-bg-light); }

    /* price size for desktop and tablets */
    @media (min-width: 769px) {
    span.woocommerce-Price-amount.amount {
        font-size: 2rem;
        font-weight: bold;
    }
}
    /* for mobile */

    @media (max-width: 768px) {
        span.woocommerce-Price-amount.amount {
            font-size: 1.5rem;
            font-weight: bold;
        }
    }
    /* --- TEAM PROMO (MINI TEAM) --- */
    .teams-promo { margin-top: 16px; width: 100%; padding: 25px; border-radius: 16px; box-sizing: border-box; }
    .teams-promo .greyed-subtitle { text-align: center; }
    .teams-promo-header { border-bottom: 1px dashed rgba(255,255,255,0.2); padding-bottom: 15px; }
    .teams-promo-title { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
    .teams-promo-meta { align-items: center; gap: 12px;}
    .teams-promo-meta .eh-price { font-weight: 700; font-size: 1rem; color: var(--eh-vibrant-teal) !important; }
    .teams-promo-meta .premium-membership-price-promo-span { color: black !important; }
    .starting-text { opacity: 0.7; font-size: 0.9rem; }

    
    .teams-promo-attrs { display: flex; flex-direction: column; gap: 20px; }
    .teams-promo-attrs .eh-card-list { margin-top: 0; margin-left: 0;}
    .teams-promo-action { display: flex; justify-content: flex-start; margin-top: 8px;}
    .teams-promo-action a { margin-top: 0;}
    .teams-promo-attrs .eh-card-list {
        margin-bottom: 0;
    }
    .verified-text { margin: 0; }

    /* for mobile */
    @media (max-width: 768px) {
        .verified-text { text-align: center; }
    }

    /* --- PRICING CARD --- */
    .eh-pricing-card { border: 1px solid var(--eh-soft-aqua); border-radius: 16px; padding: 35px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); position: relative; background: white; }
    .eh-pricing-card .orange-badge { position: absolute; top: -12px; right: 25px; }
    .eh-price-val { font-size: 2.2rem; font-weight: 800; color: var(--global-palette3); margin-top: 15px; }
    
    .eh-btn-join { display: block; width: 100%; background: var(--eh-deep-pink) !important; color: white !important; text-align: center; padding: 15px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: background 0.3s, transform 0.3s; line-height: 1.2; margin-top: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
    .eh-btn-join:hover { background-color: var(--eh-soft-pink) !important; transform: translateY(-2px); }
    .eh-btn-outline { display: inline-block; color: var(--eh-vibrant-teal); font-weight: 700; text-decoration: none; border: 2px solid var(--eh-vibrant-teal); padding: 12px 25px; border-radius: 50px; text-align: center; transition: all 0.3s ease; width: fit-content; margin-top: 20px; }
    .eh-btn-outline:hover { background: var(--eh-vibrant-teal); color: white; }

    .button-subtitle { font-size: 0.7rem; font-weight: normal; opacity: 0.9; display: block; margin-top: 4px; }
    .greyed-subtitle { color: var(--eh-text-muted); font-style: italic; font-size: 0.9rem; display: block; margin-top: 5px; }

    /* Shared Lists */
    .eh-card-list { list-style: none; padding: 0; margin-top: 20px; }
    .eh-card-list li { display: flex; gap: 10px; font-size: 0.95rem; align-items: flex-start; margin-top: 12px; }
    .eh-card-list li::before { content: "✓"; color: var(--eh-vibrant-teal); font-weight: bold; }

    /* --- SOCIAL & REVIEWS BAR --- */
    .eh-social-bar { padding: 60px 0; margin-top: 60px; } /* BIG Padding as requested */
    .eh-social-inner { display: flex; align-items: center; gap: 40px; }
    .left-section { flex: 0 0 35%; display: flex; flex-direction: column; gap: 15px; }
    
    .review-stars { display: flex; align-items: center; gap: 4px; }
    .review-stars img { width: 22px; height: auto; }
    .review-count { font-size: 1.5rem; font-weight: 800; margin-left: 10px; }
    
    .eh-pill-button { background-color: var(--eh-white); color: var(--eh-text-main) !important; padding: 8px 20px; border-radius: 30px; font-size: 0.9rem; text-decoration: none; font-weight: 600; display: inline-block; width: fit-content; margin-top: 10px; transition: all 0.2s; }
    .eh-pill-button:hover { background-color: var(--eh-vibrant-teal); color: var(--eh-white) !important; }

    /* Scrollable Reviews Carousel Fixes */
    .quick-reviews-carousel { flex: 1; overflow-x: auto; overflow-y: hidden; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--eh-vibrant-teal) transparent; }
    .quick-reviews-carousel::-webkit-scrollbar { height: 6px; }
    .quick-reviews-carousel::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 10px; }
    .quick-reviews-carousel::-webkit-scrollbar-thumb { background: var(--eh-vibrant-teal); border-radius: 10px; }
    
    .review-carousel-track { display: flex; gap: 20px; width: max-content; animation: scroll 20s linear infinite; }
    .review-carousel-track:hover { animation-play-state: paused; }
    @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 10px)); } }
    
    .review-card { flex: 0 0 320px; background: rgba(255,255,255,0.05); padding: 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; }
    .review_heading { font-weight: 700; font-size: 1.05rem; }
    .review-text { font-size: 0.9rem; line-height: 1.5; font-style: italic; margin-top: 10px; flex-grow: 1; opacity: 0.9; }
    .reviewer-name { font-weight: 700; font-size: 0.85rem; margin-top: 15px; color: var(--eh-vibrant-teal) !important; display: flex; align-items: center; gap: 5px; }

    /* --- PILLS NAVIGATION --- */
    .eh-features-header { text-align: center; margin-top: 60px; }
    .eh-features-header h2 { font-size: 2.2rem; }
    .eh-features-header p { margin-top: 15px; color: var(--eh-text-muted); }

    .eh-pill-nav { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-top: 40px; }
    .eh-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--eh-bg-light); color: var(--eh-text-main); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: 50px; border: 2px solid transparent; transition: all 0.3s ease; }
    .eh-pill svg { color: var(--eh-text-muted); transition: color 0.3s ease; }
    .eh-pill:hover { transform: translateY(-2px); color: var(--eh-vibrant-teal); background: #f1f5f9; }
    .eh-pill:hover svg { color: var(--eh-vibrant-teal); }
    .eh-pill.eh-active { background-color: var(--global-palette3); color: var(--eh-white); border-color: var(--global-palette3); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
    .eh-pill.eh-active svg { color: var(--eh-white); }
    
    .eh-feature-block { display: none; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--eh-bg-light); padding: 50px; border-radius: 24px; border: 1px solid var(--eh-soft-aqua); margin-top: 40px; }
    .active-tab { display: grid !important; }
    .eh-feat-text h3 { font-size: 1.8rem; }
    .eh-feat-text p { margin-top: 15px; }
    
    /* --- IMAGE CAROUSEL (CSS ONLY - HARDWARE ACCELERATED) --- */
    .eh-feat-img { background: #EFFFFF; aspect-ratio: 16/9; border-radius: 12px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
    .eh-image-carousel { width: 100%; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); padding: 20px 0; }
    .eh-image-track { display: flex; width: max-content; gap: 20px; animation: scrollImages 15s linear infinite; }
    .eh-image-track:hover { animation-play-state: paused; }
    .eh-image-track img { height: 220px; width: auto; border-radius: 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); object-fit: cover; }
    @keyframes scrollImages { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 10px)); } }

    /* --- VIDEO EMBEDS --- */
    .video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 16px; width: 100%; }
    .video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

    /* --- SMART TV SECTION --- */
    .eh-smart-tv { padding: 60px 0; margin-top: 60px; }
    .eh-tv-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; }
    .eh-step { display: flex; gap: 20px; margin-top: 25px; }
    .eh-step-num { font-size: 2.5rem; font-weight: 800; color: var(--eh-highlight); line-height: 1; }
    .eh-step strong { color: var(--eh-highlight); font-size: 1.2rem; }
    .eh-step p { margin-top: 8px; opacity: 0.9; }

    /* --- TEAM PRICING GRID --- */
    .eh-team-pricing-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: stretch; background: var(--eh-white); padding: 40px; border-radius: 24px; border: 1px solid rgba(0, 0, 0, 0.05); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.08); margin-top: 80px; position: relative; }
    .eh-team-pricing-grid::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--eh-vibrant-teal), var(--eh-highlight)); }
    .eh-team-content h2 { font-size: 2.4rem; line-height: 1.2; margin-top: 15px; }

    /* remove margin-left and text-align left for mobile on .eh-team-pricing-grid .eh-card-list */
    @media (max-width: 768px) {
        .eh-team-pricing-grid .eh-card-list {
            margin-left: 0 !important;
            text-align: left !important;
        }
    }
    
    .eh-price-box { padding: 40px 30px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; transition: transform 0.3s ease; }
    .eh-price-box:hover { transform: translateY(-5px); }
    .eh-price-box h3 { font-size: 1.8rem; font-weight: 700; margin-top: 15px; }
    .eh-pricing-subtitle { font-size: 0.85rem; opacity: 0.8; margin-top: 8px; }
    .eh-price-box .eh-price { font-size: 1.4rem; font-weight: 800; margin-top: 15px; }

    .facility-plus { background-color: var(--global-palette3); color: var(--eh-white); }
    .team-plus { border: 1px solid var(--eh-soft-aqua); color: var(--eh-text-main); }
    .facility-plus h3 { color: white;}
    
    .eh-pricing-list { margin-top: 25px; text-align: left; width: 100%; }
    .facility-plus .eh-pricing-list li::before { color: var(--eh-soft-aqua); }
    .team-plus .eh-pricing-list li::before { color: var(--eh-vibrant-teal); }

    .span-3 { grid-column: 1 / -1; }
    .demo-section { background: var(--eh-bg-light); border: 1px solid #e2e8f0; border-radius: 12px; padding: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 20px; }
    .demo-section p { margin-top: 0;}
    @media (min-width: 768px) { .demo-section { flex-direction: row; justify-content: center; gap: 30px; } .demo-section .eh-btn-outline { margin-top: 0; } }

    /* --- MOBILE RESPONSIVENESS --- */
    @media (max-width: 992px) {
        .eh-hero, .eh-feature-block, .eh-tv-inner, .eh-team-pricing-grid, .eh-social-inner { grid-template-columns: 1fr; flex-direction: column; }
        .eh-social-inner.left-section { width: 100% !important; position: static; text-align: center; }
        .review-stars { justify-content: center; }
        .eh-pill-button { margin: 15px auto 0 auto; }
        
        /* --- NEW: Tightened Mobile Spacing --- */
        .eh-hero { gap: 20px; }
        .eh-hero-title { font-size: 2.2rem; }
        
        /* Cut big section padding in half */
        .eh-social-bar, .eh-smart-tv { padding: 30px 0; margin-top: 30px; }
        
        /* Tighten the Tabs */
        .eh-feature-block { padding: 25px; gap: 25px; margin-top: 25px; }
        
        /* Tighten the Pricing Grid */
        .eh-team-pricing-grid { padding: 20px; gap: 20px; margin-top: 40px; }
        .eh-price-box { padding: 25px 20px; }
        
        /* Tighten Pills */
        .eh-pill-nav { gap: 10px; margin-top: 25px; }
        .eh-pill { padding: 10px 18px; font-size: 0.85rem; }
    }
    /* SOP Rule: Follow the Leader Spacing + Automated SVG Icons */
.eh-card-list {
    list-style: none;
    padding: 0;
    margin-top: 20px; /* Pushes away from the element above */
}

.eh-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    margin-top: 12px; /* SOP: Only push the space above it */
}

/* The Automated Check Mechanism */
.eh-card-list li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background-color: var(--eh-vibrant-teal); /* Default Color */
    /* Standard Check SVG Mask */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
}

/* SOP Rule 3: Auto-contrast for Blue/Purple backgrounds */
.bg-blue .eh-card-list li::before,
.bg-purple .eh-card-list li::before {
    background-color: var(--eh-soft-aqua); /* Contrast color for dark backgrounds */
}

.postid-13442 .kadence-sticky-add-to-cart {
    display: none !important;
}
