header.position-sticky {
  position: static !important;
}

.model-img {
  max-height: 100%;
  max-width: 100%;
}

.color-bar {
  column-gap: 0.65rem;
  row-gap: 0.5rem;
}

.color-bar__item {
  width: 27px;
  height: 27px;
  min-width: 27px;
  min-height: 27px;
  border-radius: 50%;
  border: 1px solid rgba(105, 114, 121, 0.6);
}

.color-bar__item.active {
  border-color: var(--bs-dark);
}

.model-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #fff;
  transition: all 0.3s ease;
}

.model-header.active {
  --bs-bg-opacity: 0.9 !important;
  background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
  --bs-text-opacity: 1;
  color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
}

.model-header.active .list-group-item {
  color: #fff;
  border-color: #fff;
}

.car-main-img {
  height: 250px;
}

.conf-row {
  overflow-x: auto;
  padding-bottom: 3px;
}

.conf-row::-webkit-scrollbar {
  height: 5px;
}

.menu-section {
  border-bottom: 1px solid transparent;
}

.menu-section.active {
  border-bottom: 1px solid #fff;
}

.sale-item__check:checked {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
}

.sale-item__check:focus {
  border-color: #ccc !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ccc'/%3e%3c/svg%3e") !important;
}

.menu-toggle .menu-toggle__svg {
  transition: transform 0.3s ease-in-out 0s;
}

.menu-toggle:not(.collapsed) .menu-toggle__svg {
  transform: matrix(-1, 0, -0, -1, 0, 0);
}

.card p {
  font-size: 14px;
}

@media (max-width: 768px) {
  .color-bar {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    padding-bottom: 3px;
  }
  .color-bar::-webkit-scrollbar {
    height: 5px;
  }
  .color-bar::-webkit-scrollbar-thumb {
    background: #e9e9e9;
  }
  .color-bar::-webkit-scrollbar-thumb {
    background: #e9e9e9;
  }
  .car-main-img {
    height: auto;
  }
  .photo-row {
    overflow-x: scroll;
    padding-bottom: 5px;
  }
  .photo-row::-webkit-scrollbar {
    height: 5px;
  }
  .menu-section {
    width: 100%;
  }
}

@media (max-width: 350px) {
  .conf-price-row {
    display: block !important;
  }
}
