/*
Theme Name: elevate
Author: Elevate
Text Domain: elevate
Description:
Version: 1.0
*/

@media only screen and (min-width: 1024px) {
  .nogrid .post-item__media {
    aspect-ratio: 409 / 400 !important;
  }
  .nogrid .brand-post-item {
    grid-column: unset !important;
    grid-row: unset !important;
  }
  .product-accordions__item-body img {
    width: 16rem;
    height: auto;
    /* object-fit: cover; */
  }
}
.pewc-product-extra-groups-wrap__after {
  display: flex;
  align-items: center;
  margin-top: 1.5em;
  gap: 0.6em;
}

@media screen and (max-width: 1024px) {
  .pewc-product-extra-groups-wrap__after {
    display: flex;
  }

  .lobby-brands__item-content .links {
    margin-top: 1rem;
  }
}

.pewc-product-extra-groups-wrap__after .price-default {
  margin: 0 !important;
  order: unset !important;
  font-size: 1.2em;
}

.toShow {
  flex-shrink: 0;
}

.content-img__text--collapsed .content-img__btn--show-text a {
  font-size: 1.185rem;
}

.content-img__text--collapsed .content-img__btn--show-text a i {
  transform: rotate(-90deg);
}

.content-img__text--collapsed .content-img__btn--show-text.opened a i {
  transform: rotate(90deg);
}

.content-img__btn.content-img__btn--show-text {
  order: 2;
}

.sliders-review:not(:has(.sliders-review__slider)) {
  display: none !important;
}

.term-description {
  max-width: 62.5rem;
  margin-inline: auto;
}

.form-item .error {
  color: red;
}

.wc_payment_method.payment_method_creditguard label {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: start;
  white-space: nowrap;
  gap: 0.5em;
}

.wc_payment_method.payment_method_creditguard label img {
  max-width: 3rem;
}

.wc_payment_method.payment_method_creditguard
  .payment_box.payment_method_creditguard {
  display: none !important;
}

@media (orientation: landscape),
  (min-width: 769px) and (orientation: portrait) {
  .cart-page__product {
    min-height: 9.25rem;
  }

  .cart-page__product-image a,
  .mini-cart .cart-list__product-wrapper > a.cart-list__product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .summary-block__product-image {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .summary-block__product-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .mini-cart .cart-list__product-wrapper > a.cart-list__product-thumb,
  .summary-block__product-image {
    height: 6.25rem;
  }

  .cart-page__product-image img,
  .mini-cart .cart-list__product-wrapper > a.cart-list__product-thumb img {
    max-height: 100%;
    height: 100%;
    width: auto;
    aspect-ratio: auto;
  }

  .summary-block__product-image img {
    max-height: 100%;
    height: 100%;
    width: auto;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .mini-cart .cart-list__product-wrapper,
  .summary-block__product-image {
    height: 4.75rem;
  }

  .mini-cart .cart-list__product-thumb,
  .cart-page__product-image > a,
  .summary-block__product-image > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .summary-block__product-image {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mini-cart .cart-list__product-thumb img,
  .cart-page__product-image > a img {
    max-height: 100%;
    height: 100%;
    width: auto;
    aspect-ratio: auto;
  }

  .summary-block__product-image img {
    max-height: 100%;
    height: 100%;
    width: auto;
  }
}

/* <!-- social share */
.single-product-share {
  position: relative;
}
.single-product-share__share-block {
  display: none;
  gap: 0.5rem;
  opacity: 0;
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  border: 1px solid #000;
  border-radius: 1rem;
  padding: 0.375rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: #fff;
}
.single-product-share__share-block i {
  font-size: 1.5rem;
  font-style: normal;
}
.single-product-share__share.--open .single-product-share__share-block {
  opacity: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.single-product-share__share-block .ssfwc_social_share_buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.5rem;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  margin: 0 !important;
}
.single-product-share__share-block .ssfwc_social_share_buttons > a {
  min-width: 3rem !important;
  width: 3rem !important;
  height: 3rem !important;
  float: none !important;
  margin: 0 !important;
  border: unset !important;
}
.single-product-share__share-block .ssfwc_social_share_buttons > a > span {
  width: 100%;
  height: 100%;
  display: block;
  float: none !important;
}
.single-product-share__share-block .ssfwc_social_share_buttons > a img {
  height: 100%;
  width: auto;
  object-fit: cover;
}
@media (max-width: 768px) and (orientation: portrait) {
  .single-product-share__share.--open .single-product-share__share-block {
    left: -1em !important;
  }
  .single-product-share__share-block .ssfwc_social_share_buttons > a {
    min-width: 1.9rem !important;
    width: 1.9rem !important;
    height: 1.9rem !important;
    float: none !important;
    border: unset !important;
  }
}
/* social share --> */

@media (max-width: 768px) and (orientation: portrait) {
    .banner__inner {
        flex-direction: column;
		gap: .5rem;
    }
	
	.banner__image {
		margin-inline-start: -0.75rem;
    	width: calc(100% + 0.75rem);
    	max-width: unset;
		margin-bottom: -.75rem;
		border-radius: 0 0 1rem 1rem;
    	overflow: hidden;
	}
	
	.banner__content {
		font-size: 1.125rem;
		padding-inline-end:0.75rem;
	}
}