/**
 * OGACE Kitchen Booking popup — WhatsApp + Telegram, calendar, assistant, map.
 * Mobile-first + smart responsive (phone bottom-sheet -> tablet/desktop card).
 * Scoped under .ogace-kitchen-book so it never leaks into the host theme.
 */
.ogace-kitchen-book { --ogace-kitchen-navy:#001D6C; --ogace-kitchen-gold:#EAB308; --ogace-kitchen-ink:#1a1a1a; --ogace-kitchen-line:#e6e6ea; box-sizing:border-box; }
.ogace-kitchen-book *, .ogace-kitchen-book *::before, .ogace-kitchen-book *::after { box-sizing:border-box; }

/* Trigger */
.ogace-kitchen-book__trigger { display:inline-flex; align-items:center; gap:8px; border:none; border-radius:999px;
	background:var(--ogace-kitchen-navy); color:#fff; font-weight:700; font-size:15px; padding:12px 20px; cursor:pointer;
	box-shadow:0 6px 18px rgba(0,29,108,.28); }
.ogace-kitchen-book__trigger:hover { filter:brightness(1.08); }
.ogace-kitchen-book__trigger-icon { font-size:16px; }
.ogace-kitchen-book--floating { position:fixed; right:18px; bottom:18px; z-index:99990; }
@media (max-width:480px){ .ogace-kitchen-book--floating{ right:12px; bottom:12px; } .ogace-kitchen-book--floating .ogace-kitchen-book__trigger{ padding:11px 16px; font-size:14px; } }

/* Overlay + modal */
.ogace-kitchen-book__overlay { position:fixed; inset:0; z-index:99991; background:rgba(16,18,27,.55);
	display:flex; align-items:center; justify-content:center; padding:16px; }
.ogace-kitchen-book__overlay[hidden] { display:none; }
.ogace-kitchen-book__modal { position:relative; width:100%; max-width:420px; max-height:92vh; overflow-y:auto;
	-webkit-overflow-scrolling:touch; background:#fff; color:var(--ogace-kitchen-ink); border-radius:16px; padding:20px;
	box-shadow:0 24px 60px rgba(0,0,0,.32); }
.ogace-kitchen-book__close { position:absolute; top:10px; right:12px; width:34px; height:34px; border:none; background:transparent;
	font-size:26px; line-height:1; color:#8a8a92; cursor:pointer; border-radius:8px; }
.ogace-kitchen-book__close:hover { background:#f2f2f5; color:#333; }
.ogace-kitchen-book__title { margin:0 0 12px; font-size:20px; font-weight:800; color:var(--ogace-kitchen-navy); padding-right:28px; }

/* Assistant */
.ogace-kitchen-book__assistant { margin:0 0 10px; }
.ogace-kitchen-book__assistant-title { display:block; font-size:12px; font-weight:700; text-transform:uppercase;
	letter-spacing:.04em; color:#8a8a92; margin-bottom:6px; }
.ogace-kitchen-book__chips { display:flex; flex-wrap:wrap; gap:6px; }
.ogace-kitchen-book__chip { border:1px solid var(--ogace-kitchen-line); background:#fafafb; border-radius:999px; padding:6px 12px;
	font-size:13px; font-weight:600; color:var(--ogace-kitchen-navy); cursor:pointer; }
.ogace-kitchen-book__chip:hover { border-color:var(--ogace-kitchen-navy); background:#f0f3fb; }

/* Live summary */
.ogace-kitchen-book__summary { margin:0 0 12px; font-size:13px; color:#8a8a92; }
.ogace-kitchen-book__summary[data-ready] { color:var(--ogace-kitchen-navy); font-weight:700; }

/* Calendar */
.ogace-kitchen-book__calendar { margin:0 0 12px; }
.ogace-kitchen-cal__head { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.ogace-kitchen-cal__head span { font-size:14px; font-weight:700; }
.ogace-kitchen-cal__nav { border:1px solid var(--ogace-kitchen-line); background:#fff; border-radius:8px; width:34px; height:34px;
	font-size:15px; cursor:pointer; }
.ogace-kitchen-cal__nav:disabled { opacity:.4; cursor:default; }
.ogace-kitchen-cal__grid { display:grid; grid-template-columns:repeat(7,1fr); gap:3px; }
.ogace-kitchen-cal__dow { text-align:center; font-size:11px; color:#a0a0a8; padding:2px 0; }
.ogace-kitchen-cal__day { border:1px solid transparent; background:#f6f6f8; border-radius:8px; padding:0; aspect-ratio:1/1;
	font-size:13px; cursor:pointer; color:var(--ogace-kitchen-ink); min-height:34px; }
.ogace-kitchen-cal__day:hover:not(:disabled) { border-color:var(--ogace-kitchen-navy); }
.ogace-kitchen-cal__day--empty { background:transparent; cursor:default; }
.ogace-kitchen-cal__day:disabled:not(.ogace-kitchen-cal__day--selected) { opacity:.35; cursor:default; }
.ogace-kitchen-cal__day--today { box-shadow:inset 0 0 0 1px var(--ogace-kitchen-gold); }
.ogace-kitchen-cal__day--selected { background:var(--ogace-kitchen-navy); color:#fff; font-weight:700; }

/* Form */
.ogace-kitchen-book__form label { display:block; font-size:13px; font-weight:600; color:#4a4a52; margin-bottom:10px; }
.ogace-kitchen-book__form input, .ogace-kitchen-book__form select, .ogace-kitchen-book__form textarea { width:100%; margin-top:4px;
	border:1px solid var(--ogace-kitchen-line); border-radius:10px; padding:10px 12px; font-size:15px; font-family:inherit;
	color:var(--ogace-kitchen-ink); background:#fff; }
.ogace-kitchen-book__form input:focus, .ogace-kitchen-book__form select:focus, .ogace-kitchen-book__form textarea:focus {
	outline:none; border-color:var(--ogace-kitchen-navy); box-shadow:0 0 0 3px rgba(0,29,108,.12); }
.ogace-kitchen-book__row { display:flex; gap:10px; }
.ogace-kitchen-book__row label { flex:1; }

/* Messages */
.ogace-kitchen-book__msg { margin:2px 0 8px; font-size:13px; min-height:1.2em; }
.ogace-kitchen-book__msg[data-tone="error"] { color:#b3261e; }
.ogace-kitchen-book__msg[data-tone="success"] { color:#1a7f4e; }

/* Action buttons */
.ogace-kitchen-book__actions { display:flex; flex-flow:row wrap; gap:8px; margin-top:4px; }
.ogace-kitchen-book__btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:none;
	border-radius:999px; padding:12px 16px; font-weight:700; font-size:14px; cursor:pointer; white-space:nowrap; }
.ogace-kitchen-book__btn-icon { display:inline-flex; align-items:center; justify-content:center; line-height:1; flex:0 0 auto; }
.ogace-kitchen-book__btn-icon svg { display:block; width:16px; height:16px; }
.ogace-kitchen-book__btn--whatsapp, .ogace-kitchen-book__btn--telegram { flex:1 1 auto; min-width:0; }
.ogace-kitchen-book__btn--whatsapp { background:#25d366; color:#0a3d1c; }
.ogace-kitchen-book__btn--telegram { background:#229ed9; color:#06344a; }
.ogace-kitchen-book__btn--request { flex:1 1 100%; order:-1; background:var(--ogace-kitchen-navy); color:#fff;
	font-size:15px; padding:14px 18px; letter-spacing:.2px;
	box-shadow:inset 0 0 0 2px var(--ogace-kitchen-gold), 0 6px 16px rgba(0,29,108,.22); }
.ogace-kitchen-book__btn--request:hover { filter:brightness(1.08); }
.ogace-kitchen-book__btn:hover { filter:brightness(1.05); }
.ogace-kitchen-book__btn:disabled { opacity:.6; cursor:default; filter:none; }
@media (max-width:360px){
	.ogace-kitchen-book__btn--whatsapp, .ogace-kitchen-book__btn--telegram { font-size:13px; padding:12px 10px; gap:6px; }
}

/* Add-to-calendar CTAs */
.ogace-kitchen-book__calcta { display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; }
.ogace-kitchen-book__calcta[hidden] { display:none; }
.ogace-kitchen-book__cal-link { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600;
	color:var(--ogace-kitchen-navy); text-decoration:none; border-bottom:1px dashed rgba(0,29,108,.4); }
.ogace-kitchen-book__cal-link:hover { border-bottom-style:solid; }

/* Map */
.ogace-kitchen-book__map { margin-top:14px; border-top:1px solid var(--ogace-kitchen-line); padding-top:12px; }
.ogace-kitchen-book__map[hidden] { display:none; }
.ogace-kitchen-book__map-toggle { border:none; background:transparent; font-size:14px; font-weight:700; color:var(--ogace-kitchen-navy);
	cursor:pointer; padding:0; }
.ogace-kitchen-book__map-body[hidden] { display:none; }
.ogace-kitchen-book__map-body { margin-top:10px; }
.ogace-kitchen-book__map-body iframe { width:100%; height:200px; border:0; border-radius:12px; display:block; }
.ogace-kitchen-book__directions { display:inline-block; margin-top:8px; font-size:13px; font-weight:600; color:var(--ogace-kitchen-navy);
	text-decoration:none; }

/* --- Smart responsive: phone bottom-sheet --- */
@media (max-width:480px){
	.ogace-kitchen-book__overlay { align-items:flex-end; padding:0; }
	.ogace-kitchen-book__modal { max-width:100%; max-height:94vh; border-radius:18px 18px 0 0; padding:18px 16px calc(18px + env(safe-area-inset-bottom)); }
	.ogace-kitchen-book__title { font-size:18px; }
	.ogace-kitchen-book__row { flex-direction:column; gap:0; }
	.ogace-kitchen-book__map-body iframe { height:170px; }
}
/* --- Tablet+ : roomier calendar cells --- */
@media (min-width:600px){
	.ogace-kitchen-book__modal { max-width:460px; padding:24px; }
	.ogace-kitchen-cal__day { min-height:38px; font-size:14px; }
}
/* Respect reduced-motion + dark scheme nicety for the overlay only */
@media (prefers-reduced-motion:reduce){ .ogace-kitchen-book__trigger, .ogace-kitchen-book__btn { transition:none; } }
