.alciumpb-page {
  margin-bottom: 2rem;
}

.alciumpb-intro {
  margin-bottom: 1.5rem;
}

.alciumpb-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.alciumpb-toolbar .form-control {
  max-width: 28rem;
}

.alciumpb-count {
  color: #6c757d;
  white-space: nowrap;
}

.alciumpb-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.alciumpb-grid::before,
.alciumpb-grid::after {
  display: none;
}

.alciumpb-grid-item {
  display: flex;
  float: none;
  margin-bottom: 1.5rem;
}

.alciumpb-grid-item[hidden] {
  display: none !important;
}

.alciumpb-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.alciumpb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .10);
}

.alciumpb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 9rem;
  padding: 1.25rem;
  background: #f7f7f7;
  color: #232323;
  font-size: 1.5rem;
  letter-spacing: .04em;
  text-align: center;
}

.alciumpb-logo:hover {
  color: #232323;
  text-decoration: none;
}

.alciumpb-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 6rem;
}

.alciumpb-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
}

.alciumpb-card-body h2 {
  margin: .75rem 0 .5rem;
  font-size: 1.15rem;
}

.alciumpb-card-body p {
  margin-bottom: 1rem;
}

.alciumpb-card-body .btn {
  margin-top: auto;
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.alciumpb-badge {
  display: inline-block;
  padding: .3rem .65rem;
  color: #111;
  background: #ff5a00;
  border-radius: 1rem;
  font-weight: 700;
}

body#product .product-flags .discount,
body#product .current-price .discount,
.alciumpb-page .product-flags .discount {
  color: #111 !important;
  background: #ff5a00 !important;
  border-radius: 999px !important;
}

body#product .product-price.has-discount .current-price-value,
.alciumpb-page .product-miniature .product-price-and-shipping .price {
  color: #ff5a00 !important;
}

.alciumpb-brand-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f7f7f7;
}

.alciumpb-brand-heading img {
  width: auto;
  max-width: 12rem;
  max-height: 5rem;
}

.alciumpb-brand-heading p {
  margin: 0;
}

#alciumpb-products .products {
  display: flex;
  flex-wrap: wrap;
  margin-right: -.75rem;
  margin-left: -.75rem;
}

#alciumpb-products .products > .product {
  display: flex;
  flex: 0 0 33.333333%;
  width: 33.333333%;
  max-width: 33.333333%;
  margin-bottom: 1.5rem;
  padding-right: .75rem;
  padding-left: .75rem;
}

#alciumpb-products .products > .product > .product-miniature {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.alciumpb-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.alciumpb-pagination > :last-child {
  text-align: right;
}

.alciumpb-product-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .35rem;
  color: #6c757d;
  font-size: .875rem;
}

.alciumpb-product-brand img {
  display: block;
  width: auto;
  max-width: 5rem;
  max-height: 1.5rem;
}

@media (max-width: 575px) {
  .alciumpb-toolbar,
  .alciumpb-brand-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .alciumpb-toolbar .form-control {
    max-width: none;
  }

  .alciumpb-pagination {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .alciumpb-pagination > :last-child {
    text-align: center;
  }

  #alciumpb-products .products > .product {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  #alciumpb-products .products > .product {
    flex-basis: 50%;
    width: 50%;
    max-width: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .alciumpb-card {
    transition: none;
  }
}
