/* ============================================================
   Chadmama — Premium type + button/hover/category polish
   Loaded LAST. Icon fonts (fa/flaticon/uil) keep their own
   font-family (their class rules win), so type changes are safe.
   ============================================================ */
:root{
    --font-body:'Plus Jakarta Sans','Hind Siliguri',system-ui,'Segoe UI',sans-serif;
    --font-head:'Plus Jakarta Sans','Hind Siliguri',sans-serif;
    --cu-navy:#1B2A5B; --cu-navy2:#2A3F7A; --cu-gold:#E8B923;
}

/* ---------- Premium fonts site-wide ---------- */
body{ font-family:var(--font-body); letter-spacing:.1px; }
p,span,a,li,ul,ol,td,th,label,input,select,textarea,small,div,figcaption,blockquote{ font-family:inherit; }

/* headings + sales CTAs use the friendly display face (Baloo) */
h1,h2,h3,h4,h5,h6,
.title,.section_title,.prodCatcus,.popular_product span,
.btn,button,[class*="btn"],
.price,.current-price,.old-price,.product-badget,
.chad-lp-submit,.cf-title,.page-title{
    font-family:var(--font-head) !important;
}
/* override every inline font-family="Hind Siliguri/Oswald/Roboto" left in the markup */
[style*="Hind Siliguri"],[style*="Oswald"],[style*="Roboto"]{ font-family:var(--font-body) !important; }
/* but keep CTAs/titles on the display face even if they had inline Hind Siliguri */
.btn[style*="Hind Siliguri"],button[style*="Hind Siliguri"],
.title[style*="Hind Siliguri"],[style*="Hind Siliguri"].current-price,
.prodCatcus[style*="Hind Siliguri"]{ font-family:var(--font-head) !important; }
/* Icon fonts keep their own font-family (FontAwesome/flaticon set it on .fas/.fa etc). Do NOT override here. */

/* ---------- Product card: order buttons well-fitted ---------- */
.axil-product .single_product{ display:flex; gap:8px; }
.axil-product .single_product .btn,
.axil-product .add_cart_btn,
.axil-product .order_now_btn,
.axil-product .product-add-to-cart .btn,
.axil-product .reg a{
    flex:1 1 0; display:flex !important; align-items:center; justify-content:center; gap:6px;
    width:100%; min-height:44px; padding:9px 8px !important; border-radius:10px;
    font-weight:700; font-size:13.5px; line-height:1.15; white-space:nowrap; text-align:center;
    box-shadow:0 4px 10px rgba(27,42,91,.16); transition:filter .2s, box-shadow .2s;
}
.axil-product .add_cart_btn{ background:#fff !important; color:var(--cu-navy) !important; border:1.5px solid var(--cu-navy) !important; }
.axil-product .order_now_btn{ background:linear-gradient(135deg,var(--cu-navy),var(--cu-navy2)) !important; color:#fff !important; border:0 !important; }
.axil-product .button p{ margin:0 !important; }
.axil-product .button p b{ font-size:13.5px !important; }
.axil-product .button > span{ display:none !important; }
.axil-product .product-add-to-cart .btn:hover,
.axil-product .order_now_btn:hover,
.axil-product .add_cart_btn:hover{ filter:brightness(1.06); box-shadow:0 7px 16px rgba(27,42,91,.24); }

/* ---------- Hover: lift the CARD, never displace the text ---------- */
.axil-product .title a,
.axil-product .title a:hover,
.animated_text,.animated_text:hover,
.btn:hover,.btn:focus{ transform:none !important; }
.axil-product{ transition:transform .25s ease, box-shadow .25s ease; border-radius:14px; }
.axil-product:hover{ transform:translateY(-5px); box-shadow:0 14px 30px rgba(27,42,91,.14); }
.axil-product .thumbnail img{ transition:transform .35s ease; }
.axil-product:hover .thumbnail img{ transform:scale(1.04); }

/* ---------- "জনপ্রিয় ক্যাটাগরি" heading ---------- */
.popular_product{ display:flex; align-items:center; justify-content:center; gap:14px; margin:6px 0 4px; }
.popular_product span{ font-family:var(--font-head) !important; font-weight:800; color:var(--cu-navy);
    font-size:clamp(20px,3vw,30px); position:relative; padding-bottom:6px; }
.popular_product span::after{ content:""; position:absolute; left:50%; bottom:0; transform:translateX(-50%);
    width:64px; height:4px; border-radius:4px; background:linear-gradient(90deg,var(--cu-gold),#caa00f); }
.popular_product b{ flex:1; max-width:120px; height:2px; background:linear-gradient(90deg,transparent,#d9e0f1); }
.popular_product b:last-child{ background:linear-gradient(90deg,#d9e0f1,transparent); }

/* ---------- Category grid: premium cards ---------- */
.category-grid .hover-scale{
    border:1px solid #edf0f8 !important; border-radius:18px !important;
    background:#fff !important; padding:18px 10px 14px !important; position:relative; overflow:hidden;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.category-grid .hover-scale::before{ content:""; position:absolute; inset:0 0 auto 0; height:64px;
    background:linear-gradient(180deg,rgba(27,42,91,.06),transparent); }
.category-grid .hover-scale .d-flex{ position:relative; width:96px; height:96px; margin:0 auto;
    border-radius:50%; background:linear-gradient(145deg,#f3f6ff,#e9eefb);
    box-shadow:inset 0 0 0 3px #fff, 0 6px 14px rgba(27,42,91,.08); display:flex; align-items:center; justify-content:center; }
.category-grid .hover-scale img{ max-height:62px !important; width:auto !important; transition:transform .25s ease; }
.category-grid .hover-scale:hover{
    transform:translateY(-6px); box-shadow:0 16px 32px rgba(27,42,91,.16) !important;
    border-color:var(--cu-gold) !important;
}
.category-grid .hover-scale:hover .d-flex{ box-shadow:inset 0 0 0 3px #fff, 0 0 0 3px var(--cu-gold); }
.category-grid .hover-scale:hover img{ transform:scale(1.1); }
.category-grid .hover-scale p{ color:var(--cu-navy) !important; font-weight:700 !important; margin-top:12px !important;
    font-family:var(--font-head) !important; font-size:14px !important; }

/* ---------- Category mega-menu bar ---------- */
.chad-catbar{ background:linear-gradient(90deg,var(--cu-navy),var(--cu-navy2)); border-radius:12px; margin:10px 0 18px; box-shadow:0 6px 18px rgba(27,42,91,.18); }
.chad-catbar-list{ list-style:none; display:flex; flex-wrap:wrap; justify-content:center; margin:0; padding:0 6px; }
/* Search icon — center vertically inside the search box */
.axil-search button.icon.wooc-btn-search,
button.icon.wooc-btn-search{ top:50% !important; left:18px !important; transform:translateY(-50%) !important; font-size:16px !important; line-height:1 !important; padding:0 !important; color:#1B2A5B !important; }
.axil-search input#search2, .axil-search input[name="q"]{ padding-left:46px !important; }
/* product-card rating stars */
.chad-card-rating{ display:flex; align-items:center; justify-content:center; gap:4px; margin:2px 0 4px; font-size:12px; }
.chad-card-rating .stars{ color:var(--cu-gold); letter-spacing:1px; }
.chad-card-rating .num{ color:#8a93ad; font-weight:600; }
.chad-cat-item{ position:relative; }
.chad-cat-link{ display:flex; align-items:center; gap:6px; color:#fff !important; font-family:var(--font-head) !important; font-weight:600; font-size:14.5px; padding:13px 16px; text-decoration:none; white-space:nowrap; transition:.18s; }
.chad-cat-item:hover > .chad-cat-link{ color:var(--cu-gold) !important; }
.chad-cat-link i{ font-size:12px; transition:transform .2s; }
.chad-cat-item:hover .chad-cat-link i{ transform:rotate(180deg); }

.chad-mega{ position:absolute; left:0; top:100%; min-width:620px; max-width:760px; background:#fff; border-radius:0 14px 14px 14px;
    box-shadow:0 24px 50px rgba(27,42,91,.22); display:flex; gap:0; opacity:0; visibility:hidden; transform:translateY(10px);
    transition:opacity .2s ease, transform .2s ease; z-index:1300; overflow:hidden; }
.chad-cat-item:hover .chad-mega{ opacity:1; visibility:visible; transform:translateY(0); }
.chad-cat-item:nth-last-child(-n+3) .chad-mega{ left:auto; right:0; border-radius:14px 0 14px 14px; }

.chad-mega-sub{ width:230px; flex:none; background:#f6f8fd; padding:16px 14px; border-right:1px solid #eef1f8; max-height:360px; overflow:auto; }
.chad-mega-sub h6{ color:var(--cu-navy); font-family:var(--font-head); font-weight:700; margin:0 0 8px; font-size:15px; }
.chad-mega-sub ul{ list-style:none; margin:0; padding:0; }
.chad-mega-sub li a{ display:flex; align-items:center; gap:7px; color:#42506e !important; text-decoration:none; padding:7px 9px; border-radius:8px; font-size:13.5px; transition:.15s; }
.chad-mega-sub li a:hover{ background:#fff; color:var(--cu-navy) !important; box-shadow:0 2px 8px rgba(27,42,91,.08); }
.chad-mega-sub li a i{ color:var(--cu-gold); font-size:12px; }

.chad-mega-products{ flex:1; padding:16px; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; max-height:360px; overflow:auto; }
.chad-mega-loading{ grid-column:1/-1; color:#9aa4c0; text-align:center; padding:30px 0; }
.chad-mega-prod{ text-decoration:none; color:inherit; border:1px solid #eef1f8; border-radius:10px; padding:8px; text-align:center; transition:.18s; }
.chad-mega-prod:hover{ border-color:var(--cu-gold); box-shadow:0 6px 16px rgba(27,42,91,.12); transform:translateY(-3px); color:inherit; }
.chad-mega-prod img{ width:100%; height:78px; object-fit:contain; margin-bottom:6px; }
.chad-mega-prod .nm{ font-size:12px; color:#42506e; line-height:1.3; display:block; min-height:30px; }
.chad-mega-prod .pr{ font-size:13px; font-weight:800; color:var(--cu-navy); font-family:var(--font-head); }

/* ---------- Checkout cross-sell (Frequently bought together) ---------- */
.chad-xsell{ background:linear-gradient(135deg,#f8faff,#fff); border:1.5px solid #eef1f8; border-radius:16px; padding:16px; margin:14px 0 20px; box-shadow:0 8px 22px rgba(27,42,91,.07); position:relative; overflow:hidden; }
.chad-xsell::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--cu-navy),var(--cu-gold),#0B916A); border-radius:16px 16px 0 0; }
.chad-xsell-title{ font-family:var(--font-head); font-weight:800; color:var(--cu-navy); margin-bottom:12px; }
.chad-xsell-title small{ color:#8a93ad; font-weight:500; }
.chad-xsell-carousel-wrap{ position:relative; }
.chad-xsell-arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:30px; height:30px; border-radius:50%; border:1.5px solid #eef1f8; background:rgba(255,255,255,.95); color:var(--cu-navy); display:grid; place-items:center; cursor:pointer; box-shadow:0 4px 12px rgba(20,30,60,.12); transition:.2s; font-size:12px; }
.chad-xsell-arrow:hover{ background:var(--cu-navy); color:#fff; border-color:var(--cu-navy); }
.chad-xsell-prev{ left:-6px; }
.chad-xsell-next{ right:-6px; }
.chad-xsell-row{ display:flex; gap:12px; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x mandatory; scroll-behavior:smooth; -ms-overflow-style:none; scrollbar-width:none; }
.chad-xsell-row::-webkit-scrollbar{ display:none; }
.chad-xsell-card{ flex:0 0 150px; scroll-snap-align:start; border:1.5px solid #eef1f8; border-radius:12px; padding:10px; text-align:center; transition:.18s; background:#fff; }
.chad-xsell-card:hover{ border-color:var(--cu-gold); box-shadow:0 8px 18px rgba(27,42,91,.12); transform:translateY(-2px); }
.chad-xsell-card img{ width:100%; height:90px; object-fit:contain; margin-bottom:8px; }
.chad-xsell-card .xs-name{ font-size:12.5px; color:#42506e; line-height:1.3; min-height:32px; }
.chad-xsell-card .xs-price{ font-weight:800; color:var(--cu-navy); font-family:var(--font-head); margin:4px 0 8px; }
.chad-xsell-card .xs-price s{ color:#aaa; font-size:12px; font-weight:500; margin-left:3px; }
.chad-xsell-card .xs-add{ width:100%; background:linear-gradient(135deg,var(--cu-navy),var(--cu-navy2)); color:var(--cu-gold); border:0; border-radius:9px; padding:8px; font-weight:700; font-family:var(--font-head); font-size:13px; }
.chad-xsell-card .xs-add:hover{ filter:brightness(1.08); }
.chad-xsell-card .xs-add:disabled{ opacity:.6; }

/* ---------- Add-to-cart Upsell popup ---------- */
.chad-up-modal{ position:fixed; inset:0; background:rgba(15,22,45,.55); z-index:99999; display:none; align-items:center; justify-content:center; padding:16px; }
.chad-up-modal.open{ display:flex; }
.chad-up-box{ background:#fff; border-radius:18px; max-width:680px; width:100%; max-height:88vh; overflow:auto; padding:22px; position:relative; animation:chadUpIn .25s ease; }
@keyframes chadUpIn{ from{transform:translateY(20px);opacity:0} to{transform:none;opacity:1} }
.chad-up-x{ position:absolute; right:14px; top:8px; border:0; background:none; font-size:30px; color:#9aa4c0; line-height:1; cursor:pointer; }
.chad-up-head{ font-family:var(--font-head); font-weight:800; color:#1faa59; font-size:18px; margin-bottom:14px; }
.chad-up-head span{ display:block; color:var(--cu-navy); font-size:15px; }
.chad-up-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
@media(max-width:560px){ .chad-up-grid{ grid-template-columns:repeat(2,1fr); } }
.chad-up-card{ border:1px solid #eef1f8; border-radius:12px; padding:10px; text-align:center; }
.chad-up-card img{ width:100%; height:88px; object-fit:contain; margin-bottom:6px; }
.chad-up-card .up-name{ font-size:12px; color:#42506e; min-height:30px; line-height:1.3; }
.chad-up-card .up-price{ font-weight:800; color:var(--cu-navy); font-family:var(--font-head); margin:4px 0 8px; }
.chad-up-card .up-price s{ color:#aaa; font-size:11px; font-weight:500; margin-left:3px; }
.chad-up-card .up-add{ width:100%; background:linear-gradient(135deg,var(--cu-navy),var(--cu-navy2)); color:var(--cu-gold); border:0; border-radius:9px; padding:8px; font-weight:700; font-family:var(--font-head); font-size:13px; cursor:pointer; }
.chad-up-foot{ display:flex; gap:10px; margin-top:18px; }
.chad-up-foot .up-continue{ flex:1; background:#eef1f8; color:var(--cu-navy); border:0; border-radius:10px; padding:13px; font-weight:700; font-family:var(--font-head); cursor:pointer; }
.chad-up-foot .up-checkout{ flex:1; background:linear-gradient(135deg,var(--cu-gold),#caa00f); color:var(--cu-navy); text-align:center; border-radius:10px; padding:13px; font-weight:800; font-family:var(--font-head); text-decoration:none; }

/* ---------- Buy-together bundle ---------- */
.chad-bundle{ background:#fff; border:2px dashed var(--cu-gold); border-radius:16px; padding:18px; margin:18px 0; box-shadow:0 8px 22px rgba(27,42,91,.08); }
.chad-bundle-title{ font-family:var(--font-head); font-weight:800; color:var(--cu-navy); margin-bottom:14px; }
.chad-bundle-title .b-badge{ background:linear-gradient(135deg,var(--cu-gold),#caa00f); color:var(--cu-navy); border-radius:20px; padding:3px 12px; font-size:13px; margin-left:6px; }
.chad-bundle-items{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.chad-bundle-item{ display:flex; align-items:center; gap:8px; border:1px solid #eef1f8; border-radius:12px; padding:8px 12px; cursor:pointer; position:relative; }
.chad-bundle-item.main{ border-color:var(--cu-navy); background:#f6f8fd; }
.chad-bundle-item .plus{ position:absolute; left:-13px; top:50%; transform:translateY(-50%); color:var(--cu-gold); font-weight:800; font-size:20px; }
.chad-bundle-item img{ width:46px; height:46px; object-fit:contain; }
.chad-bundle-item .bn{ font-size:13px; color:#42506e; max-width:150px; line-height:1.25; }
.chad-bundle-item .bn em{ color:#9aa4c0; font-style:normal; font-size:11px; display:block; }
.chad-bundle-item .bp{ color:var(--cu-navy); font-family:var(--font-head); white-space:nowrap; }
.chad-bundle-item .bp s{ color:#aaa; font-size:11px; font-weight:500; margin-left:3px; }
.chad-bundle-foot{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin-top:16px; padding-top:14px; border-top:1px dashed #e3e8f3; }
.bundle-total-wrap{ font-size:16px; color:#42506e; }
.bundle-total-wrap #bundleTotal{ color:var(--cu-navy); font-family:var(--font-head); font-size:22px; }
.bundle-total-wrap #bundleSave{ color:#1faa59; font-weight:700; font-size:14px; }
.bundle-add-btn{ background:linear-gradient(135deg,var(--cu-navy),var(--cu-navy2)); color:var(--cu-gold); border:0; border-radius:12px; padding:14px 26px; font-weight:800; font-family:var(--font-head); font-size:16px; box-shadow:0 8px 20px rgba(27,42,91,.3); }
.bundle-add-btn:hover{ filter:brightness(1.08); }

/* ---------- Professional footer ---------- */
.chad-footer{ background:linear-gradient(180deg,var(--cu-navy),#16224a); color:rgba(255,255,255,.82); padding:44px 0 0; font-family:var(--font-body); margin-top:30px; }
.chad-foot-logo{ height:54px; width:auto; background:#fff; border-radius:10px; padding:5px 10px; margin-bottom:14px; }
.chad-foot-about{ font-size:13.5px; line-height:1.7; color:rgba(255,255,255,.7); max-width:340px; }
.chad-foot-social{ display:flex; gap:9px; margin-top:14px; }
.chad-foot-social a{ width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.1); color:#fff; transition:.2s; }
.chad-foot-social a:hover{ background:var(--cu-gold); color:var(--cu-navy); transform:translateY(-3px); }
.chad-footer h5{ font-family:var(--font-head); color:#fff; font-weight:700; font-size:16px; margin-bottom:16px; position:relative; padding-bottom:8px; }
.chad-footer h5::after{ content:""; position:absolute; left:0; bottom:0; width:32px; height:3px; border-radius:3px; background:var(--cu-gold); }
.chad-foot-links{ list-style:none; padding:0; margin:0; }
.chad-foot-links li{ margin-bottom:9px; }
.chad-foot-links a{ color:rgba(255,255,255,.72); text-decoration:none; font-size:13.5px; transition:.18s; }
.chad-foot-links a:hover{ color:var(--cu-gold); padding-left:4px; }
.chad-foot-contact{ list-style:none; padding:0; margin:0 0 14px; }
.chad-foot-contact li{ display:flex; gap:9px; margin-bottom:10px; font-size:13.5px; color:rgba(255,255,255,.78); }
.chad-foot-contact li i{ color:var(--cu-gold); margin-top:3px; }
.chad-foot-contact a{ color:inherit; text-decoration:none; }
.chad-foot-pay span{ font-size:12px; color:rgba(255,255,255,.55); display:block; margin-bottom:6px; }
.chad-foot-pay b{ display:inline-block; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.15); color:#fff; border-radius:7px; padding:4px 10px; font-size:12px; font-weight:600; margin:0 4px 4px 0; }
.chad-foot-bottom{ margin-top:36px; border-top:1px solid rgba(255,255,255,.1); padding:16px 0; font-size:12.5px; color:rgba(255,255,255,.6); }
.chad-foot-bottom a{ color:var(--cu-gold); text-decoration:none; }
