/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 23 2026 | 21:51:51 */

/* NETLINE — Інтерактивна сторінка тарифів */

.nlx-tariffs {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px 15px 50px;
  color: #292929;
  font-family: 'Rubik', Arial, sans-serif;
}

.nlx-tariffs *,
.nlx-modal *,
.nlx-tariffs *::before,
.nlx-tariffs *::after {
  box-sizing: border-box;
}

.nlx-group[hidden],
.nlx-modal[hidden] {
  display: none !important;
}

/* Заголовок */

.nlx-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.nlx-heading {
  flex: 1;
  min-width: 0;
}

.nlx-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #F47525;
}

.nlx-tariffs .nlx-heading h2 {
  margin: 0 0 12px !important;
  color: #252525 !important;
  font-family: 'Russo One', sans-serif !important;
  font-size: 28px !important;
  line-height: 1.3;
  font-weight: 400;
  text-transform: none !important;
}

.nlx-tariffs .nlx-heading p {
  margin: 0 !important;
  color: #777;
  font-size: 15px !important;
  line-height: 1.7;
}

/* Вибір населеного пункту */

.nlx-selector {
  flex: 0 1 320px;
  min-width: 220px;
}

.nlx-selector label {
  display: block;
  color: #333;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.nlx-tariffs .nlx-town-select {
  display: block;
  width: 100%;
  height: 50px;
  margin: 9px 0 0 !important;
  padding: 0 16px !important;
  background: #fff !important;
  border: 1px solid #dedede !important;
  border-radius: 8px !important;
  color: #292929 !important;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 15px !important;
  cursor: pointer;
}

/* Обраний населений пункт */

.nlx-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 17px 20px;
  background: #fff8f2;
  border: 1px solid #f5dfcd;
  border-radius: 10px;
}

.nlx-tariffs .nlx-place-name {
  margin: 0 !important;
  color: #292929 !important;
  font-family: 'Rubik', Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 700;
}

.nlx-date {
  color: #ac5718;
  font-size: 13px;
  font-weight: 600;
}

/* Картки тарифів */

.nlx-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.nlx-tariffs .nlx-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.nlx-card-label {
  color: #999;
  font-size: 12px;
  margin-bottom: 17px;
}

.nlx-tariffs .nlx-card h4 {
  margin: 0 0 22px !important;
  color: #292929 !important;
  font-family: 'Rubik', Arial, sans-serif !important;
  font-weight: 600;
  font-size: 17px !important;
  line-height: 1.4;
  text-transform: none !important;
}

.nlx-speed {
  color: #292929;
  font-family: 'Russo One', sans-serif;
  font-size: 39px;
  line-height: 1.2;
}

.nlx-speed small {
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #777;
}

.nlx-tariffs .nlx-speed-caption {
  margin: 8px 0 24px !important;
  font-size: 13px !important;
  color: #888;
}

.nlx-price {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #eee;
  color: #FF7700;
  font-size: 26px;
  font-weight: 700;
}

.nlx-price small {
  font-size: 13px;
  color: #888;
  font-weight: 400;
}

/* Кнопка */

.nlx-tariffs .nlx-order {
  width: 100%;
  min-height: 46px;
  margin-top: 20px;
  padding: 12px 16px !important;
  background: #FF8000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.nlx-tariffs .nlx-order:hover {
  background: #e66c00 !important;
  color: #fff !important;
}

.nlx-tariffs .nlx-card:hover {
  border-color: #ffd3b4;
  box-shadow: 0 7px 18px rgba(0,0,0,.05);
  transform: translateY(-3px);
}

/* Умови підключення */

.nlx-conditions {
  margin-top: 25px;
  padding: 22px 24px;
  background: #fff8f2;
  border: 1px solid #f5dfcd;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.nlx-conditions strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.nlx-tariffs .nlx-conditions p {
  margin: 0 0 12px !important;
  color: #555;
  font-size: 14px !important;
  line-height: 1.7;
}

.nlx-conditions ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #666;
}

.nlx-conditions li {
  margin-bottom: 6px;
}

/* Pop-up */

.nlx-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: 'Rubik', Arial, sans-serif;
}

.nlx-modal-shade {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
}

.nlx-modal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 35px 30px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  outline: none;
}

.nlx-modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 35px;
  height: 35px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50%;
  background: #f2f2f2 !important;
  color: #333 !important;
  font-size: 25px;
  cursor: pointer;
}

.nlx-modal-kicker {
  color: #ff7700;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

.nlx-modal .nlx-modal-panel h3 {
  margin: 15px 25px 15px 0 !important;
  color: #252525 !important;
  font-family: 'Russo One', sans-serif !important;
  font-size: 23px !important;
  font-weight: 400;
}

.nlx-modal .nlx-modal-panel p {
  margin: 0 0 20px !important;
  font-size: 14px !important;
  line-height: 1.7;
  color: #666;
}

.nlx-modal .nlx-modal-selected {
  padding: 12px;
  background: #fff5e9;
  border-radius: 8px;
  color: #333 !important;
  font-weight: 600;
}

.nlx-modal-phones,
.nlx-modal-socials {
  display: grid;
  gap: 10px;
  margin: 15px 0;
}

.nlx-modal-phones {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nlx-modal-socials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nlx-modal .nlx-modal-phones a,
.nlx-modal .nlx-modal-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px !important;
  border-radius: 8px;
  text-align: center;
  text-decoration: none !important;
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
}

.nlx-modal .nlx-modal-phones a {
  background: #FF8000 !important;
  color: #fff !important;
}

.nlx-modal .nlx-modal-socials a {
  background: #fff !important;
  border: 1px solid #ddd;
  color: #333 !important;
}

.nlx-modal .nlx-modal-hint {
  margin-top: 17px !important;
  font-size: 12px !important;
  text-align: center;
}

body.nlx-modal-open {
  overflow: hidden !important;
}

/* Адаптивність */

@media (max-width: 1000px) {
  .nlx-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nlx-header {
    flex-direction: column;
    align-items: stretch;
  }

  .nlx-selector {
    flex: none;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 550px) {
  .nlx-tariffs {
    padding: 25px 10px 35px;
  }

  .nlx-tariffs .nlx-heading h2 {
    font-size: 23px !important;
  }

  .nlx-cards {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .nlx-tariffs .nlx-card {
    padding: 22px 20px;
  }

  .nlx-speed {
    font-size: 36px;
  }

  .nlx-group-heading,
  .nlx-conditions {
    padding: 17px;
  }

  .nlx-modal-panel {
    padding: 28px 20px;
  }

  .nlx-modal-phones,
  .nlx-modal-socials {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nlx-card {
    transition: none !important;
    transform: none !important;
  }
}
