/*
Master
*/

#order-modern {
    margin: 0;
    padding: 0 0 40px;
}

#order-modern .title-bar {
    margin: 0 0 25px 0;
    text-align: center;
}

#order-modern .title-bar h1 {
    margin: 0;
    padding: 0;
}

#order-modern select {
    border: 1px solid #ccc;
    padding: 1px;
}

#order-modern .clear {
    clear: both;
}

#order-modern #configcontainer, #order-modern #configcontainer2 {
    display: none;
}

#order-modern .loading {
    display: none;
    width: 220px;
    padding-top: 10px;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

#order-modern #cartLoader i {
    font-size: 1.6em;
}

#order-modern .errorbox {
    display: none;
    margin: 15px 0;
    padding: 15px 20px;
    background-color: #FBEEEB;
    border: 1px dashed #cc0000;
    font-weight: bold;
    color: #cc0000;
    text-align: center;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
}
#order-modern .errorbox p {
    margin: 0;
    padding: 0;
    font-weight: bold;
    text-align: left;
}
#order-modern .errorbox li {
    font-weight: normal;
    text-align: left;
    color:#000;
}

#order-modern .textgreen {
    color: #779500;
}

#order-modern .textred {
    color: #cc0000;
}

#order-modern table tr td {
    padding: 2px 3px;
}

/*
Product Categories
*/

#order-modern .choosecat {
    margin: 10px;
}

#order-modern .currencychooser {
    margin: 10px 30px;
    padding: 0;
    text-align: right;
}

/*
Product Listing
*/

#order-modern .product {
    margin: 15px 0;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

#order-modern .product:hover {
    background-color: #E6EDFF;
    cursor: pointer;
    cursor: hand;
}

#order-modern .product .pricing {
    float: right;
    text-align: right;
    font-family: Lucida Sans Unicode,Lucida Grande,sans-serif;
    font-size: 18px;
    line-height: 20px;
}

#order-modern .product .name {
    font-family: Lucida Sans Unicode,Lucida Grande,sans-serif;
    font-weight: normal;
    font-size: 20px;
    margin-bottom: 10px;
}

#order-modern .product .prodfeature {
    float: left;
    margin: 5px 5px 0 0;
    padding: 5px 10px 5px 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    text-align: center;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    font-size: 20px;
    color: #ff6600;
}

#order-modern .product .prodfeature .feature {
    font-size: 13px;
    color: #666;
}

#order-modern .product .description {
    font-size: 0.9em;
    margin: 15px 30px 10px 20px;
}

/*
Domain Registrations
*/

#order-modern .domainreg {
    margin: 0 auto 15px auto;
    padding: 10px;
    width: 70%;
    background-color: #f6f6f6;
    border: 1px dashed #ccc;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}

#order-modern .domainoptions {
    margin: 20px 0;
    padding: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}

#order-modern .domainoptions .option {
    border-bottom: 1px solid #ccc;
}
#order-modern .domainoptions .option label {
    display: block;
    padding: 10px 10px 10px 30px;
}
#order-modern .domainoptions .option:first-child {
    -moz-border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -o-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
}
#order-modern .domainoptions .option:last-child {
    border-bottom: 0;
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    -o-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}
#order-modern .domainoptions .optionselected {
    background-color: #EDF1FE;
}

#order-modern .domainreginput {
    margin: 0;
    padding: 0 10px 10px 10px;
}

#order-modern .domainreginput input, #order-modern .domainreginput select, #order-modern .domainregperiod select {
    font-size: 14px;
    padding: 3px;
}

#greyout {
    display: none;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: #ccc;
    filter:alpha(opacity=60);
    -moz-opacity:0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
    z-index: 50000;
}

#domainpopupcontainer {
    display: none;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    text-align:center;
    padding: 150px 0 0 0;
    z-index: 50001;
}

#order-modern div.domainresults div {
    margin: 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 0;
}

#domainresults {
    margin: 0 auto;
    padding: 15px;
    max-width: 800px;
    background-color: #fff;
    text-align: center;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}

#order-modern .domainbox {
     background-color:#fff;
     width:550px;
     padding:15px;
}

#order-modern .domainavailable {
    background-color: #fff;
    color: #9AC003;
    font-size: 1.6em;
    font-weight: bold;
    text-align: center;
}

#order-modern .domainunavailable {
    color: #cc0000;
    font-size: 1.6em;
    font-weight: bold;
    text-align: center;
}

#order-modern .domaininvalid {
    color: #cc0000;
    font-size: 1.6em;
    font-weight: bold;
    text-align: center;
}

#order-modern .domainregperiod {
    text-align: center;
}

#order-modern div.domainsuggestions {
    font-weight: bold;
    padding: 10px 0;
}

#order-modern table.domainsuggestions {
    margin: 0 auto;
    width: 80%;
}
#order-modern table.domainsuggestions th {
    background-color: #1A4D80;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    padding: 2px;
    line-height: 20px;
    color: #fff;
}
#order-modern table.domainsuggestions td {
    background-color: #FFF;
    text-align: center;
    border-bottom: 1px solid #EBEBEB;
    font-size: 11px;
    line-height: 25px;
}
#order-modern table.domainsuggestions td select {
    font-size: 11px;
}

#order-modern .domainconfig {
    margin: 0 0 30px 0;
    padding: 10px;
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

/*
Product Config
*/

#order-modern .billingcycle {
    border: 1px solid #ccc;
    padding: 1px;
    margin-bottom: 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

#order-modern .serverconfig {
    border: 1px solid #ccc;
    padding: 1px;
    margin-bottom: 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

#order-modern .configoptions {
    border: 1px solid #ccc;
    padding: 1px;
    margin-bottom: 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

#order-modern .addons {
    border: 1px solid #ccc;
    padding: 1px;
    margin-bottom: 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

#order-modern .customfields {
    border: 1px solid #ccc;
    padding: 1px;
    margin-bottom: 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

/*
Config Tables
*/

#order-modern .configtable td {
    padding: 2px 5px 2px 5px;
}

#order-modern .configtable td.fieldlabel {
    width: 250px;
    text-align: right;
}

#order-modern .configtable td.radiofield {
    width: 40px;
    text-align: center;
}

#order-modern .configtable td.fieldarea {
    background-color: #efefef;
    border-bottom: 1px solid #fff;
    padding: 5px;
    text-align: left;
}

#order-modern .configoplabel {
    color: #ff6600;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
}

/*
Order Summary
*/

#order-modern .ordersummary {
    margin: 0;
    padding: 10px;
    border: 1px solid #ccc;
    min-height: 100px;
    margin-bottom: 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

#order-modern .ordersummarytbl {
    width: 100%;
}

#order-modern .ordersummarytbl td {
    font-size: 0.8em;
}

#order-modern .summaryproduct {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

/*
Addons
*/

#order-modern .addoncontainer {
    margin: 0 auto 15px auto;
    padding: 10px;
    width: 90%;
    background-color: #f6f6f6;
    border: 1px dashed #ccc;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}

#order-modern .addoncontainer .title {
    margin: 0;
    padding: 0;
    font-family: Lucida Sans Unicode,Lucida Grande,sans-serif;
    font-size: 16px;
}

#order-modern .addoncontainer .desc {
    margin: 0;
    padding: 0;
    padding: 10px;
    text-align: center;
    font-size: 11px;
}

#order-modern .addoncontainer .pricing {
    padding-bottom: 10px;
    text-align: center;
    font-weight: bold;
    color: #cc0000;
}

#order-modern .addoncontainer select {
    max-width: 50%;
}

/*
Domain Renewals
*/

#order-modern .regperiod {
    padding: 3px;
    border: 1px solid #ccc;
}
#order-modern table.renewals th {
    background-color: #efefef;
    font-weight: bold;
    text-align: center;
}
#order-modern table.renewals td {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

/*
Shopping Cart
*/

#order-modern table.cart {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1px;
}
#order-modern table.cart th {
    background-color: #666;
    font-weight: bold;
    text-align: center;
    padding: 3px 0;
    line-height: 26px;
    border-radius: 5px;
}
#order-modern table.cart td {
    background-color: #FFF;
    border-bottom: 1px solid #EBEBEB;
    padding: 4px 15px;
}
#order-modern table.cart tr.subtotal td {
    background-color: #F5F5F5;
    border-bottom: 1px solid #EBEBEB;
    padding: 4px;
}
#order-modern table.cart tr.subtotal:hover td {
    background-color: #F5F5F5;
}
#order-modern table.cart tr.promotion td {
    background-color: #FFFFDA;
    border-bottom: 1px solid #EBEBEB;
    padding: 4px;
}
#order-modern table.cart tr.promotion:hover td {
    background-color: #FFFFDA;
}
#order-modern table.cart tr.total td {
    background-color: #E7FFDA;
    color: #339100;
    border-bottom: 0;
    font-weight: normal;
    padding: 4px;
}
#order-modern table.cart tr.total:hover td {
    background-color: #E7FFDA;
}
#order-modern table.cart tr.recurring td {
    background-color: #F1EFDC;
    border-bottom: 2px solid #666;
    font-weight: normal;
    padding: 4px;
}
#order-modern table.cart tr.recurring:hover td {
    background-color: #F1EFDC;
}
#order-modern table.cart tr:hover td {
    background-color: #EFF2F9;
}
#order-modern table.cart th, #order-modern table.datatable th a, #order-modern table.datatable th a:visited {
    color: #FFF;
    text-decoration: none;
}
#order-modern table.cart th a:hover {
    color: #FFF;
    text-decoration: underline;
}

#order-modern .cartedit {
    font-size: 0.8em;
    color: #888;
}

#order-modern .cartremove {
    font-size: 0.8em;
    color: #cc0000;
}

#order-modern .cartbuttons {
    float: right;
    margin: 0;
    padding: 10px 0 0 0;
    width: 40%;
    text-align: center;
}

#order-modern .signuptype {
    float: left;
    margin: 0 5px 0 0;
    padding: 4px 15px;
    background-color: #efefef;
    border: 1px solid #ccc;
    border-bottom: 0;
    color: #000;
    border-radius: 5px 5px 0 0;
}
#order-modern .signuptype:hover {
    cursor: hand;
    cursor: pointer;
}
#order-modern .signuptype.active {
    background-color: #fff;
    font-weight: bold;
}

#order-modern .signupfields {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 0 0 20px 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

#order-modern .signupfields .configtable td.fieldlabel {
    width: 200px;
}
#order-modern .signupfields.padded {
    padding: 15px;
    text-align: center;
}
#order-modern .signupfields.hidden {
    display: none;
}
#order-modern .signupfields-existing {
    padding: 40px;
}

#order-modern .carttaxwarning {
    margin: 0 0 20px 0;
    color: #666;
    text-align: center;
}

#order-modern .cartwarningbox {
    margin: 20px 0 20px 0;
    padding: 7px;
    border-top: 4px solid #EBE8CD;
    border-bottom: 4px solid #EBE8CD;
    background-color: #F1EFDC;
    font-size: 0.9em;
    text-align: center;
    color: #000;
}

/*
Domain Registration
*/

#order-modern .domain-checker-fieldcontainer {
    margin: 0;
    padding: 10px 10px 5px 10px;
    background-color: #fff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}

#order-modern .domain-checker-fieldcontainer .row {
    margin-right: -2px;
    margin-left: -2px;
}
#order-modern .domain-checker-fieldcontainer .col-md-7 {
    padding-right: 2px !important;
    padding-left: 2px !important;
}
#order-modern .domain-checker-fieldcontainer .col-md-3 {
    padding-right: 2px !important;
    padding-left: 2px !important;
}
#order-modern .domain-checker-fieldcontainer .col-md-2 {
    padding-right: 2px !important;
    padding-left: 2px !important;
}

#order-modern .domain-checker-fieldcontainer input,
#order-modern .domain-checker-fieldcontainer select,
#order-modern .domain-checker-fieldcontainer button {
    margin-bottom: 5px;
}

/* Mexela compact order flow */
#order-modern.mexela-order {
    --mexela-ink: #172534;
    --mexela-muted: #667384;
    --mexela-border: #d9e2e8;
    --mexela-surface: #ffffff;
    --mexela-soft: #f7f8fa;
    --mexela-accent: #9f2f31;
    --mexela-accent-strong: #6f1f24;
    --mexela-focus: #ffb31a;
    box-sizing: border-box;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 48px;
    padding: 0 12px 40px;
    color: var(--mexela-ink);
    font-family: Lato, Arial, sans-serif;
}

.mexela-order *,
.mexela-order *::before,
.mexela-order *::after {
    box-sizing: inherit;
}

.mexela-order-progress ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
}

.mexela-order-progress li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--mexela-muted);
    font-size: 13px;
    font-weight: 700;
}

.mexela-order-progress li span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 1px solid var(--mexela-border);
    border-radius: 50%;
    background: var(--mexela-surface);
}

.mexela-order-progress li.is-current {
    color: var(--mexela-accent-strong);
}

.mexela-order-progress li.is-current span {
    border-color: var(--mexela-accent);
    background: var(--mexela-accent);
    color: #fff;
}

.mexela-order-progress li.is-complete {
    color: var(--mexela-ink);
}

.mexela-order-progress li.is-complete span {
    border-color: #54735c;
    background: #eaf3ec;
    color: #294c32;
}

.mexela-order-heading {
    margin-bottom: 24px;
}

.mexela-order-heading h1 {
    margin: 4px 0 8px;
    color: var(--mexela-ink);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
}

.mexela-order-heading > p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--mexela-muted);
    font-size: 16px;
    line-height: 1.6;
}

.mexela-order-eyebrow,
.mexela-mobile-label {
    color: var(--mexela-accent-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mexela-plan-head,
.mexela-plan-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(150px, .8fr) minmax(130px, .7fr) 132px;
    gap: 20px;
    align-items: center;
}

.mexela-plan-head {
    padding: 0 20px 9px;
    color: var(--mexela-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.mexela-plan-list {
    display: grid;
    gap: 10px;
}

.mexela-plan-row {
    min-height: 86px;
    padding: 16px 20px;
    border: 1px solid var(--mexela-border);
    border-radius: 10px;
    background: var(--mexela-surface);
    box-shadow: 0 3px 12px rgba(23, 37, 52, .05);
}

.mexela-plan-row:hover {
    border-color: #b9c8d2;
    box-shadow: 0 6px 18px rgba(23, 37, 52, .08);
}

.mexela-plan-name strong,
.mexela-plan-price strong {
    display: block;
    color: var(--mexela-ink);
    font-size: 18px;
}

.mexela-plan-price small {
    display: block;
    color: var(--mexela-muted);
}

.mexela-plan-stock {
    color: #34613d;
    font-weight: 700;
}

.mexela-plan-select {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mexela-accent);
    border-color: var(--mexela-accent);
    color: #fff;
}

.mexela-plan-select:hover,
.mexela-plan-select:focus {
    background: var(--mexela-accent-strong);
    border-color: var(--mexela-accent-strong);
    color: #fff;
}

.mexela-order a:focus,
.mexela-order button:focus,
.mexela-order input:focus,
.mexela-order select:focus,
.mexela-order textarea:focus,
.mexela-order [tabindex]:focus {
    outline: 3px solid var(--mexela-focus);
    outline-offset: 2px;
}

.mexela-mobile-label {
    display: none;
}

#order-modern.mexela-order .mexela-currency-chooser {
    margin: 24px 0 0;
    text-align: right;
}

@media (max-width: 767px) {
    #order-modern.mexela-order {
        margin-bottom: 32px;
        padding-inline: 4px;
    }

    .mexela-order-progress li {
        justify-content: center;
        font-size: 0;
    }

    .mexela-order-progress li span {
        font-size: 12px;
    }

    .mexela-plan-head {
        display: none;
    }

    .mexela-plan-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px 18px;
        padding: 16px;
    }

    .mexela-mobile-label {
        display: block;
        margin-bottom: 3px;
    }

    .mexela-plan-stock {
        align-self: end;
        text-align: right;
    }

    .mexela-plan-select {
        grid-column: 1 / -1;
        width: 100%;
    }

    #order-modern.mexela-order .mexela-currency-chooser {
        text-align: center;
    }
}

@media (max-width: 359px) {
    .mexela-plan-row {
        grid-template-columns: 1fr;
    }

    .mexela-plan-stock {
        text-align: left;
    }
}

.mexela-config-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: start;
}

.mexela-config-form,
.mexela-config-main,
.mexela-config-section,
.mexela-order-summary {
    min-width: 0;
}

.mexela-config-section {
    margin: 0 0 18px;
    padding: 20px;
    border: 1px solid var(--mexela-border);
    border-radius: 10px;
    background: var(--mexela-surface);
}

.mexela-config-section h2,
.mexela-order-summary h2 {
    margin: 0 0 16px;
    color: var(--mexela-ink);
    font-size: 20px;
    line-height: 1.3;
}

.mexela-field-list,
.mexela-choice-grid {
    display: grid;
    gap: 12px;
}

.mexela-field-list {
    gap: 16px;
}

.mexela-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mexela-field-group {
    display: grid;
    gap: 7px;
    min-width: 0;
    margin: 0;
}

.mexela-field-label,
.mexela-field-group > label {
    color: var(--mexela-ink);
    font-weight: 700;
}

.mexela-field-control,
.mexela-field-control select,
.mexela-field-control input,
.mexela-field-control textarea {
    min-width: 0;
    max-width: 100%;
}

.mexela-field-control .form-control,
.mexela-field-control > input,
.mexela-field-control > select,
.mexela-field-control > textarea,
.mexela-order input[type="text"],
.mexela-order input[type="email"],
.mexela-order input[type="password"],
.mexela-order input[type="number"],
.mexela-order select,
.mexela-order textarea {
    width: 100%;
    min-height: 44px;
}

.mexela-field-help {
    display: block;
    margin-top: 5px;
    color: var(--mexela-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.mexela-option-note {
    margin: -6px 0 16px;
    color: var(--mexela-muted);
    font-size: 14px;
    line-height: 1.55;
}

.mexela-choice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--mexela-border);
    border-radius: 8px;
    color: var(--mexela-ink);
    cursor: pointer;
}

.mexela-choice:hover {
    border-color: #b9c8d2;
    background: var(--mexela-soft);
}

.mexela-choice input {
    width: auto;
    min-height: 0;
    flex: 0 0 auto;
    margin: 3px 0 0;
}

.mexela-config-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.mexela-continue {
    min-height: 48px;
    min-width: 180px;
    background: var(--mexela-accent);
    border-color: var(--mexela-accent);
    color: #fff;
}

.mexela-order-summary {
    position: static;
    padding: 20px;
    border: 1px solid var(--mexela-border);
    border-radius: 10px;
    background: var(--mexela-soft);
}

@media (min-width: 992px) {
    .mexela-order .mexela-order-summary {
        position: sticky;
        top: 20px;
    }
}

.mexela-summary-loader {
    display: none;
    float: right;
    color: var(--mexela-muted);
}

.mexela-summary-lines {
    display: grid;
    gap: 9px;
    margin: 16px 0;
}

.mexela-summary-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.mexela-summary-lines dt {
    color: var(--mexela-muted);
    font-weight: 400;
}

.mexela-summary-lines dd {
    margin: 0;
    color: var(--mexela-ink);
    font-weight: 700;
    text-align: right;
}

.mexela-summary-breakdown {
    padding-top: 14px;
    border-top: 1px solid var(--mexela-border);
}

.mexela-summary-total {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 2px solid var(--mexela-ink);
    text-align: right;
}

#order-modern.mexela-order #configproducterror:not(:empty) {
    display: block;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #b4232d;
    border-radius: 8px;
    color: #6f1f24;
    background: #fff2f3;
}

@media (max-width: 899px) {
    .mexela-config-layout {
        grid-template-columns: 1fr;
    }

    .mexela-order-summary {
        position: static;
    }
}

@media (max-width: 559px) {
    .mexela-choice-grid {
        grid-template-columns: 1fr;
    }

    .mexela-config-section {
        padding: 16px;
    }

    .mexela-config-actions,
    .mexela-config-actions .btn,
    .mexela-continue {
        width: 100%;
    }
}

.mexela-cart-list { display: grid; gap: 12px; }
.mexela-cart-item { display: grid; grid-template-columns: minmax(0,1fr) minmax(150px,220px); gap: 24px; padding: 20px; border: 1px solid var(--mexela-border); border-radius: 10px; background: var(--mexela-surface); }
.mexela-cart-item h2 { margin: 2px 0 10px; font-size: 19px; }
.mexela-cart-item h2 small { color: var(--mexela-muted); font-size: 0.8em; font-weight: 500; }
.mexela-cart-item-price { text-align: right; }
.mexela-cart-item-price span, .mexela-cart-item-price small { display: block; color: var(--mexela-muted); }
.mexela-cart-options { display: grid; gap: 5px; margin: 12px 0; }
.mexela-cart-options div, .mexela-cart-totals div { display: flex; justify-content: space-between; gap: 20px; }
.mexela-cart-options dt { color: var(--mexela-muted); font-weight: 400; }
.mexela-cart-options dd, .mexela-cart-totals dd { margin: 0; text-align: right; }
.mexela-cart-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.mexela-quantity-update { display: grid; grid-template-columns: 1fr 90px auto; gap: 10px; align-items: center; margin-top: 16px; }
.mexela-cart-totals { width: min(100%,520px); margin: 22px 0 24px auto; padding: 20px; border: 1px solid var(--mexela-border); border-radius: 10px; background: var(--mexela-soft); }
.mexela-cart-totals div { padding: 7px 0; }
.mexela-cart-totals .mexela-total-due { margin-top: 8px; padding-top: 14px; border-top: 2px solid var(--mexela-ink); font-size: 18px; font-weight: 800; }
.mexela-empty-cart { padding: 28px 20px; border: 1px dashed var(--mexela-border); border-radius: 10px; color: var(--mexela-muted); text-align: center; }
.mexela-review-continue, .mexela-place-order { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.mexela-checkout { margin-top: 36px; scroll-margin-top: 20px; }
.mexela-checkout-summary { display: grid; grid-template-columns: minmax(180px,240px) minmax(0,1fr); gap: 18px; align-items: start; margin: 0 0 18px; padding: 18px 20px; border: 1px solid var(--mexela-border); border-radius: 10px; background: var(--mexela-soft); }
.mexela-checkout-summary strong { display: block; color: var(--mexela-ink); font-size: 24px; line-height: 1.2; }
.mexela-checkout-summary small { display: block; margin-top: 4px; color: var(--mexela-muted); }
.mexela-checkout-section { margin-bottom: 18px; padding: 22px; border: 1px solid var(--mexela-border); border-radius: 10px; background: var(--mexela-surface); }
.mexela-checkout-section .row { margin-inline: -8px; }
.mexela-checkout-section [class*=col-] { padding-inline: 8px; }
.mexela-checkout .signuptype { min-height: 44px; }
.mexela-payment-options, .mexela-saved-card-options { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 18px; }
.mexela-expiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mexela-trust-list { display: grid; gap: 6px; margin: 0; padding-left: 18px; color: var(--mexela-muted); font-size: 14px; line-height: 1.45; }
.mexela-trust-list strong { color: var(--mexela-ink); font-size: 14px; }
.mexela-trust-list-confirmation { margin: 14px 0 0; }
.mexela-place-order { width: min(100%,420px); margin: 18px auto 0; }
#order-modern.mexela-order #mexela-cart-errors { display: block; margin-bottom: 18px; }
@media (max-width: 767px) {
    .mexela-cart-item { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
    .mexela-cart-item-price { display: flex; justify-content: space-between; gap: 12px; text-align: left; }
    .mexela-quantity-update { grid-template-columns: 1fr 84px; }
    .mexela-quantity-update button { grid-column: 1 / -1; }
    .cartbuttons { display: grid; gap: 10px; }
    .cartbuttons .btn, .cartbuttons .mexela-review-continue { width: 100%; }
    .mexela-checkout-summary { grid-template-columns: 1fr; padding: 16px; }
    .mexela-checkout-section { padding: 16px; }
    .mexela-checkout-section .row, .mexela-checkout-section [class*=col-] { margin: 0; padding: 0; }
    .mexela-order .configtable, .mexela-order .configtable tbody, .mexela-order .configtable tr, .mexela-order .configtable td { display: block; width: 100%; }
    .mexela-order .configtable .fieldlabel, .mexela-order .configtable .fieldarea { padding: 5px 0; text-align: left; }
}
.mexela-result-card { max-width: 720px; margin: 32px auto; padding: 28px; border: 1px solid var(--mexela-border); border-radius: 12px; background: var(--mexela-surface); text-align: center; }
.mexela-result-card h1 { margin-top: 0; color: var(--mexela-ink); }
.mexela-result-card .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.mexela-result-error { border-color: #d29aa0; background: #fff7f8; }
.mexela-error-message { margin: 14px 0 20px; color: #6f1f24; }

.mexela-order [data-mexela-product-tabs] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.mexela-order [data-mexela-product-tabs][hidden] {
    display: none;
}

.mexela-order [data-mexela-product-tabs] a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 18px;
    border: 1px solid var(--mexela-border);
    border-radius: 999px;
    color: var(--mexela-ink);
    background: var(--mexela-surface);
    font-weight: 700;
    text-decoration: none;
}

.mexela-order [data-mexela-product-tabs] a:hover,
.mexela-order [data-mexela-product-tabs] a:focus-visible {
    border-color: var(--mexela-accent);
    color: var(--mexela-accent);
}

.mexela-order .mexela-quantity-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 24px;
    align-items: center;
    margin: 0 0 22px;
    padding: 18px 20px;
    border: 1px solid var(--mexela-border);
    border-radius: 10px;
    background: var(--mexela-soft);
}

.mexela-order .mexela-quantity-search[hidden] {
    display: none;
}

.mexela-order .mexela-quantity-search label {
    display: block;
    margin: 0 0 4px;
    color: var(--mexela-ink);
    font-size: 17px;
    font-weight: 800;
}

.mexela-order .mexela-quantity-search p {
    margin: 0;
    color: var(--mexela-muted);
    font-size: 13px;
    line-height: 1.45;
}

.mexela-order .mexela-quantity-control {
    display: grid;
    gap: 6px;
}

.mexela-order #mexelaQuantityInput {
    width: 100%;
    min-height: 48px;
    padding: 9px 12px;
    border: 1px solid var(--mexela-border);
    border-radius: 8px;
    color: var(--mexela-ink);
    background: var(--mexela-surface);
    font-size: 18px;
    font-weight: 700;
}

.mexela-order [data-recommendation] {
    border-color: #8aa9bb;
    background: #f7fbfd;
    box-shadow: 0 0 0 2px rgba(39, 105, 137, 0.1);
}

.mexela-order [data-recommendation="exact"] {
    border-color: var(--mexela-accent);
    background: #f1f9fc;
    box-shadow: 0 0 0 3px rgba(39, 105, 137, 0.16);
}

.mexela-order .mexela-plan-economics {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin-top: 4px;
}

.mexela-order .mexela-unit-price,
.mexela-order .mexela-savings,
.mexela-order .mexela-best-value {
    color: var(--mexela-muted);
    font-size: 12px;
    line-height: 1.4;
}

.mexela-order .mexela-recovery-optin {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--mexela-border);
    border-radius: 10px;
    background: var(--mexela-soft);
}

.mexela-order .mexela-recovery-optin > label {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 44px;
    margin: 0;
    color: var(--mexela-ink);
    cursor: pointer;
}

.mexela-order .mexela-recovery-optin input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0;
}

.mexela-order .mexela-recovery-optin input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(39, 105, 137, 0.28);
    outline-offset: 3px;
}

.mexela-order .mexela-recovery-optin span,
.mexela-order .mexela-recovery-optin small {
    display: block;
    min-width: 0;
}

.mexela-order .mexela-recovery-optin small {
    margin-top: 3px;
    color: var(--mexela-muted);
    font-weight: 400;
    line-height: 1.45;
}

.mexela-order .mexela-recovery-status {
    min-height: 20px;
    margin: 7px 0 0 34px;
    color: var(--mexela-muted);
    font-size: 13px;
    line-height: 1.45;
}

.mexela-order .mexela-recovery-status[data-state="saved"] {
    color: #267044;
    font-weight: 700;
}

.mexela-order .mexela-recovery-status[data-state="pending"] {
    color: var(--mexela-accent);
}

.mexela-order .mexela-option-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.mexela-order .mexela-option-shortcuts[hidden] {
    display: none;
}

.mexela-order .mexela-option-shortcut {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--mexela-border);
    border-radius: 999px;
    color: var(--mexela-ink);
    background: var(--mexela-surface);
    font-weight: 700;
}

.mexela-order .mexela-option-shortcut:hover,
.mexela-order .mexela-option-shortcut:focus-visible,
.mexela-order .mexela-option-shortcut[aria-pressed="true"] {
    border-color: var(--mexela-accent);
    color: var(--mexela-accent);
    background: #f1f9fc;
}

.mexela-order .mexela-savings {
    color: #267044;
    font-weight: 700;
}

.mexela-order .mexela-best-value {
    padding: 2px 7px;
    border-radius: 999px;
    color: #fff;
    background: #267044;
    font-weight: 800;
}

@media (max-width: 767px) {
    .mexela-order .mexela-quantity-search {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .mexela-order [data-mexela-product-tabs] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mexela-order .mexela-recovery-optin {
        padding: 14px;
    }

    .mexela-order .mexela-recovery-status {
        margin-left: 0;
    }
}
