/*
 * The shop's own pages (build step 8e): an info page (/{slug}), a product's
 * documentation page (/produk/{slug}/dokumentasi/{doc}) and the site map
 * (/peta-situs). The design drew none of them: the info and documentation
 * pages take the article's reading column (css/page/blog.css, ".ar-…"), this
 * sheet adds what they have of their own. Loaded after blog.css.
 */

/* "Terakhir diperbarui …" under the title: the icon beside the words. */
.aa .in-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.aa .in-updated > i {
  --_size: 18px;
  font-size: 18px;
}

/* "Ada pertanyaan? Hubungi kami." under the body, after a hairline. */
.aa .in-help {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--outline-variant);
  border-radius: 0;
}

.aa .in-help > i {
  --_size: 20px;
  flex: none;
  font-size: 20px;
}

/* A buyers-only page for a reader without the license: why it is closed,
   and the way in. */
.aa .in-locked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
  border-radius: 28px;
  background: var(--aa-raised);
  box-shadow: var(--elevate1);
}

.aa .in-locked-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background-color: var(--primary-container);
  color: var(--on-primary-container);
}

.aa .in-locked-ic > i {
  --_size: 32px;
  font-size: 32px;
}

.aa .in-locked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* The product's documentation pages beside the body: the one being read
   marked like a table of contents' current section. */
.aa .in-docs a.is-current {
  background: var(--active);
  color: var(--on-surface);
  font-weight: 600;
}

/* ---------- The site map: /peta-situs ---------- */

.aa .sm-page {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: 32px 88px;
}

/* As many groups a row as fit, each at least 260 px wide. */
.aa .sm-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px 48px;
  align-items: start;
}

.aa .sm-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.aa .sm-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* A long product or article title wraps instead of widening its column. */
.aa .sm-group a {
  overflow-wrap: anywhere;
}

/* ---------- Phone (≤ 600 px) ---------- */

@media (max-width: 600px) {
  .aa .in-locked {
    padding: 24px 20px;
  }

  .aa .sm-page {
    gap: 24px;
    padding-block: 16px 48px;
  }
}
