.catalogItem {
  max-width: 385px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-sizing: border-box;
  gap: 25px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(241, 241, 241, 1);
  font-family: Onest;
  justify-content: space-around;
}

.catalog__item__email__input {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: baseline;
}


.catalog__item__email__input>input {
  font-family: Onest;
  background-color: #f3f1f1;
  padding: 15px 10px;
}

.catalogItem__header {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.catalogItem__header__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.catalogItem__header__item__name {
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 110%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: rgba(45, 45, 45, 1);
}

.catalogItem__header__item__dist {
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 110%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: rgba(158, 163, 175, 1);
}

.catalogItem__header__item__price {
  font-family: Onest;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  color: rgba(255, 44, 79, 1);
}

.catalogItem__header__item__price__from {
  font-family: Onest;
  font-weight: 600;
  font-size: 13px;
  line-height: 100%;
  color: rgba(158, 163, 175, 1)
}

.catalogItem__header__item__valute {
  color: rgba(45, 45, 45, 1);
}

.catalogItem__header__item__hour {
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 110%;
  letter-spacing: 0%;
  color: rgba(158, 163, 175, 1);
}

.catalogItem__preview {
  width: 200px;
  aspect-ratio: 1;
}

.catalogItem__body {
  width: 100%;
  position: relative;
}

.catalogItem__line {
  background-color: rgba(241, 241, 241, 1);
  height: 1px;
  width: 100%;
}

.catalogItem__body__priceList {
  display: flex;
  justify-content: space-around;
  padding: 0 20px;
}

.catalogItem__body__priceList__item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.catalogItem__body__priceList__item__name {
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: rgba(45, 45, 45, 1);
}

.catalogItem__body__priceList__item__cont {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.catalogItem__body__priceList__item__price {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(255, 44, 79, 1);
}

.catalogItem__body__priceList__item__hr {
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  color: rgba(158, 163, 175, 1);
}

.catalogItem__body__priceList__line {
  width: 0px;
  height: 40px;
  border-left: 1px solid rgba(216, 216, 216, 1);
}

.catalogItem__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.catalogItem__btn__buy {
  background-color: rgba(255, 44, 79, 1);
  font-family: Onest;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  text-transform: uppercase;
  color: white;
  padding: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.catalogItem__btn__buy__not {
  background-color: rgb(255, 167, 0);
  font-family: Onest;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  text-transform: uppercase;
  color: white;
  padding: 15px;
  border: none;
  cursor: pointer;
}

.rent-form__group-input {
  box-sizing: border-box;
}

.rent-form__group-input.error {
  border: 1px solid red;
}

.rent-form__group-input.error::placeholder {
  color: red;
}

.catalogItem__btn__more {
  font-family: Onest;
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: rgba(99, 105, 124, 1);
  border: none;
  cursor: pointer;
  background-color: transparent;
  width: min-content;
  white-space: nowrap;
  margin: 0 auto;
  position: relative;
}

.catalog__custom-select {
  position: relative;
  width: 100%;
  font-family: inherit;
  user-select: none;
}

.catalog__trigger-text {
  width: 100%;
}

.catalog__option-cont {
  display: flex;
  gap: 5px;
  align-items: center;
}

.catalog__option-name,
.catalog__option-price {
  font-family: Roboto;
  font-weight: 500;
  font-size: 14px;
  line-height: 140%;
  color: rgba(99, 105, 124, 1)
}

.catalog__option-hr {
  font-family: Roboto;
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;
  color: rgba(158, 163, 175, 1);
}

.catalog__select-trigger {
  padding: 16px 14px;
  background: rgba(241, 241, 241, 1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}

.catalog__select-trigger:hover {
  border-color: #aaa;
}

.catalog__arrow {
  margin-left: 10px;
  width: 24px;
  height: 24px;
  background-image: url("../images/select.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s;
}

.catalog__custom-select.open .catalog__arrow {
  transform: rotate(180deg);
}

.catalog__options {
  position: absolute;
  left: 0;
  margin: 0;
  right: 0;
  background: #fff;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
  padding-left: 0;
}

.catalog__custom-select.open .catalog__options {
  max-height: 400px;
  opacity: 1;
  pointer-events: auto;
}

.catalog__options li {
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.2s;
  list-style: none
}

.catalog__options li:hover {
  background: #f5f5f5;
}

.catalog__option-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.catalogItem__image-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  width: 210px;
}

.catalogItem__slides {
  display: flex;
  transition: transform 0.3s ease;
}

.catalogItem__slide {
  width: 210px;
  height: 230px;
  object-fit: contain;
}

.catalogItem__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
}

.catalogItem__dots .dot {
  width: 20px;
  height: 20px;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  border: 1px rgba(216, 216, 216, 1) solid;
  position: relative;
}

.catalogItem__dots .dot::before {
  position: absolute;
  inset: 4px;
  content: "";
  background-color: rgba(241, 241, 241, 1);
  border-radius: 90px;
}

.catalogItem__dots .dot.active {
  border: 1px rgba(255, 44, 79, 1) solid;
}

.catalogItem__dots .dot.active::before {
  background-color: rgba(255, 44, 79, 1);
}

.catalogItem__features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: start;
  margin-right: auto;
}

.catalogItem__qr {
  display: block;
  font-family: Roboto;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 4%;
  color: rgba(99, 105, 124, 1)
}

.catalogItem__feature__text {
  display: flex;
  font-family: Roboto;
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 4%;
  color: rgba(99, 105, 124, 1)
}

.catalogItem__feature__icon {
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255, 44, 79, 1);
  border-radius: 90px;
}

.catalogItem__feature {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.catalog__slider {
  display: none;
}

.catalogItem__moreinfo {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: absolute;
  top: 100%;
  background: white;
  z-index: 2;
  left: -24px;
  right: -24px;
  padding: 24px;
  padding-top: 0;
  border: 1px solid rgba(241, 241, 241, 1);
  border-top: none;
}

.catalogItem__moreinfo.active {
  max-height: 500px;
  opacity: 1;
}

.catalogItem__line {
  display: none;
}

.catalog__mobile__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.catalog__mobile__footer__header {
  display: flex;
  justify-content: start;
  gap: 8px;
  align-items: center;
}

.catalog__mobile__footer__header div {
  font-family: Roboto;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 4%;
  color: rgba(99, 105, 124, 1)
}

.catalogItem__btn__more::after {
  content: "";
  position: absolute;
  right: -24px;
  width: 24px;
  height: 24px;
  background-image: url("../images/select.svg");
  background-size: cover;
  background-repeat: no-repeat;
  top: 50%;
  transform: rotate(0deg) translateY(-50%);
  transition: transform 0.3s ease;
  transform-origin: top;
}

.catalogItem__btn__more.active::after {
  transform: rotate(180deg) translateY(-50%);
}


/* ==== МЕДИАЗАПРОСЫ ВНИЗУ ==== */

@media (max-width: 1350px) {
  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalogItem {
    max-width: 100%;
  }
}

@media (max-width: 550px) {
  .catalog__custom-select.open .catalog__options {
    background-color: rgba(241, 241, 241, 1);
  }

  .catalogItem {
    background-color: rgba(255, 255, 255, 1);
    border: none;
  }

  .catalog__mobile__footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
  }

  .catalog__mobile__footer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Roboto;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 4%;
    color: rgba(99, 105, 124, 1)
  }

  .catalog__mobile__footer__footer__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .catalog__mobile__footer__footer__icons img {
    cursor: pointer;
  }

  .catalog__mobile__footer__content {
    font-family: Roboto;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 4%;
    color: rgba(99, 105, 124, 1)
  }



  .catalog__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .catalog__slider {
    display: block;
    overflow: hidden;
    position: relative;
  }

  .catalog__slides {
    display: flex;
    transition: transform 0.3s ease;
  }

  .catalogItem {
    min-width: 100%;
    box-sizing: border-box;
    width: 200px;
  }

  .catalog__dots {
    text-align: center;
    margin-top: 10px;
  }

  .catalog__dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
  }

  .catalog__dots .dot.active {
    background: #333;
  }

  .catalogItem__moreinfo {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;

    border: none;
    position: relative;
    top: unset;
    background: unset;
    z-index: unset;
    left: unset;
    right: unset;
    padding: unset;
    padding-top: unset;
  }

  .catalogItem__moreinfo.active {
    max-height: 500px;
    opacity: 1;
  }

  .catalogItem__btn__more.active {
    margin-bottom: 20px;
  }

  .catalogItem__line {
    display: block;
  }
}