/*
 * ============================================================
 * MAIN WRAPPER
 * ============================================================
 */

.toshiba-multisplit-wrapper {
    width: 100%;
    margin: 0 auto 30px;
}

.toshiba-multisplit-box {
    width: 100%;
    box-sizing: border-box;
}


/*
 * ============================================================
 * TITLE
 * ============================================================
 */

.toshiba-multisplit-title {
    margin-bottom: 25px;
}

.toshiba-multisplit-title h1 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
}

.toshiba-multisplit-title p {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}


/*
 * ============================================================
 * STEP
 * ============================================================
 */

.toshiba-step {
    margin-bottom: 25px;
}

.toshiba-step-title {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.toshiba-step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin-right: 12px;

    border-radius: 50%;

    background: #333;
    color: #fff;

    font-size: 16px;
    font-weight: 600;

    flex: 0 0 36px;
}

.toshiba-step-title strong {
    display: block;
    font-size: 16px;
    line-height: 1.3;
}

.toshiba-step-title small {
    display: block;
    margin-top: 3px;
    color: #888;
    font-size: 12px;
}


/*
 * ============================================================
 * ROOM COUNT
 * ============================================================
 */

.toshiba-room-count {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.toshiba-room-btn {
    width: 58px;
    height: 48px;

    padding: 0;

    border: 1px solid #ddd;
    border-radius: 3px;

    background: #fff;
    color: #333;

    font-size: 17px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.toshiba-room-btn:hover {
    border-color: #5cb85c;
    color: #5cb85c;
}

.toshiba-room-btn.active {
    background: #5cb85c;
    border-color: #5cb85c;
    color: #fff;
}


/*
 * ============================================================
 * EXTERNAL
 * ============================================================
 */

.toshiba-external {
    margin-bottom: 25px;
    padding: 18px 20px;

    border: 1px solid #ddd;
    border-radius: 3px;

    background: #fafafa;
}

.toshiba-external-label {
    margin-bottom: 10px;

    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;

    color: #777;
}

.toshiba-external-product-inner {
    position: relative;
}

.toshiba-product-image {
    float: left;

    width: 100px;
    height: 100px;

    margin-right: 15px;

    text-align: center;
}

.toshiba-product-image img {
    display: block;

    width: 100px;
    height: 100px;

    object-fit: contain;
}

.toshiba-product-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.toshiba-product-reference {
    margin-top: 5px;
    color: #777;
    font-size: 13px;
}

.toshiba-product-price {
    margin-top: 10px;

    font-size: 18px;
    font-weight: 600;
}

.toshiba-product-link {
    display: inline-block;
    margin-top: 8px;

    color: #337ab7;
    text-decoration: none;
}

.toshiba-product-link:hover {
    text-decoration: underline;
}

.toshiba-external-product-inner:after {
    content: "";
    display: block;
    clear: both;
}


/*
 * ============================================================
 * ROOMS
 * ============================================================
 */

.toshiba-room-row {
    display: flex;
    align-items: center;

    margin-bottom: 12px;
    padding: 15px;

    border: 1px solid #ddd;
    border-radius: 3px;

    background: #fff;

    box-sizing: border-box;
}

.toshiba-room-number {
    flex: 0 0 40px;
}

.toshiba-room-number span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background: #f1f1f1;
    color: #333;

    font-weight: 600;
}

.toshiba-room-area {
    flex: 0 0 230px;

    padding-right: 20px;

    box-sizing: border-box;
}

.toshiba-room-label {
    display: block;

    margin-bottom: 6px;

    font-size: 13px;
    font-weight: 600;
}

.toshiba-area-input {
    position: relative;
}

.toshiba-area {
    width: 100%;
    height: 38px;

    padding: 8px 55px 8px 10px;

    border: 1px solid #ccc;
    border-radius: 3px;

    background: #fff;

    box-sizing: border-box;
}

.toshiba-area-unit {
    position: absolute;

    top: 0;
    right: 10px;

    height: 38px;

    display: flex;
    align-items: center;

    color: #777;
    font-size: 12px;

    pointer-events: none;
}

.toshiba-indoor {
    position: relative;

    flex: 1;
    min-width: 0;
}

.toshiba-indoor-label {
    display: block;

    margin-bottom: 6px;

    font-size: 13px;
    font-weight: 600;
}


/*
 * ============================================================
 * ORIGINAL SELECT
 * ============================================================
 */

.toshiba-indoor-select {
    display: none !important;
}


/*
 * ============================================================
 * CUSTOM DROPDOWN
 * ============================================================
 */

.toshiba-custom-dropdown {
    position: relative;

    width: 100%;

    box-sizing: border-box;

    z-index: 20;
}


/*
 * SELECTED VALUE
 * ============================================================
 */

.toshiba-custom-dropdown-selected {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 38px;

    padding: 6px 38px 6px 10px;

    border: 1px solid #ccc;
    border-radius: 3px;

    background: #fff;
    color: #333;

    box-sizing: border-box;

    font-size: 14px;
    line-height: 24px;

    cursor: pointer;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}


/*
 * ARROW
 * ============================================================
 */

.toshiba-custom-dropdown-selected:after {
    content: "";

    position: absolute;

    right: 13px;
    top: 50%;

    width: 7px;
    height: 7px;

    margin-top: -5px;

    border-right: 2px solid #777;
    border-bottom: 2px solid #777;

    transform: rotate(45deg);

    transition: transform .15s ease;
}

.toshiba-custom-dropdown.open
.toshiba-custom-dropdown-selected:after {
    margin-top: 0;

    transform: rotate(225deg);
}


/*
 * HOVER / OPEN
 * ============================================================
 */

.toshiba-custom-dropdown-selected:hover {
    border-color: #aaa;
}

.toshiba-custom-dropdown.open
.toshiba-custom-dropdown-selected {
    border-color: #aaa;

    box-shadow:
        0 0 0 1px rgba(0, 0, 0, .03);
}


/*
 * ============================================================
 * DROPDOWN OPTIONS
 * ============================================================
 *
 * ВАЖНО:
 * Менюто се отваря НАГОРЕ, както при Carrier.
 *
 * ============================================================
 */

.toshiba-custom-dropdown-options {
    position: absolute;

    left: 0;
    right: 0;

    bottom: 100%;

    display: none;

    width: 100%;

    max-height: 330px;

    margin-bottom: 4px;

    overflow-y: auto;
    overflow-x: hidden;

    border: 1px solid #ccc;
    border-radius: 3px;

    background: #fff;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .15);

    box-sizing: border-box;

    z-index: 99999;
}


/*
 * OPEN
 * ============================================================
 */

.toshiba-custom-dropdown.open
.toshiba-custom-dropdown-options {
    display: block;
}


/*
 * ============================================================
 * OPTION
 * ============================================================
 */

.toshiba-custom-dropdown-option {
    display: flex;
    align-items: center;

    width: 100%;

    min-height: 70px;

    padding: 8px 10px;

    border-bottom: 1px solid #eee;

    background: #fff;
    color: #333;

    box-sizing: border-box;

    cursor: pointer;

    transition: background .12s ease;
}

.toshiba-custom-dropdown-option:last-child {
    border-bottom: 0;
}

.toshiba-custom-dropdown-option:hover {
    background: #f7f7f7;
}


/*
 * ============================================================
 * OPTION IMAGE
 * ============================================================
 */

.toshiba-custom-dropdown-option-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin-right: 12px;

    flex: 0 0 60px;

    overflow: hidden;
}

.toshiba-custom-dropdown-option-image img {
    display: block;

    width: 60px;
    height: 60px;

    object-fit: contain;
}


/*
 * ============================================================
 * OPTION TEXT
 * ============================================================
 */

.toshiba-custom-dropdown-option-text {
    flex: 1;
    min-width: 0;

    font-size: 14px;
    line-height: 1.4;

    white-space: normal;
    word-break: normal;
}


/*
 * ============================================================
 * DISABLED DROPDOWN
 * ============================================================
 */

.toshiba-custom-dropdown-disabled
.toshiba-custom-dropdown-selected {
    background: #f5f5f5;

    color: #999;

    cursor: not-allowed;
}


/*
 * ============================================================
 * SCROLLBAR
 * ============================================================
 */

.toshiba-custom-dropdown-options::-webkit-scrollbar {
    width: 8px;
}

.toshiba-custom-dropdown-options::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.toshiba-custom-dropdown-options::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
}

.toshiba-custom-dropdown-options::-webkit-scrollbar-thumb:hover {
    background: #999;
}


/*
 * ============================================================
 * LOADING / ERROR
 * ============================================================
 */

.toshiba-loading {
    padding: 10px 0;

    color: #777;
    font-size: 13px;
}

.toshiba-error {
    padding: 10px 0;

    color: #a94442;
    font-size: 13px;
}


/*
 * ============================================================
 * SUMMARY
 * ============================================================
 */

.toshiba-summary {
    margin-top: 30px;

    padding: 20px;

    border: 1px solid #ddd;
    border-radius: 3px;

    background: #fafafa;
}

.toshiba-summary-title {
    margin-bottom: 15px;

    font-size: 18px;
    font-weight: 600;
}

.toshiba-summary-row {
    display: flex;
    align-items: center;

    padding: 10px 0;

    border-bottom: 1px solid #e5e5e5;
}

.toshiba-summary-row:last-child {
    border-bottom: 0;
}

.toshiba-summary-room {
    flex: 0 0 120px;

    font-weight: 600;
}

.toshiba-summary-area {
    flex: 0 0 110px;

    color: #666;
}

.toshiba-summary-product {
    flex: 1;
    min-width: 0;
}

.toshiba-summary-product a {
    color: #337ab7;
    text-decoration: none;
}

.toshiba-summary-product a:hover {
    text-decoration: underline;
}


/*
 * ============================================================
 * SUMMARY PRODUCT IMAGE
 * ============================================================
 */

.toshiba-summary-product-image {
    display: inline-block;

    vertical-align: middle;

    margin-right: 10px;
}

.toshiba-summary-product-image img {
    display: block;

    width: 70px;
    height: 70px;

    object-fit: contain;
}

.toshiba-summary-product-name {
    display: inline-block;

    vertical-align: middle;

    max-width: calc(100% - 90px);
}


/*
 * ============================================================
 * SUMMARY EXTERNAL
 * ============================================================
 */

.toshiba-summary-external {
    display: flex;
    align-items: center;

    padding: 10px 0;

    border-bottom: 1px solid #e5e5e5;

    background: #f7f7f7;
}

.toshiba-summary-external-label {
    flex: 0 0 120px;

    padding-left: 10px;

    font-weight: 600;
}

.toshiba-summary-external-image {
    flex: 0 0 70px;

    width: 70px;
    height: 70px;

    margin-right: 10px;
}

.toshiba-summary-external-image img {
    display: block;

    width: 70px;
    height: 70px;

    object-fit: contain;
}


/*
 * ============================================================
 * ADD TO CART
 * ============================================================
 */

.toshiba-add-to-cart-wrapper {
    margin-top: 25px;

    text-align: right;
}

.toshiba-add-to-cart {
    display: inline-block;

    padding: 13px 24px;

    border: 1px solid #5cb85c;
    border-radius: 3px;

    background: #5cb85c;
    color: #fff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        opacity .15s ease;
}

.toshiba-add-to-cart:hover {
    background: #449d44;
    border-color: #398439;
}

.toshiba-add-to-cart.disabled,
.toshiba-add-to-cart:disabled {
    opacity: .6;

    cursor: not-allowed;
}

.toshiba-add-to-cart.disabled:hover,
.toshiba-add-to-cart:disabled:hover {
    background: #5cb85c;
    border-color: #5cb85c;
}


/*
 * ============================================================
 * PAGE LAYOUT
 * ============================================================
 */

body#module-toshibamultisplit-display #left_column,
body#module-toshibamultisplit-display #right_column {
    display: none !important;
}

body#module-toshibamultisplit-display #columns {
    width: 100% !important;
}

body#module-toshibamultisplit-display #columns > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body#module-toshibamultisplit-display #center_column {
    width: 100% !important;
    max-width: 100% !important;

    float: none !important;

    flex: none !important;
    flex-basis: auto !important;

    padding-left: 15px !important;
    padding-right: 15px !important;

    box-sizing: border-box !important;
}

body#module-toshibamultisplit-display .toshiba-multisplit-wrapper {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
}

body#module-toshibamultisplit-display .toshiba-multisplit-box {
    width: 100% !important;
    max-width: none !important;

    box-sizing: border-box !important;
}


/*
 * ============================================================
 * DESKTOP
 * ============================================================
 */

@media (min-width: 992px) {

    body#module-toshibamultisplit-display #left_column,
    body#module-toshibamultisplit-display #right_column {
        display: none !important;
    }

    body#module-toshibamultisplit-display #center_column {
        width: 100% !important;
        max-width: 100% !important;

        float: none !important;

        flex: none !important;
        flex-basis: auto !important;

        padding-left: 15px !important;
        padding-right: 15px !important;

        box-sizing: border-box !important;
    }
}


/*
 * ============================================================
 * TABLET / MOBILE
 * ============================================================
 */

@media (max-width: 991px) {

    body#module-toshibamultisplit-display #left_column,
    body#module-toshibamultisplit-display #right_column {
        display: none !important;
    }

    body#module-toshibamultisplit-display #center_column {
        width: 100% !important;
        max-width: 100% !important;

        float: none !important;

        flex: none !important;
        flex-basis: auto !important;

        padding-left: 15px !important;
        padding-right: 15px !important;

        box-sizing: border-box !important;
    }
}


/*
 * ============================================================
 * SUMMARY - PRICES
 * ============================================================
 */

.toshiba-summary-price {
    flex: 0 0 130px;

    text-align: right;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;
}

.toshiba-summary-reference {
    margin-top: 4px;

    color: #777;
    font-size: 12px;
}


/*
 * ============================================================
 * TOTAL
 * ============================================================
 */

.toshiba-summary-total {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 15px;
    padding-top: 18px;

    border-top: 2px solid #ddd;

    font-size: 17px;
}

.toshiba-summary-total span {
    font-weight: 600;
}

.toshiba-summary-total strong {
    font-size: 22px;
    font-weight: 700;

    white-space: nowrap;
}


/*
 * ============================================================
 * RESPONSIVE
 * ============================================================
 */

@media (max-width: 991px) {

    .toshiba-room-row {
        align-items: flex-start;
    }

    .toshiba-room-area {
        flex: 0 0 210px;
    }
}


@media (max-width: 767px) {

    .toshiba-multisplit-title h1 {
        font-size: 22px;
    }

    .toshiba-room-row {
        display: block;
    }

    .toshiba-room-number {
        margin-bottom: 10px;
    }

    .toshiba-room-area {
        width: 100%;
        padding-right: 0;
        margin-bottom: 15px;
    }

    .toshiba-indoor {
        width: 100%;
    }

    .toshiba-summary-row {
        display: block;
    }

    .toshiba-summary-room,
    .toshiba-summary-area {
        margin-bottom: 4px;
    }

    .toshiba-summary-product {
        margin-top: 5px;
    }

    .toshiba-summary-price {
        display: block;

        margin-top: 6px;

        text-align: left;
    }

    .toshiba-summary-total {
        display: block;
    }

    .toshiba-summary-total strong {
        display: block;

        margin-top: 8px;
    }

    .toshiba-add-to-cart-wrapper {
        text-align: left;
    }

    .toshiba-add-to-cart {
        width: 100%;
    }


    /*
     * MOBILE DROPDOWN
     */

    .toshiba-custom-dropdown-options {
        max-height: 280px;
    }

    .toshiba-custom-dropdown-option {
        min-height: 60px;

        padding: 7px 8px;
    }

    .toshiba-custom-dropdown-option-image {
        width: 50px;
        height: 50px;

        margin-right: 10px;

        flex: 0 0 50px;
    }

    .toshiba-custom-dropdown-option-image img {
        width: 50px;
        height: 50px;
    }

    .toshiba-custom-dropdown-option-text {
        font-size: 13px;
    }
}