@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

.checkbrand {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.checkbrand+span {
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.checkbrand+span::before {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #adb5bd;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.checkbrand:checked+span {
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.checkbrand:checked+span:before {
    content: "\2713";
    line-height: 11px;
}

/* @keyframes shrink-bounce {
   0% {
      transform: scale(1);
   }
   33% {
      transform: scale(0.85);
   }
   100% {
      transform: scale(1);
   }
}
@keyframes checkbox-check {
   0% {
      width: 0;
      height: 0;
      border-color: #212121;
      transform: translate3d(0, 0, 0) rotate(45deg);
   }
   33% {
      width: 0.2em;
      height: 0;
      transform: translate3d(0, 0, 0) rotate(45deg);
   }
   100% {
      width: 0.2em;
      height: 0.5em;
      border-color: #212121;
      transform: translate3d(0, -0.5em, 0) rotate(45deg);
   }
} */

/* .all-brands__item input[type="checkbox"]:checked + label {
   border: 1px solid red;
   height: 5px;
   width: 5px;
} */

.form-control {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.brand_name {
    margin-left: 5px;
    display: block;
}

.wrapper {
    width: 90%;
    height: auto;

    margin: 0 auto;
}

h1 {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 60px;
    line-height: 70px;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;

    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
}

.title {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 50px;
    line-height: 59px;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #171e26;
}

.title_min {
    font-size: 35px;
    line-height: 41px;
}

.title_white {
    color: #efeded;
}

/* Крошки хлебные */
.breadcrumb {
    width: 100%;
    height: auto;
    padding: 10px 0;
    box-sizing: border-box;
}

.breadcrumb a {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 18px;
    text-transform: uppercase;
    color: #2f3c4b;

    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #a68e6a;
}

/* Алфавит сортровка */
.alphabet {
    width: 100%;
    height: auto;

    margin-bottom: 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 35px;
    text-align: center;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #a68e6a;
}

.alphabet p {
    display: block;
    width: 100%;
    height: auto;
}

.alphabet .all-brands__title {
    display: block;
    width: 100%;
    height: auto;

    margin-top: 20px;

    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    text-decoration-line: underline;
    color: #a68e6a;
    letter-spacing: normal;

    cursor: pointer;
}

.all-brands {
    width: 100%;
    overflow-y: auto;
    height: 163px;
    display: flex;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    background: #ffffff;
    box-sizing: border-box;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 25%);
    display: none;
    padding: 20px 40px;
    margin-top: 30px;
}

.all-brands::-webkit-scrollbar {
    width: 10px;
}

.all-brands::-webkit-scrollbar-track {
    -webkit-box-shadow: 5px 5px 5px -5px rgb(34 60 80 / 20%) inset;
    background-color: #ffe2bf;
    border-radius: 5px;
}

.all-brands::-webkit-scrollbar-thumb {
    background-color: #a68e6a;
    border-radius: 5px;
    border: 1px solid #663d006b;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: 5px 5px 5px -5px rgb(34 60 80 / 20%) inset;
    background-color: #181e2663;
    border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
    background-color: #a68e6a;
    border-radius: 5px;
    border: 1px solid #181e26;
}

.all-brands__item {
    width: 33%;
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 18px;
    font-variant: small-caps;
    text-align: left;
    letter-spacing: normal;
    color: #2f3c4b;
    margin: 5px 0;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

/* курс валют */
.rate {
    width: 100%;
    height: auto;
    padding: 12px 0;
    box-sizing: border-box;
    background: #efeded;

    display: flex;
    justify-content: center;
    align-items: center;
}

.rate p {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 23px;
    text-transform: uppercase;
    color: #2f3c4b;
}

.rate__dollar,
.rate__title {
    margin-right: 20px;
}

.title_catalog {
    display: block;
    margin: 30px 0;
}

/* Слайдер */
.prev {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(0, -50%);
    z-index: 2;
    cursor: pointer;
    height: 5%;
    display: flex;
}

.next {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translate(0, -50%);
    z-index: 2;
    cursor: pointer;
    height: 5%;
    display: flex;
}

/* разнообразие брендов */
.brands {
    width: 100%;
    height: auto;
}

.brands__inner {
    width: 100%;
    height: auto;
    padding: 75px 0px;
}

.title_brands {
    margin-bottom: 50px;
}

.brands__slider {
    padding: 0 50px;
}

.brands__item {
    width: 70%;
    height: auto;
    object-fit: contain;
}

.brands__item img {
    width: 300px;
    height: 210px;
    object-fit: contain;
}

/* Товары со скидкой */
.discount {
    width: 100%;
    height: auto;
    margin-bottom: 70px;
}

.title__discount {
    margin-bottom: 70px;
}

.discount__inner {
    width: 100%;
    height: auto;
    padding: 0 50px;
    box-sizing: border-box;
}

/* Карточка товара */
.item__card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}

.item__card:hover .item__img img {
    transform: scale(0.9);
}

.item__img {
    width: 90%;
    height: 230px;
    overflow: hidden;
    margin-bottom: 40px;
}

.item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

/* Исключение из общих стилей для карточек в слайдерах */
.discount__slider .item__card .item__img img {
    /**/
    object-fit: contain;
    /**/
}

/**/
/* Исключение из общих стилей для карточек в слайдерах */

.item__title {
    margin-top: 10px;
    font-size: 16px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 258px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    line-height: 23px;
    text-align: center;
    text-transform: uppercase;
    color: #171e26;

    margin-bottom: 10px;
}

.item__price_old {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    text-decoration: line-through;
    text-transform: uppercase;
    color: #a68e6a;
}

.item__price {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 23px;
    line-height: 27px;
    text-align: center;
    text-transform: uppercase;
    color: #a68e6a;
}

.item__title-brand {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    color: #a68e6a;
}

.item__info {
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;

    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 18px;
    font-variant: small-caps;

    color: #2f3c4b;
    margin-top: 10px;
    padding: 0 5%;
    box-sizing: border-box;
}

.item__buy {
    padding: 5px 20px;
    border: 1px solid #a68e6a;
    box-sizing: border-box;
    border-radius: 5px;
    cursor: pointer;
}

.item__tools {
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    margin-top: 10px;
}

.item__tools div {
    margin-top: 18px;
    width: 20px;
    margin: 0 20px;
    cursor: pointer;
}

.item__tools div img:hover {
    height: 50px;
    position: absolute;
    margin-top: -28px;
    margin-left: -10px;
}

/* Медиа */
@media (min-width: 1600px) {
    .wrapper {
        max-width: 1440px;
    }

    .header__inner {
        max-width: 1440px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 50px;
        line-height: 55px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 30px;
        line-height: 35px;
    }

    .title {
        font-size: 30px;
        line-height: 35px;
    }

    .brands__item {
        width: 100%;
    }
}

.loader {
    margin: auto;
    border: 10px solid #EAF0F6;
    border-radius: 50%;
    border-top: 10px solid #FF7A59;
    width: 80px;
    height: 80px;
    animation: spinner 3s linear infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}