

/* Start:/local/templates/tskdetail/components/bitrix/sale.basket.basket/main/style.css?17709723588612*/
.basket-wrp {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-gap: 20px;
}

.basket__content {
    margin-top: 20px;
}

.product__count--wrapper-action {
    display: flex;
    justify-content: end;
    margin-bottom: 10px;
    gap: 10px;
}

.product__remove {
    display: flex;
    align-items: center;
    border: 1px solid #e6e8eb;
    border-radius: 6px;
    width: 60px;
    justify-content: center;
}

.product__remove svg {
    width: 20px;
}

.catalog__card-price {
    text-align: left;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product__price-note {
    font-size: 12px;
    font-weight: 300;
    color: #475569;
    line-height: 1;
    opacity: .6;
}

.basket__items .catalog__card-body {
    grid-template-columns: 3fr 1fr 1fr 1fr;
}

.basket__side-menu {
    position: sticky;
    top: 20px;
}

.basket__action {
    padding: 20px;
    box-shadow: 0 0 20px 0px rgb(1 1 1 / 14%);
    border-radius: 6px;
}

.basket__items .counter__button {
    min-width: 18px;
}

.basket__action-btn {
    width: 100%;
}

.basket__final-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 28px;
    font-weight: 700;
}

.final-price__note {
    font-size: 14px;
    font-weight: 300;
    color: #475569;
    line-height: 1;
    opacity: .6;
}

.basket__action-note p {
    font-size: 14px;
    color: #475569;
    line-height: 1.4;
    opacity: .6;
    margin: 10px 0;
}

#order-comment {
    border-color: #e6e8eb;
    background-color: #f5f5f5;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    resize: none;
}

.basket__items .product__count {
    display: flex;
    gap: 5px;
}

.basket__top-actions {
    margin-top: 24px;
    display: flex;
    gap: 40px;
    margin-bottom: 16px;
}

.custom-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remove-all-items-in-basket {
    display: flex;
    gap: 5px;
    align-items: center;
}

.remove-all-items-in-basket svg {
    width: 24px;
    height: 24px;
}

.basket__top-actions-select .checkbox__input {
    width: 18px;
    height: 18px;
}

.basket__top-actions-select label {
    font-size: 16px;
    color: #94A3B8;
    font-weight: 500;
}

.basket__top-actions-select .checkbox {
    display: flex;
    align-items: center;
}

.basket__items .catalog__card-inner {
    display: flex;
    gap: 5px;
    align-items: center;
}

.basket__items .checkbox__input {
    width: 18px;
    height: 18px;
    min-width: 18px;
}

.basket__items .catalog__card-inner {
    position: relative;
    gap: 0;
}

.basket__items .catalog__card-img {
    margin: 0 14px 0 10px;
    min-width: 80px;
}

.basket__items .catalog__card-img img {
    width: 100%;
}

.catalog__card-img img {
    border: 1px solid #e1e1e1;
}

.basket__top-actions-exel button {
    display: flex;
    gap: 5px;
    align-items: center;
}

.basket__top-actions-exel button svg {
    width: 24px;
    height: 24px;
}

.basket__top-actions-exel button span {
    font-size: 16px;
    color: #94A3B8;
    font-weight: 500;
    line-height: 1;
}

.basket__top-actions-exel {
    margin-left: auto;
}

.basket__top-actions-exel svg {
    fill: #bbbabb;
}

.basket__count-info {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.count-info__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed #dddddd;
}

.count-info__item span {
    background: #fff;
    position: relative;
    transform: translateY(6px);
    padding-right: 10px;
}

.count-info__item span:nth-child(2) {
    padding-right: 0;
    padding-left: 10px;
}

.clear-articul {
    display: none;
}

@media (max-width: 1100px) {
    .basket-wrp {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 30px;
    }
}

@media (max-width: 970px) {
    .basket__top-actions{
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .basket__top-actions-exel{
        margin-left: 0;
    }
    .basket__top-actions-select{
        display: none;
    }
    .basket__items .catalog__card-inner{
        flex-direction: column;
        align-items: flex-start;
    }
    .basket__items .catalog__card-img{
        margin: 0;
        margin-bottom: 20px;
    }
    .catalog__card-body{
        display: flex;
        flex-wrap: wrap;
    }
    .basket__items .checkbox__input{
        display: none;
    }
    .basket__items .catalog__card-body .title{
        width: 100%;
    }
    .basket__items .product__count--wrapper{
        margin-left: auto;
    }
    .basket__items .catalog__card-body{
        width: 100%;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .basket__items .catalog__card-price{
        width: 40%;
    }
}

.basket__delivery{
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.basket__delivery label{
    font-size: 14px;
    opacity: .5;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e6e8eb !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #2354ce !important;
}
/* Стилизация чекбокса под точку */
.cart__item-checkbox {
  position: absolute;
left: 12px;
top: 24px;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart__item-checkbox .checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cart__item-checkbox .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #E2E8F0;
  transition: background-color 0.2s ease;
}

.cart__item-checkbox .checkbox__input:checked + .dot {
  background-color: #000;
}
/* Для кнопки "Выбрать все" */
.cart__choose-btn {
    line-height: 125%;
}
.cart__choose-btn.choose {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.cart__choose-btn .checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.cart__choose-btn .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #E2E8F0;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

/* Когда чекбокс checked, меняем цвет точки */
.cart__choose-btn .checkbox__input:checked ~ .checkbox__label ~ .dot,
.cart__choose-btn .checkbox__input:checked ~ .dot,
.cart__choose-btn--active .dot {
  background-color: #000;
}

.cart__choose-btn .checkbox__label {
  cursor: pointer;
  user-select: none;
  margin: 0;
padding: 7px 12px 7px 0;
}


.cart__choose-btn .checkbox__input:checked + .dot,
.cart__choose-btn--active .dot {
  background-color: #000;
}

.cart__list-item {
    position: relative;
}

.cart__item:after {
    display: none;
}

.checkbox__input {
    min-width: unset;
}
.checkbox__input:checked {
    position: absolute!important;
}

.catalog__card:has(input[name="delay"]:not(:checked)) {
    opacity: .4;
}
/* 
Opacity для невыбранных товаров */
.catalog__card:has(input[name="delay"]:not(:checked)) {
    opacity: .4;
}

/* Opacity для невыбранных товаров */
.cart__list-item:has(input[name="delay"]:not(:checked)) .cart__item {
    opacity: .4;
    transition: opacity 0.2s ease;
}

/* Анимация изменения суммы */
.cart__aside .card__price span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.cart__aside .card__price span.updating {
    transform: scale(1.05);
    color: #2354ce;
}

/* Анимация изменения цен товаров */
.catalog__card-price span {
    display: inline-block;
    transition: all 0.3s ease;
}

.cart__choose-btn.clear,
.cart__choose-btn.choose {
    transition: .3s;
}
.cart__choose-btn.choose {
    padding: 0 0 0 7px;
}

.cart__choose-btn.clear:hover {
    background-color: rgb(243 15 15 / 25%)
}
.cart__choose-btn.choose:hover {
    background-color: #e1e1e1;
}

.catalog__card-last.custom-flex {
    display: flex;
    align-items: center;
    gap: 5px;
}
/* End */
/* /local/templates/tskdetail/components/bitrix/sale.basket.basket/main/style.css?17709723588612 */
