* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    padding-top: 60px; /* Space for fixed navbar */
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0;
}

/* Product Section */
.product-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px auto;
    padding: 0 20px;
    margin-top: 60px;
    animation: fadeIn 1s ease-in-out;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    animation: scaleUp 1s ease-out;
}

/* Product Image */
.product-image {
    width: 350px;
    margin-right: 30px;
    flex: 1 1 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideInFromLeft 1s ease-in-out;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Product Details */
.product-details {
    flex: 2 1 500px;
    text-align: left;
    margin-top: 20px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.product-description {
    font-size: 16px;
    color: #666;
    line-height: 1.4; /* Reduced line spacing */
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

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

.product-description li {
    margin-bottom: 10px;
}

.product-description li:before {
    content: '✔'; /* Tick symbol */
    margin-right: 10px;
    color: #f57c00;
}

.price-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.price {
    font-size: 34px;
    font-weight: 700;
    color: #f57c00;
    margin-right: 10px;
}

.original-price {
    font-size: 20px;
    color: #888;
    text-decoration: line-through;
    margin-right: 10px;
}

.discount {
    background-color: #6c63ff;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.product-actions {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 30px;
}

.product-actions button,
.glimpse-btn {
    background-color: #f57c00;
    color: white;
    font-size: 18px;
    padding: 10px 25px; /* Medium button size */
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.product-actions button:hover,
.glimpse-btn:hover {
    background-color: #d35400;
}

.cta-btn {
    background-color: #f57c00;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #d35400;
}

/* Glimpse Preview Section */
.iframe-container {
    display: none;
    margin-top: 30px;
    text-align: center;
    width: 100%;
}

.iframe-container iframe {
    width: 100%;
    max-width: 960px;
    height: 540px;
    border: none;
    border-radius: 5px;
}

/* Highlighting the Delivery Message */
.delivery-time {
    color: #4CAF50;
    font-weight: bold;
    margin-top: 20px;
    animation: fadeIn 2s ease-in-out;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .product-container {
        padding: 0 10px;
        margin-top: 30px;
    }

    .product-card {
        flex-direction: column;
        padding: 20px;
    }

    .product-image {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    .product-title {
        font-size: 26px;
    }

    .product-description {
        font-size: 18px;
    }

    .price {
        font-size: 20px; /* Adjusted price font size for mobile */
    }

    .original-price {
        font-size: 18px; /* Reduced original price font size for mobile */
    }

    .discount {
        font-size: 15px; /* Reduced discount font size for mobile */
    }

    .cta-btn, .glimpse-btn {
        font-size: 16px;
        padding: 8px 18px;
    }

    .delivery-time {
        font-size: 14px;
    }

    .iframe-container iframe {
        height: 400px;
    }
}



/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
