/* Карточка товара */
  .card {

    display: flex;
    flex-direction: column;
    height: 436px;
    width: 310px;
    overflow: hidden;

    margin-bottom: 60px;

  }

  .card a {

    font-family: Jost;
    font-size: 16px;
    color: #1D1D1B;
    text-decoration: none;

    padding-top: 20px;
    padding-bottom: 10px;
    height: 100px;

  }

  .card a:hover {
    color: #DE1010;
  }

/* Цена в карточке */
.sale {

    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: flex-end;
  }

  .sale p{

    margin: 0;
    margin-bottom: 2px;
    color: #D7D3CF;
    text-decoration: line-through;
    font-size: 14px;
    font-family: Prosto One;
  }

  .sale h1{

    margin: 0;
    margin-right: 15px;
    font-size: 20px;
    font-family: Prosto One;
  }

/* Каталог */

.store {

    display: grid;
    grid-template-columns: repeat(4, 310px);
    gap: 20px;
    margin: auto;
    
}

.scale {
    display: inline-block;
    overflow: hidden;
   }

   .scale img {
    transition: 1s;
    display: block;

    width: 310px
   }

   .scale img:hover {
    transform: scale(1.1);
   }
















/* Меньше 470 пикселей появляется бургер меню */
@media screen and (max-width: 470px) {

    /* Каталог */

    .title_main h1 {
        font-size: 20px;
    }

    .title_main a {
        font-size: 12px;
    }

    .title_main{

        padding-top: 70px;
        padding-bottom: 30px;
    }

  }


  /* Каталог разрешения */
  @media  (max-width: 1332px) {
    .store {
        grid-template-columns: repeat(3, 310px);
        justify-content: center;
        margin: auto;
    }

  }

  @media (max-width: 990px) {

    .store {
        grid-template-columns: repeat(2, 310px);
        justify-content: center;
        margin: auto;
    }

  }

  @media (max-width: 690px) {


/* Каждый пункт ссылок */

    .store {
        grid-template-columns: repeat(1, 310px);
        justify-content: center;
        margin: auto;
    }
  }

  @media (max-width: 470px) {

    .container > .title_main {
        max-width: 348px;
        margin: auto;
    }
    
    .store {
        grid-template-columns: repeat(2, 170px);
        gap: 8px;
        justify-content: center;
        margin: auto;
    }

    /* Карточка товара */
  .card {

    width: 170px;
    height: 275px;
    overflow: hidden;

    margin-bottom: 30px;

  }

  .card a {

    font-size: 14px;
    
    padding-top: 10px;
    padding-bottom: 15px;
    height: 60px;
    overflow: hidden;

  }

/* Цена в карточке */

  .sale p{

    margin: 0;
    margin-bottom: 1.5px;
    color: #D7D3CF;
    text-decoration: line-through;
    font-size: 10px;
    font-family: Jost;
  }

  .sale h1{

    margin: 0;
    margin-right: 15px;
    font-size: 16px;
    font-family: Prosto One;
  }

  .scale img {

    width: 170px;
   }
  }
