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

.hidden-fields-container,
.screen-reader-response,
.wpcf7-not-valid-tip {
  display: none !important;
}

.wpcf7-response-output {
  margin-top: 2rem;
}

.wpcf7-not-valid,
.form-item--error > input,
.coupon-form__inner--error > input {
  background: rgba(255, 0, 0, 0.1) !important;
}

.home-hero__item-media.--video {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.home-hero__item-media video.home-hero-video-d,
.home-hero__item-media video.home-hero-video-m {
  height: 100%;
  width: auto;
  max-width: unset;
  object-fit: cover;
}

.home-hero__item-media video.home-hero-video-m {
  display: none;
}

@media (max-width: 768px) and (orientation: portrait) {
  .home-hero__item-media video.home-hero-video-d {
    display: none;
  }

  .home-hero__item-media video.home-hero-video-m {
    display: block;
  }
}

.product-categories__items--one-column {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

.special-section__image picture {
  display: none;
}

.cta-banner > a {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  transition: 0.3s;
}

.cta-banner > a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

form.cart .quantity {
  display: none;
}

.product-reviews__item.--video .product-reviews__item-image video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.product-feedback__item svg,
.product-additional__content .rating svg {
  width: 5.375rem;
}

.product-hero__header .product-rating svg {
  width: 5rem;
}

.woocommerce-pagination ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6em;
}

.woocommerce-pagination ul a {
  text-decoration: underline;
}

body > #block-ui-preloader {
  display: none;
}

#block-ui-preloader {
  width: 7rem;
  height: 7rem;
  border: 0.6em solid #fff6e4;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.coupon-form-responce {
  color: red !important;
}

form.cart .quantity-wrapper {
  display: none !important;
}

.product-card__image > * {
  z-index: 2;
}

.product-card__image > a.permalink {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.minicart .carousel__button.is-close {
  top: 0.7rem !important;
}

.minicart .minicart-progress ~ .carousel__button.is-close {
  top: 5.1875rem !important;
}

@media (max-width: 768px) and (orientation: portrait) {
  .minicart .carousel__button.is-close {
    top: 1rem !important;
  }
  .minicart .minicart-progress ~ .carousel__button.is-close {
    top: 4.375rem !important;
  }
}

.product-hero__info .plus-btn::before,
.product-hero__info .plus-btn::after {
  background-color: #000;
  width: 1px;
}

.product-hero__info .plus-btn::before {
  height: 1px;
  width: 1rem;
}

.product-content__media .default-slider,
.product-content__media .default-slider .media-item {
  height: 100%;
}

.product-content__media .default-slider .media-item img {
  min-height: 100%;
}

.btn.--primary {
  background-image: none !important;
}

.wp-block-woocommerce-empty-cart-block {
  text-align: center;
}

.wp-block-woocommerce-empty-cart-block .btn-return-to-shop {
  margin-inline: auto;
}

.empty-mini-cart {
  flex-grow: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.empty-mini-cart svg {
  width: 13rem;
  height: auto;
}

.empty-mini-cart p {
  font-size: 2rem;
}

.empty-mini-cart .btn.--primary {
  background-color: rgba(0, 0, 0, 0.12);
}

.empty-mini-cart .btn.--primary:hover {
  background: #f5e9d2;
}

.--light-header > .woocommerce {
  background: #fff6e4;
}

.--light-header > .woocommerce * {
  color: #000;
}

.cart-page {
  display: flex;
}

.cart-page .checkout-page__summary {
  padding: 0;
  margin: 0;
  border: unset !important;
}

@media (max-width: 768px) and (orientation: portrait) {
  .product-relation__table-row
    > .product-relation__table-cell:nth-last-child(2) {
    order: unset !important;
  }

  .product-relation__table::before {
    inset-inline-end: unset !important;
    inset-inline-start: 0.375rem;
    transform: scaleX(-1);
  }

  .product-relation__table-cell {
    padding-inline: 0.75rem;
    justify-content: unset !important;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .checkout-page__summary-mobile ~ * {
    display: none;
    padding-inline: 1.25rem;
  }

  .checkout-page__summary-mobile.opened ~ * {
    display: block;
  }

  /*
  .checkout-page__summary-mobile ~ .checkout-page__summary-total,
  .checkout-page__summary-mobile:not(.opened) {
    border-bottom: 1px solid #c9c0b6;
  }
  */

  .checkout-page__summary {
    border-bottom: 1px solid #c9c0b6;
  }
}

.shipping-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shipping-methods.form-item label .shipping-method {
  border: 1px solid transparent;
  cursor: pointer;
}

.shipping-methods.form-item input:checked + label .shipping-method {
  border-color: #000;
}

.added_to_cart.wc-forward {
  display: none !important;
}

@media (min-width: 769px) {
  .features-cards__item {
    padding-inline: 2.3rem;
  }

  .features-cards__item h3 {
    max-width: 100%;
  }

  .minicart {
    width: 32.375rem;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .product-card .cart-btn i {
    opacity: 1;
    font-size: 2rem;
  }

  .product-card .cart-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    inset: unset;
    width: 2.5rem;
    height: 2.5rem;
    inset-inline-end: 0.5rem;
    bottom: 0.5rem;
    background: #000;
    border-radius: 50%;
  }
}

.wpcf7-acceptance label {
  display: flex;
  align-items: start;
  gap: 0.75rem;
}

@media (max-width: 768px) and (orientation: portrait) {
  .search-results {
    bottom: unset;
    top: 10.5rem;
  }
}

@media (min-width: 769px) {
  .inner-hero__content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .inner-hero__content > * {
    max-width: 56.25rem;
  }

  .inner-hero__content > h1 {
    max-width: 100%;
  }
}

.product-content__text-inner .section-title,
.product-ingredients__text .section-title {
  max-width: 100%;
}

@media (max-width: 768px) and (orientation: portrait) {
  .autoplay-slider__item-text a {
    display: flex;
    padding: 1rem;
    font-size: 1rem;
  }
}

.checkbox-item .check {
  min-width: 1.5rem;
}
