.productListCategory-section {
    padding: 50px 0;
    max-width: 1400px;
    margin: 0 auto;
    width: calc(100% - 140px);
    text-align: center;
}

.productListCategory-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 */
.productListCategory-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
}

.productListCategory-category-btn {
    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;
}

.productListCategory-category-btn.active {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
}

/* Container for the scrollable area */
/* .productListCategory-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
} */

.productListCategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* Adjust min card width */
    gap: 25px;
    padding: 20px 0;
    width: 100%;
    /* width: 24%; */
    overflow: hidden; /* Prevent horizontal scrolling */
}

.productListCategory-grid:active {
    cursor: grabbing;
}

/* Hide scrollbar but keep functionality */
.productListCategory-grid::-webkit-scrollbar {
    display: none;
}

/* Adjust card for scroll snap */
.productListCategory-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);
    min-height: 380px;
    
}

/* Update Dots Navigation to match typical banner style */
.productListCategory-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.productListCategory-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;
}

.productListCategory-dot.active {
    background: #06c;  /* Apple's blue color */
    transform: scale(1);
}

.productListCategory-dot:not(.active) {
    transform: scale(0.75);
}

/* Optional: Hover effect */
.productListCategory-dot:hover:not(.active) {
    background: rgba(0, 0, 0, 0.3);
}

/* Make dots smaller on mobile */
@media (max-width: 768px) {
    .productListCategory-card{
        width: 315px;
    }
}
@media (max-width: 768px) {
    .productListCategory-dot {
        width: 6px;
        height: 6px;
    }
    
    .productListCategory-dots {
        gap: 6px;
    }
}

/* Product Card */
.productListCategory-card {
    background: var(sf-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;
}
.productListCategory-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;*/
    object-fit: fill;
    border-radius: 0px 0px; /* Match card's border radius for a seamless look */

}

.productListCategory-card-title {
    display: flex;
    justify-content: space-between; /* Space out the title and button */
    align-items: center; /* Vertically center the content */
}

.productListCategory-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%;
}

.productListCategory-card-title button {
    background: var(--ssbond-white);
    border: 1px solid var(--ssbond-blue);
    color: var(--ssbond-black);
    font-size: 10px;
    padding: 4px 16px;
    border-radius: 20px;
    cursor: pointer;
    margin: 0; 
    width: 50px; 
    white-space: nowrap; 
    transition: all 0.2s ease;
    font-weight: 500;
    height: 20px;
    min-width: 70px;
    display: inline-flex;
    align-items: center; 
    justify-content: center; 
    font-family: var(--ssbond-family);
}


.productListCategory-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;
}

.productListCategory-card-dealar, .productListCategory-card-shop {
    background: transparent;
    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;
}

.productListCategory-card-learn:hover {
    background: rgba(0, 113, 227, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.productListCategory-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%;
}

.productListCategory-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 */
}


.productListCategory-card-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5%;
    width: 100%;
}
.productListCategory-card-buttons a{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5%;
    width: 100%;
}

.productListCategory-btn-dealer,
.productListCategory-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;
}

.productListCategory-btn-dealer {
    background: #0071e3;
    color: white;
}

.productListCategory-btn-shop {
    background: #e60012;
    color: white;
}

.productListCategory-btn-dealer:hover,
.productListCategory-btn-shop:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.productListCategory-card-dealar:hover,
.productListCategory-card-shop:hover {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .productListCategory-grid {
        grid-template-columns: repeat(4, 1fr);
        width: calc(100% - 5px);
    }
    .productListCategory-card {
        flex: 0 0 calc(33.333% - 17px);
        min-width: 275px;
    }
}

@media (max-width: 992px) {
    .productListCategory-grid {
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% - 60px);
    }

    .productListCategory-card {
        flex: 0 0 calc(50% - 13px);
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .productListCategory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
    }
    .productListCategory-section {
        width: calc(100% - 40px);
        padding: 40px 0;
    }


    .productListCategory-card {
        flex: 0 0 calc(65% - 20px);
        min-width: 200px;
    }

    .productListCategory-card-image {
        padding: 10px 0;
    }

    .productListCategory-card-image img {
        max-height: 160px;
    }

    .productListCategory-card-learn,
    .productListCategory-btn-dealer,
    .productListCategory-btn-shop {
        height: 30px;
        min-width: 100px;
        font-size: var(--ssbond-d-btn-card);
    }
}

@media (max-width: 299px) {
    .productListCategory-card {
        min-width: 150px !important;
        width: calc(100% - 0px) !important;
    }
}
@media (max-width: 576px) {
    .productListCategory-grid {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center; /* Horizontally center items */
        align-items: center;   /* Vertically center items */
        width: 100%;
        margin-top: 50px;
    }
    

    .productListCategory-card {
        flex: 0 0 calc(85% - 20px);
        min-width: 180px;
        width: calc(100% - 15px);
    }
    .productListCategory-title{
        font-size: var(--ssbond-m-h2);
    }
    .productListCategory-card-image img {
        max-height: 150px;
    }
    .productListCategory-container{
        width: 100%;
    }
    .productListCategory-card-title h3{
        font-size: var(--ssbond-m-h3);
    }
    .productListCategory-card-description{
        font-size: var(--ssbond-m-desc3);
    }
    .productListCategory-tab{
        font-size: var(--ssbond-m-btn-card) !important;
        padding: 6px 12px !important;
    }
    .productListCategory-card-title button{
        padding: 0px 0px !important;
        font-size: 10px !important;
        height: 20px !important;
        min-width: 65px !important;
    }
}

/* Add Product Tabs Styling */
.productListCategory-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.productListCategory-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);
}

.productListCategory-tab.active {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
}

.productListCategory-tab:hover:not(.active) {
    color: var(--ssbond-white);
    background: var(--ssbond-primaryLinear);
}

/* Update dots styling to match banner */
.productListCategory-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.productListCategory-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) {
    .productListCategory-tabs {
        gap: 5px;
        margin-bottom: var(--ssbond-space-t10);
    }

    .productListCategory-tab {
        flex: 1 1 auto;
        padding: 6px 20px;
        font-size: var(--ssbond-small--btn);
    }
}

/* Ensure smooth transitions */
.productListCategory-grid,
.productListCategory-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;
}

.productListCategory-container:hover .nav-btn {
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-btn {
        display: none;
    }
    
    .productListCategory-container {
        width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .productListCategory-section {
        width: calc(100% - 95px);
    }
}

@media (max-width: 992px) {
    .productListCategory-section {
        width: calc(100% - 60px);
    }
}

@media (max-width: 768px) {
    .productListCategory-section {
        width: calc(100% - 40px);
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .productListCategory-section {
        width: calc(100% - 30px);
    }
    .productListCategory-card-title button {
        /* Even smaller button adjustments */
        padding: 0px 0px; /* Further reduce padding */
        font-size: var(--sf-text-sm); /* Smaller font size */
        height: 30px; /* Smaller button height */
        min-width: 80px; /* Smaller minimum width */
    }
    .productListCategory-tabs {
        gap: 5px;
        margin-bottom: var(--ssbond-space-t8);
    }

}
@media (min-width: 300px) and (max-width: 364px) {
    .productListCategory-section {
        width: calc(100% - 35px);
    }
    .productListCategory-tabs {
        gap: 5px;
        margin-bottom: var(--ssbond-space-t9);
        /* max-width: 319px;
        margin-left: 15px; */
        max-width: 102%;
        margin-left: -5px;
        margin-right: -5px !important;
    }

    .productListCategory-tab {
        flex: 1 1 auto;
        padding: 6px 20px;
        font-size: var(--ssbond-small--btn);
    }
}

.productListCategory-card-buttons{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5%;
    width: 100%;
}
.productListCategory-card-buttons a {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5%;
    width: 100%;
}

.productListCategory-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);
}

.productListCategory-card-shop i {
    margin-right: 5px;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .productListCategory-card-shop {
        font-size: var(--sf-text-sm);
        padding: 6px 12px;
        justify-content: center;
    }

    .productListCategory-card-shop i {
        font-size: 0.8em;
        margin-right: 3px;
    }
}

/* Optional: Hover effect */











