/* Layout com mapa à esquerda e grid à direita */
.lojas-layout {
    display: grid;
    grid-template-columns: 5fr 3fr;
    gap: 20px;
    align-items: stretch;
    height: 80vh;
}

@media screen and (max-width: 768px) {
    .lojas-layout {
        display: flex;
        flex-direction: column;
    }
}

/* Mapa ocupa metade da tela */
#lojas-map {
    height: 100%;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

/* Grid de cards */
.lojas-grid {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    overflow: auto;
    padding-top: 5px;
}

@media screen and (max-width: 768px) {
    .lojas-grid {
        display: flex;
        flex-direction: column;
    }
}

.loja-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
    
    display: flex;
    flex-direction: column;
}

.loja-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.loja-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card-title {
    margin: 10px 0;
    font-size: 2rem;
    font-weight: bold;
}

.loja-card p {
    margin: 5px 0;
    font-size: 14px;
}

.loja-card div:last-child {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

/* Link "Como chegar" */
.btn-maps {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: var(--ast-global-color-1);
    color: var(--ast-global-color-4);
    border-radius: 6px;
    font-size: 14px;
    transition: background .2s;
}

.btn-maps:hover, .btn-maps:focus {
    background-color: var(--ast-global-color-0);
    color: var(--ast-global-color-4);
}