/** Shopify CDN: Minification failed

Line 67:3 Cannot use type selector "__column" directly after nesting selector "&"
Line 97:3 Cannot use type selector "__details" directly after nesting selector "&"
Line 102:3 Cannot use type selector "__vendor" directly after nesting selector "&"
Line 106:3 Cannot use type selector "__title" directly after nesting selector "&"

**/
@import '../shopify-generic/search.css';

#MainContent {
  background-color: #fff;
}

.cm_garage {
  .garage-icon {
    margin-top: 4px;
  }

  .add-vehicle {
    background-color: #00284f;

    &:hover {
      background-color: #00284f;
      filter: brightness(80%);
    }
  }

  .garage-size {
    position: absolute;
    top: -4px;
    right: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #00284f;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
  }
}

.header__icon .garage-label {
  display: none;
}

.cm_search-box_submit {
  background-color: #00284f !important;
}

.cm-search-box .icon.icon-search {
  position: unset;
  transform: unset;
}

@media screen and (min-width: 750px) {
  .max-w-l {
    max-width: unset;
  }
}

.cm_vehicle-widget {
  &__column {
    margin-bottom: 1.2rem;
  }
}

.badge-stock-dot::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  background-color: currentColor;
}

.badge-stock-in {
  color: rgb(13, 164, 74);
}

.badge-stock-warning {
  color: rgb(255, 165, 0);
}

.badge-stock-out {
  color: rgb(227, 43, 43);
}

.cm_product-item {
  padding: 1rem 2rem;

  &__details {
    padding-bottom: 1.7rem;
    padding-top: 1rem;
  }

  &__vendor {
    color: rgb(var(--color-foreground));
  }

  &__title {
    color: rgb(var(--color-foreground));
  }

  .card__badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
    display: inline-flex;
  }

  .card-information {
    margin: 0.7rem 0;
  }

  .price {
    margin-top: 0.7rem;

    .price--on-sale .price-item--sale {
      color: #d00;
      font-weight: 600;
    }
  }
}

.cm-search-page {
  .cm_button.cm_button__primary {
    background-color: #00284f !important;
  }
}
