.section-products {
  /*

  Heading (no-filter mode)

  */
}
.section-products .container .subheading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-products .container > h1, .section-products .container > h2 {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.section-products .container > .text {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-products[options~=show-product-filters] > .container:first-child {
  background: linear-gradient(135deg, #1b2f7a 0%, #2747b8 100%);
  color: var(--white);
  padding: 3rem 20px 20px;
  border-radius: 12px;
  overflow: hidden;
}
.section-products .product-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.section-products .product-filters:not(:first-child) {
  margin-top: 50px;
}
.section-products .product-filters .field {
  display: flex;
  flex-direction: column;
  flex: 1 1 160px;
}
.section-products .product-filters .field label {
  font-size: 0.75em;
  font-weight: 500;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.85);
}
.section-products .product-filters input, .section-products .product-filters select {
  height: 44px;
  border: none;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 0.95em;
  background-color: var(--white);
  color: var(--black);
  width: 100%;
}
.section-products .product-filters .apply, .section-products .product-filters .reset {
  height: 44px;
  border: none;
  border-radius: 8px;
  padding: 0 24px;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.15s;
}
.section-products .product-filters .apply {
  background-color: #2f6bff;
  color: var(--white);
}
.section-products .product-filters .apply:hover {
  background-color: #1f54d8;
}
.section-products .product-filters .reset {
  background-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.section-products .product-filters .reset:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.section-products {
  /*

  Result count + view toggle

  */
}
.section-products .products-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2rem 0 1.5rem;
}
.section-products .products-bar .count {
  margin: 0;
  font-size: 0.9em;
  color: var(--black);
}
.section-products .products-bar .view-toggle {
  display: flex;
  gap: 8px;
}
.section-products .products-bar .view-toggle button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9em;
  color: #888;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.section-products .products-bar .view-toggle button.active {
  color: var(--primary);
  font-weight: 600;
}
.section-products {
  /*

  Product grid

  */
}
.section-products .products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.section-products .products:not(:first-child) {
  margin-top: 50px;
}
.section-products .products p.no-results {
  width: 100%;
  text-align: center;
  font-style: italic;
  margin: 1rem auto;
}
.section-products .products .post {
  color: var(--black);
  background-color: var(--gray);
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  padding: 10px;
}
.section-products .products .post .image {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}
.section-products .products .post .image img {
  width: 100%;
  display: block;
  aspect-ratio: 1.3;
  -o-object-fit: contain;
     object-fit: contain;
  transition: all 0.4s;
  mix-blend-mode: multiply;
  background-color: var(--white);
}
.section-products .products .post .image .learn-more {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.85em;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 100px;
  opacity: 0;
  transition: all 0.25s;
  white-space: nowrap;
  box-shadow: 0 0 100px var(--primary);
}
.section-products .products .post .text {
  padding: 20px 15px 10px;
  text-align: left;
}
.section-products .products .post .text .badge {
  display: inline-block;
  background-color: #2f6bff;
  color: var(--white);
  font-size: 0.7em;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin: 0 0 12px;
}
.section-products .products .post .text p.title {
  font-size: 1.2em;
  margin: 0 0 6px;
  transition: all 0.5s;
  font-weight: 700;
  line-height: 1.2em;
}
.section-products .products .post .text p.model {
  font-size: 0.85em;
  color: #666;
  margin: 0;
}
.section-products .products .post .text .details {
  display: none;
}
.section-products .products .post:hover .image .learn-more {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.section-products .products .post:hover .text p.title {
  color: var(--primary);
}
.section-products .products.grid-view .post {
  width: calc(33.333% - 14px);
}
.section-products .products {
  /*

  List view

  */
}
.section-products .products.list-view {
  flex-direction: column;
}
.section-products .products.list-view .post {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.section-products .products.list-view .post .image {
  width: 180px;
  flex: 0 0 180px;
}
.section-products .products.list-view .post .image img {
  aspect-ratio: 1.3;
}
.section-products .products.list-view .post .text {
  padding: 0;
  flex: 1 1 auto;
}
.section-products .products.list-view .post .details {
  display: block;
  margin-top: 10px;
}
.section-products .products.list-view .post .details .excerpt {
  font-size: 0.9em;
  line-height: 1.5em;
  color: #444;
  margin: 0 0 10px;
}
.section-products .products.list-view .post .details .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.section-products .products.list-view .post .details .specs .spec {
  font-size: 0.85em;
  color: #666;
}
.section-products .products.list-view .post .details .specs .spec strong {
  color: var(--black);
  font-weight: 600;
}
@media (max-width: 980px) {
  .section-products .products.grid-view .post {
    width: calc(50% - 10px);
  }
}
@media (max-width: 640px) {
  .section-products .products.grid-view .post {
    width: 100%;
  }
  .section-products .product-filters .field,
  .section-products .product-filters .apply,
  .section-products .product-filters .reset {
    flex: 1 1 100%;
  }
  .section-products .products.list-view .post {
    flex-direction: column;
    align-items: stretch;
  }
  .section-products .products.list-view .post .image {
    width: 100%;
    flex: 1 1 auto;
  }
}
.section-products {
  /*

  Posts - Pagination

  */
}
.section-products .pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 2rem 0 1rem;
}
.section-products .pagination .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.section-products .pagination .page-numbers {
  width: 44px;
  height: 44px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 0.95em;
  text-decoration: none;
  border: none;
}
.section-products .pagination a.page-numbers:not(.prev):not(.next) {
  background-color: #e8eaf0;
  color: var(--black);
  transition: all 0.15s;
}
.section-products .pagination a.page-numbers:not(.prev):not(.next):hover {
  background-color: var(--primary);
  color: var(--white);
}
.section-products .pagination span.current {
  background-color: #1b2f7a;
  color: var(--white);
}
.section-products .pagination span.dots {
  background-color: #e8eaf0;
  color: var(--black);
}
.section-products .pagination a.prev, .section-products .pagination a.next {
  width: auto;
  height: 44px;
  padding: 6px;
  gap: 12px;
  border-radius: 100px;
  color: var(--white);
  font-weight: 600;
  transition: all 0.15s;
}
.section-products .pagination a.prev .arrow, .section-products .pagination a.next .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 100%;
  flex: 0 0 32px;
}
.section-products .pagination a.prev .arrow svg, .section-products .pagination a.next .arrow svg {
  height: 0.8em;
}
.section-products .pagination a.prev .arrow svg path, .section-products .pagination a.next .arrow svg path {
  fill: var(--white);
}
.section-products .pagination a.prev .label, .section-products .pagination a.next .label {
  padding: 0 6px;
}
.section-products .pagination a.prev:hover, .section-products .pagination a.next:hover {
  color: var(--white);
}
.section-products .pagination a.prev {
  background-color: #3f6fd6;
  padding-right: 22px;
}
.section-products .pagination a.prev .arrow {
  background-color: rgba(255, 255, 255, 0.22);
}
.section-products .pagination a.prev:hover {
  background-color: #335fc0;
}
.section-products .pagination a.next {
  background-color: #5a8af5;
  padding-left: 22px;
}
.section-products .pagination a.next .arrow {
  background-color: #1b2f7a;
}
.section-products .pagination a.next:hover {
  background-color: #4a7af0;
}