/* Скрываем только визуальный вывод галереи, DOM остаётся */
.smart-gallery.smart-gallery--trigger .elementor-image-gallery,
.smart-gallery.smart-gallery--trigger .elementor-image-gallery .gallery,
.smart-gallery.smart-gallery--trigger .elementor-gallery__container {
  display: none !important;
}

/* Кнопка-триггер */
.smart-gallery.smart-gallery--trigger > .smart-gallery-trigger {
  width: 100%;
  aspect-ratio: 3 / 2; /* при необходимости поменяем */
  border: 0;
  padding: 0;
  border-radius: 16px;
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

/* Если есть мини-картинка */
.smart-gallery.smart-gallery--trigger > .smart-gallery-trigger.smart-gallery-trigger--has-thumb {
  background-image: var(--sg-trigger-thumb);
  background-size: cover;
  background-position: center;
}

/* Если мини-картинки нет — рисуем “иконку” */
.smart-gallery.smart-gallery--trigger > .smart-gallery-trigger.smart-gallery-trigger--icon::before {
  content: "";
  width: 40px;
  height: 40px;
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
}

/* Лёгкий hover */
.smart-gallery.smart-gallery--trigger > .smart-gallery-trigger:hover {
  filter: brightness(1.05);
}


.smart-gallery.smart-gallery--trigger > .smart-gallery-trigger{
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  border-radius: 16px;
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Кнопка-триггер (без фото) */
.smart-gallery.smart-gallery--trigger > .smart-gallery-trigger{
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;

  background: rgba(255,255,255,0.00);
  background-image: none !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Иконка внутри */
.smart-gallery.smart-gallery--trigger .smart-gallery-trigger__icon{
  font-size: 20px;
  line-height: 1;
}

[data-theme="light"] .smart-gallery.smart-gallery--trigger .smart-gallery-trigger__icon{
  color: #256247;
}

[data-theme="dark"] .smart-gallery.smart-gallery--trigger .smart-gallery-trigger__icon{
  color: #F0AF69;
}