/* Showroom — sucursales home + modal (index, tienda, footer) */
.locales-showroom-widget {
    margin-bottom: 0;
}
.locales-showroom-widget--compact {
    min-height: 0;
}

/* CTAs home: ghost móvil, navy desktop */
.locales-home-cta--desktop {
    display: none;
}
@media (min-width: 768px) {
    .locales-showroom-widget:not(.locales-showroom-widget--compact) {
        min-height: 180px;
    }
    .locales-home-cta--mobile {
        display: none !important;
    }
    .locales-home-cta--desktop {
        display: flex;
    }
}

.locales-showroom-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.locales-showroom-hero:hover {
    box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.15);
}
.locales-showroom-photo {
    position: relative;
    min-height: 160px;
    background: linear-gradient(135deg, #1B263B 0%, #334155 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.locales-showroom-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.25) 42%, transparent 70%);
    pointer-events: none;
}
.locales-showroom-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}
.locales-showroom-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #fff;
    color: #1B263B;
    border: none;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.4);
}
.locales-showroom-badge i {
    color: #0E75AE;
}
.locales-showroom-body {
    padding: 1.15rem 1.25rem;
    background: #fff;
}
.locales-showroom-name {
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}
.locales-showroom-dist {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.locales-showroom-addr {
    font-size: 11px;
    color: #64748b;
    margin: 0.5rem 0 0;
    line-height: 1.45;
}
.locales-showroom-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    margin: 0.75rem 0;
}
.locales-showroom-hours i {
    color: #0E75AE;
}
.locales-showroom-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.locales-showroom-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 18px;
    border-radius: 12px;
    border: none;
    background: #1B263B;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.locales-showroom-btn-primary:hover {
    background: #0E75AE;
    color: #fff;
}
.locales-showroom-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 18px;
    text-decoration: none;
    flex-shrink: 0;
}
.locales-showroom-btn-wa:hover {
    background: #16a34a;
    color: #fff;
}

.locales-showroom-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-top: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.locales-showroom-thumb {
    flex: 0 0 120px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    background: #fff;
    padding: 0;
    text-align: left;
    font: inherit;
    transition: border-color 0.2s, transform 0.15s;
}
.locales-showroom-thumb:hover,
.locales-showroom-thumb.is-active {
    border-color: #0E75AE;
    transform: translateY(-2px);
}
.locales-showroom-thumb-photo {
    height: 72px;
    background-size: cover;
    background-position: center;
}
.locales-showroom-thumb-body {
    padding: 8px 10px;
}
.locales-showroom-thumb-body p {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.locales-showroom-thumb-body small {
    font-size: 9px;
    color: #64748b;
}

.locales-showroom-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.875rem 1.25rem;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: #1B263B;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.locales-showroom-cta:hover {
    background: #0E75AE;
}

@media (min-width: 768px) {
    .locales-showroom-hero {
        grid-template-columns: 1.1fr 1fr;
    }
    .locales-showroom-photo {
        min-height: 100%;
    }
}

/* Modal grid showroom */
.locales-showroom-modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 640px) {
    .locales-showroom-modal-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.locales-showroom-modal-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}
.locales-showroom-modal-card-photo {
    position: relative;
    height: 100px;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
}
.locales-showroom-modal-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.locales-showroom-modal-card-photo .locales-showroom-badge {
    position: absolute;
    bottom: 8px;
    left: 10px;
    padding: 4px 8px;
    font-size: 8px;
}
.locales-showroom-modal-card-body {
    padding: 12px;
}
.locales-showroom-modal-card-body h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 900;
    color: #0f172a;
}
.locales-showroom-modal-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}
.locales-showroom-modal-card-actions .locales-showroom-btn-primary {
    flex: 1;
    padding: 8px;
    font-size: 11px;
}
