/* হেডার/ফুটারের হালকা বর্ডার ও ব্যাকগ্রাউন্ড — লাইট ও ডার্ক দুই থিমেই দেখা যায় */
.cshf-header,.cshf-footer,.cshf-nav{--cshf-a04:rgba(128,128,128,.07);--cshf-a08:rgba(128,128,128,.14);--cshf-a1:rgba(128,128,128,.18);--cshf-a15:rgba(128,128,128,.24);--cshf-a18:rgba(128,128,128,.28);--cshf-a2:rgba(128,128,128,.32);}
@supports (color: color-mix(in srgb, red, blue)){.cshf-header,.cshf-footer,.cshf-nav{--cshf-a04:color-mix(in srgb,currentColor 4%,transparent);--cshf-a08:color-mix(in srgb,currentColor 8%,transparent);--cshf-a1:color-mix(in srgb,currentColor 10%,transparent);--cshf-a15:color-mix(in srgb,currentColor 15%,transparent);--cshf-a18:color-mix(in srgb,currentColor 18%,transparent);--cshf-a2:color-mix(in srgb,currentColor 20%,transparent);}}
/* ===== overflow সেফটি ===== */
/* clip ব্যবহার করা হয়েছে — hidden দিলে position:sticky ভেঙে যায় */
html.cshf-active-site, body.cshf-active-site { overflow-x: clip; }
body.cshf-nav-lock { position: fixed !important; left: 0; right: 0; width: 100%; overflow: hidden !important; }
.cshf-header.cshf-lock-fixed { position: fixed !important; margin: 0 !important; transform: none !important; z-index: 99990; }

/* ===== টপ বার ===== */
.cshf-topbar { width: 100%; padding: 10px 20px; font-size: 14px; }
.cshf-topbar-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; flex-wrap: wrap; }
.cshf-topbar-msg { font-weight: 500; }
.cshf-topbar-link { text-decoration: underline; font-weight: 600; opacity: 0.95; }
.cshf-topbar-close { background: transparent; border: none; font-size: 18px; cursor: pointer; color: inherit; opacity: 0.7; padding: 0 8px; position: absolute; right: 0; }

/* ===== হেডার ===== */
.cshf-header { width: 100%; z-index: 99990; position: relative; transition: box-shadow 0.3s ease; max-width: 100vw; }
.cshf-header.cshf-sticky { position: sticky; top: 0; }
body.admin-bar .cshf-header.cshf-sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar .cshf-header.cshf-sticky { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .cshf-header.cshf-sticky { top: 0; } }
.cshf-header.cshf-scrolled.cshf-shadow-on-scroll { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.cshf-header.cshf-scrolled.cshf-shrink-on-scroll .cshf-header-inner { padding-top: 6px; padding-bottom: 6px; min-height: calc(var(--cshf-h, 70px) * 0.75); }
.cshf-header-inner { transition: padding 0.25s ease, min-height 0.25s ease; }
.cshf-header-inner { display: flex; align-items: center; gap: 24px; padding: 12px 24px; max-width: 1240px; margin: 0 auto; min-height: var(--cshf-h, 70px); position: relative; z-index: 2; }
.cshf-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cshf-brand a { text-decoration: none; color: inherit; }
.cshf-logo { height: 45px; max-height: none; width: auto; display: block; }
.cshf-site-title { font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.cshf-nav { flex: 1; min-width: 0; }
.cshf-nav .cshf-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: clamp(14px, 1.7vw, 26px); flex-wrap: nowrap; align-items: center; }
.cshf-nav .cshf-menu > li { flex: 0 0 auto; }
.cshf-nav .cshf-menu > li > a { white-space: nowrap; }
.cshf-nav .cshf-menu li { position: relative; }
.cshf-nav .cshf-menu a { text-decoration: none; font-weight: 500; display: flex; align-items: center; gap: 6px; padding: 6px 0; transition: opacity 0.2s; }
.cshf-nav .cshf-menu a:hover { opacity: 0.75; }
.cshf-nav .cshf-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--cshf-nav-bg, #1a1a2e); padding: 8px 0; list-style: none; box-shadow: 0 8px 24px rgba(0,0,0,0.15); border-radius: 8px; z-index: 100; }
.cshf-nav .cshf-menu li.cshf-sub-open > .sub-menu { display: block; }
.cshf-nav .cshf-menu .sub-menu .sub-menu { top: 0; left: 100%; }
.cshf-nav .cshf-menu .sub-menu a { padding: 10px 18px; }
.cshf-menu-icon { display: inline-flex; align-items: center; line-height: 1; }
.cshf-menu-icon svg { width: 16px; height: 16px; }
.cshf-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cshf-custom-html { display: flex; align-items: center; gap: 8px; }
.cshf-cta { display: inline-block; padding: 10px 20px; border-radius: 8px; text-decoration: none !important; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap; }
.cshf-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.cshf-header { --cshf-btn: 44px; --cshf-btn-r: 12px; --cshf-btn-bg: var(--cshf-a15); }

/* ===== টগল ও সার্চ বাটন =====
   থিমের নিজস্ব button স্টাইল (রঙ, প্যাডিং, হোভার, শ্যাডো) যাতে ওভাররাইড না করে,
   তাই .cshf-header দুইবার লেখা হয়েছে (specificity বাড়ানোর জন্য)। */
.cshf-header.cshf-header .cshf-toggle,
.cshf-header.cshf-header .cshf-search-toggle {
    -webkit-appearance: none; appearance: none;
    box-sizing: border-box;
    width: var(--cshf-btn); height: var(--cshf-btn);
    min-width: var(--cshf-btn); min-height: var(--cshf-btn);
    padding: 0; margin: 0;
    border: 0; border-radius: var(--cshf-btn-r);
    background: var(--cshf-btn-bg); background-image: none;
    color: inherit; font: inherit; line-height: 1;
    text-transform: none; letter-spacing: normal; text-shadow: none; text-decoration: none;
    box-shadow: none; outline: 0;
    cursor: pointer; flex: 0 0 auto;
    align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    transition: box-shadow .2s, transform .15s, border-color .2s;
}
.cshf-header.cshf-header .cshf-search-toggle { display: inline-flex; position: relative; }
.cshf-header.cshf-header .cshf-toggle { display: none; flex-direction: column; gap: var(--cshf-tg-gap, 5px); position: relative; z-index: 10001; }

/* হোভার / ফোকাস / প্রেস — থিমের রঙ ঢুকতে না দিয়ে শুধু হালকা ওভারলে */
.cshf-header.cshf-header .cshf-toggle:focus,
.cshf-header.cshf-header .cshf-search-toggle:focus { color: inherit; outline: 0; box-shadow: none; }
.cshf-header.cshf-header .cshf-toggle:active,
.cshf-header.cshf-header .cshf-search-toggle:active { color: inherit; transform: scale(.94); box-shadow: inset 0 0 0 999px var(--cshf-a08); }
@media (hover: hover) {
    .cshf-header.cshf-header .cshf-toggle:hover,
    .cshf-header.cshf-header .cshf-search-toggle:hover { color: inherit; box-shadow: inset 0 0 0 999px var(--cshf-a08); }
}
.cshf-header.cshf-header .cshf-toggle.cshf-active,
.cshf-header.cshf-header .cshf-search-toggle[aria-expanded="true"] { box-shadow: inset 0 0 0 999px var(--cshf-a08); }
.cshf-header.cshf-header .cshf-toggle:focus-visible,
.cshf-header.cshf-header .cshf-search-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* সার্চ আইকন: খোলা অবস্থায় ✕ দেখায় */
.cshf-search-toggle svg { display: block; width: calc(var(--cshf-btn) * .46); height: calc(var(--cshf-btn) * .46); pointer-events: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.cshf-search-toggle .cshf-ico-close { display: none; }
.cshf-search-toggle[aria-expanded="true"] .cshf-ico-search { display: none; }
.cshf-search-toggle[aria-expanded="true"] .cshf-ico-close { display: block; }

/* ===== "অর্ডার খুঁজুন" বাটন (Mayabin Shop) — আইকন বা আইকন + লেখা ===== */
.cshf-header.cshf-header .cshf-fo-btn {
    -webkit-appearance: none; appearance: none; box-sizing: border-box;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto;
    height: var(--cshf-btn); min-width: var(--cshf-btn); padding: 0 18px 0 14px; margin: 0;
    border: 0; border-radius: 999px;
    background: var(--cshf-fo, #4f46e5); color: #fff !important;
    font: inherit; font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap;
    text-decoration: none !important; text-shadow: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    transition: transform .15s, box-shadow .2s, filter .2s;
}
.cshf-header.cshf-header .cshf-fo-btn svg { display: block; flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.cshf-header.cshf-header .cshf-fo-btn:active { transform: scale(.95); }
@media (hover: hover) { .cshf-header.cshf-header .cshf-fo-btn:hover { filter: brightness(1.1); box-shadow: 0 6px 16px rgba(0,0,0,.18); } }
.cshf-header.cshf-header .cshf-fo-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* শুধু আইকন: সার্চ বাটনের মতো একই সাইজ ও স্টাইল */
.cshf-header.cshf-header .cshf-fo-icon { width: var(--cshf-btn); padding: 0; border-radius: var(--cshf-btn-r); background: var(--cshf-btn-bg); color: inherit !important; }
@media (hover: hover) { .cshf-header.cshf-header .cshf-fo-icon:hover { filter: none; box-shadow: inset 0 0 0 999px var(--cshf-a08); } }
@media (max-width: 640px) {
    .cshf-header.cshf-header .cshf-fo-button { width: var(--cshf-btn); padding: 0; }
    .cshf-fo-button .cshf-fo-txt { display: none; }
}

/* হ্যামবার্গার — তিনটি সরু, সমান দাগ */
.cshf-toggle span { display: block; width: calc(var(--cshf-btn) * .44); height: var(--cshf-tg-bh, 2px); background: currentColor; border-radius: 2px; pointer-events: none; transition: transform 0.3s, opacity 0.3s; }
.cshf-toggle.cshf-active span:nth-child(1) { transform: translateY(calc(var(--cshf-tg-bh, 2px) + var(--cshf-tg-gap, 5px))) rotate(45deg); }
.cshf-toggle.cshf-active span:nth-child(2) { opacity: 0; }
.cshf-toggle.cshf-active span:nth-child(3) { transform: translateY(calc(-1 * (var(--cshf-tg-bh, 2px) + var(--cshf-tg-gap, 5px)))) rotate(-45deg); }

/* ===== সার্চ বার ===== */
.cshf-search-bar { display: none; padding: 14px 24px 16px; border-top: 1px solid var(--cshf-a08); }
.cshf-search-bar.cshf-open { display: block; animation: cshf-search-in .22s ease; }
@keyframes cshf-search-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cshf-header.cshf-transparent .cshf-search-bar.cshf-open { background-color: var(--cshf-nav-bg, #1a1a2e); }
.cshf-header .cshf-search-bar form { display: flex; align-items: center; gap: 8px; max-width: 700px; margin: 0 auto; padding: 0; }
.cshf-header.cshf-header .cshf-search-bar input {
    -webkit-appearance: none; appearance: none;
    flex: 1 1 auto; min-width: 0; width: auto; box-sizing: border-box;
    height: var(--cshf-btn); min-height: var(--cshf-btn); margin: 0; padding: 0 16px;
    border: 1px solid var(--cshf-a2); border-radius: var(--cshf-btn-r);
    background: var(--cshf-a08); color: inherit;
    font: inherit; font-size: 16px; line-height: normal; /* ১৬px: iPhone-এ ফোকাসে জুম হয় না */
    box-shadow: none; outline: 0;
    transition: border-color .2s, box-shadow .2s;
}
.cshf-header.cshf-header .cshf-search-bar input::placeholder { color: inherit; opacity: .6; }
.cshf-header.cshf-header .cshf-search-bar input::-webkit-search-decoration,
.cshf-header.cshf-header .cshf-search-bar input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.cshf-header.cshf-header .cshf-search-bar input:focus { color: inherit; border-color: currentColor; box-shadow: 0 0 0 3px var(--cshf-a15); outline: 0; }
.cshf-header.cshf-header .cshf-search-bar button {
    -webkit-appearance: none; appearance: none;
    flex: 0 0 auto; box-sizing: border-box;
    height: var(--cshf-btn); min-height: var(--cshf-btn); margin: 0; padding: 0 22px;
    border: 0; border-radius: var(--cshf-btn-r);
    background: var(--cshf-a18); background-image: none; color: inherit;
    font: inherit; font-size: 15px; font-weight: 600; line-height: 1; text-transform: none; letter-spacing: normal;
    box-shadow: none; white-space: nowrap; cursor: pointer;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    transition: box-shadow .2s, transform .15s;
}
.cshf-header.cshf-header .cshf-search-bar button:focus { color: inherit; outline: 0; }
.cshf-header.cshf-header .cshf-search-bar button:active { color: inherit; transform: scale(.97); }
@media (hover: hover) {
    .cshf-header.cshf-header .cshf-search-bar button:hover { color: inherit; box-shadow: inset 0 0 0 999px var(--cshf-a08); }
}
.cshf-header.cshf-header .cshf-search-bar button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.cshf-overlay { display: none; position: fixed; top: var(--cshf-nav-top, 70px); left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9997; opacity: 0; transition: opacity 0.3s; }
.cshf-overlay.cshf-active { display: block; opacity: 1; }

/* ============================================================
   ফুটার — সোশ্যাল উপরে, মেনু নিচে, কপিরাইট একদম নিচে
   ============================================================ */
.cshf-footer { width: 100%; text-align: center; margin-top: auto; overflow-x: hidden; }
.cshf-footer-inner { max-width: 1240px; margin: 0 auto; }

/* উপরের সেকশন: সোশ্যাল (উপরে) → মেনু (নিচে) */
.cshf-footer-top {
    padding: 26px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* সোশ্যাল আইকন — সারি */
.cshf-footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.cshf-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cshf-a08);
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
    color: inherit;
}
.cshf-social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
    background: var(--cshf-a18);
}

/* মেনু — সারি আকারে (ডান-বাম) */
.cshf-footer-menu {
    width: 100%;
    display: flex;
    justify-content: center;
}
.cshf-footer-menu-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.cshf-footer-menu-list li { margin: 0; padding: 0; }
.cshf-footer-menu-list a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 4px 0;
}
.cshf-footer-menu-list a:hover { opacity: 1; }
.cshf-footer-menu-list .sub-menu { display: none; }

/* নিচের সেকশন: কপিরাইট — আলাদা */
.cshf-footer-bottom {
    border-top: 1px solid var(--cshf-a1);
    padding: 14px 24px;
}
.cshf-footer-text {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.6;
    word-break: break-word;
}
.cshf-footer-custom {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.85;
}

/* ============================================================
   মোবাইল — গ্যাপ কম
   ============================================================ */
@media (max-width: 900px) {
    .cshf-nav {
        position: fixed;
        top: var(--cshf-nav-top, 70px);
        right: 0;
        width: 280px;
        max-width: 82vw;
        height: calc(100vh - var(--cshf-nav-top, 70px));
        height: calc(100dvh - var(--cshf-nav-top, 70px));
        max-height: calc(100vh - var(--cshf-nav-top, 70px));
        max-height: calc(100dvh - var(--cshf-nav-top, 70px));
        background: var(--cshf-nav-bg, #1a1a2e) !important;
        color: var(--cshf-nav-color, #ffffff);
        padding: 0;
        display: block;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.35s;
        box-shadow: -8px 0 32px rgba(0,0,0,0.2);
        z-index: 9998;
        overflow-y: auto;
        overflow-x: hidden;
        border-left: 1px solid var(--cshf-a08);
    }
    .cshf-nav.cshf-open {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
    }
    .cshf-nav .cshf-menu { flex-direction: column; gap: 0; padding: 0; flex-wrap: nowrap; }
    .cshf-nav .cshf-menu li { width: 100%; }
    .cshf-nav .cshf-menu a { padding: 14px 20px; border-bottom: 1px solid var(--cshf-a08); white-space: normal; }
    .cshf-nav .cshf-menu li:last-child > a { border-bottom: none; }
    .cshf-nav .cshf-menu .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 16px; background: transparent; border-radius: 0; }
    .cshf-nav .cshf-menu .sub-menu a { padding: 10px 20px 10px 36px; border-bottom: 1px solid var(--cshf-a04); }

    .cshf-header.cshf-header .cshf-toggle { display: inline-flex; order: 3; margin-left: -4px; }
    .cshf-header-inner { padding: 12px 16px; gap: 12px; }
    .cshf-search-bar { padding: 12px 16px 14px; }
    .cshf-header.cshf-header .cshf-search-bar button { padding: 0 18px; }
    .cshf-brand { min-width: 0; flex-shrink: 1; }
    .cshf-site-title { overflow: hidden; text-overflow: ellipsis; max-width: 48vw; font-size: 1.15rem; }
    .cshf-actions { order: 2; margin-left: auto; gap: 8px; }
    .cshf-cta { padding: 8px 14px; font-size: 13px; }

    /* 🔽 মোবাইলে গ্যাপ ছোট */
    .cshf-footer-top { padding: 18px 16px 14px; gap: 10px; }
    .cshf-footer-socials { gap: 8px; }
    .cshf-social-icon { width: 32px; height: 32px; }
    .cshf-social-icon svg { width: 16px; height: 16px; }
    .cshf-footer-menu-list { gap: 4px 16px; }
    .cshf-footer-menu-list a { font-size: 13px; padding: 3px 0; }
    .cshf-footer-bottom { padding: 12px 16px; }
    .cshf-footer-text { font-size: 12px; }

    .cshf-topbar-inner { flex-direction: column; gap: 4px; }
    .cshf-topbar-close { position: static; }
}

@media (max-width: 500px) {
    .cshf-footer-top { padding: 16px 14px 12px; gap: 8px; }
    .cshf-footer-socials { gap: 6px; }
    .cshf-social-icon { width: 30px; height: 30px; }
    .cshf-footer-menu-list { gap: 2px 12px; }
    .cshf-footer-menu-list a { font-size: 12.5px; }
}

@media (max-width: 500px) {
    .cshf-cta { padding: 7px 11px; font-size: 12.5px; }
}
@media (max-width: 380px) {
    .cshf-header { --cshf-btn: 40px; }
    .cshf-actions { gap: 6px; }
}
.cshf-header a:focus-visible, .cshf-header button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* ড্রপডাউন তীর ও অ্যাক্টিভ আইটেম */
.cshf-nav .cshf-menu .current-menu-item > a, .cshf-nav .cshf-menu .current-menu-ancestor > a { font-weight: 700; box-shadow: inset 0 -2px 0 currentColor; }
@media (max-width: 900px) {
    .cshf-nav .cshf-menu .current-menu-item > a, .cshf-nav .cshf-menu .current-menu-ancestor > a { box-shadow: none; background: var(--cshf-a08); }
}
@media (prefers-reduced-motion: reduce) {
    .cshf-header *, .cshf-nav, .cshf-overlay, .cshf-social-icon, .cshf-cta { transition: none !important; }
    .cshf-search-bar.cshf-open { animation: none; }
}

/* ট্রান্সপারেন্ট হেডার (পেজ অনুযায়ী) — স্ক্রলে সলিড হয় */
.cshf-header.cshf-transparent { position: fixed; top: 0; left: 0; right: 0; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
/* মেনু খোলা থাকলে (.cshf-menu-open) স্বচ্ছ করা হয় না – হেডার তখন স্ক্রল করা অবস্থার একই নিজস্ব ব্যাকগ্রাউন্ড পায় */
.cshf-header.cshf-transparent:not(.cshf-scrolled):not(.cshf-menu-open) { background-color: transparent !important; box-shadow: none !important; }
body.admin-bar .cshf-header.cshf-transparent { top: 32px; }
@media (max-width: 782px) { body.admin-bar .cshf-header.cshf-transparent { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .cshf-header.cshf-transparent { top: 46px; } }
body.admin-bar .cshf-header.cshf-transparent { top: var(--cshf-ab, 32px); }
@media (max-width: 782px) { body.admin-bar .cshf-header.cshf-transparent { top: var(--cshf-ab, 46px); } }

/* ===== হেডার ডিজাইন/লেআউট ===== */
@media (min-width: 901px) {
    .cshf-layout-center .cshf-header-inner { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
    .cshf-layout-center .cshf-brand { width: 100%; justify-content: center; }
    .cshf-layout-center .cshf-nav { flex: 0 1 auto; order: 2; }
    .cshf-layout-center .cshf-nav .cshf-menu { justify-content: center; }
    .cshf-layout-center .cshf-actions { order: 3; }
    .cshf-layout-split .cshf-nav .cshf-menu { justify-content: center; }
}
/* ===== অ্যাপ স্টাইল লেআউট =====
   মোবাইল: [মেনু টগল] ... [লোগো মাঝে] ... [অর্ডার খুঁজুন]; মেনু বাম দিক থেকে স্লাইড করে আসে।
   ডেস্কটপ: লোগো বামে, লোগোর পরেই মেনু, ডানে অর্ডার খুঁজুন। */
@media (min-width: 901px) {
    .cshf-layout-app .cshf-nav .cshf-menu { justify-content: flex-start; }
    .cshf-layout-app .cshf-actions { margin-left: auto; }
}
@media (max-width: 900px) {
    .cshf-header.cshf-layout-app .cshf-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
    .cshf-header.cshf-header.cshf-layout-app .cshf-toggle { grid-column: 1; grid-row: 1; justify-self: start; order: 0; margin: 0 0 0 -4px; }
    .cshf-header.cshf-layout-app .cshf-brand { grid-column: 2; grid-row: 1; justify-self: center; justify-content: center; max-width: 56vw; }
    .cshf-header.cshf-layout-app .cshf-site-title { max-width: 44vw; text-align: center; }
    .cshf-header.cshf-layout-app .cshf-actions { grid-column: 3; grid-row: 1; justify-self: end; order: 0; margin: 0; }
    .cshf-header.cshf-layout-app .cshf-actions .cshf-cta,
    .cshf-header.cshf-layout-app .cshf-actions .cshf-custom-html,
    .cshf-header.cshf-header.cshf-layout-app .cshf-actions .cshf-search-toggle { display: none !important; }
    .cshf-header.cshf-layout-app .cshf-nav { right: auto; left: 0; transform: translateX(-100%); border-left: 0; border-right: 1px solid var(--cshf-a08); box-shadow: 8px 0 32px rgba(0,0,0,0.2); }
    .cshf-header.cshf-layout-app .cshf-nav.cshf-open { transform: translateX(0); }
}
/* ===== সব অন থাকলেও ব্যালেন্স ===== */
.cshf-header.cshf-no-menu .cshf-toggle, .cshf-header.cshf-no-menu .cshf-nav { display: none !important; }
.cshf-header.cshf-no-menu .cshf-actions { margin-left: auto; }
.cshf-nav-extra { display: none; }
.cshf-layout-app .cshf-brand { min-width: 0; gap: 10px; }
.cshf-layout-app .cshf-site-title { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cshf-layout-app .cshf-logo { max-width: 100%; object-fit: contain; }
@media (min-width: 901px) {
    .cshf-layout-app .cshf-site-title { max-width: min(320px, 24vw); }
}
@media (min-width: 901px) and (max-width: 1180px) {
    .cshf-header-inner { gap: 14px; }
    .cshf-actions { gap: 8px; }
    .cshf-header.cshf-header .cshf-fo-button { width: var(--cshf-btn); padding: 0; }
    .cshf-fo-button .cshf-fo-txt { display: none; }
    .cshf-cta { padding: 9px 14px; font-size: 13.5px; }
    .cshf-layout-app .cshf-custom-html { display: none; }
}
@media (max-width: 900px) {
    .cshf-header.cshf-layout-app .cshf-header-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .cshf-header.cshf-layout-app .cshf-brand { max-width: 60vw; }
    .cshf-header.cshf-layout-app .cshf-logo { max-width: 46vw; }
    .cshf-header .cshf-nav-extra { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 28px; border-top: 1px solid var(--cshf-a08); }
    .cshf-nav-extra form { display: flex; gap: 8px; }
    .cshf-nav-extra input[type="search"] { flex: 1; min-width: 0; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--cshf-a2); background: var(--cshf-a08); color: inherit; font-size: 15px; box-sizing: border-box; }
    .cshf-nav-extra button { padding: 0 16px; border: 0; border-radius: 10px; background: var(--cshf-a18); color: inherit; font-weight: 600; cursor: pointer; }
    .cshf-nav-extra .cshf-cta { text-align: center; padding: 12px 16px; font-size: 15px; }
}
@media (max-width: 420px) {
    .cshf-header.cshf-layout-app.cshf-has-logo .cshf-site-title { display: none; }
}
.cshf-header.cshf-layout-floating { width: calc(100% - 24px); margin: 10px auto 0; border-radius: 16px; box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
.cshf-header.cshf-layout-floating.cshf-sticky { top: 10px; }

/* ===== ফুটার লেআউট ===== */
/* কলাম: মেনু বামে, সোশ্যাল ডানে, নিচে কপিরাইট */
.cshf-footer-layout-columns .cshf-footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; text-align: left; padding: 32px 24px 24px; }
.cshf-footer-layout-columns .cshf-footer-menu { order: 1; width: auto; justify-content: flex-start; }
.cshf-footer-layout-columns .cshf-footer-menu-list { flex-direction: column; align-items: flex-start; gap: 10px; }
.cshf-footer-layout-columns .cshf-footer-socials { order: 2; justify-content: flex-end; }

/* বার: এক সারিতে (কপিরাইটের আলাদা রঙ এখানে প্রযোজ্য নয়) */
.cshf-footer-layout-bar .cshf-footer-top, .cshf-footer-layout-bar .cshf-footer-bottom { display: contents; }
.cshf-footer-layout-bar .cshf-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 16px 24px; text-align: left; }
.cshf-footer-layout-bar .cshf-footer-text, .cshf-footer-layout-bar .cshf-footer-custom { order: 1; margin: 0; }
.cshf-footer-layout-bar .cshf-footer-menu { order: 2; width: auto; }
.cshf-footer-layout-bar .cshf-footer-socials { order: 3; }

/* মিনিমাল */
.cshf-footer-layout-minimal .cshf-footer-menu { display: none; }
.cshf-footer-layout-minimal .cshf-footer-top { padding: 16px 16px 6px; }
.cshf-footer-layout-minimal .cshf-footer-bottom { border-top: 0; padding-top: 4px; }

@media (max-width: 900px) {
    .cshf-footer-layout-columns .cshf-footer-top { flex-direction: column; align-items: center; text-align: center; padding: 20px 16px 14px; }
    .cshf-footer-layout-columns .cshf-footer-menu, .cshf-footer-layout-columns .cshf-footer-socials { order: 0; justify-content: center; }
    .cshf-footer-layout-columns .cshf-footer-menu-list { flex-direction: row; align-items: center; gap: 4px 16px; }
    .cshf-footer-layout-bar .cshf-footer-inner { flex-direction: column; justify-content: center; text-align: center; padding: 16px; }
    .cshf-footer-layout-bar .cshf-footer-text, .cshf-footer-layout-bar .cshf-footer-custom, .cshf-footer-layout-bar .cshf-footer-menu, .cshf-footer-layout-bar .cshf-footer-socials { order: 0; }
}

/* ===== ফুটার উইজেট কলাম ===== */
.cshf-footer-widgets { display: grid; grid-template-columns: repeat(var(--cshf-cols, 4), minmax(0, 1fr)); gap: 32px; padding: 40px 24px 12px; text-align: left; }
.cshf-fw-title { margin: 0 0 14px; font-size: 1rem; font-weight: 700; color: inherit; }
.cshf-fw-text { font-size: 14px; line-height: 1.7; opacity: 0.9; }
.cshf-fw-text p { margin: 0 0 10px; }
.cshf-fw-text a { color: inherit; text-decoration: underline; }
.cshf-fw-menu .cshf-footer-menu-list { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.cshf-fw-form { display: flex; gap: 8px; margin-top: 12px; }
.cshf-fw-form input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--cshf-a2); background: var(--cshf-a08); color: inherit; font-size: 14px; }
.cshf-fw-form button { padding: 10px 16px; border: none; border-radius: 8px; background: var(--cshf-a18); color: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
@media (max-width: 900px) {
    .cshf-footer-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px 16px 8px; gap: 24px; }
}
@media (max-width: 500px) {
    .cshf-footer-widgets { grid-template-columns: 1fr; }
}

/* ===== ব্র্যান্ড বার ফুটার: লোগো | মেনু | সোশ্যাল + ৩ কলামের নিচের বার ===== */
.cshf-footer-layout-brand, .cshf-footer-layout-brand * { box-sizing: border-box; }
.cshf-footer-layout-brand { text-align: left; }
.cshf-footer-layout-brand .cshf-fb-main { padding: 36px 32px 0; }
.cshf-footer-layout-brand .cshf-fb-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 26px; flex-wrap: wrap; }
.cshf-footer-layout-brand .cshf-fb-brand { font-size: 22px; font-weight: 700; letter-spacing: 1px; text-decoration: none; color: inherit; line-height: 1.2; }
.cshf-footer-layout-brand .cshf-fb-brandbox { display: flex; flex-direction: column; gap: 4px; }
.cshf-footer-layout-brand .cshf-fb-slogan { font-size: 12.5px; opacity: .75; line-height: 1.4; }
.cshf-social-img { width: 18px; height: 18px; object-fit: contain; display: block; }
.cshf-footer-layout-brand .cshf-fb-brand img { display: block; width: auto; height: auto; max-width: 100%; }
.cshf-footer-layout-brand .cshf-footer-menu { width: auto; justify-content: center; }
.cshf-footer-layout-brand .cshf-footer-menu-list { gap: 0; justify-content: center; }
.cshf-footer-layout-brand .cshf-footer-menu-list a { padding: 4px 14px; font-size: 14px; transition: color .2s, opacity .2s; }
.cshf-footer-layout-brand .cshf-footer-menu-list li:not(:last-child) a { border-right: 1px solid var(--cshf-a2); }
:where(.cshf-footer-layout-brand) .cshf-footer-menu-list a:hover { color: var(--cshf-accent, #38bdf8); opacity: 1; }
.cshf-footer-layout-brand .cshf-footer-socials { gap: 10px; flex-wrap: nowrap; }
.cshf-footer-layout-brand .cshf-social-icon { width: 34px; height: 34px; background: transparent; border: 1px solid var(--cshf-a2); opacity: .85; }
.cshf-footer-layout-brand .cshf-social-icon svg { width: 15px; height: 15px; }
.cshf-footer-layout-brand .cshf-social-icon:hover { background: var(--cshf-accent, #38bdf8); border-color: var(--cshf-accent, #38bdf8); color: var(--cshf-fbg, #0f172a); opacity: 1; transform: translateY(-2px); }

.cshf-footer-layout-brand .cshf-footer-bottom { border-top: 0; padding: 0 32px; }
.cshf-footer-layout-brand .cshf-fb-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 16px 0 20px; border-top: 1px solid var(--cshf-a1); }
.cshf-footer-layout-brand .cshf-fb-left { justify-self: start; font-size: 12.5px; opacity: .8; }
.cshf-footer-layout-brand .cshf-fb-center { justify-self: center; text-align: center; }
.cshf-footer-layout-brand .cshf-fb-right { justify-self: end; }
.cshf-footer-layout-brand .cshf-footer-text { font-size: 13px; }
.cshf-footer-layout-brand .cshf-heart { color: var(--cshf-accent, #38bdf8); }
.cshf-footer-layout-brand .cshf-to-top { color: inherit; text-decoration: none; font-size: 12.5px; opacity: .85; transition: color .2s, opacity .2s; }
.cshf-footer-layout-brand .cshf-to-top:hover { color: var(--cshf-accent, #38bdf8); opacity: 1; }

@media (max-width: 820px) {
    .cshf-footer-layout-brand .cshf-fb-main { padding: 20px 16px 0; }
    .cshf-footer-layout-brand .cshf-fb-row { flex-direction: column; gap: 10px; padding-bottom: 14px; text-align: center; }
    .cshf-footer-layout-brand .cshf-fb-brandbox { align-items: center; gap: 2px; }
    .cshf-footer-layout-brand .cshf-fb-brand { font-size: 20px; }
    .cshf-footer-layout-brand .cshf-footer-menu-list { flex-wrap: wrap; }
    .cshf-footer-layout-brand .cshf-footer-menu-list a { padding: 2px 10px; font-size: 13px; }
    .cshf-footer-layout-brand .cshf-footer-socials { gap: 8px; }
    .cshf-footer-layout-brand .cshf-social-icon { width: 32px; height: 32px; }
    .cshf-footer-layout-brand .cshf-footer-bottom { padding: 0 16px; }
    .cshf-footer-layout-brand .cshf-fb-bar { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 10px 0 12px; gap: 4px; }
    .cshf-footer-layout-brand .cshf-fb-left, .cshf-footer-layout-brand .cshf-fb-right { display: none; justify-self: center; }
    .cshf-footer-layout-brand.cshf-fb-extras-mobile .cshf-fb-left, .cshf-footer-layout-brand.cshf-fb-extras-mobile .cshf-fb-right { display: block; }
    .cshf-footer-layout-brand .cshf-footer-text { font-size: 12px; line-height: 1.5; }
}
@media (max-width: 600px) {
    .cshf-footer-layout-brand .cshf-fb-main { padding: 16px 12px 0; }
    .cshf-footer-layout-brand .cshf-footer-bottom { padding: 0 12px; }
    .cshf-footer-layout-brand .cshf-footer-menu-list a { padding: 2px 8px; font-size: 12.5px; }
}
@media (max-width: 380px) {
    .cshf-footer-layout-brand .cshf-footer-menu-list a { padding: 2px 6px; font-size: 12px; }
}

/* ===== স্মার্ট হেডার (নিচে স্ক্রলে লুকায়) ===== */
.cshf-header.cshf-hide-on-scroll { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cshf-header.cshf-hide-on-scroll.cshf-hidden { transform: translateY(-110%); }

/* ===== ড্রপডাউন অ্যানিমেশন (ডেস্কটপ) ও মোবাইল অ্যাকর্ডিয়ন ===== */
@keyframes cshf-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 901px) {
    .cshf-nav .cshf-menu li.cshf-sub-open > .sub-menu { animation: cshf-fade 0.2s ease; }
}
@media (max-width: 900px) {
    .cshf-nav .cshf-menu .sub-menu { display: none; }
    .cshf-nav .cshf-menu li.cshf-sub-open > .sub-menu { display: block; }
    .cshf-nav .cshf-menu li.menu-item-has-children { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
    .cshf-nav .sub-menu { animation: none !important; }
    .cshf-header.cshf-hide-on-scroll { transition: none; }
}

/* ===== মেনু আইকন ===== */
.cshf-menu-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 1; margin-right: 7px; vertical-align: middle; }
.cshf-menu-icon .cshf-svg-icon { flex-shrink: 0; }
.cshf-menu-icon img, .cshf-icon-img { width: 18px; height: 18px; object-fit: contain; }
.cshf-footer-menu-list .cshf-menu-icon, .cshf-fw-menu .cshf-menu-icon { opacity: 0.9; }

/* ===== ডেস্কটপে আইটেম বেশি হলে এক লাইনে রেখে বাকিগুলো "আরও" ড্রপডাউনে ===== */
.cshf-nav .cshf-menu > .cshf-more > .sub-menu { left: auto; right: 0; min-width: 220px; max-height: 70vh; overflow-y: auto; }
.cshf-nav .cshf-menu > .cshf-more .sub-menu .sub-menu { left: auto; right: 100%; top: 0; }
.cshf-nav .cshf-menu .cshf-more .sub-menu a { white-space: nowrap; }
/* ড্রপডাউনের ভেতরে অ্যাক্টিভ আইটেমে নিচের দাগ (আন্ডারলাইন) নয়, হালকা ব্যাকগ্রাউন্ড */
@media (min-width: 901px) {
    .cshf-nav .cshf-menu .sub-menu .current-menu-item > a,
    .cshf-nav .cshf-menu .sub-menu .current-menu-ancestor > a { box-shadow: none; background: var(--cshf-a08); }
    .cshf-nav .cshf-menu .sub-menu a:focus { outline: 0; }
    .cshf-nav .cshf-menu .sub-menu a:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
}
.cshf-nav .cshf-menu > .cshf-more > a { cursor: pointer; }
@media (max-width: 900px) {
    .cshf-nav .cshf-menu > .cshf-more { display: none !important; }
}

/* খালি বা ভাঙা আইকন কখনো দেখানো হবে না; সাবমেনুর লিংকে থিমের বর্ডার/আউটলাইন নয় */
.cshf-menu-icon:empty, .cshf-menu-icon.cshf-ico-broken { display: none; }
.cshf-nav .cshf-menu .sub-menu li, .cshf-nav .cshf-menu .sub-menu a { border-color: transparent; outline-color: transparent; }
@media (min-width: 901px) { .cshf-nav .cshf-menu .sub-menu a { border: 0; } }

/* ===== নতুন সাবমেনু ড্রপডাউন সিস্টেম (JS চালিত, SVG তীর) ===== */
.cshf-caret { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex: 0 0 auto; margin-left: 2px; opacity: .7; transition: transform .2s; }
.cshf-caret svg { display: block; width: 12px; height: 12px; pointer-events: none; }
.cshf-sub-open > a > .cshf-caret { transform: rotate(180deg); }
.cshf-nav .cshf-menu .sub-menu .cshf-caret { margin-left: auto; transform: rotate(-90deg); }
.cshf-nav .cshf-menu .sub-menu .cshf-sub-open > a > .cshf-caret { transform: rotate(90deg); }
@media (max-width: 900px) {
    .cshf-nav .cshf-menu a .cshf-caret { width: 44px; height: 44px; margin: -14px -12px -14px auto; border-radius: 10px; opacity: .9; }
    .cshf-nav .cshf-menu a .cshf-caret svg { width: 14px; height: 14px; }
    .cshf-nav .cshf-menu .sub-menu .cshf-caret { transform: none; }
    .cshf-nav .cshf-menu .sub-menu .cshf-sub-open > a > .cshf-caret { transform: rotate(180deg); }
}

/* ===== ডেস্কটপ ড্রপডাউন: সবসময় মেনুর নিচে, থিমের .sub-menu স্টাইল ওভাররাইড করতে পারবে না ===== */
@media (min-width: 901px) {
    .cshf-nav .cshf-menu .cshf-dd {
        display: none !important; position: absolute !important; top: calc(100% + 6px) !important; left: 0; right: auto;
        visibility: visible !important; opacity: 1 !important; transform: none !important; float: none !important;
        height: auto !important; width: max-content; min-width: 220px; max-width: min(340px, 90vw); max-height: 70vh; overflow-y: auto;
        margin: 0; padding: 8px 0; list-style: none; border: 0; border-radius: 10px;
        background: var(--cshf-nav-bg, #1a1a2e); box-shadow: 0 12px 32px rgba(0,0,0,.2); z-index: 100000;
    }
    .cshf-nav .cshf-menu .cshf-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
    .cshf-nav .cshf-menu li.cshf-sub-open > .cshf-dd { display: block !important; animation: cshf-fade .2s ease; }
    .cshf-nav .cshf-menu > li > .cshf-dd.cshf-dd-right { left: auto !important; right: 0 !important; }
    .cshf-nav .cshf-menu .cshf-dd li { display: block; width: 100%; float: none; }
    .cshf-nav .cshf-menu .cshf-dd a { padding: 10px 18px; white-space: nowrap; }
    /* তিন স্তরের সাবমেনুও পাশে নয়, নিচে খোলে */
    .cshf-nav .cshf-menu .cshf-dd .cshf-dd { position: static !important; top: auto !important; box-shadow: none; background: transparent; padding: 0 0 4px 14px; min-width: 0; width: auto; max-width: none; max-height: none; overflow: visible; border-radius: 0; animation: none; }
    .cshf-nav .cshf-menu .cshf-dd .cshf-dd::before { display: none; }
    .cshf-nav .cshf-menu .cshf-dd .cshf-caret { margin-left: auto; transform: none; }
    .cshf-nav .cshf-menu .cshf-dd .cshf-sub-open > a > .cshf-caret { transform: rotate(180deg); }
}

/* ===== নতুন হেডার স্টাইল: গ্লাস / পিল / বোল্ড / মিনিমাল ===== */
.cshf-header.cshf-layout-glass {
    background-color: var(--cshf-nav-bg) !important;
    background-color: color-mix(in srgb, var(--cshf-nav-bg) 65%, transparent) !important;
    -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(255,255,255,0.18); box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.cshf-header.cshf-layout-pill { width: calc(100% - 24px); max-width: 1240px; margin: 10px auto 0; border-radius: 36px; box-shadow: 0 8px 28px rgba(0,0,0,0.16); }
.cshf-header.cshf-layout-pill.cshf-sticky { top: 10px; }
.cshf-header.cshf-layout-pill .cshf-header-inner { padding-left: 22px; padding-right: 22px; }
.cshf-header.cshf-layout-bold { border-bottom: 4px solid var(--cshf-fo, #ff6b35); }
.cshf-header.cshf-layout-bold .cshf-nav .cshf-menu > li > a { text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.cshf-header.cshf-layout-minimal { box-shadow: none !important; border-bottom: 1px solid var(--cshf-a08, rgba(128,128,128,.2)); }
@media (min-width: 901px) {
    .cshf-header.cshf-layout-minimal .cshf-nav .cshf-menu > li > a { position: relative; }
    .cshf-header.cshf-layout-minimal .cshf-nav .cshf-menu > li > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: currentColor; transition: right .25s ease; }
    .cshf-header.cshf-layout-minimal .cshf-nav .cshf-menu > li > a:hover::after { right: 0; }
    .cshf-header.cshf-layout-minimal .cshf-nav .cshf-menu a:hover { opacity: 1; }
}

/* মোবাইল মেনুর নিচে My Account */
.cshf-nav-account { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: 10px; background: var(--cshf-a08); color: inherit !important; text-decoration: none !important; font-weight: 600; font-size: 15px; border: 1px solid var(--cshf-a15); }
.cshf-nav-account svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cshf-nav-account:hover { background: var(--cshf-a15); }

/* কার্ট বাটন */
.cshf-header.cshf-header .cshf-cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: var(--cshf-btn); height: var(--cshf-btn); min-width: var(--cshf-btn); border-radius: var(--cshf-btn-r); background: var(--cshf-btn-bg); color: inherit; text-decoration: none; flex: none; transition: transform .15s ease, filter .15s ease; }
.cshf-header.cshf-header .cshf-cart-btn svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.cshf-header.cshf-header .cshf-cart-btn:active { transform: scale(.95); }
@media (hover: hover) { .cshf-header.cshf-header .cshf-cart-btn:hover { filter: brightness(1.12); } }
.cshf-cart-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cshf-fo, #4f46e5); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-sizing: border-box; }
.cshf-cart-count[hidden] { display: none; }

/* থিমের নিজের হেডার/ফুটার লুকানো (সেটিংসে সুইচ চালু থাকলে body-তে ক্লাস বসে) – জনপ্রিয় থিম ও পেজ-বিল্ডারের সব কমন সিলেক্টর */
body.cshf-no-theme-header :is(#masthead,.site-header,#site-header,#header,#main-header,.main-header,.header-wrap,.header-wrapper,.header-main,.site-header-wrapper,.elementor-location-header,.ast-desktop-header,.ast-mobile-header-wrap,.fusion-header-wrapper,.et-l--header,.td-header-wrap,.wp-site-blocks>header,header.wp-block-template-part,body>header,body>div>header,#page>header,#wrapper>header,#site-wrapper>header,.site>header,header[role="banner"],[data-elementor-type="header"]):not(.cshf-header):not(.cshf-topbar){display:none!important}
body.cshf-no-theme-footer :is(#colophon,.site-footer,#site-footer,#footer,#main-footer,.main-footer,.footer-wrap,.footer-wrapper,.site-footer-wrapper,.elementor-location-footer,.ast-footer,.fusion-footer,.et-l--footer,.td-footer-wrap,.wp-site-blocks>footer,footer.wp-block-template-part,body>footer,body>div>footer,#page>footer,#wrapper>footer,#site-wrapper>footer,.site>footer,footer[role="contentinfo"],[data-elementor-type="footer"]):not(.cshf-footer){display:none!important}
body.cshf-pad-top { padding-top: var(--cshf-real-h, 0px) !important; }

/* ===== কার্ট ড্রয়ার ===== */
.cshf-cd-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 100000; opacity: 0; transition: opacity .3s; }
.cshf-cd-backdrop.cshf-active { display: block; opacity: 1; }
.cshf-cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 92vw; z-index: 100001; display: flex; flex-direction: column; box-sizing: border-box;
    background: var(--cshf-nav-bg, #1a1a2e); color: var(--cshf-nav-color, #fff); box-shadow: -8px 0 32px rgba(0,0,0,.25);
    transform: translateX(105%); visibility: hidden; transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s .35s; font-size: 15px; line-height: 1.4; }
.cshf-cart-drawer.cshf-open { transform: translateX(0); visibility: visible; transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s 0s; }
.cshf-cart-drawer *, .cshf-cart-drawer *::before, .cshf-cart-drawer *::after { box-sizing: border-box; }
.cshf-cart-drawer svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cshf-cd-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid rgba(128,128,128,.28); font-size: 17px; }
.cshf-cd-close, .cshf-cd-rm { background: transparent; border: 0; color: inherit; cursor: pointer; padding: 6px; border-radius: 8px; opacity: .8; display: inline-flex; line-height: 0; }
.cshf-cd-close:hover, .cshf-cd-rm:hover { opacity: 1; background: rgba(128,128,128,.2); }
.cshf-cd-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 18px; -webkit-overflow-scrolling: touch; }
.cshf-cd-body.cshf-busy { opacity: .55; pointer-events: none; }
.cshf-cd-list { list-style: none; margin: 0; padding: 0; }
.cshf-cd-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(128,128,128,.2); }
.cshf-cd-img { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: rgba(128,128,128,.22); display: block; }
.cshf-cd-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cshf-cd-info { flex: 1; min-width: 0; }
.cshf-cd-title { display: block; color: inherit; text-decoration: none; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cshf-cd-price { margin-top: 3px; opacity: .85; font-size: 14px; }
.cshf-cd-qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; overflow: hidden; }
.cshf-cd-qty button { width: 30px; height: 28px; background: transparent; border: 0; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; padding: 0; }
.cshf-cd-qty button:hover { background: rgba(128,128,128,.22); }
.cshf-cd-qty span { min-width: 30px; text-align: center; font-weight: 600; }
.cshf-cd-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 60px 10px; text-align: center; opacity: .95; }
.cshf-cd-empty svg { width: 54px; height: 54px; opacity: .5; }
.cshf-cd-empty p { margin: 0; font-size: 16px; }
.cshf-cd-foot:empty { display: none; }
.cshf-cd-foot { padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(128,128,128,.28); display: flex; flex-direction: column; gap: 10px; }
.cshf-cd-sum { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.cshf-cd-btn { display: block; text-align: center; padding: 13px 16px; border-radius: 10px; background: var(--cshf-cd-ac, #ff6b35); color: #fff !important; font-weight: 700; text-decoration: none; transition: filter .15s; }
.cshf-cd-btn:hover { filter: brightness(1.1); }
.cshf-cd-btn-ghost { background: transparent; border: 1px solid currentColor; color: inherit !important; }
.cshf-cd-link { text-align: center; color: inherit; opacity: .8; text-decoration: underline; font-size: 14px; }
.cshf-cart-btn.cshf-bump { animation: cshf-bump .4s ease; }
@keyframes cshf-bump { 40% { transform: scale(1.18); } }
body.cshf-cd-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .cshf-cart-drawer, .cshf-cd-backdrop { transition: none !important; } .cshf-cart-btn.cshf-bump { animation: none; } }

/* থিম/Elementor-এর গ্লোবাল বাটন ও লিংক স্টাইল ঠেকাতে */
.cshf-cart-drawer button { font-family: inherit; text-transform: none; letter-spacing: normal; box-shadow: none !important; text-shadow: none; min-height: 0; margin: 0; }
.cshf-cart-drawer .cshf-cd-close, .cshf-cart-drawer .cshf-cd-rm { background: transparent !important; color: inherit !important; border: 0 !important; padding: 6px !important; border-radius: 8px !important; }
.cshf-cart-drawer .cshf-cd-close:hover, .cshf-cart-drawer .cshf-cd-close:focus, .cshf-cart-drawer .cshf-cd-rm:hover, .cshf-cart-drawer .cshf-cd-rm:focus { background: rgba(128,128,128,.22) !important; color: inherit !important; }
.cshf-cart-drawer .cshf-cd-qty { border: 1px solid rgba(128,128,128,.4) !important; border-radius: 8px; background: transparent; }
.cshf-cart-drawer .cshf-cd-qty button { background: transparent !important; color: inherit !important; border: 0 !important; width: 32px; height: 30px; padding: 0 !important; border-radius: 0 !important; font-size: 18px; }
.cshf-cart-drawer .cshf-cd-qty button:hover, .cshf-cart-drawer .cshf-cd-qty button:focus { background: rgba(128,128,128,.25) !important; color: inherit !important; }
.cshf-cart-drawer a { text-decoration: none; box-shadow: none; }
.cshf-cart-drawer a.cshf-cd-title, .cshf-cart-drawer a.cshf-cd-title:hover { color: inherit !important; }
.cshf-cart-drawer a.cshf-cd-btn { background: var(--cshf-cd-ac, #ff6b35) !important; color: #fff !important; border: 0; }
.cshf-cart-drawer a.cshf-cd-btn-ghost { background: transparent !important; color: inherit !important; border: 1px solid currentColor; }
.cshf-cart-drawer a.cshf-cd-link { color: inherit !important; text-decoration: underline; }
.cshf-cart-drawer svg { fill: none !important; }
.cshf-cart-drawer ul, .cshf-cart-drawer li { list-style: none; margin: 0; }
.cshf-cart-drawer img { max-width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }



/* লোগো ও ডানের বাটন (অর্ডার খুঁজুন/কার্ট) — লেগে যাওয়া ঠেকাতে ফাঁক ও লোগোর সর্বোচ্চ চওড়া */
.cshf-header .cshf-actions { gap: 12px; }
.cshf-header .cshf-brand { margin-right: 12px; }
@media (max-width: 900px) {
    .cshf-header .cshf-actions { gap: 10px; padding-left: 4px; }
    .cshf-header .cshf-actions > * { flex: none; }
    .cshf-header:not(.cshf-layout-app) .cshf-logo { max-width: min(52vw, 280px); object-fit: contain; }
    .cshf-header:not(.cshf-layout-app) .cshf-site-title { max-width: 36vw; }
    .cshf-header.cshf-header.cshf-layout-app .cshf-header-inner { column-gap: 14px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .cshf-header.cshf-header.cshf-layout-app .cshf-brand { margin-right: 0; max-width: 100%; }
    .cshf-header.cshf-header.cshf-layout-app .cshf-logo { max-width: min(42vw, 240px); }
    .cshf-header.cshf-header.cshf-layout-app .cshf-site-title { max-width: 32vw; }
}
@media (max-width: 380px) {
    .cshf-header.cshf-header .cshf-actions { gap: 8px; }
    .cshf-header.cshf-header.cshf-layout-app .cshf-logo, .cshf-header:not(.cshf-layout-app) .cshf-logo { max-width: 38vw; }
}

/* ===== দুই ড্রয়ারই হেডারের উপর দিয়ে খোলে (পুরো উচ্চতা) ===== */
@media (max-width: 900px) {
    .cshf-header .cshf-nav { top: 0; height: 100vh; height: 100dvh; max-height: 100dvh; box-sizing: border-box; padding-top: var(--cshf-nav-top, 70px); z-index: 9998; }
    /* মেনু খোলা থাকলে টগল (X) ড্রয়ারের উপরে থাকবে — বন্ধ করার বাটন হিসেবে */
    .cshf-header.cshf-menu-open .cshf-header-inner { z-index: auto; }
    .cshf-header.cshf-menu-open .cshf-toggle { z-index: 10001; }
}
/* ওভারলে এখন হেডারের ভেতরে (JS সরায়) — তাই হেডারও আবছা হয় */
.cshf-overlay { top: 0 !important; z-index: 9997; }


/* ===== স্টিকি কার্ট বাটন (ডান পাশে, মাঝখানে) ===== */
.cshf-cart-float { position: fixed; right: 0; right: env(safe-area-inset-right, 0px); top: 50%; transform: translateY(-50%); z-index: 9996; width: 48px; height: 52px; padding: 0 !important; margin: 0;
    display: inline-flex; align-items: center; justify-content: center; border: 0 !important; border-radius: 14px 0 0 14px !important; cursor: pointer;
    background: var(--cshf-cd-ac, #ff6b35) !important; color: #fff !important; box-shadow: -4px 4px 18px rgba(0,0,0,.25) !important; transition: width .2s ease, filter .15s ease, opacity .25s ease; -webkit-tap-highlight-color: transparent; }
.cshf-cart-float svg { display: block; width: 22px; height: 22px; fill: none !important; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.cshf-cart-float:hover, .cshf-cart-float:focus { width: 54px; filter: brightness(1.08); color: #fff !important; background: var(--cshf-cd-ac, #ff6b35) !important; }
.cshf-cart-float:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.cshf-cart-float .cshf-cart-count { top: -7px; left: -7px; right: auto; background: #fff; color: var(--cshf-cd-ac, #ff6b35); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.cshf-cart-float.cshf-bump { animation: cshf-fbump .4s ease; }
@keyframes cshf-fbump { 40% { transform: translateY(-50%) scale(1.15); } }
body.cshf-cd-open .cshf-cart-float, body.cshf-nav-lock .cshf-cart-float { opacity: 0; pointer-events: none; }
@media (max-width: 600px) { .cshf-cart-float { width: 44px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .cshf-cart-float, .cshf-cart-float.cshf-bump { transition: none; animation: none; } }

/* ===== ট্রান্সপারেন্ট হেডার: আলাদা লোগো / লোগোর রঙ / উপরের ছায়া ===== */
.cshf-logo { transition: filter .3s ease; }
.cshf-logo-tr { display: none; }
.cshf-header.cshf-has-tr-logo.cshf-transparent:not(.cshf-scrolled):not(.cshf-menu-open) .cshf-logo-main { display: none; }
.cshf-header.cshf-has-tr-logo.cshf-transparent:not(.cshf-scrolled):not(.cshf-menu-open) .cshf-logo-tr { display: block; }
.cshf-header.cshf-trf-white.cshf-transparent:not(.cshf-scrolled):not(.cshf-menu-open) .cshf-logo { filter: brightness(0) invert(1); }
.cshf-header.cshf-trf-dark.cshf-transparent:not(.cshf-scrolled):not(.cshf-menu-open) .cshf-logo { filter: brightness(0); }
.cshf-header.cshf-transparent:not(.cshf-scrolled):not(.cshf-menu-open).cshf-scrim-soft::before,
.cshf-header.cshf-transparent:not(.cshf-scrolled):not(.cshf-menu-open).cshf-scrim-strong::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 40px); pointer-events: none; z-index: 0; }
.cshf-header.cshf-transparent:not(.cshf-scrolled):not(.cshf-menu-open).cshf-scrim-soft::before { background: linear-gradient(to bottom, rgba(0,0,0,.38), rgba(0,0,0,0)); }
.cshf-header.cshf-transparent:not(.cshf-scrolled):not(.cshf-menu-open).cshf-scrim-strong::before { background: linear-gradient(to bottom, rgba(0,0,0,.62), rgba(0,0,0,0)); }

/* ===== সোশ্যাল আইকন: ব্র্যান্ড-সঠিক গ্লিফ; হোভারে নিজ নিজ ব্র্যান্ড রঙ ===== */
.cshf-social-icon svg, .cshf-social-icon .cshf-svg-social { display: block; flex: none; }
.cshf-footer .cshf-social-icon { --cshf-brand: #555; }
.cshf-footer .cshf-social-icon:hover { background: var(--cshf-brand); border-color: var(--cshf-brand); color: #fff; opacity: 1; }
.cshf-footer .cshf-social-icon.cshf-facebook  { --cshf-brand: #1877F2; }
.cshf-footer .cshf-social-icon.cshf-messenger { --cshf-brand: #0084FF; }
.cshf-footer .cshf-social-icon.cshf-twitter   { --cshf-brand: #000000; }
.cshf-footer .cshf-social-icon.cshf-instagram { --cshf-brand: #E4405F; }
.cshf-footer .cshf-social-icon.cshf-youtube   { --cshf-brand: #FF0000; }
.cshf-footer .cshf-social-icon.cshf-linkedin  { --cshf-brand: #0A66C2; }
.cshf-footer .cshf-social-icon.cshf-whatsapp  { --cshf-brand: #25D366; }
.cshf-footer .cshf-social-icon.cshf-tiktok    { --cshf-brand: #000000; }
.cshf-footer .cshf-social-icon.cshf-pinterest { --cshf-brand: #E60023; }
.cshf-footer .cshf-social-icon.cshf-telegram  { --cshf-brand: #26A5E4; }
.cshf-footer .cshf-social-icon.cshf-github    { --cshf-brand: #333333; }


/* ===== কার্ট ড্রয়ার: হেডার/মেনু থেকে সম্পূর্ণ স্বাধীন (নিজস্ব ভ্যারিয়েবল) + কাঠামো ঠিক ===== */
.cshf-cart-drawer { background: var(--cshf-cd-bg, #fff) !important; color: var(--cshf-cd-fg, #1f2937) !important; width: 280px; max-width: 82vw; font-size: 14px; line-height: 1.45;
    border-left: 1px solid rgba(128,128,128,.25); box-shadow: -8px 0 32px rgba(0,0,0,.25); }
@media (min-width: 901px) { .cshf-cart-drawer { width: 300px; } }
.cshf-cart-drawer, .cshf-cart-drawer *:not(svg):not(path):not(circle):not(a.cshf-cd-btn) { color: inherit; }
.cshf-cart-drawer .cshf-cd-head { padding: 12px 14px; font-size: 15px; min-height: 56px; flex: none; }
.cshf-cart-drawer .cshf-cd-body { padding: 4px 14px; min-height: 0; }
.cshf-cart-drawer .cshf-cd-item { gap: 10px; padding: 12px 0; align-items: center; }
.cshf-cart-drawer .cshf-cd-img { width: 52px; height: 52px; border-radius: 10px; background: rgba(128,128,128,.15); flex: none; }
.cshf-cart-drawer .cshf-cd-img img { width: 100%; height: 100%; object-fit: cover; }
.cshf-cart-drawer .cshf-cd-info { min-width: 0; }
.cshf-cart-drawer .cshf-cd-price { font-size: 13px; }
.cshf-cart-drawer .cshf-cd-rm { align-self: flex-start; flex: none; }
.cshf-cart-drawer .cshf-cd-foot { flex: none; padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)); gap: 8px; background: var(--cshf-cd-bg, #fff); }
.cshf-cart-drawer a.cshf-cd-btn { background: var(--cshf-cd-ac, #ff6b35) !important; color: var(--cshf-cd-bt, #fff) !important; padding: 11px 14px; border-radius: 10px; font-weight: 700; display: block; text-align: center; }
.cshf-cart-drawer a.cshf-cd-btn-ghost { background: transparent !important; color: var(--cshf-cd-fg, #1f2937) !important; border: 1px solid currentColor; }
.cshf-cart-drawer a.cshf-cd-link { color: var(--cshf-cd-fg, #1f2937) !important; }
.cshf-cart-float, .cshf-cart-float:hover, .cshf-cart-float:focus { background: var(--cshf-cd-ac, #ff6b35) !important; color: var(--cshf-cd-bt, #fff) !important; }
.cshf-cart-float .cshf-cart-count { color: var(--cshf-cd-ac, #ff6b35); }
.cshf-cd-backdrop { top: 0 !important; inset: 0 !important; z-index: 100000; }
.cshf-cart-drawer { top: 0 !important; bottom: 0 !important; height: 100vh; height: 100dvh; max-height: 100dvh; z-index: 100001; }

.cshf-cd-title-wrap { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.cshf-cd-title-wrap svg { width: 20px; height: 20px; }
.cshf-cart-drawer button:focus-visible, .cshf-cart-drawer a:focus-visible, .cshf-cart-float:focus-visible { outline: 2px solid var(--cshf-cd-ac, #ff6b35); outline-offset: 2px; }
.cshf-cart-drawer .cshf-cd-body { overflow-y: auto; scrollbar-width: thin; }
