/*
 * "Sering dibeli bersama" (B1, rekomendasi.js) — token yang sama dengan style.css: flat,
 * bergaris rambut, aksen emerald. Satu baris kartu kecil yang bisa digeser: di bilah
 * keranjang sesudah menambah menu, dan sekali di lembar keranjang.
 */
.saran { margin-bottom: 10px; }
.sheet .saran { margin: 16px 0 0; }
.saran__kepala { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.saran__judul { color: var(--body); font-size: 13px; line-height: 18px; font-weight: 600; }
.saran__tutup { border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 20px; width: 32px; height: 28px; margin: -4px -6px -4px 0; cursor: pointer; border-radius: 8px; }
.saran__daftar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.saran__daftar::-webkit-scrollbar { display: none; }
.saran__item { flex: 0 0 auto; width: 196px; max-width: 72vw; display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px;
  border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface); text-align: left; cursor: pointer; }
.saran__item:active { transform: translateY(1px); }
.saran__foto { width: 40px; height: 40px; border-radius: 8px; flex: none; object-fit: cover; background: var(--disabled);
  display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--muted); }
.saran__foto--kosong { background: var(--primary-soft); color: var(--primary-text); }
.saran__teks { flex: 1; min-width: 0; display: grid; }
.saran__nama { font-size: 13px; line-height: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saran__harga { font-size: 13px; line-height: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saran__harga .harga-lama { margin-left: 4px; font-size: 12px; }
.saran__tambah { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--primary-border);
  background: var(--primary-soft); color: var(--primary-text); display: grid; place-items: center; font-size: 18px; font-weight: 600; }
/* Bilah keranjang lebih tinggi saat baris saran tampil — menu terbawah tidak tertutup. */
.page:has(.cartbar .saran) { padding-bottom: 196px; }
.page:has(.cartbar .saran):has(.cartbar__ajakan) { padding-bottom: 224px; }
/* Toast "… ditambahkan." tidak menutupi baris saran. */
body:has(.cartbar .saran) .toast { bottom: 184px; }
body:has(.cartbar .saran):has(.cartbar__ajakan) .toast { bottom: 212px; }
