/* ============================================================
   SocialTag - ortak stiller
   Premium siyah / beyaz / ivory tema
   ============================================================ */

:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --card: #141414;
  --card-2: #1a1a1a;
  --text: #f4f3ef;
  --text-dim: #8f8b82;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.05);
  --white: #ffffff;
  --accent: #ffffff;
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  --max-width: 480px;
  --wide: 1120px;

  /* İşletmeye özel vurgu rengi - admin panelinden ayarlanabilir.
     Varsayılan beyazdır; bir işletmenin özel rengi varsa bu
     değişkenler JS ile inline olarak override edilir. */
  --biz-accent: #ffffff;
  --biz-accent-bg: rgba(255, 255, 255, 0.1);
  --biz-accent-border: rgba(255, 255, 255, 0.26);
  --biz-accent-border-strong: rgba(255, 255, 255, 0.3);

  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #161616 0%, var(--bg) 55%);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

img {
  max-width: 100%;
}

/* ---------- Layout shells ---------- */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px;
}

.page.flush {
  padding: 0 0 60px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
}

.container.wide {
  max-width: 860px;
}

.container.xwide {
  max-width: var(--wide);
}

/* ---------- Site header (marketing pages) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  position: relative;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.site-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav .btn {
  padding: 9px 18px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  position: relative;
}

.nav-toggle {
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 20px 18px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 4px;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav .btn {
    margin-top: 10px;
    width: 100%;
  }
}

.site-footer {
  width: 100%;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 34px 20px 26px;
  text-align: center;
}

.site-footer .site-logo {
  justify-content: center;
  margin-bottom: 10px;
}

.site-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 14px 0;
  font-size: 13px;
  color: var(--text-dim);
}

.site-footer-links a:hover {
  color: var(--text);
}

.site-footer-note {
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.7;
}

/* ---------- Business page ---------- */

.biz-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
  animation: bizFadeIn 0.5s ease both;
}

.biz-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
  border: 3px solid var(--biz-accent-border-strong);
  box-shadow: var(--shadow), 0 0 0 6px rgba(255, 255, 255, 0.02);
  margin-bottom: 16px;
}

.biz-logo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  color: var(--text-dim);
}

.biz-name {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.biz-tag {
  font-size: 13px;
  color: var(--text-dim);
}

.contact-add-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--biz-accent-bg);
  color: var(--biz-accent);
  border: 1px solid var(--biz-accent-border);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  animation: bizFadeIn 0.5s ease both;
}

.link-btn:hover,
.link-btn:active {
  transform: translateY(-1px) scale(1.01);
  background: #1e1e1e;
  border-color: var(--biz-accent-border);
}

.link-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--biz-accent-bg);
  color: var(--biz-accent);
}

.link-icon svg {
  width: 20px;
  height: 20px;
}

.link-label {
  flex: 1;
  text-align: left;
}

.link-arrow {
  opacity: 0.4;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.link-btn:hover .link-arrow {
  opacity: 0.9;
  transform: translateX(2px);
  color: var(--biz-accent);
}

@keyframes bizFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.link-btn:nth-child(1) { animation-delay: 0.02s; }
.link-btn:nth-child(2) { animation-delay: 0.06s; }
.link-btn:nth-child(3) { animation-delay: 0.1s; }
.link-btn:nth-child(4) { animation-delay: 0.14s; }
.link-btn:nth-child(5) { animation-delay: 0.18s; }
.link-btn:nth-child(6) { animation-delay: 0.22s; }
.link-btn:nth-child(n + 7) { animation-delay: 0.26s; }

/* ---------- Info card (IBAN / WiFi gibi özel bağlantı tipleri) ---------- */

.info-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  animation: bizFadeIn 0.5s ease both;
}

.info-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-card-title {
  font-weight: 700;
  font-size: 15px;
}

.info-card-sub {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 1px;
}

.info-card-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.info-card-value .val-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.copy-btn {
  flex: 0 0 auto;
  background: var(--biz-accent-bg);
  color: var(--biz-accent);
  border: 1px solid var(--biz-accent-border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.copy-btn:active {
  transform: scale(0.94);
}

.wifi-connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--biz-accent-bg);
  color: var(--biz-accent);
  border: 1px solid var(--biz-accent-border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.wifi-connect-btn:active {
  transform: scale(0.94);
}

/* ---------- WiFi (pop-up panel) ---------- */

.wifi-block {
  width: 100%;
}

.wifi-block .link-btn {
  width: 100%;
  border-radius: var(--radius);
  transition: border-radius 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.wifi-block .link-btn.open {
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom-color: transparent;
  background: #1e1e1e;
}

.wifi-chevron {
  transition: transform 0.18s ease;
}

.wifi-block .link-btn.open .wifi-chevron {
  transform: rotate(180deg);
}

.wifi-panel {
  display: none;
  flex-direction: column;
  gap: 10px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 14px 18px 18px;
  margin-top: -1px;
}

.wifi-panel.open {
  display: flex;
}

.wifi-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wifi-row-label {
  flex: 0 0 68px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.wifi-row .val-text {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  word-break: break-all;
}

/* ---------- QR kutusu ---------- */

.qr-toggle {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--line);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.qr-toggle:hover {
  color: var(--text);
  border-color: var(--line-soft);
}

.qr-box {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.qr-box.open {
  display: flex;
}

.qr-box img {
  width: 176px;
  height: 176px;
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
}

.qr-box p {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin: 0;
  max-width: 220px;
}

.footer-brand {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-brand a {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Sadakat kartı ---------- */

.loyalty-card {
  margin-top: 20px;
  padding: 18px 16px 16px;
  border: 1px solid var(--biz-accent-border);
  border-radius: var(--radius);
  background: var(--biz-accent-bg);
  text-align: center;
}

.loyalty-card.ready {
  border-color: var(--biz-accent);
}

.loyalty-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.loyalty-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--biz-accent);
}

.loyalty-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.loyalty-stamps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-bottom: 14px;
}

.stamp {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px dashed var(--biz-accent-border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  transition: transform 0.2s ease, background 0.2s ease;
}

.stamp.filled {
  border-style: solid;
  border-color: var(--biz-accent);
  background: var(--biz-accent);
  color: #0a0a0a;
  font-size: 16px;
}

.loyalty-msg {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.loyalty-msg strong {
  color: var(--text);
}

.loyalty-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--biz-accent-border-strong);
  background: transparent;
  color: var(--biz-accent);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.loyalty-btn:hover {
  background: var(--biz-accent-bg);
}

.loyalty-btn:active {
  transform: scale(0.985);
}

.loyalty-btn.small {
  width: auto;
  flex: 0 0 auto;
  padding: 11px 18px;
}

.loyalty-btn[disabled] {
  opacity: 0.55;
  cursor: default;
}

.loyalty-hint {
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--text-dim);
  opacity: 0.75;
}

/* Müşterinin görevliye göstereceği geçici kod */

.loyalty-code {
  display: none;
  margin-top: 4px;
  padding: 16px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--biz-accent-border-strong);
  background: rgba(0, 0, 0, 0.28);
}

.loyalty-code.open {
  display: block;
}

.loyalty-code-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.loyalty-code-value {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-indent: 0.22em; /* letter-spacing'in sağda bıraktığı boşluğu dengele */
  color: var(--biz-accent);
  font-variant-numeric: tabular-nums;
}

.loyalty-code-timer {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.loyalty-error {
  margin-top: 9px;
  font-size: 12.5px;
  color: #ff8f8f;
  min-height: 16px;
}

.loyalty-note {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--biz-accent-border);
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--text-dim);
  opacity: 0.7;
}

/* ---------- SocialTag marka kartı (işletme sayfası altı) ----------
   Bilerek --biz-accent kullanmıyor: işletmenin kendi renginden ayrışsın,
   ayrı bir markaya gittiği belli olsun. */

.st-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: 44px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(244, 243, 239, 0.14);
  border-radius: var(--radius);
  background: rgba(244, 243, 239, 0.035);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.st-brand:hover {
  border-color: rgba(244, 243, 239, 0.3);
  background: rgba(244, 243, 239, 0.07);
  transform: translateY(-2px);
}

.st-brand:active {
  transform: translateY(0);
}

.st-brand-logo {
  height: 44px;
  width: auto;
  opacity: 0.95;
}

.st-brand-line {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}

.st-brand-line strong {
  color: var(--text);
  font-weight: 700;
}

.st-brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  padding: 8px 16px;
  border: 1px solid rgba(244, 243, 239, 0.22);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.st-brand-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}

.st-brand:hover .st-brand-cta {
  border-color: rgba(244, 243, 239, 0.42);
}

.st-brand:hover .st-brand-arrow {
  transform: translateX(4px);
}

.state-msg {
  text-align: center;
  color: var(--text-dim);
  padding: 60px 10px;
}

/* ---------- Marketing / landing sayfaları ---------- */

.hero {
  text-align: center;
  padding: 56px 0 20px;
}

.hero-v2 {
  text-align: center;
  padding: 64px 20px 30px;
}

.hero h1,
.hero-v2 h1 {
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}

.hero p,
.hero-v2 .lead {
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.badge,
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-logo {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 20px;
  display: block;
}

.hero-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: block;
}

.page-hero {
  text-align: center;
  padding: 54px 20px 10px;
  max-width: 760px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(26px, 5vw, 40px);
  letter-spacing: -0.01em;
  margin: 14px 0 12px;
}

.page-hero p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 30px 0;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 20px;
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  border-color: var(--line-soft);
  transform: translateY(-2px);
}

.feature-card .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 18px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.section-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin: 50px 0 8px;
}

.section-heading {
  text-align: center;
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: -0.01em;
  margin: 0 0 30px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.step-num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: #0a0a0a;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h4 {
  margin: 2px 0 4px;
  font-size: 15px;
}

.step-body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.5;
}

.cta-box {
  margin: 40px 0 10px;
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
}

.cta-box h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.cta-box p {
  margin: 0 0 18px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
}

.cta-box .btn {
  padding: 13px 26px;
  font-size: 14.5px;
}

/* ---------- Grid yardımcıları (masaüstünde geniş sayfalar) ---------- */

@media (min-width: 720px) {
  .feature-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps.cols-3 {
    flex-direction: row;
  }

  .steps.cols-3 .step {
    flex: 1;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ---------- Ürünler sayfası: form faktörü kartları ---------- */

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 30px 0;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.product-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.product-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.product-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card ul li {
  font-size: 13.5px;
  color: var(--text);
  padding: 6px 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  gap: 8px;
}

.product-card ul li:first-child {
  border-top: none;
}

.product-card ul li::before {
  content: "✓";
  color: var(--text);
  font-weight: 700;
}

/* ---------- Admin ---------- */

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 14px;
}

.field input:focus,
.field select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.4);
}

.field input[type="file"] {
  padding: 9px 12px;
  cursor: pointer;
}

.color-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-row input[type="color"] {
  width: 48px;
  height: 40px;
  padding: 3px;
  cursor: pointer;
  flex: 0 0 auto;
}

.color-row .small-btn {
  flex: 0 0 auto;
}

.logo-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.logo-preview img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-card .num {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.stat-card .lbl {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.stat-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.stat-chip {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--white);
  color: #0a0a0a;
}

.btn-secondary {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ff8080;
}

.btn-block {
  width: 100%;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.topbar .logo {
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.topbar .logo img {
  height: 24px;
  width: auto;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}

.biz-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.biz-row .thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  overflow: hidden;
  flex: 0 0 auto;
}

.biz-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-row .info {
  flex: 1;
  min-width: 0;
}

.biz-row .info .name {
  font-weight: 700;
  font-size: 15px;
}

.biz-row .info .slug {
  font-size: 13px;
  color: var(--text-dim);
}

.biz-row .actions {
  display: flex;
  gap: 8px;
}

.link-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr auto auto;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.link-row .row-hint {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: -4px;
}

@media (max-width: 620px) {
  .link-row {
    grid-template-columns: 1fr 1fr;
  }

  .link-row .rowType {
    grid-column: 1 / -1;
  }
}

.small-btn {
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: var(--bg-soft);
  color: var(--text-dim);
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

.small-btn.danger {
  color: #ff8080;
}

.alert {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
}

.alert.error {
  background: rgba(239, 68, 68, 0.12);
  color: #ff8f8f;
}

.alert.success {
  background: rgba(34, 197, 94, 0.12);
  color: #7be3a5;
}

.hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

.empty-state {
  text-align: center;
  padding: 40px 10px;
  color: var(--text-dim);
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 30px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
