/* Mobile first: 320px baseline, then larger phones, tablets and desktops. */
:root{--bg:#151512;--panel:#20211d;--text:#f8f5ed;--muted:#b4b4a7;--accent:#f6a648;--line:rgba(255,255,255,.12);font-family:Inter,Arial,Helvetica,sans-serif;color-scheme:dark;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}
body{margin:0}
button,input,textarea{font:inherit}
button,a,input,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit;border:0;background:none}
button:disabled{cursor:default;opacity:.45}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
a{color:inherit;text-decoration:none}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
img{display:block}
button,a{touch-action:manipulation}
.sidebar{position:fixed;inset-inline-end:auto;inset:0;width:278px;padding:36px 28px 24px;display:none;flex-direction:column;border-inline-end:1px solid var(--line);z-index:3;background:var(--bg)}
.brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:750;letter-spacing:-1px}
.brand img{width:42px;height:42px;border-radius:14px}
.eyebrow{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:2.4px;color:var(--muted)}
.sidebar .intro{margin:46px 0 25px}
.intro h1{font-size:32px;font-family:Georgia,serif;font-weight:400;line-height:1.15;margin:13px 0}
.intro p{font-size:12px;color:var(--muted);line-height:1.7}
.side-cats{display:grid;align-content:start;grid-auto-rows:max-content;gap:3px;overflow:auto;scrollbar-width:thin;flex:1;min-height:0}
.side-cat{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:11px 13px;border-radius:9px;font-size:12px;text-align:start;color:var(--muted);transition:background .2s}
.side-cat.active{background:#303026;color:var(--accent)}
.side-cat:hover{background:#292a23}
.side-cat span:last-child{font-size:10px;opacity:.6}
/* FASE 2 — GAMIFICACIÓN: .loyalty-card{margin-top:22px;padding:17px;border:1px solid #5b4b31;background:linear-gradient(135deg,#302b20,#24251e);border-radius:12px;text-align:start} */
/* FASE 2 — GAMIFICACIÓN: .loyalty-card .spark{color:var(--accent);display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600} */
/* FASE 2 — GAMIFICACIÓN: .loyalty-card p{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0 12px} */
/* FASE 2 — GAMIFICACIÓN: .loyalty-card .link{font-size:11px;color:var(--accent);display:flex;align-items:center;justify-content:space-between} */
.sidebar-footer{margin-top:23px;display:flex;justify-content:space-between;align-items:center;color:#939589;font-size:10px}
.lang{border:1px solid var(--line);border-radius:6px;padding:6px 8px;font-size:10px}
.workspace{margin-inline-start:0;position:relative;height:100dvh}
.header{position:absolute;top:0;inset-inline-start:0;inset-inline-end:0;z-index:4;padding:calc(15px + env(safe-area-inset-top)) 18px 15px;background:linear-gradient(#0009,#0005,transparent);pointer-events:none}
.header>*{pointer-events:auto}
.header-top{display:flex;justify-content:space-between;align-items:center;gap:6px}
.breadcrumb{font-size:11px;display:none;gap:12px;align-items:center;color:#dddcd3}
.breadcrumb span:last-child{color:var(--accent)}
.header-actions{display:flex;gap:7px;align-items:center}
.icon-btn{display:inline-flex;justify-content:center;align-items:center;width:42px;height:42px;border-radius:50%;border:1px solid #ffffff38;background:#15151266;backdrop-filter:blur(12px)}
.icon-btn:hover{background:#ffffff20}
.icon-btn svg{width:19px;height:19px}
/* FASE 2 — GAMIFICACIÓN: .points-btn{background:var(--accent);color:#221b10;padding:10px 12px;border-radius:24px;font-size:10px;font-weight:700;display:flex;gap:5px;align-items:center} */
/* FASE 2 — GAMIFICACIÓN: .points-btn svg{width:14px;height:14px} */
.category-nav{display:flex;gap:7px;overflow:auto;scrollbar-width:none;margin-top:20px;max-width:100%;padding-bottom:5px;margin-inline-end:-18px}
.category-nav::-webkit-scrollbar{display:none}
.pill{white-space:nowrap;border:1px solid #ffffff30;border-radius:24px;padding:9px 16px;font-size:11px;background:#16161359;backdrop-filter:blur(12px);transition:.2s}
.pill.active{background:var(--text);color:#24241c;border-color:var(--text)}
.feed{height:100dvh;overflow-y:auto;scroll-snap-type:y mandatory;scroll-behavior:smooth;scrollbar-width:none;background:#20211d}
.feed::-webkit-scrollbar{display:none}
.dish{height:100dvh;position:relative;scroll-snap-align:start;scroll-snap-stop:always;isolation:isolate;background:radial-gradient(ellipse at center,#50452e,#20211d)}
.dish-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}
.dish::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#090b09ed 0%,#0e100d91 24%,transparent 62%)}
.dish::after{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#0003,transparent 45%)}
.dish-info{position:absolute;inset-inline-start:23px;bottom:95px;max-width:640px;width:calc(100% - 96px);text-align:start;padding:0}
.dish-meta{display:flex;gap:5px;align-items:center;margin-bottom:14px}
.tag{font-size:7px;text-transform:uppercase;letter-spacing:.7px;font-weight:700;border:1px solid #ffffff4d;background:#191d1677;backdrop-filter:blur(8px);border-radius:5px;padding:5px 7px}
.tag:first-child{color:#ffca80;border-color:#ffca8055}
.dish-info h2{font-family:Georgia,'Times New Roman',serif;font-size:39px;font-weight:400;letter-spacing:-1.5px;line-height:1.05;margin:0 0 17px;max-width:600px;margin-bottom:15px}
.dish-description{font-size:12px;line-height:1.7;color:#dedfd5;max-width:460px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 23px;margin-bottom:20px}
.dish-bottom{display:flex;align-items:center;gap:10px}
.price{font-size:24px;color:var(--accent);font-weight:650;letter-spacing:-.8px}
.detail-link{display:flex;align-items:center;gap:9px;font-size:10px;border-bottom:1px solid #ffffff5c;padding-bottom:5px}
.detail-link svg{width:14px;height:14px}
.social{position:absolute;inset-inline-end:15px;bottom:calc(133px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:19px}
.social-btn{display:flex;align-items:center;flex-direction:column;gap:6px;font-size:9px}
.social-btn .icon-btn{width:41px;height:41px}
.social-btn.liked{color:var(--accent)}
.social-btn.liked svg{fill:var(--accent)}
.dish-footer{position:absolute;bottom:calc(24px + env(safe-area-inset-bottom));inset-inline-start:23px;inset-inline-end:23px;display:flex;justify-content:space-between;align-items:center;color:#c7c9bf;font-size:9px;border-top:1px solid #ffffff26;padding-top:18px}
.dish-footer .scroll-hint{display:flex;align-items:center;gap:9px}
.dish-footer svg{width:15px;height:15px}
.position{position:absolute;inset-inline-end:22px;top:43%;z-index:2;display:flex;flex-direction:column;gap:7px;transform:translateY(-50%)}
.position button{width:4px;height:5px;background:#ffffff60;border-radius:4px;padding:0}
.position button.active{height:24px;background:var(--accent)}
.mobile-brand{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:700;letter-spacing:-.5px;max-width:47%}
.grid-mode{padding:145px 18px 30px;scroll-snap-type:none;display:grid;grid-template-columns:1fr;gap:12px;align-content:start;background:var(--bg);grid-auto-rows:max-content}
.workspace:has(.grid-mode) .header{background:var(--bg)}
.grid-card{min-width:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#20211d;text-align:start;padding:0;transition:transform .2s;display:flex;flex-direction:column;align-self:start}
.grid-card:hover{transform:translateY(-3px)}
.grid-card img{width:100%;height:155px;object-fit:cover}
.grid-card-info{padding:13px;width:100%}
.grid-card h2{font-family:Georgia,serif;font-size:21px;font-weight:400;margin:6px 0 12px}
.grid-card .price{font-size:17px}
.grid-card p{font-size:10px;color:var(--muted);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.grid-card .eyebrow{font-size:8px}
.empty,.loading{padding:35px;text-align:center;margin:auto;color:var(--muted);line-height:1.8}
.loading{padding-top:45vh}
.empty svg{width:40px;height:40px;color:var(--accent);margin:0 auto 15px;display:block}
dialog{border:1px solid var(--line);border-radius:22px;background:#20211d;color:var(--text);width:min(94vw,510px);max-height:92dvh;padding:0;box-shadow:0 35px 120px #0009;scrollbar-width:thin}
dialog::backdrop{background:#080a08b8;backdrop-filter:blur(8px)}
dialog[open]{animation:enter .22s ease-out}
.modal-head{padding:22px 22px 15px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.modal-head h2{font-family:Georgia,serif;font-size:26px;font-weight:400;letter-spacing:-.6px;margin:0}
.modal-body{padding:4px 22px 25px}
.modal-body p{font-size:13px;line-height:1.7;color:var(--muted)}
.modal-body h3{font-size:13px;margin:22px 0 9px}
.detail-img{width:100%;height:235px;object-fit:cover}
.detail-stats{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}
.detail-stats span,.allergen{background:#ffffff09;border:1px solid var(--line);padding:8px 10px;border-radius:6px;font-size:11px}
.allergens{display:flex;gap:7px;flex-wrap:wrap}
.chef-note{border-inline-start:2px solid var(--accent);padding-inline-start:14px;font-style:italic}
.primary{display:flex;width:100%;justify-content:center;align-items:center;gap:9px;background:var(--accent);color:#211a0f;font-size:13px;font-weight:700;border-radius:10px;padding:14px 18px;margin-top:17px}
.secondary{display:block;width:100%;padding:12px;font-size:12px;border:1px solid var(--line);border-radius:10px;margin-top:10px}
.text-btn{font-size:12px;color:var(--accent);text-decoration:underline;text-underline-offset:4px;padding:9px 0}
.field{display:grid;gap:8px;font-size:11px;margin:20px 0 12px;color:var(--muted)}
input,textarea{min-width:0;max-width:100%;padding:14px;background:#151612;color:var(--text);border:1px solid #ffffff28;border-radius:9px;font-size:14px;width:100%}
textarea{resize:vertical;min-height:90px}
.otp{display:flex;gap:8px;margin:25px 0 15px}
.otp input{text-align:center;font-size:24px;padding:13px 0;width:calc((100% - 40px)/6)}
.demo-notice{padding:10px 12px;border:1px dashed #8b7445;border-radius:8px;background:#f6a6480b;font-size:11px!important;color:#efc789!important}
.error{color:#ffc1a4!important;font-size:12px;line-height:1.5}
.auth-icon{width:60px;height:60px;border-radius:18px;background:#f6a64813;display:grid;place-items:center;color:var(--accent);margin:10px 0 22px}
.auth-icon svg{width:28px;height:28px}
/* FASE 2 — GAMIFICACIÓN: .balance{padding:23px 0} */
/* FASE 2 — GAMIFICACIÓN: .balance strong{font-size:57px;font-weight:400;letter-spacing:-3px} */
/* FASE 2 — GAMIFICACIÓN: .balance span{color:var(--accent);font-size:15px;margin-inline-start:9px} */
/* FASE 2 — GAMIFICACIÓN: .progress{height:5px;background:#ffffff13;border-radius:5px;overflow:hidden;margin:16px 0 10px} */
/* FASE 2 — GAMIFICACIÓN: .progress span{display:block;background:var(--accent);height:100%;margin:0} */
.small{font-size:11px!important;color:var(--muted)}
/* FASE 2 — GAMIFICACIÓN: .wheel-promo{width:100%;text-align:start;display:flex;gap:15px;align-items:center;padding:18px;border:1px solid #635134;border-radius:13px;background:linear-gradient(115deg,#44351f,#2b2d23);margin-bottom:22px} */
/* FASE 2 — GAMIFICACIÓN: .wheel-promo svg{color:var(--accent);width:35px;height:35px} */
/* FASE 2 — GAMIFICACIÓN: .wheel-promo strong{font-size:13px;display:block;margin-bottom:6px} */
/* FASE 2 — GAMIFICACIÓN: .wheel-promo small{color:var(--muted);font-size:10px} */
/* FASE 2 — GAMIFICACIÓN: .tabs{display:flex;border-bottom:1px solid var(--line);gap:25px;margin-bottom:9px} */
/* FASE 2 — GAMIFICACIÓN: .tabs button{font-size:12px;padding:12px 0;color:var(--muted);border-bottom:2px solid transparent} */
/* FASE 2 — GAMIFICACIÓN: .tabs .active{border-color:var(--accent);color:var(--accent)} */
/* FASE 2 — GAMIFICACIÓN: .reward{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid var(--line)} */
/* FASE 2 — GAMIFICACIÓN: .reward-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#ffffff08;color:var(--accent);flex-shrink:0} */
/* FASE 2 — GAMIFICACIÓN: .reward-info{flex:1;min-width:0} */
/* FASE 2 — GAMIFICACIÓN: .reward-info strong{font-size:12px} */
/* FASE 2 — GAMIFICACIÓN: .reward-info small{display:block;font-size:10px;margin-top:6px;color:var(--muted)} */
/* FASE 2 — GAMIFICACIÓN: .reward button{font-size:10px;color:var(--accent);border:1px solid #f6a64855;padding:8px;border-radius:7px;max-width:130px} */
/* FASE 2 — GAMIFICACIÓN: .wheel-container{position:relative;max-width:270px;margin:25px auto} */
/* FASE 2 — GAMIFICACIÓN: .wheel-pointer{position:absolute;top:-13px;left:calc(50% - 10px);z-index:2;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:24px solid #ffe3af;filter:drop-shadow(0 2px 3px #0009)} */
/* FASE 2 — GAMIFICACIÓN: .wheel{width:100%;aspect-ratio:1;border-radius:50%;border:9px solid #3b392d;box-shadow:0 0 0 1px #f6a64870;transition:transform 4s cubic-bezier(.15,.75,.16,1);position:relative} */
/* FASE 2 — GAMIFICACIÓN: .wheel-label{position:absolute;left:50%;top:50%;width:90px;transform-origin:center;text-align:center;color:#211b13;font-size:12px;font-weight:750} */
/* FASE 2 — GAMIFICACIÓN: .wheel-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:49px;height:49px;border-radius:50%;background:#20211d;border:4px solid #f8d28f;display:grid;place-items:center;color:var(--accent)} */
/* FASE 2 — GAMIFICACIÓN: .wheel-center svg{width:21px;height:21px} */
/* FASE 2 — GAMIFICACIÓN: .wheel-result{text-align:center;color:var(--accent)!important;font-size:19px!important;font-weight:600} */
.comment{padding:15px 0;border-bottom:1px solid var(--line)}
.comment strong{font-size:12px}
.comment time{font-size:9px;color:var(--muted);float:right}
.comment p{margin:7px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
.drawer{position:fixed;inset-inline-start:auto;inset:0;margin:0;width:min(88vw,370px);max-height:none;height:100dvh;border-start-start-radius:20px;border-end-start-radius:20px;border-radius:0;padding:25px;overflow:auto}
.drawer .modal-head{padding:0 0 25px}
.drawer .brand{margin-bottom:25px}
.drawer .side-cat{font-size:14px;padding:15px}
.drawer-langs{display:flex;gap:10px;margin-bottom:24px}
.drawer-langs button{flex:1}
.drawer-footer{font-size:12px;color:var(--muted);line-height:2;margin-top:30px}
.drawer-footer a{display:inline-block;margin-inline-end:15px;text-decoration:underline}
.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);z-index:20;padding:14px 22px;background:#f6f2e6;color:#24251c;border-radius:12px;box-shadow:0 10px 40px #0006;opacity:0;pointer-events:none;transition:.2s;font-size:13px;max-width:90vw;text-align:center;width:max-content}
.toast.show{opacity:1;transform:translate(-50%,0)}
.error-page{max-width:500px;margin:20vh auto;padding:30px;line-height:1.8}
/* FASE 2 — GAMIFICACIÓN: .confirm-code{font-family:monospace;display:block;overflow-wrap:anywhere;letter-spacing:2px;background:#151612;padding:18px;border-radius:9px;color:var(--accent);margin:20px 0} */
.mobile-name{display:none}
.category-label{margin-bottom:12px}
.mobile-brand img{width:32px;height:32px;border-radius:10px}
.mobile-brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:none}
.header .icon-btn{width:35px;height:35px}
.header .icon-btn svg{width:16px;height:16px}
@keyframes enter{from{transform:translateY(15px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:371px){
.dish-bottom{gap:20px}
.tag{font-size:8px}
.mobile-brand span{display:initial}
.dish-info{bottom:calc(104px + env(safe-area-inset-bottom))}
.grid-mode{grid-template-columns:repeat(2,minmax(0,1fr))}
.dish-info h2{font-size:47px}
.dish-description{-webkit-line-clamp:3}
.detail-link{font-size:11px}
}
@media(min-width:801px){
.header .icon-btn svg{height:initial;width:initial}
/* FASE 2 — GAMIFICACIÓN: .points-btn svg{height:17px;width:17px} */
/* FASE 2 — GAMIFICACIÓN: .points-btn{gap:8px;font-size:12px;padding:12px 18px} */
.category-nav{margin-top:23px;gap:8px;margin-inline-end:initial}
.dish-bottom{gap:24px}
.social-btn{font-size:10px}
.dish-footer{inset-inline-start:30px;bottom:28px;font-size:10px;padding-top:20px;inset-inline-end:37px}
.header-top{gap:10px}
.mobile-brand img{height:initial;border-radius:initial;width:initial}
.dish-meta{gap:8px;margin-bottom:18px}
.tag{letter-spacing:1.2px;font-size:9px;padding:6px 9px}
.header .icon-btn{height:initial;width:initial}
.modal-head{padding:24px 25px 15px}
.mobile-brand{font-size:initial;display:none;gap:initial;letter-spacing:initial;font-weight:initial;align-items:initial;max-width:initial}
.social-btn .icon-btn{height:44px;width:44px}
.workspace{margin-inline-start:230px}
.mobile-brand span{white-space:initial;text-overflow:initial;overflow:initial}
.brand{font-size:19px}
dialog{max-height:90dvh}
/* FASE 2 — GAMIFICACIÓN: .wheel-container{max-width:300px} */
.toast{width:initial;left:calc(50% + 115px)}
.breadcrumb{display:flex}
.grid-card p{font-size:11px}
.dish-info{width:calc(100% - 158px);inset-inline-start:30px;bottom:103px}
.social{inset-inline-end:35px;bottom:126px}
.grid-mode{gap:20px;padding:160px 36px 40px}
.sidebar{width:230px;padding-inline-start:22px;display:flex;padding-inline-end:22px}
.pill{padding:10px 18px}
.grid-card img{height:190px}
.grid-card h2{font-size:23px}
.modal-body{padding:5px 25px 28px}
.dish-info h2{letter-spacing:-2px;margin-bottom:initial;font-size:clamp(40px,4.7vw,72px)}
.position{inset-inline-end:36px;top:50%}
.header{padding-inline-start:26px;padding-inline-end:26px;padding:28px 38px 18px}
.modal-head h2{font-size:28px}
.grid-card-info{padding:18px}
.dish-description{line-height:1.8;margin-bottom:initial;font-size:13px;-webkit-line-clamp:2}
.header-actions{gap:9px}
}
@media(min-width:1101px){
.dish-footer{inset-inline-start:48px}
.workspace{margin-inline-start:278px}
.brand{font-size:22px}
.toast{left:calc(50% + 139px)}
.dish-info{inset-inline-start:48px}
.grid-mode{grid-template-columns:repeat(3,minmax(0,1fr))}
.sidebar{width:278px;padding-inline-start:initial;padding-inline-end:initial}
.header{padding-inline-start:initial;padding-inline-end:initial}
}
@media(min-width:1600px){
.dish-info{bottom:130px}
.dish-info h2{font-size:82px}
.dish-description{font-size:15px}
.sidebar{width:300px}
.workspace{margin-inline-start:300px}
}
@media(max-height:780px) and (min-width:801px){
.sidebar{padding-top:25px}
.sidebar .intro{margin-top:25px;margin-bottom:16px}
.intro h1{font-size:28px}
.intro p{display:none}
.side-cat{padding:8px 12px}
/* FASE 2 — GAMIFICACIÓN: .loyalty-card{padding:13px;margin-top:14px} */
.sidebar-footer{margin-top:16px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Touch targets, translated copy and bidirectional layouts. */
html,body{width:100%;overflow:hidden}
.header-top,.dish-info,.dish-bottom,.header-actions{min-width:0}
.header-actions{flex-shrink:0}
.mobile-brand{flex:1;min-width:0}
/* FASE 2 — GAMIFICACIÓN: .points-btn{max-width:44vw;min-height:44px} */
/* FASE 2 — GAMIFICACIÓN: .points-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap} */
.header .icon-btn{width:44px;height:44px;flex-shrink:0}
.pill{min-height:44px}
.dish-info h2{font-size:clamp(2rem,10vw,3rem);overflow-wrap:anywhere}
.dish-meta,.dish-bottom{flex-wrap:wrap}
.detail-link{min-height:30px}
.tag{white-space:normal;line-height:1.4}
.drawer-langs,.language-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.language-option{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin-top:0;text-align:start}
.language-option.active{border-color:var(--accent);color:var(--accent);background:#f6a6480b}
.lang{min-width:44px;min-height:36px}
/* FASE 2 — GAMIFICACIÓN: .reward-info,.wheel-promo span{overflow-wrap:anywhere} */
/* FASE 2 — GAMIFICACIÓN: .reward button{flex-shrink:0;min-height:44px;max-width:35%} */
.modal-head h2{overflow-wrap:anywhere;min-width:0}
.modal-head .icon-btn{flex-shrink:0}
/* FASE 2 — GAMIFICACIÓN: .wheel{direction:ltr} */
/* FASE 2 — GAMIFICACIÓN: .wheel-label{font-size:11px;line-height:1.25} */
/* FASE 2 — GAMIFICACIÓN: .confirm-code,input[dir="ltr"],.otp{unicode-bidi:isolate} */
input[dir="ltr"],.otp{unicode-bidi:isolate}
:lang(ar){letter-spacing:normal}
html[lang="ar"]{font-family:Tahoma,Arial,sans-serif}
html[lang="zh"]{font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif}
html[lang="ar"] h1,html[lang="ar"] h2,html[lang="zh"] h1,html[lang="zh"] h2{font-family:inherit;letter-spacing:normal;line-height:1.25}
/* FASE 2 — GAMIFICACIÓN: html[dir="rtl"] .detail-link svg,html[dir="rtl"] .link svg,html[dir="rtl"] .wheel-promo>svg:last-child{transform:scaleX(-1)} */
html[dir="rtl"] .detail-link svg,html[dir="rtl"] .link svg{transform:scaleX(-1)}
html[dir="rtl"] .comment time{float:left}
@media(min-width:801px){
 .dish-info h2{font-size:clamp(40px,4.7vw,72px)}
/* FASE 2 — GAMIFICACIÓN:  .points-btn{max-width:330px} */
 .category-nav{margin-inline-end:0}
}
@media(min-width:1600px){.dish-info h2{font-size:82px}}
@media(max-height:520px) and (max-width:800px){
 .header{padding-top:max(8px,env(safe-area-inset-top))}
 .category-nav{margin-top:7px}
 .dish-info{bottom:70px;width:calc(100% - 110px)}
 .dish-info h2{font-size:clamp(25px,5vw,36px);margin-bottom:8px}
 .dish-description{display:none}
 .dish-meta{margin-bottom:7px}
 .dish-footer{bottom:max(12px,env(safe-area-inset-bottom));padding-top:10px}
 .social{bottom:65px;gap:10px}
 .position{display:none}
 .grid-mode{padding-top:125px}
}
@media(min-width:801px){html[dir="rtl"] .toast{left:calc(50% - 115px)}}
@media(min-width:1101px){html[dir="rtl"] .toast{left:calc(50% - 139px)}}
@media(max-height:520px) and (max-width:1024px){
 .sidebar{display:none}
 .workspace{margin-inline-start:0}
 .header{padding:8px 20px 12px}
 .header-top{gap:8px}
 .breadcrumb{display:none}
 .mobile-brand{display:flex;align-items:center;gap:8px;max-width:45%;font-size:17px;font-weight:700}
 .mobile-brand img{width:32px;height:32px}
 .mobile-brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .category-nav{margin-top:7px}
 .dish-info{bottom:70px;width:calc(100% - 110px)}
 .dish-info h2{font-size:clamp(25px,5vw,36px);margin-bottom:8px}
 .dish-description{display:none}
 .dish-meta{margin-bottom:7px}
 .dish-footer{bottom:max(12px,env(safe-area-inset-bottom));padding-top:10px}
 .social{bottom:65px;gap:10px}
 .position{display:none}
 .grid-mode{padding-top:125px}
 .toast,html[dir="rtl"] .toast{left:50%}
}
@media(min-width:801px){
 .sidebar{padding-inline:22px;overflow-y:auto}
 .header{padding-inline:26px}
 .grid-mode{padding-top:180px}
}
@media(min-width:1101px){
 .sidebar{padding-inline:28px}
 .header{padding-inline:38px}
}
@media(max-height:520px) and (max-width:1024px){
 .header{padding-inline:20px}
 .grid-mode{padding-top:125px}
}
/* Horizontal restaurant wordmarks preserve the proportions configured in JSON. */
html[data-logo-layout="horizontal"] .brand img{width:182px;height:auto;max-height:64px;object-fit:contain;border-radius:3px;background:#f6f2e9;padding:10px 12px}
html[data-logo-layout="horizontal"] .mobile-brand img{width:122px;height:auto;max-height:42px;object-fit:contain;border-radius:3px;background:#f6f2e9;padding:6px 9px}
html[data-logo-layout="horizontal"] .mobile-brand{max-width:43%;flex-shrink:1}
html[data-logo-layout="horizontal"][data-logo-tone="light"] .brand img{filter:brightness(0) invert(1);background:transparent;padding:0}
html[data-logo-layout="horizontal"][data-logo-tone="light"] .mobile-brand{width:clamp(88px,31vw,134px);max-width:42%;min-width:0;background:#151512e8;border:1px solid #ffffff24;border-radius:4px;padding:8px 10px}
html[data-logo-layout="horizontal"][data-logo-tone="light"] .mobile-brand img{filter:brightness(0) invert(1);background:transparent;padding:0;width:100%;max-height:42px}

.side-cat.depth-1{padding-inline-start:20px}.side-cat.depth-2{padding-inline-start:28px}.side-cat.depth-3{padding-inline-start:36px}.side-cat.depth-4{padding-inline-start:44px}.side-cat.depth-5{padding-inline-start:52px}.pill[class*="depth-"]:not(.depth-0){font-size:11px}
/* Minimum party size is independent from portions and remains visible on mobile. */
.minimum-people{font-size:12px;line-height:1.5;margin:8px 0 12px;font-weight:600}
.dish-info .minimum-people{color:#f2e7d1}
.grid-card-info .minimum-people{color:var(--accent);font-size:11px}
.modal-body .minimum-people{display:inline-block;padding:7px 10px;border:1px solid var(--line);border-radius:6px;color:var(--accent)}

/* Ratings are independent of likes and comments. */
.rating-sort{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #ffffff30;border-radius:24px;padding:10px 13px;font-size:12px;transition:background .2s,border-color .2s}
.rating-sort svg,.rating-detail svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.rating-sort:hover,.rating-sort.active{background:#ffffff1c;border-color:var(--accent);color:var(--accent)}
.rating-sort.active svg{fill:currentColor}
.rating-summary{display:block;font-size:12px;color:var(--accent);margin-block:8px}
.rating-action>span:last-child{max-width:78px;line-height:1.4;text-align:center}
.rating-detail{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-block:16px}
.rating-detail .rating-summary{margin:0}
.rating-stars{display:flex;justify-content:center;gap:8px;margin-block:20px}
.rating-star{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffff30;border-radius:12px;color:var(--accent);transition:background .15s,transform .15s}
.rating-star svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.5;fill:transparent}
.rating-star.selected svg{fill:currentColor}
.rating-star:hover{background:#ffffff18;transform:translateY(-2px)}
.rating-star:focus-visible,.rating-sort:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.rating-dish-name{font-size:20px;font-weight:600}
@media(max-width:600px){.rating-sort{width:40px;height:40px;padding:8px}.rating-sort>span{display:none}.rating-stars{gap:5px}.rating-star{width:44px;height:44px}.rating-action>span:last-child{max-width:65px;font-size:9px}}
.privacy-summary{font-size:12px;line-height:1.6;color:#c2c5b9}
.consent-check{display:flex;align-items:flex-start;gap:10px;text-align:start;font-size:12px;line-height:1.6;margin-block:14px}
.consent-check>input{appearance:auto!important;width:18px!important;height:18px!important;flex:0 0 18px;accent-color:var(--accent);margin-top:3px}
.privacy-link{color:var(--accent);text-decoration:underline;text-underline-offset:3px;font-size:inherit;line-height:inherit}
.privacy-link:hover{color:#fff}
.newsletter-preference{margin-block:20px;padding:16px;border:1px solid #ffffff26;border-radius:10px}
.newsletter-preference p{font-size:12px;line-height:1.6}
.restaurant-reply{margin-block:12px 0;padding:12px 14px;border-inline-start:2px solid var(--accent);background:#ffffff08;border-radius:0 8px 8px 0}
.restaurant-reply strong{color:var(--accent);font-size:12px}.restaurant-reply time{display:block;font-size:10px;opacity:.65;margin-top:4px}.restaurant-reply p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}

.menu-booking-link{display:flex;align-items:center;gap:.6rem;margin:.75rem 0;padding:.8rem 1rem;border:1px solid currentColor;border-radius:10px;color:var(--accent,#245c53);text-decoration:none;font-weight:700}.menu-booking-link svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}.menu-booking-link:hover{background:#e6f1ed}.menu-booking-link:focus-visible{outline:3px solid #87b5a8;outline-offset:3px}
/* Keep response timestamps distinct from the customer's comment, including edits. */
.restaurant-reply>time,html[dir="rtl"] .restaurant-reply>time{float:none;display:block}
.restaurant-reply .reply-edited{display:block;font-size:10px;color:var(--muted);margin-top:5px}
.restaurant-reply .reply-edited time,html[dir="rtl"] .restaurant-reply .reply-edited time{float:none;display:inline;font-size:inherit;margin:0;opacity:1}

/* Uploaded branding keeps its original colours, including opaque backgrounds. */
html[data-logo-tone] .brand img[src^="/uploads/"],
html[data-logo-tone] .mobile-brand img[src^="/uploads/"]{filter:none;object-fit:contain}

/* A symbol without a wordmark leaves the remaining width to the restaurant name. */
.brand:has(.brand-symbol){width:100%;justify-content:flex-start;gap:12px;text-align:start;min-width:0}
html[data-logo-layout] .brand img.brand-symbol{flex:0 0 52px;width:52px;height:52px;max-height:52px;margin:0;padding:0;object-fit:contain;object-position:left center;border-radius:4px}
.brand .brand-name{flex:1;min-width:0;font-size:22px;line-height:1.2;letter-spacing:-.6px;overflow-wrap:anywhere}
html[data-logo-layout] .mobile-brand:has(.brand-symbol){width:auto;max-width:60%;gap:8px;padding:0;background:transparent;border:0}
html[data-logo-layout] .mobile-brand img.brand-symbol{flex:0 0 34px;width:34px;height:34px;max-height:34px;padding:0;object-fit:contain;object-position:left center}
.mobile-brand .brand-name{font-size:17px;min-width:0}

.own-comment-label{display:inline-block;margin-inline-start:8px;padding:2px 7px;border-radius:5px;background:#edf3e8;color:#486148;font-size:10px}.comment-edited{display:block;color:#71806f;font-size:11px;margin:5px 0 9px}
