/* ===== OFFERS BLOCK ===== */
.network-offers {
  width: 100%;
  max-width: 360px;
}

/* оффер и заглушка */
.offer-row,
.offer-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px solid #e6e6e6;
}

.offer-row:last-child,
.offer-placeholder:last-child {
  border-bottom: none;
}

/* изображения */
.offer-img,
.ph-img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
}

.ph-img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: #f0f0f0;
  color: #333;
}

.offer-main,
.ph-main {
  flex: 1;
}

.offer-title,
.ph-title {
  font-weight: 600;
  font-size: 14px;
}

.offer-terms,
.ph-sub {
  font-size: 13px;
  color: #777;
}

/* кликабельная заглушка */
.offer-placeholder {
  cursor: pointer;
  transition: background .15s;
}

.offer-placeholder:hover {
  background: #fafafa;
}

/* GEO / vertical */
.offer-geo,
.offer-vertical {
  font-size: 12px;
  color: #666;
  margin-left: 6px;
  white-space: nowrap;
}

/* ===== POPUP ===== */
.offer-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.offer-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.offer-popup__box {
  position: relative;
  max-width: 420px;
  margin: 6vh auto;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  z-index: 2;
}

.offer-popup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 14px;
}

.popup-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* форма */
.offer-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

.offer-form input {
  width: 100%;
  padding: 8px 10px;
  margin-top: 4px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.offer-form__actions {
  margin-top: 14px;
  text-align: right;
}

.offer-form__actions button {
  background: #030303;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
}