.product-interest-page {
    min-height: calc(100vh - 6rem);
    background:
        radial-gradient(
            circle at top left,
            color-mix(in srgb, var(--sf-brand-primary) 18%, transparent),
            transparent 32rem
        ),
        linear-gradient(
            180deg,
            var(--sf-page-gradient-start) 0%,
            var(--sf-page-gradient-end) 100%
        );
}

.product-interest {
    padding: clamp(2rem, 5vw, 5rem) 1rem;
}

.product-interest__container {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: 76rem;
    margin: 0 auto;
    align-items: start;
}

.product-interest__summary,
.product-interest__panel {
    background: var(--sf-card-bg);
    border: 1px solid var(--sf-card-border);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.18);
}

.product-interest__summary {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.product-interest__panel {
    padding: clamp(1.25rem, 4vw, 2rem);
}

.product-interest__eyebrow {
    margin: 0 0 0.75rem;
    color: var(--sf-heading-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-interest__title {
    margin: 0;
    color: var(--sf-heading-primary);
    font-family: var(--sf-font-heading);
    font-size: clamp(2.35rem, 6vw, 4.5rem);
    line-height: 0.95;
}

.product-interest__intro {
    max-width: 38rem;
    margin: 1.25rem 0 0;
    color: var(--sf-text-secondary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.65;
}

.product-interest__product-card {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--sf-page-surface);
    border: 1px solid var(--sf-card-border);
    border-radius: 1rem;
}

.product-interest__image {
    width: 7rem;
    height: 7rem;
    object-fit: cover;
    border-radius: 0.85rem;
    background: var(--sf-card-image-bg);
}

.product-interest__product-name {
    margin: 0;
    color: var(--sf-heading-primary);
    font-size: 1.15rem;
    font-weight: 700;
}

.product-interest__product-description {
    margin: 0.35rem 0 0;
    color: var(--sf-text-secondary);
    line-height: 1.45;
}

.product-interest__back-link {
    display: inline-flex;
    margin-top: 0.85rem;
    color: var(--sf-heading-secondary);
    font-weight: 700;
    text-decoration: none;
}

.product-interest__back-link:hover {
    text-decoration: underline;
}

.product-interest-form {
    display: grid;
    gap: 1.25rem;
}

.product-interest-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.product-interest-form__field {
    display: grid;
    gap: 0.45rem;
}

.product-interest-form__field--full {
    grid-column: 1 / -1;
}

.product-interest-form__field label,
.product-interest-form__consent label {
    color: var(--sf-heading-primary);
    font-size: 0.92rem;
    font-weight: 700;
}

.product-interest-form__field input,
.product-interest-form__field select,
.product-interest-form__field textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.9rem;
    color: var(--sf-body-text);
    background: var(--sf-page-surface);
    border: 1px solid var(--sf-card-border);
    border-radius: 0.85rem;
    font: inherit;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.product-interest-form__field textarea {
    min-height: 8rem;
    resize: vertical;
}

.product-interest-form__field input:focus,
.product-interest-form__field select:focus,
.product-interest-form__field textarea:focus {
    outline: none;
    border-color: var(--sf-brand-primary);
    box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--sf-brand-primary) 24%, transparent);
}

.product-interest-form__consent {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    background: var(--sf-page-surface);
    border: 1px solid var(--sf-card-border);
    border-radius: 1rem;
}

.product-interest-form__consent input {
    margin-top: 0.2rem;
}

.product-interest__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    min-height: 3.25rem;
    padding: 0.85rem 1.45rem;
    color: var(--sf-brand-text);
    background: var(--sf-brand-primary);
    border: 0;
    border-radius: 0.85rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.24);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.product-interest__button:hover {
    background: var(--sf-brand-secondary);
    box-shadow: 0 1.15rem 2.25rem rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.product-interest__success {
    display: grid;
    gap: 1rem;
    justify-items: start;
    align-content: center;
    min-height: 22rem;
}

.product-interest__success-mark {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin: 0;
    color: var(--sf-brand-text);
    background: var(--sf-brand-primary);
    border-radius: 999px;
    font-weight: 900;
}

.product-interest__success h2 {
    margin: 0;
    color: var(--sf-heading-primary);
    font-family: var(--sf-font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.product-interest__success p {
    margin: 0;
    color: var(--sf-text-secondary);
    line-height: 1.6;
}

.errorlist {
    margin: 0.15rem 0 0;
    padding-left: 1.1rem;
    color: var(--sf-error-text);
    font-size: 0.9rem;
}

@media (max-width: 820px) {
    .product-interest__container {
        grid-template-columns: 1fr;
    }

    .product-interest-form__grid {
        grid-template-columns: 1fr;
    }

    .product-interest__product-card {
        grid-template-columns: 5.5rem minmax(0, 1fr);
    }

    .product-interest__image {
        width: 5.5rem;
        height: 5.5rem;
    }

    .product-interest__button {
        width: 100%;
    }
}

.product-interest-form__account-note {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    color: var(--sf-text-secondary);
    background: var(--sf-page-surface);
    border: 1px solid var(--sf-card-border);
    border-radius: 1rem;
}

.product-interest-form__account-note strong {
    color: var(--sf-heading-secondary);
    font-size: 1rem;
}

.product-interest-form__account-note span {
    line-height: 1.5;
}

/* Product interest success page */
.product-interest__container--success {
    align-items: stretch;
}

.product-interest--success .product-interest__success {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-interest__success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

.product-interest__button--secondary {
    background: transparent;
    color: var(--sf-heading-secondary);
    border: 1px solid currentColor;
}

.product-interest__button--secondary:hover {
    color: var(--sf-brand-text);
    background: var(--sf-brand-primary);
}

@media (max-width: 720px) {
    .product-interest__success-actions {
        flex-direction: column;
    }

    .product-interest__success-actions .product-interest__button {
        width: 100%;
        text-align: center;
    }
}

.product-interest-form__consent-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 0.85rem;
    width: 100%;
}

.product-interest-form__consent-row input[type="checkbox"] {
    grid-column: 1;
    width: 1rem;
    height: 1rem;
    margin: 0.2rem 0 0;
}

.product-interest-form__consent-row label {
    grid-column: 2;
    display: block;
    width: auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-align: left;
}

.product-interest-form__consent-help {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0 0;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-align: left;
    color: var(--sf-warning-text);
}

.product-interest__button:disabled,
.product-interest__button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.55;
    box-shadow: none;
}
