.owl-nav button {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    font-size: 24px !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.owl-nav button.owl-prev {
    left: -50px !important;
}

.owl-nav button.owl-next {
    right: -50px !important;
}

.owl-nav button:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

.fixed-card {
    /* width: 100%;
    min-height: 100%;
    max-width: 280px; */
    height: 390px;
    width: 100%;
    min-height: 100%;
    max-width: 300px;
    margin: 16px auto;
    border-radius: 10px;
}

.fixed-image {
    height: 180px;
    width: 100%;
}

.product-card-body {
    padding: 1rem;
    min-height: 135px;
}

.custom-heading {
    margin-bottom: 0;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.paint-name {
    font-size: 1.45rem;
    font-weight: 600;
    color: #000;
}

.brand-name {
    font-size: 1.55rem;
    font-weight: 500;
    color: #000;
}
.color-code-name {
    font-size: 1.2rem !important;
    font-weight: 500;
    color: #000;
}
.size-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: #000;
}
.price-name {
    font-size: 1.6rem;
    font-weight: 500;
    color: #000;
}
.stock-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: #000;
}

.hover-effect {
    transition: transform 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* General Styles */
.paint-filter-section {
    background-color: rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/img/paint01.avif');
    padding: 20px;
    background-size: cover;
    background-position: center;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.breadcrumb-nav {
    margin-bottom: 10px;
    text-align: left;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 14px;
    color: #acacac !important;
    display: flex;
    align-items: center;
    text-transform: none;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #f0f0f0 !important;
}

.breadcrumb-item .active {
    color: grey;
}

/* Add dot between breadcrumb items */
.breadcrumb-item+.breadcrumb-item::before {
    content: "•";
    margin: 1px 0;
    color: darkgray;
    font-size: 24px;
}

/* Search Input */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-field {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 10px 20px 10px 20px;
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
}

/* Brand and Category Dropdowns */
.brand-category-container {
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.brand-category-fields {
    display: flex;
    gap: 30px;
}

.brand-category-field {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.filter-input {
    width: 200px;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

/* Centered black text styles */
.centered-black-text {
    color: #000 !important; /* Black color */
    text-align: center !important; /* Center aligned */
}

.filter-input.centered-black-text::placeholder {
    color: #000;
    font-weight: 600;
    text-align: center;
}

/* Dropdown menu item styles */
.dropdown-menu .centered-black-text {
    padding: 8px 12px;
    text-align: center;
    display: block;
    width: 100%;
}

/* Hover state for dropdown items */
.dropdown-menu .centered-black-text:hover {
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .custom-heading {
        margin-bottom: 26px !important;
    }

    .owl-nav button.owl-prev {
        left: -10px !important;
    }
    
    .owl-nav button.owl-next {
        right: -10px !important;
    }

    .container {
        padding: 0 10px;
    }

    .breadcrumb-item {
        font-size: 12px;
    }

    .search-container {
        margin-bottom: 20px;
    }

    .search-field {
        max-width: 100%;
    }

    .search-input {
        padding: 8px 20px 8px 10px;
        border-radius: 50px;
        font-size: 12px;
    }

    .brand-category-fields {
        max-width: 100%;
        gap: 10px;
        /* margin-right: 17px; */
    }

    .brand-category-container {
        padding: 0 10px;
    }

    .filter-input {
        width: 180px;
        padding: 8px 20px 8px 10px;
        border-radius: 25px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .brand-category-fields {
        max-width: 100%;
        flex-direction: column;
    }

}

.new-products-section {
    margin-bottom: 40px;
}

h2.subtitle.mission-h2.text-dark.text-center {
    text-transform: capitalize !important;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    z-index: 10;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-menu li {
    padding: 10px;
    font-size: 16px;
    color: #777;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.dropdown-menu li:hover, 
.dropdown-menu li.selected {
    background-color: #f5f5f5;
}

.no-results-img {
    max-width: 200px;
    margin-bottom: 20px;
}

.no-results-text {
    font-size: 1.2rem;
    color: #666;
}
.ajax-loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-filter.active {
    background-color: #000000;
    color: white;
}
.option.active {
    background-color: #000000;
    color: white;
    /* border-radius: 4px; */
    /* padding: 2px 5px; */
}

.filter-input {
    cursor: pointer;
    background-color: white;
}

/* .filter-input:hover {
    border-color: #cd0000;
} */

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    border-radius: 8px;
}

.label-group {
    position: absolute;
    top: 10px;
    left: 10px;
}

.out-of-stock {
    background: #ffff;
    color: #cd0000;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #cd0000;
    font-size: 12px;
    font-weight: 500;
}

.in-stock {
    background: #ffff;
    color: #28a745;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #28a745;
    font-size: 12px;
    font-weight: 500;
}

.product-details {
    padding: 10px 0;
}

.product-brand {
    font-size: 14px;
    color: #4b4b4b;
}

.product-title a {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
}

.product-title a:hover {
    color: #cd0000;
}

.price-box {
    font-size: 16px;
    font-weight: bold;
    color: #ff5722;
    margin: 10px 0;
}

.product-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    width: 250px;
    height: 180px;
}

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

.product-card:hover .product-title a {
    color: #cd0000;
}

@media (max-width: 768px) {
    .product-image {
        width: 165px;
        height: 140px;
    }

    .new-products-section {
        margin-bottom: 0;
    }

    .heading {
        margin-bottom: -50px;
    }

    .marginB {
        margin-bottom: -40px !important;
    }

    .mar50 {
        margin: 30px 0 60px 0 !important;
    }

    .mar40 {
        margin: 40px 0 70px 0 !important;
    }
}

.mar50 {
    margin: 52px 0 40px 0;
}

.mar40 {
    margin: -40px 0 40px 0;
}