/* ===== HEADER ===== */
header {
    position: relative;
    padding: 30px 10px;
    text-align: center;
    background: var(--brand-black);
}

body.theme-day header {
    background: var(--brand-ivory);
}

#imgViewer {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

#imgViewer img {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-overlay);
    cursor: zoom-out;
}

#imgViewer .cerrar {
    position: absolute;
    top: 20px;
    right: 30px;
    width: auto;
    margin: 0;
    padding: 4px 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

#imagenGrande {
    max-width: 80%;
    max-height: 80%;
}


.logo {
    position: relative;
    z-index: 2;
    height: 160px;
    filter: none;
}

/* ===== FOOTER ===== */
footer {
    padding: 24px 20px;
    border-top: 1px solid var(--border-subtle);
    background: var(--brand-black);
    color: var(--brand-stone);
    text-align: center;
}

body.theme-day footer {
    background: var(--brand-charcoal);
    color: var(--brand-ivory);
}

.theme-switcher {
    display: grid;
    width: min(100% - 32px, 240px);
    margin: -14px auto 10px;
    padding: 3px;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-control);
    background: var(--brand-charcoal);
    box-shadow: none;
}

.theme-option {
    width: 100%;
    min-height: 28px;
    margin: 0;
    padding: 5px 8px;
    border-radius: 4px;
    border: 0;
    background: transparent;
    color: var(--brand-stone);
    box-shadow: none;
    font-size: 11px;
    letter-spacing: 0.02em;
}

.theme-option:hover {
    transform: none;
    box-shadow: none;
    background: rgba(196, 164, 106, 0.14);
}

.theme-option.active {
    background: var(--brand-gold);
    color: var(--brand-black);
}

body.theme-day .theme-switcher {
    border-color: var(--border-subtle);
    background: #fffdf8;
    box-shadow: none;
}

body.theme-day .theme-option {
    color: var(--brand-bronze);
}

body.theme-day .theme-option.active {
    background: var(--brand-charcoal);
    color: var(--brand-ivory);
}

