.product-container {
    padding: 40px;
    background-color: #fff;
    font-family: Arial, sans-serif;
    max-width: 1320px;
    margin: 0 auto;
}


.product-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.product-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    
}

.product-image .zoomable {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 8px;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.product-image:hover .zoomable {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: #e53935;
    margin-bottom: 10px;
    
}

.rating {
    font-size: 18px;
    color: gold;
    margin-bottom: 15px;
}

.short-description {
    margin-bottom: 20px;
    color: #444;
    line-height: 1.6;
}

.product-form {
    display: flex;
    gap: 15px;
    
    margin-top: 20px;
}

.product-form input[type="number"] {
    width: 60px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-cart {
    padding: 8px 15px;
    background-color: #e53935;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    
}
.btn-cart1 {
    padding: 8px 10px;
    background-color: #e53935;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    margin-left: 70px;
    margin-top: 20px;
    
}

.btn-cart:hover {
    background-color: #c62828;
}

.product-meta {
    font-size: 14px;
    color: #777;
    margin-top: 15px;
}

.product-description {
    margin-bottom: 50px;
}

.product-description h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.product-description p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.related-products h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
}

.related-grid {
    
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.related-card {
     flex: 1 1 22%;
    background: none;
    padding: 10px;
    text-align: center;
}

.related-card:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transform: scale(1.02);
}

.related-card img {
     width: 100%;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.related-card .name {
    font-weight: 600;
    margin-bottom: 5px;
    height: 50px;
}

.related-card .price {
    font-weight: bold;
    color: #e53935;
    margin-top: 20px;
}
.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #ccc;
    max-width: 500px;
}

.product-image img.zoom-hover {
    width: 100%;
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

.product-image:hover img.zoom-hover {
    transform: scale(1.9);
}


@media (max-width: 1024px) {
    .product-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-form {
        flex-direction: column;
        align-items: center;
    }

    .btn-cart,
    .product-form input[type="number"] {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== Related products grid responsive ===== */
@media (max-width: 1024px) {
    .related-grid {
        justify-content: center;
        gap: 25px;
    }

    .related-card {
        flex: 1 1 30%; /* 3 pe rând pe tabletă */
    }
}

@media (max-width: 768px) {
    .related-card {
        flex: 1 1 45%; /* 2 pe rând pe telefon */
    }

    .btn-cart1 {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}
 
  
 
  
 