
.price-cards {
    position: relative;
}

.price-cards .c-decor__background {
    z-index: -1;
}

.price-cards__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    row-gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 1000px) {
    .price-cards__list {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 1fr;

    }
}

.price-cards__item {
    border-bottom: 1px solid #CBB49D;
    background: linear-gradient(to bottom, #ffffff 0%, #EEEEEE 100%);
    display: flex;
    /*flex-direction: column;*/
    justify-content: space-between;
    min-height: 300px;
    /*gap: 30px;*/
    position: relative;
    overflow: hidden;
}

@media (max-width: 520px) {
    .price-cards__item {
        flex-direction: column;
    }
}

.price-cards__item:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 90%;
    width: 91px;
    background-image: url("data:image/svg+xml,%3Csvg width='91' height='250' viewBox='0 0 91 250' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='125' cy='125' r='125' fill='%23EEE9E5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
}


@media (max-width: 520px) {
    .price-cards__item:after {
        top: auto;
        bottom: 0;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        background-image: url("data:image/svg+xml,%3Csvg width='250' height='125' viewBox='0 0 250 125' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='125' cy='125' r='125' fill='%23EEE9E5'/%3E%3C/svg%3E%0A");
        width: 90%;
        height: 125px;
    }

}

.price-cards__inner {
    width: 70%;
    padding: 15px 15px 35px 35px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .price-cards__inner {
        padding-left: 20px;
    }
}

@media (max-width: 520px) {
    .price-cards__inner {
        width: 100%;
    }
}

.price-cards__discount {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 2;
    display: flex;
    color: var(--primary-color);
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
}

.price-cards__discount-count {
    font-weight: 500;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 20px;
    color: white;
    background-color:  var(--primary-color);
}

.price-cards__subtitle {
    font-size: 24px;
}

@media (max-width: 1839.98px) {
    .price-cards__subtitle {
        font-size: 22px;
    }
}

.price-cards__under-title {
    color: #CBB49D;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 15px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.price-cards__description {
    margin-top: 30px;
}

.price-cards__description a {
    position: relative;
    min-width: 0 !important;
    max-width: 100%;
    font-family: inherit;
    font-weight: 500;
    color: #af8e67;
    text-decoration: none;
    transition: all 0.3s ease-out;
}
.price-cards__description a:hover {
    color: #cbb49d;
}

.price-cards__price {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.price-cards__price-name {
    padding-left: 13px;
    position: relative;

}

.price-cards__price-new {
    text-align: right;
    font-weight: 500;
}

.price-cards__price-name::before {
    content: "";
    width: 2px;
    height: 2px;
    border-radius: 50%;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background-color: var(--black);
    margin-right: 11px;
    margin-top: 9px;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 1px;
}

.price-cards__prices {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.price-cards__price-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.price-cards__price-old {
    color: #CBB49D;
    font-size: 13px;
    font-weight: 300;
    text-decoration: line-through;
    text-wrap: nowrap;
}

.price-cards__price-new {
    text-wrap: nowrap;
}

.price-cards__img {
    position: relative;
    z-index: 1;
    width: 30%;
    object-fit: contain;
    object-position: bottom;
}

@media (max-width: 520px) {
    .price-cards__img {
        width: 70%;
        bottom: -5%;
        margin: -5% auto 0 auto;
    }
}
