/* ═══════════════════════════════════════════════════════
   PRINT X — Global Stylesheet v2.0
   Theme: Precision Futuristic 3D Printing
   Responsive: Mobile-first, all breakpoints
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --red: #e8000d;
  --red-dark: #b8000a;
  --red-light: #ff3333;
  --red-glow: rgba(232, 0, 13, 0.15);
  --red-subtle: rgba(232, 0, 13, 0.08);
  --white: #ffffff;
  --off-white: #fafafa;
  --gray-light: #f4f4f6;
  --gray-mid: #e2e2e8;
  --gray-text: #6b7280;
  --gray-dark: #374151;
  --dark: #0d0d0f;
  --dark-2: #161618;
  --dark-3: #1f1f22;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 24px rgba(0,0,0,0.09);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 48px rgba(232,0,13,0.18);
  --shadow-dark: 0 8px 40px rgba(0,0,0,0.4);
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --nav-height: 70px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Orbitron', monospace;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

ul { list-style: none; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 5vw, 3.25rem); font-weight: 900; }
h2 { font-size: clamp(1.35rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; }
h4 { font-size: 0.85rem; font-weight: 700; }

p { line-height: 1.7; }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 15, 0.96);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(232, 0, 13, 0.35);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4), 0 1px 0 rgba(232,0,13,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo span { color: var(--red); }

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--red);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: rgba(255,255,255,0.68);
  padding: 7px 13px;
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-links a.active {
  color: var(--red-light);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cart-btn {
  position: relative;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
}

.nav-cart-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.cart-badge {
  background: var(--red);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: var(--font-mono);
}

.nav-user-info {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-user-info .username {
  color: var(--red-light);
  font-weight: 600;
}

.btn-nav-login {
  background: var(--red);
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 0.83rem;
  font-weight: 600;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-nav-login:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,0,13,0.35);
}

/* ── Hamburger ──────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--transition);
}

.nav-hamburger:hover { background: rgba(255,255,255,0.08); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav Overlay ────────────────────────────────── */
@media (max-width: 840px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(13, 13, 15, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    border-bottom: 2px solid var(--red);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    animation: navDropIn 0.2s ease;
  }

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

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

  .nav-links a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius);
  }

  .nav-hamburger { display: flex; }

  .nav-user-info { display: none; }
  
  .nav-right {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 16px; }
  .nav-cart-btn span:not(.cart-badge) { display: none; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 4px 16px rgba(232,0,13,0.3);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,0,13,0.4);
}

.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,0,13,0.3);
}

.btn-dark {
  background: var(--dark);
  color: white;
}

.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

.btn-white {
  background: white;
  color: var(--red);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.btn-sm  { padding: 7px 15px; font-size: 0.78rem; }
.btn-lg  { padding: 15px 38px; font-size: 0.96rem; }
.btn-xl  { padding: 18px 48px; font-size: 1.02rem; }
.btn-full { width: 100%; }

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Container ─────────────────────────────────────────── */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 480px) { .container { padding: 0 16px; } }

.section { padding: 88px 0; }
.section-sm { padding: 52px 0; }

/* ── Section Title ─────────────────────────────────────── */
.section-title {
  text-align: center;
  margin-bottom: 52px;
}

.section-title h2 { color: var(--dark); margin-bottom: 12px; }
.section-title p  { color: var(--gray-text); font-size: 1rem; max-width: 560px; margin: 0 auto; }

.section-title .line {
  width: 56px;
  height: 3px;
  background: var(--red);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* ── Page Header ────────────────────────────────────────── */
.page-header {
  background: var(--dark);
  padding: 64px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(232,0,13,0.1) 0%, transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(232,0,13,0.07) 0%, transparent 50%);
}

.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p  { color: rgba(255,255,255,0.55); font-size: 1rem; }

/* ── Product Cards ─────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 24px;
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 380px) {
  .products-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-mid);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232,0,13,0.25);
}

.product-card-image,
.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray-light);
}

.product-card-image-placeholder,
.product-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(0,0,0,0.15);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gray-text);
}

.product-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 7px;
  line-height: 1.35;
}

.product-card-desc {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red);
}

/* ── Forms ─────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-control::placeholder { color: #c0c0cc; }

textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ── Cards / Panels ────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-mid);
}

.card-sm { padding: 20px; }
.card-dark { background: var(--dark-2); border-color: rgba(255,255,255,0.08); }

/* ── Badges ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.badge-pending    { background: #fef3c7; color: #92400e; }
.badge-reviewing  { background: #dbeafe; color: #1e3a8a; }
.badge-approved   { background: #d1fae5; color: #065f46; }
.badge-cancelled  { background: #fee2e2; color: #991b1b; }
.badge-completed  { background: #d1fae5; color: #065f46; }
.badge-processing { background: #dbeafe; color: #1e3a8a; }
.badge-warning    { background: #fef3c7; color: #92400e; }
.badge-success    { background: #d1fae5; color: #065f46; }
.badge-error      { background: #fee2e2; color: #991b1b; }
.badge-info       { background: #dbeafe; color: #1e3a8a; }
.badge-primary    { background: rgba(232,0,13,0.1); color: var(--red-dark); }
.badge-default    { background: var(--gray-light); color: var(--gray-dark); }

/* ── Toast Notification ────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: min(360px, calc(100vw - 32px));
}

.toast {
  background: var(--dark);
  color: white;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  pointer-events: auto;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--red);
  word-break: break-word;
}

.toast.success { border-color: #22c55e; }
.toast.error   { border-color: var(--red); }
.toast.info    { border-color: #3b82f6; }

@keyframes slideInRight {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(110%); opacity: 0; }
}

/* ── Grid Layouts ──────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 900px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .grid-4 { grid-template-columns: 1fr; } }

/* ── Table ─────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

table { width: 100%; border-collapse: collapse; font-size: 0.87rem; min-width: 480px; }

thead th {
  background: var(--gray-light);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--gray-mid);
  font-family: var(--font-mono);
  white-space: nowrap;
}

tbody td { padding: 13px 16px; border-bottom: 1px solid var(--gray-mid); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--gray-light); }

/* ── Modal ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 32px 100px rgba(0,0,0,0.25);
  animation: modalIn 0.25s ease;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

@media (max-width: 480px) { .modal { padding: 24px; border-radius: var(--radius); } }

@keyframes modalIn {
  from { transform: scale(0.93) translateY(16px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-close {
  background: var(--gray-light);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.modal-close:hover { background: var(--red); color: white; }

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(232,0,13,0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 14px; text-decoration: none; }
.footer-brand p { font-size: 0.84rem; line-height: 1.75; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.73rem;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 0.83rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--red-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom .logo-text {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.85rem;
}

@media (max-width: 960px)  { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px)  { .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }

/* ── Loading Spinner ───────────────────────────────────── */
.spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--gray-mid);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

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

.loading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
  gap: 16px;
  color: var(--gray-text);
  font-size: 0.88rem;
  grid-column: 1 / -1;
}

/* ── Empty State ───────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 72px 24px;
  grid-column: 1 / -1;
}

.empty-state .icon { font-size: 3.5rem; margin-bottom: 18px; opacity: 0.45; }
.empty-state h3    { font-family: var(--font-display); margin-bottom: 9px; font-size: 1.05rem; }
.empty-state p     { color: var(--gray-text); font-size: 0.88rem; margin-bottom: 24px; }

/* ── Payment QR ────────────────────────────────────────── */
.payment-qr {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

@media (max-width: 768px) { .payment-qr { max-width: 160px; } }
@media (max-width: 480px) { .payment-qr { max-width: 140px; } }

/* ── Developer Cards ───────────────────────────────────── */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .developers-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 480px) { .developers-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.dev-card { text-align: center; }

.dev-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  border: 2px solid var(--gray-mid);
}

.dev-img:hover {
  transform: scale(1.02);
  border-color: var(--red);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 900px) { .dev-img { height: 190px; } }
@media (max-width: 480px) { .dev-img { height: 160px; border-radius: var(--radius); } }

/* ── Checkout Layout ───────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 960px) { .checkout-layout { grid-template-columns: 1fr; } }

/* ── Filters Bar ───────────────────────────────────────── */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .filters-bar { flex-direction: column; align-items: stretch; }
  .filters-bar .form-control { max-width: 100% !important; }
}

/* ── Section Label ─────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

/* ── Accent Chip ───────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red-subtle);
  border: 1px solid rgba(232,0,13,0.25);
  color: var(--red-light);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}

.chip::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.6s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.75); }
}

/* ── Divider ────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray-mid); margin: 24px 0; }

/* ── Utility ────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-red     { color: var(--red); }
.text-gray    { color: var(--gray-text); }
.text-white   { color: var(--white); }
.text-muted   { color: var(--gray-text); }
.text-sm      { font-size: 0.85rem; }
.text-xs      { font-size: 0.75rem; }
.font-mono    { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }
.fw-700       { font-weight: 700; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex  { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-8   { gap: 8px; }
.gap-12  { gap: 12px; }
.gap-16  { gap: 16px; }
.gap-24  { gap: 24px; }
.hidden  { display: none !important; }
.w-full  { width: 100%; }
.accent-bar { width: 48px; height: 4px; background: var(--red); border-radius: 2px; margin-bottom: 16px; }

/* ── Page wrapper (prevent layout shift) ───────────────── */
.page-wrapper { min-height: calc(100vh - var(--nav-height)); }
