.rb-gallery-list {
  overflow: hidden;
}
.rb-gallery-item {
  text-align: center;
  margin: 10px 0;
}

.rb-gallery-inner {
  position: relative;
}

.rb-gallery-link {
  outline: none !important;
  text-decoration: none !important;
  overflow: hidden;
}

.rb-gallery-img {
  width: 100%;
  box-sizing: border-box;
  transition: 0.5s;
}

.rb-gallery-img-outer {
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 1rem;
  border: 1px solid #e9e9e9;
}

.rb-gallery-img-outer.foto {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  border: 8px solid #fff;
}

.rb-gallery-item:hover .rb-gallery-img.anim-scale {
  -moz-transform: scale(1.2); /* Для Firefox */
  -ms-transform: scale(1.2); /* Для IE */
  -webkit-transform: scale(1.2); /* Для Safari, Chrome, iOS */
  -o-transform: scale(1.2); /* Для Opera */
  transform: scale(1.2);
}
.rb-gallery-item:hover .rb-gallery-img.anim-opacity {
  transform: none;
  opacity: 0.7;
}
.rb-gallery-item:hover .rb-gallery-img.anim-grayscale {
  transform: none;
  -webkit-filter: grayscale(0.85);
  filter: grayscale(0.85);
}
.rb-gallery-item:hover .rb-gallery-img.anim-sepia {
  transform: none;
  -webkit-filter: sepia(90%);
  filter: sepia(90%);
}
.rb-gallery-item:hover .rb-gallery-img.anim-contrast {
  transform: none;
  -webkit-filter: contrast(100%);
  filter: contrast(120%);
}
.rb-gallery .text-gallery {
  color: #000;
  line-height: 1;
  text-align: left;
      padding: 0 0 10px;
    transition: 0.5s;
}

.rb-gallery-item:hover .text-gallery,
.rb-gallery-inner.style-over .rb-gallery-link:hover+.text-gallery {
  opacity: 1 !important;
}

.rb-gallery-inner.style-over .rb-gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 10;
}

.rb-gallery-inner.style-over .text-gallery {
  position: absolute;
  padding: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rb-gallery .col-lg-1,
.rb-gallery .col-lg-12,
.rb-gallery .col-lg-2,
.rb-gallery .col-lg-3,
.rb-gallery .col-lg-4,
.rb-gallery .col-lg-6 {
  float: left;
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}


/* Magnific Popup Style ----------------*/

.mfp-figure figure {
  border-radius: 2px;
  padding: 5px;
  background: none;
}

.rb-gallery .mfp-image-holder .mfp-close,
.rb-gallery .mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.rb-gallery .mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.rb-gallery .mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px;
}

.rb-gallery .mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px;
}

.rb-gallery .mfp-arrow:hover,
.rb-gallery .mfp-arrow:focus {
  opacity: 1;
}

.rb-gallery button.mfp-close,
.rb-gallery button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.rb-gallery .mfp-arrow-right {
  right: 0;
}

.rb-gallery .mfp-arrow {
  position: absolute;
  opacity: 0.65 !important;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media (min-width: 1200px) {
  .rb-gallery .col-lg-2:nth-child(6n+1),
  .rb-gallery .col-lg-3:nth-child(4n+1),
  .rb-gallery .col-lg-4:nth-child(3n+1),
  .rb-gallery .col-lg-6:nth-child(2n+1) {
    clear: left;
  }
  .rb-gallery .col-lg-1 {
    width: 8.33333333%;
  }
  .rb-gallery .col-lg-2 {
    width: 16.66666667%;
  }
  .rb-gallery .col-lg-3 {
    width: 25%;
  }
  .rb-gallery .col-lg-4 {
    width: 33.33333333%;
  }
  .rb-gallery .col-lg-6 {
    width: 50%;
  }
  .rb-gallery .col-lg-12 {
    width: 100%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .rb-gallery .col-md-2:nth-child(6n+1),
  .rb-gallery .col-md-3:nth-child(4n+1),
  .rb-gallery .col-md-4:nth-child(3n+1),
  .rb-gallery .col-md-6:nth-child(2n+1) {
    clear: left;
  }
  .rb-gallery .col-md-1 {
    width: 8.33333333%;
  }
  .rb-gallery .col-md-2 {
    width: 16.66666667%;
  }
  .rb-gallery .col-md-3 {
    width: 25%;
  }
  .rb-gallery .col-md-4 {
    width: 33.33333333%;
  }
  .rb-gallery .col-md-6 {
    width: 50%;
  }
  .rb-gallery .col-md-12 {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .rb-gallery .col-sm-2:nth-child(6n+1),
  .rb-gallery .col-sm-3:nth-child(4n+1),
  .rb-gallery .col-sm-4:nth-child(3n+1),
  .rb-gallery .col-sm-6:nth-child(2n+1) {
    clear: left;
  }
  .rb-gallery .col-sm-1 {
    width: 8.33333333%;
  }
  .rb-gallery .col-sm-2 {
    width: 16.6666%;
  }
  .rb-gallery .col-sm-3 {
    width: 25%;
  }
  .rb-gallery .col-sm-4 {
    width: 33.3333%;
  }
  .rb-gallery .col-sm-6 {
    width: 50%;
  }
  .rb-gallery .col-sm-12 {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .rb-gallery .col-xs-2:nth-child(6n+1),
  .rb-gallery .col-xs-3:nth-child(4n+1),
  .rb-gallery .col-xs-4:nth-child(3n+1),
  .rb-gallery .col-xs-6:nth-child(2n+1) {
    clear: left;
  }
  .rb-gallery .col-xs-1 {
    width: 8.33333333%;
  }
  .rb-gallery .col-xs-2 {
    width: 16.6666%;
  }
  .rb-gallery .col-xs-3 {
    width: 25%;
  }
  .rb-gallery .col-xs-4 {
    width: 33.3333%;
  }
  .rb-gallery .col-xs-6 {
    width: 50%;
  }
  .rb-gallery .col-xs-12 {
    width: 100%;
  }
}


/*-----------------------------------------------
-------- Owl Carousel ---------------------------
-----------------------------------------------*/


/**
 * Owl Carousel v2.3.3
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */


/*
 *  Owl Carousel - Core
 */

.rb-gallery-owl-carousel {
  display: none;
  width: 100%;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1;
}

.rb-gallery-owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  touch-action: manipulation;
  -moz-backface-visibility: hidden;
  /* fix firefox animation glitch */
}

.rb-gallery-owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.rb-gallery-owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  /* fix for flashing background */
  -webkit-transform: translate3d(0px, 0px, 0px);
}

.rb-gallery-owl-carousel .owl-wrapper,
.rb-gallery-owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.rb-gallery-owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.rb-gallery-owl-carousel .owl-item img {
  display: block;
  width: 100%;
}

.rb-gallery-owl-carousel .owl-nav.disabled,
.rb-gallery-owl-carousel .owl-dots.disabled {
  display: none;
}

.rb-gallery-owl-carousel .owl-nav .owl-prev,
.rb-gallery-owl-carousel .owl-nav .owl-next,
.rb-gallery-owl-carousel .owl-dot {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.rb-gallery-owl-carousel .owl-nav button.owl-prev,
.rb-gallery-owl-carousel .owl-nav button.owl-next,
.rb-gallery-owl-carousel button.owl-dot {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
}

.rb-gallery-owl-carousel.owl-loaded {
  display: block;
}

.rb-gallery-owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}

.rb-gallery-owl-carousel.owl-hidden {
  opacity: 0;
}

.rb-gallery-owl-carousel.owl-refresh .owl-item {
  visibility: hidden;
}

.rb-gallery-owl-carousel.owl-drag .owl-item {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.rb-gallery-owl-carousel.owl-grab {
  cursor: move;
  cursor: grab;
}

.rb-gallery-owl-carousel.owl-rtl {
  direction: rtl;
}

.rb-gallery-owl-carousel.owl-rtl .owl-item {
  float: right;
}


/* No Js */

.no-js .rb-gallery-owl-carousel {
  display: block;
}


/*
 *  Owl Carousel - Animate Plugin
 */

.rb-gallery-owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both;
}

.rb-gallery-owl-carousel .owl-animated-in {
  z-index: 0;
}

.rb-gallery-owl-carousel .owl-animated-out {
  z-index: 1;
}

.rb-gallery-owl-carousel .fadeOut {
  animation-name: fadeOut;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


/*
 * 	Owl Carousel - Auto Height Plugin
 */

.owl-height {
  transition: height 500ms ease-in-out;
}


/*
 * 	Owl Carousel - Lazy Load Plugin
 */

.rb-gallery-owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 400ms ease;
}

.rb-gallery-owl-carousel .owl-item img.owl-lazy {
  transform-style: preserve-3d;
}


/*
 * 	Owl Carousel - Video Plugin
 */

.rb-gallery-owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}

.rb-gallery-owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 100ms ease;
}

.rb-gallery-owl-carousel .owl-video-play-icon:hover {
  -ms-transform: scale(1.3, 1.3);
  transform: scale(1.3, 1.3);
}

.rb-gallery-owl-carousel .owl-video-playing .owl-video-tn,
.rb-gallery-owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none;
}

.rb-gallery-owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 400ms ease;
}

.rb-gallery-owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
}

.rb-gallery-owl-carousel .owl-nav {
  position: absolute;
  top: 34%;
  text-align: center;
      width: 100%;
}
.rb-gallery-owl-carousel .owl-nav button.owl-prev,
.rb-gallery-owl-carousel .owl-nav button.owl-next{
  color: #2e2e2e;
  outline: none;
    font-size: 40px;
    margin: 5px;
    padding: 4px 15px 11px;
    background: rgba(206, 206, 206, 0.36);
    position: absolute;
    cursor: pointer;
    font-family: Arial;
    opacity: 0;
    transition: 0.5s;
}
.rb-gallery-owl-carousel .owl-nav button.owl-prev{
  left: 0;
}
.rb-gallery-owl-carousel .owl-nav button.owl-next{
  right: 0;
}

.rb-gallery-owl-carousel .owl-nav [class*='owl-']:hover {
  background: rgba(106, 106, 106, 0.7);
  color: #fff;
  text-decoration: none;
}
.rb-gallery-owl-carousel:hover .owl-nav [class*='owl-'] {
  opacity: 1;
}
.rb-gallery-owl-carousel .owl-nav .disabled {
  opacity: 0.5 !important;
}

.rb-gallery-owl-carousel .owl-nav.disabled+.owl-dots {
  margin-top: 10px;
}

.rb-gallery-owl-carousel .owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.rb-gallery-owl-carousel .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
  *display: inline;
}

.rb-gallery-owl-carousel .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 5px;
  background: #D6D6D6;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 200ms ease;
  border-radius: 30px;
}

.rb-gallery-owl-carousel .owl-dots .owl-dot.active span,
.rb-gallery-owl-carousel .owl-dots .owl-dot:hover span {
  background: #676767;
}
/* Magnific Popup Style ----------------*/
.rb-gallery .mfp-figure figure {
    border-radius: 2px;
    padding: 5px;
    background: none;
}
.rb-gallery .mfp-image-holder .mfp-close, 
.rb-gallery .mfp-iframe-holder  .mfp-close {
    color: white;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}
.rb-gallery .mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}
.rb-gallery .mfp-title {
    text-align: left;
    line-height: 18px;
    color: #f3f3f3;
    word-wrap: break-word;
    padding-right: 36px;
}
.rb-gallery .mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #cccccc;
    font-size: 12px;
    line-height: 18px;
}
.rb-gallery .mfp-arrow:hover, 
.rb-gallery .mfp-arrow:focus {
    opacity: 1;
}
.rb-gallery button.mfp-close, 
.rb-gallery button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.rb-gallery .mfp-arrow-right {
    right: 0;
}
.rb-gallery .mfp-arrow {
    position: absolute;
    opacity: 0.65 !important;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rb-gallery .gallery-load-more{
  background: #000;
    color: #fff;
    border: 0;
        outline: none;
    border-radius: 0;
    padding: 10px 20px;
    text-transform: uppercase;
    font-family: Verdana;
    letter-spacing: 1px;
    transition: 0.5s;
    margin: 20px 0;
}
.rb-gallery .gallery-load-more:hover{
  background: #6d6d6d;
}


/* Обёртка попапа */
.mfp-custom-popup .mfp-custom-inner {
  display: flex;
  flex-wrap: wrap;
  max-width: 750px;       /* подберите ширину */
  margin: 0 auto;
}
/* Левая колонка — картинка */
.mfp-custom-popup .mfp-custom-left {
  flex: 0 0 60%;
  padding: 35px;
}
.mfp-custom-popup .mfp-custom-left .mfp-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e9e9e9;
  border-radius: 1rem;
}
/* Правая колонка — текст и кнопки */
.mfp-custom-popup .mfp-custom-right {
  flex: 0 0 40%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mfp-custom-popup .mfp-custom-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}
.mfp-custom-popup .mfp-custom-buttons {
  margin-top: auto;
}
.mfp-custom-popup .btn {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
}
.mfp-custom-popup .btn--green {
  background-color: #c30d29;
  color: #fff;
  border: none;
}
.mfp-custom-popup .btn--outline {
  background: transparent;
  border: 2px solid #c30d29;
  color: #c30d29;
}
.mfp-custom-popup .mfp-custom-share {
  margin-top: auto;
  font-size: 0.9em;
}
.mfp-custom-popup .mfp-custom-share i {
  margin-right: 8px;
  cursor: pointer;
}


.mfp-custom-extra-images {
  margin-top: 15px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mfp-extra-img {
  max-width: 90px;
  border-radius: 4px;
  cursor: pointer;
}



.mfp-custom-share {
  margin-top: 18px;
  font-size: 14px;
}

.mfp-share-label {
  margin-bottom: 6px;
}

.mfp-share-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mfp-share-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f5f9;
}

/* Далі – як відображати самі іконки:
   або через background-image, або через <svg> всередині */
.mfp-share-telegram {
  background: #229ED9;
}

.mfp-share-viber {
  background: #7360F2;
}

.mfp-share-email {
  background: #ff8c3a;
}


/* Контент попапа: ліва й права частина */
.mfp-custom-inner {
  display: flex;
  align-items: stretch;
}

/* Права колонка з заголовком, кнопками та "Поділитися" */
.mfp-custom-right {
  display: flex;
  flex-direction: column;
  padding: 40px 50px 40px 40px; /* підлаштуй за смаком */
  min-height: 100%;
}

/* Заголовок зверху */
.mfp-custom-title {
  margin: 0 0 20px;
}

/* БЛОК З КНОПКАМИ – ОПУСТИТИ ДОНИЗУ */
.mfp-custom-buttons {
  margin-top: auto;      /* ключовий момент – штовхає блок донизу колонки */
  margin-bottom: 20px;   /* відступ перед "Поділитися" */
}

/* "Поділитися" + іконки */
.mfp-custom-share {
  font-size: 14px;
  color: #555;
}

.mfp-share-label {
  margin-bottom: 8px;
}

.mfp-share-icons {
  display: flex;
  gap: 10px;
}

.mfp-share-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* кольори кружечків */
.mfp-share-telegram { background: #29A9EB; }
.mfp-share-viber    { background: #6F3FAA; }
.mfp-share-email    { background: #FF8B2A; }



.mfp-custom-buttons {
    margin-top: 100% !important;
    /* margin-bottom: auto; */
}


img.mfp-img {
 
    padding: 0px 0 0px;
   
}


/* --- МОБІЛЬНА АДАПТАЦІЯ ПОПАПУ --- */
@media (max-width: 767px) {
  /* трішки зменшуємо внутрішні відступи стандартного оверлею */
  .mfp-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* попап розтягується майже на всю ширину екрана */
  .rb-gallery .mfp-content,
  .mfp-custom-popup {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  /* колонки стають у стовпчик */
  .mfp-custom-inner {
    flex-direction: column;
    gap: 12px;
  }

  .mfp-custom-left,
  .mfp-custom-right {
    flex: 0 0 100%;
    padding: 16px 16px 0;
  }

  .mfp-custom-right {
    padding: 8px 16px 16px;
  }

  /* велике фото трохи нижче по висоті, щоб все влазило */
  .mfp-custom-left .mfp-img,
  img.mfp-img {
    max-height: 50vh;
  }

  /* заголовок компактніший */
  .mfp-custom-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  /* кнопки: повна ширина, трохи менші відступи */
  .mfp-custom-buttons .btn {
    font-size: 14px;
    padding: 10px;
  }

  /* блок "Поділитися" — компактніше */
  .mfp-custom-share {
    margin-top: 8px;
  }

  .mfp-share-icons {
    gap: 8px;
  }

  .mfp-share-link {
    width: 28px;
    height: 28px;
  }

  /* прев’юшки — горизонтальний скрол, якщо їх багато */
  .mfp-thumbs {
    margin-top: 8px;
    padding-bottom: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mfp-thumbs::-webkit-scrollbar {
    height: 4px;
  }

  .mfp-thumbs::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 4px;
  }
}

@media (max-width: 767px) {
  .mfp-custom-buttons {
    margin-top: 16px !important;  /* або 0, якщо хочеш взагалі без відступу */
  }
}



/* базово можна зробити м’якший відступ */
.mfp-custom-popup .mfp-custom-right {
    padding: 20px 24px;
}

/* на мобільному ще менше */
@media (max-width: 767px) {
  .mfp-custom-popup .mfp-custom-right {
    padding: 12px 16px 16px;
  }
}



@media (max-width: 767px) {
  .gallery-sort-buttons .btn {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 5px;   /* розрив між рядами кнопок */
  }
}




/* мобільна версія */
@media (max-width: 767px) {
    .mfp-share-icons {
        position: static !important;   /* відірвати від fixed/absolute */
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 10px;
        justify-content: flex-start;   /* або center, якщо хочеш по центру */
    }

    .mfp-share-img {
        width: 32px !important;
        height: 32px !important;
    }
}




/* Картинка-іконка всередині кнопки "поділитися" */
.mfp-share-img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* мобільна версія */
@media (max-width: 767px) {
  /* блокуємо будь-які fixed/absolute з інших стилів */
  .mfp-custom-popup .mfp-share-icons {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 10px;
    justify-content: flex-start;
  }

  .mfp-custom-popup .mfp-share-link {
    width: 28px;
    height: 28px;
  }

  .mfp-custom-popup .mfp-share-img {
    width: 28px;
    height: 28px;
  }
}




