/*
 * Marketplace Ads Pro - Frontend Styles
 * Совместимо с темой Hestia Pro
 */

/* === БАЗОВЫЕ СТИЛИ === */
.map-marketplace-container,
.map-company-profile {
    font-family: inherit;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* === КНОПКИ === */
.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--hestia-primary-color, #9c27b0);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.map-btn:hover {
    background: rgba(156, 39, 176, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #fff;
    text-decoration: none;
}

.map-btn-secondary {
    background: #fff;
    color: var(--hestia-primary-color, #9c27b0);
    border: 2px solid var(--hestia-primary-color, #9c27b0);
}

.map-btn-secondary:hover {
    background: var(--hestia-primary-color, #9c27b0);
    color: #fff;
}

.map-btn-outline {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.map-btn-outline:hover {
    background: #f8f9fa;
    color: #333;
    border-color: #ccc;
}

.map-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* === HERO СЕКЦИЯ === */
.map-hero-section {
    background: linear-gradient(135deg, var(--hestia-primary-color, #9c27b0) 0%, #673ab7 100%);
    color: #fff;
    padding: 80px 0;
    margin-bottom: 60px;
}

.map-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.map-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.map-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* === ПОИСК === */
.map-search-form {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.map-search-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: start;
}

.map-search-field {
    position: relative;
}

.map-search-field input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.map-search-field input:focus {
    outline: none;
    border-color: var(--hestia-primary-color, #9c27b0);
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

.map-search-btn {
    padding: 16px 32px;
    background: var(--hestia-primary-color, #9c27b0);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: fit-content;
}

.map-search-btn:hover {
    background: rgba(156, 39, 176, 0.9);
    transform: translateY(-1px);
}

.map-search-filters {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}

.map-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #666;
}

.map-filter-checkbox input[type="checkbox"] {
    margin: 0;
}

#map-sort-select {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #666;
}

/* === АВТОКОМПЛИТ === */
.map-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.ui-autocomplete {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

.ui-menu-item {
    padding: 8px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
}

.ui-menu-item:hover {
    background: #f8f9fa;
}

.ui-state-active {
    background: var(--hestia-primary-color, #9c27b0);
    color: #fff;
}

/* === ПОПУЛЯРНЫЕ КАТЕГОРИИ === */
.map-categories-section {
    margin-bottom: 60px;
}

.map-categories-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

.map-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.map-category-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.map-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
}

.map-category-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--hestia-primary-color, #9c27b0);
}

.map-category-count {
    color: #666;
    font-size: 0.9rem;
}

/* === РЕЗУЛЬТАТЫ ПОИСКА === */
.map-results-section {
    margin-bottom: 60px;
}

.map-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.map-results-info h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.map-results-count {
    color: #666;
    font-size: 0.95rem;
}

.map-view-toggle {
    display: flex;
    gap: 8px;
}

.map-view-btn {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-view-btn.active,
.map-view-btn:hover {
    background: var(--hestia-primary-color, #9c27b0);
    color: #fff;
    border-color: var(--hestia-primary-color, #9c27b0);
}

/* === АКТИВНЫЕ ФИЛЬТРЫ === */
.map-active-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.map-filters-label {
    font-weight: 600;
    color: #666;
}

.map-filters-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.map-filter-tag {
    background: var(--hestia-primary-color, #9c27b0);
    color: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-filter-remove {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.map-clear-filters {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* === КОМПАНИИ СЕТКА === */
.map-companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.map-companies-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.map-companies-list .map-company-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: start;
}

/* === КАРТОЧКА КОМПАНИИ === */
.map-company-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #f1f3f4;
    transition: all 0.3s ease;
    position: relative;
}

.map-company-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.map-company-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.map-company-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.map-company-title a {
    color: #333;
    text-decoration: none;
}

.map-company-title a:hover {
    color: var(--hestia-primary-color, #9c27b0);
}

.map-featured-badge {
    background: #ffc107;
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.map-company-info {
    margin-bottom: 16px;
}

.map-company-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.map-company-location,
.map-company-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.map-company-location .dashicons,
.map-company-phone .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.map-company-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.map-company-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.map-service-tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.map-company-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.map-company-plan {
    display: flex;
    gap: 8px;
}

.map-plan-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.map-plan-basic { background: #6c757d; color: #fff; }
.map-plan-standard { background: #17a2b8; color: #fff; }
.map-plan-premium { background: #ffc107; color: #333; }
.map-plan-enterprise { background: #28a745; color: #fff; }

.map-company-actions {
    display: flex;
    gap: 8px;
}

.map-view-btn,
.map-call-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-view-btn {
    background: var(--hestia-primary-color, #9c27b0);
    color: #fff;
}

.map-call-btn {
    background: #28a745;
    color: #fff;
}

.map-company-stats {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.8rem;
    color: #999;
}

/* === ЗВЕЗДЫ РЕЙТИНГА === */
.map-stars,
.map-stars-large,
.map-stars-interactive {
    display: inline-flex;
    gap: 2px;
}

.map-stars::before,
.map-stars-large::before {
    content: '★★★★★';
    background: linear-gradient(to right, #ffc107 var(--rating-percent, 0%), #e9ecef var(--rating-percent, 0%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1rem;
}

.map-stars-large::before {
    font-size: 1.5rem;
}

.map-stars-interactive span {
    color: #e9ecef;
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.map-stars-interactive span:hover,
.map-stars-interactive span.active {
    color: #ffc107;
}

.map-rating-text {
    color: #666;
    font-size: 0.9rem;
    margin-left: 8px;
}

/* === ПАГИНАЦИЯ === */
.map-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.map-page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-page-btn:hover:not(:disabled) {
    background: var(--hestia-primary-color, #9c27b0);
    color: #fff;
    border-color: var(--hestia-primary-color, #9c27b0);
}

.map-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.map-page-numbers {
    display: flex;
    gap: 8px;
}

.map-page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-page-number.active,
.map-page-number:hover {
    background: var(--hestia-primary-color, #9c27b0);
    color: #fff;
    border-color: var(--hestia-primary-color, #9c27b0);
}

/* === ГОРОДА === */
.map-cities-section {
    margin-bottom: 60px;
}

.map-cities-section h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
    color: #333;
}

.map-cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.map-city-link {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
}

.map-city-link:hover {
    background: var(--hestia-primary-color, #9c27b0);
    color: #fff;
    border-color: var(--hestia-primary-color, #9c27b0);
    text-decoration: none;
}

.map-city-count {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* === ПРОФИЛЬ КОМПАНИИ === */
.map-breadcrumbs {
    background: #f8f9fa;
    padding: 16px 0;
    margin-bottom: 32px;
}

.map-breadcrumb-nav {
    font-size: 0.9rem;
    color: #666;
}

.map-breadcrumb-nav a {
    color: var(--hestia-primary-color, #9c27b0);
    text-decoration: none;
}

.map-breadcrumb-nav a:hover {
    text-decoration: underline;
}

.map-breadcrumb-separator {
    margin: 0 8px;
}

.map-company-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin-bottom: 60px;
}

.map-company-title-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.map-company-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.map-company-rating-large {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.map-company-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.map-meta-item a {
    color: var(--hestia-primary-color, #9c27b0);
    text-decoration: none;
}

.map-meta-item a:hover {
    text-decoration: underline;
}

.map-company-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.map-profile-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.map-section {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #f1f3f4;
    margin-bottom: 32px;
}

.map-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #333;
}

.map-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* === ГАЛЕРЕЯ === */
.map-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.map-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.map-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.map-gallery-item:hover img {
    transform: scale(1.05);
}

/* === ОТЗЫВЫ === */
.map-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.map-review-item {
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 16px;
}

.map-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.map-reviewer-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.map-reviewer-name {
    font-weight: 600;
    color: #333;
}

.map-review-date {
    color: #666;
    font-size: 0.9rem;
}

.map-review-content {
    color: #666;
    line-height: 1.6;
}

/* === БОКОВАЯ ПАНЕЛЬ === */
.map-sidebar-section {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f1f3f4;
    margin-bottom: 24px;
}

.map-sidebar-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.map-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.map-contact-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.map-contact-value {
    color: #333;
    text-decoration: none;
}

.map-contact-value:hover {
    color: var(--hestia-primary-color, #9c27b0);
    text-decoration: underline;
}

.map-working-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
}

.map-working-hours h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.map-stats-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.map-stat-item {
    text-align: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.map-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hestia-primary-color, #9c27b0);
    margin-bottom: 4px;
}

.map-stat-label {
    font-size: 0.85rem;
    color: #666;
}

/* === МОДАЛЬНЫЕ ОКНА === */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.map-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.map-modal-large {
    max-width: 800px;
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #f1f3f4;
    margin-bottom: 24px;
}

.map-modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.map-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.map-modal-close:hover {
    background: #f1f3f4;
    color: #333;
}

.map-modal-body {
    padding: 0 24px 24px;
}

.map-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #f1f3f4;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

/* === ФОРМЫ === */
.map-form-row {
    margin-bottom: 20px;
}

.map-form-row label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.map-form-row input,
.map-form-row textarea,
.map-form-row select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.map-form-row input:focus,
.map-form-row textarea:focus,
.map-form-row select:focus {
    outline: none;
    border-color: var(--hestia-primary-color, #9c27b0);
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

.map-rating-select {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* === ПОДЕЛИТЬСЯ === */
.map-share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.map-share-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-share-btn:hover {
    background: #e9ecef;
    text-decoration: none;
    color: #333;
}

.map-share-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

/* === ЗАГРУЗКА === */
.map-loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.map-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f1f3f4;
    border-top: 4px solid var(--hestia-primary-color, #9c27b0);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.map-no-data,
.map-error {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-style: italic;
}

.map-error {
    color: #dc3545;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1200px) {
    .map-profile-layout {
        grid-template-columns: 1fr 280px;
        gap: 32px;
    }
}

@media (max-width: 992px) {
    .map-hero-title {
        font-size: 2.5rem;
    }
    
    .map-search-fields {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .map-search-btn {
        grid-column: 1 / -1;
        justify-self: center;
        width: fit-content;
    }
    
    .map-companies-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .map-profile-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .map-company-title-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .map-company-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .map-hero-section {
        padding: 60px 0;
    }
    
    .map-hero-title {
        font-size: 2rem;
    }
    
    .map-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .map-search-form {
        padding: 24px;
    }
    
    .map-search-fields {
        grid-template-columns: 1fr;
    }
    
    .map-search-filters {
        flex-direction: column;
        gap: 12px;
    }
    
    .map-categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
    
    .map-companies-grid {
        grid-template-columns: 1fr;
    }
    
    .map-results-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .map-company-name {
        font-size: 2rem;
    }
    
    .map-section {
        padding: 24px;
    }
    
    .map-pagination {
        flex-direction: column;
        gap: 12px;
    }
    
    .map-page-numbers {
        order: -1;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    
    .map-hero-section {
        padding: 40px 0;
    }
    
    .map-hero-title {
        font-size: 1.75rem;
    }
    
    .map-search-form {
        padding: 20px;
    }
    
    .map-company-card {
        padding: 20px;
    }
    
    .map-section {
        padding: 20px;
    }
    
    .map-modal-content {
        margin: 10px;
        max-width: none;
    }
    
    .map-share-options {
        grid-template-columns: 1fr;
    }
} 