/* Western Stakes — Saddle & Bone
   Homepage catalogue styles. Scoped to .ws so nothing leaks into the rest of the theme. */

@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@400;600;700&family=Karla:wght@400;500;700&display=swap');

.ws {
	--bone: #F5EEE3;
	--paper: #EDE3D4;
	--ink: #241C15;
	--tan: #A6642E;
	--ox: #6E2733;
	--rule: #D9CBB4;
	--mut: #8A7A66;
	--body: #4A3B2E;

	background: var(--bone);
	color: var(--ink);
	font-family: Karla, system-ui, -apple-system, sans-serif;
	line-height: 1.55;
	overflow-x: hidden;
}

.ws *,
.ws *::before,
.ws *::after { box-sizing: border-box; }

.ws h1,
.ws h2,
.ws .ws-nm,
.ws .ws-cat b,
.ws .ws-promise b,
.ws .ws-hero-meta b,
.ws .ws-stats b {
	font-family: 'Zilla Slab', Georgia, serif;
	line-height: 1.14;
	margin: 0;
	text-wrap: balance;
}

.ws-wrap {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}

.ws-eyebrow {
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mut);
	font-weight: 700;
	margin: 0 0 6px;
}

.ws-bar {
	background: var(--ink);
	color: var(--bone);
	text-align: center;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 11px 16px;
	margin: 0;
}

/* ---------- hero ---------- */

.ws-hero {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 52px;
	align-items: center;
	padding-block: 64px;
}

.ws-hero h1 {
	font-size: clamp(38px, 5vw, 62px);
	font-weight: 700;
	letter-spacing: -.01em;
}

.ws-lead {
	font-size: 17px;
	color: var(--body);
	max-width: 52ch;
	margin: 18px 0 28px;
}

.ws-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0;
}

.ws-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding-inline: 26px;
	background: var(--tan);
	color: #FFF7EC;
	border: 1px solid var(--tan);
	border-radius: 2px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .18s ease, color .18s ease;
}

.ws-btn:hover { background: #8E5325; border-color: #8E5325; color: #FFF7EC; }

.ws-btn-alt { background: transparent; color: var(--ink); border-color: var(--rule); }
.ws-btn-alt:hover { background: var(--paper); border-color: var(--mut); color: var(--ink); }

.ws-stats {
	display: flex;
	gap: 32px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--rule);
	flex-wrap: wrap;
}

.ws-stats b { display: block; font-size: 26px; font-weight: 700; }
.ws-stats span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.ws-stats .amount, .ws-stats bdi { font-size: inherit; }

.ws-hero-card {
	display: block;
	background: var(--paper);
	border: 1px solid var(--rule);
	padding: 16px;
	text-decoration: none;
	color: inherit;
}

.ws-hero-card img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 520px;
	margin-inline: auto;
	object-fit: contain;
	background: var(--paper);
}

.ws-hero-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-top: 14px;
}

.ws-hero-meta b { font-size: 17px; font-weight: 600; }
.ws-hero-meta i { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- category tiles ---------- */

.ws-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	padding-bottom: 60px;
}

.ws-cat {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	min-height: 120px;
	padding: 22px 20px;
	background: var(--paper);
	border: 1px solid var(--rule);
	text-decoration: none;
	color: inherit;
	transition: border-color .18s ease, transform .18s ease;
}

.ws-cat:hover { border-color: var(--tan); transform: translateY(-2px); }
.ws-cat b { font-size: 21px; font-weight: 600; }
.ws-cat span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }

/* ---------- bands ---------- */

.ws-band {
	background: var(--paper);
	border-block: 1px solid var(--rule);
	padding-block: 58px;
}

.ws-band h2,
.ws-index h2 {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 600;
	margin-bottom: 26px;
}

.ws-index { padding-block: 60px; }

/* ---------- product grid ---------- */

.ws-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.ws-card {
	display: flex;
	flex-direction: column;
	background: var(--bone);
	border: 1px solid var(--rule);
	text-decoration: none;
	color: inherit;
	transition: border-color .18s ease, transform .18s ease;
}

.ws-card:hover { border-color: var(--tan); transform: translateY(-2px); }

.ws-card img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 5;
	object-fit: contain;
	background: var(--paper);
	padding: 10px;
	image-rendering: auto;
}

.ws-card-b {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px;
	flex: 1;
}

.ws-ct { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.ws-nm { font-size: 15px; font-weight: 600; }
.ws-pz { margin-top: auto; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.ws-pz del { opacity: .55; font-weight: 400; margin-right: 6px; }
.ws-pz ins { text-decoration: none; }
.ws-oos { display: block; font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ox); font-weight: 700; margin-top: 2px; }

.ws-card[hidden] { display: none; }

/* ---------- filters ---------- */

.ws-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }

.ws-chip {
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 10px 16px;
	border: 1px solid var(--rule);
	border-radius: 2px;
	background: transparent;
	color: var(--mut);
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.ws-chip:hover { border-color: var(--mut); color: var(--ink); }
.ws-chip[aria-pressed="true"] { background: var(--tan); border-color: var(--tan); color: #FFF7EC; }
.ws-chip:focus-visible, .ws-more:focus-visible, .ws-card:focus-visible, .ws-cat:focus-visible, .ws-btn:focus-visible {
	outline: 2px solid var(--tan);
	outline-offset: 3px;
}

.ws-count {
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--mut);
	margin: 0 0 18px;
}

.ws-more-wrap { text-align: center; margin: 32px 0 0; }

.ws-more {
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 14px 34px;
	border: 1px solid var(--rule);
	border-radius: 2px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.ws-more:hover { background: var(--paper); border-color: var(--mut); }

/* ---------- promise ---------- */

.ws-promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ws-promise b { display: block; font-size: 16px; margin-bottom: 4px; }
.ws-promise p { margin: 0; font-size: 13.5px; color: var(--body); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
	.ws-hero { grid-template-columns: 1fr; gap: 30px; padding-block: 42px; }
	.ws-cats, .ws-promise { grid-template-columns: repeat(2, 1fr); }
	.ws-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 560px) {
	.ws-cats, .ws-promise { grid-template-columns: 1fr; }
	.ws-wrap { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.ws * { transition: none !important; animation: none !important; }
}
