/* Only these server-validated themes can change approved storefront presentation. */
.store-layout {
  overflow-wrap: anywhere;
}

.store-section {
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid #dedbd5;
  border-radius: 1rem;
}

.store-theme-warm .store-section {
  background: #faf1e7;
  border-color: #dec7ae;
}

.store-theme-forest .store-section {
  background: #edf3ec;
  border-color: #b8cbb4;
}

.store-section-banner {
  text-align: center;
}

.store-section-banner img {
  display: block;
  margin: auto;
  max-height: 26rem;
  object-fit: contain;
}

.store-preview-mobile {
  max-width: 390px;
  padding: 1rem;
  border: 2px solid #dedbd5;
}

.store-preview-mobile .product-grid {
  grid-template-columns: minmax(0, 1fr);
}

.store-preview-mobile .product-card {
  min-width: 0;
}

@media (max-width: 600px) {

  .store-section {
    padding: 1rem;
  }
}

/* One storefront collection surface contains the heading, products and pagination. */
.store-products-card {
  padding: 24px;
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.store-products-heading {
  margin-bottom: 18px;
}

.store-products-heading h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.store-products-heading p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 767px) {

  .store-products-card {
    padding: 16px;
    margin-top: 18px;
  }

  .store-products-heading {
    margin-bottom: 16px;
  }

  .store-products-heading h2 {
    font-size: 21px;
  }

  .store-products-heading p {
    font-size: 13px;
  }
}
