

.r-topbar { background:#fff; }
.r-topbar-inner { max-width:1180px; margin:0 auto; padding:.55rem 1rem; display:flex; align-items:center; gap:1rem; flex-wrap:wrap; min-height:52px; }
.r-topbar-brand { display:flex; align-items:center; gap:.65rem; }
.r-topbar-brand img { height:40px; width:auto; max-width:170px; }  
.r-topbar-nap { display:flex; gap:.9rem; flex-wrap:wrap; align-items:center; margin-left:auto; }
.r-topbar-item { display:inline-flex; align-items:center; gap:.3rem; }
@media (min-width:861px){
  .r-topbar-inner { flex-wrap:nowrap; }
  .r-topbar-nap { flex-wrap:nowrap; min-width:0; }
  .r-topbar-item { white-space:nowrap; }
  .r-topbar-nap > .r-topbar-item:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; }
}
@media (max-width:740px){
  .r-topbar-nap { width:100%; margin-left:0; gap:.5rem; }
  .r-topbar-name { display:none; }
  .r-topbar-brand img { height:36px; width:auto; max-width:150px; }  
}


html { scrollbar-gutter: stable; }

:root {
    --bg: #FFF8EC;            
    --bg-soft: #f6efe2;
    --surface: #ffffff;
    --surface-2: #fbf6ec;
    --ink-0: #2E2E31;         
    --ink-1: #2E2E31;
    --ink-2: #5b5750;
    --muted: #716b62;         
    --border: #ebe3d5;        
    --border-strong: #D9D1C4;
    --primary-dark: color-mix(in srgb, var(--primary) 75%, black);
    --primary-soft: color-mix(in srgb, var(--primary) 12%, white);
    --ok: #6b9077;
    --ok-soft: #dde9de;
    --err: #b8895d;
    --warn: #c9a872;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    
    max-width: 100%;
}
html { overflow-x: clip; }    
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--ink-0); line-height: 1.55; -webkit-font-smoothing: antialiased; } body:not([data-plantilla]) { font-family: var(--elp-font, 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif); } body:not([data-plantilla]) :is(button, input, select, textarea) { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }



.r-hero-slim {
    position: relative;
    min-height: 260px;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    background-image: var(--hero-cover-img, none), linear-gradient(135deg, var(--primary), var(--primary-dark));
    background-size: contain, auto;   
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-color: var(--primary);
}
.r-hero-slim .r-hero-overlay {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(15,26,43,.58) 0%, rgba(15,26,43,.88) 100%);   
}
.r-hero-inner {
    max-width: 1180px; margin: 0 auto;
    padding: 2rem 1.25rem 1.75rem;
    display: flex; flex-direction: column; gap: .65rem;
}
.r-hero-inner h1 {
    font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.18;
    font-weight: 800; letter-spacing: -.01em; margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.r-hero-sub {
    font-size: .98rem; opacity: .94; line-height: 1.45; margin: 0;
    max-width: 720px;
}
.r-hero-pills { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .25rem; }
.r-pill {
    background: rgba(255,255,255,.16); backdrop-filter: blur(8px);
    padding: .25rem .7rem; border-radius: 99px;
    font-size: .8rem; font-weight: 600;
}
.r-pill-open    { background: rgba(46,204,113,.85); }
.r-pill-closed  { background: rgba(231,76,60,.92); }
.r-pill-rating  { background: rgba(245,158,11,.92); }
.r-pill-rating small { font-weight: 400; opacity: .85; margin-left: .15rem; }
.r-hero-cta { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.r-cta-btn {
    display: inline-flex; align-items: center; gap: .35rem;
    background: #fff; color: var(--ink-0, #0f1a2b);
    padding: .7rem 1.2rem; border-radius: 9px;
    font-weight: 700; font-size: .92rem; border: 0; cursor: pointer;
    text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.r-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.22); }
.r-cta-secondary { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(8px); }


.r-layout { max-width: 1180px; margin: 0 auto; padding: 1.25rem; display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; }

.r-layout > * { min-width: 0; }
.cat-nav-wrap { min-width: 0; max-width: 100%; }


.cat-nav-wrap {
    position: -webkit-sticky;
    position: sticky;
    top: 0; z-index: 50;
    background: rgba(255,255,255,.95);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    margin: -1.25rem -1.25rem 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0);
    transition: box-shadow .2s;
    
}

.cat-nav-arrow {
    position: absolute;
    bottom: -14px;                        
    width: 30px; height: 30px; border-radius: 50%;
    background: #fff; border: 1px solid var(--border, #e8e1d2);
    box-shadow: 0 3px 10px rgba(0,0,0,.14);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 60;
    font-size: 1rem; font-weight: 700; color: var(--ink-1, #2f3739);
    transition: opacity .2s, background .15s, transform .15s, box-shadow .15s;
    user-select: none; -webkit-tap-highlight-color: transparent;
    padding: 0; line-height: 1;
}
.cat-nav-arrow:hover { background: var(--primary, #7c9885); color: #fff; transform: scale(1.08); box-shadow: 0 5px 16px rgba(124,152,133,.36); }
.cat-nav-arrow:active { transform: scale(.94); }
.cat-nav-arrow.prev { left: .5rem; }
.cat-nav-arrow.next { right: .5rem; }
.cat-nav-arrow[hidden] { opacity: 0; pointer-events: none; }

.cat-nav-wrap::before,
.cat-nav-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 36px;
    pointer-events: none; z-index: 55; transition: opacity .2s;
}
.cat-nav-wrap::before { left: 0; background: linear-gradient(to right, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.cat-nav-wrap::after  { right: 0; background: linear-gradient(to left,  rgba(255,255,255,.95), rgba(255,255,255,0)); }
.cat-nav-wrap.at-start::before { opacity: 0; }
.cat-nav-wrap.at-end::after { opacity: 0; }


.cat-nav-wrap.is-stuck {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.cat-nav {
    display: flex; flex-wrap: nowrap; gap: .5rem;
    padding: .75rem 1.25rem;
    overflow-x: scroll; 
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scroll-snap-type: x proximity;
    
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.18) transparent;
}
.cat-nav::-webkit-scrollbar { height: 4px; }
.cat-nav::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 99px; }
.cat-nav::-webkit-scrollbar-track { background: transparent; }
.cat-nav a {
    padding: .45rem 1rem; border-radius: 99px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: .88rem; font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0; flex-grow: 0; 
    scroll-snap-align: start;
    transition: background .15s, color .15s, border-color .15s;
}
.cat-nav a.active, .cat-nav a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }


.cat { margin-bottom: 2.5rem; scroll-margin-top: 80px; }
.cat h2 { font-size: 1.4rem; margin-bottom: .15rem; letter-spacing: -.01em; }
.cat .desc { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.cat-head { border-bottom: 2px solid var(--primary, #7c9885); padding-bottom: .35rem; margin-bottom: 1rem; }
.cat-head h2 { margin-bottom: 0; }
.cat-banner { position: relative; min-height: 130px; border-radius: 14px; background-size: cover; background-position: center; margin-bottom: 1.1rem; display: flex; align-items: flex-end; overflow: hidden; box-shadow: 0 4px 14px -6px rgba(0,0,0,.3); }
.cat-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.05) 55%, transparent); }
.cat-banner h2 { position: relative; z-index: 1; color: #fff; margin: 0; padding: .85rem 1.1rem; text-shadow: 0 1px 5px rgba(0,0,0,.55); }


.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: .75rem; }
.product {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    display: flex; gap: 1rem;
    cursor: pointer;
    transition: transform .12s, box-shadow .15s, border-color .15s;
}
.product:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -10px rgba(15,26,43,.18); border-color: var(--primary); }
.product .ph {
    width: 84px; height: 84px; border-radius: 12px;
    background-size: cover; background-position: center;
    flex-shrink: 0; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.1rem; line-height: 1;
    position: relative;
    background-color: #f4ede0;
    box-shadow: 0 2px 6px rgba(15,26,43,0.06);
    transition: transform .25s, box-shadow .25s;
}
.product:hover .ph { transform: scale(1.04) rotate(-2deg); box-shadow: 0 6px 18px rgba(15,26,43,0.15); }
.product .ph::after {
    
    content: ''; position: absolute; inset: -10%;
    background: inherit; background-size: cover; background-position: center;
    filter: blur(10px) saturate(1.15) brightness(.92);
    z-index: 0; pointer-events: none;
}
.product .ph img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    
    object-fit: contain;
    object-position: center;
    z-index: 1; display: block;
}
.product .ph .e { position: relative; z-index: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18)); }
.product .body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.product .name { font-weight: 700; font-size: .98rem; }
.product .desc { color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: .15rem; }
.product .footer { margin-top: auto; padding-top: .5rem; display: flex; justify-content: space-between; align-items: center; }
.product .price { color: var(--primary-dark); font-weight: 800; font-size: 1rem; }
.product .add {
    background: var(--primary); color: white;
    width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 700; line-height: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    transition: transform .15s, box-shadow .15s;
}
.product:hover .add { transform: rotate(90deg) scale(1.05); }


.cart {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    position: sticky; top: 1rem;
    align-self: start;
    max-height: calc(100vh - 2rem);
    display: flex; flex-direction: column;
}
.cart h3 { font-size: 1.1rem; margin-bottom: .85rem; display: flex; justify-content: space-between; align-items: center; }
.cart .count-badge { background: var(--accent); color: white; padding: .15rem .55rem; border-radius: 99px; font-size: .75rem; font-weight: 600; }

.cart-items { flex: 1; overflow-y: auto; padding-right: .5rem; scrollbar-gutter: stable; }
.cart-empty { color: var(--muted); text-align: center; padding: 2rem 1rem; font-size: .9rem; }
.cart-item { display: flex; gap: .65rem; padding: .65rem 0; border-bottom: 1px solid var(--border); }
.cart-item .qbox { display: flex; flex-direction: column; gap: .15rem; align-items: center; flex-shrink: 0; }
.cart-item .qbox button { width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); cursor: pointer; line-height: 1; font-size: 1rem; color: var(--ink-1); }
.cart-item .qbox button:hover { border-color: var(--primary); color: var(--primary); }
.cart-item .qbox span { font-weight: 700; font-size: .85rem; min-width: 18px; text-align: center; }
.cart-item .body { flex: 1; min-width: 0; }
.cart-item .body .n { font-weight: 600; font-size: .88rem; line-height: 1.25; }
.cart-item .body .opts { color: var(--muted); font-size: .76rem; margin-top: .15rem; }
.cart-item .body .combo-half { margin-top: .35rem; padding: .25rem .4rem; border-left: 3px solid var(--primary); background: rgba(0,0,0,.025); border-radius: 4px; }
.cart-item .body .combo-half strong { font-size: .82rem; color: var(--ink-0); display: block; }
.cart-item .body .combo-extras { list-style: none; margin: .2rem 0 0; padding: 0; }
.cart-item .body .combo-extras li { font-size: .76rem; color: var(--muted); padding-left: .9rem; position: relative; line-height: 1.35; }
.cart-item .body .combo-extras li::before { content: "+"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.cart-item .body .p { color: var(--primary); font-weight: 700; font-size: .85rem; margin-top: .25rem; }

.cart-item .rm { color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1;
  min-width: 34px; min-height: 34px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 9px; align-self: flex-start; }
.cart-item .rm:hover { color: var(--err); background: rgba(220,38,38,.08); }
.cart-totals { border-top: 2px solid var(--border); padding-top: .85rem; margin-top: .5rem; }
.cart-totals .line { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); margin-bottom: .15rem; }
.cart-totals .total { font-size: 1.2rem; font-weight: 800; color: var(--ink-0); margin-top: .35rem; }
.cart .checkout-btn {
    margin-top: 1rem; width: 100%; padding: .85rem;
    background: var(--primary); color: white; border: none; border-radius: 10px;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: transform .12s, box-shadow .12s;
}
.cart .checkout-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(74,144,226,.4); }
.cart .checkout-btn:disabled { background: var(--border); color: var(--muted); cursor: not-allowed; transform: none; box-shadow: none; }


.pmodal-overlay {
    position: fixed; inset: 0; background: rgba(15,26,43,.6); z-index: 90;
    display: none; align-items: flex-end; justify-content: center;
    padding: 0;
}
.pmodal-overlay.open { display: flex; animation: fadein .2s; }
@keyframes fadein { from{opacity:0;} to{opacity:1;} }
.pmodal {
    background: var(--surface); border-radius: 18px 18px 0 0;
    width: 100%; max-width: 540px; max-height: 92vh; max-height: 92dvh;
    display: flex; flex-direction: column;
    overflow: hidden;
    animation: slideup .25s cubic-bezier(.2,.8,.3,1);
}
.pmodal form#pm-form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; width: 100%; }
.pmodal .body-scroll {
    flex: 1 1 0%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.pmodal .action-bar {
    flex-shrink: 0; background: #fff; border-top: 1px solid var(--border);
    padding: .85rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(15,26,43,.08);
}
@keyframes slideup { from{transform:translateY(100%);} to{transform:translateY(0);} }
.pmodal .ph {
    flex-shrink: 0;
    height: 240px; display: flex; align-items: center; justify-content: center;
    font-size: 5.5rem; line-height: 1; position: relative; overflow: hidden;
    background-color: #f4ede0;
    
    background-size: cover; background-position: center;
}

.pmodal .ph::after {
    content: ''; position: absolute; inset: -8%;
    background: inherit; background-size: cover; background-position: center;
    filter: blur(22px) saturate(1.15) brightness(.92);
    z-index: 0; pointer-events: none;
}

.pmodal .ph::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.08) 100%);
    pointer-events: none;
    z-index: 2;
}
.pmodal .ph img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    
    object-fit: contain;
    object-position: center;
    z-index: 1; display: block;
}
.pmodal .ph .e {
    position: relative; z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
    animation: dishFloat 3.5s ease-in-out infinite;
}
@keyframes dishFloat { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.pmodal .ph .close-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; background: rgba(255,255,255,.96); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.18); -webkit-tap-highlight-color: rgba(0,0,0,.05); z-index: 2; }
.pmodal .ph .close-x:active { transform: scale(.92); }
.pmodal .body-scroll h2 { font-size: 1.4rem; }


.adult-badge {
    display: inline-block; vertical-align: middle; margin-left: .5rem;
    background: linear-gradient(135deg, #b8895d, #a37548);
    color: #fff; padding: .15rem .55rem; border-radius: 6px;
    font-size: .75rem; font-weight: 800; letter-spacing: .04em;
    box-shadow: 0 2px 6px rgba(184,137,93,.3);
}


.adult-warning {
    margin: .85rem 0;
    background: linear-gradient(135deg, #fef2e8 0%, #fdebd9 100%);
    border: 2px solid #c97c4c; border-radius: 12px; padding: .85rem 1rem;
    color: #5a2e0a;
}
.adult-warning .aw-head {
    font-weight: 800; font-size: 1rem; margin-bottom: .35rem;
}
.adult-warning .aw-body p {
    font-size: .85rem; line-height: 1.45; margin: 0;
}
.adult-warning.is-blocked {
    background: linear-gradient(135deg, #ffe1d6, #ffd0bc);
    border-color: #c0392b;
    color: #6e1f0e;
}


.allergens-box {
    margin: .85rem 0;
    background: linear-gradient(135deg, #fff5e8 0%, #fef3e0 100%);
    border: 1px solid #f4d8a9;
    border-radius: 12px;
    padding: .75rem .9rem;
    box-shadow: 0 1px 2px rgba(184,137,93,.08);
}
.allergens-box .ab-title {
    font-weight: 800; font-size: .92rem; color: #8a5a2b;
    display: flex; align-items: center; gap: .35rem; margin-bottom: .55rem;
    letter-spacing: -.01em;
}
.allergens-box .ab-list {
    display: flex; flex-wrap: wrap; gap: .35rem;
}
.allergens-box .allergen-pill {
    display: inline-flex; align-items: center; gap: .3rem;
    background: #fff; border: 1px solid #f0d9b3;
    padding: .3rem .55rem .3rem .45rem;
    border-radius: 99px;
    font-size: .8rem; font-weight: 600; color: #5a3d1b;
    box-shadow: 0 1px 2px rgba(184,137,93,.06);
}
.allergens-box .allergen-pill .ai { font-size: 1rem; line-height: 1; }
.allergens-box .ab-foot {
    margin-top: .55rem; font-size: .73rem; color: #8a5a2b; opacity: .8;
    font-style: italic;
}
.pmodal .body-scroll .desc { color: var(--ink-2); margin: .35rem 0 1rem; }


.half-toggle {
    display: grid; grid-template-columns: 1fr 1fr; gap: .4rem;
    margin: 0 0 1.25rem; padding: .25rem;
    background: var(--bg); border-radius: 12px;
}
.half-toggle button {
    padding: .65rem;
    background: #fff;                           
    border: 2px solid var(--border, #dde6f1);   
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--ink-1, #1a2942);               
    transition: all .15s;
    line-height: 1.2;
}
.half-toggle button:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.half-toggle button.active {
    background: var(--accent);                  
    color: #fff;                                
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255,107,61,.35);
    transform: scale(1.02);
}
.half-toggle button .sub {
    display: block;
    font-size: .74rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: .15rem;
}
.half-toggle button.active .sub { color: rgba(255,255,255,.92); }
.opt-group { margin-bottom: 1.4rem; }
.opt-group h4 {
    font-size: 1.05rem;
    font-weight: 700;
    display: flex; gap: .55rem; align-items: center;
    margin-bottom: .75rem;
    padding-bottom: .4rem;
    border-bottom: 1.5px solid var(--border);
    color: var(--text);
    letter-spacing: -.01em;
}
.opt-group .req {
    background: var(--accent); color: white;
    font-size: .65rem;
    padding: .15rem .55rem;
    border-radius: 99px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.opt-row {
    display: flex; align-items: center; gap: .75rem;
    padding: .7rem .85rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    margin-bottom: .5rem;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .12s ease;
    background: var(--surface);
    min-height: 64px;
    position: relative;
}
.opt-row:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 3px 10px rgba(0,0,0,.05);
}
.opt-row:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 3px rgba(74,144,226,.12);
}
.opt-row input[type=radio], .opt-row input[type=checkbox] {
    margin: 0;
    transform: scale(1.25);
    accent-color: var(--primary);
    flex-shrink: 0;
    cursor: pointer;
}
.opt-row .opt-pic {
    width: 64px; height: 64px;
    border-radius: 16px;            
    object-fit: contain;             
    object-position: center;
    flex-shrink: 0;
    padding: 4px;                    
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
}
.opt-row .n {
    flex: 1;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    text-transform: capitalize;
    letter-spacing: -.005em;
}
.opt-row .p {
    color: var(--primary);
    font-weight: 700;
    font-size: .92rem;
    flex-shrink: 0;
    padding: .3rem .65rem;
    background: var(--primary-soft);
    border-radius: 99px;
    white-space: nowrap;
}

.opt-row.opt-qty { cursor: default; }
.opt-row.opt-qty.opt-qty-active {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 3px rgba(74,144,226,.12);
}
.opt-qty-ctrl {
    display: flex; align-items: center;
    gap: .25rem;
    flex-shrink: 0;
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 3px;
}
.opt-qty-ctrl .qbtn {
    width: 32px; height: 32px;
    border: none;
    background: var(--surface);
    border-radius: 7px;
    cursor: pointer;
    font-size: 1.05rem; line-height: 1; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text);
    font-weight: 700;
    transition: all .12s;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.opt-qty-ctrl .qbtn:hover {
    background: var(--primary-soft);
    color: var(--primary);
}
.opt-qty-ctrl .qbtn:active { transform: scale(0.92); }
.opt-qty-ctrl .qty-val {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}
.opt-row.opt-qty.opt-qty-active .qty-val { color: var(--primary); }
.opt-row.opt-qty.opt-qty-active .qbtn { background: var(--surface); }
.pmodal .qty-row { display: flex; align-items: center; gap: 1rem; margin: 0 0 .65rem; justify-content: center; }
.pmodal .qty-row .qbtn { width: 36px; height: 36px; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; cursor: pointer; font-size: 1.2rem; }
.pmodal .qty-row .qty { font-weight: 700; font-size: 1.1rem; min-width: 30px; text-align: center; }
.pmodal .add-btn {
    width: 100%; padding: 1rem; background: var(--primary); color: white; border: none; border-radius: 12px;
    font-size: 1.05rem; font-weight: 700; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: transform .12s, box-shadow .12s;
}
.pmodal .add-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(74,144,226,.4); }
.pmodal-instr { width: 100%; padding: .65rem; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; resize: vertical; min-height: 60px; }


.toast {
    position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%);
    background: #1f2526; color: #fff; padding: .85rem 1.25rem; border-radius: 99px;
    font-size: .92rem; font-weight: 600; z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    animation: toastIn .3s cubic-bezier(.2,.8,.3,1), toastOut .3s ease 2.4s forwards;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes toastOut { to { opacity: 0; transform: translate(-50%, -10px); } }


.cart-fab {
    display: none;
    position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
    background: var(--primary); color: white;
    padding: .9rem 1.25rem; border-radius: 12px;
    font-weight: 700; font-size: .95rem;
    z-index: 30; box-shadow: 0 6px 20px rgba(74,144,226,.45);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .r-layout { grid-template-columns: 1fr; }
    .cart { display: none; }
    .cart.show-mobile {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        border: none;
        background: #ffffff;       
        z-index: 1000;
        padding: 1.25rem 1rem 1.4rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .cart.show-mobile .close-mobile {
        display: flex !important;
        position: absolute;
        top: 12px;
        right: 12px;
        background: #f3f4f6;
        border: 1px solid #d1d5db;
        box-shadow: 0 2px 6px rgba(0,0,0,.08);
        font-size: 1.6rem;
        width: 40px; height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: #111827;
        cursor: pointer;
        z-index: 2;
    }
    .cart-fab.show { display: block; }
}
.close-mobile { display: none; position: absolute; top: 12px; right: 12px; background: var(--bg); border-radius: 50%; width: 32px; height: 32px; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; }


.co-overlay { position: fixed; inset: 0; background: rgba(15,26,43,.7); z-index: 90; display: none; align-items: flex-start; justify-content: center; padding: 1rem; overflow-y: auto; }
.co-overlay.open { display: flex; animation: fadein .2s; }
.co {
    background: var(--surface); border-radius: 18px;
    max-width: 540px; width: 100%; padding: 1.5rem;
    margin-top: 2rem;
}
.co h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.co .field { margin-bottom: .75rem; }
.co label { display: block; font-size: .82rem; color: var(--ink-2); font-weight: 600; margin-bottom: .25rem; }
.co input, .co select, .co textarea { width: 100%; padding: .65rem .85rem; border: 1px solid var(--border); border-radius: 9px; font-size: .95rem; font-family: inherit; outline: none; transition: border-color .12s; }
.co input:focus, .co select:focus, .co textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.co .row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.co .seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem; }
.co .seg label { padding: .85rem; border: 2px solid var(--border); border-radius: 10px; cursor: pointer; text-align: center; font-weight: 600; font-size: .9rem; transition: all .15s; }
.co .seg input { display: none; }
.co .seg input:checked + span { color: var(--primary); }
.co .seg label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.co .submit { width: 100%; padding: 1rem; background: var(--primary); color: white; border: none; border-radius: 12px; font-size: 1.05rem; font-weight: 700; cursor: pointer; margin-top: .5rem; }
.co .err-msg { background: #f3eee2; color: var(--err); padding: .65rem; border-radius: 9px; font-size: .9rem; margin-bottom: .75rem; display: none; }


body:has(.pmodal-overlay.open) .r-mobile-bar,
body:has(.co-overlay.open) .r-mobile-bar,
body:has(.rv-overlay.show) .r-mobile-bar,
body:has(.hc-overlay.show) .r-mobile-bar,
body:has(.cart.show-mobile) .r-mobile-bar {
    display: none !important;
}
body:has(.pmodal-overlay.open) .cart-fab,
body:has(.co-overlay.open) .cart-fab,
body:has(.rv-overlay.show) .cart-fab,
body:has(.hc-overlay.show) .cart-fab,
body:has(.cart.show-mobile) .cart-fab {
    display: none !important;
}
body:has(.pmodal-overlay.open),
body:has(.co-overlay.open),
body:has(.rv-overlay.show),
body:has(.hc-overlay.show),
body:has(.cart.show-mobile) {
    overflow: hidden;
}


@media (max-width: 560px) {
    
    .r-layout { padding: 1rem .85rem; gap: 1rem; }
    .cat-nav-wrap { margin: -1rem -.85rem 1rem; }
    .cat-nav { padding: .65rem .85rem; }
    .cat-nav a { padding: .6rem 1.1rem; font-size: 1rem; }
    .cat { margin-bottom: 1.5rem; scroll-margin-top: 70px; }
    .cat h2 { font-size: 1.2rem; }
    .cat .desc { font-size: .88rem; margin-bottom: .75rem; }
    .cat-banner { min-height: 108px; }
    .cat-banner h2 { padding: .65rem .85rem; }

    
    .products { grid-template-columns: 1fr; gap: .55rem; }
    .product { padding: .95rem; gap: .85rem; border-radius: 12px; }
    .product .ph { width: 76px; height: 76px; font-size: 1.9rem; }
    .product .name { font-size: 1.06rem; line-height: 1.3; }
    .product .desc { font-size: .86rem; margin-top: .12rem; }
    .product .price { font-size: 1.1rem; }
    .product .add { width: 44px; height: 44px; font-size: 1.6rem; box-shadow: 0 3px 8px rgba(0,0,0,.18); }

    
    .pmodal-overlay {
        align-items: stretch;
        background: var(--surface); 
    }
    .pmodal {
        max-width: none;
        width: 100%;
        max-height: 100vh; max-height: 100dvh;
        height: 100dvh;
        border-radius: 0;
        animation: fadein .18s; 
    }
    .pmodal .ph {
        height: 130px; font-size: 3.5rem;
    }
    .pmodal .ph .close-x {
        top: 12px; right: 12px;
        width: 42px; height: 42px; font-size: 1.55rem;
    }
    .pmodal .body-scroll { padding: 1rem 1rem 1.25rem; }
    .pmodal .body-scroll h2 { font-size: 1.25rem; line-height: 1.25; }
    .pmodal .body-scroll .desc { font-size: .92rem; margin: .35rem 0 1rem; }
    .pmodal .action-bar {
        padding: .75rem 1rem calc(.85rem + env(safe-area-inset-bottom));
    }
    .pmodal .add-btn { padding: .95rem; font-size: 1rem; }
    .pmodal .qty-row { gap: .75rem; margin-bottom: .55rem; }
    .pmodal .qty-row .qbtn { width: 40px; height: 40px; font-size: 1.25rem; }
    .pmodal-instr { font-size: 16px; min-height: 54px; }
    .opt-row { padding: .65rem .75rem; gap: .65rem; margin-bottom: .45rem; min-height: 58px; }
    .opt-row .n { font-size: .98rem; }
    .opt-row .p { font-size: .9rem; padding: .25rem .55rem; }
    .opt-row .opt-pic { width: 48px; height: 48px; }
    .opt-qty-ctrl .qbtn { width: 30px; height: 30px; font-size: 1rem; }
    .opt-qty-ctrl .qty-val { font-size: .95rem; min-width: 22px; }
    .opt-group { margin-bottom: 1.2rem; }
    .opt-group h4 { font-size: 1rem; }
    .half-toggle { margin-bottom: 1rem; }
    .half-toggle button { padding: .7rem .55rem; font-size: .88rem; }

    
    .co-overlay {
        padding: 0;
        align-items: stretch;
        background: #ffffff !important;   
        z-index: 1100;                    
    }
    .co {
        padding: 1.25rem 1rem 1.5rem;
        margin-top: 0;
        border-radius: 0;
        max-width: none;
        width: 100%;
        min-height: 100dvh;
        background: #ffffff;
        box-shadow: none;
    }
    .co h2 { font-size: 1.15rem; margin-bottom: .85rem; }
    .co input, .co select, .co textarea { font-size: 16px; padding: .8rem .9rem; }
    .co label { font-size: .95rem; }
    .co .row { gap: .5rem; }
    .co .seg label { padding: .9rem .5rem; font-size: 1rem; }

    
    .r-mobile-bar { padding: .5rem .65rem calc(.5rem + env(safe-area-inset-bottom)); gap: .45rem; }
    .r-mobile-bar .rm-btn { min-height: 50px; font-size: .9rem; border-radius: 11px; }
    .r-mobile-bar .rm-btn:active { transform: scale(.97); }

    
    .r-hero-inner { padding: 1.5rem 1rem 1.25rem; gap: .55rem; }
    .r-hero-inner h1 { font-size: 1.35rem; }
    .r-hero-sub { font-size: .9rem; }
    .r-cta-btn { padding: .75rem 1.2rem; font-size: 1rem; }
}

@media (max-width: 380px) {
    .r-layout { padding: .85rem .65rem; }
    .cat-nav-wrap { margin: -.85rem -.65rem .85rem; }
    .cat-nav { padding: .55rem .65rem; }

    .product { padding: .8rem; gap: .72rem; }
    .product .ph { width: 68px; height: 68px; font-size: 1.7rem; }
    .product .name { font-size: 1rem; }
    .product .desc { font-size: .82rem; }
    .product .price { font-size: 1.02rem; }

    .pmodal .ph { height: 140px; font-size: 3.6rem; }
    .pmodal .body-scroll { padding: .85rem; }
    .pmodal .body-scroll h2 { font-size: 1.08rem; }
    .pmodal .body-scroll .desc { font-size: .85rem; }
    .pmodal .action-bar { padding: .6rem .8rem calc(.7rem + env(safe-area-inset-bottom)); }
    .pmodal .add-btn { padding: .8rem; font-size: .92rem; border-radius: 10px; }
    .pmodal .qty-row .qbtn { width: 34px; height: 34px; font-size: 1.05rem; }
    .opt-row { padding: .55rem .65rem; gap: .55rem; min-height: 52px; }
    .opt-row .n { font-size: .92rem; }
    .opt-row .p { font-size: .85rem; padding: .22rem .5rem; }
    .opt-row .opt-pic { width: 42px; height: 42px; }
    .opt-qty-ctrl .qbtn { width: 28px; height: 28px; font-size: .95rem; }
    .opt-qty-ctrl .qty-val { font-size: .9rem; min-width: 20px; }
    .half-toggle button { padding: .55rem; font-size: .82rem; }
    .half-toggle button .sub { font-size: .68rem; }

    .co { padding: .85rem; }
    .co h2 { font-size: 1.05rem; }
    .co .seg label { padding: .75rem .4rem; font-size: .92rem; }

    .r-mobile-bar .rm-btn { min-height: 46px; font-size: .85rem; }
    .r-mobile-bar .rm-cart-count { font-size: .72rem; padding: .05rem .42rem; min-width: 20px; }
}


@media (max-height: 640px) {
    .pmodal { max-height: 96vh; max-height: 96dvh; }
    .pmodal .ph { height: 130px; font-size: 3.2rem; }
    .pmodal .ph .close-x { width: 36px; height: 36px; font-size: 1.3rem; }
}


.pmodal input,
.pmodal select,
.pmodal textarea,
.pmodal-instr,
.co input,
.co select,
.co textarea,
.rv-modal input,
.rv-modal select,
.rv-modal textarea,
.hc-modal input,
.hc-modal select,
.hc-modal textarea {
    font-size: 16px !important;
    line-height: 1.4;
}


button, label.opt-row, .pmodal, .co,
a:not(.cat-nav a) {
    touch-action: manipulation;
}
.cat-nav a { touch-action: pan-x; }



@media (max-width: 1024px) {
    .r-mobile-bar { display: flex !important; }
    body { padding-bottom: 72px; }
    .cart-fab, #c-fab { bottom: calc(1rem + env(safe-area-inset-bottom)) !important; }
}



.r-zones-map, #r-zones-map, #r-zone-mini-map, .r-zone-map-section #r-zone-mini-map {
    position: relative; z-index: 0; isolation: isolate;
}
.r-zones-map .leaflet-container, #r-zone-mini-map .leaflet-container { z-index: 0; }


.leaflet-container { position: relative; z-index: 0; isolation: isolate; }



@media (max-width: 1024px) {
  .cart.show-mobile {
    padding: 1rem 1.1rem 0;
    overflow: hidden;                 
    animation: elpCartUp .30s cubic-bezier(.22,.7,.2,1);
  }
  .cart.show-mobile h3 {
    font-size: 1.35rem; font-weight: 800; color: var(--ink-0);
    justify-content: flex-start; gap: .5rem; align-items: center;
    margin: .2rem 0 1rem; padding-right: 52px; letter-spacing: -.01em;
  }
  .cart.show-mobile h3 .count-badge { font-size: .8rem; }
  
  .cart.show-mobile .cart-items {
    flex: 1 1 auto; min-height: 0; overflow-y: auto;
    margin: 0 -1.1rem; padding: 0 1.1rem;
  }
  
  .cart.show-mobile .cart-item {
    align-items: center; gap: .85rem;
    padding: .95rem 0; border-bottom: 1px solid #eef2f7;
  }
  .cart.show-mobile .cart-item .body { order: 1; flex: 1; min-width: 0; }
  .cart.show-mobile .cart-item .body .n { font-size: 1.02rem; font-weight: 700; color: var(--ink-0); line-height: 1.25; }
  .cart.show-mobile .cart-item .body .opts { font-size: .85rem; margin-top: .2rem; }
  .cart.show-mobile .cart-item .body .p { font-size: 1.05rem; font-weight: 800; color: var(--primary); margin-top: .35rem; }
  
  .cart.show-mobile .cart-item .qbox {
    order: 2; flex-direction: row; gap: 0; align-items: stretch; flex-shrink: 0;
    border: 1.5px solid #e2e8f0; border-radius: 999px; overflow: hidden; background: #fff;
  }
  .cart.show-mobile .cart-item .qbox button {
    width: 44px; height: 44px; border: none; border-radius: 0; background: #f5f7fa;
    font-size: 1.45rem; font-weight: 700; color: var(--ink-0); line-height: 1; transition: background .12s;
  }
  .cart.show-mobile .cart-item .qbox button:active { background: #e6ebf2; }
  .cart.show-mobile .cart-item .qbox button:first-child { order: 3; }  
  .cart.show-mobile .cart-item .qbox span { order: 2; min-width: 36px; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; background:#fff; }
  .cart.show-mobile .cart-item .qbox button:last-child { order: 1; }   
  .cart.show-mobile .cart-item .rm { order: 3; font-size: 1.3rem; padding: .35rem .2rem; align-self: center; color: #b6c0cf; }
  
  .cart.show-mobile .cart-totals {
    flex-shrink: 0; border-top: 2px solid #eef2f7; margin: 0 -1.1rem; padding: .9rem 1.1rem .5rem; background: #fff;
  }
  .cart.show-mobile .cart-totals .line { font-size: .95rem; }
  .cart.show-mobile .cart-totals .total { font-size: 1.45rem; }
  .cart.show-mobile .checkout-btn {
    flex-shrink: 0; margin: 0 -1.1rem; border-radius: 0; padding: 1.15rem;
    font-size: 1.12rem; font-weight: 800; min-height: 56px; letter-spacing: .01em;
  }
  
  .cart.show-mobile .cart-empty { padding: 3rem 1rem; font-size: 1.02rem; }
  .cart.show-mobile .cart-empty small { font-size: .9rem; opacity: .8; }
}
@keyframes elpCartUp { from { transform: translateY(100%); } to { transform: translateY(0); } }



@media (max-width: 1024px) {
  .r-mobile-bar, #r-mobile-bar { display: none !important; }
  .cart-fab, #c-fab { bottom: calc(.9rem + env(safe-area-inset-bottom)) !important; }
}


.p-tags { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .3rem; }
.p-tag {
    display: inline-flex; align-items: center; gap: .22rem;
    background: var(--surface-2, #f2f2f4);
    color: var(--ink-2, #4b5058);
    border: 1px solid var(--border, #e9eaee);
    border-radius: 999px;
    padding: .12rem .45rem;
    font-size: .7rem; font-weight: 700; line-height: 1.35;
    white-space: nowrap;
}
.p-tag-i { font-size: .85rem; line-height: 1; }


.r-topbar-svc { display: none; gap: .35rem; align-items: center; flex-wrap: nowrap; }


.ph-orient {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 4;
    padding: 1px 4px 2px;
    font-size: 8px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: .01em;
    text-align: center;
    color: rgba(255,255,255,.92);
    background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
    pointer-events: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ph-orient-lg { font-size: 11px; padding: .35rem .6rem .4rem; letter-spacing: 0; }

@media (max-width: 700px) {
    .product .ph-orient { font-size: 7px; padding: 1px 2px; }
}


@font-face {
    font-family: 'ElpInter';
    src: url('/r/styles/plantillas/inter-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}




.half-toggle.ht-discreto { grid-template-columns: 1fr; gap: .3rem; background: transparent; padding: 0; }
.half-toggle.ht-discreto button:not([data-portions="1"]) {
    background: transparent; border: 0; color: var(--muted);
    font-size: .84rem; font-weight: 600; padding: .35rem;
    box-shadow: none; transform: none;
}
.half-toggle.ht-discreto button:not([data-portions="1"]):hover { color: var(--accent); text-decoration: underline; }

.half-toggle.ht-discreto button:not([data-portions="1"]).active {
    background: var(--accent); color: #fff; border-radius: 10px; padding: .55rem;
}
.half-toggle.ht-discreto button .sub { font-size: .7rem; }


.half-toggle.ht-enlace { grid-template-columns: 1fr; gap: .3rem; background: transparent; padding: 0; }
.half-toggle.ht-enlace button[data-portions="1"] { display: none; }
.half-toggle.ht-enlace button {
    background: transparent; border: 0; color: var(--accent);
    font-size: .86rem; font-weight: 700; padding: .3rem; text-decoration: underline;
    box-shadow: none; transform: none;
}
.half-toggle.ht-enlace button .sub { display: none; }
.half-toggle.ht-enlace.ht-abierto { grid-template-columns: 1fr 1fr; gap: .4rem; background: var(--bg); padding: .25rem; }
.half-toggle.ht-enlace.ht-abierto button {
    background: #fff; border: 2px solid var(--border, #dde6f1); color: var(--ink-1, #1a2942);
    font-size: .95rem; padding: .65rem; text-decoration: none; border-radius: 10px;
}
.half-toggle.ht-enlace.ht-abierto button[data-portions="1"] { display: block; }
.half-toggle.ht-enlace.ht-abierto button .sub { display: block; }
.half-toggle.ht-enlace.ht-abierto button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.half-toggle.ht-enlace.ht-abierto button.active .sub { color: rgba(255,255,255,.92); }


.half-toggle.ht-texto,
.half-toggle.ht-chip,
.half-toggle.ht-plegado { display: block; background: transparent; padding: 0; margin-bottom: 1rem; }

.half-toggle.ht-texto > button:not(.ht-lead),
.half-toggle.ht-chip > button[data-portions="1"],
.half-toggle.ht-plegado > button:not(.ht-lead) { display: none; }

.ht-lead {
    display: none; appearance: none; border: 0; background: transparent; cursor: pointer;
    width: 100%; text-align: left; padding: .2rem 0;
    color: var(--muted); font-size: .78rem; font-weight: 600; font-family: inherit;
}
.half-toggle.ht-texto .ht-lead-texto { display: block; text-decoration: underline; }
.half-toggle.ht-plegado .ht-lead-plegado { display: block; }
.half-toggle.ht-plegado .ht-lead-plegado::after { content: ' ▾'; }


.half-toggle.ht-chip > button:not(.ht-lead) {
    display: inline-block; width: auto;
    background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
    padding: .12rem .55rem; font-size: .72rem; font-weight: 700; color: var(--muted);
    box-shadow: none; transform: none;
}
.half-toggle.ht-chip > button:not(.ht-lead) .sub { display: none; }


.half-toggle.ht-texto.ht-abierto,
.half-toggle.ht-chip.ht-abierto,
.half-toggle.ht-plegado.ht-abierto {
    display: grid; grid-template-columns: 1fr 1fr; gap: .4rem;
    background: var(--bg); padding: .25rem; border-radius: 12px;
}
.half-toggle.ht-texto.ht-abierto > button:not(.ht-lead),
.half-toggle.ht-chip.ht-abierto > button:not(.ht-lead),
.half-toggle.ht-plegado.ht-abierto > button:not(.ht-lead) {
    display: block; width: auto;
    background: #fff; border: 2px solid var(--border, #dde6f1); border-radius: 10px;
    padding: .65rem; font-size: .95rem; font-weight: 700; color: var(--ink-1, #1a2942);
    text-decoration: none;
}
.half-toggle.ht-texto.ht-abierto > button:not(.ht-lead) .sub,
.half-toggle.ht-chip.ht-abierto > button:not(.ht-lead) .sub,
.half-toggle.ht-plegado.ht-abierto > button:not(.ht-lead) .sub { display: block; }
.half-toggle.ht-texto.ht-abierto > button.active,
.half-toggle.ht-chip.ht-abierto > button.active,
.half-toggle.ht-plegado.ht-abierto > button.active {
    background: var(--accent); color: #fff; border-color: var(--accent);
}
.half-toggle.ht-texto.ht-abierto > button.active .sub,
.half-toggle.ht-chip.ht-abierto > button.active .sub,
.half-toggle.ht-plegado.ht-abierto > button.active .sub { color: rgba(255,255,255,.92); }
.half-toggle.ht-abierto .ht-lead { display: none; }


.cat-nav a.cat-nav-sub {
    font-size: .82em;
    opacity: .72;
    padding-inline: .55em;
    font-weight: 500;
}

.cat-nav a.cat-nav-sub:hover,
.cat-nav a.cat-nav-sub.active { opacity: 1; }



.cat.cat-hija .cat-head { margin-top: .4rem; }
.cat.cat-hija .cat-head h2 { font-size: 1.2em; opacity: .92; }
body[data-plantilla="terracota"] .cat.cat-hija .cat-head h2 { font-size: 1.35rem; }

.cat:not(:has(> .products > .product)) > .products { display: none; }


.cat-nav a.tiene-sub::after { content: '\25BE'; font-size: .72em; margin-left: .32em; opacity: .75; }
.elp-submenu {
    position: fixed; z-index: 1200; min-width: 11rem; max-width: calc(100vw - 16px);
    display: flex; flex-direction: column; padding: .35rem;
    background: #fff; color: #2f3739;
    border: 1px solid rgba(0, 0, 0, .08); border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}
.elp-submenu a { display: block; padding: .55rem .85rem; border-radius: 10px; color: inherit; text-decoration: none; font-size: 1rem; white-space: nowrap; }
.elp-submenu a:hover, .elp-submenu a:focus-visible { background: rgba(0, 0, 0, .05); outline: none; }
body[data-plantilla="terracota"] .elp-submenu { background: var(--tc-crema, #fbf6f0); border-color: var(--tc-linea, #eadfd2); color: var(--tc-tinta, #2b2520); }
body[data-plantilla="terracota"] .elp-submenu a:hover { background: var(--tc-beige, #f3ebe2); color: var(--tc-terra, #b4532a); }
body[data-plantilla="nocturna"] .elp-submenu { background: #1e1b19; color: #f1ece6; border-color: rgba(255, 255, 255, .12); }
body[data-plantilla="nocturna"] .elp-submenu a:hover { background: rgba(255, 255, 255, .08); }


.elp-busca { display: none !important; }
body[data-plt-buscador="si"] .elp-busca {
    display: flex !important; flex-wrap: wrap; justify-content: center; position: relative; padding: 0;
    width: min(420px, calc(100% - 6rem)); margin: -.2rem auto .55rem;
}
.elp-busca-lupa { position: absolute; left: 12px; top: 0; height: 34px; display: flex; align-items: center; color: #8a7f76; pointer-events: none; }
.elp-busca-campo {
    width: 100%; box-sizing: border-box; height: 34px; font: inherit; font-size: 14px;
    padding: 0 34px 0 34px; border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .12); background: rgba(255, 255, 255, .85); color: #2f3739;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.elp-busca-campo::placeholder { color: #9a9088; }
.elp-busca-campo:focus, .elp-busca-campo:focus-visible { outline: none !important; background: #fff; border-color: var(--tc-terra, var(--primary, #7c9885)); box-shadow: 0 0 0 2px rgba(180, 83, 42, .12); }  

.elp-busca-campo::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.elp-busca-x { position: absolute; right: 6px; top: 5px; width: 24px; height: 24px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .07); color: inherit; cursor: pointer; font-size: .72rem; line-height: 1; }
.elp-busca-x[hidden] { display: none; }
.elp-busca-info { flex: 1 0 100%; text-align: center; font-size: 12px; opacity: .7; margin-top: .2rem; }
.elp-busca-info:empty { display: none; }
body[data-plantilla="terracota"] .elp-busca-campo { border-color: var(--tc-linea, #eadfd2); background: rgba(255, 255, 255, .7); }
body[data-plantilla="terracota"] .elp-busca-lupa { color: var(--tc-terra, #b4532a); }
body[data-plantilla="nocturna"] .elp-busca-campo { background: #141210; color: #f1ece6; border-color: rgba(255, 255, 255, .18); }

body[data-plt-buscador="si"] .cat-nav-wrap.elp-con-busca .cat-nav-arrow { bottom: auto; top: var(--elp-nav-bajo, auto); }
.product.elp-no-coincide, .cat.elp-sin-coincidencias, html.elp-buscando #elp-up-featured { display: none !important; }

html.elp-buscando .cat { scroll-margin-top: var(--elp-busca-alto, 150px); }
@media (max-width: 700px) {
    body[data-plt-buscador="si"] .elp-busca { width: calc(100% - 5rem); margin: -.25rem auto .45rem; }
    
    .elp-busca-campo { font-size: 16px; height: 38px; }
    .elp-busca-lupa { height: 38px; }
    .elp-busca-x { top: 7px; }
}

html.elp-grupos .cat.cat-hija { display: none; }
.pmodal .grp-lista { display: flex; flex-direction: column; gap: .6rem; margin: .5rem 0 1.2rem; }
.pmodal .grp-fila { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; padding: .6rem .8rem .6rem .6rem; border: 1px solid var(--border, #e6dccd); border-radius: 16px; background: var(--surface, #fff); color: inherit; font: inherit; cursor: pointer; transition: border-color .15s, transform .1s; }
.pmodal .grp-fila:hover { border-color: var(--primary, #c0562e); }
.pmodal .grp-fila:active { transform: scale(.99); }
.pmodal .grp-foto { flex: 0 0 64px; height: 64px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; background-size: cover; background-position: center; }
.pmodal .grp-foto img { width: 100%; height: 100%; object-fit: cover; }
.pmodal .grp-texto { flex: 1 1 auto; min-width: 0; }
.pmodal .grp-n { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.pmodal .grp-d { display: block; font-size: .82rem; color: var(--muted, #8a7a68); margin-top: .15rem; line-height: 1.3; }
.pmodal .grp-p { flex: 0 0 auto; font-weight: 700; white-space: nowrap; }
.pmodal .grp-volver { display: inline-block; background: none; border: 0; padding: 0 0 .5rem; color: var(--primary, #c0562e); font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 700px) {
}
.pmodal .ph .close-x { border: 0; }


body[data-plt-marco="sin"] .product { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
body[data-plt-marco="sin"] .product:hover { transform: none !important; box-shadow: none !important; }
body[data-plt-marco="sin"] .product .ph { background-color: transparent !important; box-shadow: none !important; }
body[data-plt-marco="sin"] .product .ph::after { display: none !important; }
body[data-plt-marco="sin"]:not([data-plantilla="nocturna"]) .product .ph::before,
body[data-plt-marco="sin"]:not([data-plantilla="nocturna"]) .product .ph img { mix-blend-mode: multiply; }

body[data-plantilla="terracota"][data-plt-marco="sin"] .product { border-width: 0 !important; border-radius: 0 !important; overflow: visible !important; padding: 0 !important; container-type: inline-size; }
body[data-plantilla="terracota"][data-plt-marco="sin"] .product .ph { border-radius: 12px; }
body[data-plantilla="terracota"][data-plt-marco="sin"] .product .body { padding-left: .15rem !important; padding-right: .15rem !important; }
body[data-plantilla="terracota"][data-plt-marco="sin"] .product:has(> .ph) .add { top: calc(75cqw - 34px - 1.75rem); bottom: auto !important; }


@media (max-width: 700px) {
    body[data-plantilla="terracota"][data-plt-movil="2"] .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.1rem .75rem !important; }
    body[data-plantilla="terracota"][data-plt-movil="2"] .product { flex-direction: column !important; gap: 0 !important; padding: 0 !important; container-type: inline-size; }
    body[data-plantilla="terracota"][data-plt-movil="2"] .product .ph { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; border-radius: 12px; }
    body[data-plantilla="terracota"][data-plt-movil="2"] .product .body { grid-template-columns: minmax(0, 1fr) !important; gap: .12rem !important; padding: .5rem .45rem .35rem !important; }
    body[data-plantilla="terracota"][data-plt-movil="2"][data-plt-marco="sin"] .product .body { padding: .45rem .1rem .2rem !important; }
    body[data-plantilla="terracota"][data-plt-movil="2"] .product .name { grid-column: 1 !important; grid-row: 1 !important; font-size: .95rem !important; line-height: 1.2; }
    body[data-plantilla="terracota"][data-plt-movil="2"] .product .price { grid-column: 1 !important; grid-row: 2 !important; font-size: .9rem !important; white-space: normal; }
    body[data-plantilla="terracota"][data-plt-movil="2"] .product .desc { grid-column: 1 !important; grid-row: 3 !important; font-size: .76rem !important; margin-top: .1rem !important; -webkit-line-clamp: 2; }
    body[data-plantilla="terracota"][data-plt-movil="2"] .product .p-tags { grid-column: 1 !important; }
    body[data-plantilla="terracota"][data-plt-movil="2"] .product:has(> .ph) .add { position: absolute !important; top: calc(100cqw - 30px - .45rem) !important; right: .45rem !important; bottom: auto !important; width: 30px !important; height: 30px !important; }
    body[data-plantilla="terracota"][data-plt-movil="2"] .product:not(:has(> .ph)) .add { position: static !important; grid-column: 1 !important; grid-row: 4 !important; justify-self: end; }
}

@media (max-width: 700px) {
    body[data-plantilla="terracota"][data-plt-movil="2"] .product:not(:has(.ph img)) .price::before { display: none !important; }
}


.ajuste-plato { margin: .1rem 0 .5rem 1.6rem; border-left: 2px solid var(--brand, #c8a35a); padding-left: .6rem; }

.opt-row-editar { margin-left: .5rem; flex: none; display: inline-flex; align-items: center; gap: .25rem;
                  background: rgba(200,163,90,.14); border: 1px solid rgba(200,163,90,.5); color: inherit;
                  border-radius: 999px; padding: .12rem .55rem; font: inherit; font-size: .75rem;
                  font-weight: 700; cursor: pointer; white-space: nowrap; }
.opt-row-editar:hover { background: rgba(200,163,90,.26); }
.opt-row-editar.abierto { background: rgba(200,163,90,.38); }

.ajuste-plato:not(.abierto) > .opt-group { display: none !important; }
.ajuste-plato > .opt-group { margin: .35rem 0; }
.ajuste-plato > .opt-group h4 { font-size: .82rem; opacity: .85; margin: .2rem 0 .15rem; }


.pase-nota { margin: .35rem 0 .1rem; }
.pase-nota-in { width: 100%; box-sizing: border-box; resize: vertical; min-height: 2.1rem;
                padding: .45rem .6rem; border: 1px solid var(--border, #e6e0d6); border-radius: 10px;
                font: inherit; font-size: .88rem; line-height: 1.3; background: var(--card, #fff); color: inherit; }
.pase-nota-in:focus { outline: none; border-color: var(--brand, #c8a35a); }


.opt-row.opt-apagada { opacity: .45; }
.opt-row.opt-apagada img.opt-pic { filter: grayscale(1); }
.opt-row.opt-apagada:hover, .opt-row.opt-apagada:focus-within { opacity: .8; }


.opts-menu { margin: .2rem 0 .1rem; font-size: .82rem; line-height: 1.35; }
.om-pase { display: flex; gap: .35rem; align-items: baseline; flex-wrap: wrap; margin-top: .15rem; }
.om-t { font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
        color: var(--muted, #8a8172); background: rgba(0,0,0,.05); border-radius: 999px; padding: .02rem .4rem; }
.om-det { padding-left: .85rem; color: var(--muted, #8a8172); }
.om-det::before { content: "· "; }
.om-nota { padding-left: .85rem; color: #7a5b16; font-weight: 600; }
.om-p { color: var(--muted, #8a8172); font-size: .78em; }


@media screen and (prefers-reduced-motion: no-preference) {
    .products > .product { content-visibility: auto; contain-intrinsic-block-size: auto 120px; animation: elp-cv-fin 1ms 3s forwards; }
    .cat-nav-wrap:is(:hover, :active, :focus-within) ~ .cat .products > .product { content-visibility: visible; }
}
@keyframes elp-cv-fin { to { content-visibility: visible; } }
