/* ===== Belle Étoile — site.css ===== */

.be-root {
    --fondo: #ffffff;
    --panel: #f2f0ec;
    --panel-2: #e7e4dd;
    --linea: rgba(180,160,110,0.35);
    --texto: #3a3a3a;
    --gris: #8a8a8a;
    --gris-oscuro: #5c5c5c;
    --dorado: #b8933f;
    --dorado-suave: #e4d4a8;
    font-family: 'Jost',sans-serif;
    font-weight: 300;
    color: var(--texto);
    background: var(--fondo);
    margin: 0;
    padding: 0;
}

    .be-root * {
        box-sizing: border-box;
    }

    .be-root h1, .be-root h2, .be-root h3 {
        font-family: 'Cormorant Garamond',serif;
        font-weight: 500;
        letter-spacing: .02em;
        margin: 0;
    }

    .be-root a {
        color: inherit;
        text-decoration: none;
    }

.be-eyebrow {
    font-size: .68rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--dorado);
}

.be-btn {
    display: inline-block;
    border: 1px solid var(--dorado);
    color: var(--dorado);
    background: transparent;
    padding: .75rem 1.8rem;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s;
}

    .be-btn:hover {
        background: var(--dorado);
        color: #fff;
    }

.be-btn-solid {
    background: var(--dorado);
    color: #fff;
}

    .be-btn-solid:hover {
        opacity: .85;
    }

/* ---- NAV ---- */
.be-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 4vw;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--linea);
    flex-wrap: wrap;
    gap: .6rem;
}

.be-logo {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.3rem;
    letter-spacing: .12em;
}

    .be-logo span {
        color: var(--dorado);
    }

/* ---- HERO / PORTADA ---- */
.be-hero-img {
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    background: var(--panel);
    display: flex;
}

    .be-hero-img img {
        width: 100%;
        max-height: 80vh;
        object-fit: cover;
        display: block;
    }

.be-hero-logo-wrap {
    width: 100%;
    min-height: 46vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(184,147,63,.08), transparent 65%), var(--fondo);
    padding: 3rem 1.5rem;
}

    .be-hero-logo-wrap h1 {
        font-size: clamp(2.4rem,7vw,4rem);
        letter-spacing: .14em;
        color: var(--dorado);
        text-align: center;
    }

/* ---- VITRINAS ---- */
.be-vitrinas-overview {
    padding: 3.4rem 6vw;
    border-top: 1px solid var(--linea);
    background: var(--panel);
}

.be-section-head {
    text-align: center;
    margin-bottom: 2rem;
}

    .be-section-head h2 {
        font-size: clamp(1.5rem,3.4vw,2.1rem);
        margin-top: .4rem;
    }

.be-vitrinas-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    background: var(--linea);
    border: 1px solid var(--linea);
    max-width: 900px;
    margin: 0 auto;
}

.be-vitrina-card {
    background: var(--fondo);
    border: none;
    font-family: 'Jost',sans-serif;
    padding: 2rem 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: background .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    width: 100%;
}

    .be-vitrina-card:hover {
        box-shadow: inset 0 0 0 1px var(--dorado);
    }

.be-vitrina-marco {
    width: 46px;
    height: 46px;
    border: 1px solid var(--dorado);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dorado);
    font-size: 1.2rem;
}

.be-vitrina-card h3 {
    font-size: 1.1rem;
    margin-top: .2rem;
}

.be-vitrina-count {
    font-size: .68rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--gris);
}

.be-vitrina-cta {
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dorado);
    margin-top: .6rem;
    border-top: 1px solid var(--linea);
    padding-top: .6rem;
    width: 100%;
    text-align: center;
}

/* ---- PANTALLA COMPLETA DE CATEGORÍA ---- */
.be-category-screen {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: var(--fondo);
    overflow-y: auto;
    padding: 1.4rem 6vw 4rem;
}

.be-category-screen-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.6rem;
}

.be-category-screen-head {
    text-align: center;
    margin-bottom: 2rem;
}

    .be-category-screen-head h2 {
        font-size: clamp(1.6rem,3.6vw,2.2rem);
        margin-top: .4rem;
    }

.be-category-screen-body {
    max-width: 1100px;
    margin: 0 auto;
}

.be-back-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: none;
    border: none;
    color: var(--dorado);
    font-size: .75rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}

.be-search {
    max-width: 340px;
    margin: 1.2rem auto 0;
    position: relative;
    display: flex;
}

    .be-search input {
        flex: 1;
        margin-top: 0;
        padding: .6rem .7rem;
        padding-right: 2rem;
        font-size: .85rem;
        border: 1px solid var(--linea);
        background: transparent;
        font-family: 'Jost',sans-serif;
        color: var(--texto);
    }

.be-search-clear {
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gris);
    cursor: pointer;
}

.be-search-hint {
    text-align: center;
    font-size: .75rem;
    color: var(--gris);
    margin: .8rem 0 0;
}

.be-grid-productos {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.4rem;
}

.be-producto {
    cursor: pointer;
    display: block;
}

.be-img-placeholder {
    aspect-ratio: 1/1.15;
    border: 1px solid var(--linea);
    margin-bottom: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gris);
    font-size: .68rem;
    background: var(--panel);
    overflow: hidden;
}

    .be-img-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.be-producto h4 {
    font-size: 1rem;
    font-family: 'Cormorant Garamond',serif;
    font-weight: 500;
    margin: 0;
}

.be-precio {
    color: var(--dorado);
    font-size: .82rem;
    margin-top: .2rem;
}

.be-empty {
    color: var(--gris);
    text-align: center;
    font-size: .85rem;
}

/* ---- OVERLAYS / MODALES (detalle de producto, carrito, checkout, confirmación) ---- */
.be-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30,28,24,.55);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.be-modal {
    background: #fff;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.be-checkout, .be-confirm {
    grid-template-columns: 1fr;
    max-width: 480px;
    padding: 2rem;
}

.be-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    background: var(--panel);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    color: var(--texto);
    text-decoration: none;
}

.be-carousel {
    position: relative;
    background: var(--panel);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.be-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.be-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.85);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 3;
}

.be-arrow-l {
    left: .6rem;
}

.be-arrow-r {
    right: .6rem;
}

.be-dots {
    position: absolute;
    bottom: .7rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: .35rem;
    z-index: 3;
}

    .be-dots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255,255,255,.6);
    }

        .be-dots span.on {
            background: var(--dorado);
        }

.be-modal-info {
    padding: 1.8rem;
}

.be-desc {
    color: var(--gris-oscuro);
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

/* ---- CARRITO ---- */
.be-drawer {
    background: #fff;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    max-height: 90vh;
}

.be-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.be-drawer-items {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.be-cart-row {
    display: flex;
    gap: .8rem;
    align-items: center;
    border-bottom: 1px solid var(--linea);
    padding-bottom: .8rem;
}

.be-cart-thumb {
    width: 56px;
    height: 56px;
    background: var(--panel);
    flex-shrink: 0;
    overflow: hidden;
}

    .be-cart-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.be-qty {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: .3rem;
}

    .be-qty button {
        border: 1px solid var(--linea);
        background: none;
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

.be-trash {
    background: none;
    border: none;
    color: var(--gris);
    cursor: pointer;
    font-size: 1rem;
}

    .be-trash:hover {
        color: #b04242;
    }

.be-drawer-foot {
    border-top: 1px solid var(--linea);
    padding-top: 1rem;
    margin-top: 1rem;
}

.be-total-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.2rem;
    margin-bottom: .9rem;
}

/* ---- CHECKOUT ---- */
.be-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}

.be-root label {
    display: block;
    font-size: .72rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--gris);
    margin-bottom: .8rem;
}

.be-root input, .be-root select, .be-root textarea {
    width: 100%;
    margin-top: .35rem;
    border: 1px solid var(--linea);
    background: transparent;
    padding: .6rem .7rem;
    font-family: 'Jost',sans-serif;
    font-size: .88rem;
    color: var(--texto);
}

.be-root textarea {
    resize: vertical;
}

.be-checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--texto);
}

    .be-checkbox input {
        width: auto;
        margin: 0;
    }

.be-sinpe-box {
    background: var(--panel);
    padding: 1rem;
    margin-top: 1rem;
}

.be-upload {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px dashed var(--dorado);
    color: var(--dorado);
    padding: .6rem .9rem;
    cursor: pointer;
    font-size: .78rem;
    text-transform: none;
    letter-spacing: 0;
    margin-top: .4rem;
}

.be-error {
    color: #a5432f;
    font-size: .8rem;
    margin-top: .8rem;
}

.be-check-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--dorado);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
}

/* ---- PANEL DE ADMINISTRACIÓN (para el próximo paso) ---- */
.be-admin-login {
    margin: 4rem auto;
    max-width: 420px;
    text-align: center;
    border: 1px solid var(--linea);
    padding: 2.4rem;
}

.be-admin {
    padding: 1.4rem 4vw 4rem;
}

.be-admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1.2rem;
}

.be-admin-tabs {
    display: flex;
    gap: 1.4rem;
    border-bottom: 1px solid var(--linea);
    margin-bottom: 1.6rem;
}

    .be-admin-tabs a {
        padding: .6rem 0;
        font-size: .8rem;
        letter-spacing: .05em;
        color: var(--gris);
        border-bottom: 2px solid transparent;
    }

        .be-admin-tabs a.on {
            color: var(--texto);
            border-color: var(--dorado);
        }

.be-admin-body {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    align-items: start;
}

.be-admin-form {
    border: 1px solid var(--linea);
    padding: 1.4rem;
}

.be-admin-list {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.be-admin-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    border: 1px solid var(--linea);
    padding: .6rem;
}

.be-admin-row-thumb {
    width: 48px;
    height: 48px;
    background: var(--panel);
    overflow: hidden;
    flex-shrink: 0;
}

    .be-admin-row-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.be-admin-link {
    background: none;
    border: none;
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gris);
    cursor: pointer;
}

/* ---- FOOTER ---- */
.be-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.6rem 6vw;
    border-top: 1px solid var(--linea);
    background: var(--panel);
}

.be-dev-credit {
    text-align: center;
    font-size: .68rem;
    letter-spacing: .03em;
    color: var(--gris);
    padding: .7rem 6vw;
    background: var(--panel-2);
}

/* ---- RESPONSIVE ---- */
@media (max-width:900px) {
    .be-modal {
        grid-template-columns: 1fr;
    }

    .be-grid-productos {
        grid-template-columns: 1fr 1fr;
    }

    .be-vitrinas-grid {
        grid-template-columns: 1fr 1fr;
    }

    .be-admin-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width:520px) {
    .be-grid-productos {
        grid-template-columns: 1fr 1fr;
        gap: .8rem;
    }

    .be-vitrinas-grid {
        grid-template-columns: 1fr;
    }

    .be-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- NAV: carrito, login, menú hamburguesa ---- */
.be-nav-links {
    display: flex;
    gap: 1.4rem;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.be-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.be-icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--texto);
    display: flex;
    font-size: 1.1rem;
    text-decoration: none;
}

.be-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--dorado);
    color: #fff;
    font-size: .6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.be-menu-btn {
    display: none;
}

.be-mobile-menu {
    flex-direction: column;
    border-bottom: 1px solid var(--linea);
    background: var(--fondo);
}

    .be-mobile-menu a {
        display: block;
        width: 100%;
        text-align: left;
        border-top: 1px solid var(--linea);
        padding: .9rem 6vw;
        font-family: 'Jost',sans-serif;
        font-size: .85rem;
        color: var(--texto);
    }

.be-mobile-menu-login {
    color: var(--dorado) !important;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width:900px) {
    .be-nav-links {
        display: none;
    }

    .be-login-link-desktop {
        display: none;
    }

    .be-menu-btn {
        display: flex;
    }
}

.be-filtro-tabs {
    display: flex;
    gap: .6rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}

    .be-filtro-tabs a {
        border: 1px solid var(--linea);
        padding: .5rem 1rem;
        font-size: .72rem;
        letter-spacing: .05em;
        text-transform: uppercase;
        color: var(--gris-oscuro);
        background: var(--fondo);
    }

        .be-filtro-tabs a.on {
            background: var(--dorado);
            color: #fff;
            border-color: var(--dorado);
        }
.be-whatsapp-flotante {
    position: fixed;
    bottom: 1.6rem;
    right: 1.6rem;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: var(--dorado);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    transition: .3s;
}

    .be-whatsapp-flotante:hover {
        opacity: .85;
        transform: scale(1.05);
    }

    .be-whatsapp-flotante svg {
        width: 28px;
        height: 28px;
    }