/* Package detail only. Keep Bootstrap's existing open/close and focus behavior. */
.eko-home #modalPaket { z-index: 1070; padding: 0 !important; }
/* Existing navbar is 1050 and bottom actions are 1040. */
.eko-home > .modal-backdrop { z-index: 1060; }
.eko-home #modalPaket .modal-dialog {
  width: calc(100% - 32px); max-width: 520px;
  margin: 16px auto; min-height: calc(100% - 32px);
}
.eko-home #modalPaket .modal-dialog-centered::before {
  height: calc(100vh - 32px); height: calc(100dvh - 32px);
}
.eko-home #modalPaket .modal-content {
  display: flex; flex-direction: column; min-width: 0;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 12px; overflow: hidden;
  background: #fff; color: #20252b;
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
}
.eko-home #modalPaket .eko-package-modal-header {
  display: flex; align-items: flex-start; gap: 12px;
  flex: 0 0 auto; padding: 20px 20px 0;
}
.eko-home #modalPaket #modalPkgTitle {
  flex: 1; min-width: 0; margin: 0; color: #20252b;
  font-size: 20px !important; font-weight: 600 !important;
  line-height: 1.4 !important; letter-spacing: 0; text-decoration: none;
  overflow-wrap: break-word;
}
.eko-home #modalPaket .eko-package-modal-close {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 44px; width: 44px; height: 44px;
  margin: -8px -8px 0 0; padding: 0; border: 0; border-radius: 0;
  appearance: none; background: transparent; box-shadow: none;
  color: #706c69; line-height: 1; cursor: pointer; touch-action: manipulation;
}
.eko-home #modalPaket .eko-package-modal-close svg {
  display: block; width: 20px; height: 20px;
}
.eko-home #modalPaket .eko-package-modal-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch;
  padding: 20px 20px 0;
}
.eko-home #modalPaket .eko-package-modal-price { margin: 0 0 20px; }
.eko-home #modalPaket .eko-package-modal-label {
  display: block; margin: 0 0 4px; color: #706c69;
  font-size: 12px !important; font-weight: 400 !important; line-height: 1.5;
}
.eko-home #modalPaket #modalPkgPrice {
  display: block; color: #000; font-size: 18px !important;
  font-weight: 600 !important; line-height: 1.45; overflow-wrap: anywhere;
}
.eko-home #modalPaket .eko-package-modal-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px; margin: 0; padding: 0 0 20px; border-bottom: 1px solid #e7e4e0;
}
.eko-home #modalPaket .eko-package-modal-meta > div { min-width: 0; }
.eko-home #modalPaket .eko-package-modal-meta dd {
  margin: 0; color: #20252b; font-size: 14px !important;
  font-weight: 500 !important; line-height: 1.5; overflow-wrap: break-word;
}
.eko-home #modalPaket #modalPkgDestinationsTitle {
  margin: 20px 0 12px; color: #20252b;
  font-size: 15px !important; font-weight: 600 !important; line-height: 1.5;
}
.eko-home #modalPaket #modalPkgItinerary {
  display: grid; gap: 10px; list-style: none; margin: 0; padding: 0;
}
.eko-home #modalPaket .eko-package-modal-stop {
  display: flex; align-items: flex-start; gap: 10px; min-width: 0;
  margin: 0; padding: 0; color: #20252b;
}
.eko-home #modalPaket .eko-package-modal-stop svg {
  display: block; flex: 0 0 16px; width: 16px; height: 16px;
  margin-top: 4px; color: var(--primary-color);
}
.eko-home #modalPaket .eko-package-modal-stop span,
.eko-home #modalPaket .eko-package-modal-empty {
  min-width: 0; color: #20252b; font-size: 14px !important;
  font-weight: 400 !important; line-height: 1.7 !important; overflow-wrap: break-word;
}
.eko-home #modalPaket .eko-package-modal-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 20px 0 0; padding: 0; background: transparent;
  color: #706c69; font-size: 12px !important;
  font-weight: 400 !important; line-height: 1.65 !important;
}
.eko-home #modalPaket .eko-package-modal-note svg {
  display: block; flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px;
}
.eko-home #modalPaket .eko-package-modal-note span {
  min-width: 0; font-size: inherit !important; font-weight: inherit; line-height: inherit;
}
.eko-home #modalPaket .eko-package-modal-footer {
  flex: 0 0 auto; margin: 0; padding: 20px; background: #fff;
}
.eko-home #modalPaket .eko-package-modal-book {
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: 100%; min-height: 44px;
  margin: 0; padding: 10px 16px; border: 0; border-radius: 6px;
  background: var(--primary-color); color: #fff;
  font-size: 14px !important; font-weight: 500 !important; line-height: 1.5;
  text-decoration: none; text-align: center; box-shadow: none;
  touch-action: manipulation;
}
.eko-home #modalPaket .eko-package-modal-book:hover,
.eko-home #modalPaket .eko-package-modal-book:active {
  background: #bd101b; color: #fff; text-decoration: none;
}
.eko-home #modalPaket .eko-package-modal-close:focus-visible,
.eko-home #modalPaket .eko-package-modal-book:focus-visible {
  outline: 2px solid var(--primary-color); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .eko-home #modalPaket.fade .modal-dialog { transition: none; }
}
