.package-tabs-wrapper {
  padding: 16px 0;
  background: #e8e3d3;
  border-bottom: 2px solid #d4cca6;
}

.package-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-tabs a {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #d4cca6;
  background: var(--bg-main);
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
}

.package-tabs a:hover,
.package-tabs a[aria-current="page"] {
  border-color: var(--color-btn-olive);
  background: var(--color-btn-olive);
  color: var(--text-light);
}

.tour-section {
  position: relative;
  overflow: clip;
  background: var(--bg-paper);
}

.tour-copy {
  margin-bottom: 24px;
}

.tour-subhead {
  margin-top: 40px;
}

.tour-breakout {
  height: 450px;
  margin: 10px 0 40px;
}

.tour-breakout-img {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  height: 450px;
  object-fit: cover;
}

.sidebar {
  position: relative;
  z-index: 2;
}

.animal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 20px;
  text-align: center;
}

.animal-item img {
  width: 140px;
  height: 140px;
  margin: 0 auto 10px;
  object-fit: cover;
  border: 4px solid var(--bg-main);
  border-radius: 48% 52% 45% 55% / 55% 45% 52% 48%;
  box-shadow: var(--shadow-box);
}

.animal-item h4 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

.tour-highlights {
  margin-top: 20px;
}

.highlight-img {
  height: 180px;
}

.highlight-title {
  font-size: 20px;
}

.quick-scroll-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 8px;
}

.quick-scroll-link {
  color: var(--color-btn-rust);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.quick-scroll-link:hover {
  color: var(--color-btn-olive);
}

.booking-header.is-udawalawe {
  background-image: url("../images/uda-header-bg.jpg");
}

.booking-header.is-ella {
  background-image: url("../images/ella-header-bg.jpg");
}

.booking-header.is-galle {
  background-image: url("../images/galle-header-bg.jpg");
}

.tour-note {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.booking-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: #ebe5d5;
  border-top: 1px solid #d4cca6;
  text-align: left;
}

.phone-icon {
  width: 35px;
  height: 35px;
}

.booking-contact span,
.booking-contact strong {
  display: block;
}

.booking-contact span {
  font-size: 12px;
}

.booking-contact strong {
  font-size: 18px;
}

.contact-number-link {
  color: var(--text-main);
  text-decoration: none;
}

.contact-number-link:hover {
  color: var(--color-btn-rust);
}

.pricing-table {
  text-align: center;
}

.pricing-table th,
.pricing-table td {
  text-align: center;
}

.pricing-table tbody th {
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
}

.pricing-table tbody tr:nth-child(even) th {
  background: #fcfbfa;
}

.pricing-amount {
  margin: 0 0 20px;
  color: var(--color-btn-rust);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.pricing-amount span {
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
}

.pricing-locations {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.tour-aside-block {
  margin-top: 40px;
}

.tour-aside-block .text-lead {
  margin: 0 0 12px;
}

.tour-cta {
  margin-top: 60px;
  text-align: center;
}

.btn-large {
  padding: 15px 40px;
  font-size: 18px;
}

#tour-pricing,
#book-tour {
  scroll-margin-top: 140px;
}

@media (max-width: 992px) {
  .animal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .tour-breakout,
  .tour-breakout-img {
    height: 250px;
  }

  .tour-breakout-img.is-galle {
    object-position: left center;
  }

  .tour-breakout-img.is-ella {
    object-position: 34% 50%;
  }

  .package-tabs {
    flex-direction: column;
  }

  .package-tabs a {
    display: block;
    text-align: center;
  }

  .animal-grid {
    gap: 15px;
  }

  .quick-scroll-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .pricing-amount {
    font-size: 40px;
  }

  .btn-large {
    display: inline-block;
    max-width: 100%;
  }
}
