/*===================================================================================*/
/*  PRODUCT TAGS SECTION
/*===================================================================================*/
.product-tags {
  background-color: #f8f9fa;
  padding: 40px 0;
}

.product-tags .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.product-tags .section-title h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-transform: uppercase;
}

.product-tag-list {
  text-align: center;
}

.product-tag-list .tag-item {
  display: inline-block;
  background-color: #fff;
  color: #666;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.product-tag-list .tag-item:hover {
  background-color: #108bea;
  color: #fff;
  border-color: #108bea;
  text-decoration: none;
}

/*===================================================================================*/
/*  FEATURED CATEGORIES SECTION
/*===================================================================================*/
.featured-categories {
  display: block !important;
  visibility: visible !important;
  margin: 30px 0;
  padding: 20px 0;
}

.featured-categories .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.featured-categories .row {
  margin: 0 -15px;
}

.featured-categories .col-xs-12,
.featured-categories .col-sm-6,
.featured-categories .col-md-3 {
  padding: 0 15px;
  margin-bottom: 30px;
}

.featured-categories .category-item {
  text-align: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.featured-categories .category-item:hover {
  transform: translateY(-5px);
}

.featured-categories .category-item .image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

.featured-categories .category-item .image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.featured-categories .category-item:hover .image img {
  transform: scale(1.1);
}

.featured-categories .category-item .category-info h3.name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.featured-categories .category-item .category-info h3.name a {
  color: #333;
  text-decoration: none;
}

.featured-categories .category-item .category-info h3.name a:hover {
  color: #108bea;
}

.featured-categories .category-item .category-info .description {
  color: #666;
  font-size: 13px;
  margin: 0;
}

/*===================================================================================*/
/*  HOME SECTIONS GENERAL STYLES
/*===================================================================================*/
.outer-top-vs {
  padding-top: 30px;
}

.outer-bottom-vs {
  padding-bottom: 30px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
}

.section-title h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #108bea;
}

/*===================================================================================*/
/*  SINGLE PRODUCT PAGE IMPROVEMENTS
/*===================================================================================*/
.single-product .product-detail {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.single-product .product-gallery {
  position: relative;
}

.single-product .product-summary {
  padding-left: 30px;
}

.single-product .product-summary .product_title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.single-product .product-summary .price {
  font-size: 20px;
  color: #108bea;
  font-weight: 600;
  margin-bottom: 20px;
}

.single-product
  .product-summary
  .woocommerce-product-details__short-description {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
}

.single-product .product-summary .cart {
  margin-bottom: 20px;
}

.single-product .product-summary .cart .quantity {
  margin-right: 15px;
}

.single-product .product-summary .cart .single_add_to_cart_button {
  background-color: #108bea;
  border-color: #108bea;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 5px;
}

.single-product .product-summary .cart .single_add_to_cart_button:hover {
  background-color: #0a6bb8;
  border-color: #0a6bb8;
}

/*===================================================================================*/
/*  PRODUCT ARCHIVE PAGE IMPROVEMENTS
/*===================================================================================*/
.woocommerce-products-header {
  background-color: #f8f9fa;
  padding: 30px 0;
  margin-bottom: 30px;
}

.woocommerce-products-header__title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-align: center;
}

.woocommerce-products-header .woocommerce-products-header__description {
  text-align: center;
  color: #666;
  margin-top: 10px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.woocommerce ul.products li.product .product-image {
  position: relative;
  overflow: hidden;
}

.woocommerce ul.products li.product .product-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover .product-image img {
  transform: scale(1.1);
}

.woocommerce ul.products li.product .product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover .product-actions {
  opacity: 1;
}

.woocommerce ul.products li.product .product-actions a {
  width: 35px;
  height: 35px;
  background-color: #fff;
  color: #666;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.woocommerce ul.products li.product .product-actions a:hover {
  background-color: #108bea;
  color: #fff;
}

.woocommerce ul.products li.product .sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ff4444;
  color: #fff;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.woocommerce ul.products li.product .product-info {
  padding: 20px;
}

.woocommerce ul.products li.product .product-info .product-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.woocommerce ul.products li.product .product-info .product-title a {
  color: #333;
  text-decoration: none;
}

.woocommerce ul.products li.product .product-info .product-title a:hover {
  color: #108bea;
}

.woocommerce ul.products li.product .product-info .product-price {
  font-size: 18px;
  color: #108bea;
  font-weight: 600;
  margin-bottom: 10px;
}

.woocommerce ul.products li.product .product-info .product-price del {
  color: #999;
  font-size: 14px;
  margin-right: 10px;
}

.woocommerce ul.products li.product .product-info .product-rating {
  margin-bottom: 15px;
}

.woocommerce ul.products li.product .product-actions-bottom {
  padding: 0 20px 20px;
}

/*===================================================================================*/
/*  HOT DEALS SECTION IMPROVEMENTS
/*===================================================================================*/

.hot-deals .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.hot-deals .hot-deal-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.hot-deals .hot-deal-wrapper .image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.hot-deals .sale-offer-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff4444;
  color: #fff;
  padding: 8px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.hot-deals .timing-wrapper {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  justify-content: center;
}

.hot-deals .timing-wrapper .box-wrapper {
  color: #fff;

  border-radius: 5px;
  text-align: center;
  min-width: 40px;
}

.hot-deals .timing-wrapper .box .key {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.hot-deals .timing-wrapper .box .value {
  display: block;
  font-size: 10px;
  opacity: 0.8;
}

/*===================================================================================*/
/*  FEATURED PRODUCTS SECTION IMPROVEMENTS
/*===================================================================================*/
.featured-products {
  background-color: #fff;
  padding: 40px 0;
}

.featured-products .scroll-tabs {
  margin-bottom: 30px;
}

.featured-products .new-product-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.featured-products .nav-tab-line {
  border-bottom: 2px solid #e0e0e0;
}

.featured-products .nav-tab-line li a {
  color: #666;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  background: none;
}

.featured-products .nav-tab-line li.active a {
  color: #108bea;
  border-bottom: 2px solid #108bea;
}

.featured-products .product {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.featured-products .product:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.featured-products .product .product-image {
  position: relative;
  overflow: hidden;
}

.featured-products .product .product-image .image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.featured-products .product:hover .product-image .image img {
  transform: scale(1.1);
}

.featured-products .product .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.featured-products .product .tag.sale {
  background-color: #ff4444;
}

.featured-products .product .tag.new {
  background-color: #28a745;
}

.featured-products .product .product-info {
  padding: 20px;
}

.featured-products .product .product-info .name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.featured-products .product .product-info .name a {
  color: #333;
  text-decoration: none;
}

.featured-products .product .product-info .name a:hover {
  color: #108bea;
}

.featured-products .product .product-info .product-price {
  font-size: 18px;
  color: #108bea;
  font-weight: 600;
  margin-bottom: 10px;
}

.featured-products
  .product
  .product-info
  .product-price
  .price-before-discount {
  color: #999;
  font-size: 14px;
  margin-right: 10px;
  text-decoration: line-through;
}

.featured-products .product .cart {
  padding: 0 20px 20px;
}

.featured-products .product .cart .action ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 5px;
}

.featured-products .product .cart .action ul li {
  flex: 1;
}

.featured-products .product .cart .action ul li .btn {
  width: 100%;
  border-radius: 5px;
  font-size: 12px;
  padding: 8px 12px;
}

.featured-products .product .cart .action ul li.lnk a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 8px 12px;
  background-color: #f8f9fa;
  color: #666;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.featured-products .product .cart .action ul li.lnk a:hover {
  background-color: #108bea;
  color: #fff;
}

/*===================================================================================*/
/*  NEWSLETTER SECTION IMPROVEMENTS
/*===================================================================================*/
.newsletter-section {
  background-color: #f8f9fa;
  padding: 40px 0;
}

.newsletter-section .section-title {
  text-align: center;
  margin-bottom: 20px;
}

.newsletter-section .section-title h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.newsletter-section .sidebar-widget-body p {
  color: #666;
  text-align: center;
  margin-bottom: 20px;
}

.newsletter-section .newsletter-form .input-group {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-section .newsletter-form .form-control {
  flex: 1;
  border-radius: 4px 0 0 4px;
  border: 1px solid #ddd;
  padding: 12px 15px;
  font-size: 14px;
}

.newsletter-section .newsletter-form .btn {
  border-radius: 0 4px 4px 0;
  border: 1px solid #108bea;
  background: #108bea;
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-section .newsletter-form .btn:hover {
  background: #0a6bb8;
  border-color: #0a6bb8;
}

.newsletter-section .newsletter-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.newsletter-section .newsletter-message.success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.newsletter-section .newsletter-message.error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/*===================================================================================*/
/*  RESPONSIVE IMPROVEMENTS
/*===================================================================================*/
@media (max-width: 767px) {
  .single-product .product-summary {
    padding-left: 0;
    margin-top: 30px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .product-tags .product-tag-list .tag-item {
    margin: 3px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .featured-categories .category-item .image img {
    height: 150px;
  }

  .hot-deals .timing-wrapper {
    flex-wrap: wrap;
    gap: 3px;
  }

  .hot-deals .timing-wrapper .box-wrapper {
    min-width: 35px;
    padding: 3px 6px;
  }

  .featured-products .nav-tab-line li a {
    padding: 8px 12px;
    font-size: 12px;
  }

  .newsletter-section .newsletter-form .input-group {
    flex-direction: column;
    max-width: 300px;
  }

  .newsletter-section .newsletter-form .form-control,
  .newsletter-section .newsletter-form .btn {
    border-radius: 4px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .single-product .product-detail {
    padding: 20px;
  }

  .section-title h3 {
    font-size: 20px;
  }

  .featured-products .new-product-title {
    font-size: 20px;
  }

  .hot-deals .timing-wrapper .box-wrapper {
    min-width: 30px;
    padding: 2px 4px;
  }

  .hot-deals .timing-wrapper .box .key {
    font-size: 12px;
  }

  .hot-deals .timing-wrapper .box .value {
    font-size: 8px;
  }
}

/* Category Icons Styles */

.category-item .category-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.category-item .category-icon i {
  font-size: 18px;
  color: #333;
  transition: color 0.3s ease;
}

.category-item:hover .category-icon {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.category-item:hover .category-icon i {
  color: #0073aa;
}

.category-info .name a i {
  margin-right: 8px;
  font-size: 16px;
  color: #666;
  transition: color 0.3s ease;
}

.category-info .name a:hover i {
  color: #0073aa;
}

/* Category grid with icons */
.featured-categories .category-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
  margin-bottom: 20px;
}

.featured-categories .category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-categories .category-item .image {
  position: relative;
  overflow: hidden;
}

.featured-categories .category-item .image img {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
  display: block;
}

.featured-categories .category-item:hover .image img {
  transform: scale(1.05);
}

/* Category icon in category name */
.category-info .name {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.category-info .name a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.category-info .name a:hover {
  color: #0073aa;
}

/* Category info styling */
.category-info {
  padding: 15px;
}

.category-info .description {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* Responsive category icons */
@media (max-width: 768px) {
  .category-item .category-icon {
    width: 35px;
    height: 35px;
    top: 8px;
    right: 8px;
  }

  .category-item .category-icon i {
    font-size: 16px;
  }

  .category-info .name a i {
    font-size: 14px;
    margin-right: 6px;
  }
}

@media (max-width: 480px) {
  .category-item .category-icon {
    width: 30px;
    height: 30px;
    top: 5px;
    right: 5px;
  }

  .category-item .category-icon i {
    font-size: 14px;
  }

  .category-info .name a i {
    font-size: 12px;
    margin-right: 4px;
  }
}

/* Hero Section Styles */
#hero {
  position: relative;
  margin-bottom: 30px;
}

#hero .item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative;
}

#hero .caption {
  padding: 60px 0;
  color: #fff;
}

#hero .big-text {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

#hero .excerpt {
  font-size: 18px;
  margin-bottom: 30px;
}

#hero .button-holder {
  margin-top: 30px;
}

#hero .shop-now-button {
  font-size: 16px;
  padding: 12px 30px;
  border-radius: 25px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}

#hero .shop-now-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Hero */
@media (max-width: 768px) {
  #hero .big-text {
    font-size: 32px;
  }

  #hero .excerpt {
    font-size: 16px;
  }

  #hero .item {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  #hero .big-text {
    font-size: 24px;
  }

  #hero .excerpt {
    font-size: 14px;
  }

  #hero .item {
    min-height: 250px;
  }
}

/* Fallback hero background */

#hero .caption {
  position: relative;
  z-index: 2;
}

/*===================================================================================*/
/*  SINGLE PRODUCT PAGE LAYOUT FIXES
/*===================================================================================*/

/* Fix for single product page layout */
.single-product .body-content {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.single-product .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.single-product .row.single-product {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.single-product .sidebar {
  padding-right: 15px;
  flex: 0 0 25%;
  max-width: 25%;
}

.single-product .rht-col {
  padding-left: 15px;
  flex: 0 0 75%;
  max-width: 75%;
}

.single-product .detail-block {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.single-product .gallery-holder {
  margin-bottom: 20px;
}

.single-product .product-info-block {
  padding-left: 20px;
}

.single-product .product-info .name {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
}

.single-product .product-info .rating-reviews {
  margin-bottom: 20px;
}

.single-product .product-info .stock-container {
  margin-bottom: 20px;
}

.single-product .product-info .description-container {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #666;
}

.single-product .product-info .price-container {
  margin-bottom: 20px;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.single-product .product-info .price-container .price {
  font-size: 24px;
  font-weight: 600;
  color: #108bea;
}

.single-product .product-info .quantity-container {
  margin-bottom: 20px;
  padding: 15px 0;
}

.single-product .product-tabs {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.single-product .product-tabs .nav-tabs {
  border-bottom: 2px solid #eee;
}

.single-product .product-tabs .nav-tabs li a {
  border: none;
  background: none;
  color: #666;
  font-weight: 600;
  padding: 15px 20px;
  margin-right: 0;
}

.single-product .product-tabs .nav-tabs li.active a {
  color: #108bea;
  border-bottom: 2px solid #108bea;
  background: none;
}

.single-product .product-tabs .tab-content {
  padding: 20px 0;
}

.single-product .featured-product {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Fix for sidebar layout */
.single-product .sidebar .sidebar-widget {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.single-product .sidebar .section-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  text-align: left;
}

/* Fix for responsive layout */
@media (max-width: 767px) {
  .single-product .sidebar {
    margin-bottom: 20px;
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .single-product .rht-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
  }

  .single-product .product-info-block {
    padding-left: 0;
  }

  .single-product .detail-block {
    padding: 20px;
  }

  .single-product .product-tabs {
    padding: 20px;
  }

  .single-product .featured-product {
    padding: 20px;
  }
}

@media (max-width: 991px) {
  .single-product .sidebar,
  .single-product .rht-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }

  .single-product .sidebar {
    margin-bottom: 20px;
  }
}

/* Fix for gallery layout */
.single-product .single-product-gallery {
  position: relative;
}

.single-product .single-product-gallery .single-product-gallery-item {
  text-align: center;
}

.single-product .single-product-gallery .single-product-gallery-item img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.single-product .gallery-thumbs {
  margin-top: 15px;
}

.single-product .gallery-thumbs .item {
  margin-right: 10px;
  border: 2px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}

.single-product .gallery-thumbs .item.active {
  border-color: #108bea;
}

.single-product .gallery-thumbs .item img {
  width: 100%;
  height: auto;
}

/* Fix for add to cart button */
.single-product .add-btn .btn-primary {
  background-color: #108bea;
  border-color: #108bea;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 5px;
}

.single-product .add-btn .btn-primary:hover {
  background-color: #0a6bb8;
  border-color: #0a6bb8;
}

/* Fix for favorite buttons */
.single-product .favorite-button .btn-primary {
  background-color: #ddd;
  border-color: #ddd;
  color: #666;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  line-height: 40px;
  text-align: center;
}

.single-product .favorite-button .btn-primary:hover {
  background-color: #108bea;
  border-color: #108bea;
  color: #fff;
}

/* Fix for quantity input */
.single-product .quant-input {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
}

.single-product .quant-input input {
  border: none;
  text-align: center;
  width: 60px;
  padding: 8px;
}

.single-product .quant-input .arrows {
  display: flex;
  flex-direction: column;
}

.single-product .quant-input .arrow {
  background-color: #f5f5f5;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.single-product .quant-input .arrow:hover {
  background-color: #108bea;
  color: #fff;
}

/* Fix for upsell products */
.single-product .featured-product .section-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
}

.single-product .featured-product .ad-imgs {
  margin-bottom: 20px;
}

.single-product .featured-product .ad-imgs img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Fix for hot deals in sidebar */
.single-product .sidebar .hot-deals .hot-deal-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.single-product .sidebar .hot-deals .image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.single-product .sidebar .hot-deals .image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.single-product .sidebar .hot-deals .image:hover img {
  transform: scale(1.1);
}

.single-product .sidebar .hot-deals .sale-offer-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff4444;
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.single-product .sidebar .hot-deals .timing-wrapper {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.single-product .sidebar .hot-deals .box-wrapper {
  text-align: center;
  flex: 1;
  margin: 0 2px;
}

.single-product .sidebar .hot-deals .box {
  background-color: #f5f5f5;
  padding: 8px 4px;
  border-radius: 3px;
}

.single-product .sidebar .hot-deals .box .key {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.single-product .sidebar .hot-deals .box .value {
  display: block;
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
}

/* Fix for product info in sidebar */
.single-product .sidebar .product-info .name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.single-product .sidebar .product-info .name a {
  color: #333;
  text-decoration: none;
}

.single-product .sidebar .product-info .name a:hover {
  color: #108bea;
}

.single-product .sidebar .product-info .product-price .price {
  font-size: 16px;
  font-weight: 600;
  color: #108bea;
}

/* Fix for cart buttons in sidebar */
.single-product .sidebar .cart .action {
  margin-top: 10px;
}

.single-product .sidebar .cart .add-cart-button {
  display: flex;
}

.single-product .sidebar .cart .btn-primary {
  background-color: #108bea;
  border-color: #108bea;
  font-size: 12px;
  padding: 8px 15px;
}

.single-product .sidebar .cart .btn-primary:hover {
  background-color: #0a6bb8;
  border-color: #0a6bb8;
}

/* Fix for breadcrumb */
.single-product .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 20px;
}

.single-product .breadcrumb ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.single-product .breadcrumb ul li {
  margin-right: 10px;
}

.single-product .breadcrumb ul li:not(:last-child):after {
  content: ">";
  margin-left: 10px;
  color: #999;
}

.single-product .breadcrumb ul li a {
  color: #666;
  text-decoration: none;
}

.single-product .breadcrumb ul li a:hover {
  color: #108bea;
}

.single-product .breadcrumb ul li.active {
  color: #333;
  font-weight: 600;
}

/* Additional fixes for layout issues */
.single-product .row {
  margin-left: -15px;
  margin-right: -15px;
}

.single-product .col-xs-12,
.single-product .col-sm-12,
.single-product .col-md-3,
.single-product .col-md-9,
.single-product .col-lg-4,
.single-product .col-lg-8 {
  padding-left: 15px;
  padding-right: 15px;
}

.single-product .product-info-block .row {
  margin: 0;
}

.single-product .product-info-block .col-sm-6,
.single-product .product-info-block .col-xs-6 {
  padding: 0 15px;
}

.single-product .quantity-container .row {
  margin: 0;
  align-items: center;
}

.single-product .quantity-container .qty,
.single-product .quantity-container .qty-count,
.single-product .quantity-container .add-btn {
  padding: 0 15px;
}

/* Fix for WooCommerce compatibility */
.single-product .woocommerce-product-gallery {
  margin-bottom: 0;
}

.single-product .woocommerce-product-gallery__image {
  border-radius: 4px;
  overflow: hidden;
}

.single-product .woocommerce-product-gallery__trigger {
  display: none;
}

/* Fix for product tabs */
.single-product .product-tabs .nav-tab-cell {
  border: none;
}

.single-product .product-tabs .nav-tab-cell li {
  margin-bottom: 0;
}

.single-product .product-tabs .nav-tab-cell li a {
  border-radius: 0;
  border: none;
  background: none;
  color: #666;
  font-weight: 600;
  padding: 15px 20px;
  margin-right: 0;
  transition: all 0.3s;
}

.single-product .product-tabs .nav-tab-cell li.active a {
  color: #108bea;
  border-bottom: 2px solid #108bea;
  background: none;
}

.single-product .product-tabs .nav-tab-cell li a:hover {
  color: #108bea;
  background: none;
}

/* Fix for product images */
.single-product .single-product-gallery-item a {
  display: block;
  border-radius: 4px;
  overflow: hidden;
}

.single-product .single-product-gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.single-product .single-product-gallery-item:hover img {
  transform: scale(1.05);
}

/* Fix for rating display */
.single-product .rating-reviews .rating {
  display: inline-block;
  margin-right: 10px;
}

.single-product .rating-reviews .reviews {
  display: inline-block;
}

.single-product .rating-reviews .reviews .lnk {
  color: #666;
  text-decoration: none;
}

.single-product .rating-reviews .reviews .lnk:hover {
  color: #108bea;
}

/* Fix for stock display */
.single-product .stock-container .stock-box {
  display: inline-block;
  margin-right: 20px;
}

.single-product .stock-container .stock-box .label {
  font-weight: 600;
  color: #333;
}

.single-product .stock-container .stock-box .value {
  color: #108bea;
  font-weight: 600;
}

/* Fix for description */
.single-product .description-container {
  color: #666;
  line-height: 1.6;
  font-size: 14px;
}

/* Fix for price display */
.single-product .price-container .price-box {
  display: inline-block;
}

.single-product .price-container .price {
  font-size: 24px;
  font-weight: 600;
  color: #108bea;
}

.single-product .price-container .price-strike {
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

/* Fix for favorite buttons */
.single-product .favorite-button {
  display: inline-block;
  margin-left: 10px;
}

.single-product .favorite-button .btn-primary {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  line-height: 40px;
  text-align: center;
  background-color: #f5f5f5;
  border-color: #f5f5f5;
  color: #666;
}

.single-product .favorite-button .btn-primary:hover {
  background-color: #108bea;
  border-color: #108bea;
  color: #fff;
}

/* Fix for quantity input */
.single-product .quant-input {
  display: inline-flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.single-product .quant-input input {
  border: none;
  text-align: center;
  width: 60px;
  padding: 8px;
  background: #fff;
}

.single-product .quant-input .arrows {
  display: flex;
  flex-direction: column;
}

.single-product .quant-input .arrow {
  background-color: #f5f5f5;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 12px;
}

.single-product .quant-input .arrow:hover {
  background-color: #108bea;
  color: #fff;
}

/* Fix for add to cart button */
.single-product .add-btn {
  display: inline-block;
  margin-left: 15px;
}

.single-product .add-btn .btn-primary {
  background-color: #108bea;
  border-color: #108bea;
  color: #fff;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 5px;
  transition: all 0.3s;
}

.single-product .add-btn .btn-primary:hover {
  background-color: #0a6bb8;
  border-color: #0a6bb8;
  transform: translateY(-1px);
}

/* Fix for product tabs content */
.single-product .product-tabs .tab-content {
  padding: 20px 0;
}

.single-product .product-tabs .tab-pane {
  display: none;
}

.single-product .product-tabs .tab-pane.active {
  display: block;
}

.single-product .product-tabs .product-tab {
  line-height: 1.6;
  color: #666;
}

/* Fix for upsell products */
.single-product .featured-product .section-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
}

.single-product .featured-product .ad-imgs {
  margin-bottom: 20px;
}

.single-product .featured-product .ad-imgs img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.single-product .featured-product .owl-carousel {
  margin-top: 20px;
}

/* Fix for sidebar hot deals */
.single-product .sidebar .hot-deals .hot-deal-wrapper {
  position: relative;
  margin-bottom: 15px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.single-product .sidebar .hot-deals .image {
  position: relative;
  overflow: hidden;
}

.single-product .sidebar .hot-deals .image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.single-product .sidebar .hot-deals .image:hover img {
  transform: scale(1.1);
}

.single-product .sidebar .hot-deals .sale-offer-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff4444;
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.single-product .sidebar .hot-deals .timing-wrapper {
  display: flex;
  justify-content: space-between;
  margin: 10px;
  gap: 5px;
}

.single-product .sidebar .hot-deals .box-wrapper {
  text-align: center;
  flex: 1;
}

.single-product .sidebar .hot-deals .box {
  background-color: #f5f5f5;
  padding: 8px 4px;
  border-radius: 3px;
}

.single-product .sidebar .hot-deals .box .key {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.single-product .sidebar .hot-deals .box .value {
  display: block;
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
}

/* Fix for sidebar product info */
.single-product .sidebar .product-info {
  padding: 15px;
}

.single-product .sidebar .product-info .name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.single-product .sidebar .product-info .name a {
  color: #333;
  text-decoration: none;
}

.single-product .sidebar .product-info .name a:hover {
  color: #108bea;
}

.single-product .sidebar .product-info .product-price .price {
  font-size: 16px;
  font-weight: 600;
  color: #108bea;
}

/* Fix for sidebar cart buttons */
.single-product .sidebar .cart {
  padding: 0 15px 15px;
}

.single-product .sidebar .cart .action {
  margin-top: 10px;
}

.single-product .sidebar .cart .add-cart-button {
  display: flex;
  gap: 5px;
}

.single-product .sidebar .cart .btn-primary {
  background-color: #108bea;
  border-color: #108bea;
  font-size: 12px;
  padding: 8px 15px;
  border-radius: 4px;
}

.single-product .sidebar .cart .btn-primary:hover {
  background-color: #0a6bb8;
  border-color: #0a6bb8;
}

/* Overall layout fixes */
.single-product .body-content {
  background-color: #f8f9fa;
  min-height: 100vh;
  padding-top: 30px;
  padding-bottom: 30px;
}

.single-product .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.single-product .row.single-product {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.single-product .sidebar {
  flex: 0 0 25%;
  max-width: 25%;
  padding-right: 15px;
}

.single-product .rht-col {
  flex: 0 0 75%;
  max-width: 75%;
  padding-left: 15px;
}

/* Responsive fixes */
@media (max-width: 991px) {
  .single-product .sidebar,
  .single-product .rht-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }

  .single-product .sidebar {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .single-product .detail-block,
  .single-product .product-tabs,
  .single-product .featured-product {
    padding: 20px;
  }

  .single-product .product-info-block {
    padding-left: 0;
  }

  .single-product .quantity-container .row {
    flex-direction: column;
    align-items: flex-start;
  }

  .single-product .quantity-container .qty,
  .single-product .quantity-container .qty-count,
  .single-product .quantity-container .add-btn {
    margin-bottom: 10px;
  }
}

/*===================================================================================*/
/*  SHOP/CATEGORY PAGE LAYOUT
/*===================================================================================*/

/* Price slider */
.shop-page .price-range-holder {
  margin-bottom: 15px;
}

.shop-page .price-range-holder .min-max {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  color: #666;
}

.shop-page .price-range-holder #amount {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.shop-page .pagination-container ul {
  margin: 0;
  padding: 0;
}

.shop-page .pagination-container ul li {
  display: inline-block;
  margin: 0 2px;
}

.shop-page .pagination-container ul li a {
  padding: 8px 12px;
  border: 1px solid #ddd;
  color: #666;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.shop-page .pagination-container ul li a:hover,
.shop-page .pagination-container ul li.active a {
  background-color: #108bea;
  color: #fff;
  border-color: #108bea;
}

/* Product grid */

/* Contact Page Styles */
.contact-page {
  margin-bottom: 50px;
}

.contact-page .contact-map {
  margin-bottom: 40px;
}

.contact-page .contact-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

.contact-page .contact-form {
  padding-right: 30px;
}

.contact-page .contact-title h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.contact-page .form-group {
  margin-bottom: 20px;
}

.contact-page .info-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.contact-page .unicase-form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.contact-page .unicase-form-control:focus {
  border-color: #fdb515;
  outline: none;
  box-shadow: 0 0 5px rgba(253, 181, 21, 0.3);
}

.contact-page .btn-upper {
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.contact-page .checkout-page-button {
  background-color: #fdb515;
  border-color: #fdb515;
  color: #333;
}

.contact-page .checkout-page-button:hover {
  background-color: #e6a800;
  border-color: #e6a800;
  color: #333;
}

.contact-page .contact-info {
  padding-left: 30px;
}

.contact-page .contact-info .contact-title h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #333;
}

.contact-page .clearfix {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.contact-page .contact-i {
  float: left;
  width: 40px;
  height: 40px;
  background-color: #fdb515;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-page .contact-i i {
  color: #333;
  font-size: 16px;
}

.contact-page .contact-span {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.contact-page .contact-span a {
  color: #fdb515;
  text-decoration: none;
}

.contact-page .contact-span a:hover {
  text-decoration: underline;
}
.products-container {
  background: #fff;
  padding: 20px;
}
/* Breadcrumb Styles */
.breadcrumb {
  background-color: #f8f9fa;
  padding: 15px 0;
  margin-bottom: 30px;
}

.shop-page .breadcrumb {
  margin-top: 30px;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
}

.breadcrumb-inner .list-inline {
  margin: 0;
  padding: 0;
}

.breadcrumb-inner .list-inline li {
  display: inline-block;
  margin-right: 10px;
}

.breadcrumb-inner .list-inline li:not(:last-child):after {
  content: "/";
  margin-left: 10px;
  color: #999;
}

.breadcrumb-inner .list-inline li a {
  color: #fdb515;
  text-decoration: none;
}

.breadcrumb-inner .list-inline li a:hover {
  text-decoration: underline;
}

.breadcrumb-inner .list-inline li.active {
  color: #666;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-page .contact-form {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .contact-page .contact-info {
    padding-left: 0;
  }

  .contact-page .contact-map iframe {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .contact-page .col-md-4 {
    margin-bottom: 20px;
  }

  .contact-page .contact-map iframe {
    height: 250px;
  }
}

/* Contact Form Message Styles */
.contact-form-message {
  margin-top: 15px;
}

.contact-form-message .alert {
  padding: 12px 15px;
  border-radius: 4px;
  margin-bottom: 0;
}

.contact-form-message .alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.contact-form-message .alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.contact-form-message .alert-info {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

/* Product Grid Layout - Original Template Design */
.product {
  position: relative;
}

.product .product-image img {
  width: 100%;
}

.product .product-image .tag {
  position: absolute;
}

.product .product-info .name {
  font-size: 16px;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
}

.product .product-info .name a {
  color: #555;
}

.product .product-info .star-rating .color {
  color: #ffb400;
}

.product .product-info .product-price .price {
  font-weight: 600;
  font-size: 14px;
  line-height: 30px;
  margin-right: 8px;
}

.product .product-info .product-price .price-before-discount {
  text-decoration: line-through;
  color: #d3d3d3;
  font-weight: 400;
  line-height: 30px;
  font-size: 14px;
}

.product .cart {
  margin-top: 5px;
  opacity: 0;
  -webkit-transition: all 0.5s linear 0s;
  -moz-transition: all 0.5s linear 0s;
  -o-transition: all 0.5s linear 0s;
  transition: all 0.5s linear 0s;
  width: 100%;
  z-index: 666;
  left: 50%;
  position: absolute;
  top: 0;
  margin-left: -70px;
}

.product .cart .action ul li {
  float: left;
}

.product .cart .action ul li.add-cart-button .btn.btn-primary.icon {
  border-radius: 999px;
  background: #fdd922;
  padding: 8px 14px;
  margin-left: 3px;
  margin-right: 3px;
}

.product .cart .action ul li.lnk {
  margin: 10px 0px;

  margin: 0px;

  border-radius: 999px;
  margin-left: 3px;
  margin-right: 3px;
}

.product .cart .action ul li.lnk a {
  padding: 0 10px;
  color: #fff;
  padding: 8px 10px;
}

.product .cart .action ul li.lnk.wishlist {
  margin: 0px 3px;
  border-radius: 999px;
}

.tag {
  font-size: 10px;
  font-weight: 500;
  line-height: 40px;
  width: 40px;
  height: 40px;
  text-transform: uppercase;
  top: 2.5%;
  z-index: 100;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  color: #fff;
  right: 10px;
  text-align: center;
  letter-spacing: 1px;
}

.tag span {
  position: relative;
  z-index: 100;
}

.tag.new {
  background: #46aad7;
}

.tag.hot {
  background: #ff7878;
}

.product:hover .cart {
  opacity: 1;
  top: 45%;
}

/* Category Product Specific Styles */
/* Products Toolbar */
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 20px;
}

/* ============================================== TOOLBAR STYLING ============================================== */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.toolbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 12px 12px 0 0;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.view-toggle {
  display: flex;
  gap: 5px;
  background: var(--bg-light);
  padding: 5px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.view-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.view-btn.active,
.view-btn:hover {
  background: var(--white);
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.view-btn i {
  font-size: 14px;
}

.results-count {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  position: relative;
}

.results-count::before {
  content: "📊";
  margin-right: 8px;
  font-size: 16px;
}

.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.sort-dropdown:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.sort-dropdown label {
  color: var(--text-secondary);
  font-weight: 600;
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sort-select {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 180px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sort-select:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.1);
}

.sort-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

.sort-select option {
  padding: 8px;
  font-weight: 500;
}

/* Toolbar Responsive Design */
@media (max-width: 768px) {
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 15px 20px;
  }

  .toolbar-left,
  .toolbar-right {
    justify-content: center;
    gap: 15px;
  }

  .sort-dropdown {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
  }

  .sort-select {
    min-width: 200px;
    text-align: center;
  }

  .results-count {
    text-align: center;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .toolbar {
    padding: 12px 15px;
    margin-bottom: 20px;
  }

  .results-count {
    font-size: 12px;
    padding: 6px 12px;
  }

  .sort-dropdown {
    padding: 10px 12px;
  }

  .sort-select {
    min-width: 160px;
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* ============================================== CART UPDATE ANIMATIONS ============================================== */
.add-to-cart-btn.updating-cart {
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn.updating-cart::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: cartUpdateShimmer 1.5s ease-in-out;
}

@keyframes cartUpdateShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Mini cart update animation */
#mini-cart-dropdown {
  transition: all 0.3s ease;
}

#mini-cart-dropdown.updating {
  opacity: 0.7;
  transform: scale(0.98);
}

/* Cart count update animation */
.cart-count,
.basket-item-count .count {
  transition: all 0.3s ease;
}

.cart-count.updated,
.basket-item-count .count.updated {
  animation: cartCountPulse 0.6s ease-in-out;
}

@keyframes cartCountPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
    color: var(--brand-blue);
  }
  100% {
    transform: scale(1);
  }
}

/* Exclude mini cart from WOW.js animations */
#mini-cart-dropdown,
#mini-cart-dropdown * {
  animation: none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -o-animation: none !important;
  -ms-animation: none !important;
}

/* Prevent WOW.js from processing mini cart */
#mini-cart-dropdown {
  -webkit-animation-duration: 0s !important;
  animation-duration: 0s !important;
  -webkit-animation-delay: 0s !important;
  animation-delay: 0s !important;
}

/* Completely disable animations for no-wow class */
.no-wow,
.no-wow * {
  animation: none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -o-animation: none !important;
  -ms-animation: none !important;
  -webkit-animation-duration: 0s !important;
  animation-duration: 0s !important;
  -webkit-animation-delay: 0s !important;
  animation-delay: 0s !important;
  -webkit-animation-fill-mode: none !important;
  animation-fill-mode: none !important;
}

/* Grid Layout */
.item {
  margin-bottom: 30px;
}

.products {
  height: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-product .products .product {
    padding: 10px;
  }

  .category-product .product-image .image {
    height: 200px;
  }

  .category-product .product-info .name {
    font-size: 14px;
    min-height: 38px;
  }

  .category-product .product-info .description {
    font-size: 12px;
    min-height: 32px;
  }

  .category-product .product-price .price {
    font-size: 16px;
  }

  .category-product .cart .action ul {
    flex-direction: column;
    gap: 5px;
  }

  .category-product .add-cart-button {
    flex-direction: column;
  }

  .category-product .add-cart-button .icon,
  .category-product .add-cart-button .cart-btn {
    border-radius: 4px;
  }
}

@media (max-width: 480px) {
  .category-product .product-image .image {
    height: 180px;
  }

  .category-product .product-info .name {
    font-size: 13px;
    min-height: 34px;
  }

  .category-product .lnk a {
    width: 30px;
    height: 30px;
  }

  .category-product .lnk a i {
    font-size: 12px;
  }
}

/* Grid System Improvements */
.row {
  margin-left: -10px;
  margin-right: -10px;
}

.col-md-3,
.col-sm-6,
.col-xs-12 {
  padding-left: 10px;
  padding-right: 10px;
}

/*===================================================================================*/
/*  HEADER SEARCH AREA STYLES
/*===================================================================================*/

.main-header
  .top-search-holder
  .search-area
  .categories-filter
  .dropdown-menu
  li {
  margin-bottom: 10px;
}

.main-header
  .top-search-holder
  .search-area
  .categories-filter
  .dropdown-menu
  li
  a {
  padding: 0px;
  color: #666;
  text-decoration: none;
}

.main-header
  .top-search-holder
  .search-area
  .categories-filter
  .dropdown-menu
  li
  a:hover,
.main-header
  .top-search-holder
  .search-area
  .categories-filter
  .dropdown-menu
  li
  a:focus {
  background: rgba(0, 0, 0, 0);
  color: #fdd922;
}

/* Responsive adjustments */
@media (max-width: 767px) {
}

/*===================================================================================*/
/*  SEARCH RESULTS PAGE STYLES
/*===================================================================================*/
.search-result-container {
  margin-top: 20px;
}

.search-result-container .filters-container {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.search-result-container .filters-container .lbl-cnt {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-result-container .filters-container .lbl {
  font-weight: 600;
  color: #333;
  margin-right: 10px;
}

.search-result-container .filters-container .dropdown-toggle {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
}

.search-result-container .filters-container .dropdown-menu {
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-result-container .filters-container .dropdown-menu li a {
  padding: 8px 15px;
  color: #333;
  text-decoration: none;
  display: block;
}

.search-result-container .filters-container .dropdown-menu li a:hover {
  background: #f8f9fa;
  color: #007cba;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
}

.no-results h3 {
  color: #333;
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
}

.no-results p {
  color: #666;
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.no-results .search-suggestions {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.no-results .search-suggestions h4 {
  color: #333;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.no-results .search-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.no-results .search-suggestions ul li {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.no-results .search-suggestions ul li:before {
  content: "•";
  color: #007cba;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.no-results .search-suggestions ul li:last-child {
  margin-bottom: 0;
}

/* Search results pagination */
.pagination-container {
  text-align: center;
  margin-top: 30px;
  padding: 20px 0;
}

.pagination-container ul {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.pagination-container ul li {
  margin: 0;
}

.pagination-container ul li a,
.pagination-container ul li span {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  background: #fff;
  transition: all 0.3s ease;
}

.pagination-container ul li a:hover {
  background: #007cba;
  color: #fff;
  border-color: #007cba;
}

.pagination-container ul li span.current {
  background: #007cba;
  color: #fff;
  border-color: #007cba;
}

/* Responsive adjustments for search results */
@media (max-width: 767px) {
  .search-result-container .filters-container {
    padding: 10px;
  }

  .search-result-container .filters-container .lbl-cnt {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .no-results {
    padding: 20px 15px;
  }

  .no-results h3 {
    font-size: 20px;
  }

  .no-results p {
    font-size: 14px;
  }

  .pagination-container ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Search page sidebar styles */
.search-result-container .sidebar {
  margin-top: 20px;
}

.search-result-container .sidebar .side-menu {
  background: #fff;
  border: 1px solid #e1e8ed;
  border-radius: 5px;
  margin-bottom: 20px;
}

.search-result-container .sidebar .side-menu .head {
  background: #f8f9fa;
  padding: 15px;
  border-bottom: 1px solid #e1e8ed;
  font-weight: 600;
  color: #333;
}

.search-result-container .sidebar .side-menu .nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-result-container .sidebar .side-menu .nav li {
  border-bottom: 1px solid #f1f1f1;
}

.search-result-container .sidebar .side-menu .nav li:last-child {
  border-bottom: none;
}

.search-result-container .sidebar .side-menu .nav li a {
  display: block;
  padding: 12px 15px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.search-result-container .sidebar .side-menu .nav li a:hover {
  background: #f8f9fa;
  color: #007cba;
}

.search-result-container .sidebar .side-menu .nav li a i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

.search-result-container .sidebar .sidebar-widget {
  background: #fff;
  border: 1px solid #e1e8ed;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 20px;
}

.search-result-container .sidebar .sidebar-widget .section-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f1f1;
}

.search-result-container .sidebar .hot-deals .hot-deal-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.search-result-container .sidebar .hot-deals .sale-offer-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff6b6b;
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.search-result-container .sidebar .hot-deals .timing-wrapper {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.search-result-container .sidebar .hot-deals .box {
  text-align: center;
  background: #f8f9fa;
  padding: 8px;
  border-radius: 3px;
  min-width: 40px;
}

.search-result-container .sidebar .hot-deals .box .key {
  display: block;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.search-result-container .sidebar .product-info {
  margin-top: 15px;
}

.search-result-container .sidebar .product-info .name {
  font-size: 14px;
  margin-bottom: 8px;
}

.search-result-container .sidebar .product-info .name a {
  color: #333;
  text-decoration: none;
}

.search-result-container .sidebar .product-info .name a:hover {
  color: #007cba;
}

.search-result-container .sidebar .product-info .product-price {
  margin-top: 8px;
}

.search-result-container .sidebar .product-info .product-price .price {
  font-weight: 600;
  color: #007cba;
  font-size: 16px;
}

.search-result-container .sidebar .cart {
  margin-top: 15px;
}

.search-result-container .sidebar .cart .action {
  text-align: center;
}

.search-result-container .sidebar .cart .add-cart-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.search-result-container .sidebar .cart .btn {
  padding: 8px 15px;
  font-size: 12px;
}

/* Responsive adjustments for search page sidebar */
@media (max-width: 767px) {
  .search-result-container .sidebar {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .search-result-container .sidebar .side-menu .nav li a {
    padding: 10px 15px;
  }

  .search-result-container .sidebar .sidebar-widget {
    padding: 15px;
  }

  .search-result-container .sidebar .hot-deals .timing-wrapper {
    flex-wrap: wrap;
    gap: 5px;
  }

  .search-result-container .sidebar .hot-deals .box {
    min-width: 35px;
    padding: 6px;
  }
}

/* Price Slider Styling */
.price-slider-container {
  padding: 20px 0;
}

.price-display {
  margin-bottom: 20px;
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.price-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.price-input-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--white);
  transition: all 0.3s ease;
}

.price-input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.price-range-display {
  text-align: center;
  padding: 10px;
  background: var(--bg-light);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

#price-range-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-blue);
}

.price-slider-wrapper {
  margin: 20px 0;
  padding: 0 10px;
}

.price-slider {
  height: 6px;
  background: var(--bg-light);
  border-radius: 3px;
  position: relative;
  border: 1px solid var(--border-color);
}

.price-slider .ui-slider-handle {
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border: 2px solid var(--white);
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: -8px;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.price-slider .ui-slider-handle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.price-slider .ui-slider-handle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.price-slider .ui-slider-range {
  background: var(--gradient-primary);
  border-radius: 3px;
  height: 100%;
  position: absolute;
}

.price-slider-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.price-slider-actions .btn {
  flex: 1;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.price-slider-actions .btn-primary {
  background: var(--gradient-primary);
  border: 1px solid var(--brand-blue);
  color: var(--white);
}

.price-slider-actions .btn-primary:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.price-slider-actions .btn-outline-secondary {
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.price-slider-actions .btn-outline-secondary:hover {
  background: var(--bg-light);
  border-color: var(--text-secondary);
  color: var(--text-dark);
}

/* Mobile Responsive for Price Slider */
@media (max-width: 768px) {
  .price-inputs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .price-slider-actions {
    flex-direction: column;
  }

  .price-slider-actions .btn {
    width: 100%;
  }
}

/* jQuery UI Slider Overrides */
.ui-slider {
  position: relative;
  text-align: left;
}

.ui-slider .ui-slider-handle {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  cursor: pointer;
  touch-action: none;
}

.ui-slider .ui-slider-range {
  position: absolute;
  z-index: 1;
  font-size: 0.7em;
  display: block;
  border: 0;
  background-position: 0 0;
}

.ui-slider-horizontal {
  height: 6px;
}

.ui-slider-horizontal .ui-slider-handle {
  top: -8px;
  margin-left: -10px;
}

.ui-slider-horizontal .ui-slider-range {
  top: 0;
  height: 100%;
}

.ui-slider-horizontal .ui-slider-range-min {
  left: 0;
}

.ui-slider-horizontal .ui-slider-range-max {
  right: 0;
}

/* Fallback for when jQuery UI slider is not available */
.price-slider-wrapper.fallback {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.price-slider-wrapper.fallback .price-slider {
  display: none;
}

.price-slider-wrapper.fallback .fallback-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.price-slider-wrapper.fallback .fallback-inputs input {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}

.price-slider-wrapper.fallback .fallback-inputs input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Error handling styles */
.price-slider-error {
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 6px;
  padding: 10px;
  margin: 10px 0;
  color: #c33;
  font-size: 13px;
  text-align: center;
}

.price-slider-error i {
  margin-right: 5px;
}

/* Ensure price slider actions are always visible */
.price-slider-actions {
  display: flex !important;
  gap: 10px;
  margin-top: 20px;
}

/* Mobile responsive for fallback */
@media (max-width: 768px) {
  .price-slider-wrapper.fallback .fallback-inputs {
    grid-template-columns: 1fr;
  }
}

/* Custom Range Slider Styling */
.custom-slider-container {
  padding: 20px 0;
}

.slider-track {
  position: relative;
  height: 6px;
  background: var(--bg-light);
  border-radius: 3px;
  margin: 20px 0;
}

.slider-range {
  position: absolute;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.slider-thumb {
  position: absolute;
  top: -8px;
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border: 2px solid var(--white);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
}

.slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.slider-thumb:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.slider-thumb::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border: 2px solid var(--white);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.slider-thumb::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border: 2px solid var(--white);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.slider-thumb::-webkit-slider-track {
  background: transparent;
  height: 6px;
  border-radius: 3px;
}

.slider-thumb::-moz-range-track {
  background: transparent;
  height: 6px;
  border-radius: 3px;
  border: none;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.slider-label-min,
.slider-label-max {
  background: var(--bg-light);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

/* Mobile responsive for custom slider */
@media (max-width: 768px) {
  .custom-slider-container {
    padding: 15px 0;
  }

  .slider-track {
    margin: 15px 0;
  }

  .slider-thumb {
    width: 24px;
    height: 24px;
    top: -9px;
  }

  .slider-thumb::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }

  .slider-thumb::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }
}

/* Custom Price Slider Styles */
.price-slider-container {
  padding: 15px 0;
}

.price-display {
  margin-bottom: 20px;
}

.price-inputs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.price-input-group {
  flex: 1;
}

.price-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 5px;
}

.price-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.price-range-display {
  text-align: center;
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.slider-container {
  position: relative;
  height: 40px;
  margin: 20px 0;
}

.slider-input {
  position: absolute;
  width: 100%;
  height: 6px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
  pointer-events: all;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
  pointer-events: all;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  -moz-appearance: none;
}

.slider-track {
  position: absolute;
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-range {
  position: absolute;
  height: 6px;
  background: #007bff;
  border-radius: 3px;
  top: 0;
}

.price-slider-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.price-slider-actions .btn {
  flex: 1;
  padding: 8px 16px;
  font-size: 14px;
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

/* Real-time Filter States */
.price-filter-active {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 14px;
}

.price-filter-active .btn {
  margin-left: 10px;
  padding: 2px 8px;
  font-size: 12px;
}

.price-filter-error {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 14px;
}

.price-slider-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Loading animation for filter button */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.fa-spin {
  animation: spin 1s linear infinite;
}

/* Product grid transitions */
.woocommerce .products {
  transition: opacity 0.3s ease-in-out;
}

.woocommerce .products.filtering {
  opacity: 0.7;
}

.no-products-found {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-style: italic;
}

/* Premium Category Page Styles */
:root {
  --brand-blue: #157ed2;
  --brand-yellow: #fdd922;
  --brand-pink: #f3426d;
  --brand-blue-dark: #0f5a9c;
  --text-dark: #1a1a1a;
  --text-secondary: #666666;
  --text-light: #999999;
  --border-color: #e5e7eb;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(
    135deg,
    var(--brand-blue),
    var(--brand-pink)
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--brand-yellow),
    var(--brand-pink)
  );
}

.premium-category-page {
  background: var(--bg-light);
  min-height: 100vh;
}

/* Premium Breadcrumb */
.premium-breadcrumb-section {
  background: var(--white);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.premium-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.premium-breadcrumb a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.premium-breadcrumb a:hover {
  color: var(--brand-pink);
}

.premium-breadcrumb .current {
  color: var(--text-secondary);
}

.premium-breadcrumb i {
  font-size: 12px;
  color: var(--text-light);
}

/* Premium Category Header */
.premium-category-header {
  position: relative;
  background: var(--gradient-primary);
  background-size: cover;
  background-position: center;
  padding: 50px 0;
  color: var(--white);
  overflow: hidden;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 126, 210, 0.8);
  background: linear-gradient(
    135deg,
    rgba(253, 217, 34, 1),
    rgba(243, 66, 109, 0.8)
  );
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.category-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.category-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.category-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* Premium Content */
.premium-category-content {
  padding: 40px 0;
}

/* Premium Sidebar */
.premium-sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

/* Categories List */
.categories-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.category-item.active {
  background: var(--gradient-primary);
  color: var(--white);
}

.category-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.category-item:not(.active):hover {
  background: var(--bg-light);
}

.category-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 16px;
}

.category-item.active .category-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.category-info {
  flex: 1;
}

.category-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.product-count {
  font-size: 12px;
  opacity: 0.7;
}

/* Price Filter */
.price-filter-container {
  text-align: center;
}

.price-range-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--brand-blue);
}

.separator {
  color: var(--text-light);
}

.price-slider-wrapper {
  margin-bottom: 20px;
}

.price-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-blue);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.price-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-blue);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-sm);
}

.apply-price-filter {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.apply-price-filter:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Brands List */
.brands-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text-dark);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.brand-item a:hover {
  background: var(--bg-light);
  color: var(--brand-blue);
}

.brand-name {
  font-weight: 500;
}

.brand-item .product-count {
  color: var(--text-light);
  font-size: 12px;
}

/* Colors Grid */
.colors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.color-item:hover {
  background: var(--bg-light);
}

.color-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  transition: transform 0.2s ease;
}

.color-item:hover .color-circle {
  transform: scale(1.1);
}

.color-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Newsletter Form */
.newsletter-widget p {
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.newsletter-form .form-group {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-form input:focus {
  border-color: var(--brand-blue);
}

.newsletter-form button {
  background: var(--brand-blue);
  color: var(--white);
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.newsletter-form button:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-1px);
}

/* Products Grid */
.products-grid {
  display: grid;

  gap: 25px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
}

.product-image-wrapper img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.badge {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.sale {
  background: var(--gradient-secondary);
  color: var(--text-dark);
}

.badge.new {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.badge.hot {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.product-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.action-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}

.action-btn:hover {
  background: var(--brand-blue);
  color: var(--white);
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
}

.product-title {
  margin: 0 0 10px 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.product-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-title a:hover {
  color: var(--brand-blue);
}

.product-rating {
  margin-bottom: 10px;
}

.product-price {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.product-description {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

/* No Products Found */
.no-products-found {
  grid-column: 1 / -1;
  padding: 80px 20px;
  text-align: center;
}

.no-products-content i {
  font-size: 4rem;
  color: var(--border-color);
  margin-bottom: 20px;
}

.no-products-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.no-products-content p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.browse-all-btn {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.browse-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
  text-decoration: none;
}

/* Premium Pagination */
.premium-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.premium-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.2s ease;
}

.premium-pagination .page-numbers:hover,
.premium-pagination .page-numbers.current {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 991px) {
  .premium-category-header {
    padding: 40px 0;
  }

  .category-title {
    font-size: 2.5rem;
  }

  .premium-sidebar {
    position: static;
    margin-bottom: 30px;
  }

  .products-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .toolbar-left {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .premium-category-content {
    padding: 20px 0;
  }

  .category-title {
    font-size: 2rem;
  }

  .category-stats {
    flex-direction: column;
    gap: 15px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .product-image-wrapper img {
    height: 200px;
  }

  .product-actions {
    position: static;
    transform: none;
    opacity: 1;
    justify-content: center;
    margin-top: 15px;
  }

  .colors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .category-title {
    font-size: 1.8rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .view-toggle {
    width: 100%;
    justify-content: center;
  }

  .sort-dropdown {
    width: 100%;
    justify-content: center;
  }

  .sort-select {
    flex: 1;
    max-width: 200px;
  }
}

/* Color Swatch Styles for Sidebar */
.color-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.color-list li {
  margin-bottom: 8px;
}

.color-list li:last-child {
  margin-bottom: 0;
}

.color-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  text-decoration: none;
  color: #666;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.color-list a:hover {
  background-color: #f8f9fa;
  color: #157ed2;
  text-decoration: none;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.color-list a:hover .color-swatch {
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Active color state */
.color-list a.active {
  background-color: #157ed2;
  color: white;
}

.color-list a.active .color-swatch {
  border-color: white;
  box-shadow: 0 0 0 2px #157ed2;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .color-list a {
    padding: 10px 12px;
    font-size: 15px;
  }

  .color-swatch {
    width: 24px;
    height: 24px;
  }
}

/* Loading state for products grid */
.products-grid.loading {
  position: relative;
  opacity: 0.6;
  pointer-events: none;
}

.products-grid.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #157ed2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1000;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Clear filters button */
.clear-filters-container {
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
}

.clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.clear-filters:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

/* No products found message */
.no-products-found {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.no-products-found p {
  font-size: 16px;
  margin: 0;
}

/* Brands Widget Styles */
.brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.brand-item {
  margin-bottom: 8px;
}

.brand-item:last-child {
  margin-bottom: 0;
}

.brand-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  color: #666;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.brand-link:hover {
  background-color: #f8f9fa;
  color: #157ed2;
  text-decoration: none;
}

.brand-name {
  flex: 1;
  font-weight: 500;
}

.brand-count {
  color: #999;
  font-size: 12px;
  font-weight: 400;
  margin-left: 8px;
}

.brand-link:hover .brand-count {
  color: #157ed2;
}

.no-brands {
  text-align: center;
  padding: 20px 10px;
}

.show-more-brands {
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
}

.show-more-brands .btn {
  font-size: 12px;
  padding: 6px 12px;
  transition: all 0.2s ease;
}

.show-more-brands .btn:hover {
  transform: translateY(-1px);
}

/* Responsive adjustments for brands */
@media (max-width: 767px) {
  .brand-link {
    padding: 10px 12px;
    font-size: 15px;
  }

  .brand-count {
    font-size: 13px;
  }
}
