/* MeteoLab SK — 🏖️ Dovolenková predpoveď */

.hol-body { display: block; overflow-y: auto; overflow-x: hidden; height: auto; min-height: 100dvh; }

/* ---------- Hero ---------- */
.hol-hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(245, 158, 11, .25), transparent 60%),
    radial-gradient(900px 420px at 10% 0%, rgba(47, 182, 232, .30), transparent 60%),
    linear-gradient(180deg, var(--card) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 12px clamp(14px, 4vw, 40px) clamp(22px, 4vw, 36px);
}
.hol-top { display: flex; align-items: center; gap: 10px; }
.hol-top .back-link {
  font-family: var(--font-display); font-size: .76rem; font-weight: 600;
  color: var(--azure); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px;
  background: var(--card); white-space: nowrap;
}
.hol-top .spacer { flex: 1; }

.hol-intro { text-align: center; margin: clamp(10px, 3vw, 24px) auto clamp(14px, 3vw, 22px); max-width: 640px; }
.hol-intro h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 5.5vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05;
}
.hol-intro h1 em { font-style: normal; background: linear-gradient(90deg, var(--azure), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hol-intro p { font-size: clamp(.8rem, 2.6vw, .95rem); color: var(--ink-soft); margin-top: 8px; }

/* ---------- Formulár ---------- */
.hol-form { max-width: 720px; margin: 0 auto; }
.hol-dest > span, .hol-dates label > span {
  display: block; font-family: var(--font-display); font-size: .68rem; font-weight: 700;
  color: var(--ink-soft); margin: 0 0 5px 4px; text-transform: uppercase; letter-spacing: .04em;
}
.hol-dest .search-wrap { flex: 1 1 auto; min-width: 0; width: 100%; }
.hol-dest input[type="search"] { min-height: 48px; font-size: 16px; }

.hol-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 16px; justify-content: center; }
.hol-chip {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px;
  background: var(--card); color: var(--ink); cursor: pointer; touch-action: manipulation;
  transition: transform .12s, border-color .12s;
}
.hol-chip:hover { border-color: var(--azure); transform: translateY(-1px); }
.hol-chip.is-sel { background: var(--azure); border-color: var(--azure); color: #fff; }

.hol-dates { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.hol-dates label { flex: 1 1 130px; min-width: 130px; }
.hol-dates input[type="date"] {
  width: 100%; min-height: 48px; font-family: var(--font-body); font-size: 16px;
  color: var(--ink); background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; box-sizing: border-box;
}
.hol-go {
  flex: 1 1 100%;
  font-family: var(--font-display); font-size: .92rem; font-weight: 700;
  border: 0; border-radius: 14px; padding: 14px 20px; min-height: 50px;
  background: linear-gradient(90deg, var(--azure), var(--cyan));
  color: #fff; cursor: pointer; touch-action: manipulation;
  box-shadow: 0 6px 20px rgba(20, 103, 200, .35);
  transition: transform .12s, box-shadow .12s;
}
.hol-go:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(20, 103, 200, .45); }
.hol-go:active { transform: translateY(0); }
@media (min-width: 560px) { .hol-dates .hol-go { flex: 0 0 auto; } }
.hol-picked { font-size: .78rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.hol-picked b { color: var(--ink); }

/* ---------- Výsledok ---------- */
.hol-main { max-width: 980px; margin: 0 auto; padding: clamp(14px, 3vw, 26px) clamp(12px, 3vw, 24px) 44px; }
.hol-h { font-family: var(--font-display); font-size: clamp(.95rem, 3vw, 1.1rem); font-weight: 700; margin: 18px 0 10px; }

.hol-summary {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, var(--card) 0%, var(--paper) 100%);
  box-shadow: var(--shadow);
}
.hol-sum-top {
  display: flex; align-items: center; gap: clamp(10px, 3vw, 18px);
  padding: clamp(14px, 3.5vw, 22px);
  flex-wrap: wrap;
}
.hol-sum-emoji { font-size: clamp(2.6rem, 9vw, 4rem); line-height: 1; }
.hol-sum-txt { flex: 1 1 220px; min-width: 0; }
.hol-sum-txt h2 { font-family: var(--font-display); font-size: clamp(1.1rem, 4vw, 1.5rem); letter-spacing: -.02em; }
.hol-sum-txt .dates { font-size: .76rem; color: var(--ink-soft); margin-top: 2px; }
.hol-sum-txt .verdict { font-size: clamp(.8rem, 2.6vw, .92rem); margin-top: 8px; line-height: 1.5; }
.hol-index {
  flex: 0 0 auto; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 16px;
}
.hol-index b { font-family: var(--font-display); font-size: clamp(1.4rem, 5vw, 1.9rem); display: block; line-height: 1.1; }
.hol-index span { font-size: .6rem; color: var(--ink-soft); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hol-sum-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  border-top: 1px solid var(--line);
}
.hol-stat { padding: 12px 10px; text-align: center; border-right: 1px solid var(--line); }
.hol-stat:last-child { border-right: 0; }
.hol-stat b { font-family: var(--font-display); font-size: clamp(.95rem, 3vw, 1.15rem); display: block; }
.hol-stat span { font-size: .62rem; color: var(--ink-soft); }

/* deň po dni: na mobile horizontálny scroll so snapom, na desktope mriežka */
.hol-days {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.hol-day {
  flex: 0 0 128px; scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  padding: 11px 10px; text-align: center; position: relative; overflow: hidden;
}
.hol-day::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--line); }
.hol-day.idx-hi::before { background: linear-gradient(90deg, #66bb6a, #2fb6e8); }
.hol-day.idx-mid::before { background: linear-gradient(90deg, #f0c541, #f59e0b); }
.hol-day.idx-lo::before { background: linear-gradient(90deg, #ff7043, #8a63d2); }
.hol-day .dow { font-family: var(--font-display); font-size: .64rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; }
.hol-day .dt { font-size: .62rem; color: var(--ink-soft); }
.hol-day .ico { font-size: 1.7rem; margin: 6px 0 4px; }
.hol-day .tmax { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.hol-day .tmin { font-size: .72rem; color: var(--ink-soft); }
.hol-day .rain { font-size: .64rem; margin-top: 5px; color: var(--ink-soft); }
.hol-day .hidx { font-size: .62rem; margin-top: 5px; font-family: var(--font-display); font-weight: 700; }
@media (min-width: 860px) {
  .hol-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); overflow: visible; }
  .hol-day { flex: none; }
}

.hol-grid2 { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
@media (min-width: 700px) { .hol-grid2 { grid-template-columns: 1fr 1fr; } }
.hol-card {
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  padding: 14px 16px;
}
.hol-card h3 { font-family: var(--font-display); font-size: .9rem; margin-bottom: 8px; }
.hol-card ul { list-style: none; }
.hol-card li { font-size: .78rem; padding: 5px 0; line-height: 1.45; }
.hol-card p { font-size: .78rem; color: var(--ink-soft); line-height: 1.55; }
.hol-card .sea {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
}

.hol-src { font-size: .62rem; color: var(--ink-soft); margin-top: 16px; line-height: 1.55; }
.hol-src a { color: var(--azure); }
.hol-share { text-align: center; margin-top: 14px; }
.hol-share .hol-go { flex: none; width: auto; }

.hol-loading { text-align: center; padding: 40px 0; color: var(--ink-soft); font-size: .82rem; }
.hol-loading .spinner { margin: 0 auto 12px; }
.hol-error {
  background: #fdecec; border: 1px solid #f3c0c0; color: #99330a;
  border-radius: 12px; padding: 12px 14px; font-size: .8rem; margin: 14px 0;
}
[data-theme="dark"] .hol-error { background: #331a10; border-color: #4a2418; color: #ff9c7a; }

.hol-about { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 6px; }
.hol-about p { font-size: .78rem; color: var(--ink-soft); line-height: 1.6; max-width: 720px; }

/* Rýchle trvanie */
.hol-durs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.hol-durs > span { font-family: var(--font-display); font-size: .66rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.hol-durs button {
  font-family: var(--font-display); font-size: .7rem; font-weight: 600;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px;
  background: var(--card); color: var(--ink); cursor: pointer; touch-action: manipulation;
}
.hol-durs button.is-sel { background: var(--azure); border-color: var(--azure); color: #fff; }
