/* Product / cart services configurator */

.ps-box {
    width: 100%;
    margin-top: 15px;
}

.ps-box.is-loading,
.ps-cart-row.is-loading {
    pointer-events: none;
    opacity: .7;
}

.ps-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 8px 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.ps-col {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.ps-col[data-type="warranty"] {
    flex: 1.1 1 120px;
}

.ps-col[data-type="support"] {
    flex: .85 1 96px;
}

.ps-col[data-type="repair"] {
    flex: 1.45 1 160px;
}

.ps-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
    color: #8a8a8a;
    font-size: 13px;
    line-height: 1.2;
    min-width: 0;
}

.ps-label {
    font-weight: 400;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ps-unit {
    font-weight: 400;
    color: #8a8a8a;
    font-size: 13px;
    white-space: nowrap;
    flex: 0 0 auto;
    min-width: 36px;
    text-align: center;
}

.ps-idle,
.ps-add,
.ps-added {
    width: 100%;
    height: 35px;
    min-height: 35px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    box-sizing: border-box;
}

.ps-fields,
.ps-fields-split {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    min-height: 35px;
    border: none;
    background: none;
    overflow: visible;
}

.ps-fields-group {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 35px;
    background: none;
}

.ps-fields-sep {
    display: block;
    width: 2px;
    height: 30px;
    margin: 0 8px;
    background: #F4F4F4;
    flex: 0 0 auto;
}

.ps-dd {
    position: relative;
    min-width: 0;
}

.ps-fields-split .ps-dd[data-name="variant"] {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.ps-fields-split .ps-dd-years {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
}

.ps-dd-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: auto;
    max-width: 100%;
    height: 35px;
    min-height: 35px;
    padding: 0 10px;
    border: none;
    border-radius: 5px;
    background: #f3f3f3;
    color: #222;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-size: 12px;
    box-sizing: border-box;
}

.ps-fields-split .ps-dd[data-name="variant"] .ps-dd-btn {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.ps-dd-icon {
    display: block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    pointer-events: none;
}

.ps-fields-split .ps-dd-years .ps-dd-btn {
    justify-content: center;
    min-width: 36px;
    padding: 0 8px;
}

.ps-fields-split .ps-dd[data-name="variant"] .ps-dd-btn:not(.is-empty) {
    color: #00abdf;
}

.ps-dd-btn.is-empty {
    color: #8a8a8a;
}

.ps-dd-btn span {
    white-space: nowrap;
}

.ps-fields-split .ps-dd[data-name="variant"] .ps-dd-btn span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ps-dd-list {
    display: none;
    position: absolute;
    z-index: 20;
    left: 0;
    right: auto;
    min-width: 100%;
    width: max-content;
    top: calc(100% + 4px);
    padding: 6px 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.ps-dd.is-open .ps-dd-list {
    display: block;
}

.ps-dd-opt {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: none;
    color: #222;
    font: inherit;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}

.ps-dd-opt:hover,
.ps-dd-opt.is-active {
    background: #f3f8fb;
    color: #00abdf;
}

.ps-action {
    margin-top: 10px;
}

.ps-idle,
.ps-add,
.ps-added {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    border: none;
    background: #00abdf;
    color: #fff;
    cursor: pointer;
}

.ps-add[hidden],
.ps-added[hidden],
.ps-idle[hidden] {
    display: none !important;
}

.ps-add:hover:not(:disabled) {
    background: #0098c7;
}

.ps-add:disabled,
.ps-add[disabled] {
    opacity: 1;
    cursor: default;
    pointer-events: none;
    background: #f3f3f3;
    color: #9a9a9a;
}

.ps-add-outline {
    background: #fff;
    color: #00abdf;
    border: 1px solid #00abdf;
}

.ps-add-outline:hover:not(:disabled) {
    background: #00abdf;
    color: #fff;
}

.ps-add-outline:disabled,
.ps-add-outline[disabled] {
    background: #fff;
    color: #b0b0b0;
    border-color: #d8d8d8;
}

.ps-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
}

.ps-idle .ps-help,
.ps-added .ps-help {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.ps-idle {
    padding-left: 44px;
    padding-right: 8px;
    cursor: default;
}

.ps-added {
    padding-left: 44px;
    padding-right: 0;
    cursor: default;
    border: 1px solid #00abdf;
}

.ps-added .ps-qty {
    height: 100%;
    min-height: 33px;
    border-radius: 0 5px 5px 0;
    background: #fff;
}

.ps-added-text,
.ps-add-text {
    flex: 1 1 auto;
    text-align: center;
}

.ps-qty {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 32px;
    margin-left: auto;
    border-radius: 6px;
    background: rgba(255, 255, 255, .18);
    flex: 0 0 auto;
}

.ps-qty-btn,
.ps-box .ps-qty .minus,
.ps-box .ps-qty .plus {
    width: 28px;
    height: 32px;
    border: none;
    background: none;
    color: #fff;
    font-size: 18px;
    line-height: 32px;
    cursor: pointer;
}

.ps-qty-input,
.ps-box .ps-qty .input {
    width: 28px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    color: #fff;
    text-align: center;
    font: inherit;
}

.ps-box .ps-added .ps-qty-btn,
.ps-box .ps-added .ps-qty .minus,
.ps-box .ps-added .ps-qty .plus,
.ps-box .ps-added .ps-qty-input,
.ps-box .ps-added .ps-qty .input {
    color: #00abdf;
}

.ps-cart-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    width: 100%;
}

.ps-cart-bar.ps-box {
    margin-top: 0;
}

.ps-cart-bar-main {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 12px 16px;
    width: 100%;
    min-width: 0;
}

.ps-cart-bar .ps-grid {
    flex: 1 1 auto;
    min-width: 0;
}

.ps-cart-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin-left: 0;
    padding-bottom: 0;
}

.ps-cart-bar .ps-help {
    width: 28px;
    height: 28px;
    border-color: #cfcfcf;
    color: #9a9a9a;
    background: #fff;
}

.ps-cart-bar .ps-help:hover {
    border-color: #00abdf;
    color: #00abdf;
}

.ps-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #222;
    font-size: 14px;
    cursor: pointer;
}

.ps-cart-bar .ps-add {
    width: auto;
    min-width: 0;
    height: 35px;
    min-height: 35px;
    padding: 0 16px;
    border-radius: 5px;
    white-space: nowrap;
}

.ps-cart-bar .ps-add:disabled,
.ps-cart-bar .ps-add[disabled] {
    background: #f7f7f7;
    color: #b0b0b0;
    border-color: #e0e0e0;
}

.ps-cart-bar .ps-add .ps-add-text {
    flex: 0 0 auto;
}

.ps-item-check,
.ps-all-check {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 21px;
    height: 21px;
    margin: 0;
    flex-shrink: 0;
    border: 1.5px solid #00abdf;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.ps-item-check:checked,
.ps-all-check:checked {
    border-color: #00abdf;
    background: #fff;
}

.ps-item-check:checked::after,
.ps-all-check:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 9px;
    border: none;
    transform: translate(-50%, -50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 9'%3E%3Cpath fill='%2300abdf' d='M3.55 8.7L0 5.15l1.3-1.3 2.25 2.25L8.7.95 10 2.25z'/%3E%3C/svg%3E") center / 10px 9px no-repeat;
}

.ps-item-check-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    min-width: 21px;
    margin-right: 10px;
    flex-shrink: 0;
}

.specification_info .item > .head .ps-item-check-wrap {
    align-self: center;
}

.specification_info .item {
    padding: 0;
}

.specification_info .item > .head {
    padding: 10px 5px;
}

.specification_info .item .col_thumb,
.specification_info .item > .head > .col_thumb {
    margin-left: 0;
}

.ps-cart-extras {
    margin-top: 0;
    background: #f7f8f9;
}

.ps-cart-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 8px;
    border: none;
    background: #f7f8f9;
    color: #00abdf;
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.ps-cart-extras .ps-cart-toggle {
    padding-left: 35px;
    padding-right: 12px;
}

.ps-cart-toggle[disabled] {
    color: #00abdf;
    cursor: default;
}

.ps-cart-toggle-name {
    font-weight: 400;
}

.ps-cart-toggle-count {
    margin-left: 10px;
    color: #43a846;
    font-size: 14px;
}

.ps-cart-toggle-arr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: auto;
    transform: rotate(180deg);
    transition: transform .15s linear;
}

.ps-cart-group.is-open .ps-cart-toggle-arr {
    transform: rotate(0);
}

.ps-cart-toggle-arr .icon {
    width: 12px;
    height: 12px;
}

.ps-cart-extras .ps-cart-toggle-arr {
    width: 10.5px;
    height: 7.5px;
    flex: 0 0 10.5px;
    transform: none;
}

.ps-cart-extras .ps-cart-toggle-arr svg {
    display: block;
    width: 10.5px;
    height: 7.5px;
}

.ps-cart-extras .ps-cart-group.is-open .ps-cart-toggle-arr {
    transform: rotate(180deg);
}

.ps-cart-list {
    padding: 8px 0 4px;
}

.ps-cart-extras .ps-cart-list {
    padding: 0;
}

.ps-cart-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 8px 12px 16px;
    border-top: 1px solid #f0eeee;
}

.ps-cart-extras .ps-cart-list .ps-cart-row {
    position: relative;
    border: 0;
    padding: 20px 7px 20px 35px;
}

.ps-cart-extras .ps-cart-list .ps-cart-row:first-child {
    padding-top: 0;
}

.ps-cart-extras .ps-cart-list .ps-cart-row + .ps-cart-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: #fff;
}

.ps-cart-row-name {
    flex: 1 1 auto;
    min-width: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 300;
}

.ps-cart-row-name .desc {
    color: #000;
}

.ps-cart-row-article {
    width: 190px;
    min-width: 160px;
    color: #777;
    font-size: 14px;
    word-break: break-all;
    white-space: nowrap;
}

.ps-cart-row-amount {
    width: 110px;
    min-width: 110px;
}

.ps-cart-row-years {
    width: 75px;
    min-width: 75px;
}

.ps-dd-green .ps-dd-btn {
    width: 100%;
    min-height: 32px;
    padding: 4px 28px 4px 12px;
    border-radius: 4px;
    background-color: #43a846;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    color: #fff;
}

.ps-dd-green .ps-dd-list {
    min-width: 120px;
}

.ps-cart-row-delete {
    width: 22px;
}

.ps-item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 36px;
    padding: 0;
    border: none;
    background: none;
    color: #000;
    cursor: pointer;
}

.ps-item-remove:hover {
    color: #00abdf;
}

.ps-item-remove .icon {
    width: 18px;
    height: 18px;
}

.ps-cart-empty {
    padding: 10px 16px;
    color: #999;
    font-size: 14px;
}

.ps-info-modal {
    max-width: 720px;
    padding: 24px 28px 28px;
}

.ps-info-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 18px;
    padding-right: 28px;
}

.ps-info-tab {
    padding: 0;
    border: none;
    background: none;
    color: #222;
    font: inherit;
    font-size: 16px;
    cursor: pointer;
}

.ps-info-tab.is-active {
    color: #00abdf;
}

.ps-info-pane {
    display: none;
}

.ps-info-pane.is-active {
    display: block;
}

@media (max-width: 1023px) {
    .ps-cart-bar {
        padding: 0;
    }

    .ps-cart-bar-main {
        flex-wrap: wrap;
    }

    .ps-cart-bar .ps-grid,
    .ps-cart-bar-actions {
        width: 100%;
        min-width: 0;
    }

    .ps-cart-bar .ps-add {
        flex: 1 1 auto;
        width: auto;
    }
}

@media (max-width: 767px) {
    .ps-grid {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
    }

    .ps-col,
    .ps-col[data-type="warranty"],
    .ps-col[data-type="support"],
    .ps-col[data-type="repair"] {
        flex: 1 1 auto;
        width: 100%;
    }

    .ps-head {
        font-size: 14px;
    }

    .ps-cart-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .ps-cart-row-name {
        width: 100%;
    }

    .ps-cart-row-article {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
    }

    .specification_info .item > .head > * + *.col_name {
        width: calc(100% - 106px);
    }

    .ps-cart-extras .ps-cart-toggle {
        padding-left: 10px;
    }

    .ps-cart-extras .ps-cart-list .ps-cart-row {
        padding-left: 10px;
    }

    .ps-info-tabs {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 479px) {
    .ps-fields-group,
    .ps-dd-btn,
    .ps-add,
    .ps-added,
    .ps-idle {
        height: 35px;
        min-height: 35px;
    }

    .specification_info .item > .head .col_articul {
        padding-left: 106px;
    }

    .ps-cart-row-article {
        width: 100%;
    }
}
