/* Yakka Local SEO - Frontend Styles
 * Version: 2.0
 * Estilos para shortcodes: [yakka_address], [yakka_phone],
 * [yakka_whatsapp], [yakka_map], [yakka_hours], [yakka_locations]
 */

/* ── Address ─────────────────────────────────────────── */
.yakka-ls-address {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.yakka-ls-address .yakka-ls-street {
    font-weight: 600;
}

.yakka-ls-gmaps-link {
    display: inline-block;
    margin-top: 6px;
    color: #2271b1;
    text-decoration: none;
    font-size: 14px;
}

.yakka-ls-gmaps-link:hover {
    text-decoration: underline;
}

/* ── WhatsApp ────────────────────────────────────────── */
.yakka-ls-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
}

.yakka-ls-whatsapp-btn:hover {
    background: #1da851;
    text-decoration: none;
}

.yakka-ls-whatsapp-link {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
}

.yakka-ls-whatsapp-link:hover {
    text-decoration: underline;
}

/* ── Map ─────────────────────────────────────────────── */
.yakka-ls-map {
    margin: 20px 0;
}

.yakka-ls-map img {
    display: block;
    width: 100%;
    height: auto;
}

.yakka-ls-map-gmaps {
    margin-top: 8px;
    text-align: right;
}

.yakka-ls-map-error {
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

/* ── Hours ───────────────────────────────────────────── */
.yakka-ls-hours {
    margin: 20px 0;
}

.yakka-ls-hours-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
}

.yakka-ls-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.yakka-ls-hours-table th,
.yakka-ls-hours-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.yakka-ls-hours-table tr:last-child th,
.yakka-ls-hours-table tr:last-child td {
    border-bottom: none;
}

.yakka-ls-hours-table td:first-child {
    font-weight: 600;
    color: #555;
    width: 40%;
}

.yakka-ls-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.yakka-ls-hours-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.yakka-ls-hours-list li:last-child {
    border-bottom: none;
}

.yakka-ls-hours-list li strong {
    color: #555;
}

/* ── Locations ───────────────────────────────────────── */
.yakka-ls-locations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.yakka-ls-location-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.yakka-ls-location-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.yakka-ls-location-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.yakka-ls-location-title a {
    color: #2271b1;
    text-decoration: none;
}

.yakka-ls-location-title a:hover {
    text-decoration: underline;
}

.yakka-ls-location-address,
.yakka-ls-location-phone {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.yakka-ls-location-phone a {
    color: #2271b1;
    text-decoration: none;
}

.yakka-ls-location-phone a:hover {
    text-decoration: underline;
}

.yakka-ls-location-hours {
    margin-top: 12px;
}

.yakka-ls-location-map {
    margin-top: 15px;
}

.yakka-ls-location-gmaps {
    margin-top: 10px;
    font-size: 14px;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
    .yakka-ls-locations {
        grid-template-columns: 1fr;
    }

    .yakka-ls-hours-table td:first-child {
        width: 35%;
    }
}

/* Modificado por glm-5.2:cloud el 2026-09-28 */