/* VDC Order Page — Charcoal design standard
   VDC-v2: п.1 Order Page */

/* --- Design tokens --- */
:root {
    --ch-primary: #394A5E;
    --ch-primary-light: #4a6177;
    --ch-slate-green: #4a7c6b;
    --ch-card-border: #e0e4e8;
    --ch-text: #2d3748;
    --ch-text-muted: #6c757d;
}

/* --- Hero --- */
.vdc-hero {
    background: linear-gradient(135deg, #394A5E 0%, #2d3a4a 100%);
    color: #fff;
    padding: 56px 0 48px;
}
.vdc-hero .container {
    padding-left: 26px;
}
.vdc-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.vdc-hero .lead {
    font-size: 17px;
    opacity: 0.85;
    max-width: 560px;
    line-height: 1.6;
}

/* --- Feature cards --- */
.vdc-features {
    margin-top: -32px;
    position: relative;
    z-index: 2;
}
.vdc-feature-card {
    background: #fff;
    border: 1px solid var(--ch-card-border);
    border-radius: 10px;
    padding: 28px 24px;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.vdc-feature-card:hover {
    border-color: #b0b8c4;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.vdc-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.vdc-feature-icon svg {
    width: 22px;
    height: 22px;
}
.vdc-feature-icon.blue   { background: #e8f0fe; color: #3b82f6; }
.vdc-feature-icon.green  { background: #e6f4ee; color: #4a7c6b; }
.vdc-feature-icon.amber  { background: #fef3e2; color: #d97706; }
.vdc-feature-icon.purple { background: #f0e6fe; color: #7c3aed; }
.vdc-feature-card h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ch-text);
}
.vdc-feature-card p {
    font-size: 13px;
    color: var(--ch-text-muted);
    margin: 0;
    line-height: 1.55;
}

/* --- Pricing strip + Examples --- */
.vdc-pricing-row-outer {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin-top: 24px;
}
.vdc-pricing {
    background: #fff;
    border: 1px solid var(--ch-card-border);
    border-radius: 10px;
    padding: 24px 28px;
    flex: 1;
}
.vdc-examples-block {
    background: #fff;
    border: 1px solid var(--ch-card-border);
    border-radius: 10px;
    padding: 16px 20px;
    width: 280px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    transition: border-color 0.2s;
}
.vdc-examples-block:hover {
    border-color: #b0b8c4;
}
.vdc-examples-block h5 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--ch-text);
}
.vdc-examples-block .desc {
    font-size: 11px;
    color: var(--ch-text-muted);
    line-height: 1.5;
    margin: 0;
}
.vdc-pricing-row {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.vdc-price-item .amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--ch-primary);
}
.vdc-price-item .unit {
    font-size: 13px;
    color: var(--ch-text-muted);
}
.vdc-price-item .label {
    font-size: 12px;
    color: var(--ch-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.vdc-pricing-divider {
    width: 1px;
    height: 36px;
    background: var(--ch-card-border);
}

/* --- Quick Start --- */
.vdc-quickstart {
    background: #fff;
    border: 1px solid var(--ch-card-border);
    border-radius: 10px;
    padding: 32px 28px;
    margin-top: 24px;
}
.vdc-quickstart h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}
.vdc-quickstart .hint {
    font-size: 13px;
    color: var(--ch-text-muted);
    margin-bottom: 24px;
}
.vdc-qs-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ch-text);
    margin-bottom: 6px;
    display: block;
}
.vdc-qs-input {
    height: 40px;
    border: 1px solid var(--ch-card-border);
    border-radius: 6px;
    padding: 0 14px;
    font-size: 14px;
    width: 100%;
    max-width: 400px;
    transition: border-color 0.15s;
}
.vdc-qs-hint {
    display: block;
    font-size: 11px;
    color: var(--ch-text-muted);
    margin-top: 6px;
}
.vdc-qs-input:focus {
    border-color: var(--ch-primary);
    background: #eef1f5;
    outline: none;
    box-shadow: none;
}

/* Toggle switch */
.vdc-toggle-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
}
.vdc-toggle-switch {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 24px;
    margin-top: 1px;
}
.vdc-toggle-switch input { opacity: 0; width: 0; height: 0; }
.vdc-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s;
}
.vdc-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
}
.vdc-toggle-switch input:checked + .vdc-toggle-slider {
    background: var(--ch-slate-green);
}
.vdc-toggle-switch input:checked + .vdc-toggle-slider::before {
    transform: translateX(20px);
}
.vdc-toggle-label h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}
.vdc-toggle-label p {
    font-size: 12px;
    color: var(--ch-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* --- Checkout --- */
.vdc-checkout {
    margin-top: 24px;
    margin-bottom: 80px;
}

/* Payment card */
.vdc-payment-card {
    background: #fff;
    border: 1px solid var(--ch-card-border);
    border-radius: 10px;
    padding: 24px;
}
.vdc-payment-card h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}
.vdc-payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--ch-card-border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    margin-bottom: 8px;
}
.vdc-payment-option:hover {
    border-color: #b0b8c4;
}
.vdc-payment-option.active {
    border-color: var(--ch-primary);
    background: #f5f7fa;
}
.vdc-payment-option input[type="radio"] {
    accent-color: var(--ch-primary);
}
.vdc-payment-option span {
    font-size: 14px;
    font-weight: 500;
}

/* Summary */
.vdc-sidebar-sticky {
    position: sticky;
    top: 100px;
}
.vdc-summary {
    background: #fff;
    border: 1px solid var(--ch-card-border);
    border-radius: 10px;
    padding: 24px;
}
.vdc-summary h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.vdc-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 6px 0;
}
.vdc-summary-line.total {
    font-weight: 700;
    font-size: 16px;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid #dee2e6;
}
.vdc-summary-line .muted {
    color: var(--ch-text-muted);
    font-size: 13px;
}
.vdc-summary-badge {
    display: inline-block;
    background: #e6f4ee;
    color: var(--ch-slate-green);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 12px;
}

/* Order button */
.vdc-btn-order {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--ch-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 16px;
}
.vdc-btn-order:hover {
    background: var(--ch-primary-light);
}

/* ToS */
.vdc-tos-text {
    font-size: 13px;
    color: var(--ch-text-muted);
}
.vdc-tos-text a {
    color: var(--ch-primary);
    text-decoration: none;
}

/* How it works */
.vdc-steps {
    background: #fff;
    border: 1px solid var(--ch-card-border);
    border-radius: 10px;
    padding: 28px;
    margin-top: 16px;
}
.vdc-steps h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}
.vdc-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.vdc-step:last-child { margin-bottom: 0; }
.vdc-step-num {
    width: 28px;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ch-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vdc-step-text {
    font-size: 13px;
    line-height: 1.55;
    padding-top: 4px;
}

/* Section counter badges (match existing orderpage) */
.cart-products-scount {
    border: 1px solid #ddd;
    height: 32px;
    width: 32px;
    line-height: 32px;
    font-size: 14px;
    border-radius: 50%;
    margin-right: 12px;
    display: inline-block;
    text-align: center;
    color: #888;
}

/* Registration card overrides */
.vdc-payment-card .regcard {
    border: none;
    box-shadow: none;
}
.vdc-payment-card .formcheckwrap {
    display: flex;
    gap: 24px;
}