/* Img style */
img,
figure {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ShopWP grid products */
.wps-item a {
  text-decoration: none !important;
}
.wps-item .wps-component-products-buy-button {
  margin-top: auto;
}
.wps-item.shopify_bundle .wps-component-products-add-button {
  display: none;
}

/* ShopWP cart */
.wps-cart-lineitem .wps-cart-lineitem-variant-title {
  margin-bottom: 10px;
}
.wps-cart-lineitem .wps-cart-lineitem-title {
  margin-bottom: 0 !important;
}
.wps-cart-lineitem .wps-cart-lineitem-quantity-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  gap: 10px;
}
.wps-cart-lineitem .wps-cart-lineitem-quantity-wrapper .css-1nkvfzs-attrWrapperCSS,
.wps-cart-lineitem .wps-cart-lineitem-quantity-wrapper .css-at0oas-CartAttributesCSS {
  padding-top: 0;
  margin-top: 0;
  border: 0;
}
.wps-cart-lineitem .wps-cart-lineitem-quantity-wrapper .css-ill4xk-attrCSS-attrKeyCSS-CartAttribute {
  display: none;
}

/* Buttons */
.wps-btn,
button.wps-btn,
a.wps-btn,
.wps-items-wrapper .wps-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px;
  height: 50px;
  text-decoration: none !important;
  color: #fff !important;
  line-height: 1;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.wps-btn:hover,
button.wps-btn:hover,
a.wps-btn:hover,
.wps-items-wrapper .wps-btn:hover {
  color: #fff !important;
  opacity: 0.85;
}
.wps-btn[disabled], .wps-btn[disabled]:hover,
button.wps-btn[disabled],
button.wps-btn[disabled]:hover,
a.wps-btn[disabled],
a.wps-btn[disabled]:hover,
.wps-items-wrapper .wps-btn[disabled],
.wps-items-wrapper .wps-btn[disabled]:hover {
  background-color: #ccc !important;
  cursor: default;
}
.wps-btn .swp-add-to-cart-text,
button.wps-btn .swp-add-to-cart-text,
a.wps-btn .swp-add-to-cart-text,
.wps-items-wrapper .wps-btn .swp-add-to-cart-text {
  opacity: 1 !important;
}

/* Archive bundle */
.bundle-item__img {
  width: 100%;
  height: 22rem;
  background-size: cover;
  background-position: center center;
}
.bundle-item__title {
  font-family: inherit;
  font-weight: initial;
  font-size: 22px !important;
  letter-spacing: initial;
  line-height: initial;
  text-decoration: initial;
  text-transform: initial;
  font-style: initial;
  white-space: normal;
  margin: 20px 0 !important;
}
.bundle-item__title .bundle-item__link-title {
  text-decoration: none !important;
  color: inherit !important;
}
/* Single bundle */
.single-bundle {
  padding: 50px 0;
}
.single-bundle__title {
  text-align: center;
  margin-bottom: 30px;
}
.single-bundle__summary {
  position: fixed;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.bundle-products {
  padding: 50px 0;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}
@media (min-width: 1280px) {
  .bundle-products {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.bundle-products__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (min-width: 1280px) {
  .bundle-products__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 380px;
            flex: 0 0 380px;
  }
}
.bundle-products__item-active {
  -webkit-box-shadow: 0 0 0 10px #e5ffd9;
          box-shadow: 0 0 0 10px #e5ffd9;
  background: #e5ffd9;
}
.bundle-products__img {
  height: 375px;
  width: 100%;
  background-size: cover;
  background-position: center;
}
.bundle-products__title,
.bundle-products h3.bundle-products__title {
  margin-top: 15px;
  margin-bottom: 15px;
}
.bundle-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: auto;
}
@media (max-width: 1023px) {
  .bundle-info {
    gap: 10px;
  }
}
.bundle-info__popup {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50px;
          flex: 0 0 50px;
}
@media (max-width: 1023px) {
  .bundle-info__popup {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 45px;
            flex: 0 0 45px;
  }
}
.bundle-info__qty {
  margin-left: auto;
}
.bundle-info__select {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 100%;
          flex: 1 0 100%;
}
.bundle-info__select-button {
  width: 100%;
}

.bundle-quantity {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #ebebeb;
  padding: 0 5px;
  /* Remove Arrows/Spinners Chrome, Safari, Edge, Opera */
  /* Firefox */
}
.bundle-quantity__btn {
  background-color: transparent;
  color: inherit;
  padding: 15px;
  font-size: 20px;
  border: none;
  cursor: pointer;
}
.bundle-quantity__btn:hover, .bundle-quantity__btn:focus {
  background-color: transparent;
  color: inherit;
}
@media (max-width: 1023px) {
  .bundle-quantity__btn {
    padding: 15px 10px;
  }
}
.bundle-quantity__input,
.bundle-quantity input[type=number] {
  background-color: #ebebeb;
  padding: 5px;
  text-align: center;
  outline: none;
  border: none;
  max-width: 55px;
}
.bundle-quantity input::-webkit-outer-spin-button,
.bundle-quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.bundle-quantity input[type=number] {
  -moz-appearance: textfield;
}

.bundle-summary {
  background-color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px 5px 0 0;
  gap: 15px;
  width: 100%;
  max-width: 500px;
  z-index: 999;
}
.bundle-summary.disable {
  background-color: #f59e9e;
  border: 1px solid #f59e9e;
  color: #fff;
  padding: 15px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.bundle-summary__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: normal;
}
.bundle-summary__info.disable {
  background-color: #f59e9e;
  -webkit-box-shadow: 0 0 0px 5px #f59e9e;
          box-shadow: 0 0 0px 5px #f59e9e;
}
.bundle-summary__title {
  font-weight: 600;
  margin-right: 5px;
}
.bundle-summary .bundle-quantity {
  padding: 0;
  max-height: 50px;
}
.bundle-summary .bundle-quantity input[type=number] {
  max-width: 50px;
}

/* Modal for product in bundle */
body.lock {
  overflow: hidden !important;
  -ms-touch-action: none;
      touch-action: none;
}

.bundle-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.bundle-modal.open {
  display: block;
}
.bundle-modal__close {
  position: absolute;
  right: -35px;
  top: -35px;
  font-size: 48px;
  color: #fff;
  cursor: pointer;
  z-index: 99;
}
.bundle-modal__wrapper {
  background-color: #fff;
  width: 100%;
  max-width: 800px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border-radius: 5px;
}
.bundle-modal__content {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 480px;
  gap: 30px;
  padding: 30px;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
@media (min-width: 767px) {
  .bundle-modal__gallery {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 350px;
            flex: 1 0 350px;
  }
}
.bundle-modal__description {
  font-size: 16px;
  font-weight: 600;
}
.bundle-modal__description p {
  margin-bottom: 10px;
}
.bundle-modal__title {
  font-weight: 600;
  font-size: 24px;
}

.modal-gallery__thumbnails {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.modal-gallery__thumbnails img {
  cursor: pointer;
}
.modal-gallery__thumbnails img.active, .modal-gallery__thumbnails img:hover {
  outline: rgb(0, 0, 0) dashed 1px;
  outline-offset: 3px;
}
.modal-gallery__thumbnails-item {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 60px;
          flex: 0 0 60px;
}

/* Pagination */
.bundle-pagination-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 30px 0;
}
.bundle-pagination-wrapper .wps-btn {
  min-width: 50px;
}
.bundle-pagination-wrapper span.wps-btn {
  cursor: default;
  opacity: 0.8;
  -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}