﻿/* ===================================================================
   TIENDA CONTACTO PREMIUM v2
   Archivo: recursos/css/tienda/tienda-contacto-premium.css
   Diseño: una columna limpia, todo consistente
=================================================================== */

.tcontacto-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0 0 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ① BOTONES DE ACCIÓN — fila de chips compactos */
.tcontacto-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tcontacto-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.22s ease;
    border: none;
    flex-shrink: 0;
}

    .tcontacto-btn:hover {
        transform: translateY(-2px);
        text-decoration: none;
        filter: brightness(1.08);
    }

    .tcontacto-btn > i {
        font-size: 1.1rem;
        flex-shrink: 0;
    }

.tcontacto-btn-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.82;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.tcontacto-btn strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.1;
}

.tcontacto-btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.tcontacto-btn-tel {
    background: #8B1D1D;
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 29, 29, 0.25);
}

.tcontacto-btn-email {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.tcontacto-btn-reserva {
    background: #D4AF37;
    color: #fff;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

/* ② GRID: cuando hay mapa → 2 col, sin mapa → 1 col */
.tcontacto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

    .tcontacto-grid.tiene-mapa {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

/* DATOS — card unificada */
.tcontacto-datos {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.tcontacto-dato-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: background 0.15s ease;
}

    .tcontacto-dato-item:last-child {
        border-bottom: none;
    }

    .tcontacto-dato-item:hover {
        background: rgba(139, 29, 29, 0.02);
    }

.tcontacto-dato-icono {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: #fff;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tcontacto-icono-bordo {
    background: linear-gradient(145deg, #8B1D1D, #6d1717);
}

.tcontacto-icono-verde {
    background: linear-gradient(145deg, #059669, #047857);
}

.tcontacto-icono-azul {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
}

.tcontacto-icono-naranja {
    background: linear-gradient(145deg, #ea580c, #c2410c);
}

.tcontacto-icono-gris {
    background: linear-gradient(145deg, #475569, #334155);
}

.tcontacto-dato-body {
    flex: 1;
    min-width: 0;
}

.tcontacto-dato-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}

.tcontacto-dato-valor {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.tcontacto-dato-sub {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.12rem;
}

.tcontacto-dato-descripcion {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #475569;
    margin: 0.2rem 0 0 0;
    font-weight: 500;
}

.tcontacto-link-web {
    color: #2563eb !important;
    font-size: 0.85rem !important;
    text-decoration: none;
    word-break: break-all;
}

    .tcontacto-link-web:hover {
        text-decoration: underline;
    }

.tcontacto-dato-link {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(139, 29, 29, 0.07);
    color: #8B1D1D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.18s ease;
    align-self: center;
}

    .tcontacto-dato-link:hover {
        background: #8B1D1D;
        color: #fff;
    }

/* Horarios */
.tcontacto-horarios {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.2rem;
}

.tcontacto-horario-fila {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #374151;
}

    .tcontacto-horario-fila span {
        font-size: 0.7rem;
        color: #94a3b8;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        min-width: 52px;
    }

/* Redes sociales — dentro de la card */
.tcontacto-redes-section {
    padding: 1rem 1.25rem;
    background: #fafafa;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.tcontacto-redes-label {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.65rem;
}

.tcontacto-redes-flex {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tcontacto-red {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;
}

    .tcontacto-red:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
    }

.tcontacto-red-fb {
    background: #1877f2;
}

.tcontacto-red-ig {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.tcontacto-red-tt {
    background: #010101;
}

.tcontacto-red-tw {
    background: #1da1f2;
}

.tcontacto-red-ta {
    background: #34e0a1;
    color: #000 !important;
}

/* ③ MAPA — misma altura que datos, misma card */
.tcontacto-mapa-col {
    position: sticky;
    top: 1rem;
}

.tcontacto-mapa-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.tcontacto-mapa-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.tcontacto-mapa-kicker {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8B1D1D;
}

.tcontacto-mapa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    padding: 0.3rem 0.7rem;
    background: rgba(37, 99, 235, 0.07);
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition: all 0.18s ease;
}

    .tcontacto-mapa-btn:hover {
        background: #2563eb;
        color: #fff;
        border-color: #2563eb;
    }

    .tcontacto-mapa-btn i {
        font-size: 0.58rem;
    }

.tcontacto-mapa-embed {
    width: 100%;
    height: 300px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .tcontacto-grid.tiene-mapa {
        grid-template-columns: 1fr;
    }

    .tcontacto-mapa-col {
        position: static;
    }

    .tcontacto-mapa-embed {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .tcontacto-acciones {
        gap: 0.6rem;
    }

    .tcontacto-btn {
        padding: 0.65rem 1rem;
    }

        .tcontacto-btn strong {
            font-size: 0.82rem;
        }
}
