/* =========================================================================
   RackMount theme — main stylesheet
   Clean, bright, technical. Tokens first, then layout, then components.
   ========================================================================= */

:root {
	--rm-ink: #15181D;
	--rm-charcoal: #23272E;
	--rm-charcoal-2: #343941;
	--rm-g700: #4B5563;
	--rm-g500: #6B7280;
	--rm-g400: #9AA0A8;
	--rm-line: #DCE0E5;
	--rm-paper: #F4F5F7;
	--rm-white: #FFFFFF;
	--rm-yellow: #F6C321;
	--rm-yellow-deep: #D9A800;
	--rm-ok: #1A7F37;
	--rm-danger: #B42318;

	--rm-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
	--rm-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
	--rm-mono: 'IBM Plex Mono', 'Courier New', monospace;

	--rm-container: 1440px;
	--rm-gutter: 20px;
	--rm-section: 56px;
}
@media (min-width: 720px) { :root { --rm-gutter: 40px; --rm-section: 72px; } }
@media (min-width: 1200px) { :root { --rm-gutter: 64px; --rm-section: 88px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--rm-white); color: var(--rm-ink); font-family: var(--rm-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--rm-ink); text-decoration: none; }
a:hover { color: var(--rm-yellow-deep); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--rm-yellow); color: var(--rm-ink); }

.rm-container { width: 100%; max-width: var(--rm-container); margin: 0 auto; padding-left: var(--rm-gutter); padding-right: var(--rm-gutter); }
.rm-main { display: block; }

/* ---------- typography ---------- */
.rm-display { font-family: var(--rm-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; }
.rm-mono { font-family: var(--rm-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rm-g500); }
.rm-mono-val { font-family: var(--rm-mono); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--rm-ink); }
.rm-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--rm-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rm-g500); }
.rm-kicker::before { content: ""; display: inline-block; width: 22px; height: 3px; background: var(--rm-yellow); flex-shrink: 0; }
.rm-kicker--yellow { color: var(--rm-yellow); }
.rm-h2 { font-size: 34px; margin-bottom: 20px; }
.rm-h3 { font-size: 24px; margin: 24px 0 12px; }
.rm-muted { color: var(--rm-g500); font-size: 14px; }
/* Highlight is painted as a gradient band sized to the cap height, so it never spills into the tight line above. */
.rm-hl { background: linear-gradient(var(--rm-yellow), var(--rm-yellow)) no-repeat 0 62% / 100% 0.82em; color: inherit; padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (min-width: 720px) { .rm-h2 { font-size: 40px; } }

/* ---------- buttons, tags, pills ---------- */
.rm-btn, .rm-form .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; font-family: var(--rm-display); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; white-space: nowrap; border: 2px solid var(--rm-ink); background: var(--rm-ink); color: var(--rm-white); text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.rm-btn:visited { color: var(--rm-white); }
.rm-btn:hover { background: var(--rm-charcoal); color: var(--rm-white); }
.rm-btn--yellow, .rm-btn--yellow:visited, .rm-form .button { background: var(--rm-yellow); border-color: var(--rm-yellow); color: var(--rm-ink); }
.rm-btn--yellow:hover, .rm-form .button:hover { background: var(--rm-yellow-deep); border-color: var(--rm-yellow-deep); color: var(--rm-ink); }
.rm-btn--ghost, .rm-btn--ghost:visited { background: transparent; color: var(--rm-ink); }
.rm-btn--ghost:hover { background: var(--rm-ink); color: var(--rm-white); }
.rm-btn--outline-light, .rm-btn--outline-light:visited { background: transparent; border-color: var(--rm-g700); color: var(--rm-white); }
.rm-btn--outline-light:hover { background: var(--rm-white); border-color: var(--rm-white); color: var(--rm-ink); }
.rm-btn--sm { height: 42px; padding: 0 16px; font-size: 16px; }
.rm-btn .rm-icon { flex-shrink: 0; }

.rm-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; font-family: var(--rm-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--rm-paper); color: var(--rm-g700); border: 1px solid var(--rm-line); white-space: nowrap; }
.rm-tag--yellow { background: var(--rm-yellow); border-color: var(--rm-yellow); color: var(--rm-ink); }
.rm-tag--dark { background: var(--rm-charcoal); border-color: var(--rm-charcoal); color: var(--rm-g400); }
.rm-tag--link:hover, .rm-tag--chip:hover { border-color: var(--rm-ink); color: var(--rm-ink); }
.rm-tag--chip { height: 28px; }

.rm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 44px; padding: 0 14px; font-family: var(--rm-display); font-weight: 600; font-size: 20px; text-transform: none; border: 1px solid var(--rm-line); background: var(--rm-white); color: var(--rm-ink); transition: border-color .12s, background .12s; }
.rm-pill:hover { border-color: var(--rm-ink); color: var(--rm-ink); }
.rm-pill.is-on { background: var(--rm-ink); border-color: var(--rm-ink); color: var(--rm-yellow); }
.rm-pill.is-off, .rm-pill:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.rm-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--rm-paper); border: 1px solid var(--rm-line); font-size: 13px; color: var(--rm-ink); }
a.rm-chip:hover { border-color: var(--rm-ink); }

.rm-card { background: var(--rm-white); border: 1px solid var(--rm-line); }
.rm-rule { height: 1px; background: var(--rm-line); }
.rm-grid-bg { background-color: var(--rm-paper); background-image: linear-gradient(var(--rm-line) 1px, transparent 1px), linear-gradient(90deg, var(--rm-line) 1px, transparent 1px); background-size: 40px 40px; }
.rm-corners { position: relative; }
.rm-corners::before, .rm-corners::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--rm-ink); pointer-events: none; }
.rm-corners::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.rm-corners::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.rm-drawing { display: flex; align-items: center; justify-content: center; }
.rm-drawing svg { display: block; width: 100%; height: auto; }

.rm-ticks { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.rm-ticks li { display: flex; align-items: center; gap: 10px; }
.rm-ticks .rm-icon, .rm-hero__ticks .rm-icon { color: var(--rm-yellow-deep); flex-shrink: 0; }

.rm-spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); margin: 0; border-top: 1px solid var(--rm-line); }
.rm-spec dt, .rm-spec dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rm-line); font-size: 15px; }
.rm-spec dt { color: var(--rm-g500); padding-right: 12px; }
.rm-spec--compact dt, .rm-spec--compact dd { padding: 10px 0; font-size: 14px; }

.rm-notice { padding: 12px 16px; background: var(--rm-paper); border: 1px solid var(--rm-line); font-size: 14px; margin-bottom: 20px; }
.rm-notice--ok { border-color: var(--rm-ok); background: #EEF8F0; }

/* ---------- section head ---------- */
.rm-section { padding: var(--rm-section) 0; }
.rm-section--tight { padding: 32px 0; }
.rm-section--paper { background: var(--rm-paper); border-top: 1px solid var(--rm-line); border-bottom: 1px solid var(--rm-line); }
.rm-section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.rm-section-head__text { display: flex; flex-direction: column; gap: 10px; }
.rm-section-head__title { font-size: 40px; }
.rm-section-head__blurb { margin: 0; max-width: 420px; color: var(--rm-g700); text-wrap: pretty; }
@media (min-width: 900px) {
	.rm-section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
	.rm-section-head__title { font-size: 52px; }
}

/* ---------- utility bar ---------- */
.rm-utility { background: var(--rm-ink); color: var(--rm-white); font-family: var(--rm-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.rm-utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.rm-utility__left, .rm-utility__right { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.rm-utility__left { overflow: hidden; }
.rm-utility__dim, .rm-utility a { color: var(--rm-g400); }
.rm-utility a:hover { color: var(--rm-white); }
.rm-utility a.rm-utility__hl { color: var(--rm-yellow); }
.rm-utility li { list-style: none; }
@media (max-width: 719px) { .rm-utility__left span + span, .rm-utility__right > *:not(.rm-utility__hl) { display: none; } }

/* ---------- header ---------- */
.rm-header { position: sticky; top: 0; z-index: 50; background: var(--rm-white); border-bottom: 1px solid var(--rm-line); }
.rm-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.rm-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.rm-logo--text { height: 40px; padding: 0 12px; background: var(--rm-charcoal); color: var(--rm-yellow); font-family: var(--rm-display); font-weight: 700; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.rm-logo--text span { color: var(--rm-white); opacity: 0.75; }
.rm-logo--text:hover { color: var(--rm-yellow); }
.rm-logo--image img { display: block; max-height: 44px; width: auto; }
.rm-nav { display: none; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.rm-nav::-webkit-scrollbar { display: none; }
.rm-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.rm-nav__list > li { position: relative; }
.rm-nav__list > li > a { display: inline-flex; align-items: center; height: 72px; padding: 0 10px; font-family: var(--rm-display); font-weight: 600; font-size: 18px; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; color: var(--rm-ink); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.rm-nav__list > li > a:hover, .rm-nav__list > li.current-menu-item > a, .rm-nav__list > li.current-menu-ancestor > a, .rm-nav__list > li.current-product-ancestor > a { border-bottom-color: var(--rm-yellow); color: var(--rm-ink); }
.rm-nav__list .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; background: var(--rm-white); border: 1px solid var(--rm-line); box-shadow: 0 12px 30px rgba(21,24,29,.08); padding: 8px 0; z-index: 60; }
.rm-nav__list > li:hover .sub-menu, .rm-nav__list > li:focus-within .sub-menu { display: block; }
.rm-nav__list .sub-menu a { display: block; padding: 10px 16px; font-size: 15px; }
.rm-nav__list .sub-menu a:hover { background: var(--rm-paper); color: var(--rm-ink); }
.rm-header__tools { display: flex; align-items: center; gap: 4px; flex-shrink: 1; min-width: 0; }
.rm-search { display: none; align-items: center; gap: 8px; height: 44px; width: 200px; min-width: 140px; flex-shrink: 1; padding: 0 12px; border: 1px solid var(--rm-line); background: var(--rm-paper); color: var(--rm-g500); }
.rm-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 14px; color: var(--rm-ink); }
.rm-search input::placeholder { color: var(--rm-g500); }
.rm-search:focus-within { border-color: var(--rm-ink); }
.rm-search--mobile { display: flex; width: 100%; margin-bottom: 16px; }
.rm-search--page { display: flex; width: 100%; max-width: 520px; margin: 24px 0; padding-right: 6px; }
.rm-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; position: relative; color: var(--rm-ink); }
.rm-iconbtn:hover { color: var(--rm-yellow-deep); }
.rm-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--rm-yellow); color: var(--rm-ink); font-family: var(--rm-mono); font-size: 11px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.rm-cart-count.is-empty { display: none; }
.rm-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -10px; border: 0; background: none; color: var(--rm-ink); }
.rm-burger__close { display: none; }
.rm-burger[aria-expanded="true"] .rm-burger__open { display: none; }
.rm-burger[aria-expanded="true"] .rm-burger__close { display: block; }
.rm-mobile-nav { padding: 16px var(--rm-gutter) 24px; border-top: 1px solid var(--rm-line); background: var(--rm-white); }
.rm-mobile-nav__list, .rm-mobile-nav__list .sub-menu { list-style: none; }
.rm-mobile-nav__list > li > a { display: block; padding: 12px 0; font-family: var(--rm-display); font-weight: 600; font-size: 22px; text-transform: uppercase; border-bottom: 1px solid var(--rm-line); }
.rm-mobile-nav__links { display: flex; gap: 24px; margin-top: 16px; font-size: 15px; }
.rm-mobile-nav__links a { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 1024px) {
	.rm-header__inner { height: 72px; }
	.rm-burger, .rm-mobile-nav { display: none !important; }
	.rm-nav { display: block; }
	.rm-search { display: flex; }
	.rm-logo--text { height: 44px; padding: 0 14px; font-size: 26px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.rm-nav__list > li > a { font-size: 16px; padding: 0 7px; }
	.rm-search { width: 150px; }
}

/* ---------- hero ---------- */
.rm-hero { border-bottom: 1px solid var(--rm-line); }
.rm-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 48px; }
.rm-hero__copy { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.rm-hero__title { font-size: clamp(52px, 9vw, 96px); letter-spacing: -0.005em; }
.rm-hero__text { margin: 0; max-width: 520px; font-size: 17px; color: var(--rm-g700); text-wrap: pretty; }
.rm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rm-hero__ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.rm-hero__ticks li { display: flex; align-items: center; gap: 8px; }
.rm-hero__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; padding: 24px; }
.rm-hero__visual .rm-drawing { width: 100%; max-width: 520px; }
.rm-hero__img { max-height: 520px; width: auto; }
.rm-callout { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 3px; max-width: 320px; padding: 12px 14px; background: var(--rm-white); border: 1px solid var(--rm-ink); color: var(--rm-ink); }
.rm-callout:hover { color: var(--rm-ink); border-color: var(--rm-yellow-deep); }
.rm-callout__sku { color: var(--rm-ink); }
.rm-callout__title { font-family: var(--rm-display); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1; }
.rm-callout__meta { font-size: 12px; color: var(--rm-g500); }
@media (max-width: 719px) { .rm-callout { position: static; margin-top: 12px; max-width: none; width: 100%; } .rm-hero__visual { flex-direction: column; } }
@media (min-width: 900px) {
	.rm-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; padding-top: 72px; padding-bottom: 80px; }
	.rm-hero__visual { min-height: 520px; }
	.rm-hero__text { font-size: 19px; }
}

/* ---------- trust strip ---------- */
.rm-trust { border-bottom: 1px solid var(--rm-line); }
.rm-trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 0; padding-right: 0; }
.rm-trust__item { display: flex; align-items: center; gap: 14px; padding: 18px var(--rm-gutter); border-right: 1px solid var(--rm-line); border-bottom: 1px solid var(--rm-line); }
.rm-trust__item:nth-child(2n) { border-right: 0; }
.rm-trust__item .rm-icon { flex-shrink: 0; }
.rm-trust__title { font-family: var(--rm-display); font-weight: 600; font-size: 19px; text-transform: uppercase; line-height: 1.1; }
.rm-trust__sub { font-size: 13px; color: var(--rm-g500); }
@media (min-width: 900px) {
	.rm-trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: var(--rm-gutter); padding-right: var(--rm-gutter); }
	.rm-trust__item { padding: 22px 28px 22px 0; border-bottom: 0; margin-right: 28px; }
	.rm-trust__item:nth-child(2n) { border-right: 1px solid var(--rm-line); }
	.rm-trust__item:last-child { border-right: 0; margin-right: 0; }
}

/* ---------- ranges ---------- */
.rm-ranges__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rm-range-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; min-height: 300px; background: var(--rm-white); border: 1px solid var(--rm-line); color: var(--rm-ink); }
.rm-range-card:hover { border-color: var(--rm-ink); color: var(--rm-ink); }
.rm-range-card__visual { height: 140px; display: flex; align-items: center; justify-content: center; }
.rm-range-card__visual .rm-drawing { height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; }
.rm-range-card__visual svg { height: 100%; width: auto; max-width: 100%; }
.rm-range-card__img { max-height: 140px; width: auto; }
.rm-range-card__body { display: flex; flex-direction: column; gap: 4px; }
.rm-range-card__title { font-family: var(--rm-display); font-weight: 700; font-size: 28px; text-transform: uppercase; line-height: 1; }
.rm-range-card__blurb { font-size: 14px; color: var(--rm-g500); }
.rm-range-card__cta { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
@media (min-width: 720px) { .rm-ranges__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .rm-ranges__grid { grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); } .rm-range-card { padding: 24px; min-height: 340px; } .rm-range-card__visual { height: 160px; } }

/* ---------- configurator ---------- */
.rm-cfg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.rm-cfg__panel { display: flex; flex-direction: column; gap: 24px; padding: 24px; }
.rm-cfg__group { display: flex; flex-direction: column; gap: 10px; }
.rm-cfg__label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rm-cfg__help { font-size: 13px; color: var(--rm-g500); }
.rm-cfg__result { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.rm-cfg__price-block { display: flex; flex-direction: column; gap: 4px; }
.rm-cfg__sku { color: var(--rm-ink); }
.rm-cfg__price { font-family: var(--rm-display); font-weight: 700; font-size: 44px; line-height: 1; }
.rm-cfg__note { font-size: 13px; color: var(--rm-g500); }
.rm-cfg__drawing { display: flex; flex-direction: column; padding: 24px; }
.rm-cfg__drawing-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rm-cfg__drawing-stage { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 16px 0; }
.rm-cfg__drawing-stage svg { width: 100%; max-width: 380px; max-height: 340px; }
@media (min-width: 900px) { .rm-cfg { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; } .rm-cfg__panel { padding: 36px; gap: 28px; } .rm-cfg__drawing { padding: 28px 32px; } }

/* ---------- factory ---------- */
.rm-factory__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.rm-factory__copy { display: flex; flex-direction: column; gap: 22px; }
.rm-factory__title { font-size: clamp(40px, 5vw, 60px); }
.rm-factory__text { margin: 0; font-size: 17px; color: var(--rm-g700); text-wrap: pretty; }
.rm-factory__copy > .rm-btn { align-self: flex-start; }
.rm-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.rm-steps--3 { grid-template-columns: minmax(0, 1fr); }
.rm-step { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid var(--rm-line); }
.rm-step__n { font-family: var(--rm-mono); font-size: 12px; color: var(--rm-yellow-deep); font-weight: 500; }
.rm-step__title { font-family: var(--rm-display); font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: 1; }
.rm-step__text { font-size: 14px; color: var(--rm-g500); text-wrap: pretty; }
.rm-factory__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: 420px; }
.rm-factory__photo { position: relative; display: flex; align-items: flex-end; padding: 16px; border: 1px solid var(--rm-line); overflow: hidden; }
.rm-factory__photo--tall { grid-row: span 2; }
.rm-factory__photo--dark { background: var(--rm-ink); border-color: var(--rm-ink); }
.rm-factory__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) { .rm-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; } }
@media (min-width: 1000px) { .rm-factory__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; } .rm-factory__photos { height: 560px; } }

/* ---------- installers band ---------- */
.rm-installers { background: var(--rm-ink); color: var(--rm-white); padding: var(--rm-section) 0; }
.rm-installers__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.rm-installers__copy { display: flex; flex-direction: column; gap: 20px; }
.rm-installers__title { font-size: clamp(40px, 5vw, 60px); color: var(--rm-white); }
.rm-installers__text { margin: 0; max-width: 520px; font-size: 17px; color: var(--rm-g400); text-wrap: pretty; }
.rm-installers__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rm-installers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rm-perk { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--rm-charcoal); border: 1px solid var(--rm-charcoal-2); }
.rm-perk__icon { color: var(--rm-yellow); }
.rm-perk__title { font-family: var(--rm-display); font-weight: 600; font-size: 22px; text-transform: uppercase; line-height: 1; }
.rm-perk__text { font-size: 14px; color: var(--rm-g400); }
@media (min-width: 1000px) { .rm-installers__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; } .rm-perk { padding: 24px; } }

/* ---------- product grid / cards ---------- */
.rm-product-grid, ul.products, .woocommerce ul.products, .woocommerce-page ul.products { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.rm-product-grid::before, .rm-product-grid::after, ul.products::before, ul.products::after, .woocommerce ul.products::before, .woocommerce ul.products::after, .woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none; content: none; }
@media (min-width: 720px) { .rm-product-grid, ul.products, .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .rm-product-grid--4, ul.products.rm-product-grid--4, .woocommerce ul.products.rm-product-grid--4, .woocommerce-page ul.products.rm-product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
ul.products li.product, .rm-product-card { list-style: none; margin: 0 !important; padding: 0; width: auto !important; float: none !important; }
.rm-product-card__link { display: flex; flex-direction: column; height: 100%; position: relative; background: var(--rm-white); border: 1px solid var(--rm-line); color: var(--rm-ink); }
.rm-product-card__link:hover { border-color: var(--rm-ink); color: var(--rm-ink); }
.rm-product-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.rm-product-card__visual { height: 200px; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--rm-paper); border-bottom: 1px solid var(--rm-line); overflow: hidden; }
.rm-product-card__visual .rm-drawing { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.rm-product-card__visual svg { max-height: 100%; width: auto; max-width: 100%; }
.rm-product-card__visual img { max-height: 100%; width: auto; object-fit: contain; }
.rm-product-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; min-width: 0; }
.rm-product-card__title { font-family: var(--rm-display); font-weight: 600; font-size: 22px; text-transform: uppercase; line-height: 1; }
.rm-product-card__meta { font-size: 13px; color: var(--rm-g500); }
.rm-product-card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; min-width: 0; }
.rm-product-card__price { font-family: var(--rm-display); font-weight: 700; font-size: 22px; line-height: 1; }
.rm-product-card__price .rm-from { font-family: var(--rm-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rm-g500); margin-right: 2px; }
.rm-product-card__price del { color: var(--rm-g400); font-weight: 500; font-size: 16px; margin-right: 6px; }
.rm-product-card__price ins { text-decoration: none; }
.rm-product-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; white-space: nowrap; }
@media (min-width: 720px) { .rm-product-card__visual { height: 240px; } .rm-product-card__title { font-size: 24px; } .rm-product-card__price { font-size: 24px; } }

/* ---------- archive ---------- */
.rm-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 16px 0 0; font-size: 13px; color: var(--rm-g500); }
.rm-breadcrumb a { color: var(--rm-g500); }
.rm-breadcrumb a:hover { color: var(--rm-ink); }
.rm-crumb-sep { display: inline-flex; color: var(--rm-g400); }
.rm-archive__hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 16px; padding: 28px 24px; border: 1px solid var(--rm-line); }
.rm-archive__hero-copy { display: flex; flex-direction: column; gap: 14px; }
.rm-archive__title { font-size: clamp(40px, 6vw, 72px); }
.rm-archive__lead { max-width: 560px; color: var(--rm-g700); text-wrap: pretty; }
.rm-archive__lead p:last-child { margin-bottom: 0; }
.rm-archive__hero-visual { display: none; justify-content: center; }
.rm-archive__hero-visual .rm-drawing { width: 100%; max-width: 300px; }
@media (min-width: 900px) { .rm-archive__hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; padding: 40px 44px; } .rm-archive__hero-visual { display: flex; } }
.rm-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rm-archive__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 0 var(--rm-section); }
.rm-archive__main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .rm-archive__body { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-top: 32px; } .rm-archive__body--full { grid-template-columns: minmax(0, 1fr); } }
/* Belt and braces: a body with no <aside> never gets the sidebar column. */
.rm-archive__body > .rm-archive__main:first-child { grid-column: 1 / -1; }

.rm-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--rm-ink); }
.rm-filters__title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--rm-display); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.rm-filters__clear { font-size: 13px; color: var(--rm-g500); margin-left: auto; }
.rm-filters__toggle { border: 1px solid var(--rm-line); background: var(--rm-white); height: 36px; padding: 0 12px; font-size: 13px; }
.rm-filters__body { display: none; }
.rm-filters.is-open .rm-filters__body { display: block; }
.rm-facet { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rm-line); }
.rm-facet__title { color: var(--rm-ink); margin-bottom: 6px; }
.rm-facet__opt { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 14px; color: var(--rm-ink); }
.rm-facet__box { width: 16px; height: 16px; border: 1.5px solid var(--rm-g400); background: var(--rm-white); display: inline-flex; align-items: center; justify-content: center; color: var(--rm-yellow); flex-shrink: 0; }
.rm-facet__box .rm-icon { visibility: hidden; }
.rm-facet__opt.is-on .rm-facet__box { background: var(--rm-ink); border-color: var(--rm-ink); }
.rm-facet__opt.is-on .rm-facet__box .rm-icon { visibility: visible; }
.rm-facet__opt:hover .rm-facet__box { border-color: var(--rm-ink); }
@media (min-width: 900px) { .rm-filters__toggle { display: none; } .rm-filters__body { display: block; } }

.rm-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--rm-ink); }
.rm-toolbar__left { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rm-toolbar .woocommerce-result-count { margin: 0; font-size: 14px; color: var(--rm-g500); }
.rm-toolbar .woocommerce-ordering { margin: 0; float: none; }
.rm-toolbar .woocommerce-ordering select { height: 36px; padding: 0 12px; border: 1px solid var(--rm-line); background: var(--rm-white); font-size: 14px; }
.rm-custom-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--rm-paper); border: 1px solid var(--rm-line); margin-top: 12px; }
.rm-custom-strip > div { display: flex; flex-direction: column; gap: 2px; }
.rm-custom-strip__title { font-family: var(--rm-display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1; }
.rm-custom-strip__text { font-size: 14px; color: var(--rm-g500); }
.woocommerce-pagination { margin-top: 8px; }
.woocommerce-pagination ul.page-numbers { display: flex; gap: 6px; list-style: none; border: 0; }
.woocommerce-pagination ul.page-numbers li { border: 0; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--rm-line); font-family: var(--rm-display); font-weight: 600; font-size: 18px; }
.woocommerce-pagination .page-numbers span.current { background: var(--rm-ink); border-color: var(--rm-ink); color: var(--rm-yellow); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top: 3px solid var(--rm-ink); background: var(--rm-paper); color: var(--rm-ink); padding: 14px 16px 14px 44px; margin-bottom: 20px; }
.woocommerce-info::before, .woocommerce-message::before { color: var(--rm-yellow-deep); }
.woocommerce-error { border-top-color: var(--rm-danger); }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; }
.woocommerce-no-products-found { padding: 40px 0; }

/* ---------- single product ---------- */
.rm-product__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; padding: 20px 0 48px; }
.rm-product__gallery { min-width: 0; }
.rm-product__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; padding: 48px 24px; border: 1px solid var(--rm-line); }
.rm-product__stage .rm-drawing { width: 100%; max-width: 520px; }
.rm-product__stage svg { max-height: 560px; width: 100%; }
.rm-product__badges { position: absolute; left: 20px; top: 20px; display: flex; gap: 8px; z-index: 2; }
.rm-product__stage-note { position: absolute; right: 20px; bottom: 20px; }
.rm-product__summary { display: flex; flex-direction: column; gap: 22px; }
.rm-product__head { display: flex; flex-direction: column; gap: 8px; }
.rm-product__sku { color: var(--rm-ink); }
.rm-product__sku a { color: var(--rm-g500); }
.rm-product__title { font-size: clamp(36px, 4.5vw, 56px); }
.rm-product__excerpt { color: var(--rm-g700); text-wrap: pretty; }
.rm-product__excerpt p:last-child { margin: 0; }
.rm-product__buy { display: flex; flex-direction: column; gap: 22px; padding-top: 22px; border-top: 1px solid var(--rm-line); }
.rm-product__price-row { display: flex; flex-direction: column; gap: 4px; }
.rm-product__price { font-family: var(--rm-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--rm-ink); }
.rm-product__price .rm-from { font-family: var(--rm-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rm-g500); }
.rm-product__price del { color: var(--rm-g400); font-size: 24px; font-weight: 500; margin-right: 8px; }
.rm-product__price ins { text-decoration: none; }
.rm-product__price-note { font-size: 13px; color: var(--rm-g500); }
.rm-product__price-note a { color: var(--rm-yellow-deep); font-weight: 500; }
.rm-product__chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.rm-product__chips .rm-chip { justify-content: flex-start; }
.rm-product__details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 48px 0 var(--rm-section); border-top: 1px solid var(--rm-line); }
.rm-product__spec, .rm-product__drawing-col { display: flex; flex-direction: column; gap: 20px; }
.rm-product__drawing { display: flex; align-items: center; justify-content: center; min-height: 380px; padding: 24px; border: 1px solid var(--rm-line); }
.rm-product__drawing .rm-drawing { width: 100%; max-width: 440px; }
.rm-product__downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.rm-product__description { color: var(--rm-g700); }
.rm-companions { padding-top: 0; }
@media (min-width: 720px) { .rm-product__chips { gap: 12px; } }
@media (min-width: 1000px) { .rm-product__top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding: 24px 0 64px; } .rm-product__details { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-top: 64px; } .rm-product__stage { min-height: 620px; } }

/* Variation form → pills. The native selects stay in the DOM (Woo drives them) but are visually hidden. */
.rm-product form.variations_form table.variations { border: 0; margin: 0; width: 100%; border-collapse: collapse; }
.rm-product form.variations_form table.variations th, .rm-product form.variations_form table.variations td { padding: 0; border: 0; display: block; }
.rm-product form.variations_form table.variations th.label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.rm-product form.variations_form table.variations td.value { position: relative; }
.rm-product form.variations_form table.variations td.value > select { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); opacity: 0; pointer-events: none; }
.rm-product form.variations_form table.variations tr { display: block; margin-bottom: 20px; }
.rm-product form.variations_form .reset_variations { display: none !important; }
.rm-product .single_variation_wrap { display: flex; flex-direction: column; gap: 16px; }
.rm-product .woocommerce-variation.single_variation { display: flex; flex-direction: column; gap: 4px; }
.rm-product .woocommerce-variation-price .price { font-family: var(--rm-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--rm-ink); }
.rm-product .woocommerce-variation-price .price del { color: var(--rm-g400); font-size: 24px; margin-right: 8px; }
.rm-product .woocommerce-variation-price .price ins { text-decoration: none; }
.rm-product .woocommerce-variation-availability .stock { margin: 0; font-family: var(--rm-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rm-g500); }
.rm-product .woocommerce-variation-availability .stock.in-stock { color: var(--rm-ok); }
.rm-product .woocommerce-variation-description p:last-child { margin: 0; }
.rm-product .woocommerce-variation-price:has(.price) ~ .rm-product__price-row { display: none; }
.rm-product .variations_form .rm-product__price-row { display: none; }
/* Hide the top-level range price once a variation price is shown. */
.rm-product__buy:has(.woocommerce-variation-price .price) > .rm-product__price-row .rm-product__price { display: none; }
.rm-product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.rm-product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; }
.rm-product form.cart .quantity { display: inline-flex; align-items: center; border: 1px solid var(--rm-line); height: 52px; float: none; margin: 0; }
.rm-product form.cart .quantity .qty { width: 64px; height: 50px; border: 0; text-align: center; font-family: var(--rm-mono); font-size: 16px; -moz-appearance: textfield; }
.rm-product form.cart .quantity .qty::-webkit-inner-spin-button { opacity: 1; }
.rm-product form.cart .single_add_to_cart_button, .rm-product form.cart .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; font-family: var(--rm-display); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; border: 2px solid var(--rm-yellow); background: var(--rm-yellow); color: var(--rm-ink); border-radius: 0; }
.rm-product form.cart .single_add_to_cart_button:hover { background: var(--rm-yellow-deep); border-color: var(--rm-yellow-deep); color: var(--rm-ink); }
.rm-product form.cart .single_add_to_cart_button.disabled, .rm-product form.cart .single_add_to_cart_button:disabled { opacity: 0.4; cursor: not-allowed; }
.rm-product .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button { opacity: 0.4; }
.rm-product .stock.out-of-stock { color: var(--rm-danger); }
.rm-trade-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-left: 8px; vertical-align: middle; font-family: var(--rm-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--rm-yellow); color: var(--rm-ink); }

/* Woo gallery when real photos exist */
.rm-product__gallery .woocommerce-product-gallery { width: 100%; float: none; margin: 0; }
.rm-product__gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.rm-product__gallery .woocommerce-product-gallery__image { border: 1px solid var(--rm-line); background: var(--rm-paper); }
.rm-product__gallery .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; list-style: none; }
.rm-product__gallery .flex-control-thumbs li { width: 84px; margin: 0; border: 1px solid var(--rm-line); }
.rm-product__gallery .flex-control-thumbs li img.flex-active { border: 0; outline: 1px solid var(--rm-ink); opacity: 1; }
.rm-product__gallery .woocommerce-product-gallery__trigger { border-radius: 0; }

/* ---------- pages ---------- */
.rm-page { padding-top: 24px; padding-bottom: var(--rm-section); }
.rm-page--narrow { max-width: 880px; }
.rm-page__head { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 28px; }
.rm-page__title { font-size: clamp(40px, 6vw, 64px); }
.rm-page__lead { font-size: 18px; color: var(--rm-g700); max-width: 640px; text-wrap: pretty; }
.rm-page__figure { margin: 0 0 32px; }
.rm-404 { text-align: left; }
.rm-404__links .rm-nav__list { flex-wrap: wrap; gap: 8px; }
.rm-404__links .rm-nav__list > li > a { height: 44px; padding: 0 14px; border: 1px solid var(--rm-line); border-bottom-width: 1px; margin: 0; }
.rm-post-list { display: flex; flex-direction: column; gap: 24px; }
.rm-post-card { padding: 24px; border: 1px solid var(--rm-line); }
.rm-post-card__title { font-size: 32px; margin: 6px 0 10px; }
.rm-pagination .nav-links { display: flex; gap: 6px; margin-top: 24px; }
.rm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--rm-line); font-family: var(--rm-display); font-weight: 600; font-size: 18px; }
.rm-pagination .page-numbers.current { background: var(--rm-ink); border-color: var(--rm-ink); color: var(--rm-yellow); }

/* prose (block editor content) */
.rm-prose { font-size: 17px; line-height: 1.6; color: var(--rm-g700); }
.rm-prose > * + * { margin-top: 1.1em; }
.rm-prose h2, .rm-prose h3, .rm-prose h4 { font-family: var(--rm-display); font-weight: 700; text-transform: uppercase; line-height: 1; color: var(--rm-ink); margin-top: 1.6em; }
.rm-prose h2 { font-size: 36px; } .rm-prose h3 { font-size: 28px; } .rm-prose h4 { font-size: 22px; }
.rm-prose p { margin: 0; }
.rm-prose ul, .rm-prose ol { padding-left: 1.4em; }
.rm-prose li + li { margin-top: 0.4em; }
.rm-prose a { color: var(--rm-ink); text-decoration: underline; text-decoration-color: var(--rm-yellow); text-underline-offset: 3px; }
.rm-prose a:hover { color: var(--rm-yellow-deep); }
.rm-prose blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--rm-yellow); font-style: normal; }
.rm-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rm-prose th, .rm-prose td { padding: 10px 12px; border-bottom: 1px solid var(--rm-line); text-align: left; }
.rm-prose th { font-family: var(--rm-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rm-g500); }
.rm-prose img { border: 1px solid var(--rm-line); }
.rm-prose .wp-block-button__link { border-radius: 0; background: var(--rm-ink); color: var(--rm-white); font-family: var(--rm-display); font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: 0.04em; padding: 14px 24px; text-decoration: none; }
.rm-prose .alignwide { margin-left: calc(50% - min(50vw, 720px) + var(--rm-gutter)); margin-right: calc(50% - min(50vw, 720px) + var(--rm-gutter)); max-width: none; }

/* ---------- forms (request forms, page search) ---------- */
.rm-form { display: flex; flex-direction: column; gap: 16px; }
.rm-form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rm-form label, .rm-form__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.rm-form label span, .rm-form__field span { font-family: var(--rm-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rm-g500); }
.rm-form input[type="text"], .rm-form input[type="email"], .rm-form input[type="tel"], .rm-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--rm-line); background: var(--rm-white); font-size: 15px; color: var(--rm-ink); border-radius: 0; }
.rm-form input:focus, .rm-form textarea:focus { outline: none; border-color: var(--rm-ink); }
.rm-form textarea { resize: vertical; min-height: 120px; }
.rm-form__hp { position: absolute; left: -9999px; }
.rm-form .button { align-self: flex-start; margin-top: 4px; border-radius: 0; }
@media (min-width: 640px) { .rm-form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rm-form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rm-form-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.rm-form-section__copy { display: flex; flex-direction: column; gap: 16px; }
.rm-form-section__copy p { color: var(--rm-g700); margin: 0; }
.rm-form-section__form { padding: 28px; }
@media (min-width: 900px) { .rm-form-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; } .rm-form-section__form { padding: 36px; } }

/* ---------- footer ---------- */
.rm-footer { background: var(--rm-ink); color: var(--rm-white); padding: 56px 0 32px; }
.rm-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.rm-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.rm-footer__brand p { margin: 0; max-width: 360px; color: var(--rm-g400); font-size: 15px; }
.rm-footer__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-footer__col { display: flex; flex-direction: column; gap: 10px; }
.rm-footer__title { color: var(--rm-g400); margin-bottom: 4px; }
.rm-footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rm-footer__links a { color: var(--rm-white); font-size: 15px; }
.rm-footer__links a:hover { color: var(--rm-yellow); }
.rm-footer__rule { height: 1px; background: var(--rm-charcoal-2); margin: 40px 0 20px; }
.rm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--rm-g500); }
.rm-footer__bottom a { color: var(--rm-g500); }
.rm-footer__bottom a:hover { color: var(--rm-white); }
.rm-logo--footer.rm-logo--text { align-self: flex-start; }
@media (min-width: 720px) { .rm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .rm-footer { padding: 64px 0 40px; } .rm-footer__grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* ---------- sample-data banner (shop managers only) ---------- */
.rm-sample-banner { position: fixed; left: 12px; bottom: 12px; z-index: 90; padding: 8px 12px; background: var(--rm-yellow); color: var(--rm-ink); font-family: var(--rm-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(0,0,0,.15); }

/* ---------- admin bar offset for sticky header ---------- */
body.admin-bar .rm-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .rm-header { top: 46px; } }
