.md-detail-tabs {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  gap: 5px;
  margin: -4px 0 24px;
  padding: 7px;
  border: 1px solid #e2e8e6;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(22, 56, 47, 0.08);
  overflow-x: auto;
}
.md-detail-tabs a {
  flex: 1;
  min-width: max-content;
  padding: 12px 16px;
  border-radius: 9px;
  color: #667a73;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.md-detail-tabs a:hover,
.md-detail-tabs a.is-active {
  background: #123f35;
  color: #fff;
}
.md-availability .md-section-title p {
  margin: 4px 0 0;
  color: #83918c;
  font-size: 11px;
}
.vcal {
  --accent: #ef7e19;
}
.vcal-head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  margin-bottom: 15px;
}
.vcal-head strong {
  text-align: center;
  color: #173b32;
  font-size: 17px;
}
.vcal-head button {
  height: 38px;
  border: 1px solid #dce6e2;
  border-radius: 9px;
  background: #fff;
  color: #1a6755;
}
.vcal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.vcal-month h3 {
  text-align: center;
  margin: 0 0 12px;
  font-size: 15px;
  color: #173a31;
}
.vcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.vcal-grid > small {
  padding: 6px 0;
  text-align: center;
  color: #8a9792;
  font-size: 9px;
  font-weight: 800;
}
.vcal-day {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #294a41;
  font-size: 12px;
  cursor: pointer;
}
.vcal-day:hover {
  background: #fff1e6;
  color: #c65e15;
}
.vcal-day.is-muted {
  color: #c7cfcc;
}
.vcal-day.is-past {
  background: #f5f6f6;
  color: #bdc4c1;
  cursor: not-allowed;
}
.vcal-day.is-range {
  border-radius: 0;
  background: #fff1e5;
  color: #b95712;
}
.vcal-day.is-start,
.vcal-day.is-end {
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}
.vcal-day.is-start:before,
.vcal-day.is-end:before {
  position: absolute;
  top: -14px;
  padding: 2px 5px;
  border-radius: 5px;
  background: #173f35;
  color: #fff;
  font-size: 7px;
  white-space: nowrap;
}
.vcal-day.is-start:before {
  content: "Giriş";
}
.vcal-day.is-end:before {
  content: "Çıkış";
}
.md-calendar-legend {
  display: flex;
  gap: 18px;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid #e8eeec;
  color: #73847e;
  font-size: 10px;
}
.md-calendar-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.md-calendar-legend i {
  width: 12px;
  height: 12px;
  border: 1px solid #d9e3df;
  border-radius: 3px;
  background: #fff;
}
.md-calendar-legend span:nth-child(2) i {
  border-color: #ef7e19;
  background: #ef7e19;
}
.md-calendar-legend span:nth-child(3) i {
  background: #ecefee;
}
.md-empty-review {
  display: grid;
  place-items: center;
  padding: 25px;
  color: #84938e;
  text-align: center;
}
.md-empty-review i {
  font-size: 32px;
  color: #d6dfdc;
}
.md-booking-enhanced {
  margin-bottom: 15px;
}
.md-booking-enhanced > small {
  display: block;
  margin: 12px 0 6px;
  color: #91611e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
}
.md-range-trigger,
.md-guest-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  height: 51px;
  padding: 0 13px;
  border: 1px solid #dae5e1;
  border-radius: 10px;
  background: #fff;
  color: #28483f;
  text-align: left;
  font-size: 12px;
}
.md-range-trigger i,
.md-guest-trigger i {
  width: 28px;
  color: #ef7e19;
  font-size: 16px;
}
.md-range-trigger span,
.md-guest-trigger span {
  flex: 1;
}
.md-range-trigger small,
.md-guest-trigger small {
  color: #91a09b;
}
.md-booking .md-original-date {
  display: none !important;
}
.md-booking-popover {
  position: absolute;
  right: 100%;
  top: 80px;
  z-index: 120;
  width: min(720px, calc(100vw - 30px));
  margin-right: 12px;
  padding: 18px;
  border: 1px solid #dce5e2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(17, 52, 43, 0.2);
  display: none;
}
.md-booking-popover.is-open {
  display: block;
}
.md-booking-popover .vcal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e8eeec;
}
.vcal-actions button {
  padding: 10px 15px;
  border: 0;
  border-radius: 9px;
  background: #f0f4f2;
  color: #31544a;
  font-weight: 800;
}
.vcal-actions button:last-child {
  background: #ef7e19;
  color: #fff;
}
.md-guest-popover {
  display: none;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid #dde7e3;
  border-radius: 11px;
  background: #fff;
}
.md-guest-popover.is-open {
  display: block;
}
.md-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.md-guest-row span small {
  display: block;
  color: #8b9994;
  font-size: 9px;
}
.md-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.md-stepper button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  padding: 0 0 2px;
  border: 1px solid #d9e3df;
  border-radius: 50%;
  background: #fff;
  color: #176b57;
  font-family: Arial, sans-serif;
  line-height: 1;
}
.md-booking-summary {
  margin: 15px 0 4px;
  padding: 14px;
  border-radius: 10px;
  background: #f6f9f8;
}
.md-booking-summary > div {
  display: flex;
  justify-content: space-between;
  margin: 7px 0;
  color: #657770;
  font-size: 11px;
}
.md-booking-summary .total {
  padding-top: 10px;
  border-top: 1px solid #dee7e4;
  color: #173b32;
  font-size: 14px;
  font-weight: 900;
}
.md-coupon {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.md-coupon input {
  height: 42px !important;
  margin: 0 !important;
  padding: 0 10px !important;
}
.md-coupon button {
  border: 0;
  border-radius: 8px;
  background: #e9f3ef;
  color: #176b57;
  font-size: 10px;
  font-weight: 800;
}
.md-no-charge {
  text-align: center;
  margin: 10px 0 0;
  color: #889791;
  font-size: 9px;
}
.md-booking {
  overflow: visible;
}
@media (max-width: 1000px) {
  .md-booking-popover {
    right: 0;
    top: auto;
    margin: 8px 0 0;
  }
  .md-detail-tabs {
    top: 0;
  }
}
@media (max-width: 700px) {
  .md-detail-tabs {
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 0;
  }
  .vcal-months {
    grid-template-columns: 1fr;
  }
  .vcal-month:nth-child(2) {
    display: none;
  }
  .vcal-day {
    min-height: 39px;
  }
  .md-booking-popover {
    position: fixed;
    inset: auto 8px 75px;
    width: auto;
    max-height: 72vh;
    overflow: auto;
  }
  .md-calendar-legend {
    flex-wrap: wrap;
  }
}
