/* Main container styling */
.mainFrame {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 1200px;
    margin: 30px auto;
}

/* Cart block */
#cartBlock {
    position: fixed;
    top: 160px;
    left: 20px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cart_items {
    margin: 0;
    color: #2d3748;
    font-weight: 500;
}

/* Product title */
h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 20px 0 30px;
}

/* Dashed separator */
div[style*="border-top: 1px dashed black"] {
    height: 1px;
    border-top: 1px dashed #ccc;
    margin: 15px auto;
}

/* Product container */
.proDesc {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    color: #555;
}

/* Quantity input */
#quantity {
    width: 100px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
}

/* Product price */
.proPrice {
    font-size: 22px;
    font-weight: 600;
    color: #2d3748;
    margin-top: 10px;
}

/* Add to cart button */
.regButten.add-to-cart {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: #fff;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.regButten.add-to-cart:hover {
    background: linear-gradient(to right, #0056b3, #004080);
}

/* Product image container */
#productImages {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

/* Product image */
#productImages img {
    width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

#productImages img:hover {
    transform: scale(1.05);
}

/* Responsive styles */
@media (max-width: 768px) {
    .mainFrame {
        width: 95%;
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }

    .proDesc {
        width: 100%;
        text-align: center;
    }

    #productImages img {
        width: 140px;
    }

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