/* ═══════════════════════════════════════════════════════
   Orrisly — Stylesheet
   Palette: Cream · Off-Black · Deep Green · Muted Gold
   ═══════════════════════════════════════════════════════ */

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

/* ── Variables ─────────────────────────────────────── */
:root {
  --cream:       #F5F2EC;
  --cream-light: #FDFCF8;
  --cream-mid:   #EDE8DF;
  --cream-dark:  #E4DDD1;
  --ink:         #1C1B18;
  --ink-mid:     #3D3B34;
  --ink-light:   #6E6A5E;
  --ink-xlight:  #9E998C;
  --green:       #273D33;
  --green-mid:   #3A5447;
  --green-light: #EBF0EE;
  --gold:        #A8875A;
  --gold-light:  #C4A47C;
  --gold-xlight: #F0E8DA;
  --border:      #DDD8CE;
  --border-light:#EDE8E0;

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   14px;

  --shadow-sm:   0 1px 3px rgba(28,27,24,.06);
  --shadow:      0 4px 16px rgba(28,27,24,.08);
  --shadow-lg:   0 12px 40px rgba(28,27,24,.10);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast:    160ms;
  --dur:         280ms;
  --dur-slow:    480ms;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--cream-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-xlight); }

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--green);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  letter-spacing: -0.02em;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-style: italic;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-light);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
}

.nav-item:hover { color: var(--ink); background: var(--cream-mid); }
.nav-item.active { color: var(--ink); font-weight: 500; }
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--green);
  border-radius: 1px;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--green);
  color: var(--cream-light);
  font-size: 10px;
  font-weight: 500;
  border-radius: 9px;
  margin-left: 5px;
  vertical-align: middle;
  position: absolute;
  top: 4px;
  right: 6px;
}

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}

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

/* Mobile nav */
.nav-mobile {
  display: none;
  border-top: 1px solid var(--border-light);
  padding: 8px 16px 16px;
}

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

.nav-mobile-item {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  padding: 13px 16px;
  text-align: left;
  border-radius: var(--radius);
  transition: background var(--dur-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-mobile-item:hover { background: var(--cream-mid); }

.nav-badge-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--green);
  color: var(--cream-light);
  font-size: 11px;
  font-weight: 500;
  border-radius: 10px;
}

/* ═══════════════════════════════════════════════════
   MAIN / VIEWS
   ═══════════════════════════════════════════════════ */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.view { display: none; animation: fadeUp var(--dur-slow) var(--ease-out) forwards; }
.view.active { display: block; }

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

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  padding: 80px 0 64px;
  max-width: 640px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 420px;
}

/* ═══════════════════════════════════════════════════
   CONTROLS
   ═══════════════════════════════════════════════════ */
.controls-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  position: sticky;
  top: 64px;
  z-index: 90;
  background: var(--cream);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.search-wrapper {
  position: relative;
  max-width: 480px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-xlight);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 44px;
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 40px 0 42px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.search-input::placeholder { color: var(--ink-xlight); }
.search-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(39, 61, 51, 0.08);
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}

.search-clear.visible { opacity: 1; pointer-events: auto; }
.search-clear:hover { background: var(--cream-mid); color: var(--ink); }

.filters-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ink-light);
  cursor: pointer;
  transition: all var(--dur-fast);
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

.filter-pill.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream-light);
}

.results-info {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-xlight);
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  min-height: 18px;
}

/* ═══════════════════════════════════════════════════
   PERFUME GRID + CARDS
   ═══════════════════════════════════════════════════ */
.perfume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.perfume-card {
  background: var(--cream-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur-fast);
  animation: cardIn var(--dur-slow) var(--ease-out) both;
}

.perfume-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Staggered entrance */
.perfume-card:nth-child(1)  { animation-delay: 0ms; }
.perfume-card:nth-child(2)  { animation-delay: 50ms; }
.perfume-card:nth-child(3)  { animation-delay: 100ms; }
.perfume-card:nth-child(4)  { animation-delay: 150ms; }
.perfume-card:nth-child(5)  { animation-delay: 200ms; }
.perfume-card:nth-child(6)  { animation-delay: 250ms; }
.perfume-card:nth-child(7)  { animation-delay: 300ms; }
.perfume-card:nth-child(8)  { animation-delay: 350ms; }
.perfume-card:nth-child(9)  { animation-delay: 400ms; }

/* Card visual band */
.card-band {
  height: 6px;
}

/* Card body */
.card-body {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-house {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-xlight);
  margin-bottom: 6px;
}

.card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
}

.card-family {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid rgba(39, 61, 51, 0.12);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.card-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  flex: 1;
}

.note-tag {
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-light);
  background: var(--cream-mid);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.card-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-mid);
  letter-spacing: -0.01em;
}

.card-price-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-xlight);
}

.card-actions {
  display: flex;
  gap: 8px;
}

/* Action buttons */
.btn-action {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-light);
  transition: all var(--dur-fast);
  flex-shrink: 0;
  position: relative;
}

.btn-action svg { transition: transform var(--dur-fast) var(--ease-out); }

.btn-action:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

.btn-action:hover svg { transform: scale(1.1); }

.btn-action:active svg { transform: scale(0.92); }

.btn-action.in-collection {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream-light);
}

.btn-action.in-collection:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
}

.btn-action.in-wishlist {
  background: var(--gold-xlight);
  border-color: var(--gold-light);
  color: var(--gold);
}

.btn-action.in-wishlist:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream-light);
}

/* Tooltip */
.btn-action::before {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream-light);
  font-size: 11px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast);
  letter-spacing: 0.02em;
}

.btn-action:hover::before { opacity: 1; }

/* ═══════════════════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════════════════ */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 56px 0 40px;
  gap: 16px;
}

.page-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}

/* ═══════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--cream-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  animation: cardIn var(--dur-slow) var(--ease-out) both;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-xlight);
}

.stat-sub {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-light);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════
   COMMUNITY
   ═══════════════════════════════════════════════════ */
.community-intro {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.community-card {
  background: var(--cream-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  animation: cardIn var(--dur-slow) var(--ease-out) both;
  transition: box-shadow var(--dur), border-color var(--dur-fast);
}

.community-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.community-user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  color: var(--cream-light);
  flex-shrink: 0;
}

.user-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}

.user-count {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-xlight);
  letter-spacing: 0.03em;
}

.community-scents {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.community-scent-tag {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-mid);
  background: var(--cream-mid);
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  border-radius: 100px;
}

.community-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-xlight);
}

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--cream-light);
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.btn-primary:hover { background: var(--green-mid); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  color: var(--ink-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--dur-fast);
}

.btn-ghost:hover {
  border-color: var(--ink-light);
  color: var(--ink);
  background: var(--cream-mid);
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  color: var(--green);
  border: 1px solid rgba(39, 61, 51, 0.3);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--dur-fast);
  white-space: nowrap;
}

.btn-share:hover {
  background: var(--green);
  color: var(--cream-light);
  border-color: var(--green);
}

/* ═══════════════════════════════════════════════════
   EMPTY STATES
   ═══════════════════════════════════════════════════ */
.hidden { display: none !important; }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
  gap: 16px;
}

.empty-state-icon {
  width: 72px;
  height: 72px;
  background: var(--cream-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-xlight);
  margin-bottom: 8px;
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
}

.empty-state-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-light);
  max-width: 320px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream-light);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.03em;
  padding: 12px 24px;
  border-radius: 100px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 200;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  box-shadow: 0 8px 32px rgba(28, 27, 24, 0.2);
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 27, 24, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: overlayIn var(--dur-fast);
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: modalIn var(--dur) var(--ease-out);
  box-shadow: var(--shadow-lg);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-light);
  transition: all var(--dur-fast);
}

.modal-close:hover { background: var(--cream-mid); color: var(--ink); }

.modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}

.modal-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-text-area {
  background: var(--cream-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 20px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 200px;
  overflow-y: auto;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .nav-desktop { display: none; }
  .nav-mobile-toggle { display: flex; }

  .main { padding: 0 20px 60px; }

  .hero { padding: 48px 0 40px; }
  .hero-title { font-size: 40px; }

  .controls-bar { top: 64px; }

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

  .page-header {
    padding: 40px 0 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-title { font-size: 36px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); }

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

  .modal { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .filters-row { gap: 6px; }
  .filter-pill { padding: 5px 13px; font-size: 11px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-value { font-size: 34px; }
  .toast { bottom: 20px; font-size: 12px; padding: 10px 20px; max-width: calc(100vw - 40px); white-space: normal; text-align: center; }
}
