/* Site-wide gold: every gold button, pill, badge and dot uses the "Deals" pill
   gradient (light gold to brand gold, dark green text; white text would fail
   contrast). --gm-gold / --gm-gold-hover are reused below and in drawer.css /
   reviews.css. No shine animation; that stays on the Deals pill only. */
:root {
	--gm-gold: linear-gradient(135deg,
		color-mix(in srgb, var(--bs-accent) 45%, #fff) 0%,
		color-mix(in srgb, var(--bs-accent) 75%, #fff) 45%,
		var(--bs-accent) 100%);
	--gm-gold-hover: linear-gradient(135deg,
		color-mix(in srgb, var(--bs-accent) 60%, #fff) 0%,
		color-mix(in srgb, var(--bs-accent) 90%, #fff) 45%,
		color-mix(in srgb, var(--bs-accent) 92%, #000) 100%);
}

.btn-accent,
.btn.btn-accent {
	border-color: transparent !important;
	background-color: var(--bs-accent) !important;
	background-image: var(--gm-gold) !important;
	color: var(--bs-dark) !important;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 4px 12px -6px rgba(var(--bs-accent-rgb), .9);
}

.btn-accent:hover,
.btn-accent:focus-visible,
.btn.btn-accent:hover,
.btn.btn-accent:focus-visible {
	background-image: var(--gm-gold-hover) !important;
	color: var(--bs-dark) !important;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 6px 16px -6px rgba(var(--bs-accent-rgb), 1);
}

.bg-accent,
.bg-accent.bg-gradient,
.hover-bg-accent:hover,
.hover-bg-accent:focus-visible {
	background-image: var(--gm-gold) !important;
}

/* Shop Menu (header secondary nav) — the "Deals" lead item.
   Add the `gm-nav-deals` CSS class to any menu item to give it this look. */

/* Link spacing lives here, not in Theme Settings → Secondary Menu Link Classes,
   so re-saving that page can't wipe it. Beats the theme's `.secondary-menu > li > a { padding: 0 }`. */
#secondary-nav .secondary-menu > li > a {
	position: relative;
	padding: .25rem .75rem;
	white-space: nowrap;
	transition: color .15s ease;
}

/* Hover: gold underline grows from the centre (not on the Deals pill) */
#secondary-nav .secondary-menu > li:not(.gm-nav-deals) > a::after {
	content: "";
	position: absolute;
	left: .75rem;
	right: .75rem;
	bottom: -.1rem;
	height: 2px;
	border-radius: 2px;
	background: var(--bs-accent);
	transform: scaleX(0);
	transition: transform .2s ease;
}

#secondary-nav .secondary-menu > li:not(.gm-nav-deals) > a:hover,
#secondary-nav .secondary-menu > li:not(.gm-nav-deals) > a:focus-visible {
	color: var(--bs-dark) !important;
}

#secondary-nav .secondary-menu > li:not(.gm-nav-deals) > a:hover::after,
#secondary-nav .secondary-menu > li:not(.gm-nav-deals) > a:focus-visible::after {
	transform: scaleX(1);
}

/* From 1800px the theme's .container-fluid jumps to 10%/18%/20% side padding,
   which put the header + shop bar ~70px deeper than the page content (the
   1700px .container). Line both up with the content edge instead. */
@media (min-width: 1800px) {
	.navbar.header-default.container-fluid,
	#secondary-nav.container-fluid {
		padding-left: calc((100% - 1700px) / 2 + 12px);
		padding-right: calc((100% - 1700px) / 2 + 12px);
	}
}

/* Below xl the theme pads the scrolling list 16px on top of the container
   gutter, so it sat deeper than the logo. Keep the right pad (end-of-scroll room). */
@media (max-width: 1199.98px) {
	#secondary-nav .secondary-menu {
		padding-left: 0;
	}
}

.secondary-menu > li.gm-nav-deals {
	margin-right: .75rem;
	padding-right: .75rem;
	border-right: 1px solid rgba(var(--bs-primary-rgb), .2);
}

.secondary-menu > li.gm-nav-deals > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	overflow: hidden;
	padding: .45rem .9rem !important;
	border-radius: 999px;
	/* Light gold gradient; dark green text stays >= 5.6:1 across it (white would fail) */
	background: var(--gm-gold);
	color: var(--bs-dark) !important;
	font-weight: 700 !important;
	letter-spacing: .02em;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 4px 12px -6px rgba(var(--bs-accent-rgb), .9);
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.secondary-menu > li.gm-nav-deals > a::before {
	content: "\f02b";
	font-family: "Font Awesome 7 Pro", "Font Awesome 7 Free";
	font-weight: 900;
	font-size: .8em;
	line-height: 1;
}

/* Slow shine sweep across the pill */
.secondary-menu > li.gm-nav-deals > a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
	transform: translateX(-120%);
	animation: gm-deals-shine 4.5s ease-in-out 1.5s infinite;
	pointer-events: none;
}

.secondary-menu > li.gm-nav-deals > a:hover,
.secondary-menu > li.gm-nav-deals > a:focus-visible {
	background: var(--gm-gold-hover);
	transform: translateY(-1px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 6px 16px -6px rgba(var(--bs-accent-rgb), 1);
}

@keyframes gm-deals-shine {
	0%, 70% { transform: translateX(-120%); }
	100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
	.secondary-menu > li.gm-nav-deals > a::after {
		animation: none;
		display: none;
	}

	.secondary-menu > li.gm-nav-deals > a,
	#secondary-nav .secondary-menu > li > a,
	#secondary-nav .secondary-menu > li > a::after {
		transition: none;
	}
}

/* ── Shop bar layout + product search (views/sections/headers/secondary) ──
   The links scroll sideways on small screens, so the scroll moves off the bar
   itself onto .gm-shop-bar__links, keeping the search fixed in place. */
#secondary-nav.gm-shop-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1.5rem;
	overflow: visible;
}

.gm-shop-bar__links {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.gm-shop-bar__links::-webkit-scrollbar {
	display: none;
}

/* Room for the pill's glow + the hover underline inside the scroller */
.gm-shop-bar__links .secondary-menu {
	padding-top: .25rem;
	padding-bottom: .35rem;
}

.gm-shop-search {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 1 260px;
	margin: 0;
}

.gm-shop-search__input {
	width: 100%;
	height: 2.25rem;
	padding: 0 2.5rem 0 1rem;
	border: 1px solid rgba(var(--bs-primary-rgb), .25);
	border-radius: 999px;
	background: #fff;
	color: var(--bs-dark);
	font-family: var(--font-menu);
	font-size: .875rem;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.gm-shop-search__input::placeholder {
	color: rgba(var(--bs-primary-rgb), .65);
}

.gm-shop-search__input:focus {
	outline: none;
	border-color: var(--bs-accent);
	box-shadow: 0 0 0 3px rgba(var(--bs-accent-rgb), .3);
}

/* Hide the browser's own clear "x" — it collides with the submit button */
.gm-shop-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.gm-shop-search__btn {
	position: absolute;
	right: .25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--bs-primary);
	transition: background-color .15s ease, color .15s ease;
}

.gm-shop-search__btn:hover,
.gm-shop-search__btn:focus-visible {
	background: var(--gm-gold);
	color: var(--bs-dark);
	outline: none;
}

/* One row from 1400px (links need ~1130px). Tighter link spacing 1200–1599 so it fits. */
@media (min-width: 1400px) {
	#secondary-nav.gm-shop-bar {
		flex-wrap: nowrap;
	}

	.gm-shop-search {
		flex: 0 0 200px;
	}
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
	#secondary-nav .secondary-menu > li > a {
		padding-left: .5rem;
		padding-right: .5rem;
	}
}

@media (min-width: 1600px) {
	.gm-shop-search {
		flex-basis: 260px;
	}
}

/* Round icon buttons: the shop-bar search toggle (below 1400px, once
   shop-search.js runs) and the header account link */
.gm-shop-search-toggle,
.gm-header-account {
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid rgba(var(--bs-primary-rgb), .25);
	border-radius: 50%;
	background: #fff;
	color: var(--bs-primary);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.gm-shop-search-toggle {
	display: none;
}

.gm-header-account {
	display: inline-flex;
	text-decoration: none;
}

/* Person icon drawn by CSS: the Free Area is a WYSIWYG field, and the editor
   strips inline SVG / empty icon tags if the page is re-saved */
.gm-header-account::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.5 4.5-5 8-5s6.5 1.5 8 5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.5 4.5-5 8-5s6.5 1.5 8 5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gm-shop-search-toggle:hover,
.gm-shop-search-toggle:focus-visible,
.gm-shop-bar.is-search-open .gm-shop-search-toggle,
.gm-header-account:hover,
.gm-header-account:focus-visible {
	border-color: var(--bs-accent);
	background: var(--gm-gold);
	color: var(--bs-dark);
	outline: none;
}

.gm-shop-search-toggle__close,
.gm-shop-bar.is-search-open .gm-shop-search-toggle__open {
	display: none;
}

.gm-shop-bar.is-search-open .gm-shop-search-toggle__close {
	display: block;
}

/* Below 1400px: search row sits under the links (toggle hides it when JS is on) */
@media (max-width: 1399.98px) {
	#secondary-nav.gm-shop-bar {
		gap: .5rem .75rem;
	}

	.gm-shop-bar__links {
		flex: 1 1 0;
		/* Fade the right edge so a cut-off link reads as "scroll for more" */
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
		mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
	}

	.gm-shop-search {
		order: 3;
		flex: 1 1 100%;
		max-width: 360px; /* full width only on phones, below */
	}

	.gm-shop-bar.has-search-toggle .gm-shop-search-toggle {
		display: inline-flex;
	}

	.gm-shop-bar.has-search-toggle:not(.is-search-open) .gm-shop-search {
		display: none;
	}

	.gm-shop-bar.is-search-open .gm-shop-search {
		animation: gm-search-in .18s ease-out;
	}
}

@keyframes gm-search-in {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 767.98px) {
	.gm-shop-search {
		max-width: none;
	}
}

@media (max-width: 1199.98px) {
	.gm-shop-search__input {
		font-size: 1rem; /* 16px stops iOS zooming in on focus */
	}
}

@media (prefers-reduced-motion: reduce) {
	.gm-shop-search__input,
	.gm-shop-search__btn,
	.gm-shop-search-toggle,
	.gm-header-account,
	.gm-header-actions .gm-header-order,
	.gm-header-actions .gm-header-order::after,
	#site-navigation .navbar-toggler,
	#site-navigation .navbar-toggler .nav-toggler-icon {
		transition: none;
	}

	.gm-shop-bar.is-search-open .gm-shop-search {
		animation: none;
	}
}

/* ── Main header: Shop button + account icon (Theme Settings → Navigation →
   Free Area, classes "gm-header-actions") instead of the inline page links.
   The pages stay in the MENU drawer, which uses the same Primary Navigation. */
@media (min-width: 1200px) {
	#site-navigation #navbarNavDropdown {
		display: none !important;
	}
}

#site-navigation .gm-header-actions {
	display: flex;
	align-items: center;
	gap: .625rem;
	order: 2;
	margin-left: auto;
}

/* The WYSIWYG wraps the links in a <p>; let them sit in the flex row directly */
#site-navigation .gm-header-actions > p {
	display: contents;
}

#site-navigation .navbar-toggler {
	order: 3;
	margin-left: .75rem !important;
}

/* "Order Now": brand-green gradient, white text (>= 5:1 across it), bag icon
   (background, so it survives the WYSIWYG) + arrow (::after). The theme's
   .btn::before is its hover layer, reused here for a lighter gradient. */
.gm-header-actions .gm-header-order {
	gap: .5rem;
	padding: .7rem 1.25rem .7rem 2.85rem;
	border: 0;
	border-radius: 999px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.8 12V7.1a4.1 4.1 0 0 1 8.2 0V12'/%3E%3Cpath d='M5.6 9h12.6l1.2 10.4a1.6 1.6 0 0 1-1.6 1.8H6a1.6 1.6 0 0 1-1.6-1.8z'/%3E%3C/svg%3E") left 1.1rem center / 18px no-repeat,
		linear-gradient(135deg, var(--bs-splash) 0%, var(--bs-primary) 100%);
	color: #fff;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .25),
		0 0 0 0 rgba(var(--bs-accent-rgb), 0),
		0 8px 18px -10px rgba(var(--bs-primary-rgb), .9);
	transition: box-shadow .2s ease, transform .15s ease;
}

.gm-header-actions .gm-header-order::before {
	border-radius: inherit;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.8 12V7.1a4.1 4.1 0 0 1 8.2 0V12'/%3E%3Cpath d='M5.6 9h12.6l1.2 10.4a1.6 1.6 0 0 1-1.6 1.8H6a1.6 1.6 0 0 1-1.6-1.8z'/%3E%3C/svg%3E") left 1.1rem center / 18px no-repeat,
		linear-gradient(135deg, color-mix(in srgb, var(--bs-splash) 80%, #fff) 0%, var(--bs-splash) 100%);
}

.gm-header-actions .gm-header-order::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s ease;
}

.gm-header-actions .gm-header-order:hover,
.gm-header-actions .gm-header-order:focus-visible {
	color: #fff;
	outline: none;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .25),
		0 0 0 3px rgba(var(--bs-accent-rgb), .55),
		0 10px 22px -10px rgba(var(--bs-primary-rgb), 1);
}

.gm-header-actions .gm-header-order:hover::before,
.gm-header-actions .gm-header-order:focus-visible::before {
	opacity: 1;
}

.gm-header-actions .gm-header-order:hover::after,
.gm-header-actions .gm-header-order:focus-visible::after {
	transform: translateX(3px);
}

/* Header account icon a touch larger than the shop-bar buttons, to sit with Order Now */
#site-navigation .gm-header-account {
	width: 2.75rem;
	height: 2.75rem;
}

/* Menu toggle: three bars instead of the theme's two bars + "MENU" (the
   button keeps its aria-label for screen readers) */
#site-navigation .navbar-toggler {
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(var(--bs-primary-rgb), .25);
	border-radius: 50%;
	background: #fff;
	color: var(--bs-primary);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

#site-navigation .navbar-toggler::before,
#site-navigation .navbar-toggler::after,
#site-navigation .navbar-toggler .hamburger-line,
#site-navigation .navbar-toggler .navbar-toggler-text,
#site-navigation .navbar-toggler .nav-toggler-icon::before,
#site-navigation .navbar-toggler .nav-toggler-icon::after {
	display: none;
	content: none;
}

#site-navigation .navbar-toggler .nav-toggler-icon {
	display: block;
	width: 18px;
	height: 14px;
	margin: 0;
	background:
		linear-gradient(currentColor 0 0) left top / 100% 2px no-repeat,
		linear-gradient(currentColor 0 0) left center / 70% 2px no-repeat,
		linear-gradient(currentColor 0 0) left bottom / 100% 2px no-repeat;
	transition: background-size .2s ease;
}

#site-navigation .navbar-toggler:hover,
#site-navigation .navbar-toggler:focus-visible {
	border-color: var(--bs-accent);
	background: var(--gm-gold);
	color: var(--bs-dark);
	outline: none;
}

/* Middle bar grows to full width on hover */
#site-navigation .navbar-toggler:hover .nav-toggler-icon,
#site-navigation .navbar-toggler:focus-visible .nav-toggler-icon {
	background-size: 100% 2px, 100% 2px, 100% 2px;
}

@media (max-width: 575.98px) {
	#site-navigation .gm-header-actions {
		gap: .5rem;
	}

	.gm-header-actions .gm-header-order {
		padding: .6rem 1rem .6rem 2.4rem;
		font-size: .9375rem;
		background-position: left .85rem center, 0 0;
	}

	.gm-header-actions .gm-header-order::before {
		background-position: left .85rem center, 0 0;
	}

	/* No room for the arrow on phones */
	.gm-header-actions .gm-header-order::after {
		display: none;
	}

	#site-navigation .navbar-toggler {
		margin-left: .5rem !important;
	}

	#site-navigation .theme-logo {
		object-fit: contain;
	}
}

/* Main header: address + [store_hours] beside the logo (Theme Settings logo
   free area). Its <p> keeps a bottom margin that sits the text above the
   logo's centre line; drop it so my-auto centres the text on the logo. */
.default-header-logo-wrapper .logo-free-area > :last-child {
	margin-bottom: 0;
}

/* Services band under the hero (page-builder/slider/services-band): the item
   title underlines on hover, gold, like the Shop Menu links. */
a.gm-band-item:hover .gm-band-item__title,
a.gm-band-item:focus-visible .gm-band-item__title {
	text-decoration: underline;
	text-decoration-color: var(--bs-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: .25em;
}

/* Card grids: add `gm-cards-fill` to a Bootstrap Cards block's Row Classes so an
   odd last card spans the full width on phones (2-up), instead of sitting alone
   at half width. Used by the home page's Shop by category cards. */
@media (max-width: 767.98px) {
	.gm-cards-fill > .col-6:last-child:nth-child(odd) {
		width: 100%;
	}
}

/* Chevron/arrow icons beside link text, site-wide. The theme sets Font Awesome
   icons to vertical-align: top, which lifts an inline chevron 4–6px above the
   middle of its text ("Browse the Full Menu ›", "Shop Flower ›", "View All
   Posts ›"…). Icons in flex rows ignore vertical-align, so this only moves the
   inline ones. */
i[class*="fa-chevron"],
i[class*="fa-arrow"] {
	vertical-align: middle;
}

/* Category photo cards (add `gm-category-card` to a Bootstrap Cards block's
   Global Card Classes; used by the home page's Shop by category):
   - taller photo cards, label at the bottom (WordPress wraps the link line in a
     <p>; drop its margin),
   - on hover the green overlay cross-fades to gold, the photo eases in a touch,
     and the title + link are white (the gold link text would vanish on gold). */
.gm-category-card .card-body > :last-child {
	margin-bottom: 0;
}

/* Room for the photo: a minimum height (the tall All Products card stretches
   to the grid), and the label hugs the bottom with lighter padding. Not
   aspect-ratio: with the cards' h-100 it widens them past their columns. */
.gm-category-card {
	min-height: 10rem;
}

@media (min-width: 992px) {
	.gm-category-card {
		min-height: 12.5rem;
	}
}

.gm-category-card .card-body {
	padding: 1rem 1.25rem !important;
}

@media (max-width: 575.98px) {
	.gm-category-card .card-body {
		padding: 1rem .875rem !important;
	}
}

@media (min-width: 992px) {
	.gm-category-card .card-body {
		padding: 1.25rem 1.5rem !important;
	}
}

.gm-category-card .card-body span {
	display: inline-flex;
	align-items: flex-end;
}

.gm-category-card .card-body span > i {
	flex-shrink: 0;
	line-height: 1.5;
}

.gm-category-card .media-bg-image {
	transition: transform .5s ease;
}

/* Green tint over the whole photo, deepening at the bottom behind the label.
   Overrides the block's Card Image Overlay (inline style), which only shaded
   the bottom and left the photo looking untinted. */
.gm-category-card .bg-overlay {
	background: linear-gradient(180deg, rgba(5, 53, 39, .35) 0%, rgba(5, 53, 39, .45) 45%, rgba(5, 53, 39, .92) 100%) !important;
}

.gm-category-card .bg-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	/* brand gold over the whole card, deepening toward the bottom so white text stays readable */
	background: linear-gradient(180deg, rgba(195, 162, 93, .35) 0%, rgba(195, 162, 93, .6) 45%, rgba(195, 162, 93, .88) 75%, rgba(150, 118, 52, .97) 100%);
	opacity: 0;
	transition: opacity .3s ease;
}

.gm-category-card h3,
.gm-category-card .card-body span {
	transition: color .3s ease;
}

.gm-category-card:hover .bg-overlay::after,
.gm-category-card:focus-within .bg-overlay::after {
	opacity: 1;
}

.gm-category-card:hover .media-bg-image {
	transform: scale(1.04);
}

.gm-category-card:hover h3,
.gm-category-card:hover .card-body span,
.gm-category-card:focus-within h3,
.gm-category-card:focus-within .card-body span {
	color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
	.gm-category-card .media-bg-image,
	.gm-category-card .bg-overlay::after {
		transition: none;
	}

	.gm-category-card:hover .media-bg-image {
		transform: none;
	}
}

/* Info strip (home page, right under the hero): one slim full-width cream bar
   of short labels with dark-green icon badges, rewards first with a gold badge.
   One line from xl, spread edge to edge; a 2x2 grid below. Markup is the section's content area
   (ul.gm-know > li.gm-know__item); section Content Area Classes: gm-know-band. */
.gm-know-band {
	background: var(--bs-light);
	border-bottom: 1px solid rgba(23, 84, 66, .1);
}

.gm-know {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .9rem 1.25rem;
	padding: 1.1rem 0;
}

.gm-know__item {
	display: flex;
	align-items: center;
	gap: .6rem;
	color: var(--bs-secondary);
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.3;
}

.gm-know__item i {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--bs-secondary);
	color: var(--bs-accent);
	font-size: .8rem;
}

.gm-know__item--rewards i {
	background: var(--gm-gold);
	color: var(--bs-secondary);
}

.gm-know__item--rewards {
	color: var(--bs-primary);
	font-weight: 700;
}

/* xl+: one line spread edge to edge, first item on the left content edge and
   the last on the right, lined up with the sections below. */
@media (min-width: 1200px) {
	.gm-know {
		display: flex;
		justify-content: space-between;
		gap: 2rem;
		padding: 1.1rem 0;
	}

	.gm-know__item {
		font-size: .95rem;
		white-space: nowrap;
	}
}

/* Rewards bar (hidden on Home for now; rewards lives in Good to know): a slim
   full-width deep-green band (Content Area Classes: gm-rewards-band). */
.gm-rewards-band {
	margin-top: clamp(2.5rem, 5vw, 4.5rem);
	background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-primary) 100%);
	border-top: 3px solid var(--bs-accent);
}

.gm-rewards-strip__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--gm-gold);
	color: var(--bs-secondary);
}

/* "Shop your way" photo cards (home page; Bootstrap Cards block with image on
   top + Global Card Classes `gm-way-card`). Store photo, gold-gradient icon
   badge overlapping the photo edge, gold eyebrow, heading-font title, leaf
   bullets, and a green action bar along the bottom (gold on hover, like the
   Everyday deal cards). The whole card is the link (stretched-link). */
.gm-way-card {
	background: #fff;
	box-shadow: 0 .75rem 2rem rgba(5, 53, 39, .1);
	transition: transform .25s ease, box-shadow .25s ease;
}

.gm-way-card .rpb-flex-card-image {
	position: relative;
	aspect-ratio: 16 / 10;
	height: auto !important;
	overflow: hidden;
}

/* square photo corners (Bootstrap's .card-img-top rounds the top) */
.gm-way-card .rpb-flex-card-image,
.gm-way-card .media-bg-picture,
.gm-way-card .media-bg-image {
	border-radius: 0 !important;
}

/* gold gradient rule along the bottom of the photo, same as the blog cards */
.gm-way-card .rpb-flex-card-image::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	height: 4px;
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--bs-accent) 45%, #fff) 0%,
		var(--bs-accent) 50%,
		color-mix(in srgb, var(--bs-accent) 80%, #000) 100%);
	pointer-events: none;
}

.gm-way-card .media-bg-image {
	transition: transform .5s ease;
}

.gm-way-card .card-body {
	position: relative;
	flex: 1 1 auto;
	/* the cards block adds h-100 to the body, which counts the photo twice */
	height: auto !important;
	padding: 2.25rem 1.75rem 0;
}

@media (min-width: 1200px) {
	.gm-way-card .card-body {
		padding: 2.5rem 2.25rem 0;
	}
}

.gm-way-card__badge {
	position: absolute;
	top: 0;
	left: 1.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--gm-gold);
	color: var(--bs-secondary);
	box-shadow: 0 .5rem 1rem rgba(5, 53, 39, .18);
	transform: translateY(-50%);
}

@media (min-width: 1200px) {
	.gm-way-card__badge {
		left: 2.25rem;
	}
}

.gm-way-card__eyebrow {
	margin-bottom: .35rem;
	color: color-mix(in srgb, var(--bs-accent) 80%, #000);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.gm-way-card__facts {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	color: var(--bs-secondary);
}

.gm-way-card__facts li {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	line-height: 1.4;
}

.gm-way-card__leaf {
	flex-shrink: 0;
	margin-top: .2rem;
	color: var(--bs-accent);
}

/* Action bar: full card width along the bottom */
.gm-way-card__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: auto -1.75rem 0;
	padding: 1.1rem 1.75rem;
	background: var(--bs-secondary);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	transition: background .25s ease, color .25s ease;
}

@media (min-width: 1200px) {
	.gm-way-card__cta {
		margin-right: -2.25rem;
		margin-left: -2.25rem;
		padding-right: 2.25rem;
		padding-left: 2.25rem;
	}
}

.gm-way-card__cta i {
	font-size: .8rem;
	transition: transform .2s ease;
}

.gm-way-card:hover,
.gm-way-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 1.25rem 2.5rem rgba(5, 53, 39, .16);
}

.gm-way-card:hover .media-bg-image {
	transform: scale(1.05);
}

.gm-way-card:hover .gm-way-card__cta,
.gm-way-card:focus-within .gm-way-card__cta {
	background: var(--gm-gold);
	color: var(--bs-secondary) !important;
}

.gm-way-card:hover .gm-way-card__cta i {
	transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
	.gm-way-card,
	.gm-way-card .media-bg-image,
	.gm-way-card__cta i {
		transition: none;
	}

	.gm-way-card:hover,
	.gm-way-card:hover .media-bg-image,
	.gm-way-card:hover .gm-way-card__cta i {
		transform: none;
	}
}

/* WordPress wraps the badge and the action bar in <p>s: no gaps, and the bar's
   paragraph sits at the bottom of the card. */
.gm-way-card .card-body > p:has(> .gm-way-card__badge) {
	margin: 0;
}

.gm-way-card .card-body > p:has(> .gm-way-card__cta) {
	margin: auto 0 0;
}

/* Sidebar "Shop by category" menu (sidebar page builder: Get Menu with the Shop
   Menu). Styled here rather than in its option class fields, which get
   re-saved. The shop bar uses the same menu (same #menu-shop-menu id), so
   every rule here is scoped to .get-menu. Cream (bg-light) card with the gold rule along the bottom, heading-font title
   with a short gold bar, sentence-case links with a gold chevron that nudges in
   on hover. The Deals item is hidden (the daily deal card is right above). */
.get-menu:has(#menu-shop-menu) {
	position: relative;
	overflow: hidden;
	padding: 1.75rem 1.5rem 1.5rem !important;
	border-radius: 0 !important;
	background: var(--bs-light) !important;
}

.get-menu:has(#menu-shop-menu)::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--bs-accent) 45%, #fff) 0%,
		var(--bs-accent) 50%,
		color-mix(in srgb, var(--bs-accent) 80%, #000) 100%);
}

.get-menu:has(#menu-shop-menu) .menu-title {
	margin-bottom: 1.25rem;
	color: var(--bs-primary);
	font-family: var(--font-heading);
}

.get-menu:has(#menu-shop-menu) .menu-title::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 3px;
	margin-top: .6rem;
	border-radius: 2px;
	background: var(--gm-gold);
}

.get-menu #menu-shop-menu {
	margin: 0;
}

.get-menu #menu-shop-menu > li {
	padding: 0 !important;
	border-color: rgba(23, 84, 66, .1) !important;
}

.get-menu #menu-shop-menu > li:last-child {
	border-bottom: 0 !important;
}

.get-menu #menu-shop-menu > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin: 0 -.5rem;
	padding: .6rem .5rem;
	color: var(--bs-secondary) !important;
	font-size: .95rem !important;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	transition: background-color .15s ease, color .15s ease, padding .15s ease;
}

.get-menu #menu-shop-menu > li > a::after {
	content: "\f054";
	font-family: "Font Awesome 7 Pro", "Font Awesome 7 Free";
	font-weight: 900;
	font-size: .65rem;
	color: var(--bs-accent);
	transition: transform .15s ease;
}

.get-menu #menu-shop-menu > li:not(.gm-nav-deals) > a:hover,
.get-menu #menu-shop-menu > li:not(.gm-nav-deals) > a:focus-visible {
	padding-left: .85rem;
	background: rgba(var(--bs-accent-rgb), .1);
	color: var(--bs-primary) !important;
}

.get-menu #menu-shop-menu > li > a:hover::after,
.get-menu #menu-shop-menu > li > a:focus-visible::after {
	transform: translateX(3px);
}

/* Deals is left out here: the sidebar's daily deal card sits right above. */
.get-menu #menu-shop-menu > li.gm-nav-deals {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.get-menu #menu-shop-menu > li > a,
	.get-menu #menu-shop-menu > li > a::after {
		transition: none;
	}
}

/* Sidebar scrolls with the page (not sticky). Theme Settings → Sidebar Content
   Classes still holds `sidebar-sticky-top`; overridden here because that options
   page gets re-saved. Remove this rule to bring sticky back. */
.sidebar.sidebar-sticky-top {
	position: static;
	top: auto;
}

/* Everyday deal Color Block cards: the whole card is the link, so hovering
   anywhere on it turns the bottom bar into the gold gradient (dark text, chevron
   nudges right) and the pattern's gold leaves go full strength (.gm-block-leaves,
   a gold-only copy of the pattern laid over the card). */
.gm-block-leaves {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
}

.coupon-block .hover-bg-accent {
	transition: color .25s ease;
}

.coupon-block .hover-bg-accent i {
	transition: transform .2s ease;
}

a.coupon-block:hover .gm-block-leaves,
a.coupon-block:focus-visible .gm-block-leaves {
	opacity: 1;
}

a.coupon-block:hover .hover-bg-accent,
a.coupon-block:focus-visible .hover-bg-accent {
	background-color: var(--bs-accent) !important;
	background-image: var(--gm-gold) !important;
	color: var(--bs-secondary) !important;
}

a.coupon-block:hover .hover-bg-accent i,
a.coupon-block:focus-visible .hover-bg-accent i {
	transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
	.gm-block-leaves,
	.coupon-block .hover-bg-accent i {
		transition: none;
	}

	a.coupon-block:hover .hover-bg-accent i {
		transform: none;
	}
}

/* Monthly specials band (Home + Special Offers content): the band's own pattern
   is swapped for a white-only one (its repeating gold leaves landed behind the
   card text), and each card carries two gold leaves in its right-hand corners,
   clear of the text. Hovering a card brings only that card's leaves to full
   strength, like the Everyday deal cards, and the round arrow turns gold and
   nudges right. The card background stays green. Leaf images and the pattern
   come from Footer.php (--gm-monthly-*). */
.gm-monthly-band > .position-relative {
	background-image: var(--gm-monthly-pattern), linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-primary) 100%) !important;
}

.gm-monthly-band .gm-block-leaves {
	display: none;
}

/* "Monthly / specials." heading: larger, always on two lines. */
.gm-monthly-band h2 {
	font-size: clamp(2.5rem, 1.75rem + 1.75vw, 3.25rem);
}

.gm-monthly-band h2 .text-accent {
	display: block;
}

/* The heading column is narrowest just above lg; keep "specials." inside it. */
@media (min-width: 992px) and (max-width: 1199.98px) {
	.gm-monthly-band h2 {
		font-size: 2.5rem;
	}
}

.gm-monthly-band .gm-monthly-card {
	cursor: pointer;
	isolation: isolate;
}

.gm-monthly-band .gm-monthly-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--gm-monthly-leaf-a), var(--gm-monthly-leaf-b);
	background-repeat: no-repeat;
	background-position: right .5rem top .5rem, right 1rem bottom .5rem;
	opacity: .3;
	transition: opacity .35s ease;
	pointer-events: none;
}

.gm-monthly-band .gm-monthly-card:hover::before,
.gm-monthly-band .gm-monthly-card:focus-within::before {
	opacity: 1;
}

.gm-monthly-band .gm-monthly-arrow {
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgba(255, 255, 255, .35);
	color: #fff;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.gm-monthly-band .gm-monthly-card:hover .gm-monthly-arrow,
.gm-monthly-band .gm-monthly-card:focus-within .gm-monthly-arrow {
	background-color: var(--bs-accent);
	background-image: var(--gm-gold);
	border-color: var(--bs-accent);
	color: var(--bs-secondary);
	transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
	.gm-monthly-band .gm-monthly-card::before,
	.gm-monthly-band .gm-monthly-arrow {
		transition: none;
	}

	.gm-monthly-band .gm-monthly-card:hover .gm-monthly-arrow,
	.gm-monthly-band .gm-monthly-card:focus-within .gm-monthly-arrow {
		transform: none;
	}
}

/* No sideways scroll. The theme's row gutters are wider than its container
   side padding (15px below 768px, 30px from 768px): g-4 pulls rows out 18px
   per side and g-5 36px, so those rows stuck out past the screen edge. Cap the
   horizontal gutter at twice the side padding (vertical gaps unchanged). */
@media (max-width: 767.98px) {
	.row.g-4, .row.gx-4,
	.row.g-5, .row.gx-5 {
		--bs-gutter-x: 30px;
	}
}

@media (min-width: 768px) and (max-width: 1799.98px) {
	.row.g-5, .row.gx-5 {
		--bs-gutter-x: 60px;
	}
}

@media (min-width: 992px) and (max-width: 1799.98px) {
	.row.g-lg-5, .row.gx-lg-5 {
		--bs-gutter-x: 60px;
	}
}

/* Sections with no container class (e.g. Shop by brand): their row has no
   padded parent to pull into, so no horizontal gutter there. */
section:not([class*="container"]) > .row {
	--bs-gutter-x: 0;
}

/* Belt and braces: anything else that overhangs is clipped, never scrollable.
   `clip` (not `hidden`) keeps position: sticky working. `:root` outranks the
   theme's later `body { overflow-x: hidden }`, which would otherwise make body
   a scroll container and unstick the header. */
:root,
:root > body {
	overflow-x: clip;
}

/* Top bar marquee: the theme only runs the continuous scroll from 768px up
   (phones get Swiper stepping one callout at a time). Run it at every width.
   Duration is set inline by TopbarMarquee::render(). */
.gm-topbar-marquee .swiper-wrapper {
	animation: gm-marquee-scroll 30s linear infinite;
	transition-timing-function: unset !important;
	width: max-content !important;
}

.gm-topbar-marquee:hover .swiper-wrapper {
	animation-play-state: paused;
}

.gm-topbar-marquee.is-dragging .swiper-wrapper {
	animation: none;
}

@keyframes gm-marquee-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* Award row in the home "Knowledgeable, Friendly Service" section: small
   badge, gold eyebrow + ranking, cream panel with a gold edge. */
.gm-award {
	border-left: 3px solid var(--bs-accent);
}

.gm-award img {
	width: 72px;
	height: 72px;
	margin: 0;
	border-radius: 50%;
	box-shadow: 0 .35rem .9rem rgba(5, 53, 39, .18);
}

.gm-award .text-accent {
	color: color-mix(in srgb, var(--bs-accent) 80%, #000) !important;
	letter-spacing: .06em;
}

/* Special Offers (page 175, Default Template (No Sidebar)): the page is all
   page builder and its body is empty, but the template still outputs the
   padded content container after it, leaving ~118px of blank space above the
   footer. Drop the padding on this page only (content would still show). */
.page-id-175 main > .page-container {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
