/* =========================================
   1. ROOT VARIABLES & GLOBAL STYLES
   ========================================= */
:root {
    --pally-blue: #007bff;   /* আগে ছিল গ্রিন #28a745 */
    --pally-white: #ffffff;
    --light-gray: #f8f9fa;
    --pally-dark: #001a33;   /* আগে ছিল ডার্ক গ্রিন #002e12, এখন ডার্ক নেভি ব্লু */
    --pally-text-gray: #ccc;
}

body {
    background-color: var(--pally-white);
    margin: 0;
    font-family: Arial, sans-serif;
}

a { text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* =========================================
   2. HEADER SECTION
   ========================================= */
.main-header {
    background-color: var(--pally-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
    gap: 15px;
}

/* Logo Area */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.brand-logo img {
    height: 45px;  /* মোট সাইজ একটু বাড়ালাম যাতে ভিতরের লোগো বেশি ছোট না হয়ে যায় */
    width: 45px;   /* গোল করার জন্য height ও width সমান রাখতে হবে */
    border-radius: 50%; /* পুরো বক্সটিকে গোল করবে */
    
    /* নতুন যুক্ত করা অংশ */
    background-color: #ffffff; /* লোগোর পিছনে একটি সাদা ব্যাকগ্রাউন্ড তৈরি হবে */
    padding: 6px; /* এই প্যাডিং-ই আপনার লোগোর চারপাশে সাদা জায়গা তৈরি করবে */
    box-sizing: border-box; /* প্যাডিং দিলেও যেন মোট সাইজ (45px) এর বেশি না বাড়ে */
    object-fit: contain; /* লোগোটি যেন চ্যাপ্টা না হয়ে যায় */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* (অপশনাল) হালকা শ্যাডো দিলে দেখতে সুন্দর লাগবে */
}

.brand-logo h1 {
    font-size: 22px;
    color: white;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    font-weight: bold;
}

/* Mobile Toggle Button (Hidden on Desktop) */
.mobile-toggle-btn {
    display: none; 
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
}

/* Search Bar */
.search-bar {
    flex-grow: 1;
    margin: 0 40px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 25px;
    border: none;
    outline: none;
    box-sizing: border-box; /* Important for padding */
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--pally-blue);
    cursor: pointer;
    padding: 8px 12px;
}

/* User Menu (Login & Cart) */
.user-menu {
    display: flex;
    align-items: center;
}

.login-btn {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-btn {
    color: var(--pally-blue);
    background: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 20px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =========================================
   3. MOBILE DRAWER MENU (SLIDE-IN)
   ========================================= */
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    overflow-y: auto;
}

.mobile-side-menu.active {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-header {
    background: var(--pally-blue);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.mobile-menu-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.mobile-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-cat-list li a {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

/* =========================================
   4. MAIN LAYOUT (HOME & SIDEBAR)
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.home-main-section {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.side-menu-wrapper {
    width: 260px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
}

.vertical-menu li a {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
}

.vertical-menu li a:hover {
    background: #f9f9f9;
    color: var(--pally-blue);
}

.main-banner-area {
    flex: 1;
    min-width: 0;
}

/* Slider */
.hero-slider {
    display: block;
    width: 100%;
    overflow: hidden;
}

.hero-slider img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

.hero-slider > div:not(:first-child) {
    display: none;
}
.hero-slider.slick-initialized > div {
    display: block !important;
}

/* =========================================
   5. PRODUCT GRID STYLES
   ========================================= */
.pally-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-title a {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
}

.product-price {
    font-size: 18px;
    color: var(--pally-blue);
    font-weight: bold;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    background: var(--pally-blue);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    transition: 0.3s;
}

.add-to-cart-btn:hover {
    background: #0056b3; /* Darker Blue */
}

/* =========================================
   6. WOOCOMMERCE LOGIN / REGISTER TABS
   ========================================= */
.woocommerce-account .u-columns.tab-active-mode {
    display: block !important;
    max-width: 450px;
    margin: 0 auto;
}

.woocommerce-account .u-column1, 
.woocommerce-account .u-column2 {
    width: 100% !important;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.woocommerce form .form-row input.input-text {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.login-tab-nav {
    display: flex;
    max-width: 450px;
    margin: 30px auto 0;
}

.login-tab-nav button {
    flex: 1;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    background: #f1f1f1;
    color: #666;
    transition: 0.3s;
    border-radius: 8px 8px 0 0;
}

.login-tab-nav button.active {
    background: #fff;
    color: var(--pally-blue);
    border-top: 3px solid var(--pally-blue);
}

.woocommerce-account h2 { display: none; }

/* Login Header Text */
.woocommerce-form-login::before {
    content: "Welcome to PallyShop!\A Please login."; 
    white-space: pre; 
    display: block;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.woocommerce-form-login .woocommerce-LostPassword {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* =========================================
   7. FOOTER SECTION
   ========================================= */
.main-footer {
    background-color: var(--pally-dark);
    color: white;
    padding: 60px 0 0;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-logo {
    color: #fff;
    margin-top: 0;
}

.footer-col h3 {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    font-weight: bold;
}

.footer-col p, .footer-col ul li a {
    font-size: 14px;
    color: var(--pally-text-gray);
    line-height: 1.6;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--pally-blue); padding-left: 5px; }

/* Social Icons */
.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--pally-blue);
    transform: translateY(-3px);
}

/* App Download */
.coming-soon-badge {
    font-size: 12px;
    color: #ffd700;
    font-style: italic;
    margin-bottom: 8px !important;
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.app-links img {
    width: 130px;
    height: auto;
    cursor: not-allowed;
    opacity: 0.8;
}

.app-links img:hover { opacity: 1; }

/* Payment Methods */
.payment-methods-section {
    border-top: 1px solid #222;
    padding: 25px 0;
    background: #001021; /* Very dark blue */
    text-align: center;
}

.payment-title {
    font-size: 12px; 
    color: #888; 
    margin: 0 0 10px; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-img-mobile { display: none; }
.payment-img-desktop { display: inline-block; max-height: 40px; width: auto; }

.footer-bottom {
    background: #000;
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    color: #777;
}

/* =========================================
   8. RESPONSIVE / MOBILE CSS (FIXED)
   ========================================= */
@media (max-width: 768px) {
    /* Header Structure */
    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .mobile-toggle-btn {
        display: block; /* Show hamburger menu */
    }

    .brand-logo h1 {
        font-size: 18px;
    }

    /* ---- FIXED SEARCH BAR ---- */
    .search-bar {
        display: block !important; /* Force show */
        width: 100%;
        margin: 5px 0 10px 0;
        order: 3; /* Places search bar below logo and user menu */
    }
    
    .search-bar input {
        width: 100%;
        box-sizing: border-box; /* Fixes width issue */
    }

    .search-bar button {
        right: 15px; /* Adjust search icon position */
    }
    /* -------------------------- */

    .user-menu {
        width: 100%;
        justify-content: space-between;
        order: 2; /* Between logo and search bar */
    }

    .login-btn {
        font-size: 0; /* Hide text, show icon only */
    }
    .login-btn i {
        font-size: 20px;
    }

    /* Home Layout */
    .home-main-section {
        flex-direction: column;
    }

    .side-menu-wrapper {
        display: none; 
    }

    /* Product Grid Mobile */
    .pally-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Footer Mobile */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .footer-col {
        min-width: 100%;
    }

    .footer-col h3 {
        display: inline-block;
        border-bottom: 2px solid var(--pally-blue);
        padding-bottom: 5px;
    }

    .social-icons {
        justify-content: center;
    }

    .app-links {
        align-items: center;
    }

    /* Payment Images */
    .payment-img-desktop { display: none; }
    .payment-img-mobile { 
        display: inline-block; 
        max-width: 100%; 
        height: auto; 
    }
}

@media (max-width: 480px) {
    /* Extra small devices fixes */
    ul.products, .pally-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}
/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #007bff; /* Blue WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #0056b3; /* Darker Blue Hover */
    transform: scale(1.1);
    color: #fff;
}

/* মোবাইলের জন্য পজিশন একটু অ্যাডজাস্ট করা */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
/* ================================
   HOMEPAGE – FINAL BUTTON DESIGN
   ================================ */

.ps-buy-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* ADD TO CART – OUTLINE */
.ps-btn.ps-add-cart {
    flex: 1;
    background: #fff;
    color: #007bff;
    border: 2px solid #007bff;
    border-radius: 10px;
    padding: 10px 0;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.25s ease;
}

.ps-btn.ps-add-cart:hover {
    background: #007bff;
    color: #fff;
}

/* BUY NOW – SOLID */
.ps-btn.ps-buy-now {
    flex: 1;
    background: #4da3ff; /* Lighter Blue */
    color: #fff;
    border: 2px solid #4da3ff;
    border-radius: 10px;
    padding: 10px 0;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    transition: all 0.25s ease;
}

.ps-btn.ps-buy-now:hover {
    background: #2b90ff; /* Medium Blue Hover */
    transform: translateY(-1px);
}

/* ICON FIX */
.ps-btn i {
    margin-right: 6px;
    font-size: 13px;
}

/* MOBILE */
@media (max-width: 768px) {
    .ps-buy-buttons {
        flex-direction: column;
    }
}
/* =====================================
   SINGLE PRODUCT – BUY NOW BUTTON
   ===================================== */

.ps-single-buy-now-wrap {
    margin-top: 12px;
}

.ps-single-buy-now {
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
}

.ps-single-buy-now:hover {
    background: #2b90ff; /* Medium Blue Hover */
    transform: translateY(-1px);
}

/* Mobile spacing */
@media (max-width: 768px) {
    .ps-single-buy-now {
        font-size: 15px;
        padding: 13px 0;
    }
}
/* =====================================
   SINGLE PRODUCT – FINAL BUTTON LAYOUT
   ===================================== */

/* Wrap whole cart area */
.single-product form.cart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---------- QUANTITY BOX ---------- */
.single-product .quantity {
    width: 100%;
    display: flex;
    justify-content: center;
}

.single-product .quantity input.qty {
    width: 100%;
    max-width: 140px;
    height: 44px;
    text-align: center;
    font-size: 16px;
    border-radius: 12px;
    border: 2px solid #4da3ff;
}

/* ---------- ADD TO CART (OUTLINE, FULL WIDTH) ---------- */
.single-product button.single_add_to_cart_button {
    width: 100%;
    background: #fff !important;
    color: #007bff !important;
    border: 2px solid #007bff !important;
    border-radius: 12px !important;
    padding: 14px 0 !important;
    font-size: 16px;
    font-weight: 700;
    transition: 0.25s;
}

.single-product button.single_add_to_cart_button:hover {
    background: #007bff !important;
    color: #fff !important;
}

/* ---------- BUY NOW (SOLID, FULL WIDTH) ---------- */
.ps-single-buy-now-wrap {
    margin-top: 0;
}

.ps-single-buy-now {
    width: 100%;
    padding: 14px 0 !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    .single-product .quantity input.qty {
        max-width: 100%;
    }
}
/* =====================================
   MY ACCOUNT – PRO DASHBOARD DESIGN
   ===================================== */

.woocommerce-account .woocommerce {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 30px auto;
    background: #f9f9f9;
}

/* ---------- LEFT SIDEBAR ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 260px;
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #333;
    font-weight: 600;
    transition: all 0.25s ease;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    background: var(--pally-blue);
    color: #fff;
}

/* ---------- RIGHT CONTENT AREA ---------- */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Headings */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    margin-bottom: 14px;
    color: #222;
}

/* Dashboard welcome text */
.woocommerce-MyAccount-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Links inside dashboard */
.woocommerce-MyAccount-content a {
    color: var(--pally-blue);
    font-weight: 600;
}

/* ---------- TABLE (Orders / Downloads) ---------- */
.woocommerce-account table {
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-account table th {
    background: #f3f7f4;
    font-weight: 700;
    padding: 12px;
}

.woocommerce-account table td {
    padding: 12px;
}

/* ---------- FORMS ---------- */
.woocommerce-account input,
.woocommerce-account select,
.woocommerce-account textarea {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
}

/* Save button */
.woocommerce-account button.button {
    background: var(--pally-blue);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
}

.woocommerce-account button.button:hover {
    background: #0056b3; /* Darker Blue */
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
    }
}
/* ==============================
   FORCE BANGLADESH – HIDE COUNTRY
   ============================== */

/* Hide country field */
#billing_country_field,
#shipping_country_field {
    display: none !important;
}
/* =====================================
   CHECKOUT PAGE – PRO DESIGN (FINAL)
   ===================================== */

.woocommerce-checkout .woocommerce {
    max-width: 1000px;
    margin: 30px auto;
}

/* Card look */
.woocommerce-checkout form.checkout {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Headings */
.woocommerce-checkout h3 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 8px;
}

/* Two column layout */
@media (min-width: 768px) {
    .woocommerce-checkout .col2-set {
        display: flex;
        gap: 30px;
    }
    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2 {
        width: 50%;
    }
}

/* Inputs */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea {
    height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: 0.25s;
}

.woocommerce-checkout textarea {
    height: auto;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.15); /* Green Shadow -> Blue Shadow */
    outline: none;
}

/* Order review card */
#order_review {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
}

/* Order table */
.shop_table th,
.shop_table td {
    padding: 12px 8px;
    font-size: 14px;
}

/* Payment box */
#payment {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #eee;
}

/* Payment methods */
.wc_payment_method {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 10px;
    transition: 0.25s;
}

.wc_payment_method:hover {
    border-color: #007bff;
}

/* Place order button */
#place_order {
    width: 100%;
    background: #007bff !important;
    color: #fff !important;
    padding: 14px 0 !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px !important;
    transition: 0.25s;
}

#place_order:hover {
    background: #0056b3 !important;
    transform: translateY(-1px);
}

/* Notice */
.woocommerce-message {
    border-left: 5px solid #007bff;
    border-radius: 8px;
}

/* Mobile */
@media (max-width: 767px) {
    .woocommerce-checkout form.checkout {
        padding: 20px;
    }
}
/* =====================================
   BLOCK CART – PROCEED TO CHECKOUT (FINAL)
   ===================================== */

.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;

    background-color: #007bff !important;
    color: #ffffff !important;

    font-size: 17px !important;
    font-weight: 700 !important;
    padding: 18px 0 !important;

    border-radius: 12px !important;
    text-decoration: none !important;
    border: none !important;

    box-shadow: 0 8px 20px rgba(0,123,255,0.25) !important;
    transition: all 0.25s ease !important;
}

/* Hover (desktop only) */
@media (hover: hover) {
    .wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
        background-color: #0056b3 !important;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(0,123,255,0.35) !important;
    }
}
/* FIX: SHOW LOGIN TEXT ON MOBILE */
@media (max-width: 768px) {
    .login-btn {
        font-size: 14px !important;
        display: inline-flex !important;
        align-items: center;
        white-space: nowrap;
    }
}
/* ===============================
   FORCE HIDE DESKTOP SIDEBAR ON MOBILE
   =============================== */
@media (max-width: 768px) {

    /* hide sidebar itself */
    .home-main-section .side-menu-wrapper {
        display: none !important;
    }

    /* ensure banner takes full width */
    .home-main-section {
        flex-direction: column !important;
    }

    .home-main-section .main-banner-area {
        width: 100% !important;
    }
}
/* ==================================================
   SINGLE PRODUCT PAGE - PRO UI (BLUE THEME)
   ================================================== */

/* ১. প্রোডাক্ট পেজের কার্ট এরিয়াকে গোছানো */
.single-product form.cart {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* ২. ভেরিয়েশন ড্রপডাউন (Select Option) ডিজাইন */
.single-product table.variations {
    width: 100%;
    margin-bottom: 0;
    border: none;
}

.single-product table.variations td, 
.single-product table.variations th {
    padding: 0 0 10px 0;
    border: none;
    vertical-align: middle;
}

.single-product table.variations label {
    font-weight: bold;
    color: #333;
    font-size: 15px;
}

.single-product table.variations select {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background-color: #f9f9f9;
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.single-product table.variations select:focus {
    border-color: #007bff; /* Blue Focus */
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

/* ৩. কোয়ান্টিটি (Quantity) বক্স ডিজাইন */
.single-product .woocommerce-variation-add-to-cart,
.single-product form.cart:not(.variations_form) {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.single-product .quantity {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0 !important;
}

.single-product .quantity input.qty {
    width: 100px !important;
    max-width: 100px;
    height: 48px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    border: 1px solid #007bff; /* Blue Border */
    background: #fff;
    color: #333;
}

/* ৪. Add to Cart বাটন (Outline Blue) */
.single-product button.single_add_to_cart_button {
    width: 100%;
    background: #ffffff !important;
    color: #007bff !important;
    border: 2px solid #007bff !important;
    border-radius: 8px !important;
    padding: 14px 0 !important;
    font-size: 16px;
    font-weight: bold;
    text-transform: capitalize;
    transition: all 0.3s ease;
    cursor: pointer;
}

.single-product button.single_add_to_cart_button:hover {
    background: #007bff !important;
    color: #ffffff !important;
}

/* ৫. Buy Now বাটন (Solid Blue) */
.ps-single-buy-now-wrap {
    width: 100%;
    margin-top: 0 !important;
}

.single-product .ps-single-buy-now {
    width: 100%;
    background: #007bff !important;
    color: #ffffff !important;
    border: 2px solid #007bff !important;
    border-radius: 8px !important;
    padding: 14px 0 !important;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-align: center;
}

.single-product .ps-single-buy-now:hover {
    background: #0056b3 !important; /* Darker Blue */
    border-color: #0056b3 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* ৬. আইকন স্পেসিং */
.single-product button.single_add_to_cart_button i,
.single-product .ps-single-buy-now i {
    margin-right: 8px;
}
/* --------------------------------------------------
   FIX: QUANTITY BOX ALIGNMENT & WHATSAPP COLOR
   -------------------------------------------------- */

/* ১. কোয়ান্টিটি বক্সটি ঠিক মাঝখানে (Center) আনার জন্য */
.single-product .quantity {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-bottom: 15px !important;
}

.single-product .quantity input.qty {
    width: 120px !important; /* বক্সের সাইজটা একটু স্মার্ট করা হলো */
    text-align: center;
}

/* ২. হোয়াটসঅ্যাপ বাটনের অরিজিনাল সবুজ রং (Green) ফিরিয়ে আনার জন্য */
.whatsapp-float {
    background-color: #25d366 !important;
}

.whatsapp-float:hover {
    background-color: #128C7E !important;
}
/* ==================================================
   CART PAGE - PREMIUM UI (BLUE THEME)
   ================================================== */

/* কার্ট পেজকে আধুনিক ফ্লেক্সবক্স লেআউট দেওয়া (ডেস্কটপে ২ কলাম) */
@media (min-width: 992px) {
    .woocommerce-cart .woocommerce {
        display: flex;
        align-items: flex-start;
        gap: 30px;
    }
    .woocommerce-cart .woocommerce-cart-form {
        flex: 1 1 65%;
    }
    .woocommerce-cart .cart-collaterals {
        flex: 1 1 35%;
        width: 100%;
    }
}

/* ১. প্রোডাক্ট লিস্টের টেবিল (বাম পাশ) */
.woocommerce-cart form.woocommerce-cart-form {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.woocommerce-cart table.shop_table {
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.woocommerce-cart table.shop_table th {
    background: #f8f9fa;
    color: #333;
    font-weight: 700;
    border: none;
    padding: 15px;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 8px;
}

.woocommerce-cart table.shop_table td {
    border-top: 1px solid #f1f1f1;
    padding: 20px 10px;
    vertical-align: middle;
}

/* কুপন ইনপুট এবং বাটন */
.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.woocommerce-cart .coupon input.input-text {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 15px;
    height: 45px;
}

.woocommerce-cart .coupon button.button {
    background: #333 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    height: 45px;
    transition: 0.3s;
}

.woocommerce-cart .coupon button.button:hover,
.woocommerce-cart button[name="update_cart"]:hover {
    background: #007bff !important; /* ব্লু হোভার */
}

/* Update Cart বাটন */
.woocommerce-cart button[name="update_cart"] {
    background: #f1f1f1 !important;
    color: #333 !important;
    border-radius: 8px !important;
    height: 45px;
    padding: 0 20px !important;
    font-weight: bold;
    transition: 0.3s;
}

/* ২. কার্ট টোটাল বক্স (ডান পাশ) */
.woocommerce-cart .cart-collaterals .cart_totals {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    width: 100%;
    float: none; /* ডিফল্ট ফ্লোট বাদ দেওয়া */
}

.woocommerce-cart .cart-collaterals h2 {
    font-size: 20px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 15px;
    color: #222;
}

/* ৩. PROCEED TO CHECKOUT বাটন (Blue Theme) */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button {
    background-color: #007bff !important; /* মেইন ব্লু কালার */
    color: #fff !important;
    border-radius: 10px !important;
    padding: 18px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease !important;
    display: block;
    width: 100%;
    border: none !important;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.2) !important;
    margin-top: 20px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
    background-color: #0056b3 !important; /* ডার্ক ব্লু হোভার */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3) !important;
}

/* মোবাইল রেস্পন্সিভ ফিক্স */
@media (max-width: 768px) {
    .woocommerce-cart .coupon {
        flex-direction: column;
    }
    .woocommerce-cart table.shop_table td.product-thumbnail {
        display: none; /* মোবাইলে কার্টের ছবি হাইড করে জায়গা বাঁচানো */
    }
}
/* ==================================================
   FIX: CART PAGE MOBILE VIEW (PRO UI)
   ================================================== */
@media (max-width: 768px) {
    /* ১. কার্ট পেজের চারপাশে সুন্দর স্পেস দেওয়া (যাতে হেডারের নিচে না ঢুকে যায়) */
    .woocommerce-cart .woocommerce {
        padding: 15px !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    /* ২. Cart Totals বক্সটি মোবাইলে পারফেক্ট সাইজ করা */
    .woocommerce-cart .cart-collaterals .cart_totals {
        padding: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 25px !important;
        border-radius: 10px !important;
    }

    /* ৩. Proceed to Checkout বাটন ওভারফ্লো ফিক্স (যাতে স্ক্রিনের বাইরে না যায়) */
    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
    .wp-block-woocommerce-cart .wc-block-cart__submit-button {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px 10px !important;
        font-size: 15px !important;
        margin-top: 15px !important;
        display: block !important;
    }
    
    /* ৪. কুপন ও আপডেট বাটনগুলো মোবাইলে ফুল উইডথ (Full Width) করা */
    .woocommerce-cart .coupon {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .woocommerce-cart .coupon input.input-text,
    .woocommerce-cart .coupon button.button,
    .woocommerce-cart button[name="update_cart"] {
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 5px !important;
    }
}
/* চেকআউট পেজের অপ্রয়োজনীয় ফিল্ডগুলো লুকিয়ে ফেলা */
#billing_address_1_field, 
#billing_city_field, 
#billing_postcode_field, 
#billing_state_field, 
#billing_country_field,
.woocommerce-shipping-fields {
    display: none !important;
}
/* চেকআউট পেজের সব অপ্রয়োজনীয় ফিল্ড (কোম্পানি নামসহ) লুকিয়ে ফেলা */
#billing_company_field,
#billing_address_1_field, 
#billing_city_field, 
#billing_postcode_field, 
#billing_state_field, 
#billing_country_field,
.woocommerce-shipping-fields {
    display: none !important;
}
/* EPS গেটওয়ের নিচের অতিরিক্ত এবং ভাঙা ডেসক্রিপশন বক্স হাইড করা */
.payment_method_eps .payment_box.payment_method_eps {
    display: none !important;
}

/* পেমেন্ট মেথডের লোগোটি একটু বড় এবং পরিষ্কার করা */
.wc_payment_method label img {
    max-height: 30px !important;
    margin-left: 12px !important;
    vertical-align: middle !important;
}