/* Универсальные стили для прайс-листа */

/* Основной контейнер прайс-листа */
.node_price_model, .prod_ftxt {
    background: ;
    border-radius: ;
    padding: 0;
    box-shadow: ;
}

.node_price_model h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.node_price_model h3 span {
    font-size: 14px;
    font-weight: 400;
    color: #718096;
}

/* Основной стиль для строк услуг */
.field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 10px 0 10px;
    width: 100%;
    font-size: 14px;
    color: #2d3748;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    transition: background 0.2s ease;
    min-height: 50px;
    float: none !important;
}

.field:hover {
    background: #f7fafc;
}

/* Диагностика - особый стиль */
.node_price_model > .field:first-child,
.node_price_model > div:first-of-type.field {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 8px;
    margin-bottom: 8px;
    font-weight: 500;
}

.node_price_model > .field:first-child .field-items,
.node_price_model > div:first-of-type.field .field-items {
    color: white !important;
    font-weight: 600;
    font-size: 16px;
}

/* Название услуги - занимает левую часть */
.field-title, .field-title-accessory {
    flex: 1;
    float: none !important;
    display: flex;
    align-items: center;
    padding-right: 15px;
    line-height: 1.4;
    color: inherit;
}

/* Контейнер цен и гарантии - правая часть */
.field-items {
    float: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
    color: #4a5568;
    font-weight: 500;
}

/* Старая цена (зачеркнутая) */
.price-old {
    text-decoration: line-through;
    color: #a0aec0 !important;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

/* Акционная цена - желтый фон, черный текст */
.action {
    background: #ffd700 !important;
    color: #000 !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

/* Гарантия - компактный вид */
.field-warranty {
    display: inline-flex !important;
    float: none !important;
    align-items: center;
    background: #edf2f7 !important;
    background-color: #edf2f7 !important;
    color: #2b6cb0 !important;
    padding: 4px 10px !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-left: 8px;
    white-space: nowrap;
    line-height: 1;
    width: auto !important;
    background-image: url('https://mipochinim.ru/sites/all/themes/mipochinim/images/ico_warranty.png') !important;
    background-repeat: no-repeat !important;
    background-position: 6px center !important;
    background-size: 14px !important;
    padding-left: 26px !important;
}

/* Скрываем tooltip */
.tooltip {
    display: none !important;
}

/* Группы полей (для моноблоков/ноутбуков) */
.field-group {
    padding-top: 20px;
    float: none !important;
    width: 100%;
    margin-bottom: 16px;
}

.field-group-title {
    width: 100%;
    float: none !important;
    color: #2b6cb0;
    border-bottom: 2px solid #e2e8f0;
    padding: 0 0 8px 0;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Группа полей (например, для дисплея) */
.fields {
    border-bottom: 1px solid #e2e8f0;
    border-left: 3px solid #667eea;
    margin: 8px 0;
    background: #f8fafc;
    float: none !important;
    width: 100%;
    border-radius: 0 8px 8px 0;
}

.fields .field {
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.fields .field:last-child {
    border-bottom: none;
}

/* Вложенные поля */
.field-indented {
    padding-left: 40px;
    background: #fbfcfd;
}

.field-indented .field {
    font-size: 14px;
    padding: 12px 16px;
}

/* Ссылки "Узнать цену" */
.field a,
.field-items a {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 14px !important;
    border: none !important;
    border-bottom: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.field a:hover,
.field-items a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    border-bottom: none !important;
}

/* Описание внизу */
.description {
    margin-top: 24px;
    padding: 16px;
    background: #fef5e7;
    border-left: 4px solid #f39c12;
    border-radius: 4px;
    color: #7c4700 !important;
    font-size: 14px;
    font-weight: 500;
}

/* Блок "Не нашли поломки" */
.ne_nashli {
    margin-top: 20px;
    padding: 16px;
    background: #f0f7ff;
    border-radius: 8px;
    text-align: center;
}

.ne_nashli .bg {
    font-size: 16px;
    font-weight: 600;
    color: #2b6cb0;
    background: transparent !important;
}

/* Примечание о бесплатной диагностике */
.node_price_model > div p strong {
    color: #16a34a;
    font-size: 14px;
    display: block;
    margin-top: 16px;
    padding: 12px;
    background: #f0fdf4;
    border-radius: 6px;
    text-align: center;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .field {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }

    .field-title, .field-title-accessory {
        padding-right: 0;
        margin-bottom: 8px;
        width: 100%;
    }

    .field-items {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .field-warranty {
        margin-left: 0 !important;
        margin-top: 4px;
    }

    .field-group-title {
        font-size: 15px;
    }
}

/* Анимация при наведении */
.field {
    transition: all 0.2s ease;
}

.field:hover {
    transform: translateX(4px);
}

/* Убираем старые float стили */
.node_text_phone,
.node-repair_type .full_text,
.node-repair_type .full_text_top,
.node-repair_type .time_and_warranty {
    float: none !important;
    display: block;
}

/* Очистка старых стилей */
.field span {
    color: inherit;
}

/* Специфичные стили для разных секций */
.node-repair_type .price_table {
    margin-top: 0;
}

.node-repair_type .time_and_warranty {
    display: none; /* Скрываем старый блок времени и гарантии */
}

/* Убираем конфликты со старыми стилями */
.accessory-compatibility {
    padding-top: 20px;
    float: none !important;
    width: 100%;
}

/* Сброс старых стилей для заголовка продукта */
.myservice__product-single-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

/* Обертка продукта */
.myservice__product-single-inner {
    padding: 0;
}

.myservice__product-single-desc {
    padding: 0;
}

/* Важные переопределения для совместимости */
.field-items:not(.action):not(.price-old) {
    color: #4a5568 !important;
}

/* Убедимся что все ссылки одинаковые */
a.colorbox-node,
a.colorbox-load {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
}