/* «Εστιατόριο iOS» — layout_style=restaurant_ios (27/09/2026).
   Loaded AFTER restaurant_home.css: the booking wizard, basket drawer, options
   sheet and menu internals keep their markup and JS; this file re-skins the page.
   Theme = body.rios-light / body.rios-dark (BusinessSettings theme_mode; auto =
   light 07–20h). The legacy variables (--bg, --cream, --bg-card) are re-pointed
   only inside .rios-page, so the dark glass sheets outside it stay legible. */

body.rios-light {
    --r-bg: #f2f2f7; --r-card: #ffffff; --r-text: #1c1c1e; --r-sub: #6e6e73;
    --r-sep: rgba(60, 60, 67, 0.16); --r-chip: #e9e9ee; --r-bar: rgba(249, 249, 251, 0.82);
    --r-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}
body.rios-dark {
    --r-bg: #000000; --r-card: #1c1c1e; --r-text: #f5f5f7; --r-sub: #98989f;
    --r-sep: rgba(84, 84, 88, 0.55); --r-chip: #2c2c2e; --r-bar: rgba(22, 22, 24, 0.8);
    --r-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
body.rios {
    background: var(--r-bg); color: var(--r-text);
    font-family: var(--font), -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
body.rios ::-webkit-scrollbar-track { background: var(--r-bg); }
.rios-page { --bg: var(--r-bg); --bg-card: var(--r-card); --cream: var(--r-text); color: var(--r-text); background: var(--r-bg); }
.rios-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.rios .reveal, .rios .reveal-left, .rios .reveal-right { opacity: 1 !important; transform: none !important; }
.rios .yuzu-divider, .rios .grain, .rios .aurora-orb, .rios .section-jp { display: none !important; }

/* ── top bar ── */
.rios-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .25s, box-shadow .25s; }
.rios-nav-in { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 14px; }
.rios-nav.scrolled { background: var(--r-bar); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 .5px 0 var(--r-sep); }
.rios-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex: 1 1 auto; }
.rios-brand img, .rios-brand-ph { width: 36px; height: 36px; border-radius: 9px; object-fit: contain; background: #fff; flex: 0 0 auto; }
.rios-brand-ph { display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--brand); }
.rios-brand-name { font-weight: 700; font-size: 1.02rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.rios-nav.scrolled .rios-brand-name { color: var(--r-text); text-shadow: none; }
.rios-seg { gap: 2px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 12px; padding: 3px; }
.rios-nav.scrolled .rios-seg { background: var(--r-chip); }
.rios-seg button { border: 0; background: transparent; border-radius: 9px; padding: 7px 14px; font-size: .9rem; font-weight: 600; color: #fff; white-space: nowrap; }
.rios-nav.scrolled .rios-seg button { color: var(--r-text); }
.rios-seg button:hover { background: rgba(255, 255, 255, .22); }
.rios-nav.scrolled .rios-seg button:hover { background: var(--r-card); }
.rios-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.rios-auth { align-items: center; gap: 6px; white-space: nowrap; }
.rios-auth .auth-nav--guest > a:first-child { color: #fff !important; background: rgba(255, 255, 255, .16) !important; border-color: transparent !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.rios-nav.scrolled .rios-auth .auth-nav--guest > a:first-child { color: var(--r-text) !important; background: var(--r-chip) !important; }
.rios-icon { width: 38px; height: 38px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; color: #fff; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); text-decoration: none; }
.rios-nav.scrolled .rios-icon { color: var(--r-text); background: var(--r-chip); }

/* ── hero: the shop's photo with a floating card ── */
.rios-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; justify-content: center; padding: 110px 16px 36px; overflow: hidden; }
.rios-hero-bg { position: absolute; inset: 0; }
.rios-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.rios-slide.active { opacity: 1; }
.rios-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, .55) 100%); }
.rios-hero-card { position: relative; z-index: 2; width: 100%; max-width: 560px; text-align: center; padding: 26px 24px 22px; border-radius: 26px;
    background: var(--r-bar); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.rios-hero-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: contain; background: #fff; margin: -58px auto 10px; display: block; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.rios-hero-name { font-family: var(--font-heading); font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.12; color: var(--r-text); margin: 0; overflow-wrap: normal; }
.rios-hero-tag { color: var(--r-sub); margin: 6px 0 0; font-size: 1rem; }
.rios-open { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 5px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; background: rgba(255, 59, 48, .12); color: #d70015; }
.rios-open .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.rios-open.is-open { background: rgba(52, 199, 89, .14); color: #1a7f37; }
body.rios-dark .rios-open { color: #ff6961; } body.rios-dark .rios-open.is-open { color: #30d158; }
.rios-hero-cta { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.rios-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 13px 22px; min-width: 170px; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.rios-btn.pri { background: var(--brand); color: var(--brand2, #0a0a0a); }
.rios-btn.sec { background: var(--r-chip); color: var(--r-text); }
.rios-btn:hover { filter: brightness(.96); }

/* ── info tiles ── */
.rios-info { padding: 22px 0 6px; }
.rios-info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rios-tile { display: flex; align-items: center; gap: 12px; background: var(--r-card); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--r-text); box-shadow: var(--r-shadow); min-width: 0; }
.rios-tile small { display: block; color: var(--r-sub); font-size: .76rem; }
.rios-tile b { display: block; font-size: .95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rios-tile > div { min-width: 0; }
.rios-tile .ic { flex: 0 0 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.c-orange { background: #ff9500; } .c-yellow { background: #ffcc00; } .c-green { background: #34c759; } .c-blue { background: #0a84ff; }

/* ── sections (the shared partials, re-skinned) ── */
.rios .section { padding: 56px 0; }
.rios .section-label { color: var(--r-sub); letter-spacing: .06em; font-size: .78rem; font-weight: 600; margin-bottom: .35rem; }
.rios .section-title { font-family: var(--font-heading); color: var(--r-text); letter-spacing: -.01em; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.rios .glass, .rios .glass-strong { background: var(--r-card) !important; border: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: var(--r-shadow); border-radius: 18px; }
.rios .btn-hero-primary, .rios .btn-hero-outline { font-family: inherit; letter-spacing: 0; text-transform: none; border-radius: 14px; padding: .8rem 1.4rem; font-size: 1rem; animation: none; box-shadow: none; }
.rios .btn-hero-primary { color: var(--brand2, #0a0a0a); }
.rios .btn-hero-outline { background: var(--r-chip); border: 0; color: var(--r-text); }

/* menu: category chips + rows in white groups */
.rios .cat-tabs { gap: 6px; padding-bottom: .8rem; max-width: none; }
.rios .cat-tab { letter-spacing: 0; text-transform: none; font-size: .9rem; font-weight: 600; padding: .5rem 1rem; border: 0; background: var(--r-chip); color: var(--r-text); }
.rios .cat-tab.active { background: var(--r-text); color: var(--r-bg); }
.rios .cat-fade-r { background: linear-gradient(to left, var(--r-bg), transparent); }
.rios #catTabsWrapper.stuck { background: var(--r-bar); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 .5px 0 var(--r-sep); border-bottom: 0; }
.rios .menu-cat-header { font-family: var(--font-heading); color: var(--r-text); letter-spacing: 0; font-size: 1.2rem; border-bottom: 0; padding: 22px 4px 8px; margin-bottom: 0; }
.rios .menu-items-list { background: var(--r-card); border-radius: 18px; padding: 2px 16px; box-shadow: var(--r-shadow); }
.rios .menu-item { border-bottom: .5px solid var(--r-sep); border-radius: 0; padding: 12px 0; }
.rios .menu-item:last-child { border-bottom: 0; }
.rios .menu-item:hover { background: transparent; }
.rios .menu-item-name { font-family: inherit; font-size: 1rem; color: var(--r-text); }
.rios .menu-item:hover .menu-item-name { color: var(--r-text); }
.rios .menu-item-desc { color: var(--r-sub); }
.rios .menu-item-price { font-family: inherit; color: var(--r-text); font-weight: 700; }
.rios .menu-item-media, .rios .menu-item-video { border-radius: 12px; border: 0; box-shadow: none; }
.rios .btn-add-item { border: 0; background: var(--brand); color: var(--brand2, #0a0a0a); }
.rios .menu-item.in-cart { background: transparent !important; }

/* booking / about / reviews / contact / team */
.rios .booking-info-overlay { background: var(--r-bar) !important; -webkit-backdrop-filter: blur(18px) !important; backdrop-filter: blur(18px) !important; }
.rios .booking-cta-card { background: var(--r-card); border: 0; backdrop-filter: none; box-shadow: var(--r-shadow); border-radius: 22px; }
.rios .contact-link { color: var(--r-text); }
.rios .team-card { background: var(--r-card); border-radius: 18px; box-shadow: var(--r-shadow); }

/* light theme: inline «cream» text inside the page reads as secondary grey */
body.rios-light .rios-page [style*="250,240,230"], body.rios-light .rios-page [style*="250, 240, 230"] { color: var(--r-sub) !important; }
body.rios-light .rios-page .about-text, body.rios-light .rios-page .about-text-en, body.rios-light .rios-page .about-badge,
body.rios-light .rios-page .info-item-premium .label { color: var(--r-sub); }

/* footer */
.rios-footer { padding: 36px 0 48px; text-align: center; color: var(--r-sub); font-size: .88rem; }
.rios-footer-name { font-weight: 700; color: var(--r-text); font-size: 1.05rem; margin-bottom: 4px; }
.rios-footer a { color: inherit; }
.rios-footer-small { margin-top: 10px; font-size: .76rem; }

/* mobile action bar + cookie banner follow the theme */
body.rios-light .home-action-bar { background: var(--r-bar); border-top-color: var(--r-sep); }
body.rios-light .hab-btn { color: var(--r-text); border-color: var(--r-sep); }
body.rios .hab-main { color: var(--brand2, #0a0a0a); }

@media (max-width: 991px) {
    .rios-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .rios-nav-in { padding: 10px 14px; }
    .rios-hero { min-height: 86vh; padding: 96px 12px 20px; }
    .rios-hero-card { padding: 22px 16px 16px; border-radius: 22px; }
    .rios-hero-cta { flex-direction: column; }
    .rios-btn { width: 100%; }
    .rios-wrap { padding: 0 14px; }
    .rios-info-grid { gap: 10px; }
    .rios-tile { padding: 12px; gap: 10px; }
    .rios .section { padding: 40px 0; }
    .rios .menu-items-list { padding: 2px 12px; }
}
.rios .booking-cta-card h3 { font-family: var(--font-heading) !important; letter-spacing: 0 !important; color: var(--r-text) !important; }

/* ── booking window as an iOS sheet (the wizard's JS and markup unchanged) ── */
body.rios .booking-overlay { background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.rios .booking-modal { --cream: var(--r-text); background: var(--r-bg); color: var(--r-text); border: 0; border-radius: 22px;
    -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); max-width: 520px; }
body.rios .booking-header { border-bottom: 0; padding: 18px 20px 6px; }
body.rios .booking-header h3 { font-family: var(--font-heading); letter-spacing: -.01em; font-size: 1.35rem; font-weight: 700; color: var(--r-text); }
body.rios .booking-header small { color: var(--r-sub); letter-spacing: 0; font-size: .82rem; }
body.rios .booking-close { width: 32px; height: 32px; border-radius: 50%; background: var(--r-chip); color: var(--r-sub); font-size: .9rem; display: flex; align-items: center; justify-content: center; }
body.rios .booking-progress { padding: 8px 20px 0; gap: 6px; }
body.rios .booking-progress-bar { height: 4px; background: var(--r-chip); }
body.rios .booking-body { padding: 16px 20px; }
body.rios .booking-footer { border-top: .5px solid var(--r-sep); background: var(--r-card); padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); }
body.rios .pick-btn { background: var(--r-card); color: var(--r-text); border-radius: 12px; box-shadow: 0 0 0 .5px var(--r-sep); }
body.rios .pick-btn:hover { background: var(--r-card); box-shadow: 0 0 0 1.5px var(--brand); }
body.rios .pick-btn.selected { background: var(--brand); color: var(--brand2, #0a0a0a); box-shadow: none; }
body.rios .pick-btn .label { letter-spacing: .02em; text-transform: none; font-size: .72rem; color: inherit; opacity: .7; }
body.rios .pick-btn .value { font-family: inherit; font-weight: 700; font-size: 1.15rem; }
body.rios .pick-btn.closed:hover { background: var(--r-card); box-shadow: 0 0 0 .5px var(--r-sep); }
body.rios .booking-input { background: var(--r-card); border: 0; box-shadow: 0 0 0 .5px var(--r-sep); color: var(--r-text); border-radius: 12px; font-size: 1rem; padding: .8rem 1rem; }
body.rios .booking-input:focus { box-shadow: 0 0 0 2px var(--brand); }
body.rios .booking-input::placeholder { color: var(--r-sub); }
body.rios .booking-label { color: var(--r-sub); font-size: .85rem; font-weight: 600; }
body.rios .btn-booking-next { font-family: inherit; letter-spacing: 0; font-size: 1rem; border-radius: 14px; padding: .75rem 1.4rem; }
body.rios .btn-booking-next.primary { color: var(--brand2, #0a0a0a); }
body.rios .btn-booking-next.success { background: #34c759; color: #fff; }
body.rios .btn-booking-next:disabled { background: var(--r-chip); color: var(--r-sub); }
body.rios .btn-booking-back { color: var(--brand); font-weight: 600; font-size: .95rem; }
body.rios .booking-summary { background: var(--r-card); border: 0; box-shadow: 0 0 0 .5px var(--r-sep); border-radius: 14px; }
body.rios .booking-modal [style*="250,240,230"], body.rios .booking-modal [style*="250, 240, 230"] { color: var(--r-sub) !important; }
body.rios .booking-modal [style*="rgba(255,255,255,0.0"], body.rios .booking-modal [style*="rgba(255, 255, 255, 0.0"] { background: var(--r-card) !important; }
@media (max-width: 575px) {
    body.rios .booking-modal { top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-width: none; max-height: 92vh;
        border-radius: 22px 22px 0 0; transform: translateY(100%); }
    body.rios .booking-overlay.open + .booking-modal, body.rios .booking-modal.open { transform: translateY(0); }
    body.rios .date-grid, body.rios .time-grid { gap: 8px; }
}
body.rios .booking-progress-bar.active { background: var(--brand); }
body.rios:has(.booking-modal.open) .home-action-bar, body.rios:has(.booking-overlay.open) .home-action-bar { display: none; }

/* booking confirmed — iOS card */
body.rios .bk-done-icon { background: rgba(52, 199, 89, .14); }
body.rios .bk-done-icon i { color: #34c759; }
body.rios .bk-done-title { color: var(--r-text); letter-spacing: -.01em; }
body.rios .bk-done-meta span { background: var(--r-card); color: var(--r-text); box-shadow: 0 0 0 .5px var(--r-sep); }
body.rios .bk-done-meta i { color: var(--r-sub); }
body.rios .bk-done-note { color: var(--r-sub); }
body.rios .bk-done-po { background: var(--r-card); box-shadow: var(--r-shadow); }
body.rios .bk-done-po-h b { color: var(--r-text); }
body.rios .bk-done-po-h small, body.rios .bk-done-po-skip { color: var(--r-sub); }
