/* =====================================================
   FarmstoMarkets — styles.css
   Single stylesheet, CSS variable themes, no framework
   ===================================================== */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; height: auto; }

/* ===== DEFAULT THEME (original / green) ===== */
:root {
  --clr-bg:        #f5f5f0;
  --clr-surface:   #ffffff;
  --clr-nav:       #2d5a27;
  --clr-dark:      #2c2c2c;
  --clr-mid:       #666666;
  --clr-accent:    #3a7d44;
  --clr-accent-dk: #2d5a27;
  --clr-accent-lt: #5aab66;
  --clr-border:    #dddddd;
  --clr-danger:    #c0392b;
  --clr-warn-bg:   #fff3cd;
  --clr-warn-text: #856404;
  --clr-ok-bg:     #d4edda;
  --clr-ok-text:   #155724;
  --clr-err-bg:    #f8d7da;
  --clr-err-text:  #721c24;
  --ff-head:       -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-body:       -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:         1200px;
  --radius:        6px;
  --shadow:        0 2px 12px rgba(0,0,0,0.10);
}

/* ===== ADDITIONAL THEMES ===== */
[data-theme="farmed"] {
  --clr-bg:        #fef9f0;
  --clr-surface:   #fff8ec;
  --clr-nav:       #6b4c2a;
  --clr-dark:      #3b2a1a;
  --clr-mid:       #7a5c3a;
  --clr-accent:    #c97d20;
  --clr-accent-dk: #a06010;
  --clr-accent-lt: #e8b84b;
  --clr-border:    #e8cfa0;
  --clr-danger:    #c0392b;
  --clr-ok-bg:     #fdf6dc;  --clr-ok-text:   #6b4c2a;
  --clr-err-bg:    #fde8e8;  --clr-err-text:  #7a1a1a;
}
[data-theme="dark"] {
  --clr-bg:        #1a1a1a;
  --clr-surface:   #2a2a2a;
  --clr-nav:       #111111;
  --clr-dark:      #e8e8e8;
  --clr-mid:       #999999;
  --clr-accent:    #4caf6b;
  --clr-accent-dk: #3a9a55;
  --clr-accent-lt: #6dca85;
  --clr-border:    #444444;
  --clr-danger:    #e74c3c;
  --clr-ok-bg:     #1a3a1a;  --clr-ok-text:   #4caf6b;
  --clr-err-bg:    #3a1a1a;  --clr-err-text:  #e74c3c;
}
[data-theme="vintage"] {
  --clr-bg:        #f4ede4;
  --clr-surface:   #fdf6ed;
  --clr-nav:       #5c3d1e;
  --clr-dark:      #3b2a1a;
  --clr-mid:       #8a6a50;
  --clr-accent:    #8b5e2a;
  --clr-accent-dk: #6b3d10;
  --clr-accent-lt: #d4a050;
  --clr-border:    #c8b09a;
  --clr-danger:    #8b2a1a;
  --clr-ok-bg:     #efe8d8;  --clr-ok-text:   #5c3d1e;
  --clr-err-bg:    #f0ddd8;  --clr-err-text:  #8b2a1a;
}
[data-theme="modern"] {
  --clr-bg:        #f0f4f0;
  --clr-surface:   #ffffff;
  --clr-nav:       #1b5e20;
  --clr-dark:      #1a1a1a;
  --clr-mid:       #555555;
  --clr-accent:    #2e7d32;
  --clr-accent-dk: #1b5e20;
  --clr-accent-lt: #66bb6a;
  --clr-border:    #c8e6c9;
  --clr-danger:    #c62828;
  --clr-ok-bg:     #e8f5e9;  --clr-ok-text:   #1b5e20;
  --clr-err-bg:    #ffebee;  --clr-err-text:  #c62828;
}
[data-theme="am"] {
  --clr-bg:        #f5f0e8;
  --clr-surface:   #ffffff;
  --clr-nav:       #500000;
  --clr-dark:      #1a1a1a;
  --clr-mid:       #666666;
  --clr-accent:    #500000;
  --clr-accent-dk: #3a0000;
  --clr-accent-lt: #c8a415;
  --clr-border:    #e0cca0;
  --clr-danger:    #b71c1c;
  --clr-ok-bg:     #f0e8d0;  --clr-ok-text:   #500000;
  --clr-err-bg:    #fde8e8;  --clr-err-text:  #b71c1c;
}
[data-theme="rustic"] {
  --clr-bg:        #f2ebe0;
  --clr-surface:   #faf5ec;
  --clr-nav:       #4a3728;
  --clr-dark:      #2d1f13;
  --clr-mid:       #7a6050;
  --clr-accent:    #7a4e2d;
  --clr-accent-dk: #5a3420;
  --clr-accent-lt: #c88040;
  --clr-border:    #c4aa88;
  --clr-danger:    #8b2a1a;
  --clr-ok-bg:     #ede8e0;  --clr-ok-text:   #4a3728;
  --clr-err-bg:    #f0e0dc;  --clr-err-text:  #8b2a1a;
}
[data-theme="ocean"] {
  --clr-bg:        #e8f4f8;
  --clr-surface:   #ffffff;
  --clr-nav:       #0d4f6e;
  --clr-dark:      #0a2a3a;
  --clr-mid:       #4a7a90;
  --clr-accent:    #0d7aa8;
  --clr-accent-dk: #0a5a80;
  --clr-accent-lt: #00b8d4;
  --clr-border:    #90cce0;
  --clr-danger:    #c62828;
  --clr-ok-bg:     #e0f4f8;  --clr-ok-text:   #0d4f6e;
  --clr-err-bg:    #fde8e8;  --clr-err-text:  #c62828;
}

/* ===== BASE ===== */
body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-dark);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--clr-accent); text-decoration: none; }
a:hover { color: var(--clr-accent-dk); text-decoration: underline; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section { padding-block: 3.5rem; }
.section--alt { background: var(--clr-surface); }
main { flex: 1; }

/* ===== NAV ===== */
.site-nav {
  background: var(--clr-nav);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}
.nav-brand {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.nav-brand:hover { color: #fff; text-decoration: none; opacity: 0.9; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.nav-links a,
.nav-links button {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  display: block;
}
.nav-links a:hover,
.nav-links button:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
  text-decoration: none;
}

/* Theme picker */
.theme-picker { position: relative; }
.theme-toggle-btn {
  font-size: 1rem;
  padding: 0.35rem 0.6rem !important;
  cursor: pointer;
}
.theme-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 140px;
  list-style: none;
  overflow: hidden;
  z-index: 200;
}
.theme-dropdown.open { display: block; }
.theme-dropdown li { border-bottom: 1px solid var(--clr-border); }
.theme-dropdown li:last-child { border: none; }
.theme-option {
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  color: var(--clr-dark);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--ff-body);
  transition: background 0.1s;
}
.theme-option:hover { background: var(--clr-bg); }
.theme-option.active { font-weight: 700; color: var(--clr-accent); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--clr-nav);
  color: rgba(255,255,255,0.8);
  padding-block: 2rem;
  text-align: center;
  font-size: 0.875rem;
  margin-top: auto;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-top: 0.75rem; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--ff-body);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn-primary  { background: var(--clr-accent);  color: #fff; }
.btn-primary:hover { background: var(--clr-accent-dk); opacity: 1; color: #fff; }
.btn-outline  { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; opacity: 1; }
.btn-secondary { background: var(--clr-border); color: var(--clr-dark); }
.btn-danger   { background: var(--clr-danger);  color: #fff; }
.btn-liked    { background: #e74c3c;             color: #fff; }
.btn-sm       { padding: 0.3rem 0.75rem; font-size: 0.8rem; }
.btn-lg       { padding: 0.75rem 2rem;   font-size: 1rem; }
.btn-full     { width: 100%; display: flex; }
.btn-ghost    { background: none; border-color: var(--clr-border); color: var(--clr-dark); }

/* ===== ALERTS ===== */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.alert-ok  { background: var(--clr-ok-bg);  color: var(--clr-ok-text); }
.alert-err { background: var(--clr-err-bg); color: var(--clr-err-text); }
.alert-warn { background: var(--clr-warn-bg); color: var(--clr-warn-text); }

/* ===== HERO ===== */
.hero {
  background: var(--clr-nav);
  color: #fff;
  text-align: center;
  padding-block: 5rem 4rem;
}
.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 560px; margin-inline: auto; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement-banner {
  background: var(--clr-accent-lt);
  color: #fff;
  text-align: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}
.announcement-banner a { color: #fff; text-decoration: underline; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.9rem; color: var(--clr-mid); }

/* ===== SLIDESHOW ===== */
.slideshow-wrap {
  position: relative;
  overflow: hidden;
  background: #111;
  border-radius: 0;
}
.slide-track {
  display: flex;
  height: 100%;          /* inherit height from .slideshow-wrap so images are visible */
  transition: transform 0.5s ease;
}
.slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 180px;     /* fallback before JS sets wrap height */
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.75;
  position: absolute;
  inset: 0;
}
.slide-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 0.95rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  pointer-events: none;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.15s;
  z-index: 10;
  line-height: 1;
}
.slide-btn:hover { background: rgba(0,0,0,0.7); }
.slide-btn--prev { left: 0.75rem; }
.slide-btn--next { right: 0.75rem; }
.slide-dots {
  position: absolute;
  bottom: 0.6rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
  z-index: 10;
}
.slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.slide-dot.active { background: #fff; }

/* ===== SECTION HEADINGS ===== */
.section-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--clr-accent); font-weight: 600; margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 0.5rem; }
.section-sub   { color: var(--clr-mid); font-size: 0.95rem; margin-bottom: 1.75rem; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--clr-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  background: var(--clr-bg);
  color: var(--clr-dark);
  font-size: 0.9rem;
  font-family: var(--ff-body);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(58,125,68,0.12);
}
.form-group small { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--clr-mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== CARD PANEL ===== */
.card-panel {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.card-panel h2 { font-size: 1.15rem; margin-bottom: 1rem; }

/* ===== LISTING CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.listing-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.listing-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--clr-dark); }
.card-price { font-size: 1.1rem; font-weight: 700; color: var(--clr-accent); margin-bottom: 0.25rem; }
.card-meta  { font-size: 0.8rem; color: var(--clr-mid); margin-bottom: 0.5rem; }
.card-desc  { font-size: 0.85rem; color: var(--clr-mid); flex: 1; margin-bottom: 0.75rem; }
.card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.search-input {
  flex: 1;
  min-width: 130px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  background: var(--clr-bg);
  color: var(--clr-dark);
  font-size: 0.875rem;
  font-family: var(--ff-body);
}
.search-input:focus { outline: none; border-color: var(--clr-accent); }

/* ===== MARKETPLACE LAYOUT ===== */
.marketplace-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.create-sidebar { width: 280px; flex-shrink: 0; }
.listings-area  { flex: 1; min-width: 0; }

/* ===== LISTING DETAIL ===== */
.listing-detail { max-width: 640px; }
.listing-detail .back-link { display: inline-block; margin-bottom: 1.25rem; font-size: 0.9rem; }
.detail-img { width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.25rem; }
.detail-price { font-size: 1.5rem; font-weight: 700; color: var(--clr-accent); margin-bottom: 0.75rem; }
.detail-meta  { margin-bottom: 0.5rem; font-size: 0.95rem; }
.detail-meta strong { color: var(--clr-dark); }

/* ===== AUTH PAGES ===== */
.auth-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1.25rem;
  min-height: calc(100vh - 140px);
}
.auth-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}
.auth-card h1  { font-size: 1.5rem; margin-bottom: 0.4rem; }
.auth-card > p { color: var(--clr-mid); font-size: 0.9rem; margin-bottom: 1.25rem; }
.auth-links    { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1.25rem; font-size: 0.875rem; color: var(--clr-mid); flex-wrap: wrap; }

/* ===== DASHBOARD ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.dashboard-panel h2 { font-size: 1.15rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.count-badge { background: var(--clr-accent); color: #fff; font-size: 0.72rem; padding: 0.1rem 0.5rem; border-radius: 99px; font-weight: 600; }
.empty-state { color: var(--clr-mid); font-size: 0.9rem; padding: 1rem 0; }
.loading-state { color: var(--clr-mid); font-size: 0.9rem; padding: 1rem 0; font-style: italic; }

/* ===== PROFILE ===== */
.profile-layout { display: flex; gap: 1.5rem; align-items: flex-start; }
.profile-sidebar { width: 240px; flex-shrink: 0; }
.profile-main    { flex: 1; min-width: 0; }
.avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.profile-card { text-align: center; }
.profile-card h2  { font-size: 1.05rem; margin-bottom: 0.25rem; }
.profile-email    { font-size: 0.8rem; color: var(--clr-mid); margin-bottom: 0.5rem; }
.profile-bio      { font-size: 0.85rem; color: var(--clr-mid); margin-bottom: 0.75rem; }
.profile-stats    { font-size: 0.875rem; color: var(--clr-mid); }
.danger-zone      { border-color: var(--clr-danger); }
.danger-zone h2   { color: var(--clr-danger); }

/* ===== CONTENT PAGES (about, agreement) ===== */
.content-page { max-width: 760px; }
.content-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.content-card h2 { font-size: 1.2rem; color: var(--clr-accent); margin-bottom: 0.75rem; }
.content-card h3 { font-size: 1rem; margin: 1rem 0 0.5rem; }
.content-card p  { margin-bottom: 0.75rem; }
.content-card ul { margin: 0.5rem 0 0.75rem 1.25rem; }
.content-card li { margin-bottom: 0.35rem; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: 0.75rem; }
.agreement-section + .agreement-section { margin-top: 1.5rem; }

/* ===== SPINNER ===== */
.spinner { display: inline-block; width: 1.2rem; height: 1.2rem; border: 2px solid var(--clr-border); border-top-color: var(--clr-accent); border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: middle; margin-right: 0.4rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== NO-RESULTS ===== */
.no-results { color: var(--clr-mid); padding: 2rem 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--clr-nav);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a, .nav-links button { width: 100%; text-align: left; }
  .theme-dropdown { right: auto; left: 0; }
  .site-nav { position: relative; }

  .marketplace-layout { flex-direction: column; }
  .create-sidebar { width: 100%; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .profile-layout { flex-direction: column; }
  .profile-sidebar { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .search-bar { flex-direction: column; }
  .search-input { min-width: auto; width: 100%; }
  .card-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
  .hero-btns { flex-direction: column; align-items: center; }
}
