/* ===== EVS Bundle Popup (single product) ===== */

.evs_always_open .evs_panel{
  width: 100%;
  margin: 0;
  max-height: none;
  overflow: visible;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.evs_wrap{
  margin: 16px 0;
}

/* Кнопка-триггер, если используешь модалку */
.evs_trigger{
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: #050509;
  font-weight: 900;
  letter-spacing: .05em;
  cursor: pointer;
  color: #f5f5ff;
}

/* Модалка (если вдруг когда-то вернёшь) */
.evs_modal{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.evs_modal.is-open{
  display: block;
}

.evs_backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

/* Основная панель */
.evs_panel{
  position: relative;
  width: min(760px, 92vw);
  margin: 6vh auto;
  background: radial-gradient(circle at top left, rgba(154,26,239,0.22), transparent 55%) #050509;
  border-radius: 12px;
  padding: 16px;
  max-height: 88vh;
  overflow: auto;
  box-shadow: 0 18px 40px rgba(0,0,0,.7);
  /* color: #f7f7ff; */
  color: #9f8ba2;
}

.evs_head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.evs_title{
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 13px;
  background: linear-gradient(90deg, #ff4fd8, #a855f7, #31d8ff);
  -webkit-background-clip: text;
  color: transparent;
}

.evs_close{
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  padding: 6px 10px;
  color: rgba(255,255,255,0.7);
}

/* Offer cards */
.evs_offer{
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0;
  background: rgba(10,10,18,0.96);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .1s ease;
}

.evs_offer:hover{
  border-color: rgba(154,26,239,0.7);
  box-shadow: 0 0 0 1px rgba(154,26,239,0.45);
  transform: translateY(-1px);
}

.evs_offer.is-active{
  border-color: #9a1aef;
  background: linear-gradient(135deg, rgba(154,26,239,0.35), rgba(49,216,255,0.13));
  box-shadow: 0 0 0 1px rgba(154,26,239,0.9);
}

.evs_offer_head{
  display: flex;
  align-items: center;
  gap: 12px;
}

.evs_radio{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
}

.evs_dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: transparent;
  display: none;
}

.evs_offer.is-active .evs_dot{
  display: block;
  background: linear-gradient(135deg, #ff4fd8, #a855f7, #31d8ff);
  box-shadow: 0 0 10px rgba(154,26,239,0.9);
}

.evs_offer_text{
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

/* Select rows */
.evs_variants{
  margin-top: 12px;
  display: none;
}

.evs_offer.is-active .evs_variants{
  display: block;
}

.evs_row{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.evs_num{
  min-width: 32px;
  font-weight: 900;
  color: rgba(255,255,255,0.75);
}

.evs_select{
  width: 100%;
  padding: 10px 12px;
  border: 2px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(5,5,12,0.96);
  font-size: 14px;
  color: #f5f5ff;
  outline: none;
}

.evs_select:focus{
  border-color: #9a1aef;
  box-shadow: 0 0 0 1px rgba(154,26,239,0.7);
}

.evs_select:disabled{
  opacity: .45;
  cursor: not-allowed;
}

/* Add row (+) button */
.evs_row.evs_row_add{
  justify-content: flex-start;
  margin-top: 8px;
}

.evs_row.evs_row_add .evs_num{
  color: rgba(255,255,255,0.55);
}

.evs_add{
  width: 52px !important;
  height: 32px !important;
  border-radius: 999px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff4fd8, #a855f7, #31d8ff) !important;
  box-shadow: 0 6px 14px rgba(0,0,0,0.7) !important;
  transition: transform .1s ease, box-shadow .15s ease, background-position .25s ease !important;
  background-size: 200% 200% !important;
}

.evs_add:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.85);
  background-position: 100% 0;
}

.evs_add:active{
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

/* Action button */
.evs_btn{
  width: 100%;
  margin-top: 12px;
  padding: 18px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4fd8, #a855f7, #31d8ff);
  color: #fff;
  font-weight: 900;
  letter-spacing: .10em;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(0,0,0,0.8);
  transition: transform .1s ease, box-shadow .15s ease, background-position .3s ease;
  background-size: 200% 200%;
}

.evs_btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.9);
  background-position: 100% 0;
}

.evs_btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(0,0,0,0.85);
}

.evs_btn:disabled{
  opacity: .65;
  cursor: not-allowed;
}

/* Message area (later for errors/success) */
.evs_msg{
  margin-top: 10px;
  font-weight: 800;
  color: #ffb4d4;
}
