:root {
    --orange: #FF6C2C;
    --ink: #1b1b1b;
    --muted: #515151;
    --line: #e9e9e9;
    --box: #fff;
    --radius: 12px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background-color: rgb(247, 247, 247);
    color: var(--ink)
}

.left {
    padding: 20px;
    border-radius: 10px;
}

.checkout-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 16px;
}

@media (max-width:860px) {
    .checkout-shell {
        grid-template-columns: 1fr
    }
}

.left .brandline {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 8px
}

.product-title {
    margin: .2rem 0 .4rem
}

.subtle {
    color: var(--muted);
    margin: 0 0 14px
}

.term {
    text-align: left;
    color: #6b6b6b;
    font-size: 11px;
    font-style: italic;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff7f3;
    border: 1px solid #ffd6c3;
    border-radius: 14px;
    padding: 18px;
    margin: 8px 0 14px;
}

.nh-logo {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: #FF6C2C;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    font-size: 28px;
    box-shadow: 0 0 0 6px rgba(255, 108, 44, .18);
}

.nh-text .nh-name {
    font-weight: 800
}

.nh-text .nh-sub {
    font-size: 12px;
    letter-spacing: .08em;
    color: #6b6b6b
}

.bullets {
    margin: 0;
    padding-left: 18px;
    color: #6b6b6b
}

.right h3 {
    margin: 0 0 10px;
}

.help_text{
    font-size: 13px;
    font-style: italic;
    color: #727272;
    font-weight: normal;
}

.box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--box);
    padding: 14px 14px 12px;
    margin-bottom: 12px;
}

h4 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #202020
}

.field {
    display: block;
    margin: 10px 0
}

.field span {
    display: block;
    font-weight: 600;
    margin-bottom: 6px
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[inputmode],
input:not([type]) {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}

input:focus {
    border-color: #FF6C2C;
    box-shadow: 0 0 0 4px rgba(255, 108, 44, .15)
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px
}

@media (max-width:640px) {
    .grid2 {
        grid-template-columns: 1fr
    }
}

.grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px
}

@media (max-width:640px) {
    .grid3 {
        grid-template-columns: 1fr
    }
}

.err {
    color: #b00020;
    font-size: 12px;
    min-height: 16px
}

.hint {
    color: #6b6b6b;
    font-size: 12px
}

.legal {
    text-align: center;
    color: #6b6b6b;
    font-size: 12px
}

/* Single plan row */
.plan-single {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

/* Stripe Card Element box */
.card-element {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.card-element.StripeElement--focus {
    border-color: #FF6C2C;
    box-shadow: 0 0 0 4px rgba(255, 108, 44, .15);
}

/* Buttons */
.btn {
    width: 100%;
    padding: 20px 0px;
    appearance: none;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
}

.btn.primary {
    background: #FF6C2C;
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 108, 44, .22)
}

.btn.primary:hover {
    transform: translateY(-1px)
}

/* Inline loader */
.line-loader {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    color: #6b6b6b
}

.spinner {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 3px solid #ffe1d4;
    border-right-color: #FF6C2C;
    animation: spin .8s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.is-hidden {
    display: none !important
}

/* Inline confirmation (replaces right column) */
.right-confirm {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fff, #fff7f3);
    padding: 24px;
    animation: fadeIn .25s ease both;
    text-align: left;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.right-confirm .ok {
    text-align: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #fff;
    border: 2px solid #FF6C2C;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 32px;
    color: #a94312;
    margin: 0 0 10px 0;
}

/* ===== UPDATED PLAN SELECTOR STYLES ===== */

/* Plans container */
.plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 640px) {
    .plans {
        grid-template-columns: 1fr;
    }
}

/* Plan option styling - completely custom, no reliance on radio buttons */
.plan-option {
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.plan-option:hover {
    border-color: #FF6C2C;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 108, 44, 0.1);
}

.plan-option.selected {
    border-color: var(--orange);
    background: #fff7f3;
    box-shadow: 0 0 0 3px rgba(255, 108, 44, .15);
}

/* Plan header with title and custom radio */
.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.plan-title {
    font-weight: 800;
    font-size: 16px;
    color: var(--ink);
}

/* Custom radio button */
.plan-selector {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    background: #fff;
}

.plan-option.selected .plan-radio-custom {
    border-color: var(--orange);
    background: var(--orange);
}

.plan-option.selected .plan-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.plan-price {
    font-weight: 900;
    font-size: 20px;
    color: var(--ink);
    margin: 0;
}

.plan-price span {
    font-weight: 600;
    color: #6b6b6b;
    font-size: 14px;
}

.plan-sub {
    color: #6b6b6b;
    font-size: 13px;
    margin: 0;
}

.plan-tag {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #a94312;
    background: #fff0ea;
    border: 1px dashed #FF6C2C;
    border-radius: 20px;
    padding: 4px 8px;
    margin-top: 8px;
    align-self: flex-start;
}

/* WordPress/theme override protection */
.plans input[type="radio"],
.plans input[type="checkbox"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
}

/* Force override any WordPress radio button styling */
.plan-option input,
.plan-option input[type="radio"],
.plan-option input[type="checkbox"] {
    display: none !important;
}

/* Legacy plan-card class for backward compatibility */
.plan-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.plan-card.selected {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 108, 44, .15);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}