.de-directorio-shortcode .de-filter-box { background: transparent; }
#de-checkboxes .form-check { display: block; }
#de-dropdown-search { width:100%; }
.de-card-wrapper .card { border: none; box-shadow: 0 6px 18px rgba(0,0,0,.03); border-radius: 8px; overflow: hidden; }
.de-card-wrapper .card-img-top img { object-fit: cover; height: 180px; width: 100%; }
@media (max-width: 767px) { .de-card-wrapper .card-img-top img { height: 140px; } }
@media (min-width: 992px) { .de-directorio-shortcode .col-md-3 { max-width: 260px; padding:0;} }
.de-pagination { margin-top: 1rem; }
.de-pagination .page-item.active .page-link { background-color: #0d6efd; border-color: #0d6efd; color: #fff; }
.de-filter-box .form-label { font-size: 0.95rem; }

.de-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;}

.de-logo-avatar {
  position: absolute;
      left: 60px;
      bottom: 0px;
      width: 160px;
      height: 160px;
      background: #fff;
      border-radius: 0px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      display: flex;
      align-items: center;
      justify-content: center;}

.de-logo-avatar .de-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;}

/* ===============================
   ESTILOS SINGLE DIRECTORIO
   =============================== */

.single-directorio {}

.single-directorio h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;}

.single-directorio .de-featured-wrapper {
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);}
 
.de-featured-wrapper { 
position: relative; width: 100vw; height:100vh; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; margin-top: -3rem !important;overflow: hidden;}

/* Smartphones in landscape mode (480-768px) */
@media only screen and ( min-width: 375px ) and ( max-width: 767px ) {
   .de-featured-wrapper { 
position: relative; width: 100vw; height:auto; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; margin-top: -3rem !important;overflow: hidden;}
}


.single-directorio .de-logo-avatar {
  transition: transform 0.3s ease;}

.single-directorio .de-logo-avatar:hover {
  transform: scale(1.05);}

.single-directorio .de-content p {
  font-size: 1rem; line-height: 1.6;
  margin-bottom: 0.8rem;}

.single-directorio .bg-light {
  background: #f6f7f8 !important;
  border-radius: 0px;}

/* Galería */
.single-directorio .swiper {
  width: 100%;
  height: 100%;}

.single-directorio .swiper-slide img {
  border-radius: 0px;
  object-fit: cover;}
  
.single-directorio .swiper-pagination-bullet-active {
  background: #000 !important;}

/* Información inferior */
.single-directorio .border-top {
  border-color: #e0e0e0 !important;}

.single-directorio p {font-size: 1rem; line-height: 1.6;}
  
.single-directorio strong {color: #111;font-weight: 600;}

.single-directorio a {color: #007bff;text-decoration: none;}
.single-directorio a:hover {text-decoration: none;}

/* Avatar responsive */
@media (max-width: 768px) {
  .single-directorio .de-logo-avatar {
    width: 70px;
    height: 70px;
    bottom: 0px;
    left: 20px;}

  .single-directorio h1 {
    font-size: 1.5rem; }

  .single-directorio .bg-light {
    padding: 1.5rem !important;}
}

/* Redes sociales con iconos */
.de-social-icons {
  display: flex;
  gap: 10px;
  align-items: center;}

.de-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff !important;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;}

.de-social-icon i {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  color: #fff !important;}

.de-social-icon svg {
  width: 16px;
  height: 16px;
  fill: #fff !important;}

.de-social-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;}

.de-social-icon.facebook { background: #1877f2; }
.de-social-icon.instagram { background: #e1306c; }
.de-social-icon.tiktok { background: #010101; }
.de-social-icon.youtube { background: #ff0000; }
.de-social-icon.whatsapp { background: #25d366; }

/*Related*/

.de-relacionados {
  border-top: 1px solid #e5e5e5;
}

.de-relacionados h5 {
  color: #333;
}

.de-rel-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.de-rel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.de-rel-card img {
  transition: transform 0.4s ease;
}

.de-rel-card:hover img {
  transform: scale(1.05);
}

.de-rel-card .bi-geo-alt {
  color: #007bff;
  margin-right: 3px;
}

/* Layout de directorio con sidebar 15% y contenido 85% */
.directorioe-archive .col-md-3 {
    max-width: 15% !important;
    flex: 0 0 15% !important;
}

.directorioe-archive .col-md-9 {
    max-width: 85% !important;
    flex: 0 0 85% !important;
}

/* Opcional: reducir padding interno para aprovechar más espacio */
.directorioe-archive .row {
    margin-left: 0;
    margin-right: 0;
}

.directorioe-archive .col-md-3,
.directorioe-archive .col-md-9 {
    padding-left: 10px;
    padding-right: 10px;
}

.de-search-box {
  position: relative;
  max-width: 400px;
}

#de-live-search {
  padding: 10px 14px;
  border-radius: 25px!important;
  border: 1px solid #ccc;
  max-width:60%!important; margin: 0 auto !important;}

@media (max-width: 768px) {
	#de-live-search {
		padding: 10px 14px;
		border-radius: 25px!important;
		border: 1px solid #ccc;
		max-width:100%!important; margin: 0 auto !important;}	
}


/* ICONO */
#de-live-search .search-icon {
    font-size: 20px;
    color: #fff;
    line-height: 0;background:#EC8F35; 
}

.de-search-results {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 20;
  display: none;
  max-height: 260px;
  overflow-y: auto;
}

.de-search-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 15px;
}

.de-search-item:hover {
  background: #f5f5f5;
}

.de-live-results {
    position: absolute;
    background: #fff;
    width: 100%;
    z-index: 99;
    border: 1px solid #ddd;
    border-top: none;
    display: none;
}

.de-live-results a {
    display: block;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.de-live-results a:hover {
    background: #f5f5f5;
}



/* CONTENEDOR DEL BUSCADOR */
.predictive-search-wrapper {
    width: 100%;
    max-width: 520px; /* Ajusta si lo quieres más grande o pequeño */
    margin: 20px auto;
    position: relative;
}

/* INPUT ESTILO REDONDEADO */
#predictive-search {
    width: 100%;
    padding: 14px 20px;
    padding-right: 70px; /* espacio para el botón */
    border: 1px solid #ddd;
    border-radius: 40px;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
}

#predictive-search:focus {
    border-color: #e78a2e; /* tono naranja suave */
}

/* BOTÓN DE BÚSQUEDA REDONDO */
.predictive-search-wrapper .search-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: #e78a2e;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.search-btn:hover {
    background: #cf771f;
}

/* ICONO */
.search-icon {
    font-size: 20px;
    color: #fff;
    line-height: 0;
}

/* LISTA DE RESULTADOS */
.predictive-results {
    margin-top: 10px;
    list-style: none;
    padding: 0;
    border: 1px solid #eee;
    border-radius: 10px;
    background: white;
    display: none;
    position: absolute;
    width: 100%;
    z-index: 20;
}

.predictive-results li {
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.2s;
}

.predictive-results li:hover {
    background: #f5f5f5;
}
