/**
 * EcommPaaS Porto V2 — Category Page Clean Rewrite
 * Prefix: .cp-  | Scoped: body.catalog-category-view
 * KEY FIX: Overrides porto.css FIX#9 (sidebar forced RIGHT → LEFT)
 */

/* TOKEN SYSTEM */
body.catalog-category-view {
  --cp-blue:          #0088cc;
  --cp-blue-dark:     #006699;
  --cp-text:          #222529;
  --cp-text-light:    #777;
  --cp-bg:            #fff;
  --cp-bg-grey:       #f4f4f4;
  --cp-border:        #e7e7e7;
  --cp-radius:        4px;
  --cp-font:          Poppins, 'Open Sans', Helvetica, Arial, sans-serif;
  --cp-max-width:     1240px;
  --cp-sidebar-w:     285px; /* R178: Porto Demo 1 sidebar = 285px (R163 confirmed); was 295px */
  --cp-gap:           30px;
}

/* ============================================================
   BOX-SIZING RESET for cp- components
   ============================================================ */
body.catalog-category-view [class^="cp-"],
body.catalog-category-view [class*=" cp-"] {
  box-sizing: border-box;
  font-family: var(--cp-font);
}

body.catalog-category-view [class^="cp-"] *,
body.catalog-category-view [class*=" cp-"] * {
  box-sizing: border-box;
}

/* ============================================================
   OVERRIDE FIX#9 — Move sidebar to LEFT
   porto.css line ~22512 has:
     html body.catalog-category-view.page-layout-2columns-left
       .columns .sidebar-main { order: 2 !important }
   We beat it with higher specificity (extra body class selector)
   ============================================================ */
@media (min-width: 768px) {
  html body.catalog-category-view.page-layout-2columns-left .columns {
    display: flex !important;
    flex-direction: row !important;
    gap: var(--cp-gap) !important;
    align-items: flex-start !important;
  }

  html body.catalog-category-view.page-layout-2columns-left .columns .sidebar.sidebar-main {
    order: -1 !important;
    flex: 0 0 var(--cp-sidebar-w) !important;
    width: var(--cp-sidebar-w) !important;
    float: none !important;
    padding: 0 !important;
  }

  html body.catalog-category-view.page-layout-2columns-left .columns .column.main {
    order: 1 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    float: none !important;
    padding-right: 0 !important;
    min-width: 0 !important;
  }

  /* Porto Demo 1 reference has no right sidebar on category pages;
     sidebar-additional must not consume flex space */
  html body.catalog-category-view.page-layout-2columns-left .columns .sidebar.sidebar-additional {
    display: none !important;
  }
}

/* ============================================================
   1. CP-PAGE-HEADER — Category title + breadcrumbs
   ============================================================ */
body.catalog-category-view .cp-page-header {
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--cp-border);
  margin-bottom: 24px;
}

body.catalog-category-view .cp-page-header__breadcrumbs {
  font-size: 12px;
  color: var(--cp-text-light);
  margin-bottom: 8px;
}

body.catalog-category-view .cp-page-header__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--cp-text);
  margin: 0;
  font-family: var(--cp-font);
  text-transform: none;
}

/* Breadcrumbs styling for category page */
body.catalog-category-view .breadcrumbs {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--cp-text-light);
}

body.catalog-category-view .breadcrumbs .items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

body.catalog-category-view .breadcrumbs .item {
  display: inline-flex;
  align-items: center;
}

body.catalog-category-view .breadcrumbs .item a {
  color: var(--cp-text);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.catalog-category-view .breadcrumbs .item a:hover {
  color: var(--cp-blue);
}

body.catalog-category-view .breadcrumbs .item strong {
  font-weight: 400;
  color: var(--cp-text-light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.catalog-category-view .breadcrumbs .item:not(:last-child)::after {
  content: '\203A';
  margin: 0 6px;
  color: var(--cp-text-light);
  font-size: 11px;
}

/* Page title */
body.catalog-category-view .page-title-wrapper {
  padding: 12px 0 0;
}

/* R71: corrected font-size 26px→20px and color to match styles-l ref.
   R71 also set font-weight:400 (mis-read); R109 re-measured ref via getComputedStyle → 700. */
body.catalog-category-view .page-title-wrapper .page-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--cp-blue);
  margin: 0 0 15px;
  font-family: var(--cp-font);
}

/* ============================================================
   2. CP-BANNER — Full-width category banner image
   ============================================================ */
body.catalog-category-view .cp-banner {
  width: 100%;
  margin-bottom: 24px;
  overflow: hidden;
}

body.catalog-category-view .cp-banner img,
body.catalog-category-view .cp-banner .pt-category-banner {
  width: 100%;
  display: block;
}

/* Also style the existing .pt-category-banner when present */
body.catalog-category-view .pt-category-banner {
  margin-bottom: 24px;
}

/* 3. CP-TOOLBAR (hidden per Porto Demo 1 — infinite scroll, no visible toolbar) */
body.catalog-category-view .cp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--cp-border);
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--cp-text);
}

/* ============================================================
   4. CP-LAYOUT — 2-column: sidebar LEFT + product grid RIGHT
   The actual layout is handled by the flex override above.
   These rules add the outer page constraint.
   ============================================================ */
body.catalog-category-view .page-main {
  max-width: var(--cp-max-width);
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

body.catalog-category-view .columns {
  width: 100%;
}

/* ============================================================
   5. CP-FILTERS — Sidebar layered navigation
   Enhances the existing .block.filter styles already in porto.css
   ============================================================ */
body.catalog-category-view .cp-filters {
  margin-bottom: 20px;
}

/* Shop By heading */
body.catalog-category-view .sidebar-main .block.filter .block-title {
  background: none;
  border-bottom: 2px solid var(--cp-text);
  padding: 0 0 10px;
  margin-bottom: 16px;
}

body.catalog-category-view .sidebar-main .block.filter .block-title strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--cp-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Filter section title (Price, Category, etc.) */
body.catalog-category-view .sidebar-main .filter-options-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--cp-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 0;
  border-bottom: 1px solid var(--cp-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Filter option items */
body.catalog-category-view .sidebar-main .filter-options-content .item {
  padding: 5px 0;
}

body.catalog-category-view .sidebar-main .filter-options-content a {
  font-size: 13px;
  color: var(--cp-text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

body.catalog-category-view .sidebar-main .filter-options-content a:hover {
  color: var(--cp-blue);
}

body.catalog-category-view .sidebar-main .filter-options-content a .count {
  font-size: 11px;
  color: var(--cp-text-light);
}

/* Price filter links */
body.catalog-category-view .sidebar-main .filter-options-content .price a {
  color: var(--cp-blue);
}

body.catalog-category-view .sidebar-main .filter-options-content .price a:hover {
  color: var(--cp-blue-dark);
}

/* Active filter */
body.catalog-category-view .sidebar-main .filter-options-content a.am-item-link-selected,
body.catalog-category-view .sidebar-main .filter-options-content .item.active a {
  color: var(--cp-blue);
  font-weight: 600;
}

/* ============================================================
   SIDEBAR BLOCKS — Categories, Featured, Custom HTML
   ============================================================ */
body.catalog-category-view .sidebar-main .pt-sidebar-block {
  margin-bottom: 20px;
  border: 1px solid var(--cp-border);
}

body.catalog-category-view .sidebar-main .pt-sidebar-block__title,
body.catalog-category-view .sidebar-main .pt-sidebar-cats__title,
body.catalog-category-view .sidebar-main [class*="sidebar-block__title"] {
  font-size: 15px;
  font-weight: 600;
  color: var(--cp-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 15px;
  background: var(--cp-bg-grey, #f4f4f4);
  border-bottom: 1px solid var(--cp-border);
  margin: 0;
}

body.catalog-category-view .sidebar-main .pt-sidebar-block__title {
  background: var(--cp-bg-grey, #f4f4f4);
}

/* Category tree sidebar */
body.catalog-category-view .sidebar-main .pt-sidebar-cats {
  padding: 0;
}

body.catalog-category-view .sidebar-main .pt-sidebar-cats ul,
body.catalog-category-view .sidebar-main .pt-sidebar-cats .items {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.catalog-category-view .sidebar-main .pt-sidebar-cats li,
body.catalog-category-view .sidebar-main .pt-sidebar-cats .item {
  border-bottom: 1px solid var(--cp-border);
}

body.catalog-category-view .sidebar-main .pt-sidebar-cats li:last-child,
body.catalog-category-view .sidebar-main .pt-sidebar-cats .item:last-child {
  border-bottom: none;
}

body.catalog-category-view .sidebar-main .pt-sidebar-cats a,
body.catalog-category-view .sidebar-main .pt-sidebar-cats span.nav-anchor {
  display: block;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cp-text-light);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

body.catalog-category-view .sidebar-main .pt-sidebar-cats a:hover {
  color: var(--cp-blue);
  background: var(--cp-bg-grey, #f4f4f4);
}

/* Active category */
body.catalog-category-view .sidebar-main .pt-sidebar-cats .active > a,
body.catalog-category-view .sidebar-main .pt-sidebar-cats li.current > a {
  color: var(--cp-blue);
  font-weight: 600;
}

/* Sub-categories indent */
body.catalog-category-view .sidebar-main .pt-sidebar-cats .level-1 a,
body.catalog-category-view .sidebar-main .pt-sidebar-cats li.level1 a {
  padding-left: 28px;
  font-size: 12px;
}

/* Featured products sidebar */
body.catalog-category-view .sidebar-main .pt-sidebar-featured {
  padding: 0;
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__list {
  padding: 10px;
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 5px;
  border-bottom: 1px solid var(--cp-border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__item:last-child {
  border-bottom: none;
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__item:hover {
  background: var(--cp-bg-grey, #f4f4f4);
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__image {
  width: 60px;
  flex-shrink: 0;
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  display: block;
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__info {
  flex: 1;
  min-width: 0;
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__name {
  display: block;
  font-size: 13px;
  color: var(--cp-text);
  line-height: 1.4;
  margin-bottom: 4px;
  white-space: normal;
  word-break: break-word;
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__item:hover .pt-sidebar-featured__name {
  color: var(--cp-blue);
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__price .price {
  font-size: 14px;
  font-weight: 700;
  color: var(--cp-blue);
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__price .old-price .price {
  font-size: 12px;
  font-weight: 400;
  color: var(--cp-text-light);
  text-decoration: line-through;
}

body.catalog-category-view .sidebar-main .pt-sidebar-featured__price .special-price .price {
  color: var(--cp-blue);
  font-weight: 700;
}

/* ============================================================
   6. CP-PRODUCTS — Product grid (4 cols desktop)
   Enhances existing .pt-product-grid/.pt-product-card
   ============================================================ */

/* Ensure the products wrapper fills available space */
body.catalog-category-view .column.main .pt-category-products {
  width: 100%;
}

body.catalog-category-view .column.main .pt-product-grid {
  width: 100%;
  display: grid;
  gap: 20px;
}

/* 4 columns default */
body.catalog-category-view .column.main .pt-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

body.catalog-category-view .column.main .pt-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

body.catalog-category-view .column.main .pt-grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

body.catalog-category-view .column.main .pt-grid--cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Product card */
body.catalog-category-view .pt-product-card {
  background: var(--cp-bg);
  /* R162: !important needed — porto.css line 12048 `.pt-product-card { border: none !important }`
     beats our (0,2,1) rule. With !important + higher specificity (0,2,1) vs (0,1,0) we win.
     Transparent border keeps box-model stable, prevents 1px layout shift on hover. */
  border: 1px solid transparent !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

body.catalog-category-view .pt-product-card:hover {
  border-color: var(--cp-border) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Product image */
body.catalog-category-view .pt-product-card__image {
  position: relative;
  overflow: hidden;
  background: var(--cp-bg-grey, #f4f4f4);
}

body.catalog-category-view .pt-product-card__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

body.catalog-category-view .pt-product-card:hover .pt-product-card__image img:not(.pt-product-card__img-hover) {
  transform: scale(1.04);
}

/* Badges */
body.catalog-category-view .pt-product-card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

body.catalog-category-view .pt-badge {
  display: inline-block;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 2px;
  line-height: 1.4;
}

body.catalog-category-view .pt-badge--new {
  background: #222529;
  color: #fff;
}

body.catalog-category-view .pt-badge--sale {
  background: var(--cp-blue);
  color: #fff;
}

/* Product info */
body.catalog-category-view .pt-product-card__info {
  padding: 12px 10px 10px;
}

/* Product name — porto.css L12044/L12050 set .pt-product-card__name to 15px !important.
   R99: corrected from 14px (prior misread of porto.css comment); reference is 15px (0.9375rem). */
body.catalog-category-view .pt-product-card__name {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 6px;
  color: var(--cp-text);
}

body.catalog-category-view .pt-product-card__name a {
  font-size: 15px !important;
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.catalog-category-view .pt-product-card__name a:hover {
  color: var(--cp-blue);
}

/* Rating stars */
body.catalog-category-view .pt-product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

/* Price */
body.catalog-category-view .pt-product-card__price {
  margin-bottom: 8px;
}

body.catalog-category-view .pt-product-card__price .price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

body.catalog-category-view .pt-product-card__price .price {
  font-size: 16px;
  font-weight: 600;
  color: #444;
}

body.catalog-category-view .pt-product-card__price .old-price .price {
  font-size: 13px;
  font-weight: 400;
  color: var(--cp-text-light);
  text-decoration: line-through;
}

body.catalog-category-view .pt-product-card__price .special-price .price {
  color: var(--cp-blue);
  /* porto.css .pt-category-page forces font-size:15px !important — this matches Demo 1 category */
}

body.catalog-category-view .pt-product-card__price .price-label {
  display: none;
}

/* Add to cart button — reference Porto Demo 1: full-width blue bar, 0px radius.
   porto.css line 12057 targets .products-grid .product-item .action.tocart with
   background:#fff !important; border-radius:30px !important (circular white icon style).
   Our button has both .pt-product-card__cart AND .action.tocart classes, so porto.css
   wins without !important here. Both selectors have equal specificity (0,2,1); since
   category-clean.css loads AFTER porto.css, our !important wins on cascade order. */
body.catalog-category-view .pt-product-card__cart {
  display: none;
  width: 100% !important;
  height: auto !important;
  padding: 8px 14px !important;
  background: var(--cp-blue) !important;
  color: #fff !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border-radius: 0 !important;
  line-height: normal !important;
  transition: background 0.2s;
}

body.catalog-category-view .pt-product-card:hover .pt-product-card__cart,
body.catalog-category-view .pt-product-card:focus-within .pt-product-card__cart {
  display: block;
}

/* Hover: porto.css .products-grid .product-item .action.tocart:hover has specificity (0,5,0)
   which beats our (0,3,1). Add .products-grid to elevate to (0,4,1) and beat it. */
body.catalog-category-view .products-grid .pt-product-card__cart:hover,
body.catalog-category-view .pt-product-card__cart:hover {
  background: var(--cp-blue-dark) !important;
}

/* White text inside ATC button — porto.css span:not([class]) rule (#777 color) can
   override the inherited white from the button. Ensure the span text stays white. */
body.catalog-category-view .pt-product-card__cart span {
  color: #fff !important;
}

/* Hover action icons */
body.catalog-category-view .pt-product-card__actions {
  position: absolute;
  right: 8px;
  top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 3;
}

body.catalog-category-view .pt-product-card:hover .pt-product-card__actions,
body.catalog-category-view .pt-product-card:focus-within .pt-product-card__actions {
  opacity: 1;
  transform: translateX(0);
}

body.catalog-category-view .pt-product-card__action {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid var(--cp-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cp-text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

body.catalog-category-view .pt-product-card__action:hover {
  background: var(--cp-blue);
  color: #fff;
  border-color: var(--cp-blue);
}

/* ============================================================
   7. CP-PAGINATION — Page numbers
   ============================================================ */
body.catalog-category-view .cp-pagination,
body.catalog-category-view .pages {
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

body.catalog-category-view .pages .pages-items {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.catalog-category-view .pages .pages-items .item a,
body.catalog-category-view .pages .pages-items .item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius);
  font-size: 14px;
  color: var(--cp-text);
  text-decoration: none;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

body.catalog-category-view .pages .pages-items .item a:hover {
  color: #fff;
  background: var(--cp-blue);
  border-color: var(--cp-blue);
}

body.catalog-category-view .pages .pages-items .item.current strong {
  color: #fff;
  background: var(--cp-blue);
  border-color: var(--cp-blue);
  font-weight: 700;
}

body.catalog-category-view .pages .action.previous span,
body.catalog-category-view .pages .action.next span {
  clip: rect(0, 0, 0, 0);
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

body.catalog-category-view .pages .action.previous::before,
body.catalog-category-view .pages .action.next::before {
  font-size: 16px;
  display: inline-block;
}

body.catalog-category-view .pages .action.previous::before {
  content: '\2039'; /* ‹ */
}

body.catalog-category-view .pages .action.next::before {
  content: '\203A'; /* › */
}

/* ============================================================
   EMPTY PRODUCTS
   ============================================================ */
body.catalog-category-view .pt-category-empty {
  padding: 60px 20px;
  text-align: center;
}

body.catalog-category-view .pt-category-empty__message {
  font-size: 16px;
  color: var(--cp-text-light);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1199px) {
  body.catalog-category-view .column.main .pt-grid--cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1023px) {
  html body.catalog-category-view.page-layout-2columns-left .columns {
    flex-direction: row !important;
  }

  html body.catalog-category-view.page-layout-2columns-left .columns .sidebar.sidebar-main {
    flex: 0 0 240px !important;
    width: 240px !important;
  }

  body.catalog-category-view .column.main .pt-grid--cols-4,
  body.catalog-category-view .column.main .pt-grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  html body.catalog-category-view.page-layout-2columns-left .columns {
    flex-direction: column !important;
  }

  html body.catalog-category-view.page-layout-2columns-left .columns .sidebar.sidebar-main {
    order: 2 !important; /* Back to bottom on mobile */
    width: 100% !important;
    flex: 0 0 auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    position: static !important;
  }

  html body.catalog-category-view.page-layout-2columns-left .columns .column.main {
    order: 1 !important;
    width: 100% !important;
  }

  body.catalog-category-view .column.main .pt-grid--cols-4,
  body.catalog-category-view .column.main .pt-grid--cols-3,
  body.catalog-category-view .column.main .pt-grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  body.catalog-category-view .column.main .pt-product-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

/* ============================================================
   CATEGORY BANNER SLIDER (above product grid)
   Matches Porto Demo 1 category page — Summer Sale / Great Deals
   ============================================================ */
body.catalog-category-view .pt-category-banner-slider {
  width: 100%;
  margin-bottom: 24px;
  border-radius: var(--cp-radius);
  overflow: hidden;
}

body.catalog-category-view .pt-cat-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 40px 48px;
}

body.catalog-category-view .pt-cat-slide__content {
  text-align: center;
  color: #fff;
}

body.catalog-category-view .pt-cat-slide__subtitle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 8px;
  opacity: 0.9;
}

body.catalog-category-view .pt-cat-slide__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 6px;
  text-transform: uppercase;
}

body.catalog-category-view .pt-cat-slide__offer {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px;
}

body.catalog-category-view .pt-cat-slide__offer sup {
  font-size: 14px;
  vertical-align: super;
}

body.catalog-category-view .pt-category-banner-slider .swiper-button-prev,
body.catalog-category-view .pt-category-banner-slider .swiper-button-next {
  color: #fff;
  opacity: 0.8;
  --swiper-navigation-size: 22px;
}

body.catalog-category-view .pt-category-banner-slider .swiper-button-prev:hover,
body.catalog-category-view .pt-category-banner-slider .swiper-button-next:hover {
  opacity: 1;
}

body.catalog-category-view .pt-category-banner-slider .swiper-pagination-bullet {
  background: rgba(255,255,255,0.6);
  opacity: 1;
}

body.catalog-category-view .pt-category-banner-slider .swiper-pagination-bullet-active {
  background: #fff;
}

@media (max-width: 767px) {
  body.catalog-category-view .pt-cat-slide {
    min-height: 140px;
    padding: 24px 20px;
  }

  body.catalog-category-view .pt-cat-slide__title {
    font-size: 24px;
  }

  body.catalog-category-view .pt-cat-slide__offer {
    font-size: 20px;
  }
}

/* ============================================================
   BREADCRUMB — suppress duplicate ::before separator
   ITER3-PDP-01 added ::after content:">" on .item:not(:last-child)
   for catalog pages. The legacy porto.css rule at L18858
   (.breadcrumbs .items > li + li::before { content: "/" }) fires
   simultaneously, producing "Home > / Category". Suppress it here.
   ============================================================ */
body.catalog-category-view .breadcrumbs .items > li + li::before,
body.catalog-product-view .breadcrumbs .items > li + li::before {
  content: none !important;
}
