/* assets/css/info.css — halaman menu header: Brand Partner, Testimoni, Lokasi (Cabang), Kontak */
.info-page { padding: 4px 0 48px; }
.info-head { margin: 10px 0 22px; }
.info-head h1 { margin: 0 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -.01em; color: var(--ink, #1f1417); }
.info-head p { margin: 0; color: var(--muted, #6b7280); font-size: 14.5px; }
.info-empty { padding: 28px; border: 1px dashed #e5e7eb; border-radius: 12px; color: var(--muted, #6b7280); text-align: center; }
.info-note { margin: 20px 0 0; font-size: 13px; color: var(--muted, #6b7280); line-height: 1.6; }
.info-note a { color: var(--wine, #7f1d1d); font-weight: 600; }

.btn-info { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--wine, #6e040f); border-radius: 10px; background: var(--wine, #6e040f); color: #fff; font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-info:hover { filter: brightness(1.08); }
.btn-info.is-line { background: #fff; color: var(--wine, #6e040f); }
.btn-info.is-ghost { background: #fff; border-color: #e5e7eb; color: var(--ink, #1f1417); }
.btn-info.is-ghost:hover { border-color: var(--wine, #6e040f); color: var(--wine, #6e040f); filter: none; }

/* ---------- Brand Partner ---------- */
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bp-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 12px 14px; border: 1px solid #ececef; border-radius: 14px; background: #fff; color: inherit; text-decoration: none; text-align: center; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.bp-item:hover { border-color: var(--wine, #6e040f); box-shadow: 0 6px 18px rgba(110, 4, 15, .08); transform: translateY(-2px); }
.bp-logo { display: grid; place-items: center; width: 100%; height: 56px; }
.bp-logo img { width: 100%; max-width: 120px; max-height: 48px; object-fit: contain; }
.bp-logo b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: var(--ink, #1f1417); }
.bp-name { font-size: 12.5px; font-weight: 600; color: var(--ink, #1f1417); }
.bp-count { font-size: 11.5px; color: var(--wine, #6e040f); font-weight: 600; }

/* ---------- Testimoni ---------- */
.tm-summary { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; padding: 18px 22px; border: 1px solid #ececef; border-radius: 16px; background: #fff; }
.tm-g { width: 40px; height: 40px; }
.tm-score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tm-score b { font-size: 34px; font-weight: 800; line-height: 1; color: var(--ink, #1f1417); }
.tm-score .stars { font-size: 18px; }
.tm-score small { color: var(--muted, #6b7280); font-size: 13px; }
.tm-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tm-grid { columns: 3 280px; column-gap: 14px; }
.tm-card { break-inside: avoid; margin: 0 0 14px; padding: 16px 18px; border: 1px solid #ececef; border-radius: 14px; background: #fff; }
.tm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tm-top .stars { font-size: 14px; }
.tm-g-sm { width: 18px; height: 18px; display: block; }
.tm-g-xs { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
.tm-card blockquote { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: var(--ink, #1f1417); }
.tm-card figcaption { display: flex; align-items: center; gap: 10px; }
.tm-card figcaption img, .tm-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.tm-avatar { display: grid; place-items: center; background: #f5e8ea; color: var(--wine, #6e040f); font-weight: 700; font-size: 14px; }
.tm-card figcaption b { display: block; font-size: 13px; }
.tm-card figcaption small { display: block; font-size: 11.5px; color: var(--muted, #6b7280); }

/* ---------- Lokasi / Cabang ---------- */
.br-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.br-list { display: grid; gap: 12px; }
.br-card { padding: 16px 18px; border: 1px solid #ececef; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.br-card.is-on { border-color: var(--wine, #6e040f); box-shadow: 0 6px 18px rgba(110, 4, 15, .08); }
.br-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.br-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.br-status { flex: none; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.br-status.is-open { background: #ecfdf5; color: #047857; }
.br-status.is-closed { background: #fef2f2; color: #b91c1c; }
.br-addr { display: flex; gap: 6px; margin: 8px 0; font-size: 13px; color: var(--muted, #6b7280); line-height: 1.5; }
.br-addr svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: var(--wine, #6e040f); stroke-width: 1.8; }
.br-hours { display: grid; gap: 2px; margin: 0 0 12px; font-size: 13px; }
.br-hours div { display: flex; gap: 10px; }
.br-hours dt { min-width: 110px; color: var(--muted, #6b7280); }
.br-hours dd { margin: 0; font-weight: 600; }
.br-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.br-map { position: sticky; top: 90px; border-radius: 16px; overflow: hidden; border: 1px solid #ececef; background: #f3f4f6; }
.br-map iframe { display: block; width: 100%; height: 520px; border: 0; }

/* ---------- Kontak ---------- */
.ct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ct-card { display: flex; flex-direction: column; gap: 3px; padding: 18px; border: 1px solid #ececef; border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ct-card:hover { border-color: var(--wine, #6e040f); box-shadow: 0 6px 18px rgba(110, 4, 15, .08); }
.ct-card svg { width: 26px; height: 26px; margin-bottom: 6px; fill: none; stroke: var(--wine, #6e040f); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-card b { font-size: 14.5px; }
.ct-card span { font-size: 13.5px; font-weight: 600; color: var(--wine, #6e040f); }
.ct-card small { font-size: 12px; color: var(--muted, #6b7280); }
.ct-card.is-wa { background: #f0fdf4; border-color: #bbf7d0; }
.ct-card.is-wa svg, .ct-card.is-wa span { stroke: #15803d; color: #15803d; }
.ct-section { margin-top: 26px; }
.ct-section h2 { margin: 0 0 10px; font-size: 17px; }
.ct-week { margin: 0; font-size: 14px; font-weight: 600; }
.ct-branches { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ct-branches li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid #ececef; border-radius: 12px; background: #fff; }
.ct-branches b { display: block; font-size: 14px; }
.ct-branches small { display: block; font-size: 12px; color: var(--muted, #6b7280); }
.ct-branch-btns { display: flex; gap: 6px; flex: none; }
.ct-socials { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }

@media (max-width: 900px) {
  .br-layout { grid-template-columns: 1fr; }
  .br-map { position: static; order: -1; }
  .br-map iframe { height: 260px; }
}
@media (max-width: 640px) {
  .info-head h1 { font-size: 22px; }
  .bp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .bp-item { gap: 3px; padding: 8px 4px 7px; border-radius: 10px; }
  a.bp-item:hover { transform: none; }
  .bp-logo { height: 30px; }
  .bp-logo img { max-width: 64px; max-height: 26px; }
  .bp-logo b { font-size: 11.5px; line-height: 1.15; }
  .bp-name { display: none; }
  .bp-count { font-size: 9.5px; line-height: 1.2; }
  .tm-summary { padding: 16px; }
  .tm-actions { margin-left: 0; width: 100%; }
  .tm-actions .btn-info { flex: 1; }
  .ct-branches li { flex-direction: column; align-items: flex-start; }
  .br-hours dt { min-width: 96px; }
}
