:root {
    --green: #168035;
    --green-dark: #0f5f28;
    --green-soft: #eaf6ee;
    --text: #0f172a;
    --muted: #526174;
    --border: #dbe5df;
    --bg: #f6faf7;
    --card: #ffffff;
    --danger-bg: #fef2f2;
    --danger-border: #fecaca;
    --danger-text: #991b1b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 36px 20px;
}

.header {
    margin-bottom: 26px;
}

.brand {
    font-size: 30px;
    font-weight: 900;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15, 39, 82, 0.06);
}

.main {
    padding: 30px;
}

.side {
    padding: 22px;
}

h1 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
}

.lead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 26px;
}

.step {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 24px;
}

.step:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title h2 {
    font-size: 20px;
    margin: 0;
}

.field {
    margin-bottom: 18px;
}

label {
    font-weight: 800;
    font-size: 14px;
}

.hint {
    color: var(--muted);
    font-size: 14px;
    margin: 8px 0 14px;
    line-height: 1.45;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #c9d9cf;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
    color: var(--text);
}

textarea {
    min-height: 88px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(22, 128, 53, 0.12);
    outline: none;
}

.inline-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pill-radio {
    border: 1px solid #c9d9cf;
    border-radius: 12px;
    padding: 11px 14px;
    min-width: 150px;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.pill-radio:hover {
    border-color: var(--green);
    background: #fbfdfb;
}

.pill-radio input {
    width: auto;
    accent-color: var(--green);
}

.info-box {
    background: var(--green-soft);
    border: 1px solid #bfdfc8;
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--green-dark);
    font-size: 14px;
    line-height: 1.5;
    margin-top: 14px;
}

.message {
    margin: 20px 0;
    padding: 14px;
    border-radius: 12px;
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    color: var(--danger-text);
    font-weight: 800;
}

.product-box {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.product-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--green-soft);
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 30px;
    flex: 0 0 auto;
}

.product-title {
    font-weight: 900;
    margin-bottom: 4px;
}

.product-meta {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    font-size: 15px;
}

.summary-line:first-of-type {
    border-top: none;
}

.summary-total {
    margin-top: 14px;
    border: 1px solid #bfdfc8;
    background: var(--green-soft);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    color: var(--green-dark);
    font-size: 20px;
    font-weight: 900;
}

.trust {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

button,
.checkout-button {
    width: 100%;
    border: none;
    background: var(--green);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    padding: 16px 24px;
    border-radius: 14px;
    cursor: pointer;
    margin-top: 20px;
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

button:hover,
.checkout-button:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 95, 40, 0.18);
}

a {
    color: var(--green-dark);
}

@media (max-width: 850px) {
    .page {
        padding: 20px 14px;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .main,
    .side {
        padding: 22px;
    }

    h1 {
        font-size: 24px;
    }

    .inline-options {
        flex-direction: column;
    }

    .pill-radio {
        width: 100%;
    }
}
.checkout-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.checkout-logo img {
    height: 52px;
    width: auto;
}

.checkout-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.checkout-nav a {
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 800;
}

.checkout-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .checkout-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .checkout-nav {
        gap: 14px;
    }
}
.checkout-consent {
    margin-top: 22px;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.6;
}

.consent-check input {
    width: auto;
    margin-top: 3px;
    accent-color: var(--green);
}

.consent-check a {
    color: var(--green-dark);
    font-weight: 700;
    text-decoration: none;
}

.consent-check a:hover {
    text-decoration: underline;
}
.plan-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.plan-card {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    align-items: start;
    cursor: pointer;
}

.plan-card input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #0f8a43;
}

.plan-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.plan-name {
    font-weight: 700;
    color: #0b2440;
}

.plan-price {
    font-weight: 700;
    color: #0f8a43;
}

.plan-description {
    display: block;
    margin-top: 3px;
    font-size: 14px;
    font-weight: 400;
    color: #334155;
}