.art-map-page {
display: flex;
flex-direction: row;
height: calc(100vh - var(--header-height-fixed, 4rem));
width: 100%;
overflow: hidden;
background: #fdfcf7;
} .page-mapa-espacios .art-main__container {
padding: 0 !important;
}
.art-map-page__wrapper {
padding: 0 !important;
border-radius: 0 !important;
background: #fdfcf7 !important;
display: flex;
flex-direction: column;
flex: 1;
} .art-map-page__sidebar {
width: 40%;
min-width: 320px;
max-width: 520px;
height: 100%;
display: flex;
flex-direction: column;
background: #fdfcf7;
border-right: 1px solid rgba(154, 99, 78, 0.1);
overflow: hidden;
position: relative;
z-index: 2;
} .art-map-page__filters {
padding: 1rem 1.25rem;
border-bottom: 1px solid rgba(154, 99, 78, 0.1);
background: #fbf9f1;
display: flex;
flex-direction: column;
gap: 0.75rem;
flex-shrink: 0;
}
.art-map-page__filters-row {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.art-map-page__filters-title {
font-family: var(--font-family-display, 'Manrope', sans-serif);
font-size: 1.25rem;
font-weight: 800;
color: #374151;
margin: 0;
letter-spacing: -0.01em;
}
.art-map-page__filters-count {
font-size: 0.8rem;
font-weight: 600;
color: var(--color-fondo-4, #9a634e);
background: rgba(154, 99, 78, 0.08);
padding: 0.2rem 0.6rem;
border-radius: 9999px;
} .art-map-page__list {
flex: 1;
overflow-y: auto;
padding: 1rem 1.25rem;
scrollbar-width: thin;
scrollbar-color: rgba(154, 99, 78, 0.2) transparent;
}
.art-map-page__list::-webkit-scrollbar {
width: 5px;
}
.art-map-page__list::-webkit-scrollbar-track {
background: transparent;
}
.art-map-page__list::-webkit-scrollbar-thumb {
background: rgba(154, 99, 78, 0.2);
border-radius: 10px;
}
.art-map-page__list::-webkit-scrollbar-thumb:hover {
background: rgba(154, 99, 78, 0.35);
} .art-map-page__grid {
display: grid;
grid-template-columns: 1fr;
gap: 0.75rem;
} .art-map-card {
display: flex;
flex-direction: row;
background: #fbf9f1;
border: 1px solid rgba(154, 99, 78, 0.1);
border-radius: 0.75rem;
overflow: hidden;
text-decoration: none !important;
color: inherit !important;
transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
cursor: pointer;
height: 100px;
}
.art-map-card:hover,
.art-map-card--active {
border-color: var(--color-fondo-4, #9a634e);
box-shadow: 0 8px 20px rgba(154, 99, 78, 0.12);
transform: translateY(-1px);
}
.art-map-card--highlighted {
border-color: var(--color-fondo-4, #9a634e);
box-shadow: 0 0 0 2px rgba(154, 99, 78, 0.3), 0 8px 20px rgba(154, 99, 78, 0.15);
background: #faf6ea;
} .art-map-card__img {
width: 120px;
min-width: 120px;
height: 100%;
object-fit: cover;
flex-shrink: 0;
} .art-map-card__body {
padding: 0.75rem 1rem;
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.25rem;
flex: 1;
min-width: 0;
}
.art-map-card__name {
font-family: var(--font-family-display, 'Manrope', sans-serif);
font-size: 0.9rem;
font-weight: 700;
color: #374151;
line-height: 1.3;
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.art-map-card__meta {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.75rem;
color: #6b7280;
margin-top: 0.15rem;
}
.art-map-card__type-badge {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.15rem 0.5rem;
border-radius: 4px;
font-size: 0.65rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.art-map-card__type-badge--galeria {
background: rgba(154, 99, 78, 0.12);
color: #9a634e;
}
.art-map-card__type-badge--museo {
background: rgba(55, 65, 81, 0.1);
color: #374151;
}
.art-map-card__type-badge--teatro {
background: rgba(180, 83, 9, 0.1);
color: #b45309;
}
.art-map-card__link {
font-size: 0.7rem;
font-weight: 700;
color: var(--color-fondo-4, #9a634e);
display: inline-flex;
align-items: center;
gap: 0.25rem;
margin-top: 0.25rem;
text-decoration: none;
transition: gap 0.2s ease;
}
.art-map-card:hover .art-map-card__link {
gap: 0.4rem;
} .art-map-page__empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem 1.5rem;
text-align: center;
color: #6b7280;
}
.art-map-page__empty i {
font-size: 2.5rem;
color: rgba(154, 99, 78, 0.3);
margin-bottom: 1rem;
}
.art-map-page__empty-title {
font-family: var(--font-family-display, 'Manrope', sans-serif);
font-size: 1.1rem;
font-weight: 700;
color: #374151;
margin-bottom: 0.35rem;
}
.art-map-page__empty-text {
font-size: 0.85rem;
color: #9ca3af;
} .art-map-page__load-more {
display: flex;
justify-content: center;
padding: 1rem 0 0.5rem;
}
.art-map-page__load-more-btn {
background: var(--color-fondo-1, #f4ecd0);
color: var(--color-fondo-4, #9a634e);
border: 1px solid rgba(154, 99, 78, 0.25);
padding: 0.55rem 1.5rem;
border-radius: 9999px;
font-size: 0.8rem;
font-weight: 700;
cursor: pointer;
transition: all 0.2s ease;
}
.art-map-page__load-more-btn:hover {
background: var(--color-fondo-4, #9a634e);
color: #fff;
border-color: var(--color-fondo-4, #9a634e);
} .art-map-page__map-wrap {
flex: 1;
height: 100%;
position: relative;
z-index: 1;
}
.art-map-page__map {
width: 100%;
height: 100% !important;
} .art-map-page .leaflet-popup-content-wrapper,
.art-map-page .leaflet-popup-tip {
background-color: #fdfcf7 !important;
color: #374151 !important;
box-shadow: 0 10px 25px -5px rgba(30, 28, 17, 0.25) !important;
border: 1px solid rgba(154, 99, 78, 0.15) !important;
}
.art-map-page .leaflet-popup-content h3 {
color: #374151 !important;
}
.art-map-page .leaflet-popup-close-button {
color: #9a634e !important;
} .art-map-page .filtro-capsula {
position: relative;
}
.art-map-page .capsula-btn {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.45rem 0.85rem;
border-radius: 9999px;
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
border: 1px solid rgba(154, 99, 78, 0.25);
transition: all 0.2s ease;
white-space: nowrap;
}
.art-map-page .capsula-btn--primary {
background: var(--color-fondo-1, #f4ecd0);
color: #374151;
}
.art-map-page .capsula-btn--primary:hover {
background: var(--color-fondo-2, #e1d9c0);
border-color: rgba(154, 99, 78, 0.4);
}
.art-map-page .capsula-btn--reset {
background: transparent;
color: #9a634e;
border-color: rgba(154, 99, 78, 0.25);
}
.art-map-page .capsula-btn--reset:hover {
background: rgba(154, 99, 78, 0.08);
}
.art-map-page .capsula-btn--reset.is-hidden {
display: none;
}
.art-map-page .dropdown-bubble {
position: absolute;
top: calc(100% + 0.5rem);
left: 0;
background: #fdfcf7;
border: 1px solid rgba(154, 99, 78, 0.15);
border-radius: 0.75rem;
box-shadow: 0 20px 40px -8px rgba(30, 28, 17, 0.2);
z-index: 1000;
max-height: 350px;
overflow: hidden;
display: flex;
flex-direction: column;
opacity: 0;
pointer-events: none;
transform: translateY(-4px);
transition: opacity 0.2s ease, transform 0.2s ease;
}
.art-map-page .dropdown-bubble.is-active {
opacity: 1;
pointer-events: auto;
transform: translateY(0);
}
.art-map-page .dropdown-bubble__header {
padding: 0.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
flex-shrink: 0;
}
.art-map-page .dropdown-bubble__search-input {
width: 100%;
padding: 0.45rem 0.75rem;
border: 1px solid rgba(154, 99, 78, 0.2);
border-radius: 0.5rem;
font-size: 0.8rem;
background: #fbf9f1;
color: #374151;
outline: none;
transition: border-color 0.2s ease;
}
.art-map-page .dropdown-bubble__search-input:focus {
border-color: var(--color-fondo-4, #9a634e);
}
.art-map-page .dropdown-bubble__list,
.art-map-page .dropdown-bubble__list--tipos {
overflow-y: auto;
flex: 1;
padding: 0.35rem;
}
.art-map-page .dropdown-bubble__search-info {
padding: 0.5rem 0.75rem;
font-size: 0.75rem;
color: #9ca3af;
font-weight: 500;
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.art-map-page .dropdown-bubble__empty {
padding: 1.5rem;
text-align: center;
font-size: 0.85rem;
color: #9ca3af;
} .art-map-page .ciudad-item {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.5rem 0.6rem;
border-radius: 0.5rem;
cursor: pointer;
transition: background 0.15s ease;
}
.art-map-page .ciudad-item:hover {
background: rgba(154, 99, 78, 0.06);
}
.art-map-page .ciudad-imagen {
width: 36px;
height: 36px;
border-radius: 0.4rem;
object-fit: cover;
flex-shrink: 0;
}
.art-map-page .ciudad-imagen-placeholder {
width: 36px;
height: 36px;
border-radius: 0.4rem;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.85rem;
font-weight: 700;
flex-shrink: 0;
}
.art-map-page .ciudad-info {
flex: 1;
min-width: 0;
}
.art-map-page .ciudad-nombre {
font-size: 0.85rem;
font-weight: 600;
color: #374151;
line-height: 1.2;
}
.art-map-page .ciudad-contador {
font-size: 0.7rem;
color: #9ca3af;
}
.art-map-page .ciudad-chevron {
font-size: 0.7rem;
color: #d1d5db;
flex-shrink: 0;
} .art-map-page .tipo-item {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.55rem 0.6rem;
border-radius: 0.5rem;
cursor: pointer;
transition: background 0.15s ease;
}
.art-map-page .tipo-item:hover {
background: rgba(154, 99, 78, 0.06);
}
.art-map-page .tipo-item.active {
background: rgba(154, 99, 78, 0.08);
}
.art-map-page .tipo-icon {
width: 32px;
height: 32px;
border-radius: 0.4rem;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.85rem;
flex-shrink: 0;
}
.art-map-page .tipo-info {
flex: 1;
}
.art-map-page .tipo-nombre {
font-size: 0.85rem;
font-weight: 600;
color: #374151;
}
.art-map-page .tipo-contador {
font-size: 0.7rem;
color: #9ca3af;
}
.art-map-page .tipo-check {
width: 20px;
height: 20px;
border-radius: 50%;
border: 2px solid #d1d5db;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.6rem;
color: transparent;
transition: all 0.2s ease;
}
.art-map-page .tipo-check.active {
background: var(--color-fondo-4, #9a634e);
border-color: var(--color-fondo-4, #9a634e);
color: #fff;
} .art-map-page .ciudad-breadcrumb {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.6rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
margin-bottom: 0.25rem;
}
.art-map-page .ciudad-back-btn {
display: inline-flex;
align-items: center;
gap: 0.3rem;
font-size: 0.75rem;
font-weight: 600;
color: var(--color-fondo-4, #9a634e);
background: none;
border: none;
cursor: pointer;
padding: 0.2rem 0;
flex-shrink: 0;
}
.art-map-page .ciudad-breadcrumb-path {
font-size: 0.7rem;
color: #9ca3af;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} .art-map-marker {
width: 34px;
height: 34px;
border-radius: 50% 50% 50% 0;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 0.85rem;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
transform: rotate(-45deg);
transition: transform 0.2s ease;
}
.art-map-marker i {
transform: rotate(45deg);
}
.art-map-marker--galeria {
background: linear-gradient(135deg, #b47a5f, #9a634e);
}
.art-map-marker--museo {
background: linear-gradient(135deg, #4b5563, #374151);
}
.art-map-marker--teatro {
background: linear-gradient(135deg, #d97706, #b45309);
} .art-map-cluster {
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: 0.85rem;
color: #fff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.art-map-cluster--small {
background: linear-gradient(135deg, #b47a5f, #9a634e);
width: 36px;
height: 36px;
}
.art-map-cluster--medium {
background: linear-gradient(135deg, #8b5e3c, #7a4f35);
width: 42px;
height: 42px;
font-size: 0.9rem;
}
.art-map-cluster--large {
background: linear-gradient(135deg, #6b4226, #5a3720);
width: 50px;
height: 50px;
font-size: 1rem;
} @keyframes mapCardFadeIn {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.art-map-card--animate {
animation: mapCardFadeIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) both;
} .art-map-card--skeleton {
display: flex;
flex-direction: row;
background: #fbf9f1;
border: 1px solid rgba(154, 99, 78, 0.08);
border-radius: 0.75rem;
overflow: hidden;
height: 100px;
}
.art-map-card--skeleton .skeleton-img {
width: 120px;
min-height: 100px;
background: linear-gradient(90deg, #f0ece0 25%, #e8e2d4 50%, #f0ece0 75%);
background-size: 200% 100%;
animation: skeletonShimmer 1.5s infinite;
}
.art-map-card--skeleton .skeleton-body {
flex: 1;
padding: 0.75rem 1rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
justify-content: center;
}
.art-map-card--skeleton .skeleton-line {
height: 0.8rem;
background: linear-gradient(90deg, #f0ece0 25%, #e8e2d4 50%, #f0ece0 75%);
background-size: 200% 100%;
animation: skeletonShimmer 1.5s infinite;
border-radius: 4px;
}
.art-map-card--skeleton .skeleton-line--short {
width: 50%;
}
@keyframes skeletonShimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
} .art-map-link-btn {
display: inline-flex;
align-items: center;
gap: 0.6rem;
background-color: var(--color-fondo-4, #9a634e);
color: #ffffff;
font-family: var(--font-family-base, 'Inter', sans-serif);
font-weight: 700;
font-size: 0.95rem;
padding: 0.8rem 1.8rem;
border-radius: 50px;
text-decoration: none;
box-shadow: 0 10px 15px -3px rgba(154, 99, 78, 0.3);
transition: all 0.3s ease;
}
.art-map-link-btn:hover {
transform: translateY(-2px);
box-shadow: 0 15px 20px -3px rgba(154, 99, 78, 0.4);
background-color: #83523f;
color: #ffffff;
}
.art-map-link-wrapper {
margin: 1.5rem 0;
display: flex;
justify-content: center;
} @media (max-width: 1023px) and (min-width: 768px) {
.art-map-page__sidebar {
width: 45%;
min-width: 280px;
max-width: 400px;
}
} @media (max-width: 767px) {
.art-map-page {
flex-direction: column-reverse;
}
.art-map-page__sidebar {
width: 100%;
max-width: none;
min-width: 0;
height: 55%;
border-right: none;
border-top: 1px solid rgba(154, 99, 78, 0.1);
}
.art-map-page__map-wrap {
height: 45%;
width: 100%;
}
.art-map-page__filters {
padding: 0.75rem 1rem;
}
.art-map-page__filters-row {
gap: 0.35rem;
}
.art-map-page .capsula-btn {
font-size: 0.75rem;
padding: 0.35rem 0.65rem;
}
.art-map-card__img {
width: 90px;
min-width: 90px;
}
.art-map-card__body {
padding: 0.6rem 0.75rem;
}
.art-map-card__name {
font-size: 0.82rem;
}
.art-map-page .dropdown-bubble {
left: -0.5rem;
right: -0.5rem;
min-width: unset !important;
max-width: unset !important;
}
}