.products-listing-section {
  background-color: var(--medium-gray);
  padding-bottom: var(--margin-100);
}
.products-listing-section .vehicle-filter-section {
  margin: 20px 0 34px;
}
.products-listing-section .vehicle-filter-section .vehicle-filter {
  padding: 20px;
}
.breadcrumb-section {
  padding: 24px 0 0;
}

.products-listing-section .breadcrumb-section {
  padding: 24px 0 28px;
}

.products-listing-section .shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin: 0 0 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.products-listing-section .shop-toolbar .filter-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.products-listing-section .shop-toolbar .header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
  margin-left: auto;
}

@media (max-width: 991px) {
  .products-listing-section .breadcrumb-section {
    padding-bottom: 20px;
  }

  .products-listing-section .shop-toolbar {
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: none;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
}

.breadcrumb a {
  font-weight: var(--font-weight-500);
  font-size: var(--font-14);
  line-height: 100%;
  color: var(--gray-700);
}

.breadcrumb span {
  color: var(--black);
  font-weight: var(--font-weight-500);
  font-size: var(--font-14);
  line-height: 100%;
}

.breadcrumb img {
  width: 24px;
  height: auto;
}

.sort-dropdown {
  position: relative;
  width: 265px;
}

.sort-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  cursor: pointer;
}

.sort-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-label {
  font-family: var(--font-family);
  font-weight: var(--font-weight-500);
}

.sort-divider {
  width: 1px;
  height: 24px;
  background: #0000001a;
}

.selected-text {
  font-family: var(--font-family);
  font-weight: var(--font-weight-500);
}

.arrow {
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  overflow-y: auto;
  box-shadow: 8px 16px 40px 0px #0000001a;

  display: none;
  z-index: 100;
  padding: 10px 0px;
}

.dropdown-item {
  padding: 10px 20px;
  font-weight: var(--font-weight-500);
  font-size: var(--font-16);
  cursor: pointer;
  transition: 0.2s;
}

.dropdown-item:hover {
  background: var(--bg-soft);
}

.sort-dropdown.active .dropdown-menu {
  display: block;
}

.sort-dropdown.active .arrow {
  transform: rotate(180deg);
}

.products-listing-grid {
  display: grid;
  grid-template-columns: 1fr 4fr;
}
.products-listing-grid .products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.product-sidebar {
  width: 302px;
  background: var(--white);
  padding: 20px 30px;
  border-radius: 6px;
  height: max-content;
  margin-bottom: 10px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.sidebar-header h6 {
  font-weight: var(--font-weight-500);
}

.sidebar-arrow {
  font-size: var(--font-18);
  transition: 0.3s;
}

.product-sidebar .sidebar-content {
  margin-bottom: 0px;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;

  overflow: hidden;
  transition: 0.3s ease;
}

.product-sidebar.collapsed .sidebar-content {
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
}

.check-item {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 16fr;
  gap: 10px;
  cursor: pointer;
  font-size: 14px; /* var(--font-16); */
  font-weight: var(--font-weight-400);
  color: var(--black);
}

.check-item input {
  display: none;
}

.box {
  width: 15px;
  height: 15px;
  border: 1px solid #dfdfdf;
  border-radius: 2px;
  display: inline-block;
  position: relative;
}

.check-item input:checked + .box {
  background: var(--primary);
  border-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-item input:checked + .box::after {
  content: "";
  position: absolute;
  width: 12px;

  height: 9px;

  background-image: url("../img/right_mark.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.check-item small {
  color: var(--gray);
}

/* ==========================
   Sidebar header actions (Clear + collapse arrow)
========================== */

.sidebar-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-clear-btn {
  border: none;
  background: none;
  padding: 0;
  font-size: var(--font-14);
  font-weight: var(--font-weight-500);
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
}

.filter-clear-btn:hover {
  opacity: 0.8;
}

/* ==========================
   Clear All Filters
========================== */

.filter-clear-all {
  background: var(--white);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
}

.filter-clear-all-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1.5px solid var(--primary);
  background: #fcc62517;
  color: var(--black);
  font-family: var(--font-family);
  font-size: var(--font-14);
  font-weight: var(--font-weight-600);
  padding: 11px 16px;
  border-radius: 30px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.filter-clear-all-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.filter-clear-all-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-clear-all-btn:hover svg {
  transform: rotate(-90deg);
}

.filter-clear-all-btn:active {
  transform: scale(0.96);
}

/* ==========================
   Brand / Model / Year - "N MORE" / "SHOW LESS" (desktop only)
========================== */

.filter-option-hidden {
  display: none !important;
}

.sidebar-content.filter-expanded .filter-option-hidden {
  display: grid !important;
}

.filter-more-row {
  margin-top: 2px;
}

.filter-more-toggle {
  border: none;
  background: none;
  padding: 0;
  font-size: var(--font-14);
  font-weight: var(--font-weight-600);
  color: var(--primary);
  cursor: pointer;
}

.filter-more-toggle:hover {
  text-decoration: underline;
}

/* ==========================
   Product Categories - per-parent "N MORE" / "SHOW LESS" (desktop only)

   Each parent's own subcategory <ul> (data-category-scope) collapses
   independently - same .filter-option-hidden/.filter-more-toggle
   classes as Brand/Model/Year above, just toggled on the .category-tree
   itself rather than a .sidebar-content, so one parent expanding never
   affects another. Mobile never renders this markup at all (see
   batteryland_render_category_tree()'s $collapsible flag), so no
   viewport gating is needed here.
========================== */

.category-tree.filter-expanded > .category-tree-item.filter-option-hidden {
  display: block !important;
}

.category-tree .filter-more-row {
  padding-left: 26px;
  margin-bottom: 4px;
  list-style: none;
}

.category-tree-item-collapsed > .category-tree .filter-more-row {
  display: none;
}

/* ==========================
   Brand / Model / Year - selection modal (desktop only)
========================== */

.filter-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 99998;
}

.filter-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.filter-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: 80%;
  max-width: calc(100vw - 40px);
  max-height: 80vh;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 8px 16px 40px 0px #0000001a;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 99999;
}

.filter-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.filter-modal-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-soft, #eee);
}

.filter-modal-title {
  font-weight: var(--font-weight-600);
  font-size: var(--font-18);
  margin: 0;
}

.filter-modal-close {
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-700, #666);
  padding: 0;
}

.filter-modal-search {
  flex: 0 0 auto;
  position: relative;
  margin: 16px 24px 0;
}

.filter-modal-search-input {
  width: 100%;
  padding: 10px 40px 10px 14px;
  border: 1px solid var(--border-soft, #dfdfdf);
  border-radius: 6px;
  font-size: var(--font-14);
  font-family: var(--font-family);
}

.filter-modal-search-input:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-modal-search svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-700, #999);
  pointer-events: none;
}

.filter-modal-azbar {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 14px 24px 0;
}

.filter-modal-az-btn {
  min-width: 22px;
  height: 22px;
  padding: 0 2px;
  border: none;
  background: none;
  font-size: var(--font-14);
  font-weight: var(--font-weight-500);
  color: var(--black);
  cursor: pointer;
  border-radius: 3px;
}

.filter-modal-az-btn:hover:not(.disabled) {
  background: var(--bg-soft, #f5f5f5);
}

.filter-modal-az-btn.active {
  background: var(--primary);
  color: var(--white);
}

.filter-modal-az-btn.disabled {
  color: var(--gray-200, #ccc);
  cursor: default;
}

.filter-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 24px;
}

.filter-modal-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 20px;
}

.filter-modal-empty {
  display: none;
  color: var(--gray-700, #777);
  font-size: var(--font-14);
  margin: 0;
}

.filter-modal-option {
  min-width: 0;
}

.filter-modal-option span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-modal-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-soft, #eee);
}

.filter-modal-clear-all {
  border: none;
  background: none;
  padding: 10px 16px;
  font-size: var(--font-14);
  font-weight: var(--font-weight-600);
  color: var(--primary);
  cursor: pointer;
}

.filter-modal-clear-all:hover {
  text-decoration: underline;
}

.filter-modal-apply {
  border: none;
  background: var(--primary);
  color: var(--black);
  font-size: var(--font-14);
  font-weight: var(--font-weight-600);
  padding: 11px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.filter-modal-apply:hover {
  opacity: 0.85;
}

body.filter-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {

  .filter-modal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* ==========================
   Category filter tree
========================== */

.category-tree {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-tree .category-tree {
  margin-top: 6px;
  padding-left: 20px;
  /* border-left: 1.5px solid #d7d7d7; */
}

.category-tree-item-collapsed > .category-tree {
  display: none;
}

/*
 * Connector "elbow" from the parent's vertical guide line (the nested
 * <ul>'s border-left, 20px to the left of each nested item) to each
 * child row, echoing the ├── / └── look of a classic tree view using
 * pure CSS - no extra markup or images.
 */
.category-tree .category-tree-item {
  position: relative;
}

/* .category-tree .category-tree-item::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -20px;
  width: 14px;
  height: 1.5px;
  background: #d7d7d7;
} */

.category-tree-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-tree-row .check-item {
  /* Grows to fill the row, which is what pushes .category-tree-toggle
     (rendered after it in markup) all the way to the right edge -
     no extra positioning needed for that. */
  flex: 1;
}

.category-tree-toggle {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-tree-toggle-icon {
  width: 10px;
  height: 10px;
  background-image: url("../img/down_arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.category-tree-item-collapsed > .category-tree-row .category-tree-toggle-icon {
  transform: rotate(0deg);
}

.product-wrapper {
  margin: auto;
  background-color: var(--medium-gray);
  padding-bottom: var(--margin-160);
}

.product-container {
  display: flex;
  gap: 60px;
  background: var(--white);
  border-radius: 6px;
  padding: var(--margin-60);
  align-items: flex-start;
  margin-top: 24px;
  margin-bottom: 10px;
}

.product-section {
  display: flex;
  gap: 24px;
}

.product-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.product-thumb {
  width: 80px;
  height: 80px;
  border: 1px solid #c3c3c3;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: 0.3s;
}

.product-thumb img {
  width: 95px;
}

.product-thumb.active {
  border: 2px solid var(--primary);
}

.see-all {
  width: 80px;
  height: 80px;
  border: 1px solid #c3c3c3;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 20px;
  font-weight: var(--font-weight-500);
  cursor: pointer;
}

.see-all span {
  font-size: 20px;
  /*margin-bottom: 10px;*/
  font-weight: var(--font-weight-500);
}

.main-image {
  width: 600px;
  height: 600px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.main-image img {
  width: 100%;
  height: 100%;
}

.stock {
  color: #06930c;
  font-size: var(--font-16);
  margin-bottom: 24px;
  font-weight: var(--font-weight-400);
}

.stock::before {
  content: "✓";
  margin-right: 10px;
  font-weight: var(--font-weight-700);
}

.product-info h3 {
  font-weight: var(--font-weight-600);
  margin-bottom: 24px;
      font-size: var(--font-26);
}

.product-price {
  font-weight: var(--font-weight-500);
  margin-bottom: 24px;
}
.product-container  .product-price {
    font-size:var(--font-26);
     font-weight: var(--font-weight-600);
}
.product-description {
  color: var(--gray-700);
  font-weight: var(--font-weight-400);
  font-size: var(--font-14);
  line-height: 22px;
  margin-bottom: 24px;
}

.product-cart-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.product-quantity {
  display: flex;
  align-items: center;

  background: var(--neutral-100);
}

.product-quantity button {
  width: 50px;
  height: 50px;
  border: none;
  background: none;
  font-size: var(--font-16);
  cursor: pointer;
  font-weight: var(--font-weight-400);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}
.product-quantity button img {
  width: 10px;
  height: auto;
}
.product-quantity span {
  width: 50px;
  text-align: center;
  font-size: var(--font-20);
  color: var(--secondary);
}

.product-add-cart {
  flex: 1;
  height: 50px;
  background: var(--black);
  color: var(--white);
  border: none;
  /*border-radius: 6px;*/
  font-size: var(--font-14);
  padding: 0px 30px;
  font-weight: var(--font-weight-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-add-cart img {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  filter: brightness(0) invert(1);
}
.product-wishlist {
  width: 50px;
  height: 50px;
  border: none;
  background: var(--bg-soft);
  border-radius: 6px;

  cursor: pointer;
}

.delivery-box {
  margin-top: 25px;
  border: 1px solid var(--primary);
  background: #f5ca2738;
  padding: 14px 16px;
  border-radius: 6px;
  color: var(--black);
  display: flex;
  font-size: var(--font-14);
  font-weight: var(--font-weight-400);
  align-items: center;
  gap: 12px;
}

.delivery-box img {
  width: 23px;
  height: auto;
  filter: brightness(0);
}
.product-details-meta {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.product-details-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-details-label {
  font-size: var(--font-14);
  font-weight: var(--font-weight-500);
  color: var(--gray-700);
}

.product-details-value {
  font-size: var(--font-16);
  font-weight: var(--font-weight-500);
  color: var(--black);
}

.product-tabs {
  padding: 40px var(--margin-60);
  background-color: var(--white);
  border-radius: 6px;
  margin-bottom: 99px;
}

.product-tabs-buttons {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-light);
}

.product-tabs-btn,
h2.product-tabs-heading {
  border: none;
  background: none;
  color: var(--gray-700);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 14px;
  margin: 0 0 -1px;
  font-weight: var(--font-weight-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

h2.product-tabs-heading {
  cursor: default;
  color: var(--black);
  border-bottom-color: var(--primary);
}

.product-tabs-btn:hover {
  color: var(--black);
  background: none;
}

.product-tabs-btn.active {
  background: none;
  color: var(--black);
  border-bottom-color: var(--primary);
}

.product-tabs-content {
  border-top: none;
  padding-top: 28px;
}

.product-tabs-pane {
  display: none;
  opacity: 0;
  transform: translateY(5px);
  transition: 0.25s ease;
}

.product-tabs-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.product-tabs-title {
  font-size: var(--font-18);
  font-weight: var(--font-weight-600);
  margin-bottom: 16px;
  margin-top: 24px;
}

.product-tabs-pane p {
  color: var(--gray-700);

  margin-bottom: 24px;
}

.product-tabs-section-title {
  font-size: var(--font-18);
  font-weight: var(--font-weight-700);
  margin: 15px 0;
}

.product-tabs-list {
  list-style: none;
  margin-top: 16px;
}

.product-tabs-list li {
  margin-bottom: 2px;
  font-size: var(--font-16);
  font-weight: var(--font-weight-400);
  line-height: 26px;
  color: var(--gray-700);
}

.product-tabs-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2px;
  color: var(--gray-700);
  font-size: var(--font-16);
  line-height: 26px;
  font-weight: var(--font-weight-400);
}

.product-tabs-spec {
  margin-top: 16px;
}
.product-tabs-table {
  width: 100%;
  border-collapse: collapse;
}

.product-tabs-table td {
  border: 1px solid #d9d9d9;
  padding: 10px 16px;
  font-size: var(--font-16);
  font-weight: var(--font-weight-400);
  color: var(--gray-700);
}
.no-products-found{
    max-width:700px;
    margin:70px auto;
    text-align:center;
}

.empty-image img{
    width:260px;
    max-width:100%;
    margin-bottom:35px;
}

.no-products-found h2{
    font-size:48px;
    font-weight:700;
    margin-bottom:15px;
    color:#1d1d1d;
}

.empty-text{
    font-size:18px;
    color:#777;
    max-width:520px;
    margin:0 auto 40px;
    line-height:1.7;
}

.empty-buttons{
    /*display:flex;*/
    flex-direction:column;
    align-items:center;
    gap:20px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:15px 30px;
    border-radius:8px;
    text-decoration:none;
    transition:.3s;
    font-weight:600;
}

.btn-primary{
    background:#FCC625;
    color:#000;
}

.btn-primary:hover{
    background:#e8b000;
}

.btn-outline{
    border:2px solid #ddd;
    color:#222;
    background:#fff;
}

.btn-outline:hover{
    border-color:#FCC625;
}

.divider{
    color:#999;
    font-weight:600;
}

.empty-tip{
    margin-top:60px;
    border:1px solid #FCC625;
    border-radius:12px;
    background:#FFF9E8;
    display:flex;
    align-items:center;
    gap:20px;
    padding:20px 25px;
    text-align:left;
}

.tip-icon{
    width:60px;
    height:60px;
    border-radius:50%;
    background:#FCC625;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    flex-shrink:0;
}

.empty-tip p{
    margin:0;
    color:#555;
    font-size:16px;
    line-height:1.6;
}

@media(max-width:768px){

    .no-products-found h2{
        font-size:34px;
    }

    .empty-image img{
        width:180px;
    }

    .empty-tip{
        flex-direction:column;
        text-align:center;
    }

}
.product-sidebar h6{font-size:16px;}
.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.products-grid.list-view{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.products-grid.list-view .product-card{
    display:flex;
    align-items:center;
    gap:25px;
    padding:20px;
}

.products-grid.list-view .product-image{
    width:240px;
    flex:0 0 240px;
}

.products-grid.list-view .product-content{
    flex:1;
}

.products-grid.list-view .product-actions{
    width:220px;
}


/* Pagination */
/* Pagination wrapper */
.pagination-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

/* Pagination list */
.pagination-wrapper ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Pagination items */
.pagination-wrapper li {
    margin: 0;
}

/* Pagination links */
.pagination-wrapper a,
.pagination-wrapper span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover */
.pagination-wrapper a:hover {
    background: #f5ca27;
    color: #000;
    border-color: #f5ca27;
}

/* Active page */
.pagination-wrapper .current {
    background: #f5ca27;
    color: #000;
    border-color: #f5ca27;
}

/* Previous / Next buttons */
.pagination-wrapper .prev,
.pagination-wrapper .next {
    width: 36px;
    height:36px;
    background:#000;
    color:#fff;
    padding: 0 18px;
    border-radius: 25px;
}
.pagination-wrapper .prev::hover,
.pagination-wrapper .next::hover {
    background:#f5ca27;
    color:#000;
 
}

/* Mobile */
@media (max-width: 576px) {
    .pagination-wrapper {
        margin-top: 25px;
    }

    .pagination-wrapper ul {
        gap: 5px;
    }

    .pagination-wrapper a,
    .pagination-wrapper span {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination-wrapper .prev,
    .pagination-wrapper .next {
        padding: 0 12px;
    }
}


.header-right{
    display:flex;
    align-items:center;
    gap:25px;
}

@media (min-width: 992px) {
    .products-listing-section .shop-toolbar .header-right {
        justify-content: flex-end;
    }
}

.products-count{
    font-size:15px;
    color:#666;
    white-space:nowrap;
}

.products-count strong{
    color:#111;
    font-weight:700;
}

.empty-filter{
    padding:12px;
    color:#777;
    font-size:14px;
    font-style:italic;
    text-align:center;
    background:#f8f8f8;
    border-radius:6px;
}

.products-icon-btn.active, .wishlist-btn.active {
    background: #FCC625;
}

/* Single Product CSS */

.product-quantity input.qty{
    width:40px;
    border:0;
    background:transparent;
    text-align:center;
    font-size:18px;
    font-weight:600;
    outline:none;
    -moz-appearance:textfield;
}
.product-quantity input.qty::-webkit-inner-spin-button,
.product-quantity input.qty::-webkit-outer-spin-button{
    -webkit-appearance:none;
    margin:0;
}.product-thumb{
cursor:pointer;
transition:.3s;
}
.product-thumb.active{
border:2px solid #f5b400;
}
.product-thumb img{
display:block;
width:100%;
}
.main-image{
overflow:hidden;
position:relative;
}
.main-image img{
width:100%;
transition:.35s;
cursor:zoom-in;
}

/* Lightbox / gallery chrome lives in product-gallery.css (enqueued on is_product). */

.product_details{display:flex;}
.product-add-cart{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}
.product-add-cart:hover{
      background: var(--primary);
  color: var(--black);
}
.product-add-cart:hover img {
    filter: brightness(0);
}

.product-wishlist:hover {
  background: var(--black);
  border: 1px solid var(--black);
     border-radius: 0px;
}

.product-wishlist:hover img {
 filter: brightness(0) saturate(100%) invert(78%) sepia(73%) saturate(1100%)
    hue-rotate(358deg) brightness(101%) contrast(95%);
}

.product-add-cart.loading{
    pointer-events:none;
    opacity:.8;
}
.btn-loader{
    display:none;
    width:18px;
    height:18px;
    border:2px solid rgba(255,255,255,.4);
    border-top:2px solid #fff;
    border-radius:50%;
    animation:spin .7s linear infinite;
}
.product-add-cart.loading .btn-loader{
    display:block;
}
.product-add-cart.loading .btn-text{
    opacity:.6;
}
@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}.cart-success{
    position:fixed;
    right:25px;
    bottom:25px;
    background:#1ea54c;
    color:#fff;
    padding:15px 25px;
    border-radius:5px;
    display:none;
    z-index:999999;
}

/* ==========================
   Price range slider

   A single track shared by both handles (not two overlapping native
   range inputs) - each handle is its own absolutely-positioned element
   dragged directly via pointer events (see initPriceRangeSliders() /
   the "pointerdown/move/up" handlers in shop-filter.js), so there's
   never a stacking-order fight between a "min" and "max" control.
========================== */

.price-range-slider {
  padding: 2px 8px 0;
}

.price-range-track {
  position: relative;
  height: 4px;
  margin: 0 2px;
  background: #dfdfdf;
  border-radius: 2px;
}

.price-range-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
}

.price-range-handle {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  transform: translateY(-50%);
  background: var(--primary);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--primary);
  cursor: pointer;
  touch-action: none;
  z-index: 2;
}

.price-range-handle:hover,
.price-range-handle.active {
  box-shadow: 0 0 0 5px rgba(245, 202, 39, 0.25);
}

.price-range-handle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.price-range-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 18px;
  font-size: var(--font-14);
  font-weight: var(--font-weight-500);
  color: var(--black);
}

body.price-range-dragging {
  -webkit-user-select: none;
  user-select: none;
}

.related-products .products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.product-section .main-image img {
    width: 100%;
     height: auto; 
}