/* ================================================================
   TrovaVip – Design System
   Dark Mode Premium · Mobile-First · Safari-Ready
   Font: Outfit (titles) + Inter (body) via Google Fonts
   ================================================================ */

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

/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  /* Colors – 2026 Crystal Light VIP */
  --bg-base: #f8fafc;
  --bg-dark: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-2: #f1f5f9;
  --bg-input: #ffffff;

  /* Accent – Executive Navy & Slate */
  --vip: #0047ab;
  /* Primary Navy */
  --vip-light: #3b82f6;
  --vip-dim: #e0e7ff;
  --slate: #334155;
  --slate-dim: #f1f5f9;

  /* Mapping for backward compatibility */
  --gold: var(--vip);
  --gold-light: var(--vip-light);
  --gold-dim: var(--vip-dim);

  /* Text – Editorial High Contrast */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-vip: var(--vip);

  /* Borders – Precise & Subtle */
  --border: #e2e8f0;
  --border-vip: rgba(0, 71, 171, 0.2);
  --border-slate: #cbd5e1;

  /* Gradients – Glass & Depth */
  --grad-vip: linear-gradient(135deg, #0047ab 0%, #003380 100%);
  --grad-silver: linear-gradient(135deg, #f9fafb 0%, #d1d5db 100%);
  --grad-gold: var(--grad-vip);
  --grad-bg: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  --grad-hero: radial-gradient(ellipse at 50% -20%, rgba(0, 71, 171, 0.05) 0%, transparent 70%);

  /* Shadows – Material Elevation */
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-vip: 0 10px 15px -3px rgba(0, 71, 171, 0.1);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  /* Mapping legacy shadow */
  --shadow-gold: var(--shadow-vip);

  /* Radius – Refined Edge */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transition – Fluid */
  --trans: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --nav-h: 64px;
  --max-w: 1200px;

  /* Glassmorphism Light */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-blur: blur(12px) saturate(150%);
  --glass-border: 1px solid rgba(0, 71, 171, 0.05);

  /* Header Overrides – To keep white logo visible */
  --header-bg: #0f172a;
  --header-text: #ffffff;
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  width: 100%;
  height: 100%;
  /* Forza l'altezza totale */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  /* Sticky footer garantito */
  min-height: 100dvh;
  /* Supporto browser moderni */
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  -webkit-overflow-scrolling: touch;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Auth Pages (Login / Register) ───────────────────────── */
.auth-page {
  flex: 1;
  display: flex;
  align-items: flex-start;
  /* Non centrare verticalmente: previene il salto del footer */
  justify-content: center;
  padding: 3rem 1rem;
  background: var(--grad-bg);
}


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

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

a:hover {
  color: var(--gold-light);
}

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

/* ── Typography ──────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.6rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.25rem, 4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.1rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-secondary);
}

.text-gradient {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-gold {
  color: var(--gold);
}

.text-purple {
  color: var(--purple);
}

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

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.fw-600 {
  font-weight: 600;
}

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  padding-left: max(1rem, env(safe-area-inset-left, 1rem));
  padding-right: max(1rem, env(safe-area-inset-right, 1rem));
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2.5rem;
  }
}

section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-h);
  background: var(--header-bg);
  color: var(--header-text);
  z-index: 1000;
  transition: all var(--trans);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 19px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--trans);
}

@media (min-width: 768px) {
  .logo-img {
    height: 22px;
  }
}

.nav-logo:hover .logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--trans), background var(--trans);
}

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


.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language switcher */
.lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3px;
}

.lang-switch a {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-weight: 600;
  transition: all var(--trans);
}

.lang-switch a.active {
  background: #ffffff;
  color: var(--header-bg);
}

/* Hamburger */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: all var(--trans);
}

@media (min-width: 768px) {
  .nav-burger {
    display: none;
  }
}

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.97);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  padding: 2rem;
  padding-bottom: calc(2rem + var(--safe-bottom, 0px));
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

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

.nav-mobile a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--trans);
}

.nav-mobile a:hover {
  color: #ffffff;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--trans);
  white-space: nowrap;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.btn-gold {
  background: var(--grad-vip);
  color: #fff;
  box-shadow: var(--shadow-vip);
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #fff;
}

.btn-gold:active {
  transform: scale(0.97);
}

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

.btn-outline:hover {
  background: var(--vip-dim);
  color: var(--vip-light);
  border-color: var(--vip);
  transform: translateY(-1px);
}

.btn-purple {
  background: var(--grad-purple);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.btn-purple:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
  color: #fff;
}

.btn-ghost {
  background: var(--bg-card-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

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


.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--trans), border-color var(--trans), background var(--trans);
}

.card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-hover);
  border-color: var(--border-vip);
}


/* Artist card */
.artist-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform .2s, box-shadow .2s;
}

.artist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
}

.artist-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-card-2);
}

.artist-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.artist-card:hover .artist-card__thumb img {
  transform: scale(1.06);
}



/* Usato in profile.php */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--grad-vip);
  padding: 3px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 71, 171, 0.25);
  vertical-align: middle;
}

.artist-card__body {
  padding: .75rem .9rem .9rem;
  text-align: left;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.artist-card__name {
  font-family: 'Outfit', sans-serif;
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  min-height: calc(1.25 * 2 * 0.97rem);
  /* sempre 2 righe, nomi brevi e lunghi allineati */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  box-orient: vertical;
}

.artist-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  margin-bottom: .6rem;
  text-align: left;
}

.artist-card__cat {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-card__city {
  font-size: 0.73rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .85;
}

.artist-card__price {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: auto;
  /* sempre in fondo alla card */
}

.artist-card__price-lock {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  /* sempre in fondo alla card */
}

.artist-card__agency-roster {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4f46e5;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  /* sempre in fondo alla card */
}

/* ── Agency Roster Panel (profile.php) ───────────────────────── */
.agency-roster-box {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.agency-roster-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.agency-roster-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4f46e5;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-left: 4px;
}

.agency-roster-grid {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.agency-roster-grid::-webkit-scrollbar {
  width: 4px;
}

.agency-roster-grid::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.roster-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .8rem;
  background: var(--bg-card-2, #f8fafc);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background .2s, border-color .2s, transform .15s;
}

.roster-card:hover {
  background: #eef2ff;
  border-color: #a5b4fc;
  transform: translateX(3px);
}

.roster-card__img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.roster-card__info {
  flex: 1;
  min-width: 0;
}

.roster-card__name {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.roster-card__cat {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.roster-card__city {
  font-size: .7rem;
  color: var(--text-muted);
}

.roster-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 3px;
}

.roster-badge--vip {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.roster-badge--ok {
  background: #d1fae5;
  color: #065f46;
}


/* ── Artist Grid ─────────────────────────────────────────────── */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .artists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .artists-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .artists-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ── Categories Grid ─────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (min-width: 400px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans);
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.cat-item:hover {
  border-color: var(--border-vip);
  background: var(--vip-dim);
  transform: translateY(-2px);
}

.cat-item__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.cat-item__name {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.2;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

.cat-item:hover .cat-item__name {
  color: var(--vip);
}

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  background: var(--grad-bg);
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 7rem 0 5rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 9rem 0 7rem;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(0, 71, 171, 0.06) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 40%;
  height: 50%;
  background: radial-gradient(circle at center, rgba(0, 71, 171, 0.03) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}


.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border-vip);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vip);
  background: var(--vip-dim);
  margin-bottom: 1.5rem;
}

.hero__title {
  margin-bottom: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Hero Search */
.hero-search {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans);
  box-shadow: var(--shadow-card);
}

.hero-search:focus-within {
  border-color: var(--vip);
  box-shadow: var(--shadow-hover), 0 0 0 3px var(--vip-dim);
  transform: translateY(-2px);
}

.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  min-width: 0;
}

.hero-search input::placeholder {
  color: var(--text-muted);
}

.hero-search button {
  background: var(--grad-vip);
  border: none;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: filter var(--trans);
}

.hero-search button:hover {
  filter: brightness(1.1);
}

@media (max-width: 480px) {
  .hero-search {
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .hero-search button {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ── Section headers ─────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--text-primary);
}

.section-title span {
  color: var(--gold);
}

/* ── Profile Page ────────────────────────────────────────────── */
.profile-banner {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-card-2);
  display: block;
}

@media (min-width: 768px) {
  .profile-banner {
    height: 460px;
  }
}

/* Banner overlay badges (Anteprima + Modifica) */
.profile-banner-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .8rem;
  line-height: 1.4;
  padding: .35rem .85rem;
  border-radius: 20px;
  max-width: calc(55% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 480px) {
  .profile-banner-overlay {
    font-size: .75rem;
    padding: .3rem .7rem;
    max-width: 44%;
  }
}

.profile-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  background: var(--bg-card);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .profile-avatar {
    width: 120px;
    height: 120px;
  }
}

.profile-meta {
  flex: 1;
  min-width: 200px;
  padding-top: 0.5rem;
}

.profile-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-gold);
  padding: 3px 10px;
  border-radius: 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

.profile-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.profile-tag {
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card-2);
}

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .profile-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.profile-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: opacity var(--trans);
}

.profile-gallery img:hover {
  opacity: 0.8;
}

/* Price box */
.price-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.price-box__price {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.price-box__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.price-box__lock {
  text-align: center;
  padding: 1.25rem;
  background: var(--gold-dim);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.price-box__lock p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  -webkit-appearance: none;
  appearance: none;
}

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

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239898b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
  margin-top: 2px;
}

.form-check label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-check label a {
  color: var(--gold);
}

/* ── Auth Pages ──────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  padding-top: calc(2.5rem + var(--safe-top, 0px));
  padding-bottom: calc(2.5rem + var(--safe-bottom, 0px));
  background: var(--bg-base);
  background-image: var(--grad-bg);
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0, 71, 171, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 71, 171, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.auth-box {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card);
}

@media (min-width: 480px) {
  .auth-box {
    padding: 3rem 2.5rem;
  }
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo .logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.auth-logo .logo-text span {
  color: var(--gold);
}

.auth-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Role selector (register) */
.role-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.role-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--trans);
  background: var(--bg-card-2);
}

.role-card:hover {
  border-color: var(--border-gold);
  background: var(--gold-dim);
}

.role-card.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.role-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

.role-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.role-card__desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.3;
}

/* ── Dashboard ───────────────────────────────────────────────── */
.dash-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
}

@media (min-width: 900px) {
  .dash-layout {
    grid-template-columns: 260px 1fr;
    padding: 3rem 0;
  }
}

.dash-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.dash-nav {
  list-style: none;
}

.dash-nav li {
  margin-bottom: 0.25rem;
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--trans);
}

.dash-nav a:hover {
  background: var(--vip-dim);
  color: var(--vip);
}

.dash-nav a.active {
  background: var(--vip-dim);
  color: var(--vip);
  font-weight: 600;
}

.dash-nav .icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.dash-main {
  min-width: 0;
}

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

/* Mobile: stat cards compatti in riga unica */
@media (max-width: 499px) {
  .stat-card {
    padding: .6rem .5rem;
  }

  .stat-card__label {
    font-size: 0.68rem;
  }

  .stat-card__value {
    font-size: 1.25rem;
  }

  .stat-card__sub {
    font-size: 0.62rem;
  }

  .stat-card .btn {
    display: block;
    font-size: .65rem;
    padding: .25rem .4rem;
    min-height: auto;
    margin-top: .4rem;
    text-align: center;
    width: 100%;
  }
}

.stat-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.stat-card__value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-card__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Subscription status */
.sub-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  row-gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.sub-status.active {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.sub-status.expired {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.sub-status.pending {
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

/* Sub-status responsive: date wraps below icon on narrow screens */
@media (max-width: 480px) {
  .sub-status {
    font-size: .8rem;
    padding: .6rem 1rem;
  }

  .sub-status span[style*="margin-left:auto"] {
    margin-left: 0 !important;
    width: 100%;
  }
}

/* Photo upload grid */
.photo-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .photo-upload-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-slot {
  aspect-ratio: 1;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
  background: var(--bg-card-2);
}

.photo-slot:hover {
  border-color: var(--border-gold);
  background: var(--gold-dim);
}

.photo-slot.banner {
  grid-column: 1 / -1;
  aspect-ratio: 16/6;
}

.photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.photo-slot__icon {
  font-size: 1.5rem;
}

.photo-slot input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* ── Tables ──────────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead {
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
}

th {
  text-align: left;
  padding: 0.9rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

td {
  padding: 0.85rem 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--bg-dark);
}

/* ── Alerts & Flash ──────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-warning {
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.alert-info {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

/* ── Payment Page ────────────────────────────────────────────── */
.pay-box {
  max-width: 520px;
  margin: 4rem auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.pay-box__header {
  background: var(--grad-gold);
  padding: 2rem;
  text-align: center;
}

.pay-box__price {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #000;
}

.pay-box__period {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
}

.pay-box__body {
  padding: 2rem;
}

.pay-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pay-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pay-features li:last-child {
  border-bottom: none;
}

.pay-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* Stripe card element */
#stripe-card-element {
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  transition: border-color var(--trans);
}

#stripe-card-element:focus-within {
  border-color: var(--border-gold);
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  padding-bottom: calc(2rem + var(--safe-bottom));
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

/* brand spans full width on all sizes below desktop */
.footer-brand {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand .logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.footer-brand .logo-text span {
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--trans);
}

.footer-links ul a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Utilities ───────────────────────────────────────────────── */
.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

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

.hidden {
  display: none !important;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ── Search Page ─────────────────────────────────────────────── */
.search-filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.search-filters .form-group {
  margin-bottom: 0;
  flex: 1;
  min-width: 150px;
}

/* ── Mobile-only helpers ─────────────────────────────────────── */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }

  .show-mobile {
    display: block !important;
  }

  /* Larger touch targets on mobile */
  .btn {
    min-height: 46px;
  }

  .form-control {
    font-size: 16px;
  }

  /* Prevents iOS zoom on focus */

  /* Safari overflow fixes */
  section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.15rem;
  }

  .artist-card__name {
    font-size: 0.95rem;
  }

  .artist-card__meta {
    font-size: 0.72rem;
  }

  .hero__subtitle {
    font-size: 0.92rem;
  }

  .hero-search input {
    font-size: 16px;
  }

  .hero-search {
    border-radius: var(--radius-md);
  }

  /* ── Dashboard form grids: sempre 1 colonna su mobile ── */
  .edit-grid,
  [class*="edit-grid"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Dashboard layout: sidebar sopra il contenuto ── */
  .dash-layout {
    flex-direction: column !important;
  }
  .dash-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: unset !important;
  }

  /* ── Cards nelle pagine dashboard: padding ridotto ── */
  .card[style*="padding:1.75rem"],
  .card[style*="padding: 1.75rem"] {
    padding: 1rem !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

/* ── Auth Pages (Login / Register) ───────────────────────── */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: var(--grad-bg);
  min-height: 0;
  /* Rimuoviamo la spinta eccessiva */
}

.auth-box {
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
}

.auth-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* ── Print ───────────────────────────────────────────────────── */
@media print {

  .navbar,
  footer,
  .btn {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ── Dashboard Artists Grid & Cards ───────────────────────── */
.artists-grid {
  gap: 1rem;
  margin-top: 1rem;
}

.artist-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.artist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--gold-dim);
}

.artist-card__thumb {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-dark);
}

.artist-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.artist-card:hover .artist-card__thumb img {
  transform: scale(1.05);
}

.artist-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.artist-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
  align-items: flex-start;
}

.artist-card__name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  text-align: left;
}

.artist-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-align: left;
  justify-content: flex-start;
}

.artist-card__cat {
  color: var(--gold);
  font-weight: 600;
}

.artist-card__price {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.artist-card__price-lock {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Terms Final Note Box ────────────────────────────────────── */
.terms-final-box {
  margin-top: 3rem;
  padding: 1.5rem 1.75rem;
  background: rgba(0, 71, 171, 0.05);
  border: 1px solid rgba(0, 71, 171, 0.2);
  border-left: 4px solid var(--vip);
  border-radius: var(--radius-md);
}

.terms-final-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2a5e;
  line-height: 1.7;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   Banner Colour Picker  (edit-profile + add-artist)
══════════════════════════════════════════════════════════════════ */
.banner-color-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .5rem;
  margin-bottom: .75rem;
}

@media (max-width: 600px) {
  .banner-color-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.banner-radio {
  display: none;
}

.banner-color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
  padding: .4rem .25rem;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: border-color .2s, transform .15s, box-shadow .2s;
  user-select: none;
}

.banner-color-swatch:hover {
  transform: scale(1.07);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.banner-color-swatch.selected {
  border-color: var(--gold);
  background: #fffbeb;
  box-shadow: 0 2px 10px rgba(245, 158, 11, .25);
}

.banner-color-preview {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, .08);
  flex-shrink: 0;
}

.banner-color-name {
  font-size: .62rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
  letter-spacing: .2px;
}