/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 22 2025 | 11:17:52 */
/* =========================
   THWWAC Wishlist: LIST — не даём картинке раздувать строку
========================= */
#thwwac-wishlist .thwwac-resp-table-body .thwwac-content-item-image.thwwc-table-body-cell{
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#thwwac-wishlist .thwwac-resp-table-body .thwwac-content-item-image.thwwc-table-body-cell img.attachment-woocommerce_thumbnail{
  max-height: 80px !important;   /* LIST */
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* =========================
   THWWAC Wishlist: GRID — нормальный размер превью
========================= */
#thwwac-wishlist .thwwac-content-item-image img.attachment-woocommerce_thumbnail{
  max-height: 120px !important;  /* GRID */
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Wishlist — центрируем ADD TO CART в правом столбце */
#thwwac-wishlist .thwwac-content-item-add{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
}

/* Wishlist top buttons — 1 контейнер, 2 кнопки */
.wlist-page-btns{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 20px 0 20px;
}

/* мобила — кнопки друг под другом */
@media (max-width: 767px){
  .wlist-page-btns{
    flex-direction: column;
    align-items: stretch;
  }
}

.wlist-page-btns .wlist-go-back,
.wlist-page-btns .wlist-go-to-cart{
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  background: #f26522;
  color: #fff;
}

/* ===== Wishlist: popup remove — увеличить картинку ===== */
.thwwac-popup img,
.thwwac-confirm-popup img,
.thwwac-remove-popup img{
  max-width: 180px !important;
  max-height: 180px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto 10px;
  display: block;
}

/* ===== Wishlist popup — mobile fix ===== */
@media (max-width: 768px){
  .thwwac-popup,
  .thwwac-confirm-popup,
  .thwwac-remove-popup{
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px 15px;
  }
}

/* Wishlist: убираем пустой WPBakery ряд, который остаётся после переноса кнопок */
body.page-id-6530 .vc_custom_wishlist_btns{
  display: none !important;
}

/* Wishlist: убрать верхний пустой WPBakery row/колонку над #thwwac-wishlist */
body.page-id-6530 .entry-content > .vc_row:first-child{
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Сообщения в вишлист при добавлении в корзину */
#thwwac-wishlist #message .woocommerce-message,
#thwwac-wishlist #message .woocommerce-error,
#thwwac-wishlist #message .woocommerce-info{
  margin: 10px 0 !important;
}



/* Header cart — ТОЛЬКО если нужно, чтобы dropdown не прятался под шапкой */
.ttm-headercart{
  position: relative !important;
  z-index: 99999 !important;
}



/* Всплывашка */


.gs-added-check{
  display:inline-flex;
  align-items:center;
  margin-left:8px;
  color:#2ecc71;
  font-weight:700;
  font-size:18px;
  line-height:1;
  opacity:0;
  transform:scale(.8);
  transition:opacity .2s ease, transform .2s ease;
}

.gs-added-check.visible{
  opacity:1;
  transform:scale(1);
}




/* FIX: header cart overlays product image lightbox (PhotoSwipe) */
body.pswp-open .ttm-headercart,
body.pswp-open .headercart-qty,
body.gs-pswp-open .ttm-headercart,
body.gs-pswp-open .headercart-qty {
  display: none !important;
}

/* УБРАЛИ .pswp--open ~ ... потому что почти всегда не работает (не siblings) */



