/* =========================================================
   FLAX STORE / DARK BLUE ORDER EXPERIENCE
   Scoped to WHMCS shopping-cart pages and loaded last.
   ========================================================= */

/* The homepage previously won the cascade through
   .fjordly-home .bg-dark. This stronger rule makes the
   complete footer exactly #07142e on every page. */
body.fjordly-shell footer#footer.fjordly-footer.bg-dark,
body.fjordly-shell footer#footer.fjordly-footer.bg-dark .tt-footer-top,
body.fjordly-shell footer#footer.fjordly-footer.bg-dark .tt-footer-bottom {
    background-color: #07142e !important;
    background-image: none !important;
}

body.fjordly-shell footer#footer.fjordly-footer.bg-dark {
    border-top: 1px solid rgba(103, 212, 255, .14) !important;
}

body.fjordly-shell footer#footer.fjordly-footer.bg-dark .tt-footer-bottom {
    border-top-color: rgba(132, 181, 255, .14) !important;
}

body.fjordly-store {
    background: #030817 !important;
}

body.fjordly-store .tt-page-header {
    display: none !important;
}

body.fjordly-store #main-body {
    background:
        radial-gradient(circle at 86% 2%, rgba(49, 112, 255, .16), transparent 31rem),
        radial-gradient(circle at 8% 28%, rgba(37, 161, 255, .08), transparent 26rem),
        #030817 !important;
    margin: 0 !important;
    overflow: hidden;
    padding: 70px 0 100px !important;
    position: relative;
}

body.fjordly-store #main-body:before {
    background-image:
        linear-gradient(rgba(105, 174, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(105, 174, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    content: '';
    inset: 0;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 78%);
    pointer-events: none;
    position: absolute;
}

body.fjordly-store #main-body > .container {
    max-width: 1320px;
    position: relative;
    z-index: 1;
}

#order-standard_cart {
    --store-accent: #347fff;
    --store-accent-2: #66d6ff;
    --store-bg: #030817;
    --store-panel: #08162d;
    --store-panel-2: #0b1d3b;
    --store-line: rgba(112, 177, 255, .18);
    --store-muted: #8298b8;
    color: var(--store-muted);
    font-family: 'DM Sans', sans-serif;
    padding: 0;
}

#order-standard_cart > .row {
    align-items: start;
    display: grid !important;
    gap: 30px;
    grid-template-columns: 270px minmax(0, 1fr);
    margin: 0 !important;
}

#order-standard_cart > .row > .cart-sidebar,
#order-standard_cart > .row > .cart-body {
    flex: none !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
}

/* Catalogue heading */
#order-standard_cart .cart-body > .header-lined {
    align-items: end;
    background:
        radial-gradient(circle at 92% 5%, rgba(102, 214, 255, .18), transparent 18rem),
        linear-gradient(135deg, rgba(13, 37, 78, .97), rgba(6, 17, 38, .97));
    border: 1px solid var(--store-line);
    border-radius: 26px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .3);
    display: flex;
    justify-content: space-between;
    margin: 0 0 22px !important;
    min-height: 190px;
    overflow: hidden;
    padding: 34px 36px !important;
    position: relative;
}

#order-standard_cart .cart-body > .header-lined:before {
    color: var(--store-accent-2);
    content: 'INFRASTRUKTUR / PRODUKTKATALOG';
    font-size: .65rem;
    font-weight: 800;
    left: 36px;
    letter-spacing: .18em;
    position: absolute;
    top: 31px;
}

#order-standard_cart .cart-body > .header-lined:after {
    border: 1px solid rgba(102, 214, 255, .16);
    border-radius: 50%;
    content: '';
    height: 250px;
    pointer-events: none;
    position: absolute;
    right: -100px;
    top: -135px;
    width: 250px;
}

#order-standard_cart .header-lined h1,
#order-standard_cart .header-lined h2 {
    color: #f4f9ff !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.7rem) !important;
    letter-spacing: -.055em;
    line-height: .98;
    margin: 42px 0 0 !important;
    max-width: 650px;
    position: relative;
    z-index: 1;
}

#order-standard_cart .header-lined p,
#order-standard_cart .header-lined small {
    background: rgba(4, 13, 29, .6);
    border: 1px solid rgba(112, 177, 255, .18);
    border-radius: 999px;
    color: #a9bdd8 !important;
    font-size: .72rem;
    font-weight: 700;
    margin: 0 !important;
    padding: .7rem .95rem;
    position: relative;
    z-index: 1;
}

/* Sidebar */
#order-standard_cart .cart-sidebar {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: auto !important;
    overflow: visible !important;
    position: sticky;
    top: 104px;
}

#order-standard_cart .cart-sidebar .card-sidebar,
#order-standard_cart .sidebar-collapsed {
    background: linear-gradient(155deg, rgba(11, 29, 59, .98), rgba(6, 17, 38, .98)) !important;
    border: 1px solid var(--store-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .2) !important;
    margin-bottom: 13px !important;
    overflow: hidden;
}

#order-standard_cart .cart-sidebar .card-header,
#order-standard_cart .sidebar-collapsed .card-header,
#order-standard_cart .cart-sidebar h3,
#order-standard_cart .sidebar-collapsed h3 {
    background: rgba(48, 122, 255, .09) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--store-line) !important;
    color: #eaf4ff !important;
    font-size: .67rem !important;
    font-weight: 800 !important;
    letter-spacing: .13em;
    margin: 0 !important;
    padding: 17px 18px !important;
    text-transform: uppercase;
}

#order-standard_cart .cart-sidebar .card-header i,
#order-standard_cart .sidebar-collapsed .card-header i { color: var(--store-accent-2) !important; }

#order-standard_cart .cart-sidebar .list-group,
#order-standard_cart .sidebar-collapsed .list-group { background: transparent; margin: 0; padding: 7px; }

#order-standard_cart .cart-sidebar .list-group-item,
#order-standard_cart .sidebar-collapsed .list-group-item {
    background: transparent !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #8499b8 !important;
    font-size: .75rem;
    font-weight: 700;
    margin: 2px 0;
    padding: 10px 11px !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

#order-standard_cart .cart-sidebar .list-group-item:hover,
#order-standard_cart .cart-sidebar .list-group-item.active,
#order-standard_cart .sidebar-collapsed .list-group-item:hover,
#order-standard_cart .sidebar-collapsed .list-group-item.active {
    background: linear-gradient(90deg, rgba(52, 127, 255, .2), rgba(52, 127, 255, .07)) !important;
    color: #f0f8ff !important;
    transform: translateX(2px);
}

#order-standard_cart .cart-sidebar .panel-body,
#order-standard_cart .cart-sidebar .card-body { background: transparent !important; padding: 14px !important; }

#order-standard_cart .cart-sidebar select {
    background-color: #050d1e !important;
    border: 1px solid rgba(112, 177, 255, .24) !important;
    border-radius: 10px !important;
    color: #dcecff !important;
    min-height: 44px;
}

/* Actual product grid used by this WHMCS order-form template */
#order-standard_cart #products { counter-reset: store-product; }

#order-standard_cart #products > .row,
#order-standard_cart .products > .row {
    display: grid !important;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 16px !important;
}

#order-standard_cart #products > .row > [class*="col-"],
#order-standard_cart .products > .row > [class*="col-"] {
    flex: none !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
}

#order-standard_cart .tt-single-product {
    background:
        radial-gradient(circle at 100% 0, rgba(60, 136, 255, .15), transparent 15rem),
        linear-gradient(155deg, rgba(11, 29, 59, .98), rgba(5, 14, 31, .99)) !important;
    border: 1px solid var(--store-line) !important;
    border-radius: 22px !important;
    box-shadow: 0 22px 65px rgba(0, 0, 0, .24) !important;
    counter-increment: store-product;
    display: flex !important;
    flex-direction: column;
    height: 100%;
    margin: 0 !important;
    min-height: 480px;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
    text-align: left !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#order-standard_cart .tt-single-product:before {
    color: #526b91;
    content: 'PLAN_' counter(store-product, decimal-leading-zero);
    font-size: .6rem;
    font-weight: 800;
    left: 24px;
    letter-spacing: .16em;
    position: absolute;
    top: 21px;
}

#order-standard_cart .tt-single-product:after {
    background: var(--store-accent-2);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(102, 214, 255, .08), 0 0 22px rgba(102, 214, 255, .35);
    content: '';
    height: 7px;
    position: absolute;
    right: 24px;
    top: 23px;
    width: 7px;
}

#order-standard_cart .tt-single-product:hover {
    border-color: rgba(102, 214, 255, .48) !important;
    box-shadow: 0 32px 85px rgba(0, 0, 0, .36) !important;
    transform: translateY(-6px);
}

#order-standard_cart .tt-product-name {
    color: #f2f8ff !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    letter-spacing: -.035em;
    margin: 0 !important;
    padding: 58px 24px 13px !important;
}

#order-standard_cart .tt-product-name h3,
#order-standard_cart .tt-product-name h4,
#order-standard_cart .tt-product-name h5,
#order-standard_cart .tt-product-name span { color: inherit !important; font: inherit !important; margin: 0 !important; }

#order-standard_cart .tt-product-price,
#order-standard_cart .product-pricing {
    background: rgba(3, 10, 23, .55);
    border-bottom: 1px solid rgba(112, 177, 255, .12);
    border-top: 1px solid rgba(112, 177, 255, .12);
    color: var(--store-accent-2) !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem !important;
    font-weight: 750 !important;
    line-height: 1.15;
    margin: 0 !important;
    padding: 18px 24px !important;
    text-align: left !important;
}

#order-standard_cart .tt-product-price .price,
#order-standard_cart .product-pricing .price {
    color: var(--store-accent-2) !important;
    display: inline;
    font-family: 'Space Grotesk', sans-serif;
    font-size: inherit !important;
    font-weight: 750 !important;
    letter-spacing: -.02em;
}

#order-standard_cart .tt-product-price span:not(.price),
#order-standard_cart .product-pricing span:not(.price),
#order-standard_cart .tt-product-price small,
#order-standard_cart .product-pricing small {
    color: #7189aa !important;
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: .66rem !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    margin-bottom: 4px;
}

#order-standard_cart .tt-product-desc,
#order-standard_cart .tt-single-product .product-desc {
    color: #8ca1bf !important;
    flex: 1 1 auto;
    font-size: .77rem;
    line-height: 1.55;
    margin: 0 !important;
    padding: 18px 24px !important;
    text-align: left !important;
}

#order-standard_cart .tt-product-desc ul,
#order-standard_cart .tt-single-product .product-desc ul { list-style: none; margin: 0; padding: 0; }

#order-standard_cart .tt-product-desc li,
#order-standard_cart .tt-single-product .product-desc li {
    border-bottom: 1px solid rgba(112, 177, 255, .09);
    padding: 8px 0;
}

#order-standard_cart .tt-product-desc li:before,
#order-standard_cart .tt-single-product .product-desc li:before {
    color: var(--store-accent-2);
    content: '\2713';
    font-weight: 900;
    margin-right: .55rem;
}

#order-standard_cart .tt-single-product > a.btn,
#order-standard_cart .tt-single-product .btn {
    align-items: center;
    background: linear-gradient(135deg, #347fff, #1755cb) !important;
    border: 0 !important;
    border-radius: 11px !important;
    box-shadow: 0 12px 28px rgba(30, 96, 222, .27);
    color: #fff !important;
    display: flex;
    font-size: .75rem;
    font-weight: 800 !important;
    justify-content: space-between;
    margin: 0 24px 24px !important;
    min-height: 46px;
    padding: .75rem 1rem !important;
    text-transform: none;
    width: calc(100% - 48px);
}

#order-standard_cart .tt-single-product .btn:after {
    content: '\2192';
    font-size: 1rem;
}

/* Group-wide benefits */
#order-standard_cart .tt-group-featured-wrap {
    background:
        radial-gradient(circle at 0 100%, rgba(52, 127, 255, .13), transparent 25rem),
        linear-gradient(145deg, rgba(11, 29, 59, .96), rgba(5, 14, 31, .98)) !important;
    border: 1px solid var(--store-line) !important;
    border-radius: 24px !important;
    box-shadow: 0 26px 75px rgba(0, 0, 0, .25);
    margin-top: 26px !important;
    padding: 30px !important;
}

#order-standard_cart .tt-group-featured-wrap h6,
#order-standard_cart .tt-group-featured-wrap h3 {
    color: #f0f7ff !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem !important;
    letter-spacing: -.03em;
    margin-bottom: 20px !important;
}

#order-standard_cart .tt-group-featured-wrap ul {
    display: grid;
    gap: 12px;
    grid-auto-rows: 1fr;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

#order-standard_cart .tt-group-featured-wrap li {
    align-items: start;
    background: rgba(5, 14, 31, .6);
    border: 1px solid rgba(112, 177, 255, .12);
    border-radius: 14px;
    box-sizing: border-box;
    color: #8ba1c0;
    display: grid !important;
    flex: none !important;
    font-size: .77rem;
    gap: 12px;
    grid-template-columns: 30px minmax(0, 1fr);
    height: 100% !important;
    line-height: 1.65;
    margin: 0 !important;
    max-width: none !important;
    min-height: 142px;
    overflow-wrap: anywhere;
    padding: 18px !important;
    text-align: left;
    width: auto !important;
}

#order-standard_cart .tt-group-featured-wrap li i {
    align-items: center;
    background: rgba(52, 127, 255, .13);
    border: 1px solid rgba(102, 214, 255, .16);
    border-radius: 9px;
    color: var(--store-accent-2) !important;
    display: flex;
    font-size: .72rem;
    height: 30px;
    justify-content: center;
    margin: 0 !important;
    width: 30px;
}

#order-standard_cart .tt-group-featured-wrap li > span,
#order-standard_cart .tt-group-featured-wrap li > p,
#order-standard_cart .tt-group-featured-wrap li > div {
    margin: 0 !important;
    min-width: 0;
    width: auto !important;
}

/* Remaining WHMCS cart/configuration surfaces */
#order-standard_cart .btn-primary,
#order-standard_cart .btn-success {
    background: linear-gradient(135deg, #347fff, #1755cb) !important;
    border: 0 !important;
    border-radius: 11px !important;
    box-shadow: 0 12px 28px rgba(30, 96, 222, .25);
    color: white !important;
    font-weight: 800;
}

#order-standard_cart .btn-default,
#order-standard_cart .btn-secondary {
    background: transparent !important;
    border: 1px solid rgba(112, 177, 255, .24) !important;
    border-radius: 11px !important;
    color: #a1b6d2 !important;
}

#order-standard_cart .summary-container,
#order-standard_cart .order-summary,
#order-standard_cart .view-cart-items,
#order-standard_cart .domain-selection-options .option,
#order-standard_cart .panel-addon,
#order-standard_cart .product-info,
#order-standard_cart .alert-info {
    background: linear-gradient(150deg, #0b1d3b, #061126) !important;
    border: 1px solid var(--store-line) !important;
    border-radius: 18px !important;
    color: #91a6c5 !important;
}

#order-standard_cart .sub-heading,
#order-standard_cart .sub-heading-borderless { border-color: var(--store-line) !important; }

#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading-borderless span { background: #030817 !important; color: #edf7ff !important; }

#order-standard_cart .field,
#order-standard_cart .form-control,
#order-standard_cart select,
#order-standard_cart textarea {
    background-color: #050d1e !important;
    border: 1px solid rgba(112, 177, 255, .26) !important;
    border-radius: 11px !important;
    color: #e7f3ff !important;
    min-height: 48px;
}

#order-standard_cart .field:focus,
#order-standard_cart .form-control:focus,
#order-standard_cart select:focus,
#order-standard_cart textarea:focus {
    border-color: var(--store-accent-2) !important;
    box-shadow: 0 0 0 4px rgba(102, 214, 255, .09) !important;
}

@media (max-width: 1199.98px) {
    #order-standard_cart #products > .row,
    #order-standard_cart .products > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    body.fjordly-store #main-body { padding-top: 46px !important; }
    #order-standard_cart > .row { grid-template-columns: 1fr; }
    #order-standard_cart .cart-sidebar { display: none !important; position: static; }
    #order-standard_cart .sidebar-collapsed { display: block; }
}

@media (max-width: 767.98px) {
    body.fjordly-store #main-body { padding-bottom: 70px !important; }
    #order-standard_cart .cart-body > .header-lined { align-items: start; flex-direction: column; min-height: 210px; padding: 30px 25px !important; }
    #order-standard_cart .cart-body > .header-lined:before { left: 25px; top: 27px; }
    #order-standard_cart .header-lined h1,
    #order-standard_cart .header-lined h2 { margin-top: 44px !important; }
    #order-standard_cart #products > .row,
    #order-standard_cart .products > .row { grid-template-columns: 1fr; }
    #order-standard_cart .tt-single-product { min-height: 0; }
    #order-standard_cart .tt-group-featured-wrap { padding: 22px !important; }
    #order-standard_cart .tt-group-featured-wrap ul { grid-template-columns: 1fr; }
    #order-standard_cart .tt-group-featured-wrap li { min-height: 0; }
}

/* =========================================================
   Product configuration — cart.php?a=confproduct
   ========================================================= */
body.page-configureproduct #order-standard_cart .cart-body > .header-lined:before,
body[data-template="configureproduct"] #order-standard_cart .cart-body > .header-lined:before,
body:has(#frmConfigureProduct) #order-standard_cart .cart-body > .header-lined:before {
    content: 'BESTILLING / PRODUKTKONFIGURATION';
}

body.page-configureproduct #order-standard_cart .cart-body > .header-lined,
body[data-template="configureproduct"] #order-standard_cart .cart-body > .header-lined,
body:has(#frmConfigureProduct) #order-standard_cart .cart-body > .header-lined {
    min-height: 245px;
}

#order-standard_cart #frmConfigureProduct {
    --config-cyan: #66d6ff;
    --config-blue: #347fff;
    --config-panel: #08162d;
    --config-deep: #030817;
    --config-line: rgba(112, 177, 255, .17);
    color: #8298b7;
    margin-top: 16px;
}

#order-standard_cart #frmConfigureProduct > .row {
    align-items: start;
    display: grid !important;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 330px;
    margin: 0 !important;
}

#order-standard_cart #frmConfigureProduct > .row > [class*="col-"],
#order-standard_cart #frmConfigureProduct .secondary-cart-body,
#order-standard_cart #frmConfigureProduct .summary-container {
    flex: none !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > p:first-child {
    align-items: center;
    background: rgba(52, 127, 255, .07);
    border: 1px solid rgba(103, 214, 255, .14);
    border-radius: 13px;
    color: #91a8c6;
    display: flex;
    font-size: .7rem;
    line-height: 1.55;
    margin: 0 0 12px;
    min-height: 48px;
    padding: 11px 15px 11px 41px;
    position: relative;
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > p:first-child:before {
    color: var(--config-cyan);
    content: '\f05a';
    font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
    font-size: .75rem;
    font-weight: 900;
    left: 16px;
    position: absolute;
}

#order-standard_cart #frmConfigureProduct .product-info {
    background:
        radial-gradient(circle at 100% 0, rgba(52, 127, 255, .17), transparent 19rem),
        linear-gradient(145deg, #0c244b, #061126 78%) !important;
    border: 1px solid rgba(103, 214, 255, .2) !important;
    border-radius: 21px !important;
    box-shadow: 0 22px 65px rgba(0, 0, 0, .24);
    margin-bottom: 13px !important;
    min-height: 185px;
    overflow: hidden;
    padding: 31px !important;
    position: relative;
}

#order-standard_cart #frmConfigureProduct .product-info:before {
    color: var(--config-cyan);
    content: 'TRIN 01 / VALGT PRODUKT';
    display: block;
    font-size: .54rem;
    font-weight: 900;
    letter-spacing: .15em;
    margin-bottom: 11px;
}

#order-standard_cart #frmConfigureProduct .product-info:after {
    border: 1px solid rgba(103, 214, 255, .12);
    border-radius: 50%;
    content: '';
    height: 230px;
    pointer-events: none;
    position: absolute;
    right: -105px;
    top: -145px;
    width: 230px;
}

#order-standard_cart #frmConfigureProduct .product-info .product-title,
#order-standard_cart #frmConfigureProduct .product-info h2,
#order-standard_cart #frmConfigureProduct .product-info h3 {
    color: #f1f8ff !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.35rem) !important;
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.05;
    margin: 0 0 12px !important;
    position: relative;
    z-index: 1;
}

#order-standard_cart #frmConfigureProduct .product-info p:not(.product-title) {
    color: #879dbc !important;
    font-size: .73rem;
    line-height: 1.7;
    margin: 0;
    max-width: 680px;
    position: relative;
    z-index: 1;
}

#order-standard_cart #containerProductValidationErrors {
    background: rgba(239, 116, 112, .08) !important;
    border: 1px solid rgba(239, 116, 112, .28) !important;
    border-radius: 13px !important;
    color: #efaaa7 !important;
    font-size: .7rem;
    padding: 15px 18px;
}

#order-standard_cart #frmConfigureProduct .field-container,
#order-standard_cart #frmConfigureProduct .configurable-options,
#order-standard_cart #frmConfigureProduct .addon-products,
#order-standard_cart #frmConfigureProduct .metrics-container {
    background: linear-gradient(150deg, rgba(10, 27, 55, .99), rgba(5, 14, 31, .99));
    border: 1px solid var(--config-line);
    border-radius: 19px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .19);
    margin-bottom: 13px;
    overflow: hidden;
    padding: 24px;
}

#order-standard_cart #frmConfigureProduct .sub-heading,
#order-standard_cart #frmConfigureProduct .sub-heading-borderless {
    border: 0 !important;
    display: flex;
    margin: 0 0 18px !important;
    padding: 0 0 13px !important;
    position: relative;
    text-align: left !important;
}

#order-standard_cart #frmConfigureProduct .sub-heading:after,
#order-standard_cart #frmConfigureProduct .sub-heading-borderless:after {
    background: linear-gradient(90deg, rgba(103, 214, 255, .34), rgba(112, 177, 255, .08), transparent);
    bottom: 0;
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
}

#order-standard_cart #frmConfigureProduct .sub-heading span,
#order-standard_cart #frmConfigureProduct .sub-heading-borderless span {
    background: transparent !important;
    color: #e9f4ff !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem !important;
    font-weight: 700;
    letter-spacing: -.02em;
    padding: 0 !important;
}

#order-standard_cart #frmConfigureProduct .sub-heading span:before,
#order-standard_cart #frmConfigureProduct .sub-heading-borderless span:before {
    color: var(--config-cyan);
    content: 'KONFIGURÉR / ';
    font-family: 'DM Sans', sans-serif;
    font-size: .5rem;
    font-weight: 900;
    letter-spacing: .12em;
    margin-right: 7px;
    vertical-align: 2px;
}

#order-standard_cart #frmConfigureProduct .form-group {
    margin-bottom: 15px;
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row {
    background: linear-gradient(150deg, rgba(10, 27, 55, .99), rgba(5, 14, 31, .99));
    border: 1px solid var(--config-line);
    border-radius: 16px;
    margin: 0 0 12px !important;
    padding: 17px 12px 2px;
}

#order-standard_cart #frmConfigureProduct .form-group > label,
#order-standard_cart #frmConfigureProduct .field-container > label {
    color: #91a7c3 !important;
    font-size: .62rem;
    font-weight: 800;
    margin-bottom: 7px;
}

#order-standard_cart #frmConfigureProduct .form-control,
#order-standard_cart #frmConfigureProduct .custom-select,
#order-standard_cart #frmConfigureProduct input[type="text"],
#order-standard_cart #frmConfigureProduct input[type="password"],
#order-standard_cart #frmConfigureProduct input[type="number"],
#order-standard_cart #frmConfigureProduct select,
#order-standard_cart #frmConfigureProduct textarea {
    background-color: #040d1e !important;
    border: 1px solid rgba(112, 177, 255, .22) !important;
    border-radius: 10px !important;
    color: #e6f2ff !important;
    min-height: 46px;
}

#order-standard_cart #frmConfigureProduct .form-control:focus,
#order-standard_cart #frmConfigureProduct input:focus,
#order-standard_cart #frmConfigureProduct select:focus,
#order-standard_cart #frmConfigureProduct textarea:focus {
    border-color: rgba(103, 214, 255, .55) !important;
    box-shadow: 0 0 0 4px rgba(52, 127, 255, .1) !important;
}

#order-standard_cart #frmConfigureProduct .form-control::placeholder,
#order-standard_cart #frmConfigureProduct input::placeholder { color: #4f698d; }

#order-standard_cart #frmConfigureProduct .form-check,
#order-standard_cart #frmConfigureProduct .radio-inline,
#order-standard_cart #frmConfigureProduct .checkbox-inline {
    color: #7f95b4;
    font-size: .68rem;
}

#order-standard_cart #frmConfigureProduct input[type="checkbox"],
#order-standard_cart #frmConfigureProduct input[type="radio"] { accent-color: var(--config-blue); }

#order-standard_cart #frmConfigureProduct .panel-addon,
#order-standard_cart #frmConfigureProduct .addon-product {
    align-items: start;
    background: rgba(4, 13, 29, .5) !important;
    border: 1px solid rgba(112, 177, 255, .12) !important;
    border-radius: 13px !important;
    color: #8399b8 !important;
    margin-bottom: 9px;
    padding: 16px !important;
    transition: border-color .2s ease, background .2s ease;
}

#order-standard_cart #frmConfigureProduct .panel-addon:hover,
#order-standard_cart #frmConfigureProduct .addon-product:hover {
    background: rgba(52, 127, 255, .07) !important;
    border-color: rgba(103, 214, 255, .28) !important;
}

#order-standard_cart #frmConfigureProduct .panel-addon h3,
#order-standard_cart #frmConfigureProduct .panel-addon h4,
#order-standard_cart #frmConfigureProduct .addon-product h3,
#order-standard_cart #frmConfigureProduct .addon-product h4 {
    color: #e4effb !important;
    font-size: .82rem !important;
}

#order-standard_cart #frmConfigureProduct .panel-addon .panel-price,
#order-standard_cart #frmConfigureProduct .addon-product .price { color: var(--config-cyan) !important; }

#order-standard_cart #frmConfigureProduct .irs-line,
#order-standard_cart #frmConfigureProduct .irs-bar { border-radius: 999px; }
#order-standard_cart #frmConfigureProduct .irs-line { background: #030b1a; border-color: rgba(112, 177, 255, .16); }
#order-standard_cart #frmConfigureProduct .irs-bar,
#order-standard_cart #frmConfigureProduct .irs-from,
#order-standard_cart #frmConfigureProduct .irs-to,
#order-standard_cart #frmConfigureProduct .irs-single { background: var(--config-blue); }
#order-standard_cart #frmConfigureProduct .irs-slider { background: var(--config-cyan); border-color: #b4edff; }

#order-standard_cart #frmConfigureProduct #orderSummary,
#order-standard_cart #frmConfigureProduct .summary-container,
#order-standard_cart #frmConfigureProduct .order-summary {
    background: linear-gradient(150deg, #0b1d3b, #050e20) !important;
    border: 1px solid rgba(103, 214, 255, .2) !important;
    border-radius: 19px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
    color: #849ab9 !important;
    overflow: hidden;
}

#order-standard_cart #frmConfigureProduct .summary-container,
#order-standard_cart #frmConfigureProduct #orderSummary { position: sticky; top: 102px; }

#order-standard_cart #frmConfigureProduct .order-summary > h2,
#order-standard_cart #frmConfigureProduct .order-summary > h3,
#order-standard_cart #frmConfigureProduct #orderSummary > h2,
#order-standard_cart #frmConfigureProduct #orderSummary > h3 {
    background: rgba(52, 127, 255, .07) !important;
    border-bottom: 1px solid rgba(112, 177, 255, .12);
    color: #eef7ff !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem !important;
    margin: 0 !important;
    padding: 18px 19px !important;
}

#order-standard_cart #frmConfigureProduct .summary-container .product-name,
#order-standard_cart #frmConfigureProduct .order-summary .product-name { color: #dce9f7 !important; font-weight: 800; }

#order-standard_cart #frmConfigureProduct .summary-container .summary-totals,
#order-standard_cart #frmConfigureProduct .order-summary .summary-totals { border-color: rgba(112, 177, 255, .11) !important; }

#order-standard_cart #frmConfigureProduct #producttotal,
#order-standard_cart #frmConfigureProduct .total-due {
    background: rgba(52, 127, 255, .08) !important;
    border-color: rgba(103, 214, 255, .17) !important;
    color: #e7f4ff !important;
}

#order-standard_cart #frmConfigureProduct #producttotal .amt,
#order-standard_cart #frmConfigureProduct .total-due .amt,
#order-standard_cart #frmConfigureProduct .total-due .price {
    color: var(--config-cyan) !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem !important;
    letter-spacing: -.04em;
}

#order-standard_cart #frmConfigureProduct #btnCompleteProductConfig,
#order-standard_cart #frmConfigureProduct button[type="submit"] {
    background: linear-gradient(135deg, #3985ff, #1755cb) !important;
    border: 1px solid rgba(130, 201, 255, .32) !important;
    border-radius: 10px !important;
    box-shadow: 0 13px 30px rgba(29, 96, 225, .28);
    color: #fff !important;
    font-size: .72rem;
    font-weight: 900;
    min-height: 47px;
}

#order-standard_cart #frmConfigureProduct .text-muted,
#order-standard_cart #frmConfigureProduct .help-block { color: #60799b !important; font-size: .6rem; }

@media (max-width: 1199.98px) {
    #order-standard_cart #frmConfigureProduct > .row { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 991.98px) {
    #order-standard_cart #frmConfigureProduct > .row { grid-template-columns: 1fr; }
    #order-standard_cart #frmConfigureProduct .summary-container,
    #order-standard_cart #frmConfigureProduct #orderSummary { position: static; }
}

@media (max-width: 767.98px) {
    #order-standard_cart #frmConfigureProduct .product-info { min-height: 0; padding: 24px !important; }
    #order-standard_cart #frmConfigureProduct .field-container,
    #order-standard_cart #frmConfigureProduct .configurable-options,
    #order-standard_cart #frmConfigureProduct .addon-products,
    #order-standard_cart #frmConfigureProduct .metrics-container { padding: 19px; }
    #order-standard_cart #frmConfigureProduct .row > [class*="col-"] { margin-bottom: 10px; }
}

/* Configuration refinement: equal option cards and one clean order summary */
#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: grid !important;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 13px !important;
    padding: 0 !important;
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row > [class*="col-"] {
    background: linear-gradient(150deg, rgba(10, 27, 55, .99), rgba(5, 14, 31, .99));
    border: 1px solid var(--config-line);
    border-radius: 16px;
    display: flex;
    flex: none !important;
    flex-direction: column;
    justify-content: center;
    margin: 0 !important;
    max-width: none !important;
    min-height: 116px;
    padding: 18px !important;
    width: auto !important;
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row > [class*="col-"]:hover {
    border-color: rgba(103, 214, 255, .3);
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row .form-group {
    margin: 0 !important;
    width: 100%;
}

#order-standard_cart #frmConfigureProduct .field-container {
    min-height: 116px;
    padding: 18px 20px !important;
}

#order-standard_cart #frmConfigureProduct .field-container .form-group {
    margin: 0 !important;
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row label,
#order-standard_cart #frmConfigureProduct .field-container label {
    color: #91a7c3 !important;
    display: block;
    font-size: .61rem !important;
    font-weight: 800 !important;
    letter-spacing: .02em;
    margin: 0 0 8px !important;
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row select,
#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row .form-control,
#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row input[type="text"],
#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row input[type="password"],
#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row input[type="number"],
#order-standard_cart #frmConfigureProduct .field-container select,
#order-standard_cart #frmConfigureProduct .field-container .form-control {
    min-height: 48px !important;
    width: 100% !important;
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row .form-check,
#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row .radio-inline,
#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row .checkbox-inline {
    align-items: center;
    background: #040d1e;
    border: 1px solid rgba(112, 177, 255, .16);
    border-radius: 9px;
    color: #8ca2bf !important;
    display: flex;
    margin: 5px 0 0 !important;
    min-height: 43px;
    padding: 9px 12px !important;
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row .form-check:hover,
#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row .radio-inline:hover,
#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row .checkbox-inline:hover {
    background: rgba(52, 127, 255, .08);
    border-color: rgba(103, 214, 255, .28);
}

#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row input[type="radio"],
#order-standard_cart #frmConfigureProduct .secondary-cart-body > .row input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 0 8px 0 0 !important;
}

/* Remove the nested-card effect from WHMCS' generated summary markup. */
#order-standard_cart #frmConfigureProduct #orderSummary,
#order-standard_cart #frmConfigureProduct .order-summary {
    background:
        radial-gradient(circle at 100% 0, rgba(52, 127, 255, .15), transparent 16rem),
        linear-gradient(150deg, #0b1d3b, #050e20) !important;
    border: 1px solid rgba(103, 214, 255, .22) !important;
    border-radius: 19px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3) !important;
    overflow: hidden;
    padding: 0 !important;
    position: sticky;
    top: 102px;
}

#order-standard_cart #frmConfigureProduct #orderSummary .summary-container,
#order-standard_cart #frmConfigureProduct .order-summary .summary-container {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: static !important;
    width: 100% !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary > h2,
#order-standard_cart #frmConfigureProduct #orderSummary > h3,
#order-standard_cart #frmConfigureProduct .order-summary > h2,
#order-standard_cart #frmConfigureProduct .order-summary > h3 {
    align-items: center;
    background: rgba(52, 127, 255, .075) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(112, 177, 255, .13) !important;
    color: #edf7ff !important;
    display: flex;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem !important;
    justify-content: space-between;
    margin: 0 !important;
    min-height: 62px;
    padding: 0 19px !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary > h2:after,
#order-standard_cart #frmConfigureProduct #orderSummary > h3:after,
#order-standard_cart #frmConfigureProduct .order-summary > h2:after,
#order-standard_cart #frmConfigureProduct .order-summary > h3:after {
    color: var(--config-cyan);
    content: '\f46d';
    font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
    font-size: .75rem;
    font-weight: 900;
}

#order-standard_cart #frmConfigureProduct #orderSummary .product-name,
#order-standard_cart #frmConfigureProduct .order-summary .product-name {
    border-bottom: 1px solid rgba(112, 177, 255, .1);
    color: #e4effb !important;
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 18px 19px !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary .product-group,
#order-standard_cart #frmConfigureProduct .order-summary .product-group {
    color: #5f789b !important;
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: .52rem;
    font-weight: 800;
    letter-spacing: .1em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

#order-standard_cart #frmConfigureProduct #orderSummary .summary-totals,
#order-standard_cart #frmConfigureProduct .order-summary .summary-totals {
    background: transparent !important;
    border: 0 !important;
    padding: 12px 19px !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary .summary-totals .clearfix,
#order-standard_cart #frmConfigureProduct .order-summary .summary-totals .clearfix,
#order-standard_cart #frmConfigureProduct #orderSummary .summary-totals > div,
#order-standard_cart #frmConfigureProduct .order-summary .summary-totals > div {
    align-items: center;
    border-bottom: 1px solid rgba(112, 177, 255, .075);
    color: #758dab !important;
    display: flex;
    font-size: .62rem;
    justify-content: space-between;
    padding: 9px 0;
}

#order-standard_cart #frmConfigureProduct #orderSummary .summary-totals .float-left,
#order-standard_cart #frmConfigureProduct #orderSummary .summary-totals .pull-left,
#order-standard_cart #frmConfigureProduct .order-summary .summary-totals .float-left,
#order-standard_cart #frmConfigureProduct .order-summary .summary-totals .pull-left { color: #7189aa; }

#order-standard_cart #frmConfigureProduct #orderSummary .summary-totals .float-right,
#order-standard_cart #frmConfigureProduct #orderSummary .summary-totals .pull-right,
#order-standard_cart #frmConfigureProduct .order-summary .summary-totals .float-right,
#order-standard_cart #frmConfigureProduct .order-summary .summary-totals .pull-right { color: #d3e1f0; font-weight: 800; }

#order-standard_cart #frmConfigureProduct #orderSummary .total-due,
#order-standard_cart #frmConfigureProduct .order-summary .total-due {
    background: rgba(52, 127, 255, .09) !important;
    border-bottom: 1px solid rgba(103, 214, 255, .16) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(103, 214, 255, .16) !important;
    margin: 0 !important;
    padding: 18px 19px !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary .total-due .amt,
#order-standard_cart #frmConfigureProduct .order-summary .total-due .amt {
    color: var(--config-cyan) !important;
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem !important;
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.1;
}

#order-standard_cart #frmConfigureProduct #orderSummary .total-due .duration,
#order-standard_cart #frmConfigureProduct .order-summary .total-due .duration {
    color: #6780a1 !important;
    display: block;
    font-size: .56rem !important;
    margin-top: 4px;
}

#order-standard_cart #frmConfigureProduct #orderSummary .btn,
#order-standard_cart #frmConfigureProduct .order-summary .btn,
#order-standard_cart #frmConfigureProduct #btnCompleteProductConfig {
    margin: 15px 19px 19px !important;
    min-height: 48px;
    width: calc(100% - 38px) !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary .loader,
#order-standard_cart #frmConfigureProduct .order-summary .loader {
    background: rgba(4, 13, 29, .78) !important;
    color: var(--config-cyan) !important;
}

@media (max-width: 991.98px) {
    #order-standard_cart #frmConfigureProduct #orderSummary,
    #order-standard_cart #frmConfigureProduct .order-summary { position: static; }
}

@media (max-width: 767.98px) {
    #order-standard_cart #frmConfigureProduct .secondary-cart-body > .row { grid-template-columns: 1fr; }
    #order-standard_cart #frmConfigureProduct .secondary-cart-body > .row > [class*="col-"] { min-height: 0; }
}

/* Live markup correction — verified against WHMCS standard_cart output. */
#order-standard_cart #frmConfigureProduct > .row > .secondary-cart-body,
#order-standard_cart #frmConfigureProduct > .row > .secondary-cart-sidebar {
    float: none !important;
    flex: none !important;
    margin: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

#order-standard_cart #frmConfigureProduct > .row > .secondary-cart-body { grid-column: 1; }
#order-standard_cart #frmConfigureProduct > .row > .secondary-cart-sidebar { grid-column: 2; }

/* The actual configurable-options container is #productConfigurableOptions. */
#order-standard_cart #frmConfigureProduct #productConfigurableOptions {
    background: transparent !important;
    border: 0 !important;
    margin: 0 0 13px !important;
    padding: 0 !important;
}

#order-standard_cart #frmConfigureProduct #productConfigurableOptions > .sub-heading {
    margin-bottom: 13px !important;
}

#order-standard_cart #frmConfigureProduct #productConfigurableOptions > .row {
    display: grid !important;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 !important;
}

#order-standard_cart #frmConfigureProduct #productConfigurableOptions > .row > [class*="col-"] {
    background: linear-gradient(150deg, rgba(10, 27, 55, .99), rgba(5, 14, 31, .99)) !important;
    border: 1px solid var(--config-line) !important;
    border-radius: 16px !important;
    display: flex !important;
    flex: none !important;
    flex-direction: column;
    justify-content: center;
    margin: 0 !important;
    max-width: none !important;
    min-height: 146px;
    padding: 20px !important;
    width: auto !important;
}

#order-standard_cart #frmConfigureProduct #productConfigurableOptions > .row > [class*="col-"]:hover {
    border-color: rgba(103, 214, 255, .34) !important;
}

#order-standard_cart #frmConfigureProduct #productConfigurableOptions .form-group {
    margin: 0 !important;
    width: 100% !important;
}

#order-standard_cart #frmConfigureProduct #productConfigurableOptions label {
    color: #91a7c3 !important;
    display: block !important;
    font-size: .61rem !important;
    font-weight: 800 !important;
    margin: 0 0 9px !important;
}

#order-standard_cart #frmConfigureProduct #productConfigurableOptions .form-control,
#order-standard_cart #frmConfigureProduct #productConfigurableOptions select,
#order-standard_cart #frmConfigureProduct #productConfigurableOptions input[type="text"],
#order-standard_cart #frmConfigureProduct #productConfigurableOptions input[type="number"] {
    background: #040d1e !important;
    border: 1px solid rgba(112, 177, 255, .22) !important;
    border-radius: 10px !important;
    color: #e6f2ff !important;
    min-height: 48px !important;
    width: 100% !important;
}

#order-standard_cart #frmConfigureProduct #productConfigurableOptions .form-control:focus,
#order-standard_cart #frmConfigureProduct #productConfigurableOptions select:focus,
#order-standard_cart #frmConfigureProduct #productConfigurableOptions input:focus {
    border-color: rgba(103, 214, 255, .55) !important;
    box-shadow: 0 0 0 4px rgba(52, 127, 255, .1) !important;
}

#order-standard_cart #frmConfigureProduct #productConfigurableOptions .form-check,
#order-standard_cart #frmConfigureProduct #productConfigurableOptions .radio-inline,
#order-standard_cart #frmConfigureProduct #productConfigurableOptions .checkbox-inline {
    align-items: center;
    background: #040d1e !important;
    border: 1px solid rgba(112, 177, 255, .17) !important;
    border-radius: 9px;
    color: #8ca2bf !important;
    display: flex !important;
    margin: 5px 0 0 !important;
    min-height: 43px;
    padding: 9px 12px !important;
}

/* Billing cycle and every configurable option now share the same card dimensions. */
#order-standard_cart #frmConfigureProduct > .row .secondary-cart-body > .field-container {
    background: linear-gradient(150deg, rgba(10, 27, 55, .99), rgba(5, 14, 31, .99)) !important;
    border: 1px solid var(--config-line) !important;
    border-radius: 16px !important;
    min-height: 146px !important;
    padding: 20px !important;
}

/* The outer element controls stickiness; only the inner .order-summary is the visible card. */
#order-standard_cart #frmConfigureProduct > .row > .secondary-cart-sidebar > #orderSummary {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: sticky !important;
    top: 102px;
    width: 100% !important;
}

#order-standard_cart #frmConfigureProduct > .row > .secondary-cart-sidebar > #orderSummary > .order-summary {
    background:
        radial-gradient(circle at 100% 0, rgba(52, 127, 255, .15), transparent 16rem),
        linear-gradient(150deg, #0b1d3b, #050e20) !important;
    border: 1px solid rgba(103, 214, 255, .22) !important;
    border-radius: 19px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3) !important;
    margin: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: static !important;
    width: 100% !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary > .order-summary > h2 {
    background: rgba(52, 127, 255, .075) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(112, 177, 255, .13) !important;
    color: #edf7ff !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem !important;
    line-height: 1.25;
    margin: 0 !important;
    min-height: 62px;
    padding: 20px 19px !important;
    text-align: left !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary .summary-container {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    width: 100% !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary #producttotal {
    background: transparent !important;
    border: 0 !important;
    color: #849ab9 !important;
    padding: 0 !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary .summary-container > .text-center {
    border-top: 1px solid rgba(112, 177, 255, .1);
    padding: 0 !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary #btnCompleteProductConfig {
    margin: 16px 19px 19px !important;
    width: calc(100% - 38px) !important;
}

@media (max-width: 991.98px) {
    #order-standard_cart #frmConfigureProduct > .row > .secondary-cart-body,
    #order-standard_cart #frmConfigureProduct > .row > .secondary-cart-sidebar { grid-column: 1; }
    #order-standard_cart #frmConfigureProduct > .row > .secondary-cart-sidebar > #orderSummary { position: static !important; }
}

@media (max-width: 767.98px) {
    #order-standard_cart #frmConfigureProduct #productConfigurableOptions > .row { grid-template-columns: 1fr; }
    #order-standard_cart #frmConfigureProduct #productConfigurableOptions > .row > [class*="col-"] { min-height: 0; }
}

/* Keep every dynamically generated order-summary line clear of the card edge. */
#order-standard_cart #frmConfigureProduct #orderSummary #producttotal {
    overflow-wrap: anywhere;
}

#order-standard_cart #frmConfigureProduct #orderSummary #producttotal .product-name {
    padding: 21px 24px 18px !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary #producttotal .summary-totals {
    padding: 14px 24px !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary #producttotal .total-due {
    padding: 20px 24px !important;
}

#order-standard_cart #frmConfigureProduct #orderSummary #producttotal > :not(.product-name):not(.summary-totals):not(.total-due) {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}
