/*
  Theme Name: Factoria Creativa Child
  Theme URI: https://www.factoriacreativabarcelona.es/
  Description:  A lightweight and minimalist WordPress theme for Factoria Creativa
  Author: Factoria Creativa
  Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
  Template: factoria-creativa
  Text Domain: factoria-creativa-child
  Stable tag: 2.8.1
  Requires at least: 5.9
  Tested up to: 6.2
  Requires PHP: 8.0
  License: GNU General Public License v3 or later.
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/*************mini cart empty****************/

/*****************************Slick.js *************************************************/

.page .slick-prev:before,
.page .slick-next:before {
  color: #000;
}

/*******************************Home Page**********************************************/

.sirlo-home__section-one__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-categories,
.product-categories .slick-track {
  display: flex;
  width: 100%;
  gap: var(--fc-carousel-gap);
}

.product-category {
  aspect-ratio: 3/4;
  width: 100%;
  height: auto;
  position: relative;
}

.product-category__main-image__wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.product-category__hover-image__wrapper {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding-bottom: 3.3rem;
  opacity: 0;
  transition: all 0.3s ease-in;

  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.product-category__hover-image__wrapper:hover {
  transition: all 0.3s ease-out;
  visibility: visible;
  opacity: 1;

  .product-category__category-button p {
    color: #fff;
  }
}

.product-category__hover-image__wrapper:hover .product-category__category-button::after {
  animation: collisionRight 1s both;
  animation-direction: alternate;
}

.product-category__hover-image__wrapper:hover .product-category__category-button::before {
  animation: collisionLeft 1s both;
  animation-direction: alternate;
}

.product-category__category-button,
.sirlo__product__button {
  position: relative;
  z-index: 2;
  padding: 2.2rem 9.4rem;
  border: 2px solid #000;
  animation: 0.5s collision ease-in;
  overflow: hidden;
  transition: all 0.3s ease-in;
  cursor: pointer;
}

.sirlo__product__button {
  padding: 0;
}

.product-category__category-button:active {
  transform: translateY(-1rem);
  transition: all 0.3s ease-out;
  /* background: rgba(255, 255, 255, 0.5); */
}

.product-category__category-button::after,
.sirlo__product__button::after,
.product-category__category-button::before,
.sirlo__product__button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #000;
}

.product-category__category-button,
.sirlo__product__button {
  p {
    position: relative;
    color: #000;
    font-weight: 700;
    font-size: 1.8rem;
    text-transform: uppercase;
    z-index: 5;
    transition: 1s ease-in-out;
  }

  &:before {
    left: -30%;
  }

  &:after {
    left: 125%;
  }
}

@keyframes collisionLeft {
  0% {
    left: -30%;
    width: 20px;
    height: 20px;
  }

  50% {
    left: 50%;
    width: 40px;
    height: 40px;
  }

  100% {
    left: 50%;
    width: 300px;
    height: 300px;
  }
}

@keyframes collisionRight {
  0% {
    left: 125%;
    width: 20px;
    height: 20px;
  }

  50% {
    left: 50%;
    width: 40px;
    height: 40px;
  }

  100% {
    left: 50%;
    width: 300px;
    height: 300px;
  }
}

.product-category__title {
  color: #000;
  position: absolute;
  left: 0;
  bottom: -3rem;
  transform: translateY(50%);
}

.sirlo-home__section-two__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: var(--fc-carousel-gap);
}

.sirlo-home__section-two--inner {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: var(--fc-vertical-padding);
}

.sirlo-home__section-two--inner.sirlo__inner-content {
  max-width: var(--fc-carousel-width);
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.sirlo-home__section-three {
  padding-top: var(--fc-single-vertical-padding);
  padding-bottom: var(--fc-single-vertical-padding);
  position: relative;
}

.sirlo-home__section-three--bg {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sirlo-home__section-three--bg img {
  width: 50%;
}

.sirlo-home__section-three--bg img:nth-of-type(2) {
  animation: girar 2s linear infinite;
  margin-left: -4rem;
}

.sirlo-home__section-three--bg img:nth-of-type(1) {
  transform: translateX(4rem);
}

@keyframes girar {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


.sirlo-home__section-three--inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  z-index: 2;
  position: absolute;
  top: 0;
  bottom: 0;
}

.sirlo-home__section-three--inner.sirlo__inner-content {
  max-width: 140rem;
  aspect-ratio: 70/37;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.sirlo-home__section-three__text {
  max-width: 113.6rem;
  text-align: center;

  p {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
  }
}

.sirlo-home__section-four__title {
  text-align: center;
}

#sb_instagram {
  max-width: 100rem;
}

.sirlo-home__section-four--inner,
.sirlo-home__section-five--inner,
.sirlo-home__section-six--inner {
  display: flex;
  flex-direction: column;
  gap: var(--fc-main-gap);
}

.sirlo-home__section-five__title {
  text-align: center;
}

.sirlo-home__section-five--inner,
.sirlo-home__section-six--inner {
  padding: var(--fc-vertical-padding);
}

.sirlo-home__section-five_slides .slick-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11.8rem;
}

.sirlo-home__section-six__title {
  text-align: center;
}

.fa.fa-star {
  font-size: 1.6rem;
}

.fa.fa-star.checked {
  color: #000;
}

.sirlo-home__section-six_comment__secondary-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sirlo-home__section-six_comments .slick-track {
  display: flex;
  gap: 17rem;
}

.sirlo-home__section-six_comment__text,
.sirlo-home__section-six_comment__user,
.sirlo-home__section-six_comment__secondary-text {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.sirlo-home__section-six_comment__user {
  font-weight: 600;
}

.slick-initialized .sirlo-home__section-six_comments--element.slick-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.7rem;
}

/***************************About Page********************************************/

.sirlo-about__section-two--inner.sirlo__inner-content {
  display: grid;
  grid-template-columns: 1fr 0.5fr 0.5fr 1fr;
  gap: 2rem;
  padding-top: var(--fc-single-vertical-padding);
}

.sirlo-about__section-two__gallery-element:first-child {
  img {
    aspect-ratio: 1/1;
    height: auto;
  }
}

.sirlo-about__section-two__gallery-element:nth-child(2) {
  grid-column: span 2;
}

.sirlo-about__section-two__gallery-element:nth-child(3) {
  grid-row: span 2;

  img {
    object-fit: cover;
  }
}

.sirlo-about__section-two__gallery-element:nth-child(4) {
  grid-column: span 3;

  img {
    object-fit: cover;
  }
}

.sirlo-about__section-two__gallery-element:nth-child(5),
.sirlo-about__section-two__gallery-element:last-child {
  grid-column: span 2;

  img {
    aspect-ratio: 2/1;
    height: auto;
  }
}

.sirlo-about__section-two--text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  padding-bottom: var(--fc-single-vertical-padding);
}

/************************Checkout*********************************/

.wp-block-woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option {
  padding-left: 5.5em;
  padding-right: 0.75em;
}

.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  font-size: 1.5em;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form {
  font-size: 1.5em;
}

.wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  padding: 20px;
}

.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  background-color: var(--fc-secondary-color);
  color: #fff;
}

.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.9;
}

@media (max-width: 1300px) {
  .product-category__category-button {
    padding: 1rem 4rem;
  }
}

@media (max-width: 1090px) {
  .sirlo-home__section-six--inner {
    padding-top: 0;
  }

  .sirlo__product__button p {
    font-size: 1.5rem;
  }

  .sirlo-home__section-three--bg {
    overflow: hidden;
  }

  .sirlo-home__section-three--bg img {
    width: 80%;
    height: 80%;
  }

}

@media (max-width: 850px) {

  .product-category__category-button,
  .sirlo__product__button {
    padding: 1rem 3rem;
  }

  .sirlo__product__button {
    height: 38px;
  }

  .sirlo-home__section-two {
    padding-top: 0;
  }


  .sirlo-home__section-three--bg img {
    width: 100%;
    height: 100%;
  }

  /*****************Footer***********************/

  /* .footer__section-one__logo-wrapper {
    max-width: 15rem;
  } */



  .footer__section-three {
    max-width: 100%;
    width: 100%;
    gap: 2rem;
  }

  .footer__section-two {
    gap: 2rem;
  }


  .footer__section-three__block-two{
    margin-top: 2rem;
  }
}

@media (max-width: 540px) {

  /*********************Home*********************/
  .sirlo-home__section-two,
  .sirlo-home__section-five,
  .sirlo-home__section-six {
    padding: 0 4rem;
  }

  .sirlo-home__section-five_slides .slick-track {
    gap: 0;
  }

  .slick-initialized .sirlo-home__section-five__slides--element.slick-slide {
    display: flex;
    justify-content: center;

    img {
      width: 80%;
    }
  }

  .sirlo-home__section-six_comments .slick-track {
    gap: 0rem;
  }

  .sirlo-home__section-six_comments--element.slick-slide {
    padding: 0 4rem;
  }

  .sirlo-shop__category-filter__category-item {
    max-width: unset;
  }

  .product-category__category-button,
  .sirlo__product__button {
    border: 1px solid #000;
  }


  .sirlo-home__section-three--bg {
    display: none;
  }

  .sirlo-home__section-three--inner {
    position: relative;
  }


  /***********************Coleccion*************************/

  .sirlo__product__button {
    padding: 0;
  }

  .tax-product_cat .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--themed-button.yith-wcwl-theme-button-style {
    padding: 6px 10px !important;
    appearance: none;
    /* Remove default styles */
    color: #000;
    -webkit-appearance: none;
  }
}

@media (max-width: 360px) {
  .sirlo__product-buttons {
    padding: 0 1rem 3rem;
  }

  .sirlo-category__custom-header--inner {
    padding: 0 4rem;
  }
}