/* Batch 03 — canonical 24-tour presentation system.
 * Loaded after legacy and approved-parity layers so one shared contract wins on
 * every EN/DE tour route without route-specific visual drift.
 */

.lamilka-detail,
.lamilka-detail * { box-sizing: border-box; }

/* Approved H1 price line: category, bracketed age, neutral price. */
.lamilka-detail__prices {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 10px 0 0;
  color: #0f1b3d;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}
.lamilka-detail__price-item {
  align-items: baseline;
  display: inline-flex;
  gap: 4px;
  position: relative;
  white-space: nowrap;
}
.lamilka-detail__price-item + .lamilka-detail__price-item {
  margin-left: 14px;
  padding-left: 15px;
}
.lamilka-detail__price-item + .lamilka-detail__price-item::before {
  background: #94a3b8;
  content: "";
  height: 19px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}
.lamilka-detail__price-item strong {
  color: #0f1b3d;
  font-size: inherit;
  font-weight: 650;
}
.lamilka-detail__price-age {
  color: #64748b;
  font-weight: 400;
}
.lamilka-detail__price-value {
  color: #0f1b3d;
  font-size: inherit;
  font-weight: 750;
}
.lamilka-detail__price-item.is-free .lamilka-detail__price-value { color: #1d9e75; }

/* Feature Bar: exactly four source items. */
.lamilka-detail__features {
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid #dbe3ea;
  border-radius: 9px;
  background: #fff;
  color: #0f1b3d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}
.lamilka-detail__features > span {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: center;
  min-width: 0;
  padding: 0 13px;
  text-align: center;
}
.lamilka-detail__features > span:not(:last-child) { border-right: 1px solid #94a3b8; }
.lamilka-detail__features > span > span {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.lamilka-detail__features .lamilka-tour-information-icon {
  flex: 0 0 16px;
  height: 16px;
  width: 16px;
}

/* Trust Pills: two equal rows plus one full-width final pill. */
.lamilka-detail__pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.lamilka-detail__pills > span {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: center;
  min-height: 29px;
  padding: 5px 10px;
  border: 1px solid #dbe3ea;
  border-radius: 999px;
  background: #fff;
  color: #0f1b3d;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}
.lamilka-detail__pills > span:nth-child(5) { grid-column: 1 / -1; }
.lamilka-detail__pills > span > span {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.lamilka-detail__pills .lamilka-tour-information-icon {
  flex: 0 0 14px;
  height: 14px;
  width: 14px;
}
.lamilka-detail__pills .lamilka-tour-information-lock {
  flex: 0 0 13px;
  height: 13px;
  width: 13px;
}

/* Simplified Step 1 and approved availability/hotel/date rhythm. */
.lamilka-detail__booking > [data-booking-step="1"] { gap: 0; }
.lamilka-detail__booking-availability {
  display: grid;
  gap: 4px;
  margin: 0 0 9px;
  color: #1d9e75;
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1.35;
}
.lamilka-detail__booking-step {
  display: block;
  margin: 0;
  color: #c49a36;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}
.lamilka-detail__booking h2 {
  margin: 5px 0 12px;
  color: #0f1b3d;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}
.lamilka-detail__booking label {
  display: grid;
  gap: 5px;
  margin: 0 0 12px;
  color: #0f1b3d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.lamilka-detail__booking label .lamilka-hotel-field,
.lamilka-detail__booking label .lamilka-date-field { margin-top: 0; }
.lamilka-detail__pickup {
  align-items: center;
  display: flex;
  gap: 5px;
  min-height: 18px;
  margin: -3px 0 13px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b !important;
  font-size: 11.5px;
  font-weight: 450;
  line-height: 1.35;
  white-space: nowrap;
}
.lamilka-detail__pickup-icon {
  color: #64748b;
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1;
}
.lamilka-detail__pickup-copy {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Two-line booking category rows. */
.lamilka-detail__counter {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 42px 42px;
  min-height: 64px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  color: #0f1b3d;
  font-size: 14px;
}
.lamilka-detail__counter-copy {
  display: block;
  min-width: 0;
  padding-right: 8px;
  line-height: 1.25;
}
.lamilka-detail__counter-copy strong {
  color: #0f1b3d;
  font-size: 14px;
  font-weight: 600;
}
.lamilka-detail__counter-age {
  color: #64748b;
  font-size: 13px;
  font-weight: 400;
}
.lamilka-detail__counter-price {
  display: block;
  margin-top: 3px;
  color: #0f1b3d;
  font-size: 13px;
  font-weight: 650;
}
.lamilka-detail__counter-price.is-free { color: #1d9e75; }
.lamilka-detail__counter button,
.lamilka-detail__counter output {
  align-items: center;
  display: flex;
  height: 42px;
  justify-content: center;
  margin: 0;
  border-color: #d1d5db;
  background: #fff;
  color: #0f1b3d;
  font: 500 17px/1 inherit;
  text-align: center;
}
.lamilka-detail__counter button:first-of-type {
  border: 1px solid #d1d5db;
  border-radius: 8px 0 0 8px;
}
.lamilka-detail__counter output {
  border-top: 1px solid #d1d5db;
  border-right: 0;
  border-bottom: 1px solid #d1d5db;
  border-left: 0;
  font-size: 14px;
}
.lamilka-detail__counter button:last-child {
  border: 1px solid #d1d5db;
  border-radius: 0 8px 8px 0;
}
.lamilka-detail__counter button:hover,
.lamilka-detail__counter button:focus-visible { background: #f8fafc; }

.lamilka-detail__total {
  margin-top: 14px;
  padding: 17px 16px;
  border: 1px solid #d8e1ea;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
}
.lamilka-detail__total strong {
  display: block;
  margin: 7px 0;
  color: #0f1b3d;
  font-size: 40px;
  font-weight: 750;
  line-height: 1;
}
.lamilka-detail__total small {
  color: #718096;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Stored literal escape sequences become intentional visible line breaks. */
.lamilka-detail__timeline-copy { white-space: pre-line; }

/* No content-image processing in the shared tour template. */
.lamilka-detail__gallery img,
.lamilka-gallery-lightbox__media img,
.lamilka-gallery-lightbox__thumbnails img {
  filter: none !important;
  opacity: 1 !important;
  transform: none;
}

/* Exactly two mobile sticky actions: icon-only WhatsApp plus booking CTA. */
@media (max-width: 767px) {
  .lamilka-detail__prices {
    gap: 5px 0;
    justify-content: flex-start;
    margin-top: 9px;
    font-size: 14px;
  }
  .lamilka-detail__price-item + .lamilka-detail__price-item {
    margin-left: 9px;
    padding-left: 10px;
  }
  .lamilka-detail__price-item + .lamilka-detail__price-item::before { height: 17px; }

  .lamilka-detail__features {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(44px, auto));
    padding: 4px 8px;
    font-size: 12.5px;
  }
  /* Source order [0,2,1,3]: position 1 top-left, 2 bottom-left,
     3 top-right, 4 bottom-right. */
  .lamilka-detail__features > span:nth-child(1) { order: 1 !important; }
  .lamilka-detail__features > span:nth-child(2) { order: 3 !important; }
  .lamilka-detail__features > span:nth-child(3) { order: 2 !important; }
  .lamilka-detail__features > span:nth-child(4) { order: 4 !important; }
  .lamilka-detail__features > span {
    border: 0 !important;
    padding: 6px 8px;
  }
  .lamilka-detail__features > span:nth-child(1),
  .lamilka-detail__features > span:nth-child(3) { border-bottom: 1px solid #e2e8f0 !important; }
  .lamilka-detail__features > span:nth-child(1),
  .lamilka-detail__features > span:nth-child(2) { border-right: 1px solid #e2e8f0 !important; }

  .lamilka-detail__pills { gap: 7px; }
  .lamilka-detail__pills > span {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 11.5px;
  }

  .lamilka-detail__booking-availability { display: grid; }
  .lamilka-detail__pickup {
    max-width: 100%;
    font-size: 11px;
  }
  .lamilka-detail__counter {
    grid-template-columns: minmax(0, 1fr) 40px 40px 40px;
    min-height: 62px;
  }
  .lamilka-detail__counter button,
  .lamilka-detail__counter output { height: 40px; }

  .lamilka-detail__mobile-booking-bar > div {
    align-items: center;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    max-width: 480px;
    padding: 10px 14px;
  }
  .lamilka-detail__mobile-booking-bar > div > a.lamilka-detail__mobile-whatsapp {
    align-items: center;
    display: flex;
    flex: 0 0 58px;
    height: 58px;
    justify-content: center;
    min-width: 58px;
    width: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 12px rgb(0 0 0 / 18%);
    text-decoration: none;
  }
  .lamilka-detail__mobile-booking-bar > div > a.lamilka-detail__mobile-whatsapp svg {
    fill: none !important;
    height: 30px;
    width: 30px;
  }
  .lamilka-detail__mobile-booking-cta {
    min-height: 58px;
    width: 100%;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 17px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .lamilka-detail__prices { justify-content: flex-start; }
  .lamilka-detail__features {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(44px, auto));
  }
  .lamilka-detail__features > span:nth-child(1) { order: 1 !important; }
  .lamilka-detail__features > span:nth-child(2) { order: 3 !important; }
  .lamilka-detail__features > span:nth-child(3) { order: 2 !important; }
  .lamilka-detail__features > span:nth-child(4) { order: 4 !important; }
  .lamilka-detail__features > span { border: 0 !important; }
}

/* 0.4.41 — Global tour-hotel search with region mismatch guidance. */
.lamilka-detail__hotel-mismatch {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}
.lamilka-detail__hotel-mismatch[hidden] { display: none !important; }
.lamilka-detail__hotel-mismatch p { margin: 0; color: inherit; font: inherit; }
.lamilka-detail__hotel-mismatch-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 2px;
}
.lamilka-detail__hotel-mismatch a {
  color: #1d9e75;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lamilka-detail__hotel-mismatch-actions > span { color: #9ca3af; }
.lamilka-detail__booking [data-booking-next="2"][disabled] {
  border: 1px solid rgb(29 158 117 / 30%);
  background: rgb(29 158 117 / 10%);
  color: #1d9e75;
  cursor: not-allowed;
  opacity: .9;
}
