/*  Price Drop Alerts (homepage + hotel detail)
 *  Tier badges:  ⚡ mild  🔥 strong  💸 huge
 */

.section--drops {
  background: linear-gradient(180deg, #fffaf6 0%, #fff1e6 100%);
  position: relative;
  overflow: hidden;
}
.section--drops::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 0%, rgba(239, 68, 68, 0.06), transparent 55%);
  pointer-events: none;
}
.section--drops .section__head {
  position: relative;
  z-index: 1;
}
.section--drops .section__title {
  color: #1f2937;
}
.section--drops .section__head--row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
}
.section--drops .section__head-cta {
  align-self: flex-end;
}
.section--drops .section__lead {
  color: #4b3f33;
}
.section--drops-page {
  background: linear-gradient(180deg, #fffaf6, #ffffff);
  padding-top: 3rem;
}
.section--drops-page .section__head {
  text-align: left;
  max-width: 720px;
  margin-bottom: 1.6rem;
}

.drops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.drop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(31, 34, 50, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease;
  text-decoration: none;
  color: inherit;
}
.drop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(31, 34, 50, 0.16);
}
.drop-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  overflow: hidden;
}
.drop-card__media img,
.drop-card__media .lazy-media__inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.drop-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  background: linear-gradient(135deg, #f97316, #ef4444);
  pointer-events: none;
}
.drop-card__badge--mild {
  background: linear-gradient(135deg, #facc15, #f97316);
}
.drop-card__badge--strong {
  background: linear-gradient(135deg, #fb7185, #ef4444);
}
.drop-card__badge--huge {
  background: linear-gradient(135deg, #db2777, #7c3aed);
}
.drop-card__badge-emoji {
  font-size: 1.05em;
  line-height: 1;
}
.drop-card__body {
  padding: 1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 auto;
}
.drop-card__title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: #1f2937;
}
.drop-card__meta {
  font-size: 0.92rem;
  color: #6b7280;
}
.drop-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: #111827;
}
.drop-card__price-from {
  font-weight: 600;
  font-size: 1.05rem;
}
.drop-card__price-old {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 0.9rem;
}
.drop-card__cta {
  margin-top: auto;
  padding-top: 0.7rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #ef4444;
}
.drop-card__cta::after {
  content: " →";
}
.drop-card__count {
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: #9a3412;
}

.drops-empty {
  text-align: center;
  color: #6b7280;
  padding: 2.5rem 1rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(31, 34, 50, 0.05);
}
.drops-empty p + p {
  margin-top: 1rem;
}

/* ---------------------------------------------------------------- *
 * Kompaktný riadkový list (homepage + /zlavy stránka)              *
 * ---------------------------------------------------------------- */
.drops-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
}
.drop-row {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(31, 34, 50, 0.05);
  border: 1px solid rgba(31, 34, 50, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.drop-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(7, 21, 50, 0.1);
  border-color: rgba(7, 21, 50, 0.15);
}
.drop-row__link {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  text-decoration: none;
  color: inherit;
}
/* Monochrome tmavomodrý badge (Ellavia brand). Tier sa odlišuje cez počet ↓ glyfov,
 * nie cez farbu — vizuálne kľudný, prémiový dojem, žiadne kičové gradienty. */
.drop-row__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: #071532;
}
.drop-row__badge--mild,
.drop-row__badge--strong,
.drop-row__badge--huge {
  background: #071532;
}
.drop-row__badge-emoji {
  font-size: 1em;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #ffffff;
  opacity: 0.95;
}
.drop-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.drop-row__title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drop-row__loc {
  font-size: 0.82rem;
  color: #6b7280;
}
.drop-row__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-end;
  max-width: 280px;
}
.drop-row__date {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f4f6fb;
  color: #071532;
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  border: 1px solid rgba(7, 21, 50, 0.06);
}
.drop-row__date--more {
  background: #ffffff;
  color: #6b7280;
}
.drop-row__price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.drop-row__price-suffix {
  font-weight: 400;
  color: #9ca3af;
  font-size: 0.8rem;
  margin-left: 0.15rem;
}
.drop-row__cta {
  font-size: 1.1rem;
  color: #071532;
  font-weight: 700;
  width: 1.6rem;
  text-align: center;
  opacity: 0.55;
  transition: opacity 140ms ease, transform 140ms ease;
}
.drop-row:hover .drop-row__cta {
  opacity: 1;
  transform: translateX(2px);
}
.drops-list--page .drop-row__title {
  font-size: 1.12rem;
}

.drops-list__footer {
  margin-top: 1.4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.drops-tier-legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.6rem;
}
.drops-tier-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.drops-tier-legend__glyph {
  display: inline-block;
  min-width: 2.4em;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #071532;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------------ *
 * Hotel detail — banner + kalendárny highlight                             *
 * ------------------------------------------------------------------------ */

/* Decentný banner NAD kalendárom — biely card s tmavomodrým akcentom vľavo. */
.hotel-drops-banner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.85rem 1rem 0.95rem;
  margin: 0 0 1rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(7, 21, 50, 0.08);
  border-left: 4px solid #071532;
  box-shadow: 0 4px 12px rgba(7, 21, 50, 0.05);
}
.hotel-drops-banner__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hotel-drops-banner__emoji {
  font-size: 1.05rem;
  line-height: 1;
  color: #071532;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.hotel-drops-banner__title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}
.hotel-drops-banner__title {
  font-weight: 700;
  font-size: 0.98rem;
  color: #071532;
}
.hotel-drops-banner__desc {
  font-size: 0.86rem;
  color: #6b7280;
}
.hotel-drops-banner__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.hotel-drops-banner__date {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: #f4f6fb;
  color: #071532;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(7, 21, 50, 0.06);
  transition: background-color 140ms ease, border-color 140ms ease;
}
.hotel-drops-banner__date:hover {
  background: #e8edf7;
  border-color: rgba(7, 21, 50, 0.12);
}
.hotel-drops-banner__date--mild,
.hotel-drops-banner__date--strong,
.hotel-drops-banner__date--huge {
  background: #f4f6fb;
  color: #071532;
}
.hotel-drops-banner__date-day {
  font-variant-numeric: tabular-nums;
}
.hotel-drops-banner__date-pct {
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: #16a34a;
  font-weight: 700;
}

/* Kalendárny highlight v hotel detail kalendári.
 * Žiadny červený outline (mohol by evokovať "nedostupné") — len decentná zelená šípočka
 * poklesu ceny v pravom hornom rohu bunky (rovnaká farba ako finančné "down" indikátory).
 */
.hotel-cal__cell--discounted {
  position: relative;
}
.hotel-cal__cell--discounted::after {
  content: "↓";
  position: absolute;
  top: 1px;
  right: 3px;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  color: #16a34a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
  pointer-events: none;
}
/* Sila zľavy podľa tieru — len intenzita rovnakej zelenej, žiadne ďalšie tvary. */
.hotel-cal__cell--discounted-mild::after {
  color: #65a30d;
  font-size: 0.8rem;
}
.hotel-cal__cell--discounted-strong::after {
  color: #16a34a;
}
.hotel-cal__cell--discounted-huge::after {
  color: #047857;
  font-size: 0.95rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 6px rgba(16, 185, 129, 0.35);
}

@media (max-width: 720px) {
  .drop-row__link {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "badge main price"
      "dates dates dates";
    gap: 0.6rem 0.8rem;
  }
  .drop-row__badge { grid-area: badge; }
  .drop-row__main { grid-area: main; }
  .drop-row__price { grid-area: price; }
  .drop-row__dates {
    grid-area: dates;
    justify-content: flex-start;
    max-width: none;
  }
  .drop-row__cta { display: none; }
}
@media (max-width: 480px) {
  .drop-row__link {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "main badge"
      "dates dates"
      "price price";
    padding: 0.75rem 0.85rem;
  }
  .drop-row__price {
    text-align: left;
    font-size: 0.92rem;
  }
}
