/*
Theme Name: Astra Child
Theme URI: https://savvyhomesavings.com/
Description: Astra child theme for SavvyHomeSavings. Holds site-specific customizations (review schema, CTA buttons, etc.) that must survive parent-theme updates.
Author: Elvin
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* ============================================================
   Quiet Home palette — warm neutrals + olive accent.
   Tokens are overridable per-section; change once here to reskin.
   ============================================================ */

:root {
	--shs-bg:          #F7F3ED;  /* page background — warm off-white */
	--shs-surface:     #FFFFFF;  /* cards */
	--shs-ink:         #2B2A26;  /* body text — soft near-black */
	--shs-ink-muted:   #6B665E;  /* secondary text */
	--shs-rule:        #E5DFD4;  /* hairlines, borders */
	--shs-olive:       #7A8A5C;  /* primary accent */
	--shs-olive-deep:  #5F6E46;  /* hover */
	--shs-clay:        #B87D5B;  /* secondary accent for eyebrows */
	--shs-radius:      14px;
	--shs-radius-sm:   8px;
}

html,
body,
#page,
.site,
.site-content,
.ast-container,
.site-header,
.main-header-bar,
header.site-header,
#masthead {
	background: var( --shs-bg );
	color: var( --shs-ink );
}

/* ============================================================
   Flash deal stamp on the "Today's Deals" nav item.
   Targets any header-nav link pointing at /latest-top-deals/.
   ============================================================ */

.main-header-menu li,
.main-navigation li,
nav .menu li,
.ast-builder-menu-1 li {
	overflow: visible !important;
}

.main-header-menu a[href*="latest-top-deals"],
.main-navigation a[href*="latest-top-deals"],
nav a[href*="latest-top-deals"],
.ast-builder-menu-1 a[href*="latest-top-deals"] {
	position: relative;
	overflow: visible;
}

.main-header-menu a[href*="latest-top-deals"]::after,
.main-navigation a[href*="latest-top-deals"]::after,
nav a[href*="latest-top-deals"]::after,
.ast-builder-menu-1 a[href*="latest-top-deals"]::after {
	content: "HOT!";
	position: absolute;
	top: -4px;
	right: -18px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Inter', sans-serif;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #5C1A12;
	text-shadow: 0 1px 0 rgba( 255, 235, 59, 0.4 );
	background: radial-gradient( circle at center, #FFEB3B 0%, #FFC107 50%, #E63946 100% );
	/* Starburst silhouette via 20-point polygon. */
	clip-path: polygon(
		50%   0%, 61%  20%, 80%  10%, 74%  31%, 97%  35%,
		78%  50%, 97%  65%, 74%  69%, 80%  90%, 61%  80%,
		50% 100%, 39%  80%, 20%  90%, 26%  69%,  3%  65%,
		22%  50%,  3%  35%, 26%  31%, 20%  10%, 39%  20%
	);
	transform: rotate( -12deg );
	animation: shs-flash-pulse 1.4s ease-in-out infinite;
	pointer-events: none;
	z-index: 5;
	filter: drop-shadow( 0 2px 4px rgba( 230, 57, 70, 0.4 ) );
}

@keyframes shs-flash-pulse {
	0%, 100% { transform: rotate( -12deg ) scale( 1 );    }
	50%      { transform: rotate( -8deg )  scale( 1.12 ); }
}

/* ============================================================
   Header navigation — consistent typography + active color.
   Apply to both desktop and mobile menus so they match the brand.
   ============================================================ */

.main-header-menu .menu-item > a,
.ast-mobile-header-wrap .menu-item > a,
.ast-mobile-popup-content .menu-item > a,
.main-navigation .menu-item > a,
nav .menu .menu-item > a {
	font-family: 'Inter', sans-serif !important;
	font-weight: 500;
	color: var( --shs-ink ) !important;
	letter-spacing: 0.01em;
}

.main-header-menu .current-menu-item > a,
.main-header-menu .menu-item > a:hover,
.ast-mobile-header-wrap .current-menu-item > a,
.ast-mobile-header-wrap .menu-item > a:hover,
.ast-mobile-popup-content .current-menu-item > a,
.ast-mobile-popup-content .menu-item > a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .menu-item > a:hover {
	color: var( --shs-olive-deep ) !important;
}

/* Mobile site title — full name wraps awkwardly on narrow viewports.
   Tighten size first; on phones, swap visible text to "SHS" while keeping
   the full name accessible to screen readers. */
@media ( max-width: 921px ) {
	.site-title,
	.site-title a {
		font-size: clamp( 1rem, 4vw, 1.4rem ) !important;
		line-height: 1.1 !important;
		white-space: nowrap;
	}
}

@media ( max-width: 600px ) {
	/* Replace the visible word with "SHS"; the original stays for a11y. */
	.site-title a {
		font-size: 0 !important;
		letter-spacing: 0;
	}
	.site-title a::after {
		content: "SHS";
		font-family: 'Fraunces', Georgia, serif;
		font-size: 1.6rem;
		font-weight: 600;
		color: var( --shs-ink );
		letter-spacing: 0.04em;
		display: inline-block;
	}
}

/* Mobile: the HOT badge would otherwise sit off-screen to the right.
   Reposition it to the right edge of the menu row, inside the viewport. */
@media ( max-width: 921px ) {
	.main-header-menu a[href*="latest-top-deals"],
	.ast-mobile-header-wrap a[href*="latest-top-deals"],
	.ast-mobile-popup-content a[href*="latest-top-deals"],
	nav a[href*="latest-top-deals"] {
		display: inline-flex;
		align-items: center;
		gap: 0.6rem;
	}
	.main-header-menu a[href*="latest-top-deals"]::after,
	.ast-mobile-header-wrap a[href*="latest-top-deals"]::after,
	.ast-mobile-popup-content a[href*="latest-top-deals"]::after,
	nav a[href*="latest-top-deals"]::after {
		position: static;
		top: auto;
		right: auto;
		width: 32px;
		height: 32px;
		font-size: 0.55rem;
		flex-shrink: 0;
	}
}

/* ============================================================
   Typography — Fraunces (display) + Inter (body).
   Enqueued from functions.php.
   ============================================================ */

body,
p, li, dd, dt,
input, textarea, select, button {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 400;
	line-height: 1.65;
}

h1, h2, h3,
.entry-title,
.site-title {
	font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.2;
	color: var( --shs-ink );
}

h1                                        { font-size: clamp( 2rem, 4vw, 3rem ); }
h2                                        { font-size: clamp( 1.5rem, 3vw, 2.25rem ); }
h3                                        { font-size: clamp( 1.2rem, 2vw, 1.5rem ); }

/* Single post / page title stays large. */
.single .entry-title,
.page .entry-title {
	font-size: clamp( 2rem, 4vw, 3rem );
}

/* Hide the page title on the static front page + the /blog/ page (redundant
   since each page has its own designed hero). Trim wrappers so content sits high. */
body.home.page .entry-title,
body.home.page .ast-archive-description,
body.home.page .page-header,
body.home.page .ast-breadcrumbs,
body.page-id-17 .entry-title,
body.page-id-17 .ast-archive-description,
body.page-id-17 .page-header,
body.page-id-17 .ast-breadcrumbs,
body.page-id-588 .entry-title,
body.page-id-588 .ast-archive-description,
body.page-id-588 .page-header,
body.page-id-588 .ast-breadcrumbs {
	display: none !important;
}
body.home.page .site-content,
body.home.page .ast-container,
body.page-id-17 .site-content,
body.page-id-17 .ast-container,
body.page-id-588 .site-content,
body.page-id-588 .ast-container {
	padding-top: 1rem !important;
}
body.home.page article.page,
body.page-id-17 article.page,
body.page-id-588 article.page {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}
body.home.page .shs-section:first-of-type,
body.page-id-17 .shs-section:first-of-type,
body.page-id-588 .shs-section:first-of-type {
	padding-top: 1.25rem;
}

/* Archive / home / search card titles — tighter. */
.blog .entry-title,
.archive .entry-title,
.search .entry-title,
.home .entry-title {
	font-size: clamp( 1.125rem, 1.6vw, 1.375rem );
	line-height: 1.25;
	margin: 0.25em 0 0.5em;
}
.blog .entry-title a,
.archive .entry-title a,
.search .entry-title a,
.home .entry-title a {
	color: var( --shs-ink );
	text-decoration: none;
}
.blog .entry-title a:hover,
.archive .entry-title a:hover,
.search .entry-title a:hover,
.home .entry-title a:hover {
	color: var( --shs-olive-deep );
}

/* ============================================================
   Home hero band — editorial intro above the latest grid.
   ============================================================ */

.shs-home-hero {
	grid-column: 1 / -1;
	text-align: center;
	max-width: 760px;
	margin: 0 auto clamp( 2rem, 5vw, 3.5rem );
	padding: clamp( 1.5rem, 4vw, 2.5rem ) 1rem 0;
	width: 100%;
}
.shs-home-hero__eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --shs-clay );
	margin: 0 0 1rem;
}
.shs-home-hero__title {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 500;
	font-size: clamp( 2rem, 5vw, 3.25rem );
	line-height: 1.15;
	margin: 0 0 0.75rem;
	color: var( --shs-ink );
}
.shs-home-hero__lede {
	font-family: 'Fraunces', Georgia, serif;
	font-style: italic;
	font-size: clamp( 1.05rem, 1.6vw, 1.25rem );
	line-height: 1.5;
	color: var( --shs-ink-muted );
	margin: 0 auto;
	max-width: 560px;
}
.shs-home-hero__rule {
	width: 48px;
	height: 2px;
	background: var( --shs-olive );
	border: 0;
	margin: 1.5rem auto 0;
}

/* ============================================================
   Deals Grid — modern product-card feed (Brad's-Deals energy,
   Quiet Home palette). Image, retailer, price, coupon, time, CTA.
   ============================================================ */

.shs-deals-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 260px, 1fr ) );
	gap: 1.25rem;
	max-width: 1320px;
	margin: 0 auto;
}

.shs-deal-card {
	display: flex;
	flex-direction: column;
	background: var( --shs-surface );
	border: 1px solid var( --shs-rule );
	border-radius: var( --shs-radius );
	overflow: hidden;
	text-decoration: none !important;
	color: var( --shs-ink );
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.shs-deal-card:hover,
.shs-deal-card:focus {
	transform: translateY( -3px );
	box-shadow: 0 10px 28px rgba( 43, 42, 38, 0.1 );
	border-color: var( --shs-olive );
}

.shs-deal-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var( --shs-rule );
	overflow: hidden;
}
.shs-deal-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
.shs-deal-card:hover .shs-deal-card__media img {
	transform: scale( 1.03 );
}
.shs-deal-card__media-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient( 135deg, #E5DFD4 0%, #F7F3ED 100% );
}

.shs-deal-card__badge-discount {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var( --shs-olive );
	color: #FFFFFF;
	font-family: 'Inter', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 6px 10px;
	border-radius: 999px;
}
.shs-deal-card__badge-exclusive {
	position: absolute;
	top: 10px;
	right: 10px;
	background: var( --shs-clay );
	color: #FFFFFF;
	font-family: 'Inter', sans-serif;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 5px 9px;
	border-radius: 4px;
}

.shs-deal-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.9rem 1rem 1rem;
	flex: 1;
}

.shs-deal-card__retailer {
	font-family: 'Inter', sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var( --shs-ink-muted );
}

.shs-deal-card__title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.3;
	color: var( --shs-ink );
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.shs-deal-card__pricing {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}
.shs-deal-card__price-now {
	font-family: 'Inter', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: var( --shs-olive-deep );
}
.shs-deal-card__price-was {
	font-family: 'Inter', sans-serif;
	font-size: 0.9rem;
	color: var( --shs-ink-muted );
	text-decoration: line-through;
}

.shs-deal-card__coupon {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	background: #FBF9F4;
	border: 1px dashed var( --shs-olive );
	border-radius: 6px;
	padding: 4px 10px;
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: var( --shs-olive-deep );
	letter-spacing: 0.03em;
}
.shs-deal-card__coupon span {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --shs-ink-muted );
}

.shs-deal-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.4rem;
	border-top: 1px solid var( --shs-rule );
}
.shs-deal-card__time {
	font-family: 'Inter', sans-serif;
	font-size: 0.72rem;
	color: var( --shs-ink-muted );
	letter-spacing: 0.02em;
}
.shs-deal-card__time.is-ending {
	color: #B4442C;
	font-weight: 600;
}
.shs-deal-card__cta {
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: var( --shs-olive-deep );
	white-space: nowrap;
}

/* ===== Hero variant: full-width, image beside content ===== */

.shs-deal-hero {
	max-width: 1320px;
	margin: 0 auto 2.5rem;
}
.shs-deal-card--hero {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	background: linear-gradient( 135deg, #FBF9F4 0%, var( --shs-surface ) 100% );
	border: 1px solid var( --shs-olive );
	border-radius: var( --shs-radius );
	overflow: hidden;
	min-height: 380px;
}
.shs-deal-card--hero .shs-deal-card__media {
	aspect-ratio: auto;
	min-height: 100%;
}
.shs-deal-card--hero .shs-deal-card__body {
	justify-content: center;
	padding: clamp( 1.5rem, 4vw, 3rem );
	gap: 0.75rem;
}
.shs-deal-card--hero .shs-deal-card__title {
	font-size: clamp( 1.5rem, 2.5vw, 2.25rem );
	-webkit-line-clamp: 4;
}
.shs-deal-card--hero .shs-deal-card__price-now { font-size: 2rem; }
.shs-deal-card--hero .shs-deal-card__price-was { font-size: 1.1rem; }
.shs-deal-card--hero .shs-deal-card__badge-discount {
	font-size: 0.95rem;
	padding: 8px 14px;
}
.shs-deal-card--hero .shs-deal-card__cta {
	font-size: 1rem;
}

@media ( max-width: 820px ) {
	.shs-deal-card--hero {
		grid-template-columns: 1fr;
	}
	.shs-deal-card--hero .shs-deal-card__media {
		aspect-ratio: 16 / 10;
		min-height: 0;
	}
}

/* ============================================================
   Blog list — horizontal rows: image left, content right.
   ============================================================ */

.shs-blog-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 920px;
	margin: 0 auto;
}

.shs-blog-row {
	--accent: var( --shs-olive );
	--accent-tint: rgba( 122, 138, 92, 0.12 );
	display: grid;
	grid-template-columns: 220px 1fr auto;
	gap: 1.5rem;
	align-items: center;
	padding: 1rem 1.25rem 1rem 1rem;
	background: var( --shs-surface );
	border: 1px solid var( --shs-rule );
	border-left: 5px solid var( --accent );
	border-radius: var( --shs-radius );
	box-shadow: 0 2px 6px rgba( 43, 42, 38, 0.05 );
	text-decoration: none !important;
	color: var( --shs-ink );
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.shs-blog-row:hover,
.shs-blog-row:focus {
	transform: translateY( -3px );
	box-shadow: 0 14px 32px var( --accent-tint ), 0 4px 10px rgba( 43, 42, 38, 0.06 );
}

/* Cycle through 5 accent colors so the list reads colorful, not monotone. */
.shs-blog-list .shs-blog-row:nth-child(5n+1) { --accent: #7A8A5C; --accent-tint: rgba( 122, 138, 92, 0.18 ); } /* olive */
.shs-blog-list .shs-blog-row:nth-child(5n+2) { --accent: #B87D5B; --accent-tint: rgba( 184, 125, 91, 0.18 ); } /* clay */
.shs-blog-list .shs-blog-row:nth-child(5n+3) { --accent: #6B89A1; --accent-tint: rgba( 107, 137, 161, 0.18 ); } /* sage blue */
.shs-blog-list .shs-blog-row:nth-child(5n+4) { --accent: #C8645B; --accent-tint: rgba( 200, 100, 91, 0.18 ); } /* terracotta */
.shs-blog-list .shs-blog-row:nth-child(5n+5) { --accent: #C99846; --accent-tint: rgba( 201, 152, 70, 0.18 ); } /* mustard */

/* Tinted backplate behind the image — picks up the row's accent. */
.shs-blog-row::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 240px;
	background: var( --accent-tint );
	border-radius: var( --shs-radius ) 0 0 var( --shs-radius );
	z-index: 0;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}
.shs-blog-row { position: relative; overflow: hidden; }
.shs-blog-row:hover::before { opacity: 1; }
.shs-blog-row__media,
.shs-blog-row__body,
.shs-blog-row__cta { position: relative; z-index: 1; }

.shs-blog-row__media {
	width: 240px;
	height: 160px;
	background-color: var( --shs-rule );
	border-radius: var( --shs-radius-sm );
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}
.shs-blog-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
.shs-blog-row:hover .shs-blog-row__media img {
	transform: scale( 1.04 );
}
.shs-blog-row__media-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient( 135deg, #E5DFD4 0%, #F7F3ED 100% );
}

.shs-blog-row__body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
}
.shs-blog-row__eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var( --accent );
	display: inline-block;
	padding: 3px 10px;
	background: var( --accent-tint );
	border-radius: 999px;
	align-self: flex-start;
}
.shs-blog-row__title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.25;
	color: var( --shs-ink );
	margin: 0;
}
.shs-blog-row:hover .shs-blog-row__title {
	color: var( --accent );
}
.shs-blog-row__excerpt {
	font-family: 'Inter', sans-serif;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var( --shs-ink-muted );
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.shs-blog-row__meta {
	display: flex;
	gap: 0.5rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	color: var( --shs-ink-muted );
	letter-spacing: 0.02em;
}
.shs-blog-row__cta {
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	color: var( --accent );
	white-space: nowrap;
	align-self: center;
	padding: 8px 14px;
	border: 1px solid var( --accent );
	border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease;
}
.shs-blog-row:hover .shs-blog-row__cta {
	background: var( --accent );
	color: #FFFFFF;
}

.shs-blog-empty {
	text-align: center;
	padding: 3rem 1rem;
	background: var( --shs-surface );
	border: 1px dashed var( --shs-rule );
	border-radius: var( --shs-radius );
	color: var( --shs-ink-muted );
	font-family: 'Fraunces', Georgia, serif;
	font-style: italic;
}

@media ( max-width: 720px ) {
	.shs-blog-row {
		grid-template-columns: 1fr;
		padding: 0;
		overflow: hidden;
	}
	.shs-blog-row__media {
		width: 100%;
		height: 220px;
		border-radius: 0;
	}
	.shs-blog-row__body {
		padding: 1rem 1rem 0.5rem;
	}
	.shs-blog-row__title { font-size: 1.2rem; }
	.shs-blog-row__cta {
		padding: 0 1rem 1rem;
		justify-self: start;
	}
}

/* ============================================================
   Main + right rail layout for the homepage.
   Main column holds chips + hero + deals grid;
   rail holds the sticky Journal stack.
   ============================================================ */

.shs-layout-rail {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) 320px;
	gap: 2rem;
	max-width: 1400px;
	margin: 0 auto;
	align-items: start;
}
.shs-layout-rail__main { min-width: 0; }
.shs-layout-rail__rail {
	position: sticky;
	top: 90px;
	align-self: start;
}

.shs-layout-rail .shs-deals-grid {
	grid-template-columns: repeat( auto-fill, minmax( 240px, 1fr ) );
}

@media ( max-width: 1024px ) {
	.shs-layout-rail {
		grid-template-columns: 1fr;
	}
	.shs-layout-rail__rail {
		position: static;
	}
}

/* ===== Journal rail — stacked card list ===== */

.shs-journal-rail {
	background: var( --shs-surface );
	border: 1px solid var( --shs-rule );
	border-radius: var( --shs-radius );
	padding: 1.25rem;
}
.shs-journal-rail__heading {
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --shs-ink-muted );
	margin: 0 0 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var( --shs-rule );
}
.shs-journal-rail__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}
.shs-journal-item a {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 0.75rem;
	align-items: center;
	text-decoration: none !important;
	color: var( --shs-ink );
	padding: 0.25rem 0;
	border-radius: 8px;
	transition: background 0.15s;
}
.shs-journal-item a:hover {
	background: #FBF9F4;
}
.shs-journal-item__media {
	display: block;
	width: 72px;
	height: 72px;
	background-size: cover;
	background-position: center;
	background-color: var( --shs-rule );
	border-radius: 8px;
	flex-shrink: 0;
}
.shs-journal-item__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}
.shs-journal-item__title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.3;
	color: var( --shs-ink );
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.shs-journal-item__meta {
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	color: var( --shs-ink-muted );
	letter-spacing: 0.04em;
}

/* ===== Category filter chips ===== */

.shs-category-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	max-width: 1000px;
	margin: 0 auto 2rem;
	padding: 0 1rem;
}
.shs-category-chips a {
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	color: var( --shs-ink );
	background: var( --shs-surface );
	border: 1px solid var( --shs-rule );
	border-radius: 999px;
	padding: 8px 16px;
	text-decoration: none !important;
	transition: all 0.15s ease;
}
.shs-category-chips a:hover,
.shs-category-chips a.is-active {
	background: var( --shs-olive );
	border-color: var( --shs-olive );
	color: #FFFFFF;
}

/* ============================================================
   Today's Deals ticker — compact outlined rows.
   ============================================================ */

.shs-deals-ticker {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 920px;
	margin: 0 auto;
}

.shs-deal-row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1.25rem;
	align-items: center;
	padding: 14px 20px;
	background: var( --shs-surface );
	border: 1px solid var( --shs-olive );
	border-radius: 10px;
	text-decoration: none !important;
	color: var( --shs-ink );
	transition: background 0.15s ease, transform 0.15s ease;
}
.shs-deal-row:hover,
.shs-deal-row:focus {
	background: #FBF9F4;
	transform: translateX( 2px );
}

.shs-deal-row__eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var( --shs-clay );
	white-space: nowrap;
}

.shs-deal-row__title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 1.1rem;
	font-weight: 500;
	color: var( --shs-ink );
	line-height: 1.3;
}

.shs-deal-row__cta {
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	color: var( --shs-olive-deep );
	white-space: nowrap;
}

@media ( max-width: 600px ) {
	.shs-deal-row {
		grid-template-columns: 1fr auto;
		gap: 0.5rem 1rem;
		padding: 12px 16px;
	}
	.shs-deal-row__eyebrow {
		grid-column: 1 / -1;
		order: -1;
	}
	.shs-deal-row__cta {
		align-self: center;
	}
}

/* ============================================================
   Related products strip — inline inside lifestyle posts.
   ============================================================ */

.shs-related-products {
	margin: 2.5rem 0;
	padding: 1.5rem;
	background: #FBF9F4;
	border-radius: var( --shs-radius );
	border: 1px solid var( --shs-rule );
}
.shs-related-products__heading {
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --shs-ink-muted );
	margin: 0 0 1rem;
	text-align: center;
}
.shs-related-products__grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 180px, 1fr ) );
	gap: 1rem;
}
.shs-related-card {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.75rem;
	background: var( --shs-surface );
	border: 1px solid var( --shs-rule );
	border-radius: var( --shs-radius-sm );
	text-decoration: none !important;
	color: var( --shs-ink );
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shs-related-card:hover {
	transform: translateY( -2px );
	box-shadow: 0 4px 12px rgba( 43, 42, 38, 0.08 );
}
.shs-related-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	background-size: cover;
	background-position: center;
	background-color: var( --shs-rule );
	border-radius: 6px;
	margin-bottom: 0.25rem;
}
.shs-related-card__eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --shs-clay );
}
.shs-related-card__title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.25;
}
.shs-related-card__cta {
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	color: var( --shs-olive-deep );
	margin-top: auto;
}

/* ============================================================
   Homepage section wrappers.
   ============================================================ */

.shs-section {
	padding: clamp( 2rem, 5vw, 3.5rem ) 0;
}
.shs-section__eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var( --shs-clay );
	text-align: center;
	margin: 0 0 0.5rem;
}
.shs-section__title {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 500;
	font-size: clamp( 1.75rem, 3.5vw, 2.5rem );
	text-align: center;
	margin: 0 0 0.75rem;
	color: var( --shs-ink );
}
.shs-section__lede {
	font-family: 'Fraunces', Georgia, serif;
	font-style: italic;
	font-size: 1.1rem;
	color: var( --shs-ink-muted );
	text-align: center;
	margin: 0 auto 2rem;
	max-width: 560px;
}
.shs-section__rule {
	width: 48px;
	height: 2px;
	background: var( --shs-olive );
	border: 0;
	margin: 0 auto 2rem;
}

/* Newsletter band */
.shs-newsletter-band {
	background: var( --shs-olive );
	color: #FFFFFF;
	padding: clamp( 2.5rem, 6vw, 4rem ) 1.5rem;
	border-radius: var( --shs-radius );
	text-align: center;
	margin: clamp( 2rem, 5vw, 3.5rem ) 0;
}
.shs-newsletter-band h2 { color: #FFFFFF; margin-top: 0; }
.shs-newsletter-band p  { color: rgba( 255, 255, 255, 0.88 ); }

/* Category hub tiles */
.shs-category-hubs {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 200px, 1fr ) );
	gap: 1rem;
}
.shs-category-hub {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	padding: 1.5rem;
	background: var( --shs-surface );
	border: 1px solid var( --shs-rule );
	border-radius: var( --shs-radius );
	font-family: 'Fraunces', Georgia, serif;
	font-size: 1.35rem;
	color: var( --shs-ink ) !important;
	text-decoration: none !important;
	text-align: center;
	transition: background 0.15s, transform 0.15s, color 0.15s;
}
.shs-category-hub:hover {
	background: var( --shs-olive );
	color: #FFFFFF !important;
	transform: translateY( -2px );
}

/* ============================================================
   Lifestyle Deal Card — editorial product block.
   ============================================================ */

.shs-deal-card {
	background: var( --shs-surface );
	border: 1px solid var( --shs-rule );
	border-radius: var( --shs-radius );
	padding: 1rem 1rem 1.25rem;
	margin: 0;
	height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Standalone card (not inside wp:columns) keeps a cap. */
.entry-content > .shs-deal-card {
	max-width: 380px;
	margin: 0 auto;
}
.shs-deal-card:hover {
	transform: translateY( -2px );
	box-shadow: 0 6px 20px rgba( 43, 42, 38, 0.08 );
}

.shs-deal-card__image {
	margin: 0 0 1rem;
	border-radius: var( --shs-radius-sm );
	overflow: hidden;
}
.shs-deal-card__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
	border-radius: var( --shs-radius-sm );
}

.shs-deal-card__eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --shs-clay );
	margin: 0 0 0.5rem;
}

.shs-deal-card__title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.25;
	color: var( --shs-ink );
	margin: 0 0 0.6rem;
}

.shs-deal-card__note {
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var( --shs-ink-muted );
	margin: 0 0 1rem;
}

.shs-deal-card__cta .wp-block-button__link {
	margin: 0;
	max-width: none;
	width: 100%;
}

/* ============================================================
   Mobile tuning — stack columns, tighten spacing, readable text.
   ============================================================ */

@media ( max-width: 782px ) {
	/* WP's wp:columns already stacks below 782px by default, but some
	   Astra overrides fight it — force stack + full-width cards. */
	.wp-block-columns {
		flex-wrap: wrap !important;
		gap: 1.25rem;
	}
	.wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
		min-width: 0;
	}

	.shs-deal-card {
		max-width: 100%;
		padding: 0.75rem 0.75rem 1rem;
	}
	.shs-deal-card__title {
		font-size: 1.25rem;
	}

	/* Body text breathes edge-to-edge on small screens. */
	.single .entry-content > p,
	.single .entry-content > h2,
	.single .entry-content > h3,
	.single .entry-content > ul,
	.single .entry-content > ol,
	.single .entry-content > blockquote,
	.page .entry-content > p,
	.page .entry-content > h2,
	.page .entry-content > h3,
	.page .entry-content > ul,
	.page .entry-content > ol,
	.page .entry-content > blockquote {
		max-width: 100%;
	}

	.shs-home-hero {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
}

@media ( max-width: 480px ) {
	.shs-deal-card__title { font-size: 1.15rem; }
	.shs-deal-card__note  { font-size: 0.9rem; }
	h1                    { font-size: clamp( 1.6rem, 6vw, 2.25rem ); }
	h2                    { font-size: clamp( 1.35rem, 5vw, 1.75rem ); }
}

.shs-home-latest-eyebrow {
	grid-column: 1 / -1;
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --shs-ink-muted );
	text-align: center;
	margin: 0 0 1.5rem;
	width: 100%;
}

blockquote,
.wp-block-pullquote {
	font-family: 'Fraunces', Georgia, serif;
	font-style: italic;
	font-size: 1.25rem;
	color: var( --shs-ink-muted );
	border-left: 3px solid var( --shs-olive );
	padding: 0.25em 0 0.25em 1.25em;
	margin: 2em 0;
}

a { color: var( --shs-olive-deep ); }
a:hover { color: var( --shs-olive ); }

hr,
.wp-block-separator {
	border-color: var( --shs-rule );
}

/* ============================================================
   CTA Buttons — olive by default, "bold" variant for high-intent.
   Applies to:
   - <a class="savvy-btn"> inline CTAs
   - Button blocks with the "CTA" block style selected
   ============================================================ */

a.savvy-btn,
.wp-block-button.is-style-cta .wp-block-button__link {
	display: block;
	width: 100%;
	max-width: 360px;
	margin: 16px auto;
	padding: 14px 24px;
	background: var( --shs-olive );
	color: #FFFFFF !important;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: center;
	border-radius: var( --shs-radius-sm );
	text-decoration: none !important;
	box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.06 );
	transition: background 0.2s, transform 0.1s;
	min-height: 44px;
	line-height: 1.4;
}

a.savvy-btn:hover,
.wp-block-button.is-style-cta .wp-block-button__link:hover,
a.savvy-btn:focus,
.wp-block-button.is-style-cta .wp-block-button__link:focus {
	background: var( --shs-olive-deep );
	transform: translateY( -1px );
}

/* Opt-in bold variant — reserve for high-intent / final-step CTAs. */
a.savvy-btn.is-bold,
.wp-block-button.is-style-cta-bold .wp-block-button__link {
	background: #D97706;
	color: #FFFFFF !important;
}
a.savvy-btn.is-bold:hover,
.wp-block-button.is-style-cta-bold .wp-block-button__link:hover {
	background: #B45309;
}

@media ( max-width: 600px ) {
	a.savvy-btn,
	.wp-block-button.is-style-cta .wp-block-button__link,
	.wp-block-button.is-style-cta-bold .wp-block-button__link {
		font-size: 16px;
		padding: 16px 20px;
		border-radius: 10px;
	}
}

/* ============================================================
   Editorial spacing — gentler rhythm, larger card radii.
   ============================================================ */

.ast-container,
.site-content > .ast-container {
	padding-top: clamp( 1.5rem, 4vw, 3rem );
	padding-bottom: clamp( 1.5rem, 4vw, 3rem );
	padding-left: clamp( 1rem, 3vw, 2rem );
	padding-right: clamp( 1rem, 3vw, 2rem );
	max-width: 1400px;
}

/* Wider content column — override Astra's inline customizer CSS with !important.
   Astra injects its width rules AFTER child theme styles, so specificity alone loses. */
body.single #primary,
body.page #primary,
body.single .site-main,
body.page .site-main,
body.single .content-area,
body.page .content-area,
body.single article.post,
body.page article.page,
body.single .ast-article-single,
body.page .ast-article-single,
body.single .entry-content,
body.page .entry-content {
	max-width: 1200px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	float: none !important;
}

body.single .ast-container,
body.page .ast-container,
body.blog .ast-container,
body.archive .ast-container,
body.home .ast-container {
	max-width: 1400px !important;
	--ast-content-width: 1200px;
}

/* Astra sets post-width via this CSS var on <body>. Override both the var
   and the concrete width so boxed layouts also widen. */
body {
	--ast-container-default-xlg-padding: 2rem;
}

/* Body text inside a post stays readable — narrower paragraph column,
   but columns/images/groups can break out to full width. */
.single .entry-content > p,
.single .entry-content > h2,
.single .entry-content > h3,
.single .entry-content > ul,
.single .entry-content > ol,
.single .entry-content > blockquote,
.page .entry-content > p,
.page .entry-content > h2,
.page .entry-content > h3,
.page .entry-content > ul,
.page .entry-content > ol,
.page .entry-content > blockquote {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.single .entry-content > .wp-block-columns,
.single .entry-content > .wp-block-group,
.single .entry-content > .wp-block-image,
.single .entry-content > .wp-block-cover,
.page .entry-content > .wp-block-columns,
.page .entry-content > .wp-block-group,
.page .entry-content > .wp-block-image,
.page .entry-content > .wp-block-cover {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.wp-block-image img,
.wp-block-cover,
.wp-block-group.has-background,
article.post .post-thumb img {
	border-radius: var( --shs-radius );
}

article.post {
	background: var( --shs-surface );
	border-radius: var( --shs-radius );
	padding: clamp( 1rem, 3vw, 2rem );
	margin-bottom: 2rem;
	border: 1px solid var( --shs-rule );
}
