﻿/* HillHost Shared one-page standalone preview. */
#order-standard_cart.hh-onepage-order {
    --hho-step-bg: #f7fbff;
    --hho-step-active: #0c315e;
    max-width: 1220px;
    margin: 0 auto;
}

#order-standard_cart.hh-onepage-order .cart-sidebar,
#order-standard_cart.hh-onepage-order .sidebar,
#order-standard_cart.hh-onepage-order .categories-collapsed,
#order-standard_cart.hh-onepage-order .choosecat {
    display: none !important;
}

#order-standard_cart.hh-onepage-order > .row,
#order-standard_cart.hh-onepage-order .cart-body > .row {
    margin-right: 0;
    margin-left: 0;
}

#order-standard_cart.hh-onepage-order .cart-body {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-right: 0;
    padding-left: 0;
}

#order-standard_cart.hh-onepage-order .header-lined {
    margin-bottom: 18px !important;
}

#order-standard_cart.hh-onepage-order .hh-onepage-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 24px;
    padding: 8px;
    border: 1px solid var(--hho-line);
    border-radius: 8px;
    background: var(--hho-step-bg);
}

#order-standard_cart.hh-onepage-order .hh-onepage-step {
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--hho-muted);
    font-size: 12px;
    font-weight: 800;
}

#order-standard_cart.hh-onepage-order .hh-onepage-step span {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: #e8f1fb;
    color: var(--hho-blue);
    font-size: 12px;
}

#order-standard_cart.hh-onepage-order .hh-onepage-step strong {
    display: block;
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#order-standard_cart.hh-onepage-order .hh-onepage-step.is-complete {
    color: var(--hho-green);
}

#order-standard_cart.hh-onepage-order .hh-onepage-step.is-complete span {
    background: #e8f7f0;
    color: var(--hho-green);
}

#order-standard_cart.hh-onepage-order .hh-onepage-step.is-active {
    border-color: #b9d8f3;
    background: #fff;
    color: var(--hho-step-active);
    box-shadow: 0 8px 24px rgba(12, 49, 94, .08);
}

#order-standard_cart.hh-onepage-order .hh-onepage-step.is-active span {
    background: var(--hho-step-active);
    color: #fff;
}

#order-standard_cart.hh-onepage-order .secondary-cart-body,
#order-standard_cart.hh-onepage-order .secondary-cart-sidebar {
    min-width: 0;
}

#order-standard_cart.hh-onepage-order .secondary-cart-sidebar .order-summary,
#order-standard_cart.hh-onepage-order #scrollingPanelContainer .order-summary {
    top: 84px;
}

#order-standard_cart.hh-onepage-order .product-info,
#order-standard_cart.hh-onepage-order .domain-selection-options,
#order-standard_cart.hh-onepage-order .view-cart-items,
#order-standard_cart.hh-onepage-order .field-container,
#order-standard_cart.hh-onepage-order .cc-input-container,
#order-standard_cart.hh-onepage-order .account-select-container,
#order-standard_cart.hh-onepage-order .view-cart-tabs,
#order-standard_cart.hh-onepage-order .already-registered,
#order-standard_cart.hh-onepage-order .apply-credit-container,
#order-standard_cart.hh-onepage-order .marketing-email-optin {
    border: 1px solid var(--hho-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(12, 49, 94, .05);
}

#order-standard_cart.hh-onepage-order .field-container,
#order-standard_cart.hh-onepage-order .cc-input-container,
#order-standard_cart.hh-onepage-order .account-select-container,
#order-standard_cart.hh-onepage-order .apply-credit-container,
#order-standard_cart.hh-onepage-order .marketing-email-optin {
    padding: 18px;
}

#order-standard_cart.hh-onepage-order .domain-selection-options .option {
    margin-bottom: 12px;
    padding: 16px;
    border: 1px solid var(--hho-line);
    border-radius: 8px;
    background: #fff;
}

#order-standard_cart.hh-onepage-order .domain-selection-options .option.option-selected,
#order-standard_cart.hh-onepage-order .domain-selection-options .option:hover {
    border-color: #98c7ee;
    background: var(--hho-blue-soft);
}

#order-standard_cart.hh-onepage-order .sub-heading {
    border-radius: 8px;
}

#order-standard_cart.hh-onepage-order .view-cart-tabs .nav-tabs {
    display: flex;
    gap: 8px;
    padding: 8px 8px 0;
    border-bottom: 0;
}

#order-standard_cart.hh-onepage-order .view-cart-tabs .nav-tabs > li > a,
#order-standard_cart.hh-onepage-order .view-cart-tabs .nav-link {
    border: 1px solid var(--hho-line) !important;
    border-radius: 8px !important;
    background: #fff;
    color: var(--hho-ink);
    font-weight: 800;
}

#order-standard_cart.hh-onepage-order .btn-checkout,
#order-standard_cart.hh-onepage-order #btnCompleteProductConfig,
#order-standard_cart.hh-onepage-order #btnDomainContinue,
#order-standard_cart.hh-onepage-order #btnCompleteOrder {
    width: 100%;
    min-height: 50px;
}

@media (min-width: 992px) {
    #order-standard_cart.hh-onepage-order .cart-body > .row {
        display: flex;
        gap: 24px;
        align-items: flex-start;
    }

    #order-standard_cart.hh-onepage-order .secondary-cart-body {
        flex: 1 1 auto;
    }

    #order-standard_cart.hh-onepage-order .secondary-cart-sidebar {
        flex: 0 0 340px;
    }

    #order-standard_cart.hh-onepage-order .secondary-cart-body,
    #order-standard_cart.hh-onepage-order .secondary-cart-sidebar {
        float: none !important;
        width: auto !important;
    }
}

@media (max-width: 767px) {
    #order-standard_cart.hh-onepage-order .hh-onepage-steps {
        grid-template-columns: 1fr 1fr;
    }
}

#order-standard_cart.hh-onepage-order .hh-onepage-secondary-link,
#order-standard_cart.hh-onepage-order #continueShopping {
    display: none !important;
}

#order-standard_cart.hh-onepage-order #checkout,
#order-standard_cart.hh-onepage-order #btnCompleteProductConfig,
#order-standard_cart.hh-onepage-order #btnDomainContinue,
#order-standard_cart.hh-onepage-order #btnCompleteOrder {
    text-transform: none;
    letter-spacing: 0;
}

/* v1.0.2: keep guided action buttons clear of the sticky order summary. */
#order-standard_cart.hh-onepage-order .secondary-cart-sidebar {
    position: relative;
    z-index: 1;
}

#order-standard_cart.hh-onepage-order .secondary-cart-sidebar .text-center,
#order-standard_cart.hh-onepage-order .secondary-cart-sidebar .text-right {
    position: relative;
    z-index: 3;
    padding: 14px 16px 18px;
    background: #fff;
}

#order-standard_cart.hh-onepage-order #orderSummary {
    overflow: visible;
}

#order-standard_cart.hh-onepage-order #orderSummary .order-summary,
#order-standard_cart.hh-onepage-order .secondary-cart-sidebar .order-summary,
#order-standard_cart.hh-onepage-order #scrollingPanelContainer .order-summary {
    margin-bottom: 14px;
}

#order-standard_cart.hh-onepage-order #producttotal {
    max-height: none;
    overflow: visible;
}

#order-standard_cart.hh-onepage-order #btnCompleteProductConfig,
#order-standard_cart.hh-onepage-order #btnDomainContinue,
#order-standard_cart.hh-onepage-order #checkout {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: normal;
}

@media (max-width: 991px) {
    #order-standard_cart.hh-onepage-order .cart-body > .row {
        display: block;
    }

    #order-standard_cart.hh-onepage-order .secondary-cart-sidebar,
    #order-standard_cart.hh-onepage-order #scrollingPanelContainer,
    #order-standard_cart.hh-onepage-order .secondary-cart-sidebar .order-summary,
    #order-standard_cart.hh-onepage-order #scrollingPanelContainer .order-summary {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 18px !important;
    }
}
