/* --- Basic Setup --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: #ffffff; color: #000000; transition: background-color 0.3s ease; }

/* --- Header and Navigation --- */
header { padding: 15px 20px; border-bottom: 1px solid #e0e0e0; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 20px; font-size: 20px; }
.nav-left i, .nav-right i { cursor: pointer; }
.cart-icon { position: relative; cursor: pointer; }
.cart-count { position: absolute; top: -5px; right: -10px; background-color: #fff; border: 1px solid #000; border-radius: 50%; width: 20px; height: 20px; display: flex; justify-content: center; align-items: center; font-size: 12px; font-weight: 600; }
.page-title { text-align: center; margin-top: 15px; }
.page-title h1 { font-size: 48px; font-weight: 900; letter-spacing: 0.1em; }


/* Custom Logo Styling */
.logo-image {
    height: 20px; /* আপনার পছন্দমত উচ্চতা দিন */
    width: auto;  /* উচ্চতার সাথে প্রস্থ নিজে থেকেই ঠিক হয়ে যাবে */
    display: block; /* ইমেজকে সঠিকভাবে প্রদর্শন করার জন্য */
}


/* --- Search Bar & Mode --- */
.search-bar-container { display: none; align-items: center; width: 100%; }
.search-bar-container .search-icon { font-size: 18px; color: #333; }
.search-bar-container input { flex-grow: 1; border: none; outline: none; font-size: 18px; font-family: 'Inter', sans-serif; font-weight: 500; margin: 0 15px; background: transparent; }
.search-bar-container .close-search-btn { font-size: 24px; cursor: pointer; }
body.search-active header { padding-bottom: 0; }
body.search-active .navbar, body.search-active .page-title { display: none; }
body.search-active .search-bar-container { display: flex; padding-bottom: 15px; }
body.search-active main { background-color: #f0f0f0; }

/* --- Filter Bar --- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #e0e0e0; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; }
.filter-button, .sort-button { display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* --- Product Grid & Cards --- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px; }
.product-card { text-align: left; background-color: #ffffff; }
.product-link { text-decoration: none; color: inherit; }
.product-image { position: relative; background-color: #ffffff; overflow: hidden; }
.product-image img { width: 100%; height: auto; display: block; }
.product-info { padding: 10px 5px; }
.product-info h3 { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.product-info p { font-size: 14px; color: #555; }

/* --- Sidebars (Menu, Filter, Cart) & Overlay --- */
.side-menu, .filter-sidebar, .cart-sidebar { height: 100%; width: 300px; position: fixed; z-index: 1002; top: 0; background-color: #ffffff; transition: all 0.4s ease; box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); }
.side-menu { left: -300px; padding-top: 60px; }
.filter-sidebar { left: -300px; padding: 20px; display: flex; flex-direction: column; }
.cart-sidebar { right: -350px; width: 350px; display: flex; flex-direction: column; }
.side-menu a { padding: 15px 20px 15px 30px; text-decoration: none; font-size: 18px; font-weight: 600; color: #000; display: block; letter-spacing: 0.05em; }
.close-btn { position: absolute; top: 15px; right: 25px; font-size: 36px; padding: 0; line-height: 1; cursor: pointer; }
.overlay { height: 100%; width: 100%; position: fixed; z-index: 1001; top: 0; left: 0; background-color: rgba(0, 0, 0, 0.5); display: none; }
.filter-header, .cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #e0e0e0; }
.filter-header h3, .cart-header h3 { font-size: 16px; font-weight: 700; letter-spacing: 0.1em; }
.filter-group { margin-bottom: 25px; }
.filter-group h4 { font-size: 16px; margin-bottom: 15px; }
.filter-group label { display: block; margin-bottom: 10px; cursor: pointer; }
.cart-items { flex-grow: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 15px; margin-bottom: 20px; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; background-color: #f5f5f5; }
.cart-item-info { flex-grow: 1; }
.cart-item-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.cart-item-info p { font-size: 14px; color: #555; margin-bottom: 10px; }
.remove-item-btn { font-size: 12px; color: #888; cursor: pointer; text-decoration: underline; }
.cart-footer { padding: 20px; border-top: 1px solid #e0e0e0; background: #fff; }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 20px; }
.checkout-button { display: block; width: 100%; padding: 15px; background-color: #000; color: #fff; text-align: center; text-decoration: none; font-weight: 600; }

/* --- Product Details Page --- */
.details-header { padding: 20px 40px; border-bottom: 1px solid #e0e0e0; }
.back-link { text-decoration: none; color: #333; font-weight: 600; }
.details-container { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 40px; max-width: 1200px; margin: auto; }
.product-image-large img { width: 100%; background-color: #f5f5f5; }
.product-info-details h1 { font-size: 28px; margin-bottom: 15px; }
.product-info-details .price { font-size: 22px; color: #555; margin-bottom: 30px; }
.options-group { margin-bottom: 25px; }
.options-group h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; letter-spacing: 0.1em; }
.color-selector, .size-selector { display: flex; flex-wrap: wrap; gap: 10px; }
.option-item { padding: 8px 15px; border: 1px solid #ccc; cursor: pointer; transition: all 0.3s; }
.option-item.active { background-color: #000; color: #fff; border-color: #000; }
.description { line-height: 1.6; color: #444; margin-bottom: 30px; }
.order-button { width: 100%; padding: 15px; background-color: #000; color: #fff; border: none; font-size: 16px; font-weight: 600; cursor: pointer; text-transform: uppercase; }

/* --- Checkout Page --- */
.checkout-container { display: grid; grid-template-columns: 1fr; gap: 50px; max-width: 1200px; margin: auto; padding: 40px; }
.checkout-form h2, .order-summary h2 { margin-bottom: 20px; font-weight: 700; }
.checkout-form form { display: flex; flex-direction: column; gap: 15px; }
.checkout-form input { padding: 12px; border: 1px solid #ccc; font-size: 16px; width: 100%; }
.order-summary { background-color: #f9f9f9; padding: 20px; border: 1px solid #e0e0e0; height: fit-content; }
.summary-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.summary-item img { width: 60px; height: 60px; object-fit: cover; }
.summary-item-info { flex-grow: 1; }
.summary-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 700; border-top: 1px solid #ccc; padding-top: 15px; margin-top: 20px; }

/* --- Toast Notification Style --- */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, bottom 0.4s, visibility 0.4s;
}
.toast-notification.show { opacity: 1; visibility: visible; bottom: 50px; }

/* --- Responsive Design --- */
@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    header, .filter-bar, .product-grid { padding-left: 40px; padding-right: 40px; }
    .details-container { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
    .checkout-container { grid-template-columns: 2fr 1fr; }
}




/* style.css ফাইলের শেষে যোগ করুন */

/* --- Footer Styles --- */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 20px 30px 20px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-left h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.footer-left h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-left p {
    color: #aaa;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 30px;
}

.newsletter-form input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 15px 0;
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #fff;
    text-transform: lowercase;
}

.newsletter-form input:focus {
    border-bottom-color: #fff;
}

.newsletter-form button {
    width: 100%;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.newsletter-form button:hover {
    background-color: #fff;
    color: #000;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .footer-right {
        padding-left: 50px;
    }
}

.footer-links h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-links ul a:hover {
    color: #aaa;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 14px;
    color: #aaa;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.payment-icons img {
    height: 30px;
    border-radius: 4px;
}