
:root {
    --primary-color: #f7a202;
    /* The yellow/orange color */
    --text-dark: #333;
    --text-light: #fff;
    --bg-dark: #000;
    --bg-light: #f9f9f9;
    --border-color: #f7a202;
    --font-bengali: 'Noto Sans Bengali', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-bengali);
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background-color: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    font-size: 14px;
}

.top-bar p {
    margin: 0;
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 15px;
}

.contact-info a i {
    margin-right: 5px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
}

.logo img {
    height: 60px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
}

.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--bg-dark);
    color: var(--text-light);
    font-size: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 0;
}

.main-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    border: 3px solid var(--primary-color);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.btn-container {
    margin: 30px 0;
    text-align: center;
}

.btn-order {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 30px;
    border: 2px solid #b37400;
    /* Darker border for button */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background-color 0.2s;
}

.btn-order:hover {
    transform: scale(1.05);
    background-color: #e69600;
}

.btn-order i {
    margin-right: 10px;
}

/* Comparison Section */
.comparison-section {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    border: 3px solid var(--primary-color);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Process Section */
.process-section {
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

.process-item img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Checkout Section */
.checkout-section {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
}

.checkout-header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.checkout-header h2 {
    color: var(--primary-color);
    font-size: 28px;
}

.checkout-form-container {
    padding: 30px;
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.mt-20 {
    margin-top: 20px;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 8px;
    background: #fdfdfd;
}

.product-item.active {
    background: #eff7ff;
    border-color: #bee1ff;
}

.custom-checkbox {
    margin-right: 15px;
    width: 20px;
    height: 20px;
}

.product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
}

.product-label {
    flex-grow: 1;
    font-weight: 500;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.qty-input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
}

.price {
    font-weight: 700;
    min-width: 70px;
    text-align: right;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
}

.btn-submit:hover {
    background-color: #333;
}

/* Floating Chat */
.floating-chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    margin-right: 5px; /* align with the middle of the chat icon */
}

.chat-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.chat-option:hover {
    transform: scale(1.1);
    color: #fff;
}

.chat-option.whatsapp { background-color: #25D366; }
.chat-option.phone { background-color: #007bff; }
.chat-option.facebook { background-color: #0084ff; }

.floating-chat {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.chat-text {
    background: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background-color: #a885d8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { box-shadow: 0 0 0 0 rgba(168, 133, 216, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(168, 133, 216, 0); }
    100% { box-shadow: 0 0 0 0 rgba(168, 133, 216, 0); }
}

/* Order Summary */
.order-summary {
    margin-bottom: 20px;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.order-table th, .order-table td {
    padding: 15px 0;
    text-align: left;
    border-bottom: 1px dashed #ccc;
}

.order-table th:last-child, .order-table td:last-child {
    text-align: right;
}

.order-table thead th {
    font-weight: 700;
    color: #333;
    font-size: 16px;
    border-bottom: 1px dashed #ccc;
}

.order-product {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-product img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

.order-product span {
    font-size: 15px;
    line-height: 1.3;
}

.order-total th, .order-total td {
    font-weight: 700;
    font-size: 18px;
    border-bottom: none;
    padding-top: 15px;
}

/* Payment Methods */
.payment-methods {
    background-color: #eaf7e3;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #1a7318;
}

.payment-option label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    margin: 0;
}

.payment-instructions {
    background-color: #e3e3e3;
    padding: 15px;
    margin-top: 10px;
    border-radius: 3px;
    font-size: 14px;
    color: #555;
    position: relative;
    margin-left: 28px;
}

.payment-instructions::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #e3e3e3 transparent;
}

/* Shipping Options */
.shipping-options {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    background: #fff;
}

.shipping-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.shipping-option:last-child {
    border-bottom: none;
}

.shipping-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    cursor: pointer;
}

.shipping-option input[type="radio"]:checked {
    border-color: #10b981;
    background-color: #10b981;
}

.shipping-option input[type="radio"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 12px;
}

.shipping-name {
    flex-grow: 1;
    font-size: 16px;
    color: #555;
}

.shipping-price {
    font-size: 16px;
    color: #555;
}

/* Footer */
.footer {
    background-color: #d2943b;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-divider {
    width: 40px;
    height: 2px;
    background-color: #e2cca5;
    margin-bottom: 20px;
}

.footer-col p {
    color: #222;
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

.footer-links li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.footer-bottom {
    background-color: #fff;
    color: #777;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-bottom-links a {
    color: #777;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom-links a::after {
    content: '|';
    margin-left: 15px;
    color: #ccc;
}

.footer-bottom-links a:last-child::after {
    display: none;
}

.footer-bottom p {
    font-size: 14px;
}

.footer-bottom strong {
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 10px;
    }

    .contact-info a {
        margin: 0 10px;
    }

    .main-title {
        font-size: 22px;
        padding: 8px 15px;
    }

    .subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
        padding: 8px 15px;
    }

    .product-item {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .custom-checkbox {
        position: absolute;
        top: 15px;
        left: 15px;
    }

    .product-item img {
        margin-left: 35px;
        margin-bottom: 10px;
    }

    .product-label {
        margin-bottom: 10px;
        margin-left: 35px;
    }

    .quantity-control {
        margin: 10px 0;
    }

    .price {
        position: absolute;
        bottom: 15px;
        right: 15px;
    }

    .checkout-section {
        border-width: 2px;
        border-radius: 10px;
        margin: 0 15px 50px 15px;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
  font-weight: bold;
  font-family: monospace;
  font-size: 30px;
  display: inline-flex;
}
.loader::before {
  content:"Loadi";
  animation: l27 2s infinite;
}
.loader::after {
  content:"ng...";
  animation: l27 2s infinite 1s;
}

@keyframes l27{
   50%,100%{transform:rotate(1turn)}
}