/* === Шрифты === */
@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&family=Manrope:wght@400;500;600;700&display=swap');

/* === Mini Reset === */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
.page {
  min-height: 100vh;      /* минимум высота экрана */
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}



/* === Глобальные переменные === */
:root {
  /* Цвета */
  --color-bg: #e9e9e7;
  --color-text: #1a1a1a;
  --color-muted: #666666;
  --color-accent: #d0e5a0;
  --color-cta: #92c755;
  --color-sub-accent: #dbe2c9;
  --color-blu: #a0d3e5;
  --color-accent-text: #2f3a22;
  --color-border: rgba(0, 0, 0, 0.3);

  /* Шрифты */
  --font-heading: 'Play', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Типографика */
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --font-size-h1: 2.25rem; /* ~36px */
  --font-size-h2: 1.75rem; /* ~28px */
  --font-size-h3: 1.1rem;  
  --line-height-base: 1.6;
  --line-height-heading: 1.25;

  /* Отступы и радиусы */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-card: 20px;

  /* Тени */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.08);

  --header-h: 64px;
}

/* === Базовые стили === */
html {
  font-size: 100%; /* 16px по умолчанию */
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Контейнер */
.site-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem;
}
.nav-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 6px 1rem;
}

/* === МЕНЮ БУРГЕР === */

.burger {
  width: 36px;
  height: 36px;
  margin: -6px;
  display: inline-block;
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;

  /* чтобы браузер рисовал аккуратнее при трансформациях */
  -webkit-font-smoothing: antialiased;
}

.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;

  transform: translate(-50%, -50%);
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(.2,.9,.2,1), opacity 0.15s ease;
  will-change: transform;
}

/* CLOSED верхняя и нижняя — сдвигаем относительно центра */
.burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.burger span:nth-child(2) { transform: translate(-50%, -50%); }
.burger span:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }

/* OPEN */
.burger.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: translate(-50%, -50%) scaleX(0.6); }
.burger.is-open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }


/* === Заголовки === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--line-height-heading);
  margin-top: 0px;
  margin-bottom: 0.5em;
  font-weight: 700;
  color: var(--color-text);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

/* === Текст === */
p {
  margin-top: 0;
  margin-bottom: 1em;
  color: var(--color-text);
}

small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: var(--color-accent);
  transition: box-shadow 0.5s ease;
}
.site-footer {
  background: var(--color-accent);
  padding: 18px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  padding-bottom: 8px;
  align-items: baseline;
  justify-content: space-evenly;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-right-block {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cart-block {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 2px 8px;
}
/* тень только когда "прилип" */
.site-header.is-stuck {
  box-shadow: 0 6px 10px -6px rgba(0,0,0,.25);
}

.site-filter.is-stuck {
  box-shadow: 0 6px 10px -6px rgba(0,0,0,.25);
}

/* панель фильтра */
.site-filter {
  position: sticky;
  top: calc(var(--header-h) - 1px);
  padding: 8px 16px;
  z-index: 1100;
  background-color: #e0e0e0;
  transition: box-shadow 0.3s ease;
}

#before-filter-bar {
  position: relative;
  top: calc(0px - var(--header-h));
}


/* === Ссылки === */
a {
  color: var(--color-accent-text);
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover {
  color: color-mix(in srgb, var(--color-accent), black 20%);
}

a.site-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}
/* === Кнопки === */
button {
  font-family: inherit;
  font-size: var(--font-size-base);
  background-color: var(--color-accent);
  color: var(--color-accent-text);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #ccc !important;
  color: #777 !important;
  box-shadow: none;
}
button:disabled:hover {
  background-color: #ccc;
}
button.btn-sub {
  background-color: var(--color-sub-accent);
  color: var(--color-accent-text);
}
button.btn-blu {
  background-color: var(--color-blu);
}
button:hover {
  background-color: color-mix(in srgb, var(--color-accent), black 15%);
}
button.btn-blu:hover {
  background-color: color-mix(in srgb, var(--color-blu), black 15%);
}

button.btn-cta {
  background-color: var(--color-cta);
}
button.btn-cta:disabled {
  background-color: #c9e5a9;
}
button.btn-cta:hover {
  background-color: #85b94b;
}
button.btn-cta:active {
  background-color: #78aa41;
}

.qb-acc-item:not(.qb-acc-item--open) > button.qb-acc-header:hover {
  background-color: var(--color-accent);
}

button.btn-pale {
  background-color: #f7fde9;
}
button.btn-pale:hover, button.btn-grey:hover  {
  background-color: color-mix(in srgb, #f7fde9, black 15%);;
}

button.btn-grey {
  background-color: #d6d6d6;
}

/*
button:active {
  transform: scale(0.98);
}*/

/* === Изображения === */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* === Списки === */
ul, ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}

/* === Таблицы === */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5rem;
}
th, td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

/* === Мелкие утилиты === */
.text-muted { color: var(--color-muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }

/* === сетка с карточками === */
.bike-grid {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 16px; /* расстояние между карточками */
  align-items: stretch;
}

.badge {
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 4px;
    color: rgba(0, 0, 0, 0.8);
}
.badge-subscr-price {
    font-size: 11px;
}

.card-btn-wrapper .btn-book {
  grid-column: 1 / 3;
}
/* mobile */
@media (max-width: 480px) {
  .bike-grid {
    grid-template-columns: 1fr; /* одна колонка на мобильном */
  }
}

/* mobile → tablet */
@media (min-width: 600px) {
  .bike-grid {
    grid-template-columns: 1fr 1fr; 
  }
}

/* tablet portrait */
@media (min-width: 768px) {
  .bike-grid {
    grid-template-columns: 1fr 1fr; 
  }
  
}

/* tablet landscape / small desktop */
@media (min-width: 1024px) {
  .bike-grid {
    grid-template-columns: 1fr 1fr; 
  }
  .badge {
    padding: 3px 12px 4px 15px;
    font-size: 14px;
  }
  .badge-subscr-price {
    font-size: 13px;
  }
  
  .card-btn-wrapper .btn-book {
    grid-column: 2;
  }
}

/* desktop */
@media (min-width: 1280px) {
  .bike-grid:not(.in-modal) {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* wide desktop */
@media (min-width: 1600px) {}



/* === КАРТОЧКА === */
.bike-card-wrapper {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 35px 25px;
    
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bike-card {
    position: relative;
}
.bike-card__bike-info {
    padding-bottom: 14px;
}
.bike-card__actions {
  margin-top: 30px;
  text-align: right;
}
.bike-card__availability {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  margin-left: -3px;
}
.top-left-badge {
    position: absolute;
    top: 40px;
    left: -1px;
    z-index: 100;
}
@media (max-width: 768px) {
    .bike-card-wrapper {
        padding: 30px 20px;
    }
    .top-left-badge {
        top: 30px;
    }
}
.bike-grid.in-modal .bike-card-wrapper {
  padding: 30px 20px;
}



.badge--out {
  background-color: rgba(187, 187, 187, 0.8);
  color: rgba(90, 90, 90, 0.9);
}

.badge--low {
  background-color: #f4c973;
  /*color: rgba(150, 100, 0, 0.9);*/
}

.badge--available {
  background-color: #92ce99;
  /*color: rgba(40, 120, 50, 0.9);*/
}

.badge--high {
  background-color: #88bff3;
  /*color: rgba(25, 100, 170, 0.9);*/
}
.badge--subscription {
  background-color: var(--color-accent);
  color: rgba(45, 49, 36, 0.9);
}

.top-left-badge .bike-card__price {
    background-color: color-mix(in srgb, var(--color-bg) 60%, transparent);
    padding: 10px;
}
.bike-card__title {
    margin-top: 0.2em;
}

/* Список тарифов */
.tarif-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
}

.tarif-item {
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
}

.tarif-title {
  color: #333;
}

.tarif-price {
  color: #333;
  font-weight: 500;
  margin-left: 8px;
}

/* === СЛАЙДЕР ДЛЯ ФОТО ===*/
.bike-slider {
  position: relative;
}

/* Лента */
.bike-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Один слайд */
.bike-slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.bike-slider__slide img {
  width: 100%;
  display: block;
}

/* Навигация */

.bike-slider__nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.bike-slider__nav button {
    pointer-events: auto;
    font-family: var(--font-heading);
    font-size: var(--font-size-h1);
    color: var(--color-accent);
    background-color: transparent;
    padding: 0em 0.4em;
    text-align: center;
}
.bike-slider__nav button:hover {
    background-color: color-mix(in srgb, var(--color-accent) 50%, transparent);
}
@media (max-width: 768px) {
  .bike-slider__nav button {
    display: none;
  }
}
/* Точки */
.bike-slider__dots {
  display: flex;
  justify-content: center;
  margin-top: 4px;
  gap: 4px;
  height: 6px;
}

.bike-slider__dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
}

.bike-slider__dots button.is-active {
  transform: scale(1.2);
}
.bike-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  /* --- вот эти три строки скрывают полосу --- */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE и старый Edge */
}

.bike-slider__track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* --- BaseField и BaseSelect --- */

.field__input,
.field__select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 8px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background-color: #fff;
  color: #606266;
}

.field__select {
  appearance: none;     /* убирает системную стрелку */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path fill='%23999' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px 8px;
  padding-right: 28px; /* место под стрелку */
} 


.field__select, .field__input {
  outline: none;
  border: 1px solid #dcdfe6;
  transition: border-color 0.2s ease;
}

.field__select:focus, .field__select:hover, .field__input:focus, .field__input:hover {
  outline: none;
  border-color: var(--color-accent); /* или свой фирменный цвет */
  box-shadow: 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent);;
}

.announcement {
    text-align: center;
    padding: 12px;
    background-color: rgba(200, 0, 0, 0.1);
    margin-top: 30px;
    border-radius: var(--radius-sm);
}

.disclaimer {
  padding: 24px;
  margin-top: 24px;
  text-align: center;
}


.qb-dot {
  position: absolute;
  top: 13px;
  right: 14px;
}
.cart-dot {
  display: inline-block;
  margin-left: 6px;
  margin-bottom: 1px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.ok {
  /*opacity: 90%;*/
  background-color: #92c755;
}
.dot.err {
  opacity: 70%;
  background-color: #deb887;
}
.dot.critical {
  opacity: 80%;
  background-color: #e70f0f;
}

.height-badge {
    display: inline-block;
    font-size: 14px;
    color: black;
}

.text-center {
  text-align: center;
}

/* модалка qb */
.qb-error {
  font-size: 14px;
  color: #3d3d3d;
  font-style: italic;
  position: relative;
  padding-left: 24px;
  text-align: left;
}
.chkout-fld-err {
  font-size: 14px;
  color: #ff1414;
  font-style: italic;
  padding-left: 4px;
  text-align: left;
}

.qb-price-wrapper {
  text-align: right;
  padding-right: 2px;
}
.qb-price__available {
  margin-right: 6px;
}
.qb-button-wrapper {
  text-align: right;
  margin-top: 14px;
  display: flex;
  gap: 14px;
  flex-direction: column;
}
.qb-button-wrapper.in-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
}
  
.qb-subscription-wrapper {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 10px;
}
.qb-subscription__price-info {
  text-align: center;
  margin-bottom: 5px;
}
.qb-subscription__info {
  font-size: 14px;
  font-style: italic;
  text-align: right;
  padding-right: 2px;
  padding-bottom: 14px;
}

.qb-price__sum, .qb-price__sign {
  font-size: var(--font-size-h2);
  font-family: var(--font-heading);
}
.qb-price__sign {
  font-size: calc(var(--font-size-h2) - 1px);
}
.qb-price__slash, .qb-price__term {
    color: var(--color-accent-text);
    font-size: var(--font-size-lg);
}
/* Оверлей — занимает весь экран и сам не скроллится (или минимально) */
.qb-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1300;

  /* важно: колесо прокрутки будет работать по модалке, а не по body */
  /* можно оставить overflow-y: hidden, если скроллим только модалку */
  overflow: hidden;

  /* вертикальные отступы — регулируют "визуальный центр" */
  padding-top: 4vh;   /* модалка чуть выше центра */
  padding-bottom: 8vh;
}


/* Модалка — ограничиваем по высоте и даём внутренний скролл */
.qb-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 16px;
  padding: 24px 24px 20px;
  background: var(--color-bg);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);

  overflow-y: auto;       /* скролл внутри модалки */

  /* делаем высоту с учётом паддингов overlay */
  max-height: 88vh;
}

/* Заголовок */
.qb-modal__title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 600;
}
.filter-mob-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: -12px;
  grid-column: 1 / -1;
}
/* Кнопка закрытия */
.bt-close {
  border: none;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 14px;
}
.qb-modal__close {
  position: absolute;
  right: 4px;
  top: 4px;
  border: none;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
  padding: 6px 14px;
}

/* Форма */
.qb-form {
  margin-top: 8px;
}

/* Аккордеон */
.qb-accordion {
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.qb-acc-item + .qb-acc-item {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.qb-acc-header {
  width: 100%;
  border: none;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-align: left;
  flex-wrap: wrap;
  position: relative;
  padding-right: 30px;
}

.qb-acc-header__title {
  font-size: 14px;
  font-weight: 300;
  color: #606266;
}
button.qb-acc-header {
  background-color: #f0f0f0;
}
.qb-acc-header__value {
  margin-left: auto;
  margin-right: 8px;
  font-size: 15px;
  color: #313131;
  white-space: nowrap;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  font-weight: 600;
}

/* Тело аккордеона — высота анимируется через collapse-transition */
.qb-form__row {
  padding: 8px 12px 0px 12px;
}

/* Кнопки */
.qb-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.qb-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  padding: 6px 16px;
  border-radius: 4px;
  border: 1px solid #409EFF;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  color: #409EFF;
}

.qb-btn--primary {
  background: #409EFF;
  color: #fff;
}

.qb-btn--primary:hover {
  background: #66b1ff;
  border-color: #66b1ff;
}

.qb-btn--ghost:hover {
  background: #ecf5ff;
}

@media (min-width: 600px) {
  .qb-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
@media (max-width: 600px) {
  .qb-modal-overlay {
    /* вместо центрирования — растягиваем модалку на весь экран */
    justify-content: stretch;
    align-items: stretch;
    padding: 0px;
  }

  .qb-modal {
    margin: 0;                 /* убираем внешние отступы */
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;          /* без скруглений — как отдельный экран */
    padding: 16px 16px 12px;   /* можешь по вкусу уменьшить/поменять */
    box-shadow: none;          /* по желанию можно убрать тень на мобиле */
    overflow-y: auto;          /* скролл всей модалки */
  }
}

/* Подсказка */
.qb-form__hint {
  font-size: 12px;
  color: #888;
  margin-top: 12px;
}

/* Анимация появления/исчезновения модалки */
.qb-modal-fade-enter-active,
.qb-modal-fade-leave-active {
  transition: opacity 0.4s ease, background 0.4s ease;
}

.qb-modal-fade-enter,
.qb-modal-fade-leave-to {
  opacity: 0;
}

/* Блок с велосипедом */
.qb-bike {
  display: grid; 
  margin-bottom: 16px;
  position: relative;
  grid-template-columns: 1fr 1.7fr;
  align-items: center;
}

.qb-bike__photo {
    width: 100%;
    max-width: 221px;
    height: 125px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: margin 0.3s 
      ease, height 0.3s 
      ease, max-width 0.3s 
      ease;
    position: relative;
    justify-self: center;
}
.qb-bike.minimized .qb-bike__photo {
  max-width: 122px;
  height: 70px;
  margin: 0 0 0 0;
}

.cart-bike__photo {
  width: 100%;
  max-width: 141px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  justify-self: center;
}
.qb-bike__photo img, .cart-bike_photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qb-bike__text_block {
  font-size: 14px;
}
.qb-date-info {
  margin-top: -14px;
  font-size: 14px;
  margin-bottom: 16px;
}
.qb-date-info__point {
  font-style: italic;
}
.qb-note-1 {
  font-size: 12px;
  text-align: right;
  font-style: italic;
  padding-right: 3px;
}
/* Как в Element UI: плавный коллапс по высоте и паддингам */
.collapse-transition {
  transition: height 0.4s cubic-bezier(.33,1,.68,1);
}

 /* Первый блок */
.qb-accordion .qb-acc-item:first-child > button, .qb-accordion .only-item > button {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}


/* Последний блок */
.qb-accordion .qb-acc-item:last-child:not(:only-child) > button { 
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

/* Средние */
.qb-accordion .qb-acc-item:not(:first-child):not(:last-child) > button, 
.qb-accordion .qb-acc-item:last-child:not(:only-child).qb-acc-item--open > button,
.qb-accordion .qb-acc-item:last-child:not(:only-child).qb-acc-item--open-1 > button {
  border-radius: 0px;
}

.qb-acc-item--open > .qb-acc-header {
  background-color: var(--color-bg);
}

.qb-acc-item--open-1 > .qb-acc-header {
  background-color:#d0d0d0;
}

.qb-acc-header__info {
  text-align: right;
  width: 100%;
  font-size: 14px;
  padding-right: 8px;
  font-style: italic;
}
.modal-avail {
  position: absolute;
  left: 0px;
  top: 0px;
}
body.modal-open {
  overflow: hidden;
}
hr {
  display: block;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: auto;
  margin-inline-end: auto;
  color: gray;
  unicode-bidi: isolate;
  overflow: hidden;
  border-style: inset;
  border-width: 1px;
}
.hr-1 {
    margin-top: 24px;
    margin-bottom: 13px;
    width: 90%;
    color: gray;
}

/* Контейнер */
.qb-price-wrapper {
  position: relative;
  display: flex;
  justify-content: right;
  overflow: hidden;
}

/* Когда loading = true — блюрим только цену */
.qb-price-wrapper.is-loading .qb-price, .cart-bike__price.is-loading {
  filter: blur(3px);
  opacity: 0.6;
  position: relative;
}

/* Блик-анимация — вешаем на .qb-price, а не wrapper */
.qb-price-wrapper.is-loading .qb-price::after, .cart-bike__price.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(255, 255, 255, 0) 90%
  );

  animation: qb-shimmer 1.4s infinite;
  pointer-events: none;
}

/* Ключевая анимация */
@keyframes qb-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 14px;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.toast-fade-enter-active,
.toast-fade-leave-active {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-fade-enter {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

.toast-fade-leave-to {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}
.card-btn-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 12px;
}



.qb-cart {
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 6px 12px 12px 12px;
}

.qb-cart__buttons {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
  margin-top: 10px;
}

.qb-cart__heights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

@media (max-width: 500px) {
  button {
    font-size: 14px;
  }
  .qb-button-wrapper.in-row-2 {
      grid-template-columns: 1fr 1fr;
  }
  .card-btn-wrapper {
    font-size: 14px;
  }
}


.qb-cart__text {
  margin-bottom: 0px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qb-basket-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}