/* ==========================================================================
Wireless Home — fixed layout for 1080×1920 vertical display
NO responsive breakpoints, NO scroll, FULLSCREEN FIT
=========================================================================== */

#popup-wireless-home {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden; /* блокируем прокрутку */
}

#popup-wireless-home.active {
  display: flex;
}

/* Overlay — затемнение фона */
#popup-wireless-home .wls__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Основной контейнер — фиксированная ширина и высота, вписывается в 1080×1920 */
#popup-wireless-home .wls__frame {
  position: relative;
  max-width: 1080px;
  width: 96%;
  margin: 40px auto;
  border: 3px solid rgba(255, 255, 255, 0.5) !important;
  background: #2a2a2a !important;
  color: var(--wls-text);
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* === Кнопка "Позвоните нам" === */
.wls__callwrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.wls-callbtn {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  background: #ff0000 !important;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 12px 80px;
  font-size: 28px;
  font-weight: 600;
  cursor: pointer;
}

.wls-callbtn:hover {
  background: #cc0000;
}

.wls-callbtn__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* === Заголовок === */
.wls__section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  margin: 6px 0 14px 0;
}

/* === Сетка карточек === */
.wls__grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

/* === Карточка комплекта === */
.wls-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  background: #242424;
  overflow: hidden;
  min-height: 180px;
  box-sizing: border-box;
}

.wls-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.wls-card__thumb {
  flex: 0 0 240px;
  position: relative;
  z-index: 2;
}

.wls-card__thumb img {
  width: 240px;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 0 0 8px;
  border: 3px solid #fff;
  display: block;
}

.wls-card__body {
  display: grid;
  grid-template-columns: 1fr 220px; /* Вернули исходную сетку */
  gap: 12px;
  padding: 16px;
  color: #fff;
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
}

/* Расширение зоны wls-card__title вправо */
.wls-card__title {
  grid-column: span 2; /* Заголовок занимает две колонки */
  text-align: center;   /* Центрирование текста */
  position: absolute;
  margin-bottom: 30px;
}

.wls-card__title {
  font-size: 25px;
  font-weight: 700;
  text-align: center;
  margin: 4px 0 0 0;
  line-height: 38px;
  left: 200px;
  text-align: center; 
}

.wls-card__list {
  list-style: none;
  margin: 0;
  padding: 60px 0 0 0;
  font-size: 21px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 28px;
  font-weight: 300;
  text-align: left;
}

.wls-card__meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Маркеры — плюс и галочка */


.wls-card__list li:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 7px;
  background-image: url('../wireless-home/galka.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* === Цена и кнопки === */
.wls-card__price {
  display: inline-block;
  position: relative;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  padding-bottom: 6px;
  line-height: 1.1;
}

.wls-card__price::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  bottom: 0;
  height: 3px;
  background: #ff0000;
  border-radius: 2px;
}

.wls-card__price span {
  font-size: 14px;
  color: #ffffffcc;
}

.wls-card__note {
  font-size: 14px;
  color: #ffffff;
  opacity: 0.9;
  margin: 0;
  margin-bottom: 10px;
  text-align: center;
}

.wls-card__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.wls-btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: #fff;
  color: #ff0000;
  cursor: pointer;
  font-size: 18px;
  width: 100%;
  font-weight: 500;
}

.wls-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wls-btn--accent {
  background: #ff0000;
  border: none;
  color: #fff;
}

.wls-btn--accent:hover {
  background: #cc0000;
  color: #fff;
}

/* === Преимущества внизу === */
.wls__benefits {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: #ffffff;
  border: 2px solid #ff0000;
  border-radius: 12px;
  padding: 16px 20px;
  gap: 10px;
  color: #000;
}

.wls-benefit {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
}

.wls-benefit__img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.wls-benefit__text {
  font-size: 20px !important;
  color: #000 !important;
  font-weight: 600 !important;
  line-height: 1.3 ;
}

/* === Кнопка закрытия === */
.wls__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 36px;
  color: #fff;
  background: #ff0000;
  cursor: pointer;
  z-index: 3;
}
