/*your custom css goes here*/
.nav-tabs-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

/* Style the tabs */
.nav-tabs {
    border: none;
    background-color: #f8f9fa;
    border-radius: 50px !important;
    padding: 5px;
    margin-bottom: 20px;
}

.nav-tabs .nav-item {
    margin: 0 5px;
}

.nav-tabs .nav-link {
    border: none;
    padding: 10px 30px;
    border-radius: 25px !important;
    color: #6c757d;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.nav-tabs .nav-link.active {
    background-color: var(--primary) !important;
    color: white !important;
    border: none;
}

.tab-content {
    width: 100%;
}

/* Modern Header Styles */
.modern-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eee;
}

.header-logo {
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.home-icon-link {
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.home-icon-link:hover {
    background: #e62e2e;
    transform: translateY(-2px);
}

.home-icon-link:hover svg path {
    stroke: #ffffff !important;
    fill: rgba(255, 255, 255, 0.1) !important;
}

/* Modern Search Bar */
.modern-search-box {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.modern-search-box .form-control {
    height: 48px;
    border-radius: 24px;
    border: 2px solid #e9ecef;
    padding: 10px 50px 10px 20px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.modern-search-box .form-control:focus {
    border-color: #e62e2e;
    box-shadow: 0 0 0 0.2rem rgba(230, 46, 46, 0.1);
    outline: none;
}

.modern-search-box .search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: #e62e2e;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modern-search-box .search-btn:hover {
    background: #d41f1f;
    transform: translateY(-50%) scale(1.1);
}

/* Modern User Info */
.nav-user-info {
    padding: 8px 16px;
    border-radius: 24px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-user-info:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-user-img {
    transition: all 0.3s ease;
}

.nav-user-info:hover .nav-user-img {
    transform: scale(1.1);
}

/* Modern Menu Bar */
.modern-menu-bar {
    background: linear-gradient(135deg, #e62e2e 0%, #d41f1f 100%);
    box-shadow: 0 4px 12px rgba(230, 46, 46, 0.2);
}

.category-menu-bar-modern {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.category-menu-bar-modern:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.header_menu_links {
    position: relative;
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600 !important;
}

.header_menu_links:hover,
.header_menu_links.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.header_menu_links::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.header_menu_links:hover::after,
.header_menu_links.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Modern Cart */
.modern-cart {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.modern-cart:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Badge animations */
.badge-modern {
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.1);
    }
}

/* Dropdown improvements */
.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

/* Responsive improvements */
@media (max-width: 991px) {
    .modern-header {
        padding: 10px 0;
    }

    .modern-search-box .form-control {
        height: 42px;
        border-radius: 21px;
    }

    .modern-search-box .search-btn {
        width: 34px;
        height: 34px;
    }
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e62e2e;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
}

/* Fix for RTL layout */
[dir="rtl"] .home-icon-link {
    margin-right: 0;
    margin-left: 12px;
}

/* Mobile menu button styling */
.btn.active {
    opacity: 1;
}

.btn.active:hover {
    opacity: 0.8;
}

/* Search box improvements */
.search-input-box {
    width: 100%;
    position: relative;
}

/* Category menu improvements */
.all-category {
    display: flex;
    align-items: center;
}

/* Fix menu bar height */
.modern-menu-bar .d-flex {
    align-items: center;
}

/* Cart icon styling */
.nav-cart-box {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Login/Register buttons */
.nav-user-info a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-user-info a:hover {
    color: #e62e2e !important;
}

/* Fix for sticky header */
.sticky-top {
    transition: all 0.3s ease;
}

/* Better shadow for elevation */
.box-shadow-8 {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Better mobile responsiveness */
@media (max-width: 767px) {
    .modern-header {
        padding: 8px 0;
    }

    .header-logo img {
        max-height: 35px !important;
    }
}