.tx-encuentranos-container {
    font-family: inherit;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tx-encuentranos-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tx-results-count {
    text-align: right;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 30px;
    font-weight: 500;
}

.tx-search-wrapper,
.tx-select-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.tx-search-wrapper input,
.tx-select-wrapper select {
    width: 100%;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 20px !important;
    padding-left: 45px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    line-height: 48px !important;
    color: #374151 !important;
    outline: none !important;
    transition: box-shadow 0.2s, border-color 0.2s;
    background: #fff !important;
    box-sizing: border-box;
    appearance: none;
    margin: 0 !important;
}

.tx-select-wrapper select {
    padding-left: 20px !important;
    cursor: pointer;
}

.tx-search-wrapper input:focus,
.tx-select-wrapper select:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.tx-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9ca3af;
}

/* Custom dropdown arrow */
.tx-select-wrapper::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #9ca3af;
    pointer-events: none;
}

.tx-encuentranos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.tx-local-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.tx-local-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.tx-local-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #fef2f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.tx-local-icon svg {
    width: 24px;
    height: 24px;
}

.tx-local-content {
    flex: 1;
}

.tx-local-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.tx-local-location {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.tx-no-results {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px dashed #d1d5db;
}

@media (max-width: 768px) {
    .tx-encuentranos-grid {
        grid-template-columns: 1fr;
    }
}

/* Pagination */
.tx-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.tx-pagination button {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    font-weight: 500;
}

.tx-pagination button:hover:not(:disabled):not(.active) {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #ef4444;
}

.tx-pagination button.active {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

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