/* Unique Prefixed Scope for Header Component */
.tx-master-wrap {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    background-color: #ffffff;
    position: relative;
    z-index: 999;
}

.tx-topbar-sec {
    padding: 15px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.tx-logo-anchor {
    font-weight: 700;
    font-size: 28px;
    color: #212529;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tx-logo-tag {
    max-width: 100%;
    min-width: 100px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-right: 50px;
}

.tx-info-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tx-info-icn {
    font-size: 24px;
    color: #e31e24;
}

.tx-info-txt span {
    display: block;
    font-size: 13px;
    color: #6c757d;
}

.tx-info-txt strong {
    font-size: 14px;
    color: #212529;
    white-space: nowrap;
}

/* Navbar */
.tx-navbar-sec {
    background-color: #212529 !important;
    padding: 0;
}

.tx-desktop-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.tx-desktop-menu-item {
    position: relative;
}

.tx-desktop-menu-link {
    display: block;
    padding: 16px 10px;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.tx-desktop-menu-link:hover i {
    transform: rotate(180deg);

}

.tx-desktop-menu-link:hover,
.tx-desktop-menu-link.tx-active-link {
    color: #e31e24 !important;
}

.tx-desktop-menu-link i {
    font-size: 12px;
    margin-left: 4px;
    transition: 0.3s ease-in-out;
}

/* Desktop Dropdown - Fixed Hidden State & Solid White Background */
.tx-desktop-dropdown-list {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15) !important;
    list-style: none !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    width: 220px !important;
    display: none !important;
    /* Default strictly hidden */
    z-index: 99999 !important;
    border-radius: 4px !important;
}

.tx-desktop-menu-item:hover>.tx-desktop-dropdown-list {
    display: block !important;
    /* Show only on hover */
}

.tx-desktop-dropdown-li {
    background: transparent !important;
}

.tx-desktop-dropdown-li a {
    display: block !important;
    padding: 10px 20px !important;
    color: #212529 !important;
    background: transparent !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.tx-desktop-dropdown-li a:hover {
    background-color: #f8f9fa !important;
    color: #e31e24 !important;
    padding-left: 25px !important;
}

/* Mobile Sidebar Menu Styles inside Drawer */
.tx-mobile-injected-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eaeaea;
}

.tx-mobile-injected-item {
    border-bottom: 1px solid #f1f1f1;
}

.tx-mobile-injected-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #212529;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.tx-mobile-injected-link:hover {
    color: #e31e24;
}

.tx-mobile-sub-dropdown {
    list-style: none;
    padding-left: 15px;
    margin: 0 0 10px 0;
    display: none;
}

.tx-mobile-sub-dropdown.tx-sub-open {
    display: block;
}

.tx-mobile-sub-li a {
    display: block;
    padding: 6px 0;
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
}

.tx-mobile-sub-li a:hover {
    color: #e31e24;
}

/* Hide mobile menu container on Desktop View (lg and above: >= 992px) */
@media (min-width: 992px) {
    #txMobileMenuInjectBox {
        display: none !important;
    }
}

/* Right Action Buttons */
.tx-action-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.tx-action-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    padding: 12px 8px;
}

.tx-action-btn:hover {
    color: #e31e24;
}

.tx-cart-count {
    position: absolute;
    top: 5px;
    right: -2px;
    background-color: #e31e24;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

.tx-hamburger-trigger {
    background-color: #e31e24;
    color: white;
    border: none;
    padding: 17px 20px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.tx-hamburger-trigger:hover {
    background-color: #2a3181;
}

/* Offcanvas Drawer Panel */
.tx-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
}

.tx-drawer-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: #ffffff;
    z-index: 10001;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    overflow-y: auto;
    padding: 25px;
}

.tx-drawer-panel.tx-drawer-active {
    right: 0;
}

.tx-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.tx-drawer-dismiss {
    background-color: #e31e24;
    color: white;
    border: none;
    /* width: 40px; */
    height: 40px;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    padding: 6px 15px;
}

.tx-drawer-body p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tx-drawer-title {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
}

.tx-drawer-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.tx-drawer-post img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.tx-drawer-post-info span {
    display: block;
    font-size: 12px;
    color: #e31e24;
    font-weight: 600;
    margin-bottom: 4px;
}

.tx-drawer-post-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .tx-drawer-panel {
        padding: 20px;
    }
}