/* ============================================================
   San Lorenzo - Lojas Premium Styles
   ============================================================ */

.sl-lojas-page {
    background-color: #F5F0E8;
    /* sl.bg */
    min-height: 100vh;
    padding-top: 8rem;
    /* pt-32 */
    padding-bottom: 6rem;
    /* pb-24 */
    position: relative;
    overflow: hidden;
}

.sl-container {
    max-width: 80rem;
    /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    z-index: 10;
}

/* Map Section */
.sl-map-section-full {
    width: 100%;
    margin-bottom: 1rem;
    display: block;
    position: relative;
    z-index: 5;
}

.sl-container-fluid {
    width: 100%;
    max-width: 100%;
    padding: 0 10rem;
}

/* Header Section */
.sl-page-header {
    text-align: center;
    max-width: 48rem;
    /* max-w-3xl */
    margin: 0 auto 4rem;
}

.sl-subtitle {
    font-family: "Satisfy", cursive;
    color: #e28869;
    /* sl.accent */
    font-size: 1.875rem;
    /* 3xl */
    margin-bottom: 0.5rem;
}

.sl-main-title {
    font-family: "Imbue", serif;
    font-style: italic;
    font-weight: 500;
    color: #2C3E2D;
    /* sl.primary */
    font-size: clamp(3rem, 8vw, 6rem);
    /* text-8xl */
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 2rem;
}

.sl-intro-text {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    color: #3D1F1A;
    /* sl.mid */
    font-size: 1.125rem;
    line-height: 1.625;
    max-width: 36rem;
    margin: 0 auto 3rem;
}

/* Store Filter */
.sl-filter-container {
    text-align: center;
}

.sl-filter-select {
    appearance: none;
    background: white;
    border: 1px solid rgba(230, 227, 225, 0.6);
    border-radius: 2rem;
    padding: 0.75rem 2.5rem 0.75rem 1.5rem;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1C1A15;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e28869' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    transition: all 400ms ease;
    box-shadow: 0 4px 12px rgba(61, 31, 26, 0.04);
}

.sl-filter-select:hover {
    border-color: #e28869;
    box-shadow: 0 8px 20px rgba(61, 31, 26, 0.08);
}

.sl-filter-select:focus {
    outline: none;
    border-color: #e28869;
    box-shadow: 0 0 0 3px rgba(226, 136, 105, 0.2);
}

/* Map Area */
.sl-map-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    margin-bottom: 5rem;
    overflow: visible;
    /* Permitir labels flutuantes */
}

.sl-map-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 2.65 / 1;
    /* Proporção exata gerada pelo dotted-map (159/60) */
    min-height: 300px;
    background: transparent;
}

.sl-map-wrapper svg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    shape-rendering: geometricPrecision;
    z-index: 1;
    overflow: visible;
    opacity: 0.45;
}

.sl-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: 10;
    /* Pins sempre acima do mapa */
}

/* Stores Grid */
.sl-stores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

/* Premium Card Style (Padrão do Site) */
.sl-store-card-premium {
    background: rgba(255, 255, 255, 0.7);
    /* white/70 */
    backdrop-filter: blur(12px);
    /* backdrop-blur-md */
    border-radius: 3rem;
    /* rounded-[3rem] */
    padding: 2.5rem;
    box-shadow: 0 10px 40px -15px rgba(61, 31, 26, 0.08);
    border: 1px solid rgba(230, 227, 225, 0.4);
    transition: all 700ms cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.sl-store-card-premium:hover {
    border-color: rgba(226, 136, 105, 0.3);
    /* sl.accent/30 */
    box-shadow: 0 20px 60px -15px rgba(61, 31, 26, 0.12);
    transform: translateY(-0.375rem);
}

.sl-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sl-card-line {
    width: 2.5rem;
    height: 1.5px;
    background-color: rgba(226, 136, 105, 0.4);
}

.sl-card-location-label {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.65rem;
    font-weight: 700;
    color: #e28869;
    /* sl.accent */
}

.sl-card-title-premium {
    font-family: "Imbue", serif;
    font-style: italic;
    font-size: 2.25rem;
    /* 4xl */
    color: #1C1A15;
    /* sl.dark */
    margin-bottom: 1.5rem;
    transition: color 500ms ease;
}

.sl-store-card-premium:hover .sl-card-title-premium {
    color: #e28869;
}

.sl-card-body-premium {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    color: rgba(44, 62, 45, 0.8);
    /* sl.primary/80 */
    line-height: 1.6;
    margin-bottom: 2rem;
}

.sl-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin: 0;
}

.sl-icon {
    font-size: 1.25rem;
    opacity: 0.7;
}

.sl-info-item a {
    color: inherit;
    text-decoration: none;
    transition: color 300ms ease;
}

.sl-info-item a:hover {
    color: #e28869;
}

/* Card Footer & Button */
.sl-card-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(230, 227, 225, 0.3);
}

.sl-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1C1A15;
    text-decoration: none;
    transition: all 300ms ease;
    position: relative;
    padding: 0.25rem 0;
}

.sl-btn-link:hover {
    color: #e28869;
}

.sl-btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #e28869;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sl-btn-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Empty/Mobile */
.sl-empty-state {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 3rem;
    padding: 4rem;
    text-align: center;
    font-family: "Roboto", sans-serif;
    color: #3D1F1A;
    font-size: 1.25rem;
    border: 1px solid #e6e3e1;
}

/* Responsive */
@media (max-width: 1024px) {
    .sl-stores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sl-lojas-page {
        padding-top: 5rem;
    }

    .sl-stores-grid {
        grid-template-columns: 1fr;
    }

    .sl-map-wrapper {
        aspect-ratio: 2.65 / 1;
        min-height: 200px;
    }

    .sl-store-card-premium {
        border-radius: 2rem;
        padding: 2rem;
    }
}