/* Bondom Account storefront — design system */
:root {
  --bg: #0b0d13;
  --surface: #141722;
  --surface-2: #1b1f2e;
  --border: #262b3d;
  --border-strong: #343b52;
  --text: #eceef6;
  --muted: #98a0b8;
  --accent: #6366f1;
  --accent-strong: #4f46e5;
  --accent-soft: rgba(99, 102, 241, 0.12);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.1);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.1);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.1);
  --tg: #2aabee;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(60rem 30rem at 80% -10%, rgba(99, 102, 241, 0.14), transparent 60%),
    radial-gradient(50rem 25rem at 0% 0%, rgba(42, 171, 238, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "Noto Sans Khmer", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #818cf8; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.ic { width: 1.05em; height: 1.05em; vertical-align: -0.18em; }
.ic.sm { width: 0.9em; height: 0.9em; }
.ic.tg { color: var(--tg); }
.muted { color: var(--muted); }

/* ------------------------------------------------------------------ header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 13, 19, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-name b { color: var(--accent); font-weight: 800; }
.topbar nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.nav-link { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav-link.muted { color: var(--muted); }
.user-menu { display: flex; align-items: center; gap: 0.7rem; }
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  font-size: 0.87rem;
}

/* --------------------------------------------------------------- layout */
.container { flex: 1; width: 100%; max-width: 68rem; margin: 0 auto; padding: 1.6rem 1.2rem 3rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}

/* ------------------------------------------------------------------ hero */
.hero { text-align: center; padding: 2.2rem 0 1.6rem; }
.hero h1 { font-size: clamp(1.6rem, 4.5vw, 2.5rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.hero .accent {
  background: linear-gradient(90deg, #818cf8, #6366f1, #2aabee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { color: var(--muted); max-width: 34rem; margin: 0.8rem auto 0; }

.trust-row {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.trust-row .ic { color: var(--accent); }

.login-box {
  margin: 1.4rem auto 0;
  padding: 1.1rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  display: inline-block;
  text-align: center;
  box-shadow: var(--shadow);
}
.login-box p { margin-bottom: 0.7rem; color: var(--muted); font-size: 0.93rem; max-width: 26rem; }

/* ----------------------------------------------------------- filter bar */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 1.1rem;
}
.pill {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.pill:hover { border-color: var(--accent); color: var(--text); }
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill-count { opacity: 0.75; font-weight: 400; margin-left: 0.2rem; }

/* -------------------------------------------------------------- catalog */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: var(--text);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
  color: var(--text);
}
.pc-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.product-card h3 { font-size: 1.02rem; font-weight: 650; line-height: 1.35; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.pc-cta { color: var(--accent); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; }

.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 0.1rem 0.55rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  width: fit-content;
}
.badge.ok { color: var(--green); background: var(--green-soft); border-color: transparent; }
.badge.out { color: var(--red); background: var(--red-soft); border-color: transparent; }
.badge.warn { color: var(--amber); background: var(--amber-soft); border-color: transparent; }
.badge.warranty { color: var(--amber); background: var(--amber-soft); border-color: transparent; }

.price { color: var(--green); font-weight: 800; font-size: 1.15rem; }
.price.big { font-size: 2rem; letter-spacing: -0.02em; }
.price .per { font-size: 0.85rem; color: var(--muted); font-weight: 400; }

.empty-msg { color: var(--muted); text-align: center; padding: 2rem 0; }

/* ------------------------------------------------------------- product */
.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; display: flex; gap: 0.45rem; flex-wrap: wrap; }
.breadcrumb .current { color: var(--text); }

.product-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.1rem;
  align-items: start;
}
.product-info h1 { font-size: 1.45rem; margin: 0.5rem 0 0.4rem; line-height: 1.3; }
.meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.5rem 0 0.9rem; }

.note {
  margin: 0.9rem 0;
  padding: 0.85rem 1rem;
  background: var(--amber-soft);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-sm);
  white-space: pre-line;
  font-size: 0.93rem;
}
.note-title { font-weight: 700; margin-bottom: 0.3rem; font-size: 0.85rem; }

.feature-list { list-style: none; margin-top: 1rem; display: grid; gap: 0.55rem; }
.feature-list li { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.92rem; }
.feature-list .ic { color: var(--accent); flex-shrink: 0; }

.buy-panel { position: sticky; top: 4.4rem; }
.buy-form label { display: block; font-size: 0.85rem; color: var(--muted); margin: 0.9rem 0 0.35rem; }

.stepper { display: flex; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; width: fit-content; }
.stepper button {
  width: 2.6rem; height: 2.6rem;
  background: var(--surface-2);
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}
.stepper button:hover { background: var(--border); }
.stepper input {
  width: 4rem;
  text-align: center;
  background: var(--surface);
  border: none;
  border-left: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.total { margin: 0.9rem 0; font-size: 1rem; color: var(--muted); }
.total b { color: var(--text); font-size: 1.2rem; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.3rem;
  font-size: 0.97rem;
  font-weight: 650;
  cursor: pointer;
  background: var(--surface-2);
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-outline { background: transparent; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }
.btn-sm { padding: 0.35rem 0.85rem; font-size: 0.87rem; }
.btn-lg { padding: 0.8rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.copy-btn.copied { color: var(--green); border-color: var(--green); }

/* -------------------------------------------------------------- alerts */
.alert { border-radius: var(--radius-sm); padding: 0.6rem 0.9rem; margin: 0.7rem 0; font-size: 0.92rem; }
.alert.error { background: var(--red-soft); border: 1px solid rgba(248, 113, 113, 0.3); color: var(--red); }

/* ------------------------------------------------------------------ pay */
.pay-layout { max-width: 30rem; margin: 0 auto; }
.steps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.steps li { display: flex; align-items: center; gap: 0.45rem; flex: 1; justify-content: center; }
.step-dot {
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.steps li.done .step-dot { background: var(--green); border-color: var(--green); color: #06281c; }
.steps li.active { color: var(--text); }
.steps li.active .step-dot { border-color: var(--accent); color: var(--accent); }

.pay-card { text-align: center; }
.pay-order { font-size: 0.9rem; }
.qr-wrap { background: #fff; border-radius: var(--radius); padding: 12px; width: fit-content; margin: 1rem auto; }
.qr { display: block; width: min(300px, 70vw); height: auto; }

.hint { color: var(--muted); font-size: 0.88rem; margin-top: 0.6rem; }

.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 650;
  margin: 1rem 0 0.5rem;
  min-height: 1.6rem;
}
.status.waiting { color: var(--amber); }
.status.paid { color: var(--green); }
.status.expired { color: var(--red); }

.spinner {
  width: 1rem; height: 1rem;
  border: 2px solid var(--amber);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.expiry-bar { height: 5px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-top: 0.9rem; }
.expiry-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--tg)); border-radius: 999px; transition: width 1s linear; }

/* ---------------------------------------------------------------- order */
.success-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--green-soft);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.1rem;
}
.success-banner h1 { font-size: 1.25rem; }
.success-ic {
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--green);
  color: #06281c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.success-ic .ic { width: 1.3rem; height: 1.3rem; }

.delivery { margin-bottom: 1rem; }
.delivery-head { display: flex; justify-content: space-between; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.delivery-head h2 { font-size: 1.08rem; }

.cred-list { list-style: none; display: grid; gap: 0.45rem; }
.cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.5rem 0.45rem 0.8rem;
}
.cred-row code { font-size: 0.9rem; word-break: break-all; }

.center-card { text-align: center; padding: 2.5rem 1.5rem; max-width: 28rem; margin: 2rem auto; display: grid; gap: 0.8rem; justify-items: center; }
.empty-emoji { font-size: 2.6rem; }

/* ------------------------------------------------------------ my orders */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.page-head h1 { font-size: 1.4rem; }
.wallet-chip {
  background: var(--green-soft);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--green);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.3rem 1rem;
}

.orders-list { display: grid; gap: 0.6rem; }
.order-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  padding: 0.85rem 1.2rem;
  transition: border-color 0.15s, transform 0.15s;
}
.order-row:hover { border-color: var(--accent); transform: translateX(3px); color: var(--text); }
.or-main { display: flex; flex-direction: column; }
.or-id { font-weight: 700; }
.or-date { font-size: 0.83rem; }
.or-total { font-weight: 700; color: var(--green); }
.or-action { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* --------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.6rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  font-size: 0.9rem;
}
.footer-brand { font-weight: 700; }
.footer-title { font-weight: 650; margin-bottom: 0.2rem; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 760px) {
  .product-layout { grid-template-columns: 1fr; }
  .buy-panel { position: static; }
  .order-row { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
  .or-action { display: none; }
  .steps { font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ SMS numbers */
.head-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.sms-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sms-offer { display: flex; flex-direction: column; gap: 0.8rem; }
.sms-country { display: flex; align-items: center; gap: 0.7rem; }
.sms-country h3 { font-size: 1rem; }
.sms-flag { font-size: 1.7rem; line-height: 1; }
.how-list { margin-left: 1.2rem; color: var(--muted); font-size: 0.93rem; display: grid; gap: 0.3rem; }

.phone-row { display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.3rem; }
.phone-big { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.02em; }
.otp-code {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  margin: 0.6rem auto 0.9rem;
  width: fit-content;
}

/* ---------------------------------------------------- SMS redesign (v2) */
.sms-hero {
  display: flex; gap: 1.2rem; align-items: stretch; justify-content: space-between;
  flex-wrap: wrap; margin: 0.5rem 0 1.3rem;
}
.sms-hero-text { flex: 1; min-width: 260px; }
.sms-hero-text h1 { font-size: 1.5rem; }
.sms-wallet-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1rem 1.1rem; min-width: 190px;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.sms-wallet-amt { font-size: 1.7rem; font-weight: 800; color: var(--green); }

.sms-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sms-offer { display: flex; flex-direction: column; gap: 1rem; transition: border-color .15s, transform .15s; }
.sms-offer:hover { border-color: var(--accent); transform: translateY(-2px); }
.sms-offer-top { display: flex; align-items: center; gap: 0.75rem; }
.sms-flag { font-size: 2rem; line-height: 1; }
.sms-offer-name h3 { font-size: 1rem; line-height: 1.2; }
.sms-svc-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 0.08rem 0.5rem; border-radius: 6px; margin-top: 0.2rem;
}
.sms-svc-tag.facebook { color: #60a5fa; background: rgba(96,165,250,.12); }
.sms-svc-tag.instagram { color: #f472b6; background: rgba(244,114,182,.12); }
.sms-offer-bottom { display: flex; align-items: end; justify-content: space-between; margin-top: auto; }

.sms-how { margin-top: 1.6rem; }
.sms-how h3 { margin-bottom: 0.9rem; }
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }
.how-step { display: flex; gap: 0.7rem; align-items: flex-start; }
.how-num {
  flex-shrink: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.how-step p { color: var(--muted); font-size: 0.88rem; }

/* order page */
.sms-order-wrap { max-width: 32rem; margin: 0 auto; }
.sms-timeline {
  list-style: none; display: flex; justify-content: space-between;
  gap: 0.3rem; margin-bottom: 1.1rem; font-size: 0.78rem; color: var(--muted);
}
.sms-timeline li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; position: relative; }
.sms-timeline li::before {
  content: ""; position: absolute; top: 0.85rem; left: -50%; width: 100%;
  height: 2px; background: var(--border); z-index: 0;
}
.sms-timeline li:first-child::before { display: none; }
.tl-dot {
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.78rem; z-index: 1; position: relative;
}
.sms-timeline li.done .tl-dot { background: var(--green); border-color: var(--green); color: #06281c; }
.sms-timeline li.done { color: var(--text); }
.sms-timeline li.active .tl-dot { border-color: var(--amber); color: var(--amber); }
.sms-timeline li.active { color: var(--text); }
.sms-timeline li.cancel .tl-dot { border-color: var(--red); color: var(--red); }

.sms-order-card { text-align: center; }
.sms-order-head { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-bottom: 1rem; flex-wrap: wrap; }
.sms-otp-area { margin-top: 1.1rem; display: flex; flex-direction: column; align-items: center; }
.sms-refund-box {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.8rem 1rem; width: 100%;
}

/* -------------------------------------------------- SMS refund + countdown */
.sms-countdown { width: 100%; margin-top: 0.9rem; }
.sms-countdown-bar { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.sms-countdown-fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--accent));
  border-radius: 999px; transition: width 1s linear;
}

.refund-panel {
  width: 100%; text-align: left;
  background: linear-gradient(160deg, var(--green-soft), transparent);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.refund-head { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1rem; }
.refund-head h3 { font-size: 1.1rem; }
.refund-ic {
  flex-shrink: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--green); color: #06281c;
  display: inline-flex; align-items: center; justify-content: center;
}
.refund-ic .ic { width: 1.2rem; height: 1.2rem; }

.refund-steps {
  list-style: none; display: flex; justify-content: space-between;
  gap: 0.3rem; margin: 0 0 1rem; font-size: 0.76rem; color: var(--muted);
}
.refund-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; position: relative; }
.refund-steps li::before {
  content: ""; position: absolute; top: 0.7rem; left: -50%; width: 100%;
  height: 2px; background: var(--green); opacity: .4; z-index: 0;
}
.refund-steps li:first-child::before { display: none; }
.rf-dot {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--green); color: #06281c;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 1; position: relative;
}
.refund-steps li.done { color: var(--text); }

.refund-meta {
  display: grid; gap: 0.5rem; margin-bottom: 1.1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.8rem 1rem;
}
.refund-meta > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.refund-meta dt { color: var(--muted); font-size: 0.85rem; }
.refund-meta dd { font-weight: 600; font-size: 0.9rem; }
.refund-amt { color: var(--green); font-size: 1.15rem !important; }
.refund-meta code { background: var(--surface-2); padding: 0.1rem 0.5rem; border-radius: 6px; font-size: 0.85rem; }
.refund-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

@media (max-width: 480px) {
  .refund-actions { flex-direction: column; }
  .refund-actions .btn { width: 100%; }
}

/* ------------------------------------------------------------ marketplace */
.sold-by { font-size: 0.78rem; color: var(--accent); font-weight: 600; }

.seller-new-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 0.7rem; align-items: end;
}
.seller-new-grid label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.82rem; color: var(--muted); }
.seller-new-grid input {
  padding: 0.5rem 0.7rem; background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: 10px;
  color: var(--text); font-size: 0.95rem;
}
.seller-prod-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: start; }
.seller-prod-stats { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.seller-actions { margin-top: 0.8rem; }
.seller-actions summary { cursor: pointer; color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.seller-actions-body { margin-top: 0.7rem; display: grid; gap: 0.7rem; }
.seller-inline { display: grid; gap: 0.5rem; }
.seller-inline-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.seller-inline-h { display: flex; gap: 0.5rem; align-items: center; }

@media (max-width: 640px) {
  .seller-new-grid { grid-template-columns: 1fr 1fr; }
  .seller-new-grid button { grid-column: 1 / -1; }
}
