.store-policy-page {
  --page-navy: #061b37;
  --page-border: #dce3e8;
  background: #fff;
  padding-bottom: 64px;
}
.store-policy-page .store-pages-layout {
  max-width: 1240px;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 50px;
  padding-inline: 32px;
}
.store-policy-page .store-pages-sidebar {
  display: block;
  align-self: start;
  height: auto;
  max-height: calc(100dvh - var(--policy-top, 120px) - 24px);
  margin-top: calc(var(--page-title-padding) * 2 + var(--page-title-size) * 1.25);
  border: 0;
  border-top: 2px solid #244459;
  background: #f5f7f8;
  overflow-y: auto;
  container-type: normal;
  transition: none;
  scrollbar-width: thin;
}
.store-policy-page .store-pages-sidebar nav { display: block; }
.store-policy-page .store-pages-sidebar__heading {
  margin: 0;
  padding: 22px 20px 16px;
  background: transparent;
  color: #244459;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.store-policy-page .store-pages-sidebar ul { display: block; margin: 0; padding: 0 12px 16px; }
.store-policy-page .store-pages-sidebar li { display: block; margin: 0; }
.store-policy-page .store-pages-sidebar nav a {
  display: flex;
  gap: 12px;
  min-height: 46px;
  padding: 12px;
  border-inline-start: 2px solid transparent;
  color: #536370;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  text-decoration: none;
}
.store-policy-page .store-pages-sidebar nav a svg { display: none; }
.store-policy-page .store-pages-sidebar nav a:hover { color: #061b37; background: #eaf0f3; }
.store-policy-page .store-pages-sidebar nav a[aria-current='page'] {
  border-inline-start-color: #b68c42;
  background: #fff;
  color: #061b37;
  font-weight: 600;
  box-shadow: none;
}
.store-policy-page .store-pages-sidebar a:focus-visible { outline: 2px solid #687991; outline-offset: -2px; }
.store-policy-page .store-pages-sidebar__help { margin: 0; padding: 22px 20px; border-top: 1px solid #dce3e8; background: transparent; }
.store-policy-page .store-pages-sidebar__help h2 { margin: 0 0 10px; font-size: 17px; font-weight: var(--font-weight-header); line-height: 1.3; }
.store-policy-page .store-pages-sidebar__help p { margin: 0 0 14px; color: #536370; font-size: 12px; line-height: 1.8; }
.store-policy-page .store-pages-main .shopify-policy__body {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #384650;
  font-size: 15px;
  line-height: 1.85;
}
.store-policy-page .shopify-policy__body .rte { width: 100%; max-width: none; margin-inline: 0; padding-inline: 0; }
.store-policy-page .shopify-policy__body :is(h2, h3, h4, h5, h6) { margin: 36px 0 14px; color: #061b37; letter-spacing: -.015em; }
.store-policy-page .shopify-policy__body > :first-child,
.store-policy-page .shopify-policy__body .rte > :first-child { margin-top: 0; }
.store-policy-page .shopify-policy__body h2 { font-size: 22px; }
/* Dòng "Last Updated: ..." đầu mỗi chính sách: căn phải. */
.store-policy-page .shopify-policy__body .rte > p:first-child:has(> em:only-child) { text-align: right; color: var(--page-muted, #657187); font-size: 13px; }
.store-policy-page .shopify-policy__body h3 { font-size: 18px; }
.store-policy-page .shopify-policy__body :is(p, ul, ol) { margin-bottom: 20px; }
.store-policy-page .shopify-policy__body a { color: #244459; text-decoration: none; overflow-wrap: anywhere; }
.store-policy-page .shopify-policy__body a:hover { color: #061b37; text-decoration: none; }
/* The theme draws link underlines with pseudo-elements in rich text. */
.store-policy-page .shopify-policy__body a::before,
.store-policy-page .shopify-policy__body a::after { display: none; }
.store-policy-page .shopify-policy__body blockquote { padding: 20px 24px; border-inline-start: 2px solid #b68c42; background: #f5f7f8; }
.store-policy-page .shopify-policy__body :is(img, video, iframe) { max-width: 100%; }
@media (min-width: 768px) and (max-width: 1023px) {
  .store-policy-page .store-pages-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding-inline: 24px; }
  .store-policy-page .store-pages-sidebar__heading { padding-inline: 16px; }
  .store-policy-page .store-pages-sidebar nav a { padding-inline: 8px; }
  .store-policy-page .store-pages-sidebar__help { padding: 20px 16px; }
}
@media (max-width: 767px) {
  .store-policy-page { padding-bottom: 36px; }
  .store-policy-page .store-pages-layout { display: flex; flex-direction: column; gap: 36px; padding-inline: 20px; }
  .store-policy-page .store-pages-main { order: 0; width: 100%; }
  .store-policy-page .store-pages-sidebar { order: 1; position: static; width: 100%; margin-top: 0; max-height: none; }
  .store-policy-page .store-pages-sidebar ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .store-policy-page .store-pages-sidebar nav a { height: 100%; font-size: 12px; }
  .store-policy-page .store-pages-main .shopify-policy__body { padding: 0; font-size: 14px; line-height: 1.85; }
  .store-policy-page .shopify-policy__body h2 { font-size: 20px; }
}

.store-policy-page .store-pages-sidebar__help .m-button > span { flex: 0 1 auto; }
