/* layout.css — split from the storefront stylesheet, same rules and order */
/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/
/* 6.1 Header
--------------------------------------------------------------*/
/* Preloader */
.preloader-wrapper {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 111;
  background: #fff;
  display: grid;
  place-items: center;
}

.preloader-wrapper .preloader {
  position: relative;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(65, 75, 65, 0.9) 0deg 12deg,
    transparent 12deg 45deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  animation: cupertino-spin 0.8s steps(8) infinite;
  transform: translateZ(0);
}

@keyframes cupertino-spin {
  to { transform: rotate(360deg) translateZ(0); }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-wrapper .preloader {
    animation-duration: 1.8s;
  }
}

/* *** Start editing below this line *** */
/* .container-fluid {
  max-width: 1600px;
}
*/
@media (min-width: 1200px) {
  .container,
  .container-lg {
    max-width: 1280px;
  }
}

.banner-blocks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 2rem;
}

.block-1 {
  grid-area: 1 / 1 / 3 / 8;
}

.block-2 {
  grid-area: 1 / 8 / 2 / 13;
}

.block-3 {
  grid-area: 2 / 8 / 3 / 13;
}

@media screen and (max-width:1140px) {
  .banner-blocks {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }

  .block-1 {
    grid-area: 1 / 1 / 3 / 2;
  }

  .block-2 {
    grid-area: 3 / 1 / 4 / 2;
  }

  .block-3 {
    grid-area: 4 / 1 / 5 / 2;
  }

}

/* Swiper carousel */
.swiper-prev,
.swiper-next {
  width: 38px;
  height: 38px;
  line-height: 38px;
  background: #F1F1F1;
  color: #222222;
  padding: 0;
  text-align: center;
  border-radius: 10px;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: #ec9b22;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-disabled-color: #ccc;
  --bs-btn-disabled-bg: #eaeaea;
  --bs-btn-disabled-border-color: #eaeaea
}

.swiper-prev:hover,
.swiper-next:hover {
  background: var(--bs-primary);
}

.category-carousel {
  overflow: hidden;
}

.category-carousel .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  box-sizing: border-box;
}

.category-carousel img.rounded-circle {
  display: block;
  width: 92px;
  height: 92px;
  max-width: 100%;
  margin: 0 auto;
  object-fit: cover;
}

.category-carousel .category-title {
  margin-top: 10px !important;
  font-size: .9rem !important;
  line-height: 1.3;
}
