.block-bottles-carousel {
  position: relative;
  width: 100%;
  padding-bottom: 10.4vw;
  background-color: #fffbf3;
}

@media (min-width: 768px) {
  .block-bottles-carousel {
    margin: 0 auto;
    padding: 105px 0;
  }
}

.block-bottles-carousel__background {
  position: absolute;
  top: 17%;
  left: -10%;
}

@media (min-width: 0) and (max-width: 767px) {
  .block-bottles-carousel__background img {
    width: 180%;
  }
}

@media (min-width: 768px) {
  .block-bottles-carousel__background {
    top: 30%;
    left: 50%;
    -webkit-transform: translate(-50%);
    -o-transform: translate(-50%);
    transform: translate(-50%);
  }
}

@media (min-width: 768px) {
  .block-bottles-carousel__swiper.swiper {
    padding: 0 20px;
  }
}

.block-bottles-carousel__data {
  list-style-type: none;
}

.block-bottles-carousel__bottle {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: auto;
}

.block-bottles-carousel__bottle.swiper-slide {
  width: 50%;
}

@media (min-width: 768px) {
  .block-bottles-carousel__bottle.swiper-slide {
    width: 33.3%;
  }
}

@media (min-width: 1200px) {
  .block-bottles-carousel__bottle.swiper-slide {
    width: 20%;
  }
}

.block-bottles-carousel__bottle_link {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  text-align: center;
}

@media (min-width: 768px) {
  .block-bottles-carousel__bottle_link {
    line-height: 0;
  }
}

.block-bottles-carousel__bottle a {
  color: #1a1818;
  text-decoration: none;
}

.block-bottles-carousel__bottle_name {
  position: relative;
  display: inline-block;
  max-width: 36vw;
  margin-bottom: 1.3vw;
  font-weight: bold;
  font-size: 0.875rem;
  font-family: sans-serif;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.block-bottles-carousel__bottle_name::after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 0;
  height: 2px;
  margin: -5px 0;
  background-color: #1a1818;
  -webkit-transition: all 0.4s ease-in 0s;
  -o-transition: all 0.4s ease-in 0s;
  transition: all 0.4s ease-in 0s;
  content: '';
}

@media (min-width: 768px) {
  .block-bottles-carousel__bottle_name {
    max-width: 200px;
    font-size: 1.25rem;
  }
}

.block-bottles-carousel__bottle_image {
  position: relative;
  display: block;
  height: 90%;
  padding: 6.4vw 0;
}

@media (min-width: 768px) {
  .block-bottles-carousel__bottle_image {
    padding: 23px 0 10px;
    -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
  }
}

.block-bottles-carousel__bottle_image img {
  display: block;
  max-width: 100%;
  max-height: 83.7vw;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

@media (min-width: 768px) {
  .block-bottles-carousel__bottle_image img {
    max-height: 314px;
  }
}

@media (min-width: 768px) {
  .block-bottles-carousel__bottle .block-bottles-carousel__bottle_link:hover .block-bottles-carousel__bottle_name::after {
    width: 100%;
  }

  .block-bottles-carousel__bottle .block-bottles-carousel__bottle_link:hover .block-bottles-carousel__bottle_image {
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
  }
}

.block-bottles-carousel__inner-blocks {
  margin: 8.5vw 6.4vw 0;
}

@media (min-width: 768px) {
  .block-bottles-carousel__inner-blocks {
    display: none;
  }
}

.block-bottles-carousel__inner-blocks .wp-block-buttons {
  width: 100%;
}

.block-bottles-carousel__inner-blocks .wp-block-buttons .wp-block-button {
  width: 100%;
}

.block-bottles-carousel__inner-blocks .wp-block-buttons .wp-block-button__link {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 200px;
  padding: 16px 12px;
  overflow: hidden;
  color: #c10020;
  font-weight: bold;
  font-size: 0.75rem;
  font-family: sans-serif;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, transparent), color-stop(50%, #c10020)) left top/100% 200%, transparent;
  background: -webkit-linear-gradient(top, transparent 50%, #c10020 50%) left top/100% 200%, transparent;
  background: -o-linear-gradient(top, transparent 50%, #c10020 50%) left top/100% 200%, transparent;
  background: linear-gradient(to bottom, transparent 50%, #c10020 50%) left top/100% 200%, transparent;
  border: solid 2px #c10020;
  border-radius: 0;
  cursor: pointer;
  -webkit-transition: background-position 0.3s ease, color 0.8s ease, background-color 0.2s;
  -o-transition: background-position 0.3s ease, color 0.8s ease, background-color 0.2s;
  transition: background-position 0.3s ease, color 0.8s ease, background-color 0.2s;
}

.block-bottles-carousel__inner-blocks .wp-block-buttons .wp-block-button__link:hover,
.block-bottles-carousel__inner-blocks .wp-block-buttons .wp-block-button__link:active {
  color: #fff;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, transparent), color-stop(50%, #c10020)) left bottom/100% 200%, #c10020;
  background: -webkit-linear-gradient(top, transparent 50%, #c10020 50%) left bottom/100% 200%, #c10020;
  background: -o-linear-gradient(top, transparent 50%, #c10020 50%) left bottom/100% 200%, #c10020;
  background: linear-gradient(to bottom, transparent 50%, #c10020 50%) left bottom/100% 200%, #c10020;
  border: solid 2px #c10020;
  outline: none;
  -webkit-transition: background-position 0.3s ease, background-color 0.2s cubic-bezier(1, 0, 0, 1) 0.1s;
  -o-transition: background-position 0.3s ease, background-color 0.2s cubic-bezier(1, 0, 0, 1) 0.1s;
  transition: background-position 0.3s ease, background-color 0.2s cubic-bezier(1, 0, 0, 1) 0.1s;
}

.block-bottles-carousel .swiper-scrollbar {
  position: relative;
  width: 87.2vw;
  height: 2px;
  margin: 9.6vw auto 0;
  background-color: #f2ebe0;
}

@media (min-width: 768px) {
  .block-bottles-carousel .swiper-scrollbar {
    width: 90%;
    margin: 66px auto 0;
  }
}

.block-bottles-carousel .swiper-scrollbar-drag {
  position: absolute;
  height: 100%;
  background: #c10020;
  cursor: pointer;
}

.block-bottles-carousel .swiper-scrollbar-drag:hover {
  top: -50%;
  height: 200%;
}

.wp-admin .block-bottles-carousel ::-webkit-scrollbar {
  height: 4px;
}

.wp-admin .block-bottles-carousel ::-webkit-scrollbar-track {
  background: #f2ebe0;
}

.wp-admin .block-bottles-carousel ::-webkit-scrollbar-thumb {
  background: #c10020;
}

@media (min-width: 0) and (max-width: 767px) {
  .wp-admin .block-bottles-carousel__wrapper {
    margin: 0 6.4vw;
  }
}

.wp-admin .block-bottles-carousel__data {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0;
}

.wp-admin .block-bottles-carousel__bottle {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 87.4vw;
  -ms-flex: 0 0 87.4vw;
  flex: 0 0 87.4vw;
}

@media (min-width: 768px) {
  .wp-admin .block-bottles-carousel__bottle {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 230px;
    -ms-flex: 0 0 230px;
    flex: 0 0 230px;
  }
}

@media (min-width: 0) and (max-width: 767px) {
  .wp-admin .block-bottles-carousel__inner-blocks {
    margin: 8.5vw 0 0;
  }
}

.wp-admin .block-bottles-carousel__swiper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow-x: scroll;
  overflow-y: hidden;
}

.wp-admin .block-bottles-carousel .swiper-scrollbar {
  display: none;
}
