/* style.css - Clasify v2.0 (tema azul corporativo profesional) */

:root {
  --primary-color: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #e8f0fe;
  --primary-lighter: #f0f6ff;
  --accent-color: #00c853;
  --accent-dark: #00a843;
  --danger-color: #dc3545;
  --warning-color: #f59e0b;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #1a2332;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }

body {
  background-color: var(--bg-color);
  font-family: 'Inter', system-ui, -apple-system, -Segoe UI, sans-serif;
  color: var(--text-dark);
  margin: 0;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6, .fw-semibold, .fw-bold {
  font-family: 'Inter', sans-serif;
}

/* ==================== NAVBAR ==================== */
.main-navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  padding: 0.6rem 0;
}
.navbar-brand .site-name {
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 1.3rem;
}
.navbar-brand i { color: #fff; }
.navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.navbar .nav-link:hover {
  color: #fff !important;
}
.search-input {
  border-radius: 24px;
  border: none;
  padding: 0.5rem 1rem;
  width: 200px;
  font-size: 0.9rem;
}
.btn-search {
  background: #fff;
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-search:hover {
  background: var(--primary-light);
}
.btn-register {
  background: #fff;
  color: var(--primary-color);
  border: none;
  font-weight: 600;
}
.btn-register:hover {
  background: var(--primary-light);
}
.btn-user {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 24px;
  padding: 0.4rem 1rem;
  font-weight: 500;
}
.btn-user:hover {
  background: rgba(255,255,255,0.3);
  color: #fff;
}
.msg-badge {
  font-size: 0.65rem;
  position: absolute;
  top: -2px;
  right: -4px;
  border-radius: 10px;
}
.nav-dropdown { position: relative; }

/* ==================== HERO ==================== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}
.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.hero-search-form {
  max-width: 600px;
  margin: 0 auto;
}
.hero-search-input {
  border: 2px solid var(--border-color);
  border-radius: 30px 0 0 30px;
  padding: 0.8rem 1.5rem;
  font-size: 1.05rem;
}
.hero-search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(26,115,232,0.15);
}
.btn-hero-search {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 0 30px 30px 0;
  padding: 0 1.8rem;
  font-weight: 600;
}
.btn-hero-search:hover {
  background: var(--primary-dark);
}

/* ==================== SECCIONES ==================== */
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}
.section-title i {
  color: var(--primary-color);
}

/* ==================== CATEGORÍAS ==================== */
.categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.category-block {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.2s, transform 0.2s;
}
.category-block:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.category-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
.category-main-icon {
  font-size: 1.5rem;
}
.category-main-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  text-decoration: none;
}
.category-main-name:hover {
  color: var(--primary-color);
}
.category-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--primary-lighter);
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: auto;
}
.subcategory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sub-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-lighter);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s;
  border: 1px solid transparent;
}
.sub-tag:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
.sub-tag-count {
  background: rgba(26,115,232,0.15);
  border-radius: 10px;
  padding: 0 5px;
  font-size: 0.68rem;
  font-weight: 600;
}
.sub-tag:hover .sub-tag-count {
  background: rgba(255,255,255,0.25);
}

/* ==================== TARJETAS DE ANUNCIO ==================== */
.ad-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--card-bg);
}
.ad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ad-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.card-img-top { height: 200px; object-fit: cover; }
.ad-card .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}
.ad-card-img-wrap { position: relative; }
.ad-category-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(26,115,232,0.92);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  backdrop-filter: blur(2px);
}
.ad-status-badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
}

/* ==================== AD DETAIL ==================== */
.ad-detail-row {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.ad-detail-title {
  font-weight: 700;
  color: var(--text-dark);
}
.ad-detail-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.ad-meta {
  font-size: 0.9rem;
}
.ad-description {
  line-height: 1.6;
  color: #374151;
}
.ad-detail-img-main {
  max-height: 500px;
  object-fit: contain;
  width: 100%;
  border-radius: var(--radius-md);
  background: #f8fafc;
}
.main-image-wrap {
  background: #f8fafc;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Galería GLightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}
.gallery-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  transition: transform 0.2s;
}
.gallery-item:hover img { transform: scale(1.08); }

/* Vendedor */
.seller-card {
  background: var(--primary-lighter);
  border-radius: var(--radius-md);
  padding: 1rem;
}
.seller-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.seller-avatar-placeholder {
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
}
.seller-name {
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}
.seller-name:hover { color: var(--primary-color); }
.seller-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.star-active, .fas.fa-star.star-active {
  color: #f59e0b;
}
.star-inactive, .fas.fa-star.star-inactive {
  color: #d1d5db;
}
.far-star { color: #d1d5db; }
.rating-text {
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 4px;
}

/* Botones de contacto */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.5rem;
  font-size: 1.05rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-1px);
}
.btn-whatsapp i { font-size: 1.2rem; }
.btn-message {
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.5rem;
  transition: background 0.2s;
}
.btn-message:hover {
  background: var(--primary-dark);
  color: #fff;
}
.phone-reveal {
  padding: 0.5rem 0;
}

/* Tarjeta de contacto */
.contact-card {
  background: var(--primary-lighter);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-md);
}

/* ==================== AUTH ==================== */
.auth-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}
.auth-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.auth-form .form-floating > label {
  color: var(--text-muted);
}
.auth-form .form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
}
.auth-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.15rem rgba(26,115,232,0.12);
}

/* ==================== PERFIL ==================== */
.profile-header {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.profile-header-bg {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  height: 120px;
}
.profile-header-content {
  text-align: center;
  padding: 0 2rem 1.5rem;
  margin-top: -50px;
}
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--card-bg);
  object-fit: cover;
}
.profile-avatar-placeholder {
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 2.5rem;
}
.profile-name {
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
}
.profile-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 0.5rem;
}
.rating-score {
  font-weight: 700;
  margin-left: 4px;
}
.rating-count {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.profile-bio {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0.5rem auto;
  font-style: italic;
}
.profile-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.profile-tabs .nav-link {
  color: var(--text-muted);
  font-weight: 600;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}
.profile-tabs .nav-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: transparent;
}

/* Rating items */
.ratings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rating-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
}
.rating-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.rating-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.rating-avatar-placeholder {
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}
.rating-from-name {
  font-weight: 600;
  text-decoration: none;
  color: var(--text-dark);
}
.rating-from-name:hover { color: var(--primary-color); }
.rating-stars {
  display: flex;
  gap: 2px;
}
.rating-comment {
  margin: 0.5rem 0;
  color: #374151;
}

/* Profile edit */
.profile-edit-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.profile-avatar-lg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
}
.profile-avatar-lg.profile-avatar-placeholder {
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 3rem;
  margin: 0 auto;
}

/* ==================== MENSAJES ==================== */
.messages-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.message-item {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.message-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}
.message-unread {
  border-left: 4px solid var(--primary-color);
  background: var(--primary-lighter);
}
.message-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.message-avatar-placeholder {
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}
.message-preview {
  font-size: 0.85rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Conversation */
.conversation-header {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.conv-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.conv-avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-color);
}
.conversation-messages {
  max-height: 500px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.message-bubble {
  max-width: 75%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}
.message-sent {
  align-self: flex-end;
  background: var(--primary-color);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.message-received {
  align-self: flex-start;
  background: var(--primary-lighter);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}
.message-time {
  font-size: 0.7rem;
  opacity: 0.7;
  display: block;
  margin-top: 4px;
}
.message-form {
  position: sticky;
  bottom: 0;
}
.message-form .form-control {
  border-radius: var(--radius-sm);
}

/* ==================== MIS ANUNCIOS ==================== */
.my-ad-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.my-ad-thumb-placeholder {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  border-radius: var(--radius-sm);
}

/* ==================== VISTA PREVIA IMÁGENES ==================== */
.preview-thumb {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: center;
  background: #fff;
}
.preview-thumb img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}
.preview-thumb span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==================== PAGINACIÓN ==================== */
.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.pagination .page-link {
  color: var(--primary-color);
  border-radius: 8px;
  margin: 0 2px;
}
.pagination .page-link:hover {
  color: var(--primary-dark);
  background: var(--primary-lighter);
}

/* ==================== BOTONES ==================== */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}
a { color: var(--primary-color); }
.text-primary { color: var(--primary-color) !important; }

/* ==================== FOOTER ==================== */
.main-footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0d3a7a 100%) !important;
}
.main-footer a:hover { text-decoration: underline; }

/* ==================== MAPA ==================== */
.leaflet-container { border-radius: var(--radius-md); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-section { padding: 2rem 1rem; }
  .categories-container { grid-template-columns: 1fr; }
  .search-input { width: 100%; }
  .navbar .d-flex.gap-2 { width: 100%; justify-content: center; margin-top: 0.5rem; }
  .ad-detail-price { font-size: 1.4rem; }
  .profile-header-content { padding: 0 1rem 1rem; }
  .message-bubble { max-width: 90%; }
  .store-banner { height: 150px !important; }
  .store-header-content { padding: 0 1rem 1.5rem !important; }
  .store-stats { flex-direction: column; gap: 0.5rem !important; }
}

/* ==================== HERO CHOICES (Clasificados vs Tiendas) ==================== */
.hero-choices { margin-top: -2rem; }
.hero-choice-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  overflow: hidden;
}
.hero-choice-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}
.hero-choice-clasificados { border-left: 5px solid var(--primary-color); }
.hero-choice-tiendas { border-left: 5px solid var(--accent-color); }
.hero-choice-icon {
  font-size: 2.5rem;
  line-height: 1;
}
.hero-choice-arrow {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.hero-choice-card:hover .hero-choice-arrow {
  transform: translateX(6px);
  color: var(--primary-color);
}

/* ==================== TIENDAS (listado) ==================== */
.store-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--card-bg);
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.store-card-avatar-wrap {
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  padding: 1.5rem 1rem 0.5rem;
  text-align: center;
}
.store-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--card-bg);
  box-shadow: var(--shadow-sm);
}
.store-card-avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 2rem;
}
.store-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

/* ==================== TIENDA (perfil individual) ==================== */
.store-header {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.store-banner {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-dark);
}
.store-banner-default {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #0d3a7a 100%);
}
.store-header-content {
  text-align: center;
  padding: 0 2rem 1.5rem;
  margin-top: -60px;
  position: relative;
  z-index: 1;
}
.store-avatar-wrap {
  display: inline-block;
  border-radius: 50%;
  border: 4px solid var(--card-bg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--card-bg);
}
.store-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.store-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 3rem;
}
.store-name {
  font-weight: 800;
  color: var(--text-dark);
  margin: 0.75rem 0 0.25rem;
}
.store-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 0.5rem;
}
.store-description {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.5rem auto;
  line-height: 1.5;
}
.store-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.store-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.store-stat-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 4px;
}
.store-stat-num {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.store-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Banner preview en profile-edit */
.store-banner-preview {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

/* ==================== BADGE DE VERIFICACIÓN ==================== */
.verified-badge {
  color: var(--primary-color);
  font-size: 1rem;
  vertical-align: middle;
  margin-left: 2px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}
.verified-badge-lg {
  font-size: 1.4rem;
}
.verified-badge::before {
  content: "";
  display: inline-block;
}

/* ==================== ADMIN VERIFICACIONES ==================== */
.verification-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.verification-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.verification-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-color);
}
.verification-doc-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.verification-doc-img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  display: block;
}
.verification-doc-link {
  position: relative;
  display: block;
}
.verification-doc-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.65);
  color: #fff;
  text-align: center;
  padding: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s;
}
.verification-doc-link:hover .verification-doc-overlay {
  opacity: 1;
}
.verification-section {
  background: var(--primary-lighter);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}