/* Power Themes help: documentation and support for our Shopify Theme Store themes */
:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --muted: #555555;
  --line: #dcdad4;
  --tint: #f4f3ef;
  --accent: #d4ff00;
  --focus: #1f3bff;
  --radius: 4px;
  --wide: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; }
h2 { font-size: 30px; font-weight: 800; margin-top: 2.2em; padding-top: 0.6em; border-top: 2px solid var(--ink); }
h3 { font-size: 21px; font-weight: 700; margin-top: 1.8em; }
h4 { font-size: 17px; font-weight: 700; margin-top: 1.4em; }
p, ul, ol, table, dl { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 0.3em; }
code { font: 0.88em var(--mono); background: var(--tint); padding: 0.1em 0.35em; border-radius: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 10; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header and footer */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 2px solid var(--ink); }
.site-header__inner { max-width: var(--wide); margin: 0 auto; padding: 0 24px; min-height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { background: var(--accent); border: 2px solid var(--ink); padding: 0 6px; line-height: 1.5; }
.site-nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: var(--radius); }
.site-nav a[aria-current="page"], .site-nav a:hover { background: var(--tint); }
.site-footer { border-top: 2px solid var(--ink); margin-top: 80px; }
.site-footer__inner { max-width: var(--wide); margin: 0 auto; padding: 28px 24px 40px; display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--muted); font-size: 15px; }

/* page layouts */
.page { max-width: var(--wide); margin: 0 auto; padding: 48px 24px 0; }
.page--narrow { max-width: 780px; }
.lead { font-size: 20px; color: var(--muted); max-width: 62ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 32px 0; }
.card { border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h2 { margin: 0; padding: 0; border: 0; font-size: 24px; }
.card p { margin: 0; color: var(--muted); }
.card__links { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--accent); color: var(--ink); font: 700 15px var(--font); text-decoration: none; cursor: pointer; }
.button--secondary { background: var(--paper); }
.button:hover { background: var(--ink); color: var(--paper); }

/* documentation */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
.toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: 15px; padding-bottom: 24px; }
.toc p { font-weight: 700; margin-bottom: 8px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li + li { margin-top: 0; }
.toc a { display: block; padding: 6px 10px; border-left: 2px solid var(--line); text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.docs__body { max-width: 760px; }
.docs__body > h2:first-of-type { margin-top: 1.2em; }
.meta { color: var(--muted); font-size: 15px; }
.note { background: var(--tint); border-left: 4px solid var(--ink); padding: 14px 18px; margin: 0 0 1.2em; }
.note p:last-child { margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding-left: 44px; min-height: 32px; }
.steps > li + li { margin-top: 14px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { border-bottom: 2px solid var(--ink); font-size: 14px; }
.path { font-weight: 600; }
details.ref { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 10px; }
details.ref > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.ref > summary::-webkit-details-marker { display: none; }
details.ref > summary::after { content: "+"; font-weight: 700; }
details.ref[open] > summary::after { content: "–"; }
details.ref > div { padding: 0 16px 8px; }
.ref-list { list-style: none; padding: 0; font-size: 15px; }
.ref-list li { padding: 8px 0; border-top: 1px solid var(--line); margin: 0; }
.ref-list .ref-type { color: var(--muted); font-size: 13px; margin-left: 6px; }
.ref-list .ref-info { display: block; color: var(--muted); }
.ref-group { margin: 14px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.faq dt { font-weight: 700; margin-top: 1.2em; }
.faq dd { margin: 0.3em 0 0; }

/* support form */
.form { display: grid; gap: 18px; margin: 24px 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field .hint { color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea { font: 16px var(--font); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 180px; resize: vertical; }
.field input[type="file"] { padding: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.honey { display: none; }

@media (max-width: 880px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 24px; }
  .two { grid-template-columns: 1fr; }
  .site-header__inner { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .site-nav { margin-left: 0; }
  h2 { font-size: 26px; }
}
