.block-description-card {
  margin-left: 278px;
}

@media screen and (max-width: 1835px) {
  .block-description-card {
    margin-left: 50px;
  }
}

@media screen and (max-width: 1400px) {
  .block-description-card {
    margin-left: 25px;
  }
}

@media screen and (max-width: 1319px) {
  .block-description-card {
    margin-left: 0;
  }
}

.bigimg-card {
  width: 658px;
  height: 377px;
  border-radius: 20px;
}

.card-block-in {
  margin: 20px 0px;
}

.smallimg-card.active {
  border: 2px solid #ff09f5;
  box-shadow: 0 0 10px rgba(255, 71, 71, 0.3);
}
.smallimg-card {
  max-width: 136px;
  max-height: 78px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  object-fit: cover;
}
.arrow-last, .arrow-next {
  cursor: pointer;
  font-size: 24px;
  color: #ff09f5;
  padding: 0 10px;
  user-select: none;
  transition: all 0.3s ease;
}
.arrow-last:hover, .arrow-next:hover {
  transform: scale(1.2);
  color: #ff4747;
}

.bigimg-card:hover {
  transform: scale(1.02);
}

.small-photo-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  position: relative;
}

.thumbnails-container {
  display: flex;
  gap: 10px;
  overflow: hidden;
  flex: 1;
  padding: 0 10px;
  justify-content: center;
}
.smallimg-card:hover {
  transition: 0.3s;
  opacity: 0.8;
}

.small-photo-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.card-block-in .block1-container {
  display: flex;
}

.card-body-right {
  margin-left: 60px;
}

.buy-button:hover {
  transition: 0.3s;
  opacity: 0.8;
}

.buy-button {
  transition: 0.3s;
  width: 270px;
  font-size: 24px;
  
  font-weight: 600;
}

.card-title {
  color: #222222;
  font-size: 32px;
}
.card-small-desc {
  font-size: 24px;
  color: #666666;
  white-space: normal;
  margin-top: 15px;
}
.card-price {
  font-size: 32px;
  color: #222222;
  margin: 15px 0px;
}

.block-about-card {
  margin-top: 20px;
}

.otovare {
  background: linear-gradient(to top, #ff09f5, #ff4747);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  height: 33px;
  width: 108px;
}
.otovare p {
  color: white;
  font-size: 18px;
}

.otovare-mat {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  width: 174px;
  height: 32px;
  border: 1px solid #ff09f5;
}

.otovare-gabarit {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 0 20px;
  width: 174px;
  height: 32px;
  border: 1px solid #ff09f5;
}

.otovare-gabarit,
.otovare-mat p {
  color: #222222;
  font-size: 18px;
}

.about-tovar {
  margin-top: 20px;
  color: #666666;
  white-space: normal;
  font-weight: 500;
}

@media screen and (max-width: 1325px) {
  .block-description-card {
    text-align: left;
    margin-left: 15px;
  }
}
@media screen and (max-width: 1300px) {
  .card-title {
    white-space: normal;
  }
  .card-small-desc {
    white-space: normal;
  }
}

@media screen and (max-width: 1050px) {
  .card-block-in .block1-container {
    flex-direction: column;
  }
  .small-photo-block {
    max-width: 658px;
  }
  .card-body-right {
    margin-top: 15px;
    margin-left: 0;
  }
  .card-small-desc {
    max-width: 658px;
  }
  .block-about-card {
    display: flex !important;
    flex-direction: row !important;
  }
  .buy-button {
    margin-left: 0;
  }
  .about-tovar {
    max-width: 658px;
  }
  .block-description-card {
    white-space: normal;
    font-size: 17px;
    margin-right: 15px;
  }
  .block-description-card a {
    font-size: 17px;
  }
}

@media screen and (max-width: 700px) {
  .bigimg-card {
    width: 100%;
    height: auto;
  }
  .smallimg-card {
    width: 65px;
    border-radius: 12px;
  }
  .small-photo-block {
   
  }
  .small-photo-block {
    margin-top: 10px;
  }
  .card-title {
    font-size: 24px;
  }
  .card-small-desc {
    font-size: 18px;
    margin-top: 10px;
  }
  .card-body-right {
    margin-top: 10px;
  }
  .card-price {
    font-size: 24px;
    margin: 10px 0px;
  }
  .buy-button {
    font-size: 20px;
    width: 140px;
    height: 35px;
  }
  .block-about-card {
    flex-direction: column !important;
    margin-top: 10px;
  }
  .otovare-gabarit {
    margin-left: 0;
    margin: 10px 0px;
  }
  
  .buy-button img{
    width: 15px !important;
    height: 15px !important;
  }
}

.dropdown-content {
  flex-direction: column;
}

.hidden {
  display: none;
}

.buy-button img{
  width: 23px;
  height: 23px;
  padding-left: 10px;
}