[data-cf-license-price] {
    display: grid;
    color: #111;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

[data-cf-license-price-for],
[data-cf-license-description] {
    grid-area: 1 / 1;
    min-width: 0;
}

/* Let both states size the same grid cell, including wrapped copy or sale prices. */
[data-cf-license-price] [data-cf-license-price-for][hidden] {
    display: block !important;
    visibility: hidden;
}

.cfl .cfl-commerce .price:has([data-cf-license-price]) {
    font-size: clamp(30px, 4vw, 36px);
    line-height: 1.2;
    margin: 0 0 24px;
}

[data-cf-license-price] .woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
}

[data-cf-license-price] del {
    color: #5b6358;
    font-size: .68em;
    font-weight: 500;
}

[data-cf-license-price] ins,
.cf-license-choice ins {
    color: inherit;
    text-decoration: none;
}

.cf-license-options {
    --cf-license-green: #243523;
    border: 0;
    box-sizing: border-box;
    color: #111;
    margin: 0;
    min-width: 0;
    padding: 0;
    width: 100%;
}

.cf-license-options legend {
    border: 0;
    border-bottom: 1px solid #dfe3dc;
    color: inherit;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
    padding: 0 0 9px;
    width: 100%;
}

.cf-license-choices {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf-license-options .cf-license-choice {
    align-content: start;
    align-items: center;
    background: #fff;
    border: 1px solid #d6d8d4;
    border-radius: 14px;
    box-sizing: border-box;
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: 2px 6px;
    grid-template-columns: auto minmax(0, 1fr);
    line-height: 1.35;
    margin: 0;
    min-width: 0;
    padding: 13px clamp(12px, 5%, 20px);
    text-align: center;
}

.cf-license-options .cf-license-choice:has(:checked) {
    background: #f0f4eb;
    border-color: var(--cf-license-green);
}

.cf-license-choice input[type="radio"] {
    appearance: none;
    background-color: #fff;
    border: 2px solid #777c75;
    border-radius: 50%;
    box-shadow: none;
    cursor: inherit;
    height: 20px;
    margin: 0;
    width: 20px;
}

.cf-license-choice input[type="radio"]:checked {
    background: radial-gradient(circle, #fff 3px, var(--cf-license-green) 3.5px);
    border-color: var(--cf-license-green);
}

.cf-license-choice input[type="radio"]:focus-visible {
    outline: 2px solid #526c49;
    outline-offset: 3px;
}

.cf-license-choice > strong {
    font-size: 17px;
    font-weight: 700;
}

.cf-license-choice [data-cf-license-amount] {
    font-size: 16px;
    font-weight: 400;
    grid-column: 2;
    overflow-wrap: anywhere;
}

.cf-license-choice [data-cf-license-amount] .woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
}

.cf-license-choice [data-cf-license-amount] del,
.cf-license-choice [data-cf-license-amount] ins {
    display: inline-block;
}

.cf-license-descriptions {
    background: #f3f5ef;
    border-radius: 15px;
    container-type: inline-size;
    display: grid;
    margin-top: 27px;
}

.cf-license-descriptions [data-cf-license-description] {
    align-items: center;
    display: grid;
    gap: clamp(8px, 3.6%, 16px);
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 91px;
    padding: 13px clamp(8px, 3.8%, 16px);
}

.cf-license-descriptions [data-cf-license-description][hidden] {
    display: grid !important;
    visibility: hidden;
}

.cf-license-icon {
    color: var(--cf-license-green);
    height: 32px;
    width: 32px;
}

.cf-license-description-copy {
    border-inline-start: 1px solid #d4dbd0;
    color: #20241e;
    display: grid;
    font-size: 14px;
    gap: 3px;
    line-height: 1.45;
    min-width: 0;
    overflow-wrap: anywhere;
    padding-inline-start: clamp(8px, 4%, 14px);
    text-align: center;
    word-break: keep-all;
}

.cf-license-description-copy strong {
    color: #111;
    font-size: 16px;
    font-weight: 700;
}

.cf-license-description-copy a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cfl .cfl-commerce form.cart:has(.cf-license-options) {
    margin-bottom: 0;
    row-gap: 38px;
}

.cfl .cfl-product-card:has(.cf-license-options) :is(.cfl-postcard-link, .cfl-commerce .single_add_to_cart_button) {
    box-sizing: border-box;
    border-radius: 14px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    min-height: 60px;
    padding: 12px;
    text-align: center;
    width: 100%;
}

.cfl .cfl-product-card:has(.cf-license-options) .cfl-commerce .single_add_to_cart_button {
    margin: 0;
}

.cfl .cfl-product-card:has(.cf-license-options) .cfl-postcard-link {
    margin-top: 14px;
}

@media (max-width: 390px) {
    .cf-license-descriptions {
        margin-top: 23px;
    }

    .cfl .cfl-commerce form.cart:has(.cf-license-options) {
        row-gap: 30px;
    }

    .cfl .cfl-product-card:has(.cf-license-options) :is(.cfl-postcard-link, .cfl-commerce .single_add_to_cart_button) {
        min-height: 56px;
    }
}

@container (max-width: 280px) {
    .cf-license-descriptions [data-cf-license-description] {
        gap: 8px;
        padding-inline: 8px;
    }

    .cf-license-icon {
        height: 26px;
        width: 26px;
    }

    .cf-license-description-copy strong {
        font-size: 15px;
    }
}

@media (forced-colors: active) {
    .cf-license-choice input[type="radio"] {
        appearance: auto;
    }
}
