/* ============================================================
   TukangRumput / idz Garden Theme — v2.0.0
   Author: Izul | © 2024 TukangRumput.id
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --tr-primary:    #1a6b2b;
  --tr-wa:         #25d366;
  --tr-accent:     #e74c3c;
  --tr-text:       #2d2d2d;
  --tr-muted:      #666;
  --tr-bg:         #f5f5f5;
  --tr-white:      #fff;
  --tr-border:     #e0e0e0;
  --tr-radius:     8px;
  --tr-radius-sm:  4px;
  --tr-shadow:     0 2px 8px rgba(0,0,0,.08);
  --tr-shadow-h:   0 6px 24px rgba(0,0,0,.13);
  --tr-trans:      .18s ease;
  --tr-font:       'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --tr-logo-h:     44px;
  --tr-footer-bg:  #1a1a1a;
  --tr-footer-txt: #ccc;
}

/* ── Reset ── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family:var(--tr-font);
  font-size:14px; line-height:1.6;
  color:var(--tr-text);
  background:var(--tr-bg);
  -webkit-font-smoothing:antialiased;
  /* ruang bawah untuk WA bar mobile */
  padding-bottom:56px;
}
@media(min-width:769px){ body{ padding-bottom:0; } }
img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--tr-primary); }
ul { list-style:none; }
button { cursor:pointer; font-family:inherit; border:none; background:none; }
input,select,textarea { font-family:inherit; }

/* ── Container ── */
.tr-container { width:100%; max-width:1280px; margin:0 auto; padding:0 16px; }

/* ================================================================
   HEADER
================================================================ */
.tr-header { position:sticky; top:0; z-index:1000; background:var(--tr-white); box-shadow:0 2px 6px rgba(0,0,0,.08); }

/* Top bar */
.tr-header-top { background:var(--tr-primary); color:#fff; font-size:12px; padding:5px 0; }
.tr-header-top__inner { display:flex; justify-content:space-between; align-items:center; }
.tr-header-top a { color:#fff; text-decoration:underline; }

/* Main */
.tr-header-main { padding:10px 0; }
.tr-header-main__inner { display:flex; align-items:center; gap:14px; }

/* ── LOGO — fixed, tidak ada double <a> ── */
.tr-header-logo { flex-shrink:0; line-height:0; display:flex; align-items:center; }
/* custom-logo-link adalah <a> dari WordPress, langsung dalam .tr-header-logo */
.tr-header-logo .custom-logo-link { display:flex; align-items:center; line-height:0; }
/* Paksa ukuran logo dengan semua selector yang mungkin */
.tr-header-logo img,
.tr-header-logo .custom-logo,
.tr-header-logo .custom-logo-link img,
.custom-logo-link img.custom-logo {
  height:var(--tr-logo-h) !important;
  max-height:var(--tr-logo-h) !important;
  width:auto !important;
  max-width:200px !important;
  object-fit:contain !important;
  display:block !important;
}
.tr-header-logo__text { font-size:20px; font-weight:700; color:var(--tr-primary); }

/* Search */
.tr-header-search { flex:1; max-width:560px; }
.tr-search-form { display:flex; border:2px solid var(--tr-primary); border-radius:24px; overflow:hidden; }
.tr-search-form__input { flex:1; padding:10px 16px; border:none; outline:none; font-size:14px; }
.tr-search-form__btn { padding:10px 16px; background:var(--tr-primary); color:#fff; display:flex; align-items:center; transition:background var(--tr-trans); }
.tr-search-form__btn:hover { background:#155722; }

/* Actions */
.tr-header-actions { display:flex; align-items:center; gap:10px; margin-left:auto; }

/* Cart icon */
.tr-header-cart { display:flex; flex-direction:column; align-items:center; position:relative; color:var(--tr-text); font-size:11px; gap:2px; padding:4px 8px; transition:color var(--tr-trans); }
.tr-header-cart:hover { color:var(--tr-primary); }
.tr-header-cart__count { position:absolute; top:-4px; right:0; background:var(--tr-accent); color:#fff; font-size:10px; font-weight:700; min-width:18px; height:18px; border-radius:9px; display:flex; align-items:center; justify-content:center; padding:0 4px; }

/* WA header button */
.tr-header-wa-btn { display:flex; align-items:center; gap:6px; background:var(--tr-wa); color:#fff; font-weight:600; font-size:13px; padding:9px 14px; border-radius:22px; transition:background var(--tr-trans); white-space:nowrap; }
.tr-header-wa-btn:hover { background:#1da851; color:#fff; }

/* Hamburger */
.tr-hamburger { display:none; flex-direction:column; gap:5px; padding:6px; }
.tr-hamburger span { display:block; width:24px; height:2px; background:var(--tr-text); border-radius:2px; }

/* Nav kategori */
.tr-nav-kategori { background:var(--tr-white); border-top:1px solid var(--tr-border); }
.tr-nav-kategori .tr-container { overflow:visible; }
.tr-nav-kategori__list { display:flex; overflow-x:auto; scrollbar-width:none; }
.tr-nav-kategori__list::-webkit-scrollbar { display:none; }
.tr-nav-kategori__list > li { position:relative; flex-shrink:0; }
.tr-nav-kategori__list > li > a { display:block; padding:10px 14px; font-size:13px; font-weight:500; color:var(--tr-text); white-space:nowrap; border-bottom:2px solid transparent; transition:all var(--tr-trans); }
.tr-nav-kategori__list > li > a:hover,
.tr-nav-kategori__list > li.current-menu-item > a { color:var(--tr-primary); border-bottom-color:var(--tr-primary); }
.tr-nav-kategori__list .sub-menu { position:absolute; top:100%; left:0; z-index:9999; background:var(--tr-white); border:1px solid var(--tr-border); border-radius:var(--tr-radius); min-width:180px; box-shadow:var(--tr-shadow); display:none; }
.tr-nav-kategori__list > li:hover > .sub-menu { display:block; }
.tr-nav-kategori__list .sub-menu li a { display:block; padding:9px 16px; font-size:13px; color:var(--tr-text); }
.tr-nav-kategori__list .sub-menu li a:hover { background:#f5f5f5; color:var(--tr-primary); }

/* Mobile menu */
.tr-mobile-menu { position:fixed; top:0; right:-100%; width:280px; height:100vh; background:var(--tr-white); z-index:2000; overflow-y:auto; transition:right .3s ease; box-shadow:-4px 0 20px rgba(0,0,0,.15); }
.tr-mobile-menu.open { right:0; }
.tr-mobile-menu__inner { padding:20px; }
.tr-mobile-menu__close { font-size:20px; float:right; padding:4px 8px; }
.tr-mobile-menu__list { clear:both; margin-top:20px; }
.tr-mobile-menu__list a { display:block; padding:12px 0; border-bottom:1px solid var(--tr-border); font-size:15px; }
.tr-mobile-menu__wa { margin-top:24px; }
.tr-mobile-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:1999; }
.tr-mobile-overlay.open { display:block; }

/* ================================================================
   HERO BANNER — Tokopedia Style
   Desktop: 4:1 ratio dengan overlay teks
   Mobile: gambar penuh + info bar hijau di bawah (bukan overlay)
================================================================ */
.tr-hero { position:relative; background:#eee; width:100%; }

/* Wrapper rasio aspek 4:1 desktop */
.tr-hero__ratio {
  position:relative;
  width:100%;
  padding-top:25%;   /* 4:1 */
  min-height:100px;
  max-height:380px;
  overflow:hidden;
}

.tr-hero__slides { position:absolute; inset:0; width:100%; height:100%; }
.tr-hero__slide { position:absolute; inset:0; display:none; width:100%; height:100%; }
.tr-hero__slide.active { display:block; }
.tr-hero__slide a { display:block; width:100%; height:100%; }
.tr-hero__slide-img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }

/* Overlay teks (desktop) */
.tr-hero__overlay { position:absolute; inset:0; display:flex; align-items:center; background:linear-gradient(90deg,rgba(0,0,0,.52) 0%,rgba(0,0,0,.08) 50%,transparent 80%); padding:0 40px; pointer-events:none; }
.tr-hero__overlay-inner { max-width:360px; pointer-events:all; color:#fff; }
.tr-hero__badge { display:inline-block; background:var(--tr-accent); color:#fff; font-size:10px; font-weight:700; padding:2px 8px; border-radius:3px; margin-bottom:6px; }
.tr-hero__title { font-size:clamp(14px,2vw,26px); font-weight:800; line-height:1.2; margin-bottom:4px; }
.tr-hero__subtitle { font-size:clamp(10px,1vw,13px); opacity:.9; margin-bottom:8px; }
.tr-hero__btn { display:inline-block; background:var(--tr-white); color:var(--tr-primary); font-weight:700; font-size:12px; padding:7px 18px; border-radius:20px; }

/* Arrows */
.tr-hero__prev,.tr-hero__next { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.9); border:none; width:28px; height:28px; border-radius:50%; font-size:12px; cursor:pointer; z-index:10; display:flex; align-items:center; justify-content:center; box-shadow:0 1px 4px rgba(0,0,0,.2); }
.tr-hero__prev { left:8px; }
.tr-hero__next { right:8px; }

/* Dots */
.tr-hero__dots { position:absolute; bottom:6px; left:50%; transform:translateX(-50%); display:flex; gap:4px; z-index:10; }
.tr-hero__dot { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.45); border:none; cursor:pointer; padding:0; transition:all var(--tr-trans); }
.tr-hero__dot.active { background:var(--tr-white); width:16px; border-radius:3px; }

/* Countdown */
.tr-countdown { display:flex; align-items:center; gap:5px; margin-bottom:8px; }
.tr-countdown__unit { text-align:center; background:rgba(0,0,0,.5); padding:3px 7px; border-radius:3px; min-width:36px; }
.tr-countdown__num { display:block; font-size:clamp(14px,1.6vw,22px); font-weight:800; line-height:1.1; }
.tr-countdown__label { font-size:8px; opacity:.8; text-transform:uppercase; }
.tr-countdown__sep { font-size:clamp(14px,1.6vw,20px); font-weight:700; opacity:.7; }

/* ── Info bar flash sale di MOBILE (di bawah banner, bukan overlay) ── */
.tr-hero__mobile-info { display:none; }

@media(max-width:768px) {
  /* Banner mobile: rasio 2:1 */
  .tr-hero__ratio {
    padding-top:50%;  /* 2:1 */
    max-height:none;
  }
  /* Sembunyikan overlay teks di mobile */
  .tr-hero__overlay { display:none !important; }
  /* Dots pindah ke bawah banner */
  .tr-hero__dots { position:static; transform:none; justify-content:center; padding:5px 0; background:#fff; gap:5px; }
  .tr-hero__dot { background:#ddd; }
  .tr-hero__dot.active { background:var(--tr-primary); }
  /* Arrows lebih kecil */
  .tr-hero__prev,.tr-hero__next { width:22px; height:22px; font-size:10px; }
  /* Tampilkan info bar di bawah banner */
  .tr-hero__mobile-info {
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    background:var(--tr-primary);
    color:#fff;
  }
  .tr-hero__mobile-info .tr-hero__badge { margin:0; font-size:10px; padding:2px 6px; }
  .tr-hero__mobile-info .tr-hero__title { font-size:13px; font-weight:700; flex:1; margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .tr-hero__mobile-info .tr-hero__btn { font-size:11px; padding:4px 10px; background:rgba(255,255,255,.2); color:#fff; border-radius:4px; white-space:nowrap; flex-shrink:0; }
}

@media(min-width:769px) {
  .tr-hero__mobile-info { display:none !important; }
}

/* ================================================================
   SEKSI PRODUK HOMEPAGE
================================================================ */
.tr-product-section { padding:20px 0; }
.tr-section-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.tr-section-title { font-size:17px; font-weight:700; color:var(--tr-text); padding-left:10px; border-left:4px solid var(--tr-primary); }
.tr-section-more { font-size:13px; font-weight:600; color:var(--tr-primary); }
.tr-section-more:hover { text-decoration:underline; }

/* ================================================================
   PRODUCT GRID
================================================================ */
.tr-product-grid { display:grid; grid-template-columns:repeat(var(--grid-cols,4),1fr); gap:12px; }

/* ================================================================
   PRODUCT CARD
================================================================ */
.tr-product-card { background:var(--tr-white); border-radius:var(--tr-radius); overflow:hidden; border:1px solid var(--tr-border); display:flex; flex-direction:column; transition:box-shadow var(--tr-trans),transform var(--tr-trans); }
.tr-product-card:hover { box-shadow:var(--tr-shadow-h); transform:translateY(-2px); }

/* Gambar */
.tr-product-card__img-wrap { display:block; aspect-ratio:1/1; overflow:hidden; background:#f8f8f8; position:relative; }
.tr-product-card__img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.tr-product-card:hover .tr-product-card__img { transform:scale(1.04); }

/* Badge */
.tr-product-card__badges { position:absolute; top:7px; left:7px; display:flex; flex-direction:column; gap:3px; z-index:1; }
.tr-badge { font-size:10px; font-weight:700; padding:2px 6px; border-radius:3px; color:#fff; }
.tr-badge--sale { background:var(--tr-accent); }
.tr-badge--new { background:#2980b9; }
.tr-badge--featured { background:var(--tr-primary); }

/* Body */
.tr-product-card__body { padding:10px; flex:1; display:flex; flex-direction:column; gap:5px; }

/* Nama */
.tr-product-card__name { font-size:13px; font-weight:500; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.tr-product-card__name a:hover { color:var(--tr-primary); }

/* Deskripsi singkat */
.tr-product-card__desc { font-size:11px; color:var(--tr-muted); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* Rating */
.tr-product-card__rating { display:flex; align-items:center; gap:3px; }
.tr-stars { display:flex; gap:1px; }
.tr-star { font-size:12px; color:#ddd; }
.tr-star.filled { color:#f5a623; }
.tr-product-card__rating-count { font-size:11px; color:var(--tr-muted); }

/* Harga */
.tr-product-card__price { margin-top:auto; padding-top:4px; }
.tr-product-card__price .price { font-size:14px; font-weight:700; color:var(--tr-primary); }
.tr-product-card__price .price ins { text-decoration:none; display:block; }
.tr-product-card__price .price del { font-size:11px; color:var(--tr-muted); font-weight:400; }
.woocommerce-Price-amount { font-weight:700; }

/* ── AKSI CARD: Ikon keranjang + Tanya WA ── */
.tr-product-card__actions {
  display:flex;
  gap:6px;
  margin-top:8px;
  align-items:stretch;
}

/* Tombol keranjang — ikon kotak kecil di kiri */
.tr-product-card__cart {
  width:36px;
  height:36px;
  flex-shrink:0;
  border-radius:var(--tr-radius-sm);
  border:1.5px solid var(--tr-primary);
  color:var(--tr-primary);
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background var(--tr-trans),color var(--tr-trans);
  cursor:pointer;
  padding:0;
}
.tr-product-card__cart:hover { background:var(--tr-primary); color:#fff; }
.tr-product-card__cart svg { flex-shrink:0; }

/* Tombol Tanya WA — mengisi sisa lebar */
.tr-product-card__wa {
  flex:1;
  background:var(--tr-wa);
  color:#fff;
  font-size:12px;
  font-weight:600;
  padding:0 8px;
  height:36px;
  border-radius:var(--tr-radius-sm);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  transition:background var(--tr-trans);
  white-space:nowrap;
}
.tr-product-card__wa:hover { background:#1da851; color:#fff; }

/* Mobile card */
@media(max-width:480px) {
  .tr-product-card__body { padding:8px; gap:4px; }
  .tr-product-card__name { font-size:12px; }
  .tr-product-card__desc { display:none; }
  .tr-product-card__price .price { font-size:13px; }
  .tr-product-card__cart { width:32px; height:32px; }
  .tr-product-card__wa { height:32px; font-size:11px; }
}

/* ================================================================
   SHOP PAGE (Halaman Toko & Kategori)
================================================================ */
.tr-shop-page { padding:20px 0 48px; }
.tr-shop-header { margin-bottom:18px; }
.tr-shop-header__title { font-size:22px; font-weight:700; }
.tr-shop-layout { display:grid; grid-template-columns:210px 1fr; gap:20px; align-items:start; }

/* Sidebar */
.tr-shop-sidebar { background:var(--tr-white); border:1px solid var(--tr-border); border-radius:var(--tr-radius); padding:18px; position:sticky; top:72px; }
.tr-sidebar-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.tr-sidebar-header h2 { font-size:14px; font-weight:700; }
.tr-sidebar-close { display:none; font-size:18px; cursor:pointer; }
.tr-filter-group { margin-bottom:20px; }
.tr-filter-group__title { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--tr-muted); margin-bottom:8px; }
.tr-filter-group__list { display:flex; flex-direction:column; gap:2px; }
.tr-filter-link { display:flex; justify-content:space-between; padding:6px 8px; font-size:13px; border-radius:var(--tr-radius-sm); transition:background var(--tr-trans); }
.tr-filter-link:hover { background:#f0f8f2; color:var(--tr-primary); }
.tr-filter-link.active { background:#e8f5ec; color:var(--tr-primary); font-weight:600; }
.tr-filter-link--sub { padding-left:18px; font-size:12px; }
.tr-filter-count { font-size:11px; color:var(--tr-muted); }
.tr-price-inputs { display:flex; align-items:center; gap:6px; margin-bottom:8px; }
.tr-price-input-wrap { display:flex; align-items:center; gap:4px; border:1px solid var(--tr-border); border-radius:var(--tr-radius-sm); padding:4px 8px; flex:1; font-size:12px; }
.tr-price-input-wrap input { width:100%; border:none; outline:none; font-size:12px; }
.tr-price-sep { color:var(--tr-muted); flex-shrink:0; }
.tr-price-filter__btn { width:100%; margin-bottom:6px; }
.tr-price-filter__reset { font-size:12px; color:var(--tr-accent); cursor:pointer; }
.tr-shop-toolbar { display:flex; align-items:center; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
.tr-filter-toggle { display:none; align-items:center; gap:6px; padding:7px 14px; border:1px solid var(--tr-border); border-radius:20px; font-size:13px; background:var(--tr-white); cursor:pointer; }
.tr-shop-toolbar__count { font-size:13px; color:var(--tr-muted); }
.tr-shop-toolbar__sort { margin-left:auto; }
.tr-shop-toolbar__sort select { padding:6px 10px; border:1px solid var(--tr-border); border-radius:var(--tr-radius-sm); font-size:13px; }
.tr-product-grid--shop { --grid-cols:3; }

/* Pagination */
.tr-pagination { margin-top:28px; }
.tr-pagination .page-numbers { display:flex; justify-content:center; gap:5px; flex-wrap:wrap; list-style:none; }
.tr-pagination .page-numbers a,
.tr-pagination .page-numbers span { display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:var(--tr-radius-sm); border:1px solid var(--tr-border); font-size:13px; background:var(--tr-white); color:var(--tr-text); transition:all var(--tr-trans); }
.tr-pagination .page-numbers .current { background:var(--tr-primary); color:#fff; border-color:var(--tr-primary); }
.tr-pagination .page-numbers a:hover { border-color:var(--tr-primary); color:var(--tr-primary); }
.tr-shop-empty { text-align:center; padding:48px 20px; color:var(--tr-muted); }

/* ================================================================
   SINGLE PRODUCT
================================================================ */
.tr-single-product { padding:20px 0 48px; }
.tr-product-single { display:grid; grid-template-columns:1fr 1fr; gap:36px; margin-bottom:36px; }

/* Gallery */
.tr-gallery-main { border-radius:var(--tr-radius); overflow:hidden; margin-bottom:10px; background:#f8f8f8; border:1px solid var(--tr-border); }
.tr-gallery-main__link { display:block; }
.tr-gallery-main__img { width:100%; max-height:460px; object-fit:contain; }
.tr-gallery-thumbs { display:flex; gap:7px; flex-wrap:wrap; }
.tr-gallery-thumb { width:64px; height:64px; border-radius:var(--tr-radius-sm); overflow:hidden; border:2px solid transparent; padding:0; cursor:pointer; transition:border-color var(--tr-trans); }
.tr-gallery-thumb.active,.tr-gallery-thumb:hover { border-color:var(--tr-primary); }
.tr-gallery-thumb img { width:100%; height:100%; object-fit:cover; }

/* Info produk */
.tr-product-info { display:flex; flex-direction:column; gap:12px; }
.tr-product-info__cat { font-size:11px; color:var(--tr-primary); font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
.tr-product-info__name { font-size:clamp(18px,2.4vw,26px); font-weight:700; line-height:1.3; }
.tr-product-info__rating { display:flex; align-items:center; gap:6px; cursor:pointer; }
.tr-product-info__rating .tr-star { font-size:15px; }
.tr-product-info__rating-count { font-size:12px; color:var(--tr-muted); }
.tr-product-info__price .price { font-size:26px; font-weight:800; color:var(--tr-primary); display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.tr-product-info__price .price del { font-size:15px; color:var(--tr-muted); font-weight:400; }
.tr-product-info__price .price ins { text-decoration:none; }
.tr-product-info__discount-badge { background:var(--tr-accent); color:#fff; font-size:12px; font-weight:700; padding:2px 8px; border-radius:3px; }
.tr-product-info__short-desc { font-size:14px; color:var(--tr-muted); line-height:1.7; }

/* Tombol aksi produk — outline style */
.tr-product-info__actions { display:flex; flex-direction:column; gap:10px; }

/* Form cart WooCommerce — pisahkan quantity dan tombol */
.tr-product-info__actions .cart,
.woocommerce div.product form.cart { display:flex; flex-direction:column; gap:10px; width:100%; }

/* Quantity wrapper */
.tr-product-info__actions .quantity,
.woocommerce div.product form.cart .quantity {
  display:flex;
  align-items:center;
  gap:0;
  border:1px solid var(--tr-border);
  border-radius:var(--tr-radius-sm);
  overflow:hidden;
  width:fit-content;
  min-width:120px;
}

/* Input qty */
.tr-product-info__actions .qty,
.woocommerce div.product form.cart .qty {
  width:60px !important;
  height:42px !important;
  text-align:center !important;
  border:none !important;
  border-left:1px solid var(--tr-border) !important;
  border-right:1px solid var(--tr-border) !important;
  border-radius:0 !important;
  font-size:16px !important;
  font-weight:600 !important;
  padding:0 8px !important;
  -moz-appearance:textfield !important;
}
.tr-product-info__actions .qty::-webkit-inner-spin-button,
.tr-product-info__actions .qty::-webkit-outer-spin-button { -webkit-appearance:none; }

/* Tombol Tambah ke Keranjang — full width, di bawah quantity */
.tr-product-info__actions .single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button {
  padding:13px 24px !important;
  font-size:15px !important; font-weight:700 !important;
  background:var(--tr-white) !important;
  color:var(--tr-primary) !important;
  border:2px solid var(--tr-primary) !important;
  border-radius:var(--tr-radius) !important;
  width:100% !important;
  cursor:pointer !important;
  transition:background var(--tr-trans),color var(--tr-trans) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-top:0 !important;
}
.tr-product-info__actions .single_add_to_cart_button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background:var(--tr-primary) !important; color:#fff !important;
}
.tr-btn-wa { display:flex; align-items:center; justify-content:center; gap:8px; padding:13px 24px; font-size:15px; font-weight:700; background:var(--tr-white); color:var(--tr-wa); border:2px solid var(--tr-wa); border-radius:var(--tr-radius); width:100%; transition:background var(--tr-trans),color var(--tr-trans); cursor:pointer; text-decoration:none; }
.tr-btn-wa:hover { background:var(--tr-wa); color:#fff; }

/* Breadcrumb — hijau Tokopedia style */
.tr-breadcrumb {
  font-size:13px;
  margin-bottom:16px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  padding:10px 14px;
  background:var(--tr-white);
  border-radius:var(--tr-radius-sm);
  border:1px solid var(--tr-border);
}
.tr-breadcrumb a {
  color:var(--tr-primary);
  font-weight:500;
  transition:color var(--tr-trans);
}
.tr-breadcrumb a:hover { color:#155722; text-decoration:underline; }
.tr-bc-sep { color:#bbb; font-size:14px; }
.tr-bc-current {
  color:var(--tr-muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:300px;
}

/* Meta & Share */
.tr-product-info__meta { display:flex; flex-direction:column; gap:3px; font-size:13px; color:var(--tr-muted); }
.tr-product-info__meta strong { color:var(--tr-text); }
.tr-product-share { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:13px; }
.tr-share-btn { display:inline-flex; padding:4px 12px; border-radius:14px; font-size:12px; font-weight:600; }
.tr-share-btn--wa { background:var(--tr-wa); color:#fff; }
.tr-share-btn--fb { background:#1877f2; color:#fff; }
.tr-share-btn--copy { background:var(--tr-border); color:var(--tr-text); }

/* Tab produk */
.tr-product-tabs { background:var(--tr-white); border-radius:var(--tr-radius); border:1px solid var(--tr-border); overflow:hidden; margin-bottom:36px; }
.tr-product-tabs__nav { display:flex; border-bottom:2px solid var(--tr-border); overflow-x:auto; }
.tr-tab-btn { padding:13px 22px; font-size:14px; font-weight:600; color:var(--tr-muted); background:none; border:none; cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; transition:all var(--tr-trans); white-space:nowrap; display:flex; align-items:center; gap:5px; }
.tr-tab-btn.active { color:var(--tr-primary); border-bottom-color:var(--tr-primary); }
.tr-tab-badge { background:var(--tr-primary); color:#fff; font-size:11px; padding:1px 5px; border-radius:9px; }
.tr-product-tabs__content { padding:22px; }
.tr-tab-panel { display:none; }
.tr-tab-panel.active { display:block; }
.tr-product-desc { max-width:800px; line-height:1.8; font-size:14px; }
.tr-product-desc h2,.tr-product-desc h3 { margin:18px 0 9px; font-weight:700; }
.tr-product-desc p { margin-bottom:12px; }
.tr-product-desc ul { list-style:disc; padding-left:18px; margin-bottom:12px; }

/* Dokumentasi */
.tr-dok-empty { color:var(--tr-muted); font-size:14px; padding:20px 0; }
.tr-dok-summary { background:#f8f8f8; border-radius:var(--tr-radius); padding:14px 18px; margin-bottom:20px; }
.tr-dok-avg { display:flex; align-items:center; gap:12px; }
.tr-dok-avg-score { font-size:38px; font-weight:800; color:var(--tr-primary); }
.tr-dok-count { font-size:13px; color:var(--tr-muted); }
.tr-dok-list { display:flex; flex-direction:column; gap:20px; }
.tr-dok-item { border:1px solid var(--tr-border); border-radius:var(--tr-radius); padding:18px; background:var(--tr-white); }
.tr-dok-title { font-size:15px; font-weight:700; margin-bottom:4px; }
.tr-dok-meta { display:flex; gap:10px; font-size:12px; color:var(--tr-muted); margin-bottom:5px; flex-wrap:wrap; }
.tr-dok-item .tr-star { font-size:14px; }
.tr-dok-komentar { font-size:14px; line-height:1.7; margin:8px 0 12px; font-style:italic; }
.tr-dok-foto-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(100px,1fr)); gap:6px; margin-bottom:12px; }
.tr-dok-foto-item { border-radius:var(--tr-radius-sm); overflow:hidden; display:block; }
.tr-dok-foto-item img { width:100%; aspect-ratio:1; object-fit:cover; }
.tr-dok-video-wrap { border-radius:var(--tr-radius); overflow:hidden; margin-top:10px; }
.tr-related-products { border-top:1px solid var(--tr-border); padding-top:28px; }

/* ================================================================
   CART PAGE
================================================================ */
.tr-cart-page { padding:20px 0 48px; }
.tr-cart-layout { display:grid; grid-template-columns:1fr 300px; gap:28px; }
.tr-cart-empty { text-align:center; padding:48px 20px; grid-column:1/-1; }
.tr-cart-empty h2 { font-size:20px; margin:16px 0 8px; }
.tr-cart-empty p { color:var(--tr-muted); margin-bottom:20px; }
.tr-cart-table-wrap { background:var(--tr-white); border-radius:var(--tr-radius); border:1px solid var(--tr-border); overflow:auto; margin-bottom:14px; }
.tr-cart-table { width:100%; border-collapse:collapse; min-width:480px; }
.tr-cart-table th { padding:10px 14px; text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.5px; color:var(--tr-muted); border-bottom:1px solid var(--tr-border); background:#f8f8f8; }
.tr-cart-table td { padding:14px; border-bottom:1px solid var(--tr-border); vertical-align:middle; }
.tr-cart-row:last-child td { border-bottom:none; }
.tr-cart-td--img img { width:64px; height:64px; object-fit:cover; border-radius:var(--tr-radius-sm); border:1px solid var(--tr-border); }
.tr-cart-product-name { font-weight:600; font-size:14px; display:block; }
.tr-cart-product-name:hover { color:var(--tr-primary); }
.tr-cart-remove { color:var(--tr-muted); font-size:18px; width:26px; height:26px; display:flex; align-items:center; justify-content:center; border-radius:50%; transition:all var(--tr-trans); }
.tr-cart-remove:hover { color:var(--tr-accent); background:#fdecea; }
.tr-cart-actions { padding:10px 14px; background:#fafafa; border-top:1px solid var(--tr-border); }
.tr-cart-summary { background:var(--tr-white); border-radius:var(--tr-radius); border:1px solid var(--tr-border); padding:20px; align-self:start; position:sticky; top:72px; }
.tr-cart-summary h2 { font-size:17px; font-weight:700; margin-bottom:14px; }
.tr-cart-totals { display:flex; flex-direction:column; gap:9px; margin-bottom:14px; }
.tr-cart-total-row { display:flex; justify-content:space-between; font-size:14px; }
.tr-cart-total-row--total { font-size:17px; font-weight:700; padding-top:9px; border-top:2px solid var(--tr-border); }
.tr-cart-total-row--discount { color:var(--tr-accent); }
.tr-cart-note { background:#fff8e1; border:1px solid #ffe082; border-radius:var(--tr-radius-sm); padding:9px 12px; margin-bottom:14px; font-size:12px; line-height:1.5; }
.tr-btn-wa--lg { font-size:15px !important; padding:13px 20px !important; }
.tr-btn-wa--block { width:100% !important; display:flex !important; }
.tr-cart-wa-note { font-size:11px; color:var(--tr-muted); text-align:center; margin-top:7px; }
.tr-cart-continue { display:block; text-align:center; margin-top:12px; font-size:13px; color:var(--tr-muted); }
.tr-cart-continue:hover { color:var(--tr-primary); }
.quantity { display:flex; align-items:center; gap:4px; }
.quantity .qty { width:56px; height:34px; text-align:center; border:1px solid var(--tr-border); border-radius:var(--tr-radius-sm); font-size:14px; padding:4px; }

/* ================================================================
   FLOATING WA — Fixed bawah, tidak ikut scroll
================================================================ */
#tr-wa-float-btn,
.tr-wa-float {
  position:fixed !important;
  bottom:0 !important; left:0 !important; right:0 !important; top:auto !important;
  z-index:99999 !important;
  background:var(--tr-wa) !important;
  color:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:9px !important;
  padding:12px 20px !important;
  padding-bottom:max(12px,env(safe-area-inset-bottom)) !important;
  font-size:15px !important; font-weight:700 !important;
  box-shadow:0 -3px 14px rgba(0,0,0,.18) !important;
  text-decoration:none !important;
  transform:translateZ(0) !important;
  -webkit-transform:translateZ(0) !important;
  width:100% !important; border-radius:0 !important; border:none !important;
}
#tr-wa-float-btn:hover,.tr-wa-float:hover { background:#1da851 !important; color:#fff !important; }
.tr-wa-float__label { font-size:15px; font-weight:700; white-space:nowrap; }

@media(min-width:769px) {
  #tr-wa-float-btn,.tr-wa-float {
    bottom:24px !important; right:24px !important; left:auto !important;
    border-radius:28px !important; padding:12px 20px !important;
    width:auto !important; box-shadow:0 4px 18px rgba(37,211,102,.4) !important;
  }
}

/* ================================================================
   SINGLE POST & PAGE
================================================================ */
.tr-single-post,.tr-page-content { width:100%; min-height:100px; }
.tr-post-wrap,.tr-page-wrap { width:100%; }
.tr-post-wrap .elementor,.tr-page-wrap .elementor,
.tr-post-wrap .elementor-section-wrap,.tr-page-wrap .elementor-section-wrap { width:100% !important; }
.tr-woo-page .woocommerce { max-width:1280px; margin:0 auto; padding:24px 16px 48px; display:block; }

/* ================================================================
   FOOTER
================================================================ */
.tr-footer { background:var(--tr-footer-bg); color:var(--tr-footer-txt); }
.tr-footer-widgets { padding:40px 0 28px; border-bottom:1px solid rgba(255,255,255,.1); }
.tr-footer-widgets__inner { display:grid; grid-template-columns:repeat(var(--footer-cols,4),1fr); gap:28px; }
.tr-footer-col .widget-title { font-size:13px; font-weight:700; color:#fff; margin-bottom:10px; text-transform:uppercase; letter-spacing:.5px; }
.tr-footer-col p,.tr-footer-col li,.tr-footer-col a { font-size:13px; color:var(--tr-footer-txt); line-height:1.7; }
.tr-footer-col a:hover { color:#fff; }
.tr-footer-bottom { padding:14px 0; }
.tr-footer-bottom__inner { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
.tr-footer-copyright { font-size:12px; color:rgba(255,255,255,.5); }
.tr-footer-nav__list { display:flex; gap:14px; flex-wrap:wrap; }
.tr-footer-nav__list a { font-size:12px; color:rgba(255,255,255,.5); }
.tr-footer-nav__list a:hover { color:#fff; }

/* ================================================================
   BUTTONS
================================================================ */
.button,.woocommerce a.button,.woocommerce button.button {
  display:inline-flex; align-items:center; justify-content:center; gap:5px;
  padding:10px 18px; font-size:14px; font-weight:600; border-radius:var(--tr-radius);
  background:var(--tr-primary); color:#fff; border:2px solid var(--tr-primary);
  cursor:pointer; transition:background var(--tr-trans); text-decoration:none; line-height:1;
}
.button:hover,.woocommerce a.button:hover { background:#155722; color:#fff; }
.tr-btn-outline { background:transparent !important; color:var(--tr-primary) !important; }
.tr-btn-outline:hover { background:var(--tr-primary) !important; color:#fff !important; }
.woocommerce-message,.woocommerce-info { padding:11px 14px; border-radius:var(--tr-radius); margin-bottom:14px; font-size:14px; border-left:4px solid var(--tr-primary); background:#e8f5ec; }
.woocommerce-error { border-left-color:var(--tr-accent); background:#fdecea; }
.tr-sidebar-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:998; }
.tr-sidebar-overlay.open { display:block; }
.tr-main-content { min-height:60vh; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media(max-width:1024px) {
  .tr-product-grid { --grid-cols:3 !important; }
  .tr-shop-layout { grid-template-columns:185px 1fr; }
}

@media(max-width:768px) {
  .tr-header-top { display:none; }
  .tr-header-search { order:3; flex:0 0 100%; max-width:100%; }
  .tr-header-main__inner { flex-wrap:wrap; }
  .tr-header-wa-btn span { display:none; }
  .tr-header-wa-btn { width:38px; height:38px; padding:0; border-radius:50%; justify-content:center; }
  .tr-hamburger { display:flex; }
  .tr-product-grid { --grid-cols:2 !important; gap:8px; }
  .tr-shop-layout { grid-template-columns:1fr; }
  .tr-shop-sidebar { position:fixed; left:-100%; top:0; height:100vh; z-index:1000; width:270px; overflow-y:auto; border-radius:0; transition:left .3s ease; box-shadow:4px 0 20px rgba(0,0,0,.15); }
  .tr-shop-sidebar.open { left:0; }
  .tr-sidebar-close { display:block; }
  .tr-filter-toggle { display:flex; }
  .tr-product-grid--shop { --grid-cols:2 !important; }
  .tr-product-single { grid-template-columns:1fr; gap:18px; }
  .tr-gallery-main__img { max-height:260px; }
  .tr-cart-layout { grid-template-columns:1fr; }
  .tr-cart-summary { position:static; }
  .tr-footer-widgets__inner { grid-template-columns:1fr 1fr !important; gap:18px; }
}

@media(max-width:480px) {
  .tr-product-grid { --grid-cols:2 !important; gap:6px; }
  .tr-footer-widgets__inner { grid-template-columns:1fr !important; }
  .tr-product-tabs__content { padding:14px; }
}

@media print {
  .tr-header,.tr-footer,.tr-wa-float,#tr-wa-float-btn { display:none !important; }
  body { padding-bottom:0; }
}

/* ================================================================
   HALAMAN ARTIKEL / SINGLE POST
================================================================ */

.tr-article-page { padding:24px 0 60px; }

/* Layout: artikel + sidebar */
.tr-article-layout {
  display:grid;
  grid-template-columns:1fr 300px;
  gap:32px;
  align-items:start;
}

/* ── Header Artikel ── */
.tr-article-main { background:var(--tr-white); border-radius:var(--tr-radius); border:1px solid var(--tr-border); overflow:hidden; }
.tr-article-header { padding:28px 32px 0; }

.tr-article-cats { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.tr-article-cat-badge { background:#e8f5ec; color:var(--tr-primary); font-size:12px; font-weight:600; padding:3px 10px; border-radius:20px; }

.tr-article-title { font-size:clamp(20px,3vw,32px); font-weight:800; line-height:1.3; color:var(--tr-text); margin-bottom:14px; }

.tr-article-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:13px; color:var(--tr-muted); margin-bottom:20px; }
.tr-article-meta__item { display:flex; align-items:center; gap:5px; }
.tr-article-meta__sep { color:var(--tr-border); }

.tr-article-featured-img { margin:0 -0px 0; }
.tr-article-featured-img img { width:100%; max-height:420px; object-fit:cover; display:block; }

/* ── Body Artikel ── */
.tr-article-body {
  padding:28px 32px;
  font-size:15px;
  line-height:1.85;
  color:var(--tr-text);
}

/* Typography konten artikel */
.tr-article-body h1,
.tr-article-body h2 { font-size:22px; font-weight:700; margin:32px 0 12px; padding-bottom:8px; border-bottom:2px solid var(--tr-border); color:var(--tr-text); }
.tr-article-body h3 { font-size:18px; font-weight:700; margin:24px 0 10px; color:var(--tr-text); }
.tr-article-body h4 { font-size:15px; font-weight:700; margin:18px 0 8px; color:var(--tr-text); }
.tr-article-body p { margin-bottom:16px; }
.tr-article-body a { color:var(--tr-primary); text-decoration:underline; }
.tr-article-body a:hover { opacity:.8; }
.tr-article-body ul,.tr-article-body ol { padding-left:22px; margin-bottom:16px; }
.tr-article-body ul { list-style:disc; }
.tr-article-body ol { list-style:decimal; }
.tr-article-body li { margin-bottom:6px; line-height:1.7; }
.tr-article-body strong { font-weight:700; color:var(--tr-text); }
.tr-article-body em { font-style:italic; }
.tr-article-body blockquote { border-left:4px solid var(--tr-primary); background:#f0f8f2; padding:14px 20px; margin:20px 0; border-radius:0 var(--tr-radius) var(--tr-radius) 0; font-style:italic; }
.tr-article-body blockquote p { margin:0; }
.tr-article-body img { border-radius:var(--tr-radius); margin:20px auto; max-width:100%; }
.tr-article-body hr { border:none; border-top:1px solid var(--tr-border); margin:28px 0; }

/* Tabel di artikel */
.tr-article-body table {
  width:100%; border-collapse:collapse; margin:20px 0;
  font-size:14px; border-radius:var(--tr-radius); overflow:hidden;
  border:1px solid var(--tr-border);
}
.tr-article-body table th {
  background:var(--tr-primary); color:#fff;
  padding:10px 14px; text-align:left; font-weight:600; font-size:13px;
}
.tr-article-body table td { padding:10px 14px; border-bottom:1px solid var(--tr-border); }
.tr-article-body table tr:last-child td { border-bottom:none; }
.tr-article-body table tr:nth-child(even) td { background:#f8fdf9; }

/* Kode/pre block */
.tr-article-body pre,.tr-article-body code {
  background:#1e1e2e; color:#cdd6f4;
  border-radius:var(--tr-radius-sm); font-family:monospace; font-size:13px;
}
.tr-article-body pre { padding:16px 20px; overflow-x:auto; margin:16px 0; line-height:1.6; }
.tr-article-body code { padding:2px 6px; font-size:13px; }
.tr-article-body pre code { padding:0; background:none; }

/* ── Tags ── */
.tr-article-tags { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:20px 32px; border-top:1px solid var(--tr-border); }
.tr-article-tags__label { font-size:13px; color:var(--tr-muted); font-weight:600; }
.tr-article-tag { background:#f0f8f2; color:var(--tr-primary); font-size:12px; padding:4px 12px; border-radius:20px; border:1px solid #c8e6c9; transition:background var(--tr-trans); }
.tr-article-tag:hover { background:#e8f5ec; }

/* ── Share ── */
.tr-article-share { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:16px 32px; border-top:1px solid var(--tr-border); font-size:13px; color:var(--tr-muted); }

/* ── CTA WhatsApp di artikel ── */
.tr-article-cta {
  margin:0 32px 28px;
  background:linear-gradient(135deg,#1a6b2b,#2e8b3f);
  color:#fff; border-radius:var(--tr-radius);
  padding:20px 24px;
  display:flex; align-items:center; gap:16px; flex-wrap:wrap;
}
.tr-article-cta__icon { font-size:32px; flex-shrink:0; }
.tr-article-cta__content { flex:1; min-width:200px; }
.tr-article-cta__title { font-size:16px; font-weight:700; margin-bottom:4px; }
.tr-article-cta__desc { font-size:13px; opacity:.9; line-height:1.5; }
.tr-article-cta__btn {
  background:#fff; color:var(--tr-primary); font-weight:700; font-size:14px;
  padding:10px 20px; border-radius:22px; white-space:nowrap; flex-shrink:0;
  transition:opacity var(--tr-trans);
}
.tr-article-cta__btn:hover { opacity:.9; color:var(--tr-primary); }

/* ── SIDEBAR ARTIKEL ── */
.tr-article-sidebar { display:flex; flex-direction:column; gap:20px; position:sticky; top:72px; }

.tr-sidebar-widget {
  background:var(--tr-white); border:1px solid var(--tr-border);
  border-radius:var(--tr-radius); padding:18px; overflow:hidden;
}
.tr-sidebar-widget__title {
  font-size:14px; font-weight:700; color:var(--tr-text);
  margin-bottom:14px; padding-bottom:10px; border-bottom:2px solid var(--tr-primary);
}
.tr-sidebar-widget__more { display:block; text-align:center; margin-top:12px; font-size:13px; color:var(--tr-primary); font-weight:600; }
.tr-sidebar-widget__more:hover { text-decoration:underline; }

/* Produk di sidebar */
.tr-sidebar-products { display:flex; flex-direction:column; gap:12px; }
.tr-sidebar-product { display:flex; gap:10px; align-items:flex-start; }
.tr-sidebar-product__img-wrap { flex-shrink:0; }
.tr-sidebar-product__img-wrap img { width:70px; height:70px; object-fit:cover; border-radius:var(--tr-radius-sm); border:1px solid var(--tr-border); }
.tr-sidebar-product__info { flex:1; }
.tr-sidebar-product__name { font-size:13px; font-weight:500; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:var(--tr-text); }
.tr-sidebar-product__name:hover { color:var(--tr-primary); }
.tr-sidebar-product__price { font-size:13px; font-weight:700; color:var(--tr-primary); margin:4px 0; }
.tr-sidebar-product__price .price ins { text-decoration:none; }
.tr-sidebar-product__price .price del { font-size:11px; color:var(--tr-muted); font-weight:400; }
.tr-sidebar-product__wa { display:inline-block; background:var(--tr-wa); color:#fff; font-size:11px; font-weight:600; padding:3px 10px; border-radius:3px; }

/* Konsultasi CTA sidebar */
.tr-sidebar-consult { text-align:center; background:linear-gradient(135deg,#e8f5ec,#f0faf2) !important; }
.tr-sidebar-consult__icon { font-size:32px; margin-bottom:8px; }
.tr-sidebar-consult__title { font-size:15px; font-weight:700; margin-bottom:6px; }
.tr-sidebar-consult__desc { font-size:13px; color:var(--tr-muted); line-height:1.5; margin-bottom:14px; }
.tr-sidebar-consult__btn { background:var(--tr-wa) !important; border-color:var(--tr-wa) !important; color:#fff !important; width:100%; gap:6px; }
.tr-sidebar-consult__btn:hover { background:#1da851 !important; }

/* Kategori sidebar */
.tr-sidebar-cats { display:flex; flex-direction:column; gap:0; }
.tr-sidebar-cats li a { display:flex; justify-content:space-between; padding:8px 0; font-size:13px; color:var(--tr-text); border-bottom:1px solid var(--tr-border); transition:color var(--tr-trans); }
.tr-sidebar-cats li:last-child a { border-bottom:none; }
.tr-sidebar-cats li a:hover { color:var(--tr-primary); }
.tr-sidebar-cats li a span { color:var(--tr-muted); font-size:12px; }

/* ── Related Articles ── */
.tr-related-articles { margin-top:40px; padding-top:32px; border-top:2px solid var(--tr-border); }
.tr-related-articles__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }

.tr-related-article-card { background:var(--tr-white); border:1px solid var(--tr-border); border-radius:var(--tr-radius); overflow:hidden; transition:box-shadow var(--tr-trans),transform var(--tr-trans); display:block; color:var(--tr-text); }
.tr-related-article-card:hover { box-shadow:var(--tr-shadow-h); transform:translateY(-2px); color:var(--tr-text); }
.tr-related-article-card__img { aspect-ratio:16/9; overflow:hidden; }
.tr-related-article-card__img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.tr-related-article-card:hover .tr-related-article-card__img img { transform:scale(1.05); }
.tr-related-article-card__body { padding:14px; }
.tr-related-article-card__cat { font-size:11px; font-weight:600; color:var(--tr-primary); text-transform:uppercase; letter-spacing:.5px; margin-bottom:6px; }
.tr-related-article-card__title { font-size:14px; font-weight:600; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-bottom:6px; }
.tr-related-article-card__date { font-size:12px; color:var(--tr-muted); }

/* ── Responsive Artikel ── */
@media(max-width:1024px) {
  .tr-article-layout { grid-template-columns:1fr 260px; gap:24px; }
}
@media(max-width:768px) {
  .tr-article-layout { grid-template-columns:1fr; }
  .tr-article-sidebar { position:static; }
  .tr-article-header { padding:20px 18px 0; }
  .tr-article-body { padding:20px 18px; }
  .tr-article-tags,.tr-article-share { padding:14px 18px; }
  .tr-article-cta { margin:0 18px 20px; flex-direction:column; text-align:center; gap:12px; }
  .tr-article-cta__icon { display:none; }
  .tr-related-articles__grid { grid-template-columns:1fr 1fr; gap:12px; }
}
@media(max-width:480px) {
  .tr-related-articles__grid { grid-template-columns:1fr; }
  .tr-article-title { font-size:20px; }
  .tr-article-body h2 { font-size:18px; }
  .tr-article-body h3 { font-size:16px; }
  .tr-article-body { font-size:14px; }
  .tr-article-body table { font-size:12px; }
  .tr-article-body table th,.tr-article-body table td { padding:7px 10px; }
  .tr-article-body pre { font-size:11px; padding:12px; }
}

/* Post Elementor — biarkan penuh tanpa batasan */
.tr-post-elementor { width: 100%; }
.tr-post-elementor .elementor,
.tr-post-elementor .elementor-section-wrap,
.tr-post-elementor .e-con { width: 100% !important; max-width: 100% !important; }
