[data-animate]{opacity:1; transform:none;}
:root {
  --bg: #050816;
  --bg-alt: #050c1f;
  --nav-bg: rgba(5, 8, 22, 0.9);
  --card-bg: rgba(11, 23, 52, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.25);
  --accent-strong: #2563eb;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --danger: #ef4444;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 22px 50px rgba(15, 23, 42, 0.85);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.5);
  --nav-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #050816 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2,
.section-header h1 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  margin-bottom: 12px;
}

.section-header p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, var(--nav-bg), transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 30%;
  background: radial-gradient(circle at 30% 10%, #60a5fa, #1d4ed8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
  box-shadow: var(--shadow-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #a855f7);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 16px;
}

.nav-cta {
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.35), rgba(15, 23, 42, 0.95));
  color: white;
  font-size: 0.9rem;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(191, 219, 254, 0.9);
  box-shadow: var(--shadow-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Hero */

.hero {
  padding: 64px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
}

.hero h1 {
  font-size: clamp(2.3rem, 3vw + 1rem, 3.2rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a855f7, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(191, 219, 254, 0.9);
}

.btn.large {
  padding: 12px 26px;
  font-size: 0.96rem;
}

.btn.full {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta > div {
  min-width: 110px;
}

.meta-label {
  display: block;
  margin-bottom: 2px;
}

.meta-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: #e5e7eb;
}

/* Hero visual */

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.video-mockup {
  border-radius: 26px;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.4), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.video-header {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  gap: 6px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.video-header .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.video-header .red {
  background: #f97373;
}

.video-header .yellow {
  background: #facc15;
}

.video-header .green {
  background: #4ade80;
}

.video-title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.video-body {
  padding: 16px 16px 18px;
}

.timeline {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  overflow: hidden;
  margin-bottom: 14px;
}

.timeline-playhead {
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #3b82f6, #a855f7);
  animation: timelineMove 5s linear infinite;
}

.video-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.thumb {
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  padding-top: 60%;
  position: relative;
  overflow: hidden;
}

.thumb-1 {
  background-image: linear-gradient(135deg, #1e293b, #0ea5e9);
}

.thumb-2 {
  background-image: linear-gradient(135deg, #0f172a, #22c55e);
}

.thumb-3 {
  background-image: linear-gradient(135deg, #111827, #e11d48);
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.85));
}

.floating-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.floating-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-card {
  border-radius: 18px;
  padding: 12px 12px 10px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.78rem;
}

.mini-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.mini-card h3 {
  margin: 0;
  font-size: 0.9rem;
}

/* Cards & grid */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px 18px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
}

.feature h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
}

/* Portfolio */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-card {
  position: relative;
  border-radius: 20px;
  padding: 18px 18px 22px;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.4), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.4), transparent 50%);
  opacity: 0.5;
  pointer-events: none;
}

.portfolio-tag {
  display: inline-flex;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.4);
  color: #bfdbfe;
  margin-bottom: 10px;
}

.portfolio-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.portfolio-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  padding: 18px 18px 20px 18px;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.6);
  color: #bfdbfe;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* CTA */

.cta {
  padding: 70px 0;
}

.cta-inner {
  border-radius: 24px;
  padding: 22px 22px 22px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.55), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(191, 219, 254, 0.48);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.cta-inner h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.3rem, 1.4vw + 1rem, 1.7rem);
}

.cta-inner p {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.92rem;
}

/* About page */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 36px;
}

.about-lead {
  max-width: 600px;
  color: #e5e7eb;
}

.about-main h1 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(2rem, 2vw + 1rem, 2.4rem);
}

.about-main h2 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.about-main p {
  color: var(--text-muted);
}

.about-list {
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-list li + li {
  margin-top: 4px;
}

.about-list.ordered {
  list-style: decimal;
}

.profile-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.profile-card h4 {
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.profile-card ul {
  padding-left: 18px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.profile-card ul li + li {
  margin-top: 4px;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing {
  position: relative;
}

.pricing-label {
  font-size: 0.75rem;
  color: #bfdbfe;
  margin-bottom: 8px;
}

.pricing h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.pricing-price {
  margin: 0 0 14px;
  font-weight: 500;
}

.pricing-price span {
  font-size: 1.4rem;
}

.pricing-list {
  padding-left: 18px;
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-list li + li {
  margin-top: 4px;
}

.pricing.featured {
  border: 1px solid rgba(59, 130, 246, 0.9);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Note */

.note {
  margin-top: 26px;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.85);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 18px 0 26px;
  background: rgba(15, 23, 42, 0.96);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-credit {
  opacity: 0.9;
}

/* Animation */

.js [data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes timelineMove {
  0% {
    transform: translateX(-40%);
  }
  100% {
    transform: translateX(60%);
  }
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-grid,
  .portfolio-grid,
  .steps,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-inner {
    height: auto;
    padding: 8px 0;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: 10px 16px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    transform-origin: top;
    transform: scaleY(0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 30px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .hero-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 0.75rem;
  }

  .mini-card h3 {
    font-size: 0.82rem;
  }

  .cta-inner {
    padding: 18px 16px;
  }

  .section {
    padding: 64px 0;
  }
}

/* ===== Checkout page ===== */
.checkout-layout{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 20px;
  align-items: start;
}
.checkout-card h2{ margin: 0 0 8px; font-size: 1.2rem; }
.text-muted{ color: var(--text-muted); }
.text-muted.small{ font-size: .86rem; margin: 10px 0 0; }
.checkout-packages{ display:grid; gap: 12px; margin-top: 12px; }
.checkout-pkg{
  width:100%;
  border:1px solid rgba(148,163,184,.35);
  border-radius:18px;
  background: rgba(15,23,42,.92);
  padding:14px 14px 12px;
  cursor:pointer;
  text-align:left;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  color: var(--text);
}
.checkout-pkg:hover{
  transform: translateY(-1px);
  border-color: rgba(191,219,254,.65);
  box-shadow: var(--shadow-soft);
}
.checkout-pkg.selected{
  border-color: rgba(59,130,246,.95);
  background: radial-gradient(circle at top left, rgba(59,130,246,.28), rgba(15,23,42,.96));
  box-shadow: var(--shadow-glow);
}
.pkg-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.pkg-top h3{ margin:0; font-size:1.05rem; }
.pkg-price{ font-weight:700; color:#e5e7eb; white-space:nowrap; }
.pkg-desc{ margin:8px 0 0; color: var(--text-muted); font-size:.9rem; }
.pkg-badge{
  display:inline-flex;
  margin-left:8px;
  padding:3px 8px;
  border-radius:999px;
  font-size:.72rem;
  color:#bfdbfe;
  border:1px solid rgba(191,219,254,.5);
  background: rgba(59,130,246,.16);
}
.checkout-form{ margin-top: 10px; }
.form-grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size:.86rem; color:#bfdbfe; }
.field input, .field textarea{
  border-radius:14px;
  border:1px solid rgba(148,163,184,.35);
  background: rgba(5,8,22,.75);
  color: var(--text);
  padding:10px 12px;
  outline:none;
}
.field textarea{ min-height:92px; resize:vertical; }
.field input:focus, .field textarea:focus{
  border-color: rgba(59,130,246,.9);
  box-shadow: 0 0 0 4px rgba(59,130,246,.18);
}
.success-panel{ margin-top:16px; border-top:1px solid rgba(148,163,184,.2); padding-top:14px; }
.success-head{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.success-dot{
  width:10px; height:10px; border-radius:999px;
  background:#22c55e; box-shadow:0 0 10px rgba(34,197,94,.9);
}
.note.compact{ margin-top: 14px; }

@media (max-width: 900px){
  .checkout-layout{ grid-template-columns: minmax(0,1fr); }
  .form-grid{ grid-template-columns: minmax(0,1fr); }
}

.field select{ border-radius:14px; border:1px solid rgba(148,163,184,.35); background: rgba(5,8,22,.75); color: var(--text); padding:10px 12px; outline:none; }
.field select:focus{ border-color: rgba(59,130,246,.9); box-shadow: 0 0 0 4px rgba(59,130,246,.18); }


/* ===== Marketplace / Products UI ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  transition: transform .18s ease, border-color .18s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.35);
}

.prod-thumb {
  height: 170px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(139, 92, 246, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.prod-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .18s ease;
}
.prod-thumb.has-img .prod-thumb-img { opacity: 1; }
.prod-thumb.has-img .prod-thumb-mark { opacity: 0; transform: scale(0.98); }
.prod-thumb-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.95);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: opacity .18s ease, transform .18s ease;
}

.prod-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}
.prod-title {
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}
.prod-price {
  font-weight: 800;
  font-size: 1.02rem;
}
.prod-desc {
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 44px;
}
.prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.prod-store {
  color: var(--text-muted);
  text-decoration: none;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prod-store:hover { color: var(--text); }

/* Checkout product summary */
.product-checkout {
  display: flex;
  gap: 14px;
  align-items: center;
}
.product-thumb {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(139, 92, 246, 0.14));
  display: flex;
}
.product-thumb.has-img {
  background-size: cover;
  background-position: center;
}
.product-info { display: grid; gap: 6px; }
.product-title { font-weight: 800; font-size: 1.06rem; }

/* Seller product cards */
.seller-card .prod-foot { justify-content: space-between; }
.badge.ok { border-color: rgba(34,197,94,0.35); color: rgba(34,197,94,0.95); }
.badge.warn { border-color: rgba(245,158,11,0.35); color: rgba(245,158,11,0.95); }
.badge.bad { border-color: rgba(239,68,68,0.35); color: rgba(239,68,68,0.95); }


/* Seller panel layout improvements */
.seller-layout{
  display:grid;
  grid-template-columns: 1fr 1.25fr;
  gap:16px;
  align-items:start;
}
@media (max-width: 980px){
  .seller-layout{grid-template-columns:1fr;}
}
.seller-actions-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

/* Tabs */
.tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.tab-btn{
  border:1px solid rgba(148,163,184,0.22);
  background: rgba(15,23,42,0.35);
  color: rgba(226,232,240,0.92);
  padding:10px 14px;
  border-radius: 999px;
  cursor:pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.tab-btn:hover{ transform: translateY(-1px); border-color: rgba(56,189,248,0.35); }
.tab-btn.active{
  background: rgba(56,189,248,0.14);
  border-color: rgba(56,189,248,0.45);
}
.tab-panel{ display:none; }
.tab-panel.active{ display:block; }

/* Marketplace search bar */
.mp-search-card{
  padding:16px;
  margin-bottom:16px;
}
.mp-search-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.searchbar{
  flex:1;
  min-width: 240px;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,0.42);
  border: 1px solid rgba(148,163,184,0.22);
}
.searchbar:focus-within{ border-color: rgba(56,189,248,0.45); box-shadow: 0 0 0 3px rgba(56,189,248,0.08); }
.search-icon{ width:18px; height:18px; opacity:0.8; }
.searchbar input{ border:none; background:transparent; padding:0; margin:0; outline:none; width:100%; }
.search-meta{ margin-top:10px; color: var(--text-muted); font-size: 0.95rem; }



/* Orders UI */
.orders-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  max-width:980px;
  margin:0 auto;
}
.order-card{
  display:flex;
  gap:18px;
  justify-content:space-between;
  align-items:stretch;
  padding:16px 16px;
  border:1px solid rgba(148,163,184,.12);
  background:rgba(2,6,23,.40);
  border-radius:var(--radius-lg);
  box-shadow:0 18px 45px rgba(2,6,23,.45);
}
.order-main{flex:1; min-width:0;}
.order-top{display:flex; gap:12px; align-items:center; justify-content:space-between;}
.order-id{font-weight:700; letter-spacing:.2px; font-size:14px; color:rgba(226,232,240,.95); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.order-item{margin-top:8px; font-size:16px; font-weight:600; color:rgba(226,232,240,.92); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.order-meta{margin-top:8px; display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-size:12.5px; color:rgba(148,163,184,.95);}
.order-meta .sep{opacity:.65;}
.order-side{display:flex; flex-direction:column; justify-content:space-between; gap:10px; align-items:flex-end; min-width:240px;}
.order-amount{font-size:16px; font-weight:800;}
.order-actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;}
.status-pill{
  padding:6px 10px;
  border-radius:var(--radius-pill);
  font-size:12px;
  font-weight:700;
  border:1px solid rgba(148,163,184,.18);
  text-transform:lowercase;
}
.status-pill.ok{background:rgba(34,197,94,.16); border-color:rgba(34,197,94,.35); color:rgba(187,247,208,.95);}
.status-pill.wait{background:rgba(245,158,11,.14); border-color:rgba(245,158,11,.35); color:rgba(253,230,138,.95);}

@media (max-width: 820px){
  .order-card{flex-direction:column; align-items:stretch;}
  .order-side{align-items:flex-start; min-width:0;}
  .order-actions{justify-content:flex-start;}
  .order-item{white-space:normal;}
}

/* Success page: keep whatsapp button prominent */
#waBtn{gap:8px}
