/* Pilihan untukmu + pengingat checkout (js/rekomendasi.js) */
.rkm { max-width: 72rem; margin: 0 auto; padding: 4px 16px 22px; font-family: inherit; }
@media (min-width: 768px) { .rkm { padding: 6px 48px 26px; } }
.rkm[hidden] { display: none; }

.rkm-ingat { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ffd9c2; border-radius: 18px; padding: 10px 10px 10px 10px; box-shadow: 0 4px 18px rgba(30, 42, 79, .06); margin-bottom: 18px; }
.rkm-ingat-foto { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: #fff1e8; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #ca4a20; }
.rkm-ingat-foto img { width: 100%; height: 100%; object-fit: cover; }
.rkm-ingat-teks { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rkm-ingat-teks b { font-size: 12.5px; font-weight: 800; color: #191c1e; }
.rkm-ingat-teks small { font-size: 11px; color: #5b6170; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rkm-ingat-btn { flex-shrink: 0; background: #ca4a20; color: #fff; font-size: 11.5px; font-weight: 800; padding: 8px 14px; border-radius: 9999px; text-decoration: none; }
.rkm-ingat-btn:hover { background: #b03e18; }
.rkm-ingat-x { flex-shrink: 0; width: 28px; height: 28px; border: 0; background: transparent; border-radius: 9999px; color: #717783; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rkm-ingat-x:hover { background: #f2f4f6; }
.rkm-ingat-x .material-symbols-outlined { font-size: 17px; }

.rkm-kepala { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rkm-kepala > div { min-width: 0; }
.rkm-kepala h2 { margin: 0; font-size: 14px; font-weight: 800; color: #191c1e; }
@media (min-width: 768px) { .rkm-kepala h2 { font-size: 16px; } }
.rkm-kepala p { margin: 2px 0 0; font-size: 11px; color: #5b6170; }
.rkm-hapus { flex-shrink: 0; border: 0; background: none; font: inherit; font-size: 11px; font-weight: 700; color: #717783; cursor: pointer; padding: 4px 0; text-decoration: underline; text-underline-offset: 2px; }

.rkm-baris { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.rkm-baris::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .rkm-baris { margin: 0; padding: 2px 0 6px; } }

.rkm-kartu { flex: 0 0 148px; scroll-snap-align: start; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 4px 18px rgba(30, 42, 79, .07); display: flex; flex-direction: column; transition: transform .15s; }
@media (min-width: 768px) { .rkm-kartu { flex-basis: 176px; } }
.rkm-kartu:hover { transform: translateY(-2px); }
.rkm-foto { position: relative; aspect-ratio: 4 / 5; background: #eceef0; display: block; }
.rkm-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rkm-diskon { position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 800; color: #fff; background: #ca4a20; padding: 2px 6px; border-radius: 9999px; }
.rkm-isi { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 3px; }
.rkm-nama { font-size: 11.5px; font-weight: 700; color: #191c1e; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.rkm-harga { font-size: 12.5px; font-weight: 800; color: #e8590c; }
.rkm-harga s { font-size: 10px; font-weight: 600; color: #717783; }
.rkm-label { align-self: flex-start; font-size: 9.5px; font-weight: 700; color: #005da7; background: rgba(0, 93, 167, .09); padding: 2px 7px; border-radius: 9999px; margin-top: 2px; }
.rkm-label.ulang { color: #8a5a00; background: #fff4d6; }
