/* Importing Noto Sans Bengali font directly for web display */
@font-face {
    font-family: 'Noto Sans Bengali';
    src: url('./fonts/NotoSansBengali-Regular.ttf') format('truetype');
    /* Ensure the path to your .ttf file is correct */
    font-weight: normal;
    font-style: normal;
}

/* Apply Noto Sans Bengali globally */
body {
    font-family: 'Noto Sans Bengali', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Specific elements that might override global font, ensure they use Noto Sans Bengali */
h1, h2, h3, h4, h5, h6,
.slogan,
.btn,
.product-item h4,
.order-summary-heading,
.customer-info-heading,
.success-heading,
.message-box-title {
    font-family: 'Noto Sans Bengali', sans-serif;
}


/* General Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.primary-btn {
    background-color: #28a745;
    /* Green */
    color: #fff;
}

.primary-btn:hover {
    background-color: #218838;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.whatsapp-btn {
    background-color: #25d366;
    /* WhatsApp Green */
    color: #fff;
}

.whatsapp-btn:hover {
    background-color: #1da851;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: #007bff;
    /* Blue */
    color: #fff;
}

.secondary-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Header Section */
.main-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.main-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-logo {
    width: 100px;
    /* Adjust as needed */
    height: 100px;
    /* Adjust as needed */
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    margin-bottom: 10px;
}

.company-name {
    font-size: 2.2rem;
    margin: 0;
    display: none;
    /* Hidden to prioritize slogan visually */
}

.slogan {
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0;
}

.main-header nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.main-header nav a:hover {
    color: #a0d3ff;
    border-bottom: 2px solid #a0d3ff;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh; /* আগের 100vh-এর বদলে */
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 0;
    padding: 40px 20px;
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        padding: 30px 15px;
    }
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: bgFadeSlideshow 15s infinite;
    opacity: 1;
}

/* ফেইড সহ ব্যাকগ্রাউন্ড স্লাইডশো */
@keyframes bgFadeSlideshow {
    0% {
        background-image: url('https://i.imgur.com/J1nFhfQ.jpeg');
        opacity: 1;
    }
    33% {
        background-image: url('https://i.imgur.com/EbZbufN.jpeg');
        opacity: 1;
    }
    66% {
        background-image: url('https://i.imgur.com/LtAhhKq.jpeg');
        opacity: 1;
    }
    100% {
        background-image: url('https://i.imgur.com/J1nFhfQ.jpeg');
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Why Us Section */
.why-us-section {
    background-color: #fff;
}

.why-us-section h2,
.process-section h2,
.products-section h2,
.contact-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.feature-item {
    background-color: #e9f7ff;
    /* Light blue background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.6rem;
    color: #0056b3;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1rem;
    color: #555;
}

/* Delivery Process Section */
.process-section {
    background-color: #f0f8ff;
    /* Very light blue */
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.step-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    flex: 1 1 calc(25% - 30px);
    /* Four items per row on desktop */
    min-width: 250px;
    /* Minimum width for smaller screens */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.process-icon {
    font-size: 3.5rem;
    color: #28a745;
    margin-bottom: 15px;
}

.step-item h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.95rem;
    color: #666;
}


/* Products Section */
.products-section {
    background-color: #fff;
}

.section-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.product-category {
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.product-category:last-of-type {
    border-bottom: none;
}

.product-category h3 {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.product-category h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #28a745;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.product-item {
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-item.unavailable {
    opacity: 0.6;
    cursor: not-allowed;
}

.product-item.unavailable .open-order-form-btn {
    background-color: #ccc;
    cursor: not-allowed;
}

.product-item:hover:not(.unavailable) {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.product-bottom-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.product-info-inline {
    margin-bottom: 15px;
}

.product-item h4 {
    font-size: 1.4rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.2;
}

.product-item .price {
    font-size: 1.1rem;
    color: #28a745;
    font-weight: bold;
    margin: 0;
}

.open-order-form-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.open-order-form-btn:hover:not(:disabled) {
    background-color: #0056b3;
}

.open-order-form-btn.unavailable-btn {
    background-color: #ccc;
    cursor: not-allowed;
    color: #666;
}

/* Order Summary Modal (Popup Overlay) */
.order-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center all popups */
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.order-popup-content {
    background-color: #fff;
    padding: 20px; /* Adjusted padding to be smaller */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideUp 0.3s ease-out;
    margin: 10px auto; /* Centered horizontally, 10px top/bottom margin */
    max-height: calc(100vh - 20px); /* Adjusted max-height based on 10px top/bottom margin */
    overflow-y: auto; /* Ensure content is scrollable if it exceeds max-height */
    text-align: left;
}

.close-popup-btn {
    position: absolute;
    top: 8px; /* Adjusted closer to top */
    right: 8px; /* Adjusted closer to right */
    background: none;
    border: none;
    font-size: 1.6rem; /* Slightly smaller close button */
    color: #888;
    cursor: pointer;
    line-height: 1;
}

.close-popup-btn:hover {
    color: #333;
}

.order-summary-heading,
.customer-info-heading {
    color: #0056b3;
    font-size: 1.5rem; /* Slightly smaller heading */
    margin-bottom: 15px; /* Reduced margin */
    display: flex;
    align-items: center;
    gap: 6px; /* Reduced gap */
}

.invoice-details {
    background-color: #f0f8ff;
    padding: 10px; /* Reduced padding */
    border-radius: 8px;
    margin-bottom: 12px; /* Reduced margin */
    font-size: 0.85rem; /* Slightly smaller font */
    border: 1px solid #e0f0ff;
}

.invoice-details p {
    margin: 3px 0; /* Reduced margin */
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 6px 0; /* Reduced padding */
    border-bottom: 1px dashed #eee;
    font-size: 0.95rem; /* Slightly smaller font */
    flex-wrap: nowrap; /* Keep cart items on single line */
    gap: 5px; /* Reduced gap */
}

.cart-item:last-child {
    border-bottom: none;
}

.item-details {
    flex: 1 1 auto; /* Allows it to take available space */
    color: #555;
    white-space: nowrap; /* Prevent wrapping for item details */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Add ellipsis for overflowing text if it's too long in UI */
}

.item-total {
    flex-shrink: 0; /* Prevent shrinking */
    font-weight: bold;
    color: #333;
    text-align: right; /* Align total to right */
    margin-left: auto; /* Push to the right */
    padding-left: 8px; /* Add some padding if text is too close */
}

.remove-item-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1rem; /* Slightly smaller close button */
    cursor: pointer;
    margin-left: 5px; /* Adjusted margin */
    padding: 2px; /* Reduced padding */
    border-radius: 5px;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.remove-item-btn:hover {
    background-color: #f8d7da;
}

.cart-total-section {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    margin-top: 12px; /* Reduced margin */
    padding-top: 10px; /* Reduced padding */
    border-top: 2px solid #007bff;
}

.total-label {
    font-size: 1.1rem; /* Slightly smaller font */
    font-weight: bold;
    color: #333;
    margin-right: 6px; /* Reduced margin */
}

.total-amount {
    font-size: 1.6rem; /* Slightly smaller font */
    font-weight: bold;
    color: #28a745;
}

/* Order Form */
#order-form {
    margin-top: 20px; /* Reduced margin */
    padding-top: 12px; /* Reduced padding */
    border-top: 1px dashed #ddd;
}

#order-form input[type="text"],
#order-form input[type="tel"],
#order-form textarea {
    width: calc(100% - 16px); /* Adjusted width for new padding */
    padding: 8px; /* Reduced padding */
    margin-bottom: 10px; /* Reduced margin */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.9rem; /* Slightly smaller font */
    font-family: 'Noto Sans Bengali', sans-serif;
}

#order-form textarea {
    resize: vertical;
    min-height: 60px; /* Slightly reduced min-height */
}

.order-confirm-btn {
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px; /* Reduced padding */
    border-radius: 8px;
    font-size: 0.95rem; /* Slightly smaller font */
    font-weight: bold;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.order-confirm-btn:hover {
    background-color: #218838;
}

/* Product Quantity Popup */
#product-quantity-popup .order-popup-content {
    max-width: 380px; /* Slightly smaller max-width */
    padding: 18px; /* Adjusted padding */
}

.popup-product-details {
    gap: 12px; /* Reduced gap */
    margin-bottom: 18px; /* Reduced margin */
    padding-bottom: 12px; /* Reduced padding */
}

.popup-product-details img {
    width: 90px; /* Slightly smaller image */
    height: 90px;
}

#popup-product-name {
    font-size: 1.3rem; /* Slightly smaller font */
    margin: 0 0 3px; /* Adjusted margin */
}

#popup-product-name-en {
    font-size: 0.8rem; /* Slightly smaller font */
    margin-bottom: 5px; /* Adjusted margin */
}

.popup-product-description {
    font-size: 0.8rem; /* Slightly smaller font */
    margin-bottom: 7px; /* Adjusted margin */
}

.popup-price-display {
    font-size: 0.95rem; /* Slightly smaller font */
}

.order-controls {
    gap: 6px; /* Reduced gap */
    margin-bottom: 18px; /* Reduced margin */
}

.order-controls label {
    font-size: 0.95rem; /* Slightly smaller font */
}

.order-controls input[type="number"] {
    width: 60px; /* Slightly smaller width */
    padding: 7px; /* Reduced padding */
    font-size: 0.9rem; /* Slightly smaller font */
}

/* Order Success Popup */
.success-content {
    padding: 25px 20px; /* Reduced padding */
}

.success-heading {
    font-size: 2rem; /* Slightly smaller font */
    margin-bottom: 12px; /* Reduced margin */
    gap: 8px; /* Reduced gap */
}

.success-message {
    font-size: 0.95rem; /* Slightly smaller font */
    margin-bottom: 7px; /* Reduced margin */
}

.thank-you-message {
    font-size: 1rem; /* Slightly smaller font */
    margin-top: 20px; /* Reduced margin */
}

#download-pdf-btn {
    margin-top: 18px; /* Reduced margin */
    margin-bottom: 12px; /* Reduced margin */
    padding: 8px 18px; /* Reduced padding */
    font-size: 0.9rem; /* Slightly smaller font */
}


/* Message Box Overlay */
#message-box-content {
    max-width: 350px; /* Slightly smaller max-width */
    padding-bottom: 12px; /* Reduced padding */
}

#message-box-title {
    font-size: 1.4rem; /* Slightly smaller font */
    margin-bottom: 10px; /* Reduced margin */
}

#message-box-text {
    font-size: 0.95rem; /* Slightly smaller font */
    margin-bottom: 18px; /* Reduced margin */
}

#message-box-ok-btn {
    padding: 7px 18px; /* Reduced padding */
    font-size: 0.9rem; /* Slightly smaller font */
}


/* Floating Cart Button */
.floating-button {
    width: 50px; /* Smaller */
    height: 50px; /* Smaller */
    font-size: 1.5rem; /* Smaller */
    bottom: 15px; /* Adjusted position */
    right: 15px; /* Adjusted position */
    z-index: 1050; /* Increased z-index to ensure it's on top */
}

.floating-button .cart-count {
    font-size: 0.7rem; /* Smaller */
    padding: 3px 6px; /* Adjusted padding */
    min-width: 16px; /* Adjusted min-width */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Main popup content for smaller screens */
    .order-popup-content {
        padding: 15px; 
    }
    .order-summary-heading, .customer-info-heading {
        font-size: 1.4rem;
    }
    .item-details, .item-total {
        font-size: 0.9rem;
    }
    .total-label {
        font-size: 1rem;
    }
    .total-amount {
        font-size: 1.4rem;
    }
    #order-form input, #order-form textarea {
        font-size: 0.85rem;
    }
    .order-confirm-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    .success-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    .order-popup-content {
        margin-top: 5px; 
        margin-bottom: 5px;
        max-height: calc(100vh - 10px); 
        padding: 10px; 
    }

    .close-popup-btn {
        font-size: 1.4rem; 
        top: 5px;
        right: 5px;
    }

    .order-summary-heading,
    .customer-info-heading {
        font-size: 1.2rem; 
        margin-bottom: 10px;
    }

    .invoice-details {
        padding: 8px;
        margin-bottom: 10px;
    }

    .invoice-details p {
        font-size: 0.8rem;
        margin: 2px 0;
    }

    .cart-item {
        font-size: 0.85rem; 
        padding: 4px 0;
    }
    .item-total {
        padding-left: 5px;
    }

    .remove-item-btn {
        font-size: 0.9rem;
    }
    
    .cart-total-section {
        margin-top: 10px;
        padding-top: 8px;
    }

    .total-label {
        font-size: 0.9rem;
    }

    .total-amount {
        font-size: 1.2rem;
    }

    #order-form {
        margin-top: 15px;
        padding-top: 10px;
    }

    #order-form input, #order-form textarea {
        padding: 7px;
        margin-bottom: 8px;
        font-size: 0.8rem;
    }

    #order-form textarea {
        min-height: 50px;
    }

    .order-confirm-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    #product-quantity-popup .order-popup-content {
        max-width: 300px;
        padding: 15px;
    }
    .popup-product-details {
        gap: 10px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    .popup-product-details img {
        width: 70px;
        height: 70px;
    }
    #popup-product-name {
        font-size: 1.1rem;
    }
    #popup-product-name-en, .popup-product-description, .popup-price-display {
        font-size: 0.75rem;
    }
    .order-controls label, .order-controls input {
        font-size: 0.85rem;
    }
    .order-controls input[type="number"] {
        width: 50px;
    }

    .success-content {
        padding: 20px 15px;
    }
    .success-heading {
        font-size: 1.6rem;
    }
    .success-message {
        font-size: 0.85rem;
    }
    .thank-you-message {
        font-size: 0.9rem;
    }
    #download-pdf-btn {
        padding: 7px 15px;
        font-size: 0.85rem;
    }

    #message-box-content {
        max-width: 280px;
        padding-bottom: 10px;
    }
    #message-box-title {
        font-size: 1.2rem;
    }
    #message-box-text {
        font-size: 0.85rem;
    }
    #message-box-ok-btn {
        padding: 6px 15px;
        font-size: 0.85rem;
    }

    .floating-button {
        width: 45px; 
        height: 45px;
        font-size: 1.3rem;
        bottom: 10px; 
        right: 10px; 
    }
    .floating-button .cart-count {
        font-size: 0.65rem;
        padding: 2px 5px;
        min-width: 14px;
    }
}
/* === Custom Modifications === */

/* Updated floating cart button to be truly floating */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1050;
    transition: background-color 0.3s ease;
}

.floating-button:hover {
    background-color: #218838;
}

.floating-button .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 0.75rem;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

/* Improved popup-product-details layout */
.popup-product-details {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.popup-product-details img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

#popup-product-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    color: #0056b3;
}

#popup-product-name-en {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.popup-product-description {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

.popup-price-display {
    font-size: 1.05rem;
    font-weight: bold;
    color: #28a745;
}

.order-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.order-controls label {
    font-weight: 500;
    font-size: 1rem;
}

.order-controls input[type="number"] {
    padding: 8px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 80px;
}

/* Order popup scroll fix when content is long */
.order-popup-content {
    max-height: 90vh !important;
    overflow-y: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 20px;
}

.order-confirm-btn {
    margin-top: 20px;
}

/* === Enhanced Styling Updates === */

/* Order Success Popup Styling */
.order-success-popup {
    text-align: center;
    padding: 20px;
}

.order-success-popup h2 {
    color: #28a745;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.order-success-popup p {
    margin: 8px 0;
    font-size: 1rem;
    color: #444;
}

.order-success-popup .button-group {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-success-popup .button-group button,
.order-success-popup .button-group a {
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Product Popup - Centered image and layout */
.popup-product-details {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.popup-product-details img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.popup-product-description {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

/* Stylish buttons */
button,
a.button {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover,
a.button:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}
