body{color:#333;font-family:Verdana, Arial, sans-serif;font-size:13px;background:#DDD;}
h1{font-family:Verdana, Arial, sans-serif;}
.wrap{background:#FFF;}
#footer{padding-top:20px;padding-bottom:20px;}
.f10{font-size:10px;}
.f11{font-size:11px;}
.f12{font-size:12px;}
.error{font-size:11px;color:red;}
#flash_msg{position:absolute;top:50px;right:220px;z-index:100000;}
.px60{height:60px;}
.tl{text-align:left}
.tr{text-align:right}
.tc{text-align:center}
.tb{text-align:block}
@media (max-width:767px){.content{margin:-20px;padding:20px;background:#FFF;}
}

/* Bootstrap Primary Color Override */
.bg-primary {
    background-color: #333333 !important;
}

/* Top Bar Background Color */
#topGreyBar {
    background-color: #333333 !important;
    background-image: none !important;
    min-height: 60px !important;
}

/* Inner container - Bootstrap replacement */
#topGreyBar .inner,
#topGreyBar .container-fluid {
    background-color: #333333 !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Top Right Menu Bootstrap Updates */
.topRightMenu {
    margin-right: 0;
}

.topRightMenu ul {
    gap: 0;
}

.topRightMenu .nav-item {
    padding: 0.5rem 0.5rem;
}

.topRightMenu a {
    color: #fff !important;
    text-decoration: none;
}

.topRightMenu a:hover {
    color: #f5c21d !important;
}

.topRightMenu .fa {
    color: #f5c21d;
}

.topRightMenu .divider {
    color: #fff;
}

/* Top Left Menu (Logo Area) */
.topLeftMenu {
    margin: 0;
}

.topLeftMenu img {
    height: 24px;
    margin: 0;
}

.topLeftMenu h1 {
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* Sidebar Left - Add margin to prevent overlap with top menu */
.sidebar-left {
    margin-top: 5px;
}

/* Left Sidebar Column - Ensure proper spacing */
.leftSideColumn {
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .sidebar-left {
        margin-top: 25px;
    }
}

/* Main Navigation Menu - Ensure items display inline */
.navbar-nav.nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav.nav > li {
    float: left;
    display: inline-block;
    position: relative;
}

.navbar-nav.nav > li > a {
    display: block;
}

/* Ensure nav items stay in one line */
.navbar.desktop-only .container-fluid {
    display: flex;
    flex-wrap: nowrap;
}

.navbar.desktop-only .navbar-nav {
    flex-direction: row !important;
    flex-wrap: nowrap;
}

/* Mega Menu Fix - Proper Display and Positioning */
.mega-menu {
    background: #333333 !important;
    border: 1px solid #ddd;
    border-radius: 0 0 3px 3px;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    width: auto;
    min-width: 300px;
    max-width: 90vw;
    overflow-x: visible;
    overflow-y: visible;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
}

.nav > li:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
}

/* Mega Menu Content Columns */
.nav-column {
    float: left;
    padding: 10px;
    width: auto;
    min-width: 250px;
    display: inline-block;
}

.nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-column li {
    margin: 0;
    padding: 0;
}

.nav-column a {
    color: #FFFF99 !important;
    display: block;
    font-weight: normal;
    font-size: 14px;
    padding: 5px 10px;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.nav-column a:hover {
    background: #555555 !important;
    color: #FFFFFF !important;
}

/* Fix for multiple columns side by side */
.mega-menu::after {
    content: "";
    display: table;
    clear: both;
}

/* Ensure mega-menu doesn't get cut off */
.navbar.desktop-only {
    position: relative;
}

.navbar-nav.nav > li {
    position: relative;
}

/* Make sure mega-menu appears below the nav item */
.nav > li {
    position: relative;
}

.mega-menu {
    margin-top: 0;
    padding: 10px 5px;
}

/* Breadcrumb Bootstrap Styling */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Home Banner - Full Width and Responsive */
.homeSlider {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    position: relative;
    overflow: hidden;
}

.homeSlider img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    min-height: 350px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.rightSideContent .homeSlider {
    display: block !important;
    height: auto !important;
    border: 1px solid #e1e1e1;
    margin: 0 0 10px 0;
    border-radius: 5px;
    min-height: 350px;
}

/* Responsive Banner Heights */
@media (min-width: 992px) {
    .homeSlider img {
        min-height: 400px;
        max-height: 500px;
    }

    .rightSideContent .homeSlider {
        min-height: 400px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .homeSlider img {
        min-height: 300px;
        max-height: 400px;
    }

    .rightSideContent .homeSlider {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .homeSlider img {
        min-height: 200px;
        max-height: 300px;
    }

    .rightSideContent .homeSlider {
        display: block !important;
        height: auto !important;
        min-height: 200px;
    }
}

/* Bootstrap Form Input Styles */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="time"],
select,
textarea {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Exception for search autocomplete input */
#search,
input#search {
    width: auto !important;
    padding: 3px 10px !important;
    border: 1px solid #333 !important;
    border-radius: 0.375rem;
}

/* jQuery UI Autocomplete Dropdown Styling */
ul.ui-autocomplete {
    width: auto !important;
    min-width: 300px;
    max-width: 500px;
    background-color: white !important;
    border: 1px solid #e0e0e0 !important;
    margin-left: 0 !important;
    margin-top: 2px !important;
    font-size: 12px !important;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2) !important;
    z-index: 10000 !important;
    padding: 0 !important;
    list-style: none !important;
    position: absolute;
}

ul.ui-autocomplete li {
    list-style: none !important;
    border-top: 1px solid #f0f0f0;
    margin: 0 !important;
    padding: 0 !important;
}

ul.ui-autocomplete li:first-child {
    border-top: none;
}

ul.ui-autocomplete li a {
    border: none !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    display: block !important;
    color: #333 !important;
    transition: background-color 0.2s ease;
}

ul.ui-autocomplete li a:hover,
ul.ui-autocomplete li.ui-state-focus a {
    background-color: #f5f5f5 !important;
    color: #000 !important;
}

/* Autocomplete product image */
.autocompleteimage {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.autocompleteimage img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

/* Autocomplete label and description */
.autocompletelabel {
    display: inline-block;
    vertical-align: middle;
    max-width: 350px;
}

.autocompletedescription {
    font-size: 11px;
    color: #666;
    margin: 2px 0 0 0;
}

/* Autocomplete special badges */
.autocompletespecials {
    margin-left: 5px;
    vertical-align: middle;
}

/* Autocomplete links (manuals/brochures) */
.autocompletelinks {
    font-size: 11px;
    margin-left: 65px;
    display: inline-block;
}

.autocompletelinks a {
    color: #0d6efd !important;
    padding: 2px 5px !important;
}

.autocompletelinks a:hover {
    text-decoration: underline !important;
}

/* Autocomplete header */
.autocompleteheader {
    font-weight: bold;
    padding: 8px 12px;
    background-color: #f8f9fa;
    color: #333;
}

/* List item container */
.list_item_container {
    display: block;
    padding: 5px;
}

/* Remove Bootstrap list styling from autocomplete */
ul.ui-autocomplete li {
    padding-left: 0 !important;
}

/* Ensure autocomplete stays above other elements */
.ui-front {
    z-index: 10000 !important;
}

/* ===== PRODUCT PAGE STYLING ===== */

/* Product Container Padding and Layout */
.productContainer {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Product Images Section */
.productImages {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.productImages img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
    max-width: 100%;
    height: auto;
}

.productImages img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ensure Colorbox compatibility */
.productImages a.group1 {
    display: block;
    position: relative;
}

.productImages a.group1::after {
    content: "\1F50D";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.productImages a.group1:hover::after {
    opacity: 1;
}

/* Thumbnail List - Single Line */
#thumblist {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
    overflow-x: auto;
}

#thumblist li {
    flex: 0 0 auto;
    list-style: none;
    margin: 0;
}

#thumblist li a {
    display: block;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 5px;
    transition: all 0.3s ease;
}

#thumblist li a:hover {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

#thumblist li img {
    width: 60px !important;
    height: 60px;
    object-fit: cover;
}

/* Product Details Section */
.productDetails {
    padding: 20px;
}

.productDetails h2 {
    font-size: 28px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
    line-height: 1.4;
}

.productDetails .itemno {
    font-size: 16px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 10px;
}

.productDetails p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #495057;
}

.productDetails p strong {
    color: #212529;
    font-weight: 600;
}

/* Bootstrap Form Styling for Product Page */
.productDetails .form-control,
.productDetails input[type="text"],
.productDetails input[type="number"],
.productDetails input[type="email"],
.productDetails textarea,
.productDetails select {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.productDetails .form-control:focus,
.productDetails input[type="text"]:focus,
.productDetails input[type="number"]:focus,
.productDetails input[type="email"]:focus,
.productDetails textarea:focus,
.productDetails select:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Quantity Input Specific */
.productDetails input[name="quantity"],
.productDetails input.ProductQuantity {
    width: 80px !important;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin-right: 10px;
}

/* Add to Cart Section */
.qtyAddToCart {
    margin-top: 25px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.qtyAddToCart form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.qtyAddToCart .input {
    margin: 0;
}

.qtyAddToCart label {
    margin-right: 5px;
    font-weight: 500;
    color: #495057;
}

/* Button Styling */
.productDetails .btn,
.productDetails button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.productDetails .btn-primary,
.productDetails .addtocart {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.productDetails .btn-primary:hover,
.productDetails .addtocart:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.productDetails .btn-info {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
    color: #000;
}

.productDetails .btn-info:hover {
    background-color: #31d2f2;
    border-color: #25cff2;
}

.productDetails .btn-default,
.productDetails .btn-checkstock {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.productDetails .btn-default:hover,
.productDetails .btn-checkstock:hover {
    background-color: #5c636a;
    border-color: #565e64;
}

/* Product Details Wrapper */
.prdetailswrapper {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.prdetailswrapper h5 {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

.prdetailswrapper ul,
.prlistdetail {
    list-style: none;
    padding-left: 0;
}

.prdetailswrapper li,
.prlistdetail li {
    padding: 8px 0;
    color: #495057;
    line-height: 1.6;
}

/* Owners Manual Links */
.ownersManual {
    margin-top: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 6px;
    border-left: 4px solid #0d6efd;
}

.ownersManual .itemno {
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
}

.ownersManual a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ownersManual a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Modal Styling for Product Page */
.productContainer .modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.productContainer .modal-header {
    border-radius: 8px 8px 0 0;
    padding: 1rem 1.5rem;
}

.productContainer .modal-body {
    padding: 1.5rem;
}

.productContainer .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

/* Modal Form Inputs */
.modal input[type="text"],
.modal input[type="email"],
.modal textarea {
    width: 100% !important;
    padding: 0.5rem 0.75rem !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 15px;
}

.modal input[type="text"]:focus,
.modal input[type="email"]:focus,
.modal textarea:focus {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* Responsive Product Page */
@media (max-width: 991px) {
    .productContainer {
        padding: 15px;
    }

    .productImages {
        width: 100%;
        margin-bottom: 20px;
    }

    .productDetails {
        width: 100%;
        padding: 15px;
    }

    .productDetails h2 {
        font-size: 24px;
    }

    #thumblist {
        gap: 8px;
    }

    #thumblist li img {
        width: 50px !important;
        height: 50px;
    }
}

@media (max-width: 767px) {
    .productContainer {
        padding: 10px;
    }

    .productDetails h2 {
        font-size: 20px;
    }

    .qtyAddToCart {
        flex-direction: column;
        align-items: flex-start;
    }

    .qtyAddToCart input[name="quantity"] {
        width: 100% !important;
    }

    .qtyAddToCart .btn {
        width: 100%;
        margin-left: 0 !important;
    }
}

/* ===== LEFT SIDEBAR STYLING ===== */

/* Sidebar Container */
.sidebar-left {
    margin-top: 5px;
}

.leftSideColumn {
    padding: 0 15px;
}

/* Bootstrap Card Styling for Sidebar */
.sidebar-left .card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.sidebar-left .card-header {
    background-color: #333333;
    color: white;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #0d6efd;
    border-radius: 8px 8px 0 0;
}

.sidebar-left .card-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-left .card-body {
    padding: 1rem;
}

/* Side Menu Styling */
.leftSideColumn .sideMenu {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.leftSideColumn .sideMenu header {
    background-color: #333333;
    color: white;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px 8px 0 0;
    margin: 0;
}

/* Category Menu Navigation */
.leftSideColumn .sideMenu nav {
    background: #fff;
    padding: 0;
}

.leftSideColumn .sideMenu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Search Menu Listing - Main List Items */
.leftSideColumn .sideMenu nav .searchmenulisting {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leftSideColumn .sideMenu nav .searchmenulisting li {
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
    position: relative;
}

.leftSideColumn .sideMenu nav .searchmenulisting li:last-child {
    border-bottom: none;
}

.leftSideColumn .sideMenu nav .searchmenulisting li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.leftSideColumn .sideMenu nav .searchmenulisting li:hover {
    background-color: #f8f9fa;
}

.leftSideColumn .sideMenu nav .searchmenulisting li:hover a {
    color: #0d6efd;
    padding-left: 20px;
}

/* Counter Color for Product Counts */
.countercolor {
    color: #6c757d;
    font-size: 11px;
    font-weight: normal;
    margin-left: 5px;
}

/* Right Side Dropdown (Subcategories) */
.leftSideColumn .sideMenu nav li.parent .rightSideDropdown {
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    max-width: 300px;
    display: none;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.leftSideColumn .sideMenu nav li.parent:hover .rightSideDropdown {
    display: block;
}

.leftSideColumn .sideMenu nav li.parent .rightSideDropdown li {
    border-bottom: 1px solid #f0f0f0;
}

.leftSideColumn .sideMenu nav li.parent .rightSideDropdown li:last-child {
    border-bottom: none;
}

.leftSideColumn .sideMenu nav li.parent .rightSideDropdown li a {
    padding: 10px 15px;
    color: #333;
    font-size: 12px;
    font-weight: 500;
}

.leftSideColumn .sideMenu nav li.parent .rightSideDropdown li:hover {
    background-color: #f8f9fa;
}

.leftSideColumn .sideMenu nav li.parent .rightSideDropdown li:hover a {
    color: #0d6efd;
}

/* Newest Products Section */
.newest {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    border-top: 1px solid #dee2e6;
    padding: 0;
    margin: 0;
}

.newest a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.newest a:hover {
    background-color: #333333;
    color: #fff;
}

.newest img {
    vertical-align: middle;
    margin-right: 8px;
}

.float-right-arrow {
    float: right;
    font-weight: bold;
    color: #6c757d;
}

/* Contact Us Card in Sidebar */
.sidebar-left .card.contact-us h6 {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
}

.sidebar-left .card.contact-us p {
    font-size: 13px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 0.75rem;
}

.sidebar-left .card.contact-us .fa {
    width: 20px;
    text-align: center;
}

.sidebar-left .card.contact-us a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-left .card.contact-us a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Search Form in Sidebar */
.sidebar-left .input-group .form-control {
    border-radius: 0.375rem 0 0 0.375rem;
    border-right: none;
    font-size: 14px;
    padding: 0.5rem 0.75rem;
}

.sidebar-left .input-group .form-control:focus {
    border-color: #86b7fe;
    box-shadow: none;
}

.sidebar-left .input-group .btn {
    border-radius: 0 0.375rem 0.375rem 0;
    padding: 0.5rem 1rem;
    border: 1px solid #0d6efd;
    background-color: #0d6efd;
    color: white;
}

.sidebar-left .input-group .btn:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Manufacturer Lists */
.leftSideColumn .sideMenu.manufacturer-menu nav ul li {
    border-bottom: 1px solid #f0f0f0;
}

.leftSideColumn .sideMenu.manufacturer-menu nav ul li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.leftSideColumn .sideMenu.manufacturer-menu nav ul li:hover a {
    color: #0d6efd;
    background-color: #f8f9fa;
}

/* General UL LI Styling in Sidebar */
.leftSideColumn ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leftSideColumn ul li {
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #495057;
    border-bottom: 1px solid #f0f0f0;
}

.leftSideColumn ul li:last-child {
    border-bottom: none;
}

.leftSideColumn ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.leftSideColumn ul li a:hover {
    color: #0d6efd;
}

/* ===== PRODUCT PRICING TABLE STYLING ===== */

/* Net Price Table */
.netpricetable {
    width: auto !important;
    max-width: 600px;
    margin: 20px 0;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.netpricetable thead {
    background-color: #333333;
    color: white;
}

.netpricetable thead th {
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #444;
}

.netpricetable thead th.dark {
    background-color: #333333;
    color: white;
}

.netpricetable tbody td {
    padding: 12px 15px;
    font-size: 14px;
    vertical-align: middle;
    border: 1px solid #dee2e6;
}

.netpricetable tbody tr:hover {
    background-color: #f8f9fa;
}

.netpricetable tbody td.dark {
    background-color: #333333;
    color: white;
    font-weight: 600;
}

/* Strikethrough and Special Price */
.netpricetable .text-decoration-line-through {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 13px;
}

.netpricetable .text-danger {
    color: #dc3545 !important;
    font-size: 16px;
}

/* Dealer Net Price Footer */
.netpricetable tfoot td.dealernetprice {
    padding: 15px;
    background-color: #fff3cd;
    border-top: 2px solid #ffc107;
}

.netpricetable tfoot td.dealernetprice p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #856404;
}

/* Dealer Price Message */
.dealerprice {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0d6efd;
    color: white;
    font-weight: 600;
    border-radius: 6px;
    font-size: 14px;
    margin: 10px 0;
}

/* Table Responsive Wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

/* General Product Tables */
.productDetails table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: separate;
    border-spacing: 0;
}

.productDetails table th,
.productDetails table td {
    padding: 10px 12px;
    border: 1px solid #dee2e6;
}

.productDetails table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

/* Rail Listing Table */
.rail-listing table {
    width: 100%;
    font-size: 13px;
}

.rail-listing table td {
    padding: 8px 10px;
    border: 1px solid #dee2e6;
}

.rail-listing table input {
    width: 60px;
    padding: 4px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

/* Responsive Table Adjustments */
@media (max-width: 767px) {
    .netpricetable {
        font-size: 12px;
    }

    .netpricetable thead th,
    .netpricetable tbody td {
        padding: 8px 10px;
        font-size: 12px;
    }

    .netpricetable .text-danger {
        font-size: 14px;
    }

    .table-responsive {
        border-radius: 0;
    }
}

/* Responsive Sidebar */
@media (max-width: 991px) {
    .sidebar-left {
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .leftSideColumn {
        width: 100%;
        padding: 0 10px;
    }

    .leftSideColumn .sideMenu nav li.parent .rightSideDropdown {
        position: static;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border-left: 3px solid #0d6efd;
        margin-left: 10px;
    }

    .leftSideColumn .sideMenu nav .searchmenulisting li a {
        font-size: 14px;
        padding: 14px 15px;
    }
}

@media (max-width: 767px) {
    .sidebar-left .card-header h5 {
        font-size: 13px;
    }

    .leftSideColumn .sideMenu header {
        font-size: 12px;
        padding: 10px 12px;
    }

    .leftSideColumn .sideMenu nav .searchmenulisting li a {
        font-size: 13px;
        padding: 12px 12px;
    }
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Small Input Variants */
.input-small,
input.input-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    width: auto;
}

.input-large,
input.input-large {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

/* Select Styling */
select {
    word-wrap: normal;
}

select:disabled {
    background-color: #e9ecef;
    opacity: 1;
}

/* Textarea */
textarea {
    min-height: calc(1.5em + 0.75rem + 2px);
    resize: vertical;
}

/* Checkbox and Radio */
input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Form Labels */
label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Bootstrap Table Styles */
table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6;
    caption-side: bottom;
    border-collapse: collapse;
}

table thead {
    vertical-align: bottom;
}

table th,
table td {
    padding: 0.5rem;
    background-color: transparent;
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px transparent;
}

table tbody {
    vertical-align: inherit;
}

/* Table Bordered */
table.table-bordered,
.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

/* Table Striped */
table.table-striped tbody tr:nth-of-type(odd),
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Table Hover */
table.table-hover tbody tr:hover,
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

/* Table Responsive */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
    .table-responsive {
        width: 100%;
        overflow-x: auto;
    }
}

/* Bootstrap List Styles */
ul,
ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin-bottom: 0;
}

/* List Unstyled */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* List Inline */
.list-inline {
    padding-left: 0;
    list-style: none;
}

.list-inline-item {
    display: inline-block;
}

.list-inline-item:not(:last-child) {
    margin-right: 0.5rem;
}

/* List Group */
.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 0.375rem;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.list-group-item:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.list-group-item:last-child {
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Button Styling */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"].btn-primary:hover {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #5c636a;
    border-color: #565e64;
}

.btn-small,
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.btn-large,
.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

/* Navbar Links Light Color */
.navbar-nav .nav-link,
.navbar-nav a {
    color: #f8f9fa !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav a:hover {
    color: #ffffff !important;
}

/* Full Width Layout */
html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override any fixed width containers */
.inner,
.wrap,
#topGreyBar,
#topBlueMenuBar,
.footer,
.footerdiv {
    width: 100% !important;
    max-width: 100% !important;
}

/* Ensure Bootstrap rows span full width */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

/* Force row to display as flexbox on desktop */
@media (min-width: 992px) {
    .container-fluid > .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
}

/* Ensure Bootstrap columns display properly */
.col-12,
.col-lg-3,
.col-lg-6 {
    flex-shrink: 0 !important;
    width: 100%;
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 auto !important;
        width: 20% !important;
    }

    .col-lg-6 {
        flex: 0 0 auto !important;
        width: 60% !important;
    }
}

/* Remove fixed widths from old column classes - use Bootstrap grid instead */
/* On mobile: Stack columns */
@media (max-width: 991.98px) {
    .leftSideColumn,
    .rightSideContent,
    .rightSideColumn {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }
}

/* On desktop: Set explicit widths for 3-column layout */
@media (min-width: 992px) {
    /* Left sidebar - 20% */
    .leftSideColumn {
        width: 20% !important;
        max-width: 20% !important;
        flex: 0 0 20% !important;
        float: none !important;
    }

    /* Main content - 60% */
    .rightSideContent {
        width: 60% !important;
        max-width: 60% !important;
        flex: 0 0 60% !important;
        float: none !important;
    }

    /* Right sidebar - 20% */
    .rightSideColumn {
        width: 20% !important;
        max-width: 20% !important;
        flex: 0 0 20% !important;
        float: none !important;
    }
}
