/* Header Styles */

/* Top Header */
.top-header {
    background: #131921;
    color: white;
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    z-index: 1001;
    width: 100%;
}

.top-header-link {
    color: white;
    font-size: 13px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.top-header-link:hover {
    opacity: 1;
    color: white;
}

.top-header-promo {
    color: white;
    font-size: 13px;
    font-weight: 500;
}

/* Main Header */
.main-header {
    background: #171e27;
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
}

#cartDeleteModal{
    z-index: 20000000000;
}
.main-header.scrolled {
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo-img {
    max-width: 90px;
    height: auto;
}

/* Mobile Header Toggle */
.mobile-header-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}
/* Hidden state */
.shop_by_category_menu {
    position: absolute;
    top: 50px;
    left: 0;
    list-style: none;
    background: #fff;
    z-index: 100;
    width: 200px;

    flex-direction: column;
    align-items: start;
    border: 1px solid #c4c4c4;
    padding: 0 10px;
    border-radius: 5px;

    opacity: 0;                 /* Hide */
    visibility: hidden;         /* Remove from view */
    transform: translateY(10px);/* Slide down effect */
    transition: all 0.3s ease;  /* Smooth animation */
}

.shop_by_category_menu li {
    padding: 10px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #c4c4c4;
}

.shop_by_category_menu li a {
    text-decoration: none;
    color: #000;
}

/* Show on hover */
.nav-category-btn:hover .shop_by_category_menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Mobile Search Toggle */
.mobile-search-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

/* New Search Container */
.search-container-new {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 4px;
    position: relative;
}

.category-dropdown {
    display: none; /* Hidden - not used anymore */
}

.search-input-new {
    flex: 1;
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.search-input-full {
    padding-right: 60px; /* Make space for search button */
}

.search-btn-new {
    background: #febd69;
    border: none;
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
    color: #000000;
    cursor: pointer;
    transition: background 0.3s ease;
    position: absolute;
    right: 0;
}

.search-btn-new:hover {
    background: #e89610;
}

.search-btn-new i {
    font-size: 16px;
}

/* Header Actions New */
.header-actions-new {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: flex-end;
}

.help-section {
    flex-direction: column;
    align-items: flex-start;
    color: white;
}

.help-label {
    font-size: 11px;
    opacity: 0.8;
}

.help-phone {
    font-size: 15px;
    font-weight: 600;
}

.account-section {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.account-section:hover {
    color: #febd69;

}
.account-section:hover .account-label{
    color: white;
}

.account-section i {
    font-size: 24px;
}

.account-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.account-label {
    font-size: 11px;
    color: white;
}

.account-action {
    font-size: 13px;
    font-weight: 600;
}

.cart-section {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    cursor: pointer;
    position: relative;
    transition: opacity 0.3s ease;
    transition: all ease-in 0.2s;
}

.cart-section:hover {
    color: #febd69;

}
.cart-section:hover .cart-label{
    color: white;
}
.cart-section i {
    font-size: 24px;
}

.cart-section svg {
    width: 24px;
    height: 24px;
}

.cart-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cart-label {
    font-size: 11px;
    color: white;
}

.cart-items-label {
    font-size: 13px;
    font-weight: 600;
}

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y:auto;
    background: #2c3540;
    z-index: 1002;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

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

.mobile-nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.mobile-nav-link i {
    color: #febd69;
    width: 20px;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #0b2baa, #0df8de);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.logo-icon i {
    color: white;
    font-size: 20px;
}

.logo-text .company-name {
    color: #0b2baa;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.logo-text .company-subtitle {
    color: #0df8de;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
}

/* Old styles - keeping for backward compatibility */
.location-selector {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
    background: white;
    font-size: 14px !important;
}

.search-container {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #f8f9fa;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: #febd69;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1rem;
}

.user-icon {
   text-decoration: none;
    color: white;
    font-size: 18px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-price {
    font-weight: 600;
    color: white;
}

.cart-icon-container {
    position: relative;
}

.cart-icon {
    color: white;
    font-size: 18px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-count {
   position: absolute;
    top: 0px;
    right: -11px;
    background: #febd69;
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Navigation Links */
.nav-links {
    background: #232f3e;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

.nav-links .container {
    max-width: 100%;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.nav-container-new {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-category-btn {
    position: relative;
    background: transparent;
    color: white;
    border: none;
    padding: 14px 25px 14px 0;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-link-new {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.nav-link-new:hover,.nav-category-btn:hover {
    color: #febd69;
}

/* Active Navigation States */
.nav-link-new.active,
.categories-dropdown-trigger.active,
.topdeals-dropdown-trigger.active,
.nav-category-btn.active {
    color: #febd69;
    background: rgba(254, 189, 105, 0.1);
    border-bottom: 3px solid #febd69;
}

.shop_by_category_menu li a.active {
    color: #febd69;
    font-weight: 700;
    background: rgba(254, 189, 105, 0.1);
}

.sale_badge {
    width: auto !important;
    position: relative !important;
    background: #199588 !important;
    color: white !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
}

.nav-offers-btn {
    background: transparent;
    color: #fff;
    border: none;
    padding: 14px 0 14px 25px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-offers-btn:hover {
    color: #febd69;
}

/* Responsive */
@media (max-width: 1024px) {
    .desktop-search {
        display: none !important;
    }

    .help-section,
    .account-section {
        display: none !important;
    }

    .cart-text {
        display: none;
    }

    .cart-badge {
        top: -5px;
        right: -5px;
    }

}

@media (max-width: 1024px) {
    .mobile-header-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-search-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .search-container {
        display: none;
    }

    .location-selector {
        display: none;
    }
    .mobile-location .location-selector {
        display: block;
    }
    .modal-content .search-input {
    width: 100% !important;
    padding: 15px 50px 15px 20px !important;
    border: 2px solid #febd69 !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    outline: none !important;
    display: block !important;
}

.modal-content .search-input:focus {
    border-color: #e89610 !important;
}

.modal-content .search-icon {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #febd69 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    display: block !important;
}
.mobile_menu_wrapper{
    height: auto;
}

}

@media (max-width: 768px) {
    .logo-icon {
        width: 40px;
        height: 40px;
    }

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

    .logo-text .company-subtitle {
        font-size: 10px;
    }

    .header-actions {
        gap: 1.5rem;
        padding-right: 0;
    }

    .search-container {
        display: none;
    }

    .location-selector {
        display: none;
    }

    .user-icon,
    .cart-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
        right: -8px;
        top: -2px;
    }

    .cart-price {
        font-size: 14px;
    }

    /* Mobile Location */
    .mobile-location {
        background: #2c3540;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-location .location-selector {
        padding: 12px 15px;
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 8px;
        background: #2c3540;
        color: white;
        font-size: 14px;
    }

    .mobile-search-toggle {
        display: block;
    }
}

/* Search Modal Styles - Global */



@media (max-width: 480px) {

    .top-header .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .top-header .me-4 {
        margin-right: 0;
    }

    .logo-text .company-name {
        font-size: 14px;
    }

    .logo-text .company-subtitle {
        font-size: 9px;
    }
    .user-icon,
    .cart-icon {
        border: none;
        height: 32px;
        font-size: 14px;
    }
}

/* Cart Sidebar Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-sidebar.active {
    visibility: visible;
    opacity: 1;
}

.cart-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.cart-sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active .cart-sidebar-content {
    transform: translateX(0);
}

.cart-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-sidebar-header h4 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.cart-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.cart-sidebar-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-sidebar-item:last-child {
    border-bottom: none;
}

.item-image-small {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.cart-sidebar-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

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

.item-details-small h6 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.item-price-small {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #febd69;
}

.item-remove-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #dc3545;
    font-size: 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.item-remove-small  i {
        font-size: 20px;
}

.item-remove-small:hover {
    background: #f8d7da;
    color: #721c24;
}

.cart-sidebar-footer {
    border-top: 1px solid #eee;
    padding: 20px;
}

.cart-total {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.cart-sidebar-actions {
    display: flex;
    gap: 10px;
}

.cart-sidebar-actions .btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cart-sidebar-actions .btn-outline-primary {
    border: 2px solid #febd69;
    color: #febd69;
    background: white;
}

.cart-sidebar-actions .btn-outline-primary:hover {
    background: #febd69;
    color: white;
}

.cart-sidebar-actions .btn-primary {
    background: #febd69;
    color: white;
    border: none;
}

.cart-sidebar-actions .btn-primary:hover {
    background: #e89610;
}

.cart-icon-container {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart-icon-container:hover {
    transform: scale(1.05);
}

/* Mobile Responsive for Cart Sidebar */
@media (max-width: 480px) {
    .cart-sidebar-content {
        width: 100%;
    }
}

/* Location Selector Button */
.location-selector-btn {
    background: #2c3540;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding:15px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: white;
}

.location-selector-btn:hover {
    border-color: #febd69;
    background: rgba(245,166,35,0.1);
}

.location-selector-btn i:first-child {
    color: #febd69;
    font-size: 10px;
}

.location-selector-btn span {
    flex: 1;
    text-align: left;
    font-weight: 500;
    font-size: 11px;
}

.location-selector-btn i:last-child {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}

/* Location Modal */
#locationModal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 360px !important;
    margin: auto;
}

#locationModal .modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 20px;
}

#locationModal .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

#locationModal .modal-body {
    padding: 20px;
}

.location-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.location-option:hover {
    border-color: #febd69;
    background: #fff8f0;
}

.location-option.selected {
    border-color: #febd69;
    background: #fff8f0;
}

.location-option i:first-child {
    color: #febd69;
    font-size: 18px;
}

.location-option span {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.location-option .selected-check {
    color: #febd69;
    font-size: 16px;
    display: none;
}

.location-option.selected .selected-check {
    display: block;
}

#locationModal .modal-footer {
    border-top: 2px solid #f0f0f0;
    padding: 15px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .location-selector-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* Search Suggestions Dropdown Styles */
.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1050;
    display: none;
    margin-top: 1px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #333;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2c3540, #febd69);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.suggestion-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
}

.suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suggestion-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.suggestion-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.suggestion-price {
    font-size: 14px;
    font-weight: 600;
    color: #febd69;
}

/* Scrollbar Styles for Suggestions */
.search-suggestions-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.search-suggestions-dropdown::-webkit-scrollbar-thumb {
    background: #febd69;
    border-radius: 3px;
}

.search-suggestions-dropdown::-webkit-scrollbar-thumb:hover {
    background: #e89610;
}

/* Mobile Suggestions in Modal */
#mobile-suggestions {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
    max-height: 300px;
}

/* Loading State */
.search-suggestions-dropdown.loading {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* No Results State */
.search-suggestions-dropdown .no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}
/* Categories Mega Dropdown */
.categories-dropdown-trigger {
    position: relative !important;
}

.categories-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0 25px 25px 25px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

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

.nav-container-new {
    overflow: visible !important;
}

.nav-links {
    overflow: visible !important;
    position: relative !important;
}

.mega-dropdown-container {
    display: flex;
}

.category-columns {
    display: flex;
    gap: 20px;
    width: 50%;
    flex-wrap: wrap;
    padding: 30px;
    background: #fff;
}

.category-column {
    flex: 0 0 calc(25% - 15px);
    min-width: 100px;
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    color: #131921;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #febd69;
    display: block;
    text-decoration: none;
}

.category-title:hover {
    color: #e89610;
}

.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategory-list li {
    margin-bottom: 8px;
}

.subcategory-list li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: block;
}

.subcategory-list li a:hover {
    color: #febd69;
    padding-left: 5px;
}

.best-selling-section {
    width: 50%;
    background-color: #f8f8f8;
    padding: 30px;
}

.best-selling-title {
    font-size: 16px;
    font-weight: 600;
    color: #131921;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #febd69;
}

.best-selling-products {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 5px;
}

.best-product-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
}

.best-product-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.best-product-item img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.best-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.best-product-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
}

.best-product-price {
    font-size: 16px;
    color: #131921;
    font-weight: 600;
}

@media (max-width: 992px) {
    .categories-mega-dropdown {
        display: none !important;
    }
}

/* Top Deals Mega Dropdown */
.topdeals-dropdown-trigger {
    position: relative !important;
    cursor: pointer;
}

.topdeals-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

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

.topdeals-container {
    display: flex;
}

.shopby-section {
    width: 50%;
    padding: 30px;
    border-right: 1px solid #eee;
}

.shopby-title,
.toprated-title {
    font-size: 16px;
    font-weight: 600;
    color: #131921;
    margin-bottom: 20px;
    text-align: center;
}
.shopby-title {
    margin-bottom: 50px;
}
.shopby-items {
    display: flex;
    gap: 30px;
}

.shopby-item {
    text-decoration: none;
    text-align: center;
    color: #333;
}

.shopby-item:hover {
    color: #e89610;
}

.shopby-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 5px solid transparent;
}

.shopby-img:hover {
    border-color: #e89610;
}
.shopby-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shopby-item span {
    font-size: 14px;
    font-weight: 500;
}

.toprated-section {
    width:50%;
    background-color: #f8f8f8;
    padding: 30px;
}

.toprated-products {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 5px;
}

.toprated-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
}

.toprated-img {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}

.toprated-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.toprated-info {
    flex: 1;
}

.toprated-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.toprated-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toprated-price .old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.toprated-price .new-price {
    font-size: 16px;
    font-weight: 600;
    color: #131921;
}

@media (max-width: 992px) {
    .topdeals-mega-dropdown {
        display: none !important;
    }
}

/* Top Offers Sidebar */
.top-offers-list {
    overflow-y: auto;
    max-height: calc(100vh - 60px);
}

.offer-product-item {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.offer-product-item:hover {
    background-color: #f8f9fa;
}

.offer-product-item:last-child {
    border-bottom: none;
}

.offer-product-image {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.offer-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.offer_badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #febd69;
    color: #131921;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}

.offer-product-name {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.offer-product-rating {
    font-size: 12px;
}

.offer-product-rating i {
    font-size: 11px;
}

.offer-product-rating .rating-text {
    color: #666;
    font-size: 11px;
    margin-left: 5px;
}

.offer-product-price .current-price {
    font-size: 16px;
}

.offer-product-price .original-price {
    font-size: 13px;
}

.offcanvas {
    width: 400px !important;
}

@media (max-width: 576px) {
    .offcanvas {
        width: 100% !important;
    }

    .offer-product-image {
        width: 80px;
        height: 80px;
    }
}

/* Mobile Header Styles */
.mobile-top-header {
    background: #131921;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.mobile-top-promo {
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.mobile-main-header {
    background: #131921;
    color: white;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 0;
}

.mobile-logo-img {
    height: 35px;
    width: auto;
}

.mobile-account-icon {
    color: white;
    font-size: 22px;
    text-decoration: none;
}

.mobile-cart-icon {
    position: relative;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.mobile-cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #febd69;
    color: #131921;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-bar {
    background: #232f3e;
    padding: 15px 50px;
    position: relative;
}

.mobile-search-bar .position-relative {
    position: relative;
}

.mobile-search-input {
    width: 100%;
    border: none;
    padding: 12px 50px 12px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.mobile-search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #febd69;
}

/* Mobile Search Suggestions */
.mobile-search-bar #mobile-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 350px;
    overflow-y: auto;
    z-index: 1060;
    display: none;
}

.mobile-search-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: #febd69;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    color: #131921;
    font-size: 16px;
    cursor: pointer;
}

.mobile-search-button:hover {
    background: #e89610;
}

/* Mobile Menu Sidebar */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    left: 0;
}

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

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

.mobile-menu-header-new {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mobile-close-btn-new {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-content {
    padding: 0;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
}

.mobile-menu-item {
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.mobile-menu-item:hover {
    background-color: #f8f9fa;
    color: #333;
}

.mobile-menu-item.active {
    background-color: rgba(254, 189, 105, 0.1);
    color: #febd69;
    border-left: 4px solid #febd69;
    font-weight: 600;
}

.mobile-menu-trigger {
    cursor: pointer;
}

.sale_badge_mobile {
    width: auto !important;
    position: relative !important;
    background: #199588 !important;
    color: white !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
    text-transform: uppercase;


}

.mobile-menu-item i.fa-chevron-down {
    font-size: 12px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.mobile-menu-item-dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-menu-item-dropdown.active .mobile-submenu {
    display: block;
}

.mobile-submenu-item {
    padding: 12px 20px 12px 40px;
    color: #666;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #e8e8e8;
    transition: background-color 0.2s ease;
}

.mobile-submenu-item:last-child {
    border-bottom: none;
}

.mobile-submenu-item:hover {
    background-color: #e9ecef;
    color: #333;
}

/* Mobile Categories Dropdown Styles */
.mobile-submenu-categories,
.mobile-submenu-topdeals {
    max-height: 70vh;
    overflow-y: auto;
}

.mobile-category-section {
    padding: 15px 20px;
    border-bottom: 1px solid #e8e8e8;
}

.mobile-category-title {
    display: block;
    color: #131921;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.mobile-category-title:hover {
    color: #febd69;
}

.mobile-category-title.active {
    color: #febd69;
    font-weight: 800;
}

.mobile-subcategory-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
}

.mobile-subcategory-item {
    display: block;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 0 8px 15px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.mobile-subcategory-item:hover {
    color: #131921;
    border-left-color: #febd69;
    padding-left: 18px;
}

.mobile-subcategory-item.active {
    color: #febd69;
    border-left-color: #febd69;
    font-weight: 700;
    background: rgba(254, 189, 105, 0.05);
}

/* Mobile Best Selling Section */
.mobile-best-selling-section {
    padding: 20px;
    background: #f8f9fa;
    border-top: 2px solid #e0e0e0;
}

.mobile-best-selling-title {
    font-size: 16px;
    font-weight: 700;
    color: #131921;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #febd69;
}

.mobile-best-selling-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-best-product-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-best-product-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mobile-best-product-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.mobile-best-product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.mobile-best-product-name {
    color: #333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
}

.mobile-best-product-price {
    color: #febd69;
    font-size: 15px;
    font-weight: 700;
}

/* Mobile Top Deals Dropdown Styles */
.mobile-shopby-section {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-shopby-title {
    font-size: 16px;
    font-weight: 700;
    color: #131921;
    margin-bottom: 15px;
}

.mobile-shopby-items {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mobile-shopby-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 10px;
    background: white;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 100px;
}

.mobile-shopby-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mobile-shopby-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    border: 2px solid #febd69;
}

.mobile-shopby-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-shopby-item span {
    color: #131921;
    font-weight: 600;
    font-size: 14px;
}

/* Mobile Top Rated Products */
.mobile-toprated-section {
    padding: 20px;
    background: white;
}

.mobile-toprated-title {
    font-size: 16px;
    font-weight: 700;
    color: #131921;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #febd69;
}

.mobile-toprated-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-toprated-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-toprated-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
}

.mobile-toprated-img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.mobile-toprated-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.mobile-toprated-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.mobile-toprated-name {
    color: #333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
    margin: 0 0 5px 0;
}

.mobile-toprated-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-old-price {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}

.mobile-new-price {
    color: #febd69;
    font-size: 15px;
    font-weight: 700;
}
.desktop_header_container,.desktop_top_header{
        display: block !important;
    }
    @media (max-width: 1024px) {
        .desktop_header_container,.desktop_top_header{
            display: none !important;
        }
        .main-header {
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }
    .mobile_header_container{
     border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .main-header {
        position: sticky;
        top: 0;
    }
}

@media (min-width: 1024px) {
    .mobile_header_container,.mobile_top_header,.mobile-search-bar {
        display: none !important;
    }
    .mobile-menu {
        display: none !important;
    }
    .main-header {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
}
