/* Shared site chrome: top bar, auth, nav, mega menu, support widget */
:root {
    --font-body: 'Vazirmatn', 'Vazir', 'Segoe UI', Tahoma, sans-serif;
}

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

.social-svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.footer-social .social-svg,
.contact-panel-social .social-svg {
    width: 22px;
    height: 22px;
}

        /* ========== نوار بالایی ========== */
        .top-bar {
            background: linear-gradient(90deg, #e3f2fd 0%, #bbdefb 100%);
            padding: 10px 0;
            font-size: 13px;
            border-bottom: 1px solid rgba(33, 150, 243, 0.15);
        }

        .top-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .top-bar-contact {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .top-bar-contact a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #1e293b;
            transition: color 0.25s ease;
            text-decoration: none;
        }

        .top-bar-contact a:hover {
            color: #1976d2;
        }

        .top-bar-contact span:not(.contact-ltr) {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #1e293b;
            transition: color 0.25s ease;
        }

        .top-bar-contact span:not(.contact-ltr):hover {
            color: #1976d2;
        }

        .top-bar-contact .contact-ltr {
            direction: ltr;
            unicode-bidi: isolate;
            display: inline-block;
        }

        .top-bar-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .top-bar-social {
            display: flex;
            gap: 6px;
        }

        .top-bar-social a {
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.8);
            padding: 6px;
            transition: all 0.25s ease;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
            overflow: hidden;
        }

        .top-bar-social a:hover {
            background: #42a5f5;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(33, 150, 243, 0.35);
        }

        .top-bar-social .social-icon {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .social-svg {
            width: 20px;
            height: 20px;
            display: block;
            fill: currentColor;
        }

        .contact-panel-social .social-svg,
        .footer-social .social-svg {
            width: 22px;
            height: 22px;
        }

        .btn-login {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 9px 20px;
            border-radius: 999px;
            background: linear-gradient(135deg, #42a5f5, #1976d2);
            color: #fff;
            font-weight: 600;
            font-size: 13px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
            background: linear-gradient(135deg, #2196f3, #1565c0);
        }

        /* ========== مودال ورود / ثبت نام ========== */
        .auth-overlay {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(8px);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .auth-overlay.is-open {
            display: flex;
            opacity: 1;
        }
        .auth-card {
            width: 100%;
            max-width: 420px;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.05);
            overflow: hidden;
            transform: scale(0.95);
            transition: transform 0.3s ease;
        }
        .auth-overlay.is-open .auth-card {
            transform: scale(1);
        }
        .auth-card-header {
            background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
            padding: 24px 28px;
            text-align: center;
        }
        .auth-card-header h3 {
            color: #fff;
            font-size: 1.35rem;
            margin-bottom: 4px;
        }
        .auth-card-header p {
            color: rgba(255,255,255,0.75);
            font-size: 13px;
        }
        .auth-tabs {
            display: flex;
            border-bottom: 2px solid #e2e8f0;
            padding: 0 24px;
            gap: 0;
        }
        .auth-tabs button {
            flex: 1;
            padding: 14px 16px;
            border: none;
            background: none;
            font-family: inherit;
            font-size: 14px;
            font-weight: 600;
            color: #64748b;
            cursor: pointer;
            position: relative;
            transition: color 0.2s;
        }
        .auth-tabs button:hover { color: #1976d2; }
        .auth-tabs button.active {
            color: #1976d2;
        }
        .auth-tabs button.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: 0;
            left: 0;
            height: 2px;
            background: linear-gradient(90deg, #42a5f5, #1976d2);
            border-radius: 2px 2px 0 0;
        }
        .auth-body { padding: 24px 28px 28px; }
        .auth-form { display: none; }
        .auth-form.active { display: block; }
        .auth-form .field {
            margin-bottom: 16px;
        }
        .auth-form .field label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            color: #475569;
            margin-bottom: 6px;
        }
        .auth-form .field input {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            font-family: inherit;
            font-size: 14px;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .auth-form .field input:focus {
            outline: none;
            border-color: #42a5f5;
            box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
        }
        .auth-form .btn-submit {
            width: 100%;
            padding: 12px 20px;
            margin-top: 8px;
            border: none;
            border-radius: 10px;
            background: linear-gradient(135deg, #42a5f5, #1976d2);
            color: #fff;
            font-weight: 600;
            font-size: 14px;
            font-family: inherit;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 4px 14px rgba(33, 150, 243, 0.35);
        }
        .auth-form .btn-submit:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
        }
        .auth-form .btn-submit:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }
        .auth-form .msg {
            font-size: 13px;
            margin-top: 12px;
            padding: 10px 12px;
            border-radius: 8px;
            display: none;
        }
        .auth-form .msg.error { display: block; background: #fef2f2; color: #b91c1c; }
        .auth-form .msg.success { display: block; background: #f0fdf4; color: #15803d; }
        .auth-close {
            position: absolute;
            top: 16px;
            left: 16px;
            width: 40px;
            height: 40px;
            border: none;
            background: rgba(255,255,255,0.15);
            color: #fff;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
        .auth-close:hover { background: rgba(255,255,255,0.25); }
        .auth-card { position: relative; }
        .user-menu {
            display: none;
            align-items: center;
            gap: 10px;
        }
        .user-menu.visible { display: flex; }
        .user-menu .welcome {
            font-size: 13px;
            color: #0f172a;
            font-weight: 600;
        }
        .user-menu .btn-logout {
            padding: 8px 16px;
            border-radius: 999px;
            border: 1px solid #e2e8f0;
            background: #fff;
            color: #64748b;
            font-size: 12px;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.2s;
        }
        .user-menu .btn-logout:hover {
            border-color: #f87171;
            color: #dc2626;
            background: #fef2f2;
        }
        .auth-trigger-wrap .btn-login { display: inline-flex; }
        .auth-trigger-wrap.logged-in .btn-login { display: none; }
        .auth-trigger-wrap.logged-in .user-menu.visible { display: flex; }

        /* ========== نوار ناوبری اصلی ========== */
        .main-nav {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(12px);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
            transition: box-shadow 0.3s ease;
        }

        .main-nav:hover {
            box-shadow: 0 4px 24px rgba(33, 150, 243, 0.08);
        }

        .main-nav {
            position: relative;
        }

        .main-nav .container {
            display: grid;
            grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 12px 20px;
        }

        .logo-wrap {
            display: flex;
            align-items: center;
            gap: 12px;
            justify-self: start;
            transition: transform 0.25s ease, opacity 0.25s ease;
        }

        .logo-wrap:hover {
            transform: scale(1.02);
            opacity: 0.95;
        }

        .logo-icon {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(33, 150, 243, 0.15);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            transition: box-shadow 0.25s ease, border-color 0.25s ease;
        }

        .logo-wrap:hover .logo-icon {
            box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
            border-color: rgba(33, 150, 243, 0.3);
        }

        .logo-icon .logo-img {
            width: 28px;
            height: 28px;
            object-fit: contain;
            display: block;
            transition: transform 0.25s ease;
        }

        .logo-wrap:hover .logo-icon .logo-img {
            transform: scale(1.08);
        }

        .logo-text-wrap {
            display: flex;
            flex-direction: column;
            gap: 0;
            line-height: 1.3;
        }

        .logo-text {
            font-weight: 700;
            font-size: 18px;
            color: #1e293b;
            transition: color 0.25s ease;
        }

        .logo-subtitle {
            font-size: 12px;
            font-weight: 500;
            color: #64748b;
            transition: color 0.25s ease;
        }

        .logo-wrap:hover .logo-text,
        .logo-wrap:hover .logo-subtitle {
            color: #1976d2;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            justify-content: center;
            justify-self: center;
            gap: 4px;
        }

        .nav-menu > a:not(.btn-nav-cta),
        .nav-item-has-mega > a {
            padding: 10px 16px;
            border-radius: 10px;
            color: #475569;
            font-size: 14px;
            font-weight: 500;
            position: relative;
            transition: color 0.25s ease, background 0.25s ease;
        }

        .nav-menu > a:not(.btn-nav-cta)::after {
            content: '';
            position: absolute;
            bottom: 6px;
            right: 16px;
            left: 16px;
            height: 2px;
            background: linear-gradient(90deg, #42a5f5, #1976d2);
            border-radius: 1px;
            transform: scaleX(0);
            transition: transform 0.25s ease;
        }

        .nav-menu > a:not(.btn-nav-cta):hover,
        .nav-item-has-mega > a:hover {
            color: #1976d2;
            background: rgba(33, 150, 243, 0.06);
        }

        .nav-menu > a:not(.btn-nav-cta):hover::after {
            transform: scaleX(1);
        }

        .nav-menu > a.active:not(.btn-nav-cta),
        .nav-item-has-mega > a.active {
            background: linear-gradient(135deg, #42a5f5, #1976d2);
            color: #fff;
            box-shadow: 0 4px 14px rgba(33, 150, 243, 0.35);
        }

        .nav-menu > a.active::after {
            display: none;
        }

        .nav-menu > a.btn-nav-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            margin-inline-start: 8px;
            border-radius: 10px;
            background: linear-gradient(135deg, #f97316, #ea580c);
            color: #fff;
            font-weight: 600;
            font-size: 14px;
            line-height: 1.2;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
            box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
        }

        .nav-menu > a.btn-nav-cta::after {
            display: none;
        }

        .nav-menu > a.btn-nav-cta:hover {
            color: #fff;
            background: linear-gradient(135deg, #fb923c, #f97316);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
        }

        .nav-toggle {
            display: none;
            justify-self: end;
            width: 44px;
            height: 44px;
            border: none;
            border-radius: 10px;
            background: #f1f5f9;
            color: #1e293b;
            font-size: 22px;
            cursor: pointer;
            align-items: center;
            justify-content: center;
            padding: 0;
        }

        .nav-toggle:hover {
            background: #e2e8f0;
        }

        /* منوی مگا فروشگاه */
.nav-item-has-mega {
    position: relative;
}
.nav-item-has-mega > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-item-has-mega > a::after {
    content: '';
    width: 0;
    height: 0;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.55;
    transition: transform 0.2s ease;
}
.nav-item-has-mega:hover > a::after {
    transform: rotate(180deg);
}
.nav-mega {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    right: auto;
    width: min(920px, 92vw);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 200;
    overflow: hidden;
}
.nav-item-has-mega:hover .nav-mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.nav-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1976d2 100%);
    color: #fff;
}
.nav-mega-head-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}
.nav-mega-head-text span {
    font-size: 12px;
    opacity: 0.85;
}
.nav-mega-all-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}
.nav-mega-all-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateX(-2px);
}
.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 8px 4px 4px;
}
.nav-mega-col {
    min-width: 0;
    padding: 16px 18px 14px;
    border-left: 1px solid #f1f5f9;
}
.nav-mega-col:first-child {
    border-left: none;
}
.nav-mega-col h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0f2fe;
}
.nav-mega-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #e0f2fe, #fef3c7);
    font-size: 14px;
    flex-shrink: 0;
}
.nav-mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-mega-col li {
    margin-bottom: 2px;
}
.nav-mega-col a {
    font-size: 12.5px;
    color: #64748b;
    padding: 6px 10px;
    display: block;
    border-radius: 8px;
    transition: color 0.18s, background 0.18s, padding-right 0.18s;
}
.nav-mega-col a:hover {
    color: #1976d2;
    background: rgba(33, 150, 243, 0.08);
    padding-right: 14px;
}
.nav-mega-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #1976d2 !important;
    padding: 4px 0 !important;
    background: none !important;
}
.nav-mega-more:hover {
    color: #1565c0 !important;
    text-decoration: underline;
}
.nav-mega-bottom {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    padding: 10px 16px 14px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
    margin: 0;
}
@media (max-width: 900px) {
    .nav-mega-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-mega-col:nth-child(odd) {
        border-left: none;
    }
    .nav-mega-col:nth-child(-n+2) {
        border-bottom: 1px solid #f1f5f9;
    }
}

        .nav-toggle span {
            display: block;
            width: 22px;
            height: 2px;
            background: currentColor;
            border-radius: 1px;
        }

        .nav-toggle span+span {
            margin-top: 5px;
        }

        .nav-toggle span:first-child {
            margin-top: 0;
        }

        .main-nav {
            transition: box-shadow 0.3s ease, background 0.3s ease;
        }
        .main-nav.scrolled {
            box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
            background: rgba(255, 255, 255, 0.98);
        }

        /* ========== ویجت پشتیبانی سایت ========== */
        .support-widget-btn {
            position: fixed;
            left: 24px;
            bottom: 24px;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, #f97316, #ea580c);
            color: #fff;
            border: none;
            box-shadow: 0 4px 20px rgba(249, 115, 22, 0.45);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            z-index: 999;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .support-widget-btn:hover {
            transform: scale(1.08);
            box-shadow: 0 6px 24px rgba(249, 115, 22, 0.5);
        }
        .support-widget-box {
            position: fixed;
            left: 24px;
            bottom: 90px;
            width: 380px;
            max-width: calc(100vw - 48px);
            height: 420px;
            max-height: 70vh;
            background: #f1f5f9;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.2);
            display: none;
            flex-direction: column;
            z-index: 1000;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,0.06);
        }
        .support-widget-box.is-open {
            display: flex;
            animation: supportPop 0.25s ease;
        }
        @keyframes supportPop {
            from { opacity: 0; transform: scale(0.95) translateY(10px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }
        .support-widget-header {
            background: linear-gradient(135deg, #f97316, #ea580c);
            padding: 16px 44px 16px 16px;
            color: #fff;
            position: relative;
        }
        .support-widget-header h4 {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 2px;
        }
        .support-widget-header p {
            font-size: 12px;
            opacity: 0.95;
        }
        .support-widget-close {
            position: absolute;
            top: 50%;
            right: 12px;
            transform: translateY(-50%);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255,255,255,0.25);
            border: none;
            color: #fff;
            font-size: 18px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
        .support-widget-close:hover {
            background: rgba(255,255,255,0.4);
        }
        .support-widget-clear {
            position: absolute;
            bottom: 8px;
            right: 44px;
            padding: 4px 10px;
            border: none;
            border-radius: 6px;
            background: rgba(255,255,255,0.2);
            color: #fff;
            font-size: 11px;
            font-family: inherit;
            cursor: pointer;
            transition: background 0.2s;
        }
        .support-widget-clear:hover {
            background: rgba(255,255,255,0.35);
        }
        .support-widget-avatars {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
        }
        .support-widget-avatars span {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            border: 2px solid #fff;
            margin-right: -8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
        }
        .support-widget-body {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            background-image: radial-gradient(circle at 20px 20px, rgba(0,0,0,0.04) 1px, transparent 1px),
                radial-gradient(circle at 40px 40px, rgba(0,0,0,0.03) 1px, transparent 1px);
            background-size: 32px 32px;
        }
        .support-widget-welcome {
            font-size: 13px;
            color: #64748b;
            text-align: center;
            padding: 24px 12px;
        }
        #supportWidgetMessages { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
        .support-msg-bubble {
            max-width: 90%;
            padding: 8px 12px;
            border-radius: 12px;
            font-size: 13px;
        }
        .support-msg-bubble.visitor { align-self: flex-end; background: rgba(33, 150, 243, 0.2); color: #0f172a; }
        .support-msg-bubble.support { align-self: flex-start; background: rgba(249, 115, 22, 0.2); color: #0f172a; }
        .support-msg-bubble .bubble-time { font-size: 10px; color: #64748b; margin-top: 2px; }
        .support-widget-footer {
            padding: 12px;
            background: #fff;
            border-top: 1px solid #e2e8f0;
        }
        .support-widget-input-wrap {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 6px 12px;
        }
        .support-widget-input-wrap:focus-within {
            border-color: #f97316;
            box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.15);
        }
        .support-widget-input-wrap input {
            flex: 1;
            border: none;
            background: none;
            padding: 10px 8px;
            font-family: inherit;
            font-size: 14px;
            direction: rtl;
        }
        .support-widget-input-wrap input::placeholder {
            color: #94a3b8;
        }
        .support-widget-input-wrap input:focus {
            outline: none;
        }
        .support-widget-actions {
            display: flex;
            gap: 4px;
        }
        .support-widget-actions button {
            width: 36px;
            height: 36px;
            border: none;
            background: none;
            color: #94a3b8;
            cursor: pointer;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.2s, background 0.2s;
        }
        .support-widget-actions button:hover {
            color: #f97316;
            background: rgba(249, 115, 22, 0.1);
        }
        @media (max-width: 480px) {
            .support-widget-box { left: 12px; bottom: 80px; width: calc(100vw - 24px); }
            .support-widget-btn { left: 12px; bottom: 16px; }
        }
@media (max-width: 900px) {
    .nav-mega-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-mega {
        display: none;
    }
}

@media (max-width: 768px) {
            .top-bar {
                padding: 8px 0;
                font-size: 12px;
            }

            .top-bar .container {
                flex-direction: column;
                gap: 8px;
                padding: 0 12px;
            }

            .top-bar-contact {
                flex-wrap: wrap;
                justify-content: center;
                gap: 12px;
            }

            .top-bar-contact span {
                font-size: 12px;
            }

            .top-bar-right {
                flex-wrap: wrap;
                justify-content: center;
            }

            .btn-login {
                padding: 8px 16px;
                font-size: 12px;
            }

            .main-nav .container {
                display: flex;
                justify-content: space-between;
                padding: 10px 12px;
                flex-wrap: wrap;
            }

            .nav-toggle {
                display: flex;
                flex-direction: column;
            }

            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                right: 0;
                left: 0;
                flex-direction: column;
                align-items: stretch;
                justify-content: flex-start;
                background: #fff;
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
                padding: 12px;
                border-radius: 0 0 12px 12px;
                gap: 4px;
            }

            .main-nav.nav-open .nav-menu {
                display: flex;
            }

            .nav-menu > a:not(.btn-nav-cta),
            .nav-item-has-mega > a,
            .nav-menu > a.btn-nav-cta {
                padding: 12px 16px;
                border-radius: 8px;
            }

            .nav-menu > a.btn-nav-cta {
                margin: 0;
                justify-content: center;
            }

            .logo-text {
                font-size: 16px;
            }

            .logo-subtitle {
                font-size: 11px;
            }