:root {
    font-size: 62.5%;
}

.wrapper-tv {
    width: min(50rem, 100%);
    margin-inline: auto;
}

.tv-plans {
    text-align: left;
}

.tv-plans .content h1 {
    color: var(--headline);
    font-size: 2.8rem;
    line-height: 3.3rem;
    margin-bottom: 1rem;
}

.tv-plans-cards {
    display: flex;
    flex-direction: column;
    width: min(107rem, 100%);
    margin-inline: auto;
}

.tv-plans-cards .item {
    margin-bottom: 2.6rem;
}

.tv-plans-cards .item:last-child {
    margin-bottom: 0;
}

.tv-plans-cards .item .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--brand-white);
    background-clip: border-box;
    border-radius: 1rem;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #efeded;
    -webkit-box-shadow: -0.1rem 0 2rem 0.2rem rgb(0 0 0 / 3%);
    -moz-box-shadow: -0.1rem 0 2rem 0.2rem rgba(0, 0, 0, 0.07);
    box-shadow: -0.1rem 0 2rem 0.2rem rgb(0 0 0 / 7%);
}

.tv-plans-cards .item .card.card-opac {
    background-image: var(--green-gradient);
    color: #FFF;
}

.tv-plans-cards .item .card.card-opac p,
.tv-plans-cards .item .card.card-opac h2,
.tv-plans-cards .item .card.card-opac h3,
.tv-plans-cards .item .card.card-opac small,
.tv-plans-cards .item .card.card-opac small a {
    color: #FFF;
}

.tv-plans-cards .item .card.card-opac small a {
    border-bottom: 1px solid #FFF;
}

.tv-plans-cards .item .card p {
    font-size: 2rem;
}

.tv-plans-cards .item .card h2 {
    font-size: 3.5rem;
}

.tv-plans-cards .item .card h3 {
    font-size: 3rem;
    font-weight: 400;
    margin-top: 2rem;
}

.tv-plans-cards .item .card .button {
    background: var(--primary-color);
    border: none;
    border-radius: 4rem;
    padding: 1.3rem 2rem;
    width: fit-content;
    color: var(--brand-white);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-block: 2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.tv-plans-cards .item .card .button:hover {
    background-color: var(--brand-dark);
}

.tv-plans-cards .item .card .button.btn2 {
    background: #cf3281;
}

.tv-plans-cards .item .card .button.btn2:hover {
    background: #8e0b4d;
}

.tv-plans-cards .item .card li {
    display: flex;
    border-bottom: 1px solid #CCC;
    padding-block: 1rem;
}

.tv-plans-cards .item .card li:last-child {
    border-bottom: 0;
}

.tv-plans-cards .item .card li .icon {
    width: 2.8rem;
    margin-right: 2rem;
}

.tv-plans-cards .item .card li img {
    width: 100%;
    min-width: 2.8rem;
}

.tv-plans-cards .item .card li .text p {
    font-size: 1.6rem;
    font-weight: 700;
}

.tv-plans-cards .item .card li a {
    color: #828282;
    text-decoration: none;
    border-bottom: 1px solid #828282;
    padding-bottom: 0.1rem;
}

/*=================MODALS=================*/
.modal {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-white);
    z-index: 9999999999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    padding: 2.5rem;
    text-align: left;
    overflow-y: auto;
}

.modal:target {
    opacity: 1;
    pointer-events: auto;
}

.close {
    position: absolute;
    width: 3rem;
    right: 2.5rem;
    top: 2.5rem;
    text-align: center;
    line-height: 3rem;
    margin-top: 0.5rem;
    background: #d9534f;
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--brand-white);
    text-decoration: none;
}

.modal h2 {
    font-size: 2.8rem;
    color: var(--headline);
    line-height: 3.3rem;
    margin-bottom: 1rem;
}

.modal h4 {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 150%;
    color: var(--paragraph);
}

.modal p {
    margin-top: 4rem;
    border-bottom: 1px solid #CCC;
    padding-bottom: 1rem;
}

.modal .assign {
    position: fixed;
    left: 0;
    width: 100%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 2.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.modal .price {
    position: relative;
    left: 3.2rem;
    border: 1px solid #CCC;
    padding: 1rem 10rem 1rem 3rem;
    border-radius: 4rem;
    background-color: #FFF;
}

.modal .price small {
    font-size: 1.1rem;
}

.modal .button {
    font-size: 1.2rem;
    position: relative;
    right: 3rem;
    padding: 2.4rem 3rem;
}

.modal .cat {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.modal .cat img {
    width: 8rem;
    padding-inline: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 410px) {
    .modal .cat img {
        width: 7.2rem;
    }
}

@media (min-width: 412px) {
    .modal .cat img {
        width: 7.23rem;
    }
}

@media (min-width: 415px) {
    .modal .cat img {
        width: 7.28rem;
    }
}

.modal .cat img.opacity {
    filter: grayscale() opacity(0.2);
}

/*===============RESPONSIVE===============*/
@media (min-width: 1024px) {
    .tv-plans-cards {
        display: flex;
        flex-direction: initial;
    }

    .tv-plans-cards .item {
        width: 25rem;
        margin-right: 2.6rem;
    }

    .tv-plans-cards .item:last-child {
        margin-right: 0;
    }

    .wrapper-tv {
        width: min(112rem, 100%);
        display: grid;
    }

    .modal .cat img {
        width: 8rem;
    }
}