/**
 * Midwest Armor - Collection treatment ("Mist" light mode).
 * Clearance / Restock (and future curated collections). Accent banner + quiet
 * full-width grid with one mono chip per card + strikethrough sale pricing +
 * desaturated sold-out. Reference: ref-design/restock_clearance_pages.html.
 * Scoped under .mwcol-wrap; classes use the mwcol- prefix. The accent color is
 * injected per-page as --mwcol-accent (see the preset).
 *
 * Fonts (Inter + JetBrains Mono) load with the chrome; @import is a safety net.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

.mwcol-wrap {
	--mwcol-ink: #141416;
	--mwcol-muted: rgba(20, 20, 22, 0.55);
	--mwcol-border: rgba(20, 20, 22, 0.12);
	--mwcol-strip: #f1f2f4;
	--mwcol-sans: 'Inter', system-ui, -apple-system, sans-serif;
	--mwcol-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--mwcol-accent: #3f7355;

	background: #fff;
	color: var(--mwcol-ink);
	font-family: var(--mwcol-sans);
	-webkit-font-smoothing: antialiased;
	padding-bottom: 64px;
}
.mwcol-wrap * { box-sizing: border-box; }

/* Breadcrumb */
.mwcol-breadcrumb {
	padding: 14px 56px; font-family: var(--mwcol-mono); font-size: 10px; letter-spacing: 1.5px;
	color: var(--mwcol-muted); border-bottom: 1px solid var(--mwcol-border);
	display: flex; align-items: center; gap: 10px; text-transform: uppercase;
}
.mwcol-breadcrumb a { color: var(--mwcol-muted); text-decoration: none; }
.mwcol-breadcrumb a:hover { color: var(--mwcol-ink); }
.mwcol-breadcrumb .sep { opacity: 0.4; }
.mwcol-breadcrumb .current { color: var(--mwcol-ink); }

/* Banner */
.mwcol-banner { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--mwcol-border); }
.mwcol-banner__rule { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--mwcol-accent); }
.mwcol-banner__inner { min-height: 300px; padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; }
.mwcol-banner__eyebrow { font-family: var(--mwcol-mono); font-size: 11px; letter-spacing: 2.4px; font-weight: 700; color: var(--mwcol-accent); margin-bottom: 14px; }
.mwcol-banner__title { margin: 0; font-size: 56px; font-weight: 600; letter-spacing: -1.4px; line-height: 0.98; color: var(--mwcol-ink); font-family: var(--mwcol-sans); }
.mwcol-banner__desc { margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--mwcol-muted); max-width: 520px; text-wrap: pretty; }
.mwcol-banner__stamps {
	position: absolute; right: 56px; bottom: 32px; font-family: var(--mwcol-mono);
	font-size: 10.5px; letter-spacing: 1px; line-height: 1.75; text-align: right;
	color: var(--mwcol-muted); border-right: 2px solid var(--mwcol-accent); padding-right: 16px; white-space: nowrap;
}
.mwcol-stamp.is-lead { color: var(--mwcol-ink); font-weight: 700; }

/* Result bar */
.mwcol-resultbar { padding: 22px 56px 0; }
.mwcol-resultbar span { font-family: var(--mwcol-mono); font-size: 10px; letter-spacing: 1.5px; color: var(--mwcol-muted); }

/* Grid - minmax(0, 1fr) lets tracks shrink below nowrap content (price/overlay)
   so the row never overflows the viewport. */
.mwcol-grid { padding: 26px 56px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; }

/* Card */
.mwcol-card__imgwrap {
	position: relative; aspect-ratio: 1 / 1; overflow: hidden;
	background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.04) 0, rgba(0, 0, 0, 0.04) 8px, transparent 8px, transparent 20px) var(--mwcol-strip);
}
/* Force the image itself to a square box via its own aspect-ratio (don't rely on
   height:100% resolving against the parent's aspect-ratio height - that fails for
   non-square sources). object-fit crops to fill. */
.mwcol-card__img { position: absolute; top: 0; left: 0; display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; transition: opacity 0.25s; }
.mwcol-card--oos .mwcol-card__img { filter: grayscale(1); opacity: 0.5; }
/* Primary + first-gallery hover crossfade (matches the standard category card). */
.mwcol-card__img--alt { opacity: 0; }
.mwcol-card:hover .mwcol-card__img--primary.has-alt { opacity: 0; }
.mwcol-card:hover .mwcol-card__img--alt { opacity: 1; }
.mwcol-card__imglink { position: absolute; inset: 0; z-index: 1; }

.mwcol-chip {
	position: absolute; top: 14px; left: 14px; z-index: 2;
	font-family: var(--mwcol-mono); font-size: 9px; font-weight: 700; letter-spacing: 1.6px;
	white-space: nowrap; padding: 4px 8px;
}
.mwcol-chip--accent { background: var(--mwcol-accent); color: #fff; }
.mwcol-chip--text,
.mwcol-chip--soldout { border: 1px solid var(--mwcol-border); color: var(--mwcol-muted); background: #fff; }

.mwcol-card__oos { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.mwcol-card__oos span {
	padding: 9px 16px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--mwcol-ink);
	color: var(--mwcol-ink); font-family: var(--mwcol-mono); font-size: 11px; letter-spacing: 2px; font-weight: 700; white-space: nowrap;
}

/* Wishlist heart (notify plugin) - pin to the image top-right. */
.mwcol-card__imgwrap .mwa-heart-row,
.mwcol-card__imgwrap .mwa-heart { position: absolute; top: 12px; right: 12px; z-index: 3; }

/* Match the standard category card: name on the left, price to the RIGHT on the
   same row (not stacked below). */
.mwcol-card__foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; text-decoration: none; color: inherit; padding: 14px 2px 0; }
.mwcol-card__name {
	font-size: 14px; font-weight: 500; letter-spacing: -0.1px; line-height: 1.3; color: var(--mwcol-ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	flex: 1 1 auto; min-width: 0;
}
.mwcol-card__price { font-family: var(--mwcol-mono); font-size: 13px; font-weight: 600; text-align: right; white-space: nowrap; color: var(--mwcol-ink); flex: 0 0 auto; }
.mwcol-card__price del { color: var(--mwcol-muted); font-weight: 400; margin-right: 6px; }
.mwcol-card__price ins { color: var(--mwcol-accent); text-decoration: none; }
.mwcol-card__price .amount { font-family: var(--mwcol-mono); font-style: normal; }

/* Load-more host reuses the category .mwc-loadmore markup; give it room. */
.mwcol-loadmore-host { padding: 0 56px; margin-top: 8px; }

/* category.css scopes the load-more BUTTON to .mwc-wrap and styles the bar/fill/
   count with --mwc-* tokens (undefined here), so it falls back to Elementor's blue
   link. Restyle the whole block for .mwcol-wrap with the collection tokens so it
   matches the category treatment (ink outline button + progress bar). */
.mwcol-wrap .mwc-loadmore { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 48px; }
.mwcol-wrap .mwc-loadmore__bar { width: 220px; height: 2px; background: var(--mwcol-border); position: relative; overflow: hidden; }
.mwcol-wrap .mwc-loadmore__fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--mwcol-ink); transition: width 0.3s ease; }
.mwcol-wrap .mwc-loadmore__count { font-family: var(--mwcol-mono); font-size: 10.5px; letter-spacing: 1.2px; color: var(--mwcol-muted); }
.mwcol-wrap .mwc-loadmore__btn,
.mwcol-wrap .mwc-loadmore__btn:link,
.mwcol-wrap .mwc-loadmore__btn:visited,
.mwcol-wrap .mwc-loadmore__btn:focus,
.mwcol-wrap .mwc-loadmore__btn:active {
	padding: 15px 34px; background: transparent !important; color: var(--mwcol-ink) !important;
	border: 1px solid var(--mwcol-ink) !important; border-radius: 0 !important; box-shadow: none !important;
	outline: none !important; cursor: pointer; font-family: var(--mwcol-mono); font-size: 11px;
	letter-spacing: 2px; font-weight: 700; text-decoration: none !important;
}
.mwcol-wrap .mwc-loadmore__btn:hover { background: var(--mwcol-ink) !important; color: #fff !important; border-color: var(--mwcol-ink) !important; }
.mwcol-wrap .mwc-loadmore__btn:focus-visible { outline: 2px solid var(--mwcol-ink) !important; outline-offset: 2px; }
.mwcol-wrap .mwc-loadmore__btn[aria-busy="true"] { opacity: 0.6; cursor: default; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.mwcol-breadcrumb { padding: 14px 32px; }
	.mwcol-banner__inner { padding: 44px 32px; min-height: 260px; }
	.mwcol-banner__title { font-size: 46px; }
	.mwcol-banner__stamps { right: 32px; }
	.mwcol-resultbar { padding: 20px 32px 0; }
	.mwcol-grid { padding: 22px 32px 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
	.mwcol-loadmore-host { padding: 0 32px; }
}
@media (max-width: 760px) {
	.mwcol-breadcrumb { padding: 12px 20px; }
	.mwcol-banner__inner { padding: 36px 20px; min-height: 0; }
	.mwcol-banner__title { font-size: 34px; letter-spacing: -1px; }
	.mwcol-banner__desc { font-size: 14px; }
	.mwcol-banner__stamps { display: none; } /* would overlap the copy on phones */
	.mwcol-resultbar { padding: 18px 20px 0; }
	.mwcol-grid { padding: 18px 20px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.mwcol-loadmore-host { padding: 0 20px; }
}

/* ============================================================ BRANDS INDEX
   Logo-only directory: a clean grid of brand logos (no box, no name, bigger),
   each cell linking to that brand's archive. */
/* Square cells (~280px) that auto-fill the row, each with a big centered logo.
   Full hairline grid (container top/left + per-card right/bottom) so it works at
   any column count. */
.mwbr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 1px solid var(--mwcol-border); border-left: 1px solid var(--mwcol-border); }
.mwbr-card {
	aspect-ratio: 1 / 1;
	display: flex; align-items: center; justify-content: center;
	padding: 32px; text-decoration: none;
	border-bottom: 1px solid var(--mwcol-border); border-right: 1px solid var(--mwcol-border);
	transition: opacity 0.15s;
}
.mwbr-card:hover { opacity: 0.55; }
.mwbr-card__img { max-width: 78%; max-height: 72%; width: auto; height: auto; object-fit: contain; display: block; }

@media (max-width: 760px) {
	.mwbr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mwbr-card { padding: 20px; }
}
