

/* Start:/local/components/custom/prices.list/templates/.default/style.css?178242590610485*/
/* =============================================================
   custom:prices.list — Блок цен
   ============================================================= */

/* ---------- Обёртка ---------- */
.dt-prices {
    margin: 40px 0;
    font-family: inherit;
}

.dt-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 32px;
    line-height: 1.25;
}

/* ---------- Layout (таблицы + сайдбар) ---------- */
.dt-prices__layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.dt-prices__content {
    flex: 1 1 0;
    min-width: 0;
}

.dt-prices__sidebar {
    flex: 0 0 280px;
    width: 280px;
    position: sticky;
    top: 100px;
}

.dt-prices__sidebar-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
}

.dt-prices__sidebar-img {
    width: 100%;
    height: auto;
    display: block;
}

.dt-prices__sidebar-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    background: #f8f9fc;
    border-radius: 12px;
    padding: 20px;
}

.dt-prices__sidebar-text p:first-child { margin-top: 0; }
.dt-prices__sidebar-text p:last-child  { margin-bottom: 0; }

/* ---------- Поиск ---------- */
.dt-prices__search-wrap {
    position: relative;
    margin-bottom: 28px;
    max-width: 560px;
}

.dt-prices__search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid #d0d5e0;
    border-radius: 10px;
    padding: 0 14px;
    transition: border-color .2s;
}

.dt-prices__search-inner:focus-within {
    border-color: #2457a4;
    box-shadow: 0 0 0 3px rgba(36,87,164,.10);
}

.dt-prices__search-icon {
    width: 18px;
    height: 18px;
    color: #9099a8;
    flex-shrink: 0;
}

.dt-prices__search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: #1a1a2e;
    padding: 13px 0;
    line-height: 1;
}

.dt-prices__search-input::placeholder { color: #aab0bc; }

.dt-prices__search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #9099a8;
    font-size: 16px;
    padding: 0;
    line-height: 1;
    transition: color .15s;
}

.dt-prices__search-clear:hover { color: #e05252; }

/* Дроп-даун результатов */
.dt-prices__search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #d0d5e0;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    z-index: 100;
    overflow: hidden;
    max-height: 340px;
    overflow-y: auto;
}

.dt-prices__search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    cursor: pointer;
    transition: background .15s;
    border-bottom: 1px solid #f0f2f7;
}

.dt-prices__search-item:last-child { border-bottom: none; }

.dt-prices__search-item:hover,
.dt-prices__search-item--active { background: #f0f6ff; }

.dt-prices__search-item-name {
    font-size: 14px;
    color: #1a1a2e;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dt-prices__search-item-price {
    font-size: 13px;
    font-weight: 600;
    color: #2457a4;
    white-space: nowrap;
}

.dt-prices__search-item mark {
    background: #fff3cd;
    color: inherit;
    border-radius: 2px;
    padding: 0 1px;
}

.dt-prices__search-no-result {
    padding: 16px;
    color: #888;
    font-size: 14px;
    text-align: center;
}

/* =============================================================
   АККОРДЕОН (разделы первого уровня)
   ============================================================= */

.dt-prices__accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Элемент аккордеона */
.dt-prices__accordion-item {
    border-bottom: 1px solid #dce6f5;
}

.dt-prices__accordion-item:first-child {
    border-top: 1px solid #dce6f5;
}

/* Кнопка-заголовок */
.dt-prices__accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #1a1a2e;
    transition: color .2s;
}

.dt-prices__accordion-btn:hover {
    color: #2457a4;
}

.dt-prices__accordion-title {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    flex: 1;
    color: inherit;
}

/* Иконка «+» / «×» — реализована через псевдоэлементы */
.dt-prices__accordion-icon {
    flex-shrink: 0;
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ef801c;
    background: #fff;
    transition: background .2s, border-color .2s;
}

.dt-prices__accordion-icon::before,
.dt-prices__accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #ef801c;
    border-radius: 2px;
    transition: transform .3s, opacity .2s, background .2s;
}

/* Горизонтальная палочка */
.dt-prices__accordion-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

/* Вертикальная палочка (образует «+») */
.dt-prices__accordion-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%) rotate(0deg);
}

/* Открытое состояние: «+» → «×» (поворот на 45°) */
.dt-prices__accordion-item--open .dt-prices__accordion-icon {
    background: #ef801c;
    border-color: #ef801c;
}

.dt-prices__accordion-item--open .dt-prices__accordion-icon::before,
.dt-prices__accordion-item--open .dt-prices__accordion-icon::after {
    background: #fff;
}

.dt-prices__accordion-item--open .dt-prices__accordion-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.dt-prices__accordion-item--open .dt-prices__accordion-icon::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Декоративная синяя дуга слева — имитирует волну из макета */
.dt-prices__accordion-item::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #2457a4 0%, #5b8ee6 60%, transparent 100%);
    opacity: 0;
    transition: opacity .3s;
    border-radius: 0 4px 4px 0;
}

.dt-prices__accordion-item--open::before {
    opacity: 1;
}

/* Тело аккордеона */
.dt-prices__accordion-body {
    overflow: hidden;
    transition: height .35s cubic-bezier(.4, 0, .2, 1);
}

.dt-prices__accordion-body[hidden] {
    display: block !important; /* переопределяем hidden для анимации */
    visibility: hidden;
    height: 0;
}

.dt-prices__accordion-inner {
    padding-bottom: 24px;
}

/* ---------- Вложенные секции (уровень 2+) ---------- */
.dt-prices__section {
    margin-bottom: 28px;
}

.dt-prices__section-title {
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px;
    line-height: 1.3;
}

.dt-prices__section-title--level-2 {
    font-size: 18px;
    color: #2457a4;
    padding-left: 14px;
    border-left: 3px solid #2457a4;
}

.dt-prices__section-title--level-3 {
    font-size: 15px;
    color: #555;
    font-weight: 600;
    padding-left: 22px;
}

.dt-prices__section-title--level-4 {
    font-size: 14px;
    color: #777;
    font-weight: 600;
    padding-left: 30px;
}

.dt-prices__section .dt-prices__section {
    margin-top: 18px;
    margin-left: 12px;
}

/* ---------- Таблица ---------- */
.dt-prices__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.dt-prices__table thead tr { background: #f0f6ff; }

.dt-prices__table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #5a6478;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1.5px solid #dce6f5;
    white-space: nowrap;
}

.dt-prices__table th:nth-child(2),
.dt-prices__table td:nth-child(2) {
    text-align: right;
    white-space: nowrap;
}



.dt-prices__table td {
    padding: 13px 16px;
    border-bottom: 1px solid #eef2f9;
    color: #2b2f3e;
    vertical-align: middle;
    transition: background .15s;
}

.dt-prices__table tbody tr:last-child td { border-bottom: none; }
.dt-prices__table tbody tr:hover td     { background: #f6f9ff; }

.dt-prices__table td strong {
    color: #2457a4;
    font-size: 15px;
    font-weight: 700;
}

/* Подсветка найденной строки */
.dt-prices__row--highlight td {
    background: #fff8e1 !important;
    transition: background .3s;
}

/* ---------- Примечание ---------- */
.dt-prices__footer-note {
    font-size: 13px;
    color: #9099a8;
    margin-top: 28px;
    line-height: 1.6;
}

.dt-prices__empty {
    color: #888;
    font-size: 15px;
    padding: 24px 0;
}

/* =============================================================
   Адаптив
   ============================================================= */
@media (max-width: 900px) {
    .dt-prices__layout {
        flex-direction: column;
    }

    .dt-prices__sidebar {
        flex: none;
        width: 100%;
        position: static;
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }

    .dt-prices__sidebar-img-wrap {
        flex: 0 0 140px;
        margin-bottom: 0;
    }

    .dt-prices__sidebar-text { flex: 1; }
}

@media (max-width: 600px) {
    .dt-section-title { font-size: 22px; }

    .dt-prices__accordion-title { font-size: 15px; }

    .dt-prices__accordion-icon {
        width: 30px;
        height: 30px;
    }

    .dt-prices__accordion-icon::before { width: 12px; }
    .dt-prices__accordion-icon::after  { height: 12px; }

    .dt-prices__table { font-size: 13px; }

    .dt-prices__table th,
    .dt-prices__table td { padding: 10px 10px; }



    .dt-prices__sidebar { flex-direction: column; }

    .dt-prices__sidebar-img-wrap {
        flex: none;
        width: 100%;
    }

    .dt-prices__search-wrap { max-width: 100%; }
}

/* End */
/* /local/components/custom/prices.list/templates/.default/style.css?178242590610485 */
