/* Страница аренды автокранов — черновик */
:root {
    --ak-accent: #ff6f3c;
    --ak-accent-dark: #ff4909;
    --ak-dark: #1a1a1a;
    --ak-gray-bg: #f5f5f5;
    --ak-border: #e0e0e0;
    --ak-text: #333333;
    --ak-text-light: #666666;
    --ak-radius: 8px;
    --ak-container: 1200px;
}

/* ======= Layout override: убираем сайдбар, растягиваем контент ======= */
.intec-content.intec-content-visible > .intec-content-wrapper > .intec-content-left { display: none !important; }
.intec-content.intec-content-visible > .intec-content-wrapper > .intec-content-right {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.intec-content.intec-content-visible > .intec-content-wrapper { max-width: 100% !important; padding: 0 !important; }

/* ======= Общие элементы ======= */
.ak-section {
    padding: 60px 0;
}
.ak-section--gray {
    background: var(--ak-gray-bg);
}
.ak-section--dark {
    background: var(--ak-dark);
    color: #fff;
}
.ak-container {
    max-width: var(--ak-container);
    margin: 0 auto;
    padding: 0 20px;
}
.ak-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ak-dark);
    margin: 0 0 24px;
    line-height: 1.3;
}
.ak-section-title--white { color: #fff; }
.ak-section-lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ak-text);
    margin: 0 0 32px;
}

/* ======= Hero ======= */
.ak-hero {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 32px;
}
.ak-hero-left { flex: 1 1 0; }
.ak-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ak-text);
    margin: 0 0 24px;
}
.ak-hero-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ak-hero-benefits li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ak-text);
    padding-left: 24px;
    position: relative;
}
.ak-hero-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23ff6f3c'/%3E%3Cpath d='M4.5 8.5l2 2 5-5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
}
.ak-hero-aside {
    flex: 0 0 360px;
    background: #fff;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.ak-hero-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--ak-dark);
    margin: 0 0 12px;
}
.ak-hero-aside-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ak-text-light);
    margin: 0 0 20px;
}
.ak-hero-services {
    background: #fff;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius);
    padding: 24px 28px;
    margin-bottom: 16px;
}
.ak-hero-services p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ak-text);
    margin: 0;
}
.ak-hero-cta-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ak-text-light);
    margin: 0;
}

/* ======= Кнопки ======= */
.ak-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--ak-accent);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1.4;
}
.ak-btn:hover { background: var(--ak-accent-dark); color: #fff !important; }
.ak-btn--outline {
    background: transparent;
    border: 2px solid var(--ak-accent);
    color: var(--ak-accent) !important;
}
.ak-btn--outline:hover { background: var(--ak-accent); color: #fff !important; }
.ak-btn--white {
    background: #fff;
    color: var(--ak-dark) !important;
}
.ak-btn--white:hover { background: #f0f0f0; }

/* ======= Каталог кранов ======= */
.ak-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ak-crane-card {
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius);
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.ak-crane-card-head {
    background: var(--ak-accent);
    color: #fff;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    padding: 20px 16px;
    line-height: 1;
}
.ak-crane-card-body {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ak-crane-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--ak-dark);
    margin: 0 0 6px;
}
.ak-crane-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ak-dark);
    margin: 0 0 12px;
}
.ak-crane-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex: 1;
}
.ak-crane-specs li {
    font-size: 13px;
    color: var(--ak-text-light);
    padding: 3px 0 3px 14px;
    position: relative;
    border-top: 1px solid #f0f0f0;
    line-height: 1.4;
}
.ak-crane-specs li:first-child { border-top: none; }
.ak-crane-specs li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--ak-border);
}
.ak-catalog-empty {
    text-align: center;
    padding: 40px;
    color: var(--ak-text-light);
    grid-column: 1/-1;
}

/* ======= Для каких работ ======= */
.ak-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ak-work-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ak-dark);
    margin: 0 0 10px;
}
.ak-work-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ak-text-light);
    margin: 0;
}

/* ======= Почему выгодно ======= */
.ak-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.ak-tag {
    display: inline-block;
    padding: 10px 18px;
    background: var(--ak-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
}
.ak-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ak-advantage-card {
    background: #fff;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius);
    padding: 24px;
}
.ak-advantage-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ak-accent);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.ak-advantage-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ak-dark);
    margin: 0 0 10px;
}
.ak-advantage-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ak-text-light);
    margin: 0;
}

/* ======= Аккордеон ======= */
.ak-accordion { border: 1px solid var(--ak-border); border-radius: var(--ak-radius); overflow: hidden; }
.ak-accordion-item { border-bottom: 1px solid var(--ak-border); }
.ak-accordion-item:last-child { border-bottom: none; }
.ak-accordion-trigger {
    width: 100%;
    background: #fff;
    border: none;
    padding: 18px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--ak-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background 0.2s;
}
.ak-accordion-trigger:hover { background: #fafafa; }
.ak-accordion-trigger.is-open { background: #fafafa; color: var(--ak-accent); }
.ak-accordion-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s;
}
.ak-accordion-icon::before,
.ak-accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--ak-accent);
    border-radius: 2px;
}
.ak-accordion-icon::before { width: 12px; height: 2px; top: 9px; left: 4px; }
.ak-accordion-icon::after { width: 2px; height: 12px; top: 4px; left: 9px; transition: opacity 0.3s; }
.ak-accordion-trigger.is-open .ak-accordion-icon::after { opacity: 0; }
.ak-accordion-body {
    display: none;
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ak-text);
}
.ak-accordion-body.is-open { display: block; }
.ak-accordion-body ul { padding-left: 20px; margin: 8px 0 0; }
.ak-accordion-body li { margin-bottom: 4px; }

/* ======= Таблицы ======= */
.ak-table-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ak-dark);
    margin: 0 0 16px;
}
.ak-table-wrap { overflow-x: auto; margin-bottom: 40px; }
.ak-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.ak-table th {
    background: var(--ak-dark);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.ak-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--ak-border);
    color: var(--ak-text);
    vertical-align: top;
}
.ak-table tr:last-child td { border-bottom: none; }
.ak-table tr:nth-child(even) td { background: #fafafa; }
.ak-table td:first-child { font-weight: 600; white-space: nowrap; }

/* ======= Чек-лист ======= */
.ak-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
}
.ak-checklist li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ak-text);
    padding-left: 22px;
    position: relative;
}
.ak-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ak-accent);
    font-weight: 700;
}
.ak-checklist strong { color: var(--ak-dark); }

/* ======= Как выбрать ======= */
.ak-select-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ak-text);
    margin: 0 0 32px;
}

/* ======= География ======= */
.ak-geo-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ak-text);
    margin: 0 0 28px;
}
.ak-cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 20px;
}
.ak-cities-grid span {
    font-size: 14px;
    color: var(--ak-text);
    padding: 4px 0;
}
.ak-city-main {
    font-weight: 700;
    color: var(--ak-accent) !important;
}

/* ======= Цены ======= */
.ak-prices-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ak-text);
    margin: 0 0 28px;
}
.ak-prices-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}
.ak-prices-info-block h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ak-dark);
    margin: 0 0 12px;
}
.ak-prices-info-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ak-prices-info-block li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ak-text);
    padding: 6px 0 6px 22px;
    border-bottom: 1px solid var(--ak-border);
    position: relative;
}
.ak-prices-info-block li:last-child { border-bottom: none; }
.ak-prices-info-block li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--ak-accent);
}
.ak-prices-info-block p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ak-text);
    margin: 0;
}

/* ======= Как заказать ======= */
.ak-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}
.ak-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius);
    padding: 20px 24px;
}
.ak-step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ak-accent);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ak-step-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ak-dark);
    margin: 0 0 8px;
}
.ak-step-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ak-text-light);
    margin: 0;
}
.ak-cta-block {
    background: var(--ak-dark);
    border-radius: var(--ak-radius);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.ak-cta-block-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.ak-cta-block-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
    margin: 0 0 14px;
}
.ak-cta-block-contacts {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.ak-cta-block-contacts a {
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
}
.ak-cta-block-contacts a:hover { color: #fff; }
.ak-cta-block-contacts strong { color: #fff; }

/* ======= FAQ ======= */
.ak-faq-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ak-text);
    margin: 0 0 24px;
}
.ak-faq .ak-accordion-trigger { font-size: 15px; font-weight: 500; }

/* ======= Адаптив ======= */
@media (max-width: 1024px) {
    .ak-catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .ak-works-grid { grid-template-columns: repeat(2, 1fr); }
    .ak-advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .ak-cities-grid { grid-template-columns: repeat(3, 1fr); }
    .ak-prices-info { grid-template-columns: 1fr; }
    .ak-cta-block { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
    .ak-section { padding: 40px 0; }
    .ak-section-title { font-size: 22px; }
    .ak-hero { flex-direction: column; }
    .ak-hero-aside { flex: none; width: 100%; }
    .ak-hero-benefits { grid-template-columns: 1fr; }
    .ak-catalog-grid { grid-template-columns: 1fr; }
    .ak-works-grid { grid-template-columns: 1fr; }
    .ak-advantages-grid { grid-template-columns: 1fr; }
    .ak-checklist { grid-template-columns: 1fr; }
    .ak-cities-grid { grid-template-columns: repeat(2, 1fr); }
    .ak-cta-block { padding: 24px 20px; }
    .ak-step { flex-direction: column; }
}

/* ======= Каталог-виджет (bitrix:catalog) ======= */

.ak-catalog-wrapper {
    width: 100%;
    max-width: 100%;
}

/*
 * RESTORE float-layout: фильтр слева (float:left 260px), карточки справа (margin-left 290px).
 * Глобальный suppress — 3 класса. Правила ниже — 4+ класса → выигрывают.
 */
.ak-catalog-wrapper .intec-content.intec-content-visible > .intec-content-wrapper > .intec-content-left {
    display: block !important;
    float: left !important;
    width: 260px !important;
}
.ak-catalog-wrapper .intec-content.intec-content-visible > .intec-content-wrapper > .intec-content-right {
    width: auto !important;
    max-width: none !important;
    margin-left: 290px !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}
.ak-catalog-wrapper .intec-content.intec-content-visible > .intec-content-wrapper {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Карточка крана: область фото — фиксированная высота вместо padding-top:100% */
.ak-catalog-wrapper .catalog-section-element .element-img-wrap {
    padding-top: 0 !important;
    height: 190px !important;
    overflow: hidden !important;
    background: none !important;
}
/* intec-aligner — inline-block height:100% сдвигает img вниз, скрываем */
.ak-catalog-wrapper .catalog-section-element .intec-aligner {
    display: none !important;
}
/* img абсолютно заполняет .element-img (уже position:absolute; top:0; width:100%; height:100%) */
.ak-catalog-wrapper .catalog-section-element .element-img img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
}

/* Отступ под заголовком секции перед каталогом */
#ak-catalog .ak-container {
    margin-bottom: 24px;
}

/* Grid карточек: flexbox, равная высота в ряду */
.ak-catalog-wrapper .intec-catalog-section-tile [data-entity] {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 20px !important;
    margin: 0 !important;
}
.ak-catalog-wrapper .catalog-section-element {
    float: none !important;
    width: calc(33.333% - 14px) !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Карточка: внешний контейнер — растягивается на всю высоту ряда */
.ak-catalog-wrapper .element-wrap {
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius);
    overflow: hidden;
    background: #fff;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 0 !important;
}

/* Тело карточки */
.ak-catalog-wrapper .element-description {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 18px;
    gap: 6px;
}

/* Цена — первая, крупная, тёмная */
.ak-catalog-wrapper .ak-card-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--ak-dark);
    line-height: 1.2;
}

/* Название */
.ak-catalog-wrapper .element-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--ak-dark);
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 4px;
}
.ak-catalog-wrapper .element-name:hover { color: var(--ak-accent); }

/* Список свойств — bullet-стиль как в Figma */
.ak-catalog-wrapper .ak-props-list {
    list-style: disc;
    padding-left: 16px;
    margin: 0;
    flex: 1;
    font-size: 13px;
    color: var(--ak-text);
    line-height: 1.5;
}
.ak-catalog-wrapper .ak-prop-item {
    padding: 1px 0;
}

/* Кнопка «Заказать» — оранжевая заливка */
.ak-catalog-wrapper .ak-btn--card {
    display: inline-block !important;
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: var(--ak-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s;
}
.ak-catalog-wrapper .ak-btn--card:hover {
    background: var(--ak-accent-dark) !important;
    color: #fff !important;
}

/* ======= Фильтр-сайдбар ======= */

.ak-catalog-wrapper .intec-content-left {
    padding-right: 20px;
    box-sizing: border-box;
}

.ak-catalog-wrapper .intec-content {
    overflow: visible;
}
.ak-catalog-wrapper .intec-content-wrapper {
    overflow: hidden;
}

/* Контейнер фильтра */
.ak-catalog-wrapper .intec-section-filter-left {
    background: #fff;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius);
    overflow: hidden;
}

/* Заголовок «Фильтр» */
.ak-catalog-wrapper .bx-filter .bx-filter-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--ak-dark) !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--ak-border);
    background: var(--ak-gray-bg);
}

/* Группа фильтра */
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box {
    padding: 10px 16px 12px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

/* Заголовок группы */
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--ak-dark) !important;
}

/* Чекбокс: скрываем нативный элемент */
.ak-catalog-wrapper .bx-filter-input-checkbox input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* fake-checkbox: квадратик */
.ak-catalog-wrapper .bx-filter-input-checkbox .fake-checkbox {
    display: inline-block !important;
    width: 23px !important;
    height: 23px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background: #fff !important;
    flex-shrink: 0 !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
    position: relative !important;
    transition: border-color 0.15s, background 0.15s !important;
}

/* fake-checkbox при активном чекбоксе: галочка через SVG */
.ak-catalog-wrapper .bx-filter-input-checkbox input[type="checkbox"]:checked + .fake-checkbox {
    background: #fff url(/images/check.svg) center / cover !important;
    border: #fab80f solid 1px !important;
}

/* Текст рядом с чекбоксом */
.ak-catalog-wrapper .bx-filter-input-checkbox .bx-filter-param-text {
    vertical-align: middle !important;
    font-size: 13px !important;
    color: var(--ak-text) !important;
}

/* label — flex для выравнивания */
.ak-catalog-wrapper .bx-filter-param-label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    padding: 3px 0 !important;
}
.ak-catalog-wrapper .bx-filter-input-checkbox {
    display: flex !important;
    align-items: center !important;
}

/* Кнопки фильтра — в одну строку */
.ak-catalog-wrapper .bx-filter .bx-filter-result {
    padding: 12px 16px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-container {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
}
.ak-catalog-wrapper .bx-filter .bx-filter-button-box .bx-filter-parameters-box-container {
    justify-content: center !important;
    flex-direction: row !important;
}
.ak-catalog-wrapper .bx-filter .bx-filter-button-box {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.ak-catalog-wrapper .bx-filter .bx-filter-result .btn,
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-container .btn {
    flex: 1 !important;
    font-size: 13px !important;
    border-radius: var(--ak-radius) !important;
    text-align: center !important;
    padding: 7px 10px !important;
    width: auto !important;
}
.ak-catalog-wrapper .bx-filter .bx-filter-result .btn-primary,
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-container .btn-primary,
.ak-catalog-wrapper .bx-filter .bx-filter-result input[type="submit"],
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-container input[type="submit"] {
    background: var(--ak-accent) !important;
    border-color: var(--ak-accent) !important;
    color: #fff !important;
}
.ak-catalog-wrapper .bx-filter .bx-filter-result .btn-default,
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-container .btn-default,
.ak-catalog-wrapper .bx-filter .bx-filter-result input[type="reset"],
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-container input[type="reset"],
.ak-catalog-wrapper .bx-filter .bx-filter-result a.btn,
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-container a.btn {
    background: #fff !important;
    border-color: var(--ak-border) !important;
    color: var(--ak-text) !important;
}

/* modef скрыт — авто-применение фильтра через JS */
.ak-catalog-wrapper .bx-filter .bx-filter-popup-result {
    display: none !important;
    visibility: hidden !important;
}

/* Быстрые ссылки — переносятся JS внутрь .intec-content, выравниваются по нему */
.ak-catalog-wrapper .ak-section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0;
}

/* Скрываем дублирующий текстовый список категорий из шаблона bitrix */
.ak-catalog-wrapper .intec-section-list {
    display: none !important;
}
.ak-catalog-wrapper .ak-section-tab {
    display: inline-block;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid var(--ak-border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--ak-dark);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.ak-catalog-wrapper .ak-section-tab:hover {
    border-color: var(--ak-accent);
    color: var(--ak-accent);
}

/* Clearfix для float-layout */
.ak-catalog-wrapper .intec-content-wrapper::after {
    content: '';
    display: table;
    clear: both;
}

/* Фильтр: элементы выровнены по левому краю */
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-list {
    text-align: left !important;
}
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-list li,
.ak-catalog-wrapper .bx-filter .bx-filter-parameters-box-list label {
    text-align: left !important;
    display: block !important;
}

/* ======= Адаптив каталога ======= */

/* Планшет: 2 карточки в ряд */
@media (max-width: 1024px) {
    .ak-catalog-wrapper .catalog-section-element {
        width: calc(50% - 10px) !important;
    }
}

/* Мобильный: сброс float-layout, 1 карточка в ряд */
@media (max-width: 767px) {
    .ak-catalog-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
    .ak-catalog-wrapper .intec-content.intec-content-visible > .intec-content-wrapper > .intec-content-left {
        display: none !important;
    }
    .ak-catalog-wrapper .intec-content.intec-content-visible > .intec-content-wrapper > .intec-content-right {
        margin-left: 0 !important;
        width: 100% !important;
    }
    .ak-catalog-wrapper .catalog-section-element {
        width: 100% !important;
    }
    .ak-catalog-wrapper .intec-catalog-section-tile [data-entity] {
        gap: 12px !important;
    }
}
