/* ==========================================================================
   Wishlist — старое поведение (без изменений)
   ========================================================================== */

#wishlist .rating {
  display: none;
}

#wishlist .removeFromWishlist {
  background: url(images/delete.png) 0 0 no-repeat transparent;
  display: block !important;
  height: 18px;
  width: 18px;
  z-index: 21;
}

#wishlist .removeFromWishlist:hover {
  background-position: -18px 0;
}

#wishlist .removeFromWishlist:active {
  background-position: -36px 0;
}

#wishlist #catalogTableList .column.out {
  display: table-cell;
  width: 1px;
}

#wishlist #catalogTableList .removeFromWishlist,
#wishlist #catalogLineList .removeFromWishlist {
  right: auto !important;
  left: 24px !important;
  top: 34px !important;
}

#wishlist .removeFromWishlist.loading {
  background: url(images/deleteLoader.gif) 0 0 no-repeat transparent !important;
}

#wishlist #catalogLineList .markerContainer {
  display: none;
}

#wishlist #catalogLineList .rating {
  display: block;
}

#wishlist .itemRow {
  position: relative;
}

#wishlist .prop a {
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #000000;
}

@media all and (max-width: 700px) {
  #wishlist .productColText {
    padding-right: 14px;
  }
}


/* ==========================================================================
   Wishlist — старое поведение (без изменений)
   ========================================================================== */

#wishlist .rating {
  display: none;
}

#wishlist .removeFromWishlist {
  background: url(images/delete.png) 0 0 no-repeat transparent;
  display: block !important;
  height: 18px;
  width: 18px;
  z-index: 21;
}

#wishlist .removeFromWishlist:hover {
  background-position: -18px 0;
}

#wishlist .removeFromWishlist:active {
  background-position: -36px 0;
}

#wishlist #catalogTableList .column.out {
  display: table-cell;
  width: 1px;
}

#wishlist #catalogTableList .removeFromWishlist,
#wishlist #catalogLineList .removeFromWishlist {
  right: auto !important;
  left: 24px !important;
  top: 34px !important;
}

#wishlist .removeFromWishlist.loading {
  background: url(images/deleteLoader.gif) 0 0 no-repeat transparent !important;
}

#wishlist #catalogLineList .markerContainer {
  display: none;
}

#wishlist #catalogLineList .rating {
  display: block;
}

#wishlist .itemRow {
  position: relative;
}

#wishlist .prop a {
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #000000;
}

@media all and (max-width: 700px) {
  #wishlist .productColText {
    padding-right: 14px;
  }
}


/* ==========================================================================
   Wishlist send — новый дизайн (единый стиль формы подписки)
   ========================================================================== */

/* ---------- Контейнер ---------- */
.wishlist-send-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1373px;
  padding: 40px 48px;
  margin: 30px auto 0;                 /* ← отступ сверху 30px */
  background: linear-gradient(281.5deg, #FAFCFF 0.18%, #EEF0F5 100%);
  border-radius: 20px;
  font-family: 'Inter', Arial, sans-serif;
  color: #3E4653;
  font-size: 15px;
  line-height: 1.45;
}

/* ---------- Двухколоночный layout ---------- */
.wishlist-send-wrap > .tb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.wishlist-send-wrap > .tb > .tc {
  flex: 1 1 0;
  min-width: 0;
}

.wishlist-send-text {
  max-width: 560px;
}

.wishlist-send-btn-wrap {
  display: flex;
  justify-content: flex-end;
  max-width: 520px;
}

/* ---------- Левая часть: картинка + текст ---------- */
.wishlist-send-text > .tb {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wishlist-send-text .tc.image {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #EDF1F8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-send-text .tc.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wishlist-send-heading {
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #3E4653;
  margin-bottom: 6px;
}

.wishlist-send-text .text {
  font-size: 14px;
  line-height: 20px;
  color: #6b7484;
}

/* ---------- Правая часть: форма ---------- */
.wishlist-send-btn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Строка «инпут + кнопка» */
.wishlist-send-row {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  width: 100%;
}

/* Инпут */
#wishlist-form-email {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 14px 8px;
  font-size: 15px;
  color: #3E4653;
  background: #fff;
  border: 1px solid #BBC7D8;
  border-radius: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}

#wishlist-form-email:focus {
  border-color: #3E4653;
  box-shadow: 0 0 0 3px rgba(62, 70, 83, .1);
}

#wishlist-form-email::placeholder {
  color: #8a94a3;
}

/* Кнопка */
.wishlist-btn.btn-simple.btn-black.btn-small,
#wishlist-form-send {
  flex: 0 0 auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 15px;
  background: #3E4653;
  border-radius: 10px;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.wishlist-btn.btn-simple.btn-black.btn-small:hover,
#wishlist-form-send:hover {
  background: #4c5564;
  color: #fff;
  text-decoration: none;
}

.wishlist-btn.btn-simple.btn-black.btn-small:active,
#wishlist-form-send:active {
  transform: scale(.98);
}

/* ---------- Обёртка согласий ---------- */
.wishlist-send-consents:empty {
  display: none;
}

.wishlist-send-consents > .soglasie-container > .dlv-consents {
  margin-top: 4px;
}

/* ==========================================================================
   Согласия и модальное окно документа
   (на случай, если renderConsentsStyles() не внедрил — но лучше, чтобы внедрял)
   ========================================================================== */

.wishlist-send-consents .dlv-personalInfo {
  margin: 4px 0 14px;
  position: relative;
  z-index: 1;
}

.wishlist-send-consents .dlv-personalInfo__error {
  color: #e04242;
  font-size: 12px;
  margin-bottom: 4px;
  display: none;
}

.wishlist-send-consents .dlv-personalInfo__error.is-visible {
  display: block;
}

.wishlist-send-consents .dlv-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7484;
  margin: 0;
}

.wishlist-send-consents .dlv-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.wishlist-send-consents .dlv-checkbox__box {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #BBC7D8;
  border-radius: 5px;
  background: #fff;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color .2s;
}

.wishlist-send-consents .dlv-checkbox__box::after {
  content: "";
  width: 12px;
  height: 12px;
  background: #3E4653;
  border-radius: 2px;
  transform: scale(0);
  transition: transform .15s ease;
}

.wishlist-send-consents .dlv-checkbox:hover .dlv-checkbox__box {
  border-color: #3E4653;
}

.wishlist-send-consents .dlv-checkbox input:checked + .dlv-checkbox__box {
  border-color: #3E4653;
}

.wishlist-send-consents .dlv-checkbox input:checked + .dlv-checkbox__box::after {
  transform: scale(1);
}

.wishlist-send-consents .dlv-checkbox__text {
  display: inline;
}

.wishlist-send-consents .dlv-checkbox__text a {
  color: #3E4653;
  text-decoration: underline;
}

.wishlist-send-consents .dlv-checkbox__text a:hover {
  text-decoration: none;
}

.wishlist-send-consents .dlv-checkbox--personal,
.wishlist-send-consents .dlv-checkbox--newsletter {
  margin-bottom: 0;
}

.wishlist-send-consents .dlv-checkbox--newsletter {
  margin-bottom: 14px;
}

.wishlist-send-consents .dlv-checkbox--personal .dlv-checkbox__box {
  margin-top: 1px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .wishlist-send-wrap {
    padding: 32px 24px;
  }
  .wishlist-send-wrap > .tb {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .wishlist-send-text,
  .wishlist-send-btn-wrap {
    max-width: 100%;
  }
  .wishlist-send-btn-wrap {
    justify-content: stretch;
  }
}

@media (max-width: 520px) {
  .wishlist-send-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .wishlist-btn.btn-simple.btn-black.btn-small,
  #wishlist-form-send {
    width: 100%;
  }
}
.is-open .fb-success {
  margin-bottom:30px;
}