#nextus-quickorder-modal .nextus-quickorder-dialog {
    max-width: 700px;
    margin: 50px auto 24px;
}

#nextus-quickorder-modal .nextus-quickorder-modal-content {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .16);
}

#nextus-quickorder-modal .nextus-quickorder-header {
    padding: 34px 36px 10px;
    border-bottom: 0;
}

#nextus-quickorder-modal .nextus-quickorder-header .modal-title {
    margin: 0;
    color: #111;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
}

#nextus-quickorder-modal .nextus-quickorder-body {
    padding: 10px 36px 34px;
}

.nextus-quickorder-close {
    position: absolute;
    top: 32px;
    right: 34px;
    z-index: 10;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8f8d87;
    font-size: 34px;
    line-height: 28px;
    font-weight: 300;
    cursor: pointer;
}

.nextus-quickorder-close:hover,
.nextus-quickorder-close:focus {
    color: #333;
    text-decoration: none;
    outline: 0;
}

.nextus-quickorder-product {
    margin: 10px 0 24px;
    padding: 18px 22px;
    border-radius: 14px;
    background: #fafafa;
    color: #111;
    font-size: 21px;
    line-height: 1.3;
}

.nextus-quickorder-product strong {
    font-weight: 600;
}

.nextus-quickorder-steps {
    display: flex;
    align-items: center;
    margin-bottom: 26px;
}

.nextus-quickorder-step {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    color: #8d8b86;
    font-size: 18px;
    font-weight: 600;
}

.nextus-quickorder-step-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 9px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #8d8b86;
    font-size: 16px;
    line-height: 1;
}

.nextus-quickorder-step-check {
    display: none;
}

.nextus-quickorder-step.is-active {
    color: #111;
}

.nextus-quickorder-step.is-active .nextus-quickorder-step-marker {
    border-color: #2e79d9;
    background: #2e79d9;
    color: #fff;
}

.nextus-quickorder-step.is-complete {
    color: #14811e;
}

.nextus-quickorder-step.is-complete .nextus-quickorder-step-marker {
    border-color: #c8efc8;
    background: #c8efc8;
    color: #14811e;
}

.nextus-quickorder-step.is-complete .nextus-quickorder-step-number {
    display: none;
}

.nextus-quickorder-step.is-complete .nextus-quickorder-step-check {
    display: inline-block;
}

.nextus-quickorder-step-line {
    height: 2px;
    flex: 1 1 auto;
    min-width: 40px;
    margin: 0 12px;
    background: #ddd;
}

.nextus-quickorder-form-group {
    margin-bottom: 22px;
}

.nextus-quickorder-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 500;
}

.nextus-quickorder-optional {
    font-weight: 400;
}

#nextus-quickorder-modal .nextus-quickorder-input {
    width: 100%;
    height: 60px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    color: #111;
    font-size: 21px;
    box-shadow: none;
}

#nextus-quickorder-modal .nextus-quickorder-input:focus {
    border-color: #4a90ff;
    box-shadow: 0 0 0 3px rgba(74, 144, 255, .20);
    outline: 0;
}

.nextus-quickorder-help {
    margin-top: 6px;
    color: #8b8983;
    font-size: 15px;
    font-weight: 600;
}

.nextus-quickorder-consent {
    margin: 4px 0 24px;
}

.nextus-quickorder-consent span {
    margin-left: 10px;
}

.nextus-quickorder-consent label {
    display: flex;
    align-items: flex-start;
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
    margin-left: 5px;
}

.nextus-quickorder-consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 1px 12px 0 0;
    flex: 0 0 auto;
}

.nextus-quickorder-consent .required {
    margin-left: auto;
    padding-left: 10px;
}

.nextus-quickorder-error,
.nextus-quickorder-general-error {
    margin-top: 6px;
    color: #f12d26;
    font-size: 14px;
    line-height: 1.3;
}

.nextus-quickorder-primary-button {
    display: block;
    width: 100%;
    min-height: 62px;
    padding: 14px 22px;
    border: 0;
    border-radius: 13px;
    background: #f12d26;
    color: #fff;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.nextus-quickorder-primary-button:hover,
.nextus-quickorder-primary-button:focus {
    background: #f12d26;
    color: #fff;
}

.nextus-quickorder-code-step {
    display: none;
}

.nextus-quickorder-phone-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 14px 20px;
    border-radius: 13px;
    background: #ccefc9;
    color: #087616;
    font-size: 18px;
}

.nextus-quickorder-phone-summary-value {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.nextus-quickorder-phone-summary-value .icon-ok {
    margin-right: 12px;
}

.nextus-quickorder-edit-phone {
    padding: 0;
    border: 0;
    background: transparent;
    color: #1469c9;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.nextus-quickorder-edit-phone:hover,
.nextus-quickorder-edit-phone:focus {
    text-decoration: underline;
    outline: 0;
}

.nextus-quickorder-sent-message {
    margin-bottom: 24px;
    color: #555;
    font-size: 18px;
    line-height: 1.35;
}

.nextus-quickorder-code-input {
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
}

.nextus-quickorder-resend {
    min-height: 26px;
    margin: -14px 0 22px;
    color: #8b8983;
    font-size: 15px;
    font-weight: 600;
}

.nextus-quickorder-link-button {
    display: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1469c9;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.nextus-quickorder-link-button[disabled] {
    color: #999;
    cursor: default;
}

.nextus-quickorder-success {
    display: none;
    min-height: 240px;
    padding: 72px 18px 48px;
    color: #111;
    text-align: center;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 600;
}

.nextus-quickorder-success.is-visible {
    display: block;
}

#nextus-quickorder-modal button.is-loading {
    opacity: .65;
    cursor: wait;
}

@media (min-width: 1024px) {
    #nextus-quickorder-modal .nextus-quickorder-dialog {
        margin-top: 150px;
    }
}

@media (max-width: 767px) {
    #nextus-quickorder-modal .nextus-quickorder-dialog {
        width: auto;
        margin: 49px 10px 16px;
    }

    #nextus-quickorder-modal .nextus-quickorder-modal-content {
        border-radius: 16px;
    }

    #nextus-quickorder-modal .nextus-quickorder-header {
        padding: 24px 18px 8px;
    }

    #nextus-quickorder-modal .nextus-quickorder-header .modal-title {
        padding-right: 38px;
        font-size: 24px;
    }

    #nextus-quickorder-modal .nextus-quickorder-body {
        padding: 8px 18px 22px;
    }

    .nextus-quickorder-close {
        top: 20px;
        right: 18px;
        font-size: 30px;
    }

    .nextus-quickorder-product {
        margin: 8px 0 18px;
        padding: 14px 16px;
        font-size: 16px;
        line-height: 1.25;
    }

    .nextus-quickorder-steps {
        margin-bottom: 20px;
    }

    .nextus-quickorder-step {
        font-size: 14px;
    }

    .nextus-quickorder-step-marker {
        width: 28px;
        height: 28px;
        margin-right: 6px;
        font-size: 13px;
    }

    .nextus-quickorder-step-line {
        min-width: 24px;
        margin: 0 7px;
    }

    .nextus-quickorder-form-group {
        margin-bottom: 17px;
    }

    .nextus-quickorder-form-group label {
        margin-bottom: 6px;
        font-size: 16px;
    }

    #nextus-quickorder-modal .nextus-quickorder-input {
        height: 52px;
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 18px;
    }

    .nextus-quickorder-help {
        margin-top: 5px;
        font-size: 13px;
    }

    .nextus-quickorder-consent {
        margin: 2px 0 18px;
    }

    .nextus-quickorder-consent label {
        font-size: 14px;
        line-height: 1.25;
    }

    .nextus-quickorder-consent input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-right: 9px;
    }

    .nextus-quickorder-primary-button {
        min-height: 54px;
        padding: 12px 16px;
        border-radius: 11px;
        font-size: 18px;
    }

    .nextus-quickorder-phone-summary {
        margin-bottom: 18px;
        padding: 12px 14px;
        border-radius: 11px;
        font-size: 15px;
    }

    .nextus-quickorder-phone-summary-value .icon-ok {
        margin-right: 8px;
    }

    .nextus-quickorder-edit-phone {
        font-size: 14px;
    }

    .nextus-quickorder-sent-message {
        margin-bottom: 18px;
        font-size: 16px;
    }

    .nextus-quickorder-resend {
        margin: -10px 0 17px;
        font-size: 13px;
    }

    .nextus-quickorder-link-button {
        font-size: 13px;
    }

    .nextus-quickorder-error,
    .nextus-quickorder-general-error {
        font-size: 13px;
    }

    .nextus-quickorder-success {
        min-height: 200px;
        padding: 56px 14px 36px;
        font-size: 19px;
    }
}

@media (max-width: 380px) {
    #nextus-quickorder-modal .nextus-quickorder-dialog {
        margin-right: 6px;
        margin-left: 6px;
    }

    #nextus-quickorder-modal .nextus-quickorder-header {
        padding-right: 14px;
        padding-left: 14px;
    }

    #nextus-quickorder-modal .nextus-quickorder-body {
        padding-right: 14px;
        padding-left: 14px;
    }

    .nextus-quickorder-step {
        font-size: 13px;
    }

    .nextus-quickorder-step-line {
        margin-right: 5px;
        margin-left: 5px;
    }

    .nextus-quickorder-product {
        font-size: 15px;
    }

    .nextus-quickorder-consent label {
        font-size: 13px;
    }
}

/* ==========================================================================
   Buton comandă rapidă — poziționare prin ancore explicite
   ========================================================================== */

#nextus-quickorder-desktop-anchor,
#nextus-quickorder-mobile-anchor {
    clear: both;
    width: 100%;
    box-sizing: border-box;
    padding-top: 10px;
}

.nextus-quickorder-button-wrapper {
    clear: both;
    box-sizing: border-box;
}

.nextus-quickorder-button-wrapper .nextus-quickorder-open {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 10px 18px;
    border: 2px solid #f12d26;
    border-radius: 7px;
    background: #fff;
    color: #111;
    box-shadow: none;
    text-align: left;
    text-transform: none;
    white-space: normal;
}

.nextus-quickorder-open .quickorder-icon {
    width:27px;
    color: #000;
    margin-right: 5px;
}

.nextus-quickorder-open .quickorder-icon:hover {
    color: #fff;
}

.nextus-quickorder-button-wrapper .nextus-quickorder-open:hover,
.nextus-quickorder-button-wrapper .nextus-quickorder-open:active,
.nextus-quickorder-button-wrapper .nextus-quickorder-open:focus-visible,
.nextus-quickorder-button-wrapper .nextus-quickorder-open:focus{
    border-color: #f12d26 !important;
    background-color: #f12d26 !important;
    color: #fff;
}

.nextus-quickorder-button-wrapper .nextus-quickorder-open:hover strong,
.nextus-quickorder-button-wrapper .nextus-quickorder-open:hover small,
.nextus-quickorder-button-wrapper .nextus-quickorder-open:active strong,
.nextus-quickorder-button-wrapper .nextus-quickorder-open:active small,
.nextus-quickorder-button-wrapper .nextus-quickorder-open:focus-visible strong,
.nextus-quickorder-button-wrapper .nextus-quickorder-open:focus-visible small,
.nextus-quickorder-button-wrapper .nextus-quickorder-open:focus strong,
.nextus-quickorder-button-wrapper .nextus-quickorder-open:focus small{
    color: #fff;
}

.nextus-quickorder-button-wrapper .nextus-quickorder-open > span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nextus-quickorder-button-wrapper .nextus-quickorder-open strong {
    display: block;
    color: #111;
    font-size: 17px;
    font-weight: 700;
}

.nextus-quickorder-button-wrapper .nextus-quickorder-open small {
    display: block;
    margin-top: 3px;
    color: #f12d26;
    font-size: 14px;
    font-weight: 700;
}

.nextus-quickorder-button-wrapper.is-desktop-position {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 24px;
}

.nextus-quickorder-button-wrapper.is-mobile-position {
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
}

.nextus-quickorder-button-wrapper.is-mobile-position .nextus-quickorder-open {
    min-height: 62px;
}

@media (min-width: 768px) {
    #nextus-quickorder-mobile-anchor {
        display: none;
    }
}

@media (max-width: 767px) {
    #nextus-quickorder-desktop-anchor {
        display: none;
    }

    /*.nextus-quickorder-button-wrapper .nextus-quickorder-open > .icon-phone {*/
    /*    margin-right: 12px;*/
    /*    font-size: 27px;*/
    /*}*/

    .nextus-quickorder-button-wrapper .nextus-quickorder-open strong {
        font-size: 17px;
    }

    .nextus-quickorder-button-wrapper .nextus-quickorder-open small {
        font-size: 14px;
    }
}

/* QuickOrder integration adjustments */
.nextus-quickorder-product-sku {
    white-space: nowrap;
}

.nextus-quickorder-phone-nowrap {
    white-space: nowrap;
}

#nextus-quickorder-phone-step .nextus-quickorder-input {
    height: 56px;
    padding-top: 9px;
    padding-bottom: 9px;
}

#nextus-quickorder-captcha-error {
    margin-bottom: 12px;
}

@media (min-width: 1024px) {
    #nextus-quickorder-modal .nextus-quickorder-dialog {
        margin-top: 175px;
    }
}

@media (max-width: 767px) {
    #nextus-quickorder-phone-step .nextus-quickorder-input {
        height: 48px;
        padding-top: 7px;
        padding-bottom: 7px;
    }
}

/* Corecții pentru fluxul CAPTCHA în doi pași. */

#nextus-quickorder-modal .nextus-quickorder-code-step {
    display: none;
    width: 100%;
}

#nextus-quickorder-modal .nextus-quickorder-code-step form {
    display: block;
    width: 100%;
}

.nextus-quickorder-step-check,
.nextus-quickorder-phone-check {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
}

.nextus-quickorder-phone-check {
    margin-right: 12px;
}

.nextus-quickorder-nowrap-phone {
    white-space: nowrap;
}

#nextus-quickorder-request-captcha-error,
#nextus-quickorder-verify-captcha-error {
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    #nextus-quickorder-modal .nextus-quickorder-modal-content {
        overflow-y: auto;
        max-height: calc(100vh - 48px);
    }
}


.grecaptcha-badge {
    visibility: hidden !important;
}

.nextus-quickorder-consent label::after {
    display: none !important;
    content: none !important;
}

.nextus-quickorder-consent {
    margin-bottom: 0;
}

.nextus-quickorder-consent .required {
    display: inline-block;
    flex: 0 0 auto;
    align-self: flex-start;
    margin: 1px 0 0 10px;
    padding: 0;
    color: #f12d26 !important;
    font-size: 16px;
    line-height: 1;
}

.nextus-quickorder-consent .required:empty::before {
    content: '*';
}

.nextus-quickorder-recaptcha-notice {
    margin: 18px 0 16px;
    color: #8b8983;
    font-size: 11px;
    line-height: 1.45;
}

.nextus-quickorder-recaptcha-notice a {
    color: #1469c9;
    text-decoration: underline;
}

.nextus-quickorder-recaptcha-notice a:hover,
.nextus-quickorder-recaptcha-notice a:focus {
    color: #0f55a5;
}

@media (max-width: 767px) {
    .nextus-quickorder-consent .required {
        margin-left: 8px;
        font-size: 14px;
    }

    .nextus-quickorder-recaptcha-notice {
        margin: 16px 0 14px;
        font-size: 10px;
    }
}
