.productDetail-section {
    padding: var(--sf-spacing-2xl) 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: var(--sf-spacing-lg);
    padding-right: var(--sf-spacing-lg);
    will-change: transform;
    contain: content;
    -webkit-font-smoothing: antialiased;
}

.productDetail-header {
    text-align: center;
    margin-bottom: var(--sf-spacing-xl);
}

.productDetail-header h2 {
    font-size: var(--ssbond-d-h2);
    font-weight: 600;
    margin-bottom: var(--ssbond-d-b1);
    margin-top: var(--ssbond-space-t4);
}

.productDetail-header p {
    font-size: var(--ssbond-m-desc1);
    color: var(--sf-gray);
    margin-bottom: var(--ssbond-d-b1);
}

.productDetail-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.productDetail-cards {
    display: flex;
    gap: var(--sf-spacing-lg);
    overflow-x: auto;
    padding-bottom: var(--sf-spacing-md);
    -webkit-overflow-scrolling: touch;
}

.productDetail-card {
    flex: 0 0 calc(25% - 20px);
    border-radius: 10px;
    overflow: hidden;
    background: var(--ssbond-whiteGray);
    cursor: pointer;
}
.productDetail-cards::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.productDetail-card:hover {
    /* transform: translateY(-5px); */
}

.productDetail-card img {
    width: 100%;
    max-height: 350px;
    object-fit: fill;
}

.productDetail-content {
    padding: var(--sf-spacing-md);
}

.productDetail-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.productDetail-header-row-single {
    display: flex;
    justify-content: center;
    align-items: center;
}

.productDetail-text {
    text-align: left;
    
}

.productDetail-content 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%;
    margin-bottom: var(--ssbond-d-b2);
    white-space: nowrap !important;
}

.productDetail-description {
    font-size: var(--ssbond-d-desc3);
    color: #86868b;
    line-height: 1.3;
    margin: 0;
    max-width: 100%;
    margin-top: var(--ssbond-d-t5);
    margin-bottom: var(--ssbond-d-b1);
    text-align: left;
    /* display: -webkit-box; */
  -webkit-line-clamp: 1; /* Shows only 1 line */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.productDetail-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: -15px;
}

.productDetail-buttons .btn {
    padding: var(--sf-spacing-sm) var(--sf-spacing-lg);
    border-radius: 20px;
    border: 1px solid var(--ssbond-blue);
    background: var(--ssbond-white);
    color: var(--ssbond-black);
    font-size: var(--sf-text-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.productDetail-buttons .btn:hover {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
}

.productDetail-dots {
    display: flex;
    justify-content: center;
    gap: var(--sf-spacing-xs);
    margin-top: var(--sf-spacing-lg);
}

.productDetail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.productDetail-dot.active {
    background: var(--ssbond-blue);
}
.productDetail-viewall-div{
    display: flex;
    justify-content: end;
}
.productDetail-viewall {
    display: block;
    
    padding: var(--sf-spacing-sm) var(--sf-spacing-lg);
    border-radius: 20px;
    border: 1px solid var(--ssbond-blue);
    font-size: var(--sf-text-base);
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--ssbond-black);    
    font-family: var(--ssbond-family);
}

.productDetail-viewall:hover {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
}

    @media (max-width: 1200px) {
        .productDetail-card {
            flex: 0 0 calc(33.333% - 17px);
        }
    }

    @media (max-width: 992px) {
        .productDetail-card {
            flex: 0 0 calc(50% - 13px);
        }
    }

    @media (max-width: 576px) {
        .productDetail-card {
            flex: 0 0 calc(100% - 67px);
        }
        .productDetail-section {
            padding-left: 15px;
            margin-top: -40px;
        }
    .productDetail-buttons .btn {
        /* 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 */
    }
    .productDetail-header h2{
        font-size: var(--ssbond-m-h2);
        margin-top: var(--ssbond-space-t1);
    }
    .productDetail-header p{
        font-size: var(--ssbond-m-desc3);
    }
    .productDetail-viewall{
        font-size: var(--ssbond-m-btn-card);
        padding: 6px 12px;
    }
    .mobile-break{
        display: block;
    }
}
