/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.0.1.1754679149
Updated: 2025-08-08 20:52:29

*/

.category-products-carousel-wrapper {
  background-color: var(--color-grayscale);
  padding: 60px 0;
}

.carousel-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 45px;
  font-weight: 500;
  font-family: "Quiche Sans";
  color: black;
}

.carousel-container {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 50px;
}

.carousel-track-wrapper {
  overflow: hidden;
  margin: 0 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  gap: 20px;
}

.carousel-item {
  flex: 0 0 calc(33.333% - 14px); /* 3 items per view on tablet */
  min-width: 0;
}

.product-card {
  border-radius: 8px;
  padding: 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image-link {
  position: relative;
  display: block;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 21px;
  margin-top: auto;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4444;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

.product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 30px;
  margin-bottom: 10px;
  line-height: 1.4;
  text-align: center;
}

.product-title a {
  color: #000000;
  font-weight: 400;
  font-size: 30px;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a:hover {
  color: var(--color-blue) !important;
}

.product-rating {
  margin-bottom: 10px;
}

.product-rating .star-rating {
  font-size: 14px;
}

.product-price {
  font-size: 18px;
  font-weight: 600;
  color: #0073aa;
  margin-bottom: 15px;
  margin-top: auto;
}

.product-price del {
  color: #999;
  font-size: 14px;
  margin-right: 5px;
}

.product-price ins {
  text-decoration: none;
}

.product-action .button {
  width: 100%;
  text-align: center;
  padding: 10px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 14px;
  font-weight: 600;
}

.product-action .button:hover {
  background: #005a87;
}

/* Carousel navigation buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent !important;
}

.carousel-btn:hover {
  background: transparent !important;
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.carousel-btn svg {
  width: 40px;
  height: 40px;
  color: var(--color-blue);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* Dots indicator */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #0073aa;
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(50% - 10px); /* 2 items per view on mobile */
  }

  .carousel-container {
    padding: 0 40px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 100%; /* 1 item per view on small mobile */
  }

  .carousel-title {
    font-size: 22px;
  }
}

.section-text.section-text-container {
  display: flex;
  flex-direction: column;
  column-gap: 20px;
  background-color: var(--color-grayscale);
}

.section-text .section-text-title {
  box-sizing: border-box;
  color: black;
  display: block;
  font-family: "Quiche Sans", sans-serif;
  font-size: 45px;
  font-weight: 500;
  margin-block-end: 0px;
  margin-block-start: 0px;
  margin-bottom: 0px;
  margin-inline-end: 0px;
  margin-inline-start: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  text-align: center;
  text-size-adjust: 100%;
  unicode-bidi: isolate;
  -webkit-font-smoothing: antialiased;
}

.section-text .section-text-img-container {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  text-align: center;
  width: 100%;
}

@media (max-width: 768px) {
  .section-text.section-text-container {
    padding: 0 16px 24px;
  }

  .section-text .section-text-title {
    font-size: 28px;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .section-text .section-text-title {
    font-size: 24px;
  }
}
