:root {
  --main-width: 90%;
  --grey-one: #E8E8E8;
  --grey-two: #F3F5F6;
  --card-color: #EAEAEA;
  --red-one: rgb(204, 1, 1);
  --blue-one: #0C1968;
  --blue-two: #28358f;
  --grey-border-one: #A7A7A7;
  --accent-one-dark: #0077E5;
  --accent-one-light: #0094FF;
  --fontcolor-one: #353535;
  --fontface-one: 'RobotoMono-Regular';
  --search-input-height: 38px;
  --search-input-radius: 7px;
  --buy-button-height: 60px;
}

.product a .product-img {
    height: 250px;
    display: flex;
    align-items: center
}

.product > a {
    position: relative;
    z-index: 1;
}

.product .product-img img {
    object-fit: contain;
    height: 100%;
}

.product .product-article {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.product .product-name-custom {
    height: 47px
}

.sale-personal-section-index-block {
    background-color: #D10024;
    border: 1px solid #000;
}



/* ------------------------------------------------------------------------- */
/* Мои изменения */

:root {
    --accent-color: rgb(204, 21, 52);
    --main-color1: rgb(12, 25, 104);
    --main-color2: rgb(25, 39, 117);
    /* --accent-color: rgb(211, 105, 5); */
  }
  
  .mid-center-box {
    display : flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content : space-between;
  }
  
  .box-side {
    flex-grow: 1;
    flex-shrink: 3;
    flex-basis: 0;
  }
  
  .cflex-left, .cflex-right {
    flex-grow: 1;
    flex-basis: 0;
  }
  
  /* search container */
  
  
  /* header buttons */
  
  .buttons-panel {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: right;
  }
  
  @media only screen and (max-width: 600px) {
    .buttons-panel {
      padding-top: 20px;
      justify-content: center;
    }
  
    .header-logo {
      padding-top: 30px;
      padding-bottom: 30px;
    }
  }
  
  
  .buttons-panel div:not(:last-child) {
    margin-right: 30px;
  }
  
  .menu-button {
    position: relative;
    display: inline-block;
  }
  
  .menu-button a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
  }
  
  .menu-button .fa {
    font-size: 20px;
  }
  
  .menu-button .fa:before {
    position: relative;
    left: 13px;
    /* color: red; */
  }
  
  .menu-button span {
    flex-grow: 0;
    font-size: 12px;
  }
  
  
  /* footers headers */
  
  #top-header, #bottom-footer {
    background: var(--main-color2);
  }
  
  #header {
    border-bottom: 4px solid rgb(197, 197, 197);
  }
  
  #header, #footer {
    background: var(--main-color1);
  }
  
  #footer p {
    color: white;
  }
  
  .footer-links a {
    color: white;
  }
  
  /* index.php page content */
  
  .hot-deal-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 150px;
    margin-top: 20px;
    margin-bottom: 50px;
  }
  
  .hot-deal-section h2 {
    text-align: center;
    margin: 0;
  }
  
  .hot-deal-section p {
    text-align: center;
  }
  
  .hot-deal-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    transition: 0.3s;
  }
  
  .hot-deal-icons img {
      color: white;
      width: 60px;
      filter: invert(1);
  }
  
  .hot-deal-icons li {
    padding: 20px;
    border-radius: 100px;
    background: var(--accent-color);
    transform: scale(70%);
  }
  
  .hot-deal-icons li:hover {
    scale: transform(200%);
  }
  
  .index-card-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 80px;
    margin-bottom: 50px;
  }