.prices .boxed {
    padding-top: 60px;
    padding-bottom: 60px;
}

.prices .boxed > div.content {
    max-width: 940px;
}

.prices .boxed .items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.prices .boxed .items .item > div {
    position: relative;
    border: 1px solid var(--dark-blue);
    border-radius: 16px;
    padding: 40px 40px 80px 40px;
    height: fit-content;
}

.prices .boxed .items .item > div .content p {
    font-size: 16px;
}

.prices .boxed .items .item > div .price {
    display: flex;
    align-items: center;
}

.prices .boxed .items .item > div .price h2 > p {
    font-family: NunitoSansBold, Arial, sans-serif;
    margin-bottom: 0;
    font-size: 48px;
}

.prices .boxed .items .item > div .price span {
    font-family: NunitoSans-Regular, Arial, sans-serif;
    font-size: 16px;
    padding-left: 5px;
}

.prices .boxed .items .item > div .label {
    max-width: fit-content;
    font-size: 16px;
    padding: 2px 16px;
    border-radius: 16px;
    text-transform: uppercase;
    font-family: NunitoSans-Regular, Arial, sans-serif;
}

.prices .boxed .items .item > div .label.bg-primary {
    background-color: var(--dark-blue);
    color: var(--white);
}

.prices .boxed .items .item > div p.label.bg-medium-blue {
    background-color: var(--medium-blue);
    color: var(--white);
}

.prices .boxed .items .item > div p.label.bg-sky-blue {
    background-color: var(--sky-blue);
    color: var(--almost-black);
}

.prices .boxed .items .item > div p.label.bg-primary-orange {
    background-color: var(--primary-orange);
    color: var(--almost-black);
}

.prices .boxed .items .item > div p.label.bg-light-blue {
    background-color: var(--light-blue);
    color: var(--almost-black);
}

.prices .boxed .items .item > div .price .span-before {
    font-family: NunitoSansBold, Arial, sans-serif;
    padding-right: 5px;
}

.prices .boxed .items .item > div ul {
    list-style-image: url("images/checkmark.svg");
    margin: 0 0 1.5em 1.5em;
}

.prices .boxed .items .item > div ul li {
    margin-bottom: 10px;
}

.prices .boxed .items .item > p {
    font-size: 16px;
    padding-top: 25px;
}

.prices.few-items .boxed {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 300px;
}

.prices.few-items .info {
    margin-bottom: 0;
}

.prices.few-items .items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.prices.few-items .items .item {
    position: relative;
    width: 480px;
}

.prices .items .item .btn-group {
    position: absolute;
    bottom: 40px;
    width: 80%;
}

.prices .items .item .btn-group .btn {
    width: 100%;
}

.prices .items .item .btn-group .btn span::before {
    content: url("images/white-arrow.svg");
    padding-right: 10px;
}

.prices .items .item .content-container {
    position: relative;
}

.prices .items .item .content-container .content {
    max-height: 8.9em;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.prices .items .item .content-container.expanded .content {
    max-height: none;
}

.prices .items .item .content-container .read-more-btn::after {
    content: url("images/dropdown.svg");
    padding-left: 6px;
}

.prices .items .item .content-container.expanded .read-more-btn::after {
    content: url("images/dropdown.svg");
    transform: rotate(180deg);
    display: inline-block;
    padding-right: 6px;
}

.prices .items .item .content-container .read-more-btn {
    display: block;
    margin: 10px 0 50px 0;
    background-color: transparent;
    color: var(--almost-black);
    border: none;
    padding-left: 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    text-align: center;
}

.prices .items .item .content-container .read-more-btn:focus {
    outline: none;
}

@media (max-width: 1200px) {
    .prices.few-items .boxed {
        grid-template-columns: 2fr 1fr;
        gap: 50px;
    }
}


@media (max-width: 992px) {
    .prices .boxed .items {
        gap: 20px;
    }

    .prices.few-items .boxed {
        flex-direction: column;
    }

    .prices.few-items .info,
    .prices.few-items .items {
        max-width: 100%;
    }

    .prices.few-items .items .item {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .prices .boxed .items, .prices.few-items .boxed {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .prices.few-items .items .item {
        width: 100%;
    }
}

@media (max-width: 510px) {
    .prices .items .item {
        width: 380px;
    }

    .prices .boxed .items .item .label {
        font-size: 12px !important;
    }
}

@media (max-width: 400px) {
    .prices .items .item {
        width: 340px;
    }
}

