@media screen and (min-width: 320px) {


  .brending__type {
    gap: 0px;

    div {
      width: 100%;
    }
  }

  .colors__container {
    gap: 24px;
    justify-content: center;
  }

  .colors__item {
    width: 165px;

    h3 {
      font-size: 13px;
    }
  }

  .colors-pallete {
    gap: 24px;

    .colors__item {
      width: 165px;
    }
  }

  .how-order-count__flex-container {
    justify-content: center;

    div.bg--blue {
      padding: 12px 24px 24px;
      border-radius: 16px;
      margin: 24px auto 0;
    }
  }

  .table-container {
    position: relative;

  }

  .how-order-count__table {
    transition: max-height 0.2s ease-out;
    display: block;
    overflow: hidden;
    max-height: 900px;
    color: rgb(92, 92, 92);
    font-size: var(--fontSizeNormal);


    .last-row {
      border-bottom: 1px solid rgba(58, 145, 206, 0.5);
    }
  }

  .how-order-count__table.active {
    max-height: 100%;
    transition: max-height 0.2s ease-out;
  }

  .toggle-table {
    width: 100%;
    height: 265px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    position: absolute;
    bottom: 0;

    .toggle-table__btn {
      background: none;
      border: none;
      cursor: pointer;
    }

    .toggle-table__btn:hover {
      text-decoration: underline;
    }

  }

  .toggle-table.active {
    background: none;
    bottom: -30px;

    .toggle-table__icon-wrapper {
      display: inline-block;
      scale: -1;
      transition: scale 0.2s ease-out;
    }

  }
}

@media screen and (min-width: 600px) {


  .colors__item {
    width: 319px;

    h3 {
      font-size: 20px;
    }
  }

  .colors__container {
    gap: 24px;
    justify-content: center;
  }

  .colors-pallete {
    gap: 24px;

    .colors__item {
      width: 230px;
    }
  }

  .brending__type {
    gap: 55px;
  }

  #brending__type-container--1 {
    width: 38%;
  }

  #brending__type-container--2 {
    width: 39%;
  }
}


@media screen and (min-width: 1025px) {


  .colors__container {
    justify-content: flex-start;
    gap: 32px;

    .colors__item {
      width: 319px;
    }
  }

  .how-to-order__contacts {
    gap: 32px;
  }

  .how-order-count__table {
    margin: 0 0 0 60px;
  }

  .toggle-table {
    max-width: 951px;
    margin-left: 60px;
  }


  .how-order-count__flex-container {
    gap: 65px;
    justify-content: flex-start;
  }

}

@media screen and (min-width: 1024px) and (max-width:1440px) {

  .colors__container {
    gap: 24px;
    justify-content: center;
  }

  .brending__type {
    gap: 24px;
  }

  #brending__type-container--1 {
    width: 50%;
  }

  #brending__type-container--2 {
    width: 47%;
  }

  .how-order-count__table {
    margin: 0 0 0 0px;
  }

}



/* адаптив таблицы */
.how-order-count__table {
  width: 100%;
  max-width: 951px;
  border-collapse: collapse;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

.how-order-count__table th,
.how-order-count__table td {
  border: none;
  text-align: center;
  padding: 8px;
}

.how-order-count__table th {
  background-color: rgba(58, 145, 206, 0.1);
  height: 76px;
}

.how-order-count__table td {
  height: 38px;
}

.last-row {
  border-bottom: 1px solid rgba(58, 145, 206, 0.5);
}

.spacer-row td {
  height: 24px;
  border: none;
}

/* Fixed column widths for large screens */
@media (min-width: 1024px) {

  .how-order-count__table th:nth-child(1),
  .how-order-count__table td:nth-child(1) {
    width: 224px;
  }

  .how-order-count__table th:nth-child(2),
  .how-order-count__table td:nth-child(2) {
    width: 230px;
  }

  .how-order-count__table th:nth-child(3),
  .how-order-count__table td:nth-child(3) {
    width: 140px;
  }

  .how-order-count__table th:nth-child(4),
  .how-order-count__table td:nth-child(4) {
    width: 140px;
  }

  .how-order-count__table th:nth-child(5),
  .how-order-count__table td:nth-child(5) {
    width: 217px;
  }
}

/* Tablet styles */
@media (max-width: 1023px) {
  .how-order-count__table {
    max-width: 738px;
  }
}

/* Mobile styles */
@media (max-width: 767px) {
  .how-order-count__table {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .how-order-count__table th,
  .how-order-count__table td {
    padding: 4px;
    font-size: 12px;
  }

  .how-order-count__table th {
    height: auto;
  }

  .how-order-count__table td {
    height: auto;
  }

  .spacer-row td {
    height: 24px;
    border: none;
  }
}

/* адаптив таблицы */

.slider-products-position {
  margin-top: 0;

}