/* catalog.css — full restored + mobile filter icon + floating header + mobile search + desktop subsections fix */

.catalog-shell--with-filter { display: flex; flex-direction: column; gap: 0; max-width: var(--container-width, 1470px); margin: 0 auto; padding: 0 20px; box-sizing: border-box; border-top: none; }

/* Topbar */
/* Topbar: длинный H1 переносится на несколько строк, сортировка при нехватке
   ширины уходит на новую строку (flex-wrap), H1 не наезжает на toolbar.
   top-row растягивается (flex:1), min-width:0 позволяет перенос текста. */
.catalog-shell__top-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 12px; width: 100%; }
.catalog-shell__top-row { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; flex: 1 1 auto; min-width: 0; }
.catalog-shell__title { font-size: 28px; font-weight: 300; color: #222; margin: 0; line-height: 1.25; min-width: 0; overflow-wrap: break-word; }
.catalog-shell__results-count { font-size: 13px; color: #bbb; font-weight: 400; flex-shrink: 0; }
.catalog-shell__toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 0 0 auto; min-width: 0; max-width: 100%; margin-left: auto; }
.catalog-shell__toolbar-form { margin: 0; display: flex; align-items: center; gap: 6px; }
.catalog-shell__toolbar-label { font-size: 12px; color: #bbb; font-weight: 400; line-height: 1; }
.catalog-shell__toolbar-select { border: 1px solid #e8e8e8; border-radius: 6px; padding: 4px 30px 4px 10px; font-size: 13px; font-weight: 400; color: #888; background: #fff; cursor: pointer; outline: none; line-height: 1.2; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ccc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; }
.catalog-shell__inner { display: flex; flex-direction: row; align-items: flex-start; gap: 0; width: 100%; }

/* Sidebar */
.catalog-shell__sidebar { display: block !important; flex: 0 0 280px; width: 280px; min-width: 280px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; overflow-x: hidden; background: transparent; border: none; border-right: 1px solid #eee; padding: 0 24px 0 0; margin-right: 32px; box-sizing: border-box; align-self: flex-start; }
.catalog-shell__sidebar::-webkit-scrollbar { width: 4px; }
.catalog-shell__sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Filter desktop */
.catalog-filter { border: none !important; border-radius: 0 !important; background: transparent !important; overflow: visible !important; }
.catalog-filter__head { margin-bottom: 16px; padding-bottom: 0; border: none !important; }
.catalog-filter__title { font-size: 20px; font-weight: 600; color: #222; }
.catalog-filter__block { margin-bottom: 0; border: none; padding: 8px 0; }
.catalog-filter__block-title { font-size: 16px; font-weight: 400; color: #444; padding: 0; margin-bottom: 6px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; user-select: none; }
.catalog-filter__arrow { transition: transform 0.2s; margin-right: 4px; color: #ccc; }
.catalog-filter__block-title--open .catalog-filter__arrow { transform: rotate(180deg); }
.catalog-filter__block-body { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.catalog-filter__label { display: flex !important; align-items: center; gap: 6px; font-size: 14px; font-weight: 400 !important; color: #555; cursor: pointer; padding: 3px 0; }
.catalog-filter__checkbox:checked ~ .catalog-filter__label-text { font-weight: 500; color: #111; }
.catalog-filter__label-text { font-weight: 400 !important; color: #555; }
.catalog-filter__label-count { color: #ddd; font-size: 12px; margin-left: 2px; font-weight: 400 !important; }
.catalog-filter__checkmark { width: 16px; height: 16px; flex: 0 0 16px; border: 1px solid #e0e0e0; border-radius: 3px; background: #fff; display: flex; align-items: center; justify-content: center; }
.catalog-filter__checkbox:checked + .catalog-filter__checkmark { border-color: #333; background: #333; }
.catalog-filter__actions { display: flex; gap: 8px; margin-top: 16px; padding-bottom: 0; }
.catalog-filter__btn { flex: 1; padding: 8px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; border: 1px solid #e0e0e0; background: #fff; color: #666; cursor: pointer; text-align: center; }
.catalog-filter__btn--apply { background: #30343a; color: #fff; border-color: #30343a; }
.catalog-filter__btn--apply:hover { background: #3a3f46; }
.catalog-filter__btn--apply:active { background: #272b31; border-color: #272b31; }
.catalog-filter__btn--reset:hover { background: #f5f5f5; color: #222; }

/* Desktop: hide mobile-only elements */
.catalog-filter__toggle { display: none !important; }
.catalog-filter__close { display: none !important; }

/* Main & Grid */
.catalog-shell__main { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.catalog-shell__main > * { width: 100%; }
.catalog-grid-banner { position: relative; background: #f5f5f5; border-radius: 8px; overflow: hidden; height: 100%; }
.catalog-items-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: start; }
/* Заголовки recommendation-блоков («Популярные в разделе» / «Просматривали») на карточке товара */
.catalog-block-header { font-size: 16px; font-weight: 600; text-align: left; margin: 30px 0 16px; padding: 0 0 8px; border-bottom: 2px solid #d9dee6; color: #30343a; }

/* Product card */
.catalog-item { display: flex; flex-direction: column; background: #fff !important; border: none !important; border-radius: 8px; overflow: hidden; position: relative; transition: box-shadow 0.2s; min-width: 0; }
.catalog-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important; }
.catalog-item__img-wrap { position: relative; width: 100%; padding-top: 85%; overflow: hidden; border-radius: 8px; background: none; }
.catalog-item__img-link { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.catalog-item__img-link picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.catalog-item__img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; transition: transform 0.3s; padding: 4px; box-sizing: border-box; }
.catalog-item:hover .catalog-item__img { transform: scale(1.04); }
.catalog-item__badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 4px; z-index: 2; }
.catalog-item__badge--hit { background: #e74c3c; color: #fff; }
.catalog-item__badge--new { background: #2ecc71; color: #fff; }
.catalog-item__badge--discount { background: #f39c12; color: #fff; right: 8px; left: auto; }
.catalog-item__body { padding: 6px 4px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; text-align: center; }
.product-card__brand { font-size: 12px; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1px; text-align: center; }
.catalog-item__name { font-size: 14px; font-weight: 400; color: #333; text-decoration: none; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.catalog-item__meta { margin-top: 2px; display: flex; justify-content: center; width: 100%; }
.catalog-item__stock { font-size: 10px; color: #5a9e5a; font-weight: 400; text-align: center; }
.catalog-item__stock--empty { color: #ccc; }
.catalog-item__price-row { display: flex; align-items: baseline; justify-content: center; gap: 3px; margin-top: 0; width: 100%; }
.catalog-item__price { font-size: 16px; font-weight: 700; color: #222; }
.catalog-item__price-old { font-size: 13px; color: #bbb; text-decoration: line-through; font-weight: 400; }
.catalog-item { overflow: visible; }
.catalog-item__cta-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; padding: 0; background: #fff; border-radius: 0 0 8px 8px; transform: translateY(100%); opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease; pointer-events: none; }
.catalog-item:hover .catalog-item__cta-wrap { transform: translateY(0); opacity: 1; pointer-events: auto; }
.catalog-item__cta { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; padding: 0 12px; background: #30343a; color: #fff; border: none; font-size: 14px; font-weight: 600; cursor: pointer; }
.catalog-item__cta:hover { background: #3a3f46; }
.catalog-item__cta--unavailable { background: #f5f5f5; color: #bbb; cursor: default; pointer-events: none; }

/* Applied filters (chips) */
.catalog-applied-filters--empty {
    display: none;
}
.catalog-applied-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
    margin-bottom: 12px;
    width: 100%;
}
.catalog-applied-filters__label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
}
.catalog-applied-filters__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.catalog-applied-filters__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
}
.catalog-applied-filters__chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    text-decoration: none;
    color: #999;
    font-size: 16px;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.catalog-applied-filters__chip-remove:hover {
    color: #e53935;
}
.catalog-applied-filters__chip-remove:active,
.catalog-applied-filters__chip-remove:focus,
.catalog-applied-filters__chip-remove:visited {
    background: transparent;
    color: #999;
    outline: none;
    text-decoration: none;
}
.catalog-applied-filters__reset {
    font-size: 13px;
    color: #e53935;
    text-decoration: none;
    margin-left: 4px;
    flex-shrink: 0;
}
.catalog-applied-filters__reset:hover {
    text-decoration: underline;
}

/* Load more */
.catalog-pagination { display: none !important; }
.catalog-load-more { display: flex; justify-content: center; margin-top: 40px; margin-bottom: 24px; }
.catalog-load-more.is-hidden { display: none !important; }
.catalog-load-more__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 280px; height: 50px; padding: 0 40px; background: #fff; color: #222; border: 2px solid #222; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; }
.catalog-load-more__btn:hover { background: #222; color: #fff; }

/* Adaptive */
@media (max-width: 767px) { html { overflow-x: hidden; } body { overflow-x: hidden; } .catalog-items-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 1199px) { .catalog-items-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } .catalog-shell__sidebar { padding: 0 16px 0 0; margin-right: 20px; } }

/* Desktop subsections — vertical stack with card-style frames */
@media (min-width: 992px) {
    .catalog-shell__sidebar .catalog-sections-grid--flat {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 24px;
        padding: 0;
    }
    .catalog-shell__sidebar .catalog-sections-link-wrap { display: block; }
    .catalog-shell__sidebar .catalog-sections-link {
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
        padding: 10px 14px;
        font-size: 14px;
        line-height: 1.4;
        color: #444;
        text-decoration: none;
        text-align: left;
        border: 1px solid #e5e5e5;
        border-radius: 6px;
        background: #fff;
        min-height: 0;
        width: auto;
        margin: 0;
        transition: border-color 0.15s, background 0.15s;
    }
    .catalog-shell__sidebar .catalog-sections-link:hover {
        border-color: #ccc;
        background: #fafafa;
        color: #222;
    }
    .catalog-shell__sidebar .catalog-sections-link__count {
        color: #bbb;
        font-size: 12px;
        margin-left: 6px;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ===== MOBILE 991 ===== */
@media (max-width: 991px) {
    .catalog-shell--with-filter { padding: 0 12px !important; }
    .catalog-shell__inner { flex-direction: column !important; }
    .catalog-items-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .catalog-item__img-wrap { padding-top: 75%; }
    .catalog-item__name { font-size: 12px; -webkit-line-clamp: 2; }
    .catalog-item__price { font-size: 14px; }
    .catalog-item__stock { font-size: 10px; }
    .product-card__brand { font-size: 10px; }
    .catalog-item__fav { width: 28px; height: 28px; top: 4px; left: 4px; }
    .catalog-item__fav svg { width: 16px; height: 16px; }
    .catalog-item__cta-wrap { position: relative !important; transform: translateY(0) !important; opacity: 1 !important; pointer-events: auto !important; box-shadow: none !important; padding: 4px 8px 8px !important; }
    .catalog-item__cta { height: 36px !important; font-size: 12px !important; border-radius: 6px !important; }
    .catalog-shell__top-bar { flex-wrap: wrap; gap: 4px 0; justify-content: flex-start; align-items: center; margin-bottom: 8px; width: 100%; }
    .catalog-shell__top-row { width: 100%; flex-shrink: 1; }
    .catalog-shell__title { font-size: 20px; }
    .catalog-shell__results-count { font-size: 12px; }
    .catalog-shell__toolbar-label { display: none; }
    .catalog-shell__toolbar-select { padding: 4px 24px 4px 8px; font-size: 12px; }
    .catalog-shell__main { width: 100%; min-width: 0; overflow: hidden; }
    .catalog-section { width: 100%; min-width: 0; }

    /* Sidebar overlay for mobile filter */
    .catalog-shell__sidebar { display: none !important; width: 0 !important; min-width: 0 !important; flex: 0 !important; padding: 0 !important; margin: 0 !important; border: none !important; }
    .catalog-shell__sidebar.is-open { display: flex !important; flex-direction: column; width: 100% !important; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999; max-height: 100vh; overflow-y: auto; background: #fff; padding: 0; }

    /* Mobile filter toggle — inline button in top-bar, aligns with sort */
    .catalog-filter__toggle { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; background: #f5f5f5; color: #444; border: 1px solid #e0e0e0; border-radius: 6px; cursor: pointer; margin: 0; flex-shrink: 0; font-size: 14px; transition: border-color 0.2s, background 0.2s; }
    .catalog-filter__toggle:hover { border-color: #ccc; background: #ebebeb; }
    .catalog-filter__toggle svg { width: 16px; height: 16px; }
    .catalog-filter__close { display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; border: none; background: #f5f5f5; border-radius: 50%; cursor: pointer; color: #666; flex-shrink: 0; transition: background 0.2s; }
    .catalog-filter__close:hover { background: #e8e8e8; }
    .catalog-filter__close svg { width: 18px; height: 18px; }

    /* Mobile toolbar: sort + filter in one row — прижат вправо */
    .catalog-shell__toolbar { display: flex; align-items: center; align-self: center; gap: 6px; flex: 0 0 auto; width: auto; min-width: 0; max-width: none; margin-left: auto; margin-bottom: 0; height: 36px; }
    .catalog-shell__toolbar-form { display: inline-flex; align-items: center; gap: 6px; }
    .catalog-shell__toolbar-select { max-width: 140px; height: 36px; min-height: 36px; padding: 0 24px 0 8px; font-size: 14px; line-height: 1; box-sizing: border-box; }

    /* Mobile filter header */
    .catalog-filter__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #f0f0f0; position: sticky; top: 0; background: #fff; z-index: 2; margin-bottom: 0; }
    .catalog-filter__head span.catalog-filter__title { font-size: 16px; font-weight: 600; }
    .catalog-filter__block-title { padding: 14px 20px; font-size: 15px; font-weight: 500; margin-bottom: 0; }
    .catalog-filter__block-body { padding: 0 20px; max-height: none; }
    .catalog-filter__block { padding: 4px 0; }
    .catalog-filter__actions { padding: 14px 20px 20px; flex-direction: row; gap: 10px; position: sticky; bottom: 0; background: #fff; border-top: 1px solid #f0f0f0; margin-top: 0; }
    .catalog-filter__btn--apply { flex: 2; background: #30343a; color: #fff; font-weight: 600; border-color: #30343a; }
    .catalog-filter__btn--reset { flex: 1; background: #f5f5f5; color: #555; border: 1px solid #e0e0e0; }

    /* Mobile subcategories — vertical column, centered cards */
    .catalog-shell__sidebar-sections { width: 100%; }
    .catalog-shell__sidebar-sections .catalog-sections-grid--flat { display: flex !important; flex-direction: column; align-items: center; gap: 4px; padding: 12px 20px; margin: 0; width: 100%; box-sizing: border-box; }
    .catalog-shell__sidebar-sections .catalog-sections-link-wrap { display: block; width: 100%; max-width: 320px; }
    .catalog-shell__sidebar-sections .catalog-sections-link { display: flex !important; justify-content: center; align-items: center; gap: 4px; padding: 10px 16px !important; font-size: 14px !important; line-height: 1.4; color: #444; text-decoration: none; border: 1px solid #e5e5e5; border-radius: 6px; background: #fff; width: 100%; min-height: 0; margin: 0; box-sizing: border-box; transition: border-color 0.15s, background 0.15s; }
    .catalog-shell__sidebar-sections .catalog-sections-link:hover { border-color: #ccc; background: #fafafa; color: #222; }
    .catalog-shell__sidebar-sections .catalog-sections-link__count { color: #bbb !important; font-size: 12px; margin-left: 4px; white-space: nowrap; }
    .catalog-shell__sidebar-sections .catalog-sections-link-wrap + .catalog-sections-link-wrap { border-top: none; }
}

@media (max-width: 479px) { .catalog-items-grid { grid-template-columns: 1fr !important; } }

/* Breadcrumbs */
.bx-breadcrumb .fa-angle-right, .bx-breadcrumb i.fa-angle-right { display: none !important; }
.bx-breadcrumb-item + .bx-breadcrumb-item::before { content: " > " !important; font-family: "Open Sans", Arial, sans-serif !important; color: #bbb !important; font-size: 12px !important; }

/* Banner */
.catalog-grid-banner__link { display: block; text-decoration: none; color: inherit; height: 100%; position: relative; overflow: hidden; border-radius: 8px; }
.catalog-grid-banner__img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.catalog-grid-banner__overlay { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,0.55)); padding: 32px 16px 16px; text-align: center; pointer-events: none; }
.catalog-grid-banner__text { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,0.35); }

/* Favorites */
.catalog-item__fav { position: absolute; top: 8px; right: 8px; left: auto; z-index: 5; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: none; border-radius: 50%; background: rgba(255,255,255,0.85); cursor: pointer; color: #ccc; padding: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.catalog-item__fav:hover { color: #e74c3c; background: #fff; }
.catalog-item__fav.is-active { color: #e74c3c; background: #fff; }
.catalog-item__fav.is-active svg { fill: #e74c3c; }
.catalog-item__cta--done, .catalog-item__cta[disabled] { background: #4CAF50 !important; border-color: #4CAF50 !important; color: #fff !important; cursor: default !important; }

/* ===== FLOATING HEADER ===== */
.site-header { transition: transform 0.3s ease; }
.site-header.header-hidden { transform: translateY(-100%); }
.site-header.header-visible { transform: translateY(0); }

/* Mobile header */
.mobile-header { display: none; }
.mobile-menu-overlay { display: none; }
.mobile-menu { display: none; }
.mobile-menu-overlay.is-open { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); z-index: 998; }
.mobile-menu.is-open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; width: 290px; max-width: 88vw; background: #fff; z-index: 999; overflow-y: auto; box-shadow: 2px 0 8px rgba(0,0,0,0.06); }
.mobile-menu__header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #f0f0f0; }
.mobile-menu__title { font-size: 16px; font-weight: 600; color: #222; }
.mobile-menu__close { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: none; background: transparent; cursor: pointer; color: #888; }
.mobile-menu__cabinet { border-bottom: 1px solid #f0f0f0; }
.mobile-menu__cabinet-link { display: flex; align-items: center; gap: 12px; padding: 16px; font-size: 16px; font-weight: 500; color: #222; text-decoration: none; }
.mobile-menu__cabinet-link svg { flex-shrink: 0; color: #888; width: 18px; height: 18px; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__item { display: flex; align-items: center; padding: 16px; font-size: 16px; font-weight: 500; color: #333; text-decoration: none; border-bottom: 1px solid #f0f0f0; }
.mobile-menu__services { border-top: 8px solid #f5f5f5; display: flex; flex-direction: column; }
.mobile-menu__service-item { display: flex; align-items: center; gap: 12px; padding: 16px; font-size: 15px; color: #333; text-decoration: none; border-bottom: 1px solid #f0f0f0; }
.mobile-menu__service-item svg { flex-shrink: 0; color: #888; width: 18px; height: 18px; }
.mobile-menu__service-item .site-service__count { margin-left: auto; color: #888; }
.mobile-menu__badge { margin-left: auto; color: #888; font-size: 14px; }
.mobile-menu__info { padding: 20px 16px; display: flex; flex-direction: column; gap: 10px; }
.mobile-menu__info-title { font-size: 13px; font-weight: 600; color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; }
.mobile-menu__info-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #777; line-height: 1.4; }
.mobile-menu__info-item svg { flex-shrink: 0; margin-top: 2px; color: #aaa; }
.mobile-menu__social { display: flex; gap: 16px; margin-top: 8px; }
.mobile-menu__social a { color: #888; display: flex; align-items: center; }
.mobile-menu__social a:hover { color: #555; }

/* Mobile search */
.mobile-search-bar { display: none; }
.mobile-search-bar.is-open { display: flex; align-items: center; padding: 8px 12px; background: #fff; border-bottom: 1px solid #eee; gap: 8px; }
.mobile-search-bar input { flex: 1; min-width: 0; height: 44px; border: 1px solid #e0e0e0; border-radius: 6px; padding: 0 12px; font-size: 14px; outline: none; }
.mobile-search-bar button { width: 36px; height: 36px; border: none; background: transparent; cursor: pointer; color: #888; display: flex; align-items: center; justify-content: center; }
.mobile-search-bar button.mobile-search-submit { flex: 0 0 auto; width: 44px; min-width: 44px; height: 44px; padding: 0; background: #222; color: #fff; border-radius: 6px; }
.mobile-search-bar button.mobile-search-submit:hover { opacity: 0.85; }
.mobile-search-bar button.mobile-search-submit:active { opacity: 0.7; transform: scale(0.96); }
.mobile-search-bar button.mobile-search-submit:focus-visible { outline: 2px solid #4a90d9; outline-offset: 2px; }
.mobile-search-submit__icon { display: block; width: 20px; height: 20px; }

@media (max-width: 991px) {
    .site-header__desktop { display: none; }
    .mobile-header { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 12px; background: #fff; border-bottom: 1px solid #eee; position: relative; z-index: 10; }
    .mobile-header__burger { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 28px; height: 28px; border: none; background: transparent; cursor: pointer; padding: 0; }
    .mobile-header__burger span { display: block; width: 100%; height: 2px; background: #222; border-radius: 1px; }
    .mobile-header__actions { display: flex; gap: 12px; align-items: center; }
    .mobile-header__search-btn { width: 28px; height: 28px; border: none; background: transparent; cursor: pointer; color: #555; display: flex; align-items: center; justify-content: center; padding: 0; }
}