/* =====================================================
   HEALIO — collection landing pages
   Loaded on /shop/ and every /collections/<slug>/ archive.
   Depends on tokens in main.css and the card styles in shop.css.
   ===================================================== */

/* ---------- Filter bar: two tiers ----------
   The six headline collections read at full weight; the focused landing
   collections sit one tier quieter behind a hairline so a long filter row
   still scans as an editorial index rather than a wall of buttons. */
.shop-filters__rule {
	width: 1px;
	height: 20px;
	background: var(--line);
	margin: 0 5px;
	flex: 0 0 auto;
}
.shop-pill--minor {
	background: transparent;
	border-color: transparent;
	color: var(--mauve);
	font-size: 12.5px;
	padding-left: 12px;
	padding-right: 12px;
}
.shop-pill--minor:hover {
	background: #fff;
	border-color: var(--line);
	color: var(--berry);
}
.shop-pill--minor.is-active {
	background: var(--rose);
	border-color: var(--rose);
	color: #fff;
}
@media (max-width: 700px) {
	.shop-filters__rule { display: none; }
	.shop-dd__panel .shop-pill--minor { background: #fff; border-color: var(--line); }
}

/* ---------- Hero ---------- */
.healio-col-hero h1 { margin-bottom: 18px; }
.healio-col-hero .healio-shop-trust span:first-child::before { background: var(--berry); }

/* =====================================================
   Keyword content section (H2 + body)
   ===================================================== */
.col-seo {
	margin: clamp(56px, 8vw, 96px) 0 0;
	padding: clamp(38px, 5.5vw, 68px) clamp(24px, 4vw, 64px);
	background:
		radial-gradient(120% 140% at 0% 0%, rgba(244, 226, 234, 0.75) 0%, rgba(244, 226, 234, 0) 58%),
		var(--paper);
	border: 1px solid var(--line);
	border-radius: clamp(20px, 2.4vw, 30px);
	box-shadow: var(--shadow-soft);
	position: relative;
	overflow: hidden;
}
/* Hairline of brand colour along the top edge. */
.col-seo::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 2px;
	background: linear-gradient(90deg, var(--blush), var(--rose) 45%, var(--blush) 100%);
}
.col-seo__inner {
	display: grid;
	grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}
.col-seo__head { position: sticky; top: 96px; }
.col-seo__head h2 {
	font-size: clamp(26px, 2.9vw, 38px);
	line-height: 1.1;
	color: var(--wine);
}
.col-seo__body { max-width: 66ch; }
.col-seo__body p { color: var(--mauve); }
.col-seo__body p strong, .col-seo__body strong { color: var(--wine); font-weight: 600; }
.col-seo__body h3 {
	font-family: var(--font-display);
	font-size: clamp(19px, 1.8vw, 23px);
	color: var(--wine);
	margin: 1.9em 0 0.55em;
}
.col-seo__body a {
	color: var(--berry);
	text-decoration: underline;
	text-decoration-color: var(--blush);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}
.col-seo__body a:hover { text-decoration-color: var(--rose); }
.col-seo__body ul { list-style: none; padding-left: 0; }
.col-seo__body ul li {
	position: relative;
	padding-left: 22px;
	color: var(--mauve);
}
.col-seo__body ul li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--blush);
}

@media (max-width: 900px) {
	.col-seo__inner { grid-template-columns: 1fr; gap: 22px; }
	.col-seo__head { position: static; }
}

/* =====================================================
   Related collections (internal links)
   ===================================================== */
.col-cross { margin: clamp(56px, 7vw, 88px) 0 0; }
.col-cross__head { text-align: center; margin-bottom: clamp(24px, 3vw, 38px); }
.col-cross__head .eyebrow { justify-content: center; }
.col-cross__head h2 { font-size: clamp(26px, 3.2vw, 40px); }

.col-cross__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.col-cross__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 26px 22px 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--wine);
	overflow: hidden;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
/* A blush wash that grows on hover, so the row reads as four inviting
   destinations rather than four grey boxes. */
.col-cross__card::before {
	content: "";
	position: absolute;
	inset: auto auto 0 0;
	width: 100%;
	height: 0;
	background: linear-gradient(180deg, rgba(244, 226, 234, 0) 0%, rgba(244, 226, 234, 0.55) 100%);
	transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}
.col-cross__card > * { position: relative; z-index: 1; }
.col-cross__card:hover {
	transform: translateY(-4px);
	border-color: var(--blush);
	box-shadow: var(--shadow-lift);
}
.col-cross__card:hover::before { height: 100%; }
.col-cross__name {
	font-family: var(--font-display);
	font-size: 20px;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--berry);
	transition: color 0.25s ease;
}
.col-cross__card:hover .col-cross__name { color: var(--rose); }
.col-cross__desc {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--mauve);
	flex: 1 1 auto;
}
.col-cross__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rose);
}
.col-cross__arrow {
	color: var(--rose);
	font-size: 14px;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.col-cross__card:hover .col-cross__arrow { transform: translateX(4px); }

.col-cross__all { text-align: center; margin-top: 26px; }
.col-cross__all a {
	font-family: var(--font-mono);
	font-size: 11.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--berry);
	text-decoration: underline;
	text-decoration-color: var(--blush);
	text-underline-offset: 5px;
}
.col-cross__all a:hover { text-decoration-color: var(--rose); }

@media (max-width: 980px) {
	.col-cross__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.col-cross__grid { grid-template-columns: 1fr; }
	.col-cross__desc { display: none; }
}

/* =====================================================
   FAQ accordion
   ===================================================== */
.col-faq {
	margin: clamp(56px, 7vw, 88px) 0 clamp(20px, 3vw, 40px);
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}
.col-faq__head { text-align: center; margin-bottom: clamp(22px, 3vw, 34px); }
.col-faq__head .eyebrow { justify-content: center; }
.col-faq__head h2 { font-size: clamp(25px, 3vw, 38px); }

.col-faq__list { border-top: 1px solid var(--line); }
.col-faq__item { border-bottom: 1px solid var(--line); }

.col-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: 22px 4px;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-display);
	font-size: clamp(17px, 1.7vw, 19.5px);
	font-weight: 480;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--wine);
	transition: color 0.2s ease;
}
.col-faq__q:hover { color: var(--berry); }

/* Plus that becomes a minus, drawn in CSS so there is no icon payload. */
.col-faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border: 1px solid var(--line);
	border-radius: 50%;
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.col-faq__icon::before,
.col-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--rose);
	transform: translate(-50%, -50%);
	transition: opacity 0.25s ease, background 0.25s ease;
}
.col-faq__icon::before { width: 11px; height: 1.5px; }
.col-faq__icon::after { width: 1.5px; height: 11px; }
.col-faq__q:hover .col-faq__icon { border-color: var(--blush); background: var(--blush-soft); }
.col-faq__q[aria-expanded="true"] .col-faq__icon {
	background: var(--rose);
	border-color: var(--rose);
	transform: rotate(180deg);
}
.col-faq__q[aria-expanded="true"] .col-faq__icon::before { background: #fff; }
.col-faq__q[aria-expanded="true"] .col-faq__icon::after { opacity: 0; }

.col-faq__a {
	height: 0;
	overflow: hidden;
	transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.col-faq__a-inner { padding: 0 56px 26px 4px; }
.col-faq__a-inner p {
	color: var(--mauve);
	font-size: 16px;
	line-height: 1.72;
	max-width: 62ch;
}

@media (max-width: 560px) {
	.col-faq__a-inner { padding-right: 8px; }
	.col-faq__q { padding: 19px 2px; }
}

/* Open state without JS (e.g. print, or a script error) — never trap content. */
@media print {
	.col-faq__a { height: auto !important; }
}
