@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

/* SWIPER LOADING - START */
.swiper {
  position: relative;
}

.swiper .swiper-wrapper::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  top: -1px;
  background-size: 200%;
  background-image: linear-gradient(90deg,
      var(--bg-light-gray) 0px,
      #ffffff 40px,
      var(--bg-light-gray) 80px);
  border-radius: 4px;
  transition: background-image 0.3s;
  animation: loading 1.5s infinite linear;
  z-index: 9999;
}

.swiper.swiper-initialized .swiper-wrapper::after {
  content: unset;
}

.swiper .swiper-header .swiper-arrow-wrapper {
  display: none;
}

.swiper.swiper-initialized .swiper-header .swiper-arrow-wrapper {
  display: flex;
}

/* SWIPER LOADING - END */

/* POST SWIPER - START */
.post-swiper .swiper-slide {
  max-width: calc((100% - 48px) / 3);
  margin-right: 24px;
}

@media (max-width: 1200px) {
  .post-swiper .swiper-slide {
    max-width: calc((100% - 48px) / 3);
    margin-right: 24px;
  }
}

@media (max-width: 992px) {
  .post-swiper .swiper-slide {
    max-width: calc((100% - 24px) / 2);
    margin-right: 24px;
  }
}

@media (max-width: 420px) {
  .post-swiper .swiper-slide {
    max-width: calc((100% - 24px) / 1.3);
    margin-right: 24px;
  }
}

.post-swiper .swiper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-swiper .swiper-header .swiper-arrow-wrapper {
  /* display: flex; */
  gap: 16px;
}

.post-swiper .swiper-header .swiper-arrow-wrapper div {
  position: static !important;
  width: 40px;
  height: 40px;
  color: var(--bs-body-color);
  background: var(--bg--dark-gray);
  margin: 0px !important;
  border-radius: 4px;
}

.swiper-pagination-bullet {
  background-color: white;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: white;
  opacity: 1;
}

.post-swiper .swiper :where(.wp-site-blocks :focus) {
  outline-style: none;
}

.post-swiper .swiper-header .swiper-arrow-wrapper div svg {
  max-width: 5px;
}

.post-swiper .section-title {
  color: var(--bs-body-color);
  font-weight: var(--fw-normal);
  font-size: 1.5rem;
  margin: 2.5rem 0;
}

.post-swiper .swiper-slide a {
  text-decoration: none;
}

.post-swiper .swiper-slide img {
  max-width: 100%;
  object-fit: cover;
  height: 100%;
  border-radius: 4px;
  user-select: none;
}

.post-swiper .swiper-slide .carousel-post-title {
  color: var(--bs-body-color);
  font-weight: var(--fw-normal);
  font-size: var(--fs-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 35px;
  margin: 0px;
}

.post-swiper .swiper-slide .carousel-post-desc {
  font-weight: var(--fw-normal);
  color: var(--dark-gray);
  font-size: var(--fs-sm);
  margin: 12px 0px 0px;
}

.swipper-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.swipper-action .btn {
  display: inline-flex;
  font-size: var(--btn-font-size);
  padding: 6px 12px;
  align-items: center;
  line-height: var(--btn-line-height);
  justify-content: center;
  border: 1px solid #151515;
  text-decoration: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 400;
  transition: 0.25s ease-out;
  color: #151515;
}

.swipper-action .btn svg {
  margin-left: var(--sp-3);
}

.swipper-action .btn:hover {
  background-color: #0073bd;
  border-color: #0073bd;
  color: #fff;
}

.swipper-action .btn {
  background-color: white;
  border-color: #0073bd;
  color: #0073bd;
}

/* POST SWIPER - END */

/* MAIN SWIPER - START */
:root {
  --main-slider-height: 400px;
}

.main-swiper .img-mobile {
  display: none;
}

.main-swiper img {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 100%;
}

.main-swiper {
  border-radius: 4px;
  overflow: hidden;
  min-height: var(--main-slider-height);
}

.main-swiper .swiper-wrapper {
  position: absolute !important;
}

.main-swiper .swiper-slide a {
  display: flex;
  height: 100%;
}

.main-swiper .carousel-item {
  height: 100%;
}

.main-swiper .swiper-button-next,
.main-swiper .swiper-button-prev {
  color: white;
  height: 100%;
  border-radius: 0px;
  background: transparent;
  justify-content: center;
  display: flex;
  width: 80px;
  top: 0px;
  bottom: 0px;
  margin: 0px;
  opacity: 0.3;
}

.main-swiper .swiper-button-next svg,
.main-swiper .swiper-button-prev svg {
  max-width: 10px;
}

.main-swiper .swiper-button-prev {
  left: 0px;
}

.main-swiper .swiper-button-next {
  right: 0px;
}

.main-swiper.swiper :where(.wp-site-blocks :focus) {
  outline-style: none;
}

.main-swiper .swiper-button-next:hover,
.main-swiper .swiper-button-prev:hover {
  opacity: 0.75;
}

.main-swiper .caption-description {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
  color: #fff;
}

.main-swiper .caption-description .slider-title {
  margin: 0px;
  margin-bottom: 1rem;
  font-size: var(--fs-hero);
  font-weight: var(--fw-light);
  line-height: 1;
}

.main-swiper .caption-description .slider-title span {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  font-weight: var(--fw-normal);
  font-size: inherit;
}

.main-swiper .caption-description .slider-desc {
  margin: 0px;
  margin-bottom: 1rem;
  max-width: 480px;
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
}

.main-swiper .slider-cta.outline {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: var(--radius-sm);
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1;
  font-weight: var(--fw-normal);
  transition: 0.15s ease-in;
}

@media (max-width: 992px) {
  :root {
    --fs-hero: 48px;
  }
}

@media (max-width: 768px) {
  .main-swiper img {
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 600px) {
  :root {
    --fs-hero: 32px;
  }

  .main-swiper .caption-description .slider-desc {
    font-size: var(--fs-sm);
    /* margin-bottom: 0.5rem; */
  }

  /* .main-swiper .caption-description .slider-title {
    margin-bottom: 0.5rem;
  } */
  .main-swiper .slider-cta.outline {
    /* margin-top: 0.5rem; */
    padding: var(--sp-2) var(--sp-4);
  }
}

@media (max-width: 480px) {

  .main-swiper .swiper-button-next,
  .main-swiper .swiper-button-prev {
    width: 40px;
  }

  .main-swiper .caption-description {
    left: 50px;
    width: calc(100% - 100px);
    text-align: center;
  }

  .main-swiper img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 400px) {
  .main-swiper img {
    aspect-ratio: 1;
  }

  .main-swiper .caption-description {
    left: 30px;
    width: calc(100% - 70px);
    text-align: center;
  }
}

@media (max-width: 360px) {
  :root {
    --fs-hero: 24px;
  }

  .main-swiper .caption-description .slider-desc {
    margin-bottom: 0.5rem;
  }

  .main-swiper .caption-description .slider-title {
    margin-bottom: 0.5rem;
  }

  .main-swiper .slider-cta.outline {
    margin-top: 0.5rem;
  }
}

/* MAIN SWIPER - END */

/* PRODUCT SWIPER - START */
.product-swiper.swiper-slide {
  max-width: calc((100% - 72px) / 4);
  margin-right: 24px;
}

@media (max-width: 1200px) {
  .product-swiper .swiper-slide {
    max-width: calc((100% - 48px) / 3);
    margin-right: 24px;
  }
}

@media (max-width: 992px) {
  .product-swiper .swiper-slide {
    max-width: calc((100% - 24px) / 2);
    margin-right: 24px;
  }
}

@media (max-width: 420px) {
  .product-swiper .swiper-slide {
    max-width: calc((100% - 24px) / 1.3);
    margin-right: 24px;
  }
}

.product-swiper .swiper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-swiper .swiper-header .swiper-arrow-wrapper {
  /* display: flex; */
  gap: 16px;
}

.product-swiper .swiper-header .swiper-arrow-wrapper div {
  position: static !important;
  width: 40px;
  height: 40px;
  color: var(--bs-body-color);
  background: var(--bg--dark-gray);
  margin: 0px !important;
  border-radius: 4px;
}

.swiper-pagination-bullet {
  background-color: white;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: white;
  opacity: 1;
}

.product-swiper .swiper :where(.wp-site-blocks :focus) {
  outline-style: none;
}

.product-swiper .swiper-header .swiper-arrow-wrapper div svg {
  max-width: 5px;
}

.product-swiper .section-title {
  color: var(--bs-body-color);
  font-weight: var(--fw-normal);
  font-size: 1.5rem;
  margin: 2.5rem 0;
}

.product-swiper .swiper-slide {
  display: flex;
  height: auto;
}

.product-swiper .swiper-slide .carousel-product {
  display: flex;
}

.product-swiper .swiper-slide a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.product-swiper .swiper-slide img {
  max-width: 100%;
  object-fit: cover;
  height: 100%;
  border-radius: 4px;
  user-select: none;
}

.product-swiper .swiper-slide .carousel-product-title {
  color: var(--bs-body-color);
  font-weight: var(--fw-normal);
  font-size: var(--fs-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 42px;
  margin: var(--sp-2) 0px;
}

.product-swiper .swiper-slide .price {
  display: flex;
  gap: var(--sp-1) var(--sp-2);
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  line-height: 1;
  min-height: 30px;
  align-items: flex-start;
}

.post-template-default.single.single-post .entry-content .product-swiper .swiper-slide .price .omnibus,
.product-swiper .swiper-slide .price .omnibus {
  width: 100% !important;
  font-size: var(--fs-xs);
  margin: 0px;
  margin-block-start: 0px !important;
  line-height: 1;
}

.product-swiper .swiper-slide .price-regular {
  color: var(--bs-body-color);
  font-weight: var(--fw-normal);
  font-size: var(--fs-sm);
  margin: 0px;
}

.product-swiper .swiper-slide .price-sale {
  color: var(--light-gray);
  font-size: var(--fs-xs);
  font-weight: var(--fw-normal);
  margin: 0px;
  text-decoration: line-through;
}

.product-section {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 2.5rem !important;
}

/* PRODUCT SWIPER - END */

@keyframes loading {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}