.collection-popup .cart-count {
  -ms-grid-row: 3;
  -ms-grid-row-span: 1;
  grid-row: 3/4;
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  grid-column: 1/4;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: 20px 0;
}

.collection-popup .cart-count .count-btn {
  border: 1px solid #3D3D3D;
  border-radius: 5px;
  padding: 0 5px;
}

.collection-popup .cart-count .count-btn::-moz-selection {
  background-color: transparent;
}

.collection-popup .cart-count .count-btn::selection {
  background-color: transparent;
}

.collection-popup .cart-count .count-value {
  color: #3D3D3D;
}

.collection-popup__wrapper {
  position: relative;
}

.collection-popup__close-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  right: -75px;
  width: auto;
  font-family: 'Rubik';
  font-size: 12px;
  line-height: 14px;
  color: #D4D4D4;
  cursor: pointer;
}

.collection-popup__close-button p {
  margin-left: 5px;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
}

.collection-popup__content {
  position: relative;
  background-color: #fff;
  border-radius: 24px;
  overflow-y: auto;
  min-width: 75vw;
  min-height: 75vh;
  height: 80vh;
  width: 75vw;
}

.collection-popup__details {
  height: 75vh;
  overflow-y: auto;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 30px;
  position: relative;
}

.collection-popup__text-content {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.collection-popup .variation {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.collection-popup__img-wrapper {
  position: relative;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  margin-right: 40px;
  overflow: hidden;
  height: 100%;
  width: 70%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.collection-popup__img-wrapper .c_img {
  position: relative;
  left: -40px;
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}
@media (hover: hover) and (pointer: fine) {
  .collection-popup__img-wrapper:hover .c_img{
    opacity: 0;
  }
  .collection-popup__img-wrapper:hover .collection-popup__all-pillows-img{
    opacity: 1;
  }
}
.collection-popup__img-wrapper .collection-popup__all-pillows-img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
}
.collection-popup__title {
  margin-bottom: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.collection-popup__description, .collection-popup__price {
  font-family: 'Rubik';
}

.collection-popup__description {
  width: 250px;
  margin: 20px 0;
}

.collection-popup__price-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: min-content min-content;
      grid-template-columns: -webkit-min-content -webkit-min-content;
      grid-template-columns: min-content min-content;
  -ms-grid-rows: (auto)[3];
      grid-template-rows: repeat(3, auto);
}

.collection-popup__price {
  margin-bottom: 5px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  white-space: nowrap;
}

.collection-popup__sale {
  font-size: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.collection-popup__primary-price, .collection-popup__sale-message {
  font-family: "Rubik-Bold";
}

.collection-popup__primary-price {
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  grid-row: 2/3;
  color: #3D3D3D;
  font-size: 34px;
  margin-right: 10px;
  white-space: nowrap;
}

.collection-popup__sale-message {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  grid-row: 2/3;
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2/3;
  font-size: 12px;
  color: #fff;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: auto;
  white-space: nowrap;
  background-color: #3D3D3D;
  padding: 10px 20px;
  border-radius: 24px;
}

.collection-popup__sale-message::-moz-selection {
  background-color: transparent;
}

.collection-popup__sale-message::selection {
  background-color: transparent;
}

.collection-popup__gallery img {
  width: 100%;
  padding: 0 50px 20px 50px;
}

.price-crossed {
  color: #3D3D3D;
  opacity: 0.3;
  text-decoration: line-through;
}

@media (max-width: 1150px) {
  .collection-popup .cart-count {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3/4;
    margin: auto 0 auto auto;
  }
  .collection-popup__img-wrapper .collection-popup__all-pillows-img{
    transform: translate(-50%, -50%);
    max-width: 90%;
  }
  .collection-popup .card_buy-btn {
    width: 100%;
  }
  .collection-popup__close-button {
    right: unset;
    left: 50%;
    top: 15px;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
  }
  .collection-popup__content {
    height: 90vh;
    margin-top: 7vh;
    margin-bottom: 3vh;
  }
  .collection-popup__details {
    height: auto;
    overflow-y: unset;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .collection-popup__text-content {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    width: 100%;
  }
  .collection-popup .variation {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    margin: unset;
  }
  .collection-popup__img-wrapper {
    margin: 50px auto 0 auto;
    overflow: visible;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    width: 100%;
    height: 300px;
  }
  .collection-popup__img-wrapper .c_img {
    left: -5%;
    bottom: 0;
  }
  .collection-popup__title {
    margin: 20px auto 20px auto;
  }
  .collection-popup__description {
    width: 100%;
    text-align: center;
  }
  .collection-popup__price-wrapper {
    -ms-grid-columns: min-content min-content 1fr;
        grid-template-columns: -webkit-min-content -webkit-min-content 1fr;
        grid-template-columns: min-content min-content 1fr;
    row-gap: 20px;
    margin: 20px 0;
  }
  .collection-popup__no-special-offer-price-wrapper {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    width: 100% !important;
    -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
            justify-content: center !important;
  }
  .collection-popup__price {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
  }
  .collection-popup__no-special-offer-price-price {
    -webkit-transform: unset !important;
            transform: unset !important;
  }
  .collection-popup__primary-price {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    margin-right: 0;
    margin-left: 5px;
  }
  .collection-popup__sale-message {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column: 1/4;
    font-size: 14px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }
  .collection-popup__gallery img {
    padding: 20px 50px 0 50px;
  }
}

@media (max-width: 800px){
  .collection-popup__img-wrapper .collection-popup__all-pillows-img{
    max-width: 100%;
  }
}

@media (max-width: 550px) {
  .collection-popup__content {
    width: unset;
  }
  .collection-popup__img-wrapper {
    width: 100%;
    height: 200px;
  }
  .collection-popup__img-wrapper .c_img {
    left: -5%;
  }
  .collection-popup__details {
    padding: 0 10px;
  }
  .collection-popup__gallery img {
    padding: 20px 10px 0 10px;
  }
}

@media (max-width: 374px) {
  .card_text-content .collection-popup__price, .card_text-content .collection-popup__primary-price {
    text-align: unset;
    -webkit-transform: unset;
            transform: unset;
    width: unset;
  }
  .collection-popup .cart-count {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3/4;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column: 1/4;
    margin: auto;
  }
  .collection-popup__price-wrapper {
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
  }
  .collection-popup__price {
    width: 100%;
    text-align: right;
    -webkit-transform: translate(-22px, 0);
            transform: translate(-22px, 0);
  }
  .collection-popup__primary-price {
    text-align: left;
    -webkit-transform: translate(-22px, 0);
            transform: translate(-22px, 0);
  }
}
/*# sourceMappingURL=pillow-popup.css.map */