body{
    background:#faf9f7;
    color:#1d1d1d;
    font-family:Arial,sans-serif
}

.brand{
    font-weight:700;
    letter-spacing:.16em
}

.brand span{
    font-weight:400
}

.hero{
    background:#f0efec
}

.min-vh-75{
    min-height:75vh
}

.eyebrow{
    font-size:.72rem;
    letter-spacing:.18em;
    color:#777;
    font-weight:700
}

h1,
h2,
h3{
    font-family:Georgia,serif
}

.hero h1{
    font-size:clamp(3rem,7vw,6rem);
    line-height:.95
}

.hero h1 em{
    font-weight:400
}

.hero-photo{
    background-image: url('/static/core/joyero.jpeg');
    min-height:520px;
    display:flex;
    align-items:end;
    justify-content:flex-end;
    padding:30px
}


.hero-card{
    font-family:Georgia,serif;
    font-size:2rem;
    letter-spacing:.1em;
    background:#fff;
    padding:28px
}

.section-title{
    margin-bottom:30px
}

.section-title span{
    font-size:.7rem;
    letter-spacing:.18em;
    color:#777
}

.product-card{
    position:relative
}

.product-image{
   width: 100%;
  height: 300px;        /* Ajusta la altura según tu diseño */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;     /* Evita desbordes */
  background: #f8f8f8;  /* Opcional, para que se vea limpio */
}

.product-image img,
.detail-image img{
    width:100%;
    height:100%;
    object-fit:contain
}

.detail-image{
    aspect-ratio:1/1;
    background:#eee
}

.auth-wrap{
    min-height:75vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 15px
}

.auth-card{
    width:100%;
    max-width:480px;
    background:#fff;
    padding:40px;
    box-shadow:0 15px 50px rgba(0,0,0,.06)
}

.reservation-card,
.stat-card{
    background:#fff;
    padding:24px;
    border:1px solid #eee
}

.thumb{
    width:100%;
    aspect-ratio:1;
    object-fit:cover
}

.admin-thumb{
    width:55px;
    height:55px;
    object-fit:cover
}


/* =========================================================
   BACKOFFICE
   ========================================================= */

.admin-shell{
    display:flex;
    min-height:calc(100vh - 72px);
    background:#f7f6f3
}


/* SIDEBAR */

.admin-sidebar{
    width:248px;
    flex:0 0 248px;
    background:#20201f;
    color:#f7f6f3;
    padding:34px 22px;
    box-shadow:8px 0 28px rgba(0,0,0,.04)
}

.admin-side-brand{
    font-family:Georgia,"Times New Roman",serif;
    font-size:1.35rem;
    letter-spacing:.16em;
    line-height:1.2;
    margin-bottom:42px
}

.admin-side-brand span{
    font-weight:400
}

.admin-side-brand small{
    display:block;
    font-family:Arial,sans-serif;
    font-size:.58rem;
    letter-spacing:.22em;
    color:#aaa;
    margin-top:9px
}

.admin-nav{
    display:flex;
    flex-direction:column;
    gap:8px
}

.admin-nav a{
    display:flex;
    align-items:center;
    min-height:44px;
    padding:11px 13px;
    border-radius:10px;
    color:#d8d8d4;
    font-size:.9rem;
    transition:
        background .2s,
        color .2s,
        transform .2s
}

.admin-nav a:hover{
    background:#353532;
    color:#fff;
    transform:translateX(2px)
}


/* CONTENIDO */

.admin-main{
    flex:1;
    min-width:0;
    padding:42px clamp(20px,4vw,54px) 60px;
    background:#f7f6f3
}

.admin-main h1{
    font-size:clamp(2rem,3vw,3rem);
    letter-spacing:-.035em;
    margin-bottom:.3rem
}

.admin-main h3{
    font-size:1.35rem;
    letter-spacing:-.02em
}

.admin-main .eyebrow{
    color:#888;
    letter-spacing:.2em
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:42px
}

.dashboard-header h1{
    margin-top:6px;
    margin-bottom:8px
}


/* GRID DE ESTADÍSTICAS */

.dashboard-stats{
    --bs-gutter-x:1.35rem;
    --bs-gutter-y:1.35rem;
}


/* TARJETAS */

.admin-main .stat-card{
    position:relative;

    min-height:170px;

    padding:30px 32px;

    border:1px solid #e5e1da;

    border-radius:18px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fbfaf8 100%
        );

    box-shadow:
        0 8px 24px rgba(40,35,28,.045);

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    overflow:hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease
}

.admin-main .stat-card:hover{
    transform:translateY(-3px);

    box-shadow:
        0 14px 32px rgba(40,35,28,.08)
}


/* CÍRCULO DECORATIVO */

.admin-main .stat-card:after{
    content:"";

    position:absolute;

    right:-28px;
    top:-28px;

    width:105px;
    height:105px;

    border:1px solid #e8e2d9;

    border-radius:50%
}


/* TITULO TARJETA */

.admin-main .stat-card small{
    position:relative;
    z-index:1;

    font-size:.68rem;

    letter-spacing:.18em;

    color:#888;

    font-weight:700
}


/* NÚMERO */

.admin-main .stat-card strong{
    position:relative;
    z-index:1;

    display:block;

    margin-top:20px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:3.25rem;

    line-height:1;

    font-weight:400;

    letter-spacing:-.04em;

    color:#252522
}


/* =========================================================
   CABECERA ÚLTIMAS RESERVAS
   ========================================================= */

.dashboard-section-header{
    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    margin-top:10px;

    margin-bottom:18px
}

.dashboard-section-header .eyebrow{
    display:block;
    margin-bottom:6px
}


/* BOTÓN */

.admin-main .btn-outline-dark{
    border-color:#d5d0c8;

    color:#34332f;

    border-radius:999px;

    padding:.55rem 1rem;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease
}

.admin-main .btn-outline-dark:hover{
    background:#242421;

    color:#fff;

    border-color:#242421
}


/* =========================================================
   TABLA
   ========================================================= */

.admin-main .table-responsive{
    border:1px solid #e6e1d9;

    border-radius:16px;

    background:#fff;

    box-shadow:
        0 8px 24px rgba(40,35,28,.035);

    overflow:hidden
}

.admin-main .table{
    margin-bottom:0;

    background:transparent
}

.admin-main .table thead th{
    background:#f3f1ed;

    color:#777;

    border-bottom:1px solid #e5e1da;

    font-size:.68rem;

    letter-spacing:.12em;

    text-transform:uppercase;

    font-weight:700;

    padding:17px 20px;

    white-space:nowrap
}

.admin-main .table tbody td{
    padding:18px 20px;

    border-bottom:1px solid #eeeae4;

    color:#3c3b37
}

.admin-main .table tbody tr:last-child td{
    border-bottom:0
}

.admin-main .table tbody tr{
    transition:background .15s ease
}

.admin-main .table tbody tr:hover{
    background:#fcfbf9
}


/* USUARIO */

.reservation-user{
    font-weight:600;
    color:#292824
}


/* PRODUCTO */

.reservation-product{
    color:#45433e
}


/* FECHA */

.reservation-date{
    color:#77736b;
    font-size:.88rem
}


/* =========================================================
   ESTADOS
   ========================================================= */

.status-pill{
    display:inline-flex;

    align-items:center;

    padding:5px 10px;

    border-radius:999px;

    background:#f0eee9;

    color:#6d685f;

    font-size:.7rem;

    font-weight:700;

    letter-spacing:.04em
}

.status-pendiente{
    background:#fff1d5;
    color:#8a5c12
}

.status-confirmada,
.status-confirmado{
    background:#e5f3e9;
    color:#2d6a43
}

.status-cancelada,
.status-cancelado{
    background:#f9e4e2;
    color:#a24a43
}


/* =========================================================
   RESPONSIVE
   ========================================================= */


   /* ===== PRODUCTOS ADMIN: TABLA RESPONSIVE ===== */
.admin-products-table-wrap{border:1px solid #e6e1d9;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(40,35,28,.035);overflow:auto;-webkit-overflow-scrolling:touch}
.admin-products-table{min-width:920px;margin-bottom:0}
.admin-products-table .admin-product-name{display:block;max-width:230px;white-space:normal;line-height:1.35}
.admin-product-categories{display:block;max-width:210px;line-height:1.45;color:#777}
.admin-product-status{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#f0eee9;color:#6d685f;font-size:.7rem;font-weight:700;white-space:nowrap}
.admin-product-status.is-active{background:#e5f3e9;color:#2d6a43}.admin-product-status.is-hidden{background:#f9e4e2;color:#a24a43}
.admin-product-actions{white-space:nowrap}.admin-edit-btn{min-width:76px;font-weight:600}

@media(max-width:991.98px){

    .admin-shell{
        display:block
    }

    .admin-sidebar{
        width:100%;
        padding:20px
    }

    .admin-side-brand{
        margin-bottom:18px
    }

    .admin-nav{
        flex-direction:row;
        flex-wrap:wrap;
        gap:6px
    }

    .admin-nav a{
        min-height:38px;
        padding:8px 11px
    }

    .admin-main{
        padding:30px 18px 45px
    }

    .dashboard-header{
        margin-bottom:32px
    }
}


@media(max-width:767px){

    .hero-photo{
        min-height:300px
    }

    .auth-card{
        padding:28px
    }

    .navbar .btn{
        margin-top:8px
    }

    .dashboard-section-header{
        align-items:center
    }

    .dashboard-section-header h3{
        font-size:1.2rem
    }
}


@media(max-width:575.98px){

    .admin-main .stat-card{
        min-height:135px;

        padding:23px 24px;

        border-radius:15px
    }

    .admin-main .stat-card strong{
        font-size:2.6rem
    }

    .admin-main .table thead th,
    .admin-main .table tbody td{
        padding:13px 12px
    }

    .dashboard-header{
        margin-bottom:26px
    }

    .dashboard-section-header{
        gap:12px
    }

    .dashboard-section-header .btn{
        white-space:nowrap
    }
}

/* Indicador de joya sin stock */
.product-image{position:relative}
.sold-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(20,20,20,.48);pointer-events:none}
.sold-overlay span{display:inline-block;padding:10px 24px;border:1px solid rgba(255,255,255,.85);background:rgba(255,255,255,.94);color:#1d1d1d;font-family:Georgia,"Times New Roman",serif;font-size:1.05rem;font-weight:700;letter-spacing:.18em;transform:rotate(-8deg);box-shadow:0 5px 18px rgba(0,0,0,.16)}

/* buscador de productos */

.admin-products-toolbar{padding:15px;margin-bottom:14px}
.admin-products-search{max-width:none}
.admin-search-box .form-control{height:48px;font-size:1rem}

/* ===== IDENTIDAD LOBELLA ===== */
:root{--lobella-black:#0d0f10;--lobella-gold:#d6ad63;--lobella-gold-soft:#f0d59d}
.lobella-hero{background:var(--lobella-black);color:#fff;padding:0;overflow:hidden}
.lobella-hero-inner{min-height:590px;box-shadow:0 18px 50px rgba(0,0,0,.12)}

.lobella-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:70px clamp(28px,6vw,82px);background:linear-gradient(135deg,#0b0d0e,#191714)}
.lobella-kicker{font-size:.72rem;letter-spacing:.24em;color:var(--lobella-gold-soft);font-weight:700;margin-bottom:22px}
.lobella-hero-copy h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(3rem,5vw,5.5rem);line-height:.96;letter-spacing:-.035em;margin:0 0 24px;color:#fff}
.lobella-hero-copy h1 em{font-weight:400;color:#f4f1eb}
.lobella-hero-copy p{max-width:470px;color:#d5d2cb;font-size:1.05rem;line-height:1.75;margin:0}
.btn-lobella{background:var(--lobella-gold);border:1px solid var(--lobella-gold);color:#111;padding:.78rem 1.35rem;border-radius:999px;font-weight:700;letter-spacing:.04em}
.btn-lobella:hover{background:#e4bf78;border-color:#e4bf78;color:#111}
.btn-lobella span{font-size:1.15rem;margin-left:10px}
.btn-lobella-outline{border:1px solid rgba(240,213,157,.55);color:#f0d59d;padding:.78rem 1.35rem;border-radius:999px}
.btn-lobella-outline:hover{background:#fff;color:#111;border-color:#fff}
.lobella-hero-image{position:relative;min-height:590px;background:#111;overflow:hidden}
.lobella-hero-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.lobella-hero-glow{position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,15,16,.18),transparent 45%,rgba(13,15,16,.08));pointer-events:none}
.lobella-values{background:#0c0f10;color:#fff;border-top:1px solid rgba(214,173,99,.25);border-bottom:1px solid rgba(214,173,99,.15)}
.lobella-value{min-height:86px;display:flex;align-items:center;justify-content:center;gap:13px;border-right:1px solid rgba(255,255,255,.12);padding:14px 18px}
.lobella-value:last-child{border-right:0}.lobella-value strong{color:var(--lobella-gold);font-size:1.45rem;font-weight:400}.lobella-value b{display:block;font-size:.68rem;letter-spacing:.13em}.lobella-value small{display:block;color:#aaa;font-size:.72rem;margin-top:3px}
.lobella-featured .section-title p{color:#777;margin:.45rem 0 0;max-width:580px}
.lobella-products-banner{background:#0c0f10;color:#fff;padding:22px 0 0}
.lobella-products-banner-inner{height:245px;position:relative;overflow:hidden;border-radius:18px 18px 0 0;background:#111;box-shadow:0 15px 40px rgba(0,0,0,.12)}
.lobella-products-banner-inner img{width:100%;height:100%;object-fit:cover;object-position:center 48%;opacity:.82}
.lobella-products-banner-inner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,10,11,.84),rgba(8,10,11,.2) 60%,rgba(8,10,11,.45))}
.lobella-products-banner-copy{position:absolute;z-index:2;inset:0;display:flex;flex-direction:column;justify-content:center;padding:30px clamp(25px,6vw,75px)}
.lobella-products-banner-copy span{font-size:.68rem;letter-spacing:.22em;color:var(--lobella-gold-soft);font-weight:700}.lobella-products-banner-copy h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.2rem,4vw,4rem);margin:8px 0 4px;color:#fff}.lobella-products-banner-copy p{margin:0;color:#ddd}
.products-search-form{min-width:min(100%,390px)}
@media(max-width:991.98px){.lobella-hero-inner{min-height:0}.lobella-hero-copy{padding:55px 30px}.lobella-hero-image{min-height:420px}.lobella-value{justify-content:flex-start}.lobella-products-banner-inner{height:220px;border-radius:0}}
@media(max-width:575.98px){.lobella-hero-copy{padding:45px 22px}.lobella-hero-copy h1{font-size:3.2rem}.lobella-hero-copy p{font-size:.95rem}.lobella-hero-image{min-height:320px}.lobella-value{min-height:78px;padding:12px 10px;gap:9px}.lobella-value strong{font-size:1.1rem}.lobella-value b{font-size:.57rem;letter-spacing:.08em}.lobella-value small{font-size:.63rem}.lobella-products-banner-inner{height:190px}.lobella-products-banner-copy{padding:22px}.lobella-products-banner-copy h1{font-size:2.3rem}.products-search-form{width:100%}.products-search-form input{min-width:0}}


/* ===== LOBELLA - PAGINA PUBLICA DE PRODUCTOS ===== */
.lobella-products-hero{background:#0c0f10;color:#fff}
.lobella-products-hero-image{position:relative;height:330px;overflow:hidden;background:#111}
.lobella-products-hero-image img{width:100%;height:100%;object-fit:contain;object-position:right 30%;display:block}
.lobella-products-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,10,11,.82),rgba(8,10,11,.22) 58%,rgba(8,10,11,.55))}
.lobella-products-hero-content{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding-left:clamp(24px,7vw,100px)}
.lobella-products-hero-content h1{font-size:clamp(2.8rem,5vw,5rem);line-height:1;margin:7px 0 10px;color:#fff}
.lobella-products-hero-content p{margin:0;color:#e1ded8;font-size:1.02rem;max-width:520px}
.lobella-products-page{background:#faf9f7}
.lobella-products-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:38px}
.lobella-products-heading h2{font-size:clamp(2rem,3vw,3rem);margin:7px 0 5px;letter-spacing:-.025em}
.lobella-products-heading p{margin:0;color:#777}
.lobella-search-box{display:flex;width:min(390px,100%);border:1px solid #d9d5ce;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 5px 18px rgba(20,20,18,.04)}
.lobella-search-box input{border:0!important;box-shadow:none!important;border-radius:0;padding:.8rem 1rem}
.lobella-search-box button{width:52px;border:0;background:#171918;color:#f0d59d;font-size:1.45rem;line-height:1}
.lobella-products-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:42px;align-items:start}
.lobella-filters{position:sticky;top:18px}
.lobella-desktop-filter{background:#fff;border:1px solid #e5e1da;border-radius:10px;padding:22px 18px;box-shadow:0 7px 24px rgba(40,35,28,.035)}
.lobella-filter-title{font-family:Georgia,"Times New Roman",serif;font-size:1.25rem;margin-bottom:15px}
.lobella-category-group{padding:15px 0 5px;border-top:1px solid #eeeae4;margin-top:12px}
.lobella-category-heading{font-size:.62rem;text-transform:uppercase;letter-spacing:.13em;color:#999;font-weight:700;margin-bottom:6px}
.lobella-filter-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border-radius:6px;color:#4c4a46;text-decoration:none;font-size:.86rem;transition:.18s ease}
.lobella-filter-link small{color:#999;font-size:.68rem}
.lobella-filter-link:hover{background:#f5f2ed;color:#111}
.lobella-filter-link.active{background:#171918;color:#fff}
.lobella-filter-link.active small{color:#d8c08f}
.lobella-mobile-filter{display:none}
.lobella-results-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px;color:#777;font-size:.78rem;letter-spacing:.04em}
.lobella-active-filter{background:#eee9df;color:#625536;border-radius:999px;padding:5px 10px;text-transform:capitalize}
.lobella-product-card{background:#fff;border:1px solid #e8e4de;transition:transform .2s ease,box-shadow .2s ease;border-radius:8px;overflow:hidden}
.lobella-product-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(30,28,24,.08)}
.lobella-product-photo{display:block;position:relative;aspect-ratio:1/1;overflow:hidden;background:#efeeeb}
.lobella-product-photo img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .45s ease}
.lobella-product-card:hover .lobella-product-photo img{transform:scale(1.025)}
.lobella-product-info{padding:14px 15px 17px}
.lobella-product-categories{font-size:.64rem;color:#777;text-transform:uppercase;letter-spacing:.06em;line-height:1.5;min-height:1.1em}
.lobella-product-info h3{font-family:Georgia,"Times New Roman",serif;font-size:1.05rem;margin:6px 0 0;line-height:1.25}
.lobella-product-info h3 a{color:#1d1d1d;text-decoration:none}
.lobella-product-code{font-size:.68rem;color:#999;margin-top:4px}
.lobella-product-price{font-family:Georgia,"Times New Roman",serif;font-size:1.18rem;margin-top:7px;color:#171918}
.lobella-product-specs{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:8px;color:#777;font-size:.7rem}
.lobella-product-stock{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:.7rem;color:#3e6547}
.lobella-product-stock span{width:7px;height:7px;border-radius:50%;background:#28a745;display:inline-block}
.lobella-product-stock.out{color:#9b3e38}.lobella-product-stock.out span{background:#d52d26}
.lobella-empty-products{background:#fff;border:1px solid #e5e1da;border-radius:12px;text-align:center;padding:70px 25px}
.lobella-empty-products h3{margin:8px 0 22px}
@media(max-width:991.98px){
  .lobella-products-hero-image{height:270px}
  .lobella-products-heading{align-items:stretch;flex-direction:column}
  .products-search-form,.lobella-search-box{width:100%}
  .lobella-products-layout{grid-template-columns:1fr;gap:22px}
  .lobella-filters{position:static}
  .lobella-desktop-filter{display:none}
  .lobella-mobile-filter{display:block;background:#fff;border:1px solid #e5e1da;border-radius:9px}
  .lobella-mobile-filter summary{cursor:pointer;list-style:none;padding:14px 16px;font-weight:700;font-size:.85rem}
  .lobella-mobile-filter summary::-webkit-details-marker{display:none}
  .lobella-mobile-filter summary:after{content:'+';float:right;font-size:1.1rem;font-weight:400}
  .lobella-mobile-filter[open] summary:after{content:'−'}
  .lobella-filter-body{padding:0 16px 16px}
}
@media(max-width:575.98px){
  .lobella-products-hero-image{height:230px}
  .lobella-products-hero-content{padding:20px}
  .lobella-products-hero-content h1{font-size:2.45rem}
  .lobella-products-hero-content p{font-size:.84rem;max-width:330px}
  .lobella-products-heading{margin-bottom:25px}
  .lobella-products-heading h2{font-size:2rem}
  .lobella-product-info{padding:11px 11px 14px}
  .lobella-product-info h3{font-size:.92rem}
  .lobella-product-price{font-size:1.02rem}
  .lobella-product-categories{font-size:.57rem}
  .lobella-product-code{font-size:.62rem}
}
/* ===== CONTADORES EN VIVO - PAGINA DE PRODUCTOS ===== */
.lobella-live-stats{display:flex;justify-content:flex-end;gap:12px;margin:0 0 28px;flex-wrap:wrap}
.lobella-live-stat{display:flex;align-items:center;gap:10px;min-width:175px;padding:10px 14px;background:#fff;border:1px solid #e5e1da;border-radius:10px;box-shadow:0 5px 18px rgba(20,20,18,.035)}
.lobella-live-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#171918;color:#f0d59d;font-size:.72rem}
.lobella-live-stat small{display:block;font-size:.58rem;letter-spacing:.13em;color:#999;font-weight:700;line-height:1.2}
.lobella-live-stat strong{display:block;margin-top:2px;font-family:Georgia,"Times New Roman",serif;font-size:1.12rem;font-weight:400;color:#171918}
.lobella-live-online .lobella-live-icon{color:#fff;background:#1e9e51;font-size:.8rem;box-shadow:0 0 0 4px rgba(30,158,81,.10)}
@media(max-width:991.98px){.lobella-live-stats{justify-content:stretch}.lobella-live-stat{flex:1;min-width:0}}
@media(max-width:575.98px){.lobella-live-stats{gap:8px;margin-bottom:22px}.lobella-live-stat{padding:9px 10px;gap:8px}.lobella-live-icon{width:27px;height:27px}.lobella-live-stat small{font-size:.51rem}.lobella-live-stat strong{font-size:1rem}}
