.mode {
    display: none;
}

.transfer .mode-transfer {
    display: initial
}

.register .mode-register {
    display: initial
}

.orderpage .domain-header {
    min-height: 150px;
}

.orderpage .domain-search {
    margin: auto;
    width: 100%;
}

.orderpage .domain-input button {
    line-height: 30px;
    padding: 6px 40px;
}

.orderpage .domain-modes a {
    color: white;
    margin: 0 50px 0 0;
    white-space: nowrap;
}

.orderpage .domain-search-results {
    margin: 0 0 20px 0;
}
.orderpage .result-suggestion {
    background-color: #e0ffe6;
}

.orderpage .domain-search-results .result-group {
    overflow: hidden;
}

.orderpage .active .result-button {
    display: none;
}

.orderpage .result-incart {
    display: none;
}

.orderpage .active .result-incart,
.orderpage .active .result-cart {
    display: inline-block;
}

.orderpage .result-row.on-hold {
    display: none !important;
}

@keyframes loadingC {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(0, -6px);
    }
    50% {
        transform: translate(0, -0);
    }
    75% {
        transform: translate(0, 4px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.cart_preloader {
    width: 100%;
    text-align: center;
}

.cart_preloader .cart_preloader_line {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 30%;
}

.cart_preloader .cart_preloader_line:nth-last-child(1) {
    animation: loadingC .8s .1s linear infinite;
}

.cart_preloader .cart_preloader_line:nth-last-child(2) {
    animation: loadingC .8s .2s linear infinite;
}

.cart_preloader .cart_preloader_line:nth-last-child(3) {
    animation: loadingC .8s .3s linear infinite;
}

.orderpage .domain-search-summary.domain-search-summary-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 849;
    height: auto;
}

.orderpage .domain-search-summary .domain-search-summary-content {
    margin: 5px auto;
    display: flex;
    flex-direction: column;
}

.orderpage .domain-search-summary:not(.domain-search-summary-sticky) .domain-search-summary-content .domain-search-summary_bcycle {
    margin: 3rem 0 !important;
}

.orderpage .domain-search-summary:not(.domain-search-summary-sticky) .domain-search-summary-content .domain-search-summary_total {
    margin: 3rem 0 !important;
}

.orderpage .domain-search-summary:not(.domain-search-summary-sticky) .domain-search-summary-content .domain-search-summary_submit {
    margin: 3rem auto !important;
    width: 300px;
}

.orderpage .domain-search-summary.domain-search-summary-sticky .domain-search-summary-content .domain-search-summary_bcycle {
    width: 100%;
    margin-right: 40px;
}

.orderpage .domain-search-summary.domain-search-summary-sticky .domain-search-summary-content .domain-search-summary_total {
    width: 100%;
    margin-right: 40px;
}

.orderpage .domain-search-summary.domain-search-summary-sticky .domain-search-summary-content .domain-search-summary_submit {
    width: 100%;
}

.orderpage .domain-search-summary.domain-search-summary-sticky .domain-search-summary-content .domain-search-summary_title .cart-products-scount {
    display: none;
}

.orderpage .domain-search-summary.domain-search-summary-sticky .domain-search-summary-content .domain-search-summary_title h3 {
    font-size: 12px;
    color: #9BA0B3;
    margin-bottom: 0;
    display: block;
    letter-spacing: .45px;
}

.orderpage .domain-search-summary .domain-search-summary-details {
    margin: 5px auto;
}

.orderpage .domain-search-summary .domain-search-summary-details-table {
    max-height: 300px;
    overflow-y: auto;
}

.orderpage .domain-search-summary .domain-search-summary-details-info {
    margin: 5px auto;
    display: flex;
    flex-direction: row;
}

.domain-modes input[name="tab-control"] {
    display: none;
}

.domain-modes .domain-modes-controls {
    list-style-type: none;
    padding-left: 0;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    margin-bottom: 10px;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    align-items: flex-end;
    flex-wrap: wrap;
}

.domain-modes .domain-modes-controls label {
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: .6;
    overflow: hidden;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .domain-modes .domain-modes-controls label {
        width: 33.33333333333%;
    }
}

.domain-modes .domain-modes-controls label span {
    display: block;
    padding: 0 10px;
    width: 100%;
    text-align: center;
    color: white;
    cursor: pointer;
}

.domain-modes .slider {
    position: relative;
    width: 100%;
    -webkit-transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
    transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}



.domain-modes .slider .indicator {
    position: relative;
    width: 50px;
    max-width: 100%;
    margin: 0 auto;
    height: 4px;
    background: #fff;
    border-radius: 1px;
}

.domain-modes .content {
    margin-top: 30px;
}

.domain-modes .content section {
    display: none;
    -webkit-animation-name: content;
    animation-name: content;
    -webkit-animation-direction: normal;
    animation-direction: normal;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    line-height: 1.4;
}

.domain-modes input[name="tab-control"]:nth-of-type(1):checked ~ .domain-modes-controls > label:nth-child(1),
.domain-modes input[name="tab-control"]:nth-of-type(1):checked ~ .domain-modes-controls > label:nth-child(1):hover,
.domain-modes input[name="tab-control"]:nth-of-type(1):checked ~ .domain-modes-controls > label:nth-child(1):focus,
.domain-modes input[name="tab-control"]:nth-of-type(1):checked ~ .domain-modes-controls > label:nth-child(1):active,
.domain-modes input[name="tab-control"]:nth-of-type(2):checked ~ .domain-modes-controls > label:nth-child(2),
.domain-modes input[name="tab-control"]:nth-of-type(2):checked ~ .domain-modes-controls > label:nth-child(2):hover,
.domain-modes input[name="tab-control"]:nth-of-type(2):checked ~ .domain-modes-controls > label:nth-child(2):focus,
.domain-modes input[name="tab-control"]:nth-of-type(2):checked ~ .domain-modes-controls > label:nth-child(2):active,
.domain-modes input[name="tab-control"]:nth-of-type(3):checked ~ .domain-modes-controls > label:nth-child(3),
.domain-modes input[name="tab-control"]:nth-of-type(3):checked ~ .domain-modes-controls > label:nth-child(3):hover,
.domain-modes input[name="tab-control"]:nth-of-type(3):checked ~ .domain-modes-controls > label:nth-child(3):focus,
.domain-modes input[name="tab-control"]:nth-of-type(3):checked ~ .domain-modes-controls > label:nth-child(3):active {
    cursor: default;
    opacity: 1;
}

.domain-modes input[name="tab-control"]:nth-of-type(1):checked ~ .content > section:nth-child(1),
.domain-modes input[name="tab-control"]:nth-of-type(2):checked ~ .content > section:nth-child(2),
.domain-modes input[name="tab-control"]:nth-of-type(3):checked ~ .content > section:nth-child(3) {
    display: block;
}

.domain-modes.domain-modes-3 input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
    -webkit-transform: translateX(-33%);
    transform: translateX(-33%);
}

.domain-modes.domain-modes-3 input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}

.domain-modes.domain-modes-3 input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
    -webkit-transform: translateX(33%);
    transform: translateX(33%);
}

.domain-modes.domain-modes-2 input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
    -webkit-transform: translateX(-16%);
    transform: translateX(-16%);
}

.domain-modes.domain-modes-2 input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
    -webkit-transform: translateX(16%);
    transform: translateX(16%);
}

.domain-modes.domain-modes-1 input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}

@-webkit-keyframes content {
    from {
        opacity: 0;
        -webkit-transform: translateY(5%);
        transform: translateY(5%);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
    }
}

@keyframes content {
    from {
        opacity: 0;
        -webkit-transform: translateY(5%);
        transform: translateY(5%);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
    }
}

/* ========================================
   Cart pages (step 2 and step 4)
   ======================================== */

/* Remove all wbox styling */
.orderpage-domain_consulhosting .wbox {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 32px;
}

.orderpage-domain_consulhosting .wbox_header {
    background: transparent;
    border: none;
    padding: 0 0 16px 0;
    position: static;
}

.orderpage-domain_consulhosting .wbox_header strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .wbox_content {
    padding: 0;
}

/* Default cart reset */
.orderpage-domain_consulhosting .default-cart {
    margin: 0;
    padding: 0;
}

/* ========================================
   Step headings with numbered circles
   ======================================== */

.orderpage-domain_consulhosting .cart-step-section {
    margin-bottom: 48px;
}

.orderpage-domain_consulhosting .cart-step-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.orderpage-domain_consulhosting .cart-step-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .cart-step-heading + .section-description {
    margin-top: -8px;
    margin-bottom: 24px;
}

.orderpage-domain_consulhosting .cart-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ========================================
   Domain cart table (step 2)
   ======================================== */

.orderpage-domain_consulhosting .domain-cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.orderpage-domain_consulhosting .domain-cart-table thead th {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 24px;
    text-align: left;
}

.orderpage-domain_consulhosting .domain-cart-table thead th.remove-col {
    width: 48px;
}

.orderpage-domain_consulhosting .domain-cart-table thead th.epp-col {
    width: 50%;
}

.orderpage-domain_consulhosting .domain-cart-table td {
    padding: 12px 24px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

.orderpage-domain_consulhosting .domain-cart-table td.name strong {
    font-weight: 600;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .domain-cart-table .domain-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* No hover on domain rows */
.orderpage-domain_consulhosting .domain-cart-table tr:hover {
    background-color: transparent !important;
}

.orderpage-domain_consulhosting .domain-cart-table tr {
    cursor: default;
}

/* Remove border-bottom from last domain row */
.orderpage-domain_consulhosting .domain-cart-table tbody:last-child tr:last-child td {
    border-bottom: none;
}

/* Remove column — align right */
.orderpage-domain_consulhosting .domain-cart-table td.remove-col {
    text-align: right;
}

/* EPP inline input */
.orderpage-domain_consulhosting .epp-inline-input {
    height: auto;
    width: auto;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px !important;
    background: transparent;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease;
}

.orderpage-domain_consulhosting .epp-inline-input:focus {
    border-color: var(--border-color-dark);
}

.orderpage-domain_consulhosting .epp-inline-input::placeholder {
    color: var(--text-muted);
}

/* Remove button — btn-delete with double-click confirm */
.orderpage-domain_consulhosting .btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    text-decoration: none;
}

.orderpage-domain_consulhosting .btn-delete:hover {
    background: var(--brand-hover);
    color: var(--text-primary);
    text-decoration: none;
}

.orderpage-domain_consulhosting .btn-delete .icon-trash {
    font-size: 12px;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .btn-delete.confirming {
    background: var(--brand-danger) !important;
    border-color: var(--brand-danger);
    color: var(--text-white);
}

.orderpage-domain_consulhosting .btn-delete.confirming:hover {
    color: var(--text-white);
}

.orderpage-domain_consulhosting .btn-delete .confirm-text {
    font-size: 11px;
    font-weight: 500;
}

/* Nameserver config table */
.orderpage-domain_consulhosting .ns-config-table {
    width: 100%;
    border-collapse: collapse;
}

.orderpage-domain_consulhosting .ns-config-table td {
    padding: 8px 0;
    vertical-align: middle;
}

.orderpage-domain_consulhosting .ns-config-table input.form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px !important;
    background: transparent;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .ns-config-table input.form-control:focus {
    border-color: var(--border-color-dark);
    box-shadow: none;
}

/* Add more nameservers link */
.orderpage-domain_consulhosting .ns-add-more {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
}

.orderpage-domain_consulhosting .ns-add-more:hover {
    color: var(--brand-primary-hover);
    text-decoration: none;
}

/* Continue button on cart pages */
.orderpage-domain_consulhosting .btn-cart-continue {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-white) !important;
    background-color: var(--brand-primary);
    border: none;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    margin-top: 24px;
    transition: background-color 0.2s ease;
}

.orderpage-domain_consulhosting .btn-cart-continue:hover {
    background-color: var(--brand-primary-hover);
    color: var(--text-white) !important;
    text-decoration: none;
}

/* Hide old-style orderbox */
.orderpage-domain_consulhosting .orderbox {
    display: none;
}

/* ========================================
   Two-column layout (sections + sidebar)
   ======================================== */

.orderpage-domain_consulhosting .cart-step-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.orderpage-domain_consulhosting .cart-step-main {
    flex: 1;
    min-width: 0;
}

.orderpage-domain_consulhosting .cart-step-sidebar {
    width: 384px;
    flex-shrink: 0;
    position: sticky;
    top: 32px;
}

/* ========================================
   Cart overview (order summary)
   ======================================== */

.orderpage-domain_consulhosting .cart-overview {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    padding: 32px;
    box-shadow: none;
}

.orderpage-domain_consulhosting .cart-overview-header {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .cart-overview-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.orderpage-domain_consulhosting .cart-overview-body {
    margin-bottom: 0;
}

/* Overview row items */
.orderpage-domain_consulhosting .overview-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    font-size: 14px;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .overview-row + .overview-row {
    margin-top: 4px;
}

.orderpage-domain_consulhosting .overview-label {
    flex: 1;
    min-width: 0;
}

.orderpage-domain_consulhosting .overview-price {
    flex-shrink: 0;
    text-align: right;
}

.orderpage-domain_consulhosting .overview-subtotal {
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px !important;
    margin-bottom: 16px;
}

/* Also style wbox-based cart overview (step 4) */
.orderpage-domain_consulhosting .wbox.cart-overview {
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    background: transparent !important;
    padding: 32px !important;
    max-width: 384px;
    box-shadow: none !important;
}

.orderpage-domain_consulhosting .wbox.cart-overview .wbox_header {
    border-bottom: none;
    background: transparent;
    padding: 0 0 16px 0;
    position: static;
}

.orderpage-domain_consulhosting .wbox.cart-overview .wbox_header strong {
    font-size: 16px;
    font-weight: 600;
}

.orderpage-domain_consulhosting .wbox.cart-overview .checker th {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 4px;
}

.orderpage-domain_consulhosting .wbox.cart-overview .checker td {
    font-size: 13px;
    padding: 8px 4px;
    vertical-align: top;
}

.orderpage-domain_consulhosting .wbox.cart-overview .cart_total {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive: stack on smaller screens */
@media (max-width: 992px) {
    .orderpage-domain_consulhosting .cart-step-layout {
        flex-direction: column;
    }

    .orderpage-domain_consulhosting .cart-step-sidebar {
        width: 100%;
        position: static;
    }
}

/* Styled form inputs inside cart pages */
.orderpage-domain_consulhosting input.styled,
.orderpage-domain_consulhosting select.styled {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: transparent;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
}

.orderpage-domain_consulhosting input.styled:focus,
.orderpage-domain_consulhosting select.styled:focus {
    border-color: var(--border-color-dark);
}

/* Cart gateway list */
.orderpage-domain_consulhosting .wbox_content center {
    text-align: left;
}

.orderpage .w-33 {
    width: 33.333333333%;
}

.orderpage .step-box {
    font-size: 13px;
    font-weight: normal;
    position: relative;
}

.orderpage .step-box.step-box-arrow {
    border-right: 1px solid #ebecf0 !important;
}

.orderpage .step-box.border-bottom {
    border-bottom-width: 2px !important;
}

.orderpage .step-box.step-box-arrow:after {
    position: absolute;
    top: 27px;
    content: '';
    width: 20px;
    height: 20px;
    background: #fff;
    border-right: 1px solid #ebecf0;
    border-bottom: 1px solid #ebecf0;
    font-size: 13px;
    font-weight: normal;
    right: -11px;
    transform: rotate(-45deg);
}

.orderpage .step-box.success:hover {
    opacity: .6;
}

.orderpage .step-boxes {
    padding: 0;
    display: inline-block;
    overflow: hidden;
}

.domain-price .table-responsive {
    max-height: 600px;
    overflow: auto;
}

@media (min-width: 768px) {
    .w-md-50 {
        width: 50% !important;
    }

    .w-md-100 {
        width: 50% !important;
    }

    .w-md-auto {
        width: auto !important;
    }
}

/* ========================================
   Cart2: Responsive domain table wrapper
   ======================================== */

.orderpage-domain_consulhosting .cart2-table-responsive {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
    display: block;
    box-sizing: border-box;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.orderpage-domain_consulhosting .cart2-table-responsive .domain-cart-table {
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    min-width: 480px;
}

@media (max-width: 768px) {
    .orderpage-domain_consulhosting .cart2-table-responsive {
        width: 100%;
        overflow-x: auto;
        display: block;
    }
}

/* ========================================
   Cart coupon code
   ======================================== */

.orderpage-domain_consulhosting .cart-coupon {
    margin-top: 24px;
}

.orderpage-domain_consulhosting .cart-coupon-toggle {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
}

.orderpage-domain_consulhosting .cart-coupon-toggle:hover {
    color: var(--brand-primary-hover);
    text-decoration: none;
}

.orderpage-domain_consulhosting .cart-coupon-row {
    display: flex;
    gap: 8px;
}

.orderpage-domain_consulhosting .cart-coupon-input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 12px !important;
    background: transparent;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease;
}

.orderpage-domain_consulhosting .cart-coupon-input:focus {
    border-color: var(--border-color-dark);
}

.orderpage-domain_consulhosting .cart-coupon-input::placeholder {
    color: var(--text-muted);
}

.orderpage-domain_consulhosting .cart-coupon-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 12px !important;
    border-radius: 8px;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

/* ========================================
   Cart4: Overview table
   ======================================== */

.orderpage-domain_consulhosting .cart4-overview-table {
    margin-bottom: 0;
}

.orderpage-domain_consulhosting .cart4-overview-table thead th.price-col {
    width: 120px;
    text-align: right;
}

.orderpage-domain_consulhosting .cart4-overview-table thead th.remove-col {
    width: 48px;
}

.orderpage-domain_consulhosting .cart4-overview-table td.price-col {
    text-align: right;
    white-space: nowrap;
    font-size: 14px;
}

.orderpage-domain_consulhosting .cart4-overview-table td.remove-col {
    text-align: right;
}

.orderpage-domain_consulhosting .cart4-overview-table tr:hover {
    background: transparent !important;
}

.orderpage-domain_consulhosting .cart4-overview-table tr {
    cursor: default;
}

.orderpage-domain_consulhosting .cart4-overview-table tbody tr:last-child td {
    border-bottom: none;
}

.orderpage-domain_consulhosting .cart4-domain-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.orderpage-domain_consulhosting .cart4-indent {
    padding-left: 36px !important;
}

/* ========================================
   Cart4: Totals below overview
   ======================================== */

.orderpage-domain_consulhosting .cart4-totals {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.orderpage-domain_consulhosting .cart4-totals .overview-row {
    font-size: 14px;
}

.orderpage-domain_consulhosting .cart4-totals .overview-subtotal {
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px !important;
}

/* ========================================
   Cart4: Payment gateways
   ======================================== */

.orderpage-domain_consulhosting .cart4-gateways {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.orderpage-domain_consulhosting .cart4-gateway-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.orderpage-domain_consulhosting .cart4-gateway-label {
    font-size: 14px;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .cart4-gatewayform {
    margin-top: 16px;
}

.orderpage-domain_consulhosting .cart4-gatewayform .wbox,
.orderpage-domain_consulhosting .cart4-gatewayform .wbox.card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    padding: 16px 24px;
    margin: 0;
}

.orderpage-domain_consulhosting .cart4-gatewayform .wbox_header,
.orderpage-domain_consulhosting .cart4-gatewayform .card-header {
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: 12px;
}

.orderpage-domain_consulhosting .cart4-gatewayform .wbox_header strong,
.orderpage-domain_consulhosting .cart4-gatewayform .card-header strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .cart4-gatewayform .wbox_content,
.orderpage-domain_consulhosting .cart4-gatewayform .card-body,
.orderpage-domain_consulhosting .cart4-gatewayform .ccform {
    padding: 0;
    font-size: 14px;
    color: var(--text-primary);
}

/* Stripe card form inside cart gateway — matches the styles.css payform_card-element look */
.orderpage-domain_consulhosting .cart4-gatewayform .stripe-box {
    max-width: 100%;
}

.orderpage-domain_consulhosting .cart4-gatewayform .payform_card-element {
    max-width: 100% !important;
}

/* ========================================
   Cart4: Account toggle (login/signup)
   ======================================== */

.orderpage-domain_consulhosting .account-toggle {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.orderpage-domain_consulhosting .account-toggle-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.orderpage-domain_consulhosting .account-toggle-item:has(input:checked) {
    border-color: var(--brand-primary);
}

.orderpage-domain_consulhosting .account-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .account-panel-content {
    padding: 16px 24px 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
}

.orderpage-domain_consulhosting .account-panel-content > div {
    max-width: 720px;
    margin: 0 auto;
}

.orderpage-domain_consulhosting .account-panel-content .form-credentials,
.orderpage-domain_consulhosting .account-panel-content .form-credentials-modal {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* ========================================
   Cart4: TOS
   ======================================== */

.orderpage-domain_consulhosting .cart4-tos {
    margin-bottom: 32px;
}

.orderpage-domain_consulhosting .cart4-tos-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-primary);
}

.orderpage-domain_consulhosting .cart4-tos-item a {
    color: var(--brand-primary);
}

/* ========================================
   Cart4: Action buttons
   ======================================== */

.orderpage-domain_consulhosting .cart4-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.orderpage-domain_consulhosting .cart4-checkout-form {
    margin-top: 48px;
}

.orderpage-domain_consulhosting .cart4-actions .btn-save {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
}

.orderpage-domain_consulhosting .cart4-actions .btn-cancel {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.orderpage-domain_consulhosting .cart4-actions .btn-cancel .icon-redirect {
    font-size: 12px;
}

/* ========================================
   Cart4: Hide default-cart div
   ======================================== */

.orderpage-domain_consulhosting .default-cart {
    display: none;
}

@media (max-width: 768px) {
    .orderpage-domain_consulhosting .cart-coupon-row,
    .orderpage-domain_consulhosting .cart4-actions,
    .orderpage-domain_consulhosting .account-toggle {
        flex-direction: column;
    }

    .orderpage-domain_consulhosting .cart-coupon-btn,
    .orderpage-domain_consulhosting .cart4-actions .btn-save,
    .orderpage-domain_consulhosting .cart4-actions .btn-cancel {
        width: 100%;
        justify-content: center;
    }

    .orderpage-domain_consulhosting .cart4-overview-table th,
    .orderpage-domain_consulhosting .cart4-overview-table td {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Step 2: sidebar full width */
    .orderpage-domain_consulhosting .cart-step-sidebar {
        width: 100%;
        position: static;
    }

    .orderpage-domain_consulhosting .cart-step-layout {
        flex-direction: column;
        gap: 32px;
    }

    /* Section spacing */
    .orderpage-domain_consulhosting .cart-step-section {
        margin-bottom: 32px;
    }

    /* Cart overview padding */
    .orderpage-domain_consulhosting .cart-overview {
        padding: 24px;
    }
}

/* ========================================
   Cart page header: mobile/tablet
   ======================================== */
@media (max-width: 991px) {
    /* All states: collapse the header gap on mobile/tablet */
    .orderpage-domain_consulhosting .cart-page-header {
        margin-bottom: 48px !important;
    }

    /* Logged in: hide the cart logo (already shown in the mobile nav bar) */
    .orderpage-domain_consulhosting .cart-page-header--loggedin .logo-left {
        display: none;
    }
}

@media (max-width: 576px) {
    .orderpage-domain_consulhosting .cart-page-header {
        margin-top: -48px !important;
    }
}

/* ========================================
   Nameserver table: responsive stacking
   ======================================== */
@media (max-width: 576px) {
    .orderpage-domain_consulhosting .ns-config-table,
    .orderpage-domain_consulhosting .ns-config-table tbody,
    .orderpage-domain_consulhosting .ns-config-table tr {
        display: block;
        width: 100%;
    }

    .orderpage-domain_consulhosting .ns-config-table td {
        display: block;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .orderpage-domain_consulhosting .ns-config-table tr {
        margin-bottom: 12px;
    }

    .orderpage-domain_consulhosting .ns-config-table td:first-child {
        padding-bottom: 2px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 540px) {
    .orderpage-domain_consulhosting .cart-step-main,
    .orderpage-domain_consulhosting .cart-step-section,
    .orderpage-domain_consulhosting .cart-step-content,
    .orderpage-domain_consulhosting .cart2-table-responsive,
    .orderpage-domain_consulhosting #customNameservers,
    .orderpage-domain_consulhosting .nameserver-switch,
    .orderpage-domain_consulhosting .radio-item {
        min-width: 0;
        max-width: 100%;
    }

    .orderpage-domain_consulhosting .section-description,
    .orderpage-domain_consulhosting .radio-label,
    .orderpage-domain_consulhosting .ns-config-table td,
    .orderpage-domain_consulhosting .ns-add-more {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .orderpage-domain_consulhosting .cart2-table-responsive .domain-cart-table {
        min-width: 560px;
        width: 100%;
        table-layout: auto;
    }

    .orderpage-domain_consulhosting .domain-cart-table thead th,
    .orderpage-domain_consulhosting .domain-cart-table td {
        padding-left: 12px;
        padding-right: 12px;
    }

    .orderpage-domain_consulhosting .domain-cart-table thead th.epp-col {
        width: auto;
    }

    .orderpage-domain_consulhosting .epp-inline-input {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .orderpage-domain_consulhosting .nameserver-switch {
        flex-direction: column;
        gap: 12px;
    }

    .orderpage-domain_consulhosting .ns-config-table,
    .orderpage-domain_consulhosting .ns-config-table tbody,
    .orderpage-domain_consulhosting .ns-config-table tr,
    .orderpage-domain_consulhosting .ns-config-table td {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .orderpage-domain_consulhosting .ns-config-table input.form-control {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }
}