/* -------------------------min-width: 1200px---------------------------*/

@media (min-width: 1200px) {
  .shop-cards {
    gap: 110px;
  }
}

/* -------------------------max-width: 1170px---------------------------*/

@media (max-width: 1170px) {
  /*-------------order-small.tpl--------------*/
  .table thead {
    font-size: 15px;
  }

  .table tbody {
    font-size: 15px;
    text-align: center;
  }

  .table thead th {
    padding: 8px;
    height: 50px;
  }

  .table tbody td {
    padding: 8px;
  }

  .table tbody tr {
    height: 55px;
  }

  .secondary-button {
    line-height: 105%;
    padding: 12px 20px;
    font-size: 14px;
  }
  /*----------shop----------*/
  .shop {
    position: relative;
    padding: 50px 0 80px;
  }

  .section__shop-title {
    font-size: 18px;
    font-weight: 600;
  }

  .shop .text-center {
    margin-bottom: 40px;
  }

  .shop-cards .card-product {
    margin-bottom: 25px;
    margin-right: 20px;
  }

  .card-product {
    width: 245px;
    height: 305px;
    padding: 10px;
  }

  .card-product__title {
    height: 20px;
    font-weight: 600;
    font-size: 15px;
    line-height: 110%;
  }

  .card-product__price {
    font-weight: 600;
    font-size: 16px;
    line-height: 110%;
  }

  /*----------cart.tpl----------*/

  .page-shopping-cart {
    padding: 40px 0 70px;
  }

  .page-shopping-cart__main-title {
    margin-bottom: 30px;
    font-size: 22px;
    line-height: 120%;
  }

  .page-shopping-cart__row-gray {
    padding: 18px 18px;
  }

  .page-shopping-cart__row {
    font-size: 14px;
    line-height: 120%;
  }

  .page-shopping-cart__name {
    font-size: 18px;
    line-height: 120%;
  }

  .page-shopping-cart__row-down {
    font-size: 16px;
    line-height: 120%;
  }

  .page-shopping-cart__button {
    margin-top: 15px;
    padding: 10px;
    font-size: 14px;
    line-height: 12px;
  }

  /*-------------neworder.tpl--------------*/
  .order-registration {
    padding: 40px 0 70px;
  }

  .order-registration__title {
    margin-bottom: 30px;
  }

  .order-table thead {
    margin-bottom: 10px;
  }

  .order-table th:nth-child(1),
  .order-table td:nth-child(1) {
    width: 80px;
  }

  .order-table thead th {
    padding: 10px;
    font-size: 12px;
    line-height: 1.2;
  }
  .order-table tbody td {
    padding: 10px;
    font-size: 16px;
    line-height: 1.3;
  }

  .order-cart__img {
    width: 100%;
    margin-right: 0;
  }

  .order-form__name {
    font-size: 16px;
    line-height: 16px;
  }

  .input-text {
    width: 100%;
    padding: 13px;
    font-size: 16px;
    line-height: 20px;
  }
}

/* -------------------------max-width: 500px---------------------------*/

@media (max-width: 500px) {
  /*-------------order-small.tpl--------------*/
  .table thead {
    font-size: 12px;
  }

  .table tbody {
    font-size: 12px;
  }

  .table thead th {
    padding: 6px;
    height: 45px;
  }

  .table tbody td {
    padding: 6px;
  }

  .table tbody tr {
    height: 50px;
  }

  .secondary-button {
    line-height: 100%;
    padding: 10px 18px;
    font-size: 12px;
  }

  /*----------shop----------*/
  .shop {
    position: relative;
    padding: 20px 0 10px;
  }

  .section__shop-title {
    font-size: 14px;
    font-weight: 600;
  }

  .shop .text-center {
    margin-bottom: 20px;
  }

  .shop-cards .card-product {
    margin-bottom: 15px;
    margin-right: 10px;
  }

  .card-product {
    height: 280px;
  }

  .card-product__title {
    height: 20px;
    font-weight: 600;
    font-size: 15px;
    line-height: 110%;
  }

  .card-product__price {
    font-weight: 600;
    font-size: 16px;
    line-height: 110%;
  }

  .watch-button {
    padding: 5px 10px;
    font-size: 13px;
    line-height: 14px;
  }

  /*----------cart.tpl----------*/

  .page-shopping-cart {
    width: 100%;
    padding: 5px;
  }

  .page-shopping-cart__main-title {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 110%;
  }

  .page-shopping-cart__row-gray {
    padding: 15px 15px;
  }

  .page-shopping-cart__row {
    font-size: 12px;
    line-height: 110%;
  }

  .page-shopping-cart__name {
    font-size: 12px;
    line-height: 100%;
  }

  .page-shopping-cart__row-down {
    font-size: 14px;
    line-height: 110%;
  }

  .page-shopping-cart__button {
    margin-top: 10px;
    padding: 10px;
    font-size: 12px;
    line-height: 10px;
  }

  /*-------------neworder.tpl--------------*/
  .order-registration {
    padding: 30px 0 40px;
  }

  .order-registration__title {
    margin-bottom: 20px;
  }

  .order-form__row:not(:first-child) {
    margin-top: 10px;
  }

  .order-table thead {
    margin-bottom: 8px;
  }

  .order-table th:nth-child(1),
  .order-table td:nth-child(1) {
    width: 60px;
  }

  .order-table thead th {
    padding: 8px;
    font-size: 10px;
    line-height: 1.1;
  }

  .order-table tbody td {
    padding: 8px;
    font-size: 14px;
    line-height: 1.1;
  }

  .order-form__name {
    font-size: 14px;
    line-height: 12px;
  }

  .input-text {
    padding: 10px;
    font-size: 14px;
    line-height: 16px;
  }

  .textarea {
    padding: 5px;
    height: 100px;
  }
}

/* -------------------------max-width: 400px---------------------------*/

@media (max-width: 400px) {
  /*-------------order-small.tpl--------------*/
  .table thead {
    font-size: 8px;
  }

  .table tbody {
    font-size: 10px;
  }

  .table thead th {
    padding: 4px;
    height: 40px;
  }

  .table tbody td {
    padding: 4px;
  }

  .table tbody tr {
    height: 45px;
  }

  .secondary-button {
    padding: 8px 16px;
    font-size: 10px;
  }
  /*----------shop----------*/

  .card-product {
    width: 245px;
    height: 280px;
    padding: 10px;
  }

  .card-product__title {
    height: 17px;
    font-size: 12px;
    line-height: 100%;
  }

  .card-product__price {
    font-size: 13px;
    line-height: 100%;
  }

  .watch-button {
    padding: 5px 12px;
    font-size: 13px;
    line-height: 15px;
  }

  /*----------cart.tpl----------*/

  .page-shopping-cart__main-title {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 100%;
  }

  .page-shopping-cart__row-gray {
    padding: 10px 10px;
  }

  .page-shopping-cart__row {
    font-size: 12px;
    line-height: 100%;
  }

  .page-shopping-cart__name {
    font-size: 10px;
    line-height: 100%;
  }

  .page-shopping-cart__row-down {
    font-size: 10px;
    line-height: 100%;
  }

  .page-shopping-cart__button {
    margin-top: 5px;
    padding: 5px;
    font-size: 10px;
    line-height: 10px;
  }

  /*-------------neworder.tpl--------------*/
  .order-registration {
    padding: 10px 0 20px;
  }

  .order-registration__title {
    margin-bottom: 10px;
  }

  .order-form__row:not(:first-child) {
    margin-top: 5px;
  }

  .order-table thead {
    margin-bottom: 5px;
  }

  .order-table th:nth-child(1),
  .order-table td:nth-child(1) {
    width: 100%;
  }

  .order-table thead th {
    padding: 5px;
    font-size: 8px;
    line-height: 1;
  }

  .order-table tbody td {
    padding: 5px;
    font-size: 11px;
    line-height: 1;
  }

  .order-form__name {
    font-size: 10px;
    line-height: 10px;
    margin-bottom: 5px;
  }

  .order-form__row > *:not(:last-child) {
    margin-right: 10px;
  }

  .input-text {
    padding: 5px;
    font-size: 10px;
    line-height: 12px;
  }

  .textarea {
    padding: 5px;
    height: 100px;
  }
}
