/* Organic Landing Page Custom Style System */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #ff6f3d;
    --primary-hover: #e05322;
    --secondary-color: #1e2022;
    --secondary-light: #3a3e45;
    --text-dark: #111215;
    --text-muted: #6c757d;
    --bg-light: #faf8f5;
    --bg-card: #ffffff;
    --border-color: #eee9e2;
    --primary-rgb: 255, 111, 61;
    --secondary-rgb: 30, 32, 34;
    --body-font: 'Outfit', sans-serif;
    --heading-font: 'Plus Jakarta Sans', sans-serif;
}

/* Smooth scrolling and sticky fixes */
html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: clip !important;
}

/* Base resets & styles for the organic theme */
.organic-body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--body-font);
    overflow-x: clip !important;
}

.organic-heading {
    font-family: var(--heading-font);
    font-weight: 700;
}

/* ========================================
   HEADER — Desktop (>= 992px)
   ======================================== */
@media (min-width: 992px) {
    .organic-nav-menu {
        /* Reset any mobile positioning */
        position: static !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        z-index: auto !important;
        display: block !important;
        /* always visible on desktop */
        overflow: visible !important;
    }

    .mobile-nav-close {
        display: none !important;
    }
}

/* Header customization */
header.header.organic-header {
    background: var(--primary-color) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: all 0.3s ease;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
}

header.header.organic-header.sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    background: var(--primary-color) !important;
}

/* Logo - always visible */
.organic-header .logo {
    flex-shrink: 0;
}

.organic-header .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.organic-header .logo img {
    height: 44px;
    width: auto;
    max-width: 160px;
    display: block;
    object-fit: contain;
}

/* Header bottom layout — overrides main.css blue header padding */
.organic-header .header-bottom {
    padding: 10px 0 !important;
}

.organic-header .header-bottom-area,
.organic-header .header-bottom .header-bottom-area {
    min-height: 60px;
    gap: 12px;
}


.organic-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.organic-menu {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 6px;
    border-radius: 100px;
    margin: 0;
    list-style: none;
}

.organic-menu li a {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.organic-menu li a.active,
.organic-menu li a:hover {
    background: #ffffff;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 18px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

.header-icon-btn .badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* Custom Buttons */
.btn-primary-custom {
    background: var(--primary-color);
    color: #ffffff !important;
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(255, 111, 61, 0.2);
    text-decoration: none;
}

.btn-primary-custom:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 111, 61, 0.3);
}

.btn-secondary-custom {
    background: #ffffff;
    color: var(--text-dark) !important;
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: var(--bg-light);
    border-color: var(--text-dark);
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
    padding: 50px 0 20px;
    position: relative;
    background: linear-gradient(180deg, #fdfaf5 0%, #faf8f5 100%);
    overflow: hidden;
}

.hero-section .bg-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 111, 61, 0.08) 0%, rgba(255, 111, 61, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.hero-subtitle::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    opacity: 0.15;
    border-radius: 10px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 111, 61, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.hero-feature-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.hero-feature-text span {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

/* Hero Image & Widget Container */
.hero-image-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.06));
}

.hero-decorative-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 180px;
    height: 180px;
    background: #ffebe3;
    border-radius: 50%;
    z-index: 1;
}

.trusted-widget {
    position: absolute;
    bottom: 30px;
    left: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.trusted-title {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.trusted-avatars {
    display: flex;
    align-items: center;
}

.trusted-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -8px;
    background-size: cover;
    background-position: center;
}

.trusted-avatar:first-child {
    margin-left: 0;
}

.trusted-badge {
    background: var(--primary-color);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 100px;
}

/* Category Section */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-subtitle-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-subtitle-arrow::before,
.section-subtitle-arrow::after {
    content: "✦";
    font-size: 12px;
}

.section-main-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 5px;
}

.slider-container-wrapper {
    position: relative;
    padding: 0 50px;
}

.categories-grid-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 15px 5px 30px;
    scroll-behavior: smooth;
}

.categories-grid-container::-webkit-scrollbar {
    display: none;
}

.category-card-custom {
    flex: 0 0 calc(12.5% - 18px);
    min-width: 140px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    text-decoration: none;
}

/* PC/Desktop layout for category slider (fit all items in one row without scroll) */
@media (min-width: 992px) {
    .slider-container-wrapper {
        padding: 0 !important;
    }

    .categories-grid-container {
        justify-content: center !important;
        flex-wrap: nowrap !important;
        overflow-x: visible !important;
        padding: 15px 0 30px !important;
    }

    .category-card-custom {
        flex: 1 1 0px !important;
        min-width: 100px !important;
        max-width: 160px !important;
    }

    .slider-nav-btn {
        display: none !important;
    }
}

.category-card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 111, 61, 0.08);
    border-color: rgba(255, 111, 61, 0.3);
}

.category-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fdfaf5;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-icon-wrapper img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-card-custom:hover .category-icon-wrapper img {
    transform: scale(1.15);
}

.category-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.slider-nav-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 111, 61, 0.2);
}

.slider-nav-btn.prev-btn {
    left: 0;
}

.slider-nav-btn.next-btn {
    right: 0;
}

/* MLM Section */
.mlm-process-section {
    background: linear-gradient(180deg, #faf8f5 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
}

.mlm-steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 50px;
}

.mlm-steps-connector {
    position: absolute;
    top: 50px;
    left: 8%;
    width: 84%;
    height: 2px;
    background-image: linear-gradient(to right, var(--border-color) 50%, rgba(255, 255, 255, 0) 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
    z-index: 1;
}

.mlm-step-item {
    width: 18%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.mlm-step-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #fff3ef;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mlm-step-circle-inner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff3ef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 28px;
    transition: all 0.3s ease;
}

.mlm-step-item:hover .mlm-step-circle {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 111, 61, 0.15);
}

.mlm-step-item:hover .mlm-step-circle-inner {
    background: var(--primary-color);
    color: #ffffff;
}

.mlm-step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.mlm-step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0 10px;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background: #ffffff;
}

.why-choose-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.why-choose-content {
    padding-left: 20px;
}

.why-choose-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-feature-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 24px;
    background: #fcfbf9;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.25s ease;
}

.why-feature-card:hover {
    background: #ffffff;
    border-color: rgba(255, 111, 61, 0.2);
    box-shadow: 0 10px 25px rgba(255, 111, 61, 0.05);
    transform: translateY(-4px);
}

.why-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff0ea;
    border: 1px dashed var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.why-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.why-feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Best Sellers Section */
.best-sellers-section {

    background: #faf8f5;
}

.product-slider-wrapper {
    position: relative;
    padding: 0 40px;
    margin-top: 40px;
}

.products-grid-custom {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.product-card-custom {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
}

.product-card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 111, 61, 0.25);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background: #fdfcfb;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card-custom:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-info-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-custom-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f6f3ed;
}

.product-custom-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
}

.product-add-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff0ea;
    color: var(--primary-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card-custom:hover .product-add-btn {
    background: var(--primary-color);
    color: #ffffff;
}

/* Mobile responsive adjustments */
@media (max-width: 1200px) {
    .products-grid-custom {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 44px;
    }

    .mlm-steps-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .mlm-steps-connector {
        display: none;
    }

    .mlm-step-item {
        width: 100%;
        max-width: 300px;
    }

    .why-choose-content {
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .products-grid-custom {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-features-grid {
        grid-template-columns: 1fr;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero image visible on mobile below text */
    .hero-section .row {
        flex-direction: column !important;
    }

    .hero-image-container {
        display: flex !important;
        margin-top: 30px;
    }

    .hero-main-img {
        max-height: 280px;
        width: auto;
        margin: 0 auto;
    }

    .trusted-widget {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 24px;
        padding-top: 20px;
    }

    .hero-feature-text {
        font-size: 12px;
    }

    .hero-image-container {
        display: flex !important;
        margin-top: 20px;
    }

    .hero-main-img {
        max-height: 240px;
        border-radius: 16px;
    }

    /* Best sellers on home - 2 per row */
    .products-grid-custom {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-custom {
        padding: 10px;
    }

    .product-image-wrapper {
        padding: 10px;
    }

    .product-custom-title {
        font-size: 12px;
        height: 34px;
    }

    .product-custom-price {
        font-size: 13px;
    }

    .product-add-btn {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .slider-container-wrapper {
        padding: 0;
    }

    .slider-nav-btn {
        display: none;
    }
}

/* Header specific overrides to prevent system-wide styles from breaking visual design */
.organic-header .header-bottom {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    /* padding is set by our .organic-header .header-bottom { padding: 10px 0 } rule above */
}

/* Binary MLM Tree Visualizer Styles */
.binary-mlm-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
    position: relative;
    overflow: hidden;
}

.binary-tree-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.tree-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.tree-row {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 2;
}

.row-root {
    margin-top: 10px;
}

.row-children {
    padding: 0 10%;
}

.row-grandchildren {
    padding: 0 5%;
}

.tree-node {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 12px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    min-width: 100px;
}

.tree-node:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(255, 111, 61, 0.15);
}

.tree-node.node-active {
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 111, 61, 0.1);
}

.tree-node.node-active .node-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.tree-node.node-left {
    border-color: #3182ce;
}

.tree-node.node-left .node-icon {
    background: rgba(49, 130, 206, 0.1);
    color: #3182ce;
}

.tree-node.node-right {
    border-color: #e67e22;
}

.tree-node.node-right .node-icon {
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
}

.node-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fdfaf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.node-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.node-badge {
    font-size: 10px;
    background: #fff0ea;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
}

.node-volume {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.tree-node.node-sub {
    padding: 8px 12px;
    min-width: 50px;
    border-radius: 12px;
}

.tree-node.node-sub .node-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

/* Tooltip info styling */
.node-tooltip-card {
    background: rgba(35, 45, 36, 0.95);
    color: #ffffff;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 12px;
    line-height: 1.4;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.binary-tree-card:hover .node-tooltip-card {
    opacity: 1;
}

.mlm-details-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mlm-details-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.25s ease;
}

.mlm-details-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 111, 61, 0.25);
    box-shadow: 0 15px 30px rgba(255, 111, 61, 0.05);
}

.mlm-details-num {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff0ea;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mlm-details-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mlm-details-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.mlm-details-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* About MLM Section */
.about-mlm-section {
    padding: 80px 0;
    background: #ffffff;
}

.about-mlm-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    animation: float 5s ease-in-out infinite;
}

/* Services MLM Section */
.services-mlm-section {
    padding: 80px 0;
    background: #faf8f5;
}

.services-mlm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-mlm-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.service-mlm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(255, 111, 61, 0.08);
    border-color: rgba(255, 111, 61, 0.25);
}

.service-mlm-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff0ea;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
}

.service-mlm-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-mlm-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Pricing Plans Section */
.pricing-plans-section {
    padding: 80px 0;
    background: #ffffff;
}

.plans-grid-custom {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.plan-card-custom {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.plan-card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

.plan-card-custom.featured-plan {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(255, 111, 61, 0.1);
}

.plan-card-custom.featured-plan::before {
    content: "POPULAR";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 100px;
}

.plan-card-serial {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fdfaf5;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 1px solid var(--border-color);
}

.plan-card-custom.featured-plan .plan-card-serial {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.plan-card-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 20px;
}

.plan-card-price sup {
    font-size: 18px;
    font-weight: 700;
    top: -10px;
}

.plan-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 1px solid #f6f3ed;
    padding-bottom: 15px;
}

.plan-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.plan-card-features li {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.plan-card-features li i {
    color: var(--secondary-light);
    font-size: 14px;
}

.plan-card-btn {
    width: 100%;
    background: #fff0ea;
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 13px;
    padding: 12px 0;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.plan-card-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.plan-card-custom.featured-plan .plan-card-btn {
    background: var(--primary-color);
    color: #ffffff;
}

.plan-card-custom.featured-plan .plan-card-btn:hover {
    background: var(--primary-hover);
}

/* Refer Promo Section */
.refer-promo-section {
    padding: 60px 0;
    background: #ffffff;
}

.refer-promo-banner {
    background: #fff8f5;
    border: 1px dashed rgba(255, 111, 61, 0.3);
    border-radius: 30px;
    padding: 40px 60px;
    position: relative;
    overflow: hidden;
}

.refer-promo-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.refer-promo-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 500px;
    line-height: 1.6;
}

.refer-promo-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(255, 111, 61, 0.06));
}

/* Team MLM Section */
.team-mlm-section {
    padding: 80px 0;
    background: #ffffff;
}

.team-mlm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-mlm-card {
    background: #fdfcfb;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-mlm-card:hover {
    background: #ffffff;
    border-color: rgba(255, 111, 61, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    transform: translateY(-5px);
}

.team-mlm-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.team-mlm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-mlm-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-mlm-role {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.team-mlm-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-mlm-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.team-mlm-socials a:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Testimonials MLM Section */
.testimonials-mlm-section {
    padding: 80px 0;
    background: #faf8f5;
    position: relative;
    overflow: hidden;
}

.testimonial-mlm-bubble {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
}

.testimonial-mlm-bubble::after {
    content: "“";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 120px;
    color: #fff0ea;
    line-height: 1;
    font-family: serif;
    z-index: 1;
}

.testimonial-mlm-content {
    position: relative;
    z-index: 2;
}

.testimonial-mlm-quote {
    font-size: 20px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 25px;
}

.testimonial-mlm-author {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-mlm-badge {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 700;
    margin-left: 10px;
    background: #fff0ea;
    padding: 2px 8px;
    border-radius: 100px;
}

.testimonial-avatar-cloud {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cloud-avatar-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: absolute;
    background-size: cover;
    background-position: center;
    animation: float-slow 6s ease-in-out infinite;
}

.cloud-avatar-node:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 30%;
    animation-delay: 0s;
}

.cloud-avatar-node:nth-child(2) {
    width: 50px;
    height: 50px;
    top: 40%;
    left: 10%;
    animation-delay: 1.5s;
}

.cloud-avatar-node:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 60%;
    left: 40%;
    animation-delay: 3s;
}

.cloud-avatar-node:nth-child(4) {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.cloud-avatar-node:nth-child(5) {
    width: 55px;
    height: 55px;
    top: 55%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-12px) scale(1.03);
    }
}

/* Blogs MLM Section */
.blogs-mlm-section {
    padding: 80px 0;
    background: #ffffff;
}

.blogs-mlm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-mlm-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.blog-mlm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 111, 61, 0.2);
}

.blog-mlm-cover {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-mlm-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-mlm-card:hover .blog-mlm-cover img {
    transform: scale(1.08);
}

.blog-mlm-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-mlm-date {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-mlm-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    .plans-grid-custom {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-mlm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .services-mlm-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blogs-mlm-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .refer-promo-banner {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .plans-grid-custom {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-avatar-cloud {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .services-mlm-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-mlm-card {
        padding: 20px 14px;
    }

    .service-mlm-icon-wrapper {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .service-mlm-title {
        font-size: 14px;
    }

    .service-mlm-desc {
        font-size: 12px;
    }

    .plans-grid-custom {
        grid-template-columns: 1fr;
    }

    .team-mlm-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blogs-mlm-grid {
        grid-template-columns: 1fr;
    }

    .refer-promo-banner {
        padding: 30px 20px;
        text-align: center;
    }

    /* Section heading sizes on mobile */
    .section-main-title {
        font-size: 24px;
    }

    .section-title-wrapper {
        margin-bottom: 24px;
    }
}

/* Subpages, Forms, Dashboards, and UI Component Overrides */

/* 1. Global Page Layout & Breadcrumbs */
.inner-banner {
    position: relative;
    padding: 80px 0 !important;
    background: linear-gradient(135deg, #18191c 0%, #25272a 100%) !important;
}

.inner-banner::before {
    position: absolute;
    content: "" !important;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, rgba(24, 25, 28, 0.9) 0%, rgba(37, 39, 42, 0.75) 100%) !important;
    opacity: 1 !important;
}

.inner-banner-wrapper {
    position: relative;
    z-index: 5;
    text-align: center;
}

.inner-banner-wrapper .title {
    font-family: var(--heading-font) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    font-size: 36px !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
}

/* 2. Global Button Styles */
.btn--base,
.cmn--btn,
.cmn--btn-2,
.btn-primary {
    background: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    color: #ffffff !important;
    border-radius: 100px !important;
    padding: 12px 28px !important;
    font-family: var(--heading-font) !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 12px rgba(255, 111, 61, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.btn--base:hover,
.cmn--btn:hover,
.cmn--btn-2:hover,
.btn-primary:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255, 111, 61, 0.3) !important;
}

.btn--dark {
    background: var(--secondary-color) !important;
    border: 1px solid var(--secondary-color) !important;
    color: #ffffff !important;
    border-radius: 100px !important;
    padding: 12px 28px !important;
    font-family: var(--heading-font) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn--dark:hover {
    background: var(--text-dark) !important;
    border-color: var(--text-dark) !important;
    color: #ffffff !important;
}

.btn--success {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #ffffff !important;
}

.btn--success:hover {
    background: #111215 !important;
    border-color: #111215 !important;
    color: #ffffff !important;
}

/* 3. Form Inputs & Textareas */
.form--control,
.form-control {
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    color: var(--text-dark) !important;
    font-family: var(--body-font) !important;
    padding: 12px 18px !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
}

.form--control:focus,
.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 10px rgba(255, 111, 61, 0.15) !important;
    outline: 0 !important;
    background-color: #ffffff !important;
}

.form--group label {
    font-family: var(--heading-font) !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
}

/* 4. Cards & Tables styling */
.card,
.custom--card,
.notice--card {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    padding: 20px !important;
    transition: all 0.3s ease !important;
}

.card:hover,
.custom--card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(255, 111, 61, 0.15) !important;
}

.card-header,
.custom--card .card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding-bottom: 15px !important;
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
}

.table {
    border: 1px solid var(--border-color) !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.table th {
    background-color: var(--bg-light) !important;
    color: var(--text-dark) !important;
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    border-bottom: 2px solid var(--border-color) !important;
    padding: 16px 20px !important;
}

.table td {
    color: var(--text-muted) !important;
    font-family: var(--body-font) !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 16px 20px !important;
    background: #ffffff !important;
}

.table tr:last-child td {
    border-bottom: none !important;
}

/* 5. Product Catalog Page Enhancements */
.catalog-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0b0c0e 100%) !important;
    border-radius: 24px !important;
    padding: 60px 40px !important;
    margin-bottom: 40px !important;
}

.catalog-hero-title {
    font-family: var(--heading-font) !important;
    font-weight: 800 !important;
    font-size: 36px !important;
}

.catalog-sidebar-card {
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    background: #ffffff !important;
}

.sidebar-title {
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    border-bottom: 2px solid var(--primary-color) !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}

.sidebar-category-link {
    border-radius: 12px !important;
    font-family: var(--heading-font) !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.sidebar-category-link:hover,
.sidebar-category-link.active {
    background: #fff0ea !important;
    color: var(--primary-color) !important;
}

.sidebar-category-link .cat-count {
    background: var(--bg-light) !important;
    color: var(--text-muted) !important;
    border-radius: 100px !important;
}

.sidebar-category-link.active .cat-count {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.sorting-select {
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    font-family: var(--body-font) !important;
}

.product-item {
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.product-item:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(255, 111, 61, 0.25) !important;
    box-shadow: 0 15px 35px rgba(255, 111, 61, 0.08) !important;
}

.product-thumb {
    background: #fdfcfb !important;
    padding: 15px !important;
}

.product-title a {
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.product-title a:hover {
    color: var(--primary-color) !important;
}

.product-price,
.current-price {
    color: var(--primary-color) !important;
    font-weight: 800 !important;
    font-family: var(--heading-font) !important;
    font-size: 18px !important;
}

.add-to-cart {
    border-radius: 100px !important;
    background: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    transition: all 0.3s ease !important;
}

.add-to-cart:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
}

/* 6. Product Detail Page Overrides */
.product-details {
    background: var(--bg-light) !important;
}

.product-info-wrapper .title {
    font-family: var(--heading-font) !important;
    font-weight: 800 !important;
    color: var(--text-dark) !important;
}

.cart-plus-minus .qtybutton {
    border: 1px solid var(--border-color) !important;
    background: #ffffff !important;
    color: var(--text-dark) !important;
    transition: all 0.2s ease !important;
}

.cart-plus-minus .qtybutton.active,
.cart-plus-minus .qtybutton:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.cart-plus-minus .cart-count {
    color: var(--text-dark) !important;
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
}

.product-meta .meta-item h6 {
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
}

.product-meta .meta-item a {
    color: var(--primary-color) !important;
    font-family: var(--body-font) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.specification-table {
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
}

.specification-table th,
.specification-table td {
    border-bottom: 1px solid var(--border-color) !important;
}

.custom--badge.bg--success {
    background-color: #def7ec !important;
    color: #03543f !important;
    border-radius: 100px !important;
    padding: 6px 14px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}

/* 7. User Dashboard UI Overrides */
.dashboard-item {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    padding: 24px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.dashboard-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 35px rgba(255, 111, 61, 0.08) !important;
    border-color: rgba(255, 111, 61, 0.2) !important;
}

.dashboard-item .dashboard-item-header .header-left .title {
    font-family: var(--heading-font) !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.dashboard-item .dashboard-item-header .header-left .ammount {
    font-family: var(--heading-font) !important;
    font-weight: 800 !important;
    color: var(--text-dark) !important;
    font-size: 28px !important;
}

.dashboard-item .dashboard-item-header .icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%) !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

.dashboard-item .dashboard-item-body {
    display: none !important;
    /* Hide old polygon elements */
}

.dashboard-sidebar {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden !important;
}

.user-toggler-wrapper {
    background: var(--primary-color) !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
}

.user-toggler-wrapper .title {
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.user-dashboard-tab li a {
    font-family: var(--heading-font) !important;
    font-weight: 600 !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-muted) !important;
    transition: all 0.2s ease !important;
    padding: 14px 28px !important;
    text-decoration: none !important;
}

.user-dashboard-tab li a:hover,
.user-dashboard-tab li a.active {
    background: #fff0ea !important;
    color: var(--primary-color) !important;
    border-left: 4px solid var(--primary-color) !important;
    border-color: transparent transparent transparent var(--primary-color) !important;
}

.dashboard-user {
    padding: 24px !important;
    border-bottom: 1px solid var(--border-color) !important;
}

}

/* --- Shop Page and Categories Badges (as in the 1st image) --- */
.border-bottom-custom {
    border-bottom: 1px solid var(--border-color) !important;
}

.shop-main-title {
    font-family: var(--heading-font) !important;
    font-weight: 800 !important;
    font-size: 44px !important;
    margin-bottom: 8px !important;
    letter-spacing: -1px !important;
}

.shop-breadcrumb {
    background: transparent !important;
    padding: 0 !important;
}

.shop-breadcrumb .breadcrumb-item a {
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-family: var(--body-font) !important;
    font-size: 14px !important;
}

.shop-breadcrumb .breadcrumb-item.active {
    color: var(--primary-color) !important;
    font-family: var(--body-font) !important;
    font-weight: 600 !important;
}

/* Category Circular selectors */
.category-circular-slider {
    max-width: 100%;
    scrollbar-width: none;
    /* Firefox */
}

.category-circular-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 90px;
    transition: all 0.3s ease;
}

.category-circle-img-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-circle-item.active .category-circle-img-wrapper,
.category-circle-item:hover .category-circle-img-wrapper {
    border-color: var(--primary-color);
}

.category-circle-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #f7f3ec;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all 0.3s ease;
}

.category-circle-item.active .category-circle-icon,
.category-circle-item:hover .category-circle-icon {
    background-color: var(--primary-color);
    color: #ffffff;
}

.category-circle-name {
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.category-circle-item.active .category-circle-name,
.category-circle-item:hover .category-circle-name {
    color: var(--primary-color) !important;
}

/* Sidebar Radio List Overrides */
.sidebar-radio-label {
    width: 100%;
}

.sidebar-radio-label .form-check-input {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    margin-top: 0;
    cursor: pointer;
}

.sidebar-radio-label .form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.sidebar-radio-label .filter-name {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 14.5px;
    transition: color 0.2s ease;
}

.sidebar-radio-label:hover .filter-name {
    color: var(--primary-color);
}

.text-primary-custom {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.filter-count {
    font-family: var(--body-font);
    font-weight: 500;
    color: var(--text-muted);
    font-size: 13px;
}

/* Price range override */
.custom-range {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 50px;
}

.custom-range::-webkit-slider-thumb {
    background: var(--primary-color) !important;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.4);
    border: none;
    transition: transform 0.1s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

/* Toolbar search, sort and view toggles */
.border-custom {
    border: 1px solid var(--border-color) !important;
}

.shop-search-input {
    border-radius: 100px !important;
    padding: 12px 45px 12px 25px !important;
    height: 48px !important;
}

.shop-sorting-select {
    border-radius: 100px !important;
    border: 1px solid var(--border-color) !important;
    height: 48px !important;
    padding: 8px 30px 8px 20px !important;
    font-family: var(--heading-font) !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    cursor: pointer;
    background-color: #ffffff !important;
}

.shop-view-toggles .btn-outline-custom {
    border: 1px solid var(--border-color) !important;
    color: var(--text-muted) !important;
    border-radius: 10px !important;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.25s ease;
    background: #ffffff;
}

.shop-view-toggles .btn-outline-custom.active,
.shop-view-toggles .btn-outline-custom:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}

/* Shop Product Card items (as in the 1st image) */
.product-item-shop {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.product-item-shop:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(255, 111, 61, 0.25) !important;
    box-shadow: 0 15px 35px rgba(255, 111, 61, 0.06) !important;
}

.product-thumb-shop {
    width: 100%;
    aspect-ratio: 1;
    background-color: #fcfbf9;
    position: relative;
    overflow: hidden;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb-shop img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-item-shop:hover .product-thumb-shop img {
    transform: scale(1.08);
}

.product-badge-stock-shop {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.product-badge-stock-shop.in-stock {
    background: #def7ec;
    color: #03543f;
}

.product-badge-stock-shop.out-stock {
    background: #fde8e8;
    color: #9b1c1c;
}

.product-content-shop {
    padding: 24px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat-tag {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--text-muted) !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.product-title-shop {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 10px !important;
    line-height: 1.4 !important;
    font-family: var(--heading-font) !important;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title-shop a {
    color: var(--text-dark) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.product-title-shop a:hover {
    color: var(--primary-color) !important;
}

.stars-gold {
    color: #f1c40f;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.stars-gold .rating-count {
    font-size: 12px;
    margin-left: 5px;
}

.product-price-shop {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.current-price-shop {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    font-family: var(--heading-font) !important;
}

.original-price-shop {
    font-size: 14px !important;
    color: var(--text-muted) !important;
    text-decoration: line-through !important;
}

/* --- Testimonials Redesign (as in the 2nd image) --- */
.testimonials-mlm-section {
    padding: 100px 0 !important;
    background-color: #faf8f5 !important;
}

.testimonial-mlm-bubble {
    background: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 50px !important;
    position: relative !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.02) !important;
}

.testimonial-mlm-bubble::after {
    content: "“" !important;
    position: absolute !important;
    top: -10px !important;
    left: 30px !important;
    font-size: 130px !important;
    color: #ffe8df !important;
    font-family: serif !important;
    line-height: 1 !important;
    z-index: 1 !important;
}

.testimonial-mlm-quote {
    font-size: 18px !important;
    font-style: italic !important;
    color: var(--text-dark) !important;
    line-height: 1.7 !important;
    margin-bottom: 30px !important;
    position: relative !important;
    z-index: 2 !important;
}

.testimonial-mlm-author {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--text-dark) !important;
    font-family: var(--heading-font) !important;
    display: inline-block !important;
}

.testimonial-mlm-badge {
    font-size: 11px !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    margin-left: 10px !important;
    background: #ffebe3 !important;
    padding: 4px 12px !important;
    border-radius: 100px !important;
    font-family: var(--heading-font) !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.testimonial-avatar-cloud {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cloud-avatar-node {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #e2ebf0 !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-slow 6s ease-in-out infinite;
}

.cloud-avatar-node:nth-child(1) {
    width: 85px;
    height: 85px;
    top: 10%;
    left: 30%;
    animation-delay: 0s;
}

.cloud-avatar-node:nth-child(2) {
    width: 55px;
    height: 55px;
    top: 40%;
    left: 10%;
    animation-delay: 1.5s;
}

.cloud-avatar-node:nth-child(3) {
    width: 75px;
    height: 75px;
    top: 60%;
    left: 40%;
    animation-delay: 3s;
}

.cloud-avatar-node:nth-child(4) {
    width: 65px;
    height: 65px;
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.cloud-avatar-node:nth-child(5) {
    width: 60px;
    height: 60px;
    top: 55%;
    right: 15%;
    animation-delay: 2s;
}

/* Header Logo Image Styles */
.header .logo img {
    max-height: 42px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* --- Footer Section Modern UI Overrides (as in the 3rd image style layout) --- */
.footer-section {
    background-color: #111215 !important;
    color: #e2eae3 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.footer-top {
    padding-bottom: 50px !important;
}

.footer-widget .logo img {
    max-height: 48px !important;
    margin-bottom: 20px !important;
    width: auto !important;
    object-fit: contain !important;
}

.footer-widget p {
    color: rgba(240, 240, 240, 0.75) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.widget-title {
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    margin-bottom: 25px !important;
    position: relative !important;
}

.widget-title::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -8px !important;
    width: 30px !important;
    height: 2px !important;
    background-color: var(--primary-color) !important;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.footer-links li a {
    color: rgba(240, 240, 240, 0.75) !important;
    font-family: var(--body-font) !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
}

.footer-links li a i {
    font-size: 10px !important;
    color: var(--primary-color) !important;
    transition: transform 0.25s ease !important;
}

.footer-links li a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px !important;
}

.footer-links li a:hover i {
    transform: translateX(3px) !important;
}

.footer-info {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;

}

.footer-info li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    color: rgba(240, 240, 240, 0.75) !important;
    font-size: 14px !important;
}

.footer-info li i {
    font-size: 20px !important;
    color: var(--primary-color) !important;
    margin-top: 2px !important;
}

.footer-info li a {
    color: rgba(240, 240, 240, 0.75) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer-info li a:hover {
    color: var(--primary-color) !important;
}

.footer-bottom {
    background-color: #0b0c0e !important;
    padding: 24px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.footer-bottom-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.footer-bottom-wrapper .copy-text {
    color: rgba(240, 240, 240, 0.5) !important;
    font-size: 13px !important;
    margin: 0 !important;
}

.footer-bottom-wrapper .copy-text a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.footer-bottom-wrapper .social-icons {
    display: flex !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-bottom-wrapper .social-icons a {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(240, 240, 240, 0.75) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

.footer-bottom-wrapper .social-icons a:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
}

/* --- Footer Section Background Color Overrides --- */
.footer-section {
    background-color: #0c2618 !important;
}

.footer-bottom {
    background-color: #07180e !important;
}

/* --- Section Gaps / Paddings Reduction --- */
.padding-top {
    padding-top: 60px !important;
}

.padding-bottom {
    padding-bottom: 60px !important;
}

.about-mlm-section,
.services-mlm-section,
.binary-mlm-section,
.pricing-plans-section,
.team-mlm-section,
.testimonials-mlm-section,
.blogs-mlm-section {
    padding: 50px 0 !important;
}

@media (max-width: 768px) {
    .padding-top {
        padding-top: 40px !important;
    }

    .padding-bottom {
        padding-bottom: 40px !important;
    }

    .about-mlm-section,
    .services-mlm-section,
    .binary-mlm-section,
    .pricing-plans-section,
    .team-mlm-section,
    .testimonials-mlm-section,
    .blogs-mlm-section {
        padding: 30px 0 !important;
    }
}

/* ============================================================
   MOBILE NAVIGATION DRAWER  (max-width: 991px)
   Nav is always in DOM. Hidden via translateX (no display:none).
   ============================================================ */
@media (max-width: 991px) {

    /* ── The drawer itself ── */
    .organic-nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 290px !important;
        height: 100vh !important;
        background: #ffffff !important;
        border-top: 4px solid var(--primary-color) !important;
        /* accent bar */
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15) !important;
        z-index: 99999 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        /* Off-screen to the right by default */
        transform: translateX(100%) !important;
        transition: transform 0.38s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        /* Kill any main.css ::before or pseudo leftovers */
        display: block !important;
        max-height: 100vh !important;
    }

    /* Remove ::before (no accent pseudo-element needed — border-top handles it) */
    .organic-nav-menu::before {
        display: none !important;
        content: none !important;
        height: 0 !important;
        background: none !important;
    }

    /* ── Opened state ── */
    .organic-nav-menu.active {
        transform: translateX(0) !important;
    }

    /* ── Close button — sits at top of drawer ── */
    .mobile-nav-close {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 16px 20px 12px 20px !important;
        margin: 0 !important;
        background: #faf8f5 !important;
        border: none !important;
        border-bottom: 1px solid var(--border-color) !important;
        cursor: pointer !important;
        font-size: 22px !important;
        color: var(--text-dark) !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 2 !important;
    }

    .mobile-nav-close::before {
        content: 'Menu' !important;
        font-family: var(--heading-font) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: var(--text-muted) !important;
        text-transform: uppercase !important;
        letter-spacing: 1.5px !important;
    }

    .mobile-nav-close:hover {
        color: var(--primary-color) !important;
    }

    /* ── Menu list in column layout ── */
    .organic-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        border-radius: 0 !important;
        padding: 8px 0 30px 0 !important;
        margin: 0 !important;
        background: transparent !important;
        list-style: none !important;
    }

    .organic-menu li {
        width: 100% !important;
        border-bottom: 1px solid var(--border-color) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .organic-menu li:last-child {
        border-bottom: none !important;
    }

    .organic-menu li a {
        display: block !important;
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        border-radius: 0 !important;
        text-align: left !important;
        color: var(--text-dark) !important;
        text-decoration: none !important;
    }

    .organic-menu li a:hover,
    .organic-menu li a.active {
        background: #fff5f0 !important;
        color: var(--primary-color) !important;
        box-shadow: none !important;
    }

    /* ── Dark backdrop ── */
    .overlay.overlay-color {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.55) !important;
        z-index: 99998 !important;
        display: block !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
    }

    /* ── Hamburger sizing on tablet ── */
    .header-trigger {
        width: 30px !important;
        height: 22px !important;
    }
}


/* --- Mobile Logo & Header Buttons (max-width: 576px) --- */
@media (max-width: 576px) {
    .organic-header .logo img {
        max-height: 32px !important;
    }

    .header-icon-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
}

/* --- Mobile 2x2 Product Grid (shop page) --- */
@media (max-width: 576px) {

    /* Shop page product cards compact for 2x2 */
    .product-content-shop {
        padding: 10px !important;
    }

    .product-title-shop {
        font-size: 12.5px !important;
        height: 36px !important;
        margin-bottom: 4px !important;
    }

    .product-price-shop {
        flex-direction: column !important;
        gap: 2px !important;
        align-items: flex-start !important;
    }

    .current-price-shop {
        font-size: 14px !important;
    }

    .original-price-shop {
        font-size: 11px !important;
    }

    .product-thumb-shop {
        padding: 8px !important;
    }

    .stars-gold {
        font-size: 10px !important;
        gap: 1px !important;
    }

    .stars-gold .rating-count {
        font-size: 9px !important;
        margin-left: 2px !important;
    }

    /* Reduce row gutter so 2 cols actually fit */
    .row.g-4>.col-6 {
        --bs-gutter-x: 0.5rem !important;
        --bs-gutter-y: 0.5rem !important;
    }

    .row.g-4 {
        --bs-gutter-x: 0.5rem !important;
        --bs-gutter-y: 0.5rem !important;
    }

    /* Shop header stacks properly */
    .shop-header-wrapper {
        flex-direction: column !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
        padding-bottom: 0 !important;
    }

    .shop-main-title {
        font-size: 28px !important;
    }

    /* Category circles smaller */
    .category-circular-slider {
        gap: 8px !important;
    }

    .category-circle-item {
        min-width: 68px !important;
    }

    .category-circle-img-wrapper {
        width: 56px !important;
        height: 56px !important;
    }

    .category-circle-icon {
        font-size: 20px !important;
    }

    .category-circle-name {
        font-size: 10px !important;
    }

    /* Sidebar hidden on mobile - show only grid */
    .catalog-sidebar-card {
        display: none !important;
    }

    /* Make product listing full width when sidebar hidden */
    .col-lg-9 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Compact toolbar on mobile */
    .shop-search-input {
        height: 40px !important;
        padding: 10px 40px 10px 16px !important;
    }

    .shop-sorting-select {
        height: 40px !important;
        padding: 6px 24px 6px 14px !important;
        font-size: 13px !important;
    }

    .shop-view-toggles .btn-outline-custom {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
    }
}

/* --- Services MLM Section 2x2 grid on mobile (overrides earlier rule) --- */
/* Note: services-mlm-grid already set to 2-col at 576px in earlier rule above */

/* ================================================================
   CRITICAL: Override main.css .menu mobile styles completely.
   main.css animates .menu from top — we need RIGHT slide instead.
   These MUST come last to win the cascade.
   ================================================================ */
@media (max-width: 991px) {

    /* Kill main.css top-slide / opacity / visibility on our nav */
    .organic-header .menu {
        position: fixed !important;
        top: 0 !important;
        left: auto !important;
        right: 0 !important;
        width: 290px !important;
        height: 100vh !important;
        background: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(100%) !important;
        transition: transform 0.38s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        z-index: 99999 !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15) !important;
        transform-origin: right center !important;
        /* Kill main.css ::before on .menu */
        border-top: 4px solid var(--primary-color) !important;
    }

    .organic-header .menu.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 99999 !important;
        background: #ffffff !important;
    }

    /* Kill main.css blue active background */
    .organic-header .menu.active .cmn--btn {
        border-color: var(--primary-color) !important;
    }

    /* Override main.css white text color */
    .organic-header .menu li a {
        color: var(--text-dark) !important;
        padding: 14px 20px !important;
    }

    .organic-header .menu li a.active,
    .organic-header .menu li a:hover {
        background: rgba(255, 111, 61, 0.08) !important;
        color: var(--primary-color) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .organic-header .menu li {
        border-bottom: 1px solid var(--border-color) !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .organic-header .menu li:last-child {
        border-bottom: none !important;
    }
}


/* ================================================================
   HAMBURGER BUTTON — Keep lines white on orange header background
   ================================================================ */
.organic-header .header-trigger span {
    background: #ffffff !important;
}

.organic-header .header-trigger span::before,
.organic-header .header-trigger span::after {
    background: #ffffff !important;
}

.organic-header .header-trigger.active span {
    background: transparent !important;
}

.organic-header .header-trigger.active span::before {
    background: #ffffff !important;
}

.organic-header .header-trigger.active span::after {
    background: #ffffff !important;
}

/* Header bottom area padding fix for mobile */
@media (max-width: 991px) {
    .organic-header .header-bottom {
        padding: 8px 0 !important;
    }

    .header-bottom-area {
        min-height: 56px !important;
        gap: 10px !important;
    }

    .organic-header .logo img {
        height: 38px !important;
        max-height: none !important;
        width: auto !important;
    }

    .header-icons {
        gap: 8px !important;
    }
}

@media (max-width: 576px) {
    .organic-header .header-bottom {
        padding: 6px 0 !important;
    }

    .organic-header .logo img {
        height: 34px !important;
        max-height: none !important;
        width: auto !important;
    }

    .header-icon-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }

    .header-icons {
        gap: 6px !important;
    }
}

/* ================================================================
   INNER BANNER (subpage header) — mobile fix
   ================================================================ */
@media (max-width: 576px) {
    .inner-banner {
        padding: 60px 0 !important;
    }

    .inner-banner-wrapper .title {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }

    .breadcums {
        font-size: 13px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px !important;
    }
}

/* ================================================================
   CONTACT PAGE — mobile fix
   ================================================================ */
@media (max-width: 576px) {
    .contact-form-wrapper {
        padding: 0 !important;
    }

    .contact-form-wrapper .title {
        font-size: 24px !important;
    }

    .contact-info-item {
        flex-direction: row !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }

    .map-wrapper .map {
        height: 220px !important;
    }
}

/* ================================================================
   BLOG PAGE — mobile fix
   ================================================================ */
@media (max-width: 576px) {
    .blog-list-item {
        flex-direction: column !important;
    }

    .blog-list-item .thumb {
        width: 100% !important;
        height: 180px !important;
    }

    .blog-list-item .content {
        padding: 16px !important;
        width: 100% !important;
    }

    .blog-sidebar {
        position: static !important;
        top: auto !important;
    }
}

/* ================================================================
   PRODUCT DETAIL PAGE — mobile fix
   ================================================================ */
@media (max-width: 576px) {
    .product-details-thumb {
        margin-bottom: 20px !important;
    }

    .product-details-content .title {
        font-size: 20px !important;
    }

    .product-count-wrapper {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .product-details-tab .nav-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .product-details-tab .nav-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .product-details-tab .nav-item .nav-link {
        white-space: nowrap !important;
        font-size: 13px !important;
        padding: 8px 12px !important;
    }
}

/* ================================================================
   USER AUTH PAGES (login / register) — mobile fix
   ================================================================ */
@media (max-width: 576px) {
    .account-wrapper {
        padding: 24px 18px !important;
        margin: 16px !important;
        border-radius: 16px !important;
    }

    .account-wrapper .title {
        font-size: 22px !important;
    }

    .form--group {
        margin-bottom: 14px !important;
    }

    .form--control {
        padding: 10px 14px !important;
        font-size: 14px !important;
    }
}

/* ================================================================
   WHY CHOOSE / ABOUT — mobile stacking
   ================================================================ */
@media (max-width: 768px) {
    .why-choose-content {
        padding-left: 0 !important;
        margin-top: 30px !important;
    }

    .why-choose-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .why-feature-card {
        padding: 18px !important;
    }
}

@media (max-width: 576px) {
    .why-choose-features-grid {
        grid-template-columns: 1fr !important;
    }

    .section-main-title {
        font-size: 22px !important;
    }

    /* Binary tree card compact */
    .binary-tree-card {
        padding: 16px !important;
        min-height: 280px !important;
    }

    .tree-node {
        min-width: 70px !important;
        padding: 8px 10px !important;
    }

    .node-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
    }

    .node-label {
        font-size: 10px !important;
    }

    /* MLM steps stack */
    .mlm-step-item {
        width: 100% !important;
        max-width: 260px !important;
    }

    /* Referral banner */
    .refer-btn-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .refer-btn-group .btn-primary-custom,
    .refer-btn-group .btn-secondary-custom {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Best sellers wrapper */
    .product-slider-wrapper {
        padding: 0 !important;
    }

    /* Pricing cards */
    .plan-card-custom {
        padding: 24px 20px !important;
    }

    .plan-price {
        font-size: 36px !important;
    }

    /* Team grid 2-col on small */
    .team-mlm-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .team-mlm-card {
        padding: 16px 12px !important;
    }
}