/* =================
   NAVIGATION STYLES
   ================= */

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ============= TOP BAR ============= */
.top-bar {
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d2f 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.top-bar-item:hover {
    color: #ffffff;
}

.top-bar-item svg {
    opacity: 0.7;
}

.top-bar-item:hover svg {
    opacity: 1;
}

.top-bar-phone {
    font-weight: 600;
    color: #ffffff;
}

.top-bar-phone:hover {
    color: #007aff;
}

.top-bar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
}

.top-bar-schedule {
    color: rgba(255, 255, 255, 0.7);
}

.top-bar-messengers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-messengers-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

.top-bar-messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.top-bar-messenger.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.top-bar-messenger.whatsapp:hover {
    background: #25d366;
    color: white;
    transform: translateY(-1px);
}

.top-bar-messenger.telegram {
    background: rgba(0, 136, 204, 0.15);
    color: #0088cc;
}

.top-bar-messenger.telegram:hover {
    background: #0088cc;
    color: white;
    transform: translateY(-1px);
}

.top-bar-delivery {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #34c759;
    font-weight: 500;
}

.top-bar-delivery svg {
    opacity: 0.9;
}

/* ============= MEGA MENU ============= */
.nav-item-mega {
    position: relative;
}

.nav-link-mega {
    position: relative;
}

.nav-arrow {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.nav-item-mega:hover .nav-arrow {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 700px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 12px;
    padding: 8px;
}

.nav-item-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 8px solid white;
}

.mega-menu-container {
    display: grid;
    grid-template-columns: 1fr 1fr 200px;
    gap: 24px;
    padding: 20px;
}

.mega-menu-section {
    padding: 8px;
}

.mega-menu-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f5;
}

.mega-menu-title svg {
    color: #007aff;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.mega-menu-list li {
    margin-bottom: 4px;
}

.mega-menu-list a {
    display: block;
    padding: 8px 12px;
    color: #6e6e73;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mega-menu-list a:hover {
    background: rgba(0, 122, 255, 0.08);
    color: #007aff;
    transform: translateX(4px);
}

.mega-menu-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #007aff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mega-menu-all:hover {
    background: rgba(0, 122, 255, 0.1);
}

.mega-menu-brands {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mega-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #1d1d1f;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mega-brand:hover {
    background: #007aff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.mega-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 800;
    flex-shrink: 0;
}

.mega-brand-icon.cat {
    background: linear-gradient(135deg, #f5c518, #e6b000);
    color: #1d1d1f;
}

.mega-brand-icon.komatsu {
    background: linear-gradient(135deg, #005bac, #003d73);
    color: white;
}

.mega-brand-icon.hitachi {
    background: linear-gradient(135deg, #e60012, #b30000);
    color: white;
}

.mega-brand-icon.volvo {
    background: linear-gradient(135deg, #003057, #001f3d);
    color: white;
}

.mega-brand-icon.jcb {
    background: linear-gradient(135deg, #f5c518, #e6b000);
    color: #1d1d1f;
}

.mega-brand-icon.doosan {
    background: linear-gradient(135deg, #ff6b00, #cc5500);
    color: white;
}

.mega-brand:hover .mega-brand-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.mega-menu-promo {
    display: flex;
    align-items: stretch;
}

.mega-promo-card {
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    color: white;
    width: 100%;
}

.mega-promo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    margin: 0 auto 16px;
}

.mega-promo-icon svg {
    color: white;
}

.mega-promo-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.mega-promo-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    line-height: 1.4;
}

.mega-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: white;
    color: #007aff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mega-promo-btn:hover {
    background: #f0f0f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.navbar {
    width: 100%;
    padding: 0;
}

.navbar.full-width {
    max-width: none;
}

.navbar-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    position: relative;
}

/* Logo */
.navbar-brand {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Main Navigation */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: #1d1d1f;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    text-decoration: none;
}

.nav-link svg {
    color: #86868b;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.nav-link:hover {
    color: #007aff;
    background: rgba(0, 122, 255, 0.08);
    transform: translateY(-1px);
}

.nav-link:hover svg {
    color: #007aff;
}

.nav-link.active {
    color: #007aff;
    background: rgba(0, 122, 255, 0.1);
}

.nav-link.active svg {
    color: #007aff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #007aff;
    border-radius: 50%;
}

/* Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Search */
.search-container {
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 280px;
    padding: 10px 16px 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 0.95rem;
    background: rgba(248, 248, 248, 0.8);
    transition: all 0.2s ease;
    outline: none;
}

.search-input:focus {
    width: 320px;
    border-color: #007aff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.search-input::placeholder {
    color: #86868b;
}

.search-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    border-radius: 50%;
    color: #86868b;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
}

.search-clear {
    position: absolute;
    right: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    color: #86868b;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

/* Cart */
.cart-container {
    position: relative;
}

.cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    color: #1d1d1f;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: rgba(248, 248, 248, 0.8);
    min-width: 48px;
    min-height: 48px;
}

.cart-link:hover {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
    transform: translateY(-1px);
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff3b30;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-count.show {
    display: flex;
    transform: scale(1);
}


/* Account */
.account-container {
    position: relative;
}

.account-dropdown {
    position: relative;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(248, 248, 248, 0.8);
    border: none;
    border-radius: 12px;
    color: #1d1d1f;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-btn:hover {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
    transform: translateY(-1px);
}

.account-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
}

.account-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.account-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 280px;
    max-width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1001;
    overflow: hidden;
}

.account-dropdown.active .account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #1d1d1f;
    font-size: 0.95rem;
    transition: background 0.15s ease, color 0.15s ease;
    border-radius: 10px;
    margin: 4px 8px;
    text-decoration: none;
    cursor: pointer;
}

.account-menu-item * {
    pointer-events: none;
}

.account-menu-item svg {
    flex-shrink: 0;
    color: #86868b;
    transition: color 0.15s ease;
}

.account-menu-item:hover svg {
    color: #007aff;
}

.account-menu-item:hover {
    background: rgba(0, 122, 255, 0.08);
    color: #007aff;
}

.account-menu-item.logout-item {
    color: #ff3b30;
}

.account-menu-item.logout-item:hover {
    background: rgba(255, 59, 48, 0.08);
    color: #ff3b30;
}

.account-menu-item.logout-item svg {
    color: #ff3b30;
}

.account-menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 8px 16px;
}

/* Enhanced Account Menu Header */
.account-btn-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.account-menu-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f1f3 100%);
    border-radius: 8px;
    margin: 8px;
    margin-bottom: 4px;
}

.account-menu-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
}

.account-menu-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.account-menu-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-menu-email {
    font-size: 0.8rem;
    color: #86868b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-menu-type {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    color: #6e6e73;
    width: fit-content;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.account-menu-type.partner {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
}

.account-menu-type.manager {
    background: rgba(0, 122, 255, 0.15);
    color: #007aff;
}

.account-menu-type.admin {
    background: rgba(255, 149, 0, 0.15);
    color: #ff9500;
}

/* Company Info Block */
.account-menu-company {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin: 4px 8px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #007aff;
}

.account-menu-company svg {
    color: #007aff;
    flex-shrink: 0;
}

.account-menu-company span {
    font-size: 0.8rem;
    color: #1d1d1f;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Phone Block */
.account-menu-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin: 4px 8px;
    background: rgba(52, 199, 89, 0.08);
    border-radius: 8px;
}

.account-menu-phone svg {
    color: #34c759;
    flex-shrink: 0;
}

.account-menu-phone span {
    font-size: 0.85rem;
    color: #1d1d1f;
    font-weight: 500;
}

/* Section Label */
.account-menu-section-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px 4px;
}

/* Enhanced Menu Items with Two Lines */
.account-menu-item-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.account-menu-item-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: inherit;
}

.account-menu-item-desc {
    font-size: 0.75rem;
    color: #86868b;
    font-weight: 400;
}

.account-menu-item:hover .account-menu-item-desc {
    color: rgba(0, 122, 255, 0.7);
}

.account-menu-item.logout-item:hover .account-menu-item-desc {
    color: rgba(255, 59, 48, 0.7);
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #007aff;
    color: white;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.login-btn:hover {
    background: #0051d5;
    color: white;
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 122, 255, 0.1);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1d1d1f;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle span:nth-child(1) {
    margin-bottom: 4px;
}

.mobile-menu-toggle span:nth-child(2) {
    margin-bottom: 4px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.active .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
}

.mobile-menu-logo .logo-image {
    height: 40px;
    width: auto;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 12px;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    transform: scale(1.05);
}

/* Mobile Contact Section */
.mobile-contact-section {
    padding: 16px 24px;
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d2f 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 12px;
}

.mobile-phone-card {
    background: linear-gradient(135deg, #007aff, #0051d5);
}

.mobile-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.mobile-contact-icon svg {
    color: white;
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-contact-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.mobile-messengers {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.mobile-messenger {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-messenger.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.mobile-messenger.whatsapp:hover,
.mobile-messenger.whatsapp:active {
    background: #25d366;
    color: white;
}

.mobile-messenger.telegram {
    background: rgba(0, 136, 204, 0.15);
    color: #0088cc;
}

.mobile-messenger.telegram:hover,
.mobile-messenger.telegram:active {
    background: #0088cc;
    color: white;
}

.mobile-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.mobile-schedule svg {
    color: #34c759;
}

/* Mobile Search Section */
.mobile-search-section {
    padding: 24px;
    background: #f5f5f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.2s ease;
}

.mobile-search-wrapper:focus-within {
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.mobile-search-icon {
    color: #86868b;
    margin-right: 12px;
    flex-shrink: 0;
}

.mobile-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #1d1d1f;
    background: transparent;
}

.mobile-search-input::placeholder {
    color: #86868b;
}

/* Mobile Navigation */
.mobile-navigation {
    padding: 8px 0;
}

.mobile-nav-section {
    padding: 0 24px;
}

.mobile-nav-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding: 0 4px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: #1d1d1f;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 14px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background: #ffffff;
    color: #007aff;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.1);
}

.mobile-nav-link:active {
    transform: translateX(4px) scale(0.98);
}

.mobile-nav-link svg {
    color: #86868b;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover svg {
    color: #007aff;
}

/* Mobile Actions Section */
.mobile-actions-section {
    padding: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 16px;
}

.mobile-action-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fbfbfd;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    color: #1d1d1f;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.mobile-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.mobile-action-card:hover::before {
    left: 100%;
}

.mobile-action-card:hover {
    background: #ffffff;
    border-color: rgba(0, 122, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.1);
}

.mobile-action-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 12px;
    color: #007aff;
    flex-shrink: 0;
}

.mobile-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff3b30;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    min-width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-cart-badge.show {
    display: flex;
    transform: scale(1);
}

.mobile-action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-action-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
}

.mobile-action-subtitle {
    font-size: 0.875rem;
    color: #86868b;
}

.mobile-action-arrow {
    color: #86868b;
    transition: all 0.2s ease;
}

.mobile-action-card:hover .mobile-action-arrow {
    color: #007aff;
    transform: translateX(4px);
}

/* Mobile Login Card */
.mobile-login-card {
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    color: white;
    border-color: transparent;
}

.mobile-login-card .mobile-action-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.mobile-login-card .mobile-action-title,
.mobile-login-card .mobile-action-subtitle,
.mobile-login-card .mobile-action-arrow {
    color: white;
}

.mobile-login-card:hover {
    background: linear-gradient(135deg, #0051d5 0%, #003d99 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 122, 255, 0.3);
}

/* Mobile Account Section */
.mobile-account-section {
    margin-bottom: 16px;
}

.mobile-account-card {
    background: #fbfbfd;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.mobile-account-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-account-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.mobile-account-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-account-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
}

.mobile-account-email {
    font-size: 0.875rem;
    color: #86868b;
}

.mobile-account-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-account-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: #1d1d1f;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.mobile-account-link:hover {
    background: #ffffff;
    color: #007aff;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.1);
}

.mobile-account-link.admin-link {
    color: #007aff;
}

.mobile-account-link.admin-link:hover {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.15);
}

.mobile-account-link.logout-link {
    color: #ff3b30;
    border-color: rgba(255, 59, 48, 0.1);
}

.mobile-account-link.logout-link:hover {
    background: #ffffff;
    color: #ff3b30;
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mega-menu {
        min-width: 600px;
    }
    
    .mega-menu-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .mega-menu-promo {
        display: none;
    }
}

@media (max-width: 1024px) {
    .search-input {
        width: 240px;
    }
    
    .search-input:focus {
        width: 280px;
    }
    
    .account-text {
        max-width: 100px;
    }
    
    .top-bar-left {
        gap: 12px;
    }
    
    .top-bar-right {
        gap: 12px;
    }
    
    .top-bar-messengers-label {
        display: none;
    }
    
    .top-bar-delivery span {
        display: none;
    }
    
    .mega-menu {
        min-width: 500px;
    }
    
    .mega-menu-brands {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .navbar-nav,
    .search-container,
    .account-container {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-content {
        padding: 12px 20px;
    }
    
    .logo-image {
        height: 44px;
    }
    
    .cart-link {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .mega-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar-content {
        padding: 12px 16px;
    }
    
    .mobile-menu-content {
        width: 100%;
        max-width: none;
    }
    
    .mobile-menu-header {
        padding: 16px 20px;
    }
    
    .mobile-search-section {
        padding: 20px;
    }
    
    .mobile-nav-section {
        padding: 0 20px;
    }
    
    .mobile-actions-section {
        padding: 20px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .mobile-menu-logo .logo-image {
        height: 36px;
    }
}

/* Animation improvements */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu-content,
    .mobile-menu-overlay,
    .mobile-nav-link,
    .mobile-action-card,
    .mobile-account-link {
        transition: none;
    }
    
    .mobile-action-card::before {
        display: none;
    }
}

/* Dark mode support (только при явном выборе) */
[data-theme="dark"] .mobile-menu-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
}

[data-theme="dark"] .mobile-menu-header {
    background: rgba(26, 26, 26, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .mobile-search-section {
    background: rgba(26, 26, 26, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .mobile-search-wrapper {
    background: rgba(45, 45, 45, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .mobile-search-input {
    color: #ffffff;
}

[data-theme="dark"] .mobile-nav-title {
    color: #999999;
}

[data-theme="dark"] .mobile-nav-link,
[data-theme="dark"] .mobile-account-link {
    color: #ffffff;
    background: rgba(45, 45, 45, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .mobile-action-card {
    background: rgba(45, 45, 45, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .mobile-action-title {
    color: #ffffff;
}

[data-theme="dark"] .mobile-account-card {
    background: rgba(45, 45, 45, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .mobile-account-name {
    color: #ffffff;
}
