.productList-section {
    padding: 50px 0;
    max-width: 1400px;
    margin: 0 auto;
    width: calc(100% - 140px);
    text-align: center;
}

.productList-title {
    font-size: var(--ssbond-d-h2);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: var(--ssbond-d-b2);
    margin-top: var(--ssbond-space-t1);
}

/* Categories */
.productList-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.productList-category-btn {
    padding: 8px 24px;
    border-radius: 20px;
    border: 1px solid #0071e3;
    background: transparent;
    color: #0071e3;
    font-size: var(--ssbond-d-desc2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.productList-category-btn.active {
    background: #0071e3;
    color: white;
}

/* Container for the scrollable area */
/* .productList-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
} */

.productList-grid {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    will-change: transform;
    -webkit-font-smoothing: antialiased;
    scroll-snap-type: none;
    transition: all 0.3s ease-out;
    margin-top: var(--ssbond-d-t2);
    -webkit-overflow-scrolling: touch;
}

.productList-grid:active {
    cursor: grabbing;
}

/* Hide scrollbar but keep functionality */
.productList-grid::-webkit-scrollbar {
    display: none;
}

/* Adjust card for scroll snap */
.productList-card {
    
    flex: 0 0 calc(25% - 0px);
    /*flex: 0 0 calc(25% - 19px);*/
    /* flex: 0 0 calc(25% - 19px); */
    scroll-snap-align: start;
    min-width: 280px;
    transform: translateZ(0);
}

/* Update Dots Navigation to match typical banner style */
.productList-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.productList-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.productList-dot.active {
    background: #06c;  /* Apple's blue color */
    transform: scale(1);
}

.productList-dot:not(.active) {
    transform: scale(0.75);
}

/* Optional: Hover effect */
.productList-dot:hover:not(.active) {
    background: rgba(0, 0, 0, 0.3);
}

/* Make dots smaller on mobile */
@media (max-width: 768px) {
    .productList-dot {
        width: 6px;
        height: 6px;
    }
    
    .productList-dots {
        gap: 6px;
    }
}

/* Product Card */
.productList-card {
    background: var(--ssbond-whiteGray);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--sf-shadow-md);
    text-align: center;
    transition: var(--sf-transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: auto;
    min-height: 380px;
}
.productList-card img {
    width: calc(100% + 40px); /* Adjusts for the card's 20px padding on both sides */
    margin: 0 -20px 5%; /* Negative margin to align with the card's edges */
    /* max-height: 250px;*/ /* quality issue */
    object-fit: fill;
    border-radius: 0px 0px; /* Match card's border radius for a seamless look */

}
/* .productList-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.03),
        0 2px 2px rgba(0,0,0,0.03),
        0 4px 4px rgba(0,0,0,0.03),
        0 8px 8px rgba(0,0,0,0.03),
        0 16px 16px rgba(0,0,0,0.03),
        0 32px 32px rgba(0,0,0,0.03);
    background: #f0f0f2;
} */
.productList-card-title {
    display: flex;
    justify-content: space-between; /* Space out the title and button */
    align-items: center; /* Vertically center the content */
}

.productList-card-title h3 {
    font-size: var(--ssbond-d-h3);
    font-weight: 600;
    color: #1d1d1f;
    margin: 0; /* Remove auto margins */
    line-height: 1.2;
    max-width: 90%;
    margin-bottom: var(--ssbond-d-b1);
    margin-top: 3%;
}

/* .productList-card-title button {
    background: transparent;
    border: 1px solid #0071e3;
    color: #0071e3;
    font-size: var(--ssbond-d-btn-card);
    padding: 4px 16px;
    border-radius: 20px;
    cursor: pointer;
    margin: 0; 
    width: auto; 
    white-space: nowrap; 
    transition: all 0.2s ease;
    font-weight: 500;
    height: 32px;
    min-width: 70px;
    display: inline-flex;
    align-items: center; 
    justify-content: center; 
} */


.productList-card-description {
    font-size: var(--ssbond-d-desc3);
    color: #86868b;
    line-height: 1.3;
    margin: 0;
    max-width: 100%;
    margin-bottom: var(--ssbond-d-b1);
    text-align: left; /* Aligns the text to the left */
}


/* .productList-card-dealar, .productList-card-shop {
    background: var(--ssbond-white);
    border: 1px solid #0071e3;
    color: #0071e3;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin: 0 auto;
    width: fit-content;
    transition: all 0.2s ease;
    font-weight: 500;
    height: 32px;
    min-width: 110px;
} */

/* .productList-card-learn:hover {
    background: rgba(0, 113, 227, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
} */

.productList-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    margin: 5px auto;
    flex-grow: 1;
    width: 100%; /* Ensure the container takes up the full available width */
    margin-top: -10%;
    margin-bottom: -10%;
}

.productList-card-image img {
    width: 90%; /* Increase the width of the image (adjust this percentage as needed) */
    height: auto; /* Keep the height proportional to the width */
    object-fit: contain; /* Ensure the image scales while maintaining its aspect ratio */
    max-height: 180px; /* Optional: limit the height if needed */
}


.productList-card-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5%;
    width: 100%;
    font-family: var(--ssbond-family);
}

.productList-btn-dealer,
.productList-btn-shop {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 0 1 auto;
    min-width: 120px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 110px;
    font-family: var(--ssbond-family);
}

.productList-btn-dealer {
    background: #0071e3;
    color: white;
}

.productList-btn-shop {
    background: #e60012;
    color: white;
}

/* .productList-btn-dealer:hover,
.productList-btn-shop:hover {
    opacity: 0.9;
    transform: translateY(-1px);
} */
.productList-card-dealar:hover,
.productList-card-shop:hover {
    /* opacity: 0.9;
    transform: translateY(-1px); */
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .productList-grid {
        grid-template-columns: repeat(3, 1fr);
        width: calc(100% - 0px);
    }

    .productList-card {
        flex: 0 0 calc(33.333% - 0px);
        /*flex: 0 0 calc(33.333% - 17px);*/
        min-width: 240px;
    }
}

@media (max-width: 992px) {
    .productList-grid {
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% - 60px);
    }

    .productList-card {
        flex: 0 0 calc(50% - 13px);
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .productList-section {
        width: calc(100% - 40px);
        padding: 40px 0;
    }

    .productList-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
    }

    .productList-card {
        flex: 0 0 calc(65% - 20px);
        min-width: 200px;
    }

    .productList-card-image {
        padding: 10px 0;
    }

    .productList-card-image img {
        max-height: 160px;
    }

    /* .productList-card-learn, */
    .productList-btn-dealer,
    .productList-btn-shop {
        height: 30px;
        min-width: 100px;
        font-size: var(--ssbond-d-btn-card);
    }
}

@media (max-width: 576px) {
    .productList-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .productList-card {
        flex: 0 0 calc(85% - 20px);
        min-width: 180px;
    }

    .productList-card-image img {
        max-height: 150px;
    }
    .productList-container{
        width: 100%;
    }
    .productList-title{
        font-size: var(--ssbond-m-h2);
        margin-top: var(--ssbond-space-t6);
    }
    .productList-card-title h3{
        font-size: var(--ssbond-m-h3);
    }
    .productList-card-description {
        font-size: var(--ssbond-m-desc3);
    }
   
}

/* Add Product Tabs Styling */
.productList-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* margin-bottom: var(--ssbond-d-b2); */
    flex-wrap: wrap;
}

.productList-tab {
    padding: 8px 24px;
    border-radius: 20px;
    border: 1px solid var(--ssbond-blue);
    background: transparent;
    color: var(--ssbond-black);
    font-size: var(--ssbond-d-btn);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--ssbond-family);
    font-weight: var(--ssbond-d-btn-weight);
}

.productList-tab.active {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
}

.productList-tab:hover:not(.active) {
    color: var(--ssbond-white);
    background: var(--ssbond-primaryLinear);
}

/* Update dots styling to match banner */
.productList-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.productList-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D9D9D9;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0 3px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .productList-tabs {
        gap: 5px;
        margin-bottom: 30px;
        /* margin-left:-10px;
        margin-right:-10px; */
    }

    .productList-tab {
        flex: 1 1 auto;  
        font-size: var(--ssbond-m-btn-card);
        padding: 6px 12px;
    }
}


/* Ensure smooth transitions */
.productList-grid,
.productList-card {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
}

/* Navigation buttons styling */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prev-btn {
    left: -5px;
}

.next-btn {
    right: -5px;
}

.productList-container:hover .nav-btn {
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-btn {
        display: none;
    }
    
    .productList-container {
        width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .productList-section {
        width: calc(100% - 95px);
    }
}

@media (max-width: 992px) {
    .productList-section {
        width: calc(100% - 60px);
    }
}

@media (max-width: 768px) {
    .productList-section {
        width: calc(100% - 40px);
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .productList-section {
        width: calc(100% - 30px);
        margin-top: -25px;
    }
    /* .productList-tabs{
        margin-left: 5px;
    } */
    /* .productList-card-title button {
       
        padding: 0px 0px; 
        font-size: var(--sf-text-sm);
        height: 30px;
        min-width: 80px; 
    } */
}

.productList-card-buttons {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 5%;
    width: 100%;
}

.productList-card-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--ssbond-blue);
    background: var(--ssbond-white);
    color: var(--ssbond-black);
    font-size: var(--ssbond-d-btn-card);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--ssbond-family);
}

.productList-card-shop i {
    margin-right: 5px;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .productList-card-shop {
        font-size: var(--ssbond-m-btn-card);
        padding: 6px 12px;
        justify-content: center;
    }

    .productList-card-shop i {
        font-size: 0.8em;
        margin-right: 3px;
    }
}

/* Optional: Hover effect */
/* .productList-card-shop:hover {
    background: rgba(0, 113, 227, 0.1);
} */










