.bg_sz_cover {
  background-size: contain !important;
}

.first_main {
  max-height: 700px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .kalles-slide-element__pdb-600 {
    padding-top: 0px;
    height: 135px;
  }
  .first_main .flickity-viewport {
    height: 140px !important;
  }
  .type_slideshow .flickity-page-dots {
    position: absolute;
    z-index: 22;
    bottom: -20px;
  }
  .dot_owl_2 .flickity-page-dots .dot {
    background: rgba(131, 9, 48, 0.4) !important;
    border: 0;
  }
  .flickity-page-dots .dot:after {
    background-color: #8d1b3d !important;
  }
  .type_slideshow .flickity-page-dots .dot,
  .type_banner_collection .flickity-page-dots .dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
  }
  .slick-dots {
    bottom: -32px !important;
  }
  .slick-dots li button:before {
    font-size: 9px;
  }
  .slick-dots li.slick-active button:before {
    color: #8d1b3d;
  }
  .slick-dots li {
    width: 16px;
    height: 16px;
    margin: 0 2px;
  }
}
@media (min-width: 767px) {
  .kalles-slide-element__pdb-600 {
    padding-top: 500px;
  }
  .slick-dots {
    bottom: 5px !important;
  }
  .slick-dots li button:before {
    font-size: 12px;
  }
  .slick-dots li.slick-active button:before {
    color: #8d1b3d;
  }
}
.category-slider-wrapper {
  position: relative;
}
.category-slider-wrapper::before, .category-slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.category-slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}
.category-slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}
.category-slider-wrapper.hide-left-blur::before {
  opacity: 0;
}
.category-slider-wrapper.hide-right-blur::after {
  opacity: 0;
}

[dir=rtl] .slick-next:before {
  content: "\f104" !important;
}

[dir=rtl] .slick-prev:before {
  content: "\f105" !important;
}

.category-slider {
  margin: 0 auto;
  padding: 10px 0;
}
.category-slider .slick-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.category-slider .slick-next.slick-disabled:before,
.category-slider .slick-prev.slick-disabled:before {
  opacity: 1 !important;
}

.category-pill {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: white;
  font-weight: 500;
  white-space: nowrap;
  margin: 0 5px;
  transition: background 0.3s;
  cursor: pointer;
  color: #222;
  text-align: center;
}
.category-pill:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: black;
}
.category-pill.active {
  border-color: black;
}

.visibility-hidden {
  visibility: hidden !important;
}

.col-5th {
  flex: 0 0 20%;
  max-width: 20%;
  box-sizing: border-box;
  display: flex;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: white;
  padding: 0 1px;
}
@media (max-width: 768px) {
  .col-5th {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 480px) {
  .col-5th {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.btn-primary {
  background: #871e3d;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  border-radius: 0;
}
.btn-primary:hover {
  background: #5d142a;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn-primary:focus {
  background: #871e3d;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn-primary:disabled {
  background: #888888;
  color: #ffffff;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-loadmore {
  border-radius: 999999px;
  min-width: 200px;
  padding: 19px 0;
  line-height: 1;
}

.product-card {
  width: 100%;
  transition: all 0.3s ease;
  padding: 9px;
  border-radius: 4px;
  cursor: pointer;
}
.product-card:hover {
  animation: cardAnimation 0.3s both;
  position: relative;
  z-index: 999;
}
.product-card .img-wrapper {
  position: relative;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.2s infinite;
  overflow: hidden;
  min-height: 260px;
  display: flex;
}
.product-card .img-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  margin: auto;
}
.product-card .img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.03);
  pointer-events: none;
}
.product-card .add-to-cart-btn {
  border-radius: 16px;
  line-height: 1;
  padding: 2px 10px;
  border: 1px solid #000;
}
.product-card .add-to-cart-btn i {
  font-size: 24px;
  color: #000;
  line-height: 23px;
}
.product-card .add-to-cart-btn:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.product-card .add-to-cart-btn:hover i {
  scale: 1.1;
  transition: all 0.3s ease;
  color: #871e3d;
}
@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.product-card .inner {
  padding: 5px;
}
.product-card h5 {
  color: #777;
  display: block;
  font-size: 13px;
  font-weight: inherit;
  line-height: 20px;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.product-card .price {
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  color: black;
  margin-top: 4px;
}
.product-card .price .amount {
  font-size: 18px;
}
.product-card .product-tag .tag {
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
  margin-top: 5px;
}
.product-card .product-tag .tag.new {
  color: #0a8800;
}
.product-card .product-tag .tag.hot {
  color: #fb7701;
}
.product-card .product-tag .tag span {
  color: #777;
}

@keyframes cardAnimation {
  0% {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.1);
  }
}
.skeleton-card {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  padding: 9px;
  position: relative;
}
.skeleton-card .skeleton-image {
  width: 100%;
  height: 260px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.2s infinite;
}
.skeleton-card .skeleton-text {
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.2s infinite;
  margin-top: 10px;
}
.skeleton-card .skeleton-text.title {
  width: 80%;
  height: 20px;
}
.skeleton-card .skeleton-text.price {
  width: 50%;
  height: 16px;
}
.skeleton-card .skeleton-tag {
  margin-top: 8px;
  width: 40%;
  height: 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.2s infinite;
}

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