nav.woocommerce-breadcrumb {
  width: 100%;
  margin: auto;
  max-width: 1320px;
  padding: 30px 20px;
}
.admin-bar aside.shop-sidebar {
  top: 190px;
}
.main-shop-container main.shop-main {
  padding-left: 330px;
  min-height: 1400px;
}
aside.shop-sidebar {
  position: sticky;
  float: left;
  top: 160px;
  width: 300px;
}
.shop-toolbar .sort-by {
  display: flex;
  align-items: center;
  gap: 20px;
}
.filter-bar {
  display: none;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.product-card {
  position: relative;
  transition: all 0.3s ease-in;
  border-radius: 10px;
  padding-bottom: 60px;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-card .product-thumbnail {
  width: 100%;
  height: 240px;
  margin-bottom: 30px;
}

.product-card .product-thumbnail span.sale-badge {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 13px;
  padding: 5px 6px;
  border-radius: 4px;
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1;
}

.product-card .product-thumbnail a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .product-thumbnail a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card .product-title {
  font-size: 16px;
  text-transform: capitalize;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 10px;
}

.product-card .product-info {
  padding: 0 20px 10px;
}

.product-card .product-info .price-cart {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--secondary-color);
  justify-content: space-between;
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  padding: 0 20px;
}

.product-card .product-info .price-cart .product-price {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  line-height: 1;
}

.product-card .product-info .price-cart .product-price ins {
  background-color: transparent;
  /* font-size: 20px; */
  /* font-weight: 600; */
  order: 1;
}

.product-card .product-info .price-cart .product-price del {
  order: 2;
  opacity: 0.5;
  line-height: 1.2;
}

.product-card .product-info .price-cart .product-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-card .product-info .price-cart .product-actions .added_to_cart {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
}

.product-card
  .product-info
  .price-cart
  .product-actions
  button.ajax-add-to-cart {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.product-card
  .product-info
  .price-cart
  .product-actions
  button.ajax-add-to-cart
  svg {
  width: 17px;
  height: auto;
}

.product-card
  .product-info
  .price-cart
  .product-actions
  button.ajax-add-to-cart:hover {
  background-color: var(--primary-color);
}

.product-card
  .product-info
  .price-cart
  .product-actions
  button.ajax-add-to-cart:hover
  svg {
  color: #fff;
}

/* .cart-icon {
  position: relative;
  cursor: pointer;
}

.cart-contents {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4757;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(255, 71, 87, 0.3);
} */

/* Shop Page Layout */
/* .shop-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
} */

/* @media (max-width: 991px) {
  .shop-container {
    grid-template-columns: 1fr;
  }
} */

/* Sidebar & Filters */
/* .shop-sidebar {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
} */

.filter-section {
  margin-bottom: 20px;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-section:last-child {
  margin-bottom: 0px;
}

.filter-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.filter-item {
  margin-bottom: 8px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-icon {
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  background: #f8f9fa;
  border-radius: 4px;
  color: #999;
}

.toggle-icon:hover {
  background: #eee;
  color: #333;
}

.filter-item.active > .category-header .toggle-icon {
  transform: rotate(180deg);
}

.filter-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: color 0.3s;
  flex-grow: 1;
}

.filter-item label:hover {
  color: #000;
}

.cat-count {
  margin-left: 5px;
  font-size: 12px;
  color: #999;
}

.filter-item input {
  margin-right: 10px;
}

.sub-categories {
  margin-left: 15px;
  margin-top: 8px;
}

.sub-sub-categories {
  margin-left: 15px;
  margin-top: 5px;
}

/* Price Slider */
.price-filters {
  padding: 0 10px;
}

#price-slider {
  margin-bottom: 25px;
  height: 4px;
  border: none;
  background: #e9ecef;
}

#price-slider .ui-slider-range {
  background: #000;
}

#price-slider .ui-slider-handle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  top: -6px;
  cursor: pointer;
  outline: none;
}

.price-inputs {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-input-wrapper {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 6px 10px;
}

.price-input-wrapper span {
  color: #adb5bd;
  margin-right: 5px;
}

.price-input-wrapper input {
  width: 60px;
  border: none;
  background: transparent;
  font-size: 14px;
  padding: 0;
  margin: 0;
  outline: none;
}

.price-separator {
  color: #adb5bd;
}

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: #fff;
  padding: 15px 24px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.results-count {
  font-size: 14px;
  color: #666;
}

#total-results {
  font-weight: 700;
  color: #000;
}

.sort-by select {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 8px 15px;
  font-size: 14px;
  outline: none;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
}

#product-results.loading {
  opacity: 0.5;
  pointer-events: none;
}
/* .product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  border: 1px solid #f0f0f0;
} */
/* Product Card */
/* .product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-thumbnail {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fdfdfd;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4757;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    padding: 15px;
    display: flex;
    justify-content: center;
    transition: bottom 0.3s;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.ajax-add-to-cart {
    background: #000;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.ajax-add-to-cart:hover {
    background: #333;
    transform: scale(1.1);
}

.ajax-add-to-cart.loading {
    opacity: 0.7;
}

.ajax-add-to-cart.added {
    background: #2ed573;
} */

/* Product Info */
/* .product-info {
    padding: 20px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: #000;
}

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

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

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

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

.product-price ins {
    text-decoration: none;
    color: #ff4757;
} */

/* Pagination */
.ajax-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.ajax-pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}

.ajax-pagination .page-numbers:hover,
.ajax-pagination .page-numbers.current {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

/* Loader */
.shop-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media screen and (max-width: 1023px) {
  aside.shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    padding: 45px 15px 20px;
    width: 330px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    overflow: auto;
    transform: translateX(-100%);
    transition: all 0.3s ease-in;
    height: 100%;
  }
  aside.shop-sidebar::-webkit-scrollbar {
    display: none;
  }
  .main-shop-container main.shop-main {
    padding: 0;
    min-height: auto;
  }
  .filter-bar {
    display: flex;
  }
  aside.shop-sidebar.active {
    transform: translateX(0%);
  }
  aside.shop-sidebar .close-on-mobile {
    display: block !important;
    position: absolute;
    right: 15px;
    top: 13px;
  }
  aside.shop-sidebar .close-on-mobile svg {
    width: 20px;
    height: auto;
  }
}
@media screen and (max-width: 767px) {
  .shop-toolbar {
    flex-wrap: wrap;
    padding: 15px 10px;
    gap: 14px;
  }
  .shop-toolbar .results-count {
    width: 100%;
  }
  .shop-toolbar .sort-by {
    justify-content: space-between;
    width: 100%;
  }
  .sort-by select {
    width: auto;
  }
}
