/* ============================================================
   ADONIS MARKETPLACE — marketplace.css
   Bilingual RTL/LTR support, dark premium design
   ============================================================ */

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

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --mp-bg: #0b0f1a;
  --mp-bg2: #111827;
  --mp-card: #161d2e;
  --mp-card-hover: #1e2740;
  --mp-border: rgba(255,255,255,0.08);
  --mp-border-active: rgba(255,189,89,0.4);

  --mp-gold: #ffbd59;
  --mp-gold-dim: rgba(255,189,89,0.15);
  --mp-gold-glow: 0 0 20px rgba(255,189,89,0.25);

  --mp-purple: #7c3aed;
  --mp-purple-dim: rgba(124,58,237,0.15);
  --mp-blue: #3b82f6;
  --mp-green: #10b981;
  --mp-red: #ef4444;
  --mp-orange: #f97316;

  --mp-text: #f1f5f9;
  --mp-text-muted: #94a3b8;
  --mp-text-dim: #64748b;

  --mp-radius: 16px;
  --mp-radius-sm: 10px;
  --mp-shadow: 0 4px 24px rgba(0,0,0,0.4);
  --mp-shadow-card: 0 8px 32px rgba(0,0,0,0.3);

  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Inter', sans-serif;
}

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

.marketplace-page {
  background: var(--mp-bg);
  color: var(--mp-text);
  min-height: 100vh;
  font-family: var(--font-ar);
}

.marketplace-page[lang="en"],
.marketplace-page .en-only { font-family: var(--font-en); }

/* ─── Marketplace Hero ───────────────────────────────────── */
.mp-hero {
  position: relative;
  background: linear-gradient(135deg, #0b0f1a 0%, #1a0533 50%, #0b0f1a 100%);
  padding: calc(var(--header-h, 64px) + var(--ticker-h, 38px) + 32px) 24px 60px;
  text-align: center;
  overflow: hidden;
}
.mp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(255,189,89,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.mp-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.mp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mp-gold-dim);
  border: 1px solid var(--mp-border-active);
  color: var(--mp-gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.mp-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 40%, var(--mp-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mp-hero__sub {
  font-size: 1.1rem;
  color: var(--mp-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ─── Search Bar ─────────────────────────────────────────── */
.mp-search-wrap {
  max-width: 600px;
  margin: 0 auto 12px;
  position: relative;
}
.mp-search-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--mp-border);
  border-radius: 50px;
  padding: 14px 24px 14px 56px;
  color: var(--mp-text);
  font-size: 1rem;
  font-family: var(--font-ar);
  outline: none;
  transition: all 0.3s;
}
.mp-search-input:focus {
  border-color: var(--mp-gold);
  background: rgba(255,255,255,0.09);
  box-shadow: var(--mp-gold-glow);
}
.mp-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mp-text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}
html[dir="rtl"] .mp-search-icon { left: auto; right: 20px; }
html[dir="rtl"] .mp-search-input { padding: 14px 56px 14px 24px; }

/* ─── Type Filter Tabs ───────────────────────────────────── */
.mp-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 16px 0;
}
.mp-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--mp-border);
  background: transparent;
  color: var(--mp-text-muted);
  font-family: var(--font-ar);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.mp-tab:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--mp-text);
  background: rgba(255,255,255,0.05);
}
.mp-tab.active {
  background: var(--mp-gold);
  border-color: var(--mp-gold);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255,189,89,0.3);
}
.mp-tab i { font-size: 0.95rem; }

/* Type-specific accent colors */
.mp-tab[data-type="course"].active  { background: var(--mp-purple); border-color: var(--mp-purple); color: #fff; box-shadow: 0 4px 16px rgba(124,58,237,0.35); }
.mp-tab[data-type="physical"].active{ background: var(--mp-orange); border-color: var(--mp-orange); color: #fff; }
.mp-tab[data-type="digital"].active { background: var(--mp-blue);   border-color: var(--mp-blue);   color: #fff; }
.mp-tab[data-type="pdf_book"].active{ background: var(--mp-green);  border-color: var(--mp-green);  color: #fff; }
.mp-tab[data-type="travel"].active  { background: #06b6d4; border-color: #06b6d4; color: #fff; }

/* ─── Main Layout ────────────────────────────────────────── */
.mp-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .mp-layout { grid-template-columns: 1fr; }
  .mp-sidebar { display: none; }
}

/* ─── Sidebar Filters ────────────────────────────────────── */
.mp-sidebar {
  position: sticky;
  top: 80px;
  background: var(--mp-card);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 24px;
}
.mp-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mp-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mp-filter-group { margin-bottom: 24px; }
.mp-filter-label {
  font-size: 0.8rem;
  color: var(--mp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  font-weight: 600;
}
.mp-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.9rem;
  color: var(--mp-text-muted);
}
.mp-filter-option:hover { background: rgba(255,255,255,0.05); color: var(--mp-text); }
.mp-filter-option.active { color: var(--mp-gold); font-weight: 600; }
.mp-filter-option input[type="radio"],
.mp-filter-option input[type="checkbox"] {
  accent-color: var(--mp-gold);
  width: 15px; height: 15px;
}
.mp-price-range {
  width: 100%;
  accent-color: var(--mp-gold);
  cursor: pointer;
}
.mp-price-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--mp-text-muted);
  margin-top: 6px;
}

/* ─── Products Grid ──────────────────────────────────────── */
.mp-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.mp-grid-count {
  font-size: 0.9rem;
  color: var(--mp-text-muted);
}
.mp-grid-count strong { color: var(--mp-text); }
.mp-sort-select {
  background: var(--mp-card);
  border: 1px solid var(--mp-border);
  color: var(--mp-text);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-ar);
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
@media (max-width: 600px) {
  .mp-grid { grid-template-columns: 1fr; }
}

/* ─── Product Card ───────────────────────────────────────── */
.mp-card {
  background: var(--mp-card);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.mp-card:hover {
  transform: translateY(-6px);
  border-color: var(--mp-border-active);
  box-shadow: var(--mp-shadow-card), var(--mp-gold-glow);
  background: var(--mp-card-hover);
}

.mp-card__media,
.mp-card__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--mp-bg2);
}
.mp-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.mp-card__placeholder i {
  font-size: 2.2rem;
  color: var(--mp-gold);
  opacity: 0.25;
}
.mp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mp-card:hover .mp-card__img { transform: scale(1.06); }

.mp-card__type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
html[dir="rtl"] .mp-card__type-badge { left: auto; right: 12px; }
.badge-travel   { background: rgba(6,182,212,0.85);   color: #fff; }
.badge-course   { background: rgba(124,58,237,0.85);  color: #fff; }
.badge-physical { background: rgba(249,115,22,0.85);  color: #fff; }
.badge-digital  { background: rgba(59,130,246,0.85);  color: #fff; }
.badge-pdf_book { background: rgba(16,185,129,0.85);  color: #fff; }

.mp-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-card__vendor {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mp-card__vendor-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--mp-gold);
}
.mp-card__vendor-name {
  font-size: 0.8rem;
  color: var(--mp-text-muted);
  font-weight: 500;
}
.mp-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mp-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-card__desc {
  font-size: 0.83rem;
  color: var(--mp-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--mp-text-dim);
  flex-wrap: wrap;
}
.mp-card__meta span { display: flex; align-items: center; gap: 4px; }
.mp-card__meta i { font-size: 0.75rem; }

.mp-card__footer {
  padding: 14px 18px;
  border-top: 1px solid var(--mp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mp-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mp-gold);
}
.mp-card__price .original-price {
  font-size: 0.85rem;
  color: var(--mp-text-dim);
  text-decoration: line-through;
  font-weight: 400;
  margin-inline-start: 6px;
}
.mp-card__price.free { color: var(--mp-green); }
.mp-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--mp-gold-dim);
  border: 1px solid var(--mp-border-active);
  border-radius: 8px;
  color: var(--mp-gold);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-ar);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.mp-card__btn:hover {
  background: var(--mp-gold);
  color: #000;
}

/* ─── Vendors Strip ──────────────────────────────────────── */
.mp-vendors {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.mp-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--mp-text);
}
.mp-section-sub {
  font-size: 0.9rem;
  color: var(--mp-text-muted);
  margin-bottom: 24px;
}
.mp-vendors-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.mp-vendors-scroll::-webkit-scrollbar { height: 4px; }
.mp-vendors-scroll::-webkit-scrollbar-thumb { background: var(--mp-border); border-radius: 4px; }

.mp-vendor-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  background: var(--mp-card);
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
}
.mp-vendor-card:hover {
  border-color: var(--mp-border-active);
  transform: translateY(-4px);
  box-shadow: var(--mp-gold-glow);
}
.mp-vendor-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--mp-gold);
  margin: 0 auto 12px;
  display: block;
}
.mp-vendor-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mp-text);
  margin-bottom: 4px;
}
.mp-vendor-card__type {
  font-size: 0.75rem;
  color: var(--mp-gold);
  font-weight: 500;
}
.mp-vendor-card__count {
  font-size: 0.75rem;
  color: var(--mp-text-dim);
  margin-top: 6px;
}

/* ─── Empty State ────────────────────────────────────────── */
.mp-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  color: var(--mp-text-muted);
}
.mp-empty i { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
.mp-empty p { font-size: 1rem; }

/* ─── Loading Skeleton ───────────────────────────────────── */
.mp-skeleton {
  background: linear-gradient(90deg, var(--mp-card) 25%, var(--mp-card-hover) 50%, var(--mp-card) 75%);
  background-size: 400% 100%;
  animation: skeleton-wave 1.5s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes skeleton-wave {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── Pagination ─────────────────────────────────────────── */
.mp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.mp-page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--mp-border);
  background: var(--mp-card);
  color: var(--mp-text-muted);
  font-family: var(--font-ar);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.mp-page-btn:hover { border-color: var(--mp-gold); color: var(--mp-gold); }
.mp-page-btn.active { background: var(--mp-gold); border-color: var(--mp-gold); color: #000; font-weight: 700; }
.mp-page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ─── Stats Banner ───────────────────────────────────────── */
.mp-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--mp-card);
  border-top: 1px solid var(--mp-border);
  border-bottom: 1px solid var(--mp-border);
  padding: 20px 24px;
  flex-wrap: wrap;
}
.mp-stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 12px 24px;
  border-right: 1px solid var(--mp-border);
}
.mp-stat-item:last-child { border-right: none; }
html[dir="rtl"] .mp-stat-item { border-right: none; border-left: 1px solid var(--mp-border); }
html[dir="rtl"] .mp-stat-item:last-child { border-left: none; }
.mp-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--mp-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.mp-stat-label { font-size: 0.8rem; color: var(--mp-text-muted); }

@media (max-width: 500px) {
  .mp-stat-item { border: none; min-width: 100px; }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .mp-hero { padding: calc(var(--header-h-mobile, 60px) + var(--ticker-h-mobile, 34px) + 24px) 16px 40px; }
  .mp-tabs { padding: 20px 8px 0; }
  .mp-tab { padding: 8px 14px; font-size: 0.82rem; }
  .mp-layout { padding: 20px 16px; }
  .mp-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
}

/* ============================================================
   MERGED: Toast notifications (from custom-style-2)
   ============================================================ */
#toast-container { position: fixed; top: calc(var(--header-h, 64px) + var(--ticker-h, 38px) + 12px); right: 20px; z-index: 99999; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
html[lang="ar"] #toast-container { right: auto; left: 20px; }
.toast { min-width: 280px; max-width: 360px; padding: 16px 20px 16px 16px; border-radius: 12px; display: flex; align-items: flex-start; gap: 13px; box-shadow: 0 8px 32px rgba(0,0,0,0.22); pointer-events: all; animation: toastIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards; font-family: inherit; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.12); position: relative; overflow: hidden; }
.toast::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 12px 0 0 12px; }
html[lang="ar"] .toast::before { left: auto; right: 0; border-radius: 0 12px 12px 0; }
.toast.toast-success { background: rgba(15,25,20,0.95); color: #d1fae5; }
.toast.toast-success::before { background: #10b981; }
.toast.toast-error { background: rgba(25,10,12,0.95); color: #fee2e2; }
.toast.toast-error::before { background: #ef4444; }
.toast.toast-info { background: rgba(10,18,30,0.95); color: #dbeafe; }
.toast.toast-info::before { background: #ffbd59; }
.toast.toast-warning { background: rgba(25,20,5,0.95); color: #fef3c7; }
.toast.toast-warning::before { background: #f59e0b; }
.toast-body { flex: 1; }
.toast-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; }
.toast-msg { font-size: 0.85rem; opacity: 0.85; }
.toast-close { background: none; border: none; cursor: pointer; color: inherit; opacity: 0.5; font-size: 1.1rem; padding: 0; flex-shrink: 0; transition: opacity 0.2s; }
.toast.toast-hide { animation: toastOut 0.35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(50px) scale(0.92); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes toastOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.88); } }

/* ============================================================
   MERGED: Auth modal (from custom-style-5)
   ============================================================ */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99999; display: none; justify-content: center; align-items: center; backdrop-filter: blur(4px); }
.modal-overlay.active { display: flex; }
.modal-content { background: #fff; width: 90%; max-width: 400px; border-radius: 12px; padding: 30px; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.2); text-align: center; font-family: inherit; color: #1e293b !important; }
.modal-close { position: absolute; top: 15px; right: 15px; font-size: 1.5rem; cursor: pointer; color: #64748b !important; }
.modal-title { font-size: 1.5rem; margin-bottom: 20px; color: #1e293b !important; font-weight: bold; }
.auth-btn { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #e2e8f0; margin-bottom: 10px; cursor: pointer; font-weight: bold; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 10px; background: white; color: #333 !important; }
.auth-btn.google { border-color: #dd4b39; color: #dd4b39 !important; }
.auth-input { width: 100%; padding: 12px; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 10px; font-size: 1rem; outline: none; box-sizing: border-box; color: #1e293b !important; background: #fff !important; }
.auth-input:focus { border-color: #ffbd59; }
.auth-error { color: #ef4444; font-size: 0.85rem; margin-bottom: 10px; display: none; }
html[lang="ar"] .modal-close { right: auto; left: 15px; }

/* ============================================================
   Page shell + footer (marketplace.html uses home.css footer markup)
   ============================================================ */
#site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 189, 89, 0.15);
  padding: 28px 20px 22px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.footer-logo-link img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-logo-link:hover img {
  opacity: 1;
}

.footer-tagline {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  transition: color 0.2s;
}

.footer-nav-link:hover {
  color: #ffbd59;
}

.footer-nav-link:not(:last-child)::after {
  content: '·';
  margin-inline-start: 6px;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: inherit;
  line-height: 1.5;
}

@media (max-width: 480px) {
  #site-footer { padding: 22px 16px 18px; }
  .footer-nav-link { font-size: 0.78rem; padding: 3px 7px; }
  .footer-copy { font-size: 0.7rem; }
}
