/* Tour-style package landing — scoped to .do-tour so listing pages stay untouched. */

.do-tour {
  --tour-max: 1120px;
  --tour-gap: 1.25rem;
  max-width: var(--tour-max);
  margin: 0 auto;
  padding: 1rem var(--space) 2.5rem;
}

.do-tour .do-breadcrumb {
  margin: 0 0 0.85rem;
}

.do-tour-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.4rem;
  height: min(420px, 58vw);
  margin-bottom: 1.15rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}

.do-tour-gallery__hero,
.do-tour-gallery__cell {
  margin: 0;
  padding: 0;
  border: 0;
  background: #1a1a1a;
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.do-tour-gallery__hero {
  grid-column: 1;
  grid-row: 1 / 3;
}

.do-tour-gallery__side {
  display: contents;
}

.do-tour-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.do-tour-gallery__hero:focus-visible,
.do-tour-gallery__cell:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: -3px;
}

.do-tour-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}

.do-tour-head h1 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 38rem;
}

.do-tour-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.do-tour-meta {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.do-tour-meta strong {
  font-weight: 650;
}

.do-tour-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.do-tour-pill {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
}

.do-tour-pill span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #444;
}

.do-tour-pill strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.92rem;
}

.do-tour-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
  margin: 0 0 1.35rem;
  scrollbar-width: none;
}

.do-tour-tabs::-webkit-scrollbar {
  display: none;
}

.do-tour-tabs a {
  flex: 0 0 auto;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: #222;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.do-tour-tabs a:hover,
.do-tour-tabs a.is-active {
  color: var(--forest);
  border-bottom-color: var(--saffron);
  text-decoration: none;
}

.do-tour-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.75rem;
  align-items: start;
}

.do-tour-main h2 {
  margin: 0 0 0.55rem;
  font-size: 1.28rem;
}

.do-tour-main section {
  margin-bottom: 1.85rem;
  scroll-margin-top: calc(var(--header-h) + 3.2rem);
}

.do-tour-main p {
  margin: 0 0 0.75rem;
}

.do-tour-highlights {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.do-tour-highlights li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.45rem;
  border-bottom: 1px solid var(--line);
}

.do-tour-highlights li:last-child {
  border-bottom: 0;
}

.do-tour-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.65rem;
  height: 0.35rem;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.do-tour-day {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  background: #fff;
}

.do-tour-day > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.do-tour-day > summary::-webkit-details-marker {
  display: none;
}

.do-tour-day > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.2rem;
  font-weight: 500;
  color: #555;
}

.do-tour-day[open] > summary::after {
  content: "–";
}

.do-tour-day__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--saffron);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
}

.do-tour-day__meals {
  font-size: 0.78rem;
  font-weight: 650;
  color: #444;
}

.do-tour-day ul {
  margin: 0;
  padding: 0 1rem 1rem 2.2rem;
}

.do-tour-day li {
  margin: 0.25rem 0;
}

.do-tour-stays {
  display: grid;
  gap: 0.85rem;
}

.do-tour-stay {
  display: flex;
  gap: 0.9rem;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.do-tour-stay__media {
  flex: 0 0 148px;
  width: 148px;
  background: var(--mist);
}

.do-tour-stay__media img {
  width: 148px;
  height: 148px;
  max-width: none;
  object-fit: cover;
}

.do-tour-stay__body {
  padding: 0.75rem 0.85rem 0.85rem 0;
}

.do-tour-stay__body h3 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}

.do-tour-stay__loc {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: #444;
}

.do-tour-stay__body ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.do-tour-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.do-tour-split h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.do-tour-split ul {
  margin: 0;
  padding-left: 1.15rem;
}

.do-tour-split--in {
  background: #f4faf4;
  border: 1px solid #d7ead7;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.do-tour-split--out {
  background: #fbf6f4;
  border: 1px solid #edd8d0;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.do-tour-notes {
  margin: 0;
  padding-left: 1.15rem;
}

.do-tour-notes li {
  margin: 0.35rem 0;
}

.do-tour-amen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.do-tour-amen li {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 650;
  background: #fff;
}

.do-tour-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.do-tour-related a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.do-tour-related a:hover {
  text-decoration: none;
  border-color: var(--saffron);
}

.do-tour-related img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.do-tour-related span {
  display: block;
  padding: 0.65rem 0.75rem 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.do-tour-book {
  position: sticky;
  top: calc(var(--header-h) + 3.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 1.1rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.do-tour-book__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
}

.do-tour-book__price {
  margin: 0.15rem 0 0.15rem;
  font-size: 1.85rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.do-tour-book__price span {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
  color: #444;
  margin-top: 0.2rem;
}

.do-tour-book__note {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: #333;
}

.do-tour-book .do-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.45rem;
  text-align: center;
}

.do-tour-book ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
}

.do-tour-book li {
  margin: 0.2rem 0;
}

.do-tour-bar {
  display: none;
}

@media (max-width: 900px) {
  .do-tour-gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 210px 88px;
    height: auto;
  }

  .do-tour-gallery__hero {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .do-tour-gallery__side {
    display: contents;
  }

  .do-tour-pills {
    grid-template-columns: 1fr 1fr;
  }

  .do-tour-layout {
    grid-template-columns: 1fr;
  }

  .do-tour-book {
    display: none;
  }

  .do-tour-split,
  .do-tour-related,
  .do-tour-amen {
    grid-template-columns: 1fr;
  }

  .do-tour-stay {
    flex-direction: column;
  }

  .do-tour-stay__media,
  .do-tour-stay__media img {
    width: 100%;
    height: 160px;
    flex-basis: auto;
  }

  .do-tour-stay__body {
    padding: 0 0.85rem 0.9rem;
  }

  .do-tour-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    padding: 0.7rem var(--space);
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .do-tour-bar strong {
    font-size: 1.15rem;
  }

  .do-tour-bar span {
    display: block;
    font-size: 0.75rem;
    font-weight: 650;
  }

  .do-tour-bar .do-btn {
    flex: 0 0 auto;
  }

  body.do-page--dandeli-murudeshwar-package {
    padding-bottom: 5.2rem;
  }

  body.do-page--dandeli-murudeshwar-package .do-fab {
    display: none;
  }
}

@media (max-width: 560px) {
  .do-tour-gallery {
    grid-template-rows: 180px 72px;
  }
}
