/* ==========================================================================
   CUSTOM CSS: DISTRIBUIDORES (Desacoplado de main.css)
   ========================================================================== */

.aq-vendor-item {
    background-color: #ffffff;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aq-vendor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(92, 49, 140, 0.08);
}

.aq-vendor-thumb {
    position: relative;
    height: 120px;
    /* Actualizado para acomodar el degradado sólido */
    background-color: #F8F5FC;
}

/* Actualizado con el degradado corporativo exacto solicitado */
.aq-vendor-cover-gradient {
    position: absolute;
    inset: 0;
    height: 120px;
    width: 100%;
    background: linear-gradient(135deg, #613493 0%, #432169 100%);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.aq-vendor-content {
    padding: 0 30px 30px 30px;
    position: relative;
}

.aq-vendor-icon-wrap {
    margin-top: -35px;
    margin-bottom: 20px;
}

.aq-vendor-icon {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.aq-vendor-icon img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.aq-vendor-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.aq-vendor-title a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.aq-vendor-title a:hover {
    color: #613493;
}

/* Textos de contacto cambiados a color negro (#1A1A1A) */
.aq-vendor-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aq-vendor-contact-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #1A1A1A;
}

.aq-vendor-contact-info ul li span i {
    color: #613493;
    font-size: 16px;
    margin-top: 3px;
}

.aq-vendor-contact-info ul li a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.aq-vendor-contact-info ul li a:hover {
    color: #613493;
    text-decoration: underline;
}

.aq-dashboard-cta-bar-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #613493;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.aq-dashboard-cta-bar-btn:hover {
    background-color: #48266e;
    color: #ffffff;
}

.bg-purple {
    background-color: #613493 !important;
}

/* ==========================================================================
   ESTILOS DEL SELECTOR DE PROVINCIAS Y BUSCADOR
   ========================================================================== */

.aq-sidebar-select {
    min-width: 220px;
}

.aq-sidebar-search-input select.aq-custom-select {
    width: 100%;
    height: 50px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0 40px 0 20px;
    font-size: 14px;
    color: #1A1A1A;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    transition: all 0.3s ease;
}

.aq-sidebar-search-input select.aq-custom-select:focus {
    border-color: #613493;
}

.aq-sidebar-search-input input[type="text"] {
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 15px;
    line-height: 50px;
    border-radius: 6px;
    padding-inline-start: 20px;
    padding-inline-end: 50px;
    border: 1px solid #E0E0E0;
    color: #1A1A1A;
    background-color: #FFFFFF;
    box-shadow: 0 0 1px 0 rgba(20, 20, 20, 0.15);
    transition: border-color 0.3s ease;
}

.aq-sidebar-search-input input[type="text"]:focus {
    border-color: #613493;
}
