/* 
==========================================================================
   TEPLIVE.COM - PREMIUM BLOGGER THEME (NO TAILWIND)
   Fully Responsive, AdSense Optimized, Ultra Fast Loading
========================================================================== 
*/

/* 
--------------------------------------------------------------------------
   1. CSS VARIABLES (COLORS, FONTS, SHADOWS)
   - Change these variables to completely alter the look of your site.
--------------------------------------------------------------------------
*/
:root {
    /* Brand Primary Colors */
    --brand-50: #f8fafc;
    --brand-100: #f1f5f9;
    --brand-200: #e2e8f0;
    --brand-300: #cbd5e1;
    --brand-400: #94a3b8;
    --brand-500: #64748b;
    --brand-600: #0f172a;
    --brand-700: #020617;
    --brand-800: #000000;
    --brand-900: #000000;
    
    /* Accent & Alert Colors */
    --brand-accent: #1d4ed8;
    --brand-accent-hover: #1e3a8a;
    --brand-red: #dc2626;
    --brand-green: #16a34a;

    /* Base Website Colors */
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-dark: #0f172a;
    --border-color: #e2e8f0;

    /* Fonts Setup */
    --font-primary: 'SolaimanLipi', Arial, sans-serif;
    
    /* Flat E-commerce Setup (No Shadows) */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-nav: none;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* 
--------------------------------------------------------------------------
   2. GLOBAL RESET & BASE HTML STYLES
--------------------------------------------------------------------------
*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    top: 0 !important;
    position: static !important;
}

a {
    text-decoration: none;
    color: inherit;
    background-color: transparent;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button {
    text-transform: none;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    border-style: none;
}

p, h1, h2, h3, h4, h5, h6, a, span {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Google Translate Fixes & Hide Default Blogger Elements */
.goog-te-banner-frame,
.skiptranslate,
#hidden_google_translate {
    display: none !important;
}

/* =========================================
   PREMIUM E-COMMERCE HEADER CSS
========================================= */
.eco-header { background: #ffffff; border-bottom: 1px solid #eaeaea; position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 10px rgba(0,0,0,0.03); width: 100%; }
.eco-header-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 20px; position: relative; }
.eco-logo { font-size: 30px; font-weight: 800; color: #000; letter-spacing: -0.5px; flex-shrink: 0; text-decoration: none; }
.eco-logo span { font-weight: 400; color: #16a34a; font-size: 16px; }

.eco-search-container { flex-grow: 1; max-width: 700px; display: flex; transition: all 0.3s ease; }
.eco-search-container form { display: flex; width: 100%; border: 2px solid #16a34a; border-radius: 6px; overflow: hidden; background: #fff; }
.eco-search-container input { width: 100%; padding: 10px 16px; border: none; outline: none; font-size: 15px; }
.eco-search-container button { background: #16a34a; color: #fff; border: none; padding: 0 20px; cursor: pointer; font-size: 16px; transition: background 0.2s; }
.eco-search-container button:hover { background: #15803d; }

.eco-header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.action-btn { background: none; border: none; font-size: 22px; color: #333; cursor: pointer; position: relative; display: flex; align-items: center; transition: color 0.2s; }
.action-btn:hover { color: #16a34a; }

.mobile-search-btn { display: none; }

@media (max-width: 768px) {
    .eco-header-top { padding: 10px 12px; gap: 10px; }
    .eco-logo { font-size: 24px; }
    .eco-header-actions { gap: 12px; }
    .mobile-search-btn { display: flex; }
    
    /* Mobile Search Collapse Logic */
    .eco-search-container { 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        padding: 10px 15px; 
        background: #ffffff; 
        box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
        z-index: 99; 
        border-top: 1px solid #eaeaea;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        max-width: 100%;
    }
    .eco-search-container.show-mobile { 
        opacity: 1; 
        visibility: visible; 
        transform: translateY(0); 
    }
}


/* 
--------------------------------------------------------------------------
   3. REUSABLE UTILITY CLASSES
--------------------------------------------------------------------------
*/
.hidden {
    display: none !important;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.relative {
    position: relative;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.font-bold {
    font-weight: 700;
}

.text-white {
    color: #ffffff;
}

/* Clamp Text Helpers */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Image Zoom Helper */
.img-hover-zoom {
    transition: none; /* Removed hover effect for minimalism */
}
/* Removed scale on hover */

.img-fit-contain {
    object-fit: contain !important;
    background-color: var(--brand-50);
}

/* Changed to 1:1 for Product Images */
.aspect-16-9 {
    aspect-ratio: 1 / 1; 
    background-color: #f8fafc; /* Subtle background for products */
}

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--brand-100);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-400);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 
--------------------------------------------------------------------------
   4. LAYOUT CONTAINERS
--------------------------------------------------------------------------
*/
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0px; /* মোবাইলের জন্য ন্যারো প্যাডিং */
}

@media (min-width: 768px) {
    .container {
        padding: 0 12px; /* পিসির জন্য ন্যারো প্যাডিং */
    }
}

.max-w-1440 {
    max-width: 98%; /* বড় স্ক্রিনের ৯৮% জায়গা নিবে */
}

.max-w-1240 {
    max-width: 96%; /* ভেতরের কন্টেন্ট ৯৬% জায়গা নিবে */
}

.max-w-800 {
    max-width: 800px;
}

.main-wrapper {
    flex-grow: 1;
    width: 100%;
    background: var(--bg-white);
}

/* 
--------------------------------------------------------------------------
   5. TOP BAR (Date & Quick Links)
--------------------------------------------------------------------------
*/
.site-topbar {
    background-color: var(--brand-900);
    padding: 6px 0;
    font-size: 14px;
    width: 100%;
    display: none;
}

@media (min-width: 768px) {
    .site-topbar {
        display: block;
    }
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d1d5db;
}

.topbar-date {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    letter-spacing: 0.025em;
}

.topbar-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar-links a {
    transition: color var(--transition-normal);
    white-space: nowrap;
}

.topbar-links a:hover {
    color: var(--bg-white);
}

/* 
--------------------------------------------------------------------------
   6. MAIN HEADER & LOGO
--------------------------------------------------------------------------
*/
.site-header {
    background-color: var(--bg-white);
    padding: 1rem 0;
    width: 100%;
    display: none;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
    .site-header {
        display: block;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.site-logo {
    display: block;
    flex-shrink: 0;
}

.site-logo h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--brand-900);
    letter-spacing: -0.025em;
    line-height: 1;
}

.site-logo h1 span {
    font-size: 24px;
    font-weight: 400;
    color: var(--brand-accent);
}

/* Header Dynamic Posts Wrapper */
.header-dynamic-posts {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
    flex-grow: 1;
    min-width: 0;
}

.header-post-skeleton {
    display: flex;
    gap: 8px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.header-post-skeleton.bordered {
    border-left: 1px solid var(--border-color);
    padding-left: 1rem;
}

.header-post-img-skel {
    width: 75px;
    height: 55px;
    background: var(--border-color);
    border-radius: 2px;
}

.header-post-txt-skel {
    width: 128px;
    height: 16px;
    background: var(--border-color);
    border-radius: 4px;
    margin-top: 8px;
}

.header-article-link {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 280px;
    min-width: 0;
}

.header-article-link.bordered {
    border-left: 1px solid var(--brand-100);
    padding-left: 1.25rem;
}

.header-article-img {
    width: 75px;
    height: 55px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
}

.header-article-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    transition: color var(--transition-normal);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-article-link:hover .header-article-title {
    color: var(--brand-accent);
}

.red-dot {
    margin-top: 8px;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background: var(--brand-red);
    border-radius: 50%;
    display: inline-block;
}

/* 
--------------------------------------------------------------------------
   7. MAIN NAVIGATION BAR (STICKY)
--------------------------------------------------------------------------
*/
.main-nav {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow var(--transition-normal);
    width: 100%;
}

.shadow-nav-active {
    box-shadow: var(--shadow-nav) !important;
}

.nav-inner {
    display: flex;
    align-items: stretch;
    height: 54px;
}

/* Mobile Nav Header Elements */
.mobile-nav-header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px; /* একদম বর্ডারের কাছে নিয়ে যাবে */
}

@media (min-width: 1024px) {
    .mobile-nav-header {
        display: none;
    }
}

.mobile-logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-900);
    letter-spacing: -0.025em;
    line-height: 1;
    margin-top: 4px;
}

.mobile-logo span {
    font-size: 18px;
    font-weight: 400;
    color: var(--brand-accent);
}

.icon-btn {
    color: var(--text-dark);
    font-size: 1.35rem; /* আইকন সামান্য বড় করা হলো */
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    transition: color var(--transition-normal);
}

/* Desktop Nav Links Wrapper */
.desktop-nav-links {
    display: none;
    flex-grow: 1;
    align-items: center;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: none;
}

.desktop-nav-links::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-nav-links {
        display: flex;
    }
}

/* The actual ul menu */
.nav-menu {
    display: flex;
    gap: 1.5rem;
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    height: 100%;
    align-items: center;
    white-space: nowrap;
}

@media (min-width: 1280px) {
    .nav-menu {
        gap: 2rem;
    }
}

.nav-menu li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu a {
    transition: color var(--transition-normal), border-color var(--transition-normal);
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover {
    color: var(--brand-accent);
    border-color: var(--brand-accent);
}

/* Desktop Nav Actions (Search, Translate, Hamburger) */
.desktop-nav-actions {
    display: none;
    align-items: stretch;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .desktop-nav-actions {
        display: flex;
    }
}

.search-btn, .menu-btn {
    padding: 0 1rem;
    border: none; outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-normal);
    background: none;
}

.menu-btn {
    border: none; outline: none;
    font-size: 20px;
    padding: 0 1.5rem;
}

.search-btn:hover, .menu-btn:hover {
    color: var(--brand-accent);
    background: var(--brand-50);
}

/* Language Dropdown Customization */
.custom-lang-dropdown {
    padding: 0 1rem;
    border: none; outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.lang-btn:hover {
    color: var(--brand-accent);
}

/* Ultra Minimal Language Dropdown - No Shadow, No Hover Effects */
.lang-menu {
    position: absolute;
    top: 54px;
    right: 0;
    width: 150px;
    background: var(--bg-white);
    border: 1px solid var(--border-color); /* Flat clean border */
    border-radius: 4px;
    box-shadow: none; /* Completely shadowless */
    display: none;
    z-index: 100;
}

.lang-menu.show {
    display: block !important;
}

.lang-menu-inner {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.lang-title {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--brand-400);
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 10px 16px 6px 16px;
    border-bottom: 1px solid var(--border-color);
}

.lang-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: none; /* strictly no animation/hover effects */
}

.lang-menu button .flag-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 12px;
    border: 1px solid var(--brand-100);
}

.lang-menu button:hover {
    background: transparent;
    color: var(--brand-accent); /* Only text color changes to indicate link */
    padding-left: 16px; /* Prevents jumping */
}

.lang-menu .reset-btn {
    font-size: 13px;
    color: var(--brand-red);
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    padding-bottom: 10px;
}

.lang-menu .reset-btn:hover {
    background: transparent;
    color: #b91c1c;
}

/* Search Box Dropdown Animation & Layout */
.search-box-dropdown {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 40;
}

.search-box-dropdown.show {
    display: block !important;
}

.search-form {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    background: var(--brand-50);
    border: 1px solid var(--brand-200);
    border-radius: 2px;
    padding: 12px 16px;
    font-size: 18px;
    transition: background var(--transition-normal), border-color var(--transition-normal);
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    outline: none;
}

.search-input:focus {
    border-color: var(--brand-accent);
    background: var(--bg-white);
}

.search-submit {
    position: absolute;
    right: 0;
    background: var(--brand-900);
    color: var(--bg-white);
    padding: 12px 32px;
    border-radius: 0 2px 2px 0;
    font-weight: 700;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: background var(--transition-normal);
}

.search-submit:hover {
    background: var(--brand-accent);
}

/* 
--------------------------------------------------------------------------
   8. MOBILE MENU OVERLAY & SIDEBAR
--------------------------------------------------------------------------
*/
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999; /* Z-index বাড়ানো হয়েছে যাতে হেডারের নিচে ঢাকা না পড়ে */
    backdrop-filter: blur(4px);
    display: none;
    width: 100%;
    height: 100%;
}

/* Buykori Style Sidebar Categories */
.m-sidebar-cat-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border-color); color: var(--text-dark); text-decoration: none; transition: background 0.2s; }
.m-sidebar-cat-item:hover { background: var(--brand-50); }
.m-sidebar-cat-img { width: 32px; height: 32px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border-color); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.m-sidebar-cat-text { font-size: 14px; font-weight: 700; color: var(--text-main); }
.m-sidebar-hidden { display: none !important; }
.m-sidebar-hidden.show { display: flex !important; animation: fadeIn 0.3s ease; }
.m-sidebar-toggle-btn { width: 100%; text-align: center; padding: 14px; background: transparent; border: none; border-bottom: 1px solid var(--border-color); color: var(--text-muted); font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: 0.2s; }
.m-sidebar-toggle-btn:hover { color: var(--brand-accent); background: var(--brand-50); }

.mobile-menu-overlay.show {
    display: block !important;
}

.mobile-menu-content {
    background: var(--bg-white);
    width: 85%;
    max-width: 320px;
    height: 100%;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu-content.open {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--brand-50);
}

.mobile-menu-header h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--brand-900);
    letter-spacing: -0.025em;
}

.mobile-menu-header h2 span {
    color: var(--brand-accent);
    font-size: 1.25rem;
    font-weight: 400;
}

.mobile-close-btn {
    color: var(--text-muted);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--transition-normal);
}

.mobile-close-btn:hover {
    color: var(--brand-red);
}

.mobile-lang-bar {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: auto !important; /* অতিরিক্ত ফাঁকা স্পেস দূর করবে */
    flex-shrink: 0; /* মেনুকে বড় হওয়া থেকে আটকে রাখবে */
}

.mobile-nav-list {
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    font-size: 16px;
    overflow-x: hidden;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    padding: 12px 20px; /* প্যাডিং কমিয়ে সুন্দর করা হয়েছে */
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-dark);
    transition: color var(--transition-normal), background var(--transition-normal);
}

.mobile-nav-list a:hover {
    color: var(--brand-accent);
    background: var(--brand-50);
}

.mobile-nav-list .active-nav {
    color: var(--brand-accent);
    background: rgba(239, 246, 255, 0.5);
}

/* 
--------------------------------------------------------------------------
   9. TICKER (BREAKING NEWS)
--------------------------------------------------------------------------
*/
.ticker-section {
    width: 100%;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 2rem;
}

.ticker-label {
    background: var(--brand-red);
    color: var(--bg-white);
    padding: 10px 16px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 10;
    flex-shrink: 0;
    font-size: 16px;
    letter-spacing: 0.025em;
}

@media (min-width: 768px) {
    .ticker-label {
        padding: 10px 24px;
        font-size: 17px;
    }
}

.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    background: var(--brand-50);
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    animation: ticker 40s linear infinite;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .ticker {
        font-size: 18px;
    }
}

.ticker:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.ticker-item {
    display: inline-block;
    position: relative;
    padding-right: 20px;
    margin-right: 10px;
    transition: color var(--transition-normal);
}

.ticker-item:hover {
    color: var(--brand-accent);
}

.ticker-item::after {
    content: '\2022';
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-red);
    font-weight: bold;
}

.ticker-item:last-child::after {
    display: none;
}

/* 
--------------------------------------------------------------------------
   10. SECTION BORDERS & HEADINGS
--------------------------------------------------------------------------
*/
.section-border {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-bottom: 1.5rem;
    width: 100%;
}

.section-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--brand-red);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 28px;
    }
}

.section-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-accent);
    flex-shrink: 0;
    white-space: nowrap;
    transition: text-decoration var(--transition-normal);
    display: flex;
    align-items: center;
}

.section-link:hover {
    text-decoration: underline;
}

/* 
--------------------------------------------------------------------------
   11. HOME HERO LAYOUT
--------------------------------------------------------------------------
*/
.home-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .home-hero-layout {
        flex-direction: row;
        gap: 2rem;
    }
}

.hero-main-col {
    width: 100%;
    min-width: 0;
}

@media (min-width: 1024px) {
    .hero-main-col {
        width: 58%;
    }
}

.hero-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}

@media (min-width: 640px) {
    .hero-box {
        flex-direction: row;
        padding: 1.25rem;
    }
}

.hero-featured {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--brand-100);
    padding-bottom: 1.25rem;
    height: 100%;
}

@media (min-width: 640px) {
    .hero-featured {
        width: 55%;
        border-bottom: none;
        border-right: 1px solid var(--brand-100);
        padding-bottom: 0;
        padding-right: 1.5rem;
    }
}

.hero-featured-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--brand-100);
    border-radius: 2px;
    width: 100%;
    margin-bottom: 1rem;
}

.lead-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-red);
    color: var(--bg-white);
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 2px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.hero-featured-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--brand-900);
    transition: color var(--transition-normal);
    width: 100%;
    text-align: left;
}

@media (min-width: 768px) {
    .hero-featured-title {
        font-size: 25px;
    }
}

.hero-featured:hover .hero-featured-title {
    color: var(--brand-accent);
}

.hero-featured-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 18px;
    line-height: 1.6;
    width: 100%;
    text-align: justify;
}

.post-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--brand-50);
    width: 100%;
}

@media (min-width: 640px) {
    .post-meta {
        font-size: 15px;
    }
}

.post-meta i {
    color: #9ca3af;
    margin-right: 6px;
}

.meta-divider {
    margin: 0 12px;
}

.hero-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
}

@media (min-width: 640px) {
    .hero-list {
        width: 45%;
    }
}

.hero-list-item {
    display: flex;
    align-items: center;
    height: 100%;
    border-bottom: 1px solid var(--brand-100);
    padding-bottom: 12px;
}

.hero-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.list-item-link {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.list-item-img {
    width: 130px; /* থাম্বনেইল একটু বড় ও সুন্দর দেখাবে */
    aspect-ratio: 16 / 9; /* পারফেক্ট ১৬:৯ রেশিও */
    height: auto;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--brand-100);
    border-radius: 2px;
    position: relative;
}

.list-item-content {
    flex-grow: 1;
    min-width: 0;
}

.list-item-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--brand-900);
    transition: color var(--transition-normal);
    text-align: left;
}

@media (min-width: 768px) {
    .list-item-title {
        font-size: 18px;
    }
}

.hero-list-item:hover .list-item-title {
    color: var(--brand-accent);
}

.list-item-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 8px;
    display: block;
}

/* 
--------------------------------------------------------------------------
   12. SIDEBAR STYLES (HOME & POST)
--------------------------------------------------------------------------
*/
.home-sidebar-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

@media (min-width: 1024px) {
    .home-sidebar-col {
        width: 42%;
        gap: 2rem;
    }
}

.tabbed-widget {
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    flex-shrink: 0;
    background: var(--brand-50);
}

.tab-btn {
    width: 50%;
    padding: 14px 0;
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    border: none;
    background: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

@media (min-width: 768px) {
    .tab-btn {
        font-size: 20px;
    }
}

.tab-btn.active {
    color: var(--brand-900);
    border-bottom-color: var(--brand-900);
}

.tab-btn.inactive {
    color: var(--text-muted);
}

.tab-btn.inactive:hover {
    color: var(--brand-900);
}

.tab-content {
    padding: 1rem;
    transition: opacity var(--transition-normal);
    width: 100%;
    flex-grow: 1;
}

@media (min-width: 640px) {
    .tab-content {
        padding: 1.25rem;
    }
}

.tab-pane {
    width: 100%;
    height: 100%;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    height: auto; /* অটো হাইট করা হলো যেন কন্টেন্ট বের না হয় */
    gap: 1.25rem;
    width: 100%;
}

.article-border {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    width: 100%;
}

.article-border:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-widget-box {
    width: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}

@media (min-width: 640px) {
    .sidebar-widget-box {
        padding: 1.25rem;
    }
}

.sidebar-widget-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-900);
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--brand-accent);
    padding-left: 12px;
    line-height: 1;
}

.sidebar-widget-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .sidebar-widget-area {
        gap: 2rem;
    }
}

.sidebar-sticky {
    position: sticky;
    top: 70px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .sidebar-sticky {
        gap: 2rem;
    }
}

/* Category/Label Widget Design */
.label-widget-list li {
    margin-bottom: 12px;
}

.label-widget-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 17px;
    color: var(--text-muted);
    transition: color var(--transition-normal);
}

.label-widget-list a:hover {
    color: var(--brand-accent);
}

.label-widget-list .label-icon {
    color: #9ca3af;
    margin-right: 8px;
    transition: color var(--transition-normal);
}

.label-widget-list a:hover .label-icon {
    color: var(--brand-accent);
}

.label-widget-list .label-count {
    background: var(--brand-100);
    color: var(--text-muted);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: all var(--transition-normal);
}

.label-widget-list a:hover .label-count {
    background: var(--brand-accent);
    color: var(--bg-white);
}

/* 
--------------------------------------------------------------------------
   13. POST GRID CATEGORY BLOCKS
--------------------------------------------------------------------------
*/
.post-grid-container {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    width: 100%;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
}

@media (min-width: 640px) {
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .grid-layout {
        grid-template-columns: repeat(4, 1fr);
    }
}

.grid-card {
    background: var(--bg-white);
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb; /* Flat minimalist border */
    padding: 0px; /* Removed padding for edge-to-edge product image */
    border-radius: 0px; /* Square premium edges */
    height: 100%;
}
/* Completely removed hover shadow */
.grid-card-content {
    padding: 12px 16px; /* Space for Title and Price */
}

.card-img-wrap {
    overflow: hidden;
    background: var(--brand-100);
    border-radius: 2px;
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
}

.card-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--brand-900);
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color var(--transition-normal);
    text-align: left;
}

@media (min-width: 640px) {
    .card-title {
        font-size: 21px;
        line-height: 1.3;
    }
}

.grid-card:hover .card-title {
    color: var(--brand-accent);
}

.card-meta {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 8px;
    display: block;
    border-top: 1px solid var(--brand-50);
}

@media (min-width: 640px) {
    .card-meta {
        font-size: 14px;
    }
}

/* 
--------------------------------------------------------------------------
   14. SEARCH & LABEL PAGE
--------------------------------------------------------------------------
*/
.search-page-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    padding-bottom: 3rem;
}

@media (min-width: 1024px) {
    .search-page-layout {
        flex-direction: row;
    }
}

.search-main-col {
    width: 100%;
    min-width: 0;
}

@media (min-width: 1024px) {
    .search-main-col {
        width: 66.666%;
    }
}

.search-header-box {
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--brand-900);
    padding-bottom: 12px;
}

.search-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-900);
}

@media (min-width: 768px) {
    .search-title {
        font-size: 34px;
    }
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.search-result-card {
    background: var(--bg-white);
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .search-result-card {
        flex-direction: row;
    }
}

.search-result-card:hover {
    box-shadow: var(--shadow-md);
}

.search-card-img-wrap {
    width: 100%;
    flex-shrink: 0;
    display: block;
}

@media (min-width: 640px) {
    .search-card-img-wrap {
        width: 280px;
    }
}

.search-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    padding: 4px 0;
}

.search-card-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--brand-900);
    transition: color var(--transition-normal);
    text-align: left;
}

@media (min-width: 768px) {
    .search-card-title {
        font-size: 24px;
    }
}

.search-result-card:hover .search-card-title {
    color: var(--brand-accent);
}

.search-card-snippet {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 8px;
    text-align: justify;
    line-height: 1.6;
}

.search-card-meta {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 12px;
    display: block;
    border-top: 1px solid var(--brand-50);
}

/* Pagination Styles */
.pagination-area {
    margin-top: 8px !important;
    margin-bottom: 3px !important;
}

.pagination-flex {
    display: flex;
    align-items: center;
    justify-content: center; /* মাঝখানে আনার জন্য */
    gap: 15px;
    width: 100%;
    margin: 2rem 0;
}

.btn-paginate {
    background: #ffffff;
    color: var(--brand-900);
    padding: 12px 32px;
    border-radius: 50px; /* রাউন্ড শেপ বা পিল ডিজাইন */
    border: 2px solid var(--brand-900);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-paginate:hover {
    background: var(--brand-900);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-paginate:hover {
    background: var(--brand-accent);
}

.btn-paginate i {
    margin: 0 8px;
}

/* 
--------------------------------------------------------------------------
   15. SINGLE POST VIEW (ARTICLE PAGE)
--------------------------------------------------------------------------
*/
.single-post-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 10px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.single-post-flex {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin-top: 1rem;
}
@media (min-width: 1024px) {
    .single-post-flex {
        flex-direction: row; /* For placing Image left, details right */
        gap: 3rem;
    }
}
/* Hide Author & Dates for Products */
.post-meta-bar, .author-bio-box, .post-tags-area {
    display: none !important;
}

@media (min-width: 1024px) {
    .single-post-flex {
        flex-direction: row;
        gap: 3rem;
    }
}

.single-main-col {
    width: 100%;
    min-width: 0;
}

@media (min-width: 1024px) {
    .single-main-col {
        width: 66.666%;
    }
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 1.25rem;
    font-weight: 700;
    gap: 6px;
}

.breadcrumb a {
    transition: color var(--transition-normal);
}

.breadcrumb a:hover {
    color: var(--brand-accent);
}

.breadcrumb span {
    color: #9ca3af;
}

/* Post Header */
.post-header-area {
    margin-bottom: 1.75rem;
    width: 100%;
}

.post-title-main {
    text-align: left;
    font-size: 30px;
    font-weight: 700;
    color: var(--brand-900);
    line-height: 1.3;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
    width: 100%;
    word-break: break-word;
}

@media (min-width: 768px) {
    .post-title-main {
        font-size: 42px;
    }
}

.post-meta-bar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--brand-100);
    border-bottom: 1px solid var(--brand-100);
    padding: 12px 0;
    width: 100%;
}

@media (min-width: 640px) {
    .post-meta-bar {
        flex-direction: row;
        align-items: center;
    }
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent);
    border: 1px solid var(--brand-100);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    font-size: 18px;
}

.author-details {
    min-width: 0;
}

.author-name {
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-time {
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-time .read-time {
    color: var(--brand-accent);
}

/* Post Share Actions */
.post-share-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: opacity var(--transition-normal), background var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    opacity: 0.9;
}

.share-fb { background: #1877F2; }
.share-wa { background: #25D366; font-size: 17px; }
.share-tw { background: #1DA1F2; }
.share-link { background: var(--brand-500); }
.share-print { background: var(--brand-100); color: var(--text-dark); }
.share-print:hover { background: var(--brand-200); }
.share-translate { background: var(--brand-900); font-size: 16px; }
.share-translate:hover { background: var(--brand-accent); }

/* Featured Image */
.post-featured-figure {
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
}

.post-featured-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Post Content & Typography */
.post-body-content {
    font-size: 18px;
    color: #000000;
    line-height: 30px;
    width: 100%;
    word-break: break-word;
    text-align: justify;
}

/* Safe Content CSS (Bulletproof for Pages Custom HTML & Codes) */
.post-body-content p {
    text-align: justify;
    margin-bottom: 15px;
}
.post-body-content table, 
.post-body-content form, 
.post-body-content iframe,
.post-body-content .custom-html-block {
    max-width: 100%;
    margin-bottom: 15px;
}

.post-body-content img {
    opacity: 1 !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: unset !important;
    display: block;
    margin: 20px auto !important;
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.post-body-content img:hover {
    transform: scale(1.01);
}

.post-body-content a {
    color: var(--brand-accent);
    text-decoration: underline;
    font-weight: 700;
}

.post-body-content h1, 
.post-body-content h2, 
.post-body-content h3, 
.post-body-content h4, 
.post-body-content h5, 
.post-body-content h6 {
    font-weight: 700;
    color: #000000;
    line-height: 1.4;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    text-align: left;
}

.post-body-content h1 { font-size: 30px; } 
.post-body-content h2 { font-size: 26px; } 
.post-body-content h3 { font-size: 22px; } 
.post-body-content h4 { font-size: 20px; } 
.post-body-content h5, .post-body-content h6 { font-size: 18px; }

.post-body-content ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 10px;
}

.post-body-content ol {
    list-style-type: decimal;
    margin-left: 2rem;
    margin-bottom: 10px;
}

.post-body-content li {
    margin-bottom: 0.5rem;
}

.post-body-content blockquote {
    border-left: 4px solid var(--brand-accent);
    padding-left: 1rem;
    margin-left: 0;
    font-style: italic;
    color: var(--text-muted);
    background: var(--brand-50);
    padding: 1rem;
    border-radius: 0 4px 4px 0;
}

/* Bulletproof logic to hide ONLY the first image/duplicate featured image */
#article-content > .separator:first-child,
#article-content > p:first-child .separator,
#article-content > div:first-child .separator,
#article-content > a:first-child:has(img) {
    display: none !important;
}

/* Post Tags */
.post-tags-area {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.tags-label {
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-right: 8px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.tag-btn {
    background: var(--brand-100);
    color: var(--text-muted);
    padding: 6px 14px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 2px;
    transition: background var(--transition-normal), color var(--transition-normal);
    white-space: nowrap;
}

.tag-btn:hover {
    background: var(--brand-accent);
    color: var(--bg-white);
}

/* Post Author Bio Box */
.author-bio-box {
    margin-top: 3rem;
    background: var(--brand-50);
    border: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.author-bio-img-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--brand-accent);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.author-bio-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.author-bio-name {
    font-weight: 700;
    font-size: 24px;
    color: var(--brand-900);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
}

.author-bio-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.author-bio-link {
    background: var(--brand-900);
    color: var(--bg-white);
    padding: 8px 24px;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 700;
    transition: background var(--transition-normal);
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border: none;
}

.author-bio-link:hover {
    background: var(--brand-accent);
}

/* Comments Section */
.comments-section-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--brand-900);
    width: 100%;
}

.comments-title {
    text-align: left;
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    word-break: break-word;
}

.comments-container {
    background: var(--bg-white);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-radius: 2px;
}

.comment-block {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 0;
}

.comment-block:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: 700;
    font-size: 19px;
    color: var(--brand-900);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.comment-body {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 5px;
}

.comment-footer {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.avatar-image-container img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
} 

.tprr-container{margin:3rem 0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;font-family:inherit}
.tprr-heading{font-size:22px;font-weight:700;color:#334155;margin-bottom:2px}
.tprr-pill{background-color:#f8fafc;border-radius:50px;padding:8px 24px;display:inline-flex;align-items:center;gap:12px;border:1px solid #e2e8f0}
.tprr-stars{display:flex;gap:4px;color:#fbbf24;font-size:22px;cursor:pointer}
.tprr-star-icon{transition:transform .2s ease}
.tprr-star-icon:hover{transform:scale(1.15)}
.tprr-avg-txt{font-size:14px;color:#475569;font-weight:600}
.tprr-count-txt{font-size:13px;color:#64748b;margin-top:2px}
.tprr-msg{color:#16a34a;font-size:14px;font-weight:700;margin-top:4px;display:none}
.tprr-msg-show{display:block;animation:tprrFadeIn .3s ease}
@keyframes tprrFadeIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}

/* Shimmer Effect for Performance */
.tprr-shimmer{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:200% 100%;animation:tprrShimmer 1.5s infinite;color:transparent!important;border-radius:4px}
@keyframes tprrShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* Related Posts Bottom (Full Width for E-commerce) */
.related-posts-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%; /* Full Width */
    margin-left: auto;
    margin-right: auto;
}

/* Footer Padding Adjustment */
.site-footer { padding-left: 8px; padding-right: 8px; }
@media (max-width: 768px) { .site-footer { padding-left: 15px; padding-right: 15px; } }

/* Mobile Floating Bar CSS */
.mobile-floating-bar { display: none; }
@media (max-width: 768px) {
    .mobile-floating-bar {
        display: flex; justify-content: space-between; align-items: center;
        position: fixed; bottom: 0; left: 0; width: 100%;
        background: #ffffff; box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
        padding: 8px 12px; z-index: 99999; border-top: 1px solid #e2e8f0;
        transition: transform 0.3s ease; flex-wrap: nowrap;
    }
    body.is-product-page { padding-bottom: 70px !important; }
    .mfb-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; overflow: hidden; }
    .mfb-left img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; border: 1px solid #e2e8f0; flex-shrink: 0; background: #f8fafc; }
    .mfb-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
    .mfb-info h4 { font-size: 13px; font-weight: 700; margin: 0 0 2px 0; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
    .mfb-info span { font-size: 15px; font-weight: 800; color: #dc2626; line-height: 1; white-space: nowrap; }
    .mfb-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: 8px; }
    .mfb-btn { height: 40px; border: none; border-radius: 6px; font-weight: 800; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; font-family: inherit; }
    .mfb-wa { width: 40px; background: #25D366; color: #fff; text-decoration: none; font-size: 20px; }
    .mfb-buy { padding: 0 16px; background: #0f172a; color: #fff; white-space: nowrap; letter-spacing: 0.5px; text-transform: uppercase; }
    .mfb-buy:hover { background: #1d4ed8; }
}

.related-bottom-title {
    text-align: left;
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-900);
    margin-bottom: 1.5rem;
    word-break: break-word;
    border-left: 4px solid var(--brand-accent);
    padding-left: 12px;
    line-height: 1;
}

/* Hide Dates and Authors Globally on Homepage Post Cards */
.post-meta, 
.list-item-date, 
.card-meta, 
.search-card-meta {
    display: none !important;
}

article.group .search-card-meta {
    display: none !important;
}

/* 
--------------------------------------------------------------------------
   16. ERROR (404) PAGE
--------------------------------------------------------------------------
*/
.error-page-container {
    width: 100%;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    padding: 4rem 1rem;
    text-align: center;
}

.error-inner {
    max-width: 42rem;
    margin: 0 auto;
}

.error-404-text {
    font-size: 120px;
    font-weight: 800;
    color: var(--brand-100);
    line-height: 1;
    user-select: none;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    display: inline-block;
}

@media (min-width: 768px) {
    .error-404-text {
        font-size: 160px;
    }
}

.error-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-900);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .error-heading {
        font-size: 34px;
    }
}

.error-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .error-desc {
        font-size: 20px;
    }
}

.error-notice-box {
    background: var(--brand-50);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

.error-notice-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.error-countdown {
    color: var(--brand-red);
    font-size: 24px;
    margin: 0 4px;
    display: inline-block;
    width: 1rem;
    text-align: center;
}

.error-btn {
    background: var(--brand-900);
    color: var(--bg-white);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 2px;
    transition: background var(--transition-normal);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.error-btn:hover {
    background: var(--brand-accent);
}

/* 
--------------------------------------------------------------------------
   17. MINIMALIST E-COMMERCE FOOTER
--------------------------------------------------------------------------
*/
.site-footer {
    background-color: #ffffff;
    color: #333333;
    padding-top: 16px !important; /* অতিরিক্ত ৪ রেম (64px) প্যাডিং কমানো হয়েছে */
    padding-bottom: 2rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px !important;
    width: 100%;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #f0f0f0;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-col { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-logo h2 { font-size: 26px; font-weight: 800; color: #000000; letter-spacing: -0.02em; line-height: 1; }
.footer-logo h2 span { color: #888888; font-size: 15px; font-weight: 400; }
.footer-about-text { font-size: 14px; color: #666666; line-height: 1.6; text-align: left; }

.footer-col-title { color: #000000; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: #666666; }
.footer-links a { transition: opacity 0.2s ease, color 0.2s ease; }
.footer-links a:hover { opacity: 0.7; color: #000000; }

.social-icons-row { display: flex; gap: 16px; align-items: center; }
.social-icon { font-size: 16px; color: #000000; transition: opacity 0.2s ease; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #f0f0f0; border-radius: 50%; }
.social-icon:hover { opacity: 0.6; background: #fafafa; }

.contact-info { font-size: 14px; color: #666666; display: flex; flex-direction: column; gap: 8px; }
.contact-info p { display: flex; align-items: center; gap: 10px; }
.contact-info i { width: 16px; color: #000000; }

.footer-bottom { display: flex; flex-direction: column; justify-content: space-between; align-items: center; font-size: 13px; color: #999999; gap: 1rem; width: 100%; text-align: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; text-align: left; } }
.dev-credit { color: #000000; font-weight: 600; }

/* 
--------------------------------------------------------------------------
   18. BACK TO TOP BUTTON
--------------------------------------------------------------------------
*/
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--brand-900);
    color: var(--bg-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: 50;
    cursor: pointer;
    border: 1px solid #374151;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top:hover {
    background: var(--brand-accent);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 19. PERFECT AD SPACES WITH FALLBACK SYSTEM */
.responsive-ad-wrapper {
    width: 100%;
    margin: 8px auto !important;
    text-align: center;
    display: block; 
    min-height: 90px; /* AdSense Policy Safe Min-Height */
    overflow: hidden;
    transition: all 0.3s ease;
}
.fallback-slot {
    min-height: 250px; /* শুধুমাত্র Adsterra এর জন্য 250px ফিক্সড */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* যদি পুরোটাই খালি থাকে তবে গায়েব হয়ে যাবে */
.responsive-ad-wrapper.collapsed-ad {
    display: none !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
}

.adsense-slot ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
}





/* 
--------------------------------------------------------------------------
   20. COMMUNITY JOIN WIDGETS & POPUP CSS (FLAT & PREMIUM)
--------------------------------------------------------------------------
*/
.community-join-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--brand-200);
    border-radius: 8px;
    padding: 24px 20px;
    margin: 25px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02); /* Very flat & premium shadow */
}
.community-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-900);
    margin-bottom: 8px;
}
.community-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}
.community-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.btn-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 6px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    transition: opacity 0.3s ease;
    text-decoration: none;
    flex: 1 1 calc(33.333% - 12px);
    min-width: 140px;
    white-space: nowrap;
}
.btn-join:hover {
    opacity: 0.85; /* Premium flat hover effect */
}
.btn-join.fb-join { background: #2929FF; }
.btn-join.tg-join { background: #2929FF; }
.btn-join.wa-join { background: #186100; }
.btn-join i { font-size: 18px; }

/* 100% Mobile Responsive for Buttons */
@media (max-width: 640px) {
    .btn-join {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* Popup Specific CSS (100% Responsive & Bulletproof) */
.community-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0; /* মোবাইলের ফুল স্ক্রিন কভার করবে */
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* Safari / iPhone সাপোর্ট */
    z-index: 999999 !important; /* সর্বোচ্চ প্রায়োরিটি, কোনো কিছুর নিচে ঢাকা পড়বে না */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.community-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}
.community-popup-content {
    background: var(--bg-white);
    width: 92%;
    max-width: 420px;
    border-radius: 12px;
    padding: 32px 24px;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s ease-out;
    text-align: center;
    border: 1px solid var(--brand-100);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 90vh; /* ছোট মোবাইলে কনটেন্ট কেটে গেলে স্ক্রল হবে */
    overflow-y: auto; 
}

/* এক্সট্রা মোবাইল অপ্টিমাইজেশন */
@media (max-width: 480px) {
    .community-popup-content {
        padding: 24px 16px; /* মোবাইলের জন্য পারফেক্ট প্যাডিং */
    }
    .community-popup-content .community-title {
        font-size: 20px !important;
    }
    .community-popup-content .community-desc {
        font-size: 15px !important;
        margin-bottom: 16px;
    }
    .popup-icon-top {
        width: 48px; height: 48px; font-size: 22px; margin-bottom: 12px;
    }
}
.community-popup-overlay.show .community-popup-content {
    transform: scale(1) translateY(0);
}
.popup-close-btn {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--brand-50);
    color: var(--text-muted);
    width: 32px; height: 32px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.popup-close-btn:hover { 
    background: #fef2f2;
    color: var(--brand-red);
}
.popup-icon-top {
    width: 56px; height: 56px;
    background: var(--brand-50);
    border-radius: 12px; /* Flat square-rounded style */
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--brand-accent);
    margin: 0 auto 16px auto;
}

/* 
--------------------------------------------------------------------------
   21. PRINT MEDIA CSS (PRINTER FRIENDLY)
--------------------------------------------------------------------------
*/
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
        overflow: visible !important;
    }
    .no-print, aside, nav, footer, header, .mobile-menu-overlay, .back-to-top, .responsive-ad-wrapper, .site-topbar, .custom-lang-dropdown {
        display: none !important;
    }
    .main-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: transparent !important;
    }
    .single-post-wrapper {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        position: static !important;
    }
    #article-content {
        text-align: justify !important;
        color: #000;
        font-size: 16pt !important;
        line-height: 1.6;
        z-index: 10;
        position: relative;
    }
    #article-title {
        text-align: left !important;
        font-size: 26pt !important;
        margin-bottom: 15px;
    }
    h2, h3, h4 {
        text-align: left !important;
        page-break-after: avoid;
    }
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    body::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48dGV4dCB4PSI1MCUiIHk9IjUwJSIgZG9taW5hbnQtYmFzZWxpbmU9Im1pZGRsZSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1zaXplPSIyNCIgZmlsbD0icmdiYSgwLDAsMCwwLjA4KSIgdHJhbnNmb3JtPSJyb3RhdGUoLTQ1IDE1MCAxNTApIiBmb250LWZhbWlseT0iQXJpYWwiPlRlcGxpdmUuY29tPC90ZXh0Pjwvc3ZnPg==');
        background-repeat: repeat;
        pointer-events: none;
        z-index: -1;
    }
}

/* =======================================================
   PREMIUM MINIMALIST E-COMMERCE PRODUCT PAGE (FULL WIDTH)
   ======================================================= */
/* Force Full Width & Hide Sidebar on Product Page */
.single-post-wrapper { max-width: 100% !important; padding: 0 15px !important; margin: 0 auto !important; }
.single-post-flex { display: block !important; }
.single-main-col { width: 100% !important; max-width: 100% !important; }
#sidebar-post { display: none !important; }

.product-page-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin-bottom: 3rem;
    margin-top: 1rem;
}
@media (min-width: 992px) {
    .product-page-layout {
        flex-direction: row;
        align-items: flex-start;
    }
}


/* --- Left: Minimalist Product Gallery (1:1 Ratio) --- */
.product-gallery { width: 100%; flex-shrink: 0; }
@media (min-width: 992px) {
    .product-gallery { width: 45%; position: sticky; top: 80px; }
}
.main-image-container {
    width: 100%; 
    aspect-ratio: 1 / 1; /* পারফেক্ট স্কয়ার */
    background: #fafafa;
    border: 1px solid #f0f0f0; 
    margin-bottom: 10px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.main-image-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* ছবিকে স্কয়ারের সাথে ফিট করবে */
}
.thumbnail-gallery { 
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; 
}
.thumbnail-gallery::-webkit-scrollbar { display: none; }
.p-thumb {
    width: calc(20% - 6.4px); /* ৫টি থাম্বনেইল সুন্দরভাবে বসবে */
    aspect-ratio: 1 / 1; /* থাম্বনেইলও পারফেক্ট স্কয়ার */
    height: auto; 
    object-fit: cover; 
    background: #fafafa;
    border: 1px solid #f0f0f0; 
    cursor: pointer; 
    opacity: 0.5; 
    transition: opacity 0.2s ease; /* হোভারলেস, শুধু অপাসিটি চেঞ্জ */
}
.p-thumb.active-thumb, .p-thumb:hover { 
    opacity: 1; 
    border-color: #000000; 
}

/* ================= MINIMAL DARAZ/AMAZON STYLE HERO SECTION (SHADOWLESS) ================= */
.hero-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin: 10px 0 18px 0;
}

.eco-hero-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    aspect-ratio: 16 / 9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: none !important;
}

.eco-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
.eco-hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.eco-hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-dots-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
    padding: 5px 12px;
    background: rgba(15, 23, 42, 0.38);
    border-radius: 20px;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: 0.25s ease; }
.hero-dot.active { background: #ffffff; width: 20px; border-radius: 10px; }

/* Right Side Panel (Minimal & Strictly Shadowless) */
.hero-side-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.hero-promo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    box-shadow: none !important;
}

.hero-promo-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.hero-flat-badge {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.hero-verified-tag {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hero-promo-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
}
.hero-promo-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

.hero-coupon-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 4px;
    padding: 7px 10px;
    margin-top: 2px;
}
.hero-coupon-code { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; }
.hero-coupon-code strong { font-size: 14px; font-weight: 900; color: #0f172a; letter-spacing: 0.8px; font-family: monospace; }
.hero-coupon-copy {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}
.hero-coupon-copy:hover { background: #16a34a; }

/* 4 Quick Links Grid */
.hero-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.hero-quick-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    text-decoration: none;
    color: #0f172a;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-shadow: none !important;
}
.hero-quick-item:hover {
    border-color: #16a34a;
    background: #f8fafc;
}
.hq-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.hq-icon.hq-wa { background: #dcfce7; color: #16a34a; }
.hq-icon.hq-app { background: #eff6ff; color: #1d4ed8; }
.hq-text { font-size: 11.5px; font-weight: 700; color: #334155; line-height: 1.25; }

/* Mobile Compact Polish */
@media (max-width: 767px) {
    .hero-bento-grid { padding: 0 8px; margin: 8px 0 14px 0; }
    .hero-promo-desc { display: none; }
    .hero-promo-card { padding: 10px 12px; gap: 6px; }
    .hero-promo-title { font-size: 15px; }
    .hq-text { font-size: 10.5px; }
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-side-panel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .hero-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* PC / Desktop Daraz-Amazon Split Layout */
@media (min-width: 1024px) {
    .hero-bento-grid {
        grid-template-columns: minmax(0, 62%) minmax(0, 38%);
        gap: 14px;
        align-items: stretch;
        margin: 14px 0 22px 0;
    }
    .eco-hero-wrapper {
        max-height: 460px;
    }
    .hero-side-panel {
        justify-content: space-between;
        gap: 12px;
    }
    .hero-promo-card {
        flex: 1;
        padding: 18px 20px;
    }
    .hero-promo-title { font-size: 20px; }
    .hero-quick-grid {
        flex: 1;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .hero-quick-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 12px 14px;
        gap: 10px;
    }
    .hq-text { font-size: 13.5px; }
}

/* ================= MINIMAL CATEGORY (GRID + SLIDER WITH ARROWS) ================= */
.eco-cat-wrapper { background: transparent; margin-bottom: 2rem; position: relative; padding: 0 8px; }
#cat-toggle-btn { order: 99; } 
.mobile-menu-btn-custom { display: none; }
@media (max-width: 768px) { .mobile-menu-btn-custom { display: flex; } }
.eco-cat-grid-slider { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 4px; padding: 0 4px; }
.eco-cat-item-b { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; text-align: center; cursor: pointer; }

/* Minimal Image Box without Shadows and Hover effects, Light rounded corner */
.eco-cat-img-b { width: 62px; height: 62px; margin: 0 auto; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: 0.2s; }
.eco-cat-img-b img { width: 100%; height: 100%; object-fit: cover; }

.eco-cat-text-b { font-size: 11px; font-weight: 700; color: #334155; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.4em; padding: 0 2px; width: 100%; }
.cat-hidden-mobile { display: none; }
.cat-hidden-mobile.show { display: flex; }

/* Navigation Arrows (Hidden on Mobile) */
.cat-nav-btn { display: none; position: absolute; top: 35px; transform: translateY(-50%); z-index: 10; width: 32px; height: 32px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); cursor: pointer; align-items: center; justify-content: center; color: #64748b; transition: 0.2s; outline: none; }
.cat-nav-btn:hover { color: #000; background: #f8fafc; }
.cat-nav-left { left: -5px; }
.cat-nav-right { right: -5px; }

/* PC Styles: Slider with Buttons */
@media (min-width: 768px) {
    .eco-cat-wrapper { padding: 0 25px; }
    .eco-cat-grid-slider { display: flex; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; gap: 16px; padding: 5px 0; }
    .eco-cat-grid-slider::-webkit-scrollbar { display: none; }
    .eco-cat-item-b { flex: 0 0 calc((100% - 160px) / 11); min-width: 80px; }
    .eco-cat-img-b { width: 80px; height: 80px; border-radius: 12px; }
    .eco-cat-text-b { font-size: 13px; }
    .cat-hidden-mobile { display: flex; }
    #cat-toggle-btn { display: none !important; }
    .cat-nav-btn { display: flex; top: 45px;} /* Show buttons on PC */
}

/* ================= SLIDE-OUT CART DRAWER & QTY BOX ================= */
.cart-drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 999998; opacity: 0; visibility: hidden; transition: 0.3s; }
.cart-drawer-overlay.show { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -400px; width: 100%; max-width: 380px; height: 100%; background: #fff; z-index: 999999; transition: right 0.3s ease; display: flex; flex-direction: column; box-shadow: -5px 0 15px rgba(0,0,0,0.1); }
.cart-drawer.open { right: 0; }
.cart-header { padding: 20px; border-bottom: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-size: 18px; font-weight: 800; margin: 0; color: #000; }
.close-cart-btn { background: none; border: none; font-size: 20px; cursor: pointer; color: #000; }
.cart-body { padding: 20px; flex-grow: 1; overflow-y: auto; }
.cart-footer { padding: 20px; border-top: 1px solid #e5e7eb; background: #f8fafc; }
.cart-item-mini { display: flex; gap: 15px; border-bottom: 1px solid #e5e7eb; padding-bottom: 15px; margin-bottom: 15px; }
.cart-item-mini:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cart-item-mini img { width: 75px; height: 75px; object-fit: cover; border: 1px solid #e5e7eb; border-radius: 4px; }
.cart-item-details { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.cart-item-title-mini { font-size: 14px; font-weight: 700; color: #000; margin-bottom: 6px; line-height: 1.3; }
.cart-item-price-mini { font-size: 15px; font-weight: 800; color: #16a34a; }
.remove-mini-btn { color: #ef4444; background: none; border: none; font-size: 13px; cursor: pointer; padding: 4px 8px; border-radius: 4px; font-weight: 700; transition: 0.2s; }
.remove-mini-btn:hover { background: #fef2f2; }
.mini-qty-box { display: flex; border: 1px solid #e2e8f0; border-radius: 4px; overflow: hidden; height: 28px; width: 80px; }
.mini-qty-box button { background: #f8fafc; border: none; width: 26px; cursor: pointer; font-weight: bold; color: #334155; transition: 0.2s; }
.mini-qty-box button:hover { background: #e2e8f0; }
.mini-qty-box input { width: 28px; text-align: center; border: none; font-size: 13px; font-weight: 700; color: #000; outline: none; background: #fff; padding: 0; pointer-events: none; }
.empty-cart-msg { text-align: center; color: #64748b; font-weight: 700; margin-top: 50px; }


/* ================= SIMPLE PAGE VIEW (About, Contact etc) ================= */
.simple-page-wrapper { width: 100%; padding: 40px 15px; background: #f8fafc; min-height: 60vh; }
.simple-page-inner { max-width: 800px; margin: 0 auto; background: #fff; padding: 40px; border-radius: 8px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.simple-page-title { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 24px; padding-bottom: 16px; text-align: center; }
@media (max-width: 768px) {
    .simple-page-wrapper { padding: 20px 10px; }
    .simple-page-inner { padding: 10px; }
    .simple-page-title { font-size: 22px; }
}

/* --- Right: Product Details --- */
.product-details { width: 100%; flex-grow: 1; }
.product-title-eco { font-size: 20px; font-weight: 800; color: #000000; margin-bottom: 8px; line-height: 1.3; }
.product-reviews-mini { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #64748b; margin-bottom: 1.5rem; }
.product-reviews-mini .fa-star { color: #fbbf24; }
/* --- Product Pricing (1-Line No-Wrap Fix) --- */
.product-pricing { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    margin-bottom: 1.5rem; 
    flex-wrap: nowrap; /* এক লাইনে রাখার জন্য */
    overflow-x: auto; /* যদি স্ক্রিনের চেয়ে বড় হয় তবে স্ক্রল হবে */
    scrollbar-width: none; /* স্ক্রলবার হাইড */
    white-space: nowrap;
    width: 100%;
}
.product-pricing::-webkit-scrollbar { display: none; }

.product-pricing .new-p { 
    font-size: 26px; /* মোবাইলের জন্য একটু ছোট করা হলো */
    font-weight: 800; 
    color: #ff3366; 
    white-space: nowrap; 
    line-height: 1; 
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
}
.product-pricing .new-p span.currency {
    font-size: 20px; 
    margin-right: 2px;
    font-weight: 700;
}
.product-pricing .old-p { 
    font-size: 15px; 
    font-weight: 600; 
    color: #94a3b8; 
    text-decoration: line-through; 
    white-space: nowrap; 
    line-height: 1; 
    flex-shrink: 0;
}
.product-pricing .price-divider {
    width: 1.5px;
    height: 18px;
    background-color: #cbd5e1;
    margin: 0 2px;
    flex-shrink: 0;
}
.product-pricing .save-amount { 
    color: #0d9488; 
    font-size: 14px; 
    font-weight: 600; 
    white-space: nowrap; 
    line-height: 1; 
    flex-shrink: 0;
}
.product-pricing .discount-tag { 
    background-color: rgb(92, 15, 139); 
    color: #ffffff; 
    font-size: 12px; 
    font-weight: 700; 
    padding: 4px 10px; 
    border-radius: 0 12px 0 12px; 
    white-space: nowrap; 
    line-height: 1; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    margin-left: 2px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .product-pricing { gap: 10px; overflow: visible; }
    .product-pricing .new-p { font-size: 32px; }
    .product-pricing .new-p span.currency { font-size: 26px; margin-right: 3px; }
    .product-pricing .old-p { font-size: 18px; }
    .product-pricing .save-amount { font-size: 17px; }
    .product-pricing .discount-tag { font-size: 14px; padding: 5px 14px; border-radius: 0 16px 0 16px; }
    .product-pricing .price-divider { height: 22px; margin: 0 4px; }
}
.product-short-desc { font-size: 15px; color: #334155; line-height: 1.6; margin-bottom: 2rem; }

/* --- Variants & Actions --- */
.variant-label { font-size: 11px; font-weight: 800; text-transform: uppercase; color: #000000; margin-bottom: 8px; display: block; letter-spacing: 0.5px; }
.size-options { display: flex; gap: 10px; margin-bottom: 2rem; }
.size-btn { padding: 8px 16px; border: 1px solid #e5e7eb; background: transparent; font-size: 13px; font-weight: 700; color: #000000; cursor: pointer; }
.size-btn.active { background: #000000; color: #ffffff; border-color: #000000; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 15px; align-items: stretch; }
.qty-selector { display: flex; border: 1px solid #e5e7eb; width: 120px; height: 48px; flex-shrink: 0; }
.qty-btn { width: 35px; background: #f8fafc; border: none; font-size: 18px; cursor: pointer; color: #000; transition: 0.2s; }
.qty-btn:hover { background: #e2e8f0; }
.qty-input { width: 50px; text-align: center; border: none; font-size: 16px; font-weight: 700; color: #000; outline: none; }
.btn-add-cart { flex-grow: 1; min-width: 200px; height: 48px; background: transparent; border: 2px solid #000000; color: #000000; font-weight: 800; font-size: 15px; cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; gap: 8px; }
.btn-add-cart:hover { background: #000000; color: #ffffff; }
.buy-action-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-bottom: 1.5rem; }
.btn-wa-contact { width: 100%; height: 48px; background: #25D366; color: #ffffff; border: none; font-weight: 800; font-size: 14px; cursor: pointer; transition: all 0.3s ease; display: flex; justify-content: center; align-items: center; gap: 6px; border-radius: 4px; white-space: nowrap; }
.btn-buy-now { width: 100%; height: 48px; background: #0f172a; color: #ffffff; border: none; font-weight: 800; font-size: 15px; cursor: pointer; transition: all 0.3s ease; display: flex; justify-content: center; align-items: center; border-radius: 4px; white-space: nowrap; box-shadow: 0 4px 12px rgba(15,23,42,0.15); letter-spacing: 0.5px; }
.btn-wa-contact:hover { background: #16a34a; }
.btn-buy-now:hover { background: #000000; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.2); }

.fomo-offer-box { background: #f8fafc; border: 1px solid #e2e8f0; padding: 16px 12px; border-radius: 4px; margin-bottom: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.fomo-offer-text { font-size: 14px; color: #0f172a; font-weight: 800; display: flex; align-items: center; gap: 6px; line-height: 1.4; text-align: center; justify-content: center; letter-spacing: 0.5px; }
.fomo-timer-display { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; width: 100%; }
.fomo-time-block { background: #ffffff; border: 1px solid #cbd5e1; color: #64748b; font-weight: 700; font-size: 11px; padding: 6px 10px; border-radius: 4px; display: flex; align-items: center; gap: 4px; letter-spacing: 0.5px; white-space: nowrap; text-transform: uppercase; }
.fomo-time-block b { font-weight: 800; font-size: 14px; color: #0f172a; }

/* Live Viewers & Stock Box (Responsive 1-Line) */
.live-stock-wrapper { display: flex; align-items: center; justify-content: flex-start; gap: 4px; margin-top: -5px; margin-bottom: 20px; flex-wrap: nowrap; font-size: 11px; font-weight: 600; color: #0f172a; overflow: hidden; white-space: nowrap; width: 100%; letter-spacing: -0.2px; }
.live-viewers-plain { display: flex; align-items: center; gap: 3px; }
.live-viewers-plain .blink-icon { animation: blinker 1.5s linear infinite; color: #ef4444; font-size: 12px; }
.live-viewers-plain strong { color: #dc2626; font-weight: 800; font-size: 12.5px; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); display: inline-block; min-width: 16px; text-align: center; }
.live-viewers-plain strong.pop { transform: scale(1.3) translateY(-1px); color: #991b1b; }
.stock-left-plain { display: flex; align-items: center; gap: 3px; }
.stock-left-plain strong { color: #ff3366; font-weight: 800; font-size: 12.5px; }
@keyframes blinker { 50% { opacity: 0.2; } }

@media (min-width: 640px) {
    .live-stock-wrapper { gap: 10px; font-size: 14.5px; letter-spacing: normal; }
    .live-viewers-plain { gap: 6px; }
    .live-viewers-plain .blink-icon { font-size: 15px; }
    .live-viewers-plain strong { font-size: 16px; min-width: 22px; }
    .stock-left-plain { gap: 6px; }
    .stock-left-plain strong { font-size: 16px; }
}

@media (min-width: 640px) {
    .fomo-offer-box { padding: 20px 16px; }
    .fomo-offer-text { font-size: 15px; }
    .fomo-time-block { font-size: 12px; padding: 6px 12px; }
    .fomo-time-block b { font-size: 15px; }
    .buy-action-grid { grid-template-columns: 1fr 2fr; gap: 14px; }
    .btn-wa-contact { font-size: 15px; gap: 8px; }
    .btn-buy-now { font-size: 16px; }
}
.stock-alert { background: #f8fafc; border: 1px solid #e5e7eb; padding: 1rem; font-size: 13px; color: #334155; font-weight: 700; }

/* --- Review Static UI (Exact Play Store Style, Full Width) --- */
.review-static-ui { border-top: 1px solid #e5e7eb; padding-top: 1.5rem; margin-top: 1rem; margin-bottom: 0.5rem; display: flex; flex-direction: column; width: 100%; }
.review-header { margin-bottom: 1rem; width: 100%; display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; gap: 10px; }
.review-header h3 { font-size: 20px !important; font-weight: 800; color: #000; margin: 0; white-space: nowrap; }

/* Minimalist Write Review Button */
.write-review-btn { background: transparent; border: 1px solid #000; color: #000; font-weight: 700; font-size: 13px; padding: 6px 16px; border-radius: 2px; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-family: inherit; }
.write-review-btn:hover { background: #000; color: #fff; }

/* Review Iframe Modal CSS */
.review-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 999999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s ease; }
.review-modal-overlay.show { opacity: 1; visibility: visible; }
.review-modal-content { background: #fff; width: 92%; max-width: 550px; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); transform: translateY(20px); transition: 0.3s ease; overflow: hidden; display: flex; flex-direction: column; }
.review-modal-overlay.show .review-modal-content { transform: translateY(0); }
.review-modal-header { padding: 15px 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: #fafafa; }
.review-modal-header h4 { margin: 0; font-size: 16px; font-weight: 800; color: #000; text-transform: uppercase; letter-spacing: 0.5px; }
.close-modal-btn { background: none; border: none; font-size: 20px; cursor: pointer; color: #666; transition: 0.2s; padding: 0; line-height: 1; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.close-modal-btn:hover { color: #e60000; }
.review-iframe-container { padding: 0; width: 100%; height: 320px; background: #fff; }
.review-iframe-container iframe { width: 100%; height: 100%; border: none; }
.review-score-area { display: flex; gap: 3rem; align-items: flex-start; width: 100%; flex-wrap: nowrap; }
@media (max-width: 640px) { .review-score-area { gap: 1.5rem; } }
.review-stars-col { display: flex; flex-direction: column; min-width: 100px; flex-shrink: 0; }
.review-score-big { font-size: 60px; font-weight: 700; color: #000; line-height: 1; letter-spacing: -2px; }
.review-stars-col .stars-wrap { color:#fbbf24; font-size:15px; margin-top:8px; display:flex; gap:2px; }
.review-stars-col .rev-count { font-size:12px; color:#64748b; margin-top:6px; }
.progress-bars-area { flex-grow: 1; width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.bar-row { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: #000; line-height: 1; }
.bar-track { flex-grow: 1; height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; width: 100%; }
.bar-fill { height: 100%; background: #fbbf24; border-radius: 4px; }

/* --- Tabs Area --- */
.product-tabs-section { width: 100%; border-top: none; padding-top: 0.5rem; margin-top: 0; }
.tab-headers { display: flex; gap: 2rem; border-bottom: 1px solid #e5e7eb; margin-bottom: 2rem; }
.tab-head { font-size: 16px; font-weight: 800; color: #94a3b8; padding-bottom: 12px; cursor: pointer; border-bottom: 3px solid transparent; transition: 0.2s; }
.tab-head.active { color: #000000; border-bottom-color: #000000; }
.tab-body { display: none; }
.tab-body.active { display: block; animation: fadeIn 0.3s ease; }
.tab-body p, .tab-body ul { margin-bottom: 15px; color: #334155; font-size: 16px; line-height: 1.7; }
/* Clean up native blogger comments & Hide Comment Form */
#tab-reviews .comments-section-area { margin-top: 0 !important; border-top: none !important; padding-top: 0 !important; }
#tab-reviews .comments-title { display: none; }
.comments .footer.w-full { display: none !important; } /* Hides Review Comment Box */

/* =========================================
   NEW E-COMMERCE PRODUCT GRID (NATIVE)
========================================= */
/* Grid Layout: Mobile 2, PC 6 */
.eco-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* মোবাইলে ২টি */
    gap: 8px; /* মোবাইলে একদম কম গ্যাপ */
    width: 100%;
}
@media (min-width: 640px) {
    .eco-grid-layout {
        grid-template-columns: repeat(4, 1fr); /* ট্যাবলেটে ৪টি */
        gap: 12px;
    }
}
@media (min-width: 1024px) {
    .eco-grid-layout {
        grid-template-columns: repeat(6, 1fr); /* পিসিতে ৬টি */
        gap: 14px;
    }
}

/* Card Design Matching Your Image (Minimal Premium with 2px Radius) */
.eco-product-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s ease;
    border-radius: 2px;
    overflow: hidden;
}
.eco-product-card:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.eco-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* স্কয়ার সাইজ ছবি */
    background-color: #f4f6f8; /* হালকা ব্যাকগ্রাউন্ড */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px 3px 0 0;
}
.eco-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ছবি ক্রপ হবে না, পুরোটা ফ্রেমের ভেতর ফিট থাকবে */
}

/* Tags & Wishlist Icon */
.eco-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 6px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
}
.eco-sale { background-color: #f05c5c; }
.eco-hot { background-color: #222222; }
.eco-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #cbd5e1;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27), color 0.3s;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); /* ছবির উপর আইকনটি স্পষ্ট বোঝাতে শ্যাডো */
}
.eco-wishlist:hover { color: #ef4444; transform: scale(1.15); }
.eco-wishlist.active { color: #ef4444; filter: none; }

/* Wishlist Drawer CSS */
.wishlist-drawer { position: fixed; top: 0; right: -400px; width: 100%; max-width: 380px; height: 100%; background: #fff; z-index: 999999; transition: right 0.3s ease; display: flex; flex-direction: column; box-shadow: -5px 0 15px rgba(0,0,0,0.1); }
.wishlist-drawer.open { right: 0; }
.wishlist-item-mini { display: flex; gap: 15px; border-bottom: 1px solid #e5e7eb; padding-bottom: 15px; margin-bottom: 15px; }
.wishlist-item-mini img { width: 75px; height: 75px; aspect-ratio: 1 / 1; object-fit: cover; background: #f4f6f8; border: 1px solid #e5e7eb; border-radius: 4px; }

/* Content Area */
.eco-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.eco-title {
    font-size: 13px;
    color: #222;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    margin: 0;
    height: 36px; /* টাইটেল ২ লাইন সমান রাখার জন্য */
}
.eco-pricing-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.eco-price-new {
    font-size: 16px;
    font-weight: 800;
    color: #111;
}
.eco-price-old {
    font-size: 12px;
    font-weight: 500;
    color: #a0a0a0;
    text-decoration: line-through;
}
.eco-rating-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}
.eco-stars {
    color: #fbbc04; /* হলুদ রেটিং স্টার */
    font-size: 10px;
}

/* ================= BUYKORI STYLE 3-STEP CHECKOUT (FULL PAGE VIEW) ================= */
.chk-overlay { position: fixed; inset: 0; background: #f1f5f9; z-index: 9999999; display: none; overflow-y: auto; padding: 0; align-items: flex-start; justify-content: center; }
.chk-overlay.show { display: flex; animation: fadeIn 0.3s ease; }

/* Desktop Split Screen Container */
.chk-container { background: #fff; width: 100%; max-width: 960px; box-shadow: none; border: 1px solid #e2e8f0; margin: 0 auto; min-height: 100vh; position: relative; overflow: hidden; display: flex; flex-direction: column; }

/* SweetAlert Z-Index Fix (Error Popup on Top) */
.swal2-container { z-index: 99999999 !important; }

/* SweetAlert Z-Index Fix (Error Popup on Top) */
.swal2-container { z-index: 99999999 !important; }
@media (min-width: 992px) {
    .chk-overlay { padding: 40px 10px; }
    .chk-container { border-radius: 12px; min-height: auto; }
}

/* Zoom Problem Fix (iOS) & Input Styling */
.chk-input-group input, .eco-promo-wrap input, .chk-input-group textarea {
    font-size: 16px !important; /* Prevents auto-zoom on mobile */
    touch-action: manipulation;
}

/* TrxID Helper Expand Box */
.trx-helper-box { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.4s ease; opacity: 0; border: none; padding: 0; }
.trx-helper-box.show { max-height: 500px; margin-top: 12px; opacity: 1; border: 1px dashed #cbd5e1; border-radius: 6px; padding: 4px; background: #f8fafc; }
.trx-helper-box img { width: 100%; border-radius: 4px; display: block; object-fit: contain; }

/* Header modifications for Page-like feel */
.chk-header { padding: 16px 20px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.chk-close { background: #f1f5f9; border: none; font-size: 14px; font-weight: 700; color: #475569; cursor: pointer; padding: 8px 16px; border-radius: 50px; transition: 0.2s; display: flex; align-items: center; gap: 6px; }
.chk-close:hover { background: #e2e8f0; color: #0f172a; }
.chk-step-centered { max-width: 500px; margin: 0 auto; } /* For Step 2 & 3 */

.chk-header { padding: 18px 24px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.chk-header h3 { font-size: 20px; font-weight: 800; color: #0f172a; margin: 0; display: flex; align-items: center; gap: 10px; }
.chk-header h3 .step-num { width: 28px; height: 28px; background: #0f172a; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.chk-close { background: none; border: none; font-size: 20px; color: #94a3b8; cursor: pointer; transition: 0.2s; }
.chk-close:hover { color: #dc2626; }
.chk-step { display: none; padding: 24px; }
.chk-step.active { display: block; animation: slideUp 0.3s ease; }

/* Split Layout */
.chk-split { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.chk-left { width: 100%; border: 1px solid #e2e8f0; border-radius: 6px; padding: 20px; background: #fff; }
.chk-right { width: 100%; border: 1px solid #e2e8f0; border-radius: 6px; padding: 20px; background: #fff; }
@media (min-width: 768px) {
    .chk-split { flex-direction: row; }
    .chk-left { width: 55%; }
    .chk-right { width: 45%; }
}

/* Product Item Layout */
.chk-item-row { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.chk-item-img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid #e2e8f0; }
.chk-item-info { flex: 1; min-width: 0; }
.chk-item-title { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 4px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chk-item-price { font-size: 18px; font-weight: 800; color: #000; }
.chk-qty-wrap { display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 4px; overflow: hidden; height: 32px; width: 90px; }
.chk-qty-btn { width: 30px; background: #f8fafc; border: none; font-weight: bold; cursor: pointer; color: #334155; }
.chk-qty-input { width: 30px; text-align: center; border: none; font-weight: bold; font-size: 14px; pointer-events: none; background: #fff; padding: 0; }

/* Cross Sell */
.cross-sell-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 15px; margin-bottom: 20px; }
.cs-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 14px; color: #0f172a; }
.cs-header i.fa-chevron-down { transition: transform 0.3s; }
.cs-header.open i.fa-chevron-down { transform: rotate(180deg); }
.cs-content { display: none; margin-top: 15px; border-top: 1px solid #e2e8f0; padding-top: 15px; max-height: 200px; overflow-y: auto; }
.cs-content.show { display: flex; flex-direction: column; gap: 10px; }
.cs-item { display: flex; align-items: center; gap: 10px; border: 1px solid #e2e8f0; padding: 8px; border-radius: 4px; cursor: pointer; background: #fff; transition: 0.2s; position: relative; }
.cs-item.selected { border-color: #1d4ed8; background: #eff6ff; }
.cs-item img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.cs-item-info { flex: 1; }
.cs-item-title { font-size: 13px; font-weight: 700; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.cs-item-price { font-size: 13px; font-weight: 800; color: #000; }
.cs-check { width: 20px; height: 20px; border: 1px solid #cbd5e1; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: transparent; transition: 0.2s; }
.cs-item.selected .cs-check { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }

/* Breakdowns & Promo */
.chk-breakdown { font-size: 14px; color: #475569; margin-bottom: 15px; line-height: 1.8; }
.chk-bd-row { display: flex; justify-content: space-between; }
.chk-promo-btn { font-size: 14px; font-weight: 700; color: #475569; cursor: pointer; background: none; border: none; display: flex; align-items: center; gap: 6px; padding: 10px 0; border-top: 1px solid #f1f5f9; width: 100%; }
.eco-promo-wrap { display: none; gap: 8px; margin-top: 5px; }
.eco-promo-wrap.show { display: flex; }
.eco-promo-wrap input { flex: 1; padding: 10px; border: 1px solid #cbd5e1; border-radius: 4px; text-transform: uppercase; font-weight: 700; outline: none; }
.eco-promo-wrap button { background: #0f172a; color: #fff; border: none; padding: 0 16px; border-radius: 4px; font-weight: 700; cursor: pointer; }
.chk-total-row { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid #e2e8f0; padding-top: 15px; margin-top: 10px; }
.chk-total-lbl { font-size: 18px; font-weight: 700; color: #0f172a; }
.chk-total-val { font-size: 28px; font-weight: 900; color: #0f172a; }

/* Right Form */
.chk-form-title { font-size: 16px; font-weight: 800; border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; margin-bottom: 15px; color: #0f172a; }
.chk-input-group { margin-bottom: 16px; text-align: left; }
.chk-input-group label { display: block; font-size: 13px; font-weight: 700; color: #475569; margin-bottom: 6px; }
.chk-input-group input { width: 100%; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 15px; outline: none; transition: 0.2s; background: #f8fafc; font-weight: 600; }
.chk-input-group input:focus { border-color: #1d4ed8; background: #fff; }
.chk-btn { width: 100%; background: #0f172a; color: #fff; padding: 16px; border: none; border-radius: 6px; font-size: 16px; font-weight: 800; cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; gap: 8px; }
.chk-btn:hover { background: #1e40af; }
.chk-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.chk-btn-sec { width: 100%; background: transparent; color: #64748b; padding: 14px; border: none; font-size: 13px; font-weight: 700; cursor: pointer; margin-top: 10px; text-transform: uppercase; }
.chk-btn-sec:hover { color: #1d4ed8; }

/* Step 2: Payment Gateway NO WRAP */
.pay-methods { display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; margin-bottom: 24px; padding-bottom: 5px; scrollbar-width: none; }
.pay-methods::-webkit-scrollbar { display: none; }
.pay-option { flex: 1 0 calc(33.33% - 8px); min-width: 110px; border: 2px dashed #cbd5e1; border-radius: 8px; padding: 16px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; transition: 0.2s; background: #fff; }
.pay-option:hover, .pay-option.selected { border-color: #0f172a; background: #f8fafc; }
.pay-option img { height: 35px; object-fit: contain; }
.pay-option span { font-size: 14px; font-weight: 700; color: #334155; }

/* Checkout Responsive Fixes */
@media (max-width: 768px) {
    .chk-container { max-width: 95%; border-radius: 12px; margin-top: 10px; margin-bottom: 10px; }
    .chk-header { padding: 15px 16px; }
    .chk-step { padding: 16px; }
    .chk-left, .chk-right { padding: 16px; border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.04); margin-bottom: 10px; }
    .chk-split { gap: 10px; }
    .pay-methods { gap: 8px; }
    .pay-option { padding: 12px 8px; min-width: 100px; }
    .gw-instruction { padding: 12px; }
    .gw-copy-box { padding: 8px 12px; }
}

/* TrxID Helper Expand Box */
.trx-helper-box { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.4s ease; opacity: 0; }
.trx-helper-box.show { max-height: 400px; margin-top: 10px; opacity: 1; border: 1px dashed #cbd5e1; border-radius: 6px; padding: 4px; background: #f8fafc; }
.trx-helper-box img { width: 100%; border-radius: 4px; display: block; }

/* Exit Intent / FOMO Popup */
.fomo-overlay { position: fixed; inset: 0; z-index: 99999999; display: none; align-items: center; justify-content: center; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(5px); opacity: 0; transition: 0.3s; }
.fomo-overlay.show { display: flex; opacity: 1; }
.fomo-content { background: #fff; border: 3px solid #ef4444; border-radius: 12px; padding: 32px 24px; max-width: 400px; width: 92%; text-align: center; transform: scale(0.95); transition: 0.3s; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.fomo-overlay.show .fomo-content { transform: scale(1); }
.fomo-icon { width: 72px; height: 72px; background: #fef2f2; color: #ef4444; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 20px auto; animation: pulse 2s infinite; }
.fomo-title { font-size: 24px; font-weight: 900; color: #0f172a; margin-bottom: 12px; }
.fomo-desc { font-size: 15px; color: #475569; margin-bottom: 24px; line-height: 1.6; font-weight: 500; }
.fomo-actions { display: flex; flex-direction: column; gap: 12px; }
.fomo-btn-stay { background: linear-gradient(135deg, #10b981, #059669); color: #fff; font-weight: 800; padding: 14px; border-radius: 6px; border: none; font-size: 16px; cursor: pointer; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.fomo-btn-stay:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4); }
.fomo-btn-leave { background: transparent; border: 1px solid #cbd5e1; color: #64748b; font-weight: 700; padding: 12px; border-radius: 6px; font-size: 14px; cursor: pointer; transition: 0.2s; }
.fomo-btn-leave:hover { background: #f8fafc; color: #0f172a; border-color: #94a3b8; }

/* Step 3: Timer & Gateway Validation */
.eco-timer-box { background: rgba(255,255,255,0.7); backdrop-filter: blur(5px); border: 1px solid rgba(220,38,38,0.3); padding: 16px; border-radius: 12px; text-align: center; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.eco-timer-box p { margin: 0 0 10px 0; font-size: 13px; font-weight: 800; color: #dc2626; text-transform: uppercase; }
.eco-timer-display { display: flex; justify-content: center; align-items: center; gap: 10px; }
.timer-block { background: rgba(220,38,38,0.1); color: #dc2626; border: 1px solid rgba(220,38,38,0.5); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; border-radius: 8px; font-family: monospace; }
.timer-colon { font-size: 20px; font-weight: 900; color: #94a3b8; }

.gw-instruction { background: #f0f9ff; border: 1px solid #bae6fd; padding: 16px; border-radius: 8px; margin-bottom: 20px; text-align: center; }
.gw-instruction p { margin: 0 0 12px 0; font-size: 13px; color: #0369a1; font-weight: 600; line-height: 1.5; }
.gw-copy-box { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1.5px dashed #7dd3fc; padding: 10px 16px; border-radius: 6px; margin-bottom: 8px; }
.gw-copy-box .lbl { font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; }
.gw-copy-box .val { font-size: 20px; font-weight: 900; font-family: monospace; color: #0f172a; background: #f8fafc; padding: 2px 8px; border-radius: 4px; border: 1px solid #e2e8f0; }
.gw-copy-btn { background: transparent; border: 1.5px dashed #0ea5e9; padding: 6px 16px; border-radius: 4px; font-size: 13px; font-weight: 800; cursor: pointer; color: #0ea5e9; transition: 0.2s; text-transform: uppercase; }
.gw-copy-btn:hover { background: #e0f2fe; }

/* Buykori Exact Receipt */
.eco-receipt { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; text-align: left; position: relative; margin-bottom: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); max-width: 360px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.eco-receipt-watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-35deg); font-size: 55px; font-weight: 900; color: rgba(0,0,0,0.03); z-index: 0; pointer-events: none; letter-spacing: 4px; white-space: nowrap; }
.eco-receipt-header { border-bottom: 2px dashed #e2e8f0; padding-bottom: 16px; margin-bottom: 16px; text-align: center; position: relative; z-index: 1; }
.eco-receipt-header h2 { font-size: 28px; font-weight: 900; margin: 0; color: #0f172a; letter-spacing: 2px; font-family: Arial, sans-serif; }
.eco-receipt-header h2 span { color: #1d4ed8; }
.eco-receipt-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; position: relative; z-index: 1; border-bottom: 1px solid #f1f5f9; padding-bottom: 6px; }
.eco-receipt-row .lbl { color: #64748b; font-weight: 800; text-transform: uppercase; font-size: 11px; }
.eco-receipt-row .val { color: #0f172a; font-weight: 800; text-align: right; }
.eco-receipt-item { background: #f8fafc; border: 1px solid #e2e8f0; padding: 12px; border-radius: 8px; margin-top: 16px; position: relative; z-index: 1; }
.eco-receipt-item-title { font-size: 14px; font-weight: 700; color: #334155; line-height: 1.4; margin-bottom: 8px; }
.eco-receipt-item-total { display: flex; justify-content: space-between; border-top: 1px solid #e2e8f0; padding-top: 10px; margin-top: 10px; font-size: 18px; font-weight: 900; color: #1d4ed8; }

@keyframes slideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
/* ==========================================================================
   BUYKORI.COM — PURE WHITE MINIMAL PREMIUM UI + AUTO-LISTS + SKELETON ENGINE
   Zero Shadow, Ultra-Fast Content-Visibility, Mobile & PC Responsive
========================================================================== */
:root {
    --bk-brand: #0D6E4C;
    --bk-brand-hover: #095339;
    --bk-brand-light: #ECFDF5;
    --bk-brand-border: #A7F3D0;
    --bk-brand-accent: #10B981;
    --bk-crimson: #DC2626;
    --bk-crimson-light: #FEF2F2;
    --bk-crimson-border: #FECACA;
    --bk-amber: #B45309;
    --bk-amber-light: #FFFBEB;
    --bk-amber-border: #FDE68A;
    --bk-slate: #0F172A;
    --bk-slate-card: #1E293B;
    --bk-bg: #FFFFFF;
    --bk-card: #FFFFFF;
    --bk-subtle: #F8FAFC;
    --bk-text: #0F172A;
    --bk-body: #334155;
    --bk-muted: #64748B;
    --bk-border: #EAECEF;
    --bk-border-strong: #D5DCE4;
    --bk-hdr-h: 56px;
    --bk-cat-h: 40px;
    --bk-bnav-h: 56px;
}

*, *::before, *::after {
    box-sizing: border-box !important;
    box-shadow: none !important;
}

html, body {
    max-width: 100vw !important;
    overflow-x: clip !important;
    margin: 0 !important;
    background-color: #FFFFFF !important;
    color: var(--bk-text) !important;
}

body {
    padding-top: calc(var(--bk-hdr-h) + var(--bk-cat-h) + 8px) !important;
    padding-bottom: calc(var(--bk-bnav-h) + 16px) !important;
}
@media (min-width: 960px) {
    body {
        padding-top: calc(var(--bk-hdr-h) + var(--bk-cat-h) + 14px) !important;
        padding-bottom: 0 !important;
    }
}

.main-wrapper, #home-view, .single-post-wrapper {
    background: #FFFFFF !important;
}
.container.max-w-1440 {
    max-width: 1360px !important;
    padding: 0 12px !important;
}
@media (min-width: 768px) {
    .container.max-w-1440 { padding: 0 20px !important; }
}

/* ================= 1. UNIVERSAL SKELETON SHIMMER SYSTEM ================= */
@keyframes bkShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.bk-skel,
.eco-img-wrap:not(.img-loaded),
.main-image-container:not(.img-loaded),
.p-thumb:not(.img-loaded),
.ad-loading-skeleton {
    background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%) !important;
    background-size: 200% 100% !important;
    animation: bkShimmer 1.35s ease-in-out infinite !important;
}

.eco-img-wrap.img-loaded,
.main-image-container.img-loaded,
.p-thumb.img-loaded {
    background: #FAFAFA !important;
    animation: none !important;
}

/* Smooth Image Fade-In without hurting LCP */
.eco-img-wrap img.bk-lazy-img {
    opacity: 0;
    transition: opacity 0.35s ease;
}
.eco-img-wrap.img-loaded img.bk-lazy-img,
.eco-img-wrap img:not(.bk-lazy-img) {
    opacity: 1;
}

/* Realistic Skeleton Card Markup (For Related Products & Dynamic Feeds) */
.bk-skel-card {
    background: #FFFFFF;
    border: 1px solid var(--bk-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.bk-skel-img { width: 100%; aspect-ratio: 1 / 1; }
.bk-skel-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.bk-skel-line { height: 12px; border-radius: 4px; width: 100%; }
.bk-skel-line.short { width: 62%; }
.bk-skel-line.price { height: 18px; width: 45%; margin-top: 4px; }

/* ================= 2. PURE WHITE FIXED HEADER ================= */
.bk-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--bk-hdr-h);
    background: #FFFFFF;
    border-bottom: 1px solid var(--bk-border);
    z-index: 1100;
    width: 100%;
}
.bk-header-inner {
    max-width: 1360px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
@media (min-width: 768px) {
    .bk-header-inner { padding: 0 20px; gap: 16px; }
}

.bk-hdr-left { display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-width: 0; }
.bk-btn-sq {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--bk-border);
    background: #FFFFFF;
    color: var(--bk-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.bk-btn-sq:hover { border-color: var(--bk-brand); color: var(--bk-brand); background: var(--bk-brand-light); }

.bk-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.bk-emblem {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--bk-slate);
    color: var(--bk-brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.bk-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.bk-brand-name { font-size: 17px; font-weight: 800; color: var(--bk-text); letter-spacing: -0.025em; white-space: nowrap; }
.bk-brand-sub { font-size: 10px; font-weight: 600; color: var(--bk-brand); display: none; }
@media (min-width: 560px) { .bk-brand-sub { display: block; } }

/* PC Inline Search */
.bk-pc-search { display: none; flex: 1; max-width: 500px; min-width: 0; }
@media (min-width: 768px) { .bk-pc-search { display: block; } }
.bk-pc-search form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    background: #F8FAFC;
    border: 1px solid var(--bk-border);
    border-radius: 6px;
    padding: 0 4px 0 12px;
    transition: border-color 0.15s, background 0.15s;
}
.bk-pc-search form:focus-within { background: #FFFFFF; border-color: var(--bk-brand); }
.bk-pc-search input { flex: 1; height: 100%; border: none; background: transparent; outline: none; font-size: 13.5px; padding: 0 8px; color: var(--bk-text); }
.bk-pc-search button { height: 28px; padding: 0 14px; background: var(--bk-brand); color: #fff; border: none; border-radius: 4px; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.bk-pc-search button:hover { background: var(--bk-brand-hover); }

/* Right Actions */
.bk-hdr-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.bk-mob-search-btn { display: inline-flex; }
@media (min-width: 768px) { .bk-mob-search-btn { display: none; } }

.bk-pc-pill {
    display: none;
    align-items: center;
    gap: 5px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--bk-border);
    background: #FFFFFF;
    color: var(--bk-body);
    white-space: nowrap;
}
.bk-pc-pill:hover { border-color: var(--bk-brand); color: var(--bk-brand); background: var(--bk-brand-light); }
@media (min-width: 960px) { .bk-pc-pill { display: inline-flex; } }

.bk-cart-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 36px;
    padding: 0 12px;
    background: var(--bk-brand-light);
    border: 1px solid var(--bk-brand-border);
    border-radius: 6px;
    color: var(--bk-brand);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.bk-cart-pill:hover { background: #D1FAE5; }
.bk-badge-num {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 99px;
    background: var(--bk-crimson);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bk-header .custom-lang-dropdown { padding: 0; position: relative; height: 36px; display: flex; align-items: center; }
.bk-header .lang-menu { top: 44px; right: 0; border: 1px solid var(--bk-border-strong); border-radius: 8px; z-index: 1200; }

/* Mobile Search Drawer */
.bk-mob-search-drawer {
    position: fixed;
    top: var(--bk-hdr-h);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1.5px solid var(--bk-brand);
    padding: 8px 12px;
    z-index: 1150;
    display: none;
}
.bk-mob-search-drawer.show-mobile { display: block !important; }
.bk-mob-search-drawer form { display: flex; align-items: center; gap: 6px; width: 100%; }
.bk-mob-search-drawer input {
    flex: 1;
    height: 36px;
    padding: 0 10px;
    background: #F8FAFC;
    border: 1px solid var(--bk-border-strong);
    border-radius: 6px;
    font-size: 16px;
    outline: none;
}
.bk-mob-search-drawer input:focus { border-color: var(--bk-brand); background: #FFFFFF; }
.bk-mob-search-drawer .bk-ms-submit { height: 36px; padding: 0 14px; background: var(--bk-brand); color: #fff; border: none; border-radius: 6px; font-size: 13px; font-weight: 700; }

/* ================= 3. CLEAN WHITE CATEGORY BAR (ULTRA MINIMAL) ================= */
.bk-catbar {
    position: fixed;
    top: var(--bk-hdr-h);
    left: 0;
    right: 0;
    height: var(--bk-cat-h);
    background: #FFFFFF;
    color: var(--bk-body);
    border-bottom: 1px solid var(--bk-border);
    z-index: 1080;
}
.bk-catbar-inner {
    max-width: 1360px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
@media (min-width: 768px) { .bk-catbar-inner { padding: 0 20px; } }

.bk-cat-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--bk-border);
    color: var(--bk-body);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}
.bk-cat-arrow:hover { border-color: var(--bk-brand); color: var(--bk-brand); background: var(--bk-brand-light); }
@media (min-width: 768px) { .bk-cat-arrow { display: inline-flex; } }

.bk-catbar-track {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    min-width: 0;
}
.bk-catbar-track::-webkit-scrollbar { display: none; }
.bk-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bk-body);
    background: #F8FAFC;
    border: 1px solid var(--bk-border);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s;
}
.bk-cat-pill:hover { color: var(--bk-brand); border-color: var(--bk-brand-border); background: var(--bk-brand-light); }
.bk-cat-pill.active { background: var(--bk-slate); color: #FFFFFF; border-color: var(--bk-slate); font-weight: 700; }

/* Slide-Out Drawer */
.mobile-menu-header {
    background: #FFFFFF !important;
    color: var(--bk-text) !important;
    border-bottom: 1px solid var(--bk-border) !important;
    padding: 14px 16px !important;
}
.mobile-menu-header h2 { color: var(--bk-text) !important; font-size: 19px !important; margin: 0 !important; }
.mobile-menu-header h2 span { color: var(--bk-brand) !important; font-size: 13px !important; }
.mobile-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #F8FAFC !important;
    border: 1px solid var(--bk-border) !important;
    color: var(--bk-body) !important;
    font-size: 13px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= 4. PURE WHITE HERO STRIP, CATEGORY GRID & OFFER BAR ================= */
.bk-hero-strip {
    background: #FFFFFF;
    border: 1px solid var(--bk-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 6px 0 14px 0;
}
.bk-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.bk-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 9px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}
.bk-badge-brand { background: var(--bk-brand-light); color: var(--bk-brand); border-color: var(--bk-brand-border); }
.bk-badge-neutral { background: #F8FAFC; color: var(--bk-body); border-color: var(--bk-border); }
.bk-badge-amber { background: var(--bk-amber-light); color: var(--bk-amber); border-color: var(--bk-amber-border); }
.bk-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bk-brand-accent); display: inline-block; animation: pulse 1.5s infinite; }

.bk-hero-main { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.bk-hero-h1 { font-size: 17px; font-weight: 800; color: var(--bk-text); line-height: 1.35; margin: 0; letter-spacing: -0.015em; }
@media (min-width: 768px) { .bk-hero-h1 { font-size: 20px; } }
.bk-hero-sub { font-size: 12.5px; color: var(--bk-muted); margin-top: 3px; }

.bk-hero-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 390px; }
.bk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s;
}
.bk-btn-brand { background: var(--bk-brand); color: #fff; border-color: var(--bk-brand); }
.bk-btn-brand:hover { background: var(--bk-brand-hover); }
.bk-btn-wa { background: #16A34A; color: #fff; border-color: #16A34A; }
.bk-btn-outline { background: #FFFFFF; color: var(--bk-body); border-color: var(--bk-border-strong); }
.bk-btn-outline:hover { border-color: var(--bk-brand); color: var(--bk-brand); background: var(--bk-brand-light); }

/* 11-Category Minimal Visual Matrix */
.bk-cat-matrix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
@media (min-width: 640px) { .bk-cat-matrix { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bk-cat-matrix { grid-template-columns: repeat(11, minmax(0, 1fr)); } }

.bk-cat-box {
    background: #FFFFFF;
    border: 1px solid var(--bk-border);
    border-radius: 8px;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.bk-cat-box:hover { border-color: var(--bk-brand); background: var(--bk-brand-light); }
.bk-cat-ico {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bk-border);
    background: #FFFFFF;
    font-size: 14px;
}
.bk-cat-lbl { font-size: 11px; font-weight: 700; color: var(--bk-text); line-height: 1.25; }

/* Minimal Coupon CTA Strip */
.bk-offer-strip {
    background: #FFFFFF;
    border: 1px solid var(--bk-brand-border);
    border-left: 4px solid var(--bk-brand);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.bk-offer-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bk-offer-ico {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bk-brand-light);
    color: var(--bk-brand);
    border: 1px solid var(--bk-brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.bk-offer-title { font-size: 14px; font-weight: 800; color: var(--bk-text); margin: 0; }
.bk-offer-desc { font-size: 12px; color: var(--bk-muted); margin: 2px 0 0 0; }

/* Section Header */
.bk-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bk-border);
}
.bk-sec-title { font-size: 16px; font-weight: 800; color: var(--bk-text); display: flex; align-items: center; gap: 7px; margin: 0; }

/* ================= 5. PREMIUM PURE-WHITE PRODUCT CARDS (HIGH-SPEED RENDER) ================= */
.eco-grid-layout {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}
@media (min-width: 640px) { .eco-grid-layout { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px !important; } }
@media (min-width: 960px) { .eco-grid-layout { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 14px !important; } }
@media (min-width: 1220px) { .eco-grid-layout { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 14px !important; } }

.eco-product-card {
    background: #FFFFFF !important;
    border: 1px solid var(--bk-border) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: border-color 0.15s ease !important;
    content-visibility: auto;
    contain-intrinsic-size: 1px 290px;
}
.eco-product-card:hover { border-color: var(--bk-brand) !important; }

.eco-img-wrap {
    aspect-ratio: 1 / 1 !important;
    border-bottom: 1px solid #F1F5F9 !important;
    border-radius: 0 !important;
}
.eco-img-wrap img { width: 100%; height: 100%; object-fit: cover !important; display: block; }

.eco-wishlist {
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid var(--bk-border) !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--bk-muted) !important;
    filter: none !important;
}
.eco-wishlist:hover, .eco-wishlist.active {
    color: var(--bk-crimson) !important;
    background: var(--bk-crimson-light) !important;
    border-color: var(--bk-crimson-border) !important;
}

.eco-info { padding: 10px 12px 12px !important; gap: 6px !important; background: #FFFFFF !important; }
.eco-title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--bk-text) !important;
    line-height: 1.4 !important;
    min-height: 38px !important;
    height: auto !important;
}
.eco-title:hover { color: var(--bk-brand) !important; }

.eco-pricing-row {
    background: transparent !important;
    border: none !important;
    padding: 2px 0 0 0 !important;
    display: flex;
    align-items: baseline;
    gap: 7px;
}
.eco-price-new { font-size: 16.5px !important; font-weight: 800 !important; color: var(--bk-brand) !important; }
.eco-price-old { font-size: 12px !important; color: #94A3B8 !important; }
.eco-rating-row { padding-top: 6px; border-top: 1px solid #F1F5F9; margin-top: 2px; }

/* ================= 6. AUTO-DESIGNED LISTS, TABLES & TYPOGRAPHY IN DESCRIPTIONS ================= */
.product-short-desc,
#rendered-full-desc,
#rendered-specs,
.post-body-content {
    color: var(--bk-body);
    font-size: 15.5px;
    line-height: 1.75;
}

/* Auto-Styled Unordered Lists (Clean Emerald Checkmark Cards) */
.product-short-desc ul,
#rendered-full-desc ul,
#rendered-specs ul,
.post-body-content ul {
    list-style: none !important;
    margin: 12px 0 18px 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-short-desc ul li,
#rendered-full-desc ul li,
#rendered-specs ul li,
.post-body-content ul li {
    position: relative;
    padding: 9px 12px 9px 38px !important;
    margin: 0 !important;
    background: #FFFFFF;
    border: 1px solid var(--bk-border);
    border-radius: 6px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--bk-text);
}

.product-short-desc ul li::before,
#rendered-full-desc ul li::before,
#rendered-specs ul li::before,
.post-body-content ul li::before {
    content: "\2713";
    position: absolute;
    left: 11px;
    top: 10px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--bk-brand-light);
    color: var(--bk-brand);
    border: 1px solid var(--bk-brand-border);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Compact style for Short Description bullets */
.product-short-desc ul { gap: 6px; margin: 8px 0 14px 0 !important; }
.product-short-desc ul li {
    padding: 6px 10px 6px 34px !important;
    background: #FAFAFA;
    border-color: #F1F5F9;
    font-size: 14px;
}
.product-short-desc ul li::before { left: 9px; top: 7px; width: 17px; height: 17px; font-size: 10px; }

/* Auto-Styled Ordered Lists (Clean Numbered Badges) */
.product-short-desc ol,
#rendered-full-desc ol,
#rendered-specs ol,
.post-body-content ol {
    list-style: none !important;
    counter-reset: bk-list-counter;
    margin: 12px 0 18px 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-short-desc ol li,
#rendered-full-desc ol li,
#rendered-specs ol li,
.post-body-content ol li {
    counter-increment: bk-list-counter;
    position: relative;
    padding: 10px 12px 10px 42px !important;
    margin: 0 !important;
    background: #FFFFFF;
    border: 1px solid var(--bk-border);
    border-radius: 6px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--bk-text);
}

.product-short-desc ol li::before,
#rendered-full-desc ol li::before,
#rendered-specs ol li::before,
.post-body-content ol li::before {
    content: counter(bk-list-counter);
    position: absolute;
    left: 11px;
    top: 10px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--bk-slate);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auto-Styled Spec Tables & Subheadings inside Description */
#rendered-full-desc h2, #rendered-full-desc h3, #rendered-specs h2, #rendered-specs h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--bk-text);
    margin: 20px 0 10px 0;
    padding-left: 10px;
    border-left: 3px solid var(--bk-brand);
    line-height: 1.3;
}

#rendered-full-desc table, #rendered-specs table, .post-body-content table {
    width: 100% !important;
    border-collapse: collapse;
    border: 1px solid var(--bk-border);
    border-radius: 8px;
    overflow: hidden;
    margin: 14px 0;
    font-size: 14px;
}
#rendered-full-desc td, #rendered-full-desc th,
#rendered-specs td, #rendered-specs th,
.post-body-content td, .post-body-content th {
    padding: 10px 12px;
    border-bottom: 1px solid var(--bk-border);
    text-align: left;
}
#rendered-full-desc th, #rendered-specs th, .post-body-content th {
    background: #F8FAFC;
    color: var(--bk-text);
    font-weight: 700;
}

/* Sticky Product Gallery + Variants + Toast */
@media (min-width: 992px) {
    .product-gallery { top: 108px !important; }
    .single-post-wrapper { max-width: 1360px !important; }
}
.size-options { flex-wrap: wrap !important; }
.related-posts-bottom {
    content-visibility: auto;
    contain-intrinsic-size: 1px 400px;
}
.eco-toast {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: #0F172A;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.eco-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ================= 7. CLEAN MINIMAL FOOTER (LIGHT/SLATE) ================= */
.site-footer.bk-footer {
    background: #FFFFFF !important;
    color: var(--bk-muted) !important;
    border-top: 1px solid var(--bk-border) !important;
    margin-top: 32px !important;
    padding: 28px 0 20px 0 !important;
    font-size: 13px !important;
}
.bk-footer-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .bk-footer-cols { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); }
}
.bk-footer-h { font-size: 12.5px; font-weight: 800; color: var(--bk-text); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.bk-footer-list { display: flex; flex-direction: column; gap: 7px; }
.bk-footer-list a { color: var(--bk-muted); font-size: 13px; transition: color 0.15s; }
.bk-footer-list a:hover { color: var(--bk-brand); }
.bk-footer-copy {
    padding-top: 14px;
    border-top: 1px solid var(--bk-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--bk-muted);
}

/* ================= 8. MOBILE 5-ITEM BOTTOM NAVIGATION ================= */
.bk-mobile-bnav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bk-bnav-h);
    background: #FFFFFF;
    border-top: 1px solid var(--bk-border);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    z-index: 1090;
}
@media (min-width: 960px) { .bk-mobile-bnav { display: none !important; } }
body.is-product-page .bk-mobile-bnav { display: none !important; }
.bk-bnav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--bk-muted);
    background: none;
    border: none;
    text-decoration: none;
}
.bk-bnav-btn i { font-size: 16px; }
.bk-bnav-btn.active, .bk-bnav-btn:hover { color: var(--bk-brand); }
