.product{
  margin-bottom: 50px;
}
.product:nth-child(even) .row{
  flex-direction: row-reverse;
}
.product .container{
  box-shadow: 5px 5px 15px -10px #999999;
}
.product-img{
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 300px;
  position: relative;
}
.product-summary{
  height: 300px;
  padding: 20px 25px 35px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: white;
}
.product-summary h2{
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-szabofogaskerek-color);
  text-align: left !important;
  margin-bottom: 5px;
}
.product-summary .field--name-field-osszefoglalo{
  font-size: 18px;

}
.product-button{
  display: flex;
  justify-content: center;
  margin-top: -15px;
  margin-bottom: -25px;
}

.product-button button{
  transition: 200ms;
}
.product-content{
  height: 0;
  transition: height 1s;
  overflow: hidden;
  background-color: white;
}
.product-content-inner{
  padding: 25px 25px 10px 25px;
}
.product-close-button{
  display: flex;
  justify-content: center;
  margin-bottom: -25px;
}
@media (max-width: 768px) {
  .product-summary{
    height: auto !important;
  }
}

.is-front .product-body{
  background-color: #ffffffdb;
  padding: 13px;
  border-radius: 0 0 30px 5px;
  box-shadow: 5px 10px 11px -13px #0000008a;
}
.is-front .product-body a:not(.btn), .is-front .product-body h3{
  text-align: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  text-decoration: unset;
  color: #2c3137;
  font-size: 18px;
  height: 75px;
  font-weight: 700;
  margin: 0;
}

.products-block .product-img {
  height: 200px;
}
.products-block footer{
  display: flex;
  justify-content: center;
}
.products-block .views-display-link {

  font-size: 18px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  border-radius: 13px;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  background-color: var(--secondary-szabofogaskerek-color);
  color: white !important;
  padding: 8px 45px;
  text-transform: uppercase;
  font-weight: bold;
  box-shadow: 0px 15px 15px -15px var(--gray-szabofogaskerek-color);
}

.products-block .views-display-link:hover, .products-block .views-display-link:focus, .products-block .views-display-link:active {
  background-color: var(--darkblue-szabofogaskerek-color) !important;
  color: white !important;
  box-shadow: 0px 18px 15px -15px var(--gray-szabofogaskerek-color);
}
.products-block-root{
  /*display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;*/
  padding: 30px 0 60px 0;
  background: rgb(77, 77, 77);
  background: linear-gradient(300deg, rgb(112, 127, 145) 0%, var(--gray-szabofogaskerek-color) 100%);
}
.products-block-root h2 {
  margin: 15px 0 45px 0;
  width: 100%;
  text-align: center;
  color: var(--szabofogaskerek-textcolor-3);
  font-weight: 700;
}

@media (max-width: 1400px) {
  .products-block .product-img {
    height: 220px;
  }
}

@media (max-width: 1150px) {
  .products-block .product-img {
    height: 150px;
  }
}

@media (max-width: 991px) {
  .products-block .product-img {
    height: 250px;
  }
}

@media (max-width: 750px) {
  .products-block .product-img {
    height: 300px;
  }
}

@media (max-width: 500px) {
  .products-block .product-img {
    height: 180px;
  }
}
