/*
 * Custom CSS for Nexus Cart Orderform
 *
 * This file allows you to customize the theme colors and styles for the Nexus Cart orderform.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --vl-primary: var(--zinc-900); use --vl-primary: #your-color;
 * - You can also override any CSS properties here.
 *
 * Note: Changes here will apply to the orderform's Shadow DOM.
 */

/* Add you custom styles here */
:host, :root {
    /* Primary colors */
    --vl-primary: var(--primary);
    --vl-primary-lifted: var(--primary-lifted);
    --vl-primary-accented: var(--primary-accented);

    /* Secondary colors */
    --vl-secondary: var(--secondary);
    --vl-secondary-lifted: var(--secondary-lifted);
    --vl-secondary-accented: var(--secondary-accented);

    /* Success colors */
    --vl-success: var(--success);
    --vl-success-lifted: var(--success-lifted);
    --vl-success-accented: var(--success-accented);

    /* Info colors */
    --vl-info: var(--info);
    --vl-info-lifted: var(--info-lifted);
    --vl-info-accented: var(--info-accented);

    /* Notice colors */
    --vl-notice: var(--notice);
    --vl-notice-lifted: var(--notice-lifted);
    --vl-notice-accented: var(--notice-accented);

    /* Warning colors */
    --vl-warning: var(--warning);
    --vl-warning-lifted: var(--warning-lifted);
    --vl-warning-accented: var(--warning-accented);

    /* Error colors */
    --vl-error: var(--error);
    --vl-error-lifted: var(--error-lifted);
    --vl-error-accented: var(--error-accented);

    /* Grayscale colors */
    --vl-grayscale: var(--grayscale);
    --vl-grayscale-lifted: var(--grayscale-lifted);
    --vl-grayscale-accented: var(--grayscale-accented);

    /* Neutral colors */
    --vl-neutral: var(--neutral);
    --vl-neutral-lifted: var(--neutral-lifted);
    --vl-neutral-accented: var(--neutral-accented);

    /* Text neutral colors */
    --vl-text-inverted: var(--text-inverted);
    --vl-text-muted: var(--text-muted);
    --vl-text-lifted: var(--text-lifted);
    --vl-text-accented: var(--text-accented);
    --vl-text: var(--text);

    /* Border neutral colors */
    --vl-border-muted: var(--border-muted);
    --vl-border: var(--border);
    --vl-border-lifted: var(--border-lifted);
    --vl-border-accented: var(--border-accented);

    /* Background neutral colors */
    --vl-bg: var(--bg);
    --vl-bg-muted: var(--bg-muted);
    --vl-bg-lifted: var(--bg-lifted);
    --vl-bg-accented: var(--bg-accented);
    --vl-bg-inverted: var(--bg-inverted);

    /* Additional custom properties */
    /* Font Sizes */
    --vl-text-xs: var(--text-xs);
    --vl-text-sm: var(--text-sm);
    --vl-text-md: var(--text-md);
    --vl-text-lg: var(--text-lg);

    /* Spacing */
    --vl-outline-sm: var(--outline-sm);
    --vl-outline-md: var(--outline-md);
    --vl-outline-lg: var(--outline-lg);

    /* Rounding */
    --vl-rounding-sm: var(--rounding-sm);
    --vl-rounding-md: var(--rounding-md);
    --vl-rounding-lg: var(--rounding-lg);

    /* Other */
    --vl-letter-spacing: var(--letter-spacing);
    --vl-disabled-opacity: var(--disabled-opacity);
}

.main-navbar-wrapper,
[data-target="#mainNavbar"] {
    display: none !important;
}

section#main-body {
    padding: 0 !important;
    background: #eef3f9 !important;
}

section#main-body .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

section#main-body .primary-content > p {
    display: none !important;
}

#nexusOnePageCheckout {
    color: #0f2740;
    background:
        radial-gradient(1800px 550px at -5% -25%, rgba(17, 104, 238, 0.12), transparent 58%),
        radial-gradient(1500px 500px at 105% -20%, rgba(23, 178, 255, 0.14), transparent 55%),
        linear-gradient(180deg, #f6f9fd 0%, #eef3f9 100%);
    min-height: calc(100vh - 80px);
    padding: 18px 0 36px;
}

.nexus-opc-header-wrap {
    padding: 0 16px 20px;
}

.nexus-opc-header {
    max-width: 1240px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d9e3ee;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 39, 64, 0.07);
    padding: 20px 24px;
}

.nexus-opc-kicker {
    margin: 0 0 2px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4b6b8c;
    font-weight: 700;
}

.nexus-opc-header h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
    color: #0f2740;
}

.nexus-opc-steps {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.nexus-opc-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #d8e2ee;
    border-radius: 12px;
    background: #f9fbfe;
    color: #5b7797;
    font-weight: 700;
    transition: all 0.2s ease;
}

.nexus-opc-step.is-active {
    border-color: #0f58cc;
    background: #edf4ff;
    color: #0f58cc;
    box-shadow: inset 0 0 0 1px rgba(15, 88, 204, 0.14);
}

.nexus-opc-step.is-complete {
    border-color: #0f8a5f;
    background: #effaf6;
    color: #0f8a5f;
}

.nexus-opc-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.nexus-opc-step-label {
    font-size: 14px;
}

.nexus-opc-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
    gap: 22px;
}

.nexus-opc-main,
.nexus-opc-sidebar {
    min-width: 0;
}

.nexus-opc-card {
    background: #fff;
    border: 1px solid #d9e3ee;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 39, 64, 0.06);
    overflow: hidden;
    margin-bottom: 18px;
}

.nexus-opc-card-head {
    padding: 18px 20px;
    border-bottom: 1px solid #eaf0f7;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
}

.nexus-opc-card-head h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
    color: #0f2740;
}

.nexus-opc-card-head p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #5a728f;
}

.nexus-opc-card-body {
    padding: 18px 20px;
}

.nexus-opc-loader {
    padding: 24px 0;
    text-align: center;
    color: #4f6f90;
    font-weight: 600;
}

.nexus-opc-summary-card {
    position: sticky;
    top: 14px;
}

.nexus-opc-primary-btn {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    border: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(180deg, #0f72f8 0%, #0f57ca 100%);
    box-shadow: 0 12px 22px rgba(15, 87, 202, 0.34);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.nexus-opc-primary-btn:hover,
.nexus-opc-primary-btn:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(15, 87, 202, 0.42);
}

.nexus-opc-primary-btn.is-disabled,
.nexus-opc-primary-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.nexus-opc-summary-actions {
    margin-top: 16px;
}

.nexus-opc-link {
    display: inline-block;
    margin-top: 12px;
    color: #0f58cc;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.nexus-opc-link:hover {
    color: #083f8f;
}

#opcSummaryPanel .order-summary {
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

#opcSummaryPanel .order-summary h2,
#opcSummaryPanel .btn-checkout,
#opcSummaryPanel #continueShopping,
#opcSummaryPanel .express-checkout-buttons {
    display: none !important;
}

#opcSummaryPanel .summary-container {
    padding: 0;
}

#opcSummaryPanel .subtotal,
#opcSummaryPanel .recurring-totals,
#opcSummaryPanel .bordered-totals > div {
    font-size: 14px;
}

#opcSummaryPanel .total-due-today {
    margin-top: 12px;
    border-radius: 12px;
    background: #edf4ff;
    color: #0f2740;
}

#opcSummaryLineItems {
    margin-bottom: 14px;
}

.nexus-opc-line-items h3,
.nexus-opc-mini-title {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5b7797;
    font-weight: 700;
}

.nexus-opc-line-items ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e7eef6;
}

.nexus-opc-line-items li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #e7eef6;
}

.nexus-opc-line-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #193553;
}

.nexus-opc-line-meta {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #5f7896;
}

.nexus-opc-line-price {
    font-size: 13px;
    font-weight: 700;
    color: #193553;
    white-space: nowrap;
}

.nexus-opc-empty-items {
    margin: 0 0 14px;
    font-size: 13px;
    color: #5f7896;
}

#opcSummaryCoupon {
    margin-bottom: 14px;
}

#opcSummaryCoupon .form-group {
    margin-bottom: 8px;
}

#opcSummaryCoupon .form-control {
    border-radius: 10px;
    border-color: #d6e1ed;
    min-height: 44px;
    box-shadow: none;
}

#opcSummaryCoupon .btn {
    border-radius: 10px;
    font-weight: 700;
}

.nexus-opc-upsell-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.nexus-opc-upsell-content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f2740;
}

.nexus-opc-upsell-note {
    margin: 6px 0 0;
    font-size: 14px;
    color: #5a728f;
}

.nexus-opc-inline-btn {
    flex: 0 0 auto;
    min-width: 120px;
    height: 44px;
    line-height: 44px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    color: #0f58cc;
    border: 1px solid #b9d1f5;
    background: #edf5ff;
}

.nexus-opc-inline-btn:hover {
    color: #0f58cc;
    text-decoration: none;
    background: #e1eeff;
}

.nexus-opc-inline-btn.is-disabled {
    pointer-events: none;
    opacity: 0.55;
}

#opcCartPanel .view-cart-items .item,
#opcDomainPanel .domain-checker-container,
#opcCheckoutPanel .account,
#opcCheckoutPanel .sub-heading + .row,
#opcCheckoutPanel .sub-heading + .field-container {
    border: 1px solid #e4ecf5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 39, 64, 0.04);
}

#opcCartPanel .view-cart-items .item {
    padding: 14px;
    margin-bottom: 10px;
}

#opcCartPanel .view-cart-items .item:last-child {
    margin-bottom: 0;
}

#opcCartPanel .item-title {
    font-size: 15px;
    font-weight: 800;
    color: #102b46;
}

#opcCartPanel .item-group,
#opcCartPanel .item-domain,
#opcCartPanel .item-price .cycle {
    color: #5f7896;
}

#opcCartPanel .item-price span:first-child {
    font-size: 17px;
    font-weight: 800;
    color: #102b46;
}

#opcDomainPanel .cart-body,
#opcCartPanel .cart-body,
#opcCheckoutPanel .cart-body {
    width: 100%;
}

#opcDomainPanel .cart-sidebar,
#opcCartPanel .cart-sidebar,
#opcCheckoutPanel .cart-sidebar,
#opcDomainPanel .header-lined,
#opcCartPanel .header-lined,
#opcCheckoutPanel .header-lined {
    display: none !important;
}

#opcCheckoutPanel .sub-heading {
    margin-top: 0;
}

#opcCheckoutPanel .sub-heading span {
    border-radius: 9px;
    display: inline-block;
    padding: 7px 10px;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 700;
    background: #edf4ff !important;
    color: #0f58cc !important;
}

#opcCheckoutPanel .field.form-control,
#opcCheckoutPanel .form-control {
    border-radius: 10px;
    border-color: #d4e0ec;
    min-height: 44px;
    box-shadow: none;
}

#opcCheckoutPanel .btn {
    border-radius: 10px;
    font-weight: 700;
}

#opcCheckoutPanel .btn.btn-lg {
    min-height: 48px;
    font-size: 15px;
    font-weight: 800;
}

#opcCheckoutPanel #btnCompleteOrder {
    display: none !important;
}

#nexusOnePageCheckout[data-opc-stage="1"] #opcCheckoutCard {
    display: none;
}

#nexusOnePageCheckout[data-opc-stage="2"] #opcCheckoutCard,
#nexusOnePageCheckout[data-opc-stage="3"] #opcCheckoutCard {
    display: block;
}

#nexusOnePageCheckout[data-opc-stage="2"] #opcCheckoutPanel .opc-payment-stage {
    display: none !important;
}

#nexusOnePageCheckout[data-opc-stage="3"] #opcCheckoutPanel .opc-payment-stage {
    display: block !important;
}

#opcConfigModal .modal-dialog {
    max-width: 980px;
}

#opcConfigModal .modal-content {
    border-radius: 14px;
}

#opcConfigModal .modal-header {
    border-bottom: 1px solid #e6eef7;
}

@media (max-width: 1199px) {
    .nexus-opc-shell {
        grid-template-columns: 1fr;
    }

    .nexus-opc-summary-card {
        position: static;
    }
}

@media (max-width: 767px) {
    #nexusOnePageCheckout {
        padding-top: 10px;
    }

    .nexus-opc-header,
    .nexus-opc-card-head,
    .nexus-opc-card-body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .nexus-opc-header h1 {
        font-size: 28px;
    }

    .nexus-opc-step {
        padding: 9px 10px;
        gap: 8px;
    }

    .nexus-opc-step-dot {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .nexus-opc-step-label {
        font-size: 12px;
    }

    .nexus-opc-card-head h2 {
        font-size: 20px;
    }

    .nexus-opc-upsell-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nexus-opc-inline-btn {
        width: 100%;
    }
}
