.p-cart-slide .fancybox-content {
    padding: 15px;
    padding-top: 30px;
}

.p-cart.fancybox-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 0;
    color: #333333;
    border-radius: 5px;

}

.p-cart__title {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 15px;
    padding: 0 15px;
    font-size: 24px;
}

.p-cart__title .icon {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    border: 3px solid #a8bc37;
    border-radius: 50%;
    color: #a8bc37;
}

.p-cart__title .icon::before {
    content: '✓';
    color: #a8bc37;
    font-size: 22px;
    font-weight: 500;
}

.p-cart .main {
    display: flex;
    margin-bottom: 20px;
    padding: 0 15px;
}

.p-cart .main__col {
    padding: 10px;
}

.p-cart .main__col--1 {
    padding-left: 0;
}

.p-cart .main__col--2 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.p-cart .main__col--3 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 210px;
}

.p-cart .main__img {
    display: block;
    width: 100%;
    max-width: 135px;
    height: auto;
}

.p-cart .main__cat {
    font-size: 14px;
    font-weight: 200;
}

.p-cart .main__name {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.p-cart .main__price {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
}

.p-cart .main__price .quant {
    margin-right: 10px;
}

.p-cart .main__price .price {
    font-size: 18px;
}

.p-cart .main__btn {
    width: 100%;
    max-width: 175px;
    padding: 8px 16px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    background: #a8bc37;
    color: #ffffff;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
}

.p-cart .main__btn:hover {
    background: #ffb700;
}

.p-cart .main__continue {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #3c4fbd;
    text-align: center;
}

/* accs */

.p-cart__acc {
    padding: 15px;
    background-color: #F0F0F0;
}

.p-cart__acc-title {
    font-size: 22px;
    color: #000000;
}

.p-cart__acc-title-link {
    display: flex;
    align-items: center;
    font-size: inherit;
    color: inherit;
}

.p-cart__acc-title-link:hover {
    text-decoration: none;
}

.p-cart__acc-title-warn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    border: 2px solid #FF1C45;
    border-radius: 100px;
    color: #FF1C45;
}

.p-cart__acc-title-warn:before {
    content: "";
    display: flex;
    height: 2px;
    width: 10px;
    background-color: #FF1C45;
}

.p-cart__acc-inner {
    display: flex;
}

.p-cart__acc .col {
    width: 33.33333%;
    padding: 10px;
    overflow: hidden;
}

.p-cart__acc .item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.p-cart__acc .item__img-wr {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 135px;
    margin-bottom: 15px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.p-cart__acc .item-check {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: #a8bc37;
    border-radius: 50%;
    color: white;
    opacity: 0;
    transition: all 0.3s;
}

.p-cart__acc .item-check.active {
    opacity: 1;
}

.p-cart__acc .item-check:before {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.p-cart__acc .item__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.p-cart__acc .item__name {
    font-size: 14px;
    font-weight: 200;
    margin-bottom: auto;
}

.p-cart__acc .item__price {
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.p-cart__acc .item__btn {
    width: auto;
    max-width: 110px;
    height: 35px;
    border: 1px solid #3c4fbd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: normal;
    color: #3c4fbd;
    transition: all 0.3s;
    cursor: pointer;
}

.p-cart__img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 12px;
}

.p-cart__link:hover {
    cursor: pointer;
}
.p-cart__acc .item__btn:hover {
    background: #3c4fbd;
    color: #ffffff;
}

@media (max-width: 600px) {
    .fancybox-slide {
        padding: 0 !important;
    }

    .fancybox-slide.p-cart-slide {
        padding: 0;
    }

    .p-cart.fancybox-content {
        min-height: 100vh;
        border-radius: 0;
    }

    .p-cart .main {
        flex-wrap: wrap;
    }

    .p-cart .main__col--1 {
        width: 40%;
    }

    .p-cart .main__col--2 {
        width: 60%;
    }

    .p-cart .main__col--3 {
        max-width: 100%;
    }

    .p-cart .main__continue {
        margin-top: 15px;
    }
}

@media (max-width: 375px) {
    .p-cart__title {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        font-size: 20px;
        line-height: 20px;
    }

    .p-cart__title .icon {
        width: 40px;
        height: 40px;
    }

    .p-cart__title .icon::before {
        font-size: 25px;
    }
}

@media(max-width: 460px) {
    .p-cart__acc .col {
        width: 50%;
    }

    .p-cart__acc .col:nth-child(3) {
        display: none;
    }
}

@media(max-width: 280px) {
    .p-cart__acc .col {
        width: 100%;
    }

    .p-cart__acc .col:nth-child(2) {
        display: none;
    }
}
