/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Template: twentytwentyfive
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Tags: one-column,custom-colors,custom-menu,custom-logo,editor-style,featured-images,full-site-editing,block-patterns,rtl-language-support,sticky-post,threaded-comments,translation-ready,wide-blocks,block-styles,style-variations,accessibility-ready,blog,portfolio,news
Version: 1.3.1753194622
Updated: 2025-07-22 15:30:22

*/

/* ========================================
   CSS para Centro Block - CanariasBeauty.com
   Añadir este CSS al style.css del tema
   ======================================== */

/* Variables de colores */
:root {
    --color-fondo: #F8F9FA;
    --color-texto: #1E2A38;
    --color-resalto-1: #00A5C3;
    --color-resalto-2: #7BD3E0;
    --color-contraste: #FFC300;
}

/* Estilos generales */
.centro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
}

/* La imagen principal a ancho completo */
.centro-header .portada-container {
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* Cabecera y portada */
.centro-header {
    margin-bottom: 20px;
}

.portada-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}

.portada-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-info-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-container {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background-color: white;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.info-basica {
    flex-grow: 1;
}

.centro-title {
    font-size: 1.8rem;
    margin: 0 0 8px;
    line-height: 1.2;
    color: var(--color-texto);
}

.direccion-basica {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.como-llegar-link {
    color: var(--color-resalto-1);
    text-decoration: none;
}

.como-llegar-link:hover {
    text-decoration: underline;
}

/* Sistema de valoraciones con estrellas */
.valoracion-estrellas {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 12px;
    font-size: 0.9rem;
}

.estrella-container {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
}

.estrella-vacia,
.estrella-llena {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 14px;
    line-height: 14px;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.estrella-vacia {
    color: #e0e0e0;
    z-index: 1;
}

.estrella-llena {
    color: #ffc107;
    overflow: hidden;
    z-index: 2;
}

.valoracion-texto {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    margin-left: 4px;
}

/* Taxonomías */
.taxonomias-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.categoria-tag {
    background-color: var(--color-resalto-1);
    color: white;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.etiqueta-tag {
    background-color: var(--color-resalto-2);
    color: var(--color-texto);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.estado-contacto-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

/* Estado de apertura con enlace */
.estado-apertura-link {
    text-decoration: none;
    display: inline-block;
}

.estado-apertura-link:hover .estado-apertura {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Estado de apertura */
.estado-apertura {
    padding: 6px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.estado-abierto {
    background-color: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
}

.estado-cierra_pronto {
    background-color: rgba(255, 152, 0, 0.15);
    color: #ef6c00;
}

.estado-cerrado {
    background-color: rgba(244, 67, 54, 0.15);
    color: #d32f2f;
}

/* Secciones generales */
.centro-main {
    margin-bottom: 30px;
}

.descripcion-section, .contacto-basico, .redes-sociales-section,
.localizacion-section, .galeria-section, .horario-section,
.reservar-section {
    margin-bottom: 20px;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.descripcion-section h3, .redes-sociales-section h3,
.localizacion-section h3, .galeria-section h3, .horario-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-texto);
    border-bottom: 2px solid var(--color-resalto-2);
    padding-bottom: 10px;
}

/* Features premium */
.premium-feature {
    position: relative;
}

.premium-feature::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-resalto-1), var(--color-resalto-2), var(--color-contraste));
    border-radius: 14px;
    z-index: -1;
    opacity: 0.3;
}

/* Botones principales */
.botones-principales {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Botón ver teléfono */
.ver-telefono-btn {
    background-color: var(--color-contraste);
    color: var(--color-texto);
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    flex: 1;
    justify-content: center;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(255, 195, 0, 0.3);
}

.ver-telefono-btn:hover {
    background-color: #e6b000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 195, 0, 0.4);
}

/* Reservar button */
.reservar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-resalto-1), var(--color-resalto-2));
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 165, 195, 0.3);
    flex: 1;
    min-width: 200px;
}

.reservar-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 165, 195, 0.4);
    color: white;
}

/* Contacto básico */
.contacto-basico {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.whatsapp-btn, .web-btn, .email-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
}

.web-btn {
    background-color: var(--color-resalto-1);
    color: white;
}

.web-btn:hover {
    background-color: #007a94;
    color: white;
}

.email-btn {
    background-color: #6c757d;
    color: white;
}

.email-btn:hover {
    background-color: #545b62;
    color: white;
}

/* Descripción */
.descripcion-content {
    line-height: 1.6;
    color: var(--color-texto);
}

/* Redes sociales */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.social-link i {
    font-size: 24px;
    color: #555;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-link.facebook:hover {
    background-color: #1877F2;
}

.social-link.tiktok:hover {
    background-color: #000;
}

.social-link.youtube:hover {
    background-color: #FF0000;
}

.social-link.x:hover {
    background-color: #000;
}

.social-link.bluesky:hover {
    background-color: #00bcd4;
}

.social-link:hover i {
    color: white;
}

/* Mapa */
.leaflet-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.direccion-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.direccion-texto {
    margin: 0;
    flex-grow: 1;
    font-size: 0.9rem;
    color: #666;
}

.como-llegar-btn {
    display: inline-block;
    background-color: var(--color-resalto-1);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.como-llegar-btn:hover {
    background-color: #007a94;
    color: white;
}

/* Horario */
.horario-content {
    width: 100%;
}

.horario-tabla {
    width: 100%;
    border-collapse: collapse;
}

.horario-tabla tr {
    border-bottom: 1px solid #f0f0f0;
}

.horario-tabla tr:last-child {
    border-bottom: none;
}

.horario-tabla td {
    padding: 12px 8px;
}

.dia-nombre {
    display: flex;
    align-items: center;
}

.horario-tabla .horas {
    text-align: right;
}

.horario-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.horario-abierto {
    background-color: #4CAF50;
}

.horario-cerrado {
    background-color: #9E9E9E;
}

.dia-actual {
    background-color: rgba(0, 165, 195, 0.1);
    font-weight: bold;
}

.dia-actual td {
    color: var(--color-resalto-1);
}

/* Galería como Slider */
.galeria-slider {
    position: relative;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.galeria-slides {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
}

.galeria-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 1;
    transform: translateX(0);
}

.galeria-slide:first-child {
    display: block;
}

.galeria-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.galeria-imagen:hover {
    transform: scale(1.05);
}

.galeria-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--color-texto);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.galeria-nav:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.galeria-prev {
    left: 15px;
}

.galeria-next {
    right: 15px;
}

.galeria-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.galeria-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.galeria-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Lightbox */
.lightbox-container {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 10px 0;
}

.lightbox-counter {
    margin: auto;
    display: block;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
    padding: 5px 0;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    padding: 20px;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-close:hover, .lightbox-nav:hover {
    color: #bbb;
    text-decoration: none;
}

/* Popup teléfono */
.popup-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s;
}

.popup-close:hover {
    color: #000;
}

.popup-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.popup-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.popup-info {
    flex-grow: 1;
}

.popup-header h4 {
    margin: 0 0 5px 0;
    color: var(--color-texto);
    font-size: 1.3rem;
    line-height: 1.2;
}

.popup-direccion {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.3;
}

.popup-taxonomias {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.popup-contacto {
    margin-bottom: 25px;
}

.popup-contacto-line {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.popup-telefono, .popup-whatsapp {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    flex: 1;
    min-width: 150px;
}

.popup-telefono i, .popup-whatsapp i {
    font-size: 20px;
    width: 25px;
    text-align: center;
}

.popup-telefono i {
    color: var(--color-resalto-1);
}

.popup-whatsapp i {
    color: #25D366;
}

.popup-telefono a, .popup-whatsapp a {
    color: var(--color-texto);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.popup-telefono a:hover, .popup-whatsapp a:hover {
    color: var(--color-resalto-1);
}

.popup-mensaje {
    margin: 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    padding: 10px;
    background-color: rgba(0, 165, 195, 0.05);
    border-radius: 6px;
}

/* CORREGIDO: Popup mensaje en negrita también en móvil */
.popup-mensaje strong {
    font-weight: 700 !important;
}

.popup-publicidad {
    background-color: var(--color-fondo);
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #999;
    font-style: italic;
}

/* Media queries para responsive */
@media (min-width: 768px) {
    .portada-container {
        height: 350px;
    }

    .centro-title {
        font-size: 2.2rem;
    }

    .logo-container {
        width: 100px;
        height: 100px;
    }

    .contacto-basico {
        grid-template-columns: repeat(3, 1fr);
    }

    .galeria-slides {
        height: 350px;
    }

    .leaflet-map {
        height: 400px;
    }

    .botones-principales {
        flex-direction: row;
    }

    .ver-telefono-btn, .reservar-btn {
        flex: 1;
    }

    .popup-contacto-line {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .botones-principales {
        flex-direction: column;
    }

    .ver-telefono-btn {
        order: 1;
        min-width: auto;
    }

    .reservar-btn {
        order: 2;
    }

    .popup-contacto-line {
        flex-direction: column;
        gap: 10px;
    }

    .popup-telefono, .popup-whatsapp {
        min-width: auto;
        justify-content: center;
    }

    /* CORREGIDO: Asegurar negrita en móvil */
    .popup-mensaje strong {
        font-weight: 700 !important;
    }
}

@media (min-width: 992px) {
    .social-links {
        justify-content: flex-start;
    }

    .popup-content {
        max-width: 500px;
    }
}