.shopList-section {
    padding: 50px 0;
    max-width: 1400px;
    margin: 0 auto;
    width: calc(100% - 140px);
    text-align: center;
}

.shopList-title {
    font-size: var(--ssbond-d-h2);
    font-weight: 600;
    color: #1d1d1f;
    /* margin-bottom: var(--ssbond-d-b2); */
    margin-top: var(--ssbond-space-t1);
   white-space: wrap;
}

/* Categories */
.shopList-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.shopList-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-desc2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.shopList-category-btn.active {
    background: var(--ssbond-blue);
    color: white;
}

/* Container for the scrollable area */
/* .shopList-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
} */

.shopList-grid {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    overflow-x: auto;
    overflow-y: hidden;
    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-space-t11);

    /* only from top same all card */
    align-items: flex-start;

    /* all card same height */
    /* align-items: stretch;  */
}

.shopList-grid:active {
    cursor: grabbing;
}

/* Hide scrollbar but keep functionality */
.shopList-grid::-webkit-scrollbar {
    display: none;
}

/* Adjust card for scroll snap */
.shopList-card {
    flex: 0 0 calc(25% - 19px);
    scroll-snap-align: start;
    min-width: 260px;
    transform: translateZ(0);
    height: auto;

    box-sizing: border-box;
}

/* Update Dots Navigation to match typical banner style */
.shopList-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.shopList-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;
}

.shopList-dot.active {
    background: var(--ssbond-blue);  /* Apple's blue color */
    transform: scale(1);
}

.shopList-dot:not(.active) {
    transform: scale(0.75);
}

/* Optional: Hover effect */
.shopList-dot:hover:not(.active) {
    background: rgba(0, 0, 0, 0.3);
}

/* Make dots smaller on mobile */
@media (max-width: 768px) {
    .shopList-dot {
        width: 6px;
        height: 6px;
    }
    
    .shopList-dots {
        gap: 6px;
    }
}

/* Product Card */
.shopList-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;
}
.shopList-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 */

}

.shopList-card-title {
    display: flex;
    justify-content: space-between; /* Space out the title and button */
    align-items: center; /* Vertically center the content */
}

.shopList-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%;
}
.shopList-card-content-child {
    flex: 1; /* Make child elements take equal width */
    text-align: center; /* Center-align text content */
    max-width: 200px; /* Set a max width for better structure */
}
.shopList-card-content-child h3{
    font-size: var(--ssbond-d-h5);
    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%;
}
.shopList-card-content-child ur li{
    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;
}
/* .shopList-card-title button {
    background: transparent;
    border: 1px solid var(--ssbond-blue);
    color: var(--ssbond-black);
    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; 
} */


.shopList-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;
}

.shopList-card-dealar, .shopList-card-shop {
    background: transparent;
    border: 1px solid var(--ssbond-blue);
    color: var(--ssbond-black);
    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;
}

/* .shopList-card-learn:hover {
    background: rgba(0, 113, 227, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
} */

.shopList-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%;
}

.shopList-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 */
}


.shopList-card-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5%;
    width: 100%;
}
.shopList-card-content {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 5%;
    width: 100%;
    flex-wrap: wrap;
}
.shopList-card-content-2 {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5%;
    width: 100%;
}

.shopList-btn-dealer,
.shopList-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;
}

.shopList-btn-dealer {
    background: var(--ssbond-blue);
    color: white;
}

.shopList-btn-shop {
    background: #e60012;
    color: white;
}

.shopList-btn-dealer:hover,
.shopList-btn-shop:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.shopList-card-dealar:hover,
.shopList-card-shop:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .shopList-grid {
        grid-template-columns: repeat(3, 1fr);
        width: calc(100% - 80px);
    }

    .shopList-card {
        flex: 0 0 calc(33.333% - 17px);
        min-width: 240px;
    }
}

@media (max-width: 992px) {
    .shopList-grid {
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% - 60px);
    }

    .shopList-card {
        flex: 0 0 calc(50% - 13px);
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .shopList-section {
        width: calc(100% - 40px);
        padding: 40px 0;
    }

    .shopList-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
    }

    .shopList-card {
        flex: 0 0 calc(65% - 20px);
        min-width: 200px;
    }

    .shopList-card-image {
        padding: 10px 0;
    }

    .shopList-card-image img {
        max-height: 160px;
    }

    /* .shopList-card-learn, */
    .shopList-btn-dealer,
    .shopList-btn-shop {
        height: 30px;
        min-width: 100px;
        font-size: var(--ssbond-d-btn-card);
    }
}

@media (max-width: 576px) {
    /* .shopList-container-calculation{
        width: 325px;
        margin-left: 2px !important;
    } */
    .shopList-grid {
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: var(--ssbond-space-t8);
    }
    .shopList-tab{
        flex: 1 1 auto;
    }
    .shopList-card {
        flex: 0 0 calc(85% - 20px);
        min-width: 180px;
    }

    .shopList-card-image img {
        max-height: 150px;
    }
    .shopList-container{
        width: 100%;
    }
    .shopList-title{
        font-size: var(--ssbond-m-h2);
    }
    .shopList-container-calculation {
        flex-direction: column;
        margin: 20px; /* Reduce margin for smaller screens */
    }
    .shopList-container-calculation-child-left h3, .field-child label h2{
        font-size: var(--ssbond-m-h4);
        
    }
    .shopList-card-content-child h3{
        font-size: var(--ssbond-m-h5);
    }
    .shopList-card-content-child ur li{
        font-size: var(--ssbond-m-desc3);
    }
    table thead tr{
        font-size: var(--ssbond-m-h5);
    }
    table tbody tr{
        font-size: var(--ssbond-m-h5);
    }
}

/* Add Product Tabs Styling */
.shopList-tabs {
    display: flex;
    justify-content: center;
    gap: 4px !important;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 20px 0px;
}

.shopList-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);
}

.shopList-tab.active {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
}

.shopList-tab:hover:not(.active) {
    color: var(--ssbond-white);
    background: var(--ssbond-primaryLinear);
}

/* Update dots styling to match banner */
.shopList-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.shopList-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) {
    .shopList-tabs {
        gap: 5px;
        margin-bottom: 30px;
    }

    .shopList-tab, .shopList-dropbtn {
        font-size: var(--ssbond-m-btn-card) !important;
        padding: 6px 12px !important;
    }
    
}

/* Ensure smooth transitions */
.shopList-grid,
.shopList-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;
}

.shopList-container:hover .nav-btn {
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-btn {
        display: none;
    }
    
    .shopList-container {
        width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .shopList-section {
        width: calc(100% - 95px);
    }
}

@media (max-width: 992px) {
    .shopList-section {
        width: calc(100% - 60px);
    }
}

@media (max-width: 768px) {
    .shopList-section {
        width: calc(100% - 40px);
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .shopList-section {
        width: calc(100% - 30px);
    }
    .shopList-card-title h3{
        font-size: var(--ssbond-m-h3);
    }
    .shopList-card-description{
        font-size: var(--ssbond-m-desc3);
    }
    
    /* .shopList-card-title button {
       
        padding: 0px 0px; 
        font-size: var(--sf-text-sm);
        height: 30px;
        min-width: 80px; 
    } */
}

.shopList-card-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5%;
    width: 100%;
}
.shopList-card-content {
    display: flex;
    justify-content: start;
    gap: 80px;
    margin-top: 5%;
    width: 100%;
}
.shopList-card-content .shopList-card-content-child h3{
    text-align: left;
}
.shopList-card-content .shopList-card-content-child ul li{
    font-size: var(--ssbond-d-btn-card);
    color: #86868b;
    line-height: 1.3;
    margin: 0 auto;
    max-width: 90%;
    margin-bottom: var(--ssbond-d-b1);
    white-space: wrap;
    text-align: left;
    margin-left: 13px;
}

/* multi select dropdown */

.shopList-container-color {
    margin-bottom: 30px;
}

.shopList-dropdown {
    position: relative;
    display: inline-block;
    justify-content: center;
    
}
.shopList-card-content {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
    gap: 30px;
}

.partially-hidden {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    
}



.shopList-dropbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* padding: 12px 24px; */
    /* border-radius: 4px; */
    /* font-size: 16px; */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-family: var(--ssbond-family);
    font-size: var(--ssbond-d-btn);
}

.shopList-dropbtn:hover {
    background-color: var(--ssbond-blue);
    opacity: 1; /* Full opacity on hover */
}

.shopList-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--ssbond-white);
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
    opacity: 0.8;
    bottom: 100%;  /* Position above the button */
    left: 50%;     /* Start from 50% of the parent container */
    transform: translateX(-50%); /* Center horizontally */
    margin-bottom: 10px;
    border-radius: 10px;
}


.shopList-dropdown:hover .shopList-dropdown-content {
    display: block;
    opacity: 1;
}

.shopList-dropdown-content.show {
    display: block;
    opacity: 1;
}
/* Fix: Hover over dropdown itself keeps it visible */
/* .shopList-dropdown-content:hover {
    display: block;
} */

.shopList-dropdown-content label {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
}


.shopList-dropdown-content input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    flex-shrink: 0; 
    border-radius: 50%; /* Makes the checkbox circular */
    border: 1px solid #ccc; /* Optional: Custom border styling */
    appearance: none; /* Removes default checkbox styling */
    background-color: #fff; /* Optional: Background color for the checkbox */
    cursor: pointer; /* Adds a pointer cursor */
}

/* Style for when the checkbox is checked */
.shopList-dropdown-content input[type="checkbox"]:checked {
    background-color: var(--ssbond-black); /* Custom color for checked state */
    border-color: var(--ssbond-black);
    box-shadow: 0 0 2px var(--ssbond-blue); /* Optional: Adds a glow effect */
}

/* Optional: Add hover effect for better UX */
.shopList-dropdown-content label:hover {
    background-color: #f5f5f5;
}



.shopList-color-input {
    padding: 10px;
    margin: 0 auto; /* Space between inputs */
    width: 150px;
    border: 1px solid #ccc;
    font-size: var(--ssbond-d-desc2);
    border-radius: 5px;
    width: 100%;
    margin-top: 10px;
    border-radius: 20px;
}

/* For white background inputs with black text */
.shopList-color-input.white-bg {
    background-color: white;
    color: black;
}

.shopList-input-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
}

/* For colored background inputs with white text */
.shopList-color-input.colored-bg {
    color: white;
}

/* Placeholder color styling */
.shopList-color-input.white-bg::placeholder {
    color: black;  /* Placeholder text is black for white background */
}

.shopList-color-input.colored-bg::placeholder {
    color: white;  /* Placeholder text is white for colored background */
}

/* Table styles */
table {
    width: 100%;
    margin-top: 20px;
    /* border-collapse: collapse; */
        border-collapse: separate; /* Ensures border-radius works */
        border-spacing: 0; /* Removes gaps between cells */
        border: 1px solid #ccc; /* Add border to the table */
        border-radius: 10px; /* Apply rounded corners */
        overflow: hidden; /* Ensures inner content respects border-radius */
}

table, th, td {
    border: 1px solid var(--ssbond-white);
    background-color: var(--ssbond-white);
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color:var(--ssbond-white);
}

/* Combined result table */
#combined-results {
    margin-top: 40px;
    border-collapse: collapse;
}

#combined-results th, #combined-results td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#combined-results th {
    background-color: var(--ssbond-white);
}
/* multi select dropdown */

.shopList-card-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--ssbond-blue);
    background: transparent;
    color: var(--ssbond-black);
    font-size: var(--sf-text-base);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.shopList-card-shop i {
    margin-right: 5px;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .shopList-card-shop {
        font-size: var(--sf-text-sm);
        padding: 6px 12px;
        justify-content: center;
    }

    .shopList-card-shop i {
        font-size: 0.8em;
        margin-right: 3px;
    }
    
}

/* Optional: Hover effect */
.shopList-card-shop:hover {
    background: rgba(0, 113, 227, 0.1);
}


.shopList-container-calculation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0;
    
}
.shopList-card-title p{
    font-size: 18px;
    color: var(--ssbond-blue);
    font-weight: 750;
}
.shopList-container-calculation-child-left {
    flex: 1;
    margin-right: 50px; /* Space between sections */
    background-color: var(--ssbond-whiteGray);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 100%;
    overflow-x: auto; /* Enable horizontal scrolling for overflow content */
}
.shopList-container-calculation-child-left h3, .field-child label h2{
    font-size: var(--ssbond-d-h4);
   
}
.shopList-container-calculation-child-left h3{

    margin-bottom: -20px;
}
.field-child label h2{

    margin-bottom: 10px;
}

table thead tr{
    font-size: var(--ssbond-d-h5);
    height: 40px;
}
table tbody tr{
    font-size: var(--ssbond-m-desc3);
}
.shopList-container-calculation-child-right {
    flex: 1;
    /* margin-right: 50px;  */
    margin-right: 0px; 
    background-color: var(--ssbond-whiteGray);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Add media query for small screens */
@media (max-width: 768px) {
    .shopList-container-calculation {
        flex-direction: column;
        /* margin: 20px; */
        margin: 0px; /* Reduce margin for smaller screens */

    }

    .shopList-container-calculation-child-left,
    .shopList-container-calculation-child-right {
        margin-right: 0; /* Remove extra spacing */
        margin-bottom: 20px; /* Add spacing between stacked elements */
        flex: 1 1 auto; /* Allow elements to resize flexibly */
        height: auto; /* Ensure proper height adjustment */
        overflow-x: auto; /* Enable horizontal scrolling for overflowing content */
    }

    table {
        width: 100%; /* Ensure table takes full width */
        border-collapse: collapse;
        word-wrap: break-word; /* Break long words for better responsiveness */
    }

    th, td {
        text-align: left;
        padding: 8px;
        white-space: nowrap; /* Prevent text from breaking into multiple lines */
    }
}








