/* Top Header */
.top-header {
    background: var(--top-header-bg);
    padding: 8px 0;
    font-size: 12px;
}

.top-header-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 29px;
    padding: 0 12px !important;
    line-height: 1;
    text-align: center;
    font-size: 14px;
    color: #cccccc;
    font-weight: 400;
    transition: color 0.3s ease;
}

.top-header-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.top-header-promo {
    color: #febd69;
    font-size: 12px;
    font-weight: 600;
}

/* Main Header */
.main-header {
    background: var(--header-bg);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Sticky Header */
.main-header.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
}

.main-header.sticky-header .desktop_header_container {
    padding: 8px 0;
}

.main-header.sticky-header .logo-img {
    max-height: 45px;
}

.main-header.sticky-header .search-container-new {
    margin: 0 20px;
}

.main-header.sticky-header .header-actions-new {
    gap: 15px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Desktop Header Container */
.desktop_header_container {
    padding: 15px 0;
    transition: padding 0.3s ease;
}

/* Logo */
.logo-img {
    max-height: 60px;
    height: auto;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    display: block;
    transition: max-height 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    margin: 0;
    padding-left: 0;
}

/* Search Container */
.search-container-new {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #d5d5d5;
    transition: all 0.3s ease;
    height: 44px;
    max-width: 550px;
}

.search-container-new:focus-within {
    border-color: #febd69;
    box-shadow: 0 0 0 1px rgba(254, 189, 105, 0.1);
}

.search-category-dropdown {
    border: none;
    background: #fafafa;
    padding: 7px 12px;
    font-size: 14px;
    border-right: 1px solid #d5d5d5;
    cursor: pointer;
    outline: none;
    min-width: 140px;
    height: 44px;
    color: #333;
}

/* Category Dropdown Options Styling */
.search-category-dropdown option.level-0 {
    font-weight: 600;
    color: #333;
    background: #fff;
}

.search-category-dropdown option.level-1 {
    font-weight: 400;
    color: #666;
    background: #f8f9fa;
    font-size: 12px;
}

.search-input-new {
    flex: 1;
    border: none;
    padding: 7px 14px;
    font-size: 14px;
    outline: none;
    height: 44px;
    color: #333;
}

.search-input-new::placeholder {
    color: #999;
}

.search-btn-new {
    background: #febd69;
    border: none;
    padding: 7px 18px;
    cursor: pointer;
    transition: background 0.3s ease;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.search-btn-new i {
    color: #2d2d2d;
    font-size: 14px;
}

/* Search Suggestions Dropdown */
.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
    animation: fadeIn 0.2s ease;
}

.search-suggestions-dropdown.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

.suggestion-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

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

.suggestion-details {
    flex: 1;
}

.suggestion-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 3px;
}

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

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

.header-actions-new > * {
    flex-shrink: 0;
}

/* Help Section */
.help-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.help-label {
    font-size: 11px;
    color: #999999;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.2px;
}

.help-phone {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

/* SVG Icons */
.thebase-svg-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Account Section */
.account-section {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.account-section:hover {
    background: rgba(255, 255, 255, 0.1);
}

.account-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 1px;
}

.account-label {
    font-size: 11px;
    color: #999999;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.2px;
}

.account-action {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

/* Cart Section */
.cart-section {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 3px;
    transition: background 0.3s ease;
    position: relative;
}

.cart-section:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 1px;
}

.cart-label {
    font-size: 11px;
    color: #999999;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.2px;
}

.cart-items-label {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #febd69;
    color: #131921;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 2px 4px;
}

/* Theme Toggle */
.desktop-theme-toggle-btn,
.mobile-theme-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    margin-left: 0;
}

.desktop-theme-toggle-btn:hover,
.mobile-theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Theme Icon Toggle Logic */
/* Default Light Mode: Show MOON icon (click to go dark) */
.theme-icon-sun-desktop,
.theme-icon-sun-mobile {
    display: none !important;
    font-size: 15px;
}

.theme-icon-moon-desktop,
.theme-icon-moon-mobile {
    display: inline-block !important;
    font-size: 15px;
}

/* Dark Mode: Show SUN icon (click to go light) */
html.dark-mode .theme-icon-sun-desktop,
html.dark-mode .theme-icon-sun-mobile {
    display: inline-block !important;
    font-size: 15px;
}

html.dark-mode .theme-icon-moon-desktop,
html.dark-mode .theme-icon-moon-mobile {
    display: none !important;
    font-size: 15px;
}

/* ========================================== */
/* Navigation Links - Enhanced Mega Menu */
/* ========================================== */

.nav-links {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

/* Category Button */
.nav-category-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #febd69;
    color: #131921;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.nav-category-btn:hover {
    background: #e5a855;
}

.nav-category-btn i {
    font-size: 16px;
}

/* Shop By Category Menu */
.shop_by_category_menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    display: none;
    z-index: 100;
    animation: fadeInUp 0.2s ease;
}

.nav-category-btn:hover .shop_by_category_menu {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop_by_category_menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.shop_by_category_menu li a:hover {
    background: #f8f9fa;
    color: #febd69;
}

/* Nav Links */
.nav-link-new {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.nav-link-new:hover {
    background: #f8f9fa;
    color: #febd69;
}

.nav-link-new.active {
    color: #febd69;
}

.sale_badge {
    background: #199588 !important;
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Specific targeting for Categories SALE badge */
.categories-dropdown-trigger .sale_badge,
.nav-link-new .sale_badge,
span.sale_badge {
    background: #199588 !important;
    color: #ffffff !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 0 !important;
}

/* ========================================== */
/* Mega Dropdown - Categories & Top Deals */
/* ========================================== */

/* Categories Mega Dropdown */
.categories-mega-dropdown,
.topdeals-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    padding: 25px;
    display: none;
    z-index: 100;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 900px;
}

.categories-mega-dropdown.active,
.topdeals-mega-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mega-dropdown-container {
    display: flex;
    gap: 40px;
}

/* Category Columns */
.category-columns {
    display: flex;
    gap: 40px;
    flex: 1;
}

.category-column {
    min-width: 180px;
}

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

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

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

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

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

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

/* Best Selling Section */
.best-selling-section,
.toprated-section {
    width: 280px;
    flex-shrink: 0;
    border-left: 1px solid #e0e0e0;
    padding-left: 30px;
}

.best-selling-title,
.shopby-title,
.toprated-title {
    font-size: 16px;
    font-weight: 700;
    color: #131921;
    margin-bottom: 20px;
}

.best-selling-products,
.toprated-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.best-product-item,
.toprated-item,
.shopby-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.best-product-item:hover,
.toprated-item:hover,
.shopby-item:hover {
    background: #f8f9fa;
}

.best-product-item img,
.toprated-item img,
.shopby-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.best-product-info,
.toprated-info {
    flex: 1;
}

.best-product-name,
.toprated-name {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.best-product-price .old-price,
.toprated-price .old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.best-product-price .new-price,
.toprated-price .new-price {
    font-size: 15px;
    font-weight: 700;
    color: #131921;
}

/* Shop By Items */
.shopby-items {
    display: flex;
    gap: 15px;
}

.shopby-item {
    flex-direction: column;
    text-align: center;
}

.shopby-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.shopby-item:hover .shopby-img {
    border-color: #febd69;
}

.shopby-item span {
    font-size: 13px;
    color: #333;
    margin-top: 8px;
}

/* Top Deals Container */
.topdeals-container {
    display: flex;
    gap: 40px;
}

.shopby-section {
    flex: 1;
}

.toprated-section {
    flex: 2;
    border-left: 1px solid #e0e0e0;
    padding-left: 40px;
}

/* ========================================== */
/* Mobile Header Styles */
/* ========================================== */

.mobile_top_header {
    background: var(--top-header-bg);
    padding: 8px 0;
}

.mobile-top-promo {
    color: #febd69;
    font-size: 11px;
    font-weight: 600;
}

.mobile_header_container {
    background: var(--header-bg);
}

.mobile-main-header {
    padding: 10px 0;
}

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

.mobile-logo-img {
    max-height: 45px;
    height: auto;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.mobile-account-icon,
.mobile-cart-icon {
    color: #ffffff;
    cursor: pointer;
    position: relative;
    padding: 5px;
}

.mobile-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #febd69;
    color: #333;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Search Bar */
.mobile-search-bar {
    background: var(--header-bg);
    padding: 10px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search-input {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 10px 45px 10px 15px;
    font-size: 14px;
    outline: none;
}

.mobile-search-button {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
}

/* ========================================== */
/* Mobile Menu Styles */
/* ========================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: #ffffff;
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
}

.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;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-header-new {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    background: #131921;
}

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

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

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

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

.mobile-menu-item:hover,
.mobile-menu-item.active {
    background: #f8f9fa;
    color: #febd69;
}

.mobile-menu-item-dropdown {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-trigger {
    justify-content: space-between;
    cursor: pointer;
}

.mobile-menu-trigger i {
    transition: transform 0.3s ease;
}

.mobile-menu-item-dropdown.active .mobile-menu-trigger i {
    transform: rotate(180deg);
}

.sale_badge_mobile {
    background: #199588 !important;
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 10px;
}

/* Mobile Submenu */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.mobile-menu-item-dropdown.active .mobile-submenu {
    max-height: 1000px;
}

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

.mobile-category-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.mobile-subcategory-list {
    padding-left: 15px;
}

.mobile-subcategory-item {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.mobile-subcategory-item:hover {
    color: #febd69;
}

/* Mobile Best Selling Section */
.mobile-best-selling-section {
    padding: 20px;
    background: #ffffff;
}

.mobile-best-selling-title {
    font-size: 14px;
    font-weight: 700;
    color: #131921;
    margin-bottom: 15px;
}

.mobile-best-selling-products {
    display: flex;
    gap: 15px;
    overflow-x: auto;
}

.mobile-best-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 200px;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mobile-best-product-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.mobile-best-product-info {
    flex: 1;
}

.mobile-best-product-name {
    font-size: 12px;
    color: #333;
    margin-bottom: 3px;
}

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

/* Mobile Shop By Section */
.mobile-shopby-section {
    padding: 20px;
    background: #ffffff;
}

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

.mobile-shopby-items {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.mobile-shopby-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    min-width: 70px;
}

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

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

.mobile-shopby-item span {
    font-size: 12px;
    color: #333;
}

/* Mobile Top Rated Section */
.mobile-toprated-section {
    padding: 20px;
    background: #ffffff;
}

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

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

.mobile-toprated-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mobile-toprated-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.mobile-toprated-info {
    flex: 1;
}

.mobile-toprated-name {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
}

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

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

.mobile-new-price {
    font-size: 15px;
    font-weight: 700;
    color: #131921;
}

/* ========================================== */
/* Top Offers Sidebar (Offcanvas) */
/* ========================================== */

.top-offers-list {
    max-height: 100vh;
    overflow-y: auto;
}

.offer-product-item {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

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

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

.offer-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.offer-product-item .offer_badge{
    bottom: inherit;
}
.offer_badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: #febd69;
    color: #131921;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

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

.offer-product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.rating-text {
    font-size: 12px;
    color: #666;
}

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

.current-price {
    font-size: 16px;
    font-weight: 700;
    color: #131921;
}

.original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

/* ========================================== */
/* Cart Sidebar Styles */
/* ========================================== */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #ffffff;
    z-index: 10001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
}

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

.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

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

body:has(.cart-sidebar.active) .cart-sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

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

.cart-sidebar-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #131921;
    margin: 0;
}

.cart-close-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

/* 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;
    }
}

.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-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;
    display: inline-flex !important;
    align-items: center !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;
    transition: all 0.3s ease;
}

/* Dark Mode Mobile Top Header */
body.dark-mode .mobile-top-header {
    background: #0d1117;
}

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

.mobile-main-header {
    background: #131921;
    color: white;
    transition: all 0.3s ease;
}

/* Dark Mode Mobile Main Header */
body.dark-mode .mobile-main-header {
    background: #0d1117;
}

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

.mobile-logo-img {
    max-height: 45px;
    height: auto;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.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;
    transition: all 0.3s ease;
}

/* Dark Mode Mobile Search Bar */
body.dark-mode .mobile-search-bar {
    background: #1a1d23;
}

.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;
}

/* ===== SEARCH BAR DESIGN ===== */

.search-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

}

.search-form {
    width: 100%;
    max-width: 550px;

}

.search-category {
    border: none;
    padding: 12px;
    background: #f1f1f1;
    outline: none;
    cursor: pointer;
}

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

.search-btn {
    background: #e26f18;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
}

.search-btn:hover {
    background: #e76f51;
}

/* 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;
    }

    .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);
    }

}



/* ==========================================
   HEADER FINAL OVERRIDE - DARK PREMIUM
   ========================================== */

.top-header,
.mobile-top-header {
    background: #131921 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-header {
    padding: 8px 0 !important;
    font-size: 13px !important;
}

.top-header-link {
    color: #ffffff !important;
    font-weight: 500 !important;
}

.top-header-link:hover {
    color: #febd69 !important;
}

.top-header-promo,
.mobile-top-promo {
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Main header */
.main-header {
    background: #171e27 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.desktop_header_container {
    display: block !important;
    padding: 15px 0 !important;
}

.desktop_top_header {
    display: block !important;
}

/* Logo */
.logo-img {
    max-height: 73px !important;
    width: auto;
}

/* Search */
.search-container-new {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: none !important;
}

.search-container-new:focus-within {
    border-color: #febd69 !important;
    box-shadow: 0 0 0 2px rgba(254, 189, 105, 0.18) !important;
}

.search-category-dropdown {
    min-width: 140px !important;
    width: 140px !important;
    height: 46px !important;
    border: none !important;
    border-right: 1px solid #e5e7eb !important;
    background: #f3f4f6 !important;
    color: #374151 !important;
    font-size: 13px !important;
    padding: 0 12px !important;
}

.search-input-new {
    height: 46px !important;
    border: none !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 14px !important;
    padding: 0 14px !important;
}

.search-input-new::placeholder {
    color: #9ca3af !important;
}

.search-btn-new {
    width: 56px !important;
    min-width: 56px !important;
    height: 46px !important;
    background: #febd69 !important;
    border: none !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn-new:hover {
    background: #e8a84d !important;
}

.search-btn-new i {
    color: #111827 !important;
}

/* Suggestions */
.search-suggestions-dropdown {
    top: calc(100% + 6px) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
    margin-top: 0 !important;
}

/* Right side actions */
.header-actions-new {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px !important;
    flex-wrap: nowrap;
}

.help-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0 !important;
    line-height: 1.15;
}

.help-label,
.account-label,
.cart-label {
    font-size: 11px !important;
    color: #cbd5e1 !important;
    font-weight: 500 !important;
}

.help-phone,
.account-action,
.cart-items-label {
    font-size: 13px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.account-section,
.cart-section {
    color: #ffffff !important;
    background: transparent !important;
    padding: 6px 8px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
}

.account-section:hover,
.cart-section:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.account-section svg,
.cart-section svg {
    color: #ffffff !important;
    width: 22px;
    height: 22px;
}

.account-text,
.cart-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.cart-badge {
    top: -4px !important;
    right: 130px !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    background: #febd69 !important;
    color: #111827 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 0 5px !important;
}

/* Theme toggle */
.desktop-theme-toggle-btn,
.mobile-theme-toggle-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
    color: #ffffff !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.desktop-theme-toggle-btn:hover,
.mobile-theme-toggle-btn:hover {
    background: rgba(254, 189, 105, 0.15) !important;
    border-color: #febd69 !important;
    color: #febd69 !important;
}

.theme-icon-sun-desktop,
.theme-icon-moon-desktop,
.theme-icon-sun-mobile,
.theme-icon-moon-mobile {
    color: #ffffff !important;
    font-size: 15px !important;
}

/* Nav */
.nav-links {
    background: #223044 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: visible !important;
}

.nav-container-new {
    min-height: 56px;
    padding: 0 !important;
    gap: 18px !important;
    overflow: visible !important;
}

.nav-category-btn,
.nav-link-new,
.categories-dropdown-trigger,
.topdeals-dropdown-trigger {
    height: auto;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    font-size: 14px !important;
}

/* Left category button */
.nav-category-btn {
    background: transparent !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0 0px !important;
    font-weight: 500 !important;
}

.nav-category-btn:hover {
    background: rgba(162, 18, 18, 0.04) !important;
}

/* Regular nav links */
.nav-link-new,
.categories-dropdown-trigger,
.topdeals-dropdown-trigger {
    color: #ffffff !important;
    padding: 0 !important;
    background: transparent !important;
    font-weight: 400 !important;
}

.nav-link-new:hover,
.categories-dropdown-trigger:hover,
.topdeals-dropdown-trigger:hover {
    color: #febd69 !important;
    background: transparent !important;
}

/* SALE badge */
.sale_badge,
.sale_badge_mobile {
    background: #199588 !important;
    color: #ffffff !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

/* Mobile dark premium */
.mobile_header_container,
.mobile-main-header {
    background: #171e27 !important;
    color: #ffffff !important;
}

.mobile-top-header {
    background: #131921 !important;
}

.mobile-main-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-toggle,
.mobile-account-icon,
.mobile-cart-icon {
    color: #ffffff !important;
}

.mobile-logo-img {
    max-height: 42px !important;
    height: auto !important;
    width: auto !important;
}

.mobile-search-bar {
    background: #223044 !important;
    padding: 10px 16px !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-search-input {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 11px 44px 11px 14px !important;
    background: #ffffff !important;
    color: #111827 !important;
}

.mobile-search-button {
    right: 12px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    color: #111827 !important;
    padding: 0 !important;
}

.mobile-cart-badge {
    background: #febd69 !important;
    color: #111827 !important;
}

/* Responsive */
@media (max-width: 1023px) {

    .desktop_header_container,
    .desktop_top_header,
    .nav-links {
        display: none !important;
    }

    .mobile_header_container,
    .mobile_top_header,
    .mobile-search-bar {
        display: block !important;
    }
}

@media (min-width: 1024px) {

    .mobile_header_container,
    .mobile_top_header,
    .mobile-search-bar,
    .mobile-menu {
        display: none !important;
    }
}


/* ==========================================
   TOP HEADER PERFECT ALIGNMENT
   ========================================== */

.top-header .col-md-6:first-child .d-flex {
    display: flex;
    align-items: center;
    gap: 0 !important;
}

.top-header-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 29px;
    padding: 0 12px !important;
    line-height: 1;
    text-align: center;
}

/* line after About us */
.top-header .col-md-6:first-child .d-flex .top-header-link:first-child::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.22);
}

/* line after Cart */
.top-header .col-md-6:first-child .d-flex .top-header-link:last-child::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.22);
}

/* Dividers moved to @media 992px FINAL HEADER POLISH block */

/* first link thoda left se start ho */
.top-header .col-md-6 .d-flex .top-header-link:first-child {
    padding-left: 0 !important;
}

/* ==========================================
   SEARCH WIDTH FIX
   ========================================== */

/* search column center */
.desktop_header_container .col-lg-5 {
    display: flex;
    justify-content: center;
}

/* control actual search box width */
.search-container-new {
    width: 85%;
    max-width: 480px !important;
    margin: 0 auto;
    height: 40px;
}

/* desktop pe aur compact */
@media (min-width: 1200px) {
    .search-container-new {
        max-width: 440px !important;
    }
}

/* extra large screen */
@media (min-width: 1400px) {
    .search-container-new {
        max-width: 420px !important;
    }
}

/* ==========================================
   FINAL PREMIUM HEADER POLISH
   ========================================== */

/* Logo - Professional Styling */
.logo-link {
    display: inline-block;
    line-height: 0;
    margin: 0;
}

.logo-img,
.custom-logo {
    max-height: 73px !important;
    height: auto !important;
    width: auto !important;
    max-width: 90px !important;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    padding-left: 15px !important;
}

/* keep logo area neat */
.desktop_header_container .col-lg-2 {
    display: flex;
    align-items: center;
}

/* Search box width + look */
.search-container-new {
    max-width: 420px !important;
    width: 100% !important;
    height: 44px !important;
    border-radius: 5px !important;
    overflow: hidden;
    border: none !important;
    box-shadow: none !important;
    background: #fff !important;
}

.search-category-dropdown {
    height: 52px !important;
    min-width: 148px !important;
    width: 145px !important;
    background: #f3f4f6 !important;
    color: #374151 !important;
    border-right: 1px solid #e5e7eb !important;
    font-size: 14px !important;
    padding: 0 14px !important;
}

.search-input-new {
    height: 52px !important;
    font-size: 15px !important;
    color: #111827 !important;
    padding: 0 16px !important;
    background: #fff !important;
    width: 40% !important;
}

.search-input-new::placeholder {
    color: #9ca3af !important;
}

.search-btn-new {
    width: 58px !important;
    min-width: 58px !important;
    height: 52px !important;
    background: #f4b85f !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn-new i {
    color: #111827 !important;
    font-size: 18px !important;
}

.search-btn-new:hover {
    background: #e9aa49 !important;
}

/* search focus glow light orange */
.search-container-new:focus-within {
    box-shadow: 0 0 0 2px rgba(244, 184, 95, 0.22) !important;
}

/* Number hover orange */
.help-phone {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.help-phone:hover {
    color: #f4b85f !important;
}

/* Help block hover */
.help-section:hover .help-label,
.help-section:hover .help-phone {
    color: #f4b85f !important;
}

/* Login hover orange */
.account-section,
.account-section * {
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.account-section:hover,
.account-section:hover .account-label,
.account-section:hover .account-action,
.account-section:hover svg {
    color: #f4b85f !important;
}

/* Cart hover orange */
.cart-section,
.cart-section * {
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cart-section:hover,
.cart-section:hover .cart-label,
.cart-section:hover .cart-items-label,
.cart-section:hover svg {
    color: #f4b85f !important;
}

/* keep badge readable */
.cart-section:hover .cart-badge {
    background: #f4b85f !important;
    color: #111827 !important;
}

/* Dark mode button hover orange */
.desktop-theme-toggle-btn,
.mobile-theme-toggle-btn {
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.desktop-theme-toggle-btn:hover,
.mobile-theme-toggle-btn:hover {
    border-color: #f4b85f !important;
    color: #f4b85f !important;
}

.desktop-theme-toggle-btn:hover .theme-icon-sun-desktop,
.desktop-theme-toggle-btn:hover .theme-icon-moon-desktop,
.mobile-theme-toggle-btn:hover .theme-icon-sun-mobile,
.mobile-theme-toggle-btn:hover .theme-icon-moon-mobile {
    color: #f4b85f !important;
}

/* about/cart top spacing cleaner */
.top-header-link {
    min-width: 60px !important;
}

/* Better search positioning */
.desktop_header_container .col-lg-4,
.desktop_header_container .col-lg-4 {
    display: flex;
    align-items: center;
}

.desktop_header_container .col-lg-4 {
    justify-content: center;
}

.desktop_header_container .col-lg-5 {
    justify-content: flex-end;
}



.nav-category-btn {
    width: 275px !important;
    min-width: 250px !important;
    height: 60px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    color: rgb(255, 255, 255) !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: left !important;
    position: relative !important;
    gap: 18px !important;
    padding: 0px 1px !important;
    margin: 0px !important;
    background: transparent !important;
    border: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0px !important;
}

.nav-offers-btn {
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 56px !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;

    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;

    text-decoration: none !important;
    padding: 0 14px !important;
    line-height: 1 !important;
}

.nav-offers-btn:hover,
.nav-offers-btn:focus,
.nav-offers-btn:active {
    color: #f4b85f !important;
    text-decoration: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.nav-offers-btn i {
    color: inherit !important;
    font-size: 14px !important;
}

.nav-offers-btn::after {
    display: none !important;
    content: none !important;
}

/* ==========================================
   HEADER STABILITY FIX (Inspect/Desktop)
   Keeps desktop header consistent when DevTools is open
   ========================================== */
@media (min-width: 1200px) {
    .desktop_header_container {
        overflow: visible !important;
    }

    .desktop_header_container .row {
        flex-wrap: nowrap !important;
        align-items: center !important;
        overflow: visible !important;
    }

    .desktop_header_container [class*="col-lg-"] {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
    }

    .desktop_header_container .col-lg-2 {
        flex: 0 0 210px !important;
        max-width: 210px !important;
    }

    .desktop_header_container .col-lg-5 {
        flex: 1 1 auto !important;
        max-width: none !important;
        display: flex !important;
        justify-content: center !important;
    }

    .desktop_header_container .col-lg-4 {
        flex: 0 0 auto !important;
        min-width: 560px !important;
        max-width: 660px !important;
        display: flex !important;
        justify-content: flex-end !important;
        padding-right: 34px !important;
    }

    .search-container-new {
        width: 100% !important;
        max-width: 440px !important;
    }

    .header-actions-new {
        gap: 20px !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
    }

    .header-actions-new>* {
        flex-shrink: 0 !important;
    }

    .desktop-theme-toggle-btn {
        flex-shrink: 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .desktop_header_container .row {
        flex-wrap: nowrap !important;
    }

    .desktop_header_container .col-lg-2 {
        flex: 0 0 170px !important;
        max-width: 170px !important;
    }

    .desktop_header_container .col-lg-4 {
        flex: 0 0 360px !important;
        max-width: 360px !important;
    }

    .search-container-new {
        max-width: 400px !important;
    }

    .header-actions-new {
        gap: 12px !important;
    }
}

/* ==========================================
   FINAL COMPACT HEADER FIX
   Reduces "zoomed" look and prevents phone wrapping
   ========================================== */
@media (min-width: 1024px) {
    .desktop_header_container {
        padding: 15px 0 !important;
    }

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

    .search-container-new {
        height: 44px !important;
    }

    .search-category-dropdown,
    .search-input-new,
    .search-btn-new {
        height: 44px !important;
    }

    .header-actions-new {
        gap: 20px !important;
        align-items: center !important;
    }

    .help-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        line-height: 1.1 !important;
        min-width: 145px !important;
    }

    .help-label {
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    .help-phone {
        font-size: 14px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        line-height: 1.3 !important;
    }

    .account-section,
    .cart-section {
        gap: 8px !important;
        padding: 6px 10px !important;
    }

    .account-label,
    .cart-label {
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    .account-action,
    .cart-items-label {
        font-size: 14px !important;
        white-space: nowrap !important;
    }
}

@media (min-width: 1200px) {
    .desktop_header_container .col-lg-2 {
        flex: 0 0 190px !important;
        max-width: 190px !important;
    }

    .desktop_header_container .col-lg-5 {
        flex: 1 1 auto !important;
        max-width: none !important;
    }

    .desktop_header_container .col-lg-4 {
        flex: 0 1 auto !important;
        min-width: 360px !important;
        max-width: 43vw !important;
    }

    .search-container-new {
        max-width: 420px !important;
    }

    .header-actions-new>* {
        flex-shrink: 0 !important;
    }
}

/* ==========================================
   HEADER FIT FIX (Desktop 1200-1600px)
   Shows all header elements at medium desktop widths
   Ensures dark mode toggle is always visible
   ========================================== */
@media (min-width: 1200px) and (max-width: 1600px) {
    .desktop_header_container .col-lg-4 {
        flex: 0 1 auto !important;
        min-width: 480px !important;
        max-width: 580px !important;
    }

    .desktop_header_container .col-lg-5 {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding-right: 8px !important;
    }

    .header-actions-new {
        gap: 8px !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
    }

    .help-section {
        flex-shrink: 0;
        min-width: 170px !important;
    }

    .help-label {
        display: inline !important;
        font-size: 15px !important;
    }

    .help-phone {
        font-size: 15px !important;
        white-space: nowrap !important;
    }

    .account-section,
    .cart-section {
        padding: 4px 6px !important;
        flex-shrink: 0;
        min-width: 170px !important;
    }

    .account-text,
    .cart-text {
        display: flex !important;
    }

    .account-label,
    .cart-label {
        display: inline !important;
        font-size: 10px !important;
    }

    .account-action,
    .cart-items-label {
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    .desktop-theme-toggle-btn {
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0 !important;
        margin-left: 4px !important;
    }
}

@media (min-width: 1601px) {

    .help-label,
    .account-label,
    .cart-label {
        display: inline !important;
    }

    .account-text,
    .cart-text {
        display: flex !important;
    }
}

/* ==========================================
   FINAL HEADER POLISH - EXACT MATCH TO REFERENCE
   ========================================== */
@media (min-width: 992px) {
    /* Desktop Header Container */
    .desktop_header_container {
        padding: 15px 0 !important;
    }

    /* Desktop Header Row */
    .desktop_header_container .row {
        align-items: center !important;
        margin: 0 !important;
    }

    /* Column for Logo */
    .desktop_header_container .col-lg-2 {
        flex: 0 0 auto !important;
        width: auto !important;
        padding-right: 18px !important;
    }

    /* Column for Search */
    .desktop_header_container .col-lg-5:nth-child(2) {
        flex: 0 1 auto !important;
        display: flex !important;
        justify-content: center !important;
        padding: 0 12px !important;
    }

    /* Column for Actions */
    .desktop_header_container .col-lg-5:nth-child(3) {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding-left: 15px !important;
    }

    /* Logo */
    .logo-img {
        max-height: 73px !important;
        max-width: 90px !important;
        padding-left: 0 !important;
    }

    /* Search Container */
    .search-container-new {
        height: 44px !important;
        border-radius: 4px !important;
        border: 1px solid #d5d5d5 !important;
        max-width: 550px !important;
        margin-left: 47px;
    }

    .search-category-dropdown {
        height: 44px !important;
        padding: 1px 15px !important;
        font-size: 14px !important;
        background: #fafafa !important;
        min-width: 171px !important;
        border-right: 1px solid #d5d5d5 !important;
    }

    .search-input-new {
        height: 44px !important;
        padding: 7px 14px !important;
        font-size: 14px !important;
    }

    .search-btn-new {
        height: 44px !important;
        padding: 7px 18px !important;
    }

    .search-btn-new i {
        font-size: 14px !important;
    }

    /* Header Actions Container */
    .header-actions-new {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 20px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        min-height: 44px !important;
    }

    .header-actions-new > * {
        flex-shrink: 0 !important;
    }

    /* SVG Icons */
    .thebase-svg-icon {
        width: 24px !important;
        height: 24px !important;
    }

    /* Help Section */
    .help-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }

    .help-label {
        font-size: 13px !important;
        color: #ffffff !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        letter-spacing: 0.2px !important;
    }

    .help-phone {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }

    /* Account Section */
    .account-section {
        gap: 8px !important;
        padding: 6px 10px !important;
    }

    .account-text {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    .account-label {
        font-size: 14px !important;
        color: #ffffff !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        letter-spacing: 0.2px !important;
    }

    .account-action {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }

    /* Cart Section */
    .cart-section {
        gap: 8px !important;
        padding: 6px 10px !important;
    }

    .cart-text {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    .cart-label {
        font-size: 13px !important;
        color: #ffffff !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        letter-spacing: 0.2px !important;
    }

    .cart-items-label {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }

    /* Cart Badge */
    .cart-badge {
        top: 2px !important;
        right: 2px !important;
        font-size: 11px !important;
        min-width: 18px !important;
        height: 18px !important;
    }

    /* Dividers between Need Help | Account | Cart */
    .help-section,
    .account-section {
        position: relative !important;
    }

    .help-section::after,
    .account-section::after {
        content: "" !important;
        position: absolute !important;
        right: -10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 1px !important;
        height: 28px !important;
        background: rgba(255, 255, 255, 0.22) !important;
    }
}

/* Additional refinements for larger screens */
@media (min-width: 1200px) {
    .desktop_header_container .col-lg-5:nth-child(2) {
        padding: 0 18px !important;
    }

    .header-actions-new {
        gap: 20px !important;
    }
}

/* Floating Theme Toggle (Bottom Left) */
.floating-theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 0;
    background: #ffffff;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.floating-theme-toggle:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.floating-toggle-light,
.floating-toggle-dark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.floating-toggle-light {
    background: #f0f0f0;
    color: #333;
}

.floating-toggle-dark {
    background: transparent;
    color: #999;
}

html.dark-mode .floating-theme-toggle {
    background: #1f2937;
}

html.dark-mode .floating-toggle-light {
    background: transparent;
    color: #999;
}

html.dark-mode .floating-toggle-dark {
    background: #374151;
    color: #f9fafb;
}

/* ==========================================
   HEADER FINE-TUNING 1110px+
   ========================================== */
@media (min-width: 1110px) {
    .help-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 3px !important;
        margin: -47px;
    }

    .cart-section {
        gap: 8px !important;
        padding: 6px 10px !important;
        margin: -39px;
    }

    .cart-badge {
        top: 2px !important;
        right: 133px !important;
        font-size: 11px !important;
        min-width: 18px !important;
        height: 18px !important;
    }
}