/* ==========================================================================
   MAAC SOLUTIONS — PAGE COMPOSITIONS (Homepage)
   ========================================================================== */

/* ==========================================================================
   HERO — asymmetric. Type holds the left rail, the unit bleeds off the right.
   Mobile gets its own composition, not a squeezed desktop one.
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {  /* corrugation ground, very low contrast */
  content: ""; position: absolute; inset: 0; z-index: 0;
  color: var(--white); opacity: .5;
  background-image: repeating-linear-gradient(90deg,
    transparent 0 12px,
    rgba(255,255,255,.028) 12px 13px,
    rgba(255,255,255,.05) 13px 16px,
    rgba(255,255,255,.028) 16px 17px,
    transparent 17px 40px);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  gap: var(--space-7);
  padding-block: clamp(2.25rem, 1.4rem + 3.2vw, 4rem) 0;
}
.hero__copy { display: grid; gap: var(--space-4); align-content: center; }
.hero__title { color: var(--text-on-dark); max-width: 13ch; }
.hero__title em { font-style: normal; color: var(--sky-300); }
.hero__lead { color: var(--text-on-dark-dim); max-width: 42ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hero__ctas .btn { flex: 0 1 auto; }
.hero__ctas .btn--lg { padding-inline: var(--space-6); }
@media (max-width: 479px) { .hero__ctas .btn { flex: 1 1 100%; } }

/* media: full-bleed on mobile, off-canvas bleed on desktop */
.hero__media {
  position: relative;
  margin-inline: calc(var(--gutter) * -1);
  aspect-ratio: 16 / 10;
  background: var(--graphite);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,19,21,.85), rgba(14,19,21,.06) 55%);
}
.hero__tag {
  position: absolute; z-index: 2; left: var(--gutter); bottom: var(--space-5);
  display: grid; gap: 3px;
}
.hero__tag-name { font-size: var(--fs-sm); font-weight: 600; color: var(--white); }
.hero__tag-meta { font-family: var(--font-mono); font-size: var(--fs-xs); color: rgba(255,255,255,.72); }

@media (min-width: 900px) {
  .hero__inner {
    /* the unit carries the weight: image column is the larger of the two */
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: stretch;
    gap: var(--space-8);
    padding-block: clamp(2.5rem, 1rem + 3.6vw, 4.25rem) 0;
  }
  .hero__copy { padding-block: var(--space-4) var(--space-6); }
  .hero__media {
    margin-inline: 0;
    margin-right: calc((100vw - min(100vw, var(--content-max))) / -2 - var(--gutter));
    aspect-ratio: auto;
    height: 100%;
    min-height: clamp(430px, 46vh, 620px);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    overflow: hidden;
  }
  .hero__media::after { background: linear-gradient(to right, rgba(14,19,21,.55), transparent 42%); }
  .hero__tag { left: var(--space-6); }
}
@media (min-width: 1441px) {
  .hero__media { margin-right: calc(var(--gutter) * -1); }
}

/* ---- ROUTE STRIP — the NC → Atlantic → PR lane. The signature element. --- */
.route {
  position: relative; z-index: 2;
  margin-top: clamp(1.5rem, .9rem + 2vw, 2.5rem);
  border-top: 1px solid rgba(255,255,255,.13);
  padding-block: var(--space-4) var(--space-5);
}
.route__label { margin-bottom: var(--space-4); }
.route__svg { width: 100%; height: auto; display: block; overflow: visible; }

/* dashes crawl along the lane; halted entirely under reduced-motion */
.route__lane {
  stroke-dasharray: 7 9;
  animation: route-crawl 2.6s linear infinite;
}
@keyframes route-crawl { to { stroke-dashoffset: -32; } }
@media (prefers-reduced-motion: reduce) {
  .route__lane { animation: none; stroke-dasharray: 7 9; }
}
.route__node-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; fill: rgba(255,255,255,.62);
}
.route__node-title {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  letter-spacing: -.01em; fill: #EDF1F2;
}

.route__legend {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8);
  margin-top: var(--space-5); font-size: var(--fs-sm); color: var(--text-on-dark-dim);
}
.route__legend li { max-width: 46ch; line-height: 1.55; }
.route__legend b { color: var(--text-on-dark); font-weight: 600; }

/* ==========================================================================
   CATEGORY GRID — editorial rhythm, not a uniform tile wall
   ========================================================================== */
.cat-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px)  { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
/* the two lead categories carry more weight */
@media (min-width: 700px) {
  .cat-grid > :nth-child(1) { grid-column: span 2; }
  .cat-grid > :nth-child(1) .cat-card__name { font-size: 1.5rem; }
}
@media (min-width: 1100px) {
  .cat-grid > :nth-child(1) { grid-row: span 2; }
  .cat-grid > :nth-child(1) .cat-card__name { font-size: 1.85rem; }
}
@media (max-width: 699px) {
  .cat-card { min-height: 176px; padding: var(--space-4); }
  .cat-card__name { font-size: .98rem; }
}

/* ==========================================================================
   PRODUCT RAIL — scroll-snap on mobile, grid on desktop
   ========================================================================== */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: var(--space-4);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-4);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
@media (min-width: 560px) { .rail { grid-auto-columns: 46%; } }
@media (min-width: 900px) {
  .rail {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr);
    overflow: visible; margin-inline: 0; padding-inline: 0; gap: var(--space-5);
  }
}
@media (min-width: 1240px) { .rail { grid-template-columns: repeat(4, 1fr); } }

.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }

/* ==========================================================================
   CAPABILITY SPLIT — image + copy
   ========================================================================== */
.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, 1fr); gap: var(--space-9); }
  .split--reverse > :first-child { order: 2; }
}
.split__media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-sunken); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { display: grid; gap: var(--space-5); }
.split__list { display: grid; gap: var(--space-4); margin-top: var(--space-2); }
.split__item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.split__item svg { color: var(--navy-700); margin-top: 3px; flex: none; }
.split__item h4 { margin-bottom: 3px; }
.split__item p { font-size: var(--fs-sm); color: var(--text-secondary); }
.section--dark .split__item p { color: var(--text-on-dark-dim); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.2rem + 4vw, 4.5rem) clamp(1.25rem, .6rem + 3vw, 4rem);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: repeating-linear-gradient(90deg,
    transparent 0 12px, rgba(255,255,255,.03) 12px 13px,
    rgba(255,255,255,.055) 13px 16px, rgba(255,255,255,.03) 16px 17px,
    transparent 17px 40px);
}
.cta-band__inner { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.5fr auto; gap: var(--space-8); } }
.cta-band h2 { color: var(--text-on-dark); }
.cta-band p { color: var(--text-on-dark-dim); max-width: 52ch; }
.cta-band__actions { display: grid; gap: var(--space-3); }
@media (min-width: 480px) and (max-width: 899px) { .cta-band__actions { grid-auto-flow: column; } }

/* ==========================================================================
   ROUTE GRAPHIC — Carolina del Norte → Atlántico → Puerto Rico
   The one piece of motion on the page that carries information rather than
   decoration: it is literally how a unit reaches the customer.
   ========================================================================== */
.route__grid line { stroke: rgba(127,212,245,.10); stroke-width: 1; }
.route__swell path { fill: none; stroke: rgba(127,212,245,.16); stroke-width: 1.4; }

.route__base {
  stroke: rgba(127,212,245,.22);
  stroke-width: 2;
  stroke-linecap: round;
}
.route__lane {
  stroke: var(--sky-300);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 9 12;
  animation: route-crawl 3.4s linear infinite;
  filter: drop-shadow(0 0 7px rgba(127,212,245,.4));
}
@keyframes route-crawl { to { stroke-dashoffset: -42; } }

.route__node-halo {
  fill: var(--sky-300); opacity: .13;
  transform-origin: center;
  animation: node-pulse 3.4s var(--ease-out) infinite;
}
@keyframes node-pulse {
  0%, 100% { opacity: .10; transform: scale(1); }
  50%      { opacity: .26; transform: scale(1.28); }
}

/* the unit rides the same path the lane is drawn from */
.route__unit {
  offset-path: path("M 92 74 C 300 96, 560 176, 906 178");
  offset-rotate: auto;
  offset-distance: 0%;
  animation: route-travel 9s var(--ease-in-out) infinite;
  filter: drop-shadow(0 3px 6px rgba(5,23,61,.55));
}
@keyframes route-travel {
  0%        { offset-distance: 0%;   opacity: 0; }
  6%        { opacity: 1; }
  92%       { opacity: 1; }
  100%      { offset-distance: 100%; opacity: 0; }
}

.route__step {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; fill: var(--sky-300);
}
.route__place {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  letter-spacing: -.012em; fill: var(--text-on-dark);
}

@media (prefers-reduced-motion: reduce) {
  .route__lane { animation: none; }
  .route__node-halo { animation: none; opacity: .16; }
  /* the unit parks at the destination rather than disappearing */
  .route__unit { animation: none; offset-distance: 100%; opacity: 1; }
}

/* mobile: the arc flattens and the labels stack, rather than shrinking to noise */
@media (max-width: 700px) {
  .route__svg { min-height: 178px; }
  .route__place { font-size: 21px; }
  .route__step  { font-size: 14px; }
  .route__grid, .route__swell { display: none; }
}

/* ==========================================================================
   WORDMARK — MAAC / SOLUTIONS lockup, matching the supplied logo
   ========================================================================== */
.wordmark__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.32rem; letter-spacing: -.005em; line-height: .96;
}
.wordmark__solutions {
  font-family: var(--font-display); font-weight: 600;
  font-size: .565rem; letter-spacing: .285em; line-height: 1;
  color: var(--blue-500); margin-top: 3px;
}
.wordmark__sub {
  font-family: var(--font-mono); font-size: .5rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-tertiary); margin-top: 5px;
}
@media (max-width: 599px) { .wordmark__sub { display: none; } }

/* ==========================================================================
   HERO ORB — "the aperture"
   The brand mark at hero scale: crescents sweep around a still lens showing
   real inventory. Four motion channels, all reduced-motion aware.
   ========================================================================== */
.orb {
  position: relative;
  width: min(100%, clamp(280px, 40vw, 560px));
  aspect-ratio: 1;
  margin-inline: auto;
  justify-self: center;
  /* pointer parallax, driven from JS; 0 until the pointer moves */
  --px: 0; --py: 0;
}

.orb__glow {
  position: absolute; inset: -18%;
  background: radial-gradient(circle at 42% 38%,
      rgba(127,212,245,.30) 0%,
      rgba(62,141,204,.14) 34%,
      transparent 68%);
  filter: blur(14px);
  pointer-events: none;
  animation: orb-breathe 9s var(--ease-in-out) infinite;
}
@keyframes orb-breathe {
  0%, 100% { opacity: .78; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.045); }
}

.orb__rings, .orb__bearing, .lens { position: absolute; inset: 0; }
.orb__rings { width: 100%; height: 100%;
  transform: translate3d(calc(var(--px) * -14px), calc(var(--py) * -14px), 0);
  transition: transform .5s var(--ease-out);
  filter: drop-shadow(0 30px 60px rgba(3,10,30,.55));
}

/* the two sweeps run at different periods and opposite directions, so the
   crescents never lock into a repeating pattern the eye can predict */
.orb__spin { transform-origin: 300px 300px; }
.orb__spin--a { animation: orb-sweep 26s linear infinite; }
.orb__spin--b { animation: orb-sweep 19s linear infinite reverse; }
@keyframes orb-sweep { to { transform: rotate(360deg); } }

.orb__bearing {
  width: 100%; height: 100%;
  animation: orb-sweep 90s linear infinite;
  opacity: .55;
  transform-origin: 50% 50%;
}

/* ---- LENS ---------------------------------------------------------------- */
.lens {
  --inset: 16.2%;   /* = (1 - 406/600)/2 — fills the r=203 well exactly */
  inset: var(--inset);
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy-900);
  transform: translate3d(calc(var(--px) * 9px), calc(var(--py) * 9px), 0);
  transition: transform .5s var(--ease-out);
  box-shadow: inset 0 0 0 1px rgba(127,212,245,.30),
              inset 0 18px 44px rgba(3,10,30,.6);
}
.lens__shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.10);
  transition: opacity 1.15s var(--ease-out), transform 7s linear;
}
.lens__shot.is-active { opacity: 1; transform: scale(1); }

.orb__caption {
  position: absolute; left: 50%; bottom: -6%;
  transform: translateX(-50%);
  display: grid; gap: 2px; justify-items: center; text-align: center;
  padding: var(--space-3) var(--space-5);
  background: color-mix(in srgb, var(--navy-900) 82%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(127,212,245,.24);
  border-radius: var(--radius-pill);
  max-width: 94%;
}
.orb__caption-name {
  font-size: var(--fs-sm); max-width: 30ch; font-weight: 600; color: var(--text-on-dark);
  line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.orb__caption-meta { font-size: var(--fs-xs); color: var(--sky-300); }

@media (prefers-reduced-motion: reduce) {
  .orb__glow, .orb__spin, .orb__bearing { animation: none; }
  .orb__rings, .lens { transform: none; transition: none; }
  .lens__shot { transition: none; transform: none; }
}

/* ---- hero layout with the orb ------------------------------------------- */
.hero--orb .hero__inner { align-items: center; }
@media (min-width: 900px) {
  .hero--orb .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
    gap: var(--space-7);
    padding-block: clamp(2rem, 1rem + 2.4vw, 3.25rem) var(--space-3);
  }
  .hero--orb .hero__title { max-width: 13ch; }
}
@media (max-width: 899px) {
  .hero--orb .hero__inner { padding-block: var(--space-6) var(--space-4); }
  .orb { width: min(86%, 400px); margin-block: var(--space-4) var(--space-6); }
}

.hero__support {
  font-size: var(--fs-xs); color: var(--text-on-dark-dim);
  max-width: 44ch; padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--space-3);
}

/* deep-ocean ground behind the whole hero */
.hero--orb::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(80% 60% at 78% 32%, rgba(62,141,204,.20), transparent 62%),
    radial-gradient(60% 50% at 12% 78%, rgba(10,46,140,.34), transparent 66%);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.crumbs { padding-block: var(--space-5) 0; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.crumbs li { display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-xs); color: var(--text-tertiary); }
.crumbs li + li::before { content: "/"; color: var(--steel-400); }
.crumbs a { color: var(--text-secondary); text-decoration: none; }
.crumbs a:hover { color: var(--navy-700); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text-primary); font-weight: 500;
  max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.product__top { display: grid; gap: var(--space-6); padding-block: var(--space-6); }
@media (min-width: 940px) {
  .product__top { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: var(--space-8); align-items: start; }
}

.gallery__main {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-md); background: var(--surface-sunken);
  border: 1px solid var(--border);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__stock { position: absolute; top: var(--space-4); left: var(--space-4); }
.gallery__thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84px;
  gap: var(--space-2); margin-top: var(--space-3);
  overflow-x: auto; scrollbar-width: thin; padding-bottom: var(--space-2);
}
.gallery__thumb {
  padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm);
  background: none; cursor: pointer; overflow: hidden; line-height: 0;
  transition: border-color var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
  opacity: .62;
}
.gallery__thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--navy-700); opacity: 1; }

.product__buy { display: grid; gap: var(--space-4); align-content: start; }
.product__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); line-height: 1.2; }
.product__sku { font-size: var(--fs-xs); color: var(--text-tertiary); }
.product__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip--static { cursor: default; background: var(--surface-sunken); }
.chip--static:hover { border-color: var(--border); color: var(--text-secondary); }

.product__price {
  padding: var(--space-5); background: var(--surface-sunken);
  border-radius: var(--radius-md); border-left: var(--stroke-bold) solid var(--navy-700);
}
.price--lg { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.3rem); line-height: 1; }
.product__price .price__note { margin-top: var(--space-2); font-size: var(--fs-sm); line-height: 1.55; }
.product__short { color: var(--text-secondary); line-height: 1.7; }
.product__actions { display: grid; gap: var(--space-3); }
.product__assure { display: grid; gap: var(--space-3); margin-top: var(--space-2); }
.product__assure li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-3);
  align-items: start; font-size: var(--fs-sm); color: var(--text-secondary);
}
.product__assure svg { color: var(--navy-700); margin-top: 2px; }

.product__detail { display: grid; gap: var(--space-7); padding-block: var(--space-7); }
@media (min-width: 1040px) {
  .product__detail { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-8);
    align-items: start; }
  .product__aside { position: sticky; top: calc(var(--header-h) + var(--space-5)); }
}
.product__body h2 {
  font-size: var(--fs-h3); margin-top: var(--space-7);
  padding-top: var(--space-4); border-top: var(--stroke-mid) solid var(--border);
}
.product__body h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.product__body p { color: var(--text-secondary); margin-top: var(--space-3); }
.product__body ul { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.product__body li { position: relative; padding-left: var(--space-5); color: var(--text-secondary); }
.product__body li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  background: var(--sky-300); border: 1.5px solid var(--navy-700); border-radius: 1px;
}
.product__body table {
  width: 100%; border-collapse: collapse; margin-top: var(--space-4); font-size: var(--fs-sm);
}
.product__body th, .product__body td {
  text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.product__body th { font-weight: 600; width: 42%; color: var(--text-primary); }
.product__body td { color: var(--text-secondary); font-family: var(--font-mono);
  font-size: var(--fs-xs); }
.product__body table tr:first-child th, .product__body table tr:first-child td {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-tertiary);
}

.aside-card {
  padding: var(--space-5); background: var(--surface-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  display: grid; gap: var(--space-3);
}
.aside-card__sku {
  font-size: var(--fs-xs); color: var(--text-tertiary);
  padding: var(--space-2) var(--space-3); background: var(--surface-sunken);
  border-radius: var(--radius-sm); text-align: center;
}
.aside-card__contact { font-size: var(--fs-sm); line-height: 1.8; }
.aside-card__contact a { color: var(--navy-700); font-weight: 500; }

/* FAQ accordion */
.faq { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.faq__item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface-elevated);
}
.faq__item summary {
  cursor: pointer; padding: var(--space-4) var(--space-5);
  font-weight: 600; font-size: var(--fs-sm); color: var(--text-primary);
  list-style: none; display: flex; justify-content: space-between; gap: var(--space-4);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font-mono); color: var(--navy-700);
  font-size: 1.15rem; line-height: 1; flex: none;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item summary:hover { background: var(--surface-sunken); }
.faq__item p { padding: 0 var(--space-5) var(--space-4); color: var(--text-secondary);
  font-size: var(--fs-sm); line-height: 1.7; margin: 0; }

/* category / catalog grid reuses the rail component but never scrolls */
.rail--grid {
  grid-auto-flow: row; overflow: visible;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  margin-inline: 0; padding-inline: 0; gap: var(--space-5);
}
