.addedModal {
    visibility: hidden;
    opacity: 1;
    position: fixed;
    top: 93px;
    right: 5%;
    width: 350px;
    height: 80px;
    background: #fff;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--color-lightGray);
    transition: .5s ease-in-out;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1);
    z-index: 100;
    
}
  
.addedModal p {
    margin-bottom: 10px;
    font-weight: 300;
}

.gallery__wrapper {
    display: grid;
    grid-template-columns: 1fr 6fr;
    grid-gap: 10px;
    margin-bottom: 20px;
  }

  .single_image {
    width: 100%;
    height: auto;
    cursor: pointer;
  }

  .image {
    display: block;
    margin: auto;
    width: 100%;
    height: 100%;
    opacity: 1;
    object-fit: contain;
    object-position: center center;
    transition: opacity 1s ease-out;
  }
  .arrow-prev,
  .arrow-next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    height: 50px;
    width: auto;
    padding: 10px;
    user-select: none;
    -webkit-user-select: none;
  }

  .arrow-next {
    right: 0;
  }

  .arrow-next:hover, .arrow-prev:hover {
    background-color: rgba(255, 255, 255, 0.555);
  }

  .img-magnifier-glass {
  position: absolute;
  border: none;
  cursor: crosshair;
  width: 150px;
  height: 150px;
  z-index: 2;
}

  @media screen and (max-width: 600px) {
    .image_container {
        height: unset;
    }
  }

/* new */

.product_details_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-bottom: 50px;
  margin: 0 300px 100px;
  grid-template-rows: max-content;
  height: max-content;
}

.product_login_block, .product_form {
  width: 100%;
  padding: 20px;
  margin: 20px auto;
  background-color: var(--color-lightGray);
  text-align: center;
}

.product_login_block p {
  font-family: var(--main-font);
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 16px;
}

.product_login_block a {
  width: 49%;
  min-width: unset;
}

.product_form .product_form_row:first-child {
  margin-bottom: 10px;
}

.product_form_row input, 
.product_form_row select,
.product_form_row button {
  width: 48%;
  height: 40px;
  border: none;
  color: var(--color-Gray);
  padding: 5px 15px;
  font-weight: 400;
  text-align: center;
}

.product_form_row input {
  margin-right: 10px;
}

.product_form_row button {
  border: none;
  min-width: unset;
}

.product_form_row button:hover {
  border: none !important;
  color: var(--color-Gray) !important;
}

.product_collections {
  min-height: 80px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.single_collection {
  display: flex;
  position: relative;
  width: 145px;
  padding: 15px 10px;
  margin: 0 10px 10px 0;
  height: 70px;
  align-items: center;
  justify-content: center;
}

.single_collection .collection_label {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.4s ease-out;
}

.single_collection:hover .collection_label {
  opacity: 1;
}

.single_collection img,
.single_collection .col_title {
  position: absolute;
}

.single_collection img {
  z-index: 8;
  opacity: 0.7;
  width: 100%;
  height: 100%;
}

.single_collection span {
  z-index: 10;
  font-family: "Gentium Book Basic", serif;
  font-weight: 700;
  transition: 0.4s ease-out;
  text-transform: uppercase;
  font-size: 18px;
  white-space: nowrap;
}

.single_collection:hover .col_title {
  opacity: 0;
}

table.product_attributes {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

table.product_attributes tr {
  
}

table.product_attributes th {
  font-weight: 400;
  width: 180px;
}

table.product_attributes th,
table.product_attributes td {
  background-color: #fff;
  color: var(--color-darkGray);
  border: none;
  padding: 0 5px 5px 0;
}

table.product_attributes td span a:hover {
  transition: .4s linear;
  opacity: 0.5;
}

table.product_attributes td span:not(:last-child)::after {
  content: ',';
}

.gallery__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  margin-bottom: 100px;
  grid-template-rows: 3fr 1fr;
  max-height: 80vh;
  position: sticky;
  top: 120px;
}

.image_container {
  position: relative;
  width: 100%;
}

.image_container img {
  aspect-ratio: 1/1;
}

.images_column {
  display: flex;
  max-height: 100px;
  margin-right: 5px;
  gap: 10px;
  flex-direction: row;
  height: 100%;
}

.single_image {
  height: auto;
  cursor: pointer;
  max-width: 100px;
}

.single_image img {
  aspect-ratio: 1/1;
  max-height: 100%;
}

.product_details {
    max-width: 600px;
    margin-bottom: 100px;
}

.product_header {
  font-family: 'Montserrat';
    font-size: 26px;
    font-weight: 400;
    text-align: start;
    padding-bottom: 10px;
}

.product_details_section {
  transition: all 0.4s ease-in-out;
}

.product_details_section h4 {
  min-height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-family: var(--main-font);
  font-weight: 300;
  letter-spacing: 2px;
  transition: 0.4s ease-in-out;
  opacity: 0.6;
  font-size: 16px;
}

.product_details_section h4.opened {
  opacity: 1;
}

.product_details_section .p-b-product__params,
.product_details_section .p-b-product-colors,
.product_details_section .product_price_block {
  /* opacity: 0;
  visibility: hidden; */
  transition: all 0.4s ease-in-out;
  max-height: 0;
  overflow: hidden;
  margin-left: 10px;
}

.p-b-product__params.opened,
.p-b-product-colors.opened,
.product_price_block.opened {
    /* opacity: 1;
    visibility: visible; */
    max-height: 1000px;

}

.product_price {
  font-weight: 400;
  font-size: 16px;
  font-family: var(--main-font);
  margin: 0 0 20px;
  letter-spacing: 2px;
  opacity: 0.6;
}


.p-b-product-colors {
  max-width: 100%;
}

.p-b-product-colors__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  height: max-content;
  overflow: hidden;
  transition: 0.4s ease-out;
  transform: scale(calc(100% + 20px));
  align-content: flex-start;
  gap: 10px;
}

.p-b-product-colors__title {
  text-align: center;
  text-decoration: underline;
  text-transform: uppercase;
  padding-top: 10px;
  cursor: pointer;
}

.p-b-product-colors__item.more-colors-snippet {
  width: 100px;
  height: 100px;
  position: relative;
  /* margin: 0 15px 15px 0; */
}

.more-colors-snippet__label {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 14px;
  color: var(--color-white);
  text-align: center;
  vertical-align: middle;
  width: 100%;
  line-height: 100px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.4s ease-out;
  height: 100%;
  font-family: "Gentium Book Basic", serif;
  font-weight: 700;
}

.p-b-product-colors__item.more-colors-snippet:hover
  .more-colors-snippet__label {
  opacity: 1;
}