@charset "UTF-8";

.container-bg {
    padding: 30px 16px;
    background-color: #fff;
    border-radius: 16px
}

.container-bg_pt-sm {
    padding: 20px 16px 30px
}

.container-bg_gradient {
    background: linear-gradient(97deg, #ec670b, #dd2e6e)
}

.navigation-fixed {
    width: 100%;
    padding: 20px 16px;
    background-color: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 10px #00000014
}

.navigation-fixed:has(.button) {
    padding: 16px
}

.navigation-fixed__list {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0
}

.navigation-fixed__item {
    color: #807f7d
}

.navigation-fixed__item-cart {
    position: relative
}

.navigation-fixed__item-cart:after {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    padding: 2px 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: #ec670b;
    background-color: color-mix(in srgb, #ec670b 20%, #fff);
    border-radius: 6px;
    transform: translate(12px, -30%);
    content: attr(data-count)
}

.navigation-fixed__item,
.navigation-fixed__link {
    display: block;
    width: 28px;
    height: 28px
}

.navigation-fixed__item:active,
.navigation-fixed__item:focus {
    color: #ec670b
}

.navigation-fixed__link {
    color: currentcolor
}

.navigation-fixed__link>svg {
    transition: .15s ease-out
}

.breadcrumbs {
    display: flex;
    flex-flow: row nowrap;
    margin: 8px 0;
    padding: 8px 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, #161d28, #fff 80%) transparent;
    white-space: nowrap;
    scrollbar-gutter: stable
}

.breadcrumbs::-webkit-scrollbar-thumb {
    border-radius: 4px
}

.breadcrumbs__link,
.breadcrumbs__item {
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    color: #807f7d
}

.breadcrumbs__link {
    flex: 1;
    transition: .15s ease-out
}

.breadcrumbs__link:hover {
    text-decoration: none;
    color: var(--mm-brand, #ec670b)
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    line-height: 1;
    text-wrap: nowrap
}

.breadcrumbs__item:not(:last-child):after {
    display: block;
    margin: 0 6px;
    font-weight: 400;
    color: #807f7d;
    content: "/"
}

.tag {
    display: block;
    width: 100%;
    max-width: -moz-max-content;
    max-width: max-content;
    height: 100%;
    min-height: 36px;
    padding: 9px 16px 7px;
    font-size: 14px;
    font-weight: 500;
    color: #454856;
    background-color: #f4f5f6;
    border-radius: 12px
}

.tag_sm {
    height: 20px;
    min-height: auto;
    padding: 3px 10px 2px;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px
}

.tag_bg {
    background-color: #fff
}

.tag[href] {
    color: #807f7d;
    transition: .15s ease-out
}

.tag[href]:active {
    background-color: color-mix(in srgb, #f4f5f6 70%, #ec670b)
}

.tag[href]:focus {
    box-shadow: 0 2px 8px #0000000f
}

.tag_hot {
    color: #fff;
    background-color: #ec670b
}

.tag_sale {
    color: color-mix(in srgb, #ec670b 90%, #fff);
    background-color: color-mix(in srgb, #ec670b 10%, #fff)
}

.tag.tag_date {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: auto;
    max-width: max-content;
    height: auto;
    min-height: 0;
    padding: 6px 12px 5px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #807f7d;
    white-space: nowrap;
    background-color: #f4f5f6;
    border-radius: 999px;
}

.tag_icon {
    display: grid;
    width: 36px;
    max-width: none;
    height: 36px;
    padding: 0;
    color: #807f7d;
    place-items: center;
    transition: .15s ease-out
}

.tag_icon:active {
    color: #161d28
}

.tag_icon:focus {
    box-shadow: 0 2px 8px #0000000f
}

.tag_border {
    max-width: none;
    padding: 8px 16px 6px;
    text-align: center;
    background-color: transparent;
    border: 1px solid #f4f5f6
}

.tag_green {
    color: #14c14c;
    background: color-mix(in srgb, #14c14c 10%, #fff)
}

.tag_purple {
    color: #8400fc;
    background: color-mix(in srgb, #8400fc 10%, #fff)
}

.tag_red {
    color: #f31919;
    background: color-mix(in srgb, #f31919 10%, #fff)
}

.tag_yellow {
    color: #ecb00b;
    background: color-mix(in srgb, #ecb00b 10%, #fff)
}

.tag_flex {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 0
}

.tag_flex__btn {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #807f7d;
    transition: .15s ease-out
}

.tag_flex__btn:active,
.tag_flex__btn:focus {
    color: #161d28
}

.tag_option {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 6px;
    align-items: center;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #454856;
    background-color: #fff
}

.tag_option__text {
    max-width: 119px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden
}

.title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.3;
    color: #161d28
}

.title_margin-sm {
    margin-bottom: 4px
}

.title_margin-md {
    margin-bottom: 10px
}

.title_margin-lg {
    margin-bottom: 16px
}

.title_line-h-sm {
    line-height: 1
}

.card-product-detail {
    display: flex;
    flex-flow: column nowrap
}

.card-product-detail__header {
    display: flex;
    flex-flow: row nowrap;
    gap: 4px;
    align-items: center;
    margin-bottom: 10px
}

.card-product-detail__options {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto
}

.card-product-detail__options-icon {
    display: block;
    width: 32px;
    height: 32px;
    color: #454856
}

.card-product-detail__options-icon:active,
.card-product-detail__options-icon:focus {
    color: #ec670b
}

.card-product-detail__options-icon>svg {
    transition: .15s ease-out
}

.card-product-detail__body {
    margin: 0 -16px 10px;
    padding: 0 16px 10px;
    border-bottom: 1px solid #f4f5f6
}

.card-product-detail__slider {
    margin-bottom: 4px
}

.card-product-detail__slider .slider__image {
    border-radius: 16px
}

.card-product-detail__slider-tag[type=button] {
    position: absolute;
    bottom: 20px;
    left: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
    height: 36px;
    padding: 9px 16px 7px;
    line-height: 21px;
    color: #454856;
    background-color: color-mix(in srgb, #fff 60%, transparent)
}

.card-product-detail__tag {
    margin-bottom: 10px;
    color: #ec670b
}

.card-product-detail__tag>del {
    padding-right: 4px;
    color: #807f7d
}

.card-product-detail__price {
    margin-bottom: 4px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #161d28
}

.card-product-detail__note {
    font-size: 12px;
    font-weight: 500;
    color: #807f7d
}

.card-product-detail__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.slider {
    position: relative;
    height: 100%
}

.slider__container {
    display: flex;
    gap: 10px;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, #161d28, #fff 80%) transparent;
    scroll-snap-type: x mandatory;
    padding: 0 0 10px;
    scrollbar-gutter: stable
}

.slider__container::-webkit-scrollbar-thumb {
    border-radius: 4px
}

.slider__slide {
    flex: 0 0 calc(100vw - 32px);
    height: 100%;
    scroll-snap-align: center
}

.slider__image {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.social {
    display: flex;
    gap: 16px
}

.social__link {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    transition: .15s ease-out;
    overflow: hidden
}

.social__link:active,
.social__link:focus {
    opacity: .8
}

.accordion {
    width: 100%;
    overflow-anchor: none
}

.accordion__content {
    position: relative;
    height: 100%;
    max-height: 193px;
    overflow-y: hidden;
    overflow-anchor: none;
    transition: none
}

.accordion__content:before {
    position: absolute;
    z-index: 1;
    display: block;
    background: linear-gradient(#fff0, #fff 96%);
    opacity: 1;
    visibility: visible;
    content: "";
    top: 50%;
    right: 0;
    bottom: -1%;
    left: 0
}

.accordion__content.open {
    transition: .3s ease-out
}

.accordion__content.open:before {
    position: absolute;
    display: block;
    opacity: 0;
    visibility: hidden;
    top: 50%;
    right: 0;
    bottom: 0;
    left: 0;
    transition: opacity .15s linear, visibility 1ms linear .15s
}

.about-company__title {
    max-width: none;
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #161d28;
}

.about-company__title .orange {
    color: #ec670b;
}

.about-company__top {
    display: flex;
    flex-flow: column nowrap;
    gap: 16px;
}

.about-company__media {
    order: 2;
    margin: 0;
    width: 100%;
}

.about-company__intro {
    order: 1;
}

.about-company__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.about-company__intro > p,
.about-company__text > p {
    margin: 0 0 12px;
}

.about-company__intro > p:last-child,
.about-company__text > p:last-child {
    margin-bottom: 0;
}

.about-company__lead {
    margin-top: 16px;
    font-weight: 450;
}

.flex {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    gap: var(--gap, 8px)
}

.flex_btns-duo {
    display: flex;
    gap: 10px
}

.flex_btns-duo:first-child {
    flex: 1
}

.flex_btns-duo:last-child {
    flex: 0 0 48px
}

.form-element {
    margin-bottom: 16px
}

.form-element:has(label:not([class=form-element__hidden])) {
    margin-top: -2px
}

.form-element:last-child {
    margin-bottom: 20px
}

.form-element__label {
    font-size: 14px;
    font-weight: 450;
    line-height: 1
}

.form-element__label~input {
    margin-top: 8px
}

.form-element__field {
    width: 100%;
    padding: 9px 8px 8px;
    font-size: 16px;
    line-height: 17px;
    color: #161d28;
    background-color: #f4f5f6;
    border: 3px solid transparent;
    border-radius: 12px;
    outline: none;
    transition: .15s ease-out
}

.form-element__field::-moz-placeholder {
    color: #807f7d;
    opacity: 1
}

.form-element__field::placeholder {
    color: #807f7d;
    opacity: 1
}

.form-element__field:focus {
    border-color: #ec670b
}

.form-element__hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    white-space: nowrap;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0)
}

.form-element__checkbox {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background-color: #f4f5f6;
    border-radius: 8px;
    cursor: pointer;
    accent-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.form-element__checkbox:checked {
    background-color: #ec670b
}

.form-element__checkbox:checked:after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    content: url(/design/2025-metalmaster-mob/img/icons/check.svg)
}

.form-element__checkbox+label {
    display: flex;
    align-items: center;
    padding-top: 2px;
    font-size: 13px;
    font-weight: 350;
    line-height: 120%;
    color: #161d28;
    cursor: pointer
}

.form-element__checkbox+label p {
    margin-bottom: 0
}

.form-element_flex-row {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start
}

.form-element_flex-row:has(label:not([class=form-element__hidden])) {
    margin-top: 0
}

.form-element__note {
    font-size: 12px;
    font-weight: 400
}

.card-reviews {
    width: 100%;
    padding: 16px;
    background-color: #fff;
    border-radius: 16px
}

.card-reviews__name {
    margin-top: 16px;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 500;
    color: #161d28
}

.card-reviews__text {
    font-size: 15px;
    font-weight: 350
}

.card-reviews__text>p {
    margin-bottom: 4px
}

.card-reviews__text>p:last-child {
    margin-bottom: 0
}

.card-reviews__answer {
    margin-top: 16px;
    padding: 16px;
    background-color: #f4f5f6;
    border-radius: 16px
}

.card-reviews__answer-person {
    margin-bottom: 16px
}

.card-reviews__answer-img {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
    overflow: hidden
}

.card-reviews__answer-name {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #161d28
}

.card-reviews__answer-post {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.1;
    color: #807f7d
}

.card-reviews__answer-text {
    font-size: 15px;
    font-weight: 350
}

.card-reviews__answer-text>p {
    margin-bottom: 4px
}

.card-reviews__answer-text>p:last-child {
    margin-bottom: 0
}

.reviews {
    display: flex;
    flex-flow: column nowrap;
    gap: 10px
}

.advice {
    display: grid;
    grid-template-columns: repeat(2, calc(50vw - 2px));
    gap: 4px
}

.card-product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px 10px;
    background-color: #fff;
    border-radius: 12px
}

.card-product__link {
    position: relative;
    display: block;
    margin: 0 -10px auto;
    color: #161d28
}

.card-product__link:active {
    color: #807f7d
}

.card-product__link:focus {
    color: #454856
}

.card-product__slider {
    height: var(--slider-height, 130px);
    margin-right: -10px;
    margin-bottom: 8px;
    margin-left: -10px;
    border-radius: 12px 12px 0 0;
    overflow: hidden
}

.card-product__slider .slider__slide {
    flex: 0 0 var(--slider-width, 100%)
}

.card-product__slider .slider__image {
    border-radius: 12px 12px 0 0
}

.card-product__slider .slider__slide > picture {
    display: contents;
}

.card-product__tags-container {
    position: absolute;
    top: 10px;
    right: 0;
    left: 10px;
    display: flex;
    flex-flow: row wrap;
    gap: 4px
}

.card-product__tag-option {
    position: absolute;
    bottom: 10px;
    left: 10px
}

.card-product__trade {
    margin-bottom: 8px;
    padding: 0 10px
}

.card-product__price {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1
}

.card-product__price>del {
    margin-left: 4px;
    font-size: 12px;
    color: #807f7d
}

.card-product__sale {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #ec670b
}

.card-product__blank {
    font-size: 12px;
    font-weight: 700;
    color: #807f7d
}

.card-product__title {
    display: -webkit-box;
    margin-bottom: 10px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 450;
    line-height: 130%;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.card-product__info {
    margin-bottom: 16px;
    padding: 0 10px
}

.card-product__info-text {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    color: #807f7d
}

.card-product__info-text:last-child {
    margin-bottom: 0
}

.card-product__info-text>span {
    font-weight: 500;
    color: #161d28
}

.card-product__btns-container {
    display: grid;
    grid-template-columns: 1fr 40px;
    gap: 10px
}

.card-product__btns-container--consult {
    grid-template-columns: 1fr;
}

.card-product__consult-btn {
    width: 100%;
    text-align: center;
    line-height: 1.2;
    white-space: normal;
}

.card-product_prev {
    justify-content: flex-start
}

/* Шильдики над фото, не поверх */
.card-product.card-product_prev > a:has(.card-product__slider) {
    position: relative;
    display: block;
    padding-top: 0;
}

.card-product.card-product_prev .shields_container {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 4px;
    width: auto;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    padding: 10px 0;
    background: #fff;
    pointer-events: none;
}

.card-product.card-product_prev .card-product__slider {
    margin-bottom: 4px;
}

.card-product.card-product_prev > a > .mm-badge {
    position: static;
    margin: 0;
    pointer-events: none;
}

.card-product.card-product_prev .card-product__link,
.card-product.card-product_prev .card-product__link:link,
.card-product.card-product_prev .card-product__link:visited,
.card-product.card-product_prev .card-product__title {
    text-decoration: none !important;
}

.card-product_prev .card-product__link,
.card-product_prev .card-product__title {
    margin-bottom: 0
}

.card-product_prev .card-product__price {
    position: relative;
    white-space: nowrap;
    overflow: hidden
}

.card-product_prev .card-product__price:after {
    display: none;
}

/* Листание фото в карточке */
.card-product.card-product_prev .card-product__slider .slider__container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 6px;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, #161d28, #fff 80%) transparent;
    scrollbar-gutter: stable;
}

.card-product.card-product_prev .card-product__slider .slider__container::-webkit-scrollbar-thumb {
    border-radius: 4px;
}

.card-product.card-product_prev .card-product__slider .slider__slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
}

.card-product_border {
    border: 1px solid #f4f5f6
}

.modal {
    position: fixed;
    z-index: 200;
    width: 100vw;
    height: 100vh;
    padding: 84px 0 100px;
    background-color: #f4f5f6;
    box-sizing: border-box;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: scroll;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease
}

.modal__content {
    position: relative;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease .1s, transform .4s ease .1s, visibility .4s .1s;
    transform: translateY(-20px)
}

.modal__btn {
    position: fixed;
    top: 20px;
    right: 16px;
    display: grid;
    width: 48px;
    height: 48px;
    color: #807f7d;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0000000f;
    place-items: center;
    transition: .15s ease-out
}

.modal__btn:active {
    background-color: color-mix(in srgb, #fff, #ec670b 10%)
}

.modal__btn:focus {
    opacity: .8
}

.modal__btn>svg {
    transform: rotate(45deg)
}

.modal.active {
    opacity: 1;
    visibility: visible
}

.modal.active .modal__content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

/* Login modal: ПК-only элементы скрыты на мобилке */
.login-modal__close,
.login-modal__register-q,
.login-modal__register-btn {
    display: none
}

.login-modal__forgot {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #161d28;
    text-decoration: none
}

.login-modal__register-link {
    display: inline
}

.card-product-cart__preview {
    display: flex;
    flex-flow: row nowrap;
    gap: 16px;
    margin-bottom: 16px
}

.card-product-cart__img {
    flex: 0 0 120px;
    width: 120px;
    height: 84px;
    border: 1px solid #f4f5f6;
    border-radius: 12px;
    -o-object-fit: cover;
    object-fit: cover
}

.card-product-cart__info {
    flex: 1
}

.card-product-cart__price {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1
}

.card-product-cart__price>del {
    margin-left: 4px;
    font-size: 12px;
    color: #807f7d
}

.card-product-cart__name {
    font-size: 16px;
    font-weight: 450;
    line-height: 130%
}

.card-product-cart__options {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px
}

.card-product-cart__amount {
    flex: 1
}

.grid {
    display: grid
}

.grid_btns-duo {
    grid-template-columns: 1fr 48px;
    gap: 10px
}

.card-catalog {
    display: flex;
    flex-flow: column nowrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    width: 140px;
    min-height: 150px;
    padding: 10px;
    background-color: #fff;
    border-radius: 12px;
    scroll-snap-align: center
}

.card-catalog__link {
    display: flex;
    flex-flow: column nowrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit
}

.card-catalog__link:focus {
    outline: none
}

.card-catalog__subs {
    display: none !important;
}

.card-catalog:focus-within {
    background: color-mix(in srgb, #ec670b, #fff 80%)
}

.card-catalog_sm {
    width: 108px;
    min-height: 150px
}

.card-catalog_sm .card-catalog__img {
    max-width: 96px;
    max-height: 96px;
    -o-object-fit: contain;
    object-fit: contain
}

.card-catalog_sm .card-catalog__title {
    overflow-wrap: break-word;
    font-size: 13px;
    font-weight: 400;
    -webkit-hyphens: auto;
    hyphens: auto
}

.card-catalog__title {
    width: 100%;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    color: #161d28
}

.card-catalog__img {
    max-width: 100%;
    max-height: 70px;
    -o-object-fit: contain;
    object-fit: contain
}

.catalog {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 0 16px 10px 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, #161d28, #fff 70%) transparent;
    scroll-snap-type: x mandatory;
    scrollbar-gutter: stable
}

.catalog::-webkit-scrollbar-thumb {
    border-radius: 4px
}

.dropdown.active {
    z-index: 150
}

.dropdown.active .dropdown__content {
    opacity: 1;
    visibility: visible;
    transition: .25s
}

.dropdown__content {
    position: absolute;
    top: 40px;
    right: 10px;
    left: 10px;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden
}

.dropdown__item {
    height: 36px;
    margin-bottom: 4px;
    background-color: transparent;
    border: 1px solid #f4f5f6;
    border-radius: 12px
}

.dropdown__item:last-child {
    margin-bottom: 0
}

.dropdown__item>label {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #454856
}

.dropdown__item:has(input[type=radio]:checked) {
    background-color: #f4f5f6
}

.dropdown__item>input {
    display: none
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    height: 100vh;
    background-color: #311f1533;
    opacity: 0;
    visibility: hidden;
    transition: .15s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px)
}

.overlay.active {
    opacity: 1;
    visibility: visible
}

.cards-list {
    display: grid
}

.cards-list_prev {
    display: grid;
    grid-auto-columns: 160px;
    grid-auto-flow: column;
    gap: 4px;
    margin-right: -16px;
    padding-right: 16px;
    padding-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, #161d28, #fff 80%) transparent;
    scroll-snap-type: x mandatory;
    scrollbar-gutter: stable
}

.cards-list_prev::-webkit-scrollbar-thumb {
    border-radius: 4px
}

.cards-list_prev-gradient {
    scrollbar-color: color-mix(in srgb, #fff, transparent) transparent
}

.cards-list#single {
    grid-template-columns: 100vw;
    gap: 10px
}

.cards-list#single .card-product {
    --slider-width: 100vw;
    --slider-height: 230px
}

.cards-list#single .card-product__trade {
    margin-bottom: 10px
}

.cards-list#single .card-product__price {
    font-size: 22px
}

.cards-list#single .card-product__price>del {
    margin-left: 8px;
    font-size: 16px
}

.cards-list#single .card-product__sale {
    margin-top: 8px;
    font-size: 16px
}

.cards-list#single .card-product__blank {
    font-size: 18px
}

.cards-list#single .card-product__title {
    font-size: 16px
}

.cards-list#single .card-product .tag {
    height: 28px;
    padding: 4px 16px;
    font-size: 14px;
    line-height: 22px
}

.cards-list#single .card-product .button {
    height: 48px;
    font-size: 16px
}

.cards-list#double {
    grid-template-columns: repeat(2, calc(50vw - 2px));
    gap: 4px
}

.cards-list#double .card-product {
    --slider-width: calc(50vw - 2px);
    --slider-height: 130px
}

.cards-list#table {
    grid-auto-columns: calc((100vw - 1px)/2);
    grid-auto-flow: column;
    grid-template-columns: repeat(auto-fill, calc((100vw - 1px)/2));
    grid-template-rows: 1fr;
    gap: 1px;
    padding: 1px 1px 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, #161d28, #fff 80%) transparent;
    scroll-snap-type: x mandatory;
    scrollbar-gutter: stable;
    scroll-snap-align: start
}

.cards-list#table .card-product {
    --slider-width: calc((100vw - 1px)/2);
    --slider-height: 130px;
    border-radius: 0;
    scroll-snap-align: start;
    overflow: hidden
}

.cards-list#table .card-product:first-child {
    border-radius: 12px 0 0 12px
}

.cards-list#table .card-product:first-child .card-product__info-text {
    position: sticky;
    color: #807f7d
}

.cards-list#table .card-product:last-child {
    border-radius: 0 12px 12px 0
}

.cards-list#table .card-product__slider {
    border-radius: 0
}

.cards-list#table .card-product__section {
    min-height: 105px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f4f5f6
}

.cards-list#table .card-product__info-text {
    display: flex;
    flex-flow: column nowrap;
    min-height: 75px;
    margin-right: -10px;
    margin-bottom: 10px;
    margin-left: -10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    color: transparent;
    border-bottom: 1px solid #f4f5f6
}

.cards-list#table .card-product__info-text>span {
    display: block;
    align-self: center;
    margin-top: auto;
    color: #161d28
}

.mobile__filter {
    width: 100%
}

.mobile__filter .filter__block {
    margin: 0;
    border: none
}

.mobile__filter .filter_block {
    background: transparent
}

.mobile__filter .container {
    padding-right: 0;
    padding-left: 0
}

.mobile__filter .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0
}

.mobile__filter .filter {
    padding: 30px 0 10px;
    background: transparent
}

.mobile__filter .filter:last-child {
    padding: 10px 0 0
}

.mobile__filter .filter:first-child {
    padding: 10px 0 0
}

.mobile__filter .filter:hover {
    background: transparent
}

.mobile__filter .filter_title {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500
}

.mobile__filter .filter_price_b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px
}

.mobile__filter .mobile__filter .filter_price_pole {
    width: 45%
}

.mobile__filter .filter_price_pole {
    width: 45%;
    height: 40px;
    padding: 12px 10px 10px;
    font-size: 16px;
    font-weight: 550;
    text-align: center;
    color: #807f7d;
    border: 1px solid #f4f5f6;
    border-radius: 12px
}

.mobile__filter .mobile__filter .fpdef {
    width: 6%;
    margin: 0
}

.mobile__filter .filter_block .niceCheck {
    position: relative;
    display: inline-block;
    width: 24px;
    min-width: 70px;
    height: 24px;
    margin-right: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    accent-color: #ec670b;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.mobile__filter .filter_block .niceCheck input {
    width: 24px;
    height: 24px;
    margin-right: 4px
}

.mobile__filter .fpdef {
    display: none !important;
}

.mobile__filter .fpnc,
.mobile__filter .fpnl,
.mobile__filter .fpnr {
    font-size: 12px;
    color: #807f7d
}

.mobile__filter .fpnc {
    position: absolute;
    left: 0;
    width: 100%;
    margin-top: 0;
    text-align: center
}

.mobile__filter .fpnl {
    float: left
}

.mobile__filter .fpnr {
    float: right
}

.mobile__filter .filter_price_fix {
    position: relative;
    height: 21px;
    margin-bottom: 6px;
    font-size: 10px;
    color: #807f7d
}

.mobile__filter .ui-widget-content {
    background: #f4f5f6;
    border: none
}

.mobile__filter .ui-slider-horizontal {
    height: 4px
}

.mobile__filter .ui-slider {
    position: relative
}

.mobile__filter .filter_price_fix_separ {
    position: absolute;
    left: 50%;
    margin-top: 19px;
    font-size: 7px
}

.mobile__filter .filter_price_slider {
    width: calc(100% - 20px);
    max-width: none
}

.mobile__filter .ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%
}

.mobile__filter .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    display: block;
    font-size: .7em;
    border: 0;
    overflow: hidden
}

.mobile__filter .ui-widget-header {
    background: #ec670b
}

.mobile__filter .ui-slider-horizontal .ui-slider-handle {
    top: -7px
}

.mobile__filter .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 1;
    width: 19px;
    height: 19px;
    background: #fff;
    border: 3px solid #ec670b;
    border-radius: 50%
}

.mobile__filter .fil_count_2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%
}

.filter-modal {
    position: fixed;
    z-index: 150;
    height: 100%;
    min-height: 100vh;
    padding: 20px 16px 100px;
    background-color: #fff;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease-out
}

.filter-modal__btn {
    position: absolute;
    top: 26px;
    right: 16px;
    color: #807f7d;
    transform: rotate(45deg)
}

.filter-modal.active {
    opacity: 1;
    visibility: visible
}

.vk-video {
    position: relative;
    display: block
}

.vk-video:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 50px;
    height: 50px;
    background: url(/design/2025-metalmaster-mob/img/icons/vk_video.png) center/contain;
    transform: translate(-50%, -50%);
    content: ""
}

.vk-video>img {
    margin-bottom: 10px;
    border-radius: 16px
}

.vk-video:last-child>img {
    margin-bottom: 0
}

.mySwiper {
    width: 100%;
    height: auto;
    margin: 16px 0;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
}

.home-banners .mySwiper {
    aspect-ratio: 1110 / 385;
    overflow: hidden;
    position: relative;
}

.home-banners .swiper-wrapper {
    display: flex;
}

.home-banners .swiper-slide,
.mySwiper .swiper-slide {
    display: block;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.home-banners .swiper-slide > a,
.mySwiper .swiper-slide > a {
    display: block;
    width: 100%;
    height: 100%;
}

.home-banners .swiper-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.home-banners .new__slid-img,
.home-banners .swiper-slide > a > img,
.mySwiper .swiper-slide > a > img {
    display: block;
    width: 100% !important;
    max-width: none;
    height: 100% !important;
    max-height: none !important;
    object-fit: fill !important;
    object-position: center;
}

.catalog-main {
    display: grid;
    grid-auto-columns: 108px;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
    width: 100%;
    height: -moz-fit-content;
    height: fit-content;
    padding: 0 16px 10px 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, #161d28, #fff 70%) transparent;
    scroll-snap-type: x mandatory;
    scrollbar-gutter: stable both-edges
}

.catalog-main::-webkit-scrollbar-thumb {
    border-radius: 4px
}

@media (min-width: 576px) {
    .catalog-main {
        grid-template-rows: 1fr
    }
}

.catalog-main .card-catalog {
    scroll-snap-align: start
}

.catalog-main .card-catalog,
.catalog-main .card-catalog_sm {
    gap: 6px;
    align-items: center;
    justify-content: space-between;
    width: 108px;
    min-height: 150px;
    padding: 4px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box
}

.catalog-main .card-catalog__link {
    display: flex;
    flex-flow: column nowrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    min-height: 0;
    background-color: transparent
}

.catalog-main .card-catalog__title {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 0;
    max-height: none;
    background-color: transparent;
    overflow-wrap: break-word;
    font-size: 13px;
    font-weight: 400;
    line-height: 120%;
    color: #161d28
}

.catalog-main .card-catalog_sm .card-catalog__img,
.catalog-main .card-catalog__img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 96px !important;
    max-height: 96px !important;
    margin: 0 auto;
    padding: 0;
    object-fit: contain;
    object-position: center;
    align-self: center;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    background: transparent !important;
    transform: none !important
}

.card-link {
    display: flex;
    flex-flow: column nowrap;
    gap: 10px;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
    border-radius: 12px
}

.card-link:active,
.card-link:focus {
    background: color-mix(in srgb, #fff 85%, #ec670b)
}

.card-link__title {
    color: #ec670b
}

.card-link_orange {
    background-color: #ec670b
}

.card-link_orange:active,
.card-link_orange:focus {
    background: color-mix(in srgb, #ec670b 85%, #fff)
}

.card-link_orange .card-link__title {
    color: #fff
}

.card-link_orange .card-link__button {
    color: #ec670b;
    background-color: #fff
}

.banner {
    display: flex;
    flex-flow: column nowrap;
    min-height: 260px;
    padding: 30px 16px 20px;
    background-color: #161d28;
    background-image: url(/design/2025-metalmaster-mob/img/icons/Ellipse.svg);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 160px;
    border-radius: 12px
}

@media (min-width: 576px) {
    .banner {
        background-size: 260px
    }
}

.banner__text {
    font-size: 18px;
    font-weight: 300;
    line-height: 130%;
    color: #fff
}

.banner__button {
    max-width: -moz-max-content;
    max-width: max-content;
    margin-top: auto;
    padding: 17px 30px 15px
}

.card-video {
    display: flex;
    flex-flow: column nowrap;
    border: 1px solid #f4f5f6;
    border-radius: 16px;
    overflow: hidden
}

.card-video_surveillance {
    position: relative
}

.card-video_surveillance:before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: block;
    width: 60px;
    height: 60px;
    background: url(/design/2025-metalmaster-mob/img/icons/video-play.svg) center/contain;
    transform: translate(-50%, -50%);
    content: ""
}

.card-video_surveillance .card-video__img {
    position: relative;
    border-radius: 16px
}

.card-video_surveillance .tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    height: 36px
}

.card-video__info {
    padding: 12px 16px 16px
}

.card-video__title {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 450;
    line-height: 130%;
    color: #161d28
}

.card-video__img-container {
    position: relative
}

.card-video__img-container:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 50px;
    height: 50px;
    background: url(/design/2025-metalmaster-mob/img/icons/vk_video.png) center/contain;
    transform: translate(-50%, -50%);
    content: ""
}

.card-video__img {
    display: block;
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover
}

.advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin: 0 -16px
}

.card-advantages {
    display: flex;
    flex-flow: column nowrap;
    padding: 20px;
    background-color: #fff;
    border-radius: 16px
}

.card-advantages__accent {
    margin-bottom: 12px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #ec670b
}

.card-advantages__title {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%
}

.card-advantages__description {
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    color: #807f7d
}

.geo {
    display: block
}

.geo__nav {
    --top: 0px;
    --left: 0px;
    --width: 100px;
    position: relative;
    display: flex;
    flex-flow: row wrap;
    max-width: -moz-max-content;
    max-width: max-content;
    margin-bottom: 20px;
    padding: 4px;
    background-color: #f4f5f6;
    border-radius: 16px
}

.geo__nav:before {
    position: absolute;
    top: var(--top, 4px);
    left: var(--left, 4px);
    display: block;
    width: var(--width, 80px);
    height: 38px;
    background-color: #fff;
    border-radius: 12px;
    transition: all .3s ease;
    content: "";
    pointer-events: none
}

.geo__nav-item {
    z-index: 1
}

.geo__nav-btn {
    padding: 12px 12px 10px;
    font-size: 16px;
    font-weight: 450;
    line-height: 1;
    white-space: nowrap
}

.geo__info {
    margin-bottom: 16px
}

.geo__title {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%
}

.geo__description {
    font-size: 14px;
    font-weight: 450;
    line-height: 120%;
    color: #807f7d
}

.geo #map {
    margin: 0 -12px -26px;
    border-radius: 12px;
    overflow: hidden
}

.video-container {
    display: grid;
    grid-auto-columns: 300px;
    grid-auto-flow: column;
    grid-template-rows: 1fr;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, #161d28, #fff 70%) transparent;
    scroll-snap-type: x mandatory;
    scrollbar-gutter: stable;
    margin-right: -16px;
    padding: 0 16px 10px 0
}

.video-container::-webkit-scrollbar-thumb {
    border-radius: 4px
}

html:has(div.modal.active, div.overlay.active, div.filter-modal.active) {
    overflow: hidden
}

iframe {
    border-radius: 16px
}

hr {
    height: 1px;
    background-color: #f4f5f6;
    box-sizing: content-box;
    overflow: visible
}

hr.margin-out {
    margin-right: -1rem;
    margin-left: -1rem
}

a:not([class]),
a:link:not([class]) {
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: var(--mm-brand, #ec670b);
    color: var(--mm-brand, #ec670b);
    transition: .15s;
    cursor: pointer
}

.page__footer .footer__mid a:not([class]),
.page__footer .footer__mid a:link:not([class]) {
    color: var(--mm-muted, #454856);
    text-decoration: none;
    font-weight: 500;
}

.page__footer .footer__mid a:not([class]):hover,
.page__footer .footer__mid a:link:not([class]):hover {
    color: var(--mm-brand, #ec670b);
    text-decoration: none;
}

a:not([class]):hover,
a:not([class]):active,
a:not([class]):focus,
a:link:not([class]):hover,
a:link:not([class]):active,
a:link:not([class]):focus {
    text-decoration: underline;
    text-decoration-color: var(--mm-hover, #d45a0a);
    color: var(--mm-hover, #d45a0a)
}

.visually-hidden:not(:focus, :active),
input[type=checkbox].visually-hidden,
input[type=radio].visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    white-space: nowrap;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    overflow: hidden
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 650
}

h1>a:not([class]),
h2>a:not([class]),
h3>a:not([class]),
h4>a:not([class]),
h5>a:not([class]),
h6>a:not([class]) {
    font-weight: 650 !important
}

.title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    color: #161d28
}

.title_white {
    color: #fff
}

.subtitle {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 300;
    line-height: 1;
    color: #161d28
}

.subtitle_white {
    color: #fff
}

.news-container{
    display: grid;
    grid-auto-columns: 300px;
    grid-auto-flow: column;
    grid-template-rows: 1fr;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: 
 color-mix(in srgb, #161d28, #fff 70%) transparent;
    scroll-snap-type: x mandatory;
    scrollbar-gutter: stable;
    margin-right: -16px;
    padding: 0 16px 10px 0;
}
    
    .card-news {
        display: flex;
    flex-flow: column nowrap;
    border: 1px solid #f4f5f6;
    border-radius: 16px;
    overflow: hidden;
    }
    .card-news-container{
      position: relative;
      display: block;
      width: 100%;
      overflow: hidden;
      background-color: #f4f5f6;
      flex: none;
    }

    .card-news-container::before {
      content: "";
      display: block;
      padding-top: 56.25%;
    }
    .card-news__info{
      padding: 12px 16px 16px;

    }
    .card-news__title{
      margin-bottom: 10px;
    font-size: 16px;
    font-weight: 450;
    line-height: 130%;
    color: #161d28;

    }
    .card-news__img{
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center;
  }

    .card_news-link {
    display: flex;
    flex-flow: column nowrap;
    gap: 10px;
    justify-content: space-between;
    padding: 10px;
    background-color: #ec670b;
    border-radius: 12px;
}

.card-link_orange .card_news-link__button {
    color: #ffffff;
    background-color: #fff;
}

.button_news {
--bg-color: #ffffff;
    display: flex;
    flex-flow: column nowrap;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #ec670b;
    background-color: var(--bg-color);
    border-radius: 16px;
    transition: .15s ease-out;
}
.card_news-link__title {
  color: #fff;

}

.container-bg_news {
  margin-top: 30px;
    padding: 30px 16px;
    background-color: #fff;
    border-radius: 16px
}

/* Отдельный класс для модального окна обзоров */
.modal_video {
  background-color: #ffffff;
}

.modal_video {
  padding-top: 60px;
}

.modal_video .modal__btn {
  position: absolute;
  top: -7px;
  right: 16px;
  background-color: #f4f5f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Контейнер с видео в модалке */
.modal-video-container {
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 8px;
  padding-bottom: 20px;
}


.modal_video .video-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-right: 0;
  padding: 0;
  overflow: visible;
  grid-auto-flow: row;
  scroll-snap-type: none;
}

.modal_video {
  padding: 11px 0 0;
  background-color: #fff;
}

/* Контейнер для списка видео внутри модалки */
.modal_video .modal-video-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 60px;
  padding-bottom: 20px;
}

.modal_video .video {
  display: block;
  width: 100%;
}

.card_rev-link {
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
  justify-content: space-between;
  padding: 10px;
  background-color: #ec670b;
  border-radius: 12px;
}

.card-link_orange .card_rev-link__button {
  color: #ffffff;
  background-color: #fff;
}

.card_rev-link__title {
  color: #fff;

}

.button_rev {
  --bg-color: #ffffff;
  display: flex;
  flex-flow: column nowrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #ec670b;
  background-color: var(--bg-color);
  border-radius: 16px;
  transition: .15s ease-out;
}

.modal_news {
  padding: 11px 0 0;
  background-color: #ffffff;
}

.modal_news .modal__btn {
  position: absolute;
  top: -7px;
  right: 16px;
  background-color: #f4f5f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 25;
}

.modal_news .container {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.modal_news .title {
  flex-shrink: 0;
  margin-bottom: 16px;
  padding-top: 10px;
  background-color: #fff;
  z-index: 10;
}

.modal_news .modal-news-container {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal_news .news {
  display: block;
  width: 100%;
}

.modal_news .card-news,
.modal_news .card-video {
  border: 1px solid #f4f5f6;
  border-radius: 16px;
  overflow: hidden;
}

.modal_news .card-news-container {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.modal_news .card-news-container::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.modal_news .card-news__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none;
  object-fit: contain;
}

.modal_news .card-video__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none;
  object-fit: cover;
}

.modal_news .card-news__info,
.modal_news .card-video__info {
  padding: 12px 16px 16px;
}

.news-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.news-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border: none;
  border-radius: 12px;
  background: #ec670b;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.news-action-btn:hover {
  background: #d55a0a;
}

.news-action-btn.icon-only {
  width: 36px;
  padding: 0;
}

.news-action-btn .count {
  font-size: 14px;
  font-weight: 500;
  color: inherit;
}

.card-news__title,
.card-video__title {
  width: 100%;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 450;
  line-height: 130%;
  color: #161d28;
}

@media (max-width: 360px) {
  .news-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

.modal_news .card-news__info,
.modal_news .card-video__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 16px;
}

.modal_news .tag_date {
  flex: 0 0 auto;
}

.modal_news .news-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-action-btn .svg-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}




