.rp-block-sticky{position:sticky;top:88px}
@media(max-width:991px){.rp-block-sticky{position:static}}
.rp-block{margin-top:4px}
.rp-block__title{font-weight: 600; margin: 0 0 16px; font-size: 1rem}
/* Khi cot related xep chong xuong duoi content (khong con la sidebar hep nua),
   tieu de duoc nang len thanh heading dung nghia — to hon ban sidebar. Dat SAU
   rule goc .rp-block__title o tren (cung specificity, ai dung sau thang) —
   dat truoc se bi rule goc de mat, khong bao gio ap dung duoc (da xay ra). */
@media(max-width:991px){
    .rp-block__title{font-size:1.5rem;font-weight:700;letter-spacing:-0.029em;margin:0; padding: 40px 0 20px}
}
/* Outer wrapper: position reference for nav buttons — NO overflow so buttons are never clipped */
.rp-outer{position:relative}
/* Clip layer: this is the ONLY overflow:hidden — track slides inside here */
.rp-clip{overflow:hidden;border-radius:6px}
/* Track: flex row, no will-change (avoids GPU layer that breaks pointer-events) */
.rp-track{display:flex;transition:transform .35s ease}
/* Slides — width set by JS via getBoundingClientRect (sub-pixel accurate) */
.rp-slide{flex-shrink:0;box-sizing:border-box;background:#fff;border:1px solid #e8e8e8;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
/* Ca the la 1 link duy nhat (giong .fpt-card-link, home.css) — khong con nut
   "Xem chi tiet" rieng, bam bat ky dau tren the deu vao trang san pham. */
.rp-card-link{display:flex;flex-direction:column;flex:1;text-decoration:none;color:inherit}
.rp-card-link:hover{text-decoration:none;color:inherit}
.rp-slide .thumb-cat{height:180px;display:block;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important; border-radius: 10px}
/* .desc: style clone tu .fpt-card-body (home.css) — flex column, flex:1 de chiem het
   chieu cao con lai cua the (cac the trong 1 hang da bang chieu cao nhau qua .rp-track
   flex align-items:stretch mac dinh), ket hop margin-top:auto o .product-price-box
   ben duoi de gia luon nam sat day the du tieu de/so sao dai ngan khac nhau. */
.rp-slide .desc{display:flex;flex-direction:column;flex:1;padding:8px 10px 10px}
/* Dong nhat font-size toan bo text trong the (truoc do title 0.875rem lech voi
   rating/gia 12px) — tat ca cung 0.875rem, phan biet bang font-weight/mau thay vi size. */
.rp-slide .title-dung{font-size:1rem;font-weight:600;margin:0 0 5px;line-height:1.5}
.rp-slide .product-rating-box{font-size:0.875rem;margin-bottom:10px}
/* .product-price-box: style clone tu .fpt-card-price-row (home.css) — chip nen xam,
   bo goc, margin-top:auto de day sat xuong day the (thay vi nam ngay sau rating). */
.rp-slide .product-price-box{margin:auto 0 0;background:#eaeffa;border-radius:8px;padding:8px 10px;display:flex;align-items:baseline;gap:5px;white-space:nowrap;overflow:hidden;font-size:0.875rem;color:#4a4f63}
.rp-slide .price-value{font-size:0.875rem;font-weight:700;color:var(--ivd-brand,#1d52d7);overflow:hidden;text-overflow:ellipsis}
/* Nav buttons: absolute on .rp-outer (no overflow) — guaranteed clickable */
.rp-nav-btn{position:absolute;top:80px;transform:translateY(-50%);z-index:20;
  background:rgba(255,255,255,.92);color:var(--ivd-brand,#1d52d7);border:none;border-radius:50%;
  width:30px;height:30px;font-size:22px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  padding:0;line-height:1;box-shadow:0 2px 8px rgba(0,0,0,.22);
  transition:background .15s,color .15s,opacity .15s}
.rp-nav-btn:hover{background:var(--ivd-brand,#1d52d7);color:#fff}
.rp-nav-btn:disabled{opacity:.2;cursor:default;pointer-events:none}
#rpPrev{left:5px}
#rpNext{right:5px}
/* Dots — clone y het .thp-dots/.thp-dot (shortcode-press.css) */
.rp-dots-wrap{display:flex;justify-content:center}
.rp-dots{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:22px}
.rp-dot{width:6px;height:6px;padding:0;border:none;border-radius:50%;background:#cfe0fa;cursor:pointer;transition:background .2s,transform .2s}
.rp-dot--active{background:var(--ivd-brand,#1d52d7);transform:scale(1.2);width:16px;border-radius:50px}
