.pkas-search-summary {
  width: 100%;
}

.pkas-master-block {
  margin: 0 0 3rem;
}

.pkas-master-header {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.pkas-master-header .h2 {
  margin-bottom: .75rem;
}

.pkas-count {
  font-weight: 400;
}

.pkas-section {
  margin-top: 1.5rem;
}

.pkas-section-header {
  margin-bottom: .75rem;
}

.pkas-category-list {
  margin: 0;
  padding-left: 1.25rem;
}

.pkas-category-list li {
  margin: .35rem 0;
}

.pkas-more-wrap {
  margin: 1rem 0 0;
}

.pkas-autocomplete {
  position: absolute;
  z-index: 10000;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 75vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.pkas-autocomplete[hidden] {
  display: none !important;
}

.pkas-auto-master {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.pkas-auto-master:last-child {
  border-bottom: 0;
}

.pkas-auto-master-title {
  margin-bottom: .6rem;
  font-size: 1rem;
  font-weight: 600;
}

.pkas-auto-subtitle {
  margin: .65rem 0 .35rem;
  font-size: .9rem;
  font-weight: 600;
}

.pkas-auto-products {
  display: grid;
  gap: .5rem;
}

.pkas-auto-product {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.pkas-auto-product img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex: 0 0 70px;
}

.pkas-auto-product-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.pkas-auto-product-name {
  line-height: 1.25;
}

.pkas-auto-product-price {
  margin-top: .2rem;
  font-weight: 600;
}

.pkas-auto-categories {
  margin: 0;
  padding-left: 1.1rem;
}

.pkas-auto-categories li {
  margin: .2rem 0;
}

.pkas-auto-more {
  margin-top: .75rem;
  font-weight: 600;
}

.pkas-auto-loading,
.pkas-auto-empty {
  padding: 1rem;
}

@media (max-width: 767px) {
  .pkas-autocomplete {
    position: fixed;
    top: auto;
    left: 1rem;
    right: 1rem;
    max-height: 65vh;
  }
}


/* Intégration sidebar mobile pkelements :
   dans .pk-aside, le résultat doit faire partie du flux du formulaire,
   et non se comporter comme une popup flottante. */
.pk-aside .pk-search-widget .pkas-autocomplete.pkas-sidebar-results {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  min-width: 0;
  max-height: none;
  margin: 0;
  overflow: visible;
  box-shadow: none;
}
