/* =========================================================
   Prestanaut - category page only
   Scoped to .page-category to avoid touching other listings.
   ========================================================= */

.page-category {
  --cat-radius: 8px;
  --cat-radius-lg: 14px;
  --cat-surface-3: #1c2028;
  --cat-border-3: rgba(255, 255, 255, 0.18);
}

#category #wrapper > .container {
  width: min(calc(100% - 48px), 1520px);
  max-width: 1520px;
}

#category .breadcrumb {
  margin: 0 0 30px;
  padding: 24px 0 0;
  background: none;
  border: 0;
}

#category .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#category .breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

#category .breadcrumb li + li::before {
  content: "›";
  margin-right: 10px;
  color: var(--muted2);
}

#category .breadcrumb a,
#category .breadcrumb span {
  color: inherit;
}

/* Hero */
.page-category .cat-hero {
  margin: 0 0 22px;
  padding: 0;
}

.page-category .cat-hero-inner {
  position: relative;
  overflow: hidden;
  padding: 40px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.page-category .cat-hero-bg,
.page-category .cat-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-category .cat-hero-bg {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(91, 227, 160, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(61, 201, 255, 0.05) 0%, transparent 50%);
}

.page-category .cat-hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-category .cat-hero-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
}

.page-category .cat-hero-icon {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(91, 227, 160, 0.08);
  border: 1px solid rgba(91, 227, 160, 0.18);
  border-radius: 20px;
  font-size: 34px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.page-category .cat-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-category .cat-hero-text {
  flex: 1;
  min-width: 0;
}

.page-category .cat-hero-label {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.page-category .cat-hero-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.9px;
  line-height: 1.08;
}

.page-category .cat-hero-desc,
.page-category .cat-hero-desc > * {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.page-category .cat-hero-desc {
  max-width: 760px;
}

.page-category .cat-hero-desc p:last-child {
  margin-bottom: 0;
}

.page-category .cat-hero-stats {
  display: flex;
  flex-shrink: 0;
  gap: 34px;
  padding-left: 34px;
  border-left: 1px solid var(--border2);
}

.page-category .cstat {
  text-align: center;
}

.page-category .cstat-val {
  color: var(--text);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.page-category .cstat-val.green {
  color: var(--accent);
}

.page-category .cstat-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

/* Subcategory chips */
.page-category .subcat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
}

.page-category .subcat-chip {
  display: inline-block;
  padding: 12px 22px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.page-category .subcat-chip:hover,
.page-category .subcat-chip:focus {
  color: var(--accent);
  background: var(--tag-bg);
  border-color: rgba(91, 227, 160, 0.4);
  text-decoration: none;
}

.page-category .subcat-chip.active {
  color: var(--accent);
  background: var(--tag-bg);
  border-color: rgba(91, 227, 160, 0.35);
}

/* Left column and facets */
.page-category #left-column,
#left-column.page-category {
  padding: 0 16px 0 0;
}

.page-category #content-wrapper,
#content-wrapper.page-category {
  padding-left: 16px;
}

.page-category #left-column .block-categories,
#left-column.page-category .block-categories {
  display: none;
}

.page-category #search_filters_wrapper {
  padding: 0;
  background: none;
  border: 0;
}

.page-category .cat-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-category .cat-sidebar .sidebar-top {
  display: none;
}

.page-category .cat-sidebar .sidebar-block {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.page-category .cat-sidebar .sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}

.page-category .cat-sidebar .sidebar-header-title {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.page-category .cat-sidebar .sidebar-header-arrow {
  color: var(--muted);
  font-size: 10px;
  transition: transform 0.2s;
}

.page-category .cat-sidebar .sidebar-header.open .sidebar-header-arrow {
  transform: rotate(180deg);
}

.page-category .cat-sidebar .sidebar-body,
.page-category .cat-sidebar ul.sidebar-body {
  margin: 0;
  padding: 16px 18px;
  list-style: none;
}

.page-category .cat-sidebar .sidebar-body.collapse:not(.in) {
  display: none;
}

.page-category .cat-sidebar .filter-item,
.page-category .cat-sidebar .sidebar-body > li {
  display: block;
  padding: 0;
  border-radius: 6px;
  transition: background 0.12s;
}

.page-category .cat-sidebar .filter-item:hover,
.page-category .cat-sidebar .sidebar-body > li:hover {
  background: var(--surface2);
}

.page-category .cat-sidebar .facet-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 11px 8px;
  cursor: pointer;
}

.page-category .cat-sidebar .custom-checkbox,
.page-category .cat-sidebar .custom-radio {
  position: relative;
  flex-shrink: 0;
}

.page-category .cat-sidebar .custom-checkbox input,
.page-category .cat-sidebar .custom-radio input {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.page-category .cat-sidebar .filter-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--surface2);
  border: 1px solid var(--cat-border-3);
  border-radius: 4px;
  transition: background 0.15s, border-color 0.15s;
}

.page-category .cat-sidebar .custom-radio .filter-check {
  border-radius: 50%;
}

.page-category .cat-sidebar .custom-checkbox input:checked + .filter-check,
.page-category .cat-sidebar .custom-radio input:checked + .filter-check,
.page-category .cat-sidebar .filter-check.checked {
  background: var(--accent);
  border-color: var(--accent);
}

.page-category .cat-sidebar .custom-checkbox input:checked + .filter-check::after,
.page-category .cat-sidebar .custom-radio input:checked + .filter-check::after,
.page-category .cat-sidebar .filter-check.checked::after {
  content: "\2713";
  color: #000;
  font-size: 10px;
  font-weight: 800;
}

.page-category .cat-sidebar .filter-label {
  flex: 1;
  color: var(--muted);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.12s;
}

.page-category .cat-sidebar .filter-item:hover .filter-label,
.page-category .cat-sidebar .sidebar-body > li:hover .filter-label {
  color: var(--text);
}

.page-category .cat-sidebar li.active .filter-label {
  color: var(--accent);
}

.page-category .cat-sidebar .filter-count,
.page-category .cat-sidebar .magnitude {
  min-width: 34px;
  padding: 4px 10px;
  background: var(--cat-surface-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted2);
  font-size: 13px;
  text-align: center;
}

.page-category .cat-sidebar .clear-all-wrapper {
  margin-top: 4px;
}

.page-category .cat-sidebar .clear-filters,
.page-category .cat-sidebar .js-search-filters-clear-all {
  width: 100%;
  padding: 9px;
  background: none;
  border: 1px solid var(--border2);
  border-radius: var(--cat-radius);
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.page-category .cat-sidebar .clear-filters:hover,
.page-category .cat-sidebar .clear-filters:focus,
.page-category .cat-sidebar .js-search-filters-clear-all:hover,
.page-category .cat-sidebar .js-search-filters-clear-all:focus {
  color: var(--accent3);
  border-color: rgba(255, 107, 107, 0.4);
}

.page-category .cat-sidebar .color {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  background-size: cover;
}

.page-category .cat-sidebar .facet-dropdown {
  width: 100%;
}

.page-category .cat-sidebar .facet-dropdown .select-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--cat-radius);
  color: var(--text);
  text-decoration: none;
}

.page-category .cat-sidebar .facet-dropdown .dropdown-menu {
  min-width: 100%;
  margin-top: 8px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--cat-radius);
}

.page-category .cat-sidebar .facet-dropdown .select-list {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.12s, background 0.12s;
}

.page-category .cat-sidebar .facet-dropdown .select-list:hover,
.page-category .cat-sidebar .facet-dropdown .select-list:focus {
  color: var(--accent);
  background: var(--surface2);
}

.page-category .cat-sidebar .facet--slider .filter-item:hover {
  background: transparent;
}

.page-category .cat-sidebar .facet--slider .facet-label {
  padding-top: 0;
  padding-bottom: 0;
}

.page-category .cat-sidebar .facet--slider .filter-count {
  display: none;
}

.page-category .cat-sidebar .ui-slider {
  position: relative;
  height: 4px;
  margin: 12px 6px 18px;
  background: var(--cat-surface-3);
  border: 0;
  border-radius: 999px;
}

.page-category .cat-sidebar .ui-slider .ui-slider-range {
  position: absolute;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.page-category .cat-sidebar .ui-slider .ui-slider-handle {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  margin-left: -7px;
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(91, 227, 160, 0.12);
  cursor: pointer;
}

.page-category .cat-sidebar .ui-slider .ui-slider-handle:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(91, 227, 160, 0.18);
}

/* Toolbar */
.page-category .cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
}

.page-category .cat-toolbar .total-count {
  flex: 1;
  color: var(--muted);
  font-size: 18px;
}

.page-category .cat-toolbar .total-count strong {
  color: var(--text);
  font-weight: 700;
}

.page-category .sort-wrap {
  position: relative;
  margin-left: auto;
}

.page-category .sort-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.page-category .sort-select:focus,
.page-category .sort-select[aria-expanded="true"] {
  outline: none;
  border-color: rgba(91, 227, 160, 0.4);
}

.page-category .sort-select .sort-arrow {
  color: var(--muted);
  font-size: 10px;
}

.page-category .sort-wrap .dropdown-menu {
  min-width: 220px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--cat-radius);
}

.page-category .sort-wrap .dropdown-menu .select-list {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.12s, background 0.12s;
}

.page-category .sort-wrap .dropdown-menu .select-list:hover,
.page-category .sort-wrap .dropdown-menu .select-list:focus,
.page-category .sort-wrap .dropdown-menu .select-list.current {
  color: var(--accent);
  background: var(--surface2);
}

.page-category .view-toggle {
  display: inline-flex;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.page-category .view-toggle .view-btn {
  width: 50px;
  height: 50px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.page-category .view-toggle .view-btn.active,
.page-category .view-toggle .view-btn:hover,
.page-category .view-toggle .view-btn:focus {
  color: var(--accent);
  background: var(--cat-surface-3);
}

.page-category .btn-filter-mobile {
  display: none;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--cat-radius);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

/* Active filters */
.page-category #js-active-search-filters.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  background: none;
  border: 0;
}

.page-category #js-active-search-filters.hide {
  display: none;
}

.page-category #js-active-search-filters .active-filters-label {
  color: var(--muted);
  font-size: 15px;
}

.page-category #js-active-search-filters .active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--tag-bg);
  border: 1px solid rgba(91, 227, 160, 0.2);
  border-radius: 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.page-category #js-active-search-filters .active-filter-tag:hover,
.page-category #js-active-search-filters .active-filter-tag:focus {
  opacity: 0.75;
}

.page-category #js-active-search-filters .active-filter-tag span {
  font-size: 14px;
  line-height: 1;
}

/* Product grid overrides for category page */
#content-wrapper.page-category #products #js-product-list .products.products-card-grid.product-grid,
#content-wrapper.page-category .products.products-card-grid.product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
  margin: 0 0 32px;
  align-items: stretch;
}

#content-wrapper.page-category .products.products-card-grid.product-grid > .js-product {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

#content-wrapper.page-category .products.products-card-grid.product-grid > .js-product:nth-child(n + 10) {
  display: flex;
}

.page-category .product-card,
.page-category .product-card .card-shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
}

.page-category .product-card .card-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 23, 31, 0.98) 0%, rgba(14, 17, 24, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-category .product-card:hover .card-shell {
  transform: translateY(-4px);
  border-color: rgba(91, 227, 160, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.page-category .product-card .thumbnail-container:hover .product-description::after,
.page-category .product-card .thumbnail-container:focus .product-description::after,
.page-category .product-card .card-img-wrap::after {
  display: none;
  content: none;
}

.page-category .product-card .card-img-wrap {
  position: relative;
  min-height: 270px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(24, 27, 37, 0.92) 0%, rgba(20, 23, 31, 0.94) 100%);
}

.page-category .product-card .card-img-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(91, 227, 160, 0.1), transparent 35%),
    radial-gradient(circle at 80% 25%, rgba(61, 201, 255, 0.1), transparent 34%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 66px 66px, 66px 66px;
  opacity: 0.9;
}

.page-category .product-card .card-media-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
}

.page-category .product-card .thumbnail.product-thumbnail {
  width: auto;
  height: auto;
  position: relative;
  z-index: 1;
}

.page-category .product-card .card-media,
.page-category .product-card .thumbnail.product-thumbnail img.card-media {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.34));
}

.page-category .product-card .card-media-fallback {
  position: relative;
  z-index: 1;
  font-size: 58px;
}

.page-category .product-card .card-flags {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-category .product-card .card-flag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.page-category .product-card .card-flag--new {
  background: rgba(91, 227, 160, 0.12);
  border-color: rgba(91, 227, 160, 0.24);
  color: var(--accent);
}

.page-category .product-card .card-flag--on-sale,
.page-category .product-card .card-flag--discount {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.24);
  color: var(--accent3);
}

.page-category .product-card .card-flag--pack,
.page-category .product-card .card-flag--variants {
  background: rgba(61, 201, 255, 0.12);
  border-color: rgba(61, 201, 255, 0.2);
  color: var(--accent2);
}

.page-category .product-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
  background: rgba(15, 18, 24, 0.96);
}

.page-category .product-card .card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-category .product-card .card-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.page-category .product-card .card-cat--accent {
  background: rgba(91, 227, 160, 0.08);
  border-color: rgba(91, 227, 160, 0.14);
  color: var(--accent);
}

.page-category .product-card .card-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.24;
  text-align: left;
}

.page-category .product-card .card-title a {
  color: inherit;
  text-decoration: none;
}

.page-category .product-card .card-desc {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.page-category .product-card .comments_note,
.page-category .product-card .star_content,
.page-category .product-card .product-list-reviews {
  display: none;
}

.page-category .product-card .card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.page-category .product-card .card-price-row,
.page-category .product-card .product-price-and-shipping {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
}

.page-category .product-card .product-price-and-shipping {
  font-family: "Syne", sans-serif;
}

.page-category .product-card .product-price-and-shipping .price {
  color: var(--accent);
  font-size: 24px;
  font-weight: 800;
}

.page-category .product-card .product-price-and-shipping .regular-price {
  margin: 0;
  color: var(--muted2);
  font-size: 13px;
  text-decoration: line-through;
}

.page-category .product-card .card-footer form {
  margin: 0;
}

.page-category .product-card .card-footer .btn-buy {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #07110c;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.page-category .product-card .card-footer .btn-buy--variants {
  background: transparent;
  border: 1px solid rgba(91, 227, 160, 0.24);
  color: var(--accent);
}

.page-category .product-grid.list-view {
  grid-template-columns: 1fr !important;
}

.page-category .product-grid.list-view .card-shell {
  flex-direction: row;
}

.page-category .product-grid.list-view .card-img-wrap {
  flex-shrink: 0;
  width: 260px;
  min-width: 260px;
  min-height: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 0;
}

.page-category .product-grid.list-view .card-body {
  flex: 1;
  padding: 22px;
}

/* Pagination */
.page-category #products .pagination,
.page-category .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 0;
  padding: 0;
  background: none;
}

.page-category #products .pagination .col-md-4 {
  display: none;
}

.page-category #products .pagination .col-md-6,
.page-category .pagination > div {
  flex: none;
  margin: 0;
  padding: 0;
}

.page-category .pagination .page-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-category .pagination .page-list li {
  display: inline-flex;
}

.page-category .pagination .page-list a,
.page-category .pagination .page-list .spacer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--cat-radius);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.page-category .pagination .page-list a:hover,
.page-category .pagination .page-list a:focus {
  color: var(--accent);
  background: var(--tag-bg);
  border-color: rgba(91, 227, 160, 0.4);
}

.page-category .pagination .page-list .current a {
  color: #000;
  background: var(--accent);
  border-color: var(--accent);
}

.page-category .pagination .page-list a.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-category .pagination .page-list .previous,
.page-category .pagination .page-list .next {
  padding: 0 14px;
}

.page-category .pagination .page-list .material-icons {
  font-size: 16px;
  line-height: 1;
}

/* Footer SEO block */
.page-category #js-product-list-footer .card {
  margin-top: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--cat-radius-lg);
  box-shadow: none;
}

.page-category #js-product-list-footer .card-block {
  padding: 24px;
}

.page-category #js-product-list-footer .category-additional-description,
.page-category #js-product-list-footer .category-additional-description p,
.page-category #js-product-list-footer .category-additional-description li {
  color: var(--text);
}

/* Responsive */
@media (max-width: 1199px) {
  #content-wrapper.page-category #products #js-product-list .products.products-card-grid.product-grid,
  #content-wrapper.page-category .products.products-card-grid.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .page-category #left-column,
  #left-column.page-category {
    padding-right: 0;
  }

  .page-category #content-wrapper,
  #content-wrapper.page-category {
    padding-left: 15px;
  }

  .page-category .cat-hero-stats {
    display: none;
  }

  .page-category .cat-sidebar {
    position: static;
  }

  .page-category .btn-filter-mobile {
    display: inline-block;
  }

  .page-category .sort-wrap {
    margin-left: 0;
  }

  #left-column.page-category #search_filters_wrapper {
    margin-right: 0;
    margin-left: 0;
  }

  #left-column.page-category #search_filters {
    padding: 0;
    margin-bottom: 0;
    border-top: 0;
    box-shadow: none;
  }

  #left-column.page-category #search_filters .facet {
    padding-top: 0;
    border-bottom: 0;
  }

  #left-column.page-category #search_filters .facet ul.sidebar-body > li {
    padding: 0;
    border-top: 0;
  }
}

@media (max-width: 767px) {
  #content-wrapper.page-category #products #js-product-list .products.products-card-grid.product-grid,
  #content-wrapper.page-category .products.products-card-grid.product-grid {
    grid-template-columns: 1fr;
  }

  .page-category .cat-hero-inner {
    padding: 26px 24px;
  }

  .page-category .cat-hero-title {
    font-size: 30px;
  }

  .page-category .cat-hero-content {
    flex-wrap: wrap;
    gap: 16px;
  }

  .page-category .cat-toolbar {
    gap: 8px;
  }

  .page-category .product-grid.list-view .card-shell {
    flex-direction: column;
  }

  .page-category .product-grid.list-view .card-img-wrap {
    width: 100%;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .page-category .product-grid.list-view .card-body {
    padding: 18px 16px;
  }
}

/* Final category visual alignment */
#category #wrapper > .container {
  width: min(calc(100% - 56px), 1280px);
  max-width: 1280px;
}

#category #main {
  width: 100%;
}

#content-wrapper.page-category.left-column,
#content-wrapper.page-category {
  padding-left: 0;
}

#left-column.page-category {
  padding-right: 24px;
}

#content-wrapper.page-category #products,
#content-wrapper.page-category #js-product-list {
  width: 100%;
}

#content-wrapper.page-category .product-grid.row {
  margin-left: 0;
  margin-right: 0;
}

#content-wrapper.page-category #products #js-product-list .products.products-card-grid.product-grid,
#content-wrapper.page-category .products.products-card-grid.product-grid {
  gap: 24px;
  margin: 0;
}

.page-category .cat-hero {
  margin: 0 0 24px;
}

.page-category .cat-hero-inner {
  padding: 32px 36px;
  border-radius: 18px;
}

.page-category .cat-hero-content {
  gap: 28px;
  align-items: center;
}

.page-category .cat-hero-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
}

.page-category .cat-hero-title {
  font-size: clamp(2.125rem, 3vw, 3.5rem);
}

.page-category .cat-hero-desc {
  max-width: 720px;
}

.page-category .cat-hero-stats {
  gap: 28px;
  padding-left: 28px;
}

.page-category .cstat-val {
  font-size: 24px;
}

.page-category .subcat-row {
  gap: 10px;
  margin: 0 0 28px;
}

.page-category .subcat-chip {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
}

.page-category .cat-sidebar {
  top: 84px;
  gap: 16px;
}

.page-category .cat-sidebar .sidebar-block {
  border-radius: 18px;
}

.page-category .cat-sidebar .sidebar-header {
  padding: 18px 20px;
}

.page-category .cat-sidebar .sidebar-header-title {
  font-size: 15px;
}

.page-category .cat-sidebar .sidebar-body,
.page-category .cat-sidebar ul.sidebar-body {
  padding: 14px 16px;
}

.page-category .cat-sidebar .facet-label {
  padding: 10px 6px;
}

.page-category .cat-sidebar .filter-label {
  font-size: 14px;
}

.page-category .cat-sidebar .filter-count,
.page-category .cat-sidebar .magnitude {
  min-width: 32px;
  font-size: 12px;
}

.page-category .cat-toolbar {
  gap: 14px;
  margin: 0 0 18px;
}

.page-category .cat-toolbar .total-count {
  font-size: 15px;
}

.page-category .sort-select {
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 14px;
}

.page-category .sort-wrap .dropdown-menu {
  border-radius: 12px;
}

.page-category .view-toggle {
  border-radius: 12px;
}

.page-category .view-toggle .view-btn {
  width: 48px;
  height: 48px;
}

.page-category #js-active-search-filters.active-filters {
  gap: 8px;
  margin: 0 0 20px;
}

.page-category #js-active-search-filters .active-filters-label {
  font-size: 13px;
}

.page-category #js-active-search-filters .active-filter-tag {
  padding: 5px 12px;
  font-size: 12px;
}

.page-category .product-card .card-shell {
  border-radius: 18px;
  background: var(--surface);
  box-shadow: none;
}

.page-category .product-card:hover .card-shell {
  transform: translateY(-2px);
  border-color: rgba(91, 227, 160, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.page-category .product-card .card-img-wrap {
  min-height: 270px;
  padding: 0;
  background: var(--surface2);
}

.page-category .product-card .card-img-bg {
  opacity: 1;
  background-size: auto;
}

.page-category .product-card .card-img-bg--tone-0 {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(91, 227, 160, 0.12), transparent 60%),
    linear-gradient(135deg, #101218, #161921);
}

.page-category .product-card .card-img-bg--tone-1 {
  background:
    radial-gradient(ellipse at 60% 40%, rgba(61, 201, 255, 0.1), transparent 60%),
    linear-gradient(135deg, #101218, #161921);
}

.page-category .product-card .card-img-bg--tone-2 {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.1), transparent 60%),
    linear-gradient(135deg, #101218, #1a1c22);
}

.page-category .product-card .thumbnail-top::after {
  display: none;
}

.page-category .product-card .card-media-wrap {
  min-height: 270px;
  padding: 28px;
}

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

.page-category .product-card .card-media,
.page-category .product-card .thumbnail.product-thumbnail img.card-media {
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

.page-category .product-card .card-media-fallback {
  font-size: 42px;
}

.page-category .product-card .card-flags {
  top: 14px;
  left: 14px;
  right: 14px;
  gap: 6px;
}

.page-category .product-card .card-flag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.page-category .product-card .card-btn-form {
  margin: 0;
}

.page-category .product-card .card-btn,
.page-category .product-card .card-btn-form .card-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, background 0.15s;
}

.page-category .product-card .card-btn:hover,
.page-category .product-card .card-btn:focus {
  background: #4cd490;
  color: #000;
  text-decoration: none;
}

.page-category .product-card:hover .card-btn,
.page-category .product-card:hover .card-btn-form .card-btn {
  opacity: 1;
  transform: translateY(0);
}

.page-category .product-card .card-body {
  padding: 16px;
  background: var(--surface);
}

.page-category .product-card .card-cats {
  gap: 5px;
  margin-bottom: 10px;
}

.page-category .product-card .card-cat {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface2);
  font-size: 11px;
  letter-spacing: 0.2px;
}

.page-category .product-card .card-title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

.page-category .product-card .card-desc {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

.page-category .product-card .card-reviews,
.page-category .product-card .card-reviews * {
  display: none !important;
}

.page-category .product-card .card-footer {
  gap: 8px;
  padding-top: 12px;
}

.page-category .product-card .card-price-row,
.page-category .product-card .product-price-and-shipping {
  gap: 0;
}

.page-category .product-card .product-price-and-shipping .price {
  font-size: 18px;
}

.page-category .product-card .product-price-and-shipping .regular-price {
  margin-bottom: 2px;
  font-size: 12px;
}

.page-category .product-card .card-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.page-category .product-card .card-meta--link:hover,
.page-category .product-card .card-meta--link:focus {
  color: var(--accent);
  text-decoration: none;
}

.page-category .product-card .card-meta--accent {
  color: var(--accent);
}

.page-category .product-grid.list-view .card-shell {
  flex-direction: row;
}

.page-category .product-grid.list-view .card-img-wrap {
  width: 180px;
  min-width: 180px;
  min-height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 0;
}

.page-category .product-grid.list-view .card-media-wrap {
  min-height: 100%;
  padding: 20px;
}

.page-category .product-grid.list-view .card-btn,
.page-category .product-grid.list-view .card-btn-form .card-btn {
  display: none;
}

@media (max-width: 1199px) {
  #category #wrapper > .container {
    width: min(calc(100% - 40px), 1280px);
  }

  #left-column.page-category {
    padding-right: 20px;
  }
}

@media (max-width: 991px) {
  #left-column.page-category,
  #content-wrapper.page-category.left-column,
  #content-wrapper.page-category {
    padding-right: 0;
    padding-left: 0;
  }

  .page-category .cat-toolbar {
    align-items: stretch;
  }

  .page-category .cat-toolbar .total-count {
    width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 767px) {
  #category #wrapper > .container {
    width: min(calc(100% - 24px), 1280px);
  }

  .page-category .cat-hero-inner {
    padding: 24px 22px;
  }

  .page-category .cat-hero-icon {
    width: 64px;
    height: 64px;
  }

  .page-category .cat-hero-title {
    font-size: 30px;
  }

  .page-category .product-card .card-img-wrap,
  .page-category .product-card .card-media-wrap {
    min-height: 220px;
  }
}

/* Hard override for body#category runtime and cached bundles */
body#category #wrapper > .container {
  width: min(calc(100% - 56px), 1280px);
  max-width: 1280px;
}

body#category #main,
body#category #products,
body#category #js-product-list {
  width: 100%;
}

body#category #left-column {
  padding-right: 24px;
}

body#category #content-wrapper {
  padding-left: 0;
}

body#category .breadcrumb {
  margin: 0 0 32px;
  padding: 24px 0 0;
  background: none;
  border: 0;
}

body#category .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body#category .breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

body#category .breadcrumb li + li::before {
  content: "›";
  margin-right: 10px;
  color: var(--muted2);
}

body#category #js-product-list-header {
  margin: 0 0 24px;
}

body#category .cat-hero,
body#category .cat-hero-inner,
body#category .cat-hero-content,
body#category .cat-hero-text,
body#category .cat-hero-stats {
  position: relative;
}

body#category .cat-hero {
  margin: 0 0 24px;
}

body#category .cat-hero-inner {
  overflow: hidden;
  padding: 32px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

body#category .cat-hero-bg,
body#category .cat-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body#category .cat-hero-bg {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(91, 227, 160, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(61, 201, 255, 0.05) 0%, transparent 50%);
}

body#category .cat-hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

body#category .cat-hero-content {
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 1;
}

body#category .cat-hero-icon {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(91, 227, 160, 0.08);
  border: 1px solid rgba(91, 227, 160, 0.18);
  border-radius: 18px;
  font-size: 30px;
}

body#category .cat-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body#category .cat-hero-text {
  flex: 1;
  min-width: 0;
}

body#category .cat-hero-label {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

body#category .cat-hero-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(2.125rem, 3vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.9px;
  line-height: 1.08;
}

body#category .cat-hero-desc,
body#category .cat-hero-desc > * {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

body#category .cat-hero-desc {
  max-width: 720px;
}

body#category .cat-hero-stats {
  display: flex;
  flex-shrink: 0;
  gap: 28px;
  padding-left: 28px;
  border-left: 1px solid var(--border2);
}

body#category .cstat {
  text-align: center;
}

body#category .cstat-val {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

body#category .cstat-val.green {
  color: var(--accent);
}

body#category .cstat-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

body#category .subcat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
}

body#category .subcat-chip {
  display: inline-block;
  padding: 10px 22px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

body#category .subcat-chip:hover,
body#category .subcat-chip:focus,
body#category .subcat-chip.active {
  color: var(--accent);
  background: var(--tag-bg);
  border-color: rgba(91, 227, 160, 0.35);
  text-decoration: none;
}

body#category #left-column #search_filters_wrapper {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

body#category #left-column #search_filters {
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body#category #left-column #search_filters > .h6 {
  display: none !important;
}

body#category #left-column #search_filters .facet {
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  overflow: hidden;
}

body#category #left-column #search_filters .facet > .facet-title.hidden-sm-down {
  display: block !important;
  margin: 0 !important;
  padding: 18px 20px !important;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

body#category #left-column #search_filters .facet > ul,
body#category #left-column #search_filters .facet > .collapse {
  display: block !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  list-style: none;
}

body#category #left-column #search_filters .facet li {
  padding: 0 !important;
  border: 0 !important;
}

body#category #left-column #search_filters .facet .facet-label {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  padding: 10px 6px !important;
}

body#category #left-column #search_filters .facet .facet-label a {
  display: flex !important;
  align-items: center;
  width: 100%;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  text-decoration: none;
}

body#category #left-column #search_filters .facet .facet-label.active a,
body#category #left-column #search_filters .facet .facet-label:hover a {
  color: var(--text) !important;
}

body#category #left-column #search_filters .facet .magnitude {
  margin-left: auto;
  min-width: 32px;
  padding: 4px 10px;
  background: #1c2028;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted2);
  font-size: 12px;
  text-align: center;
}

body#category #left-column #search_filters .custom-checkbox > span:not(.color),
body#category #left-column #search_filters .custom-radio > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--surface2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  flex-shrink: 0;
}

body#category #left-column #search_filters .custom-radio > span {
  border-radius: 50%;
}

body#category #left-column #search_filters .custom-checkbox > span:not(.color) i,
body#category #left-column #search_filters .custom-radio > span::after {
  opacity: 0;
}

body#category #left-column #search_filters .custom-checkbox input:checked + span:not(.color),
body#category #left-column #search_filters .custom-radio input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
}

body#category #left-column #search_filters .custom-checkbox input:checked + span:not(.color) i {
  opacity: 1;
  color: #000;
  font-size: 10px;
}

body#category #left-column #search_filters .ui-slider-horizontal {
  height: 4px;
  margin: 12px 6px 18px;
  background: #1c2028;
  border: 0;
  border-radius: 999px;
}

body#category #left-column #search_filters .ui-slider-range {
  background: var(--accent);
}

body#category #left-column #search_filters .ui-slider-handle {
  width: 14px;
  height: 14px;
  margin-top: -7px;
  margin-left: -7px;
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(91, 227, 160, 0.12);
}

body#category #js-product-list-top.cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

body#category #js-product-list-top.cat-toolbar .total-count {
  flex: 1;
  color: var(--muted);
  font-size: 15px;
}

body#category #js-product-list-top.cat-toolbar .total-count strong {
  color: var(--text);
}

body#category #js-product-list-top.cat-toolbar .sort-wrap {
  margin-left: auto;
}

body#category #js-product-list-top.cat-toolbar .sort-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 18px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
}

body#category #js-product-list-top.cat-toolbar .view-toggle {
  display: inline-flex;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

body#category #js-product-list-top.cat-toolbar .view-btn {
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  color: var(--muted);
}

body#category #js-product-list-top.cat-toolbar .view-btn.active {
  background: #1c2028;
  color: var(--accent);
}

body#category #js-active-search-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  background: none;
  border: 0;
}

body#category #js-active-search-filters .active-filters-label {
  color: var(--muted);
  font-size: 13px;
}

body#category #js-active-search-filters .active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--tag-bg);
  border: 1px solid rgba(91, 227, 160, 0.2);
  border-radius: 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

body#category #productGrid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 !important;
}

body#category #productGrid > .js-product {
  display: flex;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

body#category #productGrid .product-card,
body#category #productGrid .product-card .thumbnail-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
}

body#category #productGrid .product-card .thumbnail-container {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

body#category #productGrid .product-card .card-img-wrap {
  position: relative;
  min-height: 270px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--surface2);
}

body#category #productGrid .product-card .card-media-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  padding: 28px;
}

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

body#category #productGrid .product-card .card-media {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: contain !important;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

body#category #productGrid .product-card .card-flags {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body#category #productGrid .product-card .card-flag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

body#category #productGrid .product-card .card-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  min-height: 36px;
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
}

body#category #productGrid .product-card:hover .card-btn {
  opacity: 1;
  transform: translateY(0);
}

body#category #productGrid .product-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
  background: var(--surface);
}

body#category #productGrid .product-card .card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

body#category #productGrid .product-card .card-cat {
  padding: 3px 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

body#category #productGrid .product-card .card-title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

body#category #productGrid .product-card .card-title a {
  color: inherit;
  text-decoration: none;
}

body#category #productGrid .product-card .card-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

body#category #productGrid .product-card .card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body#category #productGrid .product-card .product-price-and-shipping .price {
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

body#category #productGrid .product-card .regular-price {
  font-size: 12px;
}

body#category #productGrid .product-card .card-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1199px) {
  body#category #productGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  body#category #left-column,
  body#category #content-wrapper {
    padding-right: 0;
    padding-left: 0;
  }

  body#category .cat-hero-stats {
    display: none;
  }

  body#category #js-product-list-top.cat-toolbar .total-count {
    width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 767px) {
  body#category #wrapper > .container {
    width: min(calc(100% - 24px), 1280px);
  }

  body#category #productGrid {
    grid-template-columns: 1fr;
  }

  body#category .cat-hero-inner {
    padding: 24px 22px;
  }

  body#category .cat-hero-icon {
    width: 64px;
    height: 64px;
  }

  body#category .cat-hero-title {
    font-size: 30px;
  }
}
