/* Guild & Gryphon theme: layout classes that replace the mockups' inline styles,
   plus WordPress pieces (prose, skip link, screen-reader text). Brand tokens and
   components are in site.css; each page's own rules are in pages.css. */

/* ---------- WordPress basics ---------- */
.screen-reader-text, .gg-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.gg-skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--brass); color: var(--on-brass);
  font: 700 17px/1 var(--font-label); letter-spacing: .08em; border-radius: var(--radius-sm); text-decoration: none; }
.gg-skip:focus { top: 12px; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
.gg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
html.gg-js .gg-js-hide { display: none !important; }
html:not(.gg-js) .gg-js-only { display: none !important; }
:focus-visible { outline: var(--border-frame) solid var(--brass); outline-offset: 2px; }

/* ---------- layout utilities ---------- */
.gg-stack-2, .gg-stack-4, .gg-stack-6, .gg-stack-8, .gg-stack-10, .gg-stack-12, .gg-stack-14, .gg-stack-16, .gg-stack-18,
.gg-stack-20, .gg-stack-22, .gg-stack-24, .gg-stack-28, .gg-stack-40, .gg-stack-48 { display: flex; flex-direction: column; }
.gg-stack-2 { gap: 2px; } .gg-stack-4 { gap: 4px; } .gg-stack-6 { gap: 6px; } .gg-stack-8 { gap: 8px; } .gg-stack-10 { gap: 10px; }
.gg-stack-12 { gap: 12px; } .gg-stack-14 { gap: 14px; } .gg-stack-16 { gap: 16px; } .gg-stack-18 { gap: 18px; } .gg-stack-20 { gap: 20px; }
.gg-stack-22 { gap: 22px; } .gg-stack-24 { gap: 24px; } .gg-stack-28 { gap: 28px; } .gg-stack-40 { gap: 40px; } .gg-stack-48 { gap: 48px; }
.gg-gap-12 { gap: 12px !important; } .gg-gap-18 { gap: 18px !important; }
.gg-btnrow { display: flex; flex-wrap: wrap; gap: 16px; }
.gg-chips-8 { display: flex; flex-wrap: wrap; gap: 8px; }
.gg-rowhead { display: flex; align-items: center; gap: 20px; }
.gg-rowhead--base { align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.gg-wrap { flex-wrap: wrap; }
.gg-items-center { align-items: center; }
.gg-justify-between { justify-content: space-between; gap: 12px; }
.gg-justify-center { justify-content: center; }
.gg-grow { flex: 1 1 auto; min-width: 0; }
.gg-grow-420 { flex: 1 1 420px; min-width: 0; }
.gg-minw0 { min-width: 0; }
.gg-rel { position: relative; }
.gg-block { display: block; }
.gg-self-start { align-self: flex-start; }
.gg-self-end { align-self: flex-end; }
.gg-sticky { position: sticky; top: 16px; }
.gg-list-reset { list-style: none; margin: 0; padding: 0; }
.gg-m0 { margin: 0; }
.gg-mt-6 { margin-top: 6px; } .gg-mt-8 { margin-top: 8px; } .gg-mt-12 { margin-top: 12px; } .gg-mt-16 { margin-top: 16px; }
.gg-mt-20 { margin-top: 20px; } .gg-mt-32 { margin-top: 32px; } .gg-mt-auto { margin-top: auto; }
.gg-mb-6 { margin-bottom: 6px; } .gg-mb-10 { margin-bottom: 10px; } .gg-mb-16 { margin-bottom: 16px; } .gg-mb-28 { margin-bottom: 28px; }
.gg-mb-32 { margin-bottom: 32px; } .gg-mb-56 { margin-bottom: 56px; }
.gg-pt-24 { padding-top: 24px !important; }
.gg-pb-24 { padding-bottom: 24px; } .gg-pb-32 { padding-bottom: 32px !important; } .gg-pb-40 { padding-bottom: 40px !important; } .gg-pb-56 { padding-bottom: 56px; }
.gg-pad-20 { padding: 20px; } .gg-pad-24 { padding: 24px 28px; } .gg-pad-28 { padding: 28px; } .gg-pad-32 { padding: 32px; }
.gg-measure-30 { max-width: 30em; } .gg-measure-32 { max-width: 32em; } .gg-measure-34 { max-width: 34em; } .gg-measure-44 { max-width: 44em; }
.gg-measure-560 { max-width: 560px; }
.gg-narrow { max-width: 760px; margin-inline: auto; width: 100%; }
.gg-narrow-560 { max-width: 560px; width: 100%; }
.gg-narrow-900 { max-width: 900px; }
.gg-text-14 { font-size: 16px; line-height: 23px; } .gg-text-15 { font-size: 17px; line-height: 24px; } .gg-text-16 { font-size: 17px; line-height: 24px; }
.gg-text-17 { font-size: 19px; line-height: 28px; } .gg-text-19 { font-size: 21px; } .gg-text-24 { font-size: 24px; } .gg-text-30 { font-size: 30px; }
.gg-text-left { text-align: left; }
.gg-small { font-size: 17px; line-height: 23px; }
.gg-bold { font-weight: 700; }
.gg-ink { color: var(--ink); }
.gg-plain, body a.gg-plain { color: var(--ink); text-decoration: none; }
.gg-plain:hover { color: var(--brass); }
.gg-item-name { display: flex; flex-direction: column; line-height: 21px; min-width: 0; }
.gg-coin-sm { width: 26px; height: 26px; font-size: 12px; }
.gg-coin-44 { width: 44px; height: 44px; font-size: 18px; }
.gg-wax-sm { width: 34px; flex: none; }
.gg-band-rule { border-block: 2px solid var(--brass); }
.gg-band-pad { padding-block: 28px 32px; }

/* ---------- page shells ---------- */
.gg-page-main, .gg-wc-main, .gg-shop-main { padding-block: 40px 24px; }
.gg-co-main { padding-block: 40px 64px; }
.gg-pd-main { padding-block: 32px 24px; }
.gg-pd-main > .gs-crumbs { display: block; margin-bottom: 24px; }
.gs-crumbs a { color: inherit; }
.gs-band .gs-crumbs + .gs-title, .sp-band .gs-crumbs + .gs-title { margin-top: 6px; }
.gg-shop-main { display: flex; flex-direction: column; gap: 48px; }
.gg-sechead { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.gg-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 24px; text-align: center; }
.gg-empty--tall { gap: 18px; padding: 80px 24px; }
.gg-promo-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 32px; height: 100%; justify-content: center; }
.gg-promo-card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 36px 28px 28px; }
.gg-done { display: flex; align-items: center; gap: 12px; }
.gg-error { color: var(--garnet); }

/* ---------- prose (post and page bodies) ---------- */
.gg-prose { display: flex; flex-direction: column; gap: 18px; }
.gg-prose > * { margin: 0; }
.gg-prose h2 { margin-top: 22px; font: 600 28px/34px var(--font-display); letter-spacing: .03em; }
.gg-prose h3 { margin-top: 14px; font: 600 22px/28px var(--font-display); letter-spacing: .03em; }
.gg-prose ul, .gg-prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.gg-prose blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brass); font-style: italic; }
.gg-prose img, .gg-prose figure { margin: 0; border-radius: var(--radius-sm); }
.gg-prose figcaption { margin-top: 8px; font-size: 17px; color: var(--ink-muted); }
.gg-prose table { width: 100%; border-collapse: collapse; }
.gg-prose th, .gg-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.gg-prose details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.gg-prose summary { cursor: pointer; font-weight: 700; }
.gg-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.gg-prose .wp-block-button__link { display: inline-flex; }
.gg-center-prose { margin-inline: auto; }
.gg-filed { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- header ---------- */
.gg-slimhead { border-bottom: 2px solid var(--brass); background: var(--ground); }
.gg-slimhead .gs-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.gg-slimhead .gs-wrap > a { white-space: nowrap; }
.gg-dd-row { display: flex; align-items: flex-start; gap: 8px; }
.gg-dd-w290 { width: 290px; } .gg-dd-w360 { width: 360px; } .gg-dd-w260 { width: 260px; } .gg-dd-w240 { width: 240px; }
.gs-nav2__top[aria-expanded="true"] { color: var(--brass); border-bottom-color: var(--brass); }
.gs-nav2__top svg { transition: transform .15s ease; }
.gs-nav2__top[aria-expanded="true"] svg { transform: rotate(180deg); }
.gs-menu-btn[aria-expanded="false"] .gg-when-open, .gs-menu-btn[aria-expanded="true"] .gg-when-shut { display: none; }
.gg-drawer-all { grid-template-columns: 40px minmax(0, 1fr); }
.gg-cart-link { position: relative; }

/* ---------- footer ---------- */
.gg-foot-logo { width: 170px; height: auto; }
.gg-foot-small { font-size: 17px; line-height: 25px; }
.gg-foot-h { margin: 0 0 4px; font-family: var(--font-label); font-weight: 700; font-size: 16px; letter-spacing: .16em; color: var(--brass); }
.gg-mailrow { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.gg-mailrow .gs-field, .gg-mailrow > label { flex: 1 1 200px; }
.gg-foot-cookie { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- homepage ---------- */
.gg-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.gg-hero__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.gg-hero__title { font-size: 68px; line-height: 70px; }
.gg-hero__co { display: flex; align-items: center; gap: 12px; margin-top: 14px !important; font: 700 15px/20px var(--font-display);
  letter-spacing: .32em; text-transform: uppercase; color: var(--brass); }
.gg-hero__co > span { flex: 0 0 64px; height: 2px; background: currentColor; }
.gg-hero__shelf { flex: 1 1 520px; min-width: 0; position: relative; }
.gg-hero__photo { display: block; padding: 0; aspect-ratio: 1 / 1; }
.gg-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gg-hero__seal { position: absolute; top: -26px; right: -18px; }
.gg-lines { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.gg-lines > .gs-frame { min-width: 0; }
.gg-linecard { display: flex; flex-direction: column; height: 100%; }
.gg-linecard__shot { display: grid; place-items: end center; height: 300px; padding: 28px 24px 16px; }
.gg-linecard__shot img { position: relative; z-index: 1; height: 250px; width: auto; filter: drop-shadow(0 8px 8px rgba(60,40,20,.22)); }
.gg-linecard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.gg-linecard__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.gg-linecard__foot > * { white-space: nowrap; }
.gg-linecard__foot .gs-price { font-size: 18px; }
.gg-featured { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.gg-featured__bag { flex: 0 1 300px; display: grid; place-items: center; min-height: 420px; }
.gg-featured__bag img { position: relative; z-index: 1; height: 400px; width: auto; filter: drop-shadow(0 12px 12px rgba(60,40,20,.25)); }
.gg-featured__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.gg-featured__text .gs-facts { max-width: 440px; }
.gg-featured__text .gg-btnrow { gap: 20px; }
.gg-featured__tip { flex: 1 1 340px; max-width: 400px; min-width: 0; }
.gg-brews { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gg-brews > li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 4px solid var(--gg-line); }
/* With a photo, the photo's frame carries the line colour instead of the top rule. */
.gg-brews > li:has(> .gg-brews__pic) { padding-top: 0; border-top: 0; }
.gg-brews__pic { margin-bottom: 8px; }
.gg-brews__pic > .gs-frame__in { padding: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.gg-brews__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gg-board-wrap { padding-inline: 0; }
.gg-ranks { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 1040px; width: 100%; margin: 0 auto; }
.gg-maker { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding: 40px; }
.gg-maker__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 720px) {
  .gg-hero { gap: 40px; }
  .gg-hero__title { font-size: 48px; line-height: 52px; }
  .gg-hero__seal { right: -10px; } /* stays inside the 16px page gutter */
  .gg-featured__bag { min-height: 300px; } .gg-featured__bag img { height: 280px; }
  .gg-maker { padding: 28px 22px; }
}

/* ---------- shop ---------- */
.gg-groupname { margin: 0 0 6px; padding: 0; font-family: var(--font-label); font-weight: 700; font-size: 16px; letter-spacing: .16em; color: var(--brass); }
fieldset.sp-group { border: 0; border-top: 2px solid var(--brass); margin: 0; min-width: 0; }
.sp-tools .woocommerce-ordering { margin: 0; }
.sp-tools select { min-width: 220px; min-height: 44px; padding: 8px 40px 8px 12px; border: 1px solid var(--ink-muted); border-radius: var(--radius-sm);
  background-color: var(--ground-raised); color: var(--ink); font: 19px/27px var(--font-body); cursor: pointer; appearance: none;
  background-image: linear-gradient(45deg, #0000 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, #0000 50%);
  background-position: calc(100% - 20px) 19px, calc(100% - 14px) 19px; background-size: 6px 6px; background-repeat: no-repeat; }
.sp-tools select:focus-visible { outline: var(--border-frame) solid var(--brass); outline-offset: 1px; }
.sp-layout--solo { grid-template-columns: minmax(0, 1fr); }
.ln-shelf .ln-art .gg-rxart { width: 100%; height: auto; display: block; }

/* ---------- product ---------- */
.gg-pd-shot { position: relative; display: grid; place-items: end center; height: 600px; padding: 56px 24px 18px; }
.gg-pd-shot__img { position: relative; z-index: 1; display: grid; place-items: end center; height: 100%; width: 100%; }
.gg-pd-shot__img img { height: 520px; max-height: 100%; width: auto; filter: drop-shadow(0 12px 12px rgba(60,40,20,.25)); }
.so-shot .gg-pd-shot__img img { filter: drop-shadow(0 12px 12px rgba(60,40,20,.25)) saturate(.75); }
.pd-thumb { font: inherit; }
/* A gallery photo fills the frame: no shelf, no nails, no bag shadow. */
/* The frame takes the photo's own shape, so 4:3 and square photos show whole. */
.gg-pd-shot.is-photo { height: auto; padding: 0; }
.gg-pd-shot.is-photo::after, .gg-pd-shot.is-photo .gs-nails { display: none; }
.gg-pd-shot.is-photo .gg-pd-shot__img { height: auto; display: block; }
.gg-pd-shot.is-photo .gg-pd-shot__img img { display: block; width: 100%; height: auto; max-height: none; filter: none; }
.pd-thumb.is-photo, .pd-thumb.is-photo.is-on { padding: 0; overflow: hidden; }
.pd-thumb.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.gg-pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.gg-pd-price .gs-price del { font-size: 20px; color: var(--ink-muted); }
.gg-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.gg-fieldset > legend { padding: 0; }
.gs-size { font: inherit; color: inherit; }
.gs-size[disabled] { opacity: .45; cursor: not-allowed; }
.gs-size:not(.is-on) small:last-child { color: var(--ink-muted); }
.gg-buyrow { display: flex; gap: 12px; align-items: stretch; }
.gg-buyrow .gg-btn { flex: 1; }
.gg-shipnotes { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 24px; }
.gg-howto { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.gg-pd-cardbox { padding: 48px 36px 40px; }
.single_variation_wrap .woocommerce-variation-description:empty, .single_variation_wrap .woocommerce-variation-availability:empty { display: none; }
.single_variation_wrap .woocommerce-variation { margin-bottom: 4px; }
@media (max-width: 960px) { .gg-pd-shot { height: 440px; } .gg-pd-shot__img img { height: 380px; } }

/* ---------- recipes ---------- */
.gg-rxart { display: block; width: 100%; height: auto; }
/* Recipe picture frames are 4:3 whether they hold the drawing or a photo, so cards line up. */
.gs-frame__in.rx-art, .gs-frame__in.gg-rx-featart, .gs-frame__in.gg-rp-pic { aspect-ratio: 4 / 3; display: flex; align-items: flex-end; justify-content: center; }
.rx-art > .gg-rxart, .gg-rx-featart > .gg-rxart, .gg-rp-pic > .gg-rxart { height: 100%; }
.gg-rxphoto { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.gs-frame__in:has(> .gg-rxphoto) { padding: 0; }
.gs-frame__in:has(> .gg-rxphoto)::after, .gs-frame__in:has(> .gg-rxphoto) .gs-nails { display: none; }
.gg-rp-pic { padding: 40px 72px 12px; }
.gg-rx-featart { padding: 36px 64px 10px; }
.gg-rx-count { margin: -12px 0 24px; }
.gg-rp-guild { padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.gg-rp-guild .gs-coin { flex: none; }
.rx-filters .gs-chip { text-decoration: none; }
@media (max-width: 720px) { .gg-rp-pic, .gg-rx-featart { padding: 28px 24px 8px; } }
@media print {
  .gs-util, .gs-head, .gs-sitehead, .gg-slimhead, footer, .rp-side, .rp-top figure, .gg-btnrow, .rp-more, .gg-filed, .gs-crumbs, #gg-consent { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .gs-frame, .gs-frame__in { box-shadow: none !important; border: 0 !important; background: #fff !important; }
}

/* ---------- pages ---------- */
.gg-about-main { padding-block: 56px 24px; }
.gg-banner { padding: 0; aspect-ratio: 2 / 1; overflow: hidden; }
.gg-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gg-about-banner { margin-bottom: 56px; }
.gg-about-head { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 2px solid var(--brass); }
.gg-about-logo { width: 170px; height: auto; }
.ab-sec.gg-prose { gap: 14px; }
.ab-sec.gg-prose > p { max-width: 44em; }
.gg-gd-step { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--brass); }
.gg-gd-save { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 34px; }
.gg-search { display: flex; gap: 8px; width: 100%; max-width: 560px; }
.gg-search .gs-input { flex: 1; }
.gg-empty .gg-search { margin-inline: auto; }
.se-pages { display: flex; flex-direction: column; gap: 14px; }
.se-pages li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cs-frame { width: 100%; max-width: 820px; margin-top: 12px; }

/* ---------- messages ---------- */
.gg-msg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 20px; padding: 14px 16px;
  border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: var(--radius-sm); background: var(--ground-raised); font-size: 19px; line-height: 27px; }
.gg-msg--ok { border: 2px solid var(--brass); }
.gg-msg--error { border-left-color: var(--garnet); }
.gg-msg__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.gg-msg__list--one { padding-left: 0; list-style: none; }
.gg-msg a.gs-label { order: 2; margin-left: auto; }
.gg-msg .button, .gg-msg .wc-forward { order: 2; margin-left: auto; font-family: var(--font-label); font-weight: 700; letter-spacing: .06em; }
li.gg-msg { list-style: none; }

/* ---------- pagination ---------- */
.woocommerce-pagination ul, .gg-pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 40px 0 0; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span.page-numbers, .gg-pagination a, .gg-pagination span.page-numbers {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: 700 17px/1 var(--font-label); color: var(--ink); text-decoration: none; background: var(--ground-raised); }
.woocommerce-pagination .current, .gg-pagination .current { border: 2px solid var(--brass); color: var(--brass); }
.woocommerce-pagination a:hover, .gg-pagination a:hover { border-color: var(--brass); }

/* ---------- contact form ---------- */
.gg-contact { display: flex; flex-direction: column; gap: 16px; }
.gg-contact__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.gg-contact textarea.gs-input { min-height: 140px; resize: vertical; }

/* ---------- phone header: logo, search and cart must fit at 360px ---------- */
@media (max-width: 480px) {
  .gs-head .gs-wrap { gap: 8px; }
  .gs-head .gg-acct-icon { display: none; } /* the drawer has My account */
  .gs-tools { gap: 0; }
  .gs-tools .gs-icon-btn { width: 40px; }
  .gs-brand { gap: 10px; min-width: 0; }
  .gs-brand__mark { width: 38px; height: 38px; }
  .gs-brand__wm { height: 14px; }
  .gs-brand__co { letter-spacing: .24em; font-size: 9px; }
  /* The wordmark scales down to whatever room is left, so nothing runs past the edge on a 360–375px phone. */
  .gs-head .gs-brand { flex: 0 1 auto; }
  .gs-head .gs-brand__words { min-width: 0; flex: 0 1 auto; }
  .gs-head .gs-brand__wm { height: auto; width: auto; max-height: 14px; max-width: 100%; }
}

/* WooCommerce's size list and Clear link stay in the form for its script, never on screen or in the tab order. */
.variations_form .variations[hidden],
.variations_form .reset_variations[hidden] { display: none !important; }

/* The skip link moves focus to <main>; the region itself needs no outline. */
#main:focus { outline: none; }

/* ---------- Daylight / walnut switch ---------- */
.gg-theme-btn .gg-icon-sun { display: none; }
.gg-theme-btn[aria-pressed="true"] .gg-icon-moon { display: none; }
.gg-theme-btn[aria-pressed="true"] .gg-icon-sun { display: block; }
.gg-theme-switch { position: relative; flex: none; width: 46px; height: 26px; border-radius: 13px; border: 2px solid var(--ink-muted); background: var(--ground); }
.gg-theme-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-muted); transition: transform .15s ease; }
.gg-theme-row[aria-pressed="true"] .gg-theme-switch { border-color: var(--brass); background: var(--brass); }
.gg-theme-row[aria-pressed="true"] .gg-theme-switch::after { transform: translateX(20px); background: var(--ground); }
@media (prefers-reduced-motion: reduce) { .gg-theme-switch::after { transition: none; } }
/* On phones the header has room for search and cart only; the switch is in the menu. */
@media (max-width: 480px) { .gs-head .gs-tools .gg-theme-btn { display: none !important; } }

/* ---------- visual audit (2026-11-12) ---------- */
@media (max-width: 480px) {
  .gg-tip > .gg-wax { right: -8px; top: -18px; width: 52px; }
}

/* Tables in page text. */
.gg-prose .wp-block-table { margin: 0; }
.gg-prose td code { font-size: 0.9em; overflow-wrap: anywhere; }
/* gg-stack tables (the Privacy page's cookies) read as a list of short cards:
   the page column is too narrow for long cookie names in a grid. The header
   stays for screen readers, and the last columns are labelled from it. */
.gg-prose .gg-stack table, .gg-prose .gg-stack tbody, .gg-prose .gg-stack tr, .gg-prose .gg-stack td { display: block; width: auto; border: 0; }
.gg-prose .gg-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gg-prose .gg-stack tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
.gg-prose .gg-stack tr:first-child { border-top: 1px solid var(--line); }
.gg-prose .gg-stack td { padding: 2px 0; }
.gg-prose .gg-stack td:first-child { font-weight: 700; }
.gg-prose .gg-stack td:nth-child(n+3)::before { content: attr(data-label) ": "; font-weight: 700; }
