.store-content-page,
.store-policy-page {
  --page-navy: #061b37;
  --page-gold: #c99b3f;
  --page-border: #d6dfeb;
  color: var(--page-navy);
  background: linear-gradient(180deg, #f5f7fa 0, #ffffff 280px, #ffffff 620px);
  padding: 48px 0 64px;
}

.store-content-page .m-page-header,
.store-policy-page .shopify-policy__title {
  margin: 0 auto 32px;
  padding: 0 20px;
  text-align: center;
}

.store-content-page .m-page-header__title,
.store-policy-page .shopify-policy__title h1 {
  margin: 0;
  color: var(--page-navy);
  font-family: var(--font-stack-header);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: var(--font-weight-header);
  line-height: 1.2;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.store-content-page > .container,
.store-policy-page .shopify-policy__container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.store-content-page .m-page-content,
.store-policy-page .shopify-policy__body {
  padding: 40px 48px;
  border: 1px solid var(--page-border);
  border-top: 3px solid var(--page-navy);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgb(6 27 55 / 5%);
  color: #000000;
  font-family: var(--font-stack-body);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) :is(h1, h2, h3, h4, h5, h6) {
  color: var(--page-navy);
  font-family: var(--font-stack-header);
  font-weight: var(--font-weight-header);
  line-height: 1.35;
  margin: 32px 0 12px;
  scroll-margin-top: 120px;
}

:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) h2 { font-size: 24px; }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) h3 { font-size: 20px; }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) :is(p, ul, ol) { margin: 0 0 18px; }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) :is(ul, ol) { padding-inline-start: 24px; }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) li { margin-block: 6px; }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) strong { color: var(--page-navy); }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) a {
  color: var(--page-navy);
  text-decoration: underline;
  text-decoration-color: var(--page-gold);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) a:hover { text-decoration-thickness: 2px; }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) a:focus-visible { outline: 2px solid var(--page-gold); outline-offset: 3px; }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border: 0;
  border-inline-start: 3px solid var(--page-gold);
  background: #ffffff;
  color: var(--page-navy);
  font-size: inherit;
  font-style: normal;
}
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) hr { margin: 28px 0; border: 0; border-top: 1px solid var(--page-border); }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) :is(th, td) { padding: 12px 16px; border: 1px solid var(--page-border); }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) th { color: var(--page-navy); background: #f5f7fa; }
:is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) img { max-width: 100%; height: auto; }
.store-content-page .m-page-content > :first-child,
.store-policy-page .shopify-policy__body .rte > :first-child { margin-top: 0; }
.store-content-page .m-page-content > :last-child,
.store-policy-page .shopify-policy__body .rte > :last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  .store-content-page, .store-policy-page { padding: 28px 0 36px; }
  .store-content-page .m-page-header, .store-policy-page .shopify-policy__title { margin-bottom: 24px; padding-inline: 0; }
  .store-content-page > .container, .store-policy-page .shopify-policy__container { padding-inline: 12px; }
  .store-content-page .m-page-content, .store-policy-page .shopify-policy__body { padding: 24px 18px; font-size: 15px; line-height: 1.75; }
  :is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) h2 { font-size: 21px; }
  :is(.store-content-page .m-page-content, .store-policy-page .shopify-policy__body) h3 { font-size: 18px; }
}

.store-content-page, .store-policy-page { padding: 36px 0 48px; }
.store-pages-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 28px; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.store-pages-main { min-width: 0; }
.store-pages-main > .container, .store-pages-main .shopify-policy__container { max-width: none; padding: 0; }
.store-pages-main .m-page-header, .store-pages-main .shopify-policy__title { text-align: left; padding: 0; margin-bottom: 24px; }
.store-pages-main .m-page-header > .container { padding: 0; }
.store-content-page .store-pages-main .m-page-header { text-align: center; }
.store-pages-main .m-page-content, .store-pages-main .shopify-policy__body { padding: 32px; }
.store-pages-sidebar { position: sticky; top: calc(var(--header-height, 100px) + 24px); border: 1px solid #d6dfeb; border-radius: 8px; overflow: hidden; background: #ffffff; }
.store-pages-sidebar__heading { padding: 18px; background: #061b37; color: #ffffff; font-size: 14px; font-weight: 700; }
.store-pages-sidebar ul { list-style: none; padding: 8px; margin: 0; }
.store-pages-sidebar a { display: block; padding: 12px; border-radius: 4px; color: #000000; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.store-pages-sidebar a:hover, .store-pages-sidebar a[aria-current="page"] { color: #061b37; background: #f5f7fa; }
.store-pages-sidebar a[aria-current="page"] { font-weight: 700; box-shadow: inset 3px 0 #061b37; }
.store-pages-sidebar a:focus-visible { outline: 2px solid #061b37; outline-offset: -2px; }
@media (max-width: 767px) {
  .store-content-page, .store-policy-page { padding: 24px 0 32px; }
  .store-pages-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-inline: 12px; }
  .store-pages-sidebar { position: static; }
  .store-pages-sidebar__heading { padding: 12px 16px; }
  .store-pages-sidebar ul { display: flex; overflow-x: auto; gap: 4px; }
  .store-pages-sidebar li { flex: none; }
  .store-pages-sidebar a { padding: 10px 12px; }
  .store-pages-main .m-page-header, .store-pages-main .shopify-policy__title { margin-bottom: 20px; }
  .store-pages-main .m-page-content, .store-pages-main .shopify-policy__body { padding: 24px 18px; }
}

.store-policy-page .store-pages-layout { max-width: 1480px; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; }
.store-policy-page .store-pages-main .shopify-policy__container { width: 100%; max-width: none !important; margin: 0 !important; padding: 0; }
.store-policy-page .store-pages-main .shopify-policy__title { margin: 0; padding: 0; text-align: center; }
.store-policy-page .store-pages-main .shopify-policy__title h1 { margin: 0; padding: 30px 0; }
.store-pages-layout--page { display: block; max-width: 1120px; }
.store-policy-page .store-pages-sidebar { display: flex; flex-direction: column; top: var(--policy-top, 120px); height: calc(100dvh - var(--policy-top, 120px) - 12px); min-height: 0; overflow: hidden; container-type: size; transition: top .25s ease, height .25s ease; }
.store-pages-sidebar nav { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.store-pages-sidebar__heading { background: #ffffff; color: #061b37; font-size: 22px; padding: 22px 20px; }
.store-pages-sidebar ul { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.store-pages-sidebar li { display: flex; flex: 1; min-height: 0; }
.store-pages-sidebar a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 14px; }
.store-pages-sidebar a span:first-of-type { flex: 1; }
.store-pages-sidebar a svg { width: 20px; height: 20px; flex: none; }
.store-pages-sidebar a[aria-current="page"] { background: #f5f7fa; box-shadow: inset 3px 0 #c99b3f; }
.store-pages-sidebar nav a { padding-block: 6px; }
.store-pages-sidebar__help { flex: none; margin: 8px 10px 10px; padding: 14px; border-radius: 8px; background: #f5f7fa; }
.store-pages-sidebar__help h2 { margin: 0 0 8px; color: #061b37; font-size: 20px; line-height: 1.2; font-weight: 700; }
.store-pages-sidebar__help p { margin: 0 0 12px; font-size: 13px; line-height: 1.6; }
.store-pages-sidebar__help a { justify-content: space-between; padding: 12px; background: #061b37; color: #ffffff; }
.store-pages-sidebar__help a:hover { background: #061b37; color: #ffffff; }
.store-pages-sidebar__help a span { flex: none; }
@container (max-height: 540px) {
  .store-pages-sidebar__heading { padding: 12px 16px; font-size: 20px; }
  .store-pages-sidebar nav a { font-size: 13px; padding-block: 3px; }
  .store-pages-sidebar__help { padding: 10px; margin-top: 4px; }
  .store-pages-sidebar__help p { line-height: 1.3; margin-bottom: 8px; }
  .store-pages-sidebar__help h2 { font-size: 18px; margin-bottom: 4px; }
  .store-pages-sidebar__help a { padding: 8px 10px; }
}
@media (max-width: 767px) {
.store-policy-page .store-pages-layout { display: block; max-width: 1120px; }
.store-policy-page .store-pages-sidebar { display: none; }
.store-policy-page .store-pages-main .shopify-policy__title { margin-bottom: 20px; }
.store-policy-page .store-pages-main .shopify-policy__title h1 { padding: 0; }
.store-pages-sidebar ul { flex-direction: row; }
.store-pages-sidebar li { flex: none; min-height: 0; }
.store-pages-sidebar a { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .store-policy-page .store-pages-sidebar { transition: none; } }
