/* F4WEB Cart 0.5.1 - documento e Shadow DOM do Nexus */
:host, :root {
    color-scheme: light;
    --vl-primary: #2634d7;
    --vl-primary-lifted: #4052eb;
    --vl-primary-accented: #1723a8;
    --vl-secondary: #12d7d2;
    --vl-secondary-lifted: #43e4df;
    --vl-secondary-accented: #08aaa7;
    --vl-success: #159a6a;
    --vl-success-lifted: #23b982;
    --vl-success-accented: #0d7650;
    --vl-info: #4052eb;
    --vl-info-lifted: #6575f2;
    --vl-info-accented: #2634d7;
    --vl-notice: #12d7d2;
    --vl-notice-lifted: #43e4df;
    --vl-notice-accented: #08aaa7;
    --vl-warning: #d89019;
    --vl-warning-lifted: #eba936;
    --vl-warning-accented: #a96d0c;
    --vl-error: #d83a52;
    --vl-error-lifted: #ec5a70;
    --vl-error-accented: #ad263c;
    --vl-grayscale: #65708a;
    --vl-grayscale-lifted: #8993aa;
    --vl-grayscale-accented: #3f4962;
    --vl-neutral: #e2e8f4;
    --vl-neutral-lifted: #f2f7ff;
    --vl-neutral-accented: #cbd5e8;
    --vl-text-inverted: #ffffff;
    --vl-text-muted: #65708a;
    --vl-text-lifted: #26304b;
    --vl-text-accented: #070d35;
    --vl-text: #10152b;
    --vl-border-muted: #edf1f8;
    --vl-border: #d9e1ef;
    --vl-border-lifted: #c5d0e3;
    --vl-border-accented: #aebbd2;
    --vl-bg: #ffffff;
    --vl-bg-muted: #f8faff;
    --vl-bg-lifted: #f2f7ff;
    --vl-bg-accented: #eaf1fc;
    --vl-bg-inverted: #070d35;
    --vl-text-xs: .75rem;
    --vl-text-sm: .875rem;
    --vl-text-md: 1rem;
    --vl-text-lg: 1.125rem;
    --vl-outline-sm: 2px;
    --vl-outline-md: 3px;
    --vl-outline-lg: 4px;
    --vl-rounding-sm: 8px;
    --vl-rounding-md: 12px;
    --vl-rounding-lg: 18px;
    --vl-letter-spacing: 0;
    --vl-disabled-opacity: .55;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:host *, :root * { box-sizing: border-box; }
:host button, :host input, :host select, :host textarea,
:root button, :root input, :root select, :root textarea { font-family: inherit; }
:host button, :root button {
    min-height: 46px;
    border-radius: 11px !important;
    font-weight: 750;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
:host button:hover, :root button:hover { transform: translateY(-1px); }
:host input, :host select, :host textarea,
:root input, :root select, :root textarea { min-height: 48px; border-radius: 11px !important; }
:host input:focus, :host select:focus, :host textarea:focus,
:root input:focus, :root select:focus, :root textarea:focus {
    outline: 3px solid rgba(18, 215, 210, .24) !important;
    outline-offset: 1px;
}

body:has(#order-standard_cart) section#main-body { background: #f2f7ff; }

#order-standard_cart {
    --f4-navy: #070d35;
    --f4-blue: #2634d7;
    --f4-blue-light: #4052eb;
    --f4-cyan: #12d7d2;
    --f4-ink: #10152b;
    --f4-muted: #65708a;
    --f4-line: #d9e1ef;
    color: var(--f4-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#order-standard_cart > .row,
#order-standard_cart #frmConfigureProduct > .row { align-items: flex-start; }
#order-standard_cart .cart-body { min-width: 0; }

/* Catálogo: um plano completo por linha */
#order-standard_cart #products .f4-products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-right: 0;
    margin-left: 0;
}
#order-standard_cart #products .f4-product-row {
    width: 100%;
    max-width: 100%;
    padding: 0;
    flex: 0 0 100%;
}
#order-standard_cart #products .product {
    display: grid;
    grid-template-columns: minmax(150px, .72fr) minmax(320px, 2.4fr) minmax(190px, .8fr);
    align-items: stretch;
    min-height: 190px;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--f4-line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(7, 13, 53, .055);
}
#order-standard_cart #products .product > header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 26px 22px;
    background: linear-gradient(145deg, #fff, #f8faff);
    color: var(--f4-navy);
    border: 0;
    border-right: 1px solid var(--f4-line);
    font-size: 1.15rem;
    font-weight: 800;
}
#order-standard_cart #products .product > header .qty {
    width: fit-content;
    color: var(--f4-muted);
    font-size: .78rem;
    font-weight: 700;
}
#order-standard_cart #products .product > .product-desc {
    min-height: 0;
    padding: 24px 28px;
    color: var(--f4-ink);
}
#order-standard_cart #products .product > .product-desc p:last-child,
#order-standard_cart #products .product > .product-desc ul:last-child { margin-bottom: 0; }
#order-standard_cart #products .product > footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    padding: 24px 22px;
    background: #f8faff;
    border: 0;
    border-left: 1px solid var(--f4-line);
    text-align: left;
}
#order-standard_cart #products .product-pricing {
    margin: 0;
    color: var(--f4-muted);
    line-height: 1.35;
}
#order-standard_cart #products .product-pricing .price {
    color: var(--f4-navy);
    font-size: 1.55rem;
    font-weight: 900;
}
#order-standard_cart #products .btn-order-now {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    background: var(--f4-blue) !important;
    color: #fff !important;
    border-color: var(--f4-blue) !important;
    border-radius: 10px;
    font-weight: 800;
}
#order-standard_cart #products .btn-order-now:hover {
    background: var(--f4-blue-light) !important;
    border-color: var(--f4-blue-light) !important;
}
#order-standard_cart .header-lined { margin-bottom: 22px; padding: 0; border: 0; }
#order-standard_cart .header-lined h1 {
    color: var(--f4-navy);
    font-size: clamp(2rem, 4vw, 3.35rem) !important;
    font-weight: 850;
    letter-spacing: -.045em;
}

#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .cart-sidebar .card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--f4-line);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(7, 13, 53, .06);
}
#order-standard_cart .cart-sidebar .panel-heading,
#order-standard_cart .cart-sidebar .card-header {
    padding: 16px 18px;
    background: #fff;
    color: var(--f4-navy);
    border-bottom: 1px solid var(--f4-line);
    font-weight: 800;
}
#order-standard_cart .cart-sidebar a { color: var(--f4-ink); }
#order-standard_cart .cart-sidebar a:hover,
#order-standard_cart .cart-sidebar a:focus,
#order-standard_cart .cart-sidebar a.active { color: var(--f4-blue); }

#order-standard_cart .secondary-cart-body {
    padding: 28px !important;
    background: #fff;
    border: 1px solid var(--f4-line);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(7, 13, 53, .07);
}
#order-standard_cart .secondary-cart-body > p:first-child { margin-bottom: 20px; color: var(--f4-muted); }
#order-standard_cart .product-info {
    margin-bottom: 26px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #f2f7ff, #fff);
    border: 1px solid var(--f4-line);
    border-left: 4px solid var(--f4-blue);
    border-radius: 14px;
}
#order-standard_cart .product-info .product-title {
    margin-bottom: 8px;
    color: var(--f4-navy);
    font-size: 1.3rem;
    font-weight: 850;
}
#order-standard_cart .sub-heading {
    margin: 30px 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--f4-line);
}
#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading .primary-bg-color {
    display: inline-flex;
    align-items: center;
    padding: 0 !important;
    background: transparent !important;
    color: var(--f4-navy) !important;
    font-size: 1.05rem;
    font-weight: 850;
}
#order-standard_cart .form-group { margin-bottom: 20px; }
#order-standard_cart label { margin-bottom: 8px; color: var(--f4-navy); font-weight: 720; }
#order-standard_cart .form-control,
#order-standard_cart .custom-select,
#order-standard_cart input[type="text"],
#order-standard_cart input[type="email"],
#order-standard_cart input[type="password"],
#order-standard_cart input[type="number"],
#order-standard_cart textarea,
#order-standard_cart select {
    min-height: 50px;
    padding: 11px 14px;
    background-color: #fff;
    color: var(--f4-ink);
    border: 1px solid #cbd5e8;
    border-radius: 11px;
    box-shadow: none;
}
#order-standard_cart textarea { min-height: 112px; }
#order-standard_cart .form-control:focus,
#order-standard_cart .custom-select:focus,
#order-standard_cart input:focus,
#order-standard_cart textarea:focus,
#order-standard_cart select:focus {
    border-color: var(--f4-blue-light);
    box-shadow: 0 0 0 3px rgba(38, 52, 215, .12);
}
#order-standard_cart .field-help-text,
#order-standard_cart .form-text,
#order-standard_cart small { color: var(--f4-muted); }
#order-standard_cart .panel-addon,
#order-standard_cart .card.panel-addon {
    overflow: hidden;
    border: 1px solid var(--f4-line);
    border-radius: 13px;
    box-shadow: none;
}
#order-standard_cart .panel-addon-selected {
    border-color: var(--f4-blue);
    box-shadow: 0 0 0 3px rgba(38, 52, 215, .1);
}

#order-standard_cart .secondary-cart-sidebar { position: sticky; top: 24px; }
#order-standard_cart #orderSummary {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--f4-line);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(7, 13, 53, .09);
}
#order-standard_cart #orderSummary .order-summary {
    margin: 0;
    padding: 26px 24px 18px;
    background: #fff;
    border: 0;
}
#order-standard_cart #orderSummary h2 {
    margin: 0 0 20px;
    padding-bottom: 15px;
    color: var(--f4-navy);
    font-size: 1.25rem !important;
    font-weight: 850;
    border-bottom: 1px solid var(--f4-line);
}
#order-standard_cart #orderSummary .summary-container { color: var(--f4-ink); }
#order-standard_cart #orderSummary .product-name {
    display: block;
    color: var(--f4-navy);
    font-size: 1rem;
    font-weight: 800;
}
#order-standard_cart #orderSummary .product-group { display: block; margin-bottom: 18px; color: var(--f4-muted); }
#order-standard_cart #orderSummary .summary-totals {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--f4-line);
}
#order-standard_cart #orderSummary .total-due-today {
    margin: 18px -24px -18px;
    padding: 20px 24px;
    background: #f2f7ff;
    color: var(--f4-navy);
}
#order-standard_cart #orderSummary .total-due-today .amt {
    color: var(--f4-blue);
    font-size: 1.55rem;
    font-weight: 900;
}
#order-standard_cart #orderSummary > .text-center { padding: 18px 24px 24px; }
#order-standard_cart #btnCompleteProductConfig,
#order-standard_cart #btnCompleteOrder,
#order-standard_cart .btn-primary {
    min-height: 50px;
    background: var(--f4-blue) !important;
    color: #fff !important;
    border-color: var(--f4-blue) !important;
    border-radius: 11px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(38, 52, 215, .2);
}
#order-standard_cart #btnCompleteProductConfig { width: 100%; }
#order-standard_cart #btnCompleteProductConfig:hover,
#order-standard_cart #btnCompleteOrder:hover,
#order-standard_cart .btn-primary:hover {
    background: var(--f4-blue-light) !important;
    border-color: var(--f4-blue-light) !important;
    transform: translateY(-1px);
}

#order-standard_cart .checkout-security-msg,
#order-standard_cart .alert { border-radius: 12px; }
#order-standard_cart #frmCheckout {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--f4-line);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(7, 13, 53, .07);
}
#order-standard_cart #paymentGatewaysContainer label { border-radius: 12px; }
#order-standard_cart .f4-nexus-cart-body,
#order-standard_cart .f4-nexus-cart-body #nexus-root { width: 100%; }

@media (max-width: 991.98px) {
    #order-standard_cart #products .product {
        grid-template-columns: minmax(140px, .7fr) minmax(260px, 1.8fr);
    }
    #order-standard_cart #products .product > footer {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid var(--f4-line);
        border-left: 0;
    }
    #order-standard_cart #products .btn-order-now { width: auto; min-width: 210px; }
    #order-standard_cart .secondary-cart-body { padding: 22px !important; }
    #order-standard_cart .secondary-cart-sidebar { position: static; margin-top: 22px; }
}

@media (max-width: 767.98px) {
    #order-standard_cart { padding-right: 16px !important; padding-left: 16px !important; }
    #order-standard_cart .header-lined h1 { font-size: 2.15rem !important; }
    #order-standard_cart #products .product { display: block; }
    #order-standard_cart #products .product > header,
    #order-standard_cart #products .product > .product-desc,
    #order-standard_cart #products .product > footer { padding: 20px; }
    #order-standard_cart #products .product > header {
        border-right: 0;
        border-bottom: 1px solid var(--f4-line);
    }
    #order-standard_cart #products .product > footer {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        border-top: 1px solid var(--f4-line);
    }
    #order-standard_cart #products .btn-order-now { width: 100%; min-width: 0; }
    #order-standard_cart .secondary-cart-body,
    #order-standard_cart #frmCheckout { padding: 18px !important; border-radius: 14px; }
    #order-standard_cart .product-info { padding: 18px; }
    #order-standard_cart .form-control,
    #order-standard_cart .custom-select,
    #order-standard_cart input,
    #order-standard_cart textarea,
    #order-standard_cart select { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    :host *, :root *, #order-standard_cart * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
