body {
    background: var(--c-light);
}
main {
    background: var(--c-light);
}
header {
    position: static;
    transform: none;
    .top {
        .left {
            .drop-menu {
                > p {
                    color: var(--c-dark);
                    &::after {
                        color: var(--c-dark);
                    }
                }
            }
        }
        .logo {
            p {
                color: var(--c-dark);
            }
        }
        .right {
            form {
                background: rgba(2, 17, 27, .08);
                input {
                    color: var(--c-dark);
                    &::placeholder {
                        color: var(--c-dark);
                    }
                }
                .btn {
                    color: var(--c-dark);
                }
            }
            .cart {
                &::before {
                    color: var(--c-dark);
                }
            }
        }
    }
    .bottom {
        nav {
            ul {
                li {
                    a {
                        color: var(--c-dark);
                    }
                }
            }
        }
        &::before, &::after {
            background: var(--c-dark);
        }
    }
}
.card {
    display: flex;
    gap: 80px;
    margin-top: 30px;
    margin-bottom: 150px;
    position: relative;
    > div {
        width: 50%;
    }
    .view {
        .goods-images {
            width: 100%;
            .swiper-wrapper {
                display: flex;
                flex-direction: column;
                height: 100%;
                .swiper-slide {
                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }
            .swiper-pagination-bullets {
                display: flex;
                gap: 5px;
                justify-content: center;
            }
            .swiper-pagination-vertical.swiper-pagination-bullets {
                left: 10px;
                right: auto;
                width: fit-content;
                height: fit-content;
                flex-direction: column;
            }
            .swiper-pagination-bullet {
                width: 10px;
                height: 10px;
                background: transparent;
                border: 1px solid #9d9d9d;
                opacity: 1;
                margin: 0;
                &.swiper-pagination-bullet-active {
                    background: var(--c-dark);
                    border: 1px solid var(--c-dark);
                }
            }
        }
    }
    .info {
        position: sticky;
        top: 20px;
        height: fit-content;
        .availability {
            display: block;
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 15px;
            &.i-s {
                color: var(--c-success);
            }
            &.o-s {
                color: var(--c-danger);
            }
        }
        h1 {
            font-family: drukcyr;
            font-size: 64px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 3%;
            line-height: 1;
            max-width: 450px;
            margin-bottom: 30px;
            color: var(--c-dark);
            &.long {
                max-width: unset;
            }
        }
        .price {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 30px;
            p {
                color: var(--c-dark);
                font-size: 22px;
                font-weight: 600;
                color: var(--c-dark);
            }
            span {
                text-decoration: line-through;
                color: #9d9d9d;
            }
        }
        .prod {
            color: var(--c-dark);
            margin-bottom: 20px;
            span {
                font-weight: 700;
            }
        }
        .desc {
            display: flex;
            flex-direction: column;
            gap: 10px;
            color: var(--c-dark);
            margin-bottom: 30px;
            p {
                font-size: 14px;
            }
        }
        .actions {
            gap: 40px;
            display: flex;
            margin-bottom: 30px;
            .input.num {
                position: relative;
                input, .btn {
                    width: 48px;
                    min-width: 48px;
                    height: 48px;
                }
                > span {
                    position: absolute;
                    top: -20px;
                    color: var(--gray);
                    font-size: 14px;
                }
                .btn {
                    font-size: 18px;
                }
                &.loading {
                    &::after {
                        content: "";
                        position: absolute;
                        inset: 0;
                        background: rgba(255,255,255,.6);
                        backdrop-filter: blur(2px);
                        z-index: 50;
                    }
                    &::before {
                        content: "";
                        position: absolute;
                        width: 32px;
                        height: 32px;
                        border: 3px solid #ddd;
                        border-top: 3px solid var(--c-dark);
                        border-radius: 50%;
                        animation: cartSpin .8s linear infinite;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        z-index: 60;
                    }
                }
            }
            .add_to_cart_button, .open-cart-btn {
                width: 260px;
                font-size: 14px;
            }
            &.pt {
                padding-top: 20px;
            }
        }
        .cards {
            max-width: 160px;
            width: 100%;
            object-fit: contain;
            margin-bottom: 30px;
        }
        .oth {
            margin-bottom: 40px;
            display: flex;
            flex-direction: column;
            max-width: 420px;
            p {
                font-weight: 500;
                font-size: 14px;
                line-height: 20px;
                color: var(--c-dark);
            }
        }
        .accordion {
            display: flex;
            flex-direction: column;
            .item {
                position: relative;
                border-top: 1px solid rgba(206, 206, 206, .9);
                .title {
                    cursor: pointer;
                    padding: 15px 0px;
                    display: flex;
                    justify-content: space-between;
                    gap: 40px;
                    align-items: center;
                    transition: background .1s linear;
                    h3 {
                        display: flex;
                        align-items: center;
                        gap: 20px;
                        text-transform: uppercase;
                        font-size: 18px;
                        color: var(--c-dark);
                    }
                    &::after {
                        font-family: icon;
                        content: '\e906';
                        font-size: 14px;
                        transform: rotate(90deg);
                        font-weight: 700;
                        color: var(--c-dark);
                        margin-right: 5px;
                        transition: .2s linear;
                    }
                }
                .info {
                    max-height: 0;
                    overflow: hidden;
                    opacity: 0;
                    transition: .2s linear;
                    .inner {
                        padding-bottom: 15px;
                        p {
                            color: var(--c-dark);
                            font-size: 14px;
                        }
                    }
                }
                &:last-of-type {
                    border-bottom: 1px solid rgba(206, 206, 206, .9);
                }
                &.active {
                    .title {
                        &::after {
                            transform: rotate(-90deg);
                        }
                    }
                    .info {
                        opacity: 1;
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 1279px) {
    .card {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 100px;
        .view {
            width: 100%;
            .goods-images {
                aspect-ratio: 1 / 1;
                .swiper-wrapper {
                    flex-direction: row;
                }
            }
        }
        .info {
            width: 100%;
            h1 {
                max-width: unset;
                font-size: 48px;
                margin-bottom: 40px;
            }
        }
    }
    .cross-sell {
        margin-bottom: 25px;
    }
}
@media screen and (max-width: 767px) {
    .card {
        gap: 20px;
        .info {
            h1 {
                font-size: 24px;
                margin-bottom: 15px;
            }
            .price {
                margin-bottom: 15px;
                p {
                    font-size: 14px;
                }
                span {
                    font-size: 12px;
                }
            }
            .prod {
                margin-bottom: 15px;
                font-size: 14px;
            }
            .desc {
                margin-bottom: 20px;
            }
            .actions {
                flex-direction: column;
                gap: 25px;
                .btn.add_to_cart_button, btn.open-cart-btn {
                    width: 100%;
                }
            }
        }
    }
}
@media screen and (hover: hover) {
    header {
        nav {
            ul {
                li {
                    a:hover {
                        background: rgba(2, 17, 27, .08);
                    }
                }
            }
        }
    }
}