.greenkot_horizontal_gallery_wrapper {
    width: 100%;
    position: relative;
}

.greenkot_horizontal_gallery_wrapper .flickity-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: auto;
    transition: height 0.3s ease;
}

.greenkot_horizontal_gallery_cell {
    width: auto;
    /* margin-right теперь задается inline через style */
}

.greenkot_horizontal_gallery_cell_img {
    display: block;
    max-width: none;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.greenkot_horizontal_gallery_cell_img:hover {
    transform: scale(1.02);
}

/* Navigation buttons */
.greenkot_horizontal_gallery_wrapper .flickity-prev-next-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: none;
}

.greenkot_horizontal_gallery_wrapper .flickity-prev-next-button.previous {
    left: 10px;
    position: absolute;
}

.greenkot_horizontal_gallery_wrapper .flickity-prev-next-button svg {
    display: none;
}

.greenkot_horizontal_gallery_wrapper .flickity-prev-next-button.previous:before {
    font-family: 'fontello';
  font-style: normal;
  font-weight: normal;
  speak: never;
  display: block;
  text-decoration: inherit;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\e833';
  font-size: 1rem;
}

.greenkot_horizontal_gallery_wrapper .flickity-prev-next-button.next {
    right: 10px;
    position: absolute;
}

.greenkot_horizontal_gallery_wrapper .flickity-prev-next-button.next:before {
    font-family: 'fontello';
    font-style: normal;
    font-weight: normal;
    speak: never;
    display: block;
    text-decoration: inherit;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\e82d';
    font-size: 1.4rem;
}

.greenkot_horizontal_gallery_wrapper .flickity-prev-next-button:hover {
    color: chocolate;
}

.greenkot_horizontal_gallery_wrapper .flickity-prev-next-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Pagination dots */
.greenkot_horizontal_gallery_wrapper .flickity-page-dots {
    bottom: 0px;
    position: relative;
    margin-top: 20px;
}

.greenkot_horizontal_gallery_wrapper .flickity-page-dots .dot {
    width: 8px;
    height: 8px;
    margin: 0 6px;
    background: #222222;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.greenkot_horizontal_gallery_wrapper .flickity-page-dots .dot.is-selected {
    opacity: 1;
}