
body {
    width: 100vw; /* Ensures full width */
    background: #f9f9f9; /* Background color applies to full screen */
}


.main-container {
    flex-grow: 1; /* Pushes footer to the bottom */
}
html, body {
    height: 100%; /* Make sure body takes full viewport height */
    display: flex;
    flex-direction: column;
}

.main-container {
    flex-grow: 1; /* Takes up all available space and pushes footer down */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 20px;
    background: #f9f9f9;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


.product-container {
    width: 45%;
    max-width: 600px; /* Prevents it from stretching too wide */
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 7rem;
}

@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem; /* Adjusted spacing */
    }

    .product-container, .checkout-container {
        width: 80%; /* Keeps them wide and aligned */
        min-width: 370px; /* Ensures they don't shrink beyond this */
    }


    .checkout-container {
        min-width: 350px; /* Prevents it from shrinking too much */
    }
   
}


/* Product Info */
.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



/* Image Positioned on the Left */
.product-image {
    flex: 0 0 20%; /* Takes up 30% of the width */
    justify-content: center;
    align-items: center;

}

.product-image img {
    width: 100%; /* Ensures it adapts within container */
    max-width: 350px; /* Prevents it from stretching beyond this */
    min-width: 200px; /* Prevents it from shrinking too much */
    height: auto;
    border-radius: 8px;
}

/* Align Title and Price Horizontally */
.product-header {
    display: flex;
    justify-content: space-between; /* Push title left, price right */
    align-items: center;
}

/* Make Price Stand Out */
.discounted-price {
    font-size: 22px;
    font-weight: bold;
    color: red;
}

/* Pricing Details */
.product-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.product-details {
    flex-grow: 1;
    padding-left: 15px;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.delivery-info {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.highlighted {
    color: green;
    font-weight: 600;
}

.product-features p {
    font-size: 14px;
    display: flex;
    align-items: center;
    color: #444;
    gap: 10px;
}
.product-features img {
     width: 20px;
    height: 20px;
}
.product-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.discounted-price {
    font-size: 20px;
    font-weight: bold;
    color: red;
}

.original-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #777;
}

.discount-label {
    font-size: 12px;
    font-weight: bold;
    color: green;
    background: #e6ffe6;
    padding: 3px 6px;
    border-radius: 4px;
}

.checkout-container {
    width: 30%; /* Slightly wider */
    max-width: 450px; /* Allow a bit more space */
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 7rem;
}



/* Checkout Title */
.checkout-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}
.checkout-title h2 {
    font-size: 1.5rem;
}
/* Order Details - Left-aligned labels, right-aligned amounts */
.order-details, .order-total {
    display: flex;
    justify-content: space-between; /* Push text left and amounts right */
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

.order-total {
  
    font-size: 1.5rem;
    margin-top: 1rem;
}
.order-total b {
     font-size: 1.5rem;

}
/* Free Shipping in Red */
.free-shipping {
    color: red;
    font-weight: bold;
}

/* Order Total Styling */
.order-total {
    font-size: 18px;
    font-weight: bold;
}

/* Tax Notice */
.tax-text {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

/* PayPal Button */
#paypal-button-container {
    margin-top: 50px;
}

/* Divider Line */
.divider {
    border: none;
    border-top: 1px solid #ddd; /* Light grey line */
    margin: 20px 0; /* Space above and below */
}


/* Fix footer positioning */
footer {
    width: 100%;
    background-color: #000; /* Adjust as per your theme */
    color: white;
    padding: 20px 0;
    position: relative;
    bottom: 0;
}

/* Flexbox fix to stack content properly */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon img {
    width: 30px;
    height: 30px;
}

/* Footer bottom section */
.footer-bottom {
    text-align: center;
    padding: 10px;
    background: #111;
    color: white;
    width: 100%;
}

/* Responsive Design Fix */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
.disclaimer {
    background: #ffecec;
    color: #d8000c;
    font-size: 10px;
    font-weight: bold;
    padding: 8px;
    border-radius: 6px;
    border-left: 5px solid #d8000c;
    margin-bottom: 20px;
}

/* Terms and Conditions Text */
.terms-text {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #333;
}

.terms-link {
    color: #007bff; /* Blue color for the link */
    text-decoration: underline; /* Underline the link */
    font-weight: bold;
}

.terms-link:hover {
    color: #0056b3; /* Darker blue on hover */
}
