body[data-local="gulerie-nunoa"] {
    --gulerie-serif: "Cormorant Garamond", Georgia, serif;
    --gulerie-red: #a4382e;
    --gulerie-sage: #dce9dc;
    --gulerie-cream: #faf7ef;
    --gulerie-ink: #283c31;
}

body[data-local="gulerie-nunoa"] .hero .hero-integrated-main .hero-copy h2.menue-hero-title,
body[data-local="gulerie-nunoa"] .hero .hero-integrated-main .hero-copy h2.menue-hero-title > span {
    font-family: var(--gulerie-serif) !important;
    font-size: clamp(2.7rem, 6.5vw, 5rem) !important;
    font-weight: 400 !important;
    letter-spacing: -.045em !important;
    text-transform: none !important;
    line-height: .99 !important;
}

body[data-local="gulerie-nunoa"] .hero .hero-integrated-main .hero-copy h2.menue-hero-title > span {
    display: inline !important;
}

body[data-local="gulerie-nunoa"] .menue-hero-title > .menue-hero-title-accent::before {
    content: " ";
    white-space: pre;
}

body[data-local="gulerie-nunoa"] .hero .hero-integrated-top .brand-mark {
    width: clamp(3.75rem, 8vw, 5.2rem) !important;
    height: clamp(3.75rem, 8vw, 5.2rem) !important;
    background: #fff !important;
    border-radius: 50% !important;
}

body[data-local="gulerie-nunoa"] .hero .hero-integrated-top .brand-mark img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: .28rem;
}

body[data-local="gulerie-nunoa"] .hero .brand > div:nth-child(2) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

body[data-local="gulerie-nunoa"] .hero .hero-integrated-main {
    padding-block: .85rem !important;
}

body[data-local="gulerie-nunoa"] .hero .hero-art {
    display: none !important;
}

body[data-local="gulerie-nunoa"] #headerInfoCard .info-row:has(div > span:empty),
body[data-local="gulerie-nunoa"] #headerInfoCard:not(:has(.info-row > div > span:not(:empty), .info-row > div > a)) {
    display: none !important;
}

body[data-local="gulerie-nunoa"][data-theme="light"] {
    background: var(--gulerie-cream) !important;
    color: var(--gulerie-ink);
}

body[data-local="gulerie-nunoa"][data-theme="light"] .hero:not(.menue-has-header-image) {
    background:
        url("ilustracion-gulerie.webp") 87% 55% / auto clamp(11rem, 25vw, 17rem) no-repeat,
        linear-gradient(110deg, #ecf2e7, var(--gulerie-sage)) !important;
    border-bottom: 1px solid #c2d0bd !important;
}

body[data-local="gulerie-nunoa"][data-theme="light"] .hero:not(.menue-has-header-image) .hero-copy h2.menue-hero-title > .menue-hero-title-primary {
    color: var(--gulerie-ink) !important;
}

body[data-local="gulerie-nunoa"][data-theme="light"] .hero:not(.menue-has-header-image) .hero-copy h2.menue-hero-title > .menue-hero-title-accent {
    color: var(--gulerie-red) !important;
}

body[data-local="gulerie-nunoa"][data-theme="light"] .hero:not(.menue-has-header-image) .hero-integrated-main .hero-copy > p {
    color: #466050 !important;
}

body[data-local="gulerie-nunoa"][data-theme="light"] .menu-sticky-card {
    background: var(--gulerie-cream) !important;
}

body[data-local="gulerie-nunoa"][data-theme="light"] .category-wrap .cat.active {
    background: #304839 !important;
    border-color: #304839 !important;
    color: #fff !important;
}

body[data-local="gulerie-nunoa"] .menu-main .section-head {
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .6rem .85rem;
}

body[data-local="gulerie-nunoa"] .menu-main .section-head > h3 {
    font-family: var(--gulerie-serif);
    font-size: clamp(1.7rem, 4.1vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.1;
}

body[data-local="gulerie-nunoa"][data-theme="light"] .menu-main .section-head > h3 {
    color: var(--gulerie-red) !important;
}

body[data-local="gulerie-nunoa"] .menu-main .section-head > span {
    display: none;
}

.gulerie-category-photo {
    display: block;
    flex: 0 0 auto;
    width: clamp(6rem, 24vw, 11.25rem);
    height: auto;
    max-height: 6rem;
    margin-left: auto;
    border-radius: .5rem;
    object-fit: cover;
}

.gulerie-category-note {
    margin: .25rem 0 .85rem;
    padding: .42rem 0 .42rem .75rem;
    border-left: 2px solid #8ba98e;
    font-size: .9rem;
    line-height: 1.45;
}

body[data-local="gulerie-nunoa"] .menu-main .product[data-image=""] {
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    aspect-ratio: auto !important;
    border-radius: .6rem;
}

body[data-local="gulerie-nunoa"] .menu-main .product[data-image=""] .product-img,
body[data-local="gulerie-nunoa"] .menu-main .product[hidden],
body[data-local="gulerie-nunoa"] .menu-main .section[hidden],
body[data-local="gulerie-nunoa"] .menu-main .product p:empty {
    display: none !important;
}

body[data-local="gulerie-nunoa"] .menu-main .product[data-image=""] .product-body {
    min-width: 0;
    min-height: 0 !important;
    justify-content: space-between;
}

body[data-local="gulerie-nunoa"] .menu-main .product h4 {
    overflow-wrap: break-word;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    max-height: none !important;
    white-space: normal !important;
    text-overflow: clip !important;
}

body[data-local="gulerie-nunoa"] .menu-main .product p:not(:empty) {
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    max-height: none !important;
}

body[data-local="gulerie-nunoa"][data-theme="light"] .menu-main .product {
    background-color: #fffdf8 !important;
    border-color: #e1e2d6 !important;
    box-shadow: none !important;
}

body[data-local="gulerie-nunoa"][data-theme="light"] .menu-main .product .price {
    color: var(--gulerie-red) !important;
}

body[data-local="gulerie-nunoa"][data-theme="light"] .menu-main .product .product-bottom .add-btn {
    background: #385345 !important;
    border-color: #385345 !important;
    color: #fff !important;
}

@media (max-width: 540px) {
    body[data-local="gulerie-nunoa"][data-theme="light"] .hero:not(.menue-has-header-image) {
        background-position: right -.8rem center, center !important;
        background-size: auto 9rem, cover !important;
    }

    body[data-local="gulerie-nunoa"] .hero .hero-integrated-main .hero-copy h2.menue-hero-title,
    body[data-local="gulerie-nunoa"] .hero .hero-integrated-main .hero-copy h2.menue-hero-title > span {
        font-size: clamp(2.12rem, 9.5vw, 3rem) !important;
    }
}

/* Vistas de Menue: nunca separar demasiado el precio del producto. */
body[data-local="gulerie-nunoa"] .menu-main .product[data-image=""] .product-bottom {
    margin-top: .8rem;
    display: flex;
    justify-content: flex-start;
    gap: .65rem;
    align-items: center;
    flex-wrap: wrap;
}
body[data-local="gulerie-nunoa"] .menu-main .product[data-image=""] .product-bottom .price { margin-right: auto; }
body[data-local="gulerie-nunoa"] .menu-main .product[data-image=""] .product-body { padding: clamp(.85rem, 1.55vw, 1.2rem) !important; }
body[data-local="gulerie-nunoa"] .menu-main .product[data-image=""] h4 { line-height:1.23 !important; }
body[data-local="gulerie-nunoa"] .menu-main .section-head .gulerie-category-photo { width: clamp(4.5rem, 15vw, 7rem); max-height: 4.5rem; object-fit: contain; }
body[data-local="gulerie-nunoa"] .gulerie-category-photo[src$=".webp"] { object-fit: cover !important; }
@media (max-width: 600px) {
 body[data-local="gulerie-nunoa"] .menu-main .section-head .gulerie-category-photo { width: 3.5rem; max-height: 3.5rem; }
 body[data-local="gulerie-nunoa"] .menu-main .product[data-image=""] .product-body { padding:.72rem !important; }
}

/* v5 — arte vectorial de categoría en todas las tarjetas. */
body[data-local="gulerie-nunoa"] .menu-main .product:not([data-image=""]) .product-img {
    background:#f5efe5 !important;
    border:1px solid #ece2d3 !important;
    border-radius:10px !important;
    object-fit:cover !important;
    object-position:center !important;
}
body[data-local="gulerie-nunoa"] .menu-main .product:not([data-image=""]) {
    border-radius:14px !important;
}
/* Mostrar un formato legible en las tarjetas de la versión Menue. */
body[data-local="gulerie-nunoa"] .menu-main .product:not([data-image=""]) .product-body {
    min-width:0 !important;
    justify-content:space-between !important;
}
body[data-local="gulerie-nunoa"] .menu-main .product:not([data-image=""]) .product-bottom .price {
    margin-right:auto !important;
}
@media (max-width:700px) {
    body[data-local="gulerie-nunoa"] .menu-main .product:not([data-image=""]) .product-img {
        width:100% !important;
        aspect-ratio: 7 / 4.5 !important;
        height:auto !important;
        max-height:none !important;
    }
}
body[data-gulerie-preview] .gulerie-demo-info {max-width: 360px;}
body[data-gulerie-preview] .gulerie-demo-info .info-row {font-size:clamp(.7rem,1.2vw,.91rem);}
body[data-gulerie-preview] .gulerie-modal-image {
    display:block;
    width:100%;
    min-height:0;
    height:180px;
    max-height:25vh;
    border-radius:18px 18px 0 0;
    object-fit:cover;
    background:#f2ebe0;
}
body[data-gulerie-preview] .gulerie-modal-image[hidden] {display:none;}

/* v7 — no esconder imágenes si el motor aún entrega data-image vacío.
   La salida PHP y el JS rellenan la imagen con el SVG de su categoría. */
body[data-local="gulerie-nunoa"] .menu-main .section .product[data-image=""] .product-img {
    display: block !important;
}
body[data-local="gulerie-nunoa"] .menu-main .section .product .product-img {
    background-color: #f5efe5 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 1px solid #ede2d4 !important;
}
body[data-local="gulerie-nunoa"] .menu-main #cafeteria .product-img { background-image: url("tarjetas/cafeteria.svg") !important; background-size: cover !important; background-position: center !important; }
body[data-local="gulerie-nunoa"] .menu-main #bakery .product-img { background-image: url("tarjetas/bakery.svg") !important; background-size: cover !important; background-position: center !important; }
body[data-local="gulerie-nunoa"] .menu-main #pasteleria .product-img { background-image: url("tarjetas/pasteleria.svg") !important; background-size: cover !important; background-position: center !important; }
body[data-local="gulerie-nunoa"] .menu-main #desayunos .product-img { background-image: url("tarjetas/desayunos.svg") !important; background-size: cover !important; background-position: center !important; }
body[data-local="gulerie-nunoa"] .menu-main #agranda-tu-promo .product-img { background-image: url("tarjetas/agranda-tu-promo.svg") !important; background-size: cover !important; background-position: center !important; }
body[data-local="gulerie-nunoa"] .menu-main #bebidas .product-img { background-image: url("tarjetas/bebidas.svg") !important; background-size: cover !important; background-position: center !important; }
body[data-local="gulerie-nunoa"] .menu-main #sandwiches .product-img { background-image: url("tarjetas/sandwiches.svg") !important; background-size: cover !important; background-position: center !important; }
body[data-local="gulerie-nunoa"] .menu-main #tostadas .product-img { background-image: url("tarjetas/tostadas.svg") !important; background-size: cover !important; background-position: center !important; }
body[data-local="gulerie-nunoa"] .menu-main #almuerzos .product-img { background-image: url("tarjetas/almuerzos.svg") !important; background-size: cover !important; background-position: center !important; }
body[data-local="gulerie-nunoa"] .menu-main #pizzas .product-img { background-image: url("tarjetas/pizzas.svg") !important; background-size: cover !important; background-position: center !important; }
body[data-local="gulerie-nunoa"] .menu-main #tortas-a-pedido .product-img { background-image: url("tarjetas/tortas-a-pedido.svg") !important; background-size: cover !important; background-position: center !important; }
