/* AGR header menu (pkg_agrmenu) — one stylesheet for the blog preview and Joomla.
   Tokens: override on :root (or on .agrm) to retheme; no token is redefined inside a media query, so a host override
   holds at every width. Type matches the 2026 home page: Barlow Condensed (its --agr-font-display) for bar labels,
   group titles, entry names and the lead strip; DM Sans body. The host loads the fonts (home: Barlow Condensed
   600/700/800, DM Sans 400-700). Sizes in px so the menu does not depend on the host's root font size.
   Bar labels are white on --agrm-green (3.19:1), so they stay WCAG large text: >= 19 px bold at every width.
   The desktop bar and the top bar show from 1100 px (data-agrm-config breakpoint; keep the two in step); below it the
   host's header row becomes the phone/tablet bar (<= 56 px, hides on scroll down) with the policy strip and the sheet. */
:root {
  --agrm-green: #3da441;        /* header bar */
  --agrm-green-deep: #1b8c2e;   /* icon tile start (home page tile gradient) */
  --agrm-green-ink: #146b22;    /* green text on white (7:1) */
  --agrm-yellow: #fef300;       /* accent: only on green or dark ground */
  --agrm-yellow-soft: #fff8d6;
  --agrm-green-soft: #e6f4e6;   /* Maintenance plate (ink on it 15:1) */
  --agrm-charcoal: #2e2f2d;     /* Repair plate and tiles: the main site's footer (white 13.5:1, yellow 12:1) */
  --agrm-ink: #1a1a1a;
  --agrm-text: #2d2d2d;
  --agrm-muted: #575757;
  --agrm-bar-ink: #fff;
  --agrm-surface: #fff;
  --agrm-surface-alt: #f5f5f5;
  --agrm-line: #e4e4e4;
  --agrm-radius: 16px;
  --agrm-radius-sm: 10px;
  --agrm-gap: 24px;
  --agrm-shadow: 0 24px 56px rgba(0, 0, 0, .18), 0 4px 12px rgba(0, 0, 0, .06);
  --agrm-font-head: "Barlow Condensed", "Roboto Condensed", "RobotoCondensed-Bold", "Arial Narrow", sans-serif;
  --agrm-font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --agrm-fs-top: 19px;          /* minimum for white-on-green large text (bold) */
  --agrm-fs-group: 13px;
  --agrm-fs-name: 16px;
  --agrm-fs-desc: 13.5px;
  --agrm-panel-w: 1208px;       /* = the header container's inner width (1240 − 2 × 16): panel edges line up with it */
  --agrm-gutter: 16px;
  --agrm-topbar: #1d7a24;       /* top bar ground: small white text 5.44:1 (stripes #25802b 5.0:1) */
  --agrm-topbar-stripe: #25802b;
  --agrm-tb-block: #717171;     /* utility blocks (white 4.88:1) */
  --agrm-tb-block-hover: #4d4d4d;
  --agrm-store-w: 216px;        /* reserved width of the store label spot (live): no shift when the store script fills it;
                                   216 = "My Store: #580 St. Catharines" (longest city) and keeps the store inside the
                                   brand column with the phone shown (1280+), so the policy stays over the first heading */
  --agrm-tel-w: 128px;          /* reserved width of the store phone spot (live, shown from 1280 px) */
  --agrm-bar-w: 802px;          /* the main bar's width (five headings, Barlow Condensed; measured by agrmenu-desktop.py
                                   bar_fits): the top bar's second column, so the policy starts over the first heading */
  --agrm-brand-inset: 0px;      /* host: how far the logo's visible lettering starts inside its image (0 for the shared
                                   transparent, tight-cropped AGR logo); the top bar's store pin starts its ink there */
}

/* Bar */
.agrm { position: relative; font-family: var(--agrm-font-body); letter-spacing: normal; word-spacing: normal; }
/* The menu's headings (group titles, right column, sheet sections, accordion headings) are h2/h3 for screen readers;
   their rules carry the .agrm root so a host's heading rules ("h2", ".theme h2") never restyle them. */
.agrm ul { list-style: none; margin: 0; padding: 0; }
.agrm li { margin: 0; padding: 0; }
.agrm li::before { content: none; }
.agrm-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* The bar is 802 px wide at every width (Barlow Condensed): logo 250 + badge 93 + gap 16 + bar + 24 spare fit the
   1208 px header box (host-logo.css). Hosts preload Barlow Condensed. */
.agrm-bar { display: flex; align-items: stretch; justify-content: flex-end; height: 100%; }
.agrm-top { display: flex; align-items: stretch; transition: background-color .15s, box-shadow .15s; }
.agrm-link {
  display: flex; align-items: center; padding: 0 2px 0 8px;
  font: 700 var(--agrm-fs-top)/1.1 var(--agrm-font-head); letter-spacing: .01em; text-transform: uppercase;
  color: var(--agrm-bar-ink); text-decoration: none; white-space: nowrap;
}
.agrm-link:hover, .agrm-link:focus { color: var(--agrm-bar-ink); text-decoration: none; }
.agrm-toggle {
  display: flex; align-items: center; justify-content: center; width: 22px; margin: 0; padding: 0 4px 0 0;
  border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--agrm-bar-ink); cursor: pointer;
  visibility: hidden;   /* space kept; shown once the script runs (no layout shift, no dead button without it) */
}
.agrm-js .agrm-toggle { visibility: visible; }
.agrm-toggle::after {
  content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s;
}
.agrm-top:hover, .agrm-current { box-shadow: inset 0 -4px 0 var(--agrm-yellow); }
.agrm-open, .agrm-open:hover { background: var(--agrm-surface); box-shadow: none; }
.agrm-open > .agrm-link, .agrm-open > .agrm-link:hover, .agrm-open > .agrm-toggle { color: var(--agrm-green-ink); }
.agrm-open > .agrm-toggle::after { transform: translateY(2px) rotate(-135deg); }
.agrm-link:focus-visible, .agrm-toggle:focus-visible { outline: 3px solid var(--agrm-yellow); outline-offset: -3px; }
.agrm-open > .agrm-link:focus-visible, .agrm-open > .agrm-toggle:focus-visible { outline-color: var(--agrm-green-ink); }

/* Panel: full header width under the bar, home-page card style */
.agrm-panel {
  position: absolute; top: 100%; right: 0; z-index: 1000; box-sizing: border-box;
  width: min(var(--agrm-panel-w), calc(100vw - 2 * var(--agrm-gutter)));
  max-height: calc(100vh - 160px); overflow: auto; overscroll-behavior: contain;
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 32px; padding: 28px 32px 32px;
  background: var(--agrm-surface); color: var(--agrm-text); text-align: left;
  border-radius: 0 0 var(--agrm-radius) var(--agrm-radius);
  box-shadow: var(--agrm-shadow);
  font: 400 15px/1.45 var(--agrm-font-body);
  animation: agrm-in .16s ease-out;
}
.agrm-panel[hidden] { display: none !important; }
.agrm-panel.agrm-closing { opacity: 0; pointer-events: none; animation: none; transition: opacity var(--agrm-close, 200ms) ease; }
@keyframes agrm-in { from { opacity: 0; transform: translateY(-6px); } }

/* Groups: columns that share the width; a long group (6+ entries) or one with icon entries takes two shares, its list in two columns */
.agrm-group { flex: 1 1 190px; min-width: 0; }
.agrm-group:has(> .agrm-list > li:nth-child(6)), .agrm-group:has(> .agrm-list .agrm-icon) { flex: 2 1 380px; }
.agrm .agrm-group-title {
  margin: 0 0 10px; padding: 0 0 9px; border-bottom: 2px solid var(--agrm-line);
  font: 700 var(--agrm-fs-group)/1.2 var(--agrm-font-head); letter-spacing: .09em; text-transform: uppercase;
  color: var(--agrm-green-ink);
}
.agrm-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2px 16px; margin: 0 -10px; }

/* An untitled group of one entry that opens the panel ("All repair services") runs as a lead strip across the top */
.agrm-group:first-child:not(:has(> .agrm-group-title)):has(> .agrm-list > li:only-child) { flex-basis: 100%; }
.agrm-group:first-child:not(:has(> .agrm-group-title)):has(> .agrm-list > li:only-child) .agrm-list { display: block; }
.agrm-group:first-child:not(:has(> .agrm-group-title)):has(> .agrm-list > li:only-child) .agrm-entry {
  display: var(--agrm-lead-display, inline-flex); align-items: center; gap: 10px; padding: 10px 16px;
  background: var(--agrm-lead-bg, var(--agrm-yellow-soft)); color: var(--agrm-lead-ink, var(--agrm-ink));
}
.agrm-group:first-child:not(:has(> .agrm-group-title)):has(> .agrm-list > li:only-child) .agrm-entry .agrm-desc { color: var(--agrm-lead-desc, var(--agrm-muted)); }
.agrm-group:first-child:not(:has(> .agrm-group-title)):has(> .agrm-list > li:only-child) .agrm-name {
  font: 700 var(--agrm-fs-name)/1.2 var(--agrm-font-head); text-transform: uppercase; letter-spacing: .02em;
}
.agrm-group:first-child:not(:has(> .agrm-group-title)):has(> .agrm-list > li:only-child) .agrm-entry::before { content: none; }
.agrm-group:first-child:not(:has(> .agrm-group-title)):has(> .agrm-list > li:only-child) .agrm-entry::after {
  content: ""; width: 7px; height: 7px; border: solid var(--agrm-lead-chev, var(--agrm-green-ink)); border-width: 2px 2px 0 0; transform: rotate(45deg);
}

/* Section tones (a top node's `tone`): Repair and Maintenance told apart at a glance, in the language of the instrument
   cluster. Repair = something's wrong: a charcoal plate with lit warning lamps, charcoal tiles with yellow icons.
   Maintenance = keep it healthy: a soft green plate with a gauge reading in the green; green tiles as elsewhere.
   The lead entry ("All …") becomes a full-width plate with the section's motif at its right. */
.agrm-tone-repair, .agrm-tone-maintenance { --agrm-lead-display: flex; }
.agrm-tone-repair {
  --agrm-lead-bg: var(--agrm-charcoal); --agrm-lead-ink: #fff; --agrm-lead-desc: #d9dad7; --agrm-lead-chev: var(--agrm-yellow);
  --agrm-motif-ink: var(--agrm-yellow);
}
.agrm-tone-maintenance { --agrm-lead-bg: var(--agrm-green-soft); --agrm-lead-desc: #3f4a40; }
.agrm-tone-repair .agrm-icon { background: linear-gradient(135deg, var(--agrm-charcoal), #4b4c49); color: var(--agrm-yellow); }
.agrm-tone-repair .agrm-entry:hover > .agrm-icon { background: var(--agrm-charcoal); }
.agrm .agrm-tone-repair .agrm-group-title { color: var(--agrm-charcoal); }
.agrm-tone-repair .agrm-entry:has(> .agrm-motif) > .agrm-icon { background: var(--agrm-yellow); color: var(--agrm-charcoal); }
.agrm-motif { order: 3; flex: none; grid-column: 3; grid-row: 1 / span 2; margin-left: auto; overflow: visible; }
.agrm-motif-repair { width: 152px; height: 30px; filter: drop-shadow(0 0 3px rgba(254, 243, 0, .55)); }
.agrm-motif-maintenance { width: 57px; height: 34px; }
.agrm-entry:has(> .agrm-motif) { grid-template-columns: auto minmax(0, 1fr) auto; }

/* Entries: icon tile + name + one line; without an icon a small green chevron leads */
.agrm-entry {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px;
  padding: 8px 10px; border: 2px solid transparent; border-radius: var(--agrm-radius-sm);
  color: var(--agrm-ink); text-decoration: none; transition: background-color .15s, border-color .15s;
}
.agrm-entry:hover, .agrm-entry:focus { color: var(--agrm-ink); text-decoration: none; background: var(--agrm-surface-alt); }
.agrm-entry:hover { border-color: var(--agrm-line); }
.agrm-entry:focus-visible, .agrm-panel a:focus-visible, .agrm-panel button:focus-visible { outline: 3px solid var(--agrm-green-ink); outline-offset: 1px; }
.agrm-entry::before {
  content: ""; grid-row: 1 / span 2; width: 6px; height: 6px; margin: 0 2px 0 -2px;
  border: solid var(--agrm-green); border-width: 2px 2px 0 0; transform: rotate(45deg);
}
.agrm-entry:has(> .agrm-icon)::before { content: none; }
.agrm-entry[aria-current="page"] { background: var(--agrm-surface-alt); border-color: var(--agrm-green); }
.agrm-icon {
  grid-row: 1 / span 2; box-sizing: border-box; width: 42px; height: 42px; padding: 9px; border-radius: var(--agrm-radius-sm);
  background: linear-gradient(135deg, var(--agrm-green-deep), var(--agrm-green)); color: #fff;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible;
}
.agrm-entry:hover > .agrm-icon { background: var(--agrm-green-deep); }
.agrm-name { grid-column: 2; font: 600 17px/1.25 var(--agrm-font-head); letter-spacing: .01em; }
.agrm-entry:has(> .agrm-icon) .agrm-name { font: 700 var(--agrm-fs-name)/1.15 var(--agrm-font-head); text-transform: uppercase; letter-spacing: .01em; }
.agrm-desc { grid-column: 2; margin-top: 2px; font-size: var(--agrm-fs-desc); line-height: 1.35; color: var(--agrm-muted); }

/* Service panels (Repair, Maintenance): the body (lead strip on top, groups in two columns) beside the right column,
   which fills its own column whatever the number of groups */
.agrm-panel-aside { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: stretch; }
.agrm-panel-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; align-content: start; }
.agrm-panel-main > .agrm-group:first-child:not(:has(> .agrm-group-title)) { grid-column: 1 / -1; }
.agrm-panel-main .agrm-list { grid-template-columns: minmax(0, 1fr); }
.agrm-panel-main > .agrm-group:has(> .agrm-list > li:nth-child(3)) { grid-column: 1 / -1; }
.agrm-panel-main > .agrm-group:has(> .agrm-list > li:nth-child(3)) .agrm-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 32px; }
.agrm-group:first-child:not(:has(> .agrm-group-title)):has(> .agrm-list > li:only-child) .agrm-icon { width: 32px; height: 32px; padding: 6px; }
.agrm-group:first-child:not(:has(> .agrm-group-title)):has(> .agrm-list > li:only-child) .agrm-desc { margin: 0 0 0 4px; }
.agrm-aside {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 22px 22px 14px; border-radius: var(--agrm-radius); background: var(--agrm-surface-alt);
}
.agrm .agrm-aside-title { margin: 0; font: 700 22px/1.1 var(--agrm-font-head); letter-spacing: .01em; text-transform: uppercase; color: var(--agrm-ink); }
.agrm-aside-text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--agrm-text); }
.agrm-aside-request {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--agrm-radius-sm);
  background: var(--agrm-green-ink); color: #fff; text-decoration: none;
  font: 700 16px/1.1 var(--agrm-font-head); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: background-color .15s;
}
.agrm-aside-request::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.agrm-aside-request:hover, .agrm-aside-request:focus { background: #0e5219; color: #fff; text-decoration: none; }
.agrm-aside-tel:empty { display: none; }
.agrm-aside-tel a { font-weight: 700; color: var(--agrm-green-ink); }
.agrm-aside-more { align-self: stretch; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--agrm-line); }
.agrm-aside-more .agrm-entry { margin: 0 -10px; }

/* Narrower desktops: tighter panel spacing only — the label size stays at --agrm-fs-top (contrast rule above) */
@media (max-width: 1199.98px) {
  .agrm-panel { padding: 24px; gap: 24px; }
  .agrm-panel-aside { grid-template-columns: minmax(0, 1fr) 264px; }
  .agrm-panel-main { gap: 24px; }
  .agrm-aside { padding: 20px 18px 12px; }
  .agrm-aside-request { padding: 12px 14px; }
}
/* Below the breakpoint the desktop bar is not shown (the phone/tablet sheet replaces it) */
@media (max-width: 1099.98px) {
  nav.agrm[data-agrm-area="main"] { display: none; }
}

/* Top bar: store (left), policy, utility (right) on the host's [data-agrm-topbar] row */
[data-agrm-topbar] {
  background-color: var(--agrm-topbar); color: var(--agrm-bar-ink);
  background-image: repeating-linear-gradient(135deg, var(--agrm-topbar-stripe) 0 2px, transparent 2px 6px);
}
.agrm-tb, .agrm-tb-list { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.agrm-tb .agrm-top, .agrm-tb-item { position: relative; display: flex; align-items: stretch; }
.agrm-tb .agrm-link, .agrm-tb-link {
  display: flex; align-items: center; gap: 8px; padding: 0 2px 0 14px;
  font: 700 17px/1.1 var(--agrm-font-head); letter-spacing: .02em; text-transform: uppercase;
  color: var(--agrm-bar-ink); text-decoration: none; white-space: nowrap;
}
.agrm-tb-link:hover, .agrm-tb-link:focus { color: var(--agrm-bar-ink); text-decoration: none; }
.agrm-tb .agrm-toggle { width: 24px; }
.agrm-tb .agrm-open > .agrm-link, .agrm-tb .agrm-open > .agrm-toggle { color: var(--agrm-green-ink); }
.agrm-tb a:focus-visible, .agrm-policy:focus-visible { outline: 3px solid var(--agrm-yellow); outline-offset: -3px; }
.agrm-tb-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.agrm-store .agrm-link, .agrm-store-link { padding-left: 0; font: 400 15px/1.2 var(--agrm-font-body); letter-spacing: 0; text-transform: none; }
.agrm-store-label { display: inline-block; width: var(--agrm-store-w); overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.agrm-store-tel { display: inline-flex; align-items: center; width: var(--agrm-tel-w); padding-left: 8px; overflow: hidden; white-space: nowrap; font-size: 15px; }
.agrm-store-tel a { color: var(--agrm-bar-ink); font-weight: 700; }
.agrm-utility { gap: 2px; }
.agrm-utility > li { background: var(--agrm-tb-block); transition: background-color .15s; }
.agrm-utility > li:hover { background: var(--agrm-tb-block-hover); }
.agrm-utility > li.agrm-open { background: var(--agrm-surface); }
.agrm-utility > li:not(.agrm-top) > .agrm-link { padding-right: 14px; }
.agrm-tb-search > .agrm-link { padding-left: 12px; }
.agrm-policy {
  display: flex; align-items: center; gap: 10px; color: var(--agrm-bar-ink); text-decoration: none;
  font: 700 18px/1.1 var(--agrm-font-head); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.agrm-policy:hover, .agrm-policy:focus { color: var(--agrm-bar-ink); text-decoration: none; }
.agrm-policy:hover .agrm-policy-text { text-decoration: underline; }
.agrm-policy-badge { width: 28px; height: 28px; flex: none; fill: var(--agrm-yellow); stroke: var(--agrm-green-ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.agrm-policy-badge circle { stroke: none; }

/* Top-bar panels: drop under their item (JS keeps them inside the header container and the viewport) */
.agrm-drop { display: block; left: 0; right: auto; width: 380px; padding: 22px 24px 24px; border-radius: 0 0 var(--agrm-radius-sm) var(--agrm-radius-sm); }
.agrm-store-panel { width: 660px; }
.agrm-form + .agrm-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--agrm-line); }
.agrm-form-label { display: block; margin: 0 0 8px; font: 700 16px/1.2 var(--agrm-font-head); letter-spacing: .02em; text-transform: uppercase; color: var(--agrm-ink); }
.agrm-form-row { display: flex; gap: 8px; }
.agrm-input {
  flex: 1 1 auto; min-width: 0; height: 44px; margin: 0; padding: 0 12px; box-sizing: border-box;
  border: 2px solid #767676; border-radius: var(--agrm-radius-sm); background: var(--agrm-surface); color: var(--agrm-ink); font: 400 16px/1.2 var(--agrm-font-body);
}
.agrm-input:focus { border-color: var(--agrm-green-ink); outline: 3px solid var(--agrm-green-ink); outline-offset: 1px; }
.agrm-btn, .agrm-store-change {
  display: inline-flex; align-items: center; flex: none; height: 44px; margin: 0; padding: 0 18px; box-sizing: border-box;
  border: 0; border-radius: var(--agrm-radius-sm); background: var(--agrm-green-ink); color: #fff; cursor: pointer;
  font: 700 16px/1 var(--agrm-font-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
}
.agrm-btn:hover, .agrm-btn:focus, .agrm-store-change:hover, .agrm-store-change:focus { background: #0e5219; color: #fff; text-decoration: none; }
#store-selector-details:not(:empty) + .agrm-store-change { margin-top: 16px; }

@media (max-width: 1279.98px) {
  .agrm-store-tel { display: none; }
}
@media (max-width: 1199.98px) {
  .agrm-store-label { width: min(var(--agrm-store-w), 180px); }
  .agrm-tb .agrm-link, .agrm-tb-link { padding-left: 12px; }
  .agrm-policy { font-size: 17px; }
}

/* The top bar on the header's two columns: the store over the brand, its pin starting where the logo's lettering
   starts (the pin's own 3.75 px side bearing taken off, less 1 px); the policy over the main menu, its badge on the first heading's
   label line (the heading link's 8 px padding); the utility at the right, over the last heading. When the store needs
   more room than the brand column (live store name + phone), the column grows and the policy follows it. */
[data-agrm-topbar] > [data-agrm-container] {
  display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, var(--agrm-bar-w)); column-gap: 0; align-items: stretch;
}
[data-agrm-topbar] > [data-agrm-container] > [data-agrm-area="store"] { grid-column: 1; grid-row: 1; justify-self: start; }
[data-agrm-topbar] > [data-agrm-container] > .agrm-policy { grid-column: 2; grid-row: 1; justify-self: start; margin: 0; padding-left: 8px; }
[data-agrm-topbar] > [data-agrm-container] > [data-agrm-area="utility"] { grid-column: 2; grid-row: 1; justify-self: end; }
[data-agrm-area="store"] .agrm-store-link { padding-left: max(0px, calc(var(--agrm-brand-inset) - 2.75px)); }
/* the pin's ink 1 px inside the logo's ink; when that is left of the link's box, only the drawing moves (translate),
   so the link itself never leaves the header container */
[data-agrm-area="store"] .agrm-store-link > .agrm-tb-icon { translate: min(0px, calc(var(--agrm-brand-inset) - 2.75px)) 0; }

/* Phone and tablet (< 1100 px). The host's header [data-agrm-header] sticks to the top and hides on scroll down (the
   script toggles .agrm-hide: transform only, no layout shift); its row [data-agrm-container] is the bar: burger (in room
   the row keeps for it, so the logo never moves when it arrives) · logo (host-logo.css sizes it) · Find a Store · Request
   an Appointment · store pill (72 px). Icons only below 720 px (names kept for screen readers); labels at 19 px bold
   (white on green = large text) from 720, in fixed-width boxes with text from the left, so a web-font swap moves nothing.
   The policy strip follows the header in the page (it scrolls away). */
.agrm-m-start, .agrm-m-end, .agrm-strip { display: none; }
@media (max-width: 1099.98px) {
  [data-agrm-topbar] { display: none; }
  [data-agrm-header] { position: sticky; top: var(--agrm-sticky-top, 0px); z-index: 900; transition: transform .25s ease; }
  [data-agrm-header].agrm-hide { transform: translateY(calc(-100% - 12px - var(--agrm-sticky-top, 0px))); }
  [data-agrm-header] [data-agrm-container] {
    position: relative; height: 56px; min-height: 0; padding: 0 8px 0 56px; gap: 4px; align-items: center; justify-content: flex-start;
  }
  .agrm-m-start { display: flex; position: absolute; top: 6px; left: 8px; }
  .agrm-m-end { display: flex; order: 2; flex: none; align-items: center; gap: 2px; margin-left: auto; }
  .agrm-strip { display: flex; }
}
.agrm-burger, .agrm-m-btn, .agrm-pill, .agrm-sheet-close {
  display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; min-width: 44px; height: 44px;
  margin: 0; padding: 0; border: 0; border-radius: var(--agrm-radius-sm); background: none; box-shadow: none;
  color: var(--agrm-bar-ink); text-decoration: none; cursor: pointer;
}
.agrm-burger, button.agrm-pill { visibility: hidden; }   /* until the script runs: no dead button */
.agrm-js .agrm-burger, .agrm-js .agrm-pill { visibility: visible; }
.agrm-burger-icon, .agrm-burger-icon::before, .agrm-burger-icon::after { display: block; width: 24px; height: 3px; border-radius: 2px; background: currentColor; }
.agrm-burger-icon { position: relative; }
.agrm-burger-icon::before, .agrm-burger-icon::after { content: ""; position: absolute; left: 0; }
.agrm-burger-icon::before { top: -8px; }
.agrm-burger-icon::after { top: 8px; }
.agrm-m-btn { gap: 8px; padding: 0 10px; font: 700 var(--agrm-fs-top)/1 var(--agrm-font-head); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.agrm-m-btn:hover, .agrm-m-btn:focus { color: var(--agrm-bar-ink); text-decoration: none; }
.agrm-m-icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Store pill: a dark-green capsule (white text 7:1 — the bar green would be 3.19:1 at this size), store icon + one line:
   "Store" until a store is known, then its number; fixed width, so filling it moves nothing */
.agrm-pill .agrm-m-icon { width: 19px; height: 19px; }
.agrm-pill {
  justify-content: flex-start; gap: 4px; width: 80px; padding: 0 8px 0 10px; overflow: hidden; border-radius: 22px;
  background: var(--agrm-green-ink); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
  color: var(--agrm-bar-ink); font: 700 15px/1 var(--agrm-font-head); letter-spacing: .02em; text-transform: uppercase; text-align: left;
}
.agrm-pill:hover, .agrm-pill:focus { color: var(--agrm-bar-ink); text-decoration: none; background: #0e5219; }
@media (max-width: 359.98px) {   /* the smallest phones: the pill keeps its icon only (the name stays for screen readers) */
  .agrm-pill { width: 44px; padding: 0; justify-content: center; }
  .agrm-pill-num { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.agrm-pill-num { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agrm-burger:focus-visible, .agrm-m-btn:focus-visible, .agrm-pill:focus-visible { outline: 3px solid var(--agrm-yellow); outline-offset: -1px; }
@media (min-width: 720px) {
  .agrm-m-btn { justify-content: flex-start; overflow: hidden; }
  .agrm-m-find { width: 150px; }
  .agrm-m-request { width: 156px; }
}
@media (min-width: 900px) {
  .agrm-m-request { width: 246px; }
}
@media (max-width: 719.98px) {
  .agrm-m-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .agrm-m-btn { padding: 0; width: 44px; }
}
@media (max-width: 899.98px) {
  .agrm-m-long { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Policy strip and the sheet's policy row: the top bar's ground, white text (5.4:1), yellow badge; badge and text from the
   left, chevron at the right end (nothing moves on a font swap) */
.agrm-strip, .agrm-sheet-policy {
  align-items: center; justify-content: flex-start; gap: 10px; box-sizing: border-box; min-height: 44px; padding: 6px 16px;
  background-color: var(--agrm-topbar); background-image: repeating-linear-gradient(135deg, var(--agrm-topbar-stripe) 0 2px, transparent 2px 6px);
  color: var(--agrm-bar-ink); text-decoration: none; font: 700 17px/1.15 var(--agrm-font-head); letter-spacing: .02em; text-transform: uppercase;
}
.agrm-strip { height: 44px; white-space: nowrap; overflow: hidden; }   /* one line whatever the font: no shift on a swap */
.agrm-strip .agrm-policy-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.agrm-strip:hover, .agrm-strip:focus, .agrm-sheet-policy:hover, .agrm-sheet-policy:focus { color: var(--agrm-bar-ink); text-decoration: none; }
.agrm-strip .agrm-policy-badge, .agrm-sheet-policy .agrm-policy-badge { width: 24px; height: 24px; }
.agrm-strip::after, .agrm-sheet-policy::after { content: ""; flex: none; margin: 0 4px 0 auto; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.agrm-strip:focus-visible, .agrm-sheet-policy:focus-visible { outline: 3px solid var(--agrm-yellow); outline-offset: -3px; }

/* Sheet: modal dialog, full height; a side sheet (max 480 px) over a scrim on tablets */
html.agrm-locked { overflow: hidden; }
.agrm-sheet { position: fixed; inset: 0; z-index: 100000;   /* modal: over host toolbars too (WordPress's is 99999) */
  display: flex; background: rgba(0, 0, 0, .5); color: var(--agrm-text); font: 400 15px/1.45 var(--agrm-font-body); text-align: left; }
.agrm-sheet[hidden] { display: none !important; }
.agrm-sheet-panel {
  display: flex; flex-direction: column; width: 100%; max-width: 480px; height: 100%; box-sizing: border-box;
  background: var(--agrm-surface); box-shadow: var(--agrm-shadow); outline: 0; animation: agrm-sheet-in .2s ease-out;
}
@keyframes agrm-sheet-in { from { opacity: 0; transform: translateX(-24px); } }
.agrm-sheet-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 8px 0 16px; background: var(--agrm-green); }
.agrm-sheet-badge { display: block; width: auto; height: 48px; }
.agrm-sheet-close { position: relative; margin-left: auto; }
.agrm-sheet-close::before, .agrm-sheet-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 3px; margin: -1.5px 0 0 -11px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.agrm-sheet-close::after { transform: rotate(-45deg); }
.agrm-sheet-close:hover { background: var(--agrm-green-deep); }
.agrm-sheet .agrm-sheet-close:focus-visible { outline-color: var(--agrm-yellow); outline-offset: -3px; }
.agrm-sheet a:focus-visible, .agrm-sheet button:focus-visible { outline: 3px solid var(--agrm-green-ink); outline-offset: 1px; }
.agrm-sheet-body { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px 20px; }
.agrm-sheet-body > form[role="search"] .agrm-form-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.agrm-sheet-policy { display: flex; margin: 14px 0 6px; border-radius: var(--agrm-radius-sm); }

/* Accordions: one per main heading; the body is the desktop panel in one column, "All …" first */
.agrm-acc { border-bottom: 1px solid var(--agrm-line); }
.agrm .agrm-acc-h { margin: 0; padding: 0; }
.agrm-acc-btn, .agrm-acc-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; margin: 0; padding: 0 4px;
  border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--agrm-ink); cursor: pointer; text-align: left; text-decoration: none;
  font: 700 21px/1.1 var(--agrm-font-head); letter-spacing: .01em; text-transform: uppercase;
}
.agrm-acc-btn::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px; border: solid var(--agrm-green-ink); border-width: 0 2.5px 2.5px 0; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.agrm-acc-btn[aria-expanded="true"] { color: var(--agrm-green-ink); }
.agrm-acc-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.agrm-acc.agrm-current > .agrm-acc-h .agrm-acc-btn { box-shadow: inset 4px 0 0 var(--agrm-yellow); padding-left: 12px; }
.agrm-acc-body { padding: 2px 0 18px; }
.agrm-acc-body .agrm-group { margin-top: 14px; }
.agrm-sheet .agrm-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 8px; }
.agrm-sheet .agrm-list:has(.agrm-icon) { grid-template-columns: minmax(0, 1fr); }
.agrm-sheet .agrm-entry { min-height: 44px; box-sizing: border-box; }
.agrm-acc-all .agrm-entry { background: var(--agrm-lead-bg, var(--agrm-yellow-soft)); color: var(--agrm-lead-ink, var(--agrm-ink)); }
.agrm-acc-all .agrm-desc { color: var(--agrm-lead-desc, var(--agrm-muted)); }
.agrm-acc-all .agrm-motif-repair { width: 96px; height: 19px; }
.agrm-acc-all .agrm-motif-maintenance { width: 47px; height: 28px; }
.agrm-acc-all .agrm-icon { width: 34px; height: 34px; padding: 7px; }
.agrm-acc-body .agrm-aside { margin-top: 16px; padding: 18px 16px 10px; }
.agrm .agrm-acc-body .agrm-aside-title { font-size: 20px; }
.agrm-acc-body .agrm-aside-request { min-height: 44px; box-sizing: border-box; }
.agrm-sheet-sec { margin-top: 22px; }
.agrm-sheet-sec .agrm-form + .agrm-form { margin-top: 12px; padding-top: 0; border-top: 0; }
.agrm-sheet-sec .agrm-form-label { margin-bottom: 6px; font-size: 15px; color: var(--agrm-muted); }
.agrm .agrm-sheet-h { margin: 0 0 12px; padding: 0 0 8px; border-bottom: 2px solid var(--agrm-line); font: 700 var(--agrm-fs-group)/1.2 var(--agrm-font-head); letter-spacing: .09em; text-transform: uppercase; color: var(--agrm-green-ink); }
.agrm-sheet-store .agrm-store-change { margin-bottom: 16px; }
.agrm-sheet-slot a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; box-sizing: border-box; }

/* Store card, pinned under the sheet's scroll area */
.agrm-sheet-card {
  flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--agrm-line); background: var(--agrm-surface-alt);
}
.agrm-card-store {
  display: inline-flex; align-items: center; gap: 6px; flex: 1 1 100%; min-width: 0; min-height: 44px;
  color: var(--agrm-green-ink); font: 700 17px/1.1 var(--agrm-font-head); letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
}
.agrm-card-store:hover, .agrm-card-store:focus { color: var(--agrm-green-ink); text-decoration: underline; }
.agrm-card-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agrm-card-tel:empty { display: none; }
.agrm-card-tel a, .agrm-card-btn {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; padding: 0 16px;
  border-radius: var(--agrm-radius-sm); font: 700 16px/1.1 var(--agrm-font-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.agrm-card-tel a { border: 2px solid var(--agrm-green-ink); color: var(--agrm-green-ink); background: var(--agrm-surface); }
.agrm-card-btn { flex: 1 1 auto; background: var(--agrm-green-ink); color: #fff; }
.agrm-card-btn:hover, .agrm-card-btn:focus { background: #0e5219; color: #fff; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .agrm *, .agrm *::before, .agrm *::after, [data-agrm-header] { animation: none !important; transition: none !important; }
}

.agrm-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
