/* ═══════════════════════════════════════════════════════════
   index.css  —  MyWeaverLabs Landing Page
   Sections:
     1. CSS Variables & Reset
     2. Header / Navbar
     3. Hero Section
     4. Footer
     5. Auth Overlay
     6. Animations
     7. Responsive
═══════════════════════════════════════════════════════════ */


/* ── 1. CSS VARIABLES & RESET ──────────────────────────── */
:root {
    /* Brand */
    --primary-orange: #f58220;;
    --navy-blue: #091a4b;
    --navy-blue-light: #1c2a4e;
    --navy-blue-deep: #0e0e47;
    --highlighter-green: #2ec4b6;
    --text-dark-navy: #0f1f46;
    --bg-color: #f5f2eb;

    /* Typography */
    --font-heading: 'Cabinet Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Header / footer tokens */
    --tc-navy: #0a192f;
    --tc-orange: #ff8c00;

    /* Profile dropdown tokens */
    --pd-navy: #0d1b3e;
    --pd-orange: #f47b20;
    --pd-orange-dark: #d4631a;
    --pd-orange-pale: #fff3e8;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 10% 20%, rgba(243, 131, 43, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(11, 19, 43, 0.04) 0%, transparent 50%),
        var(--bg-color);
    font-family: var(--font-body);
    color: var(--text-dark-navy);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Ambient background blobs */
body::before {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243, 131, 43, 0.12) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    z-index: -1;
    filter: blur(60px);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11, 19, 43, 0.06) 0%, transparent 70%);
    bottom: -5%;
    left: -5%;
    z-index: -1;
    filter: blur(50px);
    pointer-events: none;
}



/* ── 2. HEADER / NAVBAR ─────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(26, 43, 86, 0.1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy-blue);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary-orange);
}

/* Main nav — desktop */
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* Nav close button — hidden on desktop, shown on mobile */
.nav-close {
    display: none;
}

.main-nav .nav-link {
    color: #1a2b56;
    font-size: 15px;
    font-weight: 600;
    text-transform: lowercase;
    text-decoration: none;
    position: relative;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2.5px;
    background: var(--tc-orange);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-nav .nav-link:hover {
    color: var(--tc-orange);
}

.main-nav .nav-link:hover::after {
    width: 100%;
}

.main-nav .nav-link.active-nav {
    color: var(--tc-orange);
}

.main-nav .nav-link.active-nav::after {
    width: 100%;
}

/* Cart */
.cart-container {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-container a {
    color: var(--tc-navy);
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cart-container i {
    font-size: 20px;
    color: var(--tc-navy);
    transition: color 0.3s;
}

.cart-container a:hover i {
    color: var(--tc-orange);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: red;
    color: white;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login / Get-Started button */
.nav-btn-get-started {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 130px;
    height: 44px;
    padding: 0 54px 0 20px;
    background-color: #ffffff;
    color: #1a253c;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #f97316;
    border-radius: 8px;
    /* Arrow SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 32 24' stroke='%23f97316' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2 12h26M20 4l8 8-8 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 28px 16px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.nav-btn-get-started:hover {
    background-color: #fff7ed;
    background-position: calc(100% - 10px) center;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

/* Profile wrap */
.profile-wrap {
    position: relative;
    display: inline-block;
}

.profile-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--pd-orange);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.03em;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-btn:hover,
.profile-btn.open {
    border-color: var(--pd-orange);
    box-shadow: 0 0 0 3px rgba(244, 123, 32, 0.35);
}

/* Profile dropdown */
.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 290px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(9, 19, 40, 0.28);
    overflow: hidden;
    z-index: 9999;
    animation: pdDropIn 0.18s ease;
}

.profile-dropdown.visible {
    display: block;
}

.pd-header {
    background: var(--pd-navy);
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.pd-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pd-orange);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.pd-info {
    min-width: 0;
}

.pd-name {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pd-email {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.73rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pd-section-label {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9aa3b2;
    padding: 0.6rem 1rem 0.2rem;
}

.pd-empty {
    font-size: 0.76rem;
    color: #b0b8c9;
    padding: 0.25rem 1rem 0.5rem;
    font-style: italic;
}

.pd-divider {
    height: 1px;
    background: #f0f2f5;
    margin: 0.35rem 0;
}

.pd-logout {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #c0392b;
    cursor: pointer;
    transition: background 0.15s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.pd-logout:hover {
    background: #fff0f0;
}

/* Hamburger — hidden on desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--tc-navy);
    cursor: pointer;
    padding: 6px;
    z-index: 1002;
}


/* ── 3. HERO SECTION ────────────────────────────────────── */
.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: calc(100vh - 80px);
}

.hero-container {
    width: 92%;
    max-width: 1300px;
    background: linear-gradient(135deg, #f59242 0%, var(--primary-orange) 50%, #e0721a 100%);
    border-radius: 40px;
    min-height: 85vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px -12px rgba(243, 131, 43, 0.3);
    animation: containerEntry 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Decorative circles */
.hero-container::before {
    content: '';
    position: absolute;
    width: 550px;
    height: 550px;
    border: 3px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    pointer-events: none;
}

.hero-container::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -100px;
    right: 20%;
    pointer-events: none;
}

.content-side {
    padding: 80px 60px 80px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 45px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.brand-logo span {
    color: var(--navy-blue);
    font-weight: 800;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    line-height: 1.1;
    color: var(--navy-blue);
    margin-bottom: 30px;
    font-weight: 800;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.highlight {
    background-color: var(--highlighter-green);
    color: var(--navy-blue-deep);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.cta-btn {
    background-color: var(--navy-blue);
    color: #ffffff;
    border: none;
    padding: 18px 42px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    width: fit-content;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 50px;
    box-shadow: 0 6px 20px rgba(11, 19, 43, 0.35);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(11, 19, 43, 0.45);
    background-color: var(--navy-blue-light);
}

.country-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

/* Indian flag */
.flag-icon {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 16px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(11, 19, 43, 0.25);
}

.flag-saffron {
    background: #FF9933;
    flex: 1;
}

.flag-white {
    background: #FFFFFF;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.flag-white::after {
    content: '•';
    color: #000080;
    font-size: 10px;
    line-height: 0;
    position: absolute;
    top: 4px;
}

.flag-green {
    background: #138808;
    flex: 1;
}

/* Visual side */
.visual-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 40px;
}

.image-wrapper {
    position: relative;
    width: 85%;
    height: 85%;
    max-height: 600px;
    border-top-left-radius: 160px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 160px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(11, 19, 43, 0.2);
    opacity: 0;
    animation: imageEntry 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}

.fallback-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f2eb 0%, #b8b3a5 100%);
    display: block;
}

/* Certified badge */
.certified-badge {
    position: absolute;
    bottom: 60px;
    left: -20px;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-blue-deep) 100%);
    color: #ffffff;
    padding: 22px 35px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 20px 45px rgba(5, 10, 24, 0.5);
    z-index: 10;
    opacity: 0;
    animation: badgeEntry 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 1.2s;
}

.badge-text p:first-child {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.badge-text p:last-child {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.badge-checkmark {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease;
}

.certified-badge:hover .badge-checkmark {
    transform: rotate(360deg) scale(1.1);
    border-color: var(--highlighter-green);
    color: var(--highlighter-green);
}


/* ── 4. FOOTER ──────────────────────────────────────────── */

/*
   Footer background matches the fav page exactly:
   white → light grey → deep green (--complient-sage-green: #114d27)
*/
.site-footer {
    background: linear-gradient(to bottom,
            #f8fafc 0%,
            #f1f5f9 30%,
            #114d27 100%);
    padding: 80px 0 0;
    border-top: 3px solid #e7e2df;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 50px;
    padding: 0 40px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 15px;
    display: block;
}

.footer-logo-text span {
    color: var(--primary-orange);
}

.footer-brand p {
    color: #334155;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 25px;
    max-width: 320px;
    display: block;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(9, 26, 75, 0.08);
    color: var(--navy-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-orange);
    color: #fff;
    transform: translateY(-4px);
}

.site-footer h3 {
    color: #0b0b45;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-orange);
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links-list a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #0b0b45;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary-orange);
    width: 18px;
    flex-shrink: 0;
}

/* Footer bottom bar — sits on deepest green */
.footer-bottom {
    background: #114d27;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--primary-orange);
}


/* ── 5. AUTH OVERLAY ────────────────────────────────────── */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 25, 0.85);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.auth-overlay.open {
    display: flex;
}

.auth-modal {
    display: flex;
    width: 700px;
    max-width: 92%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.35s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #f3832b, #cc6000);
    color: white;
    padding: 36px 28px;
}

.auth-left h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.auth-left .tagline {
    opacity: 0.85;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.auth-benefits p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 12px;
    border-radius: 8px;
}

.auth-note {
    margin-top: 20px;
    opacity: 0.8;
    font-size: 0.82rem;
}

.auth-right {
    flex: 1;
    padding: 36px 28px;
}

.auth-right h3 {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.auth-right input {
    width: 100%;
    padding: 11px 14px;
    margin: 8px 0;
    border: 1.5px solid #dde2ef;
    border-radius: 8px;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s;
}

.auth-right input:focus {
    border-color: var(--primary-orange);
}

.auth-right button {
    width: 100%;
    padding: 13px;
    background: var(--primary-orange);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 8px;
    transition: background 0.2s;
}

.auth-right button:hover {
    background: #d96e1a;
}

.captcha-refresh-btn {
    width: auto !important;
    padding: 8px 14px !important;
    margin: 0 !important;
}

.name-row {
    display: flex;
    gap: 10px;
}

.name-row input {
    width: 100%;
}

.captcha-box {
    margin: 10px 0;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#captchaImage {
    height: 45px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

#captchaInput {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
}

.terms-box {
    background: #f8f9ff;
    border: 1px solid #e0e3ff;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
}

.terms-heading {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.terms-box ul {
    padding-left: 16px;
    font-size: 13px;
}

.terms-box li {
    margin-bottom: 4px;
}

.terms-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
}

.terms-inline input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.error {
    color: red;
    font-size: 12px;
    margin: 4px 0;
}

.success-msg {
    color: green;
    font-size: 13px;
}

.resend-text {
    font-size: 13px;
    margin-top: 10px;
}

.otp-note {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.link-btn {
    background: none;
    border: none;
    color: var(--primary-orange);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}


/* ── 6. ANIMATIONS ──────────────────────────────────────── */
@keyframes containerEntry {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes imageEntry {
    from {
        transform: scale(0.95) translateX(30px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateX(0);
        opacity: 1;
    }
}

@keyframes badgeEntry {
    from {
        transform: translateY(40px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes pdDropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ── 7. RESPONSIVE ──────────────────────────────────────── */

/* Tablet — hero stacks, footer 2-col */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        width: 95%;
    }

    .content-side {
        padding: 60px 40px;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .visual-side {
        padding: 0 40px 40px;
        height: 450px;
        justify-content: flex-start;
    }

    .image-wrapper {
        width: 100%;
        height: 100%;
    }

    .certified-badge {
        bottom: 20px;
        left: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Mobile nav breakpoint — hamburger appears, desktop nav hides */
@media (max-width: 992px) {

    /* Show hamburger */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Full-screen slide-in nav */
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 1001;
        padding: 80px 24px 40px;
        overflow-y: auto;
    }

    .main-nav.active {
        display: flex;
    }

    /* Show close button inside nav */
    .nav-close {
        display: flex;
        position: absolute;
        top: 24px;
        right: 24px;
        font-size: 24px;
        background: none;
        border: none;
        color: var(--tc-navy);
        cursor: pointer;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    .main-nav .nav-link {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    .main-nav .nav-btn-get-started {
        min-width: 200px;
        justify-content: center;
    }

    .cart-container {
        width: 100%;
        justify-content: center;
    }

    .profile-wrap {
        width: fit-content;
        margin: 0 auto;
    }

    /* Dropdown centred on mobile */
    .profile-dropdown {
        position: absolute;
        top: 48px;
        left: 50%;
        transform: translateX(-50%);
        width: 300px;
        max-width: 90vw;
    }
}

/* Mobile — smaller hero, stacked footer */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .content-side {
        padding: 36px 20px;
    }

    .visual-side {
        padding: 0 20px 32px;
        height: 300px;
    }

    .certified-badge {
        padding: 14px 18px;
        gap: 14px;
        left: 10px;
        bottom: 10px;
    }

    .badge-text p:last-child {
        font-size: 0.95rem;
    }

    .hero-wrapper {
        padding: 24px 12px;
        min-height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 32px;
    }

    .footer-bottom {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .auth-modal {
        flex-direction: column;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 32px 20px;
    }
}

/* Very small */
@media (max-width: 400px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-container {
        border-radius: 24px;
    }
}

.logo-img {
    height: 220px;
}

.footer-logo-img {
    height: 220px;
}
.site-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-footer {
   
    padding: 80px 0 0;
    border-top: 3px solid #e7e2df;
    margin-bottom: 0;
}

html,
body {
    margin: 0;
    padding: 0;
}
.site-footer::after {
    content: "";
    display: block;
    height: 1px;
   
}
/* ============================================================
   learners-courses.css
   Styles for the Popular Projects section on learners.html
   Palette: Navy #16479B · Orange #EB5E28 · Beige background
   ============================================================ */

/* ── SECTION WRAPPER ── */
.courses-section {
    background: transparent;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

/* gradient blob — top left (navy) */
.courses-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -80px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 71, 155, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

/* gradient blob — bottom right (orange) */
.courses-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -60px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 94, 40, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.courses-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ── SECTION HEADER ── */
.cs-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.cs-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--navy-blue-deep);
    line-height: 1.1;
    margin: 0;
}

.cs-title span {
    color: #EB5E28;
}

.cs-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #6b6b6b;
    margin: 6px 0 0;
}

/* ── SEARCH BAR ── */
.cs-search-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.cs-search-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #16479B;
    font-size: 15px;
    pointer-events: none;
}

.cs-search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid rgba(22, 71, 155, 0.25);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #222;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.cs-search-input:focus {
    border-color: #16479B;
    box-shadow: 0 0 0 4px rgba(22, 71, 155, 0.10);
}

.cs-search-input::placeholder {
    color: #aaa;
}

/* ── FILTERS ROW ── */
.cs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
    align-items: center;
}

.cs-filter-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-blue-deep);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cs-select {
    padding: 10px 34px 10px 14px;
    border: 1.5px solid rgba(22, 71, 155, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316479B' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
        no-repeat right 12px center;
    appearance: none;
    -webkit-appearance: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #222;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.cs-select:focus {
    border-color: #16479B;
}

.cs-filter-divider {
    width: 1px;
    height: 28px;
    background: rgba(22, 71, 155, 0.15);
    flex-shrink: 0;
}

/* ── CARD GRID ── */
.cs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* ── COURSE CARD ── */
.cs-card {
    background: rgba(255, 255, 255, 0.90);
    border: 1.5px solid rgba(22, 71, 155, 0.10);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(22, 71, 155, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(22, 71, 155, 0.22);
}

/* ── CARD IMAGE ── */
.cs-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.cs-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

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

/* level badge */
.cs-badge-level {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #16479B;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cs-badge-level.intermediate {
    background: #EB5E28;
}

.cs-badge-level.advanced {
    background: #0f3270;
}

/* icon buttons (fav + save-for-later) */
.cs-icon-btns {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
}

.cs-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s, transform 0.18s;
    padding: 0;
    flex-shrink: 0;
}

.cs-icon-btn:hover {
    background: #fff;
    transform: scale(1.12);
}

.cs-icon-btn svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #16479B;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill 0.18s, stroke 0.18s;
}

.cs-icon-btn.fav-active svg {
    fill: #EB5E28;
    stroke: #EB5E28;
}

.cs-icon-btn.sfl-active svg {
    fill: #16479B;
    stroke: #16479B;
}

/* ── CARD BODY ── */
.cs-card-body {
    padding: 18px 20px 20px;
}

.cs-card-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cs-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* meta row: instructor + rating */
.cs-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.cs-instructor {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #888;
}

.cs-rating {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #555;
}

.cs-rating span {
    color: #aaa;
}

/* footer: price + CTA */
.cs-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(22, 71, 155, 0.08);
}

.cs-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.cs-price {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--pd-orange);
}

.cs-old-price {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #bbb;
    text-decoration: line-through;
}

.cs-bestseller {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    background: #FFF3ED;
    color: #EB5E28;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(235, 94, 40, 0.18);
}

.cs-view-btn {
    background: var(--pd-orange);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.18s, transform 0.18s;
    white-space: nowrap;
}

.cs-view-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ── EMPTY STATE ── */
.cs-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #999;
}

.cs-empty i {
    font-size: 32px;
    color: #ccc;
    display: block;
    margin-bottom: 12px;
}

/* ── LOADING SPINNER ── */
.cs-loading {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 60px 0;
}

.cs-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(22, 71, 155, 0.15);
    border-top-color: #16479B;
    border-radius: 50%;
    animation: cs-spin 0.7s linear infinite;
}

@keyframes cs-spin {
    to { transform: rotate(360deg); }
}

/* ── PAGINATION ── */
.cs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.cs-page-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid rgba(22, 71, 155, 0.20);
    background: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.cs-page-btn:hover {
    border-color: #16479B;
    color: #16479B;
}

.cs-page-btn.active {
    background: #16479B;
    border-color: #16479B;
    color: #fff;
}

.cs-page-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.cs-dots {
    font-size: 14px;
    color: #999;
    line-height: 38px;
    padding: 0 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .courses-section {
        padding: 50px 0 70px;
    }

    .cs-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cs-search-wrap {
        max-width: 100%;
    }

    .cs-grid {
        grid-template-columns: 1fr;
    }

    .cs-card-footer {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .cs-filters {
        gap: 8px;
    }

    .cs-filter-divider {
        display: none;
    }

    .cs-select {
        font-size: 12px;
        padding: 8px 28px 8px 10px;
    }
}
/* ==========================================================================
   GET STARTED NAVBAR BUTTON - EXTRA WIDE EDITION
   ========================================================================== */
.nav-btn-get-started {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  /* --- MAXIMUM WIDTH LAYOUT CHANGES --- */
  min-width: 150px !important;
  /* Significantly wider baseline footprint */
  height: 52px !important;
  /* Proportional height boost for larger width */
  padding: 0 76px 0 36px !important;
  /* Generous horizontal inner spacing */
  box-sizing: border-box !important;
  border-left: 2px;

  /* Styling & Colors */
  background-color: #ffffff !important;
  color: #1a253c !important;
  /* Deep Navy Blue text */
  font-family: system-ui, -apple-system, sans-serif !important;
  font-size: 22px !important;
  /* Slightly larger text to match size */
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 1px solid #f97316 !important;
  /* Clean orange border */
  border-radius: 8px !important;

  /* Vector Arrow Setup */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 32 24' stroke='%23f97316' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2 12h26M20 4l8 8-8 8'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 28px) center !important;

  /* --- EXTRA WIDE ARROW GRAPHIC DIMENSIONS --- */
  background-size: 36px 24px !important;
  /* Expanded scale for a longer, more prominent arrow */

  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
}

/* Dynamic Interactive States */
.nav-btn-get-started:hover {
  background-color: #fff7ed !important;
  background-position: calc(100% - 22px) center !important;
  /* Smooth tracking micro-movement */
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15) !important;
}
/* ==========================================================================
   GET STARTED NAVBAR BUTTON - EXTRA WIDE EDITION
   ========================================================================== */
.nav-btn-get-started {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  /* --- MAXIMUM WIDTH LAYOUT CHANGES --- */
  min-width: 150px !important;
  /* Significantly wider baseline footprint */
  height: 52px !important;
  /* Proportional height boost for larger width */
  padding: 0 76px 0 36px !important;
  /* Generous horizontal inner spacing */
  box-sizing: border-box !important;
  border-left: 2px;

  /* Styling & Colors */
  background-color: #ffffff !important;
  color: #1a253c !important;
  /* Deep Navy Blue text */
  font-family: system-ui, -apple-system, sans-serif !important;
  font-size: 22px !important;
  /* Slightly larger text to match size */
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 1px solid #f97316 !important;
  /* Clean orange border */
  border-radius: 8px !important;

  /* Vector Arrow Setup */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 32 24' stroke='%23f97316' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2 12h26M20 4l8 8-8 8'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 28px) center !important;

  /* --- EXTRA WIDE ARROW GRAPHIC DIMENSIONS --- */
  background-size: 36px 24px !important;
  /* Expanded scale for a longer, more prominent arrow */

  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
}

/* Dynamic Interactive States */
.nav-btn-get-started:hover {
  background-color: #fff7ed !important;
  background-position: calc(100% - 22px) center !important;
  /* Smooth tracking micro-movement */
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15) !important;
}
/* ─────────────────────────────────────────────────
   MYWEAVERLABS NAVBAR – Simplified Riipen Aesthetic
───────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  max-width: 1500px;
  margin: 0 auto;
}

.logo-img { 
  height:200px; 
  width: auto; 
  display: block; 
}

/* Pure CSS Hamburger Button (No FontAwesome dependency) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #1a2b56;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger to X Transformation */
.menu-toggle.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ── Top-level nav ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item { 
  position: relative; 
}

/* All top-level links and toggle buttons */
.nav-link,
.nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #1a2b56;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .16s, background .16s;
  letter-spacing: .01em;
  outline: none;
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item.open > .nav-link {
  color: #f58220;
}

/* Riipen-style Active Indicator Underline */
.nav-item.open > .nav-link {
  position: relative;
}
.nav-item.open > .nav-link::after {
  content: '';
  position: absolute;
  bottom: -14px; /* Pins nicely underneath the bottom of header layout */
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: #f58220;
  z-index: 1000;
}

/* Chevron arrow indicator */
.nav-chevron {
  width: 10px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.nav-item.open > .nav-link .nav-chevron { 
  transform: rotate(180deg); 
}

/* ─────────────────────────────────────────────
   MEGA / FULL-WIDTH DROPDOWNS (Unified)
───────────────────────────────────────────── */
.mega-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e8eaf0;
  border-bottom: 1px solid #e8eaf0;
  box-shadow: 0 8px 32px rgba(26,43,86,.10);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s cubic-bezier(.4,0,.2,1);
}

.nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Inner block - scales with maximum header containment metrics */
.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 2rem 36px;
  display: flex;
  gap: 64px;
}

.mega-col {
  min-width: 160px;
}

/* Header Text categorization context tags */
.mega-col-heading {
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .09em;
 
  color: #a0abc0;
  margin: 0 0 14px;
  padding: 0;
}

/* Interactive routes within dropdown cards */
.mega-link {
  display: block;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #1a2b56;
  text-decoration: none;
  padding: 6px 0;
  transition: color .15s;
  line-height: 1.4;
}
.mega-link:hover { 
  color: #f58220; 
}

/* Dummy/In-progress styling rule sets */
.mega-link-soon {
  color: #b0bac8;
}
.mega-link-soon::after {
  content: ' — soon';
  font-size: 0.75rem;
  color: #c8d0dc;
}

/* ── Login / Action Interface Button ── */
.nav-btn-login {
  margin-left: 12px;
  padding: 8px 22px;
  background: transparent;
  color: #1a2b56;
  border: 1.5px solid #1a2b56;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-btn-login:hover {
  background: #1a2b56;
  color: #ffffff;
}

/* ── Backdrop Layout ── */
#megaBackdrop {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(10,20,50,.15);
  z-index: 997;
}
#megaBackdrop.active { 
  display: block; 
}

/* ─────────────────────────────
   MOBILE RESPONSIVE OVERRIDES
───────────────────────────────*/
@media (max-width: 900px) {
  .menu-toggle { 
    display: flex; 
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0; 
    right: 0;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 8px 24px rgba(26,43,86,.1);
    padding: 16px;
    gap: 4px;
    z-index: 999;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .main-nav.open { 
    display: flex; 
  }

  .nav-item { width: 100%; }
  .nav-link { width: 100%; border-radius: 7px; justify-content: space-between; padding: 12px 14px; }
  .nav-item.open > .nav-link::after { display: none; }

  .mega-menu {
    position: static;
    transform: none !important;
    border: none;
    box-shadow: none;
    display: none;
    padding: 0;
    background: #fafafa;
    border-radius: 6px;
  }
  .nav-item.open .mega-menu { 
    display: block; 
    opacity: 1; 
  }

  .mega-inner {
    flex-direction: column;
    gap: 20px;
    padding: 16px;
  }
  
  .mega-col-heading { 
    margin-bottom: 8px; 
  }

  .nav-btn-login { 
    margin: 12px 0 4px; 
    justify-content: center; 
    width: 100%; 
  }
  
  #megaBackdrop { 
    display: none !important; 
  }
}
/* ─────────────────────────────────────────────────
   MYWEAVERLABS NAVBAR – Professional Card Layout
───────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  max-width: 1500px;
  margin: 0 auto;
}

.logo-img { 
  margin-top: 12px;
  height: 220px; 
  width: auto; 
  display: block; 
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #1a2b56;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Top Level Navigation links ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { 
  position: relative; 
}


.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item.open > .nav-link {
  color: #f58220;
}

/* Underline Indicator */
.nav-item.open > .nav-link {
  position: relative;
}
.nav-item.open > .nav-link::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 2px;
  background: #f58220;
  z-index: 1000;
}

.nav-chevron {
  width: 10px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.nav-item.open > .nav-link .nav-chevron { 
  transform: rotate(180deg); 
}

/* ─────────────────────────────────────────────
   PROFESSIONAL CARD-BASED MEGA DROPDOWNS
───────────────────────────────────────────── */
.mega-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #eef0f5;
  border-bottom: 1px solid #eef0f5;
  box-shadow: 0 12px 40px rgba(26, 43, 86, 0.08);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 2rem;
}

.mega-col {
  width: 100%;
  max-width: 760px; /* Limits width so descriptions remain scannable */
  display: flex;
  flex-direction: column;
}

/* Layout Meta Tags (Small Context indicator text) */
.mega-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f58220;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mega-col-heading {
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2b56;
  margin: 0 0 24px 0;
  padding: 0;
}

/* The Premium Card Item */
.mega-card {
  display: block;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  margin-bottom: 12px;
  cursor: pointer;
}

.mega-card:last-child {
  margin-bottom: 0;
}

/* Hover States for Active Menu Cards */
.mega-card:not(.coming-soon):hover {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  transform: translateY(-1px);
}

.mega-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2b56;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.mega-card:not(.coming-soon):hover .mega-card-title {
  color: #f58220;
}

.mega-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.5;
}

/* Coming Soon & Inactive Card Configurations */
.coming-soon {
  cursor: default;
  opacity: 0.75;
}

.badge-soon {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #f1f5f9;
  color: #64748b;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* ── Login / Actions Button ── */
.nav-btn-login {
  margin-left: 8px;
  padding: 8px 20px;
  background: transparent;
  color: #1a2b56;
  border: 1.5px solid #1a2b56;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-btn-login:hover {
  background: #1a2b56;
  color: #ffffff;
}

/* Backdrop Overlay */
#megaBackdrop {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(2px); /* Adds high-end glass texture to workspace background */
  z-index: 997;
}
#megaBackdrop.active { 
  display: block; 
}

/* ─────────────────────────────
   MOBILE RESPONSIVE OVERRIDES
───────────────────────────────*/
@media (max-width: 900px) {
  .menu-toggle { 
    display: flex; 
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0; 
    right: 0;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    box-shadow: 0 10px 25px rgba(26, 43, 86, 0.08);
    padding: 16px;
    gap: 4px;
    z-index: 999;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .main-nav.open { 
    display: flex; 
  }

  .nav-item { width: 100%; }
  .nav-link { width: 100%; border-radius: 7px; justify-content: space-between; padding: 12px 14px; }
  .nav-item.open > .nav-link::after { display: none; }

  .mega-menu {
    position: static;
    transform: none !important;
    border: none;
    box-shadow: none;
    display: none;
    padding: 0;
    background: #f8fafc;
    border-radius: 6px;
  }
  .nav-item.open .mega-menu { 
    display: block; 
    opacity: 1; 
  }

  .mega-inner {
    padding: 16px;
  }
  
  .mega-col-heading { 
    margin-bottom: 16px; 
    font-size: 1rem;
  }

  .mega-card {
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
  }

  .nav-btn-login { 
    margin: 12px 0 4px 0; 
    justify-content: center; 
    width: 100%; 
    padding: 12px;
  }
  
  #megaBackdrop { 
    display: none !important; 
  }
}
/* Add space to the left of the cart container on desktop viewports */
.cart-container {
  margin-left: 16px;  /* Adjust this value (e.g., 12px to 24px) to get your preferred spacing */
  margin-right: 8px;  /* Keeps a clean balanced gap before the Login button */
  display: inline-flex;
  align-items: center;
}

/* Optional styling to make sure the icon looks crisp and matches the menu link theme */
.cart-container a {
  color: #1a2b56;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.16s ease;
  padding: 8px;
}

.cart-container a:hover {
  color: #f58220;
}

/* Responsive Override: Adjust layout behavior inside the mobile slide-out drawer */
@media (max-width: 900px) {
  .cart-container {
    margin-left: 14px;  /* Aligns the icon beautifully with text margins on small screens */
    margin-top: 20px;   /* Prevents overlapping vertically on mobile stacks */
    margin-bottom: 8px;
  }
}
/* Increase font size specifically for text-only primary nav links */
.nav-link.nav-link-text {
  font-size: 24px;; /* Adjust to 1.05rem if you want it even larger */
  font-weight: 400;
}

/* Adjust mobile responsive alignment if necessary */
@media (max-width: 900px) {
  .nav-link.nav-link-text {
    font-size: 1.05rem; /* Slightly larger on mobile to make it easy to tap */
    padding: 12px 14px;
  }
}
/* Force hidden auth/profile elements to occupy absolutely zero structural space */
#authBtn[style*="display: none"],
#profileWrap[style*="display: none"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden;
}

/* Ensure the profile icon alignment mirrors your premium navigation buttons */
#profileWrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

/* ── tokens ─────────────────────────────────────────────── */
:root {
  --pd-navy:        #0d1b3e;
  --pd-navy-mid:    #1a2d5a;
  --pd-orange:      #f47b20;
  --pd-orange-dark: #d4631a;
  --pd-orange-pale: #fff3e8;
}

/* ── profile icon button ────────────────────────────────── */
.profile-wrap {
  position: relative;
  display: inline-block;
}

.profile-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pd-orange);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.03em;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-btn:hover,
.profile-btn.open {
  border-color: var(--pd-orange);
  box-shadow: 0 0 0 3px rgba(244, 123, 32, 0.35);
}

/* ── dropdown panel ─────────────────────────────────────── */
.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 290px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(9, 19, 40, 0.28);
  overflow: hidden;
  z-index: 9999;
  animation: pdDropIn 0.18s ease;
}

.profile-dropdown.visible {
  display: block;
}

@keyframes pdDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── header strip (navy bg with avatar + name/email) ─────── */
.pd-header {
  background: var(--pd-navy);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pd-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pd-orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.04em;
}

.pd-info {
  min-width: 0;
}

.pd-name {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-email {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.73rem;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── section label ──────────────────────────────────────── */
.pd-section-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa3b2;
  padding: 0.6rem 1rem 0.2rem;
}

/* ── list item (fav / saved) ────────────────────────────── */
.pd-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: var(--pd-navy);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.pd-item:hover {
  background: var(--pd-orange-pale);
  color: var(--pd-orange-dark);
}

.pd-item svg {
  flex-shrink: 0;
  opacity: 0.65;
}

.pd-item:hover svg {
  opacity: 1;
}

/* ── purchase history row ───────────────────────────────── */
.pd-purchase-row {
  border-left: 3px solid var(--pd-orange);
  margin: 0.2rem 1rem;
  padding: 0.3rem 0.55rem;
  background: var(--pd-orange-pale);
  border-radius: 0 6px 6px 0;
  font-size: 0.76rem;
  color: var(--pd-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-purchase-row span {
  font-weight: 600;
  color: var(--pd-orange-dark);
}

/* ── empty state ────────────────────────────────────────── */
.pd-empty {
  font-size: 0.76rem;
  color: #b0b8c9;
  padding: 0.25rem 1rem 0.5rem;
  font-style: italic;
}

/* ── divider ────────────────────────────────────────────── */
.pd-divider {
  height: 1px;
  background: #f0f2f5;
  margin: 0.35rem 0;
}

/* ── logout button ──────────────────────────────────────── */
.pd-logout {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: #c0392b;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
}

.pd-logout:hover {
  background: #fff0f0;
}


/* MOBILE VIEW */
@media (max-width: 768px) {

  .header-inner {
    position: relative;
  }

  /* HAMBURGER BUTTON */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    z-index: 1002;
  }

  .menu-toggle i {
    font-size: 24px;
    color: #000;
  }

  /* MOBILE NAV MENU */
  .main-nav {

    position: absolute;

    top: 70px;
    left: 0;

    max-width: 100%;

    background: #fff;

    padding: 32px 24px;

    display: none;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 22px;

    border-radius: 0 0 16px 16px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.08);

    z-index: 1001;
  }

  /* SHOW MENU */
  .main-nav.active {
    display: flex;
  }

  /* NAV LINKS */
  .main-nav .nav-link {
    width: 100%;

    text-align: center;

    font-size: 22px;
    font-weight: 400;

    color: #111;
  }

  /* LOGIN BUTTON */
  .main-nav .btn {
    width: 100%;
    text-align: center;
  }

  /* CART */
  .cart-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* PROFILE */
  .profile-wrap {
    position: relative;

    width: fit-content;

    margin: 0 auto;
  }

  .profile-btn {
    margin: 0 auto;
  }

  /* DROPDOWN */
  .profile-dropdown {

    display: none;

    position: absolute;

    top: 48px;

    left: 50%;

    transform: translateX(-50%);

    width: 320px;
    max-width: 90vw;

    background: #fff;

    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.12);

    z-index: 9999;
  }

  .profile-dropdown.show {
    display: block;
  }
  /* CART */
.cart-container {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-container a {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;

  top: -8px;
  right: -10px;

  min-width: 18px;
  height: 18px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
  font-weight: 600;

  background: red;
  color: #fff;
}
}
@media (max-width: 768px) {

  .main-nav {

    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    

    background: #fff;

    padding: 90px 24px 40px;

    display: none;

    flex-direction: column;
    align-items: center;

    gap: 28px;

    /* overflow-y: auto; */

    z-index: 1001;
  }

  .main-nav.active {
    display: flex;
  }

}
/* ================= FIXED NAVBAR & RESPONSIVE HEADER ================= */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 100px; /* Balanced height for the larger logo */
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(26, 43, 86, 0.1);
}



/* Toggle hidden on Desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
}

/* Desktop Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* MOBILE RESPONSIVE (Tablets & Phones) */
@media (max-width: 992px) {
    .menu-toggle {
        display: block; /* Show hamburger only on non-desktop */
    }

    .main-nav {
        display: none; /* Hide standard nav */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        border-bottom: 3px solid var(--orange);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: flex; /* Toggle this via JS */
    }

    .logo-img {
        height: 120px;
    }
    
    .site-header {
        height: 80px;
    }
}

/* ============================================================
   PIXEL-PERFECT SHOPPING CART BADGE GEOMETRY
============================================================ */

/* 1. Reset the container wrap to tightly hug the anchor link content dimensions */
.cart-container {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 16px !important; /* Clean horizontal layout gap between Contact and Profile */
    vertical-align: middle !important;
}

/* 2. Turn the link wrapper itself into the absolute coordinate engine layout boundary */
.cart-container a {
    position: relative !important;
    display: inline-block !important; /* Gives it an explicit, predictable bounding box shape */
    line-height: 1 !important;
    padding: 4px !important; /* Inner click padding box */
    text-decoration: none !important;
}

/* 3. The icon itself */
.cart-container .fa-cart-shopping {
    font-size: 20px !important;
    color: #002147 !important; /* Your brand navy base tone */
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Target the absolute coordinate positions directly relative to the link boundary wrapper box */
#cartCount.cart-badge {
    position: absolute !important;
    
    /* Lock the alignment precisely to the top right corner vertex edge of the icon path */
    top: -8px !important;
    right: -4px !important;
    
    /* Visual Design Accents & Color Palette Rules */
    background-color: #ff3c00 !important; /* Premium brand accent orange highlight */
    color: #ffffff !important;
    
    /* Strict font scaling parameters to guarantee vertical center alignment inside the box */
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 16px !important; /* Must exactly match or be 2px less than height to center numbers */
    text-align: center !important;
    
    /* Geometry circle constraints */
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important; /* Forces a perfect mechanical circle shape profile */
    
    /* Layout positioning engine mechanics inside the badge container box node */
    
    align-items: center !important;
    justify-content: center !important;
    
    /* Polished presentation depth tweaks */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* 1. HIDDEN STATE: Strict visibility blocks when mouse is outside */
.main-nav .nav-item .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important; /* Prevents ghost clicks when hidden */
    
    /* Smooth visual fade transition */
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

/* 2. ACTIVE STATE: Triggered cleanly when mouse enters the link or dropdown block */
.main-nav .nav-item:hover .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* Re-enables clicking inside the dropdown */
}
/* 1. HIDDEN STATE: Strict visibility blocks when mouse is outside */
.main-nav .nav-item .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important; /* Prevents ghost clicks when hidden */
    
    /* Smooth visual fade transition */
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

/* 2. ACTIVE STATE: Triggered cleanly when mouse enters the link or dropdown block */
.main-nav .nav-item:hover .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* Re-enables clicking inside the dropdown */
}
/* ============================================================
   REVERSED TYPOGRAPHY HIERARCHY (BIG TAGS, SMALLER SUBHEADS)
============================================================ */

/* 1. Main Accent Label — Swapped to be the dominant, biggest element */
.main-nav .mega-tag {
        font-family: Crimsonpro variablefont wght, sans-serif !important; /* Switched to bold display font */
    font-size: 22px !important;       /* Making it drastically bigger */
    font-weight: 800 !important;       /* Ultra bold structural thickness */
     /* Clean capitalization style */
    letter-spacing: -0.3px !important; /* Tight tracking for pro editorial aesthetic */
    color: #ff6b00 !important;         /* Vibrant brand orange pop */
    margin-bottom: 4px !important;
    display: block !important;
}

/* 2. Secondary Column Sub-Heading — Scaled down to sit under the tag */
.main-nav .mega-col-heading {
   font-family: Dmsans, sans-serif important; /* Switched to cleaner body font */
    font-size: 14px !important;       /* Small, elegant tag scale */
    font-weight: 800 !important;       /* Medium premium weight */
 
    letter-spacing: 1px !important;    /* Slightly spaced out readability */
         /* Muted high-contrast slate tone */
    margin: 0 0 24px 0 !important;     /* Creates breathing room before the cards */
}
/* 1. Ensure the main container stacks and centers everything vertically */
#mainNav.main-nav.open.active {
    display: flex;
    flex-direction: column;
    align-items: center;      /* Centers items horizontally */
    justify-content: center;   /* Centers items vertically if needed, or use flex-start with gaps */
    text-align: center;
    gap: 10px;                 /* Adds clean, even spacing between all elements */
    width: 100%;
    padding-top: 5px;
}

/* 2. Fix the navigation links so they don't stretch or push content to edges */
@media (max-width: 900px) {
    .nav-link {
        display: inline-flex;     /* Changes from block/flex width 100% */
        width: auto;              /* Lets the link shrink to its text size */
        justify-content: center;  /* Centers text inside the link if width is applied */
        align-items: center;
        padding: 10px 20px;       /* Gives them a nice, clickable touch target */
        text-align: center;
    }
}

/* 3. Ensure the cart and login elements inherit the centering */
.cart-container, 
#authBtn,
.btn.orange {
    margin: 0 auto;           /* Fail-safe backup for horizontal centering */
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
/* 1. Tighten the parent container's layout */
#mainNav.main-nav.open.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* CHANGE THIS: Stops elements from stretching vertically to fill the screen */
    justify-content: flex-start; 
    
    /* Adjust this top padding to control exactly how close the links sit to the logo */
    padding-top: 40px; 
    
    /* Spacing between the individual items */
    gap: 15px; 
}

/* 2. Remove any accidental top margins on the first link wrapper */
.nav-item:first-of-type,
.nav-link:first-of-type {
    margin-top: 0;
}
/* ==========================================================================
   MYWEAVERLABS - LANDING PAGE DM SANS TYPOGRAPHY UNIFICATION (FIXED)
   ========================================================================== */

/* Apply DM Sans universally EXCEPT to icon font elements */
*:not(i):not([class*="fa-"]),
html, 
body,
div, 
span:not([class*="fa-"]), 
h1, h2, h3, h4, h5, h6,
p, 
a, 
li, 
input, 
select, 
button, 
label,
option {
  font-family: 'DM Sans', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure Font Awesome explicitly retains its font family mapping */
.fa, .fas, .far, .fal, .fab, .fa-solid, .fa-regular, .fa-brands {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-weight: 900 !important; /* Required for solid weight icons */
}

/* Ensure bold impact headings maintain their presence */
h1.hero-title, 
h2.cs-title, 
.auth-left h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Subheadings and card titles */
h3, 
h4.mega-col-heading, 
.mega-card-title, 
.auth-right h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Form controls, labels, and fine print updates */
input, 
select, 
button, 
.cs-filter-label, 
.tagline {
  font-weight: 500;
}