
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/elements/css/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/elements/css/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/elements/css/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* fallback чтобы medium не ломался */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/elements/css/Montserrat-Regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

/* =========================
   ROBOTO
========================= */

@font-face {
    font-family: 'Roboto';
    src: url('/assets/elements/css/Roboto[wdth,wght].woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('/assets/elements/css/BebasNeue-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('/assets/elements/css/BebasNeue-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('/assets/elements/css/BebasNeue-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}


html * {
   font-family: 'Montserrat';
}
.product-row__mobile-info {
    display: none;
}

.card-team-img{
    width: 261px;
    height: 261px;
    object-fit: cover;
}
.cart-bottom {
    margin-top: 40px;
}

.cart-bottom__line {
    border-color: #F67837;
    opacity: 1;
    margin-bottom: 30px;
}

.cart-bottom__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}
.cart-title-main{
    font-size:20px; 
    color:#46464680; 
    line-height: 160%; 
    font-family: 'Montserrat';
    font-weight: 600;
    margin-bottom:20px;
}
.cart-bottom__clear {
    border: none;
    background: transparent;

    color: #9B9B9B;
    text-transform: uppercase;
    text-decoration: underline;

    font-size: 14px;
    padding: 0;
}

.cart-bottom__link {
    color: #9B9B9B;
    text-transform: uppercase;
    text-decoration: underline;

    font-size: 14px;
}

.cart-bottom__link:hover,
.cart-bottom__clear:hover {
    color: #464646;
}
/* cart */
.custom-dot-list {
    list-style: none;
    padding-left: 0;
}

.custom-dot-list li {
    position: relative;
    padding-left: 32px;
}

.custom-dot-list li::before {
    content: "";
    position: absolute;

    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 16px;
    height: 16px;

    border-radius: 50%;
    background: #F67837;
}

/* Литейный цех*/

.catalog-card__title {
    font-size: 18px;
    padding:10px 10px 20px 10px;
    font-weight: 500;
    line-height: 140%;
    text-transform: uppercase;
    color: #F47C20;
}

.catalog-card__text {
    font-size: 20px;
    padding:10px 10px;
    font-weight: 500;
    line-height: 120%;
    color: #464646;
}
.catalog-info__text{
    line-height: 120%; 
    font-size: 25px; 
    color:#F67837;
    font-family: 'Montserrat';
}
.custom-list li::marker {
    color: #464646;
}
.custom-list {
    margin-left: 30px;
}


/* Литейный цех*/
/*breadcrumb*/
.breadcrumb-link {
    font-size: 14px;
    font-weight: 500;
    color: #46464660;
    transition: 0.2s;
}

.breadcrumb-link:hover {
    color: #464646;
}

.breadcrumb-link--active {
    color: #464646;
    font-weight: 500;
}
/*breadcrumb*/

/* product.tpl */
@media (max-width: 768px) {

    .product-tpl__image img,
    .ms2Gallery img {
        margin: 0 auto;
        display: block;
    }

}
.product-related {
    width: 100%;
    background: #46464610;
    padding: 60px 0;
    margin-top: 60px;
}

.product-related__top {
    margin-bottom: 40px;
}

.product-related__top h2 {
    font-size: 42px;
    font-weight: 700;
    white-space: nowrap;
}

.product-related__top hr {
    border-color: #ff7a2f;
    opacity: 1;
}

.product-related__item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-related__item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
}

.product-related__item a {
    color: #555;
    text-decoration: none;
}

.product-related__item a:hover {
    color: #000;
}

.accordion-button::after {
    display: none;
}


.accordion-button::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='7' y1='1' x2='7' y2='13' stroke='%23212529' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='1' y1='7' x2='13' y2='7' stroke='%23212529' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}


.accordion-button:not(.collapsed)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='1' y1='7' x2='13' y2='7' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.product-tpl {
    display: flex;
    gap: 40px;
}

.product-tpl__left {
    width: 40%;
}

.product-tpl__image img {
    width: 100%;
    border-radius: 12px;
}

.product-tpl__right {
    width: 60%;
}

.product-tpl__title {
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.product-tpl__subtitle {
    margin-top: 20px;
    font-size: 14px;
    text-transform: uppercase;
}

.product-tpl__subtitle--mt {
    margin-top: 30px;
}

.product-tpl__row {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.product-tpl__btn {
    margin-top: 20px;
    width: 100%;
    background: #ff7a2f;
    border: none;
    padding: 12px;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.product-tpl__accordion {
    margin-top: 15px;
}

/*             */
.product-row {
    border-bottom: 1px solid #ddd;
}

.product-row__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    width: 100%;
}

.product-row__img {
    width: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.product-row__img img {
    width: 100%;
    display: block;
}

.product-row__title {
    flex: 2;
}

.product-row__title a {
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.product-row__brand {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.product-row__gost,
.product-row__size,
.product-row__extra {
    flex: 1;
    text-align: center;
}

.product-row__btn {
    width: 140px;
    flex-shrink: 0;
}

.btn-order {
    width: 100%;
    background: #ff7a2f;
    border: none;
    padding: 10px;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}
.card-custom {
    border: 1px solid #444;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    background: #f3f3f3;
}


.card-custom__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}
.msProducts-text{
    display:flex;
    gap: 17%;
 
}
.card-custom__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-custom__bottom {
    background: #fff;
    padding: 15px;
    text-align: center;
}

.card-custom__title {
    color: #666;
    font-size: 16px;
}



.contacts {
    background: #f5f5f5;
    padding: 40px 0;
}

.contacts__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.contacts__map {
    width: 50%;
}

.contacts__info {
    width: 50%;
}

.contacts__tabs {
    display: flex;
    gap: 30px;
}

.contacts__tab {
    background: none;
    border: none;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    color: #555;
}

.contacts__tab.active {
    color: #ff6b00;
}

.contacts__line {
    height: 2px;
    background: #ff6b00;
    margin: 10px 0 20px;
}

.contacts__content {
    display: none;
    color: #333;
    line-height: 1.6;
    margin:0 ;
}

.contacts__content.active {
    display: block;
}
.contacts__content p {
    margin: 5px 0;
    line-height: 1.4;
}
.contacts__phones a {
    display: block;
    color: #464646 !important;
    text-decoration: none !important;
}

.contacts__phones a:hover {
    text-decoration: underline;
}

.contacts__extra {
    margin-top: 20px;
}

.contacts__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}
.contacts__links{
    margin-top:90px;
}
.contacts__links a {
    display: block;
    color: #777;
    text-decoration: none !important;
    margin-top: 5px;
}

.contacts__links a:hover {
    color: #ff6b00;
}

.custom-file {
    cursor: pointer;
}

.file-ui-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.file-ui-footer img {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.afish-title{
    font-size: 80px; 
    margin: 0 48px 15px;
}
.specialSwiper {
    padding: 20px 0;
}
.hero-section {
    background-image: url('/assets/images/mainPage/mainPage.png') !important;
    background-size: cover;
    background-position: center;
    min-height: 780px;
}
.vote{
    display: flex;
}
.learn-more{
    display:flex;
    justify-content: flex-end;
}
.num-avatar{
    width: 5em; 
    height: 5em;
    top: 56px;
    left: 5%;
    background-color: #F67837;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.card-footer{
    display:flex;
    flex-direction: row;
}
.num-avatar-r{
    width: 5em; 
    height: 5em;
    top: 56px;
    right: 5%;
    background-color: #F67837;
    border-radius: 50%;
    transform: translate(50%, -50%);
}
.special-nav {
    display: flex;
    justify-content: space-between; /* ВОТ ТУТ теперь уместно */
    align-items: center;
    width: 100%;
    margin-top: 30px;
}

.trust-nav {
    display: flex;
    justify-content: space-between; /* ВОТ ТУТ теперь уместно */
    align-items: center;
    width: 100%;
    margin-top: 30px;
}
.reviews-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.reviews-prev,
.reviews-next {
    background: none;
    border: none;
    cursor: pointer;
}
.special-prev,
.special-next {
    background: none !important;
    border: none !important;
    padding: 0;
    box-shadow: none !important;
}
.special-prev .special-next{
    border:none;
    background:red;
}

.trust-prev,
.trust-next {
    background: none !important;
    border: none !important;
    padding: 0;
    box-shadow: none !important;
}

.specialSwiper .swiper-slide {
    width: auto !important;
    display: flex;
    justify-content: center !important;
}

.special-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
}

.specialSwiper .swiper-button-prev,
.specialSwiper .swiper-button-next {
    display: none;
}
.hero-section {
    position: relative;
    background-image: url('/assets/images/mainPage/mainPage.jpg');
    background-size: cover;
    background-position: center;
}

.btn-warning{
    border-radius: 8px;
    background-color: #F67837;
    transition: background-color 0.3s ease;
}

.btn-warning:hover {
    background-color: #d95f25;
}



.imgList {
    list-style: none;
    padding-left: 0;
}

.imgList li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 14px;
}

.imgList li::before {
    content: "";
    position: absolute;

    left: 0;
    top: 10px;

    width: 18px;
    height: 18px;

    background-image: url("/assets/icons/listArrowOrange.png");
    background-repeat: no-repeat;
    background-size: contain;
}


.fr-name {
    display: none;
}
.hidden {
    display: none;
}

h1,h2,.h1,.h2 {
    font-family: 'Bebas Neue'!important;
}
.h1 {
    font-weight: 700;
}
.h2 {
    font-weight: 400;
}
.fs-1 {
    font-family: 'Bebas Neue'!important;
    font-weight: 700;
    text-align: left;
}
.fs-3 {
    font-family: Bebas Neue;
    font-weight: 100;
    text-align: left;
    vertical-align: text-top;
}
.ms-10 {
    margin-left: 10rem; !important;
}
.mr-10 {
    margin-right: 10rem; !important;
}

.fix-370 {
    height:370px;
    width: 370px;
}

.footer-contact{
    padding: 0 0 0 110px; 
    flex: 0 0 auto; 
    width: 34%;
}
    
.fs-2 {
    font-family: Montserrat;
    font-weight: 700;
    line-height: 43.88px;
    text-align: left;
}

/* Кнопка прокрутки страницы вверх */
.btn-up {
  /* фиксированное позиционирование */
  position: fixed;
  /* цвет фона */
  background-color: #fd7e14;
  /* расстояние от правого края окна браузера */
  right: 20px;
  /* расстояние от нижнего края окна браузера */
  bottom: 0;
  /* скругление верхнего левого угла */
  border-top-left-radius: 8px;
  /* скругление верхнего правого угла */
  border-top-right-radius: 8px;
  /* вид курсора */
  cursor: pointer;
  /* отображение элемента как flex */
  display: flex;
  /* выравниваем элементы внутри элемента по центру вдоль поперечной оси */
  align-items: center;
  /* выравниваем элементы внутри элемента по центру вдоль главной оси */
  justify-content: center;
  /* ширина элемента */
  width: 60px;
  /* высота элемента */
  height: 50px;
  z-index: 1;
}

.btn-up::before {
  content: "";
  width: 40px;
  height: 40px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}

.btn-up_hide {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: #ffa447; /* цвет заднего фона при наведении */
  }
}

.hidden-item {
    display: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}



/* Сбросим стандартные маркеры и включим собственную нумерацию */
ol.styled-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Общее оформление для каждого пункта */
ol.styled-list li {
  counter-increment: item;
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5em;
  font-size: 14px;
  line-height: 1.4;
}

/* Квадратик с цифрой */
ol.styled-list li::before {
  content: counter(item);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin-right: 0.75em;
  background-color: #F67837;
  color: white;
  font-weight: bold;
  font-size: 0.9em;
  border-radius: 0; /* если нужен острый квадрат; для чуть скруглённого можно поставить 4px */
}

/* Если нужно, чтобы текст переносился на новой строке с отступом под цифрой */
ol.styled-list li p {
  margin: 0;
}

ul.styled-list {
  counter-reset: item;
}

ul.styled-list li::before {
  font-size: 14px;
  line-height: 1.4;
  width: 8px;
  height: 8px;
}
li::marker {
  color: #F67837;  /* ваш оранжевый цвет */
}

@media (max-width: 768px) {
    .footer-block {
        display:flex;
        flex-direction: column;
        padding-left: 30px;
        
    }
    
    .learn-more{
    display:flex;
    justify-content: flex-end;
    position: relative;
    top: -40px;
    left: -20px;
    }
    
    .footer-text{
        font-size:12px;
    }
    .num-avatar{
        width: 2em; 
        height: 2em;
    }
    
    .iconCart{
        filter: invert(1);
    }
    .num-avatar-r{
        width: 2em; 
        height: 2em;
    }
    
    .afish-title{
        margin: 0 auto;
        font-size:44px;
        text-align: center;
        font-width:bold;
    }


    .hero-section {
        background-image: url('/assets/images/mainPage/mainPage_mb.png') !important;
    }
    
    .footer-title{
        font-size:14px;
    }
    .team-main-avatar{
        display:flex;
        justify-content: center;
    }
    .footer-contact{
        padding:0;
    }
    .block-img-team{
        margin-left:50px;
    }
    
    .card-team-mb{
        display:flex;
        flex-direction: column-reverse;
    }
    .card-team-mb-left{
        display:flex;
        flex-direction: column;
    }
    
    .card-team-img{
        width: 151px;
        height: 151px;
    }
    
    /* карточка в каталоге */
    
    .product-row__inner {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-areas:
            "img title"
            "img gost"
            "img size"
            "img extra"
            "btn btn";
        gap: 4px 12px;
        align-items: start;
    }

    .product-row__img {
        grid-area: img;
    }

    .product-row__title {
        grid-area: title;
    }

    .product-row__gost {
        grid-area: gost;
    }

    .product-row__size {
        grid-area: size;
    }

    .product-row__extra {
        grid-area: extra;
    }

    .product-row__btn {
        grid-area: btn;
        width: 100%;
        margin-top: 10px;
    }

    .product-row__btn button,
    .product-row__btn .btn {
        width: 100%;
        height: 54px;
        
    }

    .product-row__img img {
        width: 80px;
        height: 80px;
        object-fit: cover;
    }
    .product-row__inner {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-areas:
            "img title"
            "img info"
            "btn btn";
        gap: 8px 12px;
        align-items: start;
    }

    .product-row__img {
        grid-area: img;
    }

    .product-row__title {
        grid-area: title;
    }

    .product-row__mobile-info {
        grid-area: info;
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
    }

    .product-row__mobile-info > div {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .product-row__mobile-info > div span:first-child {
        color: #888;
    }

    .product-row__gost,
    .product-row__size,
    .product-row__extra {
        display: none;
    }

    .product-row__btn {
        grid-area: btn;
        width: 100%;
    }

    .product-row__btn .btn-order {
        width: 100%;
    }
    
}
