﻿/* =========================================================
    BASE GLOBAL
========================================================= */


/* =========================================================
    VARIABLES GLOBALES
========================================================= */

:root {
    --color-principal: #5D6630;
    --color-secundario: #F5F2E8;
    --color-superficie: #FFFFFF;
    --color-menu: #F5F2E8;
    --color-texto: #222222;
    --color-texto-precio: #5D6630;
    --color-destacado: #D6B46A;
    --imagen-superficie: none;
}


/* =========================================================
    RESET GENERAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
        ODY
========================================================= */

body {
    background: var(--color-superficie);
    background-size: cover;
    background-position: center;
    color: var(--color-texto);
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}


/* =========================================================
    TIPOGRAFÃAS POR TEMA
========================================================= */

.tema-elegante {
    font-family: "Cormorant Garamond", serif;
}

.tema-fresh {
    font-family: "Poppins", sans-serif;
}

.tema-moderno,
.tema-clasico,
.tema-dark,
.tema-gastrobar {
    font-family: "Montserrat", sans-serif;
}


/* =========================================================
    SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-secundario);
}

::-webkit-scrollbar-thumb {
    background: var(--color-principal);
    border-radius: 20px;
}


/* =========================================================
    LOADER SKELETON
========================================================= */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at top, rgba(255,255,255,.92), rgba(245,242,232,.96)),
        var(--color-secundario, #f5f2e8);
    color: var(--color-texto, #222);
}

.loader-card {
    width: min(420px, 92vw);
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.loader-logo-wrap {
    width: 92px;
    height: 92px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 16px 45px rgba(0,0,0,.12);
    overflow: hidden;
}

.loader-logo-wrap.visible {
    display: flex;
}

.loader-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loader-eyebrow {
    margin-top: 4px;
    color: var(--color-principal, #5D6630);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.loader h2 {
    font-size: clamp(1.8rem, 7vw, 3rem);
    line-height: 1.05;
}

.loader p {
    color: rgba(34,34,34,.72);
    font-weight: 600;
}


