/* =========================================================
   ARRIZ STORE — Halaman pelanggan (beranda, pesanan, legal)
   ========================================================= */
.text-blue {
  color: var(--blue);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.section {
  padding: 88px 0;
}
.section-tight {
  padding: 24px 0 88px;
}
.section-tint {
  background: linear-gradient(180deg, #f7faff 0%, var(--gray-light) 100%);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
}
.section-head p {
  margin: 0;
}
.narrow {
  max-width: 820px;
}
.inline-icon {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 2px;
}

/* Animasi muncul halus saat di-scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(22, 119, 255, 0.09), transparent 60%),
    radial-gradient(700px 360px at 0% 100%, rgba(22, 119, 255, 0.06), transparent 60%),
    var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 12px;
}
.hero-desc {
  max-width: 520px;
  font-size: 16.5px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-points .icon {
  color: var(--blue);
}
.float {
  animation: float 5s ease-in-out infinite;
}
.float-slow {
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 40px 0 64px;
  }
}
@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- Keunggulan ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.feature {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cfe1ff;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 17px;
}
.feature p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Top Up ---------- */
.service-alert {
  max-width: 760px;
  margin: 0 auto 24px;
}
.topup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.topup-steps {
  display: grid;
  gap: 20px;
}
.step-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.step-head h3 {
  font-size: 18px;
  margin-bottom: 2px;
}
.step-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.input-row {
  display: flex;
  gap: 10px;
}
.input-row .input {
  flex: 1;
  min-width: 0;
}
@media (max-width: 560px) {
  .input-row {
    flex-direction: column;
  }
}
.account-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #cfe1ff;
  border-radius: var(--radius);
  background: var(--blue-light);
  animation: pop-in 0.3s var(--ease);
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
}
.account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #cfe1ff;
  object-fit: cover;
  flex: none;
}
.account-info {
  flex: 1;
  min-width: 0;
}
.account-info p {
  margin: 0;
  overflow-wrap: anywhere;
}
.account-display {
  font-weight: 700;
  font-size: 17px;
  color: var(--text-strong);
}
.account-username {
  color: var(--blue-dark);
  font-weight: 500;
}
.account-id {
  font-size: 13.5px;
  color: var(--muted);
}
.confirm-check {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--gray-light);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 560px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.quick {
  display: grid;
  gap: 2px;
  padding: 12px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.quick:hover {
  border-color: #9dc3ff;
}
.quick b {
  font-size: 16px;
  color: var(--text-strong);
}
.quick small {
  font-size: 12.5px;
  color: var(--muted);
}
.quick[aria-pressed='true'] {
  border-color: var(--blue);
  background: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}
.stepper {
  display: flex;
  gap: 10px;
  align-items: center;
}
.amount-input {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  max-width: 200px;
  -moz-appearance: textfield;
  appearance: textfield;
}
.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.amount-field {
  margin-bottom: 0;
}
.wa-field {
  margin: 18px 0 0;
}
.wa-field .req {
  font-weight: 400;
  color: var(--muted, #64748b);
  font-size: 0.85em;
}

.methods {
  display: grid;
  gap: 18px;
}
.method-group h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.method-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: 14.5px;
  transition: border-color 0.2s, background 0.2s;
}
.method:hover {
  border-color: #9dc3ff;
}
.method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.method .icon {
  color: var(--blue);
}
.method:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-light);
}
.method:has(input:focus-visible) {
  outline: 3px solid rgba(22, 119, 255, 0.45);
  outline-offset: 2px;
}

.summary {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.summary h3 {
  font-size: 18px;
  margin-bottom: 16px;
}
.summary-list {
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}
.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.summary-list dt {
  color: var(--muted);
}
.summary-list dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: var(--text-strong);
  overflow-wrap: anywhere;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  margin-bottom: 16px;
  border-top: 1px dashed var(--border-strong);
  font-weight: 600;
}
.summary-total strong {
  font-size: 26px;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.summary-hint {
  margin-top: 10px;
  text-align: center;
}
.summary-note {
  margin: 10px 0 0;
  text-align: center;
}
@media (max-width: 960px) {
  .topup-grid {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
}

/* ---------- Cara order ---------- */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  counter-reset: none;
}
.steps-list li {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}
.steps-list li > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 700;
}
.steps-list h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.steps-list p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- CTA cek pesanan ---------- */
.track-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #e6f0ff;
}
.track-cta h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 4px;
}
.track-cta p {
  margin: 0;
}
.track-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 440px;
  min-width: min(100%, 280px);
}
.track-form .input {
  border-color: transparent;
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] {
  border-color: #cfe1ff;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text);
}

/* ---------- Kontak ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
}
.contact h2 {
  font-size: clamp(24px, 3.2vw, 32px);
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.contact-list .icon {
  color: var(--blue);
}
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}

/* ---------- Halaman pesanan ---------- */
.page-head {
  padding: 48px 0 24px;
  text-align: center;
}
.page-head h1 {
  font-size: clamp(28px, 4vw, 38px);
}
.lookup {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.lookup .input {
  text-transform: uppercase;
}
@media (max-width: 520px) {
  .lookup {
    flex-direction: column;
  }
}
.order-wrap {
  padding: 24px 0 88px;
}
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
}
.order-col {
  display: grid;
  gap: 20px;
}
.order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.order-id {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
}
.order-account {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--gray-light);
  margin-bottom: 20px;
}
.order-account img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  flex: none;
}
.order-account p {
  margin: 0;
}
.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  font-size: 14.5px;
}
.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-light);
}
.detail-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--text-strong);
  text-align: right;
  overflow-wrap: anywhere;
}
.detail-list .total dd {
  color: var(--blue);
  font-size: 18px;
}

/* Timeline progres */
.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}
.progress li {
  position: relative;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.progress li::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: var(--border);
  z-index: 0;
}
.progress li:first-child::before {
  display: none;
}
.progress .dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border-strong);
  color: var(--muted);
}
.progress li.done::before,
.progress li.current::before {
  background: var(--blue);
}
.progress li.done .dot {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.progress li.current .dot {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 0 5px rgba(22, 119, 255, 0.15);
}
.progress li.done,
.progress li.current {
  color: var(--text-strong);
}
.progress.is-cancelled li .dot {
  border-color: var(--border);
}

.history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.history li {
  position: relative;
  padding: 0 0 18px 24px;
  border-left: 2px solid var(--border);
  margin-left: 6px;
}
.history li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.history li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
}
.history time {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.history p {
  margin: 2px 0 0;
  font-size: 14.5px;
}
.history b {
  color: var(--text-strong);
}
.card h2.card-title {
  font-size: 17px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card h2.card-title .icon {
  color: var(--blue);
}
.pay-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.empty-state {
  text-align: center;
  padding: 48px 24px;
}
.empty-state .icon-lg {
  margin: 0 auto 12px;
  color: var(--blue);
  width: 40px;
  height: 40px;
}
.recent-order {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
}
.skeleton {
  height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--gray-light) 25%, #fafbfc 50%, var(--gray-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Halaman legal & 404 ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 88px;
}
.prose h1 {
  font-size: clamp(28px, 4vw, 36px);
}
.prose h2 {
  font-size: 20px;
  margin-top: 32px;
}
.prose li {
  margin-bottom: 6px;
}
.center-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: 48px 20px;
  text-align: center;
}

/* ================= QRIS ================= */
.qris-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 8px 0 16px;
}
.qris-img {
  width: 260px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  image-rendering: pixelated;
}
.qris-info {
  flex: 1 1 200px;
  min-width: 0;
}
.qris-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  margin: 2px 0 6px;
}
.qris-timer {
  margin-top: 10px;
  font-weight: 600;
  color: var(--warning);
}
.qris-steps {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text);
}
.qris-steps li + li {
  margin-top: 4px;
}
.qris-waiting .icon {
  animation: qris-spin 1.6s linear infinite;
}
@keyframes qris-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .qris-waiting .icon {
    animation: none;
  }
}
.paid-card {
  text-align: center;
  border: 2px solid var(--success);
  background: var(--success-bg);
}
.paid-card h2 {
  color: var(--success);
  margin: 8px 0;
}
.paid-icon {
  color: var(--success);
}
.paid-icon .icon-lg {
  width: 56px;
  height: 56px;
}
@media (max-width: 480px) {
  .qris-box {
    justify-content: center;
    text-align: center;
  }
  .qris-amount {
    justify-content: center;
  }
}
/* ================= Konfirmasi pesanan ================= */
.confirm-dialog {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: var(--text);
  background: var(--white);
}
.confirm-dialog::backdrop {
  background: rgba(15, 23, 42, 0.5);
}
.confirm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
}
.confirm-head h2 {
  font-size: 19px;
  margin: 0;
  color: var(--text-strong);
}
.confirm-body {
  padding: 16px 20px;
  display: grid;
  gap: 14px;
}
.confirm-body p {
  margin: 0;
}
.confirm-account {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--blue-light);
}
.confirm-account img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--white);
  flex: none;
}
.confirm-name {
  font-weight: 700;
  color: var(--text-strong);
}
.confirm-list {
  margin: 0;
  display: grid;
  gap: 8px;
}
.confirm-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.confirm-list dt {
  color: var(--muted);
}
.confirm-list dd {
  margin: 0;
  text-align: right;
}
.confirm-total {
  padding-top: 10px;
  border-top: 1px dashed var(--border-strong);
  font-size: 18px;
}
.confirm-total dt {
  color: var(--text-strong);
  font-weight: 600;
}
.confirm-total dd {
  font-weight: 800;
  color: var(--blue);
}
.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 20px 20px;
}
@media (max-width: 480px) {
  .confirm-actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Stok Robux ---------- */
.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px auto 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success);
  font-weight: 600;
  font-size: 0.9rem;
}
.stock-pill.is-out {
  background: var(--danger-bg);
  color: var(--danger);
}

/* ---------- Kalkulator "Punya uang berapa?" ---------- */
.budget-calc {
  margin-top: 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--white);
}
.budget-calc summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 600;
  color: var(--blue-dark);
  list-style: none;
}
.budget-calc summary::-webkit-details-marker {
  display: none;
}
.budget-calc summary::after {
  content: '▾';
  margin-left: auto;
  transition: transform 0.2s;
}
.budget-calc[open] summary::after {
  transform: rotate(180deg);
}
.budget-body {
  padding: 0 14px 14px;
}
.budget-result {
  margin: 10px 0 0;
  font-size: 0.95rem;
}
.budget-big {
  color: var(--blue);
  font-size: 1.1em;
}

/* ---------- Ulasan & pesanan terbaru ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.social-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.recent-list,
.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.recent-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}
.recent-list li:last-child,
.review-list li:last-child {
  border-bottom: 0;
}
.recent-list time,
.review-head time {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}
.recent-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}
.review-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.review-list p {
  margin: 4px 0 0;
}
.review-head {
  display: flex;
  align-items: center;
}
.review-text {
  color: var(--text-strong);
  overflow-wrap: anywhere;
}
.social-note {
  margin-top: 14px;
  text-align: center;
}
.stars .star {
  font-style: normal;
  color: var(--border-strong);
  letter-spacing: 1px;
}
.stars .star.on {
  color: #f59e0b;
}
.stars-lg {
  font-size: 1.6rem;
  margin: 0;
}

/* ---------- Transaksi terbaru ---------- */
.tx-card {
  background: linear-gradient(180deg, #f2f7ff 0%, var(--white) 140px);
  border-color: #d6e6ff;
}
.tx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.tx-head h3 {
  margin: 0;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  100% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}
.tx-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.tx-stats div {
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
}
.tx-stats b {
  display: block;
  color: var(--blue-dark);
  font-size: 1.1rem;
}
.tx-stats span {
  font-size: 0.75rem;
  color: var(--muted);
}
.tx-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  animation: tx-in 0.35s ease both;
}
.tx-item:last-child {
  border-bottom: 0;
}
@keyframes tx-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.tx-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  object-fit: cover;
  border: 1px solid #d6e6ff;
}
.tx-main {
  min-width: 0;
  flex: 1;
}
.tx-main p,
.tx-side p {
  margin: 0;
}
.tx-name {
  font-weight: 700;
  color: var(--text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tx-time {
  font-size: 0.8rem;
  color: var(--muted);
}
.tx-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}
.tx-amount {
  font-weight: 800;
  color: var(--blue-dark);
  white-space: nowrap;
}
.tx-amount span {
  font-weight: 600;
  font-size: 0.8em;
  color: var(--muted);
}
.tx-badge {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.tx-wait {
  background: var(--warning-bg);
  color: var(--warning);
}
.tx-proc {
  background: var(--blue-light);
  color: var(--blue-dark);
}
.tx-done {
  background: var(--success-bg);
  color: var(--success);
}
@media (max-width: 420px) {
  .tx-ago {
    display: none;
  }
}

/* Input bintang di halaman pesanan (urutan 5..1 + row-reverse supaya hover mewarnai ke kiri). */
.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
  margin: 4px 0 12px;
  padding: 0;
  border: 0;
}
.star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.star-input label {
  font-size: 2rem;
  line-height: 1;
  color: var(--border-strong);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
  color: #f59e0b;
}
.star-input label:hover {
  transform: scale(1.1);
}
.star-input input:focus-visible + label {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}