/* Kalantor Book Shop — দোকানের মূল স্টাইল (v3.187 থেকে আলাদা ফাইলে; আগে প্রতিটা পেজে inline ছিল) */
  :root{
    --ink:#101c2c;
    --ink-2:#182842;
    --ink-3:#1f3352;
    --gold:#c8992e;
    --gold-light:#e8c766;
    --cream:#f6efdd;
    --paper:#fbf6ea;
    --paper-line:#e6dcc2;
    --teal:#2d6a5f;
    --teal-dark:#1f4d45;
    --danger:#a33a2c;
    --teal-text:#7fd1bd;
    --line:rgba(255,255,255,.09);
    --muted:#93a0b3;
    --muted-2:#c7d0de;
    --shadow: 0 18px 40px -18px rgba(8,14,24,0.55);
    --radius:14px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--ink);
    color:var(--cream);
    font-family:'SolaimanLipi','Kalpurush', sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.serif{font-family:'SolaimanLipi','Kalpurush', serif; margin:0;}
  img{max-width:100%; display:block;}
  a{color:inherit; text-decoration:none;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 16px;}

  /* ---------- header ---------- */
  .site-head{background:var(--ink); color:var(--cream); padding:12px 0;}
  .head-row{display:flex; align-items:center; gap:18px;}
  .brand{display:flex; align-items:center; gap:10px; flex:0 0 auto;}
  .brand-logo{height:38px; width:auto;}
  .brand-lipi{height:38px; width:auto;}
  .brand-mark{
    width:44px; height:44px; border-radius:50%;
    background:linear-gradient(145deg,var(--gold),var(--gold-light));
    display:flex; align-items:center; justify-content:center;
    color:var(--ink); font-family:'SolaimanLipi','Kalpurush',serif; font-weight:800; font-size:20px;
  }
  .brand-name{font-family:'SolaimanLipi','Kalpurush',serif; font-weight:800; font-size:20px; line-height:1.1;}
  .brand-sub{font-size:11px; opacity:.7; letter-spacing:.04em;}

  .searchbox{flex:1 1 auto; position:relative; min-width:0;}
  .searchbox input{
    width:100%; height:38px; padding:0 42px 0 16px; border-radius:999px;
    border:1px solid rgba(246,239,221,.18); background:var(--ink-3); color:var(--cream);
    font-family:inherit; font-size:16px;
  }
  .searchbox input::placeholder{color:rgba(246,239,221,.5);}
  .searchbox button{
    position:absolute; right:4px; top:4px; width:30px; height:30px; border:0; cursor:pointer;
    border-radius:50%; background:var(--gold); color:var(--ink); font-size:14px;
  }

  .head-actions{display:flex; gap:7px; flex:0 0 auto;}
  .icon-btn{
    position:relative; width:38px; height:38px; border-radius:50%;
    background:var(--ink-3); border:1px solid rgba(246,239,221,.14);
    display:flex; align-items:center; justify-content:center; font-size:16px; cursor:pointer;
  }
  .icon-btn .badge{
    position:absolute; top:-4px; right:-4px; min-width:17px; height:17px; padding:0 4px;
    border-radius:999px; background:var(--gold); color:var(--ink);
    font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center;
  }
  .icon-btn .badge:empty, .icon-btn .badge[data-count="0"]{display:none;}

  /* ---------- অ্যানাউন্সমেন্ট বার ---------- */
  .announce-bar{background:linear-gradient(90deg,var(--gold),var(--gold-light,#e8c766)); color:var(--ink); text-align:center; font-weight:700; font-size:14.5px; line-height:1.45;}
  .announce-bar .wrap{padding-top:8px; padding-bottom:8px;}
  .announce-bar a{color:inherit; text-decoration:underline; text-underline-offset:3px;}
  .announce-bar a:hover{text-decoration:none;}

  /* ---------- sticky category bar ---------- */
  .catbar{
    position:sticky; top:0; z-index:40;
    background:var(--ink-2); border-top:1px solid color-mix(in srgb, var(--gold) 25%, transparent);
    box-shadow:0 6px 18px -12px rgba(0,0,0,.7);
  }
  .catbar .wrap{display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; justify-content:center; justify-content:safe center;}
  .catbar .wrap::-webkit-scrollbar{display:none;}
  .catbar a{
    white-space:nowrap; padding:12px 14px; color:var(--cream);
    font-weight:600; font-size:15px; border-bottom:3px solid transparent;
  }
  .catbar a:hover, .catbar a.on{color:var(--gold-light); border-bottom-color:var(--gold);}
  /* v3.177: "অফার" মেনুর লাল ব্যাজ (Upto 70% OFF) — ডেস্কটপে লেখার নিচে, মোবাইলে লেখার পাশে */
  .catbar .nav-badge{display:inline-block; background:#e11d2e; color:#fff; font:700 10.5px/1 system-ui,-apple-system,'Segoe UI',Arial,sans-serif; letter-spacing:.2px; padding:3px 7px; border-radius:999px; white-space:nowrap; pointer-events:none; box-shadow:0 1px 3px rgba(0,0,0,.35);}
  @media (min-width:821px){
    .catbar.has-badge .nav-list a{position:relative; padding-top:10px; padding-bottom:22px;}
    .catbar.has-badge .nav-badge{position:absolute; left:50%; bottom:5px; transform:translateX(-50%);}
  }
  @media (max-width:820px){
    .catbar .nav-badge{margin-left:8px; vertical-align:middle; position:relative; top:-1px;}
  }
  /* মোবাইল/ট্যাবলেট: মেনু বার আঙুলে টেনে স্ক্রল করা যায় (ক্যারোসেল)। শুরু থেকে সাজানো, তাই প্রথম আইটেম আর কাটা পড়ে না। */
  @media (max-width:820px){
    .catbar .wrap{
      justify-content:flex-start; gap:2px; padding:0 20px;
      -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain;
      scroll-snap-type:x mandatory; scroll-behavior:smooth; touch-action:pan-x pan-y;
      -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%);
              mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%);
    }
    .catbar a{flex:0 0 auto; scroll-snap-align:center; padding:12px 13px;}
  }

  /* ---------- মোবাইল মেনু টগল (v3.47) ---------- */
  .catbar .nav-list{display:contents;}
  .catbar .nav-toggle, .catbar .nav-profile, .catbar .nt-cur, .catbar .nl-head, .catbar .nav-dim{display:none;}
  @media (max-width:820px){
    .catbar .wrap{
      display:flex; align-items:center; gap:8px; overflow:visible; padding:0 12px; position:relative;
      -webkit-mask-image:none; mask-image:none; scroll-snap-type:none;
    }
    .catbar .nav-toggle{
      display:flex; align-items:center; gap:10px; flex:0 0 auto; width:auto; min-height:50px; padding:8px 4px 8px 6px;
      background:none; border:0; color:var(--cream); font:inherit; font-weight:700; font-size:16px; cursor:pointer; text-align:left;
    }
    .nav-toggle .nt-bars{position:relative; flex:none; width:22px; height:16px;}
    .nav-toggle .nt-bars i{position:absolute; left:0; right:0; height:2px; border-radius:2px; background:var(--gold-light); transition:transform .2s ease, opacity .2s ease, top .2s ease;}
    .nav-toggle .nt-bars i:nth-child(1){top:0;}
    .nav-toggle .nt-bars i:nth-child(2){top:7px;}
    .nav-toggle .nt-bars i:nth-child(3){top:14px;}
    .nav-toggle[aria-expanded="true"] .nt-bars i:nth-child(1){top:7px; transform:rotate(45deg);}
    .nav-toggle[aria-expanded="true"] .nt-bars i:nth-child(2){opacity:0;}
    .nav-toggle[aria-expanded="true"] .nt-bars i:nth-child(3){top:7px; transform:rotate(-45deg);}
    .catbar .nt-cur{display:block; flex:0 0 auto; margin-left:auto; max-width:34%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:600; font-size:14px; color:var(--gold-light); cursor:pointer; padding:8px 2px;}
    /* v3.132: সার্চবার মোবাইলে মেনু বারের মাঝখানে (মেনু | সার্চ | বর্তমান পেজ) */
    .catbar .searchbox{order:0; flex:1 1 0; min-width:0; position:relative;}
    .catbar .searchbox input{height:38px; padding:6px 40px 6px 14px; font-size:16px;}
    .catbar .searchbox input::placeholder{font-size:13.5px;}
    .catbar .searchbox button{width:30px; height:30px; top:4px; right:4px; font-size:14px;}
    .catbar .searchbox .sugg{left:var(--sg-l,0); right:auto; width:calc(100vw - 24px); top:calc(100% + 8px);}
    /* v3.195: মেনু = বাম থেকে স্লাইড-ইন ড্রয়ার (স্ক্রিনের ~৭৭%), পেছনে আবছা পর্দা; প্রোফাইল কার্ড নিচে আটকানো */
    .catbar.open{z-index:200;}
    .catbar .nav-list{
      display:flex; flex-direction:column; position:fixed; left:0; top:0; bottom:0; right:auto;
      width:min(300px,78vw); max-height:none !important; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
      padding:0; margin:0; background:var(--ink-2); border:0; border-right:2px solid var(--gold);
      box-shadow:14px 0 34px rgba(0,0,0,.55); z-index:201;
      transform:translateX(-104%); visibility:hidden; transition:transform .25s ease, visibility 0s linear .25s;
    }
    .catbar.open .nav-list{transform:none; visibility:visible; transition:transform .25s ease, visibility 0s;}
    .catbar .nav-dim{
      display:block; position:fixed; inset:0; z-index:200; background:rgba(4,8,16,.62);
      opacity:0; visibility:hidden; transition:opacity .25s ease, visibility 0s linear .25s;
    }
    .catbar.open .nav-dim{opacity:1; visibility:visible; transition:opacity .25s ease, visibility 0s;}
    .catbar .nl-head{
      display:flex; align-items:center; gap:10px; flex:none; position:sticky; top:0; z-index:1;
      padding:14px 14px; background:var(--ink-2); border-bottom:1px solid rgba(246,239,221,.1);
    }
    .nl-head .nl-logo{height:30px; width:auto; flex:none;}
    .nl-head .nl-lipi{height:30px; width:auto; min-width:0; max-width:calc(100% - 100px); object-fit:contain; object-position:left center; flex:0 1 auto;}
    .nl-head .nl-sp{flex:1;}
    .nl-head .nl-name{flex:1; min-width:0; font-weight:800; font-size:17px; color:var(--cream); line-height:1.2;}
    .nl-head .nl-close{flex:none; width:40px; height:40px; border:0; background:none; color:var(--gold-light); font-size:22px; line-height:1; cursor:pointer;}
    .catbar .nav-list a{
      flex:none; display:flex; align-items:center; min-height:48px; padding:0 18px; font-size:16px; white-space:normal;
      border-bottom:1px solid rgba(246,239,221,.07); border-left:3px solid transparent;
    }
    .catbar .nav-list a:hover, .catbar .nav-list a.on{color:var(--gold-light); border-bottom-color:rgba(246,239,221,.07); border-left-color:var(--gold); background:color-mix(in srgb, var(--gold) 12%, transparent);}
    /* প্রোফাইল — ড্রয়ারের একেবারে নিচে (তালিকা বড় হলে স্ক্রল করেও নিচে আটকে থাকে) */
    .catbar .nav-list a.nav-profile{
      display:flex; align-items:center; gap:12px; margin:auto 12px 12px; padding:12px 10px; position:sticky; bottom:12px;
      border:1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius:14px; background:#101c2c; color:var(--gold-light);
    }
    .nav-profile .np-av{flex:none; width:36px; height:36px; border-radius:50%; overflow:hidden; background:var(--gold); color:var(--ink); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px;}
    .nav-profile .np-av img{width:100%; height:100%; object-fit:cover;}
    .nav-profile .np-tx{display:flex; flex-direction:column; min-width:0; line-height:1.3;}
    .nav-profile .np-tx b{font-size:15.5px; color:var(--cream);}
    .nav-profile .np-tx small{font-size:12.5px; color:var(--muted-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
  }
  body.nav-open-lock{overflow:hidden;}
  @media (prefers-reduced-motion:reduce){ .catbar .nav-list, .catbar .nav-dim{transition:none !important;} }

  /* ---------- স্ক্রল করলে মেনু বারে লোগো + নামলিপি (v3.49) ---------- */
  .catbar .nb-brand{display:none;}
  @media (max-width:820px){
    .catbar .nb-brand{
      display:none; align-items:center; justify-content:center; gap:7px;
      position:absolute; left:50%; top:50%; max-width:40%;
      transform:translate(-50%,-38%); opacity:0; visibility:hidden; pointer-events:none;
      transition:opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
    }
    .catbar.stuck .nb-brand{
      opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%,-50%);
      transition:opacity .22s ease, transform .22s ease;
    }
    .catbar .nb-logo{height:26px; width:auto; flex:none;}
    .catbar .nb-lipi{height:26px; width:auto; min-width:0; object-fit:contain; object-position:left center;}
  }
  @media (max-width:350px){ .catbar .nb-lipi{display:none;} }
  @media (prefers-reduced-motion:reduce){ .catbar .nb-brand, .catbar.stuck .nb-brand{transition:none;} }

  /* ---------- hero slider ---------- */
  .hero{background:var(--ink); padding:22px 0 30px;}
  .slider{position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);}
  .slides{display:flex; transition:transform .45s ease;}
  .slide{min-width:100%; position:relative;}
  .slide img{width:100%; aspect-ratio:21/8; object-fit:contain; background:var(--ink-3);}
  /* কাস্টম ব্যানার: পুরো স্লাইড ভরে বসে। height:auto না দিলে WordPress-এর height="…" অ্যাট্রিবিউট অনুপাত ভেঙে দেয়। */
  .slide-banner img{height:auto; object-fit:cover;}
  .slide-empty{
    aspect-ratio:21/8; display:flex; flex-direction:column; gap:8px;
    align-items:center; justify-content:center; text-align:center; padding:20px;
    background:linear-gradient(135deg,var(--ink-3),var(--ink)); color:var(--cream);
  }
  .slide-empty h2{font-size:clamp(20px,3.4vw,34px); color:var(--gold-light);}
  .sl-nav{
    position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px;
    border:0; border-radius:50%; background:rgba(16,28,44,.72); color:var(--cream);
    font-size:18px; cursor:pointer;
  }
  .sl-nav.prev{left:10px;} .sl-nav.next{right:10px;}
  .sl-dots{position:absolute; bottom:10px; left:0; right:0; display:flex; justify-content:center; gap:6px;}
  .sl-dots span,.sl-dots button{width:8px; height:8px; padding:0; border:0; border-radius:50%; background:rgba(246,239,221,.45); cursor:pointer; position:relative;}
  .sl-dots button::after{content:""; position:absolute; inset:-8px;}
  .sl-dots span.on,.sl-dots button.on{background:var(--gold);}

  /* ---------- sections ---------- */
  .section{padding:34px 0; scroll-margin-top:64px;}
  .section.shelf-alt{background:linear-gradient(180deg,color-mix(in srgb, var(--gold) 5%, transparent),color-mix(in srgb, var(--gold) 0%, transparent) 60%),var(--ink-2);}
  .sec-head{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:18px;}
  .sec-head h2{font-size:clamp(20px,2.6vw,27px); position:relative; padding-left:14px;}
  .sec-head h2::before{
    content:""; position:absolute; left:0; top:12%; bottom:12%; width:4px;
    border-radius:4px; background:var(--gold);
  }
  .sec-head a{color:var(--gold-light); font-weight:600; font-size:15px; white-space:nowrap;}

  /* ---------- বিষয় অনুযায়ী খুঁজুন (subject quick-nav) ---------- */
  .subject-nav{padding-top:8px;}
  .subject-grid{display:grid; gap:12px; grid-template-columns:repeat(auto-fill,minmax(150px,1fr));}
  .subject-card{
    position:relative; overflow:hidden; border-radius:12px; aspect-ratio:4/3;
    display:flex; flex-direction:column; justify-content:flex-end; padding:12px;
    border:1px solid var(--line); background:#1c2c46 center/cover no-repeat;
  }
  .subject-card::before{
    content:""; position:absolute; inset:0;
    background:linear-gradient(180deg,rgba(16,28,44,.10) 0%,rgba(16,28,44,.50) 38%,rgba(16,28,44,.88) 72%,rgba(16,28,44,.96) 100%);
  }
  .subject-card[style*="--sc-bg"]{background-image:var(--sc-bg);}
  .subject-card-name{position:relative; z-index:1; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.65), 0 0 10px rgba(0,0,0,.45); font-family:'SolaimanLipi','Kalpurush',serif; font-weight:700; font-size:15px; line-height:1.35;}
  .subject-card:hover{border-color:var(--gold);}
  .subject-more-btn, .people-more-btn, .shelf-more-btn{display:none;}
  .grid.people-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));}
  .people-card{padding:18px; text-align:center;}
  .people-pic{display:block; margin:0 auto 10px; width:84px; height:84px; border-radius:50%; object-fit:cover; border:2px solid var(--gold);}
  .people-initial{margin:0 auto 10px; width:84px; height:84px; font-size:32px;}
  .people-name{font-size:17px;}
  @media (max-width:640px){
    .subject-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px;}
    .subject-grid:not(.is-open) .subject-more{display:none;}
    .shelf-grid.is-collapsible:not(.is-open) > :nth-child(n+7){display:none;}
    .shelf-more-btn{display:block;}
    .subject-more-btn, .people-more-btn, .shelf-more-btn{
      margin:14px auto 0; padding:10px 26px; border-radius:999px;
      border:1px solid var(--gold); background:transparent; color:var(--gold-light); cursor:pointer;
      font-family:'SolaimanLipi','Kalpurush',serif; font-weight:700; font-size:15px; line-height:1.3;
    }
    .subject-more-btn{display:block;}
    .subject-more-btn:hover, .people-more-btn:hover, .shelf-more-btn:hover{background:rgba(201,161,59,.12);}
    .grid.people-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px;}
    .people-card{padding:14px 8px;}
    .people-pic, .people-initial{width:72px; height:72px;}
    .people-initial{font-size:28px;}
    .people-name{font-size:15px; line-height:1.4; display:block; overflow-wrap:anywhere;}
    .people-grid.is-collapsed .people-more{display:none;}
    .people-grid.is-collapsed ~ .people-more-btn, .people-grid.is-open ~ .people-more-btn{display:block;}
    .people-grid.is-collapsed ~ .people-pager{display:none !important;}
  }

  /* ---------- আমাদের লেখকবৃন্দ (authors carousel) ---------- */
  .author-scroll-wrap{position:relative;}
  .author-scroll{
    display:flex; gap:16px; overflow-x:auto; scroll-behavior:smooth; padding:4px 2px 10px;
    scrollbar-width:none;
  }
  .author-scroll::-webkit-scrollbar{display:none;}
  .author-chip{
    flex:0 0 auto; width:104px; display:flex; flex-direction:column; align-items:center; gap:8px;
    text-align:center; padding:12px 8px; border-radius:14px; border:1px solid var(--line);
    background:var(--ink-2); transition:transform .18s ease, border-color .18s ease;
  }
  .author-chip:hover{transform:translateY(-3px); border-color:var(--gold);}
  .author-chip.no-link{cursor:default;}
  .author-chip.no-link:hover{transform:none; border-color:var(--line);}
  .author-chip-pic{
    width:72px; height:72px; border-radius:50%; overflow:hidden; background:var(--ink-3);
    border:2px solid var(--gold); display:flex; align-items:center; justify-content:center; flex:0 0 auto;
  }
  .author-chip-pic img{width:100%; height:100%; object-fit:cover;}
  .author-chip-initial{font-family:'SolaimanLipi','Kalpurush',serif; font-weight:800; font-size:26px; color:var(--gold-light);}
  .author-chip-name{font-size:13px; font-weight:600; color:var(--cream); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
  .author-nav{
    position:absolute; top:38px; width:36px; height:36px; border-radius:50%; border:0; cursor:pointer;
    background:rgba(16,28,44,.82); color:var(--cream); font-size:18px; line-height:1; z-index:2;
    box-shadow:0 4px 10px -4px rgba(0,0,0,.6);
  }
  .author-nav.prev{left:-6px;}
  .author-nav.next{right:-6px;}
  @media (max-width:640px){
    .author-nav{display:none;}
  }

  /* ---------- book grid ---------- */
  /* v3.235: বড় স্ক্রিনে এক সারিতে ৫টা বই; ১১০০px-এর নিচে ৪টা; ৮২০px-এর নিচে ২টা (নিচের নিয়মে) */
  .grid{display:grid; gap:16px; grid-template-columns:repeat(5,minmax(0,1fr));}
  @media (max-width:1100px){
    .grid{grid-template-columns:repeat(4,minmax(0,1fr));}
  }
  .card{
    background:var(--ink-2); border:1px solid var(--line); border-radius:16px; padding:14px; gap:10px;
    box-shadow:var(--shadow);
    overflow:hidden; display:flex; flex-direction:column; position:relative;
    transition:transform .18s ease, box-shadow .18s ease;
  }
  .card:hover{transform:translateY(-3px); box-shadow:var(--shadow);}
  .card-cover{position:relative; background:#1c2c46; border-radius:8px; overflow:hidden; border:1px solid rgba(255,255,255,.1);}
  .card-cover img{width:100%; height:auto; aspect-ratio:5.5/8.5; object-fit:contain;}
  .card-cover .noimg{
    aspect-ratio:5.5/8.5; display:flex; align-items:center; justify-content:center;
    color:var(--cream); opacity:.3; font-family:'SolaimanLipi','Kalpurush',serif; font-size:40px;
  }
  .tags{position:absolute; top:8px; left:8px; display:flex; flex-direction:column; gap:5px; align-items:flex-start;}
  .tag{
    font-size:11px; font-weight:700; padding:3px 8px; border-radius:999px;
    background:var(--gold); color:var(--ink);
  }
  /* discount shown as a round chip, same size as the wishlist button */
  .tag.off-badge{
    width:38px; height:38px; padding:0; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:12.5px; font-weight:800; letter-spacing:-.02em;
    background:var(--gold); color:var(--ink);
    box-shadow:0 4px 10px -4px rgba(0,0,0,.6);
  }
  .tag.teal{background:var(--teal); color:var(--cream);}
  .tag.out{background:var(--danger); color:#fff;}
  /* v3.255: স্টক শেষ বইয়ের কভারে "Out of Stock" ফিতা; কভার ঝাপসা */
  .card.is-out .card-cover > a img, .card.is-out .card-cover > a .noimg{opacity:.45; filter:grayscale(.5);}
  .out-ribbon{
    position:absolute; left:0; right:0; top:50%; transform:translateY(-50%);
    background:var(--danger); color:#fff; text-align:center;
    font-family:'Hind Siliguri',sans-serif; font-size:15px; font-weight:800; letter-spacing:.02em;
    padding:7px 6px; box-shadow:0 6px 14px -6px rgba(0,0,0,.5); pointer-events:none; z-index:2;
  }
  .card.is-out .card-actions .btn[disabled]{opacity:1; background:#e4e4e4; color:#7a7a7a; border-color:#d4d4d4;}
  .wish{
    position:absolute; top:8px; right:8px; width:36px; height:36px; border:0; cursor:pointer;
    border-radius:50%; background:rgba(255,255,255,.92); font-size:16px; line-height:1;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 4px 10px -4px rgba(0,0,0,.6);
  }
  .wish.on{background:var(--gold); color:var(--ink);}
  /* v3.196: একই ধরনের লাইন-SVG আইকন (inc/icons.php) */
  .kic{fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; flex:none; vertical-align:-0.18em;}
  .icon-btn .kic, .wish .kic, .pf-mi .ic .kic, .searchbox button .kic{display:block;}
  .wish.on .kic, .wish-ico.on .kic, .icon-btn .kic-heart.on{fill:currentColor;}
  .socials a svg.kic{fill:none; width:18px; height:18px;}
  .hot-btn .kic{margin-right:4px; vertical-align:-3px;}
  .tick .kic{display:block;}
  .pf-th .kic{opacity:.6;}

  /* "কিছু অংশ পড়ে দেখুন" (শুধু বইয়ের পেজে) — কভারের ঠিক ওপরে (কভারের বাইরে), সোনালি রঙে। */
  .sample-flag{
    display:flex; align-items:center; justify-content:center; gap:6px;
    width:100%; border:0; background:transparent; cursor:pointer;
    font-family:'SolaimanLipi','Kalpurush',serif; font-weight:700;
    color:var(--gold-light); line-height:1.2;
  }
  .sample-flag:hover{color:var(--gold);}
  .sample-flag .arrow{display:inline-flex; align-items:center; color:var(--gold,#d4a72c); animation:sampleFlagBounce 1.3s ease-in-out infinite;}
  .sample-flag .arrow svg{display:block;}
  @keyframes sampleFlagBounce{0%,100%{transform:translateY(0);} 50%{transform:translateY(3px);}}
  .book-top .sample-flag{padding:0 0 10px; font-size:15px;}

  .card-body{padding:0; display:flex; flex-direction:column; gap:5px; flex:1;}
  .card-title{font-family:'SolaimanLipi','Kalpurush',serif; font-weight:700; font-size:15.5px; line-height:1.4; color:var(--cream);}
  .kbt-sub{font-size:12px; font-weight:400; line-height:1.4; color:var(--muted,#93a0b3);}
  .kbt-sub--lg{font-size:15px; margin:-2px 0 6px;}
  .card-author{font-size:12.5px; color:#a9b4c5;}
  .card-author a{color:inherit; text-decoration:none; position:relative; z-index:2;}
  .card-author a:hover{color:var(--gold,#d4a72c); text-decoration:underline;}
  .card-pages{font-size:12px; color:var(--muted);}
  .card-desc{margin-top:4px; color:var(--muted-2); font-size:12.5px; line-height:1.65; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden;}
  .price-row{display:flex; align-items:baseline; gap:8px; margin-top:auto; padding-top:6px; flex-direction:row-reverse; justify-content:flex-end;}
  .price{font-weight:800; font-size:17px; color:var(--gold-light); font-family:'SolaimanLipi','Kalpurush',serif;}
  .mrp{font-size:12.5px; color:#8592a8; text-decoration:line-through;}
  .off{font-size:12px; font-weight:700; color:#ff9b8a;}
  .card-actions{display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:0;}
  .read-btn{grid-column:1 / -1; display:flex; align-items:center; justify-content:center; gap:6px; width:fit-content; margin:4px auto 0; background:rgba(45,106,95,.16); border:1.5px solid var(--teal); color:#bdeee0; font-family:inherit; font-size:12.5px; font-weight:700; border-radius:10px; padding:8px 14px; cursor:pointer;}
  .read-btn:hover{background:rgba(45,106,95,.3);}
  .card-actions .full{grid-column:1 / -1;}

  .btn{
    border:0; cursor:pointer; border-radius:9px; padding:9px 10px; font-family:inherit;
    font-size:14px; font-weight:600; text-align:center; display:block; width:100%;
  }
  .btn-gold{background:var(--gold); color:var(--ink);}
  .btn-gold:hover{background:var(--gold-light);}
  .btn-ink{background:var(--ink-3); color:var(--cream); border:1px solid rgba(246,239,221,.16);}
  .btn-ink:hover{background:#28426a;}
  .btn-teal{background:var(--teal); color:var(--cream);}
  .btn-teal.on{background:var(--gold); color:var(--ink);}
  .btn-ghost{background:transparent; color:var(--cream); border:1px solid rgba(246,239,221,.22);}
  .btn[disabled]{opacity:.5; cursor:not-allowed;}

  /* ---------- single book ---------- */
  .book-top{display:grid; grid-template-columns:minmax(0,340px) minmax(0,1fr); gap:30px; padding-top:30px; padding-bottom:30px; /* বাঁ-ডান প্যাডিং .wrap থেকেই আসে */}
  .book-top > *{min-width:0; overflow-wrap:anywhere;}
  .book-cover{position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); background:#1c2c46; border:1px solid rgba(255,255,255,.1);}
  .book-title{font-size:clamp(23px,3.4vw,33px); line-height:1.3;}
  .book-author{color:#a9b4c5; font-size:17px; margin-top:6px;}
  .meta-table{width:100%; border-collapse:collapse; margin:18px 0; font-size:15px;}
  .meta-table td{padding:8px 0; border-bottom:1px dashed var(--line);}
  .meta-table td:first-child{width:38%; color:var(--muted);}
  .buy-box{
    background:var(--ink-2); border:1px solid var(--line); border-radius:var(--radius);
    padding:16px; margin-top:18px; display:flex; flex-direction:column; gap:10px;
  }
  .qty{display:flex; align-items:center; gap:10px;}
  .qty button{width:34px; height:34px; border-radius:8px; border:1px solid var(--line); background:var(--ink-3); color:var(--cream); font-size:18px; cursor:pointer;}
  .qty .cart-del{width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; padding:0; margin-left:4px; border:1px solid rgba(224,121,107,.45); background:transparent; color:#e0796b; border-radius:8px; cursor:pointer;}
  .qty .cart-del:hover{background:var(--danger); border-color:var(--danger); color:#fff;}
  .qty .cart-del svg{pointer-events:none;}
  .qty input{width:56px; text-align:center; padding:7px; border:1px solid var(--line); border-radius:8px; font-family:inherit; font-size:16px; background:var(--ink-3); color:var(--cream);}
  .buy-row{display:grid; grid-template-columns:1fr 1fr; gap:8px;}
  /* বইয়ের পেজ: পরিমাণ + Add to Cart + Order Now + উইশলিস্ট — কম্পিউটারে এক লাইনে */
  .buy-box.buy-line{display:grid; grid-template-columns:auto auto 1fr 1fr auto; align-items:stretch; gap:8px;}
  /* v3.108: কম্পিউটারে ক্রম = পরিমাণ → উইশলিস্ট → Add to Cart → Order Now → শেয়ার (মোবাইলে নিচের ৬৪০px নিয়মে আলাদা বসে) */
  .buy-box.buy-line .qty{order:1;}
  .buy-box.buy-line .wish-ico{order:2;}
  .buy-box.buy-line .share-wrap{order:5; position:relative; display:flex;}
  .buy-box.buy-line #kbt-addbtn{order:3;}
  .buy-box.buy-line #kbt-buybtn{order:4;}
  .share-ico{width:46px; padding:0 !important; display:inline-flex; align-items:center; justify-content:center;}
  .share-menu{position:absolute; top:calc(100% + 6px); right:0; z-index:30; min-width:170px; background:var(--ink-3); border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); padding:6px; display:flex; flex-direction:column;}
  .share-menu[hidden]{display:none;}
  .share-menu a, .share-menu button{display:block; text-align:left; padding:10px 12px; border-radius:8px; border:0; background:transparent; color:var(--cream); font:inherit; font-size:15px; text-decoration:none; cursor:pointer;}
  .share-menu a:hover, .share-menu button:hover{background:rgba(255,255,255,.08);}
  .buy-box.buy-line .buy-row{display:contents;}
  .buy-box.buy-line .qty{align-self:center;}
  .buy-box.buy-line .btn{padding:11px 10px; white-space:nowrap;}
  .buy-box.buy-line .wish-ico{width:46px; padding:0; font-size:20px; line-height:1;}
  .buy-box.buy-line .qty > span{white-space:nowrap; flex:none;}
  @media (max-width:640px){
    /* মোবাইলে দুই লাইন: ওপরে পরিমাণ (বড় অংশ) + উইশলিস্ট, নিচে দুই বাটন সমান */
    .buy-box.buy-line{grid-template-columns:repeat(6,minmax(0,1fr)); grid-template-areas:"qty qty qty qty wish share" "add add add buy buy buy";}
    .buy-box.buy-line .share-wrap{grid-area:share;}
    .buy-box.buy-line .share-ico{width:100%; height:40px; align-self:center;}
    .buy-box.buy-line .qty{grid-area:qty; gap:8px;}
    .buy-box.buy-line #kbt-addbtn{grid-area:add;}
    .buy-box.buy-line #kbt-buybtn{grid-area:buy;}
    .buy-box.buy-line .wish-ico{grid-area:wish; width:100%; height:40px; align-self:center;}
    .buy-box.buy-line .qty input{width:48px;}
  }
  .page-desc h3{font-size:18px; margin:22px 0 8px; color:var(--gold-light);}
  .page-desc h3:first-child{margin-top:0;}
  .page-desc p{margin:0 0 14px;}
  .page-desc ul, .page-desc ol{margin:0 0 14px; padding-left:22px;}
  .page-desc li{margin-bottom:8px;}
  .page-desc a{color:var(--gold-light); text-decoration:underline;}
  /* ---------- আমাদের সম্পর্কে পেজ (v3.103) ---------- */
  .foot-map{position:relative; display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; margin-left:4px; vertical-align:middle; border-radius:50%; background:rgba(255,255,255,.08); color:var(--gold-light); text-decoration:none; transition:background .15s;}
  .foot-map:hover, .foot-map:focus-visible{background:var(--gold); color:#14171f;}
  .foot-map::after{content:attr(data-tip); position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%); padding:5px 10px; border-radius:6px; background:#0b1220; border:1px solid var(--line); color:var(--cream); font-size:13px; line-height:1.2; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .15s; z-index:20;}
  .foot-map:hover::after, .foot-map:focus-visible::after{opacity:1;}
  .foot-map-frame.small{height:150px;}
  .foot-map-frame{display:block; width:100%; height:190px; border:1px solid var(--line); border-radius:12px; margin-top:10px;}
  .foot-brand{font-size:18px; color:var(--gold-light); margin:0 0 8px;}
  .about-hero{text-align:center; margin:0 0 18px; color:var(--cream); font-size:18px;}
  .about-hero p{margin:0 0 12px;}
  .about-hero p:last-child{margin-bottom:0;}
  .about-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:22px 0;}
  .about-card{border-radius:var(--radius); padding:18px; border:1px solid var(--line); background:var(--ink-3);}
  .about-card h4{margin:12px 0 6px; font-size:18px; color:var(--cream);}
  .about-card p{margin:0; font-size:15px; line-height:1.7;}
  .about-ico{display:inline-flex; width:48px; height:48px; border-radius:12px; align-items:center; justify-content:center; background:rgba(255,255,255,.08);}
  .about-ico svg{width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
  .about-card.c1 .about-ico{color:var(--gold-light);}
  .about-card.c2 .about-ico{color:var(--teal-text);}
  .about-card.c3 .about-ico{color:#f19a9a;}
  .about-card.c4 .about-ico{color:#8db8f5;}
  .about-cta{text-align:center; margin-top:8px; padding:26px 18px; border-radius:var(--radius); background:var(--ink); border:1px solid var(--line);}
  .about-cta h3{margin:0 0 8px; font-size:22px;}
  .about-cta p{margin:0 0 16px;}
  .about-cta .btn{text-decoration:none; display:inline-block;}
  @media (max-width:640px){ .about-grid{grid-template-columns:1fr;} }
  .desc{background:var(--ink-2); border:1px solid var(--line); color:var(--muted-2); border-radius:var(--radius); padding:20px; line-height:1.85; font-size:16px;}

  /* ---------- বইয়ের পেজ: ট্যাব (বই সম্পর্কে / রেটিং / রিভিউ) ---------- */
  .tab-list{display:flex; gap:4px; overflow-x:auto; border-bottom:1px solid var(--line); margin-bottom:16px; scrollbar-width:none; -webkit-overflow-scrolling:touch;}
  .tab-list::-webkit-scrollbar{display:none;}
  .tab-btn{background:none; border:0; border-bottom:3px solid transparent; margin-bottom:-1px; color:var(--muted); padding:12px 18px; font:inherit; font-size:16px; font-weight:700; cursor:pointer; white-space:nowrap;}
  .tab-btn:hover{color:var(--cream);}
  .tab-btn[aria-selected="true"]{color:var(--gold-light); border-bottom-color:var(--gold);}
  .tab-panel[hidden]{display:none;}
  .rv-stars{position:relative; display:inline-block; letter-spacing:2px; line-height:1; white-space:nowrap;}
  .rv-stars-bg{color:rgba(255,255,255,.2);}
  .rv-stars-fg{position:absolute; left:0; top:0; overflow:hidden; color:var(--gold-light);}
  .rv-summary{display:flex; gap:28px; align-items:center; flex-wrap:wrap; background:var(--ink-2); border:1px solid var(--line); border-radius:var(--radius); padding:20px; margin-bottom:14px;}
  .rv-avg{text-align:center; min-width:130px;}
  .rv-avg-num{font-size:46px; font-weight:800; line-height:1.1; color:var(--gold-light);}
  .rv-avg .rv-stars{font-size:20px; margin:4px 0;}
  .rv-avg-cnt{font-size:14px; color:var(--muted);}
  .rv-bars{flex:1; min-width:220px; display:flex; flex-direction:column; gap:7px;}
  .rv-bar{display:grid; grid-template-columns:44px 1fr 28px; gap:10px; align-items:center; font-size:14px; color:var(--muted-2);}
  .rv-bar-t{height:8px; background:rgba(255,255,255,.1); border-radius:99px; overflow:hidden;}
  .rv-bar-f{display:block; height:100%; background:var(--gold); border-radius:99px;}
  .rv-bar-n{text-align:right; color:var(--muted);}
  .rv-empty{margin:0; color:var(--muted-2);}
  .rv-go{width:auto; padding:11px 22px;}
  .rv-list{display:flex; flex-direction:column; gap:10px; margin-bottom:22px;}
  .rv-item{background:var(--ink-2); border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px;}
  .rv-item-h{display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px;}
  .rv-item-h .rv-stars{font-size:15px;}
  .rv-date{margin-left:auto; font-size:13px; color:var(--muted);}
  .rv-item p{margin:8px 0 0; color:var(--muted-2); line-height:1.75; overflow-wrap:anywhere;}
  .rv-form{background:var(--ink-2); border:1px solid var(--line); border-radius:var(--radius); padding:18px; max-width:640px;}
  .rv-form h3{margin:0 0 12px; font-size:19px; color:var(--gold-light);}
  .rv-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
  .rv-pick{border:0; padding:0; margin:0 0 12px;}
  .rv-pick legend{font-weight:600; font-size:15px; margin-bottom:4px; padding:0;}
  .rv-pick-row{display:inline-flex; flex-direction:row-reverse; gap:2px;}
  .rv-pick-row input{position:absolute; opacity:0; width:1px; height:1px;}
  .rv-pick-row label{font-size:34px; line-height:1; color:rgba(255,255,255,.22); cursor:pointer; padding:2px 3px;}
  .rv-pick-row label:hover, .rv-pick-row label:hover ~ label, .rv-pick-row input:checked ~ label{color:var(--gold-light);}
  .rv-pick-row input:focus-visible + label{outline:2px solid var(--gold); border-radius:6px;}
  .rv-submit{width:auto; padding:11px 24px;}
  .rv-msg{margin:10px 0 0; font-size:15px; min-height:1.2em;}
  .rv-msg.ok{color:var(--teal-text);}
  .rv-msg.err{color:#f0a196;}
  .book-tabs{scroll-margin-top:90px;}
  .rv-top{display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin-top:10px; font-size:15px;}
  .rv-top-i{display:inline-flex; align-items:center; gap:6px; color:var(--muted); text-decoration:none; padding:3px 0;}
  .rv-top-i .rv-ico{flex:none; color:rgba(255,255,255,.28);}
  .rv-top-i.on{color:var(--muted-2);}
  .rv-top-i.on .rv-ico{color:var(--gold-light);}
  .rv-top-i b{color:var(--gold-light); font-weight:800;}
  .rv-top-i:hover span{text-decoration:underline;}
  .rv-top-sep{width:1px; height:16px; background:var(--line);}
  .rv-auth{background:var(--ink-2); border:1px solid var(--line); border-radius:var(--radius); padding:18px; max-width:640px;}
  .rv-auth[hidden], .rv-form[hidden], .rv-auth [hidden]{display:none !important;}
  .rv-auth h3{margin:0 0 6px; font-size:19px; color:var(--gold-light);}
  .rv-auth-note{margin:0 0 14px; color:var(--muted-2); font-size:15px; line-height:1.6;}
  .rv-g{min-height:44px; margin-bottom:4px;}
  .rv-or{display:flex; align-items:center; gap:10px; margin:14px 0; color:var(--muted); font-size:14px;}
  .rv-or::before, .rv-or::after{content:""; flex:1; height:1px; background:var(--line);}
  .rv-admin-note{margin:0 0 12px; padding:8px 10px; border:1px dashed var(--line); border-radius:8px; font-size:13px; color:var(--muted);}
  .rv-atabs{display:flex; gap:6px; margin-bottom:12px;}
  .rv-atabs button{flex:1; padding:9px 10px; border:1px solid var(--line); border-radius:10px; background:transparent; color:var(--muted-2); font:inherit; font-size:15px; cursor:pointer;}
  .rv-atabs button[aria-selected="true"]{border-color:var(--gold); color:var(--gold-light); background:color-mix(in srgb, var(--gold) 10%, transparent);}
  .rv-forgot{margin:10px 0 0; font-size:14px;}
  .rv-forgot a{color:var(--teal-text);}
  .rv-as{margin:0 0 12px; font-size:15px; color:var(--muted-2);}
  .rv-as strong{color:var(--cream);}
  .rv-logout{background:none; border:0; padding:0; font:inherit; color:var(--teal-text); text-decoration:underline; cursor:pointer;}
  @media (max-width:640px){
    .tab-list{gap:0;}
    .tab-btn{flex:1 0 auto; padding:11px 12px; font-size:15px; text-align:center;}
    .desc{padding:16px;}
    .rv-summary{gap:16px; padding:16px;}
    .rv-avg{min-width:0; width:100%;}
    .rv-bars{min-width:0; width:100%;}
    .rv-go, .rv-submit{width:100%;}
    .rv-form{padding:14px;}
    .rv-date{margin-left:0; width:100%;}
  }

  /* ---------- sample reader ---------- */
  .sample-modal{
    position:fixed; inset:0; z-index:90; background:rgba(8,14,24,.9);
    display:none; align-items:center; justify-content:center; padding:16px;
  }
  .sample-modal.on{display:flex;}
  .sample-inner{background:var(--ink-2); color:var(--cream); border-radius:var(--radius); max-width:760px; width:100%; max-height:92vh; display:flex; flex-direction:column;}
  .sample-bar{display:flex; justify-content:space-between; align-items:center; padding:11px 14px; border-bottom:1px solid var(--line);}
  .sample-pages{overflow:auto; padding:12px; display:flex; flex-direction:column; gap:10px;}
    .sample-pages canvas{width:100%; height:auto; border-radius:8px; border:1px solid var(--line); background:#fff; flex:none;}
  .sample-note{text-align:center; padding:26px 10px; color:var(--cream); opacity:.85;}
  .sample-pages img{border-radius:8px; border:1px solid var(--line); width:100%; height:auto; flex:none;}

  /* ---------- tables / forms ---------- */
  .panel{background:var(--ink-2); border:1px solid var(--line); border-radius:var(--radius); padding:18px;}
  .cart-line{display:grid; grid-template-columns:64px 1fr auto; gap:12px; align-items:center; padding:12px 0; border-bottom:1px solid var(--line);}
  .cart-line img{width:64px; aspect-ratio:3/4; object-fit:cover; border-radius:6px;}
  .field{display:block; margin-bottom:12px;}
  .field span{display:block; font-weight:600; margin-bottom:5px; font-size:15px;}
  .field input, .field textarea, .field select{
    width:100%; padding:11px 13px; border:1px solid var(--line); border-radius:10px;
    font-family:inherit; font-size:16px; background:var(--ink-3); color:var(--cream);
  }
  .field textarea{resize:none; max-width:100%; overflow:hidden; line-height:1.6;}
  .pay-opt{display:flex; gap:10px; align-items:flex-start; border:1px solid var(--line); border-radius:10px; padding:12px; margin-bottom:9px; cursor:pointer;}
  .pay-opt.on{border-color:var(--gold); background:color-mix(in srgb, var(--gold) 10%, transparent);}
  /* পেমেন্ট পদ্ধতির লেখা বাক্সের মাঝামাঝি (রেডিও বামে থাকে) */
  .pay-opt{align-items:center;}
  .pay-opt > span{flex:1 1 auto; text-align:center; min-width:0; padding-right:25px;}
  .pay-opt input[type=radio]{flex:none;}
  .totals{display:flex; justify-content:space-between; padding:7px 0; font-size:16px;}
  .totals.grand{font-weight:700; font-size:19px; border-top:1px solid var(--line); margin-top:6px; padding-top:12px;}
  .empty{text-align:center; padding:50px 16px; color:var(--muted);}

  /* ---------- trust bar (স্থির পিল — বিষয়-বারের মতো দেখতে, কিন্তু ক্লিক/স্ক্রল হয় না) ---------- */
  /* ---------- ট্রাস্ট বার: আইকন-কার্ড (v3.49) ---------- */
  .trust{background:var(--ink-2); border-top:1px solid color-mix(in srgb, var(--gold) 22%, transparent); border-bottom:1px solid var(--line);}
  .trust-row{display:grid; grid-template-columns:repeat(var(--n,4),minmax(0,1fr)); gap:10px; padding:14px 16px;}
  .trust-item{
    display:flex; align-items:center; gap:11px; min-width:0; padding:10px 12px;
    border:1px solid color-mix(in srgb, var(--gold) 20%, transparent); border-radius:12px; background:var(--ink-3);
  }
  a.trust-item.is-link{color:inherit; transition:border-color .15s ease, background .15s ease;}
  a.trust-item.is-link:hover, a.trust-item.is-link:focus-visible{border-color:var(--gold); background:var(--ink-2);}
  .trust-ico{
    flex:none; width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    color:var(--gold-light); background:color-mix(in srgb, var(--gold) 14%, transparent); border:1px solid color-mix(in srgb, var(--gold) 38%, transparent);
  }
  .trust-ico svg{width:21px; height:21px; display:block;}
  .trust-tx{display:flex; flex-direction:column; min-width:0; line-height:1.35;}
  .trust-tt{font-weight:700; font-size:14.5px; color:var(--cream);}
  .trust-ds{font-size:12.5px; color:var(--muted-2); margin-top:1px; text-wrap:balance;}
  @media (max-width:1000px){
    .trust-row{grid-template-columns:repeat(3,minmax(0,1fr));}
  }
  @media (max-width:640px){
    .trust-row{grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:12px 12px;}
    .trust-item{gap:8px; padding:9px 9px; border-radius:11px;}
    .trust-ico{width:34px; height:34px;}
    .trust-ico svg{width:18px; height:18px;}
    .trust-tt{font-size:13.5px;}
    .trust-ds{font-size:11.5px;}
    /* বেজোড় সংখ্যায় শেষ কার্ডটা পুরো প্রস্থে, যাতে ফাঁকা ঘর না থাকে */
    .trust-item:last-child:nth-child(odd){grid-column:1/-1;}
  }
  @media (max-width:340px){
    .trust-row{grid-template-columns:1fr;}
  }

  /* ---------- special package band (homepage) ---------- */
  .pkg-band{padding:26px 0;}
  .pkg-box{
    border:1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius:20px; padding:22px;
    background:radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--gold) 22%, transparent), color-mix(in srgb, var(--gold) 0%, transparent) 55%), var(--ink-3);
    box-shadow:var(--shadow);
  }
  .pkg-head{display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:18px;}
  .pkg-kicker{
    display:inline-block; background:var(--gold); color:var(--ink); font-weight:700;
    font-size:12.5px; padding:3px 12px; border-radius:999px; margin-bottom:8px;
  }
  .pkg-head h2{font-size:clamp(21px,3vw,30px); color:var(--gold-light);}
  .pkg-head p{margin:6px 0 0; color:var(--muted-2); font-size:15px;}
  .pkg-more{background:var(--gold); color:var(--ink); font-weight:700; padding:11px 20px; border-radius:999px; white-space:nowrap;}
  .pkg-more:hover{background:var(--gold-light);}
  @media (max-width:640px){
    .pkg-box{padding:14px; border-radius:16px;}
    .pkg-more{width:100%; text-align:center;}
  }

  /* ---------- sort bar + pager (catalogue pages) ---------- */
  .sortbar{display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 20px;}
  .sortbar-count{color:var(--muted); font-size:14.5px;}
  .sortbar .sortdd{margin-left:auto;} /* সংখ্যা সরানোর পর সাজান-বোতাম ডানেই থাকে */
  /* সাজান — কাস্টম ড্রপডাউন (মোবাইলে নিচ থেকে ওঠা শিট) */
  .sortdd{position:relative; margin-left:auto;}
  .sortdd > summary{
    list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:10px;
    padding:9px 14px 9px 12px; border-radius:999px; user-select:none; -webkit-tap-highlight-color:transparent;
    background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02)),var(--ink-2);
    border:1px solid rgba(232,199,102,.35); box-shadow:0 2px 10px rgba(0,0,0,.25);
    transition:border-color .15s, box-shadow .15s, background .15s;
  }
  .sortdd > summary::-webkit-details-marker{display:none;}
  .sortdd > summary:hover{border-color:var(--gold-light);}
  .sortdd[open] > summary{border-color:var(--gold-light); box-shadow:0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent);}
  .sortdd svg{fill:none; stroke-linecap:round; stroke-linejoin:round;}
  .sd-ico{width:18px; height:18px; stroke:var(--gold-light); stroke-width:2; flex:0 0 auto;}
  .sd-text{display:flex; flex-direction:column; align-items:flex-start; line-height:1.2; min-width:0;}
  .sd-k{font-size:11px; color:var(--muted); letter-spacing:.02em;}
  .sd-v{font-size:14.5px; font-weight:700; color:var(--cream); white-space:nowrap;}
  .sd-chev{width:15px; height:15px; stroke:var(--muted-2); stroke-width:2.2; flex:0 0 auto; transition:transform .2s;}
  .sortdd[open] .sd-chev{transform:rotate(180deg);}
  .sortdd-backdrop{display:none;}
  .sortdd-menu{
    position:absolute; right:0; top:calc(100% + 10px); z-index:60; min-width:240px; padding:8px;
    background:var(--ink-3); border:1px solid rgba(232,199,102,.28); border-radius:18px;
    box-shadow:0 18px 44px rgba(0,0,0,.55); animation:kbtDdIn .16s ease-out;
  }
  .sortdd-title{display:none;}
  .sortdd-opt{
    display:flex; align-items:center; justify-content:flex-start; gap:12px;
    padding:12px 14px; border-radius:12px; color:var(--cream); font-weight:600; font-size:15px;
    transition:background .12s;
  }
  .sortdd-opt:hover{background:rgba(255,255,255,.06);}
  .sortdd-opt .sd-radio{flex:none; width:20px; height:20px; border-radius:50%; border:2px solid rgba(255,255,255,.4); position:relative;}
  .sortdd-opt.on{background:color-mix(in srgb, var(--gold) 14%, transparent); color:var(--gold-light);}
  .sortdd-opt.on .sd-radio{border-color:var(--gold);}
  .sortdd-opt.on .sd-radio::after{content:''; position:absolute; inset:3px; border-radius:50%; background:var(--gold);}
  @keyframes kbtDdIn{from{opacity:0; transform:translateY(-6px);} to{opacity:1; transform:none;}}
  @keyframes kbtSheetIn{from{transform:translateY(100%);} to{transform:none;}}
  @keyframes kbtFadeIn{from{opacity:0;} to{opacity:1;}}
  @media (max-width:640px){
    .sortdd[open] .sortdd-backdrop{display:block; position:fixed; inset:0; z-index:299; background:rgba(4,10,20,.62); animation:kbtFadeIn .18s ease-out;}
    .sortdd-menu{
      position:fixed; left:0; right:0; bottom:0; top:auto; z-index:300; min-width:0;
      border-radius:24px 24px 0 0; border-width:1px 0 0; padding:8px 14px calc(18px + env(safe-area-inset-bottom,0px));
      animation:kbtSheetIn .22s ease-out;
    }
    .sortdd-title{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:2px 0 12px; margin-bottom:6px; border-bottom:1px solid var(--line); color:var(--cream); font-size:18px; font-weight:700; position:relative;}
    .sortdd-title::before{content:''; position:absolute; left:50%; top:-10px; width:44px; height:5px; margin-left:-22px; border-radius:5px; background:rgba(255,255,255,.28);}
    .sortdd-menu{padding-top:18px;}
    .sd-reset{color:var(--gold-light); font-size:15px; font-weight:600;}
    .sd-x{background:rgba(255,255,255,.1); border:0; border-radius:50%; width:34px; height:34px; color:inherit; font-size:24px; line-height:1; cursor:pointer; padding:0;}
    .sortdd-opt{padding:15px 14px; font-size:16.5px;}
  }

  /* ---------- person page header (লেখক / অনুবাদক / সম্পাদক) ---------- */
  .person-head{
    display:flex; gap:26px; align-items:center; margin:8px 0 28px; padding:24px;
    background:linear-gradient(135deg,color-mix(in srgb, var(--gold) 10%, transparent),color-mix(in srgb, var(--gold) 0%, transparent) 55%),var(--ink-2);
    border:1px solid var(--line); border-radius:20px;
  }
  .person-pic{
    flex:0 0 auto; width:132px; height:132px; border-radius:50%; overflow:hidden;
    display:flex; align-items:center; justify-content:center; background:var(--ink-3);
    border:3px solid var(--gold); box-shadow:0 8px 24px rgba(0,0,0,.35);
  }
  .person-pic img{width:100%; height:100%; object-fit:cover;}
  .person-initial{font-family:'SolaimanLipi','Kalpurush',serif; font-weight:800; font-size:54px; color:var(--gold-light);}
  .person-info{min-width:0; flex:1 1 auto;}
  .person-role{
    display:inline-block; background:color-mix(in srgb, var(--gold) 16%, transparent); color:var(--gold-light); border:1px solid color-mix(in srgb, var(--gold) 40%, transparent);
    font-size:12.5px; font-weight:700; padding:3px 12px; border-radius:999px; margin-bottom:8px;
  }
  .person-name{font-size:clamp(24px,3.6vw,36px); line-height:1.25; margin:0;}
  .person-bio{margin-top:10px; color:var(--muted-2); font-size:15.5px; line-height:1.75; max-width:760px; overflow-wrap:anywhere;}
  .person-bio p{margin:0 0 8px;}
  .person-bio p:last-child{margin-bottom:0;}
  /* v3.234: বড় পরিচিতি ৫ লাইনে কাটা; JS বাড়তি লেখা থাকলে .is-clamped বসায় ও বোতাম দেখায় */
  .person-bio.is-clamped{max-height:8.75em; overflow:hidden; -webkit-mask-image:linear-gradient(#000 70%,transparent); mask-image:linear-gradient(#000 70%,transparent);}
  .person-bio-btn{display:inline-block; margin-top:6px; padding:0; background:none; border:0; cursor:pointer; font:inherit; font-size:14.5px; font-weight:700; color:var(--gold-light);}
  .person-bio-btn:hover{text-decoration:underline;}
  .person-bio-btn[hidden]{display:none;}
  .person-meta{display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; margin-top:12px; font-size:14.5px;}
  .person-count{color:var(--muted);}
  .person-meta a{color:var(--gold-light); font-weight:600;}
  @media (max-width:640px){
    .person-head{flex-direction:column; text-align:center; padding:22px 16px; gap:16px;}
    .person-pic{width:112px; height:112px;}
    .person-meta{justify-content:center;}
    .person-bio{text-align:left;}
  }

  .pager{display:flex; gap:6px; justify-content:center; flex-wrap:wrap; margin-top:26px;}
  .pager span{display:inline-block; background:var(--ink-2); border:1px solid var(--line); border-radius:8px; padding:7px 13px; font-weight:600;}

  /* ---------- author spotlight (homepage) ---------- */
  .spot-band{padding:26px 0;}
  .spot-box{
    display:grid; grid-template-columns:minmax(0,300px) minmax(0,1fr); gap:22px; align-items:center;
    border:1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-radius:20px; padding:22px;
    background:radial-gradient(120% 140% at 100% 0%, rgba(45,106,95,.3), rgba(45,106,95,0) 55%), var(--ink-2);
    box-shadow:var(--shadow);
  }
  .spot-kicker{
    display:inline-block; background:var(--teal); color:var(--cream); font-weight:700;
    font-size:12.5px; padding:3px 12px; border-radius:999px; margin-bottom:12px;
  }
  .spot-mark{width:56px; height:56px; font-size:24px; margin-bottom:10px;}
  .spot-info h2{font-size:clamp(22px,3vw,30px); color:var(--gold-light);}
  .spot-count{color:var(--muted-2); margin-top:4px; font-size:15px;}
  .spot-bio{color:var(--muted-2); font-size:14.5px; line-height:1.7; margin:10px 0 0;}
  .spot-btn{display:inline-block; margin-top:14px; background:var(--gold); color:var(--ink); font-weight:700; padding:10px 18px; border-radius:999px;}
  .spot-btn:hover{background:var(--gold-light);}
  .spot-books{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px;}
  .spot-book{display:flex; flex-direction:column; gap:6px; min-width:0;}
  .spot-cover{display:block; background:#1c2c46; border:1px solid rgba(255,255,255,.1); border-radius:8px; overflow:hidden;}
  .spot-cover img{width:100%; height:auto; aspect-ratio:5.5/8.5; object-fit:contain;}
  .spot-cover .noimg{aspect-ratio:5.5/8.5; display:flex; align-items:center; justify-content:center; font-size:40px; opacity:.3;}
  .spot-title{
    font-family:'SolaimanLipi','Kalpurush',serif; font-weight:600; font-size:14.5px; line-height:1.4;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
  .spot-price{color:var(--gold-light); font-weight:700; font-size:14.5px;}
  .spot-book:hover .spot-title{color:var(--gold-light);}
  @media (max-width:820px){
    .spot-box{grid-template-columns:1fr; padding:16px; gap:16px;}
    .spot-books{grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px;}
  }

  /* ---------- footer ---------- */
  .site-foot{background:var(--ink-2); color:var(--cream); margin-top:40px; padding:36px 0 0;}
  .foot-grid{display:grid; gap:26px; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); padding-bottom:26px;}
  .site-foot h3{font-size:18px; color:var(--gold-light); margin-bottom:11px;}
  .site-foot p, .site-foot li{font-size:14.5px; line-height:1.8; opacity:.88;}
  .site-foot ul{list-style:none; margin:0; padding:0;}
  .hot-btn{
    display:inline-block; margin-top:9px; background:var(--gold); color:var(--ink);
    font-weight:700; padding:10px 18px; border-radius:999px;
  }
  .socials{display:flex; flex-wrap:wrap; gap:9px; margin-top:12px;}
  .socials a{width:38px; height:38px; border-radius:50%; background:var(--ink-3); display:flex; align-items:center; justify-content:center; color:var(--cream); transition:background .15s ease, color .15s ease;}
  .socials a:hover{background:var(--gold); color:var(--ink);}
  .socials a svg{width:17px; height:17px; fill:currentColor;}
  .copy{border-top:1px solid rgba(246,239,221,.12); padding:14px 0; text-align:center; font-size:13px; opacity:.7;}

  /* ---------- আটকে থাকা বিষয়-বার (শেলফে নামার সময় উপরে থাকে) ---------- */
  .kbt-shelves .section[id^="cat-"]{scroll-margin-top:calc(var(--kbt-stick,104px) + 6px);}
  .subject-strip{
    position:sticky; top:var(--kbt-catbar-h,51px); z-index:39;
    background:rgba(16,28,44,.97); border-bottom:1px solid color-mix(in srgb, var(--gold) 28%, transparent);
    box-shadow:0 8px 16px -14px rgba(0,0,0,.8);
  }
  .subject-strip .wrap{display:flex; align-items:center; gap:6px; padding-top:8px; padding-bottom:8px;}
  .ss-scroll{
    position:relative; flex:1 1 auto; min-width:0; display:flex; gap:8px; overflow-x:auto;
    scrollbar-width:none; -webkit-overflow-scrolling:touch;
  }
  .ss-scroll::-webkit-scrollbar{display:none;}
  .ss-scroll a{
    flex:0 0 auto; white-space:nowrap; padding:7px 14px; border-radius:999px;
    border:1px solid rgba(246,239,221,.16); background:var(--ink-3); color:var(--cream);
    font-weight:600; font-size:14px; line-height:1.3; transition:background .15s ease, color .15s ease, border-color .15s ease;
  }
  .ss-scroll a:hover{border-color:var(--gold);}
  .ss-scroll a.on{background:var(--gold); border-color:var(--gold); color:var(--ink);}
  .ss-arrow{
    flex:0 0 auto; width:30px; height:30px; border-radius:50%; border:1px solid rgba(246,239,221,.16);
    background:var(--ink-3); color:var(--cream); cursor:pointer; font-size:17px; line-height:1;
    display:flex; align-items:center; justify-content:center; padding:0;
  }
  .ss-arrow:hover{border-color:var(--gold); color:var(--gold-light);}
  .ss-arrow[hidden]{display:none;}
  @media (max-width:640px){
    .ss-arrow{display:none;}
    .ss-scroll a{padding:6px 12px; font-size:13.5px;}
  }

  /* ---------- ভাসমান "উপরে যান" বাটন ---------- */
  .to-top{
    position:fixed; right:16px; bottom:20px; z-index:80; width:44px; height:44px; padding:0;
    border-radius:50%; border:1px solid color-mix(in srgb, var(--gold) 55%, transparent); background:var(--ink-3); color:var(--gold-light);
    display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:var(--shadow);
    opacity:0; visibility:hidden; transform:translateY(12px);
    transition:opacity .25s ease, transform .25s ease, background .15s ease, color .15s ease, visibility 0s linear .25s;
  }
  .to-top.on{opacity:1; visibility:visible; transform:none; transition:opacity .25s ease, transform .25s ease, background .15s ease, color .15s ease;}
  .to-top:hover{background:var(--gold); color:var(--ink);}
  .to-top svg{width:20px; height:20px;}
  @media (max-width:640px){ .to-top{width:42px; height:42px; right:12px; bottom:16px;} }
  @media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} .to-top{transition:none;} }

  /* ---------- সার্চ সাজেশন ---------- */
  .sugg{
    position:absolute; left:0; right:0; top:calc(100% + 8px); z-index:70;
    background:var(--ink-2); border:1px solid color-mix(in srgb, var(--gold) 40%, transparent); border-radius:14px;
    box-shadow:var(--shadow); max-height:min(70vh,480px); overflow-y:auto; padding:6px; text-align:left;
  }
  .sugg[hidden]{display:none;}
  .sugg-h{padding:8px 10px 4px; font-size:12px; color:var(--muted); letter-spacing:.04em;}
  .sugg-item{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:10px; color:var(--cream);}
  .sugg-item:hover, .sugg-item.act{background:var(--ink-3);}
  .sugg-thumb{flex:0 0 auto; width:36px; height:52px; border-radius:4px; overflow:hidden; background:var(--ink-3); display:flex; align-items:center; justify-content:center; color:var(--gold-light); font-family:'SolaimanLipi','Kalpurush',serif; font-weight:700;}
  .sugg-thumb img{width:100%; height:100%; object-fit:cover;}
  .sugg-avatar{flex:0 0 auto; width:36px; height:36px; border-radius:50%; overflow:hidden; background:var(--ink-3); border:1px solid color-mix(in srgb, var(--gold) 40%, transparent); display:flex; align-items:center; justify-content:center; color:var(--gold-light); font-family:'SolaimanLipi','Kalpurush',serif; font-weight:700;}
  .sugg-avatar img{width:100%; height:100%; object-fit:cover;}
  .sugg-main{flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:1px;}
  .sugg-title{font-weight:600; font-size:15px; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
  .sugg-sub{font-size:12.5px; color:var(--muted-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
  .sugg-price{flex:0 0 auto; color:var(--gold-light); font-weight:700; font-size:14px;}
  .sugg mark{background:none; color:var(--gold-light); font-weight:700;}
  .sugg-all{display:block; text-align:center; padding:10px; margin-top:4px; border-top:1px solid var(--line); border-radius:0 0 10px 10px; color:var(--gold-light); font-weight:600;}
  .sugg-all:hover, .sugg-all.act{background:var(--ink-3);}
  .sugg-empty{padding:14px 12px; color:var(--muted-2); font-size:14px;}

  /* ---------- toast ---------- */
  #kbt-toast{
    position:fixed; left:50%; bottom:26px; transform:translate(-50%,calc(100% + 60px));
    background:var(--ink-3); color:var(--cream); border:1px solid rgba(246,239,221,.16); padding:12px 22px; border-radius:999px;
    box-shadow:var(--shadow); z-index:95; font-weight:600;
    /* লুকানো অবস্থায় পুরোপুরি অদৃশ্য — আগে নিচের কিনারায় একটু উঁকি দিত */
    opacity:0; visibility:hidden; pointer-events:none;
    transition:transform .3s ease, opacity .3s ease, visibility 0s linear .3s;
  }
  #kbt-toast.on{transform:translate(-50%,0); opacity:1; visibility:visible; transition:transform .3s ease, opacity .3s ease;}
  /* লম্বা লেখা (ফ্রি ডেলিভারির নাজ) থাকলে টোস্ট ভেঙে দুই লাইনে যায় */
  #kbt-toast{max-width:min(92vw,560px); text-align:center; line-height:1.5; border-radius:18px;}

  /* ---------- ফ্রি ডেলিভারি প্রগ্রেস বার (কার্ট ও চেকআউট) ---------- */
  .fs-box{margin:14px 0 0; padding:12px 14px; border:1px solid color-mix(in srgb, var(--gold) 38%, transparent); background:color-mix(in srgb, var(--gold) 9%, transparent); border-radius:12px; text-align:center;}
  .fs-box .fs-msg{font-weight:700; font-size:14.5px; line-height:1.5; color:var(--gold-light); margin-bottom:9px;}
  .fs-box .fs-track{height:9px; border-radius:999px; background:rgba(246,239,221,.14); overflow:hidden;}
  .fs-box .fs-track span{display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,var(--gold),var(--gold-light,#e8c766)); transition:width .35s ease;}
  .fs-box .fs-meta{display:flex; justify-content:space-between; margin-top:6px; font-size:12px; opacity:.75;}
  .fs-box.on{border-color:rgba(60,190,150,.55); background:rgba(60,190,150,.1);}
  .fs-box.on .fs-msg{color:var(--cream);}
  .fs-box.on .fs-track span{background:var(--teal,#2fbf9a);}
  /* ফ্রি ডেলিভারির কাছাকাছি থাকলে "এটা যোগ করলেই ফ্রি" বই-সাজেশন (কার্ট ও চেকআউট) */
  .fs-sugg{margin:12px 0 0; text-align:left;}
  .fs-sugg-t{font-size:13px; opacity:.85; margin-bottom:8px; text-align:center;}
  .fs-sugg-row{display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:8px;}
  .fs-sugg-item{display:flex; gap:9px; align-items:center; padding:8px; border:1px solid color-mix(in srgb, var(--gold) 38%, transparent); border-radius:10px; background:rgba(246,239,221,.04); color:inherit; font:inherit; text-align:left; cursor:pointer;}
  .fs-sugg-item:hover{background:color-mix(in srgb, var(--gold) 14%, transparent);}
  .fs-sugg-item img{width:38px; height:52px; object-fit:cover; border-radius:4px; flex:none;}
  .fs-sugg-item .n{flex:1; min-width:0; font-size:12.5px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
  .fs-sugg-item .p{display:block; margin-top:3px; font-weight:700; color:var(--gold-light);}

  @media (max-width:820px){
    .book-top{grid-template-columns:1fr;}
    .book-cover{max-width:280px; margin:0 auto;}
    .book-top .sample-flag{max-width:280px; margin-left:auto; margin-right:auto;}
    /* mobile / tablet: exactly two books per row */
    .grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px;}
  }
  @media (max-width:640px){
    /* মোবাইল হেডার: এক সারিতে লোগো + নামলিপি বামে, ♡ 🛒 📞 ডানে; নিচে সার্চ (প্রোফাইল আইকন মেনুতে) */
    .head-row{flex-wrap:wrap; gap:10px 8px; justify-content:space-between; align-items:center;}
    .brand{order:1; flex:1 1 auto; min-width:0; gap:8px;}
    .brand-logo{flex:none;}
    .brand-lipi{flex:0 1 auto; min-width:0; object-fit:contain; object-position:left center;}
    .head-actions{order:2; flex:0 0 auto; gap:6px; justify-content:flex-end;}
    /* মোবাইলে স্লাইডের তীর ব্যানারের লেখা ঢেকে দিত — swipe আর ডট থাকে, তীর লুকানো */
    .sl-nav{display:none;}
    .searchbox{order:3; flex-basis:100%;}
    /* স্ক্রিনের প্রস্থ অনুযায়ী বড় হয়: লোগো-নামলিপি আর আইকনের মাঝের ফাঁকা জায়গা ভরে (v3.49) */
    .brand{gap:10px;}
    .brand-logo{height:clamp(28px,8.6vw,38px);}
    .brand-lipi{height:clamp(28px,8.6vw,38px);}
    .head-actions .icon-btn{width:36px; height:36px; font-size:15px;}
    .card{padding:10px;}
    .card-title{font-size:15px;}
    .tag.off-badge{width:34px; height:34px; font-size:11.5px;}
    .wish{width:32px; height:32px; font-size:14px;}
    .card-actions{grid-template-columns:1fr; }
    /* ছোট স্ক্রিনে বামদিক থেকে শুরু করে পাশে স্ক্রল করা যাবে বলে কেন্দ্রে না রেখে বামে রাখা */
    .catbar .wrap{justify-content:flex-start;}
  }
  /* ---------- মোবাইল সুরক্ষা (v3.47): আড়াআড়ি স্ক্রল, আইফোনের জুম, আঙুলের মাপ ---------- */
  @supports (overflow:clip){ body{overflow-x:clip;} }
  img, video, iframe, svg{max-width:100%;}
  pre, code{overflow-wrap:anywhere;}
  @media (max-width:640px){
    input:not([type=checkbox]):not([type=radio]), select, textarea{font-size:16px;}
    .searchbox input{font-size:16px;}
    .wrap{padding-left:14px; padding-right:14px;}
    .meta-table td:first-child{width:44%;}
    .foot-grid{grid-template-columns:1fr 1fr; gap:22px 16px;}
  }
  @media (max-width:350px){
    .foot-grid{grid-template-columns:1fr;}
    .head-row{gap:10px 6px;}
    .brand{gap:6px;}
    .head-actions{gap:5px;}
    .head-actions .icon-btn{width:34px; height:34px; font-size:14px;}
  }
  /* v3.182: iPhone Safari ১৬px-এর ছোট লেখার ঘরে ক্লিক করলে পেজ জুম করে; ফোনে সব লেখার ঘর ১৬px। */
  @media (max-width:820px){
    input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=file]),
    select, textarea{font-size:16px !important;}
  }
  /* v3.183: ফোনে আঙুলে ট্যাপ করার জায়গা বড় (চেহারা একই — অদৃশ্য ট্যাপ-এলাকা বাড়ানো)। */
  @media (max-width:820px){
    .searchbox button::after, .wish::after, .foot-map::before{content:''; position:absolute; inset:-7px;}
    .sec-head a{display:inline-block; padding:12px 0; margin:-12px 0;}
    .site-foot li a{display:inline-block; padding:10px 0;}
  }
  /* v3.194: ফোনে ফুটারের ফাঁক কমানো — লিংকের উপর-নিচে ১০px প্যাডিং + লাইন-হাইট ১.৮ মিলে প্রতি লিংক ~৪৬px হচ্ছিল; এখন ~৩৪px (ট্যাপ-এলাকা ~৪০px)। */
  @media (max-width:820px){
    .site-foot{margin-top:24px; padding-top:24px;}
    .foot-grid{gap:18px 16px; padding-bottom:16px;}
    .site-foot h3{font-size:17px; margin-bottom:8px;}
    .site-foot p, .site-foot li{line-height:1.6;}
    .site-foot li a{padding:7px 0; margin:-3px 0;}
    .socials{gap:8px; margin-top:10px;}
    .socials a{width:34px; height:34px;}
    .hot-btn{margin-top:6px; padding:9px 16px;}
    .copy{padding:12px 0;}
  }
  /* v3.184: ছোট ফোনে কার্টের লাইন (৩৬৩px-এর ছোট পর্দায় দাম ডানে বেরিয়ে যেত), লম্বা শব্দ/লিংক, পরিমাণের বাটন, \"পড়ে দেখুন\" বাটন। */
  .desc, .book-title, .meta-table td, .card-title, .card-author{overflow-wrap:anywhere;}
  .cart-line > *{min-width:0;}
  @media (max-width:820px){
    .qty button{position:relative;}
    .qty button::after{content:''; position:absolute; inset:-3px;}
    .book-top .sample-flag{padding-top:10px;}
  }
  @media (max-width:420px){
    .cart-line{grid-template-columns:56px minmax(0,1fr); gap:8px 10px; align-items:start;}
    .cart-line img{width:56px; grid-row:1 / span 2;}
    .cart-line > div:last-child{grid-column:2; text-align:left !important;}
    .cart-line .qty{flex-wrap:wrap; gap:8px;}
    .cart-line .qty input{width:46px;}
    .cart-line .qty .cart-del{margin-left:0;}
  }

:root{
  --kbt-primary:#101c2c;
  --kbt-accent:#c8992e;
  --kbt-accent-text:#8a6410;
  --kbt-bg1:#f9fafb;
  --kbt-bg2:#f7fbff;
  --kbt-card:#ffffff;
  --kbt-card-border:#e2e6ec;
  --kbt-text:#101c2c;
  --kbt-muted:#4a5a70;
  --kbt-author:#4a5a70;
  --kbt-announce-bg:#101c2c;
  --kbt-announce-text:#e8c766;
  --kbt-header-bg:#ffffff;
  --kbt-nav-bg:#ffffff;
  --kbt-strip-bg:#ffffff;
  --kbt-footer-bg:#eaf2fb;
  --kbt-footer-text:#101c2c;
  --kbt-footer-heading:#101c2c;
  --kbt-search-btn-bg:#101c2c;
  --kbt-search-btn-icon:#ffffff;
  --kbt-icon-color:#8a6410;
  --kbt-icon-bg:#f8f0dc;
  --kbt-cart-bg:#ffffff;
  --kbt-cart-text:#101c2c;
  --kbt-cart-border:#101c2c;
  --kbt-order-bg1:#22385a;
  --kbt-order-bg2:#101c2c;
  --kbt-order-text:#ffffff;
  --kbt-badge-bg1:#22385a;
  --kbt-badge-bg2:#101c2c;
  --kbt-badge-text:#ffffff;
  --kbt-badge-ring:#e8c766;
  --kbt-wish-bg:#ffffff;
  --kbt-wish-icon:#101c2c;
  --kbt-wish-border:#d5dbe4;
  --kbt-wish-on-bg:#f8f0dc;
  --kbt-wish-on-icon:#8a6410;
  --kbt-price:#8a6410;
  --kbt-logo:#00779f;
}

/* ======================================================================
   v3.199 — সব রং CSS ভেরিয়েবল (--kbt-*) থেকে আসে।
   ড্যাশবোর্ড ▸ দোকান সেটিংস ▸ রং সেটিংস থেকে বদলানো যায় (inc/color-settings.php)।
   ====================================================================== */
:root{--gold:var(--kbt-accent); --ink:var(--kbt-primary);}
body{background:var(--kbt-bg1);}

/* হালকা অংশগুলোর ভেতরে লেখা/বক্সের রং */
.hero, .section, .trust, .book-top, .person-head,
.site-head, .catbar, .subject-strip, .site-foot{
  --ink-2:var(--kbt-card);
  --ink-3:var(--kbt-card);
  --cream:var(--kbt-text);
  --muted:var(--kbt-muted);
  --muted-2:var(--kbt-muted);
  --line:var(--kbt-card-border);
  --gold-light:var(--kbt-accent-text);
  --teal-text:#1f6b5b;
  --shadow:0 10px 26px -16px rgba(16,28,44,.25);
  color:var(--kbt-text);
}

/* ---------- সেকশন: পালা করে ব্যাকগ্রাউন্ড ১ / ২ ---------- */
.hero, .section, .trust, .book-top{background:var(--kbt-bg1);}
.section:nth-of-type(even), .trust:nth-of-type(even), .section.shelf-alt{background:var(--kbt-bg2);}
.trust{border-color:var(--kbt-card-border);}

/* ---------- অ্যানাউন্সমেন্ট বার ---------- */
.announce-bar{background:var(--kbt-announce-bg); color:var(--kbt-announce-text); border-bottom:1px solid var(--kbt-card-border);}

/* ---------- হেডার, মেনু, বিষয়-বার, ফুটার ---------- */
.site-head{background:var(--kbt-header-bg);}
.catbar{background:var(--kbt-nav-bg); border-top:1px solid var(--kbt-card-border); box-shadow:0 8px 18px -14px rgba(16,28,44,.28);}
.subject-strip{background:var(--kbt-strip-bg); border-bottom:1px solid var(--kbt-card-border); box-shadow:0 8px 16px -14px rgba(16,28,44,.25);}
.site-foot{background:var(--kbt-footer-bg); color:var(--kbt-footer-text); border-top:0;}
.site-foot h3, .foot-brand{color:var(--kbt-footer-heading);}
.site-foot li a:hover{color:var(--kbt-accent-text);}
.copy{border-top:1px solid var(--kbt-card-border); color:var(--kbt-muted);}

/* সাদা লোগো হালকা ব্যাকগ্রাউন্ডে দেখা যায় না — গাঢ় করা (সেটিংসে রঙিন লোগো দিলে এটা কাজ করবে না, দরকারও নেই) */
.brand-logo[src*="white"], .brand-lipi[src*="white"], .nb-logo[src*="white"], .nb-lipi[src*="white"], .nl-logo[src*="white"], .nl-lipi[src*="white"]{filter:brightness(0); filter:url(#kbt-logo-tint);}

.searchbox input{border:1px solid var(--kbt-card-border); background:var(--kbt-card); color:var(--kbt-text);}
.searchbox input::placeholder{color:rgba(16,28,44,.5);}
.searchbox button{background:var(--kbt-search-btn-bg); color:var(--kbt-search-btn-icon);}
.icon-btn{background:var(--kbt-card); border:1px solid var(--kbt-card-border); color:var(--kbt-text);}
.catbar .nav-list a.nav-profile{background:var(--kbt-card); color:var(--kbt-accent-text);}
.catbar .nl-head, .catbar .nav-list{background:var(--kbt-card);}
.ss-scroll a, .ss-arrow{background:var(--kbt-card); border:1px solid var(--kbt-card-border); color:var(--kbt-text);}
.ss-scroll a.on{background:var(--kbt-accent); border-color:var(--kbt-accent); color:var(--kbt-primary);}

.socials a{background:var(--kbt-card); border:1px solid var(--kbt-card-border); color:var(--kbt-text);}
.socials a:hover{background:var(--kbt-accent); border-color:var(--kbt-accent); color:var(--kbt-primary);}
.foot-map{background:var(--kbt-icon-bg); color:var(--kbt-accent-text);}
.foot-map::after{color:#f6efdd;}

/* ---------- ফিচার আইকন (১৬০+ বই, ডেলিভারি, রিটার্ন...) ---------- */
.trust-ico, .about-ico,
.about-card.c1 .about-ico, .about-card.c2 .about-ico, .about-card.c3 .about-ico, .about-card.c4 .about-ico{
  color:var(--kbt-icon-color); background:var(--kbt-icon-bg);
  border:1px solid color-mix(in srgb, var(--kbt-icon-color) 20%, transparent);
}

/* স্লাইডারের ভেতরের গাঢ় অংশ আগের মতোই */
.slide-empty{--ink-3:#1f3352; --cream:#f6efdd; --gold-light:#e8c766; color:#f6efdd;}
.sl-nav{color:#f6efdd;}
.sl-dots span,.sl-dots button{background:rgba(246,239,221,.55);}
.sl-dots span.on,.sl-dots button.on{background:var(--kbt-accent);}
.tag.teal, .btn-teal, .spot-kicker{color:#fff;}

/* ---------- কার্ড ও বক্স ---------- */
.card, .panel, .desc, .about-card, .rv-summary, .rv-item, .rv-form, .rv-auth,
.trust-item, .pager span, .cart-row, .about-cta{background:var(--kbt-card); border-color:var(--kbt-card-border);}
.section input, .section select, .section textarea{background:var(--kbt-card); color:var(--kbt-text); border-color:var(--kbt-card-border);}
.section input::placeholder, .section textarea::placeholder{color:rgba(16,28,44,.45);}
.section .btn-ink, .qty button, .qty input{background:var(--kbt-card); color:var(--kbt-text); border:1px solid var(--kbt-card-border);}
.section .btn-ghost{color:var(--kbt-text); border-color:var(--kbt-card-border);}
.rv-stars-bg{color:rgba(16,28,44,.18);}
.rv-bar-t, .fs-box .fs-track{background:rgba(16,28,44,.1);}
.rv-pick-row label{color:rgba(16,28,44,.2);}
.rv-top-i .rv-ico{color:rgba(16,28,44,.35);}
.rv-msg.err{color:#b4372a;}
.section .tab-btn{color:var(--kbt-muted);}
.sec-head a{color:var(--kbt-accent-text);}
.read-btn{color:#1f4d45; background:rgba(45,106,95,.1);}
.read-btn:hover{background:rgba(45,106,95,.2);}
.off{color:#c2412d;}

/* বইয়ের কভারের চারপাশের বর্ডার/ব্যাকগ্রাউন্ড নেই */
.card-cover, .book-cover, .spot-cover{border:0; box-shadow:none;}
/* ছবি আসার আগে হালকা জায়গা-ধরা রং (আগে গাঢ় নীল ছিল, মাঝের ফাঁকা সাদা দেখাত) */
.card-cover, .spot-cover{background:var(--kbt-bg2);}
.book-cover{background:transparent;}

/* ---------- দাম, লেখকের নাম ---------- */
.price{color:var(--kbt-price);}
.card-author{color:var(--kbt-author); font-weight:500;}
.card-author a:hover{color:var(--kbt-accent-text);}

/* ---------- ডিসকাউন্ট ব্যাজ ---------- */
.tag.off-badge{
  background:linear-gradient(135deg,var(--kbt-badge-bg1),var(--kbt-badge-bg2)); color:var(--kbt-badge-text);
  border:1.5px solid var(--kbt-badge-ring); box-shadow:0 4px 10px -4px rgba(16,28,44,.45);
}

/* ---------- ফেভারিট (হার্ট) ---------- */
.wish, .btn-teal.wish-ico{
  background:var(--kbt-wish-bg); color:var(--kbt-wish-icon); border:1.5px solid var(--kbt-wish-border);
  box-shadow:0 4px 10px -4px rgba(16,28,44,.3);
}
.wish:hover, .btn-teal.wish-ico:hover{filter:brightness(.97); border-color:var(--kbt-accent);}
.wish.on, .btn-teal.wish-ico.on{background:var(--kbt-wish-on-bg); color:var(--kbt-wish-on-icon); border-color:var(--kbt-wish-on-icon);}
.btn-teal.wish-ico{box-shadow:none;}

/* ---------- Add to Cart ---------- */
.card-actions .btn-ink, #kbt-addbtn{
  background:var(--kbt-cart-bg); color:var(--kbt-cart-text); border:1.5px solid var(--kbt-cart-border);
  transition:filter .15s ease;
}
.card-actions .btn-ink:hover, #kbt-addbtn:hover{filter:brightness(.95);}

/* ---------- Order Now ---------- */
.card-actions .btn-gold, #kbt-buybtn{
  background:linear-gradient(135deg,var(--kbt-order-bg1),var(--kbt-order-bg2)); color:var(--kbt-order-text);
  border:1.5px solid var(--kbt-order-bg2); font-weight:700; box-shadow:0 6px 14px -9px rgba(16,28,44,.45);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.card-actions .btn-gold:hover, #kbt-buybtn:hover{filter:brightness(1.12); transform:translateY(-1px); box-shadow:0 10px 18px -10px rgba(16,28,44,.5);}

/* ---------- ফিল্টার সাইডবার ("সাজান" ইত্যাদি) ---------- */
body .cf-box{background:var(--kbt-card); border:1px solid var(--kbt-card-border);}
body .cf-box h3{background:var(--kbt-bg2); color:var(--kbt-text); border-left:3px solid var(--kbt-accent);}
body .cf-chip{background:var(--kbt-bg1); border:1px solid var(--kbt-card-border);}
body .cf-chip.on{background:var(--kbt-accent); border-color:var(--kbt-accent); color:var(--kbt-primary);}
body .cf-radio i, body .sortdd-opt .sd-radio{border-color:rgba(16,28,44,.38);}
body .cf-radio.on, body .sortdd-opt.on{color:var(--kbt-text);}
body .cf-radio.on i, body .sortdd-opt.on .sd-radio{border-color:var(--kbt-accent);}
body .cf-radio:hover, body .sortdd-opt:hover{background:color-mix(in srgb, var(--kbt-accent) 12%, transparent);}
body .cf-track{background:linear-gradient(90deg, rgba(16,28,44,.15) var(--a), var(--kbt-accent) var(--a), var(--kbt-accent) var(--b), rgba(16,28,44,.15) var(--b));}
body .cf-tag, body .cf-open{color:var(--kbt-text); background:var(--kbt-card);}
body .cf-more summary, body .cf-clear{color:var(--kbt-accent-text);}
body .sortdd-title::before, body .cf-grip{background:rgba(16,28,44,.25);}
body .sd-x, body .cf-sheet-head .cf-x{background:rgba(16,28,44,.08);}
@media (max-width:820px){
  body .cf-side, body .cf-head{background:var(--kbt-bg1); color:var(--kbt-text);}
  body .cf-foot, body .cf-sheet{background:var(--kbt-card); color:var(--kbt-text);}
}

/* ======================================================================
   v3.201 — গতি: স্ক্রিনের বাইরের শেলফগুলো ব্রাউজার আঁকে না, স্ক্রল করে কাছে এলে আঁকে।
   হোমপেজে সব বিষয়ের সব বই একসাথে থাকে, তাই এতে প্রথম লোড ও স্ক্রল অনেক হালকা হয়।
   ====================================================================== */
.kbt-shelves .section[id^="cat-"]{content-visibility:auto; contain-intrinsic-size:auto 640px;}

/* v3.208 — ক্যাটালগ কার্ডের লেখা ছবির ওপর সবসময় সাদা (হালকা থিমে গাঢ় হয়ে পড়া যেত না) */
.subject-card .subject-card-name{color:#fff;}

/* ======================================================================
   v3.209 — ফিক্সড রং (রং সেটিংস বদলালেও এগুলো বদলাবে না) + ছোটখাটো ঠিকঠাক
   ====================================================================== */

/* Order Now — ফিক্সড গাঢ় নেভি */
.card-actions .btn-gold, #kbt-buybtn{
  background:linear-gradient(135deg,#22385a,#101c2c); color:#fff; border:1.5px solid #101c2c;
}
/* Add to Cart — Order Now-এর সাথে মেলানো ফিক্সড রং (সাদা ভেতর, একই নেভি বর্ডার ও লেখা) */
.card-actions .btn-ink, #kbt-addbtn{
  background:#fff; color:#101c2c; border:1.5px solid #101c2c; font-weight:700;
}
.card-actions .btn-ink:hover, #kbt-addbtn:hover{background:#eef2f8; filter:none;}

/* ডিসকাউন্ট ব্যাজ — ফিক্সড নেভি + সোনালি রিং */
.tag.off-badge{
  background:linear-gradient(135deg,#22385a,#101c2c); color:#fff; border:1.5px solid #e8c766;
}
/* উইশলিস্ট (হার্ট) — ব্যাজের সাথে মেলানো: নেভি + সোনালি রিং + সাদা হার্ট */
.wish, .btn-teal.wish-ico{
  background:linear-gradient(135deg,#22385a,#101c2c); color:#fff; border:1.5px solid #e8c766;
}
.wish:hover, .btn-teal.wish-ico:hover{filter:brightness(1.15); border-color:#e8c766;}
.wish.on, .btn-teal.wish-ico.on{background:#e8c766; color:#101c2c; border-color:#e8c766;}

/* দাম — আরও গাঢ় ও বড়, কাটা দামও পরিষ্কার */
.price{color:#6b4a00; font-size:19px; font-weight:800;}
.mrp{color:#4a5a70; font-size:14px; font-weight:600; text-decoration-thickness:1.5px;}
.price-row{gap:9px;}

/* হোম পেজের সার্চবার — ডেস্কটপে ছোট (মোবাইলে আগের মতোই পুরো প্রস্থ) */
@media (min-width:641px){
  .site-head .searchbox{flex:0 1 420px; margin:0 auto;}
  .site-head .searchbox input{height:34px; font-size:14.5px; padding:0 40px 0 15px;}
  .site-head .searchbox button{width:26px; height:26px; top:4px; right:4px; font-size:12px;}
}

/* বইয়ের পেজ — "লেখক:" লেখা এবং লেখক/অনুবাদক/সম্পাদকের নাম আরও গাঢ় */
.book-author{color:#2f3d52; font-weight:600;}
.book-author a, .meta-table td a{color:#0b4a3e !important; font-weight:600;}
.meta-table td:first-child{color:#3d4c61;}

/* ফুটার — ব্যাকগ্রাউন্ড একটু গাঢ়, সোশ্যাল আইকন ব্যাকগ্রাউন্ডের সাথে মেলানো, কপিরাইট ১০০% কালো */
.site-foot{background:var(--kbt-footer-bg);}
.site-foot .socials a{background:var(--kbt-footer-bg); border:1px solid rgba(16,28,44,.18);}
.site-foot .socials a:hover{background:var(--kbt-accent); border-color:var(--kbt-accent);}
.site-foot .copy{color:#000; opacity:1; background:var(--kbt-footer-bg);}

/* ======================================================================
   v3.210 — মোবাইল মেনু (ড্রয়ার): লোগো-নামলিপির পট্টি ফিক্সড রং, আইটেমে দুই রঙের পালা
   (ক্যাটালগ/সেকশনের মতো: একটা হালকা, পরেরটা একটু গাঢ় — রং সেটিংস বদলালেও বদলায় না)
   ====================================================================== */
@media (max-width:820px){
  .catbar .nl-head{background:#eaf2fb; border-bottom:1px solid rgba(16,28,44,.12);}
  .catbar .nav-list{background:#f9fafb;}
  .catbar .nav-list > a:not(.nav-profile){border-bottom:1px solid rgba(16,28,44,.08); color:#101c2c;}
  .catbar .nav-list > a:not(.nav-profile):nth-of-type(odd){background:#f9fafb;}
  .catbar .nav-list > a:not(.nav-profile):nth-of-type(even){background:#eaf2fb;}
  .catbar .nav-list > a:not(.nav-profile):hover,
  .catbar .nav-list > a.on:not(.nav-profile){background:#f8f0dc; color:#6b4a00; border-left-color:#c8992e;}
}

/* ======================================================================
   v3.211 — ফুটার আরও হালকা, ফোন বাটন সাদা, Add to Cart ফিক্সড গোল্ডেন,
   টপ মেনুর ফন্ট বড়, মোবাইল মেনুর গাঢ় সারি আরও হালকা (সবই ফিক্সড রং)
   ====================================================================== */

/* ফুটার — আগের চেয়ে হালকা ব্যাকগ্রাউন্ড */
.site-foot{background:#f5f9fd;}
.site-foot .socials a{background:#f5f9fd;}
.site-foot .copy{background:#f5f9fd;}

/* ফুটারের ফোন নম্বর বাটন — গোল্ডেন বাদ, সাদা (পাতলা বর্ডারসহ) */
.site-foot .hot-btn{
  background:#fff; color:#101c2c; border:1px solid rgba(16,28,44,.18);
  box-shadow:0 2px 8px -4px rgba(16,28,44,.25);
}
.site-foot .hot-btn:hover{background:#fff; border-color:#c8992e; color:#101c2c;}

/* Add to Cart — ফিক্সড গোল্ডেন */
.card-actions .btn-ink, #kbt-addbtn{
  background:#c8992e; color:#101c2c; border:1.5px solid #c8992e; font-weight:700;
}
.card-actions .btn-ink:hover, #kbt-addbtn:hover{background:#d6a73a; border-color:#d6a73a; color:#101c2c; filter:none;}

/* টপ মেনু (ডেস্কটপ) — ফন্ট একটু বড় */
@media (min-width:821px){
  .catbar a{font-size:17.5px;}
}

/* মোবাইল মেনু — গাঢ় সারিগুলো আরও হালকা */
@media (max-width:820px){
  .catbar .nav-list > a:not(.nav-profile):nth-of-type(even){background:#f4f8fc;}
  .catbar .nav-list > a.on:not(.nav-profile){background:#f8f0dc;}
}

/* ======================================================================
   v3.212 — Add to Cart লেখা সাদা, লেখক/অনুবাদক/সম্পাদক শেলফের তীর আইকন সাদা
   ====================================================================== */
.card-actions .btn-ink, #kbt-addbtn,
.card-actions .btn-ink:hover, #kbt-addbtn:hover,
.card-actions .btn-ink *, #kbt-addbtn *{color:#fff !important;}
.card-actions .btn-ink svg, #kbt-addbtn svg{stroke:currentColor;}

body .author-nav, body .author-nav:hover{color:#fff !important; font-size:22px; font-weight:700;}

/* ======================================================================
   v3.213 — অ্যানাউন্সমেন্ট বার: ব্যাকগ্রাউন্ড মোবাইল মেনুর লোগো-নামলিপির পট্টির রং (#eaf2fb)
   (ফিক্সড রং — রং সেটিংস বদলালেও বদলায় না; হালকা ব্যাকগ্রাউন্ডে পড়া যায় এমন গাঢ় লেখা)
   ====================================================================== */
.announce-bar{
  background:#eaf2fb; color:#101c2c;
  border-bottom:1px solid rgba(16,28,44,.12);
}
.announce-bar a{color:#101c2c;}

/* ======================================================================
   v3.213 — সক্রিয় সিরিজ-চিপের লেখা সাদা; মোবাইলে ফুটার ১ কলাম (গ্রিড ১)
   ====================================================================== */
body .ss-scroll a.on, body .ss-scroll a.on:hover{color:#fff;}
body .cf-chip.on, body .cf-chip.on .cf-c{color:#fff;}

@media (max-width:640px){
  .foot-grid{grid-template-columns:1fr; gap:18px;}
}

/* ======================================================================
   v3.213 — ব্র্যান্ড রং আরও স্পষ্ট: লোগোর নীল (--kbt-logo, ডিফল্ট #00779f) + সোনালি
   (রং সেটিংসে "লোগোর রং" বদলালে এগুলোও সাথে বদলাবে)
   ====================================================================== */
/* হেডারের মাথায় নীল রেখা */
.site-head{border-top:0;}

/* সেকশনের শিরোনাম ও "সব দেখুন" লিংক — নীল (পাশের সোনালি দণ্ড আগের মতোই) */
.sec-head h2{color:var(--kbt-logo,#00779f);}
.sec-head a{color:var(--kbt-logo,#00779f);}

/* সার্চ বাটন — নীল */
.searchbox button{background:var(--kbt-logo,#00779f); color:#fff;}

/* ফুটার — সোনালি উপরের রেখা, নীল শিরোনাম ও হভার */
.site-foot{border-top:0;}
.site-foot h3, .foot-brand{color:var(--kbt-logo,#00779f);}
.site-foot li a:hover{color:var(--kbt-logo,#00779f);}

/* ======================================================================
   v3.213 — পরীক্ষামূলক: সব সোনালি রং → ব্র্যান্ড নীল (#00779f)
   ফিরিয়ে নিতে: এই কমেন্ট থেকে নিচের "পরীক্ষামূলক ব্লকের শেষ" চিহ্ন পর্যন্ত মুছে দিন (তার পরের v3.215 অ্যাক্সেসিবিলিটি অংশ রেখে)।
   html:root:root দিয়ে লেখা — তাই ড্যাশবোর্ডের রং সেটিংসের সোনালি মানকেও ছাপিয়ে যায়।
   ====================================================================== */
html:root:root{
  --kbt-logo:#00779f;
  --kbt-accent:#00779f;
  --kbt-accent-text:#00607f;
  --kbt-icon-color:#00779f;
  --kbt-icon-bg:#e3f2f8;
  --kbt-badge-ring:#4fb3d1;
  --kbt-wish-on-bg:#e3f2f8;
  --kbt-wish-on-icon:#00779f;
  --kbt-price:#00779f;
  --gold:#00779f;
  --gold-light:#4fb3d1;
}

/* নীল ব্যাকগ্রাউন্ডের উপর লেখা সাদা */
.btn-gold, .btn-teal.on, .pkg-kicker, .pkg-more, .spot-btn, .hot-btn,
.icon-btn .badge, .tag, .searchbox button, .socials a:hover, .to-top:hover,
.nav-profile .np-av, .brand-mark, .foot-map:hover, .foot-map:focus-visible,
body .ss-scroll a.on, body .cf-chip.on{color:#fff;}

/* Add to Cart */
.card-actions .btn-ink, #kbt-addbtn{background:#00779f; border-color:#00779f; color:#fff;}
.card-actions .btn-ink:hover, #kbt-addbtn:hover{background:#00668a; border-color:#00668a; color:#fff;}

/* Order Now ও উইশলিস্ট বাটনের সোনালি বর্ডার */
.tag.off-badge, .wish, .btn-teal.wish-ico{border-color:#4fb3d1;}
.wish:hover, .btn-teal.wish-ico:hover{border-color:#4fb3d1;}
.wish.on, .btn-teal.wish-ico.on{background:#cfe9f3; color:#101c2c; border-color:#4fb3d1;}

/* দাম */
.price{color:#00607f;}

/* মোবাইল মেনুর সক্রিয় আইটেম */
@media (max-width:820px){
  .catbar .nav-list > a.on:not(.nav-profile){background:#e3f2f8; color:#00607f; border-left-color:#00779f;}
}

/* ফুটারের হটলাইন বাটন */
.site-foot .hot-btn{background:#00779f; border-color:#00779f; color:#fff;}
.site-foot .hot-btn:hover{background:#fff; border-color:#00779f; color:#101c2c;}

/* ফুটারের উপরের রেখা (আগের ব্লকে সোনালি ছিল) */
.site-foot{border-top:0;}

/* ===== পরীক্ষামূলক ব্লকের শেষ (v3.218-এ এই চিহ্ন বসানো) ===== */

/* v3.215 — অ্যাক্সেসিবিলিটি: স্কিপ-লিংক, <main> ফোকাস, স্লাইডারের থামানো বাটন ও কিবোর্ড ফোকাস */
.skip-link{position:absolute; left:-9999px; top:0; background:#000; color:#fff; padding:.75rem 1rem; z-index:99999; border-radius:0 0 8px 0;}
.skip-link:focus{left:0;}
main:focus{outline:none;}
.sl-pause{display:none; position:absolute; left:10px; bottom:6px; width:30px; height:30px; border:0; border-radius:50%; background:rgba(0,0,0,.45); color:#fff; font-size:12px; line-height:30px; text-align:center; cursor:pointer; padding:0;}
.sl-pause:hover{background:rgba(0,0,0,.65);}
.sl-dots button:focus-visible,.sl-nav:focus-visible,.sl-pause:focus-visible{outline:2px solid #fff; outline-offset:2px; box-shadow:0 0 0 4px #000;}
@media (prefers-reduced-motion:reduce){ .slides{transition:none !important;} }

/* ---------- পরামর্শ ও অভিযোগ ফরম (v3.228) ---------- */
.fb-intro{margin:0 0 16px; line-height:1.8; color:var(--muted);}
.fb-panel{padding:22px 20px;}
.fb-types{display:flex; gap:8px; margin:0 0 16px; flex-wrap:wrap;}
.fb-type{position:relative; flex:1 1 0; min-width:90px; cursor:pointer;}
.fb-type input{position:absolute; opacity:0; inset:0; width:100%; height:100%; margin:0; cursor:pointer;}
.fb-type span{display:block; text-align:center; padding:10px 8px; border:1px solid var(--line); border-radius:999px; font-weight:700; font-size:15px; line-height:1.3;}
.fb-type input:checked + span{border-color:var(--gold); background:color-mix(in srgb, var(--gold) 14%, transparent);}
.fb-type input:focus-visible + span{outline:2px solid var(--gold); outline-offset:2px;}
.field[hidden]{display:none;}
.field small{font-weight:400; opacity:.7;}
.fb-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
#kbt-fb-form textarea{resize:none; overflow:hidden; min-height:120px; line-height:1.7;} /* লিখলে নিজে বড় হয় (assets/feedback.js) */

/* v3.249: কীবোর্ডে Tab চাপলে ফোকাস সবসময় চোখে পড়ার মতো (গাঢ় ব্যাকগ্রাউন্ডে ব্রাউজারের ডিফল্ট রেখা প্রায় অদৃশ্য)।
   শুধু কীবোর্ড-ফোকাসে (:focus-visible) — মাউস-ক্লিকে কিছু বদলায় না। */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible{
  outline:2px solid var(--gold-light,#e8c766); outline-offset:2px;
}
main:focus-visible{outline:none;}
