/* primary */
/* primary hover */
/* dark */
/* light */
/* light hover */
/* accent */
/* accent hover */

/* OK HOME Bundling: страница пакетов / подборок объектов */
.page_bundling .bundling-your {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* OK HOME Bundling: выбранный пакет / подборка */
.page_bundling .bundling-your .bundling-your-bundle {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid var(--light-color);
    border-radius: 10px;
    overflow: hidden;
}

/* OK HOME Bundling: заголовок выбранного пакета */
.page_bundling .bundling-your .bundling-your-bundle-header {
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 13px;
    line-height: 1.3;
}

/* OK HOME Bundling: цена в заголовке пакета */
.page_bundling .bundling-your .bundling-your-bundle-header .price {
    font-weight: 500;
    white-space: nowrap;
}

/* OK HOME Bundling: объект / услуга внутри выбранного пакета */
.page_bundling .bundling-your .bundling-your-bundle-item {
    position: relative;
    display: inline-block;
}

/* OK HOME Bundling: количество объектов / услуг */
.page_bundling .bundling-your .bundling-your-bundle-item .quantity {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 3px;
    border-radius: 3px;
    background-color: #ff3131;
    color: #fff;
    font-size: 10px;
    line-height: 1.3;
}

/* OK HOME Bundling: кнопка добавления пакета в заявку / подборку */
.page_bundling .bundling-your input.bundling-add2cart {
    display: inline-block;
    margin-top: 0;
    margin-right: 5px;
    padding: 8px 14px 9px;
    vertical-align: top;
    border: 1px solid transparent;
    border-radius: var(--inputs-buttons-border-radius);
    background-color: var(--button-color);
    color: var(--button-text-color);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    cursor: pointer;
    outline: none;
    user-select: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease-in-out;
}

@media (min-width: 1024px) {
    .page_bundling .bundling-your input.bundling-add2cart:hover {
        background-color: var(--button-color-hover);
    }
}

.page_bundling .bundling-your input.bundling-add2cart:active,
.page_bundling .bundling-your input.bundling-add2cart.button_active {
    background-color: var(--button-color-hover);
}

.page_bundling .bundling-your input.bundling-add2cart:disabled,
.page_bundling .bundling-your input.bundling-add2cart.button_disabled {
    background: #fafafa;
    color: #bdbdbd;
    cursor: default;
}

/* OK HOME Bundling: отступ блока пакета в карточке объекта */
.page_bundling .product-add-to-cart .bundling-your {
    margin-top: 20px;
}

/* OK HOME Bundling: заголовок блока пакетов */
.page_bundling .bundling h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
}

/* OK HOME Bundling: ссылка объекта / услуги в выборе пакета */
.page_bundling .bundling-select .bundling-product-link {
    color: var(--link-color);
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
    border-color: #f2f2f2;
    border-radius: 3px;
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.page_bundling .bundling-select .bundling-product-link:hover {
    border-color: #ccc;
}

/* OK HOME Bundling: таблица выбора пакета */
.page_bundling .bundling-select table {
    width: 100%;
    border-collapse: collapse;
}

/* OK HOME Bundling: количество объектов / услуг */
.page_bundling .bundling-select .bundling-product-quantity {
    width: 100px;
    line-height: 35px;
}

/* OK HOME Bundling: поле количества */
.page_bundling .bundling-select .bundling-product-quantity input {
    width: 60px;
    max-width: 100%;
    margin-right: 5px;
    padding: 11px 12px;
    border: 1px solid #dfe7f1;
    border-radius: var(--inputs-buttons-border-radius);
    background: #fff;
    color: #07182d;
    font-size: 14px;
    line-height: 1.2;
    vertical-align: top;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out;
}

.page_bundling .bundling-select .bundling-product-quantity input:disabled {
    cursor: default;
    color: #bdbdbd;
    border: 1px solid #bdbdbd;
}

.page_bundling .bundling-select .bundling-product-quantity input:focus {
    border-color: #cbd8e8;
}

.page_bundling .bundling-select .bundling-product-quantity input::placeholder {
    color: #888;
}

/* OK HOME Bundling: select в выборе пакета */
.page_bundling .bundling-select select {
    background-color: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 4px;
    padding: 8px 5px;
    color: #07182d;
    font-size: 12px;
    line-height: 1.2;
}

/* OK HOME Bundling: конфигуратор пакетов */
.page_bundling .bundling-configurator h3 {
    margin-bottom: 0;
}

.page_bundling .bundling-configurator .bundling-bundle-title {
    margin: 0;
}

/* OK HOME Bundling: заголовок пакета */
.page_bundling .bundling-configurator .bundling-bundle-title span {
    display: block;
    padding: 10px;
    border: 1px solid var(--light-color);
    border-bottom: 0;
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 13px;
    line-height: 1.3;
}

/* OK HOME Bundling: выбранный заголовок пакета */
.page_bundling .bundling-configurator .bundling-bundle-title.selected span {
    background-color: var(--light-color);
    font-weight: 700;
}

/* OK HOME Bundling: пакет */
.page_bundling .bundling-configurator .bundling-bundle {
    margin-top: 20px;
}

/* OK HOME Bundling: объекты / услуги пакета */
.page_bundling .bundling-configurator .bundling-bundle-products {
    margin: 0;
    padding: 0;
    border: 1px solid var(--light-color);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

/* OK HOME Bundling: таблица объектов / услуг пакета */
.page_bundling .bundling-configurator .bundling-bundle-products table {
    width: 100%;
    border-collapse: collapse;
}

.page_bundling .bundling-configurator .bundling-bundle-products table tr td {
    width: auto !important;
    padding: 5px 10px !important;
    vertical-align: middle;
}

.page_bundling .bundling-configurator .bundling-bundle-products table tr td:first-child {
    width: auto !important;
    padding-right: 0 !important;
}

.page_bundling .bundling-configurator .bundling-bundle-products table tr td:last-child {
    padding-right: 10px !important;
}

/* OK HOME Bundling: ссылки внутри объектов / услуг пакета */
.page_bundling .bundling-configurator .bundling-bundle-products table tr td a {
    color: var(--link-color);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

/* OK HOME Bundling: название объекта / услуги */
.page_bundling .bundling-configurator .bundling-bundle-products table tr td .bundling-product-title {
    font-size: 12px;
    line-height: 1.3;
}

.page_bundling .bundling-configurator .bundling-bundle-products table tr td .bundling-product-title a {
    display: block;
    font-size: 13px;
    line-height: 1.3;
}

/* OK HOME Bundling: цена объекта / услуги */
.page_bundling .bundling-configurator .bundling-bundle-products table tr td .bundling-product-price {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Последняя строка */
.page_bundling .bundling-configurator .bundling-bundle-products table tr:last-child td {
    padding-bottom: 5px !important;
}

/* OK HOME Bundling: выбранная строка */
.page_bundling .bundling-configurator .bundling-bundle-products table tr.selected td {
    background-color: var(--light-color);
}

/* Мобильная версия */
@media (max-width: 767px) {
    .page_bundling .bundling-your {
        align-items: stretch;
    }

    .page_bundling .bundling-your input.bundling-add2cart {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .page_bundling .bundling-select table,
    .page_bundling .bundling-configurator .bundling-bundle-products table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    .page_bundling .bundling-select .bundling-product-quantity {
        width: auto;
    }

    .page_bundling .bundling-configurator .bundling-bundle-products table tr td {
        padding: 8px 10px !important;
    }

    .page_bundling .bundling-configurator .bundling-bundle-products table tr td .bundling-product-title a {
        font-size: 12px;
    }

    .page_bundling .bundling-configurator .bundling-bundle-products table tr td .bundling-product-price {
        font-size: 13px;
    }
}