body{
     font-family: "Poppins", sans-serif;
    box-sizing: border-box;
    margin: 0;
    font-display: swap;
    font-size: 16px;
    background: #101820;
    color: #e0c5ac;
}
img, svg {
    vertical-align: middle;
}

#logo {
    width: 46px;
    position: relative;
    float: left;
    top: -14px;
}

#logo svg {
    display: block;
    position: relative;
    z-index: 1;
}
.header-titles {
    position: relative;
    left: -18px;
}
/* FUENTES */

h1, h2, h3, h4, h5, h6, a{
    font-family: "Poppins", sans-serif;
    line-height: 1.1em;
}
h1 {
    font-size: 24px;
    font-weight: 500;
}
h2 {
    font-size: 18px;
    font-weight: 600;
}
h3 {
    font-size: 16px;
    font-weight: 600;
}
h4 {
    font-size: 18px;
    font-weight: 600;
}
section {
    padding: 0;
}
.masterhead {
    padding: 90px 0 50px 0;
}

.titulo-con-lineas {
    display: flex;
    align-items: center; /* Alinea verticalmente líneas y texto */
    text-align: center;
    color: #e0c5ac;
}

.titulo-con-lineas::before,
.titulo-con-lineas::after {
    content: "";
    flex: 1; /* Las líneas ocupan el espacio sobrante */
    border-bottom: 2px solid #e0c5ac; /* Estilo de la línea */
    margin: 0 10px; /* Espacio entre línea y texto */
}


/* LINKS */



.category-card {
    border-radius: 16px;
    padding: 10px;
    height: 110px;
    position: relative;
    overflow: hidden;
}

.category-card img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
}

.category-title {
    font-size: 16px;
    font-weight: 500;
}

.places-card img {
    border-radius: 16px;
    height: 140px;
    object-fit: cover;
}

.rating {
    color: #f4a261;
    font-size: 14px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 8px 0;
}

.bottom-nav a {
    text-decoration: none;
    color: #555;
    font-size: 12px;
}

.bottom-nav .active {
    color: #f4a261;
}

.badge-discount {
    background: #f4a261;
    color: #fff;
    border-radius: 50%;
    padding: 6px 10px;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* -------------- SLIDERS ------------- */

swiper-container {
    width: 100%;
    height: 100%;
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
}

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* -------------- CAT ------------- */
.title-masthead {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}
.icon-back {
    width: 24px;
    position: relative;
    display: inline-block;
    top: 2px;
    left: 4px;
    float: left;
    fill: #e0c5ac;
}

/* -------------- CARD MENU ------------- */

.card_menu {
    margin: 0 0 20px -2px;
    background:none;
    border-radius: 24px;
    overflow: hidden;
    padding: 0;
    border: 2px solid #e0c5ac;
}
.card_menu .col-4 {
    padding: 0;
    border-right: 2px solid #e0c5ac;
    overflow: hidden;
    display: flex;
}
.card_menu .img-product {
    border-radius: 8px;
    margin: 0;
    height: 100%;
    width: auto;
    max-width: fit-content;
    position: relative;
    left: -15px;
}
.card_menu h4 {
    font-size: 18px;
    color: #e0c5ac;
    font-weight: 600;
    padding: 20px 10px 0 5px;
}
.card_menu p {
    padding: 0 10px 5px 5px;
    margin: 0;
}
.card_menu .price {
    font-size: 16px;
    font-weight: 600;
    color: #e0c5ac;
    padding: 6px 10px 0 5px;
    margin: 0;
}
.card_menu .price a {
    display: inline-block;
    position: relative;
    float: right;
    top: -4px;
}
.card_menu .habilitado {
    color: red;
}
.card_menu a {
    color: #e0c5ac;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.icon-more {
    width: 24px;
    height: 24px;
    fill: #e0c5ac;
}
.modal-post-image img {
    border-radius: 8px;
    margin: 0;
}

/* -------------- FOOTER ------------- */


/* =========================
   MODAL APP BASE
========================= */
.modal-app {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ACTIVO */
.modal-app.active {
    pointer-events: auto;
    opacity: 1;
}

/* =========================
   OVERLAY
========================= */
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* overlay visible */
.modal-app.active .modal-overlay {
    opacity: 1;
}

/* =========================
   PANEL (MODAL)
========================= */
.modal-panel {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #101820;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translate3d(0,100%,0);
}

/* abrir */
.modal-app.active .modal-panel {
    transform: translateY(0);
    transform: translate3d(0,0,0);
}

/* =========================
   HEADER
========================= */
.modal-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #101820;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal-header .logo {
    width: 46px;
    position: relative;
    float: right;
    top: 0;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}

.modal-close {
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    color: #e0c5ac;
    padding: 5px;
}
.modal-post-title {
    border: 1px solid #e0c5ac;
    border-radius: 16px;
    text-align: center;
    padding: 5px;
    margin: 10px 0;
}
/* =========================
   BODY
========================= */
.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* cuando carga contenido */
.modal-app.loaded .modal-body {
    opacity: 1;
}

/* fade out al cerrar */
.modal-app:not(.active) .modal-body {
    opacity: 0;
}

.modal-post-image {
    border-radius: 16px;
    overflow: hidden;
}
.modal-post-body h3 {
    font-size: 26px;
    margin: 10px 0;
}
.modal-post-body p {
    line-height: 1.5em;
    margin: 0 0 1em 0;
    font-size: 16px;
}
.modal-post-body .habilitado {
    float: left;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}
.modal-post-body .price {
    float: left;
    font-size: 31px;
    font-weight: 500;
}
/* =========================
   LOADER
========================= */
.modal-loader {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #101820;
    z-index: 3;
    transition: opacity 0.25s ease;
}

/* ocultar loader */
.modal-app.loaded .modal-loader {
    opacity: 0;
    pointer-events: none;
}

/* =========================
   SPINNER
========================= */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0c5ac;
    border-top: 4px solid #e0c5ac;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================
   BODY LOCK
========================= */
body.modal-open {
    overflow: hidden;
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 768px) {

    .modal-panel {
        max-width: 600px;
        height: 90%;

        left: 50%;
        transform: translate(-50%, 100%);

        border-radius: 20px;
    }

    .modal-app.active .modal-panel {
        transform: translate(-50%, 0);
    }
}