/* VPSRox — order page */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero */
.or-hero {
    padding: 72px 0 40px;
    text-align: center;
}

.or-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.or-crumb a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.or-crumb a:hover { color: var(--bg-card); }

.or-crumb-current { color: var(--text-main); font-weight: 600; }

.or-hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.12;
    margin-bottom: 20px;
    color: var(--text-main);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.or-hero-lead {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

.or-hero-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.or-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.or-chip a {
    color: var(--bg-card);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.or-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    flex-shrink: 0;
}

/* Dark spec bar */
.or-spec-bar {
    background: var(--bg-card);
    padding: 28px 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.or-spec-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.or-spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.or-spec-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.2px;
}

.or-spec-key {
    font-size: 13px;
    color: var(--text-light-secondary);
}

/* Builder layout */
.or-builder {
    padding: 56px 0 80px;
}

.or-builder-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.or-options {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.or-block {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 28px 32px;
}

.or-block-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.or-block-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-green);
    letter-spacing: 0.05em;
    padding-top: 4px;
    flex-shrink: 0;
}

.or-block-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.or-block-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.or-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.or-note svg { flex-shrink: 0; margin-top: 2px; }

/* Duration grid */
.or-dur-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.or-dur-opt { cursor: pointer; }

.or-dur-face {
    position: relative;
    border: 2px solid var(--border-light);
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: var(--bg-main);
}

.or-dur-opt input:checked + .or-dur-face {
    border-color: var(--bg-card);
    background: rgba(15, 42, 29, 0.04);
    box-shadow: 0 0 0 1px var(--bg-card);
}

.or-dur-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 9999px;
    background: var(--bg-card);
    color: var(--text-light);
    white-space: nowrap;
}

.or-dur-badge--save { background: var(--accent-green); color: #0F2A1D; }

.or-dur-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.or-dur-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.or-dur-hint {
    font-size: 12px;
    color: var(--text-muted);
}

/* Region grid */
.or-region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.or-region-opt { cursor: pointer; }

.or-region-face {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 2px solid var(--border-light);
    border-radius: 14px;
    padding: 16px 12px;
    transition: border-color 0.2s, background 0.2s;
    background: var(--bg-main);
}

.or-region-opt input:checked + .or-region-face {
    border-color: var(--bg-card);
    background: rgba(15, 42, 29, 0.04);
}

.or-region-flag { font-size: 24px; line-height: 1; }

.or-region-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
}

.or-region-zone {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.or-region-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s, transform 0.2s;
    color: var(--accent-green);
}

.or-region-opt input:checked + .or-region-face .or-region-check {
    opacity: 1;
    transform: scale(1);
}

/* Addons */
.or-addon-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.or-addon-opt { cursor: pointer; display: block; }

.or-addon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 18px;
    transition: border-color 0.2s, background 0.2s;
    background: var(--bg-main);
}

.or-addon-opt input:checked + .or-addon-row {
    border-color: var(--bg-card);
    background: rgba(15, 42, 29, 0.04);
}

.or-addon-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.or-addon-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.or-addon-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    flex-shrink: 0;
}

.or-tb5-opt { cursor: pointer; display: block; }

.or-tb5-face {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 18px;
    transition: border-color 0.2s, background 0.2s;
    background: var(--bg-main);
}

.or-tb5-opt input:checked + .or-tb5-face {
    border-color: var(--accent-green);
    background: rgba(42, 211, 135, 0.06);
}

.or-tb5-switch {
    width: 36px;
    height: 20px;
    border-radius: 9999px;
    background: var(--border-light);
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
}

.or-tb5-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.or-tb5-opt input:checked + .or-tb5-face .or-tb5-switch {
    background: var(--accent-green);
}

.or-tb5-opt input:checked + .or-tb5-face .or-tb5-switch::after {
    transform: translateX(16px);
}

.or-tb5-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.or-tb5-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.or-tb5-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

/* Summary sidebar */
.or-summary {
    position: sticky;
    top: 88px;
}

.or-summary-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px -12px rgba(15, 42, 29, 0.35);
}

.or-summary-head {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--border-dark);
}

.or-summary-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.or-summary-total {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -1px;
    line-height: 1;
}

.or-summary-body {
    padding: 24px 28px 28px;
}

.or-lines {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.or-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
}

.or-line dt {
    color: var(--text-light-secondary);
    font-weight: 500;
}

.or-line dd {
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.or-divider {
    height: 1px;
    background: var(--border-dark);
    margin: 20px 0;
}

.or-pay-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.or-pay-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.or-pay-loading,
.or-pay-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light-secondary);
    padding: 12px;
}

.or-pay-option { cursor: pointer; display: block; }

.or-pay-card {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--border-dark);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.2s, background 0.2s;
}

.or-pay-option input:checked + .or-pay-card {
    border-color: var(--accent-green);
    background: rgba(42, 211, 135, 0.08);
}

.or-pay-logo {
    width: 44px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.or-pay-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.or-pay-logo svg { color: var(--text-light-secondary); }

.or-pay-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.or-pay-currencies {
    font-size: 11px;
    color: var(--text-light-secondary);
    margin-top: 2px;
}

.or-pay-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-dark);
    margin-left: auto;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s;
}

.or-pay-option input:checked + .or-pay-card .or-pay-radio {
    border-color: var(--accent-green);
}

.or-pay-option input:checked + .or-pay-card .or-pay-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--accent-green);
}

.or-renewal {
    font-size: 12px;
    color: var(--text-light-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.or-renewal--once { color: var(--accent-yellow); }

.or-btn-checkout {
    width: 100%;
    gap: 8px;
    padding: 14px 24px;
    font-size: 15px;
    margin-bottom: 16px;
    background: var(--accent-green) !important;
    color: #0F2A1D !important;
    border: none !important;
}

.or-btn-checkout:hover {
    background: var(--accent-mint) !important;
    transform: translateY(-1px);
}

.or-btn-checkout:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.or-trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.or-trust-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light-secondary);
}

.or-trust-list svg { color: var(--accent-green); flex-shrink: 0; }

/* Delivery section */
.or-delivery {
    padding: 80px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.or-section-eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-green);
    margin-bottom: 12px;
}

.or-delivery-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.or-delivery-head h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.or-delivery-head p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.or-delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.or-delivery-card {
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px 24px;
}

.or-delivery-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(42, 211, 135, 0.12);
    color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.or-delivery-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.or-delivery-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.or-delivery-foot {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.or-delivery-foot a {
    color: var(--bg-card);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Modals */
.or-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 42, 29, 0.55);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.or-modal {
    background: var(--bg-white);
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.3);
}

.or-modal--wide { max-width: 480px; }

.or-modal-hero {
    background: var(--bg-card);
    padding: 36px 32px 28px;
    text-align: center;
}

.or-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(42, 211, 135, 0.15);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.or-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 8px;
}

.or-modal-sub {
    font-size: 14px;
    color: var(--text-light-secondary);
    line-height: 1.6;
    margin: 0;
}

.or-modal-body {
    padding: 24px 32px 32px;
}

.or-modal-body--compact { padding-top: 16px; }

.or-modal-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-main);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.or-modal-notice svg { flex-shrink: 0; margin-top: 1px; color: var(--text-muted); }

.or-modal-btn {
    width: 100%;
    gap: 8px;
}

.or-modal-foot {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    margin-bottom: 0;
}

.or-modal-foot a { color: var(--bg-card); font-weight: 600; }

.or-modal-head {
    background: var(--bg-card);
    padding: 20px 24px 0;
}

.or-modal-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.or-modal-head-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
}

.or-modal-close {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light-secondary);
    transition: background 0.2s;
}

.or-modal-close:hover { background: rgba(255,255,255,0.18); }

.or-modal-banner {
    background: rgba(42, 211, 135, 0.1);
    border: 1px solid rgba(42, 211, 135, 0.25);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 0;
}

.or-modal-banner-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.or-modal-banner-body {
    font-size: 13px;
    color: var(--text-light-secondary);
}

.or-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.or-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.or-progress-steps::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
}

.or-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.or-progress-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.or-progress-step--done .or-progress-dot {
    border-color: var(--accent-green);
    background: rgba(42, 211, 135, 0.1);
}

.or-progress-step--active .or-progress-dot {
    border-color: var(--accent-green);
    background: rgba(42, 211, 135, 0.08);
}

.or-progress-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.or-progress-step--active .or-progress-label { color: var(--bg-card); }

.or-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.or-feature-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-main);
    background: var(--bg-main);
    border-radius: 10px;
    padding: 10px 12px;
}

.or-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.or-feature-icon--green { background: rgba(42, 211, 135, 0.15); color: var(--bg-card); }
.or-feature-icon--mint { background: rgba(112, 225, 176, 0.2); color: var(--bg-card); }
.or-feature-icon--dark { background: rgba(15, 42, 29, 0.08); color: var(--bg-card); }
.or-feature-icon--muted { background: rgba(143, 158, 148, 0.12); color: var(--text-muted); }

.or-login-hint {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
    margin-bottom: 0;
}

.or-login-hint button {
    background: none;
    border: none;
    color: var(--bg-card);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: inherit;
    padding: 0;
}

.or-ssl-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 16px;
    margin-bottom: 0;
}

/* Spinner */
.or-spin {
    animation: or-spin 0.8s linear infinite;
}

@keyframes or-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .or-builder-grid {
        grid-template-columns: 1fr;
    }

    .or-summary {
        position: static;
        order: -1;
    }

    .or-spec-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .or-dur-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .or-region-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .or-hero h1 { font-size: 34px; }

    .or-hero-lead { font-size: 16px; }

    .or-block { padding: 20px; }

    .or-dur-grid,
    .or-region-grid {
        grid-template-columns: 1fr 1fr;
    }

    .or-delivery-grid {
        grid-template-columns: 1fr;
    }

    .or-spec-inner {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .or-summary-total { font-size: 32px; }
}
