.product-detail {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;

}

.product-images {
    text-align: center;
    flex: 1;
    width: 100%;
}

.main-image {
    width: 100%;
    max-width: 600px;
    height: 100%;
    max-height: 800px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease-in-out;
}



.thumbnail-images {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.thumbnail-images img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-images img:hover {
    transform: scale(1.1);
    border: 2px solid #333;
}

.thumbnail-images img.active-thumbnail {
    border: 2px solid #000;
    transform: scale(1.1);
}

.product-info {
    flex: 1;
    max-width: 55%;
    text-align: left;
}

.product-info .product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-info .product-price {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.product-description {
    margin: 1rem 0;
    color: #797a7f;
}

/*product-page css*/

p.product-description {
    margin: 1rem 0;
    color: #797a7f;
}

div.product-info p {
    margin: 1.25rem 0;
    color: #797a7f;
    line-height: 1.5;
}

div.product-info h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #797a7f;
}

div.product-info p:nth-of-type(2) {
    margin-bottom: 1rem;
}

div.product-info ul {
    margin-top: 1rem;
    padding-left: 1rem;
    color: #797a7f;
}

div.product-info ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}


div.product-info ul li strong {
    font-weight: bold;
    color: #797a7f;
}

hr {
    border: none;
    border-top: 1px solid #ddd;

}



/* RESPONSIVE STYLES */
@media (max-width: 992px) {
    div.product-info {
        max-width: 100%;
        text-align: center;
    }

    div.product-info h3 {
        font-size: 1.5rem;
    }

    div.product-info p {
        font-size: 1.125rem;
    }

    div.product-info ul {
        list-style-type: none;
        padding-left: 0;
    }

    div.product-info ul li {
        list-style-type: none;
    }

    .additional-info {
        margin: 0 auto;
        text-align: center;
    }

    .product-cart {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    div.product-info h3 {
        font-size: 1.25rem;
    }

    div.product-info p {
        font-size: 1rem;
    }

    div.product-info ul {
        margin-top: 0.5rem;
        list-style-type: none;
    }

    .add-to-cart-btn {
        width: 100%;
    }

    .product-cart {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    div.product-info h3 {
        font-size: 1.125rem;
    }

    div.product-info p {
        font-size: 1rem;
    }

    div.product-info ul li {
        font-size: 0.9rem;
    }

    div.product-info ul {
        margin-top: 0.5rem;
        padding-left: 0;
    }

    .add-to-cart-btn {
        width: 100%;
        font-size: 1rem;
    }

    .product-cart {
        flex-direction: column;
        align-items: center;
    }
}




/*---*/

.product-details {
    margin-bottom: 2rem;
}

.product-details ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

div.product-info ul li:nth-child(3) {
    font-weight: 700;
}

.product-cart {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.add-to-cart-btn {
    background-color: #727271;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out;
}

.add-to-cart-btn:hover {
    background-color: #797a7f;
    /* Turn fully black on hover */
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Add slight shadow for depth */
    transform: scale(1.03);
    /* Subtle scale effect */

}

.cart-item__quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-item__quantity button {
    width: 30px;
    height: 30px;
    font-size: 1.125rem;
    color: #333;
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.cart-item__quantity button:hover {
    background-color: #ddd;
}

.cart-item__count {
    font-weight: bold;
    font-size: 1rem;
}

.terms-of-orders-title {
    color: #797a7f;
    font-weight: 800;
}

.terms-of-orders {
    color: #797a7f;
}

.additional-info {
    margin-top: 2rem;
    border-radius: 4px;
    max-width: 492px;
    width: 100%;
}

.additional-title {
    font-size: 1rem;
    font-weight: 400;
    color: #797a7f;
    margin-bottom: 0.5rem;
}

.divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0.5rem 0 1rem 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: #f2f2f2;
    border-radius: 4px;
    font-size: 0.9rem;
}

.info-label {
    font-weight: bold;
    color: #797a7f;
}

.info-value {
    color: #797a7f;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
    .product-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .product-info {
        max-width: 100%;
        text-align: center;
    }

    .product-info .product-title {
        font-size: 1.75rem;
    }

    .product-info .product-price {
        font-size: 1.3rem;
    }

    .thumbnail-images img {
        width: 120px;
        height: 120px;
    }

    .product-cart {
        justify-content: center;
    }

    .additional-info {
        margin: 0 auto;
    }

    .product-details ul {
        list-style-type: none;
    }


}




@media (max-width: 992px) {
    .additional-info {
        margin: 2rem auto;
        max-width: 100%;
        text-align: center;
    }

    .additional-title {
        font-size: 0.95rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .additional-info {
        margin: 1.5rem auto;
        padding: 1rem;
    }

    .additional-title {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .additional-info {
        margin: 1rem auto;
        padding: 0.75rem;
        border-radius: 3px;
    }

    .additional-title {
        font-size: 0.9rem;
    }

    .cart-item__count {
        font-weight: bold;
        font-size: 1.5rem;
    }

    .cart-item__quantity button {
        width: 40px;
        height: 40px;

    }

}

@media (max-width: 768px) {
    .main-image {
        max-width: 100%;
    }

    .product-info .product-title {
        font-size: 1.5rem;
    }

    .product-info .product-price {
        font-size: 1.2rem;
    }

    .thumbnail-images img {
        width: 120px;
    }

    .add-to-cart-btn {
        width: 100%;
    }

    .product-cart {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 1rem;
    }

    .main-image {
        max-width: 100%;
    }

    .thumbnail-images {
        gap: 0.5rem;
    }


    .thumbnail-images img {
        width: 100px;
        height: 100px;
    }

    .product-info .product-title {
        font-size: 1.25rem;
    }

    .product-info .product-price {
        font-size: 1.2rem;
    }

    .main-image {
        max-width: 400px;
        max-height: 500px;
        height: 100%;
        width: 100%;
    }

    .cart-item__quantity {
        gap: 10px;
    }

}




