.ajax-loading {
  position: relative;
}

/* ================= RESULT HEADING ================= */

/* Result heading card moved to the shared .result-heading-card class
   in public/css/components.css (used by category/search & cart pages) */

.search-result-label {
  display: inline-block;
  color: var(--color-gray-500);
  font-size: 13px;
  margin-bottom: 6px;
}


.search-result-query {
  margin: 6px 0 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
}

/* ================= CATEGORY BANNER ================= */

.cont-categori .col-12 > a.d-block {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cont-categori .col-12 > a.d-block img {
  display: block;
  width: 100%;
  transition: transform 0.35s ease;
}

.cont-categori .col-12 > a.d-block:hover img {
  transform: scale(1.02);
}

/* ================= CHILD CATEGORIES CAROUSEL ================= */

.owl-pro1 .item {
  padding: 4px;
}

.owl-pro1 .thumbnail {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 10px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.owl-pro1 .thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color-dark) 8%, transparent);
  border-color: var(--color-border-tan);
}

.owl-pro1 .thumbnail p {
  order: 2;
  margin: 10px 0 0;
}

.owl-pro1 .thumbnail p a span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.owl-pro1 .thumbnail:hover p a span {
  color: var(--color-primary);
}

.owl-pro1 .img-pro-cat {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
}

.owl-pro1 .img-pro-cat img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.owl-pro1 .owl-nav button {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white) !important;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--color-black) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-800) !important;
  font-size: 13px;
}

.owl-pro1 .owl-nav .owl-prev {
  right: -10px;
}

.owl-pro1 .owl-nav .owl-next {
  left: -10px;
}

.owl-pro1 .owl-dots {
  text-align: center;
  margin-top: 10px;
}

.owl-pro1 .owl-dot span {
  width: 6px;
  height: 6px;
  margin: 0 3px;
  background: var(--color-gray-300);
  border-radius: 50%;
  display: block;
}

.owl-pro1 .owl-dot.active span {
  background: var(--color-primary);
}

/* ================= LAYOUT ================= */

/* the rest of the site centers content with `.container` (width:94%, see template.css);
   this page uses `.container-fluid` instead, which has no real side gutter — match it here
   so the filter/product area isn't flush against the viewport edges */
.cont-categori {
  width: 94%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.filter-category {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-category > li.filter-item {
  flex: 0 0 280px;
  width: 280px;
}

.filter-category > li.category-container {
  flex: 1;
  min-width: 0;
}

@media (max-width: 991.98px) {
  .filter-category {
    flex-direction: column;
  }

  .filter-category > li.filter-item {
    width: 100%;
    flex: 1 1 auto;
  }
}

/* ================= FILTER PANEL ================= */

.filter-box {
  margin: 0;
}

.accordion-section .panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-section .panel-heading {
  padding: 10px 14px;
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--color-border);
}

.accordion-section .panel-heading .panel-title ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  margin: 0;
}

.accordion-section .panel-heading .panel-title ul > li > a {
  display: block;
}

.sort-option .center {
  display: flex;
}

@media (min-width: 992px) {
  .sort-option {
    display: none;
  }
}

/* close bar (mobile filter panel) */

.close-box-fiter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
}

.close-flter {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 50%;
  background: var(--color-white) !important;
  cursor: pointer;
  margin-right: auto;
}

.close-flter .action-button {
  color: var(--color-gray-600);
  font-size: 13px;
}

.panel-body {
  padding: 14px;
}

.filter_pannel > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter_pannel > ul > li.block {
  border-top: 1px solid var(--color-border);
  padding: 14px 0;
}

.filter_pannel > ul > li.block:first-child {
  border-top: 0;
  padding-top: 0;
}

/* ================= CATEGORY FILTER (tree) ================= */



.cat-filter-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-dark);
}

.main-categori,
.categori-name > ul,
.categori-name ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.categori-name {
  padding: 0 10px;
}

.categori-name > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  padding: 6px 0;
}

.categori-name > ul > li > a i {
  color: var(--color-primary);
  font-size: 11px;
}

.categori-name > ul > li > a:hover {
  color: var(--color-primary);
}

.c-catalog__list--depth {
  list-style: none;
  margin: 6px 0 0;
  padding: 0 0 0 0;
}

.c-catalog__list--depth li {
  padding: 5px 0;
}

.c-catalog__list--depth li a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--color-gray-550);
  transition: color 0.2s ease;
}

.c-catalog__list--depth li a i {
  color: var(--color-gray-400);
  font-size: 10px;
}

.c-catalog__list--depth li a:hover {
  color: var(--color-primary);
}

.c-catalog__list--depth li.more {
  margin-top: 6px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.c-catalog__list--depth li.more:hover {
  text-decoration: underline;
}

/* filter section toggle (checkbox-driven accordions) */

.cat-filter > input[type="checkbox"] {
  display: none;
}

.cat-filter > .filter-cation {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-dark);
  padding-right: 22px;
}

.cat-filter > .filter-cation::before {
  content: "\f107";
  font-family: var(--fa-family-active-light);
  font-weight: var(--fa-weight-active-light);
  position: absolute;
  right: 0;
  top: 1px;
  color: var(--color-gray-500);
  font-size: 13px;
  transition: transform 0.2s ease;
}

.cat-filter > input:checked ~ .filter-cation::before {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.cat-filter > .options,
.cat-filter > .input-quick-search {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.cat-filter > input:checked ~ .options,
.cat-filter > input:checked ~ .input-quick-search {
  max-height: 600px;
  margin-top: 10px;
}

/* quick search inside sidebar */

.input-quick-search {
  overflow: visible;
}

.input-quick-search .input-field {
  width: 100%;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--color-dark);
  background: var(--color-gray-100);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.input-quick-search .input-field:focus {
  background: var(--color-white);
  border-color: var(--color-primary);
}

/* stock availability switch */

.c-ui-statusswitcher {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  cursor: pointer;
}

.c-ui-statusswitcher input {
  display: none;
}

.c-ui-statusswitcher__slider {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  background: var(--color-gray-250);
  border-radius: var(--radius-pill);
  transition: background 0.2s ease;
}

.c-ui-statusswitcher__slider__toggle {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 1px 4px color-mix(in srgb, var(--color-black) 25%, transparent);
  transition: right 0.2s ease;
}

.c-ui-statusswitcher input:checked + .c-ui-statusswitcher__slider {
  background: var(--color-primary);
}

.c-ui-statusswitcher input:checked + .c-ui-statusswitcher__slider .c-ui-statusswitcher__slider__toggle {
  right: 18px;
}

li.cat-filter > .status {
  margin-right: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  vertical-align: middle;
}

/* brand / attribute / option checkbox lists */

.options .li-item {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
}

.options .li-item > li + li {
  margin-top: 4px;
}

.checkbox-icon.customradio {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 30px 8px 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-dark);
  cursor: pointer;
  transition: background 0.2s ease;
}

.checkbox-icon.customradio:hover {
  background: var(--color-gray-50);
}

.checkbox-icon.customradio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-icon.customradio .checkmark {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  border: 1px solid var(--color-gray-400);
  border-radius: 5px;
  background: var(--color-white);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.checkbox-icon.customradio .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  right: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-icon.customradio input:checked ~ .checkmark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-icon.customradio input:checked ~ .checkmark::after {
  display: block;
}

/* radio-style variant used in the sort modal */

.radio.radio-primary .checkbox-icon.customradio .checkmark {
  border-radius: 50%;
}

.radio.radio-primary .checkbox-icon.customradio .checkmark::after {
  left: 50%;
  top: 50%;
  right: auto;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--color-white);
  transform: translate(-50%, -50%) rotate(0deg);
}

.radiotextsty {
  font-size: 13px;
  color: var(--color-dark);
}

.logo-brand {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: var(--color-gray-100);
  overflow: hidden;
}

.logo-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.name-factur {
  flex: 1;
}

/* price range */

.price-filter-options {
  padding: 0 10px;
}

.cost-rang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.cost-rang li {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 6px;
}

.cost-rang .lbl-prise,
.cost-rang p {
  margin: 0;
  font-size: 12px;
  color: var(--color-gray-500);
  white-space: nowrap;
  flex-shrink: 0;
}

.cost-rang input {
  width: 100%;
  min-width: 0;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0 6px;
  font-size: 12px;
  font-family: inherit;
  text-align: center;
  color: var(--color-dark);
  background: var(--color-gray-100);
  box-sizing: border-box;
}

.cost-rang input::-webkit-outer-spin-button,
.cost-rang input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cost-rang input[type="number"] {
  -moz-appearance: textfield;
}

/* noUiSlider theming */

#double-handle-slider.noUi-target {
  margin: 26px 4px 6px;
  height: 5px;
  border: 0;
  background: var(--color-gray-200);
  box-shadow: none;
}

#double-handle-slider .noUi-connect {
  background: var(--color-primary);
}

#double-handle-slider .noUi-handle {
  width: 16px;
  height: 16px;
  left: -8px;
  top: -6px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--color-black) 15%, transparent);
  cursor: pointer;
}

#double-handle-slider .noUi-handle::before,
#double-handle-slider .noUi-handle::after {
  display: none;
}

#double-handle-slider .noUi-tooltip {
  border: 0;
  border-radius: var(--radius-xs);
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 11px;
  padding: 3px 8px;
}

/* mCustomScrollbar theming */

.scroll .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background: var(--color-primary) !important;
}

.scroll .mCSB_scrollTools .mCSB_draggerRail {
  background: var(--color-gray-200) !important;
}

/* ================= PRODUCT LIST HEADER ================= */

.row-sort-top {
  margin-bottom: 16px;
}

.row-sort-top .icon-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gray-500);
  padding: 0 8px;
}

.row-sort-top .icon-sort span::before {
  content: "\f0dc";
  font-family: var(--fa-family-active-light);
  font-weight: var(--fa-weight-active-light);
  color: var(--color-primary);
}

.sort_label {
  position: relative;
  cursor: pointer;
}

.sort_label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sort_label span {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gray-600);
  padding: 8px 14px;
  border-radius: var(--radius-xl);
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.sort_label input:checked + span {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ================= PRODUCT GRID ================= */

.row-list-item {
  margin: 0 -8px;
}

.row-list-item > [class*="col-"] {
  margin-bottom: 16px;
}

/* Card look comes from core/layout.css (shared with the home carousels);
   only grid sizing lives here so cards in a row line up. */
.item.item-pro {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.item.item-pro .item-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item.item-pro .img-pro {
  width: 100%;
}

.item.item-pro .img-pro img {
  max-height: 170px;
  object-fit: contain;
}

.item.item-pro .name-col {
  margin-top: auto;
}

/* ================= EMPTY STATE ================= */

.search-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--color-gray-500);
  text-align: center;
  background: var(--color-gray-50);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

.search-empty-state i {
  font-size: 40px;
  color: var(--color-gray-300);
}

.search-empty-state span {
  font-size: 14px;
  font-weight: 600;
}

/* ================= PAGINATION =================
   Was a competing bordered-square design here; standardized on the
   pill-shaped pagination that's already the site default — see
   custom-bootstrap.css .pagination / .page-link. */

/* ================= CATEGORY / BRAND DESCRIPTION ================= */

.cat-desc-content {
  margin-top: 10px;
}

/* ================= SORT MODAL ================= */

/* .modal-content radius/border/shadow now global — see custom-bootstrap.css */

#sortModal .modal-body {
  padding: 20px;
}

.sort-caption {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-dark);
}

#sortModal .radio.radio-primary {
  border-bottom: 1px solid var(--color-border);
}

#sortModal .radio.radio-primary:last-child {
  border-bottom: 0;
}

#sortModal .checkbox-icon.customradio {
  justify-content: space-between;
  padding: 12px 30px 12px 8px;
}

#sortModal .modal-footer {
  padding: 14px 20px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 767.98px) {
  .filter-item {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 2200;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 -8px 24px color-mix(in srgb, var(--color-black) 15%, transparent);
  }

  .accordion-section .panel {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .item.item-pro .item-img {
    height: 130px;
  }

  .item.item-pro .img-pro img {
    max-height: 120px;
  }
}

@media (max-width: 575.98px) {
  .cost-total {
    font-size: 13px;
  }
}





/* Prose styling for WYSIWYG output now lives in the shared .editor-content
   class (public/css/editor-content.css, loaded globally). */