

/* Start:/local/components/gg/catalog/templates/catalog/style.css?179083462111066*/
/*
    Стили каталога gg:catalog / gg:catalog.list.
    Приведены к дизайн-системе из глобальных :root переменных.
*/

body .catalog.item-views {
    width: 100%;
    margin: 0 auto;
}

/* ===== Обёртки страниц каталога ===== */
.gg-catalog { width: 100%; }
.gg-catalog__intro { margin-bottom: 20px; color: var(--text-gray-color, #969ba5); }
.gg-catalog__body { margin-top: 16px; }

.gg-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray-color, #969ba5);
    background: var(--color-bg-grey, #fafafa);
    border-radius: var(--border-radius-25px, 25px);
}

.gg-section-desc {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, #ddd);
    color: var(--text-color, #171717);
}

/* ===== Панель сортировки / переключения вида ===== */
.gg-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.gg-toolbar__sort { min-width: 220px; }

.gg-select { position: relative; }

.gg-select select.sort {
    width: 100%;
    appearance: none;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 10px;
    padding: 10px 34px 10px 14px;
    font-size: 14px;
    background: #fff;
    color: var(--text-color, #171717);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.gg-select select.sort:focus { border-color: var(--color-secondary, #0088cc); }

.gg-select::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-gray-color, #969ba5);
    border-bottom: 2px solid var(--text-gray-color, #969ba5);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.gg-toolbar__views {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gg-toolbar__label {
    font-size: 13px;
    color: var(--text-gray-color, #969ba5);
    margin-right: 4px;
}

.gg-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-color, #ddd);
    background: #fff;
    transition: all 0.2s ease;
}

.gg-view-btn:hover { border-color: var(--color-secondary, #0088cc); }
.gg-view-btn.cur { background: var(--color-primary, #012ecd); border-color: var(--color-primary, #012ecd); }

/* ===== Пагинация ===== */
.gg-pagination { margin: 24px 0; text-align: center; }

/* ===== Значки статуса ===== */
.gg-badge {
    display: inline-flex;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;
    background: var(--color-secondary, #0088cc);
    z-index: 2;
}

.gg-badge--new { background: var(--green, #00cc50); }
.gg-badge--hit { background: #e67e22; }
.gg-badge--sale { background: var(--red, #c00); }
.gg-badge--outofstock, .gg-badge--not_available { background: #888; }

/* ===== Карточка (сетка / tiles) ===== */
.gg-catalog-grid { width: 100%; }

.gg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 12px;
}

.gg-grid--services { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.gg-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gg-card:hover {
    box-shadow: 0 12px 30px rgba(1, 46, 205, 0.12);
    transform: translateY(-4px);
}

.gg-card__img {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--color-bg-grey, #fafafa);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gg-card__img-link { display: block; width: 100%; height: 100%; }

.gg-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 18px;
    flex: 1 1 auto;
}

.gg-card__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
}

.gg-card__title a { color: var(--text-color, #171717); }
.gg-card__title a:hover { color: var(--color-primary, #012ecd); }

.gg-card__article { font-size: 12px; color: var(--text-gray-color, #969ba5); }
.gg-card__article span { color: var(--text-color, #171717); }

.gg-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.gg-card__price { display: flex; flex-direction: column; }
.gg-card__price-new { font-size: 18px; font-weight: 800; color: var(--text-color, #171717); }
.gg-card__price-old { font-size: 13px; color: var(--text-gray-color, #969ba5); text-decoration: line-through; }

.gg-card__link, .gg-card__order { padding: 10px 18px; font-size: 13px; }
.gg-card__buy { margin-top: 10px; }

/* ===== Список (list view) ===== */
.gg-catalog-list { width: 100%; }

.gg-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 12px;
}

.gg-list-item {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 16px;
    padding: 16px;
    transition: box-shadow 0.25s ease;
}

.gg-list-item:hover { box-shadow: 0 10px 26px rgba(1, 46, 205, 0.10); }

.gg-list-item__img {
    position: relative;
    flex: 0 0 200px;
    aspect-ratio: 4/3;
    background: var(--color-bg-grey, #fafafa);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gg-list-item__img img { width: 100%; height: 100%; object-fit: cover; }

.gg-list-item__body { flex: 1 1 280px; min-width: 0; }

.gg-list-item__title { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.gg-list-item__title a { color: var(--text-color, #171717); }
.gg-list-item__title a:hover { color: var(--color-primary, #012ecd); }

.gg-list-item__article { font-size: 12px; color: var(--text-gray-color, #969ba5); margin-bottom: 6px; }
.gg-list-item__descr { font-size: 14px; color: var(--text-gray-color, #969ba5); }

.gg-list-item__aside {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-left: auto;
}

.gg-list-item__price { text-align: right; }
.gg-list-item__price-new { display: block; font-size: 20px; font-weight: 800; color: var(--text-color, #171717); }
.gg-list-item__price-old { display: block; font-size: 13px; color: var(--text-gray-color, #969ba5); text-decoration: line-through; }
.gg-list-item__order { width: 100%; justify-content: center; }

/* ===== Компактный список с ценой (price view) ===== */
.gg-catalog-price { width: 100%; }

.gg-price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.gg-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 12px;
    padding: 12px 16px;
    flex-wrap: wrap;
}

.gg-price-row:hover { border-color: var(--color-secondary, #0088cc); }

.gg-price-row__img {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: var(--color-bg-grey, #fafafa);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gg-price-row__img img { width: 100%; height: 100%; object-fit: contain; }

.gg-price-row__info { flex: 1 1 220px; min-width: 0; }
.gg-price-row__title { font-weight: 700; font-size: 15px; }
.gg-price-row__title a { color: var(--text-color, #171717); }
.gg-price-row__title a:hover { color: var(--color-primary, #012ecd); }
.gg-price-row__article { font-size: 12px; color: var(--text-gray-color, #969ba5); }

.gg-price-row__badge {
    position: static;
    background: var(--color-secondary, #0088cc);
}

.gg-price-row__price { text-align: right; flex: 0 0 140px; }
.gg-price-row__price-new { display: block; font-size: 17px; font-weight: 800; color: var(--text-color, #171717); }
.gg-price-row__price-old { display: block; font-size: 12px; color: var(--text-gray-color, #969ba5); text-decoration: line-through; }

.gg-price-row__order { flex: 0 0 auto; }
.gg-price-row__buy { flex: 0 0 auto; }

/* ===== Блок "Наши услуги" / "Последние работы" ===== */
.gg-related { margin: 40px 0; }
.gg-related .apb-header { margin-bottom: 20px; }

/* ===== Ссылка "назад" ===== */
.gg-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0;
    max-width: fit-content;
}

.gg-back-link i { font-size: 13px; }

/* ===== Блок покупки (счётчик + кнопки корзины) ===== */
.buy_block { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.buy_block .counter .wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 10px;
    overflow: hidden;
}

.buy_block .counter .ctrl {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    background: var(--color-bg-grey, #fafafa);
    font-weight: 700;
}

.buy_block .counter .ctrl.minus::before { content: '−'; }
.buy_block .counter .ctrl.plus::before { content: '+'; }

.buy_block .counter .input { width: 40px; text-align: center; }
.buy_block .counter .input input {
    width: 100%;
    border: none;
    text-align: center;
    padding: 6px 4px;
}

.buy_block .buttons { display: flex; gap: 8px; }
.buy_block .buttons .btn { padding: 10px 16px; font-size: 13px; }

/* ===== Адаптив ===== */
@media screen and (max-width: 768px) {
    .gg-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
    .gg-list-item { flex-direction: column; align-items: stretch; }
    .gg-list-item__img { flex-basis: auto; width: 100%; aspect-ratio: 16/10; }
    .gg-list-item__aside { flex-basis: auto; width: 100%; align-items: stretch; margin-left: 0; }
    .gg-list-item__price { text-align: left; }
    .gg-price-row { flex-direction: column; align-items: stretch; text-align: left; }
    .gg-price-row__price { text-align: left; flex-basis: auto; }
    .gg-toolbar { flex-direction: column; align-items: stretch; }
    .gg-toolbar__views { justify-content: flex-start; }
}

.gg-card__link.btn-gray {
    background: #FAFAFA;
    border: 1px solid #C2DDFF;
    color: var(--href-color-light);
    font-weight: normal;
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    text-align: center;
    max-width: 100%;
    justify-content: center;
}
/* End */


/* Start:/bitrix/templates/new_template/components/bitrix/news.list/catalog-sections/style.css?17908345822077*/
.marka-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
}

.marka-card {
    background: #fff;
    border: 1px solid var(--border-color, #DDDDDD);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.marka-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--href-color-light, #0088CC);
}

.marka-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 16px 12px;
    text-decoration: none;
    color: inherit;
}

.marka-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 96px;
    aspect-ratio: 1 / 1;
    margin-bottom: 10px;
}

.marka-card__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.15);
    transition: filter 0.25s ease, transform 0.25s ease;
}

.marka-card:hover .marka-card__img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.marka-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.marka-card__title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: var(--text-color, #171717);
}

.marka-card__subtitle {
    font-size: 12px;
    line-height: 1.2;
    color: var(--href-color-light, #0088CC);
}

@media screen and (max-width: 992px) {
    .marka-grid { grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 12px; }
    .marka-card__icon { max-width: 80px; }
}

@media screen and (max-width: 576px) {
    .marka-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
    .marka-card__link { padding: 10px 6px; }
    .marka-card__icon { max-width: 64px; margin-bottom: 6px; }
    .marka-card__title { font-size: 12px; }
    .marka-card__subtitle { font-size: 10px; }
}
/* End */
/* /local/components/gg/catalog/templates/catalog/style.css?179083462111066 */
/* /bitrix/templates/new_template/components/bitrix/news.list/catalog-sections/style.css?17908345822077 */
