/* hlidac.css — Hlídač cen (FÁZE 2) */

/* Header */
.hc-header {
  text-align: center;
  padding: 56px 20px 28px;
  max-width: 720px;
  margin: 0 auto;
}
.hc-header-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); background: var(--green-light); border: 1px solid var(--green-border);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hc-header h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; margin: 0 0 14px; text-align: center; }
.hc-header p { color: var(--text-2); font-size: 1.02rem; line-height: 1.6; margin: 0 auto; max-width: 600px; text-align: center; }

/* Toolbar (search + filter) */
.hc-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 0 0 20px;
}
.hc-search {
  flex: 1; min-width: 220px;
  padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface2); color: var(--text);
  font-size: .92rem; font-family: inherit;
}
.hc-search:focus { outline: none; border-color: var(--green); }
.hc-count { font-size: .82rem; color: var(--text-2); white-space: nowrap; }

/* Deal grid */
.hc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px;
}
.hc-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
  overflow: hidden; transition: transform .15s ease, box-shadow .15s ease;
}
.hc-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.hc-card-img {
  height: 150px; background: #fff; display: flex; align-items: center; justify-content: center;
  padding: 12px; position: relative;
}
.hc-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hc-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--green); color: #fff; font-size: .74rem; font-weight: 800;
  padding: 3px 8px; border-radius: 999px;
}
.hc-badge.oos { background: #9a9a9a; }
.hc-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.hc-card-brand { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); margin-bottom: 3px; }
.hc-card-title { font-size: .88rem; font-weight: 600; line-height: 1.3; color: var(--text); margin: 0 0 10px; flex: 1; }
.hc-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.hc-price-now { font-size: 1.25rem; font-weight: 800; color: var(--green); }
.hc-price-old { font-size: .85rem; color: var(--text-2); text-decoration: line-through; }
.hc-card-actions { display: flex; gap: 8px; }
.hc-watch-btn {
  flex: 1; padding: 9px 10px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--green-border); background: var(--green-light); color: var(--green);
  font-size: .82rem; font-weight: 700; font-family: inherit; transition: all .12s ease;
}
.hc-watch-btn:hover { background: var(--green); color: #fff; }
.hc-watch-btn.active { background: var(--green); color: #fff; }
.hc-buy-btn {
  padding: 9px 12px; border-radius: 10px; text-decoration: none;
  border: 1px solid var(--border); color: var(--text-2); font-size: .82rem; font-weight: 700;
  display: inline-flex; align-items: center;
}
.hc-buy-btn:hover { border-color: var(--green); color: var(--green); }

/* Watch bar — skrytá dokud nic nevybráno, pak plná lišta dole (žádná průhlednost) */
.hc-watchbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 13px 20px;
  border-top: 1px solid var(--green-border);
  background: var(--surface);
  box-shadow: 0 -6px 28px rgba(0,0,0,.16);
}
.hc-watchbar.show { display: block; }
.hc-watchbar-inner { max-width: 820px; margin: 0 auto; }
.hc-watch-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hc-watchbar-label { font-size: .92rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.hc-watch-form input {
  flex: 1; min-width: 180px; padding: 11px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface2); color: var(--text);
  font-size: .92rem; font-family: inherit;
}
.hc-watch-form input:focus { outline: none; border-color: var(--green); }
.hc-watch-submit {
  padding: 11px 22px; border-radius: 12px; border: none; cursor: pointer;
  background: var(--green); color: #fff; font-weight: 800; font-size: .92rem; font-family: inherit;
  white-space: nowrap;
}
.hc-watch-submit:disabled { opacity: .5; cursor: not-allowed; }
.hc-watch-msg { margin-top: 8px; font-size: .84rem; font-weight: 600; }
.hc-watch-msg.ok { color: var(--green); }
.hc-watch-msg.err { color: #c0392b; }
.hc-selected-count { font-weight: 800; color: var(--green); }

/* Cross-promo karta + tlačítko */
.hc-crosspromo {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 22px 24px; border-radius: 16px;
  background: var(--green-light); border: 1px solid var(--green-border);
}
.hc-crosspromo-icon { font-size: 2.2rem; line-height: 1; }
.hc-crosspromo-text { flex: 1; min-width: 200px; }
.hc-crosspromo-text h3 { margin: 0 0 4px; font-size: 1.1rem; color: var(--text); }
.hc-crosspromo-text p { margin: 0; font-size: .9rem; color: var(--text-2); line-height: 1.55; }
.hc-cta-btn {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 13px 24px; border-radius: 12px; text-decoration: none;
  background: var(--green); color: #fff; font-weight: 800; font-size: .95rem;
  transition: transform .12s ease, box-shadow .12s ease;
}
.hc-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,82,53,.3); }

.hc-empty { text-align: center; padding: 40px 20px; color: var(--text-2); }
.hc-skeleton { height: 320px; border-radius: 16px; background: var(--surface2); animation: hcpulse 1.3s ease-in-out infinite; }
@keyframes hcpulse { 0%,100%{opacity:.5} 50%{opacity:.85} }
