.small-img-group {
    display: flex;
    justify-content: space-between;
}

.small-img-col {
    flex-basis: 24%;
    cursor: pointer;
}

.product-details-text {
    display: block;
    color: black;
    margin-top: 10px;
    line-height: 1.5;
    font-style: var(--plus-jakarta-sans);
}

.sproduct select {
    display: block;
    padding: 5px 10px;
}

.sproduct input {
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 16px;
    margin-right: 10px;
}

.sproduct input:focus {
    outline: none;
}

.enquiry-btn {
    background: var(--primary-color);
    opacity: 1;
    transition: 0.3s all;
    border: 0.5px solid black;
    padding: 8px 50px;
}

.related-products {
    display: flex;
    flex-direction: column;
}

.wrapper {
    position: relative;
}

.wrapper h3::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
    height: 1.5px;
    width: 120px;
    background-color: #aaa7a7;
}

/* Scope row styles so we don't override Bootstrap's .row globally */
.related-products .row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    padding: 20px 0;
}

.related-products .product-card {
    width: 220px;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.related-products .product-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
}

.related-products .product-card h4 {
    margin: 8px 0;
    font-size: 1rem;
}

.related-products .product-card button {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
}

.related-products .product-card button:hover {
    background: var(--secondary-dark);
}