body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    max-width: 800px;
    margin: auto;
}
header {
    background-color: #2d6a4f;
    color: white;
    padding: 20px;
    text-align: center;
}
footer {
    background-color: #2d6a4f;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
main {
    padding: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    justify-content: center;
}
.logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}
.search-bar {
    margin-top: 15px;
    text-align: center;
}
.search-bar input {
    width: 60%;
    max-width: 400px;
    padding: 10px 15px;
    border: 2px solid #1b4332;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
}
.payment-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: ;
    text-align: center;
    margin: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.btn {
    background-color: #6200ea;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}
#products {
	min-height: 500px;
}
.product {
    border: 1px solid #ccc;
    padding: 15px;
    margin: 15px 0;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.product img {
    width: 90px;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    border-radius: 5px;
}
.product-details {
    flex-grow: 1;
}
.product-details h1 {
	margin: 6px;
}
.product-details input {
	margin-top: 6px;
}
.product-details p {
	margin: 4px;
}
.book-button {
    padding: 8px 12px;
    background-color: #1b4332;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.book-button.added {
    background-color: #d00000;
}
.quantity-input {
    width: 50px;
}
#buyListDisplay {
    background-color: #e6f4ea;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#clear_whatsapp {
    text-align: center;
    margin: 20px 0;
    position: relative;
}
#clear {
    background-color: #d00000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    width: 45%;
}
#whatsapp {
    background-color: #4CAF50;
    color: white;
}
#whatsapp-share {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    font-size: 1.1rem;
}
#upiModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}
#purchasemodel {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}
.scroll-btn {
    padding: 10px 20px;
    background-color: #0077cc;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}
.scroll-btn:hover {
    background-color: #005fa3;
}
#purchasemodel p {
    font-size: 20px;
    line-height: 1.5;
    font-style: bold;
}
.modal-content {
    background: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    text-align: center;
    position: relative;
}
.close {in
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
.pay-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    width: 45%;
}
img.qr {
    width: 200px;
    margin: 10px auto;
}
.download-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    width: 45%;
}
.site-footer {
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
} 
.footer-box {
    flex: 1 1 250px;
    margin-bottom: 20px;
}
.footer-box h3, .footer-box h4 {
    margin-bottom: 15px;
    color: #ffffff;
}
.footer-links {
    list-style: none;
    padding: 0;
    line-height: 1.8;
}
.footer-links li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links li a:hover {
    color: #ffffff;
}
.social-links a {
    display: inline-block;
    margin-right: 10px;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: #ffffff;
}
.footer-box p {
    margin: 6px 0;
    font-size: 14px;
}
.footer-box a {
    color: #cccccc;
}
.copyright {
    margin-top: 10px;
    font-size: 13px;
    color: #aaaaaa;
}
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#dataBox {
    width: 300px;
    min-height: 100px;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
}