/* A category coming soon — /kategori/{slug} while the admin keeps it active
   and nothing is on sale in it (decision 106; storefront/page/coming_soon.html).
   The design draws no such page: it is built from the design's parts — a
   raised card in the category's colours (its `.cat-*` class sets --cc for
   the shape), the catalogue's chips, the forms' field (the "Kabari saya"
   box, storefront.css). */

/* The page's room: as the catalogue's under the header. */
.aa > main.ks-main {
  padding: 32px 0 88px;
}

/* The card, then the categories on sale meanwhile — one column at most
   760 px wide, centred, never nearer the screen's sides than the tablet's
   24 px (the phone's 16 px below; .aa-wrap's own width and gutters are
   replaced, not added to). */
.aa .ks-page {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: auto;
  margin-inline: max(24px, calc((100% - 760px) / 2));
}

.aa .ks-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px;
  border-radius: 32px;
  background: var(--aa-raised);
  box-shadow: var(--elevate1);
}

/* The category's shape on the left, "Segera hadir" on the right. */
.aa .ks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.aa .ks-icon {
  flex: none;
  width: 72px;
  height: 72px;
}

.aa .ks-icon i {
  --_size: 32px;
  font-size: 32px;
}

.aa .ks-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.aa .ks-chip i {
  --_size: 18px;
  font-size: 18px;
}

/* The card's own gap spaces its lines (BeerCSS's would add to it). */
.aa :is(.ks-h1, .ks-summary, .ks-lead, .ks-others h2, .ks-bespoke) {
  margin: 0;
}

.aa .ks-others {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aa .ks-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* A chip's icon in its category's colour, as the home page's chips. */
.aa .ks-links .chip i {
  color: var(--cc);
}

/* Phones: less room around the card, a smaller shape. */
@media (max-width: 600px) {
  .aa > main.ks-main {
    padding: 16px 0 32px;
  }

  .aa .ks-page {
    margin-inline: 16px;
  }

  .aa .ks-card {
    padding: 20px;
    border-radius: 24px;
  }

  .aa .ks-icon {
    width: 56px;
    height: 56px;
  }

  .aa .ks-icon i {
    --_size: 26px;
    font-size: 26px;
  }
}
