.products_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    margin: auto;
    width: 100%;
    padding: 0;
}

.products_elements {
    display: grid;
    grid-gap: 20px;
    background-color:#ffffff;
    box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.10);
}

.products_elements_mini {
    display: grid;
    grid-gap: 20px;
    background-color:#ffffff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);
    height: 470px;
    border: 0px;
}

.products_elements_prise {
    margin: 10px 0px;
    font-weight: 600;
    font-size: 16px;
    color: rgb(0, 0, 0);
}

.img_cover_class_active {
    flex-shrink: 0;
    flex-grow: 0;
    width: 100%;
    min-height: 100%;
    margin: auto;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}
.img_cover_class {
  
    width: 100%;
}

.products_elements_img {
  
    width: 100%;
  
    transition: transform 0.5s;
}

/* контейнер держит фиксированную высоту и центрирует содержимое */
.img_cover_class {
  width: 100%;
  height: 280px;              /* твоя высота карточки */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;          
}


.img_cover_class_active {
  width: 100%;
  height: 280px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  
  flex: 0 0 auto;
  margin: 0 auto;
}

.products_elements_img {
  display: block;             
  max-width: 100%;
  max-height: 100%;
  width: auto;                
  height: auto;              
  object-fit: contain;       
  object-position: center;
  transition: transform 0.5s; 
}

/* ховер оставляем */
.products_elements_img:hover { cursor: pointer; }


.products_elements_img:hover {
    cursor: pointer;
  }


.products_elements_name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    padding: 0px 20px;
}

.products_elements_size {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 0px 20px;
}

.products_blocks {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.products_elements_action {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    margin-top: auto;
    margin-bottom: 20px;
}

.art {
    bottom: 0px;
    font-size: 14px;
    color: #56565c;
    padding: 0px 0px;
}

.art1 {
    bottom: 0px;
    font-size: 14px;
    color: #56565c;
    padding: 0px 20px;
}

.products_elements_button {
    display: block;
    width: 100%;
    margin: 0px 0;
    padding: 10px 0;
    font-size: 16px;
    color: white;
    background-color: #EE6F00;
    border: none;
    border-radius: 7px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.products_elements_button_mini {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px 0;
    font-size: 16px;
    color: white;
    background-color: #EE6F00;
    border: none;
    border-radius: 7px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.res_button_close {
    position: absolute;
    right: 10px;
    top: 10px;
    background: url(/img/close.png);
    background-size: cover;
    width: 24px;
    height: 24px;
    border: 0;
    margin: 10px;
}




  /* ANIMATION ++*/

  .products_elements_button:hover {
    opacity: .50;
  }

  /* ANIMATION  --*/

  /* ADAPTIVE */
  @media screen and (max-width: 600px) {
    .products_container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        margin: 0;
    }
    .products_elements{
        grid-template-columns: 1fr;
    }
    .products_elements_name {
        font-size: 14px;
    }
   }

   /* ADAPTIVE */


     /* MODULPRODUCT */
     .product_wrapper {
        position: relative;
        min-height: 400px;
        margin-top: 80px;
        margin-bottom: 50px;
        background-color: #FFF;
    }
        .modul_product {
           display: grid;
           grid-template-columns: 1fr 1.3fr;
           padding:  0px 180px;
           gap: 70px;
        }

    .desc {
        margin-top: 50px;
    }
    .deck_inf {
        background-color: #dedede;
        padding: 5px;
    }
    .brand {
        margin-top: 10px;
        font-weight: 600;
        font-size: 14px;
        color: #56565c;
    }
    .products_elements_name_m{
        font-size: 18px;
        font-weight: 900;
    }

    .in_line {
        margin-bottom: 40px;
        margin-top: 5px;
        color: rgb(0, 175, 0);
        font-size: 14px;
    }

    .products_elements_action_m {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        justify-content: center;
        margin-top: 50px;
        grid-gap: 40px;
        bottom: 0;
    }

    .dop_info_product {
        display: flex;
        justify-content: space-between;
        margin: 50px 0px;
        margin-right: 100px;
    }

    .icon_dop_info {
        width: 32px;
    }

    .del_size_info{
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #FFF;
        border: 0px solid;
        position: relative;
    }

    .dop_inf_p {
        margin: 0px 20px;
        color: #7b7b7b;
        /* text-decoration:underline; */
        padding: 5px 0px;
        box-shadow: 0px 2px 0px 0px #5656;
    }

      /* MODULPRODUCT */

@media screen and (max-width: 600px) {
      .modul_product {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 10px;
      }
      .products_elements_name_m{
        margin-top: 10px;
      }
      .in_line{
        margin-bottom: 20px;
      }
      .desc{
        margin-top: 20px;
      }
      .dop_info_product {
        margin-right: 0;
        margin: 30px 0px;
      }
      .dop_inf_p{
        margin: 0px 10px;
      }
      .products_elements_action_m {
        grid-template-columns: 1fr 1fr;
        margin-left: 0%;
      }

      .products_elements_img_m {
        width: 100%;
      }
    }



    .product-fade-in {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .load_more_button {
        display: block;
        width: 200px;
        margin: 30px auto;
        padding: 10px 0;
        font-size: 16px;
        color: white;
        background-color: #EE6F00;
        border: none;
        border-radius: 7px;
        text-align: center;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    
    .load_more_button:disabled {
        background-color: #999;
        cursor: not-allowed;
    }
    
    .form-control-1 {
        border:1px solid #e8e8e8;
        border-radius: 7px;
        width: 100%; 
    }

    .imglogo {
       
        height: 40px;
    }
    

    @media (max-width: 768px) {
        .about-section {
          position: relative;
          background-image: url('/assets/img/about-hero.png');
          background-size: cover;
          background-position: center;
          background-repeat: no-repeat;
          padding: 2rem 1rem;
        }
      
      
        .about-section::before {
          content: '';
          position: absolute;
          inset: 0;
          background: rgba(0, 0, 0, 0.5); 
          z-index: 1;
        }
      
        .about-section .text-white {
          position: relative;
          z-index: 2;
        }
      
        .about-section .about-image {
          display: none;
        }
      }
      
      .category-toggle .arrow {
        font-size: 1rem;
        transition: transform 0.3s;
        display: inline-block; 
      }
      

      @media (min-width: 769px) {
        .category-toggle .arrow {
          display: none;
        }
      }

      @media (max-width: 768px) {
        .category-list {
          display: none;
        }
      
        .category-list.show {
          display: block;
        }
      
        .category-toggle {
          cursor: pointer;
          user-select: none;
        }
      
        .category-toggle.open .arrow {
          transform: rotate(180deg);
        }
      }
      