/*
Theme Name: Fiz-Tech Shop
Theme URI: https://fiztechs.blogspot.com/
Author: Fiz-Tech
Author URI: https://fiztechs.blogspot.com/
Description: Custom E-Commerce Theme for SAMSUNG Smartphones.
Version: 1.0
Text Domain: fiztech
*/

/* =========================================
   1. বেসিক স্টাইলিং ও রিসেট
========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: #f8f9fa; color: #333; display: flex; flex-direction: column; min-height: 100vh; }

/* =========================================
   2. হেডার ও মেনু (কালো থিম)
========================================= */
header { background: #000000; color: white; padding: 15px 50px; display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.1); flex-wrap: wrap; }
.logo { font-size: 26px; font-weight: 900; font-family: Arial, Helvetica, sans-serif; text-decoration: none; color: #ffffff; letter-spacing: 1.5px; white-space: nowrap; }
.search-bar { display: flex; align-items: center; background: white; border-radius: 5px; overflow: hidden; width: 350px; border: 1px solid #ddd; }
.search-bar input { border: none; padding: 10px 15px; outline: none; width: 100%; font-size: 14px; }
.search-bar button { background: #f4f4f4; border: none; border-left: 1px solid #ddd; padding: 10px 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.search-bar button:hover { background: #e0e0e0; }
.search-bar button svg { width: 18px; height: 18px; fill: #000000; }
.action-btn { display: flex; align-items: center; gap: 8px; color: white; text-decoration: none; font-weight: bold; font-size: 15px; transition: 0.3s; }
.action-btn svg { width: 22px; height: 22px; fill: white; transition: 0.3s; }
.action-btn:hover { color: #cccccc; }
.action-btn:hover svg { fill: #cccccc; }
.cart-count { background: #ffffff; color: #000000; padding: 2px 8px; border-radius: 20px; font-size: 13px; font-weight: bold; margin-left: 2px; }
.lang-toggle { display: flex; gap: 5px; align-items: center; margin-left: 20px; font-weight: bold; color: #888; }
.lang-btn { background: none; border: none; color: #888; cursor: pointer; font-size: 14px; font-weight: bold; transition: 0.3s; }
.lang-btn:hover { color: white; }
.lang-btn.active { color: #ffffff; border-bottom: 2px solid #ffffff; }

.hamburger, .dummy-box, .close-btn, .mobile-overlay { display: none; }

/* ডেস্কটপ ভিউ */
@media (min-width: 993px) {
    .logo { margin-right: 40px; }
    .sidebar-menu { display: contents; }
    .main-menu { order: 1; display: flex; gap: 20px; margin-right: auto; }
    .main-menu a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s; font-size: 15px; }
    .main-menu a:hover { color: #cccccc; text-decoration: underline; }
    .search-bar { order: 2; margin-right: 20px; }
    .header-actions { order: 3; display: flex; gap: 20px; align-items: center; }
}

/* মোবাইল ভিউ */
@media (max-width: 992px) {
    header { padding: 15px 20px; justify-content: space-between; }
    .hamburger { display: block; order: 1; background: none; border: none; color: white; cursor: pointer; padding: 5px; }
    .logo { order: 2; margin: 0; text-align: center; }
    .dummy-box { display: block; order: 3; width: 34px;}
    .search-bar { order: 4; width: 100%; margin-top: 15px; }
    .sidebar-menu { position: fixed; top: 0; left: -300px; width: 260px; height: 100vh; background: #111; flex-direction: column; padding: 20px; transition: 0.3s ease-in-out; z-index: 2000; box-shadow: 2px 0 10px rgba(0,0,0,0.5); display: flex; gap: 30px; overflow-y: auto; }
    .sidebar-menu.active { left: 0; } 
    .close-btn { display: block; align-self: flex-end; background: none; border: none; color: white; font-size: 30px; cursor: pointer; line-height: 1; margin-bottom: -10px; }
    .main-menu { display: flex; flex-direction: column; gap: 15px; margin: 0; }
    .main-menu a { color: white; text-decoration: none; font-size: 16px; border-bottom: 1px solid #333; padding-bottom: 10px; transition: 0.3s; }
    .main-menu a:hover { color: #ffffff; border-color: #ffffff; }
    .header-actions { display: flex; flex-direction: column; gap: 15px; align-items: flex-start; }
    .mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.7); z-index: 1500; opacity: 0; visibility: hidden; transition: 0.3s; }
    .mobile-overlay.active { opacity: 1; visibility: visible; }
    .lang-toggle { margin-left: 0; margin-top: 10px; }
}

/* =========================================
   3. গ্লোবাল কন্টেইনার ও টাইটেল
========================================= */
.container { max-width: 1200px; margin: 30px auto; padding: 0 20px; flex-grow: 1; }
.section-title { text-align: left; margin-top: 50px; margin-bottom: 20px; font-size: 22px; color: #000000; border-bottom: 2px solid #ddd; padding-bottom: 10px; font-weight: 800;}
.section-title:first-of-type { margin-top: 0; }
.page-title { font-size: 28px; font-weight: 800; color: #000; margin-bottom: 25px; border-bottom: 2px solid #ddd; padding-bottom: 10px; }
.breadcrumb { font-size: 14px; color: #777; margin-bottom: 20px; }
.breadcrumb a { color: #000000; text-decoration: none; font-weight: bold; }
.breadcrumb a:hover { text-decoration: underline; }

/* =========================================
   4. হোমপেজ স্লাইডার ও ক্যাটাগরি
========================================= */
.slider-wrapper { margin-top: 30px; padding: 0 20px; }
.slider-container { width: 100%; max-width: 1200px; margin: 0 auto; overflow: hidden; position: relative; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.slider-track { display: flex; width: 300%; transition: transform 0.5s ease; }
.slide { width: 33.333%; display: flex; align-items: center; justify-content: center; min-height: 350px; background-size: cover; background-position: center; position: relative; }
.slide::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); }
.slide .text-content { max-width: 500px; text-align: center; margin: 0 auto; position: relative; z-index: 2; color: white; }
.slide h1 { font-size: 32px; margin-bottom: 15px; }
.slide p { font-size: 18px; margin-bottom: 25px; }
.slide .btn { background-color: #000000; color: white; border: none; padding: 12px 25px; font-size: 16px; font-weight: bold; cursor: pointer; border-radius: 5px; }
.slide .btn:hover { background-color: #333333; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; color: #ffffff; border: none; font-size: 35px; cursor: pointer; z-index: 10; font-weight: bold; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.dot-indicators { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 12px; height: 12px; background-color: rgba(255, 255, 255, 0.5); border-radius: 50%; cursor: pointer; }
.dot.active { background-color: #ffffff; }

.category-wrapper { position: relative; display: flex; align-items: center; margin-bottom: 40px; }
.carousel-btn { background: #000000; color: white; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; cursor: pointer; position: absolute; z-index: 10; display: flex; justify-content: center; align-items: center; }
.cat-prev { left: -15px; } .cat-next { right: -15px; }
.category-carousel { display: flex; overflow-x: auto; scroll-behavior: smooth; gap: 20px; padding: 10px 0; width: 100%; scrollbar-width: none; }
.category-item { min-width: 130px; width: 130px; height: 130px; background: white; border-radius: 10px; text-align: center; font-weight: 600; cursor: pointer; border: 2px solid #eee; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.category-item:hover, .category-item.active { border-color: #000000; background: #f8f9fa; }
.category-item svg { width: 50px; height: 50px; margin-bottom: 10px; fill: #555; }
.category-item:hover svg, .category-item.active svg { fill: #000000; }

/* =========================================
   5. প্রোডাক্ট গ্রিড ও কার্ড
========================================= */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px;}
.product-card { background: white; padding: 20px; border-radius: 10px; text-align: center; box-shadow: 0 4px 8px rgba(0,0,0,0.05); transition: transform 0.3s; border: 1px solid #eee; position: relative; }
.product-card:hover { transform: translateY(-5px); border-color: #000000; box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.product-image-link { display: block; position: relative; text-decoration: none; }
.product-img { width: 100%; height: 200px; background-color: #ffffff; border-radius: 8px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 10px;}
.product-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: 0.3s; }
.product-image-link:hover .product-img img { transform: scale(1.05); }
.offer-badge { position: absolute; top: 10px; right: 10px; background-color: #000000; color: white; padding: 5px 12px; font-size: 12px; font-weight: bold; border-radius: 20px; z-index: 5; }
.product-title-link { text-decoration: none; color: #333; display: block; margin-bottom: 10px; }
.product-title { font-size: 16px; font-weight: bold; }
.product-title-link:hover .product-title { color: #000000; text-decoration: underline; }
.product-price { font-size: 18px; font-weight: bold; color: #000000; margin-bottom: 15px; }
.btn-cart { background: transparent; border: 2px solid #000000; color: #000000; padding: 8px; cursor: pointer; border-radius: 5px; font-weight: bold; width: 100%; transition: all 0.3s; }
.btn-cart:hover { background: #000000; color: white; }

/* =========================================
   6. ব্লগ / নিউজ কার্ড
========================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 40px; }
.blog-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.05); border: 1px solid #eee; display: flex; flex-direction: column; transition: 0.3s;}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); border-color: #000000;}
.blog-img-wrapper { height: 200px; display: block; overflow: hidden; }
.blog-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-img-wrapper img { transform: scale(1.05); }
.blog-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 13px; color: #777; margin-bottom: 10px; display: flex; gap: 15px; }
.blog-title { font-size: 18px; margin-bottom: 12px; color: #000000; text-decoration: none; font-weight: bold; line-height: 1.4; }
.blog-title:hover { text-decoration: underline; }
.blog-excerpt { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 15px; flex-grow: 1; }
.read-more { display: inline-block; color: #000000; font-weight: bold; text-decoration: none; margin-top: auto; }
.read-more:hover { text-decoration: underline; }

/* =========================================
   7. কার্ট ও চেকআউট পপ-আপ
========================================= */
.cart-wrapper { display: flex; gap: 30px; align-items: flex-start; }
.cart-items-section { flex: 2; background: white; border-radius: 10px; padding: 20px; border: 1px solid #eee; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 15px 10px; border-bottom: 2px solid #eee; color: #555; font-size: 15px; }
.cart-table td { padding: 20px 10px; border-bottom: 1px solid #eee; vertical-align: middle; }
.product-col { display: flex; align-items: center; gap: 15px; }
.product-col img { width: 80px; height: 80px; object-fit: contain; background: #f4f4f4; border-radius: 8px; padding: 5px; }
.qty-input { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 5px; height: 35px; width: 100px; overflow: hidden; }
.qty-btn { background: #f8f9fa; border: none; width: 30px; height: 100%; cursor: pointer; font-size: 16px; font-weight: bold; }
.qty-input input { width: 40px; height: 100%; text-align: center; border: none; font-size: 14px; font-weight: bold; outline: none; }
.remove-btn { background: none; border: none; color: #dc3545; font-size: 20px; cursor: pointer; }

.order-summary { flex: 1; background: white; border-radius: 10px; padding: 25px; border: 1px solid #eee; }
.summary-line { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 15px; color: #555; }
.summary-line.total { border-top: 1px solid #eee; padding-top: 15px; font-size: 18px; font-weight: bold; color: #000; }
.btn-checkout { width: 100%; background: #000; color: white; border: none; padding: 15px; font-size: 16px; font-weight: bold; border-radius: 5px; cursor: pointer; margin-top: 10px; }

/* Modal */
.modal-overlay-checkout { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.6); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.modal-overlay-checkout.active { opacity: 1; visibility: visible; }
.modal-box { background: white; padding: 30px; border-radius: 10px; text-align: center; width: 90%; max-width: 400px; transform: translateY(-20px); transition: 0.3s; position: relative;}
.modal-overlay-checkout.active .modal-box { transform: translateY(0); }
.modal-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 15px;}
.btn-modal-yes { padding: 12px; border: none; border-radius: 5px; cursor: pointer; font-size: 15px; font-weight: bold; background: #000; color: #fff; }
.btn-modal-no { padding: 12px; border: 2px solid #000; border-radius: 5px; cursor: pointer; font-size: 15px; font-weight: bold; background: #fff; color: #000; }

/* =========================================
   8. লগিন ও রেজিস্ট্রেশন পেজ
========================================= */
.login-wrapper, .register-wrapper { flex-grow: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.login-card, .register-card { background: white; width: 100%; max-width: 450px; padding: 40px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eee; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 8px; color: #333; font-size: 14px; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 5px; font-size: 15px; outline: none; }
.btn-login, .btn-register { width: 100%; background: #000; color: white; border: none; padding: 14px; font-size: 16px; font-weight: bold; border-radius: 5px; cursor: pointer; margin-top: 10px; }

/* =========================================
   9. ফুটার
========================================= */
footer { background: #111; color: #ccc; text-align: center; padding: 30px 20px; margin-top: auto; }

/* =========================================
   10. রেস্পন্সিভ মিডিয়া কোয়েরি
========================================= */
@media (max-width: 992px) {
    .product-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-wrapper { flex-direction: column; }
    .cart-items-section, .order-summary { width: 100%; }
}
@media (max-width: 576px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .blog-grid { grid-template-columns: 1fr; }
    .login-card, .register-card { padding: 30px 20px; }
    
    /* কার্ট পেজ মোবাইল ভিউ */
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr { margin-bottom: 15px; border: 1px solid #eee; border-radius: 8px; padding: 15px; position: relative; }
    .cart-table td { display: flex; justify-content: space-between; align-items: center; border-bottom: none; padding: 10px 0;}
    .cart-table td::before { content: attr(data-label); font-weight: bold; color: #555; }
    .product-col { flex-direction: row; justify-content: flex-start; text-align: left; }
    .product-col::before { display: none; }
    .remove-btn { position: absolute; top: 15px; right: 15px; }
}
/* =========================================
   ওয়ার্ডপ্রেস ডাইনামিক মেনু ফিক্স
========================================= */
.main-menu div > ul,
.main-menu ul.wp-dynamic-menu,
.main-menu ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
}

.main-menu ul li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.main-menu ul li a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.main-menu ul li a:hover {
    color: #cccccc !important;
    text-decoration: underline !important;
}

/* মোবাইল ভিউ মেনু ফিক্স */
@media (max-width: 992px) {
    .main-menu div > ul,
    .main-menu ul.wp-dynamic-menu,
    .main-menu ul {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 15px;
    }
    .main-menu ul li {
        width: 100%;
    }
    .main-menu ul li a {
        font-size: 16px;
        border-bottom: 1px solid #333;
        padding-bottom: 10px;
        display: block;
    }
}
/* স্লাইডার অ্যারো পজিশন ফিক্স */
.slider-container {
    position: relative !important;
}

.slider-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 30px !important;
    cursor: pointer !important;
    z-index: 10 !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
}

.slider-btn.prev {
    left: 20px !important;
    right: auto !important;
}

.slider-btn.next {
    right: 20px !important;
    left: auto !important;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}
/* পেজিনেশন ডিজাইন ফিক্স */
.pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination ul li span,
.pagination ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    background: #fff;
    transition: 0.3s;
}
.pagination ul li a:hover,
.pagination ul li span.current {
    background: #000;
    color: #fff;
    border-color: #000;
}
/* =========================================
   WooCommerce My Account Modern Design Fix
========================================= */

/* মেইন কন্টেইনার ফ্লেক্স লেআউট */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

/* বাম পাশের নেভিগেশন মেনু স্টাইল */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 250px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #000;
    color: #fff;
    padding-left: 20px;
}

/* ডান পাশের মেইন কন্টেন্ট এরিয়া */
.woocommerce-account .woocommerce-MyAccount-content {
    flex-grow: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

/* ফর্ম ও ইনপুট ফিল্ড স্টাইল */
.woocommerce-account form.woocommerce-EditAccountForm input.input-text,
.woocommerce-account .woocommerce-address-fields input.input-text,
.woocommerce-account .woocommerce-address-fields select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.woocommerce-account button.woocommerce-Button.button {
    background: #000 !important;
    color: #fff !important;
    padding: 12px 25px !important;
    border: none !important;
    border-radius: 5px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
}

.woocommerce-account button.woocommerce-Button.button:hover {
    background: #333 !important;
}

/* রেসপন্সিভ মোবাইল ভিউ */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
    }
}
/* =========================================
   WooCommerce Cart & Checkout Modern Design
========================================= */

/* কার্ট টেবিল স্টাইল */
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    overflow: hidden;
    background: #fff;
}

.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table th {
    background: #f9f9f9 !important;
    color: #000 !important;
    padding: 15px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #eaeaea !important;
}

.woocommerce-cart table.shop_table td {
    padding: 15px !important;
    vertical-align: middle !important;
    border-top: 1px solid #eaeaea !important;
}

/* কার্ট ও চেকআউট বাটন স্টাইল */
.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order {
    background: #000 !important;
    color: #fff !important;
    border-radius: 5px !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-align: center !important;
    transition: background 0.3s !important;
}

.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #payment #place_order:hover {
    background: #333 !important;
}

/* চেকআউট ফর্ম ইনপুট স্টাইল */
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form .form-row textarea {
    padding: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    width: 100% !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
#order_review_heading {
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* =========================================
   WooCommerce Checkout Layout Fix
========================================= */

/* চেকআউট পেজের মূল কন্টেইনার ফিক্স */
.woocommerce-checkout .container,
.woocommerce-cart .container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 30px auto !important;
    padding: 30px !important;
    background: #fff !important;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* চেকআউট দুই কলাম লেআউট (Billing ও Order Summary) */
.woocommerce-checkout form.woocommerce-checkout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.woocommerce-checkout #customer_details {
    flex: 1;
    min-width: 300px;
}

.woocommerce-checkout #order_review, 
.woocommerce-checkout #order_review_heading {
    flex: 1;
    min-width: 300px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* ফর্মের ইনপুট ফিল্ড ও লেবেল ফিক্স */
.woocommerce-checkout .form-row {
    margin-bottom: 20px !important;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
    width: 100% !important;
    padding: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

/* মোবাইল ভিউ ফিক্স */
@media (max-width: 768px) {
    .woocommerce-checkout form.woocommerce-checkout {
        flex-direction: column;
        gap: 20px;
    }
}
/* =========================================
   Live Ajax Search Dropdown Fix
========================================= */
.search-wrapper {
    position: relative !important;
}

.live-search-results {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    z-index: 999999 !important; /* এটি স্লাইডারের ওপরে দেখানোর জন্য */
    display: none;
    max-height: 400px !important;
    overflow-y: auto !important;
}

.live-search-results ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.live-search-results ul li {
    border-bottom: 1px solid #f0f0f0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.live-search-results ul li a {
    display: flex !important;
    align-items: center !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
    background: #fff !important;
    transition: background 0.3s !important;
}

.live-search-results ul li a:hover {
    background: #f9f9f9 !important;
}

.live-search-results ul li a img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
    margin-right: 15px !important;
    border: 1px solid #eee !important;
    border-radius: 5px !important;
    background: #fff !important;
}

.live-search-results .s-info {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

.live-search-results .s-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #000 !important;
    margin-bottom: 5px !important;
}

.live-search-results .s-price {
    font-size: 13px !important;
    color: #e74c3c !important;
    font-weight: bold !important;
}

.live-search-results .no-result {
    padding: 15px !important;
    text-align: center !important;
    color: #777 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    background: #fff !important;
}
/* লাইভ সার্চ রেজাল্ট শো করানোর জন্য ফোর্স ক্লাস */
.live-search-results.active-show {
    display: block !important;
}
/* হেডার ওভারফ্লো ফিক্স যাতে ড্রপডাউন ঢাকা না পড়ে */
.search-wrapper, header, .header, .site-header {
    overflow: visible !important;
}