:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-muted: #f1f4f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --input-bg: #ffffff;
  --input-text: #0f172a;
}

/* Dark theme overrides */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f172a; /* slate-900 - slightly lighter than pure black for better contrast */
  --surface: #1e293b; /* slate-800 - cards/panels */
  --surface-muted: #334155; /* slate-700 - subtle backgrounds */
  --text: #f1f5f9; /* slate-100 - main text */
  --text-muted: #cbd5e1; /* slate-300 - secondary text */
  --border: #334155; /* slate-700 - borders */
  --primary: #3b82f6; /* slightly brighter blue */
  --primary-strong: #2563eb;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  --input-bg: #1e293b; /* dark surface for inputs */
  --input-text: #f1f5f9; /* light text for inputs */
}

 * {
   box-sizing: border-box;
 }

 body {
   margin: 0;
   font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
   background: var(--bg);
   color: var(--text);
 }

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

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

 .hidden {
   display: none;
 }

 /* Loading spinner (inline, small) */
 .spinner {
   display: inline-block;
   width: 14px;
   height: 14px;
   border: 2px solid var(--border);
   border-top-color: var(--primary);
   border-radius: 50%;
   animation: spin 0.7s linear infinite;
   vertical-align: middle;
   margin-right: 6px;
 }

 .spinner--lg {
   width: 32px;
   height: 32px;
   border-width: 3px;
   margin-right: 0;
 }

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

 /* Dashboard main content loading state */
 .dashboard-loader {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 16px;
   min-height: 200px;
   color: var(--text-muted);
   font-size: 14px;
 }

 .dashboard-loader.hidden {
   display: none;
 }

 .container {
   width: min(1200px, 92%);
   margin: 0 auto;
 }

 .site-header {
   background: var(--surface);
   border-bottom: 1px solid var(--border);
   position: sticky;
   top: 0;
   z-index: 10;
 }

 .header-grid {
   display: grid;
   grid-template-columns: 1fr auto auto;
   align-items: center;
   gap: 24px;
   padding: 18px 0;
 }

.logo-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

 .logo {
   display: inline-flex;
   align-items: center;
   gap: 12px;
   font-weight: 600;
 }

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon {
  width: 85%;
  height: auto;
 }

 .logo-text {
   font-size: 18px;
 }

 .nav-links {
   display: flex;
   gap: 18px;
   color: var(--text-muted);
   font-size: 14px;
 }

 .nav-actions {
   display: flex;
   gap: 12px;
 }

 .btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 10px 18px;
   border-radius: 999px;
   border: 1px solid transparent;
   font-size: 14px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.15s ease;
 }

 .btn.primary {
   background: var(--primary);
   color: #ffffff;
   box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
 }

 .btn.primary:hover {
   background: var(--primary-strong);
 }

 .btn.ghost {
   background: transparent;
   color: var(--text);
   border: 1px solid var(--border);
 }

 .btn.ghost:hover {
   border-color: var(--primary);
   color: var(--primary);
 }

 /* Light mode: Make ghost button more visible in hero section */
 :root:not([data-theme="dark"]) .hero .btn.ghost {
   background: rgba(255, 255, 255, 0.15);
   color: #ffffff;
   border: 2px solid rgba(255, 255, 255, 0.5);
   backdrop-filter: blur(8px);
 }

:root:not([data-theme="dark"]) .hero .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Auth card is on light surface – keep buttons visible (override hero ghost) */
.auth-card .btn.ghost,
.auth-card .btn.ghost:hover {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  transform: none;
}
.auth-card .btn.ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(0.8) saturate(0.9);
  transform: scale(1.03);
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Adaptive overlay: light veil in light mode, darker veil in dark mode */
  background:
    linear-gradient(180deg, var(--surface) 0.86, var(--bg) 0.94),
    radial-gradient(circle at top left, var(--surface) 0.9, transparent 55%),
    radial-gradient(circle at bottom right, var(--bg) 0.9, transparent 55%);
}

/* Dark mode: stronger overlay to ensure text readability */
:root[data-theme="dark"] .hero-bg-overlay {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.96)),
    radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), transparent 55%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.98), transparent 55%);
}

.hero-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 40px;
   align-items: center;
  position: relative;
  z-index: 1;
 }

 .hero-content h1 {
   font-size: clamp(32px, 4vw, 48px);
   margin: 16px 0;
 }

.header-ebay-lockup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.header-ebay-logo {
  height: 16px;
  width: auto;
}

@media (max-width: 768px) {
  .header-ebay-lockup {
    display: none;
  }
}

 /* Light mode only: improve readability over video background with matching color scheme */
 :root:not([data-theme="dark"]) .hero-content {
   position: relative;
   z-index: 1;
   /* Blue/purple gradient that complements the background video flow */
   background: linear-gradient(135deg, 
     rgba(30, 58, 138, 0.85) 0%, 
     rgba(67, 56, 202, 0.8) 50%, 
     rgba(79, 70, 229, 0.85) 100%);
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 24px;
   padding: 24px;
   box-shadow: 0 24px 60px rgba(30, 58, 138, 0.4), 
               0 8px 24px rgba(67, 56, 202, 0.3);
 }

 :root:not([data-theme="dark"]) .hero-content h1 {
   color: #ffffff;
   text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
 }

 .eyebrow {
   text-transform: uppercase;
   letter-spacing: 0.2em;
   font-size: 12px;
   color: var(--primary);
   font-weight: 600;
 }

 .lead {
   color: var(--text-muted);
   line-height: 1.6;
   margin-bottom: 24px;
 }

 /* Light mode only: hero-specific text tweaks for better contrast over video */
 :root:not([data-theme="dark"]) .hero .lead {
   color: rgba(255, 255, 255, 0.95);
   text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
 }

 /* Improve paragraph text contrast in dark mode */
 :root[data-theme="dark"] .lead {
   color: var(--text);
   opacity: 0.9;
 }

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

 .hero-stats {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
   gap: 16px;
 }

 .hero-stats strong {
   display: block;
   font-size: 18px;
 }

 .hero-stats span {
   font-size: 12px;
   color: var(--text-muted);
 }

 /* Light mode only: improve hero stats text contrast over video */
 :root:not([data-theme="dark"]) .hero-stats strong {
   color: #ffffff;
   text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
 }

 :root:not([data-theme="dark"]) .hero-stats span {
   color: rgba(255, 255, 255, 0.9);
   text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
 }

 /* Improve hero stats text contrast in dark mode */
 :root[data-theme="dark"] .hero-stats span {
   color: var(--text);
   opacity: 0.85;
 }

 .hero-marketplaces-wrap {
   margin-top: 24px;
 }

 .hero-marketplaces-label {
   font-size: 12px;
   margin-bottom: 8px;
   text-transform: uppercase;
   letter-spacing: 0.04em;
 }

 .hero-marketplaces {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 10px 14px;
   line-height: 1.5;
 }

 .hero-marketplace-pill {
   display: inline-flex;
   align-items: center;
   padding: 8px 14px;
   border-radius: 999px;
   font-size: 13px;
   font-weight: 500;
   white-space: nowrap;
   background: var(--surface-muted);
   color: var(--text);
   border: 1px solid var(--border);
 }

 :root:not([data-theme="dark"]) .hero-marketplaces-label {
   color: rgba(255, 255, 255, 0.85);
 }

 :root:not([data-theme="dark"]) .hero-marketplace-pill {
   background: rgba(255, 255, 255, 0.22);
   color: #fff;
   border-color: rgba(255, 255, 255, 0.4);
 }

 .hero-card {
   background: var(--surface);
   border-radius: var(--radius);
   padding: 24px;
   box-shadow: var(--shadow);
 }

 .hero-card-header {
   font-weight: 600;
   margin-bottom: 16px;
 }

 .hero-card-body {
   display: grid;
   gap: 12px;
 }

 .hero-pill {
   background: var(--surface-muted);
   padding: 10px 14px;
   border-radius: 999px;
   font-size: 14px;
   color: var(--text);
 }

 .hero-card-footer {
   margin-top: 20px;
   font-size: 13px;
   color: var(--text-muted);
 }

 .section {
   padding: 72px 0;
 }

 .section-header {
   margin-bottom: 32px;
   display: grid;
   gap: 10px;
 }

 .section-header p {
   color: var(--text-muted);
 }

 .billing-toggle {
   display: inline-flex;
   align-items: center;
   gap: 0;
   margin-top: 12px;
   background: var(--bg);
   border: 1px solid var(--border);
   border-radius: var(--radius);
   padding: 4px;
 }

 .billing-toggle-btn {
   font: inherit;
   font-weight: 500;
   color: var(--text-muted);
   background: none;
   border: none;
   border-radius: calc(var(--radius) - 2px);
   padding: 8px 16px;
   cursor: pointer;
   transition: color 0.15s, background 0.15s;
 }

 .billing-toggle-btn:hover {
   color: var(--text);
 }

 .billing-toggle-btn.active {
   color: var(--text);
   background: var(--surface);
   box-shadow: var(--shadow);
 }

 .price-block {
   display: block;
 }

 #pricing[data-billing="monthly"] .price-annual {
   display: none !important;
 }

 #pricing[data-billing="monthly"] .price-monthly {
   display: block !important;
 }

 #pricing[data-billing="annual"] .price-monthly {
   display: none !important;
 }

 #pricing[data-billing="annual"] .price-annual {
   display: block !important;
 }

 .price-block {
   margin: 0 0 4px 0;
 }

 .price-equivalent {
   font-size: 0.9em;
   color: var(--text-muted);
   font-weight: normal;
 }

 .price-block sup {
   font-size: 0.7em;
   vertical-align: super;
   color: var(--text-muted);
 }

 .pricing-note {
   margin-top: 16px;
   font-size: 0.85em;
   color: var(--text-muted);
   text-align: center;
 }

 #pricing[data-billing="monthly"] .pricing-note {
   display: none;
 }

 #pricing[data-billing="annual"] .pricing-note {
   display: block;
 }

 #pricing[data-billing="monthly"] .cta-annual {
   display: none !important;
 }

 #pricing[data-billing="annual"] .cta-monthly {
   display: none !important;
 }

 #pricing[data-billing="annual"] .cta-annual {
   display: block !important;
 }

 .feature-card .cta-monthly {
   margin-top: 16px;
   display: inline-block;
   padding: 10px 18px;
   border-radius: var(--radius);
   font-weight: 500;
   font-size: 1rem;
   color: var(--text-muted);
   background: var(--bg);
   border: 1px solid var(--border);
   cursor: not-allowed;
 }

 .feature-card .cta-annual .pricing-cta {
   margin-bottom: 8px;
 }

 .pro-pre-sub-note {
   font-size: 0.8em;
   color: var(--text-muted);
   margin: 8px 0 0 0;
   max-width: 260px;
 }

 .feature-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
   gap: 20px;
 }

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

 .feature-card h3 {
   margin-top: 0;
 }

 .feature-card .pricing-cta {
   margin-top: 16px;
   display: inline-block;
 }

.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 6px;
}

.price-new {
  font-weight: 700;
  color: var(--primary-strong);
}

.badge-coming-up {
  display: inline-block;
  font-size: 0.65em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-strong);
  background: color-mix(in srgb, var(--primary-strong) 12%, transparent);
  padding: 4px 8px;
  border-radius: 6px;
  margin-left: 8px;
  vertical-align: middle;
}

.card-coming-up {
  opacity: 0.92;
}

 .dashboard {
   background: var(--surface);
 }

 .dashboard-grid {
   display: grid;
   grid-template-columns: minmax(260px, 320px) 1fr;
   gap: 24px;
 }

 .dashboard-aside {
   display: grid;
   gap: 20px;
 }

 .dashboard-content {
   display: grid;
   gap: 24px;
 }

 .card-header {
   display: grid;
   gap: 6px;
   margin-bottom: 16px;
 }

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

 form {
   display: grid;
   gap: 12px;
 }

 input,
 textarea,
 button {
   font: inherit;
 }

input,
textarea,
select {
   width: 100%;
   padding: 10px 12px;
   border-radius: 10px;
   border: 1px solid var(--border);
   background: var(--input-bg);
   color: var(--input-text);
 }

input::placeholder,
textarea::placeholder {
   color: var(--text-muted);
   opacity: 0.7;
 }

 textarea {
   resize: vertical;
 }

 button {
   padding: 10px 16px;
   border-radius: 10px;
   border: 1px solid var(--border);
   background: var(--surface);
   color: var(--text);
   cursor: pointer;
   font-weight: 600;
 }

 button:hover {
   border-color: var(--primary);
   color: var(--primary);
 }

 button:disabled {
   opacity: 0.5;
   cursor: not-allowed;
 }

 .row {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 12px;
 }

.ai-batch-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  align-items: start;
}
@media (max-width: 520px) {
  .ai-batch-fields-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 12px;
  color: var(--text-muted);
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}

.checkbox-row input {
  margin: 0;
}

 .picker {
   border: 1px solid var(--border);
   border-radius: 12px;
   padding: 16px;
   background: var(--surface-muted);
 }

 .picker-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 16px;
   flex-wrap: wrap;
 }

 .picker-actions {
   display: flex;
   gap: 10px;
   align-items: center;
   flex-wrap: wrap;
 }

 .nodes {
   display: grid;
   gap: 8px;
   margin-top: 8px;
 }

 .node {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 10px;
   border: 1px solid var(--border);
   border-radius: 10px;
   background: var(--surface);
   color: var(--text);
   cursor: pointer;
 }

 .crumbs,
 .muted {
   font-size: 12px;
   color: var(--text-muted);
 }

 .toolbar {
   display: flex;
   flex-wrap: wrap;
   gap: 12px;
   align-items: center;
   margin-bottom: 12px;
 }

 .batch-product-form {
   border: 1px solid var(--border);
   border-radius: 14px;
   padding: 16px;
   background: var(--surface);
   color: var(--text);
 }

 .ai-batch-product-form {
   border: 2px solid var(--primary);
   border-radius: 8px;
   padding: 16px;
   margin-bottom: 16px;
   background: var(--surface);
   color: var(--text);
 }

 .ai-batch-product-form strong {
   color: var(--text);
   font-weight: 600;
 }

 .ai-batch-product-form.ai-batch-collapsed .ai-batch-product-set-body {
   display: none;
 }

 pre {
   white-space: pre-wrap;
   background: var(--surface-muted);
   color: var(--text);
   padding: 16px;
   border-radius: 12px;
   font-size: 12px;
 }

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.image-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-preview-placeholder {
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  flex-shrink: 0;
  background: rgba(59, 130, 246, 0.06);
  border: 2px dashed rgba(59, 130, 246, 0.6);
  border-radius: 12px;
  box-sizing: border-box;
}

.image-preview-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}

 .support {
   background: var(--surface-muted);
 }

 .support-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
   gap: 24px;
   align-items: center;
 }

 .support-card {
   background: var(--surface);
   border-radius: var(--radius);
   padding: 20px;
   border: 1px solid var(--border);
   display: grid;
   gap: 12px;
 }

 .site-footer {
   background: var(--surface);
   border-top: 1px solid var(--border);
   padding: 32px 0;
 }

 .footer-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 16px;
   align-items: center;
 }

.footer-ebay-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-ebay-logo {
  height: 16px;
  width: auto;
}

 .footer-links {
   display: flex;
   gap: 16px;
   flex-wrap: wrap;
   color: var(--text-muted);
   font-size: 14px;
 }

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

   .nav-links {
     justify-content: center;
     flex-wrap: wrap;
   }

   .nav-actions {
     justify-content: center;
     flex-wrap: wrap;
   }

   .dashboard-grid {
     grid-template-columns: 1fr;
   }
 }

 /* Category display (lean, eBay-style) */
 .category-display-block {
   border: 1px solid var(--border);
   border-radius: 12px;
   padding: 12px 16px;
   background: var(--surface-muted);
 }
 .category-display-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 6px;
 }
 .category-display-name {
   font-weight: 500;
   margin-bottom: 2px;
 }
 .category-display-path {
   font-size: 13px;
 }

 /* Category picker modal */
 .category-picker-modal {
   position: fixed;
   inset: 0;
   z-index: 100;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 24px;
 }
 .category-picker-modal.hidden {
   display: none;
 }
 .category-picker-modal-overlay {
   position: absolute;
   inset: 0;
   background: rgba(0, 0, 0, 0.5);
 }
 .category-picker-modal-content {
   position: relative;
   background: var(--surface);
   border: 1px solid var(--border);
   border-radius: var(--radius);
   padding: 24px;
   max-width: 480px;
   width: 100%;
   max-height: 90vh;
   overflow: auto;
   box-shadow: var(--shadow);
 }
 .category-picker-modal-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 16px;
 }
 .category-picker-modal-header h3 {
   margin: 0;
   font-size: 18px;
 }
 .category-picker-modal-close {
   background: none;
   border: none;
   font-size: 24px;
   cursor: pointer;
   color: var(--text-muted);
   padding: 0 4px;
   line-height: 1;
 }
 .category-picker-selected-section {
   margin-bottom: 8px;
 }
 .category-picker-selected-path {
   font-size: 13px;
   margin-top: 4px;
 }
 .category-picker-modal-actions {
   margin-top: 16px;
 }

 /* My Listings table */
 .my-listings-table {
   width: 100%;
   border-collapse: collapse;
   font-size: 14px;
 }
 .my-listings-table th,
 .my-listings-table td {
   padding: 10px 12px;
   text-align: left;
   border-bottom: 1px solid var(--border);
 }
 .my-listings-table th {
   color: var(--text-muted);
   font-weight: 600;
 }
 .my-listings-cell-inner {
   display: flex;
   align-items: center;
   gap: 12px;
 }
 .my-listings-thumb {
   width: 48px;
   height: 48px;
   object-fit: cover;
   border-radius: 6px;
   flex-shrink: 0;
 }
 .my-listings-thumb-placeholder {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: var(--surface-muted);
   color: var(--text-muted);
   font-size: 12px;
 }
 .my-listings-title-btn {
   background: none;
   border: none;
   padding: 0;
   font: inherit;
   color: var(--primary);
   cursor: pointer;
   text-align: left;
 }
 .my-listings-title-btn:hover {
   text-decoration: underline;
 }
 .my-listings-item-id {
   font-size: 12px;
   margin-top: 2px;
 }
 .my-listings-cell-price {
   white-space: nowrap;
 }
.my-listings-cell-quantity {
  color: var(--text-muted);
  text-align: center;
}
 .my-listings-cell-actions {
   white-space: nowrap;
 }
 .my-listings-btn-view,
 .my-listings-btn-edit {
   margin-right: 8px;
   font-size: 13px;
 }
 .my-listings-btn-edit {
   color: var(--primary);
 }

 /* My Listings pagination */
 .my-listings-pagination {
   margin-top: 16px;
   padding-top: 12px;
   border-top: 1px solid var(--border);
 }
 .my-listings-pagination-inner {
   display: flex;
   align-items: center;
   gap: 12px;
   flex-wrap: wrap;
 }
 .my-listings-pagination-prev,
 .my-listings-pagination-next,
 .my-listings-pagination-num {
   padding: 6px 12px;
   font-size: 14px;
   background: var(--surface-muted);
   border: 1px solid var(--border);
   border-radius: 6px;
   cursor: pointer;
   color: var(--text);
 }
 .my-listings-pagination-prev:hover:not(:disabled),
 .my-listings-pagination-next:hover:not(:disabled),
 .my-listings-pagination-num:hover:not(.my-listings-pagination-num--current) {
   background: var(--border);
 }
 .my-listings-pagination-prev:disabled,
 .my-listings-pagination-next:disabled {
   opacity: 0.5;
   cursor: not-allowed;
 }
 .my-listings-pagination-num--current {
   background: var(--primary);
   border-color: var(--primary);
   color: #fff;
 }
 .my-listings-pagination-pages {
   display: inline-flex;
   align-items: center;
   gap: 4px;
 }
 .my-listings-pagination-info {
   margin-left: auto;
   font-size: 13px;
 }

 /* My Listings detail modal */
 .my-listings-detail-modal {
   position: fixed;
   inset: 0;
   z-index: 1000;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 24px;
 }
 .my-listings-detail-modal.hidden {
   display: none;
 }
 .my-listings-detail-overlay {
   position: absolute;
   inset: 0;
   background: rgba(0, 0, 0, 0.5);
   cursor: pointer;
 }
 .my-listings-detail-content {
   position: relative;
   background: var(--surface);
   border: 1px solid var(--border);
   border-radius: var(--radius);
   max-width: 560px;
   width: 100%;
   max-height: 90vh;
   overflow-y: auto;
   padding: 24px;
   box-shadow: var(--shadow);
 }
 .my-listings-detail-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 16px;
 }
 .my-listings-detail-header h3 {
   margin: 0;
   font-size: 18px;
 }
 .my-listings-detail-close {
   background: none;
   border: none;
   font-size: 24px;
   line-height: 1;
   cursor: pointer;
   color: var(--text-muted);
   padding: 0 4px;
 }
 .my-listings-detail-close:hover {
   color: var(--text);
 }
 #my-listings-detail-body p {
   margin: 8px 0;
 }
 .my-listings-detail-pictures {
   display: flex;
   gap: 8px;
   flex-wrap: wrap;
   margin-bottom: 16px;
 }
 .my-listings-detail-pic {
   width: 80px;
   height: 80px;
   object-fit: cover;
   border-radius: 6px;
 }
 .my-listings-detail-specifics {
   margin: 8px 0;
   padding-left: 20px;
 }

 @media (max-width: 720px) {
   .hero {
     padding: 48px 0;
   }

   .section {
     padding: 48px 0;
   }

   .card {
     padding: 18px;
   }
 }
