.package1 .package-purchase-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-inline: -6px;
    height: 46px;
}

.package1 .package-purchase-button {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 200px;
    min-height: 46px;
    padding: 0 4px;
    border-radius: 7px;
    font: 16px/1.2 'AvenirNextLTPro-Medium', Arial, sans-serif;
    background-color: #af5724;
    border-color: #af5724;
}

.package1 .package-purchase-button:hover,
.package1 .package-purchase-button:focus {
    background-color: #92461c;
    border-color: #92461c;
    opacity: 1;
}

.package1 .package-purchase-button.btn-block {
    max-width: none;
}

/* The inset track leaves the full height of each label available to tap. */
.package1 .package-billing-toggle {
    position: relative;
    isolation: isolate;
    display: flex;
    flex: 0 0 clamp(114px, 44%, 148px);
    height: 44px;
    min-width: 0;
    margin: 0;
    padding: 0 3px;
    border: 0;
}

.package1 .package-billing-toggle::before,
.package1 .package-billing-toggle::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
}

.package1 .package-billing-toggle::before {
    inset: 3px 0;
    border: 1px solid #bccbc0;
    background: #e5ede6;
}

.package1 .package-billing-toggle::after {
    inset: 6px auto 6px 3px;
    width: calc(50% - 3px);
    background: #fff;
    box-shadow: 0 1px 3px rgba(37, 65, 43, .24);
    transition: transform 180ms ease-out;
}

.package1 .package-billing-toggle:has(input[value="annually"]:checked)::after {
    transform: translateX(100%);
}

.package1 .package-billing-toggle label {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    border-radius: 999px;
    color: #47594d;
    font: 13px/1.2 'AvenirNextLTPro-Medium', Arial, sans-serif;
    cursor: pointer;
}

.package1 .package-billing-toggle input:checked + label {
    color: #254d31;
    font-family: 'AvenirNextLTPro-Bold', Arial, sans-serif;
}

.package1 .package-billing-toggle input:focus-visible + label,
.package1 .package-purchase-button:focus-visible {
    outline: 2px solid #315a37;
    outline-offset: -2px;
}

.package1 .package-billing-toggle input:disabled + label {
    cursor: default;
}

@media (max-width: 1199px) {
    .package1 .package-purchase-options {
        gap: 8px;
    }

    .package1 .package-billing-toggle {
        flex-basis: clamp(128px, 44%, 156px);
        height: 46px;
    }

    .package1 .package-billing-toggle label {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .package1 .package-billing-toggle::after {
        transition: none;
    }
}
