/*
Theme Name: PLUXDOM ULTRA
Author: Daniel
Version: 1.0
*/

   /* ======================================================
   SITE HEADER – NEUTRO Y FUNCIONAL
   (NO RESERVA ALTURA, NO EMPUJA EL HERO)
====================================================== */

.site-header {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;

    margin: 0;
    padding: 0;

    display: block;
}


/* CONTENEDOR PRINCIPAL DEL SITIO */
main#pluxdom-main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 0px;
    box-sizing: border-box;
}

/* TÍTULO DE PÁGINA */
main#pluxdom-main-content > h1.pluxdom-page-title {
    margin: 0 0 24px 0;
    font-size: 42px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
    text-align: center;
    padding: 15px;
}

/* CONTENIDO */
main#pluxdom-main-content > .pluxdom-page-content {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    max-width: 900px;
}

.card {
    background: #f5f5f5;
    border: 1px solid #ddd;
}

/* ======================================================
   PLUXDOM REAL ESTATE
   HERO FIJO SUPERIOR – CORREGIDO
====================================================== */




/* =========================================
   SWITCH DÍA / NOCHE – MINIMAL///////////////////////////////////////
   ========================================= */

/* Contenedor fijo arriba izquierda */
.theme-switch-wrapper {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 99999;
}

/* Botón base */
.theme-switch {
    position: relative;
    width: 84px;
    height: 34px;
    border-radius: 20px;
    border: none;
    background: #000;
    cursor: pointer;
    padding: 0;
    z-index: 99999;
}

/* Iconos */
.theme-switch .icon {
    position: absolute;
    top: 7px;
    font-size: 16px;
    line-height: 1;
}

/* Sol a la izquierda */
.theme-switch .sun {
    left: 12px;
}

/* Luna a la derecha */
.theme-switch .moon {
    right: 12px;
}

/* Botón circular */
.theme-switch .thumb {
    position: absolute;
    top: 3px;
    left: 5px;
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
}

/* ===============================
   ESTADO DARK
   =============================== */

html.dark-mode .theme-switch {
    background: #fff;
}

html.dark-mode .theme-switch .thumb {
    left: auto;
    right: 3px;
    background: #000;
}

/* ===============================
   NEW VERCION ICONOS SVG – SWITCH
   =============================== */

/* ===============================
   ICONOS SVG – SWITCH
   =============================== */

.theme-switch .icon {
    position: absolute;
    top: 6px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.theme-switch .icon svg {
    width: 25px;
    height: 25px;
    display: block;
}

/* Sol */
.theme-switch .sun {
    left: 10px;
    color: #f5b301;
}

/* Luna */
.theme-switch .moon {
    right: 12px;
    color: #eaa704;
}

/* ===============================
   DARK MODE – COLORES
   =============================== */

html.dark-mode .theme-switch .moon {
    color: #000;
}

/* ============================================================== */

/* ===============================
   TRADUCTOR
   =============================== */

.pluxdom-lang-switch {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 99999;
    display: flex;
    gap: 8px;

    transform: scale(1.1);          /* 👈 AUMENTA AQUÍ */
    transform-origin: top right;    /* 👈 mantiene anclado */
}

.pluxdom-lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 2px;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pluxdom-lang-switch a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}


.pluxdom-page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto 0px;
    padding: 20px 10px;

    box-sizing: border-box;
}

/* El menú dentro del header de página */
.pluxdom-page-header .plx-nav {
    position: relative;
    z-index: 10;
}

/* TÍTULO */
.pluxdom-page-title {
    margin: 0;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #ff0000;
    text-align: center;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 767px) {

    .pluxdom-page-header {
        padding: 14px 8px;
        gap: 10px;
    }

    .pluxdom-page-title {
        font-size: 28px;
    }
}






