/* =========================================================
   SPRINTSHIRT — CATEGORY / PROJECTUJ / SUBCATEGORIES
   Product card itself is in common/product-card.css.
   Breadcrumbs are centralized in common/breadcrumbs.css.
========================================================= */

/* =====================================================
   PODKATEGORIE – v8: działa bez żadnych tricków
   ===================================================== */

#subcategories {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 2rem;
}

#subcategories .subcategory-heading {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin-bottom: 1.25rem !important;
}

/* --- Siatka --- */
#subcategories .subcategories-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* --- Kafelek --- */
#subcategories .subcategories-list > li {
  flex: 0 0 calc(20% - 10px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 22px 12px 16px !important;
  text-align: center !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease !important;
  cursor: pointer !important;
  position: relative !important;
  /* БЕЗ overflow:hidden — чтобы ничего не обрезалось */
}

#subcategories .subcategories-list > li:hover {
  transform: translateY(-4px) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.1),
    0 0 0 1.5px rgba(139, 92, 246, 0.35),
    0 4px 20px rgba(139, 92, 246, 0.18) !important;
  border-color: rgba(139, 92, 246, 0.5) !important;
}

/* Неоновый блик в углу */
#subcategories .subcategories-list > li::before {
  content: "" !important;
  position: absolute !important;
  top: -15px !important;
  right: -15px !important;
  width: 55px !important;
  height: 55px !important;
  border-radius: 50% !important;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.15) 0%,
    transparent 70%
  ) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Полоска снизу */
#subcategories .subcategories-list > li::after {
  content: "" !important;
  display: block !important;
  width: 32px !important;
  height: 3px !important;
  border-radius: 2px !important;
  background: linear-gradient(90deg, #a855f7, #3b82f6) !important;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.5) !important;
  margin-top: 10px !important;
  flex-shrink: 0 !important;
}

/* =====================================================
   ИКОНКА – круг с фоном, ссылка кликабельна
   ===================================================== */

#subcategories .subcategory-image {
  width: 60px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 10px !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Полный сброс кнопочных стилей темы */
#subcategories .subcategory-image a.img {
  all: unset !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1),
    rgba(59, 130, 246, 0.1)
  ) !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(139, 92, 246, 0.2) !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  transition:
    box-shadow 0.22s ease,
    border-color 0.22s ease !important;
  /* Текст ссылки скрыт визуально */
  font-size: 0 !important;
  color: transparent !important;
}

#subcategories .subcategories-list > li:hover .subcategory-image a.img {
  border-color: rgba(139, 92, 246, 0.5) !important;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.35) !important;
}

#subcategories .subcategory-image a.img::before {
  display: none !important;
}

#subcategories .subcategory-image a.img::after {
  content: "" !important;
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

#subcategories .subcategory-image a[href*="odziez-damska"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46L16 2a4 4 0 01-8 0L3.62 3.46a2 2 0 00-1.34 2.23l.58 3.57a1 1 0 00.99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 002-2V10h2.15a1 1 0 00.99-.84l.58-3.57a2 2 0 00-1.34-2.23z'/%3E%3C/svg%3E") !important;
}
#subcategories .subcategory-image a[href*="odziez-meska"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46L16 2a4 4 0 01-8 0L3.62 3.46a2 2 0 00-1.34 2.23l.58 3.57a1 1 0 00.99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 002-2V10h2.15a1 1 0 00.99-.84l.58-3.57a2 2 0 00-1.34-2.23z'/%3E%3C/svg%3E") !important;
}
#subcategories .subcategory-image a[href*="odziez-dziecieca"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='4.5' r='2.5'/%3E%3Cpath d='M18.38 7.46L15 6a3 3 0 01-6 0L5.62 7.46a2 2 0 00-1.34 2.23l.58 3.57a1 1 0 00.99.84H7v6c0 1.1.9 2 2 2h6a2 2 0 002-2v-6h1.15a1 1 0 00.99-.84l.58-3.57a2 2 0 00-1.34-2.23z'/%3E%3C/svg%3E") !important;
}
#subcategories .subcategory-image a[href*="kubki"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8h2a2 2 0 010 4h-2'/%3E%3Cpath d='M3 8h14v9a4 4 0 01-4 4H7a4 4 0 01-4-4V8z'/%3E%3Cline x1='6' y1='2' x2='6' y2='5'/%3E%3Cline x1='10' y1='2' x2='10' y2='5'/%3E%3Cline x1='14' y1='2' x2='14' y2='5'/%3E%3C/svg%3E") !important;
}
#subcategories .subcategory-image a[href*="czapki"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 17c0-4.4 4.5-8 10-8s10 3.6 10 8'/%3E%3Cpath d='M2 17h20'/%3E%3Cpath d='M2 17c0 1.1.9 2 2 2h16a2 2 0 002-2'/%3E%3Cpath d='M12 9V5'/%3E%3C/svg%3E") !important;
}
#subcategories .subcategory-image a[href*="poduszki"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='10' rx='5' ry='5'/%3E%3Cpath d='M7 7v10M17 7v10'/%3E%3C/svg%3E") !important;
}
#subcategories .subcategory-image a[href*="torby"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E") !important;
}
#subcategories .subcategory-image a[href*="fotoobrazy"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") !important;
}
#subcategories .subcategory-image a[href*="akcesoria"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.07 4.93l-1.41 1.41M6.34 17.66l-1.41 1.41M2 12h2M20 12h2M17.66 17.66l1.41 1.41M4.93 4.93l1.41 1.41M12 2v2M12 20v2'/%3E%3C/svg%3E") !important;
}
#subcategories .subcategory-image a[href*="reczniki"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='9' height='20' rx='2'/%3E%3Cpath d='M15 7h2a2 2 0 010 4h-2'/%3E%3Cline x1='9' y1='7' x2='12' y2='7'/%3E%3Cline x1='9' y1='11' x2='12' y2='11'/%3E%3C/svg%3E") !important;
}

/* =====================================================
   ТЕКСТ – h5 и ссылка внутри него
   ===================================================== */

#subcategories .subcategories-list h5 {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

#subcategories .subcategory-name,
#subcategories .subcategory-name:link,
#subcategories .subcategory-name:visited {
  /* Полный сброс всех стилей темы */
  display: inline !important;
  position: static !important;
  inset: auto !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: #374151 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  width: auto !important;
  height: auto !important;
}

#subcategories .subcategory-name:hover {
  color: #7c3aed !important;
  text-decoration: none !important;
  background: none !important;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
  #subcategories .subcategories-list > li {
    flex: 0 0 calc(33.333% - 9px) !important;
  }
}
@media (max-width: 640px) {
  #subcategories .subcategories-list > li {
    flex: 0 0 calc(50% - 7px) !important;
  }
}

/* =====================================================
   ВЕСЬ КАFELEK КЛИКАБЕЛЬНЫЙ
   Растягиваем .subcategory-name на весь li через
   псевдоэлемент — без скрытия текста и без overlay
   ===================================================== */

/* li должен быть position:relative — уже есть */

/* Псевдоэлемент ссылки покрывает весь каfelek */
#subcategories .subcategory-name::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  border-radius: 16px !important;
  background: transparent !important;
  cursor: pointer !important;
}

/* Иконка-ссылка поверх псевдоэлемента */
#subcategories .subcategory-image {
  position: relative !important;
  z-index: 3 !important;
}

/* =====================================================
   ИКОНКИ ДЛЯ ПОДСТРАНИЦ (koszulki, bluzy, kurtki и т.д.)
   ===================================================== */

/* Универсальный fallback — если href не совпал ни с чем,
   показываем нейтральную иконку вешалки */
#subcategories .subcategory-image a.img::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46L16 2a4 4 0 01-8 0L3.62 3.46a2 2 0 00-1.34 2.23l.58 3.57a1 1 0 00.99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 002-2V10h2.15a1 1 0 00.99-.84l.58-3.57a2 2 0 00-1.34-2.23z'/%3E%3C/svg%3E") !important;
}

/* Koszulki (damskie, męskie, dziecięce) */
#subcategories .subcategory-image a[href*="koszulk"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46L16 2a4 4 0 01-8 0L3.62 3.46a2 2 0 00-1.34 2.23l.58 3.57a1 1 0 00.99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 002-2V10h2.15a1 1 0 00.99-.84l.58-3.57a2 2 0 00-1.34-2.23z'/%3E%3C/svg%3E") !important;
}

/* Bluzy */
#subcategories .subcategory-image a[href*="bluz"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46L16 2c0 2.21-1.79 4-4 4S8 4.21 8 2L3.62 3.46a2 2 0 00-1.34 2.23l.58 3.57a1 1 0 00.99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 002-2V10h2.15a1 1 0 00.99-.84l.58-3.57a2 2 0 00-1.34-2.23z'/%3E%3Cpath d='M8 2c0 1.5 1.5 3 4 3s4-1.5 4-3'/%3E%3C/svg%3E") !important;
}

/* Kurtki */
#subcategories .subcategory-image a[href*="kurtk"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 2l4 4v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6l4-4'/%3E%3Cpath d='M12 2v6'/%3E%3Cpath d='M8 2l4 3 4-3'/%3E%3Cline x1='12' y1='8' x2='12' y2='8.5'/%3E%3C/svg%3E") !important;
}

/* Spodnie / spodenki */
#subcategories .subcategory-image a[href*="spodn"]::after,
#subcategories .subcategory-image a[href*="spodnie"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 3h16l-2 10-4 8-2-5-2 5-4-8z'/%3E%3Cline x1='4' y1='3' x2='20' y2='3'/%3E%3C/svg%3E") !important;
}

/* Body dziecięce */
#subcategories .subcategory-image a[href*="body"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='4' r='2'/%3E%3Cpath d='M16 7H8l-2 5h2v8h8v-8h2z'/%3E%3C/svg%3E") !important;
}

/* Polo */
#subcategories .subcategory-image a[href*="polo"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46L16 2a4 4 0 01-8 0L3.62 3.46a2 2 0 00-1.34 2.23l.58 3.57a1 1 0 00.99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 002-2V10h2.15a1 1 0 00.99-.84l.58-3.57a2 2 0 00-1.34-2.23z'/%3E%3Cline x1='12' y1='2' x2='12' y2='8'/%3E%3C/svg%3E") !important;
}

/* Sportowe */
#subcategories .subcategory-image a[href*="sport"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3C/svg%3E") !important;
}

/* Kamizelki */
#subcategories .subcategory-image a[href*="kamizel"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 2l3 5v13a2 2 0 01-2 2H7a2 2 0 01-2-2V7l3-5'/%3E%3Cpath d='M12 2v8'/%3E%3Cpath d='M8 2l4 4 4-4'/%3E%3C/svg%3E") !important;
}

/* Leżaki */
#subcategories .subcategory-image a[href*="lezak"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='8' width='20' height='8' rx='3'/%3E%3Cpath d='M6 8V5M18 8V5'/%3E%3Cpath d='M4 16l-2 4M20 16l2 4'/%3E%3C/svg%3E") !important;
}

/* Dywaniki */
#subcategories .subcategory-image a[href*="dywani"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Cline x1='3' y1='15' x2='21' y2='15'/%3E%3C/svg%3E") !important;
}

/* Podkładki (pod mysz) */
#subcategories .subcategory-image a[href*="podkladk"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='4'/%3E%3C/svg%3E") !important;
}

/* Wycieraczki */
#subcategories .subcategory-image a[href*="wycieraczk"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Cline x1='6' y1='6' x2='6' y2='18'/%3E%3Cline x1='10' y1='6' x2='10' y2='18'/%3E%3Cline x1='14' y1='6' x2='14' y2='18'/%3E%3Cline x1='18' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") !important;
}

/* Komin */
#subcategories .subcategory-image a[href*="komin"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='12' rx='10' ry='5'/%3E%3C/svg%3E") !important;
}
/* =====================================================
   LEWE MENU KATEGORII — WSZYSTKIE STRONY KATEGORII
   Ikony z an_homecategories + poprawne strzalki CSS
   ===================================================== */

/* Карточка меню */
body.page-category .block-categories {
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 18px !important;
  padding: 18px 20px 16px !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
  overflow: hidden !important;
}

/* Заголовок PROJEKTUJ */
body.page-category .block-categories .category-top-menu > li > a.h5,
body.page-category .block-categories .category-top-menu > li > .h5 {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  color: #111111 !important;
}

/* Сброс списков */
body.page-category .block-categories ul,
body.page-category .block-categories li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Главный пункт категории */
body.page-category .block-categories .category-sub-menu li[data-depth="0"] {
  position: relative !important;
  border-bottom: 1px solid #e6e6e6 !important;
}

body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]:last-child {
  border-bottom: 0 !important;
}

/* Ссылка категории */
body.page-category .block-categories .category-sub-menu li[data-depth="0"] > a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 56px !important;
  padding: 0 36px 0 0 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #111111 !important;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    transform 0.2s ease !important;
}

/* Иконка категории */
body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > a::before {
  content: "" !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  display: block !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

/* Hover */
body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > a:hover {
  color: #e40073 !important;
  transform: translateX(3px);
}

/* =====================================================
   STRZALKI — CZYSTE CSS, BEZ SVG
   Zamkniete = dol, otwarte = gora
   ===================================================== */

/* Кнопка стрелки */
body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > .navbar-toggler {
  position: absolute !important;
  top: 14px !important;
  right: 0 !important;
  transform: none !important;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer !important;
}

/* Полностью скрываем старые SVG-стрелки темы */
body.page-category .block-categories .navbar-toggler i,
body.page-category .block-categories .navbar-toggler svg,
body.page-category .block-categories .navbar-toggler .material-icons,
body.page-category .block-categories .navbar-toggler .add,
body.page-category .block-categories .navbar-toggler .remove {
  display: none !important;
}

/* Новая стрелка CSS — по умолчанию вниз */
body.page-category .block-categories .navbar-toggler::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 2px solid #111111 !important;
  border-bottom: 2px solid #111111 !important;
  transform: rotate(45deg) !important;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease !important;
}

/* Открытый пункт — стрелка вверх */
body.page-category
  .block-categories
  .navbar-toggler[aria-expanded="true"]::before {
  transform: rotate(225deg) !important;
}

/* Закрытый пункт — стрелка вниз */
body.page-category
  .block-categories
  .navbar-toggler[aria-expanded="false"]::before,
body.page-category .block-categories .navbar-toggler.collapsed::before {
  transform: rotate(45deg) !important;
}

/* Hover стрелки */
body.page-category .block-categories .navbar-toggler:hover::before {
  border-color: #e40073 !important;
}

/* =====================================================
   PODKATEGORIE W ROZWINIETYM MENU
   ===================================================== */

body.page-category .block-categories .collapse {
  padding: 0 0 12px 48px !important;
}

body.page-category .block-categories .category-sub-menu li[data-depth="1"] {
  border-bottom: 0 !important;
}

body.page-category .block-categories .category-sub-link {
  display: block !important;
  padding: 6px 0 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: #777777 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

body.page-category .block-categories .category-sub-link:hover {
  color: #e40073 !important;
}

/* =====================================================
   SPRINTSHIRT — LEWE MENU KATEGORII / STICKY
   ===================================================== */

/* Чтобы sticky не ломался */
body.page-category main,
body.page-category #wrapper,
body.page-category #wrapper > .container,
body.page-category #wrapper > .container > .row,
body.page-category #content-wrapper,
body.page-category .js-content-wrapper {
  overflow: visible !important;
}

/* Общая сетка страницы */
body.page-category #wrapper > .container {
  max-width: 1320px !important;
}

body.page-category #wrapper > .container > .row {
  display: flex !important;
  align-items: flex-start !important;
}

/* Левая колонка — sticky */
body.page-category #left-column {
  display: block !important;
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 180px !important;
  align-self: flex-start !important;

  margin-top: 243px !important;
  padding-top: 0 !important;
  padding-right: 28px !important;

  height: auto !important;
  overflow: visible !important;
  z-index: 30 !important;
}

/* Правая колонка */
body.page-category #content-wrapper,
body.page-category .js-content-wrapper {
  padding-left: 0 !important;
  overflow: visible !important;
}

/* Карточка меню */
body.page-category #left-column .block-categories {
  position: relative !important;
  top: auto !important;

  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 18px !important;
  padding: 18px 20px 16px !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
  overflow: hidden !important;
}

/* Заголовок PROJEKTUJ */
body.page-category .block-categories .category-top-menu > li > a.h5,
body.page-category .block-categories .category-top-menu > li > .h5 {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;

  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  color: #111111 !important;
}

/* Сброс списков */
body.page-category .block-categories ul,
body.page-category .block-categories li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Главный пункт меню */
body.page-category .block-categories .category-sub-menu li[data-depth="0"] {
  position: relative !important;
  border-bottom: 1px solid #e6e6e6 !important;
}

body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]:last-child {
  border-bottom: 0 !important;
}

/* Ссылка категории */
body.page-category .block-categories .category-sub-menu li[data-depth="0"] > a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;

  min-height: 56px !important;
  padding: 0 36px 0 0 !important;

  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #111111 !important;
  text-decoration: none !important;

  transition:
    color 0.2s ease,
    transform 0.2s ease !important;
}

/* Иконка категории */
body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > a::before {
  content: "" !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  display: block !important;

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

/* Hover */
body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > a:hover {
  color: #e40073 !important;
  transform: translateX(3px);
}

/* =====================================================
   STRZAŁKI — CZYSTY CSS
   Zamknięte = w dół, otwarte = w górę
   ===================================================== */

body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > .navbar-toggler {
  position: absolute !important;
  top: 14px !important;
  right: 0 !important;

  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: transparent !important;
  border: 0 !important;
  cursor: pointer !important;
  transform: none !important;
}

/* Прячем старые стрелки темы */
body.page-category .block-categories .navbar-toggler i,
body.page-category .block-categories .navbar-toggler svg,
body.page-category .block-categories .navbar-toggler .material-icons,
body.page-category .block-categories .navbar-toggler .add,
body.page-category .block-categories .navbar-toggler .remove {
  display: none !important;
}

/* Новая стрелка */
body.page-category .block-categories .navbar-toggler::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 2px solid #111111 !important;
  border-bottom: 2px solid #111111 !important;
  transform: rotate(45deg) !important;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease !important;
}

/* Открыто — вверх */
body.page-category
  .block-categories
  .navbar-toggler[aria-expanded="true"]::before {
  transform: rotate(225deg) !important;
}

/* Закрыто — вниз */
body.page-category
  .block-categories
  .navbar-toggler[aria-expanded="false"]::before,
body.page-category .block-categories .navbar-toggler.collapsed::before {
  transform: rotate(45deg) !important;
}

body.page-category .block-categories .navbar-toggler:hover::before {
  border-color: #e40073 !important;
}

/* =====================================================
   PODKATEGORIE WEWNĄTRZ MENU
   ===================================================== */

body.page-category .block-categories .collapse {
  padding: 0 0 12px 48px !important;
}

body.page-category .block-categories .category-sub-menu li[data-depth="1"] {
  border-bottom: 0 !important;
}

body.page-category .block-categories .category-sub-link {
  display: block !important;
  padding: 6px 0 !important;

  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #777777 !important;
  text-decoration: none !important;
}

body.page-category .block-categories .category-sub-link:hover {
  color: #e40073 !important;
}

/* =====================================================
   MOBILE / TABLET
   ===================================================== */

@media (max-width: 991px) {
  body.page-category #wrapper > .container > .row {
    display: block !important;
  }

  body.page-category #left-column {
    position: static !important;
    top: auto !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    padding-right: 15px !important;
  }

  body.page-category #content-wrapper,
  body.page-category .js-content-wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 767px) {
  body.page-category .block-categories {
    border-radius: 16px !important;
    padding: 16px !important;
  }

  body.page-category
    .block-categories
    .category-sub-menu
    li[data-depth="0"]
    > a {
    min-height: 52px !important;
    gap: 12px !important;
    padding-right: 34px !important;
    font-size: 14px !important;
  }

  body.page-category
    .block-categories
    .category-sub-menu
    li[data-depth="0"]
    > a::before {
    width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
  }

  body.page-category
    .block-categories
    .category-sub-menu
    li[data-depth="0"]
    > .navbar-toggler {
    top: 12px !important;
  }

  body.page-category .block-categories .collapse {
    padding-left: 46px !important;
  }

  body.page-category .block-categories .category-sub-link {
    font-size: 13px !important;
  }
}
/* =========================================================
   SPRINTSHIRT — STRONA KATEGORII "PROJEKTUJ"
   Версия без симметрии страницы / без выравнивания всей сетки
   ========================================================= */

body.page-category {
  --ss-accent: #e60072;
  --ss-accent-2: #ff7800;
  --ss-ink: #111111;
  --ss-muted: #6b7280;
  --ss-line: #f0e4ea;
  --ss-card-border: #ededed;
}

/* =========================================================
   1. ШАПКА — без лишнего места, без чёрной линии и без фиксации
   ========================================================= */
body.page-category #header {
  border-top: 2px solid var(--ss-accent) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
}

body.page-category #header .header-banner {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-category #header .header-nav {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
}

body.page-category #header .header-top {
  padding: 14px 0 12px !important;
}

/* отключаем липкую шапку темы */
body.page-category #header,
body.page-category #header .header-nav,
body.page-category #header .header-top,
body.page-category .anmm-menu-wrapper,
body.page-category .anmm-menu-sticky-container,
body.page-category .fixed-menu {
  position: static !important;
  top: auto !important;
  transform: none !important;
}

body.page-category .header-top-holder,
body.page-category .anmm-menu-placeholder,
body.page-category .mobile-header-holder {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
}

/* =========================================================
   3. БОЛЬШОЙ ЗАГОЛОВОК — прячем
   H1 остаётся в DOM для SEO
   ========================================================= */
body.page-category .block-category,
body.page-category .block-category.card,
body.page-category .block-category.card-block {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* =========================================================
   4. ОБЩИЕ ОТСТУПЫ — без изменения сетки всей страницы
   ========================================================= */
body.page-category #wrapper {
  padding-top: 18px !important;
}

body.page-category #main {
  padding: 0 !important;
}

body.page-category #content-wrapper,
body.page-category .js-content-wrapper {
  padding: 0 !important;
  overflow: visible !important;
}

/* =========================================================
   5. ЛЕВАЯ КОЛОНКА — без принудительного выравнивания страницы
   ========================================================= */
body.page-category #left-column {
  margin: 0 !important;
  padding: 0 !important;
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 24px !important;
  align-self: start !important;
}

/* =========================================================
   6. ПЛАШКА: счётчик | Projektuj | сортировка
   ========================================================= */
body.page-category #js-product-list-top {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 0 22px !important;
  padding: 13px 18px !important;
  background: #faf6f9 !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 14px !important;
}

body.page-category #js-product-list-top > div {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-category #js-product-list-top .collection-view,
body.page-category #js-product-list-top .showing,
body.page-category #js-product-list-top .showing-text {
  display: none !important;
}

body.page-category #js-product-list-top .total-products {
  order: 1 !important;
}

body.page-category #js-product-list-top .filters-toggler-block {
  order: 3 !important;
}

body.page-category #js-product-list-top .total-products p {
  margin: 0 !important;
  color: var(--ss-muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

body.page-category #js-product-list-top::before {
  content: "Projektuj";
  order: 2 !important;
  flex: 1 1 auto !important;
  text-align: left !important;
  color: var(--ss-accent) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

body.page-category #js-product-list-top .sort-by {
  color: var(--ss-muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-right: 8px !important;
}

body.page-category .products-sort-order .select-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1.5px solid var(--ss-accent) !important;
  border-radius: 9px !important;
  background: #fff !important;
  padding: 9px 14px !important;
  color: var(--ss-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.page-category .products-sort-order .select-title svg path {
  fill: var(--ss-accent) !important;
}

body.page-category .products-sort-order .dropdown-menu {
  border: 1px solid var(--ss-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08) !important;
}

body.page-category .products-sort-order .dropdown-menu .select-list {
  font-size: 13px !important;
}

body.page-category
  .products-sort-order
  .dropdown-menu
  .sort-order-label {
  display: inline-block !important;
  font-size: 13px !important;
  line-height: 22px !important;
  transition: font-size 0.18s ease !important;
}

body.page-category .products-sort-order .dropdown-menu .select-list.current {
  color: var(--ss-accent, #e60072) !important;
}

body.page-category .products-sort-order .dropdown-menu .select-list:hover {
  background: #ffffff !important;
}

body.page-category
  .products-sort-order
  .dropdown-menu
  .select-list:hover
  .sort-order-label {
  font-size: 13.4px !important;
}

body.page-category
  .products-sort-order
  .dropdown-menu
  .select-list:not(.current):hover {
  color: var(--ss-ink, #111111) !important;
}

/* =========================================================
   7. СЕТКА ТОВАРОВ — только товары, не вся страница
   ========================================================= */
body.page-category #js-product-list .products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-category #js-product-list .products::before,
body.page-category #js-product-list .products::after {
  display: none !important;
  content: none !important;
}

body.page-category #js-product-list .products > .product-miniature {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

body.page-category #js-product-list .product-miniature .thumbnail-container {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

body.page-category #js-product-list .product-miniature .product-description {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

body.page-category #js-product-list .product-miniature .product-title {
  min-height: 40px !important;
}

body.page-category
  #js-product-list
  .product-miniature
  .product-price-and-shipping {
  margin-top: auto !important;
}

body.page-category #js-product-list .product-miniature .an_short_description,
body.page-category #js-product-list .product-miniature .col-12-desc {
  display: none !important;
}

/* =========================================================
   8. ЛЕВОЕ МЕНЮ — активный пункт + раскрытие подкатегорий
   ========================================================= */
body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > a.is-active {
  color: var(--ss-accent) !important;
}

body.page-category .block-categories .category-sub-link.is-active {
  color: var(--ss-accent) !important;
  font-weight: 700 !important;
}

body.page-category .block-categories .collapse {
  display: none !important;
}

body.page-category .block-categories .collapse.show {
  display: block !important;
}

/* =========================================================
   9. RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  body.page-category #left-column {
    position: static !important;
    top: auto !important;
    margin-bottom: 22px !important;
    padding-right: 15px !important;
  }

  body.page-category #content-wrapper,
  body.page-category .js-content-wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  body.page-category #js-product-list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 575px) {
  body.page-category #js-product-list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.page-category #js-product-list-top {
    padding: 12px 14px !important;
  }

  body.page-category #js-product-list-top .total-products {
    display: none !important;
  }

  body.page-category #js-product-list-top::before {
    font-size: 17px !important;
  }
}
/* Отступ между левым меню и товарами */
body.page-category #left-column {
  padding-right: 28px !important;
}

body.page-category #content-wrapper,
body.page-category .js-content-wrapper {
  padding-left: 0 !important;
}

/* если тема использует bootstrap-колонки */
body.page-category #wrapper .row > #left-column {
  padding-right: 28px !important;
}

body.page-category #wrapper .row > #content-wrapper,
body.page-category #wrapper .row > .js-content-wrapper {
  padding-left: 28px !important;
}
/* =========================================================
   УБИРАЕМ ДЕКОРАТИВНЫЕ ПЯТНА / ФОН ЗА КАРТОЧКАМИ
   для всех страниц категорий и подкатегорий
   ========================================================= */

/* Главные внешние фоны страниц категорий */
body.page-category,
body#category,
body.page-category #page,
body.page-category #wrapper,
body.page-category .page-wrapper,
body.page-category .main-wrapper,
body.page-category .layout,
body.page-category main,
body.page-category #main,
body.page-category #content,
body.page-category #content-wrapper,
body.page-category .js-content-wrapper,
body.page-category #products,
body.page-category #js-product-list,
body.page-category .products-selection,
body.page-category .product-list,
body.page-category .products,
body.page-category .featured-products,
body.page-category .product-accessories {
  background-color: #fff !important;
  background-image: none !important;
  background: #fff !important;
}

/* Если пятна идут через before/after */
body.page-category::before,
body.page-category::after,
body#category::before,
body#category::after,
body.page-category #page::before,
body.page-category #page::after,
body.page-category #wrapper::before,
body.page-category #wrapper::after,
body.page-category .page-wrapper::before,
body.page-category .page-wrapper::after,
body.page-category .main-wrapper::before,
body.page-category .main-wrapper::after,
body.page-category .layout::before,
body.page-category .layout::after,
body.page-category main::before,
body.page-category main::after,
body.page-category #main::before,
body.page-category #main::after,
body.page-category #content::before,
body.page-category #content::after,
body.page-category #content-wrapper::before,
body.page-category #content-wrapper::after,
body.page-category .js-content-wrapper::before,
body.page-category .js-content-wrapper::after,
body.page-category #products::before,
body.page-category #products::after,
body.page-category #js-product-list::before,
body.page-category #js-product-list::after,
body.page-category .products-selection::before,
body.page-category .products-selection::after,
body.page-category .product-list::before,
body.page-category .product-list::after,
body.page-category .products::before,
body.page-category .products::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Убираем фон у контейнеров ниже по странице */
body.page-category .container,
body.page-category .row,
body.page-category .col,
body.page-category [class*="col-"] {
  background-image: none !important;
}

/* На всякий случай — если фон висит как fixed/absolute декор */
body.page-category [class*="bg"],
body.page-category [class*="background"],
body.page-category [class*="decor"],
body.page-category [class*="shape"],
body.page-category [class*="blob"],
body.page-category [class*="gradient"] {
  background-image: none !important;
}
/* =====================================================
   IKONY Z MODUŁU AN_HOMECATEGORIES / LEWE MENU PROJEKTUJ
   Te same obrazki co na stronie głównej, ale małe i równe
   ===================================================== */

/* Базовый размер иконок в левом меню */
body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > a::before {
  content: "" !important;

  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  flex: 0 0 34px !important;

  display: block !important;

  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 30px 30px !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Чуть увеличиваем строку меню, чтобы иконки не сжимали текст */
body.page-category .block-categories .category-sub-menu li[data-depth="0"] > a {
  min-height: 62px !important;
  gap: 14px !important;
}

/* Стрелку справа чуть ниже по центру */
body.page-category
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > .navbar-toggler {
  top: 17px !important;
}

/* =========================================================
   10. LISTINGI BEZ KATEGORII
   best-sales / new-products / prices-drop / search /
   manufacturer / supplier — ten sam uklad co kategoria.
   Plik laduje sie tylko na stronach listingu, wiec scope
   body:not(.page-category) trafia dokladnie w te strony i
   nie rusza strony kategorii (ma wlasne reguly wyzej).
   ========================================================= */

/* --- uklad kolumn --- */
body:not(.page-category) #content-wrapper,
body:not(.page-category) .js-content-wrapper {
  padding: 0 !important;
  overflow: visible !important;
}

body:not(.page-category) #left-column {
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 24px !important;
  align-self: start !important;
  padding-right: 28px !important;
}

body:not(.page-category) #wrapper .row > #content-wrapper,
body:not(.page-category) #wrapper .row > .js-content-wrapper {
  padding-left: 28px !important;
}

/* --- gorna plaszka: licznik + sortowanie (bez naglowka Projektuj) --- */
body:not(.page-category) #js-product-list-top {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 0 22px !important;
  padding: 13px 18px !important;
  background: #faf6f9 !important;
  border: 1px solid var(--ss-line) !important;
  border-radius: 14px !important;
}

body:not(.page-category) #js-product-list-top > div {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:not(.page-category) #js-product-list-top .collection-view,
body:not(.page-category) #js-product-list-top .showing,
body:not(.page-category) #js-product-list-top .showing-text {
  display: none !important;
}

body:not(.page-category) #js-product-list-top .total-products {
  margin-right: auto !important;
}

body:not(.page-category) #js-product-list-top .total-products p {
  margin: 0 !important;
  color: var(--ss-muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

body:not(.page-category) #js-product-list-top .sort-by {
  color: var(--ss-muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-right: 8px !important;
}

body:not(.page-category) .products-sort-order .select-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1.5px solid var(--ss-accent) !important;
  border-radius: 9px !important;
  background: #fff !important;
  padding: 9px 14px !important;
  color: var(--ss-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body:not(.page-category) .products-sort-order .select-title svg path {
  fill: var(--ss-accent) !important;
}

body:not(.page-category) .products-sort-order .dropdown-menu {
  border: 1px solid var(--ss-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08) !important;
}

body:not(.page-category) .products-sort-order .dropdown-menu .select-list {
  font-size: 13px !important;
}

body:not(.page-category)
  .products-sort-order
  .dropdown-menu
  .sort-order-label {
  display: inline-block !important;
  font-size: 13px !important;
  line-height: 22px !important;
  transition: font-size 0.18s ease !important;
}

body:not(.page-category)
  .products-sort-order
  .dropdown-menu
  .select-list.current {
  color: var(--ss-accent, #e60072) !important;
}

body:not(.page-category)
  .products-sort-order
  .dropdown-menu
  .select-list:hover {
  background: #ffffff !important;
}

body:not(.page-category)
  .products-sort-order
  .dropdown-menu
  .select-list:hover
  .sort-order-label {
  font-size: 13.4px !important;
}

body:not(.page-category)
  .products-sort-order
  .dropdown-menu
  .select-list:not(.current):hover {
  color: var(--ss-ink, #111111) !important;
}

/* --- SIATKA TOWAROW (3 kolumny, rowne odstepy) --- */
body:not(.page-category) #js-product-list .products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:not(.page-category) #js-product-list .products::before,
body:not(.page-category) #js-product-list .products::after {
  display: none !important;
  content: none !important;
}

body:not(.page-category) #js-product-list .products > .product-miniature {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

body:not(.page-category)
  #js-product-list
  .product-miniature
  .thumbnail-container {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

body:not(.page-category)
  #js-product-list
  .product-miniature
  .product-description {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

body:not(.page-category) #js-product-list .product-miniature .product-title {
  min-height: 40px !important;
}

body:not(.page-category)
  #js-product-list
  .product-miniature
  .product-price-and-shipping {
  margin-top: auto !important;
}

body:not(.page-category)
  #js-product-list
  .product-miniature
  .an_short_description,
body:not(.page-category) #js-product-list .product-miniature .col-12-desc {
  display: none !important;
}

/* --- USUWANIE DEKORACYJNYCH PLAM / TLA ZA KARTAMI --- */
body:not(.page-category) #page,
body:not(.page-category) #wrapper,
body:not(.page-category) main,
body:not(.page-category) #main,
body:not(.page-category) #content,
body:not(.page-category) #content-wrapper,
body:not(.page-category) .js-content-wrapper,
body:not(.page-category) #products,
body:not(.page-category) #js-product-list,
body:not(.page-category) .products-selection,
body:not(.page-category) .product-list,
body:not(.page-category) .products {
  background-image: none !important;
  background: #fff !important;
}

body:not(.page-category) #page::before,
body:not(.page-category) #page::after,
body:not(.page-category) #wrapper::before,
body:not(.page-category) #wrapper::after,
body:not(.page-category) main::before,
body:not(.page-category) main::after,
body:not(.page-category) #content::before,
body:not(.page-category) #content::after,
body:not(.page-category) #content-wrapper::before,
body:not(.page-category) #content-wrapper::after,
body:not(.page-category) .js-content-wrapper::before,
body:not(.page-category) .js-content-wrapper::after,
body:not(.page-category) #js-product-list::before,
body:not(.page-category) #js-product-list::after,
body:not(.page-category) .products::before,
body:not(.page-category) .products::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

body:not(.page-category) [class*="blob"],
body:not(.page-category) [class*="shape"],
body:not(.page-category) [class*="decor"],
body:not(.page-category) [class*="gradient"] {
  background-image: none !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  body:not(.page-category) #left-column {
    position: static !important;
    top: auto !important;
    margin-bottom: 22px !important;
    padding-right: 15px !important;
  }
  body:not(.page-category) #wrapper .row > #content-wrapper,
  body:not(.page-category) #wrapper .row > .js-content-wrapper {
    padding-left: 15px !important;
  }
  body:not(.page-category) #js-product-list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 575px) {
  body:not(.page-category) #js-product-list .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  body:not(.page-category) #js-product-list-top {
    padding: 12px 14px !important;
  }
  body:not(.page-category) #js-product-list-top .total-products {
    display: none !important;
  }
}

/* =========================================================
   11. NEW PRODUCTS
   Match the category listing layout without changing shared
   templates or any other product listing page.
   ========================================================= */

body#new-products.page-new-products {
  --ss-accent: #e60072;
  --ss-accent-2: #ff7800;
  --ss-ink: #111111;
  --ss-muted: #6b7280;
  --ss-line: #f0e4ea;
  --ss-card-border: #ededed;
  background: #ffffff !important;
}

body#new-products.page-new-products #header {
  position: static !important;
  top: auto !important;
  transform: none !important;
  border-top: 2px solid var(--ss-accent) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
}

body#new-products.page-new-products #header .header-banner {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#new-products.page-new-products #header .header-nav {
  position: static !important;
  top: auto !important;
  transform: none !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
}

body#new-products.page-new-products #header .header-top {
  position: static !important;
  top: auto !important;
  transform: none !important;
  padding: 14px 0 12px !important;
}

body#new-products.page-new-products .anmm-menu-wrapper,
body#new-products.page-new-products .anmm-menu-sticky-container,
body#new-products.page-new-products .fixed-menu {
  position: static !important;
  top: auto !important;
  transform: none !important;
}

body#new-products.page-new-products .header-top-holder,
body#new-products.page-new-products .anmm-menu-placeholder,
body#new-products.page-new-products .mobile-header-holder {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
}

body#new-products.page-new-products #wrapper {
  padding-top: 18px !important;
}

body#new-products.page-new-products main,
body#new-products.page-new-products #wrapper,
body#new-products.page-new-products #wrapper > .container,
body#new-products.page-new-products #wrapper > .container > .row,
body#new-products.page-new-products #content-wrapper,
body#new-products.page-new-products .js-content-wrapper {
  overflow: visible !important;
}

body#new-products.page-new-products #wrapper > .container {
  max-width: 1320px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body#new-products.page-new-products #wrapper > .container > .row {
  display: flex !important;
  align-items: flex-start !important;
}

body#new-products.page-new-products #main {
  position: relative !important;
  padding: 0 !important;
}

/* Keep the listing title available to search engines and screen readers. */
body#new-products.page-new-products #main > .h2 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body#new-products.page-new-products #left-column {
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 24px !important;
  align-self: flex-start !important;
  margin: 0 !important;
  padding: 0 28px 0 0 !important;
  height: auto !important;
  overflow: visible !important;
  z-index: 30 !important;
}

body#new-products.page-new-products #content-wrapper,
body#new-products.page-new-products .js-content-wrapper,
body#new-products.page-new-products #wrapper .row > #content-wrapper,
body#new-products.page-new-products #wrapper .row > .js-content-wrapper {
  padding: 0 0 0 28px !important;
}

body#new-products.page-new-products #left-column .block-categories {
  position: relative !important;
  top: auto !important;
  margin: 0 0 50px !important;
  padding: 18px 20px 16px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
}

body#new-products.page-new-products
  .block-categories
  .category-top-menu
  > li
  > a.h5,
body#new-products.page-new-products
  .block-categories
  .category-top-menu
  > li
  > .h5 {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: var(--ss-ink) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

body#new-products.page-new-products .block-categories ul,
body#new-products.page-new-products .block-categories li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body#new-products.page-new-products
  .block-categories
  .category-sub-menu
  li[data-depth="0"] {
  position: relative !important;
  border-bottom: 1px solid #e6e6e6 !important;
}

body#new-products.page-new-products
  .block-categories
  .category-sub-menu
  li[data-depth="0"]:last-child {
  border-bottom: 0 !important;
}

body#new-products.page-new-products
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > a {
  display: flex !important;
  align-items: center !important;
  min-height: 56px !important;
  padding: 0 36px 0 0 !important;
  color: var(--ss-ink) !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    transform 0.2s ease !important;
}

body#new-products.page-new-products
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > a:hover {
  color: var(--ss-accent) !important;
  transform: translateX(3px) !important;
}

body#new-products.page-new-products
  .block-categories
  .category-sub-menu
  li[data-depth="0"]
  > .navbar-toggler {
  position: absolute !important;
  top: 14px !important;
  right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  background: transparent !important;
  border: 0 !important;
  transform: none !important;
}

body#new-products.page-new-products .block-categories .navbar-toggler i,
body#new-products.page-new-products .block-categories .navbar-toggler svg,
body#new-products.page-new-products
  .block-categories
  .navbar-toggler
  .material-icons,
body#new-products.page-new-products .block-categories .navbar-toggler .add,
body#new-products.page-new-products .block-categories .navbar-toggler .remove {
  display: none !important;
}

body#new-products.page-new-products
  .block-categories
  .navbar-toggler::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 2px solid var(--ss-ink) !important;
  border-bottom: 2px solid var(--ss-ink) !important;
  transform: rotate(45deg) !important;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease !important;
}

body#new-products.page-new-products
  .block-categories
  .navbar-toggler[aria-expanded="true"]::before {
  transform: rotate(225deg) !important;
}

body#new-products.page-new-products
  .block-categories
  .navbar-toggler:hover::before {
  border-color: var(--ss-accent) !important;
}

body#new-products.page-new-products .block-categories .collapse {
  padding: 0 0 12px 18px !important;
}

body#new-products.page-new-products
  .block-categories
  .category-sub-menu
  li[data-depth="1"] {
  border-bottom: 0 !important;
}

body#new-products.page-new-products .block-categories .category-sub-link {
  display: block !important;
  padding: 6px 0 !important;
  color: #777777 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

body#new-products.page-new-products
  .block-categories
  .category-sub-link:hover {
  color: var(--ss-accent) !important;
}

body#new-products.page-new-products
  .new-products-category-menu
  .category-sub-menu
  li[data-depth="0"]
  > a {
  padding-right: 0 !important;
}

body#new-products.page-new-products #js-product-list-top {
  border-color: var(--ss-line) !important;
}

body#new-products.page-new-products #js-product-list-top .total-products {
  order: 1 !important;
  margin-right: auto !important;
}

/* Category disclosure arrows: closed points right, open points down. */
body.page-category .block-categories .navbar-toggler::before {
  transform: rotate(-45deg) !important;
}

body.page-category
  .block-categories
  .navbar-toggler[aria-expanded="true"]::before {
  transform: rotate(45deg) !important;
}

body.page-category
  .block-categories
  .navbar-toggler[aria-expanded="false"]::before,
body.page-category .block-categories .navbar-toggler.collapsed::before {
  transform: rotate(-45deg) !important;
}

body#new-products.page-new-products
  #js-product-list-top
  .filters-toggler-block {
  order: 3 !important;
}

@media (max-width: 991px) {
  body#new-products.page-new-products #wrapper > .container > .row {
    display: block !important;
  }

  body#new-products.page-new-products #left-column {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 22px !important;
    padding: 0 15px !important;
  }

  body#new-products.page-new-products #content-wrapper,
  body#new-products.page-new-products .js-content-wrapper,
  body#new-products.page-new-products #wrapper .row > #content-wrapper,
  body#new-products.page-new-products #wrapper .row > .js-content-wrapper {
    width: 100% !important;
    max-width: none !important;
    padding: 0 15px !important;
  }
}

@media (max-width: 767px) {
  body#new-products.page-new-products #left-column .block-categories {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  body#new-products.page-new-products
    .block-categories
    .category-sub-menu
    li[data-depth="0"]
    > a {
    min-height: 52px !important;
    padding-right: 34px !important;
    font-size: 14px !important;
  }

  body#new-products.page-new-products
    .block-categories
    .category-sub-menu
    li[data-depth="0"]
    > .navbar-toggler {
    top: 12px !important;
  }

  body#new-products.page-new-products #js-product-list-top {
    flex-wrap: wrap !important;
  }

  body#new-products.page-new-products
    #js-product-list-top
    .filters-toggler-block,
  body#new-products.page-new-products #js-product-list-top .sort-by-row,
  body#new-products.page-new-products #js-product-list-top .products-sort-order {
    width: 100% !important;
  }

  body#new-products.page-new-products
    .products-sort-order
    .select-title {
    width: 100% !important;
    justify-content: space-between !important;
  }
}
