
:root {
  --design-dark: rgba(10, 150, 220, 1);
  /* --design-light: rgb(106, 202, 124); */
  --text-dark: rgb(20, 20, 20);
  --text-light: rgba(131, 79, 29, 1);
  --text-white: rgba(255, 255, 255, 1);
  --black: rgb(0, 0, 0);
  --white: rgb(255, 255, 255);
  --blu_button_hovering: #0067d8;
  /* --btn-dark: rgb(121, 0, 0); */
  /* --btn-light: rgb(255, 113, 113); */
  /* --btn-hover: rgb(141, 64, 64); */
  --grad:linear-gradient(90deg, rgba(0, 0, 0, 1)0%, rgba(0, 0, 0, 1)50%, rgba(0, 0, 0, 0) 100%);
  --grad-white:linear-gradient(rgb(255, 255, 255, 0.2)0%, rgba(255, 255, 255, 1) 90%);
}

*, *::before, *::after {
  box-sizing: border-box;
}

*, body {
  margin: 0;
  font-family: 'Gilroy', sans-serif;
}

p, h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a:hover{
  color: var(--design-dark);
}

ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
}


 /* //конец общих стилей */

 /* *****  стили для всех кнопок ******* */
button{
  cursor: pointer;
}
.button {
  display: inline-block;
  padding: 12px 40px;
  border-radius: 10px;
  /* cursor: pointer; */
}
.btn-lite{
  background: transparent;
  font-size: 16px;
  font-weight: 600;

  width: max-content;
  border: 1px solid var(--design-dark);
  color: var(--text-light);
}

.btn-lite:hover, .btn-lite--active{
  background: var(--design-dark);
  color: white;
}


.btn__dark {
background-color: var(--design-dark);
color: var(--white);
border: none;
border-radius: 10px;
}

.btn__dark:hover,
.btn__row:hover {
background-color: var(--blu_button_hovering);
}

/* ********** slider intro ********* */
.intro{
  margin-top: 6px;
  height: 350px;
}
.container__intro{
  height: 100%;
  position: relative;
}
.intro__slider{
  display: none;
  visibility: hidden;
  overflow: hidden;
  position: absolute;
}
.intro__slider--active {
  display: block;
  visibility: visible;
  width: 100%;
  height: 100%;
  position: relative;
}
.inro__img {
  position: absolute;
  width: unset;
  max-height: 100%;
  right: 0;
  animation: fadeIn 1s linear;
}
@keyframes fadeIn{
  0%{
    opacity: 0;
    transform: scale(1.5);
  }
}
.intro__bgr{
  position: absolute;
  top: 0;left: 0;bottom: 0;right: 50%;
  background: var(--grad);

  padding-left: 40px;
  color: var(--white);
}
.intro__title{
  animation: animation .4s linear .4s backwards;
}
.intro__list{
  padding-left: 1em;
}
.list-short {
  line-height: 1.7;
}
.intro__list li{
  list-style: unset;
  animation: animation .4s linear .6s backwards;
}
@keyframes animation{
  0%{
    opacity: 0;
    transform: scale(.5) translateY(-50px);
  }
}
/*  *** управляющие элементы слайдера *** */
.intro__task{
  position: absolute;
  bottom: 15px;
  left: 48%;
  right: 100px;
}
.intro__row{
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  justify-content: space-between;
  align-items: center;
}

.intro__row .button{
  margin-right: auto;
}
.btn__row {
  width: 50px;
  height: 50px;
  margin-left: 40px;

  border: none;
  border-radius: 10px;
  background-color: var(--design-dark);
  background-position: center;
  background-repeat: no-repeat;
}

.btn__row::after{
  content: '';
  display: block;
  width: 35px;
  height: 35px;
}

.btn__row-left::after{
  background: url(../img/icon/Expand_left_light.png);
}
.btn__row-right::after{
  background: url(../img/icon/Expand_right_light.png);
  margin-left: 3px;
}
.pagin__line {
  display: flex;
  justify-content: start;
  margin-top: 17px;
  margin-left: 15px;
}

.pagin {
  width: 10px;
  height: 10px;
  margin-left: 10px;
  border: 1px solid orange;
  border-radius: 50%;
  background-color: var(--design-dark);
}
.pagin--active {
  background-color: orange;
  border-color: var(--design-dark);
}

/*  ****** rating button ******* */
.rating {
  margin-top: 40px;
}
.ratin__catalog {
  display: none;
}
.rating__container {
  overflow-x: auto;
  display: flex;
  padding-left: 48px;
}
.rating__btn {
  margin-left: 10px;
}

/*  ********* product galery ****** */
.product {
  margin-top: 24px;
  height: 100%;
}
.product__container {
  position: relative;
  height: 100%;
}
.galery__wrapper{
  visibility: hidden;
  position: absolute;
  top: 0;left: 0;right: 0;bottom: 0;
  height: 0;
}
.galery__wrapper--active{
  height: 100%;
  visibility: visible;
  width: 100%;
  margin: 0 35px 0 -15px;
}
.product__galery{
  width: 100%;
}
.main-card__wrapper {
  position: relative;
  height: 520px;
  border-radius: 10px;
  overflow: hidden;

  display: flex;
  height: auto;
  margin: 15px;
  text-align: left;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 7px #555555af;
}

.product__card img {
  max-width: 100%;
}

.rate__line{
  position: absolute;
  display: flex;
  justify-content: space-between;
  top: 0;left: 0;right: 0;
  padding: 14px 34px;
}
.bage {
  padding: 6px 14px;
  background-color: red;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;

  font-size: 14px;
  color: white;
}
.bage-none{
  background-color: transparent;
}
.heart {
  cursor: pointer;
  width: 25px;
  height: 23px;
  margin-left: auto;
}
.card__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 21px;
  height: 250px;
}
.product__descript {
  height: 115px;
  overflow: hidden;
}
.prise__line {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prise__line::before {
  content: '';
  position: absolute;
  height: 40px;
  width: 100%;
  bottom: 100%;
  background: var(--grad-white);
}
.action{
  color: red;
}
.btn-cart {
  padding: 8px 38px;
  background-color: var(--design-dark);
}
.green-btn{
  background: green;
}

/*  ******* present secnion ****** */
.present__wrapper{
  padding-top: 75px;
}
.present {
  display: flex;
  flex-direction: column;
  max-width: 1720px;
  margin: 0 auto;
  /* padding: 0 15px; */
  /* margin-top: 600px; */
  background: linear-gradient(90deg, rgba(59, 59, 57, 1)0%, rgba(39, 39, 38, 1)100%);
  position: relative;
}

.container.present__container {
  display: grid;
  align-items: center;
  grid-template-columns: 17fr 7fr;
  padding: 30px;

}

.line-top {
  margin-bottom: -20px;
  right: 20px;
  position: absolute;
  z-index: 1;
}
.line-bottom {
  margin-top: -20px;
  left: 20px;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.present__col1 {
  display: grid;
  align-items: center;
  justify-items: center;

  grid-template-columns: 1fr 3fr 3fr 1fr;
  column-gap: 40px;
}
.triangle__left, .triangle__right {
  max-height: 280px;
  max-width: 40px;
}
.pres__logo {
  display: flex;
  width: 80px;
  height: 40px;
  margin-left: auto;
  margin-right: 19px;
  margin-bottom: 20px;
}
.present__menu {
  margin-left: auto;
}
.present__list {
  cursor: pointer;
  color: var(--design-dark);
  line-height: 2;
  padding-left: 30%;
}

.present__list:hover {
  color: var(--text-light);
}

.present__item ol li{
  cursor: pointer;
  color:var(--text-light);
  padding-left: 135px;
}

.present__item ol li:hover{
  color: var(--design-dark);
}

.list--hide {
  font-size: 0;
  padding-left: 5px;
  transition: all .15s ease-in;
}
.--active{
  font-size: unset;
}

/* *********** Каталог товаров -  ******* */
.catalog__title{
  text-align: center;
}

#product-section{
  text-align: center;
}

#product-section .product__card{
  display: inline-block;
  margin: 15px auto;
  text-align: left;
}
