.card-tienda-detalles {
    margin-top: 18px;
    font-size: 0.8rem;
    color: #ccc;
    text-align: left;
    padding: 0 28px;
}

.card-tienda-detalles summary {
    list-style: none;
    cursor: pointer;
    color: #dca335;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.card-tienda-detalles summary::-webkit-details-marker {
    display: none;
}

.card-tienda-detalles .flecha-detalles {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 0.7rem;
    margin-right: 4px;
}

.card-tienda-detalles[open] .flecha-detalles {
    transform: rotate(90deg);
}

.card-tienda-detalles-contenido {
    margin-top: 6px;
    padding-left: 4px;
    color: #eee;
}

.card-tienda-detalles-contenido div {
    padding: 2px 0;
}
.card-tienda-redes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.2s;
    color: #fff;
}

.icono-red-social {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.2s;
}

/* ─── Espaciador flexible (opcional) ───────────────────── */
/* Si quieres que el contenido se estire para ocupar el espacio extra, puedes usar un spacer */
.card-tienda .spacer {
    flex: 1;
}
/* ─── Breadcrumb ──────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  color: #aaa;
  padding-top: 40px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.breadcrumb a {
  color: #dca335;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #f0c84d;
  text-decoration: underline;
}

.breadcrumb .sep {
  color: #ffffff;
  font-weight: 300;
}

.breadcrumb .current {
  color: #fff;
  font-weight: 600;
  display: inline-block;
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 14px;
    gap: 12px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ─── Contenedores principales ────────────────────────── */
.vendedores-grid,
#productos {
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform; /* Opcional, pero ayuda a la GPU */
}

/* ─── Estados de animación ────────────────────────────── */
.vendedores-grid.fade-out,
#productos.fade-out {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.vendedores-grid.fade-in,
#productos.fade-in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ─── Aparición inicial (retardada) ───────────────────── */
.vendedores-grid.initial-hidden {
  opacity: 0;
  transform: translateY(10px);
  transition: none; /* Sin transición al inicio */
}

.vendedores-grid.initial-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ─── Utilidades de ocultación ────────────────────────── */
.vendedores-grid.d-none,
#productos.d-none {
  display: none !important;
}

.vendedores-grid.hidden-fade,
#productos.hidden-fade {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

/* ─── Otros estilos (sin cambios) ────────────────────── */
.producto-resaltado {
  border: 3px solid #ffc107 !important;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.6) !important;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.vendedores-container {
  max-width: 1400px;
  margin: 0 auto;
}

.orden-filtro-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

#btnVerTodos {
  width: auto;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

.vendedores-header {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.cupon-vendedor-badge {
  display: inline-block;
  background-color: #28a745;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 20px;
  padding: 4px 10px;
  margin: 6px auto 4px auto;
  text-align: center;
  width: fit-content;
  flex-shrink: 0;
}

.vendedores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    min-height: 300px;
    will-change: opacity, transform;
}

@media (max-width: 768px) {
  .vendedores-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
  }
}

#btnVolverVendedores {
  margin-bottom: 40px;
}

.sidebar-filtro-provincia {
  margin-top: 15px;
  padding: 0 10px;
}
