/* Package detail page */

.pkgd-page {
  --pkg-ink: #0f172a;
  --pkg-muted: #64748b;
  --pkg-green: #00a680;
  --pkg-green-dark: #047857;
  --pkg-border: #e2e8f0;
  --pkg-bg: #f4f6f8;
  --pkg-surface: #fff;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
  color: var(--pkg-ink);
  overflow: visible;
}

.pkgd-breadcrumb {
  font-size: 0.85rem;
  color: var(--pkg-muted);
  margin: 0 0 1rem;
}

.pkgd-breadcrumb a {
  color: var(--pkg-green-dark);
  text-decoration: none;
}

.pkgd-breadcrumb a:hover { text-decoration: underline; }

.pkgd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.75rem;
  align-items: start;
  overflow: visible;
}

.pkgd-hero {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.pkgd-hero .pkg-collage {
  aspect-ratio: 21 / 10;
  min-height: 240px;
}

.pkgd-hero--custom img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.pkgd-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.pkgd-lead {
  margin: 0 0 1rem;
  color: var(--pkg-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 62ch;
}

.pkgd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--pkg-muted);
}

.pkgd-meta-row strong { color: var(--pkg-ink); font-weight: 600; }

.pkgd-section {
  margin: 0 0 2.25rem;
}

.pkgd-section h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.pkgd-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
  width: 100%;
}

.pkgd-section-hint {
  margin: -0.35rem 0 1rem;
  color: var(--pkg-muted);
  font-size: 0.9rem;
}

.pkgd-tour-card {
  background: var(--pkg-surface);
  border: 1.5px solid var(--pkg-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pkgd-tour-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  border-color: rgba(0, 166, 128, 0.35);
}

.pkgd-tour-card__media {
  position: relative;
  flex: 0 0 160px;
  height: 160px;
  min-height: 160px;
  max-height: 160px;
  aspect-ratio: unset;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  overflow: hidden;
}

.pkgd-tour-card__media img,
.pkgd-tour-card__ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pkgd-tour-card:hover .pkgd-tour-card__media img {
  transform: scale(1.05);
}

.pkgd-tour-card__day {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.pkgd-tour-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-height: 0;
}

.pkgd-tour-card__body h3 {
  margin: 0;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--pkg-ink);
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pkgd-tour-card__desc {
  margin: 0;
  font-size: 0.8rem;
  color: var(--pkg-muted);
  line-height: 1.4;
  min-height: 2.25em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pkgd-tour-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 1.55em;
}

.pkgd-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 600;
}

.pkgd-tour-date {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.pkgd-tour-date input[type="date"] {
  min-height: 2.5rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
  font: inherit;
  color: var(--pkg-ink);
  background: #f8fafc;
}

.pkgd-tour-date input[type="date"]:focus {
  outline: none;
  border-color: var(--pkg-green);
  box-shadow: 0 0 0 3px rgba(0, 166, 128, 0.15);
}

.pkgd-tour-card__foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.pkgd-tour-card__price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pkg-green-dark);
  letter-spacing: 0.01em;
}

.pkg-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
}
.pkg-price-row__unit,
.pkg-price-row__total {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.pkg-price-row__unit {
  align-items: flex-start;
  text-align: left;
}
.pkg-price-row__total {
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
}
.pkg-price-row__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.2;
}
.pkg-price-row__value {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0a2540;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.pkg-price-row__total .pkg-price-row__value {
  color: var(--pkg-green-dark, #0f7a4f);
}

.pkgd-tour-card__foot .pkgd-view-btn {
  align-self: flex-end;
}

@media (max-width: 640px) {
  .pkgd-tour-card__foot {
    gap: 0.55rem;
  }
  .pkgd-tour-card__foot .pkg-price-row {
    padding: 0.7rem 0.8rem;
    gap: 1rem;
  }
  .pkgd-tour-card__foot .pkg-price-row__value {
    font-size: 1rem;
  }
}

.pkgd-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  background: transparent;
  color: var(--pkg-green-dark);
  border: 1.5px solid var(--pkg-green);
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
}

.pkgd-view-btn:hover {
  background: #ecfdf5;
}

.pkgd-schedule {
  margin: 0 0 0.95rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.pkgd-schedule h3 {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.pkgd-schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pkgd-schedule-list li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  font-size: 0.82rem;
}

.pkgd-schedule-list__day {
  font-weight: 700;
  color: var(--pkg-green-dark);
  padding-top: 0.1rem;
}

.pkgd-schedule-list__body {
  min-width: 0;
}

.pkgd-schedule-list__title {
  display: block;
  color: #334155;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pkgd-schedule-list__date {
  display: block;
  color: var(--pkg-muted);
  margin-top: 0.1rem;
}

.pkgd-schedule-list__date.is-empty {
  color: #b45309;
  font-weight: 600;
}

.pkgd-persons {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.25rem 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.pkgd-persons select {
  min-height: 2.65rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  background: #f8fafc;
}

.pkgd-persons select:focus {
  outline: none;
  border-color: var(--pkg-green);
  box-shadow: 0 0 0 3px rgba(0, 166, 128, 0.15);
}

.pkgd-book-err {
  margin: 0 0 0.65rem;
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 600;
}

.pkgd-sidebar-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--pkg-muted);
  line-height: 1.4;
}

.pkgd-price-block .amount s {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
  margin-right: 0.35rem;
}

.pkgd-day {
  background: var(--pkg-surface);
  border: 1px solid var(--pkg-border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
}

.pkgd-day__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.pkgd-day-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-top: 1px solid #f1f5f9;
}

.pkgd-day-item:first-of-type { border-top: none; padding-top: 0; }

.pkgd-day-item__img {
  width: 88px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
}

.pkgd-day-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pkgd-day-item__body h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.pkgd-day-item__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--pkg-muted);
}

.pkgd-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.pkgd-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  border: none;
  padding: 0;
  background: #0f172a;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.pkgd-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.2s ease, transform 0.35s ease;
}

.pkgd-gallery__item:hover img {
  opacity: 0.95;
  transform: scale(1.03);
}

.pkgd-sidebar {
  position: sticky;
  top: 1rem;
  align-self: start;
  background: var(--pkg-surface);
  border: 1px solid var(--pkg-border);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.35rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  z-index: 6;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pkgd-sidebar h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.pkgd-summary-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0 0 0.95rem;
  width: 100%;
}

.pkgd-summary-row__item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0.5rem 0.3rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.pkgd-summary-row__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pkgd-summary-row__value {
  display: block;
  font-size: clamp(0.68rem, 1.5vw, 0.8rem);
  font-weight: 700;
  color: var(--pkg-ink);
  line-height: 1.25;
  word-break: break-word;
}

.pkgd-summary-row__value.pkgd-save {
  color: var(--pkg-green-dark);
}

.pkgd-summary-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.pkgd-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.pkgd-summary-list li span:last-child {
  font-weight: 600;
  text-align: right;
}

.pkgd-summary-list .pkgd-save { color: var(--pkg-green-dark); }

.pkgd-price-block {
  margin: 0.5rem 0 1rem;
}

.pkgd-price-block .from {
  font-size: 0.8rem;
  color: var(--pkg-muted);
  margin: 0;
}

.pkgd-price-block .amount {
  margin: 0.15rem 0;
  font-size: 1.55rem;
  font-weight: 700;
}

.pkgd-price-block s {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
  margin-right: 0.35rem;
}

.pkgd-cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pkgd-cta button,
.pkgd-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.pkgd-cta__primary {
  background: var(--pkg-green);
  color: #fff;
}

.pkgd-cta__primary:hover { background: var(--pkg-green-dark); }

.pkgd-cta__ghost {
  background: transparent;
  color: var(--pkg-green-dark);
  border: 1.5px solid var(--pkg-green) !important;
}

.pkgd-cta__ghost:hover { background: #ecfdf5; }

.pkgd-status {
  display: inline-flex;
  margin: 0 0 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #ecfdf5;
  color: var(--pkg-green-dark);
}

.pkgd-status--hidden { background: #f1f5f9; color: #64748b; }

.pkgd-loading,
.pkgd-error {
  padding: 3rem 1.25rem;
  text-align: center;
  color: var(--pkg-muted);
}

.pkgd-error { color: #b91c1c; }

.pkgd-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #f8fafc 100%);
  overflow-x: clip;
}

.pkgd-body .pkgd-page {
  flex: 1 0 auto;
  overflow: visible;
}

.pkgd-body .site-footer {
  margin-top: auto;
  width: 100%;
}

/* Lightbox */
.pkgd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pkgd-lightbox[hidden] { display: none !important; }

.pkgd-lightbox__img-wrap {
  max-width: min(96vw, 1100px);
  max-height: 86vh;
  overflow: auto;
  text-align: center;
}

.pkgd-lightbox__img-wrap img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.pkgd-lightbox__img-wrap.is-zoomed img {
  max-height: none;
  width: 140%;
  cursor: zoom-out;
}

.pkgd-lightbox__close,
.pkgd-lightbox__nav {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pkgd-lightbox__close { top: 1rem; right: 1rem; }
.pkgd-lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.pkgd-lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }

.pkgd-lightbox__close:hover,
.pkgd-lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }

/* Tour details popup */
.pkgd-tour-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pkgd-tour-modal[hidden] {
  display: none !important;
}

.pkgd-tour-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
}

.pkgd-tour-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  padding: 1.25rem 1.25rem 1.4rem;
}

.pkgd-tour-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.pkgd-tour-modal__close:hover {
  background: #e2e8f0;
}

.pkgd-tour-modal__media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  margin: 0 0 1rem;
}

.pkgd-tour-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pkgd-tour-modal__panel h2 {
  margin: 0 1.75rem 0.55rem 0;
  font-size: 1.25rem;
  line-height: 1.3;
}

.pkgd-tour-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
}

.pkgd-tour-modal__desc {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.pkgd-tour-modal__section {
  margin: 0 0 0.85rem;
}

.pkgd-tour-modal__section h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.pkgd-tour-modal__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: #334155;
}

.pkgd-tour-modal__facts li {
  padding: 0.2rem 0;
}

.pkgd-tour-modal__itin {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pkgd-tour-modal__itin li {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}

.pkgd-tour-modal__itin strong {
  display: block;
  margin-bottom: 0.15rem;
}

.pkgd-tour-modal__itin span {
  color: #64748b;
}

@media (max-width: 900px) {
  .pkgd-layout {
    grid-template-columns: 1fr;
  }
  .pkgd-sidebar {
    position: relative;
    top: auto;
    order: -1;
    z-index: 8;
    margin-bottom: 0.5rem;
  }
  .pkgd-page {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
  .pkgd-tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }
  .pkgd-tour-card {
    width: 100%;
    min-width: 0;
  }
  .pkgd-tour-card__media {
    flex-basis: 140px;
    height: 140px;
    min-height: 140px;
    max-height: 140px;
  }
  .pkgd-hero .pkg-collage {
    aspect-ratio: 16 / 11;
    min-height: 180px;
  }
  .pkgd-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pkgd-summary-row {
    flex-wrap: wrap;
  }
  .pkgd-summary-row__item {
    flex: 1 1 calc(50% - 0.4rem);
  }
}

@media (max-width: 560px) {
  .pkgd-tour-grid {
    grid-template-columns: 1fr;
  }
  .pkgd-tour-card {
    width: 100%;
  }
  .pkgd-day-item { grid-template-columns: 64px minmax(0, 1fr); }
  .pkgd-day-item__img { width: 64px; height: 56px; }
  .pkgd-gallery {
    grid-template-columns: 1fr;
  }
  .pkgd-summary-row__item {
    flex: 1 1 calc(50% - 0.4rem);
  }
}

/* Mobile book bar + sheet (mirrors tour/activity) */
.pkgd-mobile-book-bar {
  display: none;
}

body.pkgd-has-mobile-bar .pkgd-mobile-book-bar {
  display: flex;
}

.pkgd-mobile-book-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.12);
}

.pkgd-mobile-book-bar[hidden] {
  display: none !important;
}

.pkgd-mobile-book-bar__price {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pkgd-mobile-book-bar__price span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.pkgd-mobile-book-bar__price small {
  font-size: 0.72rem;
  color: #64748b;
}

.pkgd-mobile-book-bar__btn {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: 12px;
  background: #00a680;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
}

.pkgd-mobile-book-bar__btn:hover {
  background: #047857;
}

.pkgd-mobile-book-sheet {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.pkgd-mobile-book-sheet.is-open {
  pointer-events: auto;
  opacity: 1;
}

.pkgd-mobile-book-sheet[hidden] {
  display: none !important;
}

.pkgd-mobile-book-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 40, 0.52);
}

.pkgd-mobile-book-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 100dvh);
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -16px 40px rgba(15, 23, 42, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}

.pkgd-mobile-book-sheet.is-open .pkgd-mobile-book-sheet__panel {
  transform: translateY(0);
}

.pkgd-mobile-book-sheet__handle {
  width: 2.25rem;
  height: 5px;
  border-radius: 999px;
  background: #c9d3de;
  margin: 0.65rem auto 0.35rem;
}

.pkgd-mobile-book-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 1.15rem 0.75rem;
}

.pkgd-mobile-book-sheet__head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.pkgd-mobile-book-sheet__close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 1.35rem;
  cursor: pointer;
}

.pkgd-mobile-book-sheet__body {
  padding: 0 1.15rem 1rem;
  overflow: auto;
}

.pkgd-mobile-book-sheet__summary {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
}

.pkgd-mobile-book-sheet__foot {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e2e8f0;
}

.pkgd-mobile-book-sheet__total {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.pkgd-mobile-book-sheet__foot .pkgd-cta__primary,
.pkgd-mobile-book-sheet__foot .pkgd-cta__ghost {
  width: 100%;
}

@media (min-width: 901px) {
  .pkgd-mobile-book-bar,
  .pkgd-mobile-book-sheet {
    display: none !important;
  }
  body.pkgd-has-mobile-bar .pkgd-mobile-book-bar {
    display: none !important;
  }
}

/* Airport transfer offer after add to cart */
.pkgd-transfer-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pkgd-transfer-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pkgd-transfer-modal[hidden] {
  display: none !important;
}

.pkgd-transfer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 40, 0.55);
}

.pkgd-transfer-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.pkgd-transfer-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 1.35rem;
  cursor: pointer;
}

.pkgd-transfer-modal__panel h2 {
  margin: 0 1.75rem 0.55rem 0;
  font-size: 1.2rem;
}

.pkgd-transfer-modal__panel p {
  margin: 0 0 1.15rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pkgd-transfer-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.pkgd-transfer-modal__actions .pkgd-cta__primary,
.pkgd-transfer-modal__actions .pkgd-cta__ghost {
  width: 100%;
  min-height: 2.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.pkgd-transfer-modal__actions .pkgd-cta__primary {
  background: #00a680;
  color: #fff;
}

.pkgd-transfer-modal__actions .pkgd-cta__ghost {
  background: transparent;
  color: #047857;
  border: 1.5px solid #00a680;
}

.pkgd-addons {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px dashed #d7e3ef;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pkgd-addons__pick {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #3d4f66;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pkgd-addons__pick select {
  width: 100%;
  border: 1px solid #d7dfeb;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font: inherit;
  font-size: 0.86rem;
  color: #0a2540;
  background: #fff;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.pkgd-addons__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pkgd-addons__line {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.82rem;
  color: #0a2540;
  background: #f7fafc;
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
}
.pkgd-addons__name {
  min-width: 0;
}
.pkgd-addons__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.pkgd-addon-inc,
.pkgd-addon-dec,
.pkgd-addon-remove {
  border: 1px solid #d7dfeb;
  background: #fff;
  border-radius: 6px;
  min-width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  color: #0a2540;
}
.pkgd-addon-remove {
  font-size: 0.72rem;
  min-width: auto;
  padding: 0 0.4rem;
  color: #b45309;
}
.pkgd-extras-note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #047857;
  font-weight: 600;
}
