#header .search-widget .search_button:hover {
 background-image: url(../img/codezeel/search.svg);
 transition: none;
}

/* ===== HOMEPAGE SWIPER SLIDER ===== */
.custom-slider-container {
  margin-bottom: 30px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

#home-swiper {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden !important;
  max-width: 100%;
}

#home-swiper.swiper {
  overflow: hidden !important;
}

#home-swiper .swiper-wrapper {
  height: 100%;
  display: flex !important;
  position: relative !important;
  width: 100% !important;
  transition-property: transform !important;
  box-sizing: content-box !important;
}

#home-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  height: 100%;
  flex-shrink: 0;
  width: 100% !important;
  flex-shrink: 0 !important;
}

#home-swiper .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

#home-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Slide Content Overlay */
#home-swiper .slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
  width: 90%;
  max-width: 800px;
  pointer-events: none;
}

#home-swiper .slide-content h2 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
  animation: slideInDown 0.8s ease-out;
}

#home-swiper .slide-content p {
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 30px 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  animation: slideInUp 0.8s ease-out 0.2s both;
}

#home-swiper .slide-content .slide-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(3px);
  color: #282828;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.8s ease-out 0.4s both;
}

#home-swiper .slide-content .slide-btn:hover {
  background-color: #282828;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Dark overlay for better text readability */
#home-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

/* Animations */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation arrows */
#home-swiper .swiper-button-next,
#home-swiper .swiper-button-prev {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #ffffff !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  margin-top: 0 !important;
}

#home-swiper .swiper-button-prev {
  left: 20px !important;
  right: auto !important;
}

#home-swiper .swiper-button-next {
  right: 20px !important;
  left: auto !important;
}

#home-swiper .swiper-button-next:hover,
#home-swiper .swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.8) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

#home-swiper .swiper-button-next::after {
  content: "›" !important;
  font-size: 40px !important;
  font-weight: 300 !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

#home-swiper .swiper-button-prev::after {
  content: "‹" !important;
  font-size: 40px !important;
  font-weight: 300 !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

/* Pagination dots */
#home-swiper .swiper-pagination {
  bottom: 20px !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

#home-swiper .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: #ffffff !important;
  opacity: 0.7 !important;
  transition: all 0.3s ease;
  display: inline-block !important;
  margin: 0 4px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
}

#home-swiper .swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: #ffffff !important;
  transform: scale(1.3);
}

/* Desktop - Ensure arrows are visible */
@media (min-width: 768px) {
  #home-swiper .swiper-button-next,
  #home-swiper .swiper-button-prev {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 991px) {
  #home-swiper {
    height: 600px;
  }

  #home-swiper .swiper-button-next,
  #home-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    display: flex !important;
  }

  #home-swiper .swiper-button-next::after,
  #home-swiper .swiper-button-prev::after {
    font-size: 18px;
  }
}

/* Mobile styles */
@media (max-width: 767px) {
  .custom-slider-container {
    margin-bottom: 20px;
  }

  #home-swiper {
    height: 600px;
  }

  #home-swiper .swiper-button-next,
  #home-swiper .swiper-button-prev {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #home-swiper .swiper-button-next::after,
  #home-swiper .swiper-button-prev::after {
    font-size: 16px !important;
  }

  #home-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  #home-swiper .slide-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  #home-swiper .slide-content p {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 50px;
  }

  #home-swiper .slide-content .slide-btn {
    padding: 12px 30px;
    font-size: 14px;
    margin-top: 170px;
  }
}

@media (max-width: 575px) {
  #home-swiper {
    height: 500px;
  }

  #home-swiper .swiper-button-next,
  #home-swiper .swiper-button-prev {
    width: 30px;
    height: 30px;
    display: none; /* Hide arrows on very small screens */
  }

  #home-swiper .swiper-pagination {
    bottom: 15px;
  }

  #home-swiper .slide-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  #home-swiper .slide-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  #home-swiper .slide-content .slide-btn {
    padding: 10px 25px;
    font-size: 13px;
  }
}

/* Hide the old theme slider */
.czhomeslider {
  display: none !important;
}

/* ===== END SWIPER SLIDER ===== */

.images-container .js-qv-mask .thumb-container .thumb {
  width: 100%;
}

.products .thumbnail-container,
.blockreassurance_product div {
  border-radius: 4px;
}

.products .product_list li.item .product-title:hover,
.products .product_list li.item .product-title a:hover,
.products .product_list li.product_item .product-title:hover,
.products .product_list li.product_item .product-title a:hover {
  color: rgb(40, 40, 40);
}

.products .product-title a {
  font-size: 16px;
  font-weight: 500;
}

.products .product-price-and-shipping .price {
  font-weight: 400;
}

.owl-wrapper-outer {
  overflow: hidden;
}

.owl-carousel .owl-wrapper {
  display: flex !important;
}

.images-container .js-qv-mask {
  margin: 0;
}

#product-availability .product-last-items,
.product-availability .product-last-items {
  border: 1px solid;
  background-color: initial;
  color: rgb(40, 40, 40);
}

.btn,
.form-control,
.products-sort-order .select-title,
#product-availability .product-last-items,
.product-availability .product-last-items {
  border-radius: 4px;
}

.label {
  margin: 0;
}

#footer {
  background: rgb(40, 40, 40);
}

.productpage_title {
  color: rgb(40, 40, 40);
  font-size: 22px;
  font-weight: 500;
}

@media (max-width: 767px) {
  #product .page-content .product-leftside {
    max-width: 100%;
  }
}

@media (max-width: 575px) and (min-width: 320px) {
  .products .product_list li.product_item {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .products .product_list li .thumbnail-container {
    max-width: 100%;
  }

  #products .product-miniature,
  .products .product-miniature {
    max-width: 100%;
  }

  #products .products li.product_item .thumbnail-container {
    max-width: 100%;
  }

  .products .product-title a {
    font-size: 18px;
  }

  #czbannercmsblock .cmsbanners .one-third .cmsbanner .cmsbanner-detail {
    color: #c3c3c3;
  }

  #czbannercmsblock .cmsbanners .one-third .cmsbanner {
    display: flex;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(77, 77, 77, 1) 100%
    );
    border-radius: 8px;
  }

  #czbannercmsblock .cmsbanners .cmsbanner a.banner-anchor {
    height: 100px;
    border-radius: 8px;
  }

  #czbannercmsblock .cmsbanners .cmsbanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #czbannercmsblock
    .cmsbanners
    .one-third
    .cmsbanner
    .cmsbanner-detail
    .main-title {
    padding: 0;
  }
}
