/* FILE: assets/css/rf-blog-buy.css   (PUBLIC)
   ACTION: new file
   CHANGE (15 Nov 2026): article page - slim product line after the first paragraph, "more on this topic"
   links inside the article, and other products of the same category at the end. Uses the journal's own
   colours and type (rf-blog.css variables). */

/* ---- 1. slim product line ---- */
.rfb .rfbb-strip{ display:grid; grid-template-columns:64px minmax(0,1fr) auto; align-items:center; gap:14px; margin:4px 0 26px; padding:12px 14px 12px 12px; border:1px solid var(--line-2); border-left:3px solid var(--g); border-radius:4px 14px 14px 4px; background:var(--paper); color:var(--ink) !important; text-decoration:none !important; transition:border-color .2s ease, box-shadow .2s ease; }
.rfb .rfbb-strip:hover{ border-color:var(--g); border-left-color:var(--m); box-shadow:0 6px 18px rgba(63,16,25,.07); }
.rfb .rfbb-strip__img{ display:block; width:64px; height:64px; border-radius:10px; background:#fff; border:1px solid var(--line); overflow:hidden; }
.rfb .rfbb-strip__img img{ display:block; width:100% !important; height:100% !important; margin:0 !important; padding:4px !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; object-fit:contain; }
.rfb .rfbb-strip__txt{ display:block; min-width:0; }
.rfb .rfbb-strip__k{ display:block; margin-bottom:2px; font-family:var(--bn); font-size:12.5px; font-weight:500; line-height:1.4; color:var(--g-dk); }
.rfb .rfbb-strip__n{ display:block; font-family:var(--bn); font-size:15.5px; font-weight:600; line-height:1.45; color:var(--ink); overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.rfb .rfbb-strip__p{ display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; margin-top:3px; font-family:var(--sans); line-height:1.4; }
.rfb .rfbb-strip__p b{ font-size:17px; font-weight:700; color:var(--m); }
.rfb .rfbb-strip__p del{ font-size:13px; color:var(--muted); }
.rfb .rfbb-strip__p i{ font-family:var(--bn); font-style:normal; font-size:12px; font-weight:600; color:#1E6B3A; }
.rfb .rfbb-strip__p em{ font-family:var(--bn); font-style:normal; font-size:12.5px; color:var(--text); white-space:nowrap; }
.rfb .rfbb-strip__p em span{ color:var(--g-dk); }
.rfb .rfbb-strip__t{ display:block; margin-top:2px; font-family:var(--bn); font-size:12.5px; line-height:1.5; color:var(--muted); }
.rfb .rfbb-strip__go{ display:inline-flex; align-items:center; gap:6px; height:44px; padding:0 18px; border-radius:10px; background:var(--m); color:#fff; font-family:var(--bn); font-size:14.5px; font-weight:600; white-space:nowrap; transition:background .2s ease; }
.rfb .rfbb-strip:hover .rfbb-strip__go{ background:var(--m-dk); }

/* ---- 2. more on this topic ---- */
.rfb .rfbb-more{ margin:34px 0; padding:16px 0 6px; border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2); }
.rfb .rfbb-more__t{ margin:0 0 8px !important; font-family:var(--bn); font-size:13px; font-weight:600; line-height:1.4; color:var(--g-dk); }
.rfb .rfbb-more ul{ list-style:none !important; margin:0 !important; padding:0 !important; }
.rfb .rfbb-more li{ position:relative; margin:0 !important; padding:9px 0 9px 20px !important; border-top:1px dotted var(--line-2); font-family:var(--bn); font-size:16px; line-height:1.55; }
.rfb .rfbb-more li:first-child{ border-top:0; }
.rfb .rfbb-more li::before{ content:"›"; position:absolute; left:4px; top:8px; color:var(--g-dk); font-family:var(--sans); font-size:17px; line-height:1.5; }
.rfb .rfbb-more li::marker{ content:""; }
.rfb .rfbb-more a{ color:var(--ink) !important; font-weight:500; text-decoration:none !important; border:0 !important; background:none !important; }
.rfb .rfbb-more a:hover{ color:var(--m) !important; text-decoration:underline !important; text-underline-offset:3px; }

/* ---- 3. other products of the category ---- */
.rfb .rfbb-shelf{ margin-top:34px; padding-top:26px; border-top:1px solid var(--line); }
.rfb .rfbb-shelf__h{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:16px; }
.rfb .rfbb-shelf__t{ margin:0; font-family:var(--bn); font-size:20px; font-weight:700; line-height:1.4; color:var(--ink); }
.rfb .rfbb-shelf__t span{ font-weight:400; color:var(--text); }
.rfb .rfbb-shelf__h a{ flex:none; font-family:var(--bn); font-size:14px; font-weight:600; color:var(--m) !important; border-bottom:1px solid var(--g); padding-bottom:1px; }
.rfb .rfbb-shelf__g{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.rfb .rfbb-item{ display:flex; flex-direction:column; min-width:0; padding:10px 10px 12px; border:1px solid var(--line); border-radius:14px; background:var(--paper); color:var(--ink) !important; transition:border-color .2s ease, transform .2s ease; }
.rfb .rfbb-item:hover{ border-color:var(--g); transform:translateY(-2px); }
.rfb .rfbb-item__img{ display:block; aspect-ratio:1/1; margin-bottom:10px; border-radius:10px; background:#fff; overflow:hidden; }
.rfb .rfbb-item__img img{ display:block; width:100%; height:100%; object-fit:contain; }
.rfb .rfbb-item__n{ font-family:var(--bn); font-size:14px; font-weight:500; line-height:1.5; color:var(--ink); overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; min-height:42px; }
.rfb .rfbb-item__p{ margin-top:6px; font-family:var(--sans); line-height:1.4; }
.rfb .rfbb-item__p b{ font-size:16px; font-weight:700; color:var(--m); }
.rfb .rfbb-item__p del{ margin-left:4px; font-size:12.5px; color:var(--muted); }
.rfb .rfbb-item__go{ margin-top:10px; display:flex; align-items:center; justify-content:center; height:38px; border:1.5px solid var(--m); border-radius:9px; font-family:var(--bn); font-size:13.5px; font-weight:600; color:var(--m); transition:background .2s ease, color .2s ease; }
.rfb .rfbb-item:hover .rfbb-item__go{ background:var(--m); color:#fff; }

@media (max-width:767px){
  .rfb .rfbb-strip{ grid-template-columns:56px minmax(0,1fr); gap:10px 12px; padding:12px; margin-bottom:22px; }
  .rfb .rfbb-strip__img{ width:56px; height:56px; }
  .rfb .rfbb-strip__n{ font-size:15px; }
  .rfb .rfbb-strip__go{ grid-column:1 / -1; justify-content:center; height:46px; font-size:15px; }
  .rfb .rfbb-more{ margin:28px 0; }
  .rfb .rfbb-more li{ font-size:15.5px; }
  .rfb .rfbb-shelf__t{ font-size:18px; }
  .rfb .rfbb-shelf__g{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .rfb .rfbb-item{ padding:8px 8px 10px; }
  .rfb .rfbb-item__n{ font-size:13.5px; min-height:40px; }
}

/* ---- 4. (15 Nov 2026, later) Bangla words on the product card, the phone bottom bar and the side box ---- */
.rfb .rfb-cta--v2 small{ font-family:var(--bn); font-size:12.5px; letter-spacing:0; text-transform:none; }
.rfb .rfb-cta--v2 .rfb-cta__trust li{ font-family:var(--bn); }
.rfb .rfb-cta--v2 .rfb-cta__btns .rfb-cta__buy{ font-family:var(--bn); font-size:15px; letter-spacing:0; text-transform:none; }
.rfb .rfb-sbar__buy{ font-family:var(--bn); font-size:14.5px; letter-spacing:0; text-transform:none; }
.rfb .rfb-prod__go{ font-family:var(--bn); font-size:13px; letter-spacing:0; text-transform:none; }
