.equal-height {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.img-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}
.product-single-item-style-1 .content .top .title a {
  font-size: 16px !important;
  line-height: 2.2rem;
}

.wrapper-hero-slider {
  height: 100vh;
}

@media (max-width: 768px) {
  .wrapper-hero-slider {
    height: 40vh;
  }
}
.bg-thumbnail-category-hero {
  background-color: #a8dadc9e;
  z-index: 4;
  display: block;
  overflow: hidden;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
}

.heading-hero-thumbnail-category {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  color: white;
  font-weight: bold;
  font-size: 24px;
}
.height-for-equal {
  height: 280px;
}

.div-title-card-product {
  height: 110px;
}

.div-card-image-product {
  height: 280px;
}
.div-card-image-product img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Mega Menu Styles */
.mega-menu-trigger {
  position: relative;
}

/* .mega-menu-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    overflow-y: auto;
} */
/* 


.mega-menu-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mega-menu-category {
    padding: 15px;
}

.mega-menu-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 8px;
}

.mega-menu-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.mega-menu-list a:hover {
    color: #000;
}
 */

.bg-primary-new-design {
  background-color: #80bb01;
}
.bg-primary-new-design a {
  color: white;
}

.hover-primary-color:hover {
  background-color: #80bb01;
  color: white;
}
.hover-primary-color:hover a {
  color: white;
}
.hover-primary-color-text:hover {
  color: #80bb01 !important;
}
.social-icon-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 4px;
  border-radius: 3px;

  background: rgba(255, 255, 255, 0.12);
  /* transition: background 0.2s; */
}
.social-icon-glass:hover {
  background: #80bb01;
}

.social-icon-glass svg {
  display: block;
}
.border-primary-footer-heading {
  border-bottom: 3px solid #80bb01;
}
.company-slider .owl-carousel .owl-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px; /* ارتفاع دلخواه برای کل آیتم */
}

.company-slider .owl-carousel .owl-item img {
  height: 60px; /* ارتفاع ثابت برای همه لوگوها */
  width: auto; /* عرض متناسب */
  object-fit: contain;
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
}

.mega-menu-container {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  transform: none;
  box-sizing: border-box;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  display: none;
  z-index: 1000;

  /* Keep intended width while allowing content to define height */
  width: min(calc(100vw - 24px), 1200px);
  height: auto;
  max-height: 75vh; /* prevent overflow beyond viewport */
  overflow-y: auto; /* scroll when content is taller */
}
.mega-menu-trigger:hover .mega-menu-container {
  display: block;
}

.first-level-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.first-level-item {
  border-bottom: 1px solid #f0f0f0;
}

.first-level-item:last-child {
  border-bottom: none;
}

.first-level-item a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.first-level-item:hover,
.first-level-item.active {
  background-color: #f8f9fa;
}

.first-level-item:hover a,
.first-level-item.active a {
  color: #80bb01 !important;
  background-color: #f8f9fa;
}

.submenu-content {
  display: none;
}

.submenu-content.active {
  display: block;
}

.submenu-title {
  font-size: 16px;
  color: #333;
}

.submenu-title a {
  text-decoration: none;
  color: #333;
}

.submenu-title a:hover {
  color: #80bb01;
}

.third-level-list a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.third-level-list a:hover {
  color: #80bb01;
}

.mega-menu-trigger:hover .mega-menu-container {
  display: block;
}

.border-left {
  border-left: 1px solid #e0e0e0;
}

.product-category-header {
  background-image: url("/sakoo-edit/images/banner-shop.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 40px;
  margin-top: -20px;
}

.product-category-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
}

.category-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #000;
}

.category-header-content h1 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000;
}

/* Custom Breadcrumb Styles */
.category-header-content .custom-breadcrumb {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-header-content .custom-breadcrumb-item {
  display: flex;
  align-items: center;
}

.category-header-content .custom-breadcrumb-item a {
  color: #1d3557;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.category-header-content .custom-breadcrumb-item a:hover {
  color: #000;
}

.category-header-content .custom-breadcrumb-item.active {
  color: #000;
  font-size: 0.9rem;
}

/* Custom breadcrumb separator */
.category-header-content .breadcrumb-separator {
  color: #1d3557;
  margin: 0 8px;
  font-size: 14px;
}

.sibling-categories {
  margin-top: 25px;
}

.sibling-categories h6 {
  color: #1d3557;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.category-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.category-links a {
  color: #1d3557;
  text-decoration: none;
  background: rgba(29, 53, 87, 0.1);
  padding: 6px 12px;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(29, 53, 87, 0.2);
  font-size: 0.85rem;
}

.category-links a:hover {
  background: rgba(29, 53, 87, 0.2);
  transform: translateY(-2px);
}

.category-links span {
  color: #1d3557;
  align-self: center;
}

/* Medium devices (tablets) */
@media (max-width: 992px) and (min-width: 769px) {
  .category-header-content h1 {
    font-size: 1.6rem;
  }

  .sibling-categories h6 {
    font-size: 0.9rem;
  }

  .category-links a {
    font-size: 0.8rem;
    padding: 6px 11px;
  }
}
.image-div-single-product {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  margin-right: auto;
  margin-left: auto;
}
.image-div-single-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Small devices (phones and small tablets) */
@media (max-width: 768px) {
  .product-category-header {
    min-height: 220px;
    margin-top: -10px;
    margin-bottom: 25px;
  }
  .image-div-single-product {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
  }
  .category-header-content h1 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .sibling-categories h6 {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .category-links {
    gap: 8px;
  }

  .category-links a {
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 12px;
  }

  .category-header-content .custom-breadcrumb-item a,
  .category-header-content .custom-breadcrumb-item.active {
    font-size: 0.8rem;
  }

  .category-header-content .custom-breadcrumb {
    flex-wrap: wrap;
  }

  .category-header-content .breadcrumb-separator {
    margin: 0 4px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .product-category-header {
    min-height: 180px;
  }

  .category-header-content h1 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .sibling-categories h6 {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .category-links {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .category-links a {
    padding: 4px 8px;
    font-size: 0.7rem;
    border-radius: 10px;
  }

  .category-links span {
    display: none;
  }

  .category-header-content .custom-breadcrumb-item a,
  .category-header-content .custom-breadcrumb-item.active {
    font-size: 0.75rem;
  }

  .category-header-content .breadcrumb-separator {
    margin: 0 3px;
    font-size: 0.7rem;
  }
}

.mt-from-header-single-product {
  margin-top: 20px;
}

/* ===== CUSTOM COLOR SYSTEM - #61CE70 ===== */

/* Primary Color Classes */
.bg-primary-custom {
  background-color: #61ce70 !important;
}

.bg-primary-custom-light {
  background-color: #7dd88a !important;
}

.bg-primary-custom-dark {
  background-color: #4fb85e !important;
}

.bg-primary-custom-10 {
  background-color: rgba(97, 206, 112, 0.1) !important;
}

.bg-primary-custom-20 {
  background-color: rgba(97, 206, 112, 0.2) !important;
}

.bg-primary-custom-30 {
  background-color: rgba(97, 206, 112, 0.3) !important;
}

/* Text Color Classes */
.text-primary-custom {
  color: #61ce70 !important;
}

.text-primary-custom-light {
  color: #7dd88a !important;
}

.text-primary-custom-dark {
  color: #4fb85e !important;
}

.text-primary-custom-white {
  color: #ffffff !important;
}

/* Border Color Classes */
.border-primary-custom {
  border-color: #61ce70 !important;
}

.border-primary-custom-light {
  border-color: #7dd88a !important;
}

.border-primary-custom-dark {
  border-color: #4fb85e !important;
}

.border-primary-custom-10 {
  border-color: rgba(97, 206, 112, 0.1) !important;
}

.border-primary-custom-20 {
  border-color: rgba(97, 206, 112, 0.2) !important;
}

/* Button Classes */
.btn-primary-custom {
  background-color: #61ce70 !important;
  border-color: #61ce70 !important;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #4fb85e !important;
  border-color: #4fb85e !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 206, 112, 0.3);
}

.btn-primary-custom:active {
  background-color: #3da54d !important;
  border-color: #3da54d !important;
  transform: translateY(0);
}

.btn-primary-custom-outline {
  background-color: transparent !important;
  border: 2px solid #61ce70 !important;
  color: #61ce70 !important;
  transition: all 0.3s ease;
}

.btn-primary-custom-outline:hover {
  background-color: #61ce70 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 206, 112, 0.3);
}

/* Hover Effects */
.hover-bg-primary-custom:hover {
  background-color: #61ce70 !important;
  color: #ffffff !important;
}

.hover-bg-primary-custom-light:hover {
  background-color: #7dd88a !important;
  color: #ffffff !important;
}

.hover-bg-primary-custom-dark:hover {
  background-color: #4fb85e !important;
  color: #ffffff !important;
}

.hover-text-primary-custom:hover {
  color: #61ce70 !important;
}

.hover-border-primary-custom:hover {
  border-color: #61ce70 !important;
}

/* Background Hover with Opacity */
.hover-bg-primary-custom-10:hover {
  background-color: rgba(97, 206, 112, 0.1) !important;
}

.hover-bg-primary-custom-20:hover {
  background-color: rgba(97, 206, 112, 0.2) !important;
}

.hover-bg-primary-custom-30:hover {
  background-color: rgba(97, 206, 112, 0.3) !important;
}

/* Card Classes */
.card-primary-custom {
  border: 1px solid rgba(97, 206, 112, 0.2);
  transition: all 0.3s ease;
}

.card-primary-custom:hover {
  border-color: #61ce70;
  box-shadow: 0 8px 25px rgba(97, 206, 112, 0.15);
  transform: translateY(-3px);
}

/* Badge Classes */
.badge-primary-custom {
  background-color: #61ce70;
  color: #ffffff;
  font-weight: 600;
}

.badge-primary-custom-outline {
  background-color: transparent;
  border: 1px solid #61ce70;
  color: #61ce70;
  font-weight: 600;
}

/* Link Classes */
.link-primary-custom {
  color: #61ce70;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-primary-custom:hover {
  color: #4fb85e;
  text-decoration: underline;
}

/* Input Focus Classes */
.input-primary-custom:focus {
  border-color: #61ce70 !important;
  box-shadow: 0 0 0 0.2rem rgba(97, 206, 112, 0.25) !important;
}

/* Progress Bar */
.progress-bar-primary-custom {
  background-color: #61ce70;
}

/* Alert Classes */
.alert-primary-custom {
  background-color: rgba(97, 206, 112, 0.1);
  border: 1px solid rgba(97, 206, 112, 0.3);
  color: #4fb85e;
}

/* Gradient Classes */
.gradient-primary-custom {
  background: linear-gradient(135deg, #61ce70 0%, #7dd88a 100%);
}

.gradient-primary-custom-reverse {
  background: linear-gradient(135deg, #7dd88a 0%, #61ce70 100%);
}

.gradient-primary-custom-vertical {
  background: linear-gradient(180deg, #61ce70 0%, #4fb85e 100%);
}

/* Shadow Classes */
.shadow-primary-custom {
  box-shadow: 0 4px 12px rgba(97, 206, 112, 0.3);
}

.shadow-primary-custom-lg {
  box-shadow: 0 8px 25px rgba(97, 206, 112, 0.25);
}

.shadow-primary-custom-xl {
  box-shadow: 0 12px 40px rgba(97, 206, 112, 0.2);
}

/* Animation Classes */
.pulse-primary-custom {
  animation: pulse-primary 2s infinite;
}

@keyframes pulse-primary {
  0% {
    box-shadow: 0 0 0 0 rgba(97, 206, 112, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(97, 206, 112, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(97, 206, 112, 0);
  }
}

/* Utility Classes */
.bg-success-custom {
  background-color: #61ce70 !important;
}

.text-success-custom {
  color: #61ce70 !important;
}

.border-success-custom {
  border-color: #61ce70 !important;
}

/* Responsive Text Colors */
@media (max-width: 768px) {
  .text-primary-custom-mobile {
    color: #61ce70 !important;
  }

  .bg-primary-custom-mobile {
    background-color: #61ce70 !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .dark-mode-primary-custom {
    background-color: #4fb85e !important;
    color: #ffffff !important;
  }

  .dark-mode-text-primary-custom {
    color: #7dd88a !important;
  }
}

/* ===== PRODUCT PAGE SPECIFIC STYLES ===== */

/* Rating Stars CSS */
.rating-stars {
  display: inline-block;
  direction: ltr;
}

.rating-stars input {
  display: none;
}

.rating-stars label {
  float: left;
  padding: 0 2px;
  font-size: 20px;
  color: #ddd;
  cursor: pointer;
}

.rating-stars label:before {
  content: "★";
}

.rating-stars input:checked ~ label {
  color: #ffd700;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label {
  color: #ffd700;
}

.rating-display {
  color: #ffd700;
  font-size: 18px;
}

.rating-text {
  margin-right: 10px;
  font-weight: bold;
}

/* Shipping Info Styles */
.shipping-info {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
}

.shipping-method {
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 15px;
  margin: 10px 0;
  background: white;
}

.shipping-method h5 {
  color: #1d3557;
  margin-bottom: 8px;
}

.shipping-method p {
  color: #6c757d;
  margin-bottom: 5px;
}

.shipping-cost {
  font-weight: bold;
  color: #e76f51;
}

/* Quantity Input Styles */
.quantity-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.quantity-input {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: white;
}

.quantity-btn {
  background: transparent;
  color: #333;
  border: none;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 45px;
}

.quantity-btn:hover {
  background: #f5f5f5;
  color: #000;
}

.quantity-btn:active {
  background: #e9e9e9;
}

.quantity-field {
  border: none;
  text-align: center;
  padding: 12px 8px;
  font-size: 16px;
  font-weight: bold;
  width: 60px;
  background: white;
  color: #333;
}

.quantity-field:focus {
  outline: none;
}

/* Add to Cart Button Styles */
.add-to-cart-btn {
  background: #333 !important;
  color: white !important;
  border: none !important;
  padding: 15px 25px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}

.add-to-cart-btn:hover {
  background: #61ce70 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(97, 206, 112, 0.3) !important;
}

.add-to-cart-btn:active {
  background: #4fb85e !important;
  transform: translateY(0) !important;
}

.add-to-cart-btn svg {
  width: 20px !important;
  height: 20px !important;
}

/* Add to Wishlist Button Styles */
.add-to-wishlist-btn {
  background: #333 !important;
  color: white !important;
  border: none !important;
  padding: 15px 25px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.add-to-wishlist-btn:hover {
  background: #61ce70 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(97, 206, 112, 0.3) !important;
}

.add-to-wishlist-btn:active {
  background: #222 !important;
  transform: translateY(0) !important;
}





<style>
.category-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.category-links a:hover {
    color: #80bb01;
}

.category-links .category-separator {
    color: #ddd;
    font-size: 1.2rem;
}

.category-icon {
    width: 32px;
    height: 32px;
    margin-left: 10px;
    object-fit: contain;
}

.shop-top-bar {
    border: 1px solid #e3e6ea;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    background: #fff;
}

.shop-top-bar .result-count p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.shop-top-bar .sort-by {
    display: flex;
    align-items: center;
}

.shop-top-bar .sort-by .form-label {
    color: #333;
    font-size: 14px;
}

.shop-top-bar .sort-by .form-select {
    border: 1px solid #e3e6ea;
    border-radius: 4px;
    padding: 8px 12px;
    background-color: #fff;
    color: #555;
    cursor: pointer;
    min-width: 150px;
    background-position: left .75rem center;
    padding-left: 2rem;
    padding-right: 12px;
    text-align: right;
    direction: rtl;
}

.shop-top-bar .sort-by .form-select:focus {
    outline: none;
    border-color: #80bb01;
    box-shadow: 0 0 0 2px rgba(128, 187, 1, 0.2);
}

/* RTL: place select caret on the left side and fix padding */
[dir="rtl"] .shop-top-bar .sort-by .form-select {
    background-position: left .75rem center;
    padding-left: 2rem;
    padding-right: 12px;
}

input[type="range"] {
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 400px;
    margin: 0;
    padding: 0 2px;
    overflow: hidden;
    border: 0;
    border-radius: 1px;
    outline: none;
    background: linear-gradient(grey, grey) no-repeat center;
    background-size: 100% 2px;
    pointer-events: none;
}

input[type="range"]:active,
input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 28px;
    width: 28px;
    border-radius: 28px;
    background-color: #fff;
    position: relative;
    margin: 5px 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: all;
    box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);
}

input[type="range"]::-webkit-slider-thumb::before {
    content: " ";
    display: block;
    position: absolute;
    top: 13px;
    left: 100%;
    width: 2000px;
    height: 2px;
}

.multi-range {
    position: relative;
    height: 50px;
}

.multi-range input[type="range"] {
    position: absolute;
    width: 280px;
}

.multi-range input[type="range"]:nth-child(1)::-webkit-slider-thumb::before {
    background-color: red;
}

.multi-range input[type="range"]:nth-child(2) {
    background: none;
}

.multi-range input[type="range"]:nth-child(2)::-webkit-slider-thumb::before {
    background-color: grey;
}

/* Categories Styling */
.categories-list {
    max-height: 400px;
    overflow-y: auto;
}

.category-item {
    border-bottom: 1px solid #f0f0f0;
}

.category-item.active>.category-header .category-info a {
    color: #80bb01 !important;
    font-weight: 600;
}

.category-item.active {
    background: #f7fbf1;
    border-radius: 4px;
}

.category-item:last-child {
    border-bottom: none;
}

.category-header:hover {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
    padding-left: 8px;
    padding-right: 8px;
}

.category-toggle {
    font-weight: bold;
    user-select: none;
    transition: transform 0.3s ease;
    width: 18px;
    text-align: center;
    display: inline-block;
}

.category-toggle:hover {
    color: #6ba824 !important;
}

.category-info a:hover {
    color: #80bb01 !important;
    transition: color 0.3s ease;
}

.product-count {
    font-weight: 500;
}

.sub-categories {
    border-right: 2px solid #e9ecef;
    animation: slideDown 0.3s ease-out;
    margin: 0 16px;
    padding: 0 8px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 500px;
    }
}

.categories-list::-webkit-scrollbar {
    width: 4px;
}

.categories-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.categories-list::-webkit-scrollbar-thumb {
    background: #80bb01;
    border-radius: 4px;
}

.categories-list::-webkit-scrollbar-thumb:hover {
    background: #6ba824;
}

/* Boxed sections border */
.boxed-section {
    border: 1px solid #e3e6ea;
    border-radius: 6px;
    padding: 12px 10px 2px 10px;
    margin-bottom: 16px;
    background: #fff;
}

/* RTL specific styles */
[dir="rtl"] .category-info {
    text-align: right;
}

[dir="rtl"] .category-toggle {
    order: 2;
    margin-left: 18px;
    margin-right: 0;
}

[dir="rtl"] .category-info a {
    order: 1;
}

[dir="rtl"] .sub-categories {
    border-left: none;
    border-right: 2px solid #e9ecef;
    margin: 0 16px;
    padding: 0 8px;
}

/* برای RTL flex direction عوض نکنیم چون می‌خواهیم toggle سمت راست باشد */
[dir="rtl"] .category-header .category-info {
    flex-direction: row;
}

[dir="rtl"] .product-count {
    order: 0;
}

/* تصحیح فاصله‌ها برای RTL */
[dir="rtl"] .sidebar-title span {
    margin-right: 0;
    margin-left: 8px;
}

/* Properties Filter Styles */
.property-category-filter {
    margin-bottom: 15px;
}

.property-category-header {
    transition: background-color 0.3s ease;
}

.property-category-header:hover {
    background-color: #e9ecef !important;
}

.property-toggle {
    font-weight: bold;
    user-select: none;
    transition: transform 0.3s ease;
    width: 16px;
    text-align: center;
    display: inline-block;
}

.property-category-content {
    border-top: 1px solid #e9ecef;
    background-color: #fdfdfd;
}

.property-filter {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 8px;
}

.property-filter:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.property-title {
    color: #333;
    border-right: 3px solid #80bb01;
    padding-right: 8px;
}

.property-values {
    max-height: 200px;
    overflow-y: auto;
}

.property-values::-webkit-scrollbar {
    width: 3px;
}

.property-values::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.property-values::-webkit-scrollbar-thumb {
    background: #80bb01;
    border-radius: 3px;
}

.property-values label {
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.property-values label:hover {
    color: #80bb01;
}

.property-values input[type="checkbox"] {
    accent-color: #80bb01;
}

/* RTL for property filters */
[dir="rtl"] .property-title {
    border-left: 3px solid #80bb01;
    border-right: none;
    padding-left: 8px;
    padding-right: 0;
}

[dir="rtl"] .property-values {
    margin-left: 15px;
    margin-right: 0;
}

/* Loading spinner with primary color */
.spinner-border.text-primary {
    color: #80bb01 !important;
    border-color: #80bb01;
    border-right-color: transparent;
}
</style>