/* ==========================================================================
   SaharShop Category V2 — sc-* namespace, loads LAST on category pages
   Beats sahar-inner / sahar-pages category max-width & card conflicts
   ========================================================================== */

body.lang-rtl#category {
  --sc-pink: #f00868;
  --sc-pink-deep: #bd004b;
  --sc-ink: #10182f;
  --sc-muted: #68677c;
  --sc-line: #e9e5f1;
  --sc-bg: #f5f2fc;
  --sc-surface: #ffffff;
  --sc-radius: 20px;
  --sc-shadow: 0 12px 26px rgba(57, 48, 109, 0.06);
  --sc-gap: 24px;
  color: var(--sc-ink);
  background:
    radial-gradient(ellipse at 85% 8%, #f9f0f8, transparent 45%),
    radial-gradient(ellipse at 10% 40%, #f1effb, transparent 55%),
    var(--sc-bg) !important;
}

body.lang-rtl#category #wrapper,
body.lang-rtl#category #content-wrapper,
body.lang-rtl#category #main {
  background: transparent !important;
}

/* Shell — PDP-aligned width, category-only (do not touch other pages) */
body.lang-rtl#category #wrapper.container-fluid,
body.lang-rtl#category #wrapper {
  max-width: none !important;
  padding-inline: 0 !important;
}

body.lang-rtl#category .l-wrapper,
body.lang-rtl#category #wrapper > .l-wrapper {
  width: 95% !important;
  max-width: 1600px !important;
  margin-inline: auto !important;
  padding-inline: clamp(12px, 1.5vw, 28px) !important;
  box-sizing: border-box !important;
}

/* Two-column hero layout */
@media (min-width: 992px) {
  body.lang-rtl#category #wrapper > .l-wrapper > .row,
  body.lang-rtl#category .l-wrapper > .row {
    display: grid !important;
    grid-template-columns: minmax(220px, 23fr) minmax(0, 77fr) !important;
    gap: var(--sc-gap) !important;
    align-items: start !important;
    margin: 0 !important;
    width: 100% !important;
  }

  body.lang-rtl#category #left-column,
  body.lang-rtl#category #content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: unset !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.lang-rtl#category #right-column {
    display: none !important;
  }
}

/* Breadcrumb */
body.lang-rtl#category .breadcrumb {
  width: 95%;
  max-width: 1600px;
  margin: 8px auto 0;
  padding-inline: clamp(12px, 1.5vw, 28px);
  font-size: 12px;
  color: var(--sc-muted);
  background: transparent !important;
}

body.lang-rtl#category .breadcrumb a {
  color: var(--sc-muted);
}

body.lang-rtl#category .breadcrumb .breadcrumb-item.active,
body.lang-rtl#category .breadcrumb [aria-current="page"] {
  color: var(--sc-ink);
  font-weight: 700;
}

/* Sidebar panels */
body.lang-rtl#category #left-column {
  display: grid;
  gap: 22px;
}

body.lang-rtl#category #left-column > .ibanners,
body.lang-rtl#category #left-column .banner,
body.lang-rtl#category #left-column .block-banner {
  display: none !important;
}

body.lang-rtl#category .sc-panel,
body.lang-rtl#category #left-column .block-categories,
body.lang-rtl#category #left-column .sc-panel--filters {
  background: var(--sc-surface) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: var(--sc-radius) !important;
  box-shadow: var(--sc-shadow) !important;
  padding: 18px !important;
  margin: 0 !important;
}

body.lang-rtl#category .sc-panel__title,
body.lang-rtl#category .sc-panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px !important;
  font-weight: 800 !important;
  margin: 0 0 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--sc-line) !important;
  color: var(--sc-ink) !important;
  text-transform: none !important;
}

body.lang-rtl#category .sc-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--sc-pink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Category tree */
body.lang-rtl#category .sc-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.lang-rtl#category .sc-tree--nested {
  padding-right: 12px;
  margin-top: 4px;
}

body.lang-rtl#category .sc-tree__row {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--sc-line);
  padding: 8px 0;
}

body.lang-rtl#category .sc-tree__link {
  flex: 1;
  color: var(--sc-ink) !important;
  font-size: 13px;
  text-decoration: none !important;
  line-height: 1.5;
}

body.lang-rtl#category .sc-tree__item.is-active > .sc-tree__row {
  background: #fce8f2;
  border-radius: 12px;
  padding-inline: 10px;
  border-bottom-color: transparent;
}

body.lang-rtl#category .sc-tree__item.is-active > .sc-tree__row .sc-tree__link {
  color: var(--sc-pink) !important;
  font-weight: 800;
}

body.lang-rtl#category .sc-tree__item.is-current > .sc-tree__row {
  background: #fce8f2;
  border-radius: 12px;
  padding-inline: 10px;
  border-bottom-color: transparent;
}

body.lang-rtl#category .sc-tree__item.is-current > .sc-tree__row .sc-tree__link {
  color: var(--sc-pink) !important;
  font-weight: 800;
}

body.lang-rtl#category .sc-tree-wrap {
  max-height: min(62vh, 560px);
  overflow: auto;
  padding-left: 4px;
  scrollbar-width: thin;
}

body.lang-rtl#category .sc-tree__toggle {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--sc-muted);
  display: grid;
  place-items: center;
  padding: 0;
  flex: none;
}

body.lang-rtl#category .sc-tree__plus::before {
  content: "+";
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

body.lang-rtl#category .sc-tree__item.is-open > .sc-tree__row .sc-tree__plus::before,
body.lang-rtl#category .sc-tree__toggle[aria-expanded="true"] .sc-tree__plus::before {
  content: "−";
}

body.lang-rtl#category .sc-tree--nested .sc-tree__link {
  color: var(--sc-ink);
  font-weight: 600;
  font-size: 12.5px;
}

body.lang-rtl#category .sc-tree__item.is-active > .sc-tree__children .sc-tree__link,
body.lang-rtl#category .sc-tree__item.is-open > .sc-tree__children .sc-tree__link {
  color: var(--sc-pink);
  font-weight: 700;
}

/* Hide legacy tree chrome */
body.lang-rtl#category .block-categories .category-top-menu > li > a.h5 {
  display: none !important;
}

/* Filters */
body.lang-rtl#category #search_filters {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.lang-rtl#category #search_filters .h6,
body.lang-rtl#category #search_filters .text-uppercase.h6 {
  display: none !important;
}

body.lang-rtl#category .sc-facet {
  border-bottom: 1px solid var(--sc-line);
  padding: 12px 0;
  margin: 0;
}

body.lang-rtl#category .sc-facet__title,
body.lang-rtl#category .facet__title {
  font-size: 15px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  color: var(--sc-ink) !important;
}

body.lang-rtl#category .sc-facet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

body.lang-rtl#category .sc-reset,
body.lang-rtl#category .js-search-filters-clear-all.sc-reset {
  width: 100%;
  background: transparent !important;
  border: 1px solid var(--sc-pink) !important;
  color: var(--sc-pink) !important;
  border-radius: 18px !important;
  padding: 8px 12px !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
  box-shadow: none !important;
}

body.lang-rtl#category .sc-swatch .color,
body.lang-rtl#category .custom-color .color {
  width: 27px !important;
  height: 27px !important;
  border-radius: 50% !important;
  border: 1px solid #ddd !important;
  display: inline-block;
}

body.lang-rtl#category .sc-facet__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-around;
}

body.lang-rtl#category .ui-slider .ui-slider-range,
body.lang-rtl#category .ui-widget-header {
  background: var(--sc-pink) !important;
  border-color: var(--sc-pink) !important;
}

body.lang-rtl#category .ui-slider .ui-slider-handle {
  border-color: var(--sc-pink) !important;
  background: #fff !important;
}

/* Banner */
body.lang-rtl#category .sc-banner,
body.lang-rtl#category .block-category.sc-banner,
body.lang-rtl#category .si-cat-banner.sc-banner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 156px;
  padding: 14px 0 14px 0 !important;
  padding-inline-start: 24px !important;
  margin-bottom: 22px !important;
  border-radius: var(--sc-radius) !important;
  border: 1px solid #fff !important;
  background: linear-gradient(105deg, #f9e6f6, #fcf0f7) !important;
  background-image: linear-gradient(105deg, #f9e6f6, #fcf0f7) !important;
  box-shadow: none !important;
  overflow: hidden !important;
  position: relative;
}

body.lang-rtl#category .sc-banner::before,
body.lang-rtl#category .sc-banner::after {
  display: none !important;
  content: none !important;
}

body.lang-rtl#category .sc-banner__copy {
  max-width: 58%;
  z-index: 1;
  padding-block: 8px;
}

body.lang-rtl#category .sc-banner__title,
body.lang-rtl#category .sc-banner h1 {
  font-size: clamp(22px, 1.6vw + 0.8rem, 32px) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  color: var(--sc-ink) !important;
}

body.lang-rtl#category .sc-banner__count {
  font-size: 13px;
  font-weight: 700;
  color: var(--sc-muted);
  margin: 6px 0;
}

body.lang-rtl#category .sc-banner__desc,
body.lang-rtl#category .sc-banner #category-description {
  font-size: 13px !important;
  line-height: 1.9 !important;
  color: var(--sc-muted) !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
}

/* Beat sahar-inner hide of category-cover */
body.lang-rtl#category .sc-banner.si-cat-banner.has-cover .sc-banner__media,
body.lang-rtl#category .sc-banner.si-cat-banner.has-cover .category-cover,
body.lang-rtl#category .sc-banner.si-cat-banner .sc-banner__media,
body.lang-rtl#category .sc-banner.si-cat-banner .category-cover {
  display: block !important;
  width: 42%;
  max-width: 380px;
  align-self: stretch;
  margin: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.lang-rtl#category .sc-banner.si-cat-banner.has-cover .sc-banner__media img,
body.lang-rtl#category .sc-banner.si-cat-banner.has-cover .category-cover img,
body.lang-rtl#category .sc-banner.si-cat-banner .category-cover img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 140px;
  object-fit: cover !important;
  object-position: left center;
  visibility: visible !important;
  opacity: 1 !important;
}

body.lang-rtl#category .sc-banner:not(.has-cover) .sc-banner__copy {
  max-width: 100%;
}

/* Toolbar */
body.lang-rtl#category .sc-toolbar,
body.lang-rtl#category .products-selection.sc-toolbar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--sc-surface) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 16px !important;
  box-shadow: var(--sc-shadow) !important;
  padding: 10px 16px !important;
  margin: 0 0 14px !important;
  font-size: 13px;
  font-weight: 700;
}

body.lang-rtl#category .sc-toolbar__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body.lang-rtl#category .sc-toolbar__sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--sc-line);
  border-radius: 12px;
  padding: 5px 10px;
  margin: 0;
}

body.lang-rtl#category .sc-toolbar__sort .form-inline,
body.lang-rtl#category .sc-toolbar__sort .form-group {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
}

body.lang-rtl#category .sc-sort-label {
  margin: 0 !important;
  font-size: 13px;
  font-weight: 700;
  color: var(--sc-muted);
  white-space: nowrap;
}

body.lang-rtl#category .sc-toolbar__sort .products-sort-order,
body.lang-rtl#category .sc-toolbar__sort .select-title,
body.lang-rtl#category .sc-toolbar__sort select {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-weight: 700;
  min-width: 140px;
}

body.lang-rtl#category .sc-view-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--sc-line);
  border-radius: 10px;
  background: #fff;
  color: #555b70;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

body.lang-rtl#category .sc-view-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

body.lang-rtl#category .sc-view-btn.active {
  background: var(--sc-pink) !important;
  border-color: var(--sc-pink) !important;
  color: #fff !important;
}

body.lang-rtl#category .sc-toolbar__filter-btn,
body.lang-rtl#category .sc-mobile-filterbar {
  display: none;
}

/* Filter CTA — match DS (not classic Bootstrap / browser button) */
body.lang-rtl#category .sc-toolbar__filter-btn,
body.lang-rtl#category .sc-mobile-filterbar .s26-filter-btn,
body.lang-rtl#category .sc-mobile-filterbar .sc-toolbar__filter-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  border: 1px solid #f3c6da !important;
  background: linear-gradient(180deg, #ffffff, #fff5f9) !important;
  color: var(--sc-pink) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: 0 8px 18px rgba(57, 48, 109, 0.07) !important;
  cursor: pointer;
  text-decoration: none !important;
}

body.lang-rtl#category .sc-toolbar__filter-btn:hover,
body.lang-rtl#category .sc-mobile-filterbar .s26-filter-btn:hover,
body.lang-rtl#category .sc-mobile-filterbar .sc-toolbar__filter-btn:hover {
  background: linear-gradient(180deg, #fff7fb, #fce8f2) !important;
  border-color: var(--sc-pink) !important;
}

body.lang-rtl#category .sc-toolbar__filter-btn .material-icons,
body.lang-rtl#category .sc-mobile-filterbar .material-icons {
  font-size: 18px !important;
  color: var(--sc-pink) !important;
  line-height: 1 !important;
}

body.lang-rtl#category .sc-toolbar__filter-btn svg,
body.lang-rtl#category .sc-mobile-filterbar .sc-toolbar__filter-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--sc-pink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

body.lang-rtl#category .sc-mobile-filterbar {
  width: 100%;
}

body.lang-rtl#category .sc-mobile-filterbar .sc-toolbar__filter-btn {
  width: 100%;
}

/* Product grid */
body.lang-rtl#category .sc-grid,
body.lang-rtl#category .np-listing .np-grid.sc-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  padding: 0 !important;
}

body.lang-rtl#category .sc-listing .np-card,
body.lang-rtl#category .np-listing .np-card {
  background: #fff !important;
  border-radius: 20px !important;
  border: 1px solid #ebeaf2 !important;
  box-shadow: var(--sc-shadow) !important;
  height: auto !important;
  overflow: hidden;
}

body.lang-rtl#category .sc-listing .np-card-media {
  position: relative !important;
  aspect-ratio: 1 / 1.05 !important;
  padding: 12px !important;
  background: #faf9fc !important;
  background-image: none !important;
  overflow: hidden !important;
}

body.lang-rtl#category .sc-listing .np-card-media img {
  object-fit: contain !important;
  mix-blend-mode: normal !important;
}

/* Keep ATC over the photo (not in the gap between image and title) */
body.lang-rtl#category .sc-listing .np-card-atc {
  position: absolute !important;
  z-index: 4;
  left: auto !important;
  right: 10px !important;
  bottom: 22% !important;
  margin: 0 !important;
  transform: none !important;
}

@media (max-width: 991.98px) {
  body.lang-rtl#category .sc-listing .np-card-atc {
    opacity: 1 !important;
    pointer-events: auto !important;
    right: 8px !important;
    bottom: 26% !important;
  }

  body.lang-rtl#category .sc-listing .np-card-cart-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }
}

@media (min-width: 992px) {
  body.lang-rtl#category .sc-listing .np-card-atc {
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px) !important;
  }

  body.lang-rtl#category .sc-listing .np-card:hover .np-card-atc,
  body.lang-rtl#category .sc-listing .np-card:focus-within .np-card-atc {
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
  }
}

body.lang-rtl#category .sc-listing .np-card-body {
  padding: 10px 12px 14px !important;
  text-align: center;
}

body.lang-rtl#category .sc-listing .np-product-name {
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  min-height: 0 !important;
  margin: 0 0 6px !important;
  color: var(--sc-ink) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.lang-rtl#category .sc-listing .np-price,
body.lang-rtl#category .sc-listing .price {
  color: var(--sc-pink) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  margin: 0 !important;
}

/* List view (CSS-only, keeps same product links) */
body.lang-rtl#category .sc-grid.is-list,
body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

body.lang-rtl#category .sc-grid.is-list .np-card,
body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list .np-card {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  align-items: center;
  gap: 0 12px;
  text-align: right;
  padding: 10px !important;
  min-height: 0 !important;
}

body.lang-rtl#category .sc-grid.is-list .np-card-media,
body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list .np-card-media {
  width: 112px !important;
  max-width: 112px !important;
  aspect-ratio: 1 !important;
  padding: 6px !important;
  border-radius: 14px !important;
}

body.lang-rtl#category .sc-grid.is-list .np-card-link {
  min-width: 0;
  display: flex;
  align-items: center;
}

body.lang-rtl#category .sc-grid.is-list .np-card-body,
body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list .np-card-body {
  text-align: right !important;
  padding: 4px 4px 4px 0 !important;
  width: 100%;
  min-width: 0;
}

body.lang-rtl#category .sc-grid.is-list .np-product-name,
body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list .np-product-name {
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  margin: 0 0 6px !important;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: right !important;
}

body.lang-rtl#category .sc-grid.is-list .np-price,
body.lang-rtl#category .sc-grid.is-list .price,
body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list .np-price {
  font-size: 15px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  text-align: right !important;
}

/* Keep ATC on the thumbnail only — not over title/price */
body.lang-rtl#category .sc-grid.is-list .np-card-atc {
  right: 6px !important;
  bottom: 6px !important;
  transform: none !important;
}

body.lang-rtl#category .sc-grid.is-list .np-card-cart-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
}

/* Pagination */
body.lang-rtl#category .sc-pagination {
  padding-top: 22px;
}

body.lang-rtl#category .sc-pagination .pagination {
  justify-content: center !important;
  gap: 6px;
}

body.lang-rtl#category .sc-pagination .page-link {
  border-radius: 10px !important;
  border: 1px solid var(--sc-line) !important;
  background: #fff !important;
  color: var(--sc-ink) !important;
  min-width: 38px;
  text-align: center;
}

body.lang-rtl#category .sc-pagination .page-item.active .page-link {
  background: var(--sc-pink) !important;
  border-color: var(--sc-pink) !important;
  color: #fff !important;
}

/* SEO full description below grid */
body.lang-rtl#category .sc-cat-fullseo {
  margin-top: 28px;
  padding: 20px 22px;
  background: #fff;
  border-radius: var(--sc-radius);
  box-shadow: var(--sc-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

body.lang-rtl#category .sc-cat-fullseo__title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
}

body.lang-rtl#category .sc-cat-fullseo__body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--sc-muted);
}

/* Empty */
body.lang-rtl#category .sc-empty {
  text-align: center;
  padding: 40px 24px !important;
  border-radius: var(--sc-radius) !important;
  box-shadow: var(--sc-shadow) !important;
  border: 0 !important;
}

body.lang-rtl#category .sc-empty__title {
  font-size: 20px;
  font-weight: 800;
}

/* Subcats */
body.lang-rtl#category .sc-subcats {
  margin-bottom: 16px;
}

/* Mobile drawer uses existing s26-filter patterns */
@media (max-width: 991.98px) {
  body.lang-rtl#category .sc-mobile-filterbar {
    display: block !important;
    margin-bottom: 12px;
  }

  /* One primary filter CTA — hide duplicate classic toolbar button */
  body.lang-rtl#category .sc-toolbar > .sc-toolbar__tools > .sc-toolbar__filter-btn {
    display: none !important;
  }

  body.lang-rtl#category .sc-mobile-filterbar .sc-toolbar__filter-btn,
  body.lang-rtl#category .sc-mobile-filterbar .s26-filter-btn {
    display: inline-flex !important;
  }

  body.lang-rtl#category #left-column .s26-filter-close {
    appearance: none !important;
    border-radius: 12px !important;
    border: 1px solid #f3c6da !important;
    background: #fff !important;
    color: var(--sc-pink) !important;
    box-shadow: 0 6px 14px rgba(57, 48, 109, 0.06) !important;
  }

  body.lang-rtl#category .sc-grid:not(.is-list),
  body.lang-rtl#category .np-listing .np-grid.sc-grid:not(.is-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.lang-rtl#category .sc-grid.is-list,
  body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.lang-rtl#category .sc-grid.is-list .np-card,
  body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list .np-card {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 0 10px;
    padding: 8px !important;
  }

  body.lang-rtl#category .sc-grid.is-list .np-card-media,
  body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list .np-card-media {
    width: 96px !important;
    max-width: 96px !important;
  }

  body.lang-rtl#category .sc-grid.is-list .np-product-name,
  body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list .np-product-name {
    font-size: 13.5px !important;
    -webkit-line-clamp: 2;
  }

  body.lang-rtl#category .sc-grid.is-list .np-price,
  body.lang-rtl#category .np-listing .np-grid.sc-grid.is-list .np-price {
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  body.lang-rtl#category .sc-grid.is-list .np-card-atc {
    opacity: 1 !important;
    pointer-events: auto !important;
    right: 4px !important;
    bottom: 4px !important;
  }

  body.lang-rtl#category .sc-grid.is-list .np-card-cart-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }

  body.lang-rtl#category .sc-banner {
    min-height: 120px;
    padding-inline-start: 14px !important;
  }

  body.lang-rtl#category .sc-banner__copy {
    max-width: 62%;
  }

  body.lang-rtl#category .sc-banner__title {
    font-size: 21px !important;
  }

  body.lang-rtl#category .sc-banner__media {
    width: 36%;
  }

  body.lang-rtl#category .sc-listing .np-product-name {
    font-size: 13px !important;
  }

  body.lang-rtl#category .sc-listing .np-price {
    font-size: 14px !important;
  }
}

@media (min-width: 992px) and (max-width: 1299.98px) {
  body.lang-rtl#category .sc-grid:not(.is-list),
  body.lang-rtl#category .np-listing .np-grid.sc-grid:not(.is-list) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1450px) {
  body.lang-rtl#category .sc-banner {
    min-height: 180px;
  }
  body.lang-rtl#category .sc-panel {
    padding: 22px !important;
  }
  body.lang-rtl#category .sc-listing .np-product-name {
    font-size: 16px !important;
  }
  body.lang-rtl#category .sc-listing .np-price {
    font-size: 19px !important;
  }
}
