/* Holiday Gift Guide Storefront Styles */
.hgg-storefront {
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem;
	color: #1a1a1a;
}

/* Hero + banner slot */
.hgg-hero {
	text-align: center;
	margin-bottom: 1.25rem;
}
.hgg-hero h1 {
	font-size: 2.1rem;
	margin: 0.75rem 0 0.4rem;
	color: #111;
}
.hgg-banner-slot {
	margin: 0 auto 0.75rem;
	max-width: 100%;
}
.hgg-banner-slot:empty {
	display: none;
}
.hgg-banner-image {
	display: block;
	width: 100%;
	max-height: 280px;
	object-fit: cover;
	border-radius: 10px;
}
.hgg-last-minute-banner {
	background: #c0392b;
	color: #fff;
	padding: 0.6rem 1rem;
	border-radius: 6px;
	margin-top: 0.75rem;
	font-weight: 600;
}

/* Category nav */
.hgg-category-nav {
	margin-bottom: 1.25rem;
}
.hgg-nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
	justify-content: center;
}
.hgg-nav-list a {
	text-decoration: none;
	font-weight: 600;
	color: #1557b0;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
}
.hgg-nav-list a:hover,
.hgg-nav-list a[aria-current="page"] {
	background: #e8f0fe;
	color: #0b3d91;
}

/* Filters as a card (compact, high contrast) */
.hgg-filters-card {
	background: #fff;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	padding: 1rem 1.1rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	position: sticky;
	top: 0;
	z-index: 100;
}
.hgg-filters-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
}
.hgg-filters-bar input[type="search"],
.hgg-filters-bar select {
	padding: 0.5rem 0.7rem;
	border: 1px solid #98a2b3;
	border-radius: 8px;
	font-size: 0.92rem;
	line-height: 1.3;
	color: #111;
	background: #fff;
	min-width: 130px;
	max-width: 100%;
}
.hgg-filters-bar input[type="search"] {
	flex: 1 1 200px;
	min-width: 180px;
}
.hgg-filters-bar select {
	flex: 0 1 auto;
	cursor: pointer;
}
.hgg-filters-bar select:focus,
.hgg-filters-bar input:focus {
	outline: 2px solid #1a73e8;
	outline-offset: 1px;
	border-color: #1a73e8;
}
.hgg-btn-secondary {
	padding: 0.5rem 0.9rem;
	background: #f2f4f7;
	border: 1px solid #98a2b3;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	color: #1a1a1a;
	white-space: nowrap;
}
.hgg-btn-secondary:hover {
	background: #e4e7ec;
}

.hgg-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.65rem;
	min-height: 0;
}
.hgg-active-filters:empty {
	display: none;
}
.hgg-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: #e8f0fe;
	color: #0b3d91;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
}
.hgg-chip button {
	background: none;
	border: none;
	color: #0b3d91;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	padding: 0;
}
.hgg-result-meta {
	margin-top: 0.45rem;
	font-size: 0.88rem;
	color: #475467;
}

/* Grid + cards */
.hgg-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.35rem;
}
.hgg-card {
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	overflow: visible;
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s;
}
.hgg-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
}
.hgg-card-image {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background: #f8f9fa;
	height: 220px;
	max-height: 220px;
	padding: 12px 12px 0;
	overflow: hidden;
	box-sizing: border-box;
}
.hgg-card-image img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 208px;
	object-fit: contain;
	object-position: center top;
	display: block;
	margin: 0 auto;
}
.hgg-card {
	display: flex;
	flex-direction: column;
	overflow: visible;
}
.hgg-card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
.hgg-card-ctas {
	margin-top: auto;
	padding-bottom: 0.25rem;
}
.hgg-card-body {
	padding: 1rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.hgg-maker-tag,
.hgg-promo-badge {
	display: inline-block;
	font-size: 0.72rem;
	padding: 0.18rem 0.45rem;
	border-radius: 4px;
	margin-right: 0.35rem;
	margin-bottom: 0.35rem;
	font-weight: 600;
}
.hgg-maker-tag {
	background: #e8f4fd;
	color: #0b3d91;
}
.hgg-promo-badge {
	background: #fef3c7;
	color: #92400e;
}
.hgg-card-title {
	margin: 0.35rem 0 0.2rem;
	font-size: 1.05rem;
	line-height: 1.3;
}
.hgg-card-title a {
	color: #111;
	text-decoration: none;
}
.hgg-card-title a:hover {
	color: #1557b0;
}
.hgg-card-price {
	font-weight: 700;
	font-size: 1.2rem;
	margin: 0.2rem 0;
	color: #111;
}
.hgg-card-excerpt {
	font-size: 0.88rem;
	color: #475467;
	flex: 1;
	margin: 0.4rem 0;
}
.hgg-card-ctas {
	margin-top: auto;
}
.hgg-btn {
	display: inline-block;
	padding: 0.6rem 1rem;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}
.hgg-btn-primary {
	background: #1a73e8;
	color: #fff;
}
.hgg-btn-primary:hover {
	background: #1557b0;
	color: #fff;
}
.hgg-amazon-link {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.85rem;
	color: #475467;
	text-align: center;
	text-decoration: underline;
}
.hgg-empty {
	text-align: center;
	padding: 3rem 1rem;
	color: #475467;
	grid-column: 1 / -1;
}

.hgg-disclosure {
	margin-top: 2rem;
	padding: 1rem;
	background: #f8f9fa;
	border-radius: 6px;
	font-size: 0.9rem;
	color: #475467;
}

.hgg-dual-cta {
	margin: 1.5rem 0;
}
.hgg-breadcrumbs {
	font-size: 0.9rem;
	margin-bottom: 1rem;
	color: #475467;
}
.hgg-breadcrumbs a {
	color: #1557b0;
}

.hgg-subscribe-form {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin: 1.5rem 0;
}
.hgg-subscribe-form input[type="email"] {
	flex: 1;
	min-width: 200px;
	padding: 0.6rem;
	border: 1px solid #98a2b3;
	border-radius: 6px;
	color: #111;
	background: #fff;
}
.hgg-subscribe-form button {
	padding: 0.6rem 1.2rem;
	background: #1a73e8;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 768px) {
	.hgg-filters-bar {
		flex-direction: column;
		align-items: stretch;
	}
	.hgg-filters-bar input[type="search"],
	.hgg-filters-bar select {
		min-width: 0;
		width: 100%;
	}
	.hgg-grid {
		grid-template-columns: 1fr;
	}
	.hgg-hero h1 {
		font-size: 1.65rem;
	}
	.hgg-filters-card {
		position: static; /* avoid sticky eating mobile viewport */
	}
}


/* Single post navigation */
.hgg-post-nav {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 1rem;
	max-width: 720px;
	margin: 2rem auto;
	padding: 0;
}
.hgg-post-nav a,
.hgg-post-nav span {
	flex: 1 1 0;
	text-align: center;
	padding: 0.85rem 1rem;
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	background: #fff;
	text-decoration: none;
	color: #1557b0;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.35;
}
.hgg-post-nav a:hover {
	border-color: #1557b0;
	background: #f0f6ff;
	text-decoration: none;
}
.hgg-post-nav > .hgg-nav-placeholder {
	visibility: hidden;
	border-color: transparent;
	background: transparent;
}

.hgg-featured-image img {
	width: 100%;
	max-height: 420px;
	object-fit: contain;
	border-radius: 8px;
	background: #f8f9fa;
}
.hgg-price-badge {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0.75rem 0 1rem;
}
.hgg-price { font-size: 1.5rem; font-weight: 700; }
.hgg-promo {
	background: #fef3c7;
	color: #92400e;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	font-size: 0.85rem;
	font-weight: 600;
}
.hgg-single .hgg-btn-primary {
	width: auto;
	display: inline-block;
	padding: 0.75rem 1.5rem;
}
.hgg-shortcode-grid {
	margin: 1rem 0;
}

/* Tighter filter card on desktop */
@media (min-width: 900px) {
	.hgg-filters-card {
		padding: 0.75rem 1rem;
	}
	.hgg-filters-bar {
		gap: 0.45rem;
	}
	.hgg-filters-bar input[type="search"] {
		flex: 1 1 160px;
		min-width: 140px;
	}
	.hgg-filters-bar select {
		min-width: 110px;
		font-size: 0.88rem;
		padding: 0.4rem 0.55rem;
	}
}


/* Filters 2/3 + featured card 1/3 */
.hgg-top-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	align-items: start;
	margin-bottom: 1.25rem;
}
.hgg-top-row .hgg-filters-card {
	position: relative;
	top: auto;
	margin-bottom: 0;
}
.hgg-featured-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}
.hgg-featured-pair .hgg-card {
	height: 100%;
}
@media (max-width: 900px) {
	.hgg-top-row {
		grid-template-columns: 1fr;
	}
	.hgg-featured-pair {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 520px) {
	.hgg-featured-pair {
		grid-template-columns: 1fr;
	}
}

/* Single: two columns */
.hgg-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 2rem;
	align-items: start;
	margin: 1.5rem 0;
}
.hgg-single-media .hgg-featured-image img {
	width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: 10px;
	background: #f8f9fa;
}
.hgg-single-media .hgg-dual-cta {
	margin-top: 1rem;
}
.hgg-single-body h1 {
	margin-top: 0;
}
@media (max-width: 768px) {
	.hgg-single-layout {
		grid-template-columns: 1fr;
	}
}

/* Hub overview */
.hgg-hub-intro { color: #475467; margin: 0.25rem 0 1.25rem; }
.hgg-season-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1rem;
}
.hgg-season-card {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.25rem;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow 0.15s, border-color 0.15s;
}
.hgg-season-card:hover {
	border-color: #1a73e8;
	box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.hgg-season-name { font-size: 1.2rem; font-weight: 700; color: #111; }
.hgg-season-meta { font-size: 0.9rem; color: #475467; }
.hgg-season-cta { margin-top: 0.5rem; font-weight: 600; color: #1557b0; font-size: 0.9rem; }

.hgg-filter-actions {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
}
.hgg-btn-filter {
	width: auto !important;
	padding: 0.45rem 0.9rem !important;
	font-size: 0.9rem;
	cursor: pointer;
	border: none;
}
.hgg-is-loading .hgg-grid,
.hgg-is-loading .hgg-featured-pair {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.15s;
}

/* Mobile: keep search reasonable height */
@media (max-width: 768px) {
	.hgg-filters-bar input[type="search"] {
		width: 100%;
		min-height: 42px;
		max-height: 48px;
		font-size: 16px; /* avoid iOS zoom */
		flex: none;
	}
	.hgg-filters-bar select {
		width: 100%;
		min-height: 40px;
	}
	.hgg-filters-card {
		padding: 0.75rem;
	}
}

/* Season hub cards with image */
.hgg-season-card {
	overflow: hidden;
	padding: 0;
}
.hgg-season-card-image {
	display: block;
	aspect-ratio: 16 / 10;
	background: #f2f4f7;
	overflow: hidden;
}
.hgg-season-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hgg-season-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.15rem 1.15rem;
}

/* Single toolbar */
.hgg-single-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0.75rem 0 1.25rem;
}
.hgg-back-guide {
	font-weight: 600;
	color: #1557b0;
	text-decoration: none;
}
.hgg-back-guide:hover { text-decoration: underline; }
.hgg-single-search {
	display: flex;
	gap: 0.4rem;
	flex: 1 1 240px;
	max-width: 420px;
	margin-left: auto;
}
.hgg-single-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.5rem 0.75rem;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	font-size: 16px;
}
.hgg-single-search button {
	padding: 0.5rem 0.9rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
}

/* Tax links on single */
.hgg-single-tax {
	margin-top: 1.25rem;
	margin-bottom: 1.75rem;
	padding: 1rem 0 1.25rem;
	border-top: 1px solid #e4e7ec;
	border-bottom: 1px solid #e4e7ec;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.hgg-tax-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	align-items: baseline;
}
.hgg-tax-label {
	font-weight: 700;
	font-size: 0.85rem;
	color: #475467;
	min-width: 5.5rem;
}
.hgg-tax-links a {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	background: #f2f4f7;
	border-radius: 999px;
	color: #1557b0;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 600;
}
.hgg-tax-links a:hover {
	background: #e8f0fe;
}

/* Prev/next with thumbs */
.hgg-post-nav-thumbs {
	max-width: 900px;
	gap: 1.25rem;
}
.hgg-nav-card {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	padding: 1rem !important;
	text-align: center !important;
}
.hgg-nav-dir {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #667085;
	font-weight: 700;
}
.hgg-nav-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 10px;
	overflow: hidden;
	background: #f2f4f7;
}
.hgg-nav-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hgg-nav-thumb-empty {
	display: block;
	width: 100%;
	height: 100%;
	background: #e4e7ec;
}
.hgg-nav-title {
	font-size: 0.9rem;
	line-height: 1.3;
	color: #101828;
	font-weight: 600;
}
.hgg-nav-card:hover .hgg-nav-title {
	color: #1557b0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

.hgg-filter-actions .hgg-btn-primary,
.hgg-btn-filter {
	background: #1a73e8 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px;
	padding: 0.5rem 1rem !important;
	font-weight: 600;
	cursor: pointer;
}
.hgg-filter-actions .hgg-btn-secondary {
	background: #fff;
	color: #344054;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	padding: 0.5rem 1rem;
	font-weight: 600;
	cursor: pointer;
}
.hgg-filter-actions .hgg-btn-secondary:hover {
	background: #f9fafb;
}

/* Prev/next cards: Title → Image → Button */
.hgg-post-nav-thumbs .hgg-nav-card {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 0.75rem !important;
	text-decoration: none !important;
	background: #fff !important;
	border: 1px solid #d0d5dd !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	max-width: 280px;
	margin: 0 auto;
}
.hgg-post-nav-thumbs .hgg-nav-title {
	display: block !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	color: #101828 !important;
	text-align: center;
	line-height: 1.3;
	background: none !important;
	border: none !important;
	padding: 0 !important;
}
.hgg-post-nav-thumbs .hgg-nav-thumb {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 140px !important;
	height: 140px !important;
	min-height: 140px !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	background: #f8f9fa !important;
	border: 1px solid #e4e7ec !important;
	padding: 8px !important;
	box-sizing: border-box !important;
}
.hgg-post-nav-thumbs .hgg-nav-thumb img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	object-position: center center !important;
	margin: 0 auto !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	clip-path: none !important;
	aspect-ratio: auto !important;
}
.hgg-post-nav-thumbs .hgg-nav-dir {
	display: inline-block !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff !important;
	background: #1a73e8 !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 0.35rem 0.85rem !important;
	line-height: 1.2;
}
.hgg-post-nav-thumbs .hgg-nav-card:hover {
	border-color: #1a73e8 !important;
	background: #f8fbff !important;
}
.hgg-post-nav-thumbs .hgg-nav-card:hover .hgg-nav-title {
	color: #1557b0 !important;
}

/* Archive pagination */
.hgg-pagination {
	display: flex;
	justify-content: center;
	margin: 2rem 0 1rem;
}
.hgg-pagination .nav-links,
.hgg-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}
.hgg-pagination a.page-numbers,
.hgg-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: 999px;
	border: 1px solid #d0d5dd;
	background: #fff;
	color: #1557b0;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	line-height: 1;
}
.hgg-pagination a.page-numbers:hover {
	border-color: #1a73e8;
	background: #e8f0fe;
}
.hgg-pagination span.page-numbers.current {
	background: #1a73e8;
	border-color: #1a73e8;
	color: #fff;
}
.hgg-pagination .prev,
.hgg-pagination .next {
	padding: 0 1rem;
}

.hgg-single-banner {
	margin-bottom: 1rem;
}
.hgg-single-banner a {
	display: block;
}

.hgg-post-nav-thumbs {
	align-items: stretch !important;
}
.hgg-post-nav-thumbs .hgg-nav-card {
	justify-content: space-between !important;
	min-height: 220px;
	width: 100%;
	max-width: 260px;
}
.hgg-post-nav-thumbs .hgg-nav-title {
	min-height: 2.6em;
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hgg-post-nav-thumbs .hgg-nav-dir {
	min-width: 5.5rem !important;
	width: auto !important;
	max-width: 8rem !important;
	text-align: center !important;
	flex: 0 0 auto !important;
}

.hgg-similar {
	margin: 2.5rem 0 1.5rem;
}
.hgg-similar-title {
	font-size: 1.35rem;
	margin: 0 0 1rem;
	text-align: center;
}
.hgg-similar-grid {
	margin-top: 0.5rem;
}
