/* ============================================================
   DomainEvery — Unified Premium Marketplace CSS
   Covers: homepage, catalog, domain detail, auth, account,
           cart, articles, FAQ, about, offer, reserve, seller
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:     #03142f;
  --navy-2:   #071a3d;
  --navy-3:   #082a63;
  --blue:     #2753d7;
  --blue-2:   #1f47c4;
  --blue-3:   #0d47a1;
  --sky:      #60a5fa;
  --sky-2:    #93c5fd;
  --gold:     #f59e0b;
  --amber:    #b45309;
  --green:    #059669;
  --bg:       #f6f8fc;
  --surface:  #ffffff;
  --line:     #e2e8f0;
  --line-2:   #cbd5e1;
  --muted:    #64748b;
  --text:     #0f172a;
  --text-2:   #1e293b;
  --radius:   6px;
  --max:      1500px;
  --shadow:   0 20px 55px rgba(15,23,42,.10);
  --shadow-s: 0 8px 24px rgba(15,23,42,.07);
  --shadow-l: 0 30px 90px rgba(15,23,42,.18);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
ul, ol { margin: 0; padding-left: 20px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }

/* ---------- Layout ---------- */
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.page-space { padding-block: 52px; }

/* ---------- Utility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.muted { color: var(--muted); }
.primary { color: var(--blue); }
.accent { color: var(--sky); }

/* ---------- Typography ---------- */
.page-title   { font-size: clamp(32px,5vw,52px); font-weight: 900; letter-spacing: -.06em; line-height: 1; margin: 0 0 10px; }
.page-subtitle { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0; }
.title-xl { font-size: clamp(40px,6vw,72px); font-weight: 900; letter-spacing: -.07em; line-height: .94; margin: 0; }
.title-lg { font-size: clamp(24px,3.5vw,38px); font-weight: 900; letter-spacing: -.055em; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eff6ff; color: #1d4ed8;
  border: 1px solid #bfdbfe; border-radius: 999px;
  padding: 7px 14px; font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .16em;
  margin-bottom: 14px;
}
.eyebrow.dark {
  background: rgba(255,255,255,.10);
  color: #dbeafe;
  border-color: rgba(255,255,255,.18);
}
.link-strong { font-weight: 900; color: var(--blue); }

/* ============================================================
   TOP STRIP
   ============================================================ */
.top-strip {
  background: #020817;
  color: rgba(219,234,254,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-strip-inner {
  height: 36px; display: flex; align-items: center;
  justify-content: space-between;
  font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .18em;
}
.top-left, .top-right { display: flex; align-items: center; gap: 24px; }
.live-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52,211,153,.12);
  animation: livepulse 2s infinite;
}
@keyframes livepulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(52,211,153,.12); }
  50%       { box-shadow: 0 0 0 9px rgba(52,211,153,.06); }
}

/* ============================================================
   HEADER
   ============================================================ */
.premium-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3,20,47,.88);
  backdrop-filter: blur(26px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 40px rgba(0,0,0,.22);
}
.header-row { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { font-size: 24px; font-weight: 900; letter-spacing: -.04em; }
.brand-logo span,
.site-footer h3 span { color: var(--sky-2); }
.brand-subtitle { display: none; }

/* Nav */
.nav { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.nav a {
  position: relative; border-radius: var(--radius); padding: 9px 14px;
  color: rgba(219,234,254,.78); transition: .22s ease;
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,.10); color: #fff; }
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; background: var(--sky); transform: scaleX(0);
  transform-origin: left; transition: .22s ease;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions a, .menu-btn {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff; border-radius: var(--radius);
  padding: 10px 13px; font-size: 12px; font-weight: 900;
  transition: .2s ease; cursor: pointer;
}
.header-actions a:hover, .menu-btn:hover { background: rgba(255,255,255,.14); }
.login-action { border-color: rgba(96,165,250,.35) !important; background: rgba(39,83,215,.22) !important; }
.menu-btn { display: none; width: 42px; height: 42px; border: none; place-items: center; font-size: 18px; }

/* Mobile panel */
.mobile-panel { display: none; background: rgba(3,20,47,.96); border-top: 1px solid rgba(255,255,255,.08); }
.mobile-panel.open { display: block; }
.mobile-menu { display: grid; gap: 8px; padding-block: 16px; }
.mobile-menu a {
  padding: 12px; border-radius: var(--radius);
  font-weight: 900; color: #dbeafe;
  background: rgba(255,255,255,.05);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 900; cursor: pointer;
  transition: .22s ease; white-space: nowrap; line-height: 1;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-big { min-height: 54px; padding-inline: 28px; font-size: 16px; }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 12px 30px rgba(39,83,215,.28);
}
.btn-primary:hover { background: var(--blue-2); }
.btn-secondary {
  background: #f1f5f9; color: var(--text-2);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--line); }
.btn-soft { background: #f1f5f9; color: #0f172a; border-color: var(--line); }
.btn-soft:hover { background: #e2e8f0; }
.btn-outline { border: 1px solid var(--line-2); background: #fff; color: #0f172a; }
.btn-outline:hover { background: #f8fafc; }
.btn-dark { background: #1e3a6e; color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-glass { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.10); color: #fff; }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn-gold { background: var(--gold); color: #111827; box-shadow: 0 12px 30px rgba(245,158,11,.24); }
.btn-gold:hover { background: #e08b0a; }
.btn-danger { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.btn-danger:hover { background: #fee2e2; }
.btn-success { background: #ecfdf5; color: #047857; border-color: #bbf7d0; }

/* Pulse btn */
.pulse-btn { position: relative; overflow: hidden; }
.pulse-btn::after {
  content: ""; position: absolute; right: 10px; top: 10px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 0 rgba(255,255,255,.75);
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ============================================================
   FORMS & INPUTS
   ============================================================ */
.input {
  width: 100%; border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 13px 14px;
  background: #fff; color: var(--text); font-weight: 600;
  outline: 0; transition: border-color .2s;
}
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39,83,215,.10); }
.textarea { min-height: 120px; resize: vertical; }
.field label, .field-label {
  display: block; margin-bottom: 7px;
  color: #475569; font-size: 12px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .06em;
}
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 12px 13px; outline: 0;
  transition: border-color .2s; font-weight: 600;
}
.field input:focus, .field select:focus { border-color: var(--blue); }
.actions-stack { display: flex; flex-direction: column; gap: 12px; }
.actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid { display: grid; gap: 14px; }
.form-shell { max-width: 560px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-page { padding: 52px 0; background: linear-gradient(180deg,#f8fbff,#fff); }

/* ============================================================
   NOTICE / ALERTS / FLASH
   ============================================================ */
.notice {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #f8fafc; padding: 14px 18px; color: #475569;
  font-size: 14px; font-weight: 600; margin-bottom: 16px;
}
.notice-success { background: #ecfdf5; border-color: #bbf7d0; color: #166534; }
.notice-danger  { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.notice-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.notice-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* Badges */
.badge {
  display: inline-flex; align-items: center;
  border-radius: 999px; padding: 4px 10px;
  font-size: 11px; font-weight: 900;
  background: #eff6ff; color: #1d4ed8;
}
.badge-success { background: #ecfdf5; color: #047857; }
.badge-warning { background: #fffbeb; color: #b45309; }
.badge-danger  { background: #fef2f2; color: #b91c1c; }
.badge-muted   { background: #f1f5f9; color: #475569; }
.badge-dark    { background: #e2e8f0; color: #0f172a; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }

/* ============================================================
   KICKER
   ============================================================ */
.kicker {
  display: inline-flex; gap: 10px; align-items: center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10); color: #dbeafe;
  border-radius: 999px; padding: 9px 16px;
  font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em;
}
.kicker.dark { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero-new {
  overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 20% 15%, rgba(96,165,250,.20), transparent 34%),
    radial-gradient(circle at 85% 70%, rgba(39,83,215,.35), transparent 42%),
    linear-gradient(135deg, #071a3d, #0b2c68 48%, #0d47a1);
}
.hero-grid-new { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; padding-block: 64px; }
.hero-copy-new h1 { margin: 26px 0 0; font-size: clamp(52px,7vw,92px); line-height: .95; letter-spacing: -.075em; font-weight: 900; }
.hero-copy-new h1 span { color: var(--sky); }
.hero-copy-new p { max-width: 820px; color: rgba(219,234,254,.83); font-size: 20px; line-height: 1.75; margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Hero search */
.hero-search-new {
  display: flex; gap: 12px; align-items: center;
  max-width: 820px; margin-top: 30px;
  background: #fff; border-radius: var(--radius);
  padding: 10px; box-shadow: 0 22px 60px rgba(2,8,23,.28);
}
.hero-search-input { display: flex; align-items: center; gap: 12px; flex: 1; color: var(--text); padding-inline: 14px; }
.hero-search-input span { font-size: 26px; color: #94a3b8; }
.hero-search-input input { width: 100%; border: 0; outline: 0; font-size: 18px; font-weight: 700; color: var(--text); }

/* Hero stats */
.hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 28px; max-width: 900px; }
.hero-stats div, .footer-stat {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
  border-radius: var(--radius); padding: 18px;
}
.hero-stats strong, .footer-stat strong { display: block; font-size: 30px; letter-spacing: -.04em; }
.hero-stats span, .footer-stat span { display: block; margin-top: 4px; color: rgba(219,234,254,.75); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }

/* Quick filters */
.quick-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.quick-filters span { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: rgba(219,234,254,.75); }
.quick-filters a { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.10); border-radius: 999px; padding: 8px 14px; font-weight: 900; font-size: 13px; }
.quick-filters a:hover { background: rgba(255,255,255,.18); }

/* Premium ad card (hero sidebar) */
.premium-ad-card {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(22px);
  border-radius: var(--radius); padding: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,.20);
}
.ad-label { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .2em; color: #bfdbfe; margin-bottom: 16px; }
.ad-top { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.crown-box {
  width: 94px; height: 94px; display: grid; place-items: center;
  border-radius: 10px; font-size: 38px;
  border: 1px solid rgba(251,191,36,.22);
  background: linear-gradient(135deg, rgba(251,191,36,.20), rgba(245,158,11,.20));
}
.ad-top span { border: 1px solid rgba(251,191,36,.22); background: rgba(251,191,36,.10); color: #fcd34d; border-radius: 999px; padding: 8px 14px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.premium-ad-card h2 { font-size: clamp(42px,5vw,72px); letter-spacing: -.06em; line-height: .95; margin: 26px 0 0; }
.premium-ad-card p { color: rgba(219,234,254,.82); font-size: 18px; line-height: 1.65; }
.expensive-list { display: grid; gap: 12px; margin-top: 24px; }
.expensive-item {
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 16px;
  transition: .2s; 
}
.expensive-item:hover { background: rgba(255,255,255,.16); }
.expensive-item strong { font-size: 22px; }
.expensive-item small { display: block; margin-top: 3px; color: #bfdbfe; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.expensive-price { text-align: right; }
.expensive-price small { color: #fcd34d; }
.ad-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Trust strip */
.trust-strip { background: #fff; border-top: 1px solid rgba(255,255,255,.14); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid div { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { font-weight: 900; }
.trust-grid span { font-size: 13px; color: var(--muted); }

/* ============================================================
   GENERIC HERO SHELL (About, Auth landing panels)
   ============================================================ */
.hero-shell {
  padding-block: 52px;
  background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 36px; align-items: center;
}
.hero-text { max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.7; margin: 16px 0 0; }
.hero-brand-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-brand-card img { width: 100%; height: auto; display: block; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: 54px; }
.section-head, .de-section-head {
  display: flex; justify-content: space-between;
  gap: 24px; align-items: flex-end; margin-bottom: 26px;
}
.section-head h2, .de-section-head h2 { margin: 0; font-size: 38px; letter-spacing: -.055em; line-height: 1; font-weight: 900; }
.section-head p, .de-section-head p { margin: 8px 0 0; color: var(--muted); }
.section-header { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 24px; }

/* ============================================================
   CARDS (generic)
   ============================================================ */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-s);
}
.card-body { padding: 24px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-s); }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stat-label { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.stat-value { font-size: 30px; font-weight: 900; letter-spacing: -.04em; margin-top: 8px; }

/* Grid layouts */
.grid-layout { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.list-stack { display: grid; gap: 0; }
.item-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.item-row:last-child { border-bottom: 0; }
.item-row span { color: var(--muted); }

/* ============================================================
   CATEGORY GRID (homepage)
   ============================================================ */
.category-grid-new { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.category-card-new {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow-s); transition: .22s ease;
  display: block;
}
.category-card-new:hover { transform: translateY(-4px); box-shadow: 0 24px 65px rgba(39,83,215,.16); }
.category-top { display: flex; justify-content: space-between; align-items: center; }
.category-top span { font-size: 28px; }
.category-top em { font-style: normal; background: #eff6ff; color: #1d4ed8; border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 900; }
.category-card-new strong { display: block; margin-top: 14px; font-size: 18px; font-weight: 900; }
.category-card-new small { display: block; margin-top: 4px; color: var(--muted); font-weight: 700; line-height: 1.55; }

/* ============================================================
   DOMAIN CARDS
   ============================================================ */
/* Horizontal scroll row (homepage) */
.horizontal-scroll { overflow-x: auto; padding-bottom: 12px; }
.horizontal-scroll::-webkit-scrollbar { height: 5px; }
.horizontal-scroll::-webkit-scrollbar-track { background: #f1f5f9; }
.horizontal-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
.domain-row, .bundle-row { display: flex; gap: 24px; min-width: max-content; }

/* Domain card (both catalog grid + horizontal scroll) */
.domain-card {
  width: 340px; flex: 0 0 340px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow-s); transition: .25s ease;
}
.domain-card:hover { transform: translateY(-4px); box-shadow: 0 24px 65px rgba(39,83,215,.16); }
.domain-art {
  position: relative; height: 210px; border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fbff, #dde7ff);
  display: grid; place-items: center; overflow: hidden;
}
.verified-badge {
  position: absolute; left: 14px; top: 14px;
  background: #ecfdf5; color: #047857; border-radius: 999px;
  padding: 5px 10px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em;
}
.fav {
  position: absolute; right: 14px; top: 14px;
  width: 42px; height: 42px; border: 0;
  border-radius: var(--radius); background: rgba(255,255,255,.75);
  font-size: 24px; color: #334155; cursor: pointer;
  transition: .2s; 
}
.fav:hover { background: #fff; color: #e11d48; }
.domain-initials {
  width: 92px; height: 92px; border-radius: var(--radius);
  background: var(--surface); display: grid; place-items: center;
  color: var(--blue); font-size: 42px; font-weight: 900;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}
.domain-card h3 { font-size: 25px; letter-spacing: -.06em; margin: 18px 0 0; line-height: 1.05; }
.domain-meta, .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 13px; font-weight: 800; margin-top: 12px; }
.domain-card p { color: var(--muted); font-size: 14px; font-weight: 600; min-height: 42px; line-height: 1.55; margin-top: 8px; }
.domain-divider, .rule { height: 1px; background: var(--line); margin: 14px 0; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { font-size: 30px; font-weight: 900; letter-spacing: -.06em; }
.reserve-note { font-size: 12px; color: var(--muted); font-weight: 800; text-align: right; }
.reserve-note strong { color: var(--blue); }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* Catalog grid (domains.php) */
.domain-grid-new { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.domain-grid-new .domain-card, .domain-grid .domain-card { width: auto; flex: auto; }
.domain-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }

/* ============================================================
   BUNDLE CARDS
   ============================================================ */
.bundle-card {
  width: 420px; flex: 0 0 420px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-s); transition: .22s ease;
}
.bundle-card:hover { transform: translateY(-4px); box-shadow: 0 24px 65px rgba(39,83,215,.16); }
.bundle-top, .bundle-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.bundle-top span { background: #eff6ff; color: #1d4ed8; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.bundle-top em { font-style: normal; color: #94a3b8; font-weight: 900; }
.bundle-card h3 { font-size: 30px; line-height: 1.05; margin: 22px 0 0; letter-spacing: -.05em; }
.bundle-list { display: grid; gap: 10px; margin-top: 22px; }
.bundle-list div { display: flex; justify-content: space-between; border: 1px solid var(--line); background: #f8fafc; border-radius: var(--radius); padding: 12px; }
.bundle-list span { color: var(--blue); font-size: 12px; font-weight: 900; }
.bundle-bottom { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.bundle-bottom small { display: block; color: #94a3b8; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.bundle-bottom strong { font-size: 32px; letter-spacing: -.06em; }

/* ============================================================
   SOLD CARDS
   ============================================================ */
.sold-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.sold-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-s); transition: .22s ease;
}
.sold-card:hover { transform: translateY(-4px); box-shadow: 0 24px 65px rgba(39,83,215,.16); }
.sold-card div { display: flex; justify-content: space-between; align-items: center; }
.sold-card span { background: #ecfdf5; color: #047857; border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 900; }
.sold-card em { font-style: normal; color: #94a3b8; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.sold-card h3 { font-size: 24px; letter-spacing: -.05em; margin: 20px 0 0; }
.sold-card small { display: block; color: var(--blue); font-weight: 900; margin-top: 8px; }
.sold-card strong { display: block; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: 28px; letter-spacing: -.05em; }

/* ============================================================
   CATALOG HERO & SEARCH (domains.php)
   ============================================================ */
.catalog-hero { background: linear-gradient(135deg,#071a3d,#0d47a1); color: #fff; padding: 64px 0; }
.catalog-hero-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.catalog-hero h1 { font-size: 60px; margin: 10px 0 0; letter-spacing: -.07em; line-height: .95; }
.catalog-hero p { color: #dbeafe; font-size: 18px; margin-top: 12px; }
.advanced-search {
  display: grid; grid-template-columns: 1.5fr repeat(3,.7fr) auto;
  gap: 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow-s); margin-bottom: 28px;
}
.search-main { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; background: var(--surface); }
.search-main input { width: 100%; min-height: 52px; border: 0; outline: 0; font-size: 16px; font-weight: 700; color: var(--text); }
.advanced-search select { min-height: 52px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 12px; font-weight: 700; background: var(--surface); }
.catalog-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 24px; }
.catalog-toolbar h2 { font-size: 36px; margin: 0; letter-spacing: -.05em; }
.catalog-toolbar p { color: var(--muted); margin: 6px 0 0; }
.quick-filter-line { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-filter-line a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 900; transition: .2s; }
.quick-filter-line a:hover { background: #eff6ff; color: var(--blue); border-color: #bfdbfe; }
.pagination-row { display: flex; justify-content: center; margin-top: 32px; gap: 8px; }

/* ============================================================
   DOMAIN DETAIL PAGE (domain.php)
   ============================================================ */
.domain-page { background: var(--surface); padding: 32px 0 52px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; color: var(--muted); font-size: 14px; align-items: center; }
.breadcrumbs a:hover { color: var(--blue); }
.domain-detail { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 24px; align-items: start; }
.main-domain-visual { position: relative; height: 420px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 8px; box-shadow: var(--shadow-s); }
.big-art { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 6px; background: linear-gradient(135deg,#f8fafc,#eef2ff); }
.big-art span { font-size: clamp(120px,18vw,260px); font-weight: 900; letter-spacing: -.09em; color: #1d4ed8; }
.detail-name { margin: 18px 0 0; font-size: clamp(44px,5vw,72px); line-height: .92; letter-spacing: -.07em; text-transform: lowercase; font-weight: 900; }
.description-box { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; box-shadow: var(--shadow-s); color: #475569; line-height: 1.75; }

/* Checkout card (domain.php sidebar) */
.checkout-card { position: sticky; top: 80px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; box-shadow: 0 22px 55px rgba(15,23,42,.15); }
.checkout-card .price { font-size: 50px; }
.checkout-actions { display: grid; gap: 14px; margin-top: 22px; }
.de-checkout-actions { display: grid; gap: 14px; margin-top: 18px; }
.reserve-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.reserve-option { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px; text-align: left; transition: .2s; }
.reserve-option:hover { border-color: var(--blue); background: #f0f6ff; }
.reserve-option strong { display: block; margin-top: 4px; }
.protection { margin-top: 22px; border: 1px solid #bbf7d0; border-radius: var(--radius); background: #ecfdf5; padding: 16px; color: #166534; font-size: 14px; }

/* Seller strip */
.seller-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; align-items: center; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px; box-shadow: var(--shadow-s); }
.seller-avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(135deg,#2563eb,#4f46e5); color: #fff; font-weight: 900; font-size: 16px; }

/* Info layout (FAQ + Why This Domain) */
.info-layout { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 24px; margin-top: 28px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; box-shadow: var(--shadow-s); }
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.info-card h2 { font-size: 22px; margin: 0 0 12px; }
.info-card ul, .info-card ol { color: #475569; }
.info-card li { margin: 9px 0; }
.faq-row { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px; margin-top: 10px; font-size: 14px; cursor: pointer; transition: .2s; }
.faq-row:hover { background: #f8fafc; }

/* ============================================================
   AUTH PAGES (login, register, forgot, reset)
   ============================================================ */
.de-auth-shell {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; align-items: stretch;
  max-width: 1000px; margin-inline: auto;
}
.de-auth-shell-wide { max-width: 1200px; }
.de-auth-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 36px;
  box-shadow: var(--shadow);
}
.de-auth-card-copy {
  background: linear-gradient(135deg, #071a3d, #0b3f9c);
  color: #fff; border-color: transparent;
}
.de-auth-card-copy .eyebrow { background: rgba(255,255,255,.12); color: #dbeafe; border-color: rgba(255,255,255,.2); }
.de-auth-card-copy h1 { color: #fff; }
.de-auth-card-copy p { color: rgba(219,234,254,.82); }
.de-auth-title { margin-bottom: 6px; }
.de-auth-form { margin-top: 20px; }
.de-auth-meta { text-align: center; font-size: 14px; color: var(--muted); margin-top: 4px; }
.de-auth-meta a { color: var(--blue); font-weight: 900; }
.de-auth-trust-list { display: grid; gap: 10px; margin-top: 24px; }
.de-auth-trust-list span { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(219,234,254,.78); padding: 10px 14px; background: rgba(255,255,255,.08); border-radius: var(--radius); }
.de-auth-trust-list span::before { content: "✓"; color: #34d399; font-weight: 900; }

/* ============================================================
   ACCOUNT PAGES
   ============================================================ */
.account-shell { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 28px; min-height: 70vh; }
.account-sidebar { position: sticky; top: 80px; align-self: start; }
.account-sidebar .card { padding: 0; overflow: hidden; }
.account-user { padding: 20px; background: linear-gradient(135deg, #071a3d, #082a63); color: #fff; }
.account-avatar { width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 20px; font-weight: 900; }
.account-overview-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.account-panels { display: grid; gap: 20px; }
.account-panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.account-section-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.account-section-title { font-size: 18px; font-weight: 900; letter-spacing: -.03em; }
.account-data-list { padding: 0 20px; }
.account-data-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.account-data-row:last-child { border-bottom: 0; }
.account-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px; }
.account-profile-item label { display: block; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 5px; }
.account-status-pill { display: inline-flex; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 900; }
.account-empty-box { padding: 40px; text-align: center; color: var(--muted); }
.account-verification-card { margin: 20px; border-radius: var(--radius); }
.account-order-shell { display: grid; gap: 16px; padding: 20px; }
.account-txt-box { background: #f8fafc; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 14px; }
.account-actions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }

/* Account messages */
.de-account-message-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); height: 70vh; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.de-account-message-sidebar { border-right: 1px solid var(--line); overflow: auto; }
.de-account-message-sidebar-head { padding: 14px; border-bottom: 1px solid var(--line); font-weight: 900; }
.de-account-thread-list { display: grid; }
.de-account-thread-link { padding: 14px; border-bottom: 1px solid var(--line); display: block; transition: .2s; }
.de-account-thread-link:hover { background: #f8fafc; }
.de-account-thread-link.active { background: #eff6ff; }
.de-account-message-panel { display: flex; flex-direction: column; }
.de-account-message-panel-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 900; }
.de-account-message-stream { flex: 1; overflow: auto; padding: 18px; display: grid; gap: 14px; align-content: start; }
.de-account-message-bubble { max-width: 80%; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; }
.de-account-message-bubble.mine { background: var(--blue); color: #fff; margin-left: auto; }
.de-account-message-bubble.theirs { background: #f1f5f9; }
.de-account-message-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }
.de-account-message-form { border-top: 1px solid var(--line); padding: 14px; display: flex; gap: 10px; }
.de-account-message-actions { display: flex; gap: 8px; }
.de-account-message-copy { flex: 1; }

/* ============================================================
   CART PAGE
   ============================================================ */
.de-cart-shell { max-width: 1100px; margin-inline: auto; }
.de-cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 24px; align-items: start; }
.de-cart-list { display: grid; gap: 16px; }
.de-cart-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-s); }
.de-cart-card-head { padding: 20px; border-bottom: 1px solid var(--line); }
.de-cart-title { font-size: 26px; font-weight: 900; letter-spacing: -.05em; margin: 8px 0 0; }
.de-cart-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.de-cart-note { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 10px 14px; font-size: 13px; color: #92400e; margin-top: 12px; }
.de-cart-price-box { padding: 20px; border-bottom: 1px solid var(--line); }
.de-price { font-size: 34px; font-weight: 900; letter-spacing: -.06em; }
.de-cart-actions { padding: 16px 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.de-checkout-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 80px; }
.de-checkout-card-head { margin-bottom: 18px; }
.de-checkout-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.de-checkout-row.is-total { border-top: 2px solid var(--line); border-bottom: 0; font-size: 20px; font-weight: 900; padding-top: 16px; margin-top: 6px; }
.de-empty-box { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 52px 28px; text-align: center; color: var(--muted); background: #f8fafc; }
.de-checkout-stats { display: grid; gap: 8px; margin-bottom: 18px; }
.de-checkout-form { display: grid; gap: 12px; margin-top: 18px; }

/* ============================================================
   EDITORIAL / ARTICLES
   ============================================================ */
.de-editorial-page { }
.de-editorial-hero { padding: 40px 0; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.de-editorial-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.de-editorial-grid-wide { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.de-editorial-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-s); overflow: hidden; transition: .2s; }
.de-editorial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.de-editorial-copy { padding: 20px; }
.de-article-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-s); overflow: hidden; }
.de-article-image { aspect-ratio: 16/9; background: linear-gradient(135deg,#f0f4ff,#e0e7ff); }
.de-article-image img { width: 100%; height: 100%; object-fit: cover; }
.de-article-shell { max-width: 760px; margin-inline: auto; }
.de-article-title { font-size: clamp(30px,4vw,52px); font-weight: 900; letter-spacing: -.065em; line-height: 1; margin: 16px 0; }
.de-article-excerpt { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; }
.de-article-body { font-size: 18px; line-height: 1.8; color: #1e293b; margin-top: 24px; }
.de-article-body h2 { margin: 36px 0 12px; font-size: 28px; letter-spacing: -.04em; }
.de-article-body p { margin: 0 0 18px; }
.de-article-links { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* ============================================================
   SELL DOMAIN PAGE
   ============================================================ */
.de-sell-hero { background: linear-gradient(135deg,#071a3d,#0b3f9c); color: #fff; padding: 60px 0; }
.de-sell-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 32px; }
.de-value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.de-value-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-s); }
.de-value-list { display: grid; gap: 10px; margin-top: 14px; }
.de-process { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.de-process-step { text-align: center; padding: 24px; }

/* ============================================================
   FILTER LAYOUT
   ============================================================ */
.de-filter-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 24px; }
.de-filter-card { position: sticky; top: 80px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; box-shadow: var(--shadow-s); }
.de-filter-grid { display: grid; gap: 16px; }
.de-filter-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.de-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.de-catalog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.de-mobile-filter-toggle { display: none; margin-bottom: 14px; }
.de-domain-section { margin-bottom: 36px; }
.de-form-grid { display: grid; gap: 14px; }

/* ============================================================
   PAYMENT STATE (success/cancel)
   ============================================================ */
.de-payment-state-shell { max-width: 640px; margin-inline: auto; text-align: center; padding-block: 80px; }
.de-payment-state-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 40px; box-shadow: var(--shadow); }
.de-payment-state-icon { font-size: 64px; margin-bottom: 24px; }
.de-payment-state-copy h1 { margin-bottom: 12px; }
.de-payment-state-points { display: grid; gap: 10px; margin: 24px 0; text-align: left; }
.de-payment-state-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ============================================================
   HOMEPAGE SECTION WRAPPERS
   ============================================================ */
.compact-categories { background: var(--bg); }
.featured-section { background: var(--surface); border-top: 1px solid var(--line); }
.portfolio-section { background: var(--bg); }
.sold-section { background: var(--surface); border-top: 1px solid var(--line); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(135deg,#03142f,#082a63,#0d47a1);
  color: #fff; margin-top: 50px; padding-top: 58px;
}
.footer-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 34px; }
.footer-stat { background: rgba(255,255,255,.06); }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  border-block: 1px solid rgba(255,255,255,.10);
  padding-block: 24px; margin-bottom: 44px;
}
.trust-row span {
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06);
  border-radius: var(--radius); padding: 9px 13px;
  font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: #dbeafe;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 44px; }
.site-footer h3 { font-size: 38px; margin: 0; letter-spacing: -.06em; }
.site-footer p { max-width: 470px; color: #bfdbfe; line-height: 1.8; }
.site-footer h4 { color: #bfdbfe; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: #dbeafe; font-weight: 700; transition: .2s; }
.footer-links a:hover { color: #fff; }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06);
  font-weight: 900; transition: .2s;
}
.social-row a:hover { background: rgba(255,255,255,.14); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 44px; padding: 24px 0; color: #bfdbfe; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bottom span { color: #6ee7b7; }

/* ============================================================
   ADMIN SHELL (admin pages use their own shell but share tokens)
   ============================================================ */
.admin-shell { display: grid; grid-template-columns: 250px minmax(0,1fr); min-height: 100vh; }
.admin-side { background: linear-gradient(180deg,#03142f,#082a63); color: #dbeafe; padding: 24px; }
.admin-side a { display: block; padding: 12px; border-radius: var(--radius); color: #dbeafe; transition: .18s; font-weight: 700; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.10); color: #fff; }
.admin-main { padding: 28px; background: var(--bg); }
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-s); }
.table-wrap { overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: #f8fafc; color: #475569; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
tbody tr:hover td { background: #fafbfc; }

/* Profile grid */
.profile-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }

/* ============================================================
   MODAL
   ============================================================ */
[data-modal] { display: none; }
[data-modal].open { display: flex; }
.de-modal {
  position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center;
  padding: 18px; background: rgba(2,8,23,.65);
}
.de-modal-card {
  width: min(720px,100%); max-height: 90vh; overflow: auto;
  border-radius: var(--radius); background: var(--surface);
  box-shadow: 0 30px 90px rgba(2,8,23,.35);
}
.de-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); padding: 18px 20px;
}
.de-modal-body { padding: 20px; }
.de-modal-close { border: 0; background: #f1f5f9; border-radius: var(--radius); width: 36px; height: 36px; cursor: pointer; font-size: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .nav, .header-actions { display: none; }
  .menu-btn { display: grid; }
  .hero-grid-new, .footer-grid, .admin-shell { grid-template-columns: 1fr; }
  .domain-grid-new, .domain-grid { grid-template-columns: repeat(2,1fr); }
  .category-grid-new { grid-template-columns: repeat(3,1fr); }
  .advanced-search { grid-template-columns: 1fr 1fr; }
  .de-auth-shell { grid-template-columns: 1fr; }
  .de-auth-card-copy { display: none; }
  .domain-detail, .info-layout { grid-template-columns: 1fr; }
  .checkout-card { position: static; }
  .seller-strip { grid-template-columns: repeat(2,1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .de-editorial-grid { grid-template-columns: 1fr; }
  .de-filter-layout { grid-template-columns: 1fr; }
  .de-filter-card { position: static; }
  .de-mobile-filter-toggle { display: block; }
  .account-shell { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .kpi-grid, .stat-grid { grid-template-columns: repeat(2,1fr); }
  .de-cart-layout { grid-template-columns: 1fr; }
  .de-checkout-card { position: static; }
  .grid-layout { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .de-sell-benefits, .de-value-grid, .de-process { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, var(--max)); }
  .top-left span:not(:first-child), .top-right { display: none; }
  .hero-grid-new { padding-block: 42px; }
  .hero-copy-new h1 { font-size: 52px; }
  .hero-stats, .trust-grid, .footer-stat-grid, .sold-grid,
  .domain-grid-new, .domain-grid, .category-grid-new { grid-template-columns: 1fr; }
  .hero-search-new, .catalog-hero-inner, .catalog-toolbar, .section-head, .de-section-head { flex-direction: column; align-items: stretch; }
  .advanced-search { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .premium-ad-card h2 { font-size: 42px; }
  .domain-card, .bundle-card { width: 300px; flex-basis: 300px; }
  .footer-bottom-inner { flex-direction: column; }
  .de-auth-shell { grid-template-columns: 1fr; }
  .actions-grid, .de-filter-row-2, .two, .reserve-options { grid-template-columns: 1fr; }
  .seller-strip, .info-grid { grid-template-columns: 1fr; }
  .de-editorial-grid-wide, .de-sell-benefits, .de-value-grid, .de-process { grid-template-columns: 1fr; }
  .kpi-grid, .stat-grid, .account-actions-grid { grid-template-columns: 1fr 1fr; }
  .main-domain-visual { height: 260px; }
  .big-art span { font-size: 120px; }
  .de-payment-state-shell { padding-block: 40px; }
  .profile-grid { grid-template-columns: 1fr; }
  .de-account-message-layout { grid-template-columns: 1fr; height: auto; }
  .de-account-message-sidebar { height: 220px; }
}

/* ============================================================
   SUPPLEMENTARY PATCHES (auth-card alias, state classes, etc.)
   ============================================================ */

/* auth-card = alias for de-auth-card (some pages use both names) */
.auth-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 36px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 44px; line-height: 1; letter-spacing: -.06em; margin: 0 0 8px; }

/* catalog-section wrapper */
.catalog-section { padding-block: 40px; }

/* pill (generic badge pill) */
.pill {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.14);
  color: #fff; border-radius: 999px;
  padding: 8px 13px; font-size: 13px; font-weight: 900;
}

/* summary (detail/summary elements) */
summary { cursor: pointer; font-weight: 700; padding: 4px 0; }

/* State classes for domain/order status */
.is-success, .ok       { color: #047857; }
.is-cancelled, .fail   { color: #b91c1c; }
.is-active, .verified  { color: var(--blue); }
.is-admin              { color: var(--gold); }
.is-user               { color: var(--muted); }
.is-total              { font-weight: 900; font-size: 20px; }

/* badge-success / badge-warning via notice- aliases already in .badge-* above,
   but add notice- variants for inline usage */
.notice-success { background: #ecfdf5; border-color: #bbf7d0; color: #166534; }
.notice-danger  { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

/* ============================================================
   CATALOG RENDERER CARDS (de-card system from catalog_renderer.php)
   ============================================================ */
.de-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0;
  box-shadow: var(--shadow-s); transition: .22s ease;
  overflow: hidden;
}
.de-card:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(39,83,215,.16); }

.de-card-visual {
  position: relative; height: 190px;
  background: linear-gradient(135deg, #f0f4ff, #dde7ff);
  display: flex; align-items: center; justify-content: center;
}
.de-card-visual-box {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.de-card-visual-box img {
  max-width: 80%; max-height: 75%;
  object-fit: contain;
}
.de-card-visual-box.is-placeholder { background: linear-gradient(135deg,#f8fbff,#e0e7ff); }
.de-logo-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: var(--radius);
  background: rgba(255,255,255,.85); box-shadow: var(--shadow-s);
  color: #1d4ed8; font-size: 38px; font-weight: 900; letter-spacing: -.06em;
}
.de-card-state-chip {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  border-radius: 999px; padding: 4px 10px;
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em;
  background: #f1f5f9; color: #475569;
}
.de-card-state-chip.is-reserved_self,
.de-card-state-chip.is-reserved_other { background: #fffbeb; color: #b45309; }
.de-card-state-chip.is-sold { background: #fef2f2; color: #b91c1c; }

.de-favorite-float {
  position: absolute; right: 12px; top: 12px; z-index: 2;
}
.de-favorite-form { display: inline; }
.favorite-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px; border: 0;
  border-radius: var(--radius); background: rgba(255,255,255,.80);
  cursor: pointer; transition: .2s; color: #64748b;
}
.favorite-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.favorite-btn:hover { background: #fff; color: #e11d48; }
.favorite-btn.is-active { color: #e11d48; background: #fff; }
.favorite-btn.is-active svg { fill: #e11d48; }

.de-domain-title {
  font-size: 22px; font-weight: 900; letter-spacing: -.055em;
  line-height: 1.05; margin: 0; padding: 14px 16px 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.de-domain-title a { color: inherit; }
.de-domain-title a:hover { color: var(--blue); }

.de-card-signals {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px 0; flex-wrap: wrap;
}
.de-signal-item {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--muted); font-size: 13px; font-weight: 700;
}
.de-signal-item svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.de-signal-item.is-emoji { font-size: 16px; }

.de-card-divider { height: 1px; background: var(--line); margin: 12px 16px; }

.de-price-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 10px; padding: 0 16px;
}
.de-price { font-size: 28px; font-weight: 900; letter-spacing: -.06em; }
.de-reserve-inline { text-align: right; font-size: 12px; color: var(--muted); font-weight: 700; }
.de-reserve-inline strong { display: block; color: var(--blue); margin-top: 2px; }
.de-countdown-text { color: var(--amber); }

.de-actions-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; padding: 14px 16px 16px;
}
.de-actions-grid.is-card-footer { border-top: 0; }

.de-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 10px 14px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 900; font-size: 13px; cursor: pointer;
  transition: .2s; white-space: nowrap; text-decoration: none; line-height: 1;
}
.de-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.de-btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 25px rgba(39,83,215,.22);
}
.de-btn-primary:hover { background: var(--blue-2); transform: translateY(-1px); }
.de-btn-primary svg { stroke: #fff; }
.de-btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.de-btn-secondary {
  background: #f1f5f9; color: var(--text-2);
  border-color: var(--line);
}
.de-btn-secondary:hover { background: var(--line); }

/* ============================================================
   PAGINATION
   ============================================================ */
.de-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; flex-wrap: wrap; margin-top: 36px;
}
.de-page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--text);
  font-weight: 700; font-size: 14px; transition: .2s; text-decoration: none;
}
.de-page-link:hover { background: #f0f6ff; border-color: var(--blue); color: var(--blue); }
.de-page-link.is-current {
  background: var(--blue); color: #fff; border-color: var(--blue);
  pointer-events: none;
}

/* ============================================================
   ADMIN SHELL (admin_shell.php)
   ============================================================ */
.admin-app-shell {
  display: grid; grid-template-columns: 280px minmax(0,1fr);
  gap: 0; min-height: 70vh;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow);
}
.admin-sidebar {
  background: linear-gradient(180deg, #03142f, #071a3d);
  color: #dbeafe; padding: 0;
  border-right: 1px solid rgba(255,255,255,.08);
  overflow-y: auto;
}
.admin-sidebar-brand {
  padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-brand strong { display: block; font-size: 22px; font-weight: 900; color: #fff; margin-top: 4px; }
.admin-sidebar-brand span { display: block; color: rgba(219,234,254,.6); font-size: 13px; margin-top: 4px; }
.admin-eyebrow {
  display: inline-flex; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  padding: 4px 10px; font-size: 10px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .14em; color: var(--sky-2);
}
.admin-sidebar-section { padding: 16px 14px 8px; }
.admin-sidebar-section h2 {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: .16em; color: rgba(219,234,254,.45);
  margin: 0 0 8px 6px;
}
.admin-sidebar-nav { display: grid; gap: 2px; }
.admin-sidebar-link {
  display: block; padding: 10px 12px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700; color: rgba(219,234,254,.75);
  transition: .18s;
}
.admin-sidebar-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-sidebar-link.is-active { background: rgba(39,83,215,.35); color: #fff; }

.admin-content { padding: 28px 32px; min-width: 0; }
.admin-page-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.admin-page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }

/* ============================================================
   FILTER CARD (components/filter-sidebar.php)
   ============================================================ */
.filter-card {
  position: sticky; top: 80px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 20px;
  box-shadow: var(--shadow-s);
}

/* ============================================================
   CLOUDFLARE TURNSTILE
   ============================================================ */
.cf-turnstile { margin: 8px 0; }

/* ============================================================
   FILTER TOGGLE (mobile)
   ============================================================ */
.de-filter-card:not(.is-open) {
  /* visible by default on desktop */
}
@media (max-width: 1200px) {
  .de-filter-card { display: none; }
  .de-filter-card.is-open { display: block; }
  .admin-app-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .filter-card { position: static; }
}
