

/* Start:/local/templates/simple_sky/components/bitrix/menu/simple_sky/style.css?1796270954905*/
/* Стили шаблона компонента меню «Skambio».
   Подключается автоматически при использовании шаблона. */

.main-nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0 10px;
}

.main-nav-item {
    margin: 0;
    padding: 0;
}

.main-nav-link {
    display: block;
    padding: 14px 20px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
}

.main-nav-link:hover,
.main-nav-link.selected,
.main-nav-item.selected .main-nav-link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

.main-nav-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -4px;
}

@media (max-width: 768px) {
    .main-nav-list { padding: 0 5px; }
}

/* End */


/* Start:/local/templates/simple_sky/styles.css?1796264840150*/
/* Стили контентных частей и шаблонов компонентов.
   Каркас сайта — в template_styles.css. */

/* End */


/* Start:/local/templates/simple_sky/template_styles.css?179637688133610*/
:root {
    --nav: #00aea0;           /* бирюзовый — меню и главный акцент сайта */
    --nav-dark: #008c80;      /* hover */
    --dark: #1e242b;          /* графит — шапка, футер */
    --dark-2: #2b333d;
    --text: #23282e;
    --muted: #6b7480;
    --bg: #f2f4f6;
    --card: #ffffff;
    --line: #e2e6ea;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.sky-body {
    font-family: "PT Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ============ Верхняя контактная полоса ============ */
.topbar {
    background: var(--dark-2);
    color: #c8cfd8;
    font-size: 13px;
    padding: 6px 0;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.topbar a { color: #c8cfd8; text-decoration: none; }
.topbar a:hover { color: var(--nav); }
/* Контакты: блочный поток — перенесённая строка всегда начинается
   от левого края (flex-центрирование исключено по построению) */
.topbar .topbar-contacts { display: block; text-align: left; }
.topbar .topbar-actions { display: flex; gap: 10px; }

.btn-topbar {
    border: 1px solid #4a5561;
    background: transparent;
    color: #fff;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.btn-topbar:hover { border-color: var(--nav); color: var(--nav); }

/* ============ Шапка ============ */
.site-header {
    background: var(--dark);
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: .3px;
}

.site-header .tagline {
    color: #8b95a1;
    font-size: 13px;
    margin-left: 12px;
}

/* Каталог — кнопка в цвете меню */
.btn-catalog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nav);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    transition: background .2s;
}
.btn-catalog:hover { background: var(--nav-dark); }

/* ============ Полоса меню во всю ширину ============ */
.main-nav {
    background: var(--nav);
    position: sticky;
    top: 0;
    z-index: 99;
}

.main-nav .container {
    display: flex;
    justify-content: center;
}

/* Пункты меню стилизуются в шаблоне компонента (style.css) */

/* ============ Контент ============ */
main.container { padding: 28px 16px 48px; }

h1, h2, h3 {
    line-height: 1.25;
    margin-bottom: .5em;
    color: var(--dark);
}
h1 {
    font-size: 1.9rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
h1::after, h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    background: var(--nav);
    margin-top: 10px;
    border-radius: 2px;
}

p { margin-bottom: 1em; }
a { color: var(--nav-dark); }

/* Карточки каталога */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 18px;
    transition: box-shadow .2s, border-color .2s;
}
.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-color: var(--nav);
}

/* ============ Кнопки ============ */
.btn, .btn-primary {
    display: inline-block;
    background: var(--nav);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    transition: background .2s;
}
.btn:hover, .btn-primary:hover { background: var(--nav-dark); }

.btn-outline {
    display: inline-block;
    border: 2px solid var(--nav);
    color: var(--nav-dark);
    background: transparent;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--nav); color: #fff; }

/* ============ Раздел «Запчасти / Спецтехника» ============ */
.catalog-split {
    padding: 4px 0 44px;
}

.catalog-split-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
}

.split-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 26px 28px;
    color: var(--text);
    text-decoration: none;
    transition: box-shadow .2s, border-color .2s;
}
.split-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-color: var(--nav);
}

.split-card-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--dark);
    padding-bottom: 10px;
}
.split-card-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    background: var(--nav);
    margin-top: 8px;
    border-radius: 2px;
}

.split-card-text {
    font-size: 15px;
    color: var(--muted);
    flex: 1;
}

.split-card-btn { align-self: flex-start; }

.split-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.split-icon {
    width: 120px;
    height: 120px;
}
.split-caption {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--dark);
}

/* ============ Блок преимуществ над футером ============ */
.features {
    background: var(--card);
    border-top: 1px solid var(--line);
    padding: 32px 0;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;      /* иконка по центру */
    text-align: center;       /* текст по центру */
    gap: 14px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 16px;
    line-height: 1.45;
    color: var(--text);
}

/* ============ Страница контактов ============ */
.contacts-lead {
    font-size: 16px;
    color: var(--text);
    max-width: 860px;
    margin-bottom: 26px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    align-items: stretch;
}

.contacts-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 26px 28px;
}
.contacts-panel h2 { font-size: 20px; }

.contacts-list { list-style: none; margin: 18px 0 22px; }
.contacts-list li { margin-bottom: 12px; }
.contacts-label { color: var(--muted); margin-right: 6px; }
.contacts-list a { font-weight: 700; font-size: 16px; }

.contacts-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contacts-map-panel { padding: 0; overflow: hidden; }
.contacts-map-panel iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

.contacts-addresses { margin-top: 24px; }

.addr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.addr-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 22px 26px;
}
.addr-card p { margin: 12px 0 0; }
.addr-note { color: var(--muted); font-size: 14px; }

.addr-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--dark);
}
.addr-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    background: var(--nav);
    margin-top: 8px;
    border-radius: 2px;
}

/* ============ Каталог ============ */
.catalog-empty-note {
    background: var(--card);
    border: 1px dashed var(--line);
    border-radius: 6px;
    padding: 32px;
    text-align: center;
    color: var(--muted);
}

.catalog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.catalog-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.catalog-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-color: var(--nav);
}

.catalog-item-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.catalog-item-image-wrap {
    aspect-ratio: 4 / 3;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.catalog-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.catalog-item-noimage { color: #b8c0c9; font-size: 13px; }

.catalog-item-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
}

.catalog-item-price {
    margin-top: auto;
    font-size: 18px;
    font-weight: 700;
    color: var(--nav);
}

.catalog-pagination { margin-top: 28px; }
.catalog-pagination a,
.catalog-pagination span {
    display: inline-block;
    min-width: 36px;
    padding: 6px 10px;
    margin: 0 4px 4px 0;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    text-decoration: none;
    color: var(--nav-dark);
    font-size: 14px;
    background: var(--card);
}
.catalog-pagination span.nav_current,
.catalog-pagination a.nav_current {
    background: var(--nav);
    border-color: var(--nav);
    color: #fff;
    font-weight: 700;
}



/* ============ Каталог: сетка разделов ============ */
/* Сетка разделов: 5 колонок в ряд на десктопе */
.catalog-sections {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.catalog-section-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 14px;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow .2s, border-color .2s;
}
.catalog-section-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-color: var(--nav);
}

/* Область фото: белый фон, компактная высота */
.catalog-section-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}
.catalog-section-image {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
}
.catalog-section-noimage {
    color: var(--muted);
    font-size: 12px;
}

.catalog-section-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.catalog-section-count {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}

/* Хлебная крошка внутри раздела */
.catalog-crumbs {
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--muted);
}
.catalog-crumbs a { color: var(--nav-dark); text-decoration: none; }
.catalog-crumbs a:hover { text-decoration: underline; }

/* Адаптив: на узких экранах колонок меньше */
@media (max-width: 1200px) {
    .catalog-sections { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .catalog-sections { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .catalog-sections { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 420px) {
    .catalog-sections { grid-template-columns: 1fr; }
}

/* ============ Футер — прижат к блоку плиток ============ */
.site-footer {
    background: var(--dark);
    color: #aab3bd;
    padding: 36px 0 24px;
    font-size: 14px;
}
.site-footer h3 {
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.site-footer a { color: #aab3bd; text-decoration: none; }
.site-footer a:hover { color: var(--nav); }
.site-footer .footer-inner {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.site-footer .copyright {
    border-top: 1px solid #333c46;
    margin-top: 24px;
    padding-top: 16px;
    text-align: center;
    color: #77828d;
}

/* ============ Модальное окно заявки ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 26, 32, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
    background: var(--card);
    border-radius: 8px;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 28px 28px 24px;
    position: relative;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
}
.modal-close:hover { color: var(--dark); }
.modal-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.modal-tab {
    flex: 1;
    padding: 9px 8px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--muted);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.modal-tab.is-active {
    background: var(--nav);
    border-color: var(--nav);
    color: #fff;
}
.modal-title { font-size: 20px; margin-bottom: 16px; }
.modal-title::after { width: 44px; }
.modal-field { margin-bottom: 14px; }
.modal-field label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--dark);
}
.modal-field .req { color: #d64541; }
.modal-field input,
.modal-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font: inherit;
    background: #fff;
    color: var(--text);
}
.modal-field input:focus,
.modal-field textarea:focus {
    outline: none;
    border-color: var(--nav);
}
.modal-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
.modal-note {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
}
.modal-msg {
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 14px;
}
.modal-msg.is-ok { background: #e6f6ef; color: #1d7a4c; }
.modal-msg.is-err { background: #fdecec; color: #b02a2a; }
.modal-submit { width: 100%; }
body.modal-open { overflow: hidden; }

/* ============ Адаптивность ============ */
@media (max-width: 992px) {
    .features-list { grid-template-columns: repeat(2, 1fr); }
    .catalog-split-grid { grid-template-columns: 1fr; }
    .split-icon { width: 96px; height: 96px; }
}

@media (max-width: 768px) {
    h1 { font-size: 1.4rem; }
    .contacts-grid,
    .addr-grid { grid-template-columns: 1fr; }
    .header-inner { justify-content: center; }
}

@media (max-width: 576px) {
    .features-list { grid-template-columns: 1fr; }
}

/* ============ Страница «Запросы» ============ */
.requests-header {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
}

/* Фильтры */
.rq-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.rq-filter {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    background: var(--card);
    transition: background .2s, color .2s, border-color .2s;
}
.rq-filter:hover {
    border-color: var(--nav);
    color: var(--nav);
}
.rq-filter.is-active {
    background: var(--nav);
    border-color: var(--nav);
    color: #fff;
}
.rq-filter-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    margin-left: auto;
}

/* Список карточек */
.requests-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rq-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px 18px;
}
.rq-card--new {
    border-left: 4px solid #00aea0;
}
.rq-card-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.rq-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}
.rq-badge--callback { background: #e6f6ef; color: #1d7a4c; }
.rq-badge--question { background: #e8f0fe; color: #1a56b8; }
.rq-badge-new {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: #fff3d6;
    color: #9a6b00;
    padding: 3px 8px;
    border-radius: 10px;
}
.rq-date { font-size: 13px; color: var(--muted); }
.rq-done {
    margin-left: auto;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--muted);
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.rq-done:hover {
    border-color: #1d7a4c;
    color: #1d7a4c;
}
.rq-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}
.rq-contacts {
    font-size: 15px;
    margin-bottom: 10px;
}
.rq-contacts a {
    color: var(--nav);
    text-decoration: none;
    font-weight: 600;
}
.rq-contacts a:hover { text-decoration: underline; }
.rq-msg {
    background: var(--bg);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    margin-bottom: 10px;
    white-space: pre-line;
}
.rq-page {
    font-size: 13px;
    color: var(--muted);
    word-break: break-all;
}
.rq-page a { color: var(--nav); }

/* Пагинация */
.rq-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}
.rq-pagination a,
.rq-pagination span {
    min-width: 36px;
    text-align: center;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
}
.rq-pagination span {
    background: var(--nav);
    border-color: var(--nav);
    color: #fff;
    font-weight: 700;
}

/* Мобильная версия */
@media (max-width: 640px) {
    .rq-filter-label { margin-left: 0; width: 100%; }
    .rq-done { margin-left: 0; width: 100%; margin-top: 4px; }
}

/* ============ Кнопка авторизации в шапке ============ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Иконка входа/выхода — второстепенная пара к кнопке «Каталог» */
.btn-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 2px solid var(--nav);
    border-radius: 4px;
    color: var(--nav);
    background: transparent;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.btn-auth:hover {
    background: var(--nav);
    color: #ffffff;
}

/* ============ Страница авторизации /auth/ ============ */
.auth-lead {
    font-size: 16px;
    color: var(--text);
    max-width: 640px;
    margin-bottom: 24px;
}

.auth-error {
    background: #fdf1f1;
    border: 1px solid #e8b4b4;
    color: #a33838;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-weight: 700;
}

.auth-panel {
    max-width: 420px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 26px 28px;
}

.auth-field { margin-bottom: 16px; }
.auth-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.auth-field input[type="text"],
.auth-field input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: #ffffff;
}
.auth-field input:focus {
    outline: none;
    border-color: var(--nav);
}

.auth-remember { margin-bottom: 20px; font-size: 14px; }
.auth-remember input { margin-right: 6px; }

/* ============ Контакты шапки: гарантированно слева ============ */
/* Блочный поток с !important — работает поверх любых чужих правил
   и любой разметки: перенесённая строка всегда прижата к левому краю */
.topbar .topbar-contacts,
.topbar .container .topbar-contacts {
    display: block !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
}
.topbar .topbar-contacts a,
.topbar .topbar-contacts span,
.topbar .container .topbar-contacts a,
.topbar .container .topbar-contacts span {
    display: inline-block;
    margin: 0 18px 2px 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
}
/* Кнопки справа: соседний блок прижимается к правому краю контейнера */
.topbar .topbar-actions,
.topbar .container .topbar-actions {
    margin-left: auto !important;
}
/* ============ Страница «Новости» ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.news-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.news-card-img {
    display: block;
    background: var(--bg);
}
.news-card-img img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.news-card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-date {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}
.news-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
}
.news-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color .2s;
}
.news-card-title a:hover { color: var(--nav); }
.news-card-preview {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    flex: 1;
}
.news-card-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--nav);
    text-decoration: none;
    margin-top: auto;
}
.news-card-more:hover { text-decoration: underline; }

.news-detail-title {
    font-size: 26px;
    margin: 6px 0 16px;
}
.news-detail-img {
    display: block;
    max-width: 100%;
    border-radius: 8px;
    margin: 0 0 18px;
}
.news-detail-text {
    font-size: 15px;
    line-height: 1.65;
}
.news-detail-text img {
    max-width: 100%;
    height: auto;
}
.news-detail-text p { margin: 0 0 12px; }
.news-detail-text h2,
.news-detail-text h3 {
    margin: 20px 0 8px;
    font-size: 20px;
}
.news-detail-text a { color: var(--nav); }

/* ============ Страница «Спецтехника» ============ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.tech-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tech-card-img {
    display: block;
    background: var(--bg);
}
.tech-card-img img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.tech-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.tech-badge {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    background: #e8f0fe;
    color: #1a56b8;
    margin-bottom: 8px;
    white-space: nowrap;
}
.tech-name {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.3;
}
.tech-name a {
    color: var(--text);
    text-decoration: none;
    transition: color .2s;
}
.tech-name a:hover { color: var(--nav); }
.tech-desc {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    flex: 1;
}
.tech-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}
.tech-btn {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.tech-btn--callback {
    background: var(--nav);
    color: #fff;
}
.tech-btn--callback:hover { filter: brightness(1.08); }
.tech-btn--more {
    border: 1px solid var(--line);
    color: var(--muted);
}
.tech-btn--more:hover {
    border-color: var(--nav);
    color: var(--nav);
}

.tech-detail-title {
    font-size: 26px;
    margin: 6px 0 16px;
}
.tech-detail-img {
    display: block;
    max-width: 100%;
    border-radius: 8px;
    margin: 0 0 18px;
}
.tech-detail-text {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
}
.tech-detail-text img {
    max-width: 100%;
    height: auto;
}
.tech-detail-text p { margin: 0 0 12px; }
.tech-detail-text h2,
.tech-detail-text h3 {
    margin: 20px 0 8px;
    font-size: 20px;
}
.tech-back {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--nav);
    text-decoration: none;
    font-size: 14px;
}
.tech-back:hover { text-decoration: underline; }

/* Мобильная версия новостей и техники */
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-detail-title { font-size: 22px; }
}
@media (max-width: 980px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .tech-grid { grid-template-columns: 1fr; }
    .tech-detail-title { font-size: 22px; }
    .tech-actions { flex-direction: column; }
    .tech-btn { text-align: center; }
}
/* ============ Спецтехника: карточка с фото слева ============ */
/* Двухколоночная компоновка детальной страницы: фото слева,
   описание и кнопка «Заказать звонок» справа */
.tech-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 20px;
}

.tech-detail-photo {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    overflow: hidden;
}
.tech-detail-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.tech-detail-body {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px 26px;
}
.tech-detail-body .tech-detail-text { margin-bottom: 16px; }

/* На узких экранах колонки складываются: фото сверху, описание под ним */
@media (max-width: 860px) {
    .tech-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* ============ Наличие товара в каталоге ============ */
/* «В наличии» — зелёный; «Под заказ» — жёлтый */
.catalog-item-stock {
    align-self: flex-start;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}
.catalog-item-stock.stock-in {
    background: #e6f6ef;
    color: #1d7a4c;
}
.catalog-item-stock.stock-out {
    background: #fff3d6;
    color: #9a6b00;
}
/* ============ Каталог: детальная карточка товара ============ */
/* Фото слева, наличие и описание справа — как на «Спецтехнике» */
.catalog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 20px;
}

.catalog-detail-photo {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    overflow: hidden;
}
.catalog-detail-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.catalog-detail-body {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px 26px;
}
.catalog-detail-stock { margin-bottom: 12px; }
.catalog-detail-stock .catalog-item-stock {
    font-size: 14px;
    padding: 5px 14px;
}
.catalog-detail-price { font-size: 22px; margin-bottom: 14px; }

/* На узких экранах колонки складываются: фото сверху, описание под ним */
@media (max-width: 860px) {
    .catalog-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* ============ Детальная карточка: бейдж и цена под фото ============ */
/* Колонка фото: мета-блок (наличие и цена) идёт сразу под снимком */
.catalog-detail-col {
    min-width: 0;
}
.catalog-detail-meta {
    /* Столбец: остаток сверху, цена строго под ним */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 12px;
}

/* ============ Личный кабинет (/cabinet/) ============ */
.cab-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .cab-layout { grid-template-columns: 1fr; }
}

.cab-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 16px;
}
.cab-panel h2 { font-size: 1.15rem; margin-bottom: 12px; }

/* Приветствие */
.cab-user {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cab-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--nav);
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.cab-user-name { font-weight: 700; font-size: 1.05rem; }
.cab-user-role { color: var(--muted); font-size: 13px; }
.cab-logout {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
}
.cab-logout:hover { color: #b3261e; }

/* Профиль */
.cab-profile dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    font-size: 14px;
    margin: 0;
}
.cab-profile dt { color: var(--muted); white-space: nowrap; }
.cab-profile dd { margin: 0; word-break: break-word; }

/* Сводка по заявкам */
.cab-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.cab-stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 14px;
    text-align: center;
}
.cab-stat b { display: block; font-size: 1.7rem; color: var(--dark); }
.cab-stat span { color: var(--muted); font-size: 13px; }
.cab-stat--accent b { color: var(--nav-dark); }

/* Заявки в кабинете */
.cab-req {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 10px;
}
.cab-req-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.cab-req-type {
    font-size: 12px;
    font-weight: 700;
    color: var(--nav-dark);
    text-transform: uppercase;
    letter-spacing: .4px;
}
.cab-badge-new {
    background: #fdecea;
    color: #b3261e;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}
.cab-req-date { color: var(--muted); font-size: 13px; margin-left: auto; }
.cab-req-name { font-weight: 700; margin-bottom: 2px; }
.cab-req-contacts { font-size: 14px; margin-bottom: 4px; }
.cab-req-msg { font-size: 14px; }
.cab-note { color: var(--muted); font-size: 14px; }

/* Команда (РОП) */
.cab-team-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.cab-team-table th,
.cab-team-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
}
.cab-team-table th {
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.cab-team-table tr:last-child td { border-bottom: none; }

/* End */
/* /local/templates/simple_sky/components/bitrix/menu/simple_sky/style.css?1796270954905 */
/* /local/templates/simple_sky/styles.css?1796264840150 */
/* /local/templates/simple_sky/template_styles.css?179637688133610 */
