/* Generated by tools/build-css.php from source files; do not edit. */
/* --- parts/category.css --- */
/* Category archive header */
.ggn-category .ggn-category__header {
	background: var(--wp--preset--gradient--hero);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
}

.ggn-category .ggn-category__title {
	margin: 0;
}

.ggn-category .ggn-category__description {
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.ggn-category .ggn-category__description > :first-child {
	margin-top: 0;
}

.ggn-category .ggn-category__description > :last-child {
	margin-bottom: 0;
}

.ggn-category .ggn-category__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--card);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ggn-category .ggn-chip {
	color: var(--wp--preset--color--text);
	min-height: var(--wp--custom--control--size);
	padding-left: var(--wp--preset--spacing--card);
	padding-right: var(--wp--preset--spacing--card);
	text-decoration: none;
}

.ggn-category .ggn-chip:hover,
.ggn-category .ggn-chip:focus-visible {
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
}

.ggn-category .ggn-chip.is-active {
	color: var(--wp--preset--color--accent);
}

@media (max-width: 781px) {
	.ggn-category .ggn-category__header {
		padding: var(--wp--preset--spacing--card-lg);
	}

	.ggn-category .ggn-category__chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: var(--wp--preset--spacing--card);
		scrollbar-width: thin;
	}

	.ggn-category .ggn-category__chip {
		flex: 0 0 auto;
	}

	.ggn-category .ggn-chip {
		white-space: nowrap;
	}
}

/* --- parts/product-card.css --- */
/* Shared WooCommerce product collection sizing */
.ggn-product-grid,
.ggn-product-rail,
.ggn-related-products {
	--ggn-cols: 4;
}

/* Product card appearance */
.ggn-product-card {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: var(--wp--preset--spacing--card);
	transition: border-color 160ms ease;
}

.ggn-product-card:hover {
	border-color: var(--wp--preset--color--accent);
}

.ggn-product-card .ggn-card__media {
	align-items: center;
	aspect-ratio: 1;
	background-color: var(--wp--preset--color--surface-2);
	border-radius: var(--wp--custom--radius--control);
	display: flex;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

.ggn-product-card .wc-block-components-product-image,
.ggn-product-card .wc-block-components-product-image a,
.ggn-product-card .wc-block-components-product-image img {
	height: 100%;
	width: 100%;
}

.ggn-product-card .wc-block-components-product-image img {
	display: block;
	object-fit: contain;
}

.ggn-product-card .wc-block-components-product-sale-badge {
	background-color: var(--wp--preset--color--sale);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--bg);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	padding: var(--wp--custom--pill--padding);
}

.ggn-product-card .ggn-product-card__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--card-title);
	font-weight: 600;
	margin: 0;
}

.ggn-product-card .ggn-product-card__title a {
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.ggn-product-card .ggn-product-card__title a:focus-visible,
.ggn-product-card .ggn-product-card__cta .wp-block-button__link:focus-visible,
.ggn-product-card .ggn-product-card__cta .add_to_cart_button:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

.ggn-product-card .ggn-price {
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	margin: 0;
}

.ggn-product-card .ggn-price del {
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
}

.ggn-product-card .ggn-product-card__note {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.ggn-product-card .ggn-product-card__cta {
	margin-top: auto;
	width: 100%;
}

.ggn-product-card .ggn-product-card__cta .wp-block-button__link,
.ggn-product-card .ggn-product-card__cta .add_to_cart_button,
.ggn-product-card .ggn-product-card__cta .wc-block-components-product-button__button {
	align-items: center;
	border-radius: var(--wp--custom--radius--control);
	box-sizing: border-box;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--body);
	font-weight: 600;
	height: var(--wp--custom--button--height);
	justify-content: center;
	line-height: 1.2;
	min-height: var(--wp--custom--button--height);
	padding-bottom: 0;
	padding-left: var(--wp--preset--spacing--card);
	padding-right: var(--wp--preset--spacing--card);
	padding-top: 0;
	width: 100%;
}

.ggn-product-card .ggn-product-card__cta .added_to_cart {
	display: none;
}

/* Older button markup */
.ggn-product-card .ggn-product-card__cta .button,
.ggn-product-card .ggn-product-card__cta .wp-block-button__link,
.ggn-product-card .ggn-product-card__cta .add_to_cart_button {
	flex: 0 0 auto;
}

.is-topup .ggn-product-card .ggn-product-card__cta .wp-block-button__link,
.is-topup .ggn-product-card .ggn-product-card__cta .add_to_cart_button,
.is-topup .ggn-product-card .ggn-product-card__cta .wc-block-components-product-button__button {
	background-color: transparent;
	border: 1px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
}

.ggn-product-grid--sidebar {
	--ggn-cols: 3;
}

.ggn-product-grid .wc-block-product-template,
.ggn-product-rail .wc-block-product-template {
	display: grid;
	gap: var(--wp--preset--spacing--card-lg);
	grid-template-columns: repeat(var(--ggn-cols), minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Standard rails stay on one desktop row; the mobile-only rail remains a grid. */
.ggn-product-rail:not(.ggn-product-rail--mobile) .wc-block-product-template {
	/* Containing block for absolutely positioned card parts, so they stay inside the scroller (#152). */
	position: relative;
	grid-auto-columns: calc((100% - 3 * var(--wp--preset--spacing--card-lg)) / 4);
	grid-auto-flow: column;
	grid-template-columns: none;
	grid-template-rows: 1fr;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.ggn-product-rail:not(.ggn-product-rail--mobile) .wc-block-product {
	scroll-snap-align: start;
}

.ggn-product-grid .wc-block-product,
.ggn-product-rail .wc-block-product {
	box-sizing: border-box;
	display: block;
	margin: 0;
	min-width: 0;
}

/* Override WooCommerce's flex-container column sizing inside our grid and rail. */
.ggn-product-grid .wc-block-product-template.is-flex-container > li.wc-block-product,
.ggn-product-rail .wc-block-product-template.is-flex-container > li.wc-block-product {
	margin: 0;
	max-width: none;
	width: auto;
}

.ggn-product-grid .ggn-product-card,
.ggn-product-rail .ggn-product-card {
	align-items: stretch;
	height: 100%;
	width: 100%;
}

.ggn-product-grid .ggn-card__media,
.ggn-product-rail .ggn-card__media {
	aspect-ratio: 1;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100%;
}

.ggn-product-grid .ggn-product-card__title,
.ggn-product-rail .ggn-product-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.ggn-product-card:has(.ggn-product-card__title a:focus-visible) {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

.ggn-product-card .ggn-product-card__title a:focus-visible {
	outline: 0;
}

.ggn-product-grid .ggn-product-card__cta,
.ggn-product-rail .ggn-product-card__cta {
	margin-top: auto;
}

/* Deals use a grid on desktop and a rail on mobile. */
.ggn-home-products--deals.wc-block-woocommerce-product-collection .wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ggn-home-products--deals .wc-block-product {
	flex: initial;
}

/* Gift cards feature one two by two bestseller card. */
.ggn-home-gifts .wc-block-product-template {
	grid-auto-flow: dense;
}

.ggn-home-gifts .wc-block-product.ggn-bestseller {
	order: -1;
	position: relative;
}

.ggn-home-gifts .ggn-bestseller-badge {
	background-color: var(--wp--preset--color--accent);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--on-accent);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	left: var(--wp--preset--spacing--card-lg);
	line-height: 1.2;
	padding: var(--wp--custom--pill--padding);
	position: absolute;
	text-transform: uppercase;
	top: var(--wp--preset--spacing--card-lg);
	z-index: 2;
}

@media (min-width: 782px) {
	.ggn-home-gifts .wc-block-product.ggn-bestseller {
		grid-column: span 2;
		grid-row: span 2;
	}

	.ggn-home-gifts .wc-block-product.ggn-bestseller .ggn-card__media {
		aspect-ratio: auto;
		flex: 1 1 auto;
		min-height: 0;
	}

	.ggn-home-gifts .wc-block-product.ggn-bestseller .ggn-card__media .wc-block-components-product-image,
	.ggn-home-gifts .wc-block-product.ggn-bestseller .ggn-card__media .wc-block-components-product-image a,
	.ggn-home-gifts .wc-block-product.ggn-bestseller .ggn-card__media .wc-block-components-product-image img {
		aspect-ratio: auto;
		height: 100%;
		width: 100%;
	}

	.ggn-home-gifts .wc-block-product.ggn-bestseller .ggn-card__media .wc-block-components-product-image img {
		aspect-ratio: auto;
		height: 100%;
		width: 100%;
		object-fit: contain;
	}

	.ggn-home-gifts .wc-block-product.ggn-bestseller .ggn-card__media .wc-block-components-product-image,
	.ggn-home-gifts .wc-block-product.ggn-bestseller .ggn-card__media .wc-block-components-product-image a {
		aspect-ratio: auto;
		height: 100%;
		width: 100%;
	}

	/* Gutenberg's preset utility sets font-size with !important. */
	.ggn-home-gifts .wc-block-product.ggn-bestseller .ggn-product-card__title.has-card-title-font-size {
		font-size: var(--wp--preset--font-size--h-2) !important;
	}
}

@media (max-width: 781px) {
	/* WooCommerce sizes flex items for its own gap; a grid keeps two columns with the scale's gap. */
	.ggn-related .ggn-product-rail:not(.ggn-product-rail--mobile) .wc-block-product-template.is-flex-container {
		display: grid;
		gap: var(--wp--preset--spacing--card);
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ggn-related .ggn-product-rail:not(.ggn-product-rail--mobile) .wc-block-product-template.is-flex-container > .wc-block-product {
		margin: 0;
		width: auto;
	}

	.ggn-product-grid .wc-block-product-template {
		gap: var(--wp--preset--spacing--card);
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ggn-home-gifts .wc-block-product.ggn-bestseller {
		grid-column: span 2;
		grid-row: auto;
	}

	.ggn-home-gifts .wc-block-product.ggn-bestseller .ggn-card__media {
		aspect-ratio: auto;
		flex: 0 0 320px;
		height: 320px;
	}

	.ggn-home-gifts .wc-block-product.ggn-bestseller .ggn-card__media .wc-block-components-product-image img {
		object-fit: contain;
	}

	.ggn-product-rail .wc-block-product-template,
	.ggn-home-products--deals.ggn-product-rail--mobile .wc-block-product-template {
		display: flex;
		gap: var(--wp--preset--spacing--card-lg);
		list-style: none;
		margin: 0;
		overflow-x: auto;
		padding: 0 0 var(--wp--preset--spacing--card);
		scroll-snap-type: x mandatory;
	}

	.ggn-product-rail:not(.ggn-product-rail--mobile) .wc-block-product-template {
		grid-auto-columns: initial;
		grid-auto-flow: initial;
		grid-template-columns: none;
		grid-template-rows: none;
		overflow-x: auto;
	}

	.ggn-product-rail .wc-block-product,
	.ggn-product-rail--mobile .wc-block-product {
		flex: 0 0 var(--wp--custom--home--mobile-card-width);
		scroll-snap-align: start;
	}

	.ggn-home-products--deals.ggn-product-rail--mobile.wc-block-woocommerce-product-collection .wc-block-product-template {
		display: flex;
	}
}

/* --- parts/shop.css --- */
/* Shop archive layout */
.ggn-shop .wc-block-breadcrumbs {
	color: var(--wp--preset--color--muted);
	font-size: 16px !important; /* beats WooCommerce's has-small-font-size preset class (!important) */
}

.ggn-shop .ggn-shop__toolbar {
	align-items: center;
	gap: var(--wp--preset--spacing--card);
}

.ggn-shop .wc-block-catalog-sorting select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--wp--preset--color--muted) 50%), linear-gradient(135deg, var(--wp--preset--color--muted) 50%, transparent 50%);
	background-position: calc(100% - 1.25em) 50%, calc(100% - 0.875em) 50%;
	background-repeat: no-repeat;
	background-size: 0.375em 0.375em, 0.375em 0.375em;
	background-color: var(--wp--preset--color--surface-2);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--body);
	font-size: 16px;
	line-height: 1.25;
	min-height: var(--wp--custom--control--size);
	padding-bottom: var(--wp--preset--spacing--card);
	padding-left: var(--wp--preset--spacing--card);
	padding-right: calc(var(--wp--custom--control--size) + var(--wp--preset--spacing--card));
	padding-top: var(--wp--preset--spacing--card);
	-webkit-appearance: none;
}

/* The test site's reset leaves WooCommerce lookup tables empty, so filter blocks render no options. */
.ggn-shop .ggn-shop__filters:not(:has(.wc-block-product-filter-checkbox-list__item, .wc-block-product-filter-chips__item, .wc-block-product-filter-price-slider__range, .wc-block-product-filter-removable-chips__item)) {
	display: none;
}

.ggn-shop .wc-block-catalog-sorting select {
	font-size: var(--wp--preset--font-size--body) !important;
}

.ggn-shop .ggn-shop__body {
	display: grid;
	gap: var(--wp--preset--spacing--card-lg);
	grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
}

.ggn-shop .ggn-product-grid {
	margin-block-start: 0;
}

.ggn-shop .ggn-shop__filters {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	height: fit-content;
	padding: var(--wp--preset--spacing--card-lg);
}

.ggn-shop .ggn-shop__filters h2 {
	margin-top: 0;
}

.ggn-shop .wc-block-product-filters,
.ggn-shop .wc-block-components-filter-wrapper {
	color: var(--wp--preset--color--text);
}

.ggn-shop .wc-block-components-filter-wrapper {
	border-color: var(--wp--preset--color--line);
}

.ggn-shop .wc-block-components-filter-wrapper button,
.ggn-shop .wc-block-components-filter-wrapper input {
	color: var(--wp--preset--color--text);
}

.ggn-shop .wc-block-components-filter-wrapper button {
	font-family: var(--wp--preset--font-family--heading);
	min-height: var(--wp--custom--control--size);
}

.ggn-shop .wc-block-product-filter-checkbox-list,
.ggn-shop .wc-block-product-filter-price-slider {
	color: var(--wp--preset--color--text);
}

.ggn-shop .wc-block-product-filter-checkbox-list__item,
.ggn-shop .wc-block-product-filter-price-slider__left,
.ggn-shop .wc-block-product-filter-price-slider__right {
	color: var(--wp--preset--color--muted);
}

.ggn-shop .wc-block-product-filter-checkbox-list__item input[type="checkbox"] {
	accent-color: var(--wp--preset--color--accent);
}

.ggn-shop .wc-block-product-filter-price-slider__range {
	background-color: var(--wp--preset--color--surface-2);
}

.ggn-shop .wc-block-product-filter-price-slider__range::-webkit-slider-thumb {
	background-color: var(--wp--preset--color--accent);
}

.ggn-shop .wc-block-product-filter-price-slider__range::-moz-range-thumb {
	background-color: var(--wp--preset--color--accent);
}

.ggn-shop .wc-block-product-filter-price-slider__content {
	grid-template-areas: "price-slider price-slider" "left-input right-input";
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ggn-shop .wc-block-product-filter-price-slider__left,
.ggn-shop .wc-block-product-filter-price-slider__right {
	min-width: 0;
}

.ggn-shop .wc-block-product-filter-price-slider__left input.min,
.ggn-shop .wc-block-product-filter-price-slider__right input.max {
	background-color: var(--wp--preset--color--surface-2);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--control);
	box-sizing: border-box;
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--body);
	max-width: none;
	min-width: 0;
	padding: var(--wp--preset--spacing--card) var(--wp--preset--spacing--10);
	width: 100%;
}

.ggn-shop .wc-block-product-filter-checkbox-list__item + .wc-block-product-filter-checkbox-list__item {
	border-color: var(--wp--preset--color--line);
}

.ggn-shop .wp-block-query-pagination {
	margin-top: var(--wp--preset--spacing--section);
}

.ggn-shop .wp-block-query-pagination a,
.ggn-shop .wp-block-query-pagination .page-numbers.current {
	align-items: center;
	border-radius: var(--wp--custom--radius--control);
	display: inline-flex;
	justify-content: center;
	min-height: var(--wp--custom--control--size);
	min-width: var(--wp--custom--control--size);
}

@media (max-width: 781px) {
	.ggn-shop .wc-block-product-filters__open-button,
	.ggn-shop .wc-block-product-filters button.wc-block-product-filters__open-button {
		justify-content: flex-start;
		padding-left: var(--wp--preset--spacing--card);
		text-align: left;
	}

	.ggn-shop .wc-block-product-filters__open-button > span {
		justify-content: flex-start;
		text-align: left;
	}

	.ggn-shop .ggn-shop__toolbar {
		align-items: stretch;
	}

	.ggn-shop .wc-block-catalog-sorting,
	.ggn-shop .wc-block-catalog-sorting select {
		width: 100%;
	}

	.ggn-shop .ggn-shop__body {
		display: block;
	}

	.ggn-shop .ggn-shop__filters {
		background-color: transparent;
		border: 0;
		border-radius: 0;
		padding: 0;
	}

	.ggn-shop .ggn-shop__filters > h2 {
		display: none;
	}

	.ggn-shop .wc-block-product-filters__open-button,
	.ggn-shop .wc-block-product-filters button.wc-block-product-filters__open-button {
		background-color: transparent;
		border: 1px solid var(--wp--preset--color--line);
		border-radius: var(--wp--custom--radius--control);
		color: var(--wp--preset--color--text);
		font-family: var(--wp--preset--font-family--heading);
		font-weight: 600;
		min-height: var(--wp--custom--control--size);
		width: 100%;
	}

	.ggn-shop .wc-block-product-filters__overlay {
		background-color: var(--wp--preset--color--surface);
		border-radius: var(--wp--custom--radius--sheet) var(--wp--custom--radius--sheet) 0 0;
		bottom: 0;
		box-sizing: border-box;
		left: 0;
		max-height: 100vh;
		max-height: 100dvh;
		overflow: hidden;
		position: fixed;
		right: 0;
		top: auto;
		z-index: 70;
	}

	.ggn-shop .wc-block-product-filters__overlay-content {
		max-height: 100vh;
		max-height: 100dvh;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.ggn-shop .wc-block-product-filters__overlay-header,
	.ggn-shop .wc-block-product-filters__overlay-footer {
		background-color: var(--wp--preset--color--surface);
		position: sticky;
		z-index: 1;
	}

	.ggn-shop .wc-block-product-filters__overlay-header {
		top: 0;
	}

	.ggn-shop .wc-block-product-filters__overlay-footer {
		bottom: 0;
	}

	.ggn-shop .ggn-product-grid {
		margin-top: var(--wp--preset--spacing--card-lg);
	}
}

/* Mobile filter button: icon and label left-aligned (#115). */
.ggn-shop .wc-block-product-filters .wc-block-product-filters__open-overlay {
	justify-content: flex-start;
	text-align: left;
}

/* Keep the collection in the full-width column when the empty filter card is hidden. */
@media (min-width: 782px) {
	.ggn-shop .ggn-shop__body:not(:has(> .ggn-shop__filters .wc-block-product-filter-checkbox-list__item, > .ggn-shop__filters .wc-block-product-filter-chips__item, > .ggn-shop__filters .wc-block-product-filter-price-slider__range, > .ggn-shop__filters .wc-block-product-filter-removable-chips__item)) {
		grid-template-columns: minmax(0, 1fr);
	}
}


/* #151: the filter "Clear filters" button spans the sidebar (kept out of the block attributes so the saved markup stays valid). */
.ggn-shop__filters .wc-block-product-filter-clear-button {
	width: 100%;
}

.ggn-shop__filters .wc-block-product-filter-clear-button .wp-block-button__link {
	text-align: center;
	width: 100%;
}

