/* Keep the native page grid from expanding to the product's intrinsic width on tablets. */
body.vr-vpn-product-page { grid-template-columns: minmax(0, 1fr); }
.vr-vpn-product .detail-info { min-width: 0; }

.vr-vpn-fields {
    clear: both;
    width: 100%;
    margin-bottom: 8px;
    min-width: 0;
}

.vr-vpn-fields .detail-form-field {
    width: 100%;
    margin-bottom: 12px;
    min-width: 0;
}

.vr-vpn-fields .detail-form-field:last-of-type { margin-bottom: 0; }

.vr-vpn-fields .detail-form-field-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 330px;
}

.vr-password-input {
    position: relative;
    max-width: 330px;
}

.vr-password-input .detail-form-field-input {
    width: 100%;
    max-width: none;
    padding-right: 44px;
}

.vr-password-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #5c6b82;
    cursor: pointer;
    transform: translateY(-50%);
}

.vr-password-toggle:hover,
.vr-password-toggle:focus-visible {
    background: #edf4ff;
    color: #2563eb;
    outline: none;
}

.vr-password-toggle:focus-visible { box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }

.vr-vpn-field-help,
.vr-vpn-feedback {
    min-height: 18px;
    margin: 6px 0 0;
    color: #666;
    font-size: 13px;
}

.vr-vpn-field-help { display: block; overflow-wrap: anywhere; }

.vr-vpn-feedback:empty {
    display: none;
    min-height: 0;
    margin: 0;
}

.vr-vpn-fields .vr-buy-empty { margin: 0; color: #9a3412; }

.vr-vpn-login-notice a {
    color: #dc2626;
    font-weight: 700;
}

.vr-vpn-login-notice a:hover,
.vr-vpn-login-notice a:focus-visible {
    color: #b91c1c;
    text-decoration: underline;
}

.vr-client-downloads {
    margin: 18px 0;
    padding: 28px;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    background: #f7f9fc;
    color: #162033;
}

.vr-client-downloads__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.vr-client-downloads__heading h2 {
    margin: 0;
    color: #17233a;
    font-size: 22px;
    line-height: 1.35;
}

.vr-client-downloads__heading p {
    max-width: 510px;
    margin: 0;
    color: #5b6880;
    font-size: 14px;
    line-height: 1.65;
    text-align: right;
}

.vr-client-downloads__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.vr-client-download-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0e7f1;
    border-radius: 13px;
    background: #fff;
    color: inherit;
    box-shadow: 0 3px 12px rgba(28, 49, 82, .05);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.vr-client-download-card:hover,
.vr-client-download-card:focus-visible {
    border-color: #9db8e2;
    box-shadow: 0 10px 24px rgba(35, 70, 124, .12);
    color: inherit;
    outline: none;
    transform: translateY(-2px);
}

.vr-client-download-card:focus-visible { box-shadow: 0 0 0 3px rgba(37, 99, 235, .25); }

.vr-client-download-card__banner {
    display: flex;
    flex: 0 0 68px;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    color: #2e67ad;
    font-size: 30px;
}

.vr-client-download-card--apple .vr-client-download-card__banner {
    background: #f1f4f8;
    color: #4c5a70;
}

.vr-client-download-card--android .vr-client-download-card__banner,
.vr-client-download-card--tv .vr-client-download-card__banner {
    background: #eaf8ef;
    color: #238150;
}

.vr-client-download-card--fire .vr-client-download-card__banner {
    background: #fff3e8;
    color: #bf6928;
}

.vr-client-download-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 14px 15px 12px;
}

.vr-client-download-card__body h3 {
    margin: 0 0 10px;
    color: #1d293d;
    font-size: 16px;
    line-height: 1.35;
}

.vr-client-download-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.vr-client-download-card__tags span {
    padding: 3px 7px;
    border-radius: 999px;
    background: #f1f4f8;
    color: #5d6a7e;
    font-size: 11px;
    line-height: 1.35;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.vr-client-download-card__action {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 13px;
    color: #1768b3;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.vr-client-download-card__action .fa { font-size: 10px; }

@media (max-width: 960px) {
    .vr-vpn-product .detail-layout { grid-template-columns: minmax(0, 1fr); }
    .vr-client-downloads__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.vr-vpn-delivery {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.vr-vpn-delivery__row { margin-top: 10px; }
.vr-vpn-delivery__notice { margin-top: 6px; color: #b45309; font-weight: 600; }

@media (max-width: 640px) {
    .vr-vpn-fields .detail-form-field-input,
    .vr-password-input {
        width: 100%;
        max-width: none;
    }

    .vr-vpn-fields .detail-form-field { margin-bottom: 12px; }
    .vr-password-toggle { width: 40px; height: 40px; right: 2px; }

    .vr-client-downloads { padding: 20px; }

    .vr-client-downloads__heading {
        display: block;
        margin-bottom: 16px;
    }

    .vr-client-downloads__heading p {
        margin-top: 6px;
        text-align: left;
    }

    .vr-client-downloads__grid { grid-template-columns: 1fr; }
}
