﻿.car-badge {
    border: 1px solid #b9b9b930;
    padding: 0px 5px;
    border-radius: 5px;
    background: #b9b9b930;
    font-size: 10px;
}

.nav-link {
    color: #333;
    transition: background-color 0.3s;
}

    .nav-link.active {
        background-color: #007bff;
        color: #fff;
    }

.owl-prev, .owl-next {
    font-size: 1.5rem;
    padding: 8px 12px;
    border: none;
    background: #f1f1f1;
    border-radius: 4px;
    transition: background-color 0.3s;
}

    .owl-prev:hover, .owl-next:hover {
        background: #007bff;
        color: #fff;
    }

    .owl-prev[aria-disabled="true"], .owl-next[aria-disabled="true"] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    transition: background-color 0.3s;
}

    .owl-dot.active {
        background: #007bff;
    }

    .owl-dot:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }

.product-btn {
    position: absolute;
    bottom: -60px;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    background: #e9e9e991;
    color: #495057;
    border: 1px solid #a9a5a573;
    padding: 16px;
    border-radius: 8px 0px 0px 8px;
    cursor: pointer;
    width: 25%;
    height: 50px;
    font-size: 10px;
}

.product-view-btn {
    position: absolute;
    bottom: -60px;
    left: 62%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    background: #e9e9e991;
    color: #495057;
    border: 1px solid #a9a5a573;
    padding: 16px;
    border-radius: 0px 8px 8px 0px;
    cursor: pointer;
    width: 25%;
    height: 50px;
    font-size: 10px;
}

.product-card:hover .product-btn {
    bottom: 20px;
    opacity: 1;
}

.product-card:hover .product-view-btn {
    bottom: 20px;
    opacity: 1;
}

@media (max-width: 768px) {
    .heading-right .nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-left: 0;
        padding-right: 0;
        scroll-snap-type: x mandatory;
        direction: rtl;
        scrollbar-width: thin;
        scrollbar-color: #888 #f1f1f1;
    }

        .heading-right .nav::-webkit-scrollbar {
            height: 6px;
        }

        .heading-right .nav::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 3px;
        }

        .heading-right .nav::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .heading-right .nav .nav-item:first-child {
            margin-right: 380px;
        }

    .heading-right .nav-link {
        flex: 0 0 auto;
        white-space: nowrap;
        margin-right: 10px;
        padding: 8px 12px;
        scroll-snap-align: start;
    }

    .heading-right .nav {
        position: relative;
    }

        .heading-right .nav::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 20px;
            height: 100%;
            background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.1));
            pointer-events: none;
        }
}

