.p-basket {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
}

.p-basket__items-title {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.p-basket__items-title h1 {
    font-size: 26px;
    line-height: 26px;
    font-weight: 700;
    display: block;
    color: #2c2c2c;
    font-family: inherit;
    color: inherit;
}

.p-basket__items-title small {
    font-size: 14px;
    line-height: 1em;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding-top: 6px;
    color: #797979;
}

.p-basket__items-selecter {
    margin: 40px 0 20px;
    height: 44px;
}

.p-basket__empty-title {
    font-family: inherit;
    font-weight: 700;
    line-height: 26px;
    font-size: 26px;
}

.p-basket__empty-head {
    display: flex;
    margin: 0 0 32px;
    align-items: center;
    justify-content: space-between;
}

.p-basket__empty-head span {
    font-weight: 700;
    font-size: 20px;
    line-height: 1em;
}

.p-basket__empty-head a {
    color: #e21b25;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1em;
    font-weight: 700;
    letter-spacing: 1px;
}

.p-basket__empty-text {
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.4px;
}

.p-basket__empty-text a {
    color: #e21b25;
    text-decoration: none;
}

.p-basket__r-side,
.p-basket__l-side {
    width: 100%;
}

.p-basket__r-side {
    margin-top: 42px;
}

/* i-checkbox */
.i-checkbox {
    display: flex;
    cursor: pointer;
    font-size: 16px;
    align-items: center;
}

.i-checkbox[disabled] {
    pointer-events: none;
}

.i-checkbox[disabled] .i-checkbox__icon-border {
    border-color: #e5e5e5;
}

.i-checkbox input {
    display: none;
}

.i-checkbox__icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    overflow: hidden;
    position: relative;
    border-radius: 2px;
}

.i-checkbox__text {
    margin-left: 16px;
}

.i-checkbox__icon-border {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    position: absolute;
    border-radius: 2px;
    border: 2px solid #2c2c2c;
    transition:
        border-width 0.3s,
        border-color 0.1s 0.2s;
}

.i-checkbox[data-selected="true"] .i-checkbox__icon-border {
    border-width: 12px;
    border-color: #e21b25;
    transition:
        border-width 0.3s,
        border-color 0.1s 0s;
}

.i-checkbox__icon-accept {
    width: 24px;
    height: 24px;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    top: -2px;
    left: -2px;
    position: absolute;
    color: #fff;
}

.i-checkbox__icon-accept svg {
    position: absolute;
    left: 0;
    top: 0;
}

.i-checkbox__icon-accept svg:nth-child(2) {
    opacity: 0;
}

.i-checkbox[data-chosen="half"] .i-checkbox__icon-accept svg:nth-child(2) {
    opacity: 1;
}

.i-checkbox[data-chosen="half"] .i-checkbox__icon-accept svg:nth-child(1) {
    opacity: 0;
}

.i-checkbox svg {
    width: 100%;
    height: 100%;
}

.i-checkbox path {
    transition: 0.3s 0.2s;
    stroke-dashoffset: 0px;
    stroke-dasharray: 0, 100px;
}

.i-checkbox[data-selected="true"] path {
    stroke-dasharray: 100px, 100px;
}

/*  */
.p-basket__items-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.p-basket__item {
    display: flex;
    gap: 8px;
    position: relative;
    align-items: flex-start;
}

.p-basket__item[data-disabled="true"] {
    opacity: 0.4;
    pointer-events: none;
}

.p-basket__item .i-checkbox {
    margin-top: 32px;
}

/* INLINE CARD */
.inline-card {
    gap: 16px;
    display: flex;
    width: 100%;
    position: relative;
}

.inline-card__info {
    display: flex;
    gap: 16px;
    width: 100%;
    flex-direction: column;
}

.inline-card__image {
    width: 85px;
    height: 85px;
    flex-grow: 0;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.inline-card__image img {
    object-fit: cover;
}

.inline-card__image-count {
    position: absolute;
    z-index: 1;
    color: #fff;
    font-size: 10px;
    line-height: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    background-color: #112233;
    border-radius: 8px 0 8px 0;
    padding: 5px 5px 5px 7px;
    bottom: 0;
    right: 0;
}

.inline-card__image-count[data-hidden="true"] {
    display: none;
}

.inline-card__main-info {
    width: 100%;
}

.inline-card__main-info-modal {
    width: 100%;
}

.inline-card__art {
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.inline-card__subtitle {
    font-size: 12px;
    margin-top: 8px;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.inline-card__title {
    font-size: 16px;
    transition: 0.3s;
    margin-top: 4px;
    cursor: pointer;
    line-height: 20px;
    display: block;
    text-decoration: none;
}

.inline-card__val {
    font-size: 12px;
    margin-top: 11px;
    line-height: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.inline-card__side-info {
    width: 160px;
    flex-grow: 0;
    flex-shrink: 0;
}

.inline-card__side-info-modal {
    display: flex;
    align-items: flex-end;
    text-align: right;
    flex-grow: 0;
    margin-top: -6px;
    flex-shrink: 0;
}

.inline-card__discount {
    margin-right: 6px;
    display: inline-flex;
    height: 16px;
    pointer-events: none;
}

.inline-card__price {
    display: flex;
    gap: 6px;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
}

.inline-card__price-empty {
    color: #797979;
    font-size: 16px;
    line-height: 1em;
}

.inline-card__price-old {
    font-size: 14px;
    line-height: 1em;
    color: #989898;
    font-weight: 700;
    white-space: nowrap;
    position: relative;
}

.inline-card__price-old::after {
    left: 0;
    right: 0;
    height: 1px;
    content: "";
    position: absolute;
    background-color: #e21b25;
    transform: translateY(6px) rotate(-5deg);
}

.inline-card__price-old[data-hidden="true"] {
    display: none;
}

.inline-card__price-actual {
    font-size: 16px;
    line-height: 1em;
    white-space: nowrap;
}

.inline-card__bonuses {
    font-size: 14px;
    line-height: 1em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 8px;
    letter-spacing: 0.4px;
}

.inline-card__price-for-one {
    letter-spacing: 1px;
    font-size: 12px;
    line-height: 14px;
    opacity: 0;
    margin-top: 6px;
    transition: 0.3s;
    user-select: none;
}

.inline-card__price-for-one > * {
    width: 100%;
    display: block;
    text-align: center;
}

.inline-card__counter {
    height: 44px;
    margin-top: 12px;
    width: 100%;
}

.inline-card__del {
    width: 14px;
    display: flex;
    justify-content: center;
}

.inline-card__del-icon {
    cursor: pointer;
    width: 14px;
    height: 14px;
    color: #989898;
    position: relative;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inline-card__del-icon::after {
    content: "";
    width: 42px;
    top: -14px;
    left: -14px;
    position: absolute;
    height: 42px;
}

.inline-card__gift-price {
    font-size: 12px;
    line-height: 1em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    padding: 2px 4px;
    border-radius: 4px;
}

.inline-card__gift-price[data-color="green"] {
    background-color: #34c369;
}

.inline-card__gift-price[data-color="yellow"] {
    background-color: #e7b820;
}

.basket-order {
    position: relative;
}

.basket-order::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.7);
}

.basket-order[data-load="true"]::after {
    opacity: 1;
    pointer-events: all;
}

.basket-order [for-empty] {
    display: none;
}

.basket-order[data-empty="true"] [not-empty] {
    display: none;
}

.basket-order[data-empty="true"] [for-empty] {
    display: block;
}

.basket-order__summ {
    width: 100%;
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.basket-order__summ-text {
    white-space: nowrap;
    font-size: 20px;
    line-height: 1em;
    font-weight: 700;
}

.basket-order__summ-dots {
    width: 100%;
    height: 1px;
    position: relative;
    background-image: linear-gradient(90deg, currentColor, currentColor 25%, #0000 0, #0000);
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: 7px 1px;
    display: block;
    min-width: 25px;
}

.basket-order__summ-summ {
    font-size: 26px;
    line-height: 1em;
    font-weight: 700;
    white-space: nowrap;
}

.basket-order__summ-old {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.mobile-order__price .basket-order__summ-old {
    justify-content: flex-start;
}

.basket-order__summ-old[data-hidden="true"] {
    display: none;
}

.basket-order__summ-old span {
    font-size: 16px;
    line-height: 1em;
    display: block;
    font-weight: 700;
    white-space: nowrap;
    color: #989898;
    position: relative;
}

.basket-order__summ-old span::after {
    left: 0;
    right: 0;
    height: 2px;
    content: "";
    position: absolute;
    background-color: #e21b25;
    transform: translateY(6px) rotate(-5deg);
}

.basket-order__counts {
    margin-top: 24px;
    width: 100%;
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.basket-order__disconts {
    margin-top: 16px;
}

.basket-order__empty {
    text-align: center;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0.4px;
    padding: 12px 0 0;
}

.disconts__head {
    gap: 16px;
    width: 100%;
    display: flex;
    cursor: pointer;
    margin-top: 16px;
    user-select: none;
    align-items: flex-end;
}

.disconts__head[data-disabled="true"] {
    pointer-events: none;
    cursor: auto;
}

.disconts__body {
    height: auto;
    overflow: hidden;
}

.disconts__head[data-active="false"] + .disconts__body {
    height: 0;
}

.disconts__head[data-active="false"] .disconts__head-icon {
    transform: rotate(180deg) translateY(-2px);
}

.disconts__head-icon {
    width: 12px;
    height: 12px;
    flex-grow: 0;
    flex-shrink: 0;
    transition: 0.15s;
}

.basket-order__counts-text,
.disconts__line-text,
.disconts__head-text {
    display: flex;
    font-size: 16px;
    white-space: nowrap;
    line-height: 1em;
    gap: 4px;
    align-items: center;
}

.basket-order__counts-dots,
.disconts__line-dots,
.disconts__head-dots {
    width: 100%;
    height: 1px;
    position: relative;
    background-image: linear-gradient(90deg, currentColor, currentColor 25%, #0000 0, #0000);
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: 7px 1px;
    display: block;
    min-width: 25px;
}

.basket-order__counts-summ,
.disconts__line-summ,
.disconts__head-summ {
    font-size: 16px;
    line-height: 1em;
    font-weight: 700;
    white-space: nowrap;
}

.disconts__line {
    gap: 16px;
    width: 100%;
    display: flex;
    margin-top: 16px;
    align-items: flex-end;
}

.disconts__line-icon {
    display: none;
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    transform: translate(3px, -5px);
    background-color: #e21b25;
    border-radius: 50%;
}

.disconts[data-show="false"] {
    display: none;
}

.disconts[data-show="false"][data-count="full"] .disconts__body {
    display: none;
}

.disconts[data-count="empty"] .disconts__head {
    display: none;
}

.disconts[data-count="full"] .disconts__line-icon {
    display: block;
}

.basket-order__coins {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    font-size: 16px;
    margin-top: 16px;
    line-height: 1em;
}

.basket-order__coins-notify {
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-align: right;
    padding-top: 8px;
    color: #989898;
}

.basket-order__btn {
    margin-top: 32px;
}

.basket-order__info {
    margin-top: 20px;
    font-size: 14px;
    line-height: 16px;
    color: #797979;
}

.p-basket__item-del {
    display: flex;
    z-index: 4;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    opacity: 0;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.p-basket__item-del-circle {
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-basket__item-del-circle::after {
    width: 7px;
    height: 4px;
    content: "5";
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    position: absolute;
    font-style: normal;
    transform: translateY(-4px);
}

.p-basket__item-del-svg circle {
    fill: none;
    width: 26px;
    height: 26px;
    stroke-width: 2px;
    stroke-opacity: 1;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    stroke: #2c2c2c;
    stroke-linecap: round;
    transform-origin: center;
    transform: rotate(-90deg) scale(1, -1);
}

.p-basket__item-del-svg {
    width: 100%;
    height: 100%;
}

.p-basket__item-del-text {
    color: #e21b25;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
}

@keyframes changeColor {
    0% {
        stroke: #2c2c2c;
        stroke-dasharray: 1;
        stroke-dashoffset: 0;
    }
    37% {
        stroke: #2c2c2c;
    }
    40% {
        stroke: #e21b25;
    }
    100% {
        stroke: #e21b25;
        stroke-dashoffset: 1;
    }
}

@keyframes changeText {
    0% {
        content: "5";
        color: #2c2c2c;
    }
    20% {
        content: "4";
        color: #2c2c2c;
    }
    37% {
        color: #2c2c2c;
    }
    40% {
        content: "3";
        color: #e21b25;
    }
    60% {
        content: "2";
        color: #e21b25;
    }
    80% {
        content: "1";
        color: #e21b25;
    }
    100% {
        content: "1";
        color: #e21b25;
    }
}

.p-basket__item[data-deleted="true"] .p-basket__item-del {
    opacity: 1;
    pointer-events: all;
}

.p-basket__item[data-deleted="true"] .p-basket__item-del-circle::after {
    animation: changeText 4.9s linear 0s 1;
}

.p-basket__item[data-deleted="true"] .p-basket__item-del-svg circle {
    animation: changeColor 4.9s linear 1;
}

.mobile-order {
    bottom: 0;
    left: 0;
    z-index: 20;
    width: 100vw;
    height: 101px;
    background-color: #fff;
    display: flex;
    position: fixed;
    align-items: center;
    padding: 16px 20px;
    transition: 0.3s;
    justify-content: space-between;
}

.mobile-order::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.7);
}

.mobile-order[data-load="true"]::after {
    opacity: 1;
    pointer-events: all;
}

.mobile-order[data-hidden="true"] {
    transform: translateY(100px);
}

.mobile-order__price-summ {
    font-size: 26px;
    line-height: 1em;
    font-weight: 700;
}

.mobile-order__btn {
    flex: 175px 0 0;
    width: 175px;
}

.mobile-order__btn .btn {
    font-size: 12px;
}

/* DELIVERY */
.f-delivery {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    width: 100%;
    color: #e21b25;
}

.f-delivery[data-active="true"] {
    color: #34c369;
}

.f-delivery[data-active="true"] .f-delivery__icon {
    color: #34c369;
}

.f-delivery[data-hidden="true"] {
    display: none !important;
}

.f-delivery__container {
    width: 100%;
}

.f-delivery__text {
    width: 100%;
    font-size: 12px;
    line-height: 1em;
    color: #112233;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.f-delivery__line {
    width: 100%;
    margin-top: 8px;
    position: relative;
}

.f-delivery__line-grey {
    width: 100%;
    height: 2px;
    background-color: #e5e5e5;
    position: absolute;
    bottom: 0;
    left: 0;
}

.f-delivery__line-active {
    width: 10%;
    height: 2px;
    z-index: 1;
    transition: 0.3s;
    background-color: currentColor;
    position: absolute;
    bottom: 0;
    left: 0;
}

.f-delivery__line-active::after,
.f-delivery__line-active::before {
    content: "";
    position: absolute;
    transition: 0.3s;
    width: 5px;
    height: 2px;
    border-radius: 2px;
    right: 0;
    bottom: 0;
    transform-origin: right center;
    background-color: currentColor;
}

.f-delivery__line-active::after {
    transform: rotate(45deg);
}

.f-delivery__line-active::before {
    transform: rotate(-45deg);
}

.f-delivery__icon {
    width: 18px;
    height: 18px;
    flex-grow: 0;
    flex-shrink: 0;
    color: #112233;
}

@media (max-width: 991px) {
    .p-basket .page-title {
        margin-bottom: 17px;
    }

    .p-basket__items-title small {
        width: 100%;
        flex-grow: 0;
        flex-shrink: 0;
        text-align: center;
        margin-top: 8px;
        font-size: 10px;
        line-height: 10px;
        letter-spacing: 1px;
        padding-bottom: 4px;
        padding-top: 0;
    }

    .p-basket__items-selecter {
        margin-top: 0;
    }

    .inline-card__info:has(.inline-card__discount) {
        padding-top: 24px;
    }

    .inline-card__discount {
        position: absolute;
        top: 0;
    }

    .inline-card__side-info {
        width: 100%;
    }

    .inline-card__counter {
        display: flex;
        justify-content: flex-end;
    }

    .inline-card__counter > * {
        max-width: 160px;
    }

    .inline-card__bonuses svg {
        transform: translate(1px, 0px);
    }

    .inline-card__price-for-one {
        display: flex;
        justify-content: flex-end;
    }

    .inline-card__price-for-one > * {
        width: 160px;
    }

    .basket-order {
        position: relative !important;
    }
}

@media (min-width: 992px) {
    .p-basket {
        gap: 80px;
        flex-wrap: nowrap;
        margin-bottom: 72px;
    }

    .p-basket__items-title h1 {
        font-size: 36px;
        line-height: 32px;
    }

    .p-basket__empty {
        min-width: 750px;
        width: 750px;
    }

    .p-basket__empty-title {
        line-height: 32px;
        font-size: 36px;
    }

    .p-basket__items-container {
        margin-right: -25px;
    }

    .p-basket__empty-text a:hover {
        color: #ec6672 !important;
    }

    .p-basket__empty-head a:hover {
        color: #ec6672 !important;
    }

    .p-basket__l-side {
        max-width: 520px;
    }

    .basket-order {
        width: 368px;
    }

    .basket-order__empty {
        padding: 16px 40px 0;
    }

    .p-basket__r-side {
        margin-top: 0;
        position: relative;
        max-width: 368px;
    }

    .inline-card__info {
        flex-direction: row;
    }

    .inline-card__bonuses span {
        transform: translate(-1px, 0px);
    }

    .inline-card__main-info {
        width: calc(100% - 176px);
        flex-shrink: 0;
    }

    .inline-card__price {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }

    .inline-card__price-actual {
        font-size: 20px;
    }

    .inline-card__bonuses {
        justify-content: flex-end;
    }

    .inline-card__side-info {
        text-align: right;
    }

    .inline-card__side-info-modal {
        height: 100%;
        margin-top: 0;
    }

    .inline-card__del {
        margin-right: -4px;
    }

    .inline-card__del-icon {
        opacity: 0;
    }

    .inline-card[data-hover="true"] .inline-card__title {
        color: #e21b25;
    }

    .inline-card[data-hover="true"] .inline-card__del-icon {
        opacity: 1;
    }

    .inline-card__del-icon:hover {
        color: #e21b25;
    }

    .disconts__head:hover .disconts__head-icon {
        color: #e21b25;
    }

    .mobile-order {
        display: none;
    }

    .f-delivery {
        margin-bottom: 32px;
        padding: 12px 0;
    }
}

@media (min-width: 1200px) {
    .p-basket {
        gap: 95px;
    }

    .p-basket__l-side {
        max-width: 610px;
    }

    .p-basket__r-side {
        max-width: 442px;
    }

    .basket-order {
        width: 442px;
    }
}

.gifts {
    margin: 0 -16px;
    background-color: #f7f0fa;
}

@media (min-width: 992px) {
    .gifts {
        margin: 0;
        width: 100%;
        max-width: 480px;
    }
}

@media (min-width: 1200px) {
    .gifts {
        max-width: 571px;
    }
}

.gifts__head {
    padding: 20px 16px 12px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.gifts__title {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    align-items: center;
}

.gifts__info {
    flex-shrink: 0;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.gifts__info::before {
    content: '';
    position: absolute;
    display: inline-block;
    left: -10px;
    top: -10px;
    right: -10px;
    bottom: -10px;
}

.gifts__body {
    display: flex;
    flex-direction: column;
    gap: 55px;
    padding: 4px 16px 16px;
}

.gifts__modal-body {
    display: flex;
    flex-direction: column;
    gap: 55px;
    padding: 16px 0;
}

.gifts__modal-body .i-checkbox::before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 3;
}

.gifts__group {
    gap: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.gifts__group + .gifts__group::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 15'%3E%3Cpath d='M9.78 5.3l.14.26.25.14 3.24 1.79-3.24 1.76-.25.14-.14.26-1.8 3.26-1.76-3.26-.14-.26-.25-.14-3.24-1.76 3.24-1.79.25-.14.14-.26L7.99 2.07 9.78 5.3z' stroke='%23C744FF' stroke-width='2'/%3E%3C/svg%3E")
        no-repeat center;
}

.gifts__group[data-active="true"] .gifts__item--selected:not([data-active="true"]) .gifts__item-label {
    display: none;
}

.gifts__group[data-counted="true"] > *:not([data-selected="true"]) {
    opacity: 0.4;
    pointer-events: none;
}

.gifts__group-title {
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.02em;
}

.gifts__item {
    cursor: pointer;
}

.gifts__item[data-empty="true"] {
    pointer-events: none;
}

.gifts__item[data-empty="true"] .gifts__item-choises,
.gifts__item[data-empty="true"] .gifts__item-btn {
    display: none;
}

.gifts__item--selected .gifts__item-body {
    margin-left: 28px;
}

.gifts__item--selected .gifts__item-marker {
    width: 20px;
    height: 20px;
    transition: 0.3s;
    border-radius: 50%;
    border: 2px solid #11244d;
}

.gifts__item--selected[data-active="false"] .gifts__item-choises,
.gifts__item--selected[data-active="false"] .gifts__item-btn {
    height: 0;
    margin-top: 0;
}

.gifts__item--selected[data-active="true"] .gifts__item-marker {
    border-color: #c744ff;
    border-width: 6px;
}

.gifts__item-head {
    display: flex;
    gap: 8px;
    align-items: center;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1em;
    height: 12px;
    letter-spacing: 0.08em;
    font-weight: 700;
    cursor: pointer;
}

.gifts__item-body {
    background-color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    display: flex;
    position: relative;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    flex-direction: column;
}

.gifts__item-label {
    color: #ffffff;
    background-color: #c744ff;
    border-radius: 4px;
    padding: 2px 4px;
    display: inline-block;
    width: auto;
    font-size: 12px;
    line-height: 1em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gifts__item-label[data-active="true"] {
    color: #c744ff;
    background-color: #f7f0fa;
}

.gifts__item-empty {
    color: #ffffff;
    background-color: #e7b820;
    border-radius: 4px;
    padding: 2px 4px;
    display: inline-block;
    width: auto;
    font-size: 12px;
    line-height: 1em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gifts__item-cost {
    top: 12px;
    right: 12px;
    pointer-events: none;
    z-index: 2;
    position: absolute;
    font-size: 12px;
    line-height: 1em;
    font-weight: 700;
    color: #ffffff;
    background-color: #34c369;
    border-radius: 4px;
    padding: 2px 4px;
    display: inline-block;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gifts__item-title {
    font-size: 12px;
    line-height: 1em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.gifts__item-products {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.gifts__item-products-wrapper {
    display: flex;
}

.gifts__item-product {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.gifts__item-product[data-active="true"] {
    border-color: #c744ff;
}

.gifts__item-product[data-empty="true"] {
    opacity: 0.4;
    border-color: transparent;
}

.gifts__item-product-count {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    font-size: 12px;
    line-height: 1em;
    padding: 5px;
    color: #ffffff;
    letter-spacing: 0.08em;
    font-weight: 700;
    background-color: #112233;
    border-radius: 5px 0 5px 0;
}

.gifts__item-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gifts__item-choises {
    font-size: 10px;
    line-height: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #797979;
    text-transform: uppercase;
}

.gifts__item-btn {
    background-color: #c744ff;
    color: #ffffff;
    width: 100%;
    overflow: hidden;
    height: 44px;
    display: flex;
    transition: 0.3s;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    line-height: 1em;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
}

@media (min-width: 992px) {
    .gifts__info:hover {
        color: #e21b25;
    }
}
