/* Mekan sayfası rezervasyon kartı (app.css değişkenleri; açık/koyu tema otomatik). */
.resw { display: grid; gap: 14px; }
.resw-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.resw-title { font-size: 1.15rem; margin: 0; }
.resw-badge { font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.resw-badge-ok { background: var(--good-soft); color: var(--good); }
.resw-badge-req { background: var(--warn-soft); color: var(--warn); }
.resw-note { margin: -6px 0 0; }
.resw-form { display: grid; gap: 14px; }
.resw-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.resw-row-col { flex-direction: column; align-items: stretch; }
.resw-label { font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); padding: 0; }

.resw-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.resw-step { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.25rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.resw-step:hover { background: var(--surface-2); }
.resw-stepper input { width: 44px; height: 44px; border: 0; text-align: center; font-weight: 700; font-size: 1rem; background: transparent; color: var(--ink); -moz-appearance: textfield; }
.resw-stepper input::-webkit-outer-spin-button, .resw-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.resw-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.resw-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; padding: 6px 4px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: .9rem; cursor: pointer; position: relative; }
.resw-chip small { font-weight: 500; font-size: .74rem; color: var(--ink-2); }
.resw-chip[aria-pressed="true"], .resw-chip-pick.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.resw-chip-pick input { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; font-size: .74rem; text-align: center; padding: 0; min-height: 0; }

.resw-areas { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.resw-areas legend { margin-bottom: 8px; }
.resw-area { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.resw-area:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.resw-area[hidden] { display: none; }
.resw-area input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }
.resw-area > input + .resw-area-body { grid-column: 2 / -1; }
.resw-area-img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.resw-area-ico { width: 48px; height: 48px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; }
.resw-area-ico::after { content: ""; width: 22px; height: 22px; background: var(--ink-2);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.resw-area-indoor { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.resw-area-outdoor { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.resw-area-private { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.resw-area-bar { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M5 4h14l-7 8zM12 12v8M8 20h8'/%3E%3C/svg%3E"); }
.resw-area-vip { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E"); }
.resw-area-body { display: grid; gap: 2px; min-width: 0; }
.resw-area-body strong { font-size: .95rem; }
.resw-area-body small { color: var(--ink-2); font-size: .8rem; line-height: 1.3; }
.resw-charge { color: var(--warn) !important; font-weight: 600; }

.resw-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; min-height: 44px; }
.resw-slots > p { grid-column: 1 / -1; margin: 0; }
.resw-slot { position: relative; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
  font-weight: 700; font-size: .92rem; cursor: pointer; font-variant-numeric: tabular-nums; }
.resw-slot:hover { border-color: var(--brand); }
.resw-slot[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.resw-slot.full { color: var(--ink-3); text-decoration: line-through; background: var(--surface-2); border-style: dashed; }
.resw-offer { position: absolute; top: -7px; right: -5px; background: var(--good); color: #fff; font-size: .66rem; padding: 1px 5px; border-radius: 999px; text-decoration: none; }
.resw-alt { border: 1px solid var(--warn-soft); background: var(--warn-soft); border-radius: 12px; padding: 10px 12px; margin-top: 8px; color: var(--ink); }
.resw-near { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.resw-policy { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
.resw-go[disabled] { opacity: .55; cursor: not-allowed; }
.resw :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.resw-fab { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; justify-content: center; align-items: center;
  min-height: 50px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.resw-fab:hover { text-decoration: none; color: #fff; }
.resw-fab[hidden] { display: none; }
@media (min-width: 900px) { .resw-fab { left: auto; right: 24px; bottom: 24px; padding: 0 24px; } }

/* Rezervasyon özet sayfası: alan seçimi */
.res-area-pick { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 14px; display: grid; gap: 6px; }
.res-area-pick legend { font-weight: 700; font-size: .9rem; padding: 0 4px; }
.res-area-opt { display: flex; gap: 8px; align-items: flex-start; min-height: 36px; }
.res-area-opt input { margin-top: 4px; accent-color: var(--brand); }
.res-area-opt span { display: grid; }
.res-area-charge { color: var(--warn); font-size: .8rem; }
@media (prefers-reduced-motion: reduce) { .resw * { transition: none !important; } }
