

/* Start:/local/templates/.default/components/bitrix/news.detail/articles/style.css?1605293378158*/
div.news-detail
{
	word-wrap: break-word;
}
div.news-detail img.detail_picture
{
	float:left;
	margin:5px 20px 5px 0px;
}
.news-date-time
{
	color:#fe6700;
}

/* End */


/* Start:/local/templates/.default/components/bitrix/catalog.section/tile/style.css?178937975011332*/
/* ============================================================
   ШАБЛОН tile — style.css
   Плитка каталога: 2 колонки мобильный / 3 колонки десктоп
   ============================================================ */

/* ---------- 1. СЕТКА ПЛИТКИ ---------- */

.tile-grid {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 769px) {
    .tile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- 2. КАРТОЧКА ТОВАРА ---------- */

.tile-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.tile-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.tile-item-in {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
}

/* ---------- 3. ГАЛЕРЕЯ ---------- */

.tile-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.tile-gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.tile-gallery-slide {
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.tile-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Стрелки */
.tile-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    color: #1a1a2e;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 5;
    user-select: none;
    line-height: 1;
    padding: 0;
}

.tile-gallery-arrow:hover {
    background: rgba(200, 200, 200, 0.85);
}

.tile-gallery-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.tile-gallery-prev { left: 2px; }
.tile-gallery-next { right: 2px; }

.tile-item:hover .tile-gallery-arrow {
    display: flex;
}

/* Точки */
.tile-gallery-dots {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 4px;
    z-index: 5;
}

.tile-item:hover .tile-gallery-dots {
    display: flex;
}

.tile-gallery-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(160, 160, 160, 0.9);
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: default;
}

.tile-gallery-dot.active {
    background: #fe6700;
    transform: scale(1.5);
}

@media (max-width: 768px) {
    .tile-gallery-arrow,
    .tile-gallery-dots {
        display: none !important;
    }
}

/* ---------- 4. ФЛАГИ ---------- */

.tile-flags {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.tile-flags .flag-sale,
.tile-flags .flag-new,
.tile-flags .flag-hit {
    display: inline-block;
    width: 50px;
    height: 15px;
    background-position: center center;
    background-repeat: no-repeat;
}

.tile-flags .flag-sale { background-image: url('/local/images/flag-1.png'); }
.tile-flags .flag-new  { background-image: url('/local/images/flag-2.png'); }
.tile-flags .flag-hit  { background-image: url('/local/images/flag-3.png'); }

/* ---------- 5. ИЗБРАННОЕ (без кружка) ---------- */

.tile-fav {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 5;
}

.tile-fav a {
    display: block;
    width: 15px;
    height: 23px;
    text-decoration: none;
    transition: transform 0.15s ease;
    outline: none;
}

.tile-fav a:hover {
    transform: scale(1.1);
}

.tile-fav a:focus {
    outline: none;
}

.tile-fav a:focus-visible {
    outline: 2px solid #fe6700;
    outline-offset: 2px;
}

.tile-fav .favorite_yes,
.tile-fav .favorite_no {
    width: 15px;
    height: 23px;
    background-repeat: no-repeat;
    background-position: center center;
}

.tile-fav .favorite_yes {
    background-image: url('/local/images/favorite_yes.png');
}

.tile-fav .favorite_no {
    background-image: url('/local/images/favorite_no.png');
}

/* ---------- 6. НАЗВАНИЕ (4 строки) ---------- */

.tile-name {
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 68px;
}

.tile-name a {
    color: inherit;
    text-decoration: none;
}

.tile-name a:hover {
    color: #fe6700;
}

/* ---------- 7. АРТИКУЛ + СЕРИЯ (одна строка) ---------- */

.tile-article-brand {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #8888aa;
    margin: 0 0 4px 0;
}

.tile-article {
    font-size: 12px;
    color: #8888aa;
}

.tile-article b {
    color: #fe6700;
}

.tile-brand {
    font-size: 12px;
    color: #8888aa;
    text-align: right;
    margin-left: auto;
}

.tile-brand a {
    color: #fe6700;
    text-decoration: none;
}

.tile-brand a:hover {
    text-decoration: underline;
}

/* Переключатели видимости для десктопа / мобильного */
.d-only { display: inline; }
.m-only { display: none; }

/* ---------- 8. ТОП-4 ХАРАКТЕРИСТИКИ ---------- */

.tile-top4 {
    font-size: 12px;
    color: #444;
    line-height: 1.4;
    margin: 0 0 6px 0;
    min-height: 66px;
}

.tile-top4 span {
    display: block;
}

/* ---------- 9. ЦЕНЫ + ОСТАТКИ ---------- */

.tile-prices-stock {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0 0 4px 0;
}

.tile-prices {
    line-height: 1.3;
    min-height: 22px;
}

.tile-prices .price-main {
    font-size: 16px;
    font-weight: 700;
    color: #fe6700;
}

.tile-prices .price-main.price-sale {
    color: darkred;
}

.tile-prices .price-small {
    font-size: 11px;
    color: #666;
    display: block;
}

.tile-prices .price-small b {
    color: #fe6700;
}

.tile-prices .price-label {
    font-size: 11px;
    color: #fe6700;
    margin-right: 3px;
}

.tile-stock {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-left: auto;
}

.tile-stock-total,
.tile-stock-msk,
.tile-stock-filial,
.tile-stock-coming {
    display: block;
    line-height: 1.3;
}

.tile-stock b {
    color: #fe6700;
}

.tile-stock .stock-msk {
    color: #fe6700;
}

/* ---------- 10. КНОПКИ ---------- */

.tile-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
    align-items: stretch;
}

.tile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 8px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile-btn-cart {
    flex: 1;
    background: #fe6700;
    color: #fff;
    font-weight: 600;
}

.tile-btn-cart:hover {
    background: #d35400;
}

.tile-btn-question {
    flex: 0 0 auto;
    background: transparent;
    color: #fe6700;
    border: 1px solid #fe6700;
}

.tile-btn-question:hover {
    background: #fe6700;
    color: #fff;
}

/* ---------- Слот корзины ---------- */

.tile-cart-slot {
    flex: 1;
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.tile-cart-slot .tile-btn-cart {
    flex: 1;
    width: 100%;
}

.tile-cart-control {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 2px;
    width: 100%;
    height: 30px;
    box-sizing: border-box;
}

.tile-cart-control .tile-cart-minus,
.tile-cart-control .tile-cart-plus {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border: none;
    border-radius: 4px;
    background: #fe6700;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, transform 0.1s ease;
    user-select: none;
}

.tile-cart-control .tile-cart-minus:hover,
.tile-cart-control .tile-cart-plus:hover {
    background: #d35400;
}

.tile-cart-control .tile-cart-minus:active,
.tile-cart-control .tile-cart-plus:active {
    transform: scale(0.95);
}

.tile-cart-control .tile-cart-minus:disabled,
.tile-cart-control .tile-cart-plus:disabled {
    background: #f0c0a0;
    cursor: default;
}

.tile-cart-control .tile-cart-qty {
    flex: 1 1 auto;
    width: 100%;
    min-width: 30px;
    height: 30px;
    padding: 0 2px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    box-sizing: border-box;
    color: #1a1a2e;
    -moz-appearance: textfield;
}

.tile-cart-control .tile-cart-qty:focus {
    border-color: #fe6700;
    outline: none;
}

.tile-cart-control .tile-cart-qty:disabled {
    background: #f7f7f7;
    color: #999;
}

/* ---------- 11. АДАПТИВ ---------- */

@media (max-width: 768px) {
    .tile-grid {
        gap: 10px;
    }

    .tile-item-in {
        padding: 6px;
    }

    .tile-name {
        font-size: 12px;
        min-height: 63px;
    }

    .tile-article-brand,
    .tile-article,
    .tile-brand {
        font-size: 11px;
    }

    .d-only { display: none; }
    .m-only { display: inline; }

    .tile-top4 {
        font-size: 11px;
        min-height: 58px;
    }

    .tile-prices .price-main {
        font-size: 14px;
    }

    .tile-stock {
        font-size: 11px;
        text-align: left;
        margin-left: 0;
    }

    .tile-actions {
        flex-direction: column;
        gap: 4px;
    }

    .tile-btn {
        height: 28px;
        font-size: 11px;
    }

    .tile-btn-question {
        width: 100%;
    }

    .tile-cart-control,
    .tile-cart-control .tile-cart-minus,
    .tile-cart-control .tile-cart-plus,
    .tile-cart-control .tile-cart-qty {
        height: 28px;
    }

    .tile-cart-control .tile-cart-minus,
    .tile-cart-control .tile-cart-plus {
        flex: 0 0 28px;
        width: 28px;
        min-width: 28px;
    }
}
/* End */
/* /local/templates/.default/components/bitrix/news.detail/articles/style.css?1605293378158 */
/* /local/templates/.default/components/bitrix/catalog.section/tile/style.css?178937975011332 */
