/* Manos - Artisan Directory for Equatorial Guinea */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Syne:wght@600;700;800&display=swap');

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

:root {
  --clay: #C4603A;
  --clay-light: #d4845f;
  --clay-dark: #a04e2e;
  --earth: #2C1810;
  --sand: #F5E6D3;
  --cream: #FDF8F3;
  --warm-gray: #8B7D6B;
  --deep: #1A0E08;
  --white: #ffffff;
  --green: #2d8f4e;
  --green-light: #e8f5e9;
  --red: #c0392b;
  --red-light: #fce4ec;
  --border: #e8ddd1;
  --shadow: 0 2px 12px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 8px 32px rgba(44, 24, 16, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--earth);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
.nav {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 100;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--earth);
  text-decoration: none;
  letter-spacing: -0.5px;
  cursor: pointer;
}

.nav-logo span {
  color: var(--clay);
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  color: var(--warm-gray);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.nav-link:hover {
  color: var(--earth);
  background: var(--sand);
}

.nav-link.active {
  color: var(--earth);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  min-height: 44px;
}

.btn-primary {
  background: var(--clay);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--clay-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--sand);
  color: var(--earth);
}

.btn-secondary:hover {
  background: #eddcc8;
}

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

.btn-outline:hover {
  border-color: var(--clay);
  color: var(--clay);
}

.btn-danger {
  background: var(--red);
  color: var(--white);
}

.btn-danger:hover {
  background: #a5281b;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  min-height: 36px;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

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

/* ===== TAG ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--warm-gray);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 500;
}

.tag-clay {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}

.tag-green {
  background: var(--green-light);
  color: var(--green);
  border-color: var(--green);
}

/* ===== HERO ===== */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.08;
  color: var(--deep);
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--clay);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--warm-gray);
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ===== SEARCH BAR ===== */
.search-container {
  max-width: 640px;
  margin: 0 auto 3rem;
}

.search-bar {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s;
}

.search-bar:focus-within {
  border-color: var(--clay);
}

.search-bar input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  color: var(--earth);
  background: transparent;
  outline: none;
  min-height: 52px;
}

.search-bar input::placeholder {
  color: var(--warm-gray);
}

.search-bar select {
  padding: 1rem;
  border: none;
  border-left: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--earth);
  background: var(--cream);
  cursor: pointer;
  outline: none;
  min-height: 52px;
}

.search-bar button {
  padding: 1rem 1.5rem;
  background: var(--clay);
  color: var(--white);
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 52px;
}

.search-bar button:hover {
  background: var(--clay-dark);
}

/* ===== CATEGORY CARDS ===== */
.categories-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--deep);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}

.category-card:hover {
  border-color: var(--clay);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.category-card .name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.category-card .count {
  font-size: 0.75rem;
  color: var(--warm-gray);
}

/* ===== ARTISAN GRID ===== */
.artisans-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.artisans-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.view-toggle {
  display: flex;
  gap: 0.25rem;
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
}

.view-toggle button {
  padding: 0.4rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--warm-gray);
  transition: all 0.2s;
  min-height: 36px;
}

.view-toggle button.active {
  background: var(--white);
  color: var(--earth);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.artisans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.artisans-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.artisan-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.artisan-card:hover {
  border-color: var(--clay-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.artisan-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--warm-gray);
}

.artisan-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artisan-card-body {
  padding: 1.25rem;
}

.artisan-card-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--clay);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.6rem;
  flex-shrink: 0;
}

.artisan-card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0;
}

.artisan-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--warm-gray);
}

.artisan-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* List view card */
.artisan-card.list-view {
  display: flex;
  flex-direction: row;
}

.artisan-card.list-view .artisan-card-image {
  width: 160px;
  min-width: 160px;
  height: auto;
  min-height: 140px;
}

.artisan-card.list-view .artisan-card-body {
  flex: 1;
}

/* ===== ARTISAN PROFILE PAGE ===== */
.profile-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.profile-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-location {
  color: var(--warm-gray);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.profile-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.profile-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.profile-section {
  margin-bottom: 2.5rem;
}

.profile-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sand);
}

.profile-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--earth);
}

/* Portfolio Gallery */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

/* Business Hours */
.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.9rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 600;
}

.hours-closed {
  color: var(--red);
}

/* ===== AUTH PAGES ===== */
.auth-page {
  max-width: 440px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.auth-card h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

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

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 1.25rem;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--earth);
  background: var(--white);
  transition: border-color 0.2s;
  min-height: 44px;
}

.form-control:focus {
  outline: none;
  border-color: var(--clay);
}

.form-control::placeholder {
  color: #bbb;
}

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

select.form-control {
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.form-hint {
  color: var(--warm-gray);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

/* User type selector */
.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.type-option {
  padding: 1.25rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}

.type-option:hover {
  border-color: var(--clay-light);
}

.type-option.selected {
  border-color: var(--clay);
  background: rgba(196, 96, 58, 0.05);
}

.type-option .icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  display: block;
}

.type-option .label {
  font-weight: 600;
  font-size: 0.9rem;
}

.type-option .desc {
  font-size: 0.75rem;
  color: var(--warm-gray);
  margin-top: 0.25rem;
}

/* ===== ALERT ===== */
.alert {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.alert-error {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid rgba(192, 57, 43, 0.2);
}

.alert-success {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(45, 143, 78, 0.2);
}

/* ===== ADMIN ===== */
.admin-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.admin-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--sand);
  overflow-x: auto;
}

.admin-tab {
  padding: 0.75rem 1.25rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--warm-gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  white-space: nowrap;
  min-height: 44px;
}

.admin-tab:hover {
  color: var(--earth);
}

.admin-tab.active {
  color: var(--clay);
  border-bottom-color: var(--clay);
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.stat-card .value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--clay);
}

.stat-card .label {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-top: 0.25rem;
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.data-table th,
.data-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.875rem;
}

.data-table th {
  background: var(--sand);
  font-weight: 600;
  color: var(--earth);
  white-space: nowrap;
}

.data-table td {
  border-top: 1px solid var(--border);
}

.data-table tr:hover td {
  background: rgba(245, 230, 211, 0.3);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination button {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
  color: var(--earth);
}

.pagination button:hover:not(:disabled) {
  border-color: var(--clay);
  color: var(--clay);
}

.pagination button.active {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== EDIT PROFILE ===== */
.edit-profile {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.edit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.edit-card h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sand);
}

/* ===== FOOTER ===== */
.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--warm-gray);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--warm-gray);
  text-decoration: none;
}

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

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--warm-gray);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-state h3 {
  font-size: 1.1rem;
  color: var(--earth);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto;
}

/* ===== LOADING ===== */
.loading {
  display: flex;
  justify-content: center;
  padding: 3rem;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--sand);
  border-top-color: var(--clay);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ===== BACK LINK ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--warm-gray);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--clay);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-box {
  background: var(--earth);
  border-radius: 20px;
  padding: 4rem 2rem;
  color: var(--cream);
}

.cta-box h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.cta-box p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .btn-primary {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--clay);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.step-card h3 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  align-items: center;
}

.filter-bar select {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.85rem;
  background: var(--white);
  color: var(--earth);
  cursor: pointer;
  min-height: 44px;
}

.filter-bar select:focus {
  outline: none;
  border-color: var(--clay);
}

.results-count {
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-left: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 1.25rem 2rem;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-bar select {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-info h1 {
    justify-content: center;
  }

  .profile-categories {
    justify-content: center;
  }

  .profile-actions {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .artisan-card.list-view {
    flex-direction: column;
  }

  .artisan-card.list-view .artisan-card-image {
    width: 100%;
    min-height: 180px;
  }

  .nav-links .nav-link-text {
    display: none;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .data-table {
    font-size: 0.8rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.625rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* ===== UTILITY ===== */
.hidden {
  display: none !important;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Checkbox for categories */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
  min-height: 44px;
}

.checkbox-item:hover {
  border-color: var(--clay-light);
}

.checkbox-item.checked {
  border-color: var(--clay);
  background: rgba(196, 96, 58, 0.05);
}

.checkbox-item input {
  accent-color: var(--clay);
}
