.item-page {
  position: relative;
  z-index:5;
}
.item-page__wrapper {
  width: 100%;
  max-width: calc(var(--site-width) + var(--site-gap) * 2);
  padding: calc(var(--site-gap) * 3.5) var(--site-gap) calc(var(--site-gap) * 2);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.item-page__info-wrapper {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.item-page__image-wrapper {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-page__image-main {
  flex: 1;
  overflow: hidden;
  padding: 0.5rem;
}

.item-page__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
}

.item-page__thumbs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  width: 25%;
  padding: 0.5rem;
}

.item-page__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.item-page__thumb:hover {
  opacity: 0.8;
}

.item-page__get-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 440px;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
}

.shop-item__button--wide {
  width: 100%;
  justify-content: center;
}
.shop-item__button--hollow {
  background-color: transparent;
  border: 1px solid var(--color-accent);
}

.item-page__get-item__price-first,
.item-page__get-item__price-second {
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-white);
}

.item-page__get-item__price-second {
  font-size: 1.5rem;
}

.item-page__get-item__price-first-text::before,
.item-page__get-item__price-second-text::before {
  content: "Аренда на день:";
  display: block;
  font-size: 1rem;
  letter-spacing: 0.01rem;
  font-weight: 300;
  color: #777;
}

.item-page__get-item__price-second-text::before {
  content: "Следующий день:";
}

.item-page__title {
  line-height: 1.3;
}

.nav-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar {
  display: none;
}
.nav-tabs__item {
  flex: 0 0 auto;
}
.nav-tabs__link {
  display: flex;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.25rem;
  color: var(--color-white);
  text-wrap: nowrap;
  transition: 0.3s linear;
}
.nav-tabs__link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.nav-tabs__link.active {
  font-weight: 500;
  background-color: var(--color-accent);
}
.tab-content {
  display: flex;
}
.tab-content__item {
  display: none;
  flex-direction: column;
  width: 100%;
}
.tab-content__item.show {
  display: flex;
}
.tab-content__item p,
.tab-content__item ul,
.tab-content__item ol {
  margin-bottom: 1rem;
}

.tab-content__item li::before {
  content: "";
  position: relative;
  left: 0;
  top: 11px;
  background: #666;
  width: 11px;
  height: 1px;
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
}

.float-order-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 18px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.float-order-button:hover {
  background-color: #0056b3;
}

@media screen and (max-width: 600.98px) {
  .title-md {
    font-size: 1.5rem;
  }
  .item-page__info-wrapper {
    flex-direction: column;
  }
  .item-page__image-inner {
    max-width: 100%;
    max-height: 100%;
  }

  .item-page__get-item {
    max-width: 100%;
  }
}
