/* ================================================================
   Branding
================================================================ */

:root {
    /* ============================================================
       BRAND
    ============================================================ */
    --clr-primary: #1e2882;
    --clr-secondary: #ff8700;
    --clr-secondary-dark: #f57d06;
    --clr-success: #71bf44;
    --clr-price: #c71414;
    --popup-cta-top: #fdd400;
    --popup-cta-bottom: #f07402;
    --popup-cta-text: #000;

    /* ============================================================
       NEUTRALS
    ============================================================ */
    --clr-text: #1e2882;
    --clr-gray900: #495057;
    --clr-gray800: #969998;
    --clr-gray700: #ced4da;
    --clr-gray600: #e9e9e9;
    --clr-gray400: #f8f8f8;
    --clr-white: #fff;

    /* ============================================================
       FORM COLORS
    ============================================================ */
    --form-color: var(--clr-text);
    --form-control-color: var(--clr-primary);
    --form-choice-color: var(--clr-primary);

    --form-accent-color: var(--clr-secondary);
    --form-accent-hover: var(--clr-secondary-dark);
    --form-link-color: var(--clr-primary);
    --form-link-hover-color: var(--clr-secondary);
    --form-interaction-color: var(--clr-success);

    --form-surface: var(--clr-white);
    --form-border-color: var(--clr-primary);
    --form-muted-color: var(--clr-gray800);

    /* ============================================================
       FORM GEOMETRY
    ============================================================ */
    --form-radius: 4px;

    --form-padding-x: 8px;
    --form-padding-y: 8px;

    --form-field-height: 50px;
    --form-floating-padding-y: 14px;

    --form-row-gap: .7rem;

    /* ============================================================
       CHECKBOX / RADIO
    ============================================================ */
    --form-control-size: clamp(16px, 1.05em, 18px);
    --form-control-gap: clamp(10px, 1.5vw, 14px);

    --form-control-offset:
        calc(
            var(--form-control-size) +
            var(--form-control-gap)
        );

    
    --form-control-top: .18em;

   
    --form-grid-gutter: var(--form-row-gap);
    --form-grid-half-gutter: calc(var(--form-grid-gutter) / 2);

    /* ============================================================
       AGREEMENT
    ============================================================ */
    --agreement-btn-height:
        calc(
            var(--form-control-size) +
            var(--form-control-gap) +
            var(--form-control-gap)
        );

    --agreement-btn-width:
        calc(
            var(--agreement-btn-height) +
            var(--form-control-gap)
        );

    --agreement-column-width:
        calc(
            var(--agreement-btn-width) +
            var(--form-control-gap)
        );

    /* ============================================================
       FOCUS / MOTION
    ============================================================ */
    --form-focus-ring:
        rgba(32, 51, 102, .22);

    --form-transition: .2s ease;
}


@supports (color: color-mix(in srgb, black, transparent)) {
    :root {
        --form-focus-ring:
            color-mix(
                in srgb,
                var(--form-control-color) 22%,
                transparent
            );
    }
}


/* ================================================================
   FORM ROOT
================================================================ */

.wpcf7-form {
    color: var(--form-color);

    --agree-control-color:
        var(--form-control-color);

    --agree-accent-color:
        var(--form-accent-color);

    --agree-focus-color:
        var(--form-focus-ring);
}


/* ================================================================
   ROWS
================================================================ */

.wpcf7-form .form-group.row:not(.checkboxes) {
    margin-bottom:
        var(--form-row-gap);
}


.wpcf7-form
.form-group.row:has(
    > .col-sm-3
):has(
    > .col-sm-5
):has(
    > .col-sm-4
) {
    margin-bottom:
        clamp(1rem, 2vw, 1.35rem);
}


/* ================================================================
   FORM GRID – COMPACT GUTTERS
================================================================ */

.wpcf7-form
.form-group.row:not(.checkboxes) {
    margin-left: calc(-1 * var(--form-grid-half-gutter));
    margin-right: calc(-1 * var(--form-grid-half-gutter));
}

.wpcf7-form
.form-group.row:not(.checkboxes)
> [class*="col"] {
    padding-left: var(--form-grid-half-gutter);
    padding-right: var(--form-grid-half-gutter);
}


.wpcf7-form
.agreements
.form-group.row {
    margin-left: 0;
    margin-right: 0;
}

.wpcf7-form
.agreements
.form-group.row
> [class*="col"] {
    padding-left: 0;
    padding-right: 0;
}


.wpcf7-form
.agreements
.form-group.row
> .col-2 {
    padding-right: var(--form-control-gap);
}


/* ================================================================
   LABELS
================================================================ */

.wpcf7-form label {
    display: block;

    width: 100%;

    margin-bottom: 4px;

    color:
        var(--form-color);

    font-weight: 400;

    cursor: pointer;
}


.wpcf7-form label sup {
    color:
        var(--form-accent-color);
}


/* ================================================================
   LINKS
================================================================ */

.wpcf7-form label a,
.wpcf7-form .form-check a,
.wpcf7-form .agree a,
.wpcf7-form-control-wrap a,
.wpcf7-form .expand-agreements {
    color:
        var(--form-link-color) !important;

    text-decoration: none;

    font-weight: 600;

    transition:
        color
        var(--form-transition);
}


.wpcf7-form label a,
.wpcf7-form .expand-agreements {
    font-weight: 500;
}


.wpcf7-form label a:hover,
.wpcf7-form label a:focus-visible,

.wpcf7-form .form-check a:hover,
.wpcf7-form .form-check a:focus-visible,

.wpcf7-form .agree a:hover,
.wpcf7-form .agree a:focus-visible,

.wpcf7-form-control-wrap a:hover,
.wpcf7-form-control-wrap a:focus-visible,

.wpcf7-form .expand-agreements:hover,
.wpcf7-form .expand-agreements:focus-visible {
    color:
        var(--form-link-hover-color) !important;

    text-decoration: underline;
}


/* ================================================================
   TEXT FIELDS / SELECT
================================================================ */

.wpcf7-form :is(
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select
) {
    appearance: none;

    box-sizing: border-box;

    width: 100%;

    height:
        var(--form-field-height);

    min-height:
        var(--form-field-height);

    padding:
        var(--form-padding-y)
        var(--form-padding-x);

    color:
        var(--form-color);

    background-color:
        var(--form-surface);

    border:
        1px solid
        var(--form-border-color);

    border-radius:
        var(--form-radius);

    transition:
        border-color
        var(--form-transition);
}


.wpcf7-form :is(
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select
):is(:hover, :focus) {
    outline: none;
    box-shadow: none;

    border-color:
        var(--form-interaction-color);
}


.wpcf7-form :is(
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select
):focus-visible {
    outline: 0;
    box-shadow: none;
}


.wpcf7-form :is(
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select
):is(
    .is-valid,
    .is-invalid,
    .wpcf7-not-valid
):focus {
    outline: 0 !important;
    box-shadow: none !important;
}


/* ================================================================
   SELECT
================================================================ */

.wpcf7-form select {
    display: block;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right:
        calc(
            2 * var(--form-padding-x) + 18px
        );

    background-image:
        none !important;

    cursor: pointer;
}


/* ================================================================
   PHONE PREFIX
================================================================ */

.wpcf7-form
.wpcf7-form-control-wrap:has(> select) {
    position: relative;

    display: block;

    height:
        var(--form-field-height);
}


.wpcf7-form
.wpcf7-form-control-wrap:has(> select)
> select {
    box-sizing: border-box;

    height: 100%;
    min-height: 0;
}


.wpcf7-form
.wpcf7-form-control-wrap:has(> select)::after {
    content: "";

    position: absolute;

    top: 50%;
    right:
        var(--form-padding-x);

    width: 12px;
    height: 8px;

    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23212529' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E")
        center / contain
        no-repeat;

    pointer-events: none;

    transform:
        translateY(-50%);

    transition:
        transform .4s ease;
}


.wpcf7-form
.wpcf7-form-control-wrap:has(
    > select:open
)::after {
    transform:
        translateY(-50%)
        rotate(180deg);
}


/* ================================================================
   FLOATING LABELS
================================================================ */

.wpcf7-form
.np-label-container {
    position: relative;

    display: block;

    width: 100%;
}


.wpcf7-form
.np-label-container
:is(
    input,
    select
) {
    padding:
        var(--form-floating-padding-y)
        var(--form-padding-x);

    transition:
        border-color
        var(--form-transition);
}


.wpcf7-form
.np-label-container
input::placeholder {
    opacity: 0;
}


.wpcf7-form
.np-label-container
input[type="date"]::before {
    display: none;
}


.wpcf7-form
.np-label-container
label {
    position: absolute;

    z-index: 2;

    top: 0;
    left:
        var(--form-padding-x);

    display: inline-block;

    width: auto;

    max-width:
        calc(
            100% -
            2 * var(--form-padding-x)
        );

    margin: 0;

    padding:
        var(--form-floating-padding-y)
        0;

    color:
        var(--form-color);

    border-radius:
        var(--form-radius);

    background:
        transparent;

    font-size: 15px;
    line-height: 24px;

    opacity: .9;

    cursor: text;

    pointer-events: none;

    user-select: none;

    transition:
        all
        var(--form-transition);
}


.wpcf7-form
.np-label-container
:is(
    input,
    select
):is(
    :focus,
    :not(:placeholder-shown)
)
~ label {
    top: 0;

    left:
        calc(
            var(--form-padding-x) / 2
        );

    padding:
        0
        calc(
            var(--form-padding-x) / 2
        );

    background:
        linear-gradient(
            180deg,
            transparent 50%,
            var(--form-surface) 50%
        );

    font-size: .7rem;
    line-height: 1.5;

    opacity: 1;

    transform:
        translateY(-50%);
}


/* ================================================================
   RADIO 
================================================================ */

.wpcf7-form
.form-check-inline {
    display: inline-flex;

    align-items: center;
}


.wpcf7-form
.form-check-inline:has(
    input[type="radio"][name="gender"]
) {
    gap:
        clamp(
            7px,
            1.5vw,
            10px
        );

    margin:
        0
        clamp(
            16px,
            4vw,
            24px
        )
        clamp(
            3px,
            .8vw,
            6px
        )
        0 !important;

    padding-block:
        clamp(
            3px,
            .7vw,
            5px
        );
}


.wpcf7-form
input[type="radio"][name="gender"] {
    appearance: none;
    background-image: none;

    flex: 0 0 auto;

    width:
        var(--form-control-size);

    height:
        var(--form-control-size);

    margin: 0;

    border:
        2px solid
        var(--form-choice-color);

    border-radius: 50%;

    background-color:
        var(--form-surface);

    background-clip:
        content-box;

    cursor: pointer;

    transform:
        translateY(1px);

    transition:
        border-color var(--form-transition),
        box-shadow var(--form-transition),
        background-color var(--form-transition);
}


.wpcf7-form
input[type="radio"][name="gender"]:checked {
    border-color:
        var(--form-choice-color);

    background-color:
        var(--form-choice-color);

    box-shadow:
        inset 0 0 0 3px
        var(--form-surface);
}


.wpcf7-form
input[type="radio"][name="gender"]:hover:not(:disabled) {
    border-color:
        var(--form-choice-color);
}


.wpcf7-form
input[type="radio"][name="gender"]:focus-visible {
    outline: 0;

    box-shadow:
        0 0 0 3px
        var(--form-focus-ring);
}


.wpcf7-form
input[type="radio"][name="gender"]:checked:focus-visible {
    box-shadow:
        0 0 0 3px
        var(--form-focus-ring),

        inset 0 0 0 3px
        var(--form-surface);
}


.wpcf7-form
input[type="radio"][name="gender"]
+ label {
    display: inline-block;

    width: auto;

    margin: 0;

    line-height: 1.5;
}


/* ================================================================
  ACCEPTANCE
================================================================ */

.wpcf7-form
.form-check {
    position: relative;

    max-width: 100%;
}


.wpcf7-form
.agreement-agree,

.wpcf7-form
.agreement-agree label,

.wpcf7-form
.agreement-agree
.wpcf7-list-item-label,

.wpcf7-form
.agreement-agree
:is(
    .agree-check,
    input[type="checkbox"]
),

.wpcf7-form
.legal-more
.morelink {
    cursor: pointer;
}


.wpcf7-form
.form-check
.wpcf7-form-control-wrap[data-name="agree"],

.wpcf7-form
.form-check
.wpcf7-form-control-wrap[data-name="agree"]
:is(
    .wpcf7-acceptance,
    .wpcf7-list-item
) {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;
}


.wpcf7-form
.form-check
.wpcf7-form-control-wrap[data-name="agree"]
label {
    position: relative;

    display: block;

    width: 100%;

    margin: 0;

    padding-left:
        var(--form-control-offset);

    line-height: 1.3;
}


.wpcf7-form
.form-check
.wpcf7-form-control-wrap[data-name="agree"]
.wpcf7-list-item-label,

.wpcf7-form
.form-check
.wpcf7-form-control-wrap[data-name="agree"]
.wpcf7-list-item-label
:is(
    a,
    a span
) {
    display: inline;

    margin: 0;

    line-height: inherit;
}


.wpcf7-form
.form-check
.wpcf7-form-control-wrap[data-name="agree"]
input[type="checkbox"] {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip:
        rect(0, 0, 0, 0);

    clip-path:
        inset(50%);

    white-space: nowrap;
}


/* ================================================================
   CUSTOM CHECKBOX
================================================================ */

.wpcf7-form
:is(
    .agree-check,
    .agree-thp-check
) {
    position: absolute;

    top: .25em;
    left: 0;

    display: block;

    box-sizing: border-box;

    width:
        var(--form-control-size);

    height:
        var(--form-control-size);

    border:
        2px solid
        var(--form-control-color);

    border-radius: 2px;

    background:
        var(--form-surface);
}


.wpcf7-form
:is(
    .agree-check,
    .agree-thp-check
)::before,

.wpcf7-form
:is(
    .agree-check,
    .agree-thp-check
)::after {
    content: "";

    position: absolute;

    height: 4px;

    background:
        var(--form-accent-color);

    visibility: hidden;
}


.wpcf7-form
:is(
    .agree-check,
    .agree-thp-check
)::before {
    top: 60%;
    left: 40%;

    width: 70%;

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}


.wpcf7-form
:is(
    .agree-check,
    .agree-thp-check
)::after {
    top: 20%;
    left: 110%;

    width: 150%;

    transform:
        translate(-50%, -50%)
        rotate(-45deg);
}


.wpcf7-form
input[type="checkbox"]:checked
+ :is(
    .agree-check,
    .agree-thp-check
)::before,

.wpcf7-form
input[type="checkbox"]:checked
+ :is(
    .agree-check,
    .agree-thp-check
)::after {
    visibility: visible;
}


.wpcf7-form
input[type="checkbox"]:focus-visible
+ :is(
    .agree-check,
    .agree-thp-check
) {
    outline:
        2px solid
        var(--form-control-color);

    outline-offset: 2px;

    box-shadow:
        0 0 0 3px
        var(--form-focus-ring);
}


/* ================================================================
  
================================================================ */

.wpcf7-form
.form-check.agree-form-check,

.wpcf7-form
.form-check:has(
    > .wpcf7-form-control-wrap[data-name="agree"]
) {
    position: relative;

    padding-left:
        var(--form-control-offset);

    line-height: 1.3;
}


.wpcf7-form
.form-check.agree-form-check
> .wpcf7-form-control-wrap[data-name="agree"],

.wpcf7-form
.form-check:has(
    > .wpcf7-form-control-wrap[data-name="agree"]
)
> .wpcf7-form-control-wrap[data-name="agree"] {
    position: absolute;

    top: 0;
    left: 0;

    width:
        var(--form-control-size);

    height:
        var(--form-control-size);
}


.wpcf7-form
.form-check.agree-form-check
> .wpcf7-form-control-wrap[data-name="agree"]
label,

.wpcf7-form
.form-check:has(
    > .wpcf7-form-control-wrap[data-name="agree"]
)
> .wpcf7-form-control-wrap[data-name="agree"]
label,

.wpcf7-form
.agree-label-detached
> label {
    width:
        var(--form-control-size);

    height:
        var(--form-control-size);

    padding: 0;
}


.wpcf7-form
.agree-label-detached {
    position: relative;

    padding-left:
        0 !important;

    line-height: 1.3;
}


.wpcf7-form
.agree-label-detached
> label {
    position: absolute !important;

    top: 0;
    left: 0;

    display: block !important;

    margin: 0 !important;
}


.wpcf7-form
.agree-label-detached
> label
.agree-check {
    top: .15em;
}


/* ================================================================
   THP 
================================================================ */

.wpcf7-form
.form-check-one.agreement-agree {
    position: relative;

    padding-left:
        var(--form-control-offset);

    color:
        var(--form-color);

    line-height: 1.5;
}


.wpcf7-form
.form-check-one.agreement-agree
> .wpcf7-form-control-wrap {
    position: absolute;

    top: .25em;
    left: 0;

    width:
        var(--form-control-size);

    height:
        var(--form-control-size);
}


.wpcf7-form
.form-check-one.agreement-agree
:is(
    .wpcf7-form-control,
    .wpcf7-list-item,
    .wpcf7-list-item label
) {
    display: block;

    width:
        var(--form-control-size);

    height:
        var(--form-control-size);

    margin: 0;
    padding: 0;
}


.wpcf7-form
.form-check-one.agreement-agree
.wpcf7-list-item
label {
    position: relative;
}


.wpcf7-form
.form-check-one.agreement-agree
.agree-thp-check {
    top: 0;
    left: 0;
}


.wpcf7-form
.form-check-one.agreement-agree
> .wpcf7-list-item-label {
    display: inline;

    margin: 0;

    color:
        var(--form-color);

    line-height: inherit;
}


/* ================================================================
   AGREE
================================================================ */

.wpcf7-form
.form-check:has(
    > .wpcf7-form-control-wrap[data-name="agree-thp"]
) {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding-left: var(--form-control-offset);
    color: var(--form-color);
    line-height: 1.45;
}

.wpcf7-form
.form-check
> .wpcf7-form-control-wrap[data-name="agree-thp"] {
    position: absolute;
    top: var(--form-control-top);
    left: 0;
    display: block;
    width: var(--form-control-size);
    height: var(--form-control-size);
    margin: 0;
    padding: 0;
}

.wpcf7-form
.form-check
> .wpcf7-form-control-wrap[data-name="agree-thp"]
:is(.wpcf7-acceptance, .wpcf7-list-item) {
    display: block;
    width: var(--form-control-size);
    height: var(--form-control-size);
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form
.form-check
> .wpcf7-form-control-wrap[data-name="agree-thp"]
.wpcf7-list-item > label {
    position: relative !important;
    display: block !important;
    width: var(--form-control-size) !important;
    height: var(--form-control-size) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.wpcf7-form
.form-check
> .wpcf7-form-control-wrap[data-name="agree-thp"]
input[type="checkbox"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.wpcf7-form
.form-check
> .wpcf7-form-control-wrap[data-name="agree-thp"]
.agree-thp-check {
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
}

.wpcf7-form
.form-check
> .wpcf7-form-control-wrap[data-name="agree-thp"]
+ .wpcf7-list-item-label {
    display: inline;
    margin: 0;
    padding: 0;
    color: var(--form-color);
    line-height: inherit;
}

.wpcf7-form
.form-check
> .wpcf7-form-control-wrap[data-name="agree-thp"]
+ .wpcf7-list-item-label a,
.wpcf7-form
.form-check
> .wpcf7-form-control-wrap[data-name="agree-thp"]
+ .wpcf7-list-item-label a span {
    display: inline;
    margin: 0;
    padding: 0;
    line-height: inherit;
}

/* ================================================================
   ACCEPT ALL
================================================================ */

.wpcf7-form
#acceptAll {
    position: relative;

    top: 1px;

    margin-right:
        var(--form-control-gap);
}


/* ================================================================
   AGREEMENT BUTTONS – DA / NU
================================================================ */

.wpcf7-form
.agreements
.btn-check {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.wpcf7-form
.agreements
.form-group.row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: var(--form-row-gap);
}

.wpcf7-form
.agreements
.col-2 {
    flex: 0 0 var(--agreement-column-width);
    width: var(--agreement-column-width);
    max-width: var(--agreement-column-width);
    margin: 0;
    padding-left: 0;
    padding-right: var(--form-control-gap);
}

.wpcf7-form
.agreements
.col {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.wpcf7-form
.agreements
label.btn-agreement {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--agreement-btn-width);
    min-width: var(--agreement-btn-width);
    height: var(--agreement-btn-height);
    margin: 0;
    padding: 0;
    border: 1px solid var(--form-muted-color);
    border-radius: var(--form-radius);
    background-color: var(--clr-gray600);
    background-image: none;
    color: var(--form-color);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition:
        background-color var(--form-transition),
        border-color var(--form-transition),
        color var(--form-transition),
        box-shadow var(--form-transition);
}

.wpcf7-form
.agreements
label.btn-agreement:hover {
    border-color: var(--form-interaction-color);
}

.wpcf7-form
.agreements
.btn-check:checked + label.btn-agreement,
.wpcf7-form
.agreements
label.btn-agreement.active {
    border-color: var(--form-interaction-color);
    background-color: var(--form-interaction-color);
    color: var(--form-surface);
}

.wpcf7-form
.agreements
.btn-check:focus-visible + label.btn-agreement {
    outline: 2px solid var(--form-control-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px var(--form-focus-ring);
}

.wpcf7-form
.agreements
.product-color {
    display: block;
    line-height: 1.4;
}

/* ================================================================
   
================================================================ */

.wpcf7-form
.summary
.shipping-options {
    margin:
        10px 0;
}


.wpcf7-form
.summary
.shipping-option {
    display: flex;

    align-items: flex-start;

    gap:
        var(--form-control-gap);

    width: auto;

    margin:
        0 0 12px;

    color:
        var(--form-color);

    font-size: 16px;
    line-height: 1.5;
}


.wpcf7-form
.summary
.shipping-option
input[type="checkbox"] {
    flex: 0 0 auto;

    width:
        var(--form-control-size);

    height:
        var(--form-control-size);

    margin-top: 3px;
}


.wpcf7-form
.summary
.shipping-option.active
span {
    font-weight: 600;
}


/* ================================================================
   VALIDATION
================================================================ */

.wpcf7-form
input[type="radio"][name="gender"]:is(
    .is-valid,
    .is-invalid,
    .wpcf7-not-valid
) {
    border-color:
        var(--form-choice-color) !important;

    background-image:
        none !important;
}


.wpcf7-form
input[type="checkbox"]
:is(
    .is-valid,
    .is-invalid,
    .wpcf7-not-valid
),

.wpcf7-form
input[type="checkbox"]
:is(
    .is-valid,
    .is-invalid,
    .wpcf7-not-valid
)
+ :is(
    .agree-check,
    .agree-thp-check
) {
    border-color:
        var(--form-control-color) !important;

    background-image:
        none !important;
}


.wpcf7-form
input[type="radio"][name="gender"]:is(
    .is-valid,
    .is-invalid,
    .wpcf7-not-valid
)
+ label,

.wpcf7-form
.form-check-input:is(
    .is-valid,
    .is-invalid,
    .wpcf7-not-valid
)
~ .form-check-label,

.wpcf7-form
:is(
    .form-check,
    .form-check-one
):has(
    input[type="checkbox"]:is(
        .is-valid,
        .is-invalid,
        .wpcf7-not-valid
    )
),

.wpcf7-form
.form-check-label.error {
    color:
        var(--form-color) !important;
}


.gender-error,
.error-agree-label,
.invalid-feedback {
    display: block;
}


.wpcf7-form
.form-group.row
> .gender-error {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 4px 0 0;
    padding-left: var(--form-grid-half-gutter);
    padding-right: var(--form-grid-half-gutter);
}


/* ================================================================
   
================================================================ */

.agree-thp-error {
    display: block;

    margin-top: 4px;

    color:
        var(--form-accent-color);

    font-size: .9rem;
}


/* ================================================================
   DISABLED
================================================================ */

.is-disabled,
button[disabled],
input[disabled] {
    opacity: .65;

    pointer-events:
        none !important;

    cursor:
        not-allowed !important;
}


/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 575.98px) {

    .wpcf7-form {
        --form-control-size:
            clamp(16px, 4.4vw, 18px);

        --form-control-gap:
            clamp(9px, 2.8vw, 12px);
    }


    .wpcf7-form
    .agreements
    .form-group.row {
        flex-wrap: nowrap;

        margin-left: 0;
        margin-right: 0;
    }


    .wpcf7-form
    .agreements
    .col-2 {
        flex:
            0 0
            var(--agreement-column-width);

        width:
            var(--agreement-column-width);

        max-width:
            var(--agreement-column-width);

        padding-left: 0;

        padding-right:
            var(--form-control-gap);
    }


    .wpcf7-form
    .agreements
    .col {
        min-width: 0;

        padding-left: 0;
        padding-right: 0;
    }
}


/* ================================================================
   REDUCED MOTION
================================================================ */

@media (prefers-reduced-motion: reduce) {

    .wpcf7-form *,
    .wpcf7-form *::before,
    .wpcf7-form *::after {
        scroll-behavior:
            auto !important;

        transition-duration:
            .01ms !important;
    }
}

/* The authored label keeps PDF links inside the clickable acceptance text. */
.wpcf7-form .acceptance-label {
    position: relative;
    display: block;
    margin: 0;
    padding-left: var(--form-control-offset);
    line-height: 1.3;
}

.wpcf7-form .form-check:has(> .acceptance-label) {
    padding-left: 0;
}

@media (max-width: 575.98px) {
    .wpcf7-form .form-group.row:has(.np-label) > [class*="col-"]:not(:last-child) {
        margin-bottom: var(--form-row-gap);
    }
}

.wpcf7-form .acceptance-label :is(.wpcf7-form-control-wrap, .wpcf7-acceptance, .wpcf7-list-item) {
    display: contents;
}

.wpcf7-form .acceptance-label input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.wpcf7-form .acceptance-label:has(input:checked) > .check::before,
.wpcf7-form .acceptance-label:has(input:checked) > .check::after {
    visibility: visible;
}

.wpcf7-form .acceptance-label:has(input:focus-visible) > .check {
    outline: 2px solid var(--form-control-color);
    outline-offset: 2px;
}

.wpcf7-form .form-group:has(.wpcf7-acceptance) + .invalid-feedback {
    margin-top: calc(-1 * var(--form-row-gap) + .25rem);
    padding-left: var(--form-control-offset);
}

/* Keep the same CF7 presentation as the LT forms. */
.wpcf7 .wpcf7-not-valid-tip,
.wpcf7 .wpcf7-response-output,
.wpcf7 .wpcf7-validation-errors {
    display: none !important;
}

.wpcf7 .screen-reader-response {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.wpcf7-form .thp-submit { padding-top:20px; }
