

/* Start:/local/templates/.default/components/tofalar/configurator/v1.2/style.css?17848729275612*/
.accessory-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 5px;
    border-bottom: 1px solid #f0f0f0;
}

.accessory-item .form-checkbox__label {
    flex-grow: 1;
    margin-bottom: 0;
}

.quantity-counter {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantity-counter button {
    background: #f8f8f8;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    font-size: 18px;
    color: #555;
    line-height: 1;
}
.quantity-counter button:hover {
    background: #eee;
}

.quantity-counter .quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    height: 30px;
    padding: 0 5px;
    -moz-appearance: textfield; /* Firefox */
}
.quantity-counter .quantity-input::-webkit-outer-spin-button,
.quantity-counter .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#cart_table {
    width: 100%;
}
#cart_table td, #cart_table th {
    padding: 8px;
    border-bottom: 1px solid #eee;
}
#cart_table tfoot td, #cart_table tfoot th {
    border-bottom: none;
    font-weight: bold;
}
#cart_table .product-total {
    text-align: right;
    white-space: nowrap;
}

/* --- Стили для кастомного селекта --- */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}
.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    height: 48px;
    line-height: 48px;
    background: #f8f8f8;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.custom-select-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ddd;
    border-top: 0;
    background: #fff;
    transition: all 0.2s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    max-height: 250px;
    overflow-y: auto;
    border-radius: 0 0 4px 4px;
}
.custom-select-wrapper.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.custom-select-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.custom-select-option:hover {
    background-color: #f0f0f0;
}
.custom-select-option-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    flex-shrink: 0;
}
.custom-select-arrow {
    position: relative;
    height: 10px;
    width: 10px;
}
.custom-select-arrow::before, .custom-select-arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 2px;
    height: 100%;
    background-color: #555;
    transition: all 0.2s;
}
.custom-select-arrow::before {
    left: 1px;
    transform: rotate(45deg);
}
.custom-select-arrow::after {
    left: 7px;
    transform: rotate(-45deg);
}
.custom-select-wrapper.open .custom-select-arrow::before { transform: rotate(-45deg); }
.custom-select-wrapper.open .custom-select-arrow::after { transform: rotate(45deg); }

/* --- Стили для изображения в выбранном элементе селекта --- */
.custom-select-trigger {
    display: flex;
    align-items: center;
}

.custom-select-trigger-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 12px;
    border-radius: 4px;
    flex-shrink: 0;
}
.custom-select-trigger-left{
    display: flex;
    gap: 7px;
    align-items: center;
}

/* Добавьте эти стили в CSS вашего шаблона */
.configurator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px; /* Добавьте отступ по вкусу */
    position: relative; /* Нужно для позиционирования подсказки */
}

.share-link {
    cursor: pointer;
    color: #007bff; /* Или цвет ссылок вашего сайта */
    border-bottom: 1px dashed #007bff;
    transition: color 0.2s;
}

.share-link:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

.share-tooltip {
    position: absolute;
    right: 0;
    top: -30px; /* Положение над кнопкой "Поделиться" */
    background-color: #28a745; /* Зеленый фон для успеха */
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    white-space: nowrap;
}

.share-tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* Стиль для заблокированного элемента конфигуратора */
.accessory-item.locked-item {
    opacity: 0.7; /* Делаем его полупрозрачным */
}

/* Стиль для label у заблокированного (disabled) чекбокса */
.accessory-item.locked-item .form-checkbox__input:disabled + .form-checkbox__label {
    cursor: not-allowed; /* Курсор "запрещено" */
    color: #6c757d; /* Более бледный цвет текста */
}
/* End */
/* /local/templates/.default/components/tofalar/configurator/v1.2/style.css?17848729275612 */
