/* Вывод спецификаций коллекции */
.about_collection_section {
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

.about_collection_container {
  display: flex;
  flex-wrap: wrap;
}

.collection_description_block {
  width: 50%;
  padding: 75px 90px;
  background-color: #F9F9F9;
}

.collection_description_block p {
  font-size: 20px;
  line-height: 130%;
  font-weight: 300;
}

.collection_description_block h3 {
  font-weight: bold;
  font-size: 38px;
  line-height: 116%;
  margin-top: 0;
}

.collection_specs_block {
  padding: 75px 120px 75px 90px;
  width: 50%;
}

.collection_specs_block h3 {
  font-weight: bold;
  font-size: 38px;
  line-height: 116%;
  margin-top: 0;
}

.spec_div, .modal_product_attribute {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.spec_div span:first-child {
  font-size: 20px;
  line-height: 130%;
  font-weight: 500;
}

.spec_div span:last-child {
  font-size: 20px;
  line-height: 130%;
  font-weight: 300;
}

.spec_div::after, .modal_product_attribute::after {
  content: '';
  border: 0.5px solid #454545;
  position: absolute;
  width: 100%;
  bottom: -10px;
}

.many_spec_values, .many_product_attributes {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.many_spec_values span,
.many_spec_values span:first-child,
.many_spec_values span:last-child {
  font-size: 20px;
  line-height: 130%;
  font-weight: 300;
}

.spec_div:last-child {
  flex-direction: column;
  margin-bottom: 0;
}

.spec_div:last-child span:first-child {
  margin-bottom: 18px;
}

.spec_div:last-child::after {
  content: none;
}

.collection_colors img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
  margin-bottom: 10px;
}

.collection_colors img:last-child {
  margin-right: 0;
}

.collection_page_slider {
  height: 56.25vw;
  max-height: 80vh;
}
/* ––––––––––––––––––––––– */


/* Вывод товаров */

.collection_page_category_header {
  font-size: 36px;
}

ul.products {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  grid-auto-flow: dense;
  grid-gap: 60px;
  margin: 50px 0 75px 0;
}

li.product {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: flex-start;
  align-items: center;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.25);
  padding: 36px 30px;
}

li.product img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin-bottom: 15px;
}

.product_card_image {
  display: flex;
  height: 208px;
  width: 100%;
  margin-bottom: 30px;
  justify-content: center;
  align-items: center;
}

a.my-product-item-photo {
  width: 100%;
  display: flex;
  justify-content: center;
}

.my-product-item-title {
  font-size: 20px;
  font-weight: bold;
  position: relative;
  word-break: break-word;
}

.my-product-item-title::after {
  position: absolute;
  display: block;
  bottom: -4px;
  content: '';
  height: 2px;
  width: 0%;
  background-color: black;
  transition: width 1s ease-in-out;
}

.my-product-item-title:hover:after {
  width: 100%;
}

.theme_product_card_title {
  margin-bottom: 30px;
  align-self: normal;
}

.product_attributes_list {
  font-size: 20px;
  font-weight: 300;
  display: flex;
  flex-wrap: wrap;
  width: 100%
}

.product_attribute:first-child {
  margin-bottom: 16px;
  margin-right: 34px;
}

.product_attribute:nth-child(2) {
  margin-bottom: 16px;
  margin-right: 34px;
}

.product_attribute span:first-child {
  color: #4e4e4e;
}
/* ––––––––––––––––––––––– */

.vector_page_white_bg {
  background-color: #FFFFFF;
}

.vector_page_gray_bg {
  background-color: #F9F9F9;
}

.collection_page_section_header {
  font-size: 42px;
  margin-top: 75px;
  margin-bottom: 60px;
  text-align: center;
}

/* Всплывающая карточка товара */
.modal_product_content {
    display: flex;
    margin: 1.75rem auto;
    align-items: center;
    max-width: calc(1200px + 4rem);
    min-height: calc(100% - 3.5rem);
}

.modal_product_body {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    border-radius: 30px;
    width: 1200px;
    padding: 60px;
    margin: 2rem 2rem;
    background: #fff;
    opacity: 0;
    -webkit-transform: translateY(-100px) translateZ(0);
    transform: translateY(-30vh) translateZ(0);
    transition: .4s;
    box-shadow: 10px 10px 60px rgba(255, 255, 255, 0.25);
}

.modal_product_body.active {
    opacity: 1;
    z-index: 100;
    -webkit-transform: translateY(0) translateZ(0);
    transform: translateY(0) translateZ(0);
    transition: .4s;
  }

.modal_product_close {
  right: 30px;
  top: 30px;
}

.modal_product_images {
  width: 50%;
  padding: 20px;
}

.modal_product_specs {
  width: 50%;
  padding: 20px;
}

.modal_product_specs h3 {
  font-size: 34px;
  font-weight: 500;
  margin-top: 0;
  word-break: break-word;
}

.modal_product_attribute span:first-child {
  line-height: 130%;
  font-size: 20px;
  font-weight: 500;
}

.modal_product_attribute span:last-child {
  line-height: 130%;
  font-size: 20px;
  font-weight: 400;
}

.modal_color_attribute span {
  display: block;
  line-height: 130%;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.current_photo_div {
  height: 400px;
  justify-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 30px;
}

.modal_product_current_photo {
  margin-right: auto;
  margin-left: auto;
  display: flex;
  height: auto;
  max-height: 400px;
  width: auto;
  max-width: 100%;
}

.thumbnails {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

a.thumbnail {
  align-items: center;
  padding: 10px;
  margin-right: 14px;
  margin-bottom: 14px;
  border: solid 2px black;
  display: flex;
  width: 90px;
  height: 90px;
  justify-content: center;
}
.attachment-shop_thumbnail.size-shop_thumbnail {
  object-fit: cover;
  display: flex;
  /* width: 300px !important; */
}

/* ------------------- */


@media screen and (max-width: 1200px) {
  .collection_specs_block {
    padding: 75px 70px 75px 70px;
  }

  .collection_description_block {
    padding: 75px 70px;
  }
}

@media screen and (max-width: 998px) {
  .modal_product_specs h3 {
    font-size: 28px;
    font-weight: 500;
    margin-top: 0;
  }

  .modal_product_attribute span:first-child {
    line-height: 130%;
    font-size: 2vw;
    font-weight: 500;
  }

  .modal_product_attribute span:last-child {
    line-height: 130%;
    font-size: 2vw;
    font-weight: 400;
  }

  .collection_specs_block {
    padding-bottom: 0;
    padding: 75px 90px;
    width: 100%;
  }

  .collection_description_block {
    padding: 75px 90px;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .modal_product_images {
    width: 100%;
  }

  .modal_product_specs {
    width: 100%;
  }

  .modal_product_specs h3 {
    font-size: 34px;
  }

  .modal_product_attribute span:first-child {
    font-size: 20px;
  }

  .modal_product_attribute span:last-child {
    font-size: 20px;
  }
}

@media screen and (max-width: 576px) {
    .current_photo_div {
      height: auto;
    }

    .modal_product_body {
      padding: 30px;
      margin: 2rem 1rem;
    }

    .modal_product_specs h3 {
      font-size: 30px;
    }

    .modal_product_attribute span:first-child {
      font-size: 3.8vw;
    }

    .modal_product_attribute span:last-child {
      font-size: 3.8vw;
    }

    .modal_product_close {
      top: -44px;
      right: 0;
    }

    .modal_product_close:before,
    .modal_product_close:after {
        position: absolute;
        left: 11px;
        top: -2px;
        right: 0;
        content: '';
        height: 34px;
        width: 3px;
        background-color: white;
    }

    a.thumbnail {
      margin-right: 12px;
    }

    .collection_specs_block {
      padding: 60px 30px;
    }

    .collection_description_block {
      padding: 60px 30px;
    }
}

@media screen and (max-width: 474px) {
  .spec_div span {
    font-size: 4.2vw !important;
  }

  .about_collection_container h3 {
    font-size: 9.3vw;
  }

  .collection_description_block p {
    font-size: 16.5px;
  }

  .modal_product_body {
    padding: 15px;
    margin: 2rem 1rem;
  }
}

@media screen and (max-width: 414px) {

}

@media screen and (max-width: 370px) {
  ul.products {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}
