.pop-up {
    display: none;
    line-height: 32px;
    font-size: 18px;
    z-index: 2000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 128px 0;
}

.active.pop-up {
    display: block;
}

.pop-up-wrapper {
    background: white;
    padding: 32px 16px;
    background: white;
    padding: 32px 16px;
    max-height: calc(100vh - 256px);
    background: white;
    overflow-y: auto;
}

.pop-up-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.pop-up-title {
    font-size: 2rem;
}

button.pop-up-close {
    position: relative;
    color: grey;
    width: 38px;
    height: 38px;
    border: none;
    font-size: 2rem;
    background: white;
    border-radius: 4px;
}

.pop-up-close::after {
    display: block;
    content: '';
    position: relative;
    top: -1px;
    left: -14px;
    transform: rotate(135deg);
    width: 40px;
    height: 0;
    border-bottom: 2px solid #ced4da;
}

.pop-up-close::before {
    display: block;
    content: '';
    position: relative;
    top: 1px;
    left: -14px;
    transform: rotate(-135deg);
    width: 40px;
    height: 0;
    border-bottom: 2px solid #ced4da;
}

.pup-item__saving {
    line-height: 32px;
    font-size: 1.5rem;
    color: green;
}

.pup-item__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.pup-item__counter {
    min-width: 200px;
    display: flex;
    align-items: baseline;
}

.pup-item__less, .pup-item__more {
    width: 32px;
    height: 32px;
    font-size: 24px;
    border-radius: 50%;
    border: none;
}

.pup-item__less {
    margin-right: 8px;
}

.pup-item__more {
    margin: 0 8px;
}

.pup-item__equal, .pup-item__count {
    line-height: 24px;
    font-size: 18px;
    min-width: 40px;
    text-align: center;
}

.pup-item__remove {
    line-height: 32px;
    margin-left: 16px;
    font-size: 18px;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    background: white;
}

.pup-item__image {
    height: 80px;
    width: 80px;
    object-fit: contain;
    margin-right: 16px;
}

.pup-item__content {
    flex: 1 0;
}

.pup-item {
    display: flex;
}

.pup-item + .pup-item {
    margin-top: 16px;
}

button.delete-field {
    position: relative;
    color: grey;
    width: 38px;
    height: 38px;
    border: none;
    margin-left: 16px;
}

.delete-field::after {
    display: block;
    content: '';
    position: relative;
    top: -1px;
    left: -14px;
    transform: rotate(135deg);
    width: 40px;
    height: 0;
    border-bottom: 2px solid #ced4da;
}

.pup-item__htitle {
    font-size: 18px;
}

.delete-field::before {
    display: block;
    content: '';
    position: relative;
    top: 1px;
    left: -14px;
    transform: rotate(-135deg);
    width: 40px;
    height: 0;
    border-bottom: 2px solid #ced4da;
}

.pup-item__right {
    display: flex;
    align-items: baseline;
}

.pup-item__buy {
    margin-top: 16px;
    border: none;
    border-radius: 3px;
    background: linear-gradient(to bottom, #388ee3, #0e4179);
    line-height: 54px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    padding: 0 32px;
}

@media (max-width: 991px) {
    .pup-item__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pup-item__image {
        width: 100px;
        height: 136px;
    }

    .pup-item__htitle {
        display: none;
    }

    .pup-item__right {
      flex-direction: column;
    }

    .pup-item__remove {
      margin-left: 0;
      margin-top: 8px;
    }
}

@media (max-width: 575px) {
    .pup-item {
        flex-direction: column;
    }
}

.pup-item__price {
    line-height: 32px;
    font-size: 27px;
    font-weight: 700;
    color: #f9175e;
}

.pup-item__price span {
    color: black;
    font-size: 18px;
    text-decoration: line-through #f94c82;
}

.pup-item__title {
    line-height: 32px;
    font-size: 18px;
}
