.brands-description-item{
    text-decoration: none;
}

.brands-description-info{
    color: black;
}

.brands-description-item_cover .img{
    height: 100%;
    object-fit: cover;
}

.question-form-checks{
    flex-wrap: wrap;
}

.catalog-sort__inner{
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    padding: 5px;
    border: 1px solid rgb(43, 46, 56);
    width: 133%;
    display: none;
}

.catalog-sort__inner-active{
    display: block;
}

.catalog-sort__item{
    display: block;
    font-size: 13px;
    text-decoration: none;
    color: rgb(43, 46, 56);
    line-height: 1;
    padding: 5px 0;
}

.pagination{
    justify-content: center;
}

.pagination-item{
    padding: 5px;
}

.pagination-item__active{
    transform: scale(1.3);
    display: inline-block;
}

[data-filters] input[type="submit"],[data-filters] input[type="reset"]{
    display: flex;
    cursor: pointer;
    width: 100%;
    height: 44px;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: white;
    margin-bottom: 10px;
}

[data-filters] input[type="reset"]{
    color: white;
    background-color: #2b2e38;
}

[data-delayed][data-delayed-added], [data-header-delayed][data-delayed-added]{
    color: #222;
}

[data-offers-added]{
    padding:3px 2px;
    border: 1px solid #222;
}

[data-offers-quantity]{
    padding: 3px 2px;
    background: lightgrey;
}

.offers-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.offers-select {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.offers-select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    transition: .3s;
    z-index: 3;
    pointer-events: none;
}

.offers-select.opened .offers-select-arrow {
    transform: rotate(-180deg) translateY(50%);
}

.offers-select-trigger {
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    border: 1px solid #D3D3D3;
    border-radius: 3px;
    background: #fff;
    color: #222;
    cursor: pointer;
    padding: 0 18px;
}

.offers-options {
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 11;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 3px;
    background: #fff;
    transition: .3s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border: 1px solid #D3D3D3;
    padding: 11px 0 20px;
}

.offers-select.opened .offers-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.offers-option {
    padding: 0 20px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
    cursor: pointer;
}

.offers-option:hover{
    background: lightgrey;
}

.offers-option[data-offers-added]{
    padding: 0 20px;
    border: none;
    background: lightgrey;
}

.card-body-buttons [data-delayed][data-delayed-added]:hover{
    color: lightgrey;
}

.basket-counter{
    padding:0 8px;
}

.basket-counter [data-quantity]{
    width: 100%;
    text-align: center;
    border: none;
}

.card-body-size [data-offers-quantity]{
    background: transparent;
}

.basket-item-close{
    color: lightgrey;
    text-decoration: none;
}

.card-body-size [data-offers-added]{
    border: none;
}

.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 99;
    display: none;
}

.modal.visible{
    display: flex;
}

.modal-wrapper{
    flex-basis: 600px;
    background: #fff;
    padding: 1vw 2vw;
    overflow-y: auto;
    max-height: 100%;
}

.modal-wrapper h2{
    text-align: center;
}

.modal-wrapper form input[required], .modal-wrapper form textarea, .modal-wrapper form label{
    width: 100%;
    margin-bottom: 15px;
    display: block;
    padding: 10px;
}
.modal-wrapper form label{
    padding-left: 0;
}

.modal-wrapper form textarea{
    min-height: 100px;
}

.modal-wrapper form select{
    min-width: 50%;
    padding: 2px 4px;
}

.modal-wrapper form .order-btn{
    display: flex;
    margin-top: 20px;
    justify-content: center;
}