/* The guides (/guides/{slug}, /fr/guides/{slug}) — on top of pages.css.
   Server-rendered, no script: every block reads without JavaScript. */

.gd .pg-prose { max-width: 780px; }

/* The short answer, first on the page. */
.gd-answer { background: var(--blue-050); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 22px; }
.gd-answer-label { display: block; font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700) !important; margin: 0 0 6px !important; }
.gd-answer p:last-child, .gd-answer ul:last-child, .gd-answer ol:last-child { margin-bottom: 0; }

/* The offer and the listing, twice: after the answer, and at the end. The
   offer is the landing's launch button (.v2-btn-glow, octopia.css); the
   listing is the demonstration page's, in Shopify's own green and bag. The
   colors are restated here because `.pg-prose a` would paint them blue. */
.gd-cta { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin: 0 0 34px; }
.gd-cta .btn { text-decoration: none; color: #fff; }
.gd-btn-shopify {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #008060; border: 1px solid #008060;
  transition: background .2s ease, border-color .2s ease, transform .25s ease;
}
.gd-btn-shopify svg { width: 20px; height: 20px; flex: 0 0 auto; }
.gd-cta .gd-btn-shopify:hover { background: #006e52; border-color: #006e52; color: #fff; transform: translateY(-2px); }
@media (max-width: 560px) { .gd-cta .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .gd-btn-shopify { transition: none; } }
.gd-cta-note { font-size: 13px !important; color: var(--ink-500) !important; margin: 0 !important; flex-basis: 100%; }
.gd-cta-end { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 40px; }
.gd-cta-end h2 { margin-top: 0 !important; }

/* « D'où viennent ces informations » */
.gd-sources { border: 1px solid var(--line); border-left: 4px solid var(--blue-500); border-radius: var(--radius); background: var(--surface-sunken); padding: 16px 20px; margin: 36px 0 0; }
.gd-sources h2 { font-size: 17px !important; margin: 0 0 8px !important; }
.gd-sources p, .gd-sources li { font-size: 14.5px !important; }
.gd-sources :last-child { margin-bottom: 0; }

/* A screenshot or a diagram, next to the text it illustrates. Never the only
   place a fact is written: what the image shows is also in the text or a
   table, for the reader who cannot see it and for the engines that cannot
   read it. */
.gd-figure { margin: 22px 0 26px; }
.gd-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-sunken); }
.gd-figure figcaption { font-size: 13.5px !important; color: var(--ink-500) !important; margin-top: 8px; line-height: 1.45; }

/* A table with its caption (scope, date, method): the caption sits above the
   scrolling frame, not inside it — a <caption> is as wide as its table, so on
   a phone it ran off the screen with the columns (owner, 2026-10-28). */
.gd-table { margin: 0 0 20px; }
.gd-table figcaption { font-size: 13.5px !important; color: var(--ink-500) !important; line-height: 1.45; margin: 0 0 8px; }
.gd-table .pg-table-wrap { margin: 0; }

/* The eyebrow of a guide leads back to the guides' index. */
.gd a.gd-eyebrow { text-decoration: none; }
.gd a.gd-eyebrow:hover { text-decoration: underline; }

/* The guides' index: one entry per guide, newest first. */
.gd-list { list-style: none; padding: 0 !important; margin: 26px 0 0; }
.gd-list li { border-top: 1px solid var(--line); padding: 18px 0; margin: 0 !important; }
.gd-list li:last-child { border-bottom: 1px solid var(--line); }
.gd-list h2 { font-size: 20px !important; margin: 0 0 6px !important; }
.gd-list h2 a { text-decoration: none; }
.gd-list h2 a:hover { text-decoration: underline; }
.gd-list p { margin: 0 0 4px !important; }
.gd-list .pg-updated { margin: 0 !important; }

/* FAQ: plain headings and paragraphs, always open. */
.gd-faq h3 { margin-top: 20px; }

.gd-publisher { font-size: 13px !important; color: var(--ink-500) !important; margin-top: 28px !important; }

/* A video inside a guide: a still and a play button until the visitor clicks (guides/partials/video). */
.gd-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg, 14px); overflow: hidden; background: #0b2a4a; box-shadow: 0 10px 30px rgba(12, 49, 89, .16); }
.gd-video > iframe, .gd-video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.gd-video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; border: 0 !important; border-radius: 0 !important; transition: transform .5s ease; }
.gd-video-facade:hover img { transform: scale(1.03); }
.gd-video-play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; border-radius: 50%; background: #e62117; transform: translate(-50%, -50%); box-shadow: 0 10px 28px rgba(0, 0, 0, .38); transition: transform .2s ease; }
.gd-video-play::after { content: ""; position: absolute; left: 36px; top: 26px; border-style: solid; border-width: 20px 0 20px 32px; border-color: transparent transparent transparent #fff; }
.gd-video-facade:hover .gd-video-play, .gd-video-facade:focus-visible .gd-video-play { transform: translate(-50%, -50%) scale(1.08); }
.gd-video-duration { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; }
@media (max-width: 560px) {
    .gd-video-play { width: 68px; height: 68px; }
    .gd-video-play::after { left: 27px; top: 19px; border-width: 15px 0 15px 24px; }
}
@media (prefers-reduced-motion: reduce) { .gd-video-facade img, .gd-video-play { transition: none; } }
