:root {
   --mainColor: #466184;
   --titleColor: #001B3E;
}

@media only screen and (max-width: 1366px) {}

@media only screen and (max-width: 1199px) {
   .t-ordering__grid{
      grid-template-columns: 1fr;
   }
   .t-footer-bottom {
      grid-template-columns: repeat(3, 1fr);
   }

   .t-footer__col {
      padding: 16px 10px;
   }

   .t-about__img-block {
      padding-right: 10px;
   }

   .t-feedback__title {
      font-size: 36px;
   }

   .t-feedback__text {
      font-size: 20px;
   }

   .t-catalog-menu__col {
      padding-left: 16px;
   }
}

@media only screen and (max-width: 1023px) {

   .card-pr__grid {
      grid-template-columns: 100%;
   }

   .t-product-tabs__grid,
   .t-static__grid {
      grid-template-columns: 1fr;
   }

   .t-brand-info {
      display: grid;
      grid-template-columns: 2fr 3fr;
      align-items: start;
   }

   .t-brand-info__name {
      display: none;
   }

   .filter__accordion,
   .t-catalog-recomended {
      display: none;
   }

   .filter-button {
      display: flex;
   }

   .t-catalog-grid__left {
      grid-row: 2;
      position: relative;
   }

   .filter-button {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 5px;
      align-items: end;
   }

   .filter__accordion {
      position: fixed;
      top: 0;
      right: 0;
      bottom:0;
      width: 100%;
      z-index: 100;

      
   }

   .filter__accordion .mfilter-box{
      display: grid;
      background: rgba(0, 0, 0, 0.7);
      align-items: center;
      padding: 15px;
      height: 100%;
      overflow: auto;
      margin: 0;
   }
   .mfilter-content{
      position: relative;
      margin-bottom: 0;
      margin-top: 30px;
   }
   .mfilter-content .close_modal_window {
      display: block;
      color: #fff;
      opacity: 1;
      top: -30px;
   }
   

   #t-mob-menu {
      display: block;
      position: fixed;
      top: -100%;
      left: 0;
      z-index: 200001;
      flex-direction: column;
      overflow-y: auto;
      transition: all 0.5s;
      width: 100%;
      height: calc(100vh - 120px);
      background: var(--greyColor);
   }

   #t-mob-menu.__open {
      top: 120px;
   }

   #t-mob-menu .t-menu {
      width: 100%;
      flex: 1 1 100%;
   }

   #t-mob-menu .t-menu__list {
      flex-direction: column;
      align-items: inherit;
      gap: 12px;
   }

   #t-mob-menu .t-menu__link {
      display: block;
      font-size: 18px;
      padding: 16px 20px;
      background: var(--mainColor);
      border-radius: 16px;
   }

   #t-mob-menu .t-container {
      height: 100%;
      padding-block: 16px;
      display: flex;
      flex-direction: column;
   }

   #t-mob-menu .t-header-phone__link {
      font-weight: 700;
      color: var(--blueColor);
      font-size: 14px;
   }

   #t-mob-menu .t-header-language .dropdown-toggle {
      color: var(--blueColor);
   }

   #t-mob-menu .t-header-language .dropdown-menu {
      top: inherit;
      bottom: 110%;
   }

   .t-header-top__container {
      justify-content: space-between;
   }

   .t-mob-menu__grid {
      display: flex;
      align-items: center;
      justify-content: space-between;
   }

   .t-bars {
      display: flex;
      flex-direction: column;
      padding-left: 6px;
      justify-content: center;
      width: 30px;
      height: 30px;
      cursor: pointer;
   }

   .t-bars span {
      display: inline-block;
      width: 18px;
      height: 1px;
      background: #fff;
      margin-bottom: 5px;
      transition: all 0.3s;
   }

   .t-bars span:last-child {
      margin-bottom: 0;
   }

   .t-bars .first {
      transform: translate(3.5px, -0.5px) rotate(45deg);
      transform-origin: left top;
   }

   .t-bars .middle {
      transform: scale(0);
   }

   .t-bars .last {
      transform: translate(-2px, -13px) rotate(-45deg);
      transform-origin: right bottom;
   }

   .t-header-top .t-menu,
   .t-header-top .t-header-phone,
   .t-header-top .t-header-language {
      display: none;
   }

   .t-about__grid {
      grid-template-columns: 1fr;
   }

   .t-footer-top {
      display: grid;
      grid-template-columns: auto 1fr;
   }

   .t-footer__container .t-menu {
      grid-column: 1/-1;
      order: 3;
   }

   .t-hero__item-container {
      padding-bottom: 130px;
   }

   .t-catalog-grid {
      grid-template-columns: 1fr;
   }
}

@media only screen and (max-width: 959px) {

   .t-contacts__item,
   .t-strengths__grid {
      grid-template-columns: 1fr;
   }

   .t-brands-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .t-contacts__item+.t-contacts__item {
      margin-top: 49px;
   }

   .t-contacts__item+.t-contacts__item::before {
      top: -24px;
   }

   .t-field.t-ordering-together,
   .t-field.t-ordering-item,
   .t-field.cart-table__item {
      padding: 12px;
   }

   .cart-table__td--top {
      gap: 12px;
   }

   .cart-table__price{
      font-size: 24px;
   }

   .item-cart__name{
      font-size: 18px;
   }

   .cart-table__full-price{
      font-size: 16px;
   }
}

@media only screen and (max-width: 853px) {

   .t-catalog-menu__grid,
   .t-hero__buttons {
      display: grid;
      grid-template-columns: 1fr 1fr;
   }

   .t-feedback-block {
      position: relative;
   }

   .t-feedback-top {
      margin-top: -86px;
      margin-bottom: -1px;
      height: 86px;
      background-image: url("../img/feedback-img2a.png");
      background-position: right bottom;
      background-size: 100%;
   }

   .t-feedback {
      background-image: url("../img/feedback-img2.png");
      background-position: right 0px;
      background-size: 100%;
   }

   .t-feedback__wrapper {
      max-width: none;
      padding: 25px 15px;
      height: clamp(22.5rem, 3.295rem + 78.79vw, 38.75rem);
      justify-content: flex-end;
      background: linear-gradient(0deg, #001B3E 22.98%, rgba(0, 0, 0, 0) 100%);
   }

   .t-feedback__title {
      font-size: clamp(1.25rem, 0.068rem + 4.85vw, 2.25rem);
      text-align: center;
      margin-bottom: clamp(0.5rem, -0.091rem + 2.42vw, 1rem);
   }

   .t-feedback__text {
      font-size: clamp(0.875rem, 0.432rem + 1.82vw, 1.25rem);
      text-align: center;
      margin-bottom: clamp(1.25rem, -0.227rem + 6.06vw, 2.5rem);
   }

   .t-front-page--cart .title-h2 {
      font-size: 24px;
   }
}

@media only screen and (max-width: 719px) {

   #t-body {
      padding-top: 0;
   }
   .t-header:not(.active) {
      position: relative;
   }

   .t-cart__buttons .t-button,
   .t-cart__buttons .t-button-2{
      min-width: 240px;
   }
   .t-ordering-item__grid,
   .cart-table__item{
      grid-template-columns: 1fr;
   }
   .t-ordering-item__grid>div{
      grid-column: span 1!important;
   }
   .cart-table__td--bottom{
      display: flex;
      justify-content: space-between;
      gap: 12px;
   }

   .t-ordering-item .cart-table__td--bottom{
      justify-content: flex-end;
   }

   .cart-table__price-block{
      order: -1;
   }

   .select-bl {
      display: grid;
      grid-template-columns: 105px 1fr;
      gap: 0;
   }

   .t-products-grid {
      width: 100%;
   }

   .select-bl .dropdown,
   .select-bl .dropdown-menu {
      width: 100%;
   }

   .t-catalog-grid {
      gap: 20px;
   }

   .t-catalog-panel {
      flex-direction: column;
      gap: 40px;
   }

   .t-products-grid {
      padding-top: 20px;
   }

   .t-brands .swiper-slide {
      height: calc((100% - 20px) / 2) !important;
   }

   .t-footer-bottom {
      grid-template-columns: repeat(2, 1fr);
   }

   .title-h1 {
      font-size: 42px;
   }

   .title-h2 {
      font-size: 24px;
   }

   .t-hero__buttons {
      bottom: 40px;
   }

   .swiper-slide.t-product {
      width: 324px;
   }

   .t-slider-products__container {
      padding-right: 0;
   }

   .t-catalog-grid__left--brand {
      grid-row: 1;
   }

   .t-brand-info {
      grid-template-columns: 1fr;
   }

   .t-brand-info__img {
      width: 90px;
   }

   .t-brand-info__desc {
      padding: 20px 0;
   }

   .t-brand-info-title {
      position: absolute;
      top: 15px;
      left: 105px;
   }
}

@media only screen and (max-width: 639px) {
   .t-ordering__radio-grid{
      display: block;
      text-align: right;
   }

   .t-ordering__radio-grid .t-product__tag-blue{
      margin-top: 12px;
   }

   .t-ordering .radio span{
      padding-left: 32px;
      font-size: 14px;
   }

   .t-ordering__radio-grid .input-container{
      margin-left: 32px;
   }

   .t-product__tag-blue
   .t-brands-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .t-header-bottom__container {
      grid-template-columns: 1fr 70px;
      row-gap: 20px;
   }

   .t-header-search {
      grid-column: span 2;
      grid-row: 2;
   }

   #t-mob-menu {
      height: calc(100dvh - 180px);
   }

   #t-mob-menu.__open {
      top: 180px;
   }

   /*#t-body {
      padding-top: 180px;
   }*/

   .t-catalog-menu {
      top: 190px;
   }

   .t-catalog-menu__grid {
      height: calc(100vh - 200px);
   }

   .sec-padding {
      padding-block: 40px;
   }

   .breadcrumb {
      padding-bottom: 40px;
   }

   .title-bottom-50 {
      margin-bottom: 40px;
   }

   .t-product-tabs__grid+.t-product-tabs__grid {
      margin-top: 40px;
   }

   .t-about__text .title-h2 {
      margin-bottom: 20px;
   }

   .t-feedback .t-button,
   .t-feedback .input-container input{
      height: 40px;
   }

}

@media only screen and (max-width: 575px) {
   .t-hero__buttons {
      grid-template-columns: 1fr;
   }

   .t-hero__item-container {
      padding-bottom: 170px;
   }

   .t-front-page--error .title-h2 {
      margin-top: -24px;
   }
}

@media only screen and (max-width: 539px) {

   .t-catalog-menu__grid,
   .t-footer-top {
      grid-template-columns: 1fr;
   }

   .modal__content{
      padding:52px 24px 24px;
   }

   /*.close_modal_window{
      display: none;
   }*/
}

@media only screen and (max-width:479px) {
   
   .t-cart__buttons{
      display: grid;
   }
   .t-cart__buttons .t-button-2{
      order: 3;
   }
   .t-contacts__item+.t-contacts__item {
      margin-top: 33px;
   }

   .t-contacts__item+.t-contacts__item::before {
      top: -16px;
   }

   .t-ordering-item__title{
      font-size: 20px;
   }

   .t-contacts__title {
      font-size: 18px;
   }

   .t-footer-bottom {
      column-gap: 0px;
   }

   .t-footer .t-social {
      width: 100%;
      justify-content: space-between;
   }

   .t-products-grid {
      grid-template-columns: 1fr 1fr;
   }

   .t-feedback .input-container label {
      top: calc(20px - 10px);
   }

   #t-mob-menu .t-header-phone__link {
      padding-inline: 0;
   }

   .modal__grid{
      grid-template-columns: 1fr;
   }

   .modal__button{
      width: 100%;
      min-width: 0;
   }

   .input-container textarea{
      height: 170px;
   }
}

@media only screen and (max-width:389px) {

   .t-brands-grid,
   .t-products-grid,
   .t-footer-bottom {
      grid-template-columns: 1fr;
   }

   .t-footer,
   .t-menu__list {
      gap: 30px;
   }

   .t-footer,
   .t-menu__link {
      padding-inline: 0;
   }

   .t-catalog-button {
      width: 100%;
   }
}

@media only screen and (max-width:359px) {}

/*min-width*/
@media only screen and (min-width: 1200px) {
   .t-footer-copy {
      transform: translateY(-55px);
      text-align: right;
   }
}

/*min-max-width*/
@media (min-width: 854px) and (max-width: 1199px) {

   .t-feedback__title,
   .t-feedback__text {
      max-width: 300px;
   }
}

@media (min-width: 720px) and (max-width: 959px) {
   .t-contacts__section--grid {
      grid-template-columns: 1fr 1fr;
   }
}

@media (min-width: 390px) and (max-width: 719px) {
   .t-product--2 .t-product__wrapper {
      height: clamp(12.5rem, 9.102rem + 13.94vw, 15.375rem);
   }
}