

/* Start:/local/templates/.default/components/bitrix/catalog.element/.default/style.css?179194195428898*/
.new-detail__inner .catalog__detail-gallery--like:hover {
  background-color: var(--color-accent);
}

.new-detail__inner .catalog__detail-gallery--like:hover .icon {
  fill: #fff;
  stroke: #fff;
}


.new-detail__info h3 {
  margin: 22px 0 10px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  color: #2e2d35;
}

.new-detail__info ul,
.new-detail__info ol {
  margin: 0 0 16px;
}

.new-detail__info .bottom ul,
.new-detail__info .bottom ol {
  margin: 0 0 16px 20px;
}

.new-detail__info li {
  margin-bottom: 8px;
}

.new-detail__info li > ul,
.new-detail__info li > ol {
  margin-top: 8px;
}

.new-detail__inner .new-detail__info br + br {
  display: block;
  content: "";
  margin-top: 8px;
}

.catalog__title h1 {
  font-weight: 700;
  font-style: normal;
  font-size: 42px;
  line-height: 1.2;
  color: #000000;
  text-transform: none;
}

.new-detail__inner .swiper-pagination span.swiper-pagination-bullet {
  background: #ffffffbf;
  opacity: 1;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.5);
}

.new-detail__inner .swiper-pagination span.swiper-pagination-bullet-active {
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
  opacity: var(--swiper-pagination-bullet-opacity, 1);
}

.catalog__detail-gallery-new .swiper-btn {
  width: 29px;
  height: 30px;
  border-radius: 8px;
  border-width: 1px;
  background: #4d6c7b80;
  border: 1px solid #ffffff;
}
.catalog__detail-gallery-new .swiper-btn:hover {
  background: #4d6c7b80;
}

.catalog__detail-gallery-new .swiper-btn:after {
  content: '';
  display: block;
  width: 14px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 6.8L7 1L1 6.8' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.catalog__detail-gallery-new .swiper-btn--next:after {
  transform: rotate(90deg);
}

.catalog__detail-gallery-new .swiper-btn--prev:after {
  transform: rotate(-90deg);
}

.catalog__detail-gallery-new .catalog__detail-gallery--bottom .swiper-slide {
  opacity: 1;
}

.catalog__detail-gallery-new .catalog__detail-gallery--bottom .swiper-slide-thumb-active {
  border: 1px solid #00cd86;
  border-radius: 16px;
}

.catalog__detail-gallery-new .catalog__detail-gallery--bottom-wrapper {
  padding: 14px 0;
  height: 502px;
  position: relative;
  overflow: hidden;
}

.catalog__detail-gallery-new div.catalog__detail-gallery--bottom {
  height: 100%;
}

.catalog__detail-gallery-new .catalog__detail-gallery--bottom .img {
  cursor: pointer;
}
.catalog__detail-gallery-new div.catalog__detail-gallery--bottom {
  width: 84px;
  margin-right: 22px;
}

.catalog__detail-gallery-new .lot {
  border: none;
}

/* Стили для секции лота */
section.lot{
  border: none;
  padding: 0;
}

.lot__top {
  display: grid;
  grid-template-columns: auto auto;
  gap: 54px;
  margin-bottom: 16px;
  background: #f4f6f6;
  border-radius: 16px;
  padding: 14px 16px;
}

.lot__top-seller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 16px;
  width: 280px;
}

.lot__top .gray-block {
  background: transparent !important;
}

.lot__top-seller-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: space-between;
  padding-right: 10px;
  padding-left: 10px;
}

.lot__top-seller-text {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  font-weight: 500;
  color: #4d6c7b;
}

.lot__top-seller-text .big {
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-transform: uppercase;
  color: #4d6c7b;
}

.lot__top-seller-text .big a {
  color: #4d6c7b;
  text-decoration: underline;
}

.lot__top-seller-img {
  max-width: 86px;
  height: auto;
  flex-shrink: 0;
  margin-top: 10px;
}

.lot__top-address {
  display: flex;
  align-items: center;
  background: transparent !important;
  width: 369px;
}

.lot__top-address-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.lot__top-address-icon {
  flex-shrink: 0;
}

.lot__top-address-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #4d6c7b;
  flex: 1;
}

/* Модальное окно оплаты резервирования */
#reserve-payment .modal__container {
  max-width: 580px;
}

#reserve-payment .modal__content p {
  margin: 0 0 10px;
  color: #4d6c7b;
}

#reserve-payment .modal__footer {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  padding-bottom: 12px;
}

#reserve-payment .button {
  background: #00cd86;
  color: #ffffff;
  border: 1px solid #00cd86;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
}

#reserve-payment .button.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.9;
  padding-left: 38px;
}

#reserve-payment .button.is-loading::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: reservePaySpin 0.8s linear infinite;
}

@keyframes reservePaySpin {
  to {
    transform: rotate(360deg);
  }
}

#reserve-payment .button:hover {
  background: #00b377;
  border-color: #00b377;
}

#reserve-payment .button--gray {
  background: #f0f2f2;
  color: #4d6c7b;
  border-color: #d9e1e3;
}

#reserve-payment .button--gray:hover {
  background: #e4eaec;
  border-color: #d0d8da;
}

#reserve-payment .reserve-payment-state {
  margin-top: 10px;
  padding: 12px;
  background: #f5fbf8;
  border: 1px solid #d7f1e6;
  border-radius: 10px;
}

#reserve-payment .reserve-payment-state__timer {
  color: #2e2d35;
  font-weight: 600;
}

#reserve-payment .js-reserve-pending-timer {
  font-variant-numeric: tabular-nums;
}

#reserve-payment .reserve-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0;
}

#reserve-payment .reserve-payment-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid #f1dbdb;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 16px 22px;
}

#reserve-payment .reserve-payment-method__text {
  min-width: 0;
}

#reserve-payment .reserve-payment-method__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #1d2530;
  margin-bottom: 6px;
}

#reserve-payment .reserve-payment-method__desc {
  font-size: 14px;
  color: #8a919d;
  line-height: 1.25;
}

#reserve-payment .reserve-payment-method__icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

#reserve-payment .reserve-payment-method__icons img {
  display: block;
  max-height: 34px;
  width: auto;
}

#reserve-payment .js-reserve-payment-link {
  color: #0074ce;
  text-decoration: underline;
  font-weight: 600;
}

/* Блок оплаты в модалке: СБП (QR/кнопка) + банковские реквизиты */
#reserve-payment .reserve-pay-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e3ebed;
}

#reserve-payment .reserve-pay-sbp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#reserve-payment .reserve-pay-sbp__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#reserve-payment .reserve-pay-block__title {
  font-weight: 600;
  color: #2e2d35;
  margin-bottom: 8px;
  text-align: center;
}

#reserve-payment .reserve-pay-sbp__img {
  display: block;
  margin: 0 auto;
  width: 220px;
  height: 220px;
  max-width: 100%;
  border: 1px solid #e3ebed;
  border-radius: 12px;
  padding: 8px;
  background: #ffffff;
}

#reserve-payment .reserve-pay-sbp__img.sbp-qr--vector {
  padding: 0;
}

#reserve-payment .reserve-pay-note {
  margin: 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.35;
  color: #6b7a83;
  text-align: center;
}

#reserve-payment .reserve-pay-note.is-checking {
  color: #1f7a55;
  font-weight: 600;
}

#reserve-payment .reserve-pay-note.is-checking::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  vertical-align: -1px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: reserve-pay-spin 0.8s linear infinite;
}

@keyframes reserve-pay-spin {
  to {
    transform: rotate(360deg);
  }
}

#reserve-payment .reserve-pay-sbp__btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  max-width: 320px;
}

#reserve-payment .reserve-pay-fallback {
  margin: 0;
  padding: 12px 14px;
  font-size: 14px;
  color: #8a3a3a;
  background: #fdf2f2;
  border: 1px solid #f5d2d2;
  border-radius: 10px;
}

.lot__top-address-label {
  margin-top: 2px;
  background: #4d6c7b;
  border-radius: 8px;
  padding-top: 5px;
  padding-right: 8px;
  padding-bottom: 5px;
  padding-left: 8px;
  font-weight: 700;
  font-style: normal;
  font-size: 12px;
  line-height: 100%;
  color: #fff;
  width: fit-content;
  position: relative;
  padding-left: 28px;
}

.lot__top-address-label:before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='15' viewBox='0 0 11 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 13.5C5.5 13.5 10.5 8.97826 10.5 5.58696C10.5 2.77751 8.26142 0.5 5.5 0.5C2.73858 0.5 0.5 2.77751 0.5 5.58696C0.5 8.97826 5.5 13.5 5.5 13.5Z' stroke='white'/%3E%3Cpath d='M7.09743 5.3751C7.09743 6.27257 6.38233 7.0001 5.5002 7.0001C4.61808 7.0001 3.90298 6.27257 3.90298 5.3751C3.90298 4.47764 4.61808 3.7501 5.5002 3.7501C6.38233 3.7501 7.09743 4.47764 7.09743 5.3751Z' stroke='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.lot__top-address-text .big {
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  color: #2e2d35;
}

.lot__top-address-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
  line-height: 100%;
  color: #4d6c7b;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  padding-left: 16px;
}

.lot__top-address-link:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.17723 0.0394426C9.61439 -0.13471 10.0478 0.298655 9.8736 0.735815L6.35215 9.57538C6.17099 10.0301 5.52523 10.0241 5.35257 9.56608L4.06773 6.15779C4.01335 6.01353 3.89949 5.89967 3.75523 5.84528L0.346964 4.56047C-0.111069 4.38781 -0.117076 3.74205 0.337665 3.56089L9.17723 0.0394426Z' fill='%234D6C7B'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.lot__top-address-link:hover {
  text-decoration: underline;
}

div.lot__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.lot__info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 312px;
}

.lot__info-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #4d6c7b;
}

.lot__info-top .bold {
  font-weight: 700;
  color: #2e2d35;
}

.lot__info-batch {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 0.5px solid #00cd86;
  border-radius: 6px;
  padding: 2px 8px;
  width: fit-content;
  font-size: 16px;
  font-weight: 500;
}

.lot__info-batch .bold {
  font-weight: 700;
}

div.lot__info-date {
  margin-top: 28px;
}

.lot__info-date-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lot__info-date-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #4d6c7b;
}

.lot__info-date-item .bold {
  color: #2e2d35;
  font-weight: 700;
}

button.lot__info-notify {
  margin-top: 15px;
  width: 100%;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  background: #FFC900;
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  position: relative;
  border: 1px solid #FFC900;
  color: #ffffff;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

button.lot__info-notify:hover {
  background: #e9b800;
  border-color: #e9b800;
}

button.lot__info-notify:active {
  transform: translateY(1px);
}

button.lot__info-notify.is-subscribed {
  background: #00cd86;
  border-color: #00cd86;
  color: #ffffff;
}

button.lot__info-notify.is-subscribed:hover {
  background: #00b377;
  border-color: #00b377;
}

button.lot__info-notify.is-loading {
  pointer-events: none;
  opacity: 0.9;
}

button.lot__info-notify.is-loading svg {
  animation: lotNotifySpin 0.8s linear infinite;
}

@keyframes lotNotifySpin {
  to {
    transform: rotate(360deg);
  }
}

div.lot__info-history {
  margin-top: 0;
}

.lot__info-history-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lot__info-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #4d6c7b;
}

.lot__info-history-item .bold {
  color: #2e2d35;
  font-weight: 700;
}

.lot__info-history-button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #00cd86;
  border-radius: 8px;
  padding: 6px 8px;
  width: 100%;
  margin-top: 8px;
  background: transparent;
  color: #4d6c7b;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lot__info-history-button:hover {
  background-color: rgba(0, 205, 134, 0.1);
}

#reservations-history-content .lot-history-list {
  width: 100%;
  overflow-x: auto;
}

#reservations-history-content .lot-history-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#reservations-history-content .lot-history-card {
  border: 1px solid #dfe6ea;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
}

#reservations-history-content .lot-history-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed #e8edef;
}

#reservations-history-content .lot-history-card__row:last-child {
  border-bottom: 0;
}

#reservations-history-content .lot-history-card__label {
  color: #6f7e86;
  font-size: 12px;
  line-height: 1.3;
  flex-shrink: 0;
}

#reservations-history-content .lot-history-card__value {
  color: #2e2d35;
  font-size: 13px;
  line-height: 1.3;
  text-align: right;
}

#reservations-history-content .lot-history-card__value .lot-status {
  margin-top: 0;
}

.lot__buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 399px;
}

div.lot__bet {
  background-color: #4d6c7b;
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Модификаторы статуса блока приёма заявок */
div.lot__bet--status-created {
  /* базовый фон по умолчанию (как раньше) */
}

div.lot__bet--status-active {
  background-color: #00cd86;
}

div.lot__bet--status-partial_reserved {
  background-color: #ff1744;
}

div.lot__bet--status-active_warning {
  background-color: #ffc900;
}

div.lot__bet--status-ended {
  background-color: #ff1744;
}

/* ENDED - полностью продан (серый фон, как FULLY_RESERVED) */
div.lot__bet--status-ended_fully_sold {
  background-color: #f4f6f6;
}

/* ENDED - частично продан (темный фон) */
div.lot__bet--status-ended_partial {
  background-color: #4D6C7B;
}

div.lot__bet--status-fully_reserved,
div.lot__bet--status-canceled {
  background-color: #f4f6f6;
}

.lot__bet-title {
  font-weight: 700;
  font-style: normal;
  font-size: 18px;
  line-height: 100%;
  text-transform: uppercase;
  color: #fff;
}

.lot__bet-title--dark {
  color: #2e2d35;
}

.lot__bet-title--sold {
  color: #2E2D35;
}

/* Светлый заголовок на темном фоне (для частичной продажи) */
.lot__bet-title--light {
  color: #ffffff;
}

.lot__bet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

div.bet__time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

div.bet__time-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background-color: #fff;
  border-radius: 24px;
  padding: 12px 8px;
  min-width: 76px;
  height: 76px;
}

span.bet__time-label {
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  color: #2e2d35;
}

.new-detail__inner span.bet__time-value {
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  color: #2e2d35;
}

div.bet__time-separator {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  padding: 0 4px;
}

div.lot__bid {
  margin-top: 0;
  padding: 20px 16px;
}

.lot__bid-title {
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  color: #2e2d35;
  display: block;
  margin-bottom: 18px;
}

.lot__bid .lot__bid-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.lot__bid-qty {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 0 0 auto;
}

.lot__variants {
  margin-bottom: 14px;
}

.lot__variants-title {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #2e2d35;
}

.lot__variants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lot__variant {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #d5dbe0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  color: #2e2d35;
  transition: border-color .15s, background-color .15s;
}

.lot__variant:hover:not(:disabled) {
  border-color: #00cd86;
}

.lot__variant.is-selected {
  border-color: #00cd86;
  background: #e6faf3;
}

.lot__variant:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.lot__variant--empty .lot__variant-value {
  text-decoration: line-through;
}

.lot__variant-value {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.lot__variant-stock {
  font-size: 11px;
  color: #6b7a83;
}

.lot__variants-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7a83;
}

.lot__bid-user-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #d9e4ea;
  border-radius: 10px;
  background: #f4f8fa;
}

.lot__bid-user-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lot__bid-user-info-label {
  font-size: 12px;
  line-height: 1.2;
  color: #6f7e86;
}

.lot__bid-user-info-value {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #2e2d35;
}

.lot__bid-user-info-note {
  margin: -2px 0 12px;
  font-size: 12px;
  line-height: 1.35;
  color: #6f7e86;
}

.lot__bid-user-info-value--status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid transparent;
  font-size: 13px;
}

.lot__bid-user-info-value--status-pending {
  color: #8a6d00;
  background: #fff6d6;
  border-color: #ffd76a;
}

.lot__bid-user-info-value--status-holded,
.lot__bid-user-info-value--status-mixed {
  color: #2f5566;
  background: #e8f3f8;
  border-color: #bcd5e2;
}

.lot__bid-user-info-value--status-captured {
  color: #0f6b4d;
  background: #e2f7ef;
  border-color: #9ddfc2;
}

.lot__bid-user-info-value--status-unknown {
  color: #4d6c7b;
  background: #edf3f6;
  border-color: #d4e1e8;
}


.lot__bid .lot__bid-number {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  border: 1px solid #4d6c7b;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.lot__quantity-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: #c0392b;
}

.lot__quantity-hint[hidden] {
  display: none;
}

.bet-counter__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  background: #f5f5f5;
}

.bet-counter__text {
  padding: 0 8px;
  font-size: 14px;
  color: #4d6c7b;
}

button.lot__bid-reserve {
  flex: 0 1 auto;
  align-self: flex-start;
  height: 43px;
  min-width: 0;
  border-radius: 10px;
}

button.lot__bid-reserve.button--disabled,
button.lot__bid-reserve:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.lot__bid-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: #4d6c7b;
}

.lot__bid-total {
  font-size: 24px;
  color: #2e2d35;
}

/* Общий размер и оформление больших кнопок, которые заменяют таймер */
.lot__bet-main-btn {
  width: 100%;
  border-radius: 24px;
  font-weight: 700;
  font-style: normal;
  font-size: 22px;
  margin: 16px 0 0px;
  padding: 15px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
}

/* Кнопки для различных статусов (для основных кнопок в блоке лота) */
.lot__bet-main-btn--green {
  background: #00cd86;
  color: #fff;
}

.lot__bet-main-btn--yellow {
  background: #ffc900;
  color: #fff;
}

a.lot__bet-main-btn--white,
button.lot__bet-main-btn--white {
  background: #ffffff;
  color: #2e2d35;
}

/* В статусе CANCELED две основные кнопки должны стоять в ряд */
div.lot__bet--status-canceled .lot__bet-actions {
  flex-wrap: nowrap;
}

div.lot__bet--status-canceled .lot__bet-main-btn {
  width: 50%;
  font-weight: 700;
  font-size: 14px;
  border-radius: 16px;
}

.lot__bet-main-btn--yellow {
  white-space: normal;    
  line-height: 1.2;
  word-wrap: break-word;
  padding: 5px 0;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .lot__top {
    grid-template-columns: 1fr;
  }

  .lot__inner {
    grid-template-columns: 1fr;
  }

  .bet__time-inner {
    min-width: 60px;
    padding: 10px 6px;
  }

  .bet__time-value {
    font-size: 20px;
  }

  .bet__time-label {
    font-size: 9px;
  }
}

@media (max-width: 768px) {
  .lot__bid .lot__bid-inner {
    flex-direction: column;
  }

  .lot__bid-reserve {
    width: 100%;
  }

  .bet__time {
    gap: 4px;
  }

  .bet__time-inner {
    min-width: 50px;
    padding: 8px 4px;
  }

  .bet__time-value {
    font-size: 18px;
  }

  .bet__time-label {
    font-size: 8px;
  }
}

/* Адаптивность для горизонтального телефона и ниже (768px) */
@media (max-width: 48rem) {
  section.lot {
    padding: 0;
    margin-top: 16px;
  }

  .lot__top {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .lot__top-seller {
    width: 100%;
  }

  .lot__top-seller-inner {
    padding: 8px;
  }

  .lot__top-address {
    width: 100%;
  }

  .lot__top-address-inner {
    gap: 8px;
  }

  .lot__top-address-text {
    gap: 6px;
  }

  .lot__top-address-label {
    font-size: 11px;
    padding: 3px 6px;
  }

  .lot__top-address-text .big {
    font-size: 13px;
  }

  .lot__top-address-link {
    font-size: 11px;
  }

  div.lot__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .lot__info {
    width: 100%;
  }

  .lot__info-top {
    font-size: 14px;
    gap: 8px;
  }

  .lot__info-batch {
    font-size: 14px;
    gap: 12px;
    padding: 2px 6px;
  }

  div.lot__info-date {
    margin-top: 16px;
  }

  .lot__info-date-list {
    gap: 4px;
  }

  .lot__info-date-item {
    font-size: 12px;
    padding: 2px 0;
  }

  button.lot__info-notify {
    margin-top: 12px;
    padding: 8px;
    font-size: 13px;
  }

  button.lot__info-notify svg {
    width: 12px;
    height: 13px;
  }

  div.lot__info-history {
    margin-top: 12px;
  }

  .lot__info-history-item {
    font-size: 12px;
  }

  .lot__info-history-button {
    padding: 8px 6px;
    font-size: 12px;
    margin-top: 8px;
  }

  .lot__info-history-button svg {
    width: 14px;
    height: 14px;
  }

  .lot__buttons {
    width: 100%;
  }

  div.lot__bet {
    padding: 12px 16px;
    gap: 16px;
  }

  .lot__bet-title {
    font-size: 14px;
  }

  div.bet__time {
    gap: 4px;
    flex-wrap: wrap;
  }

  div.bet__time-inner {
    min-width: 55px;
    height: 55px;
    padding: 6px 4px;
    gap: 2px;
  }

  span.bet__time-label {
    font-size: 10px;
  }

  .new-detail__inner span.bet__time-value {
    font-size: 18px;
  }

  div.bet__time-separator {
    font-size: 18px;
    padding: 0 2px;
  }

  div.lot__bid {
    padding: 16px 12px;
  }

  .lot__bid-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .lot__bid .lot__bid-inner {
    flex-direction: column;
    gap: 10px;
  }

  .lot__bid-user-info {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
  }

  .lot__bid-user-info-note {
    margin: -2px 0 10px;
    font-size: 11px;
  }


  .lot__bid-qty,
  .lot__bid-number {
    width: 100%;
  }

  .bet-counter__input {
    flex: 1;
  }

  button.lot__bid-reserve {
    width: 100%;
  }

  .lot__bid-footer {
    font-size: 16px;
    margin-top: 12px;
  }

  .lot__bid-total {
    font-size: 20px;
  }

  .catalog__title h1 {
    font-size: 28px;
  }
}

/* Адаптивность для планшетов (768px - 1024px) */
@media (max-width: 64rem) and (min-width: 48rem) {
  .catalog__title h1 {
    font-size: 36px;
  }
}

/* Адаптивность для маленьких планшетов и больших телефонов (480px - 768px) */
@media (max-width: 48rem) and (min-width: 30rem) {
  .catalog__title h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .new-detail__inner .new-detail__info {
    font-size: 15px;
    line-height: 1.55;
  }

  .new-detail__inner .new-detail__info h3 {
    font-size: 18px;
    margin: 18px 0 8px;
  }
}

/* Адаптивность для мобильных устройств (до 480px) */
@media (max-width: 30rem) {
  .catalog__title h1 {
    font-size: 20px;
    line-height: 1.2;
  }

  .new-detail__inner .new-detail__info {
    font-size: 14px;
    line-height: 1.5;
  }

  .new-detail__inner .new-detail__info h3 {
    font-size: 16px;
    margin: 16px 0 8px;
  }
}

/* Скрытие нижней галереи на мобильных версиях */
@media (max-width: 48rem) {
  .catalog__detail-gallery-new .catalog__detail-gallery--bottom-wrapper {
    display: none;
  }

  /* Улучшение адаптации для lot__top-address-label */
  .lot__top-address-label {
    padding-left: 28px;
    font-size: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .lot__top-address-label:before {
    left: 6px;
    width: 10px;
    height: 13px;
  }
}

/* Адаптация для маленьких экранов (до 480px) */
@media (max-width: 30rem) {
  .lot__top-address-label {
    padding-left: 26px;
    font-size: 9px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 6px;
  }

  .lot__top-address-label:before {
    left: 5px;
    width: 9px;
    height: 12px;
  }
}

/* Адаптивность для ширины 1290px и ниже, но не ниже 1000px */
@media (max-width: 79.375rem) and (min-width: 62.5rem) {
  .lot__top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lot__top-seller {
    width: 100%;
  }

  .lot__top-address {
    width: 100%;
  }

  div.lot__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lot__info {
    width: 100%;
  }

  .lot__buttons {
    width: 100%;
  }

  div.lot__bet {
    padding: 16px 20px;
  }

  div.bet__time {
    gap: 4px;
    flex-wrap: wrap;
  }

  div.bet__time-inner {
    min-width: 60px;
    height: 60px;
    padding: 8px 6px;
  }

  span.bet__time-label {
    font-size: 12px;
  }

  .new-detail__inner span.bet__time-value {
    font-size: 20px;
  }

  div.bet__time-separator {
    font-size: 20px;
  }

  .lot__bid .lot__bid-inner {
    flex-direction: column;
    gap: 12px;
  }

  button.lot__bid-reserve {
    width: 100%;
  }

  .bet-counter {
    width: 100%;
    justify-content: space-between;
  }
}



/* End */


/* Start:/local/templates/.default/components/bitrix/breadcrumb/breadcrumb/style.css?17903099271023*/
ul.breadcrumbs__list {
  flex-wrap: nowrap;
  overflow: hidden;
}

.breadcrumbs__list > li {
  white-space: nowrap;
}

.breadcrumbs__list > li span,
.breadcrumbs__list > li a {
  white-space: nowrap;
}

.breadcrumbs__list > li:last-child {
  min-width: 0;
  overflow: hidden;
  flex-shrink: 1;
}

.breadcrumbs__list > li:last-child span,
.breadcrumbs__list > li:last-child a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 48rem) {
  ul.breadcrumbs__list {
    flex-wrap: wrap;
    overflow: visible;
    gap: 6px;
  }

  .breadcrumbs__list > li {
    white-space: nowrap;
  }

  .breadcrumbs__list > li:last-child {
    overflow: visible;
  }

  .breadcrumbs__list > li:last-child span,
  .breadcrumbs__list > li:last-child a {
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
  }

  .breadcrumbs .separator {
    width: 5px;
    height: 8px;
    flex: 0 0 5px;
    background-size: contain;
    opacity: 1;
  }
}

/* End */


/* Start:/local/templates/.default/components/bitrix/catalog.section/catalog_grid/style.css?1790309927786*/
/* Статусы лота в каталоге */
.lot-status {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
}

/* Лот не активен */
.lot-status--inactive {
  background-color: #f4f6f6;
  color: #6c757d;
}

/* Ожидает решения продавца */
.lot-status--pending {
  background-color: #fff3cd;
  color: #856404;
}

/* Лот продан */
.lot-status--sold {
  background-color: #d4edda;
  color: #155724;
}

/* Лот продан частично */
.lot-status--partial {
  background-color: #4D6C7B;
  color: #ffffff;
}

/* Продажа отменена */
.lot-status--canceled {
  background-color: #f8d7da;
  color: #721c24;
}

/* End */
/* /local/templates/.default/components/bitrix/catalog.element/.default/style.css?179194195428898 */
/* /local/templates/.default/components/bitrix/breadcrumb/breadcrumb/style.css?17903099271023 */
/* /local/templates/.default/components/bitrix/catalog.section/catalog_grid/style.css?1790309927786 */
