/**
 * Rezervasyon penceresi + KVKK çubuğu
 */
.ye-rez {
  --ye-ink: #01261a;
  --ye-gold: #d4af37;
  --ye-font: "Poppins", "Hanken Grotesk", system-ui, sans-serif;
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(1, 38, 26, 0.72);
  font-family: var(--ye-font);
}

.ye-rez.is-open {
  display: flex;
}

body.ye-rez-open {
  overflow: hidden;
}

body.ye-rez-open .ye-kvkk {
  visibility: hidden;
}

.ye-rez__sheet {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  overflow: visible;
  background: #f7f4ee;
  border: 1px solid #01261a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.ye-rez__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 22px 24px;
  background: #01261a;
  color: #fff;
}

.ye-rez__side small {
  color: var(--ye-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ye-rez__side strong {
  display: block;
  margin-top: 8px;
  font-family: "Barlow Condensed", "Poppins", sans-serif;
  font-size: 78px;
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: 0.02em;
}

.ye-rez__meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.ye-rez__meta p + b,
.ye-rez__meta b + p {
  margin-top: 4px;
}

.ye-rez__side b {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-weight: 600;
}

.ye-rez__main {
  padding: 32px 36px 28px;
  color: var(--ye-ink);
}

.ye-rez__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ye-rez__head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
}

.ye-rez__head p {
  margin: 6px 0 0;
  color: rgba(1, 38, 26, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.ye-rez__x {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(1, 38, 26, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--ye-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.ye-rez__x:hover {
  background: #01261a;
  color: var(--ye-gold);
  border-color: #01261a;
}

.ye-rez__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

.ye-rez__field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ye-rez__field--wide {
  grid-column: 1 / -1;
}

.ye-rez__field label {
  font-size: 12px;
  font-weight: 600;
}

.ye-rez__field input,
.ye-rez__field textarea,
.ye-cal__btn,
.ye-pick__btn {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(1, 38, 26, 0.1);
  border-radius: 12px;
  background: #fff;
  color: var(--ye-ink);
  font-family: var(--ye-font);
  font-size: 15px;
  text-align: left;
  outline: none;
  cursor: text;
}

.ye-cal__btn,
.ye-pick__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.ye-cal__btn span,
.ye-pick__btn span {
  color: rgba(1, 38, 26, 0.4);
}

.ye-cal__btn.is-set span,
.ye-pick__btn span {
  color: var(--ye-ink);
}

.ye-cal__btn::after,
.ye-pick__btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #01261a;
  border-bottom: 1.5px solid #01261a;
  transform: rotate(45deg) translateY(-2px);
  flex: 0 0 auto;
}

.ye-rez__field textarea {
  height: auto;
  min-height: 88px;
  padding: 12px 14px;
  resize: vertical;
  cursor: text;
}

.ye-rez__field input:focus,
.ye-rez__field textarea:focus,
.ye-cal__btn:focus,
.ye-pick__btn:focus {
  border-color: #01261a;
}

.ye-rez__field input::placeholder,
.ye-rez__field textarea::placeholder {
  color: rgba(1, 38, 26, 0.4);
}

.ye-cal__pop,
.ye-pick__list {
  position: absolute;
  z-index: 4;
  top: calc(100% - 2px);
  left: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(1, 38, 26, 0.16);
}

.ye-cal__pop {
  width: 300px;
  padding: 14px 14px 8px;
}

.ye-cal__nav {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  margin-bottom: 8px;
}

.ye-cal__nav strong {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.ye-cal__nav button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.ye-cal__nav button:hover {
  background: #f3efe6;
}

.ye-cal__nav button::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto;
  border-top: 1.5px solid #01261a;
  border-left: 1.5px solid #01261a;
}

.ye-cal__nav [data-cal="prev"]::before {
  transform: rotate(-45deg);
}

.ye-cal__nav [data-cal="next"]::before {
  transform: rotate(135deg);
}

.ye-cal__week,
.ye-cal__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.ye-cal__week span {
  padding: 6px 0;
  text-align: center;
  color: rgba(1, 38, 26, 0.45);
  font-size: 12px;
  font-weight: 600;
}

.ye-cal__days button {
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #01261a;
  font-family: var(--ye-font);
  font-size: 14px;
  cursor: pointer;
}

.ye-cal__days button:hover {
  background: #f3efe6;
}

.ye-cal__days .is-out {
  color: rgba(1, 38, 26, 0.28);
}

.ye-cal__days .is-today {
  box-shadow: inset 0 0 0 1px rgba(1, 38, 26, 0.25);
}

.ye-cal__days .is-on,
.ye-cal__days .is-on:hover {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #01261a;
  font-weight: 700;
}

.ye-cal__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  border-top: 1px solid rgba(1, 38, 26, 0.08);
}

.ye-cal__foot button {
  padding: 12px 4px;
  border: 0;
  background: none;
  color: #01261a;
  font-family: var(--ye-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ye-cal__foot button:hover {
  color: #8a7018;
}

.ye-pick__list {
  right: 0;
  width: 100%;
  max-height: 220px;
  margin: 0;
  padding: 6px;
  list-style: none;
  overflow: auto;
}

.ye-pick__list button {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #01261a;
  font-family: var(--ye-font);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.ye-pick__list button:hover {
  background: #f3efe6;
}

.ye-pick__list button.is-on,
.ye-pick__list button.is-on:hover {
  background: #01261a;
  color: #fff;
}

.ye-rez__send {
  margin-top: 22px;
  padding: 12px 22px;
  border: 0;
  background: #01261a;
  color: #fff;
  font-family: var(--ye-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.ye-rez__send:hover {
  background: var(--ye-gold);
  color: #01261a;
}

.ye-rez__send:disabled {
  opacity: 0.6;
  cursor: wait;
}

.ye-cal__days button:disabled {
  color: rgba(1, 38, 26, 0.2);
  background: transparent;
  cursor: not-allowed;
}

.ye-rez__err {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-left: 3px solid #b3261e;
  background: rgba(179, 38, 30, 0.07);
  color: #8c1d18;
  font-size: 14px;
}

.ye-rez__done {
  display: none;
  padding: 28px 0 8px;
}

.ye-rez__done.is-on {
  display: block;
}

.ye-rez__done h3 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 600;
}

.ye-rez__done p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(1, 38, 26, 0.75);
}

.ye-rez__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.ye-rez__actions .ye-rez__send {
  margin-top: 0;
}

.ye-rez__actions [hidden] {
  display: none;
}

.ye-rez__send--ghost {
  background: transparent;
  color: #01261a;
  box-shadow: inset 0 0 0 1.5px #01261a;
}

.ye-rez__send--ghost:hover {
  background: #01261a;
  color: #fff;
}

.ye-rez__ozet {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(1, 38, 26, 0.12);
}

.ye-rez__ozet[hidden] {
  display: none;
}

.ye-rez__ozet div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(1, 38, 26, 0.12);
}

.ye-rez__ozet dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(1, 38, 26, 0.55);
}

.ye-rez__ozet dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #01261a;
  overflow-wrap: anywhere;
}

.ye-kvkk {
  --ye-ink: #01261a;
  --ye-gold: #d4af37;
  --ye-font: "Poppins", "Hanken Grotesk", system-ui, sans-serif;
  position: fixed;
  z-index: 420;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(860px, calc(100% - 150px));
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--ye-ink);
  box-shadow: 0 12px 40px rgba(1, 38, 26, 0.18);
  font-family: var(--ye-font);
}

.ye-kvkk[hidden] {
  display: none;
}

.ye-kvkk__mark {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #01261a;
  color: var(--ye-gold);
  font-size: 18px;
}

.ye-kvkk__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.ye-kvkk__copy strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 600;
}

.ye-kvkk__copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(1, 38, 26, 0.78);
}

.ye-kvkk__more {
  padding: 0;
  border: 0;
  background: none;
  color: #01261a;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.ye-kvkk__more:hover {
  color: #8a7018;
}

.ye-kvkk__note {
  display: none;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(1, 38, 26, 0.72);
}

.ye-kvkk__note.is-on {
  display: block;
}

.ye-kvkk__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.ye-kvkk__actions button {
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--ye-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ye-kvkk__no {
  border: 1px solid rgba(1, 38, 26, 0.35);
  background: #fff;
  color: #01261a;
}

.ye-kvkk__no:hover {
  border-color: #01261a;
  background: #f6f3ec;
}

.ye-kvkk__yes {
  border: 0;
  background: #01261a;
  color: #fff;
}

.ye-kvkk__yes:hover {
  background: var(--ye-gold);
  color: #01261a;
}

@media (max-width: 767px) {
  .ye-rez__sheet {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 32px);
    overflow: auto;
  }

  .ye-rez__main {
    padding: 22px 16px 20px;
  }

  .ye-cal__pop {
    position: fixed;
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    width: auto;
  }

  .ye-rez__side {
    flex-direction: row;
    align-items: flex-end;
    padding: 16px 16px 14px;
  }

  .ye-rez__side strong {
    font-size: 52px;
  }

  .ye-rez__side p {
    margin: 0;
    text-align: right;
  }

  .ye-rez__grid {
    grid-template-columns: 1fr;
  }

  .ye-kvkk {
    left: 10px;
    right: 10px;
    bottom: 10px;
    transform: none;
    width: auto;
    flex-wrap: wrap;
  }

  .ye-kvkk__actions {
    width: 100%;
    justify-content: flex-end;
  }

  body.ye-kvkk-on .ye-wa {
    bottom: 168px;
  }
}
