/* Catalog-only refinements, loaded on listing and search routes. */
body.cws-page-catalog .collection-filter {
  border-radius: 16px !important;
  border-color: #e5e4e8 !important;
  padding: 18px !important;
  box-shadow: 0 2px 10px rgba(20, 18, 28, 0.035);
}

body.cws-page-catalog .cws-filter-title {
  color: #66636d !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  margin-bottom: 9px;
  padding: 0 8px 10px;
  text-transform: none !important;
}

body.cws-page-catalog .cws-filter-title--mt {
  margin-top: 22px;
}

body.cws-page-catalog .collection-filter-block > .cws-cat__link {
  align-items: center;
  background: #f7f6f9;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #4f4c56 !important;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 9px;
  margin: 3px 0;
  min-height: 40px;
  padding: 8px 10px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

body.cws-page-catalog .collection-filter-block > .cws-cat__link:first-of-type i {
  align-items: center;
  background: #efecfb;
  border-radius: 6px;
  color: #5433eb;
  display: inline-flex;
  flex: 0 0 26px;
  height: 26px;
  justify-content: center;
  width: 26px;
}

body.cws-page-catalog .collection-filter-block > .cws-cat__link:hover,
body.cws-page-catalog .cws-cat__parent:hover {
  background: #f5f3fa;
  border-color: #e9e5f3;
  color: #3a22c7 !important;
}

body.cws-page-catalog .cws-cat__group {
  border-top: 1px solid #efedf1;
  margin: 4px 0 0;
  padding: 7px 0 4px;
}

body.cws-page-catalog .cws-cat__parent {
  border: 1px solid transparent;
  border-radius: 8px;
  color: #28262d !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  padding: 7px 9px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

body.cws-page-catalog .cws-cat__child {
  border-left: 1px solid #dedbe4;
  color: #67636d !important;
  font-size: 12.5px;
  line-height: 1.4;
  margin: 2px 0 2px 12px;
  padding: 5px 8px 5px 12px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

body.cws-page-catalog .cws-cat__child:hover {
  background: #faf9fc;
  border-left-color: #5433eb;
  color: #3a22c7 !important;
}

body.cws-page-catalog #lista_de_produtos {
  align-items: stretch;
  row-gap: 16px !important;
}

body.cws-page-catalog #lista_de_produtos > .product-box.product-wrap {
  background: #fff !important;
  border: 1px solid #e9e7ec !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(20, 18, 28, 0.045) !important;
  margin-bottom: 0 !important;
  padding: 10px !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease !important;
}

body.cws-page-catalog #lista_de_produtos > .product-box.product-wrap:hover {
  border-color: #dcd8e4 !important;
  box-shadow: 0 7px 18px rgba(20, 18, 28, 0.075) !important;
  transform: translateY(-1px);
}

body.cws-page-catalog #lista_de_produtos .img-wrapper {
  background: #f6f5f7;
  border-radius: 11px;
}

body.cws-page-catalog #lista_de_produtos .lable-block .lable3 {
  border-radius: 6px;
  box-shadow: none;
  font-size: 10px;
  left: 9px;
  padding: 5px 8px;
  top: 9px;
}

body.cws-page-catalog #lista_de_produtos .product-info {
  padding: 10px 3px 2px;
}

body.cws-page-catalog #lista_de_produtos .product-info > a {
  color: inherit;
  display: block;
  margin-bottom: 5px;
  text-decoration: none;
}

body.cws-page-catalog #lista_de_produtos .product-info h6 {
  color: #29272f !important;
  display: -webkit-box;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
  min-height: 2.7em !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.cws-page-catalog #lista_de_produtos .product-info h4 {
  color: #25232a !important;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin: 3px 0 8px;
}

body.cws-page-catalog #lista_de_produtos .product-info h4 del {
  color: #77737d;
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0;
}

body.cws-page-catalog #lista_de_produtos .product-info h4 del + br {
  display: none;
}

body.cws-page-catalog #lista_de_produtos .cws-product-code {
  color: #77737d;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.015em;
  margin: 0 0 7px;
}

body.cws-page-catalog #lista_de_produtos .product-info .btn-classic {
  align-items: center;
  background: #25232a !important;
  border: 1px solid #25232a !important;
  border-radius: 8px !important;
  color: #fff !important;
  display: inline-flex;
  font-size: 12px !important;
  font-weight: 700 !important;
  justify-content: center;
  letter-spacing: 0.025em !important;
  min-height: 40px;
  padding: 9px 14px !important;
  text-align: center;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease !important;
}

body.cws-page-catalog #lista_de_produtos .product-info .btn-classic:hover {
  background: #5433eb !important;
  border-color: #5433eb !important;
  color: #fff !important;
  transform: none;
}

body.cws-page-catalog #lista_de_produtos .cws-card-actions a {
  border: 1px solid #e5e2e9;
  box-shadow: 0 2px 7px rgba(20, 18, 28, 0.09);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease !important;
}

body.cws-page-catalog #lista_de_produtos .cws-card-actions a:hover,
body.cws-page-catalog #lista_de_produtos .cws-card-actions a.cws-card-actions__cart:hover {
  background: #5433eb !important;
  border-color: #5433eb;
  box-shadow: 0 2px 7px rgba(20, 18, 28, 0.09);
  color: #fff !important;
  transform: none;
}

body.cws-page-catalog .theme-paggination-block .page-link {
  border-radius: 8px !important;
  font-size: 13px;
  margin: 0 3px;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

body.cws-page-catalog .theme-paggination-block .page-link:hover {
  background: #f5f3fa;
  border-color: #dcd8e4 !important;
  color: #3a22c7 !important;
}

body.cws-page-catalog .theme-paggination-block .page-item.active .page-link {
  background: #5433eb !important;
  border-color: #5433eb !important;
  box-shadow: none;
}

body.cws-page-catalog .collection-filter a:focus-visible,
body.cws-page-catalog #lista_de_produtos a:focus-visible,
body.cws-page-catalog #lista_de_produtos button:focus-visible,
body.cws-page-catalog .theme-paggination-block a:focus-visible {
  border-radius: 6px;
  outline: 3px solid rgba(84, 51, 235, 0.4);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  body.cws-page-catalog .collection-filter {
    flex: 0 0 100%;
    margin-bottom: 16px !important;
    max-width: 100%;
    width: 100%;
  }

  body.cws-page-catalog .collection-content {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  body.cws-page-catalog .cws-cat__list {
    display: grid;
    gap: 5px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cws-page-catalog .cws-cat__group {
    min-width: 0;
  }

  body.cws-page-catalog #lista_de_produtos {
    gap: 12px !important;
  }
}

@media (max-width: 575.98px) {
  body.cws-page-catalog .collection-filter {
    padding: 14px !important;
  }

  body.cws-page-catalog .collection-filter-block > .cws-cat__link {
    font-size: 12px;
    min-height: 42px;
    padding: 7px 8px;
  }

  body.cws-page-catalog .cws-cat__list {
    gap: 3px 10px;
  }

  body.cws-page-catalog .cws-cat__parent {
    font-size: 13px;
    padding: 7px 6px;
  }

  body.cws-page-catalog .cws-cat__child {
    font-size: 12px;
    margin-left: 8px;
    padding-left: 9px;
  }

  body.cws-page-catalog #lista_de_produtos {
    gap: 9px !important;
  }

  body.cws-page-catalog #lista_de_produtos > .product-box.product-wrap {
    border-radius: 13px !important;
    padding: 7px !important;
  }

  body.cws-page-catalog #lista_de_produtos .img-wrapper {
    border-radius: 9px;
  }

  body.cws-page-catalog #lista_de_produtos .product-info {
    padding: 8px 2px 2px;
  }

  body.cws-page-catalog #lista_de_produtos .product-info h6 {
    font-size: 13px;
  }

  body.cws-page-catalog #lista_de_produtos .product-info h4 {
    font-size: 15px;
  }

  body.cws-page-catalog #lista_de_produtos .product-info .btn-classic {
    font-size: 11px !important;
    min-height: 38px;
    padding: 8px 10px !important;
    width: 100%;
  }

  body.cws-page-catalog #lista_de_produtos .cws-card-actions {
    gap: 5px;
    right: 7px !important;
    top: 7px !important;
  }

  body.cws-page-catalog #lista_de_produtos .cws-card-actions a {
    height: 34px !important;
    width: 34px !important;
  }

  body.cws-page-catalog .theme-paggination-block .page-link {
    height: 36px;
    margin: 0 2px;
    width: 36px;
  }
}

@media (max-width: 359.98px) {
  body.cws-page-catalog #lista_de_produtos > .product-box.product-wrap {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767.98px) {
  body.cws-page-catalog .collection-filter a {
    align-items: center;
    display: flex;
    min-height: 44px;
  }

  body.cws-page-catalog .collection-filter .cws-cat__child {
    display: none;
  }

  body.cws-page-catalog .collection-filter .custom-control {
    min-height: 44px;
  }

  body.cws-page-catalog .collection-filter .custom-control-label {
    align-items: center;
    cursor: pointer;
    display: flex;
    min-height: 44px;
    width: 100%;
  }

  body.cws-page-catalog .collection-filter .custom-control-label::before,
  body.cws-page-catalog .collection-filter .custom-control-label::after {
    top: 50%;
    transform: translateY(-50%);
  }

  body.cws-page-catalog #lista_de_produtos,
  body.cws-page-catalog #lista_de_produtos > .product-box.product-wrap,
  body.cws-page-catalog #lista_de_produtos .product-info {
    min-width: 0;
  }

  body.cws-page-catalog #lista_de_produtos .product-info h6,
  body.cws-page-catalog #lista_de_produtos .product-info h4 {
    overflow-wrap: anywhere;
  }

  body.cws-page-catalog #lista_de_produtos .product-info h6 {
    font-size: 14px;
  }

  body.cws-page-catalog #lista_de_produtos .product-info h4 {
    font-size: 16px;
  }

  body.cws-page-catalog #lista_de_produtos .product-info .btn-classic {
    font-size: 12px !important;
    min-height: 44px;
  }

  body.cws-page-catalog #lista_de_produtos .cws-card-actions a {
    height: 44px !important;
    min-height: 44px;
    width: 44px !important;
  }

  body.cws-page-catalog .theme-paggination-block .pagination {
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
  }

  body.cws-page-catalog .theme-paggination-block .page-link {
    align-items: center;
    display: flex;
    height: auto;
    justify-content: center;
    margin: 0;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }

  body.cws-page-catalog .collection-filter a,
  body.cws-page-catalog #lista_de_produtos > .product-box.product-wrap,
  body.cws-page-catalog #lista_de_produtos .cws-card-actions a,
  body.cws-page-catalog #lista_de_produtos .product-info .btn-classic,
  body.cws-page-catalog .theme-paggination-block .page-link {
    transition: none !important;
  }

  body.cws-page-catalog #lista_de_produtos > .product-box.product-wrap:hover {
    transform: none !important;
  }
}

@media (max-width: 575.98px) {
  body.cws-page-catalog .collection-filter-block > .cws-cat__link {
    min-height: 44px;
  }

  body.cws-page-catalog .cws-cat__list {
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding: 4px 3px 8px;
    scroll-padding-inline: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.cws-page-catalog .cws-cat__group {
    border-top: 0;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }

  body.cws-page-catalog .cws-cat__parent {
    min-height: 44px;
    padding: 8px 12px;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cws-page-catalog *,
  body.cws-page-catalog *::before,
  body.cws-page-catalog *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
