/* goEgipt.pl v33, 10.10.2026: katalog Last Minute.
   Tylko .last-minute-page; nie zmienia kart hoteli, wycieczek ani ofert w innych modulach. */

.last-minute-page {
  padding: 18px 0 34px;
  background: #f7f9fb;
  color: #263b4b;
  text-align: left;
}
.last-minute-page > .container { min-width: 0; }

/* Wspolna skala i szerokosc blokow jak w katalogach v30. */
.last-minute-page .lm-v33-panel,
.last-minute-page .last-minute-seo-links {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0 0 14px;
  padding: 20px 24px;
  border: 1px solid #e3e9ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(18, 46, 68, .035);
}
.last-minute-page .last-minute-hero {
  max-width: none;
  margin: 0 0 14px;
  text-align: left;
}
.last-minute-page .last-minute-hero h1 {
  margin: 0 0 9px;
  max-width: none;
  color: #122e44;
  font-family: "Work Sans", sans-serif;
  font-size: clamp(26px, 2.3vw, 33px);
  line-height: 1.2;
  letter-spacing: -.024em;
  font-weight: 600;
  text-align: left;
}
.last-minute-page .last-minute-intro {
  max-width: none;
  margin: 0;
  color: #526778;
  font-size: 15px;
  line-height: 1.68;
  font-weight: 400;
  text-align: left;
}
.last-minute-page .last-minute-intro p { margin: 0 0 8px; }
.last-minute-page .last-minute-intro p:last-child { margin-bottom: 0; }
.last-minute-page .last-minute-updated {
  display: inline-block;
  margin: 12px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f3f7fa;
  color: #607486;
  font-size: 12px;
  line-height: 1.4;
}
.last-minute-page .last-minute-updated strong { color: #23445a; }
.last-minute-page .lm-v33-quicknotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}
.last-minute-page .lm-v33-quicknotes span {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e4eaf0;
  border-radius: 10px;
  background: #f9fbfd;
  color: #576c7b;
  font-size: 12px;
  line-height: 1.5;
}
.last-minute-page .lm-v33-quicknotes strong { color: #ba6312; }

.last-minute-page .lm-v33-panel-head { margin: 0 0 13px; }
.last-minute-page .lm-v33-panel-head h2,
.last-minute-page .last-minute-results-head h2,
.last-minute-page .last-minute-seo-links__head h2 {
  margin: 0;
  padding: 0;
  color: #17384f;
  font-family: "Work Sans", sans-serif;
  font-size: clamp(20px, 1.7vw, 23px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.015em;
  text-transform: none;
  text-align: left;
}
.last-minute-page .lm-v33-panel-head p,
.last-minute-page .last-minute-seo-links__head p {
  margin: 5px 0 0;
  color: #64798a;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.last-minute-page .last-minute-regions {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
}
.last-minute-page .last-minute-regions a,
.last-minute-page .last-minute-regions__active {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
}
.last-minute-page .last-minute-regions a:focus-visible,
.last-minute-page .last-minute-seo-link:focus-visible,
.last-minute-page .last-minute-filter-submit:focus-visible {
  outline: 2px solid #c7650a;
  outline-offset: 3px;
}

/* Karty kierunkow i lotnisk: czytelna siatka zamiast rozsypanych chipow. */
.last-minute-page .last-minute-seo-links { padding-top: 17px; padding-bottom: 17px; }
.last-minute-page .last-minute-seo-links__head {
  display: block;
  margin: 0 0 12px;
}
.last-minute-page .last-minute-seo-links__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 8px;
  overflow: visible;
  padding: 0;
}
.last-minute-page .last-minute-seo-link {
  display: flex;
  justify-content: space-between;
  min-width: 0;
  min-height: 43px;
  padding: 9px 12px;
  border-radius: 9px;
  background: #f9fbfd;
  color: #294b60;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  white-space: normal;
}
.last-minute-page .last-minute-seo-link small {
  flex: 0 0 auto;
  margin-left: 8px;
  font-size: 11px;
  white-space: nowrap;
}

/* Osobny panel filtrow: nie dublujemy ramek wokol formularza. */
.last-minute-page .last-minute-filter-context {
  max-width: none;
  margin: 0 0 12px;
  padding: 10px 13px;
  border: 1px solid #deebf1;
  background: #f5f9fc;
}
.last-minute-page .last-minute-filters,
.last-minute-page .last-minute-filters--departure-landing,
.last-minute-page .last-minute-filters--with-subregion {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 11px;
}
.last-minute-page .last-minute-filter label {
  font-size: 11px;
  color: #607586;
  letter-spacing: .035em;
}
.last-minute-page .last-minute-filter select {
  min-width: 0;
  min-height: 42px;
  background-color: #fbfcfd;
}
.last-minute-page .last-minute-filter-actions { flex-wrap: wrap; }
.last-minute-page .last-minute-filter-submit,
.last-minute-page .last-minute-card__cta {
  min-height: 42px;
  background: #e07819;
  font-size: 13px;
  line-height: 1.2;
}
.last-minute-page .last-minute-filter-submit:hover,
.last-minute-page .last-minute-card__cta:hover {
  background: #ba5c07;
}

/* Wyniki i sortowanie mieszcza sie w tej samej kolumnie co filtry. */
.last-minute-page .last-minute-results-head {
  max-width: none;
  width: 100%;
  margin: 0 0 8px;
  align-items: center;
}
.last-minute-page .last-minute-results-head h2 { font-size: clamp(21px, 1.65vw, 23px); }
.last-minute-page .last-minute-results-head span {
  display: block;
  margin-top: 4px;
  color: #688091;
  font-size: 12px;
}
.last-minute-page .lm-v33-results-hint {
  margin: 0 0 16px;
  color: #617787;
  font-size: 12px;
  line-height: 1.55;
}
.last-minute-page .last-minute-list {
  max-width: none;
  width: 100%;
  gap: 10px;
}
.last-minute-page .last-minute-card {
  grid-template-columns: 205px minmax(0, 1fr) 205px;
  gap: 15px;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(18, 46, 68, .026);
}
.last-minute-page .last-minute-card__media,
.last-minute-page .last-minute-card__media img { min-width: 0; }
.last-minute-page .last-minute-card__body { min-width: 0; padding: 13px 0; }
.last-minute-page .last-minute-card__body h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.27;
  font-weight: 600;
}
.last-minute-page .last-minute-card__details { gap: 5px 14px; font-size: 12.5px; }
.last-minute-page .last-minute-card__offer { padding: 13px; }
.last-minute-page .last-minute-card__price { margin-bottom: 9px; }
.last-minute-page .last-minute-card__price strong { font-size: 22px; }
.last-minute-page .last-minute-pagination {
  max-width: none;
  margin: 17px 0 0;
}

/* Redakcyjny przewodnik pod lista, nie jako tekst swobodnie plywajacy na tle. */
.last-minute-page .last-minute-seo-content {
  margin: 0 0 14px;
  padding: 21px 24px;
  border-top: 1px solid #e3e9ee;
}
.last-minute-page .last-minute-seo-content__body {
  max-width: none;
  color: #506879;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 400;
  overflow-wrap: break-word;
}
.last-minute-page .last-minute-seo-content__body h2 {
  margin: 17px 0 8px;
  padding: 0;
  color: #16384f;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}
.last-minute-page .last-minute-seo-content__body h2:first-child,
.last-minute-page .last-minute-seo-content__body > :first-child { margin-top: 0; }
.last-minute-page .last-minute-seo-content__body h3 {
  margin: 14px 0 7px;
  padding: 0;
  color: #254a62;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}
.last-minute-page .last-minute-seo-content__body p { margin: 0 0 11px; }
.last-minute-page .last-minute-seo-content__body p:last-child { margin-bottom: 0; }
.last-minute-page .last-minute-seo-content__body ul { margin: 0 0 12px; padding-left: 23px; }
.last-minute-page .last-minute-seo-content__body li { margin-bottom: 5px; }
.last-minute-page .last-minute-seo-content__body a { color: #b55b0a; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 991.98px) {
  .last-minute-page .lm-v33-quicknotes { grid-template-columns: 1fr; gap: 6px; }
  .last-minute-page .last-minute-card { grid-template-columns: 170px minmax(0, 1fr); }
  .last-minute-page .last-minute-card__offer { grid-column: 1 / -1; }
  .last-minute-page .last-minute-filters,
  .last-minute-page .last-minute-filters--departure-landing,
  .last-minute-page .last-minute-filters--with-subregion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .last-minute-page { padding: 12px 0 24px; }
  .last-minute-page .lm-v33-panel,
  .last-minute-page .last-minute-seo-links,
  .last-minute-page .last-minute-seo-content {
    margin-bottom: 10px;
    padding: 16px;
    border-radius: 13px;
  }
  .last-minute-page .last-minute-hero h1 { font-size: clamp(24px, 6vw, 28px); }
  .last-minute-page .last-minute-intro { font-size: 14px; line-height: 1.63; }
  .last-minute-page .lm-v33-panel-head h2,
  .last-minute-page .last-minute-seo-links__head h2,
  .last-minute-page .last-minute-results-head h2 { font-size: 20px; }
  .last-minute-page .last-minute-seo-links__items { grid-template-columns: 1fr; }
  .last-minute-page .last-minute-seo-link { min-height: 40px; }
  .last-minute-page .last-minute-filters,
  .last-minute-page .last-minute-filters--departure-landing,
  .last-minute-page .last-minute-filters--with-subregion { grid-template-columns: 1fr; }
  .last-minute-page .last-minute-card { grid-template-columns: 1fr; gap: 0; }
  .last-minute-page .last-minute-card__body { padding: 12px 14px 6px; }
  .last-minute-page .last-minute-card__media,
  .last-minute-page .last-minute-card__media img { max-height: 225px; min-height: 180px; }
  .last-minute-page .last-minute-card__offer { grid-column: auto; padding: 12px 14px 14px; }
  .last-minute-page .last-minute-results-head { align-items: flex-start; gap: 12px; }
  .last-minute-page .last-minute-sort { width: 100%; }
  .last-minute-page .last-minute-seo-content__body { font-size: 14px; }
  .last-minute-page .last-minute-seo-content__body h2 { font-size: 20px; }
}
