/* Temporary overrides until next Vite build on devel (public/build is root-owned). */
.lw-program-card {
  padding: 1.85rem 0.7rem 0.9rem;
}

/* Redmine #16832: pevné/mobilné siete → Material Symbols with native title hover */
.offer-net-icon {
  display: inline-block;
  vertical-align: -0.2em;
  font-size: 1.6em;
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  color: #555;
  user-select: none;
}

/* Promo: inspired by the black block, VIPTel soft-red (not solid black). */
.lw-program-card .promo-price {
  background: #f8e9ea;
  border: 1px solid #efc5c8;
  color: #333;
  border-radius: 6px;
  padding: 0.7rem 0.75rem 0.8rem;
  text-align: center;
  line-height: 1.25;
}

.lw-program-card .promo-price__was {
  margin: 0;
  color: #888;
  font-size: 0.85rem;
  text-decoration: line-through;
}

.lw-program-card .promo-price__now {
  margin: 0.15rem 0 0;
  color: #f8111a;
  font-size: 0.95rem;
}

.lw-program-card .promo-price__now strong {
  font-size: 1.85rem;
  font-weight: 700;
}

.lw-program-card .promo-price__period,
.lw-program-card .promo-price__after {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #555;
}

/* Keep price separator aligned across cards (promo vs plain price). */
.lw-program-card .lw-program-price {
  margin-top: auto;
  border-top: 1px solid #dbdbdb;
  padding-top: 1rem;
  min-height: 7.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lw-numbers-split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .lw-numbers-split {
    grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.45fr);
    align-items: start;
  }

  .lw-numbers-options {
    border-left: 1px solid #dbdbdb;
    padding-left: 1.25rem;
  }
}

.lw-program-card .badge {
  top: 22px;
  left: -48px;
  width: 175px;
  padding: 5px 0;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

/* Site header — match viptel.cz / test.viptel.sk (logo + motto under, woman/man hotline) */
.vt-site-header {
  min-height: 110px;
  align-items: flex-end !important;
}
.vt-site-brand {
  flex: 0 0 auto;
  max-width: 280px; /* mother's ~col-md-3 */
}
.vt-site-logo-link {
  position: relative;
  display: block;
  min-height: 77px;
  width: 150px;
}
.vt-site-logo {
  position: absolute;
  top: -36px; /* same as .viptel-logo on mother */
  left: -7px;
  width: 150px;
  height: auto;
}
.vt-site-motto {
  color: #777;
  font-size: 0.95em;
  font-style: italic;
  /* under logo, indented like mother's col-md-offset-3 / col-md-9 */
  margin: 0 0 0.35rem 2.5rem;
  white-space: nowrap;
  line-height: 1.2;
}
.vt-site-motto em {
  font-style: italic;
}
.vt-site-hotline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0.5rem 0 0.35rem;
  flex-shrink: 0;
}
.vt-site-hotline__icons {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  padding-top: 2px;
}
.vt-site-hotline__icons img {
  display: block;
  width: 34px;
  height: 33px;
}
.vt-site-hotline__text {
  line-height: 1.25;
  min-width: 11rem;
}
.vt-site-hotline__label {
  margin: 0;
  color: #000; /* mother .customer-hotline p — not red */
  font-size: 0.92em;
}
.vt-site-hotline__number {
  margin: 0 0 0.2rem;
  font-size: 0.95em;
  font-weight: 700;
  color: #000;
}
.vt-site-hotline__number a {
  color: inherit;
  text-decoration: none;
}

/* Soft confirm dialogs (IČO / address) — plain CSS; Vite build is root-owned on devel */
.lw-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.55);
}
.lw-modal--hidden {
  display: none !important;
}
.lw-modal__card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.lw-modal__head {
  padding: 1.15rem 1.25rem 1rem;
  border-top: 4px solid #f8111a;
  background: linear-gradient(#fff, #fafafa);
}
.lw-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}
.lw-modal__intro {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.75rem;
  background: #f8e9ea;
  border: 1px solid #efc5c8;
  border-radius: 4px;
  color: #6a1a20;
  font-size: 0.9rem;
  line-height: 1.45;
}
.lw-modal__compare {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #f7f7f7;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}
.lw-modal__compare--ico {
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}
.lw-modal__compare-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.7rem 0.8rem;
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  min-width: 0;
}
.lw-modal__compare-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lw-modal__compare-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
  line-height: 1.3;
}
.lw-modal__compare-value--warn {
  color: #be1325;
}
.lw-modal__compare-vs {
  align-self: center;
  color: #999;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.lw-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1rem 1.25rem 1.2rem;
  background: #fff;
}
.lw-modal__btn {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 4px;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
}
.lw-modal__btn--primary {
  background: #f8111a;
  border-color: #be1325;
  color: #fff;
}
.lw-modal__btn--primary:hover {
  background: #be1325;
}
.lw-modal__btn--ghost {
  background: #fff;
  border-color: #bbbbbb;
  color: #444;
}
.lw-modal__btn--ghost:hover {
  background: #f1f1f1;
}
@media (max-width: 480px) {
  .lw-modal__compare--ico {
    grid-template-columns: 1fr;
  }
  .lw-modal__compare-vs {
    display: none;
  }
  .lw-modal__actions {
    flex-direction: column;
  }
  .lw-modal__btn {
    width: 100%;
    text-align: center;
  }
}

/* TallStack step panels: only completed (past) steps are clickable — no hand on current/future. */
[data-lw-stepper] ul[role="list"] > li {
  cursor: default !important;
  pointer-events: none;
}
[data-lw-stepper] ul[role="list"] > li:has(.bg-green-600) {
  cursor: pointer !important;
  pointer-events: auto;
}

/* Thanks page — soft gray card like legacy Joomla .new-article */
.thanks {
  background: #f1f1f1;
  border: 1px solid #dbdbdb;
  border-radius: 5px;
  padding: 1.75rem 2rem;
}
.thanks > *:first-child {
  margin-top: 0;
}
.thanks > *:last-child {
  margin-bottom: 0;
}
