/* ========== UNIVERSAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.menu-container {
    position: absolute;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active .menu-container {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #BA0909;
}

.menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-close:hover {
    transform: rotate(90deg);
}

.menu-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-link:hover {
    background: #f9f9f9;
    color: #BA0909;
}

.menu-link i {
    width: 24px;
    margin-right: 15px;
    text-align: center;
}

.menu-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #BA0909;
    color: white;
    transform: translateY(-3px);
}

.copyright {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ========== HEADER ========== */
.header-top-bar {
    padding: 10px 0;
    font-size: 14px;
    background-color: #000;
    color: #fff;
}

.header-contact-info ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-contact-info a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.header-contact-info a:hover {
    color: #BA0909 !important;
}

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

.header-auth-links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.auth-btn {
    transition: all 0.3s ease;
    font-size: 14px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.main-header {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background-color: white;
}

.main-menu ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu a {
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    color: #333;
}

.main-menu a:hover,
.main-menu li.active a {
    color: #BA0909 !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle,
.vs-menu-toggle {
    font-size: 18px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
    transition: color 0.3s;
}

.search-toggle:hover,
.vs-menu-toggle:hover {
    color: #BA0909 !important;
}

/* ========== CART ========== */
.cart-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s;
}

.cart-icon:hover {
    color: #BA0909;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #BA0909;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-header {
    padding: 20px;
    background: #BA0909;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cart-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-body {
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.cart-item-price {
    color: #BA0909;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.quantity-btn {
    background: #f5f5f5;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #eee;
    background: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

/* ========== SEARCH MODAL ========== */
.modal-content {
    border-radius: 0;
    border: none;
}

#searchInput {
    padding: 10px 15px;
    border: 1px solid #BA0909;
}

#searchInput:focus {
    box-shadow: 0 0 0 0.25rem rgba(186, 9, 9, 0.25);
}

#searchResults {
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item a {
    color: #333;
    text-decoration: none;
}

.search-result-item h6 {
    margin-bottom: 5px;
    color: #BA0909;
}

.search-result-item p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

.no-results {
    color: #666;
    font-style: italic;
    padding: 10px;
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-button {
    position: fixed;
    bottom: 15px;
    left: 16px;
    z-index: 9999;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .header-top-bar {
        display: block !important;
        padding: 8px 0;
    }
    
    .header-social {
        display: flex;
        gap: 15px;
        align-items: center;
        height: 100%;
    }
    
    .header-auth-links {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        width: 100%;
    }
    
    .mobile-auth-btn {
        background-color: #BA0909 !important;
        color: white !important;
        padding: 4px 12px !important;
        border-radius: 4px !important;
        text-decoration: none !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        border: none !important;
        white-space: nowrap;
    }
    
    .col-6.d-lg-none.text-end {
        display: flex;
        justify-content: flex-end;
    }
    
    .header-contact-info {
        display: none;
    }
    
    .main-menu ul {
        gap: 20px;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 767px) {
    .logo img {
        max-height: 50px;
    }
    
    .header-phone span {
        display: none;
    }
    
    .auth-btn {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .menu-container {
        width: 85%;
    }
}