

/* Start:/local/templates/.default/components/bitrix/news/action/bitrix/news.detail/.default/style.css?17870599617175*/
/* Базовые стили для поля */
.promo-field{
    width: 20rem;
    min-height: 3rem; /* меняем height на min-height */
    background: #fff;
}
.promo-field.h-10rem{
    min-height: 10rem;
}
/* Стили для label (общие для input и textarea) */
.promo-field label:not(.form-check-label) {
    position: absolute;
    left: 1rem;
    top: 0.8rem;
    padding: 0 0.5rem;
    transition: all 200ms ease-in;
    background: #fff;
    pointer-events: none;
    z-index: 1;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
    max-width: calc(100% - 2rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Стили для input */
.promo-field input:not(.personal_check) {
    border: 2px solid #8a969c;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    outline: none;
    padding: 1.25rem;
    transition: all 160ms ease-in;
    background: transparent;
    color: #333;
    font-size: 1rem;
    z-index: 0;
}

/* Стили для textarea */
.promo-field textarea {
    border: 2px solid #8a969c;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 10rem; /* минимальная высота */
    outline: none;

    padding-top: 1rem; /* дополнительный отступ сверху для label */
    transition: all 160ms ease-in;
    background: transparent;
    color: #333;
    font-size: 1rem;
    z-index: 0;
    resize: vertical; /* разрешаем изменение размера по вертикали */
    font-family: inherit; /* наследуем шрифт */
    line-height: 1.5;
}

/* Общие стили при наведении */
.promo-field input:hover,
.promo-field textarea:hover {
    border-color: #ea5b5c;
    box-shadow: none;
}

/* Общие стили при фокусе */
.promo-field input:focus,
.promo-field textarea:focus {
    border-color: #ed2d2e;
    box-shadow: none;
}

/* Поднятие label при фокусе или наличии текста (для input) */
.promo-field input:focus ~ label,
.promo-field input:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    font-size: 0.8rem;
    left: 0.8rem;
    padding: 0 0.4rem;
    z-index: 2;
}

/* Поднятие label для textarea */
.promo-field textarea:focus ~ label,
.promo-field textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    font-size: 0.8rem;
    left: 0.8rem;
    padding: 0 0.4rem;
    z-index: 2;
}

/* Цвет label при фокусе (для input) */
.promo-field input:focus ~ label {
    color: #ed2d2e;
}

/* Цвет label при фокусе (для textarea) */
.promo-field textarea:focus ~ label {
    color: #ed2d2e;
}

/* Цвет label когда есть текст, но нет фокуса (для input) */
.promo-field input:not(:placeholder-shown):not(:focus) ~ label {
    color: #6c757d;
}

/* Цвет label когда есть текст, но нет фокуса (для textarea) */
.promo-field textarea:not(:placeholder-shown):not(:focus) ~ label {
    color: #6c757d;
}

/* Убираем плейсхолдер (для input) */
.promo-field input::placeholder {
    color: transparent;
}

/* Убираем плейсхолдер (для textarea) */
.promo-field textarea::placeholder {
    color: transparent;
}

/* Стили для скроллбара в textarea (опционально) */
.promo-field textarea::-webkit-scrollbar {
    width: 6px;
}

.promo-field textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.promo-field textarea::-webkit-scrollbar-thumb {
    background: #8a969c;
    border-radius: 3px;
}

.promo-field textarea::-webkit-scrollbar-thumb:hover {
    background: #ea5b5c;
}

.promo-field input.alert-danger,.promo-field textarea.alert-danger{
    border-color: #ed2d2e;
}

.action_picture {
    width: 100%;
}


.action_p {
    text-align: center;
    color: #ed2d2e;
}
.action-filter{
    display: flex;
}
.action-filter ul{
    margin: 16px 0;
    display: flex;
    padding: 0;
}
.action-filter ul li{
    margin-right: 8px;
}
.action-filter ul li a{
    border: 1px solid #ed2d2e;
    padding: 8px 12px;
    width: 100%;
    border-radius: 8px;
    color: #ed2d2e;
}
.action-filter ul li a.active,.action-filter ul li a:hover{
    background: #ed2d2e;
    color: #fff;
}

.item_elem {
    margin-bottom: 32px;
}

.item_elem-wrap {
    flex-flow: column;
    position: relative;
}

.item_elem-sticks {
    position: absolute;
}

.item_elem-sticks > * {
    color: #fff;
    font-weight: 700;
    z-index: 10;
    position: relative;
    border-radius: 8px;
    margin-left: 5px;
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
}

.item_elem-sticks .black_sale {
    background: #000;

}

.item_elem-param, .item_elem-price, .item_elem-more, .item_elem-img, .item_elem-name {
    margin-bottom: 16px;
}

.item_elem-img {
    display: flex;
    position: relative;
    height: 210px;
}

.item_elem-img a {
    display: flex;
    height: 100%;
}

.item_elem-img img {
    width: 100%;
}

.item_elem-name {
    display: flex;
    text-align: center;
    font-size: 18px;
    justify-content: center;
    min-height: 40px;
    align-items: center;
    line-height: 1.05;
}

.item_elem-name a {
    text-decoration: none;
}

.item_elem-param .param_line {
    justify-content: space-between;
    display: flex;
    border-bottom: 1px dotted #ccc;
    color: #444;
}

.item_elem-param .param_line span {
    color: #888;
    font-size: 14px;
    background: #fff;
    position: relative;
    padding: 2px;
    bottom: -2px;
}

.item_elem-price-wrap {
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.item_elem-price-wrap .item_elem-price-price {
    font-size: 22px;
    font-weight: 500;
    color: #ed2d2e;
}

.item_elem-price-wrap.end {
    justify-content: flex-end;
}

.item_elem-oldprice {
    color: #888;
}

.item_elem-more {
    margin: 0px 16px 16px;
    text-align: center;
    display: flex;
    justify-content: center;

}

.item_elem-more a {
    border: 1px solid #ed2d2e;
    padding: 8px 12px;
    width: 100%;
    border-radius: 8px;
    color: #ed2d2e;

}

.item_elem-more a:hover {
    background: #ed2d2e;
    color: #fff;
}

/*
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {

    /* CSS */

}

/*
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {

    /* CSS */

}

/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {

    /* CSS */

}

/*
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    /* CSS */

}

/*
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 320px) and (max-width: 767px) {

    .action-filter ul{
        flex-flow:row wrap;
    }
    .action-filter ul li{
        margin-bottom: 16px;
    }
    .action-filter ul li a{
        display: flex;}

    .item_elem-param, .item_elem-price, .item_elem-more, .item_elem-img, .item_elem-name {
        margin-bottom: 8px;
    }

    .item_elem {
        width: 100%;
        margin-bottom: 32px;
    }

    .item_elem-wrap {
        margin: 0 16px;
    }

}
/* End */
/* /local/templates/.default/components/bitrix/news/action/bitrix/news.detail/.default/style.css?17870599617175 */
