/* ==========================================================================
   Galaxy Mobile — child theme styles
   Brand palette (Kadence → Customizer → Colors; owner-supplied 2026-10-20):
     1 Violet #6D4AFF (buttons/links) · 2 Violet hover #5635D5 · 3 Primary #111827
     4 Text #172033 · 5 Muted #64748B · 6 Muted on surface #5B6576 · 7 Border #E2E8F0
     8 Surface #F5F7FB · 9 Background #FFFFFF · 10 Gold accent #B89552
     11 Sale soft #FDECEC · 12 Violet soft #EFEBFF · 13 Success · 14 Warning · 15 Sale #C62828
   Gold is only used with dark text (white on gold fails contrast).
   ========================================================================== */

:root {
	--gm-navy: var(--global-palette3, #111827);
	--gm-blue: var(--global-palette1, #6D4AFF);
	--gm-blue-hover: var(--global-palette2, #5635D5);
	--gm-blue-soft: var(--global-palette12, #EFEBFF);
	--gm-red: var(--global-palette15, #C62828);
	--gm-red-soft: var(--global-palette11, #FDECEC);
	--gm-gold: var(--global-palette10, #B89552);
	--gm-muted-strong: var(--global-palette6, #5B6576);
	--gm-bg: var(--global-palette8, #F5F7FB); /* surface */
	--gm-page: var(--global-palette9, #FFFFFF);
	--gm-surface: var(--global-palette9, #FFFFFF);
	--gm-text: var(--global-palette4, #172033);
	--gm-muted: var(--global-palette5, #64748B);
	--gm-border: var(--global-palette7, #E2E8F0);

	/* Darker inks for small text on the soft tints (WCAG AA). */
	--gm-blue-ink: #5635D5;
	--gm-red-ink: #B71C1C;

	--gm-radius-sm: 10px;
	--gm-radius: 14px;
	--gm-radius-lg: 20px;
	--gm-shadow-sm: 0 4px 18px rgba(17, 24, 39, 0.06); /* --shadow-card */
	--gm-shadow: 0 4px 12px rgba(17, 24, 39, 0.06), 0 2px 4px rgba(17, 24, 39, 0.04);
	--gm-shadow-lg: 0 10px 28px rgba(17, 24, 39, 0.12); /* --shadow-hover */
	--gm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--gm-speed: 220ms;
	--gm-tap: 44px;
}

/* ---------- Base ---------- */

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a,
button,
.button,
input[type="submit"] {
	transition: color var(--gm-speed) var(--gm-ease), background-color var(--gm-speed) var(--gm-ease),
		border-color var(--gm-speed) var(--gm-ease), box-shadow var(--gm-speed) var(--gm-ease),
		transform var(--gm-speed) var(--gm-ease);
}

:focus-visible {
	outline: 3px solid var(--gm-blue);
	outline-offset: 3px;
	border-radius: 6px;
}

/* Buttons: pill-ish, soft lift on hover. */
.button,
button.button,
.wp-block-button__link,
input[type="submit"],
.kb-button {
	min-height: var(--gm-tap);
	border-radius: 8px; /* --radius-button */
}

.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: var(--gm-shadow);
}

.gm-placeholder-text {
	font-style: italic;
}

/* ---------- Header: top bar ---------- */

.site-top-header-wrap .site-header-row-container-inner {
	background: var(--gm-navy);
}

.gm-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	color: #CBD5E1;
}

.gm-topbar li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
}

.gm-topbar a,
#masthead .header-html .gm-topbar a,
#mobile-drawer .gm-topbar a {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: var(--gm-tap);
	color: #FFFFFF;
	text-decoration: none;
}

.gm-topbar a:hover {
	color: #A996FF;
}

.gm-topbar .gm-icon {
	color: #A996FF;
	flex-shrink: 0;
}

.gm-topbar-pickup {
	color: #CBD5E1;
}

/* ---------- Header: main bar ---------- */

#masthead .site-main-header-wrap .site-header-row-container-inner {
	background: rgba(255, 255, 255, 0.92);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	#masthead .item-is-stuck .site-header-row-container-inner,
	#masthead .site-main-header-wrap.item-is-stuck .site-header-row-container-inner {
		background: rgba(255, 255, 255, 0.78);
		-webkit-backdrop-filter: saturate(160%) blur(12px);
		backdrop-filter: saturate(160%) blur(12px);
	}
}

#masthead .item-is-stuck {
	box-shadow: 0 1px 0 var(--gm-border), 0 6px 18px rgba(17, 24, 39, 0.06);
}

/* Kadence sizes the centre column to its content, so give the search a real width. */
.site-header-main-section-center .gm-search {
	width: clamp(300px, 42vw, 600px);
}

/* Product search */
.gm-search {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.gm-search-input[type="search"] {
	width: 100%;
	min-height: 48px;
	padding: 0.6rem 3.4rem 0.6rem 1.1rem;
	border: 1px solid var(--gm-border);
	border-radius: 999px;
	background: var(--gm-bg);
	color: var(--gm-text);
	font-size: 1rem; /* ≥16px stops iOS zoom on focus. */
	box-shadow: none;
}

.gm-search-input[type="search"]::placeholder {
	color: var(--gm-muted);
	opacity: 1;
}

.gm-search-input[type="search"]:focus {
	border-color: var(--gm-blue);
	background: var(--gm-surface);
	box-shadow: 0 0 0 4px var(--gm-blue-soft);
	outline: none;
}

.gm-search-submit {
	position: absolute;
	right: 2px;
	top: 50%;
	display: grid;
	place-items: center;
	width: var(--gm-tap);
	height: var(--gm-tap);
	min-height: var(--gm-tap);
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--gm-blue);
	color: #FFFFFF;
	transform: translateY(-50%);
	cursor: pointer;
}

.gm-search-submit:hover,
.gm-search-submit:focus-visible {
	background: var(--gm-blue-hover);
	color: #FFFFFF;
}

.gm-search-results {
	position: absolute;
	z-index: 1000;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	max-height: min(70vh, 460px);
	overflow-y: auto;
	padding: 0.4rem;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	background: var(--gm-surface);
	box-shadow: var(--gm-shadow-lg);
}

.gm-search-item {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	align-items: center;
	gap: 0.75rem;
	min-height: 56px;
	padding: 0.4rem 0.6rem;
	border-radius: var(--gm-radius-sm);
	color: var(--gm-text);
	text-decoration: none;
}

.gm-search-item:not(:has(img)) {
	grid-template-columns: 1fr auto;
}

.gm-search-item img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 8px;
	background: var(--gm-bg);
}

.gm-search-item:hover,
.gm-search-item[aria-selected="true"] {
	background: var(--gm-blue-soft);
	color: var(--gm-navy);
}

.gm-search-name {
	font-size: 0.9375rem;
	line-height: 1.3;
}

.gm-search-price {
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--gm-navy);
	white-space: nowrap;
}

.gm-search-empty {
	margin: 0;
	padding: 0.75rem;
	color: var(--gm-muted);
}

.gm-search-all {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--gm-tap);
	margin-top: 0.25rem;
	border-top: 1px solid var(--gm-border);
	color: var(--gm-blue-ink);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
}

/* Account + cart icons */
.gm-account-link,
.header-cart-button,
.menu-toggle-open {
	display: inline-grid;
	place-items: center;
	min-width: var(--gm-tap);
	min-height: var(--gm-tap);
	border-radius: 999px;
	color: var(--gm-navy);
}

.gm-account-link:hover,
.header-cart-button:hover {
	background: var(--gm-blue-soft);
	color: var(--gm-blue-ink);
}

.header-cart-wrap,
.header-mobile-cart-wrap {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.header-cart-wrap .header-cart-button,
.header-mobile-cart-wrap .header-cart-button {
	position: relative;
	display: inline-grid;
	padding: 0;
}

.header-cart-wrap .header-cart-button .header-cart-total,
.header-mobile-cart-wrap .header-cart-button .header-cart-total {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--gm-red);
	color: #FFFFFF;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
}

.header-cart-total.header-cart-is-empty-true {
	display: none;
}

/* ---------- Header: category menu (bottom row) ---------- */

#masthead .site-bottom-header-wrap .site-header-row-container-inner {
	background: var(--gm-surface);
	border-top: 1px solid var(--gm-border);
}

.header-navigation .header-menu-container > ul > li > a {
	min-height: var(--gm-tap);
	font-weight: 500;
}

.header-navigation .header-menu-container > ul > li.gm-menu-deals > a {
	color: var(--gm-red-ink);
}

.header-navigation .sub-menu {
	border-radius: var(--gm-radius);
	overflow: hidden;
	box-shadow: var(--gm-shadow-lg);
}

/* Mobile drawer */
#mobile-drawer .drawer-inner {
	background: var(--gm-surface);
}

#mobile-drawer .mobile-navigation ul li > a,
#mobile-drawer .mobile-navigation ul li .drawer-nav-drop-wrap {
	min-height: var(--gm-tap);
}

#mobile-drawer .gm-topbar {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--gm-border);
	color: var(--gm-muted);
	font-size: 0.9375rem;
}

#mobile-drawer .gm-topbar a,
#mobile-drawer .gm-topbar-pickup {
	color: var(--gm-navy);
	line-height: 1.4;
}

#mobile-drawer .gm-topbar a:hover {
	color: var(--gm-blue-ink);
}

#mobile-drawer .gm-topbar .gm-icon {
	color: var(--gm-blue);
}

/* Mobile header search row */
.site-bottom-header-wrap.site-header-row-mobile-layout-standard .site-header-item,
#mobile-header .site-bottom-header-wrap .site-header-item {
	width: 100%;
}

#mobile-header .site-bottom-header-wrap .site-header-row-container-inner {
	background: var(--gm-surface);
}

/* ---------- Footer ---------- */

#colophon .site-footer-row-container-inner {
	background: var(--gm-navy);
	color: #CBD5E1;
}

#colophon .site-bottom-footer-wrap .site-footer-row-container-inner {
	background: #0B1120;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#colophon .widget-title,
#colophon h2,
#colophon h3 {
	margin-bottom: 0.9rem;
	color: #FFFFFF;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#colophon a {
	color: #FFFFFF;
	text-decoration: none;
}

#colophon a:hover {
	color: #A996FF;
}

#colophon ul.menu,
#colophon .wp-block-navigation__container {
	margin: 0;
	padding: 0;
	list-style: none;
}

#colophon ul.menu li a,
.gm-contact-list a {
	display: inline-flex;
	align-items: center;
	min-height: var(--gm-tap);
}

#colophon ul.menu li {
	margin: 0;
}

.gm-footer-logo {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 10px 14px;
	border-radius: var(--gm-radius);
	background: #FFFFFF;
}

.gm-footer-logo-img {
	display: block;
	width: 160px;
	height: auto;
}

.gm-footer-about p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.gm-contact-list {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gm-contact-list li {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 0.6rem;
	align-items: start;
	font-size: 0.9375rem;
}

.gm-contact-list .gm-icon {
	margin-top: 13px;
	color: #A996FF;
}

.gm-payment-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gm-payment-badges li {
	padding: 0.25rem 0.6rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 6px;
	color: #E2E8F0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

#colophon .footer-social-wrap .social-button {
	min-width: var(--gm-tap);
	min-height: var(--gm-tap);
}

/* ---------- WooCommerce product cards (refined in Phase 3) ---------- */

.woocommerce ul.products li.product,
.wc-block-grid__product {
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	background: var(--gm-surface);
	box-shadow: var(--gm-shadow-sm);
	overflow: hidden;
	transition: transform 260ms var(--gm-ease), box-shadow 260ms var(--gm-ease);
}

.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
	transform: translateY(-4px);
	box-shadow: var(--gm-shadow-lg);
}

.woocommerce span.onsale,
.wc-block-components-product-sale-badge {
	border-radius: 999px;
	background: var(--gm-red);
	color: #FFFFFF;
	font-weight: 600;
}

/* ---------- Decorative star motif ---------- */

.gm-star-accent {
	position: relative;
	display: inline-block;
}

.gm-star-accent::after {
	content: "";
	position: absolute;
	top: -0.35em;
	right: -0.9em;
	width: 0.7em;
	height: 0.7em;
	background: var(--gm-blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.6 5.4 4.6 9.4 10 10-5.4.6-9.4 4.6-10 10-.6-5.4-4.6-9.4-10-10 5.4-.6 9.4-4.6 10-10z'/%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'%3E%3Cpath d='M12 2c.6 5.4 4.6 9.4 10 10-5.4.6-9.4 4.6-10 10-.6-5.4-4.6-9.4-10-10 5.4-.6 9.4-4.6 10-10z'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0.85;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	#masthead .gm-topbar-address span:first-of-type {
		max-width: 26ch;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (max-width: 767px) {
	#mobile-header .site-bottom-header-wrap .site-header-row-container-inner > .site-container {
		padding-bottom: 10px;
	}
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.woocommerce ul.products li.product:hover,
	.wc-block-grid__product:hover,
	.button:hover,
	.wp-block-button__link:hover {
		transform: none;
	}

	[data-aos] {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* Footer: 2×2 widget grid on tablets. */
@media (min-width: 768px) and (max-width: 1024px) {
	#colophon .site-middle-footer-inner-wrap.site-footer-row-columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ==========================================================================
   Phase 4 — pages, shop, product, forms
   ========================================================================== */

.gm-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.gm-muted {
	color: var(--gm-muted);
}

/* ---------- Scroll reveal (JS adds .gm-reveal-ready; without JS everything shows) ---------- */
.gm-reveal-ready .gm-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 500ms var(--gm-ease), transform 500ms var(--gm-ease);
}

.gm-reveal-ready .gm-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.gm-reveal-ready .gm-cat-tile:nth-child(2),
.gm-reveal-ready .gm-feature:nth-child(2) { transition-delay: 60ms; }
.gm-reveal-ready .gm-cat-tile:nth-child(3),
.gm-reveal-ready .gm-feature:nth-child(3) { transition-delay: 120ms; }
.gm-reveal-ready .gm-cat-tile:nth-child(4),
.gm-reveal-ready .gm-feature:nth-child(4) { transition-delay: 180ms; }
.gm-reveal-ready .gm-cat-tile:nth-child(5) { transition-delay: 240ms; }
.gm-reveal-ready .gm-cat-tile:nth-child(6) { transition-delay: 300ms; }

/* ---------- Page title band (inner pages, shop) ---------- */
.entry-hero.page-hero-section .entry-hero-container-inner,
.entry-hero.product-archive-hero-section .entry-hero-container-inner {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--gm-blue-soft) 0%, #F7F5FF 60%, var(--gm-bg) 100%);
}

.entry-hero.page-hero-section .entry-hero-container-inner::after,
.entry-hero.product-archive-hero-section .entry-hero-container-inner::after {
	content: "";
	position: absolute;
	right: 6%;
	top: 50%;
	width: 120px;
	height: 120px;
	transform: translateY(-50%);
	background: var(--gm-blue);
	opacity: 0.08;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.6 5.4 4.6 9.4 10 10-5.4.6-9.4 4.6-10 10-.6-5.4-4.6-9.4-10-10 5.4-.6 9.4-4.6 10-10z'/%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'%3E%3Cpath d='M12 2c.6 5.4 4.6 9.4 10 10-5.4.6-9.4 4.6-10 10-.6-5.4-4.6-9.4-10-10 5.4-.6 9.4-4.6 10-10z'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}

.entry-hero .hero-section-overlay {
	display: none;
}

/* ---------- Generic sections (core Group blocks with these classes) ---------- */
.gm-section {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.gm-section-tint {
	background: var(--gm-blue-soft);
}

.gm-section-surface {
	background: var(--gm-surface);
}

.gm-eyebrow {
	margin-bottom: 0.5rem;
	color: var(--gm-blue-ink);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gm-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1.5rem;
}

.gm-section-head > * {
	margin: 0;
}

.gm-card {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius-lg);
	background: var(--gm-surface);
	box-shadow: var(--gm-shadow-sm);
}

.gm-wrap {
	width: min(100% - 32px, var(--global-content-width, 1280px));
	margin-inline: auto;
}

.entry-content > .gm-section:first-child,
.entry-content > .gm-hero:first-child {
	margin-top: 0;
}

/* Full-width pages built from sections: remove Kadence's content box. */
.gm-full-page .content-area {
	margin-top: 0;
	margin-bottom: 0;
}

.gm-full-page .entry-content-wrap {
	padding: 0 !important;
}

.gm-full-page .entry.single-entry {
	box-shadow: none;
	background: transparent;
}

.gm-full-page .entry-content > * {
	margin-block: 0;
}

/* ---------- Hero ---------- */
.gm-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(2rem, 6vw, 4.5rem);
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(109, 74, 255, 0.14) 0%, rgba(109, 74, 255, 0) 70%),
		linear-gradient(180deg, #FFFFFF 0%, var(--gm-bg) 100%);
}

.gm-hero .wp-block-columns {
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin: 0;
}

.gm-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 5.2vw, 3.4rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.gm-hero .gm-hero-lead {
	max-width: 36ch;
	margin-bottom: 1.5rem;
	color: var(--gm-muted);
	font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
}

.gm-hero .wp-block-image {
	margin: 0;
}

.gm-hero .wp-block-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--gm-radius-lg);
	box-shadow: var(--gm-shadow-lg);
}

.gm-hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--gm-muted);
	font-size: 0.9375rem;
}

.gm-hero-points li::before {
	content: "✓";
	margin-right: 0.4rem;
	color: var(--gm-blue);
	font-weight: 700;
}

.wp-block-buttons .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.5rem;
	font-weight: 600;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1.5px solid var(--gm-blue);
	background: transparent;
	color: var(--gm-blue-ink);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--gm-blue-soft);
	color: var(--gm-blue-ink);
}

.gm-split .wp-block-button.is-style-outline > .wp-block-button__link,
.gm-newsletter .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.6);
	color: #FFFFFF;
}

.gm-split .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* ---------- Category tiles ---------- */
.gm-cat-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.gm-cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}

@media (min-width: 1025px) {
	.gm-cat-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.gm-cat-tile a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	background: var(--gm-surface);
	color: var(--gm-navy);
	text-decoration: none;
	transition: transform 260ms var(--gm-ease), box-shadow 260ms var(--gm-ease);
}

.gm-cat-tile a:hover {
	transform: translateY(-4px);
	box-shadow: var(--gm-shadow-lg);
}

.gm-cat-tile img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

.gm-cat-tile-name {
	padding: 0.75rem 0.9rem;
	font-family: var(--global-heading-font-family);
	font-size: 0.9375rem;
	font-weight: 600;
}

/* ---------- Brand grid ---------- */
.gm-brand-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.gm-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}

.gm-brand-grid a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	min-height: 96px;
	padding: 1rem;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	background: var(--gm-surface);
	text-align: center;
	text-decoration: none;
}

.gm-brand-grid a:hover {
	border-color: var(--gm-blue);
	box-shadow: var(--gm-shadow);
}

.gm-brand-name {
	color: var(--gm-navy);
	font-family: var(--global-heading-font-family);
	font-size: 1.0625rem;
	font-weight: 600;
}

.gm-brand-count {
	color: var(--gm-muted);
	font-size: 0.8125rem;
}

/* ---------- Features ---------- */
.gm-features {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.gm-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1025px) {
	.gm-features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}

.gm-feature {
	padding: 1.5rem;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	background: var(--gm-surface);
}

.gm-feature-icon {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 0.9rem;
	border-radius: 12px;
	background: var(--gm-blue-soft);
	color: var(--gm-blue-ink);
}

.gm-feature h3 {
	margin: 0 0 0.35rem;
	font-size: 1.0625rem;
}

.gm-feature p {
	margin: 0;
	color: var(--gm-muted);
	font-size: 0.9375rem;
}

/* ---------- Media + text panels (repairs teaser, about) ---------- */
.gm-split {
	overflow: hidden;
	border-radius: var(--gm-radius-lg);
	background: var(--gm-navy);
	color: #E2E8F0;
}

.gm-split .wp-block-columns {
	align-items: stretch;
	gap: 0;
	margin: 0;
}

.gm-split .wp-block-column {
	padding: clamp(1.5rem, 4vw, 3rem);
}

.gm-split .wp-block-column.gm-split-media {
	padding: 0;
}

.gm-split .gm-split-media .wp-block-image,
.gm-split .gm-split-media figure {
	height: 100%;
	margin: 0;
}

.gm-split .gm-split-media img {
	width: 100%;
	height: 100%;
	min-height: 240px;
	object-fit: cover;
}

.gm-split h2,
.gm-split h3 {
	color: #FFFFFF;
}

.gm-split .gm-eyebrow {
	color: #A996FF;
}

.gm-split a:not(.wp-block-button__link) {
	color: #FFFFFF;
}

/* ---------- Reviews placeholder ---------- */
.gm-reviews-empty {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1.5px dashed #CBD5E1;
	border-radius: var(--gm-radius-lg);
	background: var(--gm-surface);
	text-align: center;
}

/* ---------- Map ---------- */
.gm-map {
	overflow: hidden;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius-lg);
	background: var(--gm-blue-soft);
	aspect-ratio: 16 / 10;
}

.gm-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.gm-contact-card p {
	margin: 0 0 0.75rem;
}

/* ---------- Newsletter ---------- */
.gm-newsletter {
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border-radius: var(--gm-radius-lg);
	background: linear-gradient(135deg, var(--gm-navy) 0%, #1F2937 100%);
	color: #E2E8F0;
}

.gm-newsletter h2 {
	color: #FFFFFF;
}

.gm-newsletter a {
	color: #FFFFFF;
}

.gm-newsletter .kb-adv-form-label,
.gm-newsletter label {
	color: #E2E8F0;
}

/* ---------- Kadence forms ---------- */
.kb-advanced-form input[type="text"],
.kb-advanced-form input[type="email"],
.kb-advanced-form input[type="tel"],
.kb-advanced-form select,
.kb-advanced-form textarea {
	width: 100%;
	min-height: var(--gm-tap);
	padding: 0.65rem 0.9rem;
	border: 1px solid #CBD5E1;
	border-radius: 10px;
	background: var(--gm-surface);
	color: var(--gm-text);
	font-size: 1rem;
}

.kb-advanced-form input:focus,
.kb-advanced-form select:focus,
.kb-advanced-form textarea:focus {
	border-color: var(--gm-blue);
	box-shadow: 0 0 0 4px var(--gm-blue-soft);
	outline: none;
}

.kb-advanced-form .kb-adv-form-label {
	color: var(--gm-navy);
	font-weight: 600;
	font-size: 0.9375rem;
}

.kb-advanced-form .kb-adv-form-required {
	color: var(--gm-red-ink);
}

.kb-advanced-form .kb-adv-form-submit-button,
.kb-advanced-form button[type="submit"] {
	min-height: var(--gm-tap);
	padding: 0.75rem 1.5rem;
	border: 0;
	border-radius: 12px;
	background: var(--gm-blue);
	color: #FFFFFF;
	font-weight: 600;
	cursor: pointer;
}

.kb-advanced-form .kb-adv-form-submit-button:hover,
.kb-advanced-form button[type="submit"]:hover {
	background: var(--gm-blue-hover);
}

/* ---------- FAQ (core Details block) ---------- */
.gm-faq details {
	margin: 0 0 0.75rem;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	background: var(--gm-surface);
}

.gm-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 56px;
	padding: 0.9rem 1.15rem;
	color: var(--gm-navy);
	font-family: var(--global-heading-font-family);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.gm-faq summary::-webkit-details-marker {
	display: none;
}

.gm-faq summary::after {
	content: "+";
	flex-shrink: 0;
	color: var(--gm-blue);
	font-size: 1.4rem;
	line-height: 1;
	transition: transform var(--gm-speed) var(--gm-ease);
}

.gm-faq details[open] summary::after {
	transform: rotate(45deg);
}

.gm-faq details > :not(summary) {
	margin: 0;
	padding: 0 1.15rem 1rem;
}

/* ---------- Policy drafts ---------- */
.gm-draft-banner {
	margin-bottom: 1.5rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid #F3C4C4;
	border-left: 4px solid var(--gm-red);
	border-radius: 10px;
	background: var(--gm-red-soft);
	color: var(--gm-red-ink);
	font-weight: 600;
}

/* ==========================================================================
   Shop / archives
   ========================================================================== */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--gm-navy);
	font-size: 0.9875rem;
	font-weight: 600;
	line-height: 1.35;
}

.woocommerce ul.products li.product .price {
	color: var(--gm-navy);
	font-weight: 600;
}

.woocommerce ul.products li.product .price del {
	color: var(--gm-muted);
	font-weight: 400;
}

.woocommerce ul.products li.product .price ins {
	color: var(--gm-red-ink);
	text-decoration: none;
}

.woocommerce span.onsale {
	top: 12px;
	right: 12px;
	left: auto;
	min-height: auto;
	padding: 0.25rem 0.65rem;
	font-size: 0.75rem;
	line-height: 1.4;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-ordering select.orderby {
	min-height: var(--gm-tap);
	border-radius: 10px;
}

/* Filter sidebar */
#secondary .widget {
	margin-bottom: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	background: var(--gm-surface);
}

#secondary .widget-title {
	margin-bottom: 0.6rem;
	color: var(--gm-navy);
	font-size: 0.9375rem;
}

#secondary .woocommerce-widget-layered-nav-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
	margin: 0;
	padding: 0;
}

#secondary .woocommerce-widget-layered-nav-list li a {
	flex: 1;
	padding-block: 0.5rem;
	color: var(--gm-text);
	text-decoration: none;
}

#secondary .woocommerce-widget-layered-nav-list li.chosen a {
	color: var(--gm-blue-ink);
	font-weight: 600;
}

#secondary .woocommerce-widget-layered-nav-list .count {
	color: var(--gm-muted);
	font-size: 0.8125rem;
}

.widget_price_filter .ui-slider .ui-slider-range,
.widget_price_filter .ui-slider .ui-slider-handle {
	background-color: var(--gm-blue) !important;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
	background-color: var(--gm-border) !important;
}

.gm-filter-toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	min-height: var(--gm-tap);
	padding: 0 1.1rem;
	border: 1px solid var(--gm-border);
	border-radius: 999px;
	background: var(--gm-surface);
	color: var(--gm-navy);
	font-weight: 600;
	cursor: pointer;
}

.gm-filter-close {
	display: none;
}

@media (max-width: 1024px) {
	.gm-filter-toggle {
		display: inline-flex;
	}

	.has-left-sidebar #secondary {
		position: fixed;
		z-index: 100000;
		top: 0;
		bottom: 0;
		left: 0;
		width: min(88vw, 360px);
		max-width: none;
		margin: 0;
		padding: 1rem 1rem 5.5rem;
		overflow-y: auto;
		background: var(--gm-bg);
		box-shadow: var(--gm-shadow-lg);
		transform: translateX(-105%);
		visibility: hidden;
		transition: transform 280ms var(--gm-ease), visibility 0s linear 280ms;
	}

	.gm-filters-open #secondary {
		transform: none;
		visibility: visible;
		transition: transform 280ms var(--gm-ease);
	}

	.gm-filters-open::after {
		content: "";
		position: fixed;
		z-index: 99999;
		inset: 0;
		background: rgba(17, 24, 39, 0.45);
	}

	.gm-filter-close {
		position: fixed;
		bottom: 1rem;
		left: 1rem;
		display: block;
		width: calc(min(88vw, 360px) - 2rem);
		min-height: 48px;
		border: 0;
		border-radius: 12px;
		background: var(--gm-blue);
		color: #FFFFFF;
		font-weight: 600;
	}
}

/* ==========================================================================
   Single product
   ========================================================================== */

.single-product div.product .product_title {
	font-size: clamp(1.6rem, 3.5vw, 2.25rem);
	line-height: 1.2;
}

.single-product div.product p.price,
.single-product div.product span.price {
	color: var(--gm-navy);
	font-size: 1.5rem;
	font-weight: 600;
}

.single-product div.product .price ins {
	color: var(--gm-red-ink);
	text-decoration: none;
}

.single-product .woocommerce-product-gallery {
	overflow: hidden;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius-lg);
	background: var(--gm-surface);
}

.single-product table.variations tr {
	display: block;
	margin-bottom: 0.75rem;
}

.single-product table.variations th,
.single-product table.variations td {
	display: block;
	padding: 0;
	text-align: left;
}

.single-product table.variations th.label {
	color: var(--gm-navy);
	font-weight: 600;
}

.gm-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.4rem;
}

.gm-pill {
	min-width: 64px;
	min-height: var(--gm-tap);
	padding: 0.4rem 1rem;
	border: 1.5px solid #CBD5E1;
	border-radius: 12px;
	background: var(--gm-surface);
	color: var(--gm-text);
	font-size: 0.9375rem;
	font-weight: 500;
	cursor: pointer;
}

.gm-pill:hover {
	border-color: var(--gm-blue);
	background: var(--gm-surface);
	color: var(--gm-blue-ink);
}

.gm-pill[aria-pressed="true"] {
	border-color: var(--gm-blue);
	background: var(--gm-blue-soft);
	color: var(--gm-blue-ink);
	box-shadow: inset 0 0 0 1px var(--gm-blue);
}

.gm-pill.is-unavailable {
	color: #94A3B8;
	text-decoration: line-through;
}

.single-product .reset_variations {
	display: inline-block;
	margin-top: 0.25rem;
	font-size: 0.875rem;
}

.single-product .woocommerce-variation-description {
	color: var(--gm-muted);
	font-size: 0.9375rem;
}

.single-product .single_add_to_cart_button {
	min-height: 52px;
	padding-inline: 2rem;
	font-size: 1rem;
}

.single-product .quantity .qty {
	min-height: 52px;
	border-radius: 12px;
}

/* Kadence "extras" (trust badges) + payment icons */
.single-product .product-extras {
	margin-top: 1.25rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	background: var(--gm-surface);
}

.single-product .product-extras ul {
	margin-bottom: 0;
}

.single-product .product-extras .kadence-svg-iconset {
	color: var(--gm-blue);
}

/* Tabs + specs */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	min-height: var(--gm-tap);
	font-weight: 600;
}

.woocommerce table.shop_attributes {
	overflow: hidden;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
}

.woocommerce table.shop_attributes th {
	width: 34%;
	background: var(--gm-bg);
	color: var(--gm-navy);
	font-weight: 600;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	padding: 0.7rem 1rem;
	border-color: var(--gm-border);
	font-style: normal;
}

.woocommerce table.shop_attributes td p {
	margin: 0;
	padding: 0;
}

/* Sticky add-to-cart bar (phones only) */
.gm-sticky-cart {
	display: none;
}

@media (max-width: 767px) {
	.gm-sticky-cart {
		position: fixed;
		z-index: 9990;
		left: 0;
		right: 0;
		bottom: 0;
		display: flex;
		align-items: center;
		gap: 0.75rem;
		padding: 0.6rem 16px calc(0.6rem + env(safe-area-inset-bottom));
		border-top: 1px solid var(--gm-border);
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 -6px 20px rgba(17, 24, 39, 0.08);
		transform: translateY(110%);
		transition: transform 260ms var(--gm-ease);
	}

	.gm-sticky-cart.is-visible {
		transform: none;
	}

	.gm-sticky-cart-info {
		display: flex;
		flex: 1;
		flex-direction: column;
		min-width: 0;
	}

	.gm-sticky-cart-title {
		overflow: hidden;
		color: var(--gm-navy);
		font-size: 0.8125rem;
		font-weight: 600;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.gm-sticky-cart-price {
		color: var(--gm-navy);
		font-size: 0.9375rem;
		font-weight: 600;
	}

	.gm-sticky-cart-price del {
		color: var(--gm-muted);
		font-weight: 400;
	}

	.gm-sticky-cart-button.button {
		flex-shrink: 0;
		min-height: 46px;
		padding: 0 1.1rem;
		border-radius: 12px;
		white-space: nowrap;
	}

	.single-product #colophon {
		padding-bottom: 72px;
	}
}

/* ==========================================================================
   Cart, checkout, My Account
   ========================================================================== */

.wc-block-components-sidebar .wp-block-woocommerce-cart-totals-block,
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
	padding: 1rem 1.25rem;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius-lg);
	background: var(--gm-surface);
}

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.contained {
	min-height: 52px;
	border-radius: 12px !important;
	background: var(--gm-blue) !important;
	color: #FFFFFF !important;
	font-weight: 600;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.contained:hover {
	background: var(--gm-blue-hover) !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input {
	border-radius: 10px !important;
}

.wc-block-components-sale-badge,
.wc-block-components-product-badge {
	border-radius: 999px;
}

.gm-checkout-secure {
	margin-top: 0.75rem;
	color: var(--gm-muted);
	font-size: 0.875rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0.4rem;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	background: var(--gm-surface);
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	min-height: var(--gm-tap);
	padding: 0 0.9rem;
	border-radius: 10px;
	color: var(--gm-text);
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background: var(--gm-blue-soft);
	color: var(--gm-blue-ink);
	font-weight: 600;
}

.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register {
	padding: 1.5rem;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius-lg);
	background: var(--gm-surface);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	min-height: var(--gm-tap);
	padding: 0.6rem 0.9rem;
	border: 1px solid #CBD5E1;
	border-radius: 10px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: var(--gm-radius);
}

/* Classic themes wrap Group blocks in an inner container; let flex/grid groups lay out their real children. */
.gm-section-head > .wp-block-group__inner-container,
.gm-features > .wp-block-group__inner-container {
	display: contents;
}

.gm-services .gm-feature h3 {
	margin-top: 0;
}

@media (min-width: 1025px) {
	.gm-features.gm-services {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Split panels: the photo fills its column without dictating the panel height. */
.gm-split .wp-block-column.gm-split-media {
	position: relative;
	min-height: 260px;
}

.gm-split .gm-split-media .wp-block-image {
	position: absolute;
	inset: 0;
}

.gm-split .gm-split-media img {
	min-height: 0;
}

/* Newsletter sits on navy: light labels. */
.gm-newsletter .kb-advanced-form .kb-adv-form-label,
.gm-newsletter .kb-advanced-form label {
	color: #E2E8F0;
}

.gm-newsletter .kb-advanced-form .kb-adv-form-required {
	color: #F4B4B4;
}

/* Filter lists (attributes, brands, categories) share one style. */
#secondary .wc-brand-list-layered-nav-product_brand,
#secondary .product-categories,
#secondary .woocommerce-widget-layered-nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

#secondary .wc-brand-list-layered-nav-product_brand li,
#secondary .product-categories li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
	margin: 0;
}

#secondary .wc-brand-list-layered-nav-product_brand li a,
#secondary .product-categories li a {
	flex: 1;
	padding-block: 0.5rem;
	color: var(--gm-text);
	text-decoration: none;
}

#secondary .product-categories .children {
	width: 100%;
	margin: 0 0 0 0.9rem;
	padding: 0;
	list-style: none;
}

#secondary .product-categories .current-cat > a,
#secondary .wc-brand-list-layered-nav-product_brand .chosen a {
	color: var(--gm-blue-ink);
	font-weight: 600;
}

/* Single product: sale badge sits on the photo. */
.single-product div.product {
	position: relative;
}

.single-product div.product > .onsale {
	top: 14px;
	right: auto;
	left: 14px;
	z-index: 5;
}

/* Content lists rendered by shortcodes: no default list indent. */
.entry-content .gm-cat-tiles,
.entry-content .gm-brand-grid,
.entry-content .gm-features {
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
}

/* Bigger consent checkbox. */
.kb-advanced-form .kb-accept-field input[type="checkbox"],
.kb-advanced-form .kb-checkbox-style {
	width: 22px;
	height: 22px;
	margin-top: 1px;
}

.kb-advanced-form .kb-accept-field label,
.kb-advanced-form .kb-radio-check-item label {
	display: inline-block;
	min-height: 24px;
	padding-block: 0.15rem;
}

/* Two-column product grid on phones: tighter card text. */
@media (max-width: 767px) {
	.woocommerce ul.products.products-list-view li.product,
	.woocommerce ul.products li.product .product-details {
		padding: 0.7rem 0.75rem 0.85rem;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.875rem;
	}

	.woocommerce ul.products li.product .button {
		width: 100%;
		padding-inline: 0.5rem;
		font-size: 0.875rem;
	}
}

/* Equal-height cards: push the add-to-cart button to the bottom. */
.woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
}

.woocommerce ul.products li.product .product-details {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.woocommerce ul.products li.product .product-action-wrap {
	margin-top: auto;
}

/* Long-form text pages: comfortable line length. */
.gm-policy,
.gm-faq {
	max-width: 780px;
	margin-inline: auto;
}

.gm-policy h2 {
	margin-top: 2rem;
	font-size: 1.375rem;
}

/* Cart/checkout blocks are "wide" aligned; keep them inside the content width. */
.entry-content .wp-block-woocommerce-cart.alignwide,
.entry-content .wp-block-woocommerce-checkout.alignwide {
	width: auto;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* ==========================================================================
   Dokan (multivendor) — match the Galaxy Mobile palette
   ========================================================================== */
:root {
	--dokan-button-background-color: var(--gm-blue);
	--dokan-button-border-color: var(--gm-blue);
	--dokan-button-hover-background-color: var(--gm-blue-hover);
	--dokan-button-hover-color: #FFFFFF;
	--dokan-button-text-color: #FFFFFF;
	--dokan-link-color: var(--gm-blue-ink);
	--dokan-link-hover-color: var(--gm-navy);
	--dokan-sidebar-background-color: var(--gm-navy);
	--dokan-sidebar-hover-background-color: var(--gm-blue);
	--dokan-toggle-active-color: var(--gm-blue);
}

.dokan-btn,
.dokan-btn-theme,
input[type="submit"].dokan-btn {
	min-height: var(--gm-tap);
	border-radius: 12px !important;
}

/* Vendor registration form */
.gm-vendor-apply .form-row,
.gm-vendor-apply .dokan-form-group {
	margin-bottom: 0.9rem;
}

.gm-vendor-apply input.input-text,
.gm-vendor-apply input[type="text"],
.gm-vendor-apply input[type="email"],
.gm-vendor-apply input[type="password"],
.gm-vendor-apply input[type="tel"],
.gm-vendor-apply select {
	width: 100%;
	min-height: var(--gm-tap);
	padding: 0.6rem 0.9rem;
	border: 1px solid #CBD5E1;
	border-radius: 10px;
	font-size: 1rem;
}

.gm-vendor-apply .split-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1rem;
}

.gm-vendor-apply .split-row > .form-row {
	width: 100% !important;
	float: none !important;
}

.gm-vendor-apply .woocommerce-Button,
.gm-vendor-apply button[type="submit"] {
	min-height: 48px;
	padding-inline: 1.75rem;
	border-radius: 12px;
	background: var(--gm-blue);
	color: #FFFFFF;
	font-weight: 600;
}

.gm-vendor-apply #url-alart-mgs,
.gm-vendor-apply .dokan-url-help {
	color: var(--gm-muted);
	font-size: 0.8125rem;
}

@media (max-width: 640px) {
	.gm-vendor-apply .split-row {
		grid-template-columns: 1fr;
	}
}

/* Store listing cards */
#dokan-seller-listing-wrap ul.dokan-seller-wrap li .store-wrapper {
	overflow: hidden;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	box-shadow: var(--gm-shadow-sm);
	transition: transform 260ms var(--gm-ease), box-shadow 260ms var(--gm-ease);
}

#dokan-seller-listing-wrap ul.dokan-seller-wrap li .store-wrapper:hover {
	transform: translateY(-4px);
	box-shadow: var(--gm-shadow-lg);
}

#dokan-seller-listing-wrap .store-content .store-data-container,
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery {
	background: linear-gradient(135deg, var(--gm-navy) 0%, #1F2937 100%) !important;
}

#dokan-seller-listing-wrap .store-content .store-data h2 a {
	color: #FFFFFF;
}

#dokan-store-listing-filter-wrap .dokan-btn-theme,
.dokan-store-products-filter-area .search-store-products,
.dokan-store-products-filter-area button {
	border-color: var(--gm-blue) !important;
	background: var(--gm-blue) !important;
	color: #FFFFFF !important;
}

/* Single store page */
.dokan-single-store .profile-frame {
	overflow: hidden;
	border-radius: var(--gm-radius-lg);
}

.dokan-single-store .dokan-store-tabs ul li a {
	min-height: var(--gm-tap);
}

.dokan-store-sidebar .widget,
#dokan-secondary .widget {
	margin-bottom: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--gm-border);
	border-radius: var(--gm-radius);
	background: var(--gm-surface);
}

/* Vendor dashboard */
.dokan-dashboard .dokan-dash-sidebar {
	border-radius: var(--gm-radius);
	overflow: hidden;
}

.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover {
	background: var(--gm-blue);
}

.dokan-btn-theme.dokan-btn-round,
#dokan-seller-listing-wrap .dokan-btn-theme {
	border-color: var(--gm-blue) !important;
	background-color: var(--gm-blue) !important;
	color: #FFFFFF !important;
}

/* Store header text on the navy panel. */
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery,
.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery *,
.dokan-single-store .profile-info-summery .store-name,
.dokan-single-store .dokan-store-info li,
.dokan-single-store .dokan-store-info a {
	color: #FFFFFF !important;
}

.dokan-single-store .dokan-store-info i {
	color: #A996FF !important;
}

/* Accessibility: crossed-out prices and inactive tabs need AA contrast. */
.price del,
.price del .woocommerce-Price-amount,
.gm-sticky-cart-price del {
	color: var(--gm-muted) !important;
	opacity: 1 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active) a {
	color: var(--gm-muted) !important;
}

/* ==========================================================================
   Redesign 2026-10-20 — owner palette, Electro-style header, hero slider
   ========================================================================== */

/* Owner's design tokens (kept under their names for future custom CSS). */
:root {
	--color-primary: #111827;
	--color-secondary: #6D4AFF;
	--color-accent: #B89552;
	--color-background: #FFFFFF;
	--color-surface: #F5F7FB;
	--color-surface-hover: #EEF2F8;
	--color-text: #172033;
	--color-text-muted: #64748B;
	--color-text-inverse: #FFFFFF;
	--color-border: #E2E8F0;
	--color-border-strong: #CBD5E1;
	--color-button: #6D4AFF;
	--color-button-hover: #5635D5;
	--color-button-text: #FFFFFF;
	--color-button-secondary: #111827;
	--color-success: #15803D;
	--color-sale: #C62828;
	--color-warning: #B45309;
	--shadow-card: 0 4px 18px rgba(17, 24, 39, 0.06);
	--shadow-hover: 0 10px 28px rgba(17, 24, 39, 0.12);
	--radius-card: 14px;
	--radius-button: 8px;

	--gm-header-dark: var(--color-primary);
	--gm-header-field: #1F2937;
	--gm-on-dark: #FFFFFF;
	--gm-on-dark-muted: #CBD5E1;
	--gm-on-dark-link: #A996FF;
}

body {
	background: var(--color-background);
	color: var(--color-text);
}

/* Premium badge (owner CSS) */
.badge-premium {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border: 1px solid #E5D4AD;
	border-radius: 999px;
	background: #F8F2E6;
	color: #75551F;
	font-size: 0.75rem;
	font-weight: 600;
}

/* Product cards follow the owner's card spec. */
.woocommerce ul.products li.product,
.wc-block-grid__product {
	border-color: var(--color-border);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
}

/* Buttons: 8px radius everywhere. */
.button,
.wp-block-button__link,
.kb-advanced-form .kb-adv-form-submit-button,
.kb-advanced-form button[type="submit"],
.gm-sticky-cart-button.button,
.gm-filter-close,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.contained,
.dokan-btn,
.dokan-btn-theme {
	border-radius: var(--radius-button) !important;
}

/* Muted text on the grey surface needs the slightly darker shade for AA. */
.gm-section-tint .gm-muted,
.gm-section-tint .gm-feature p {
	color: var(--gm-muted-strong);
}

/* ---------- Top bar (light, like Electro) ---------- */
#masthead .site-top-header-wrap .site-header-row-container-inner {
	background: var(--color-background);
	border-bottom: 0;
	color: var(--color-text-muted);
	font-size: 0.8125rem;
}

.gm-topbar-welcome {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 0.8125rem;
}

.gm-topbar-welcome a {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-left: 0.6rem;
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: none;
}

.gm-topbar-welcome .gm-icon {
	color: var(--color-secondary);
}

#masthead .site-top-header-wrap .header-navigation .header-menu-container > ul > li > a,
#masthead .secondary-navigation .menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 38px;
	padding: 0 0.85rem;
	color: var(--color-text-muted);
	font-size: 0.8125rem;
	font-weight: 500;
}

#masthead .site-top-header-wrap .header-navigation .header-menu-container > ul > li + li > a {
	border-left: 1px solid var(--color-border);
}

#masthead .site-top-header-wrap .header-navigation .header-menu-container > ul > li > a:hover {
	color: var(--color-secondary);
}

/* Small line icons before top-bar links. */
[class*="gm-ico-"] > a::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: var(--gm-ico) center / contain no-repeat;
	mask: var(--gm-ico) center / contain no-repeat;
}

.gm-ico-pin { --gm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.gm-ico-truck { --gm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); }
.gm-ico-bag { --gm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 7h12l1 13H5L6 7z'/%3E%3Cpath d='M9 7V6a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E"); }
.gm-ico-user { --gm-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }

/* ---------- Main bar: dark rounded panel ---------- */
#masthead .site-main-header-wrap .site-header-row-container-inner,
#masthead .site-main-header-wrap.item-is-stuck .site-header-row-container-inner,
#masthead .item-is-stuck .site-header-row-container-inner {
	background: var(--color-background);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

#masthead .item-is-stuck {
	box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

#main-header .site-main-header-wrap .site-header-row-container-inner > .site-container {
	padding-inline: clamp(16px, 2.2vw, 32px);
	border-radius: 999px;
	background: var(--gm-header-dark);
	color: var(--gm-on-dark);
}

#main-header .site-main-header-inner-wrap {
	min-height: 76px;
}

.site-header-main-section-center .gm-search {
	width: clamp(340px, 46vw, 760px);
}

/* Departments button + panel */
.site-header-main-section-center .site-header-item {
	display: flex;
	align-items: center;
	gap: clamp(0.5rem, 1.6vw, 1.5rem);
}

.gm-departments {
	position: relative;
}

.gm-departments-toggle {
	display: grid;
	place-items: center;
	width: var(--gm-tap);
	height: var(--gm-tap);
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--gm-on-dark);
	cursor: pointer;
}

.gm-departments-toggle:hover,
.gm-departments-toggle[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.1);
	color: var(--gm-on-dark);
}

.gm-departments-panel {
	position: absolute;
	z-index: 1001;
	top: calc(100% + 18px);
	left: -12px;
	width: 300px;
	padding: 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	background: var(--color-background);
	box-shadow: var(--shadow-hover);
}

.gm-departments-title {
	margin: 0.25rem 0.5rem 0.5rem;
	color: var(--color-text-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gm-departments-panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gm-departments-panel a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 0.6rem;
	border-radius: 8px;
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: none;
}

.gm-departments-panel ul ul a {
	min-height: 36px;
	padding-left: 1.4rem;
	color: var(--color-text-muted);
	font-weight: 500;
}

.gm-departments-panel a:hover,
.gm-departments-panel a:focus-visible {
	background: var(--color-surface);
	color: var(--color-secondary);
}

.gm-departments-extra {
	border-top: 1px solid var(--color-border);
}

/* Search inside the dark bar */
#masthead .gm-search {
	display: flex;
	align-items: center;
	padding: 4px;
	border-radius: 999px;
	background: var(--gm-header-field);
}

#masthead .gm-search-input[type="search"] {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 0.5rem 1rem 0.5rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--gm-on-dark);
}

#masthead .gm-search-input[type="search"]::placeholder {
	color: var(--gm-on-dark-muted);
}

#masthead .gm-search-input[type="search"]:focus {
	background: transparent;
	box-shadow: none;
}

#masthead .gm-search:focus-within {
	box-shadow: 0 0 0 3px rgba(169, 150, 255, 0.55);
}

.gm-search-cat {
	flex: 0 0 auto;
	width: auto;
	max-width: 170px;
	min-height: 44px;
	padding: 0 2rem 0 1rem;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CBD5E1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.6rem center / 14px no-repeat;
	color: var(--gm-on-dark-muted);
	font-size: 0.9375rem;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.gm-search-cat option {
	color: var(--color-text);
	background: var(--color-background);
}

.gm-search-cat:focus-visible {
	outline: 2px solid var(--gm-on-dark-link);
	outline-offset: -2px;
}

#masthead .gm-search-submit {
	position: static;
	flex: 0 0 auto;
	width: 56px;
	height: 44px;
	min-height: 44px;
	border-radius: 999px;
	background: var(--color-accent);
	color: var(--color-primary);
	transform: none;
}

#masthead .gm-search-submit:hover,
#masthead .gm-search-submit:focus-visible {
	background: #C9A869;
	color: var(--color-primary);
}

#masthead .gm-search-results {
	top: calc(100% + 10px);
}

/* Account + cart on dark */
#masthead .gm-account-link,
#masthead .header-cart-button,
#masthead .menu-toggle-open,
#masthead .gm-cart-subtotal {
	color: var(--gm-on-dark);
}

#masthead .gm-account-link:hover,
#masthead .header-cart-button:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--gm-on-dark);
}

#masthead .header-cart-wrap .header-cart-button .header-cart-total,
#masthead .header-mobile-cart-wrap .header-cart-button .header-cart-total {
	top: 4px;
	right: 2px;
	background: var(--color-accent);
	color: var(--color-primary);
}

/* Show the count bubble even when the cart is empty (Electro style). */
.header-cart-total.header-cart-is-empty-true {
	display: block;
}

.gm-cart-subtotal {
	margin-left: 0.15rem;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	white-space: nowrap;
}

.gm-cart-subtotal .woocommerce-Price-amount {
	color: inherit;
}

/* ---------- Category menu row ---------- */
#masthead .site-bottom-header-wrap .site-header-row-container-inner {
	border-top: 0;
	background: var(--color-background);
}

#masthead .site-bottom-header-wrap .site-header-section-left,
#masthead .site-bottom-header-wrap .site-header-section-left .site-header-item,
#masthead .site-bottom-header-wrap .header-navigation,
#masthead .site-bottom-header-wrap .header-menu-container {
	flex: 1;
	width: 100%;
}

#masthead .site-bottom-header-wrap .header-menu-container > ul {
	display: flex;
	width: 100%;
}

#masthead .site-bottom-header-wrap .header-menu-container > ul > li > a {
	color: var(--color-primary);
	font-weight: 600;
	font-size: 0.9375rem;
}

#masthead .site-bottom-header-wrap .header-menu-container > ul > li > a:hover {
	color: var(--color-secondary);
}

#masthead .site-bottom-header-wrap .header-menu-container > ul > li.gm-menu-deals > a {
	color: var(--color-sale);
}

#masthead .site-bottom-header-wrap .header-menu-container > ul > li.gm-menu-note {
	margin-left: auto;
}

#masthead .site-bottom-header-wrap .header-menu-container > ul > li.gm-menu-note > a {
	color: var(--color-primary);
	font-weight: 700;
}

#mobile-drawer .gm-menu-note > a {
	color: var(--color-text-muted) !important;
	font-size: 0.875rem;
}

/* ---------- Mobile header: dark bar + dark search row ---------- */
#mobile-header .site-main-header-wrap .site-header-row-container-inner,
#mobile-header .site-bottom-header-wrap .site-header-row-container-inner {
	background: var(--gm-header-dark);
}

#mobile-header .menu-toggle-open,
#mobile-header .gm-account-link,
#mobile-header .header-cart-button {
	color: var(--gm-on-dark);
}

#mobile-header .gm-search {
	width: 100%;
}

@media (max-width: 999px) {
	.gm-search-cat {
		max-width: 120px;
		font-size: 0.875rem;
	}
}

@media (max-width: 480px) {
	.gm-search-cat {
		display: none;
	}
}

/* ---------- Footer: light logo, no white pill ---------- */
.gm-footer-logo {
	padding: 0;
	background: transparent;
}

/* ==========================================================================
   Hero slider
   ========================================================================== */
.gm-slider {
	position: relative;
	overflow: hidden;
	margin-top: 0.75rem;
	background: var(--color-surface);
}

.gm-slides > .wp-block-group__inner-container,
.gm-slides:not(:has(> .wp-block-group__inner-container)) {
	display: grid;
}

.gm-slide {
	grid-area: 1 / 1;
	display: flex;
	align-items: center;
	min-height: clamp(380px, 44vw, 540px);
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3.5rem, 6vw, 4.5rem);
	opacity: 0;
	visibility: hidden;
	transition: opacity 600ms var(--gm-ease), visibility 0s linear 600ms;
}

.gm-slide > .wp-block-group__inner-container {
	width: 100%;
}

.gm-slide.is-active,
.gm-slider:not(.is-ready) .gm-slide:first-child,
.gm-slider:not(.is-ready) .wp-block-group__inner-container > .gm-slide:first-child {
	opacity: 1;
	visibility: visible;
	transition: opacity 600ms var(--gm-ease);
}

.gm-slide .wp-block-columns {
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
	margin: 0;
}

.gm-slide .gm-slide-text > * {
	max-width: 34rem;
}

.gm-slide .gm-eyebrow {
	margin-bottom: 0.75rem;
	color: var(--color-secondary);
}

.gm-slide-title {
	margin: 0 0 1rem;
	color: var(--color-primary);
	font-size: clamp(2.1rem, 5.4vw, 3.9rem);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.gm-slide-title strong {
	color: var(--color-secondary);
	font-weight: 700;
}

.gm-slide-lead {
	margin-bottom: 1.5rem;
	color: var(--color-text-muted);
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.gm-slide-lead strong {
	color: var(--color-primary);
	font-size: 1.35em;
	font-weight: 700;
}

.gm-slide .wp-block-image {
	margin: 0;
}

.gm-slide .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: var(--shadow-hover);
}

/* Variants */
.gm-slide--light {
	background:
		radial-gradient(55% 75% at 90% 15%, rgba(109, 74, 255, 0.16) 0%, rgba(109, 74, 255, 0) 70%),
		linear-gradient(180deg, #FFFFFF 0%, var(--color-surface) 100%);
}

.gm-slide--dark {
	background:
		radial-gradient(60% 80% at 85% 20%, rgba(109, 74, 255, 0.35) 0%, rgba(109, 74, 255, 0) 70%),
		var(--color-primary);
}

.gm-slide--dark .gm-slide-title,
.gm-slide--dark .gm-slide-lead strong {
	color: var(--gm-on-dark);
}

.gm-slide--dark .gm-slide-title strong,
.gm-slide--dark .gm-eyebrow {
	color: var(--gm-on-dark-link);
}

.gm-slide--dark .gm-slide-lead {
	color: var(--gm-on-dark-muted);
}

.gm-slide--dark .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--gm-on-dark);
}

.gm-slide--gold {
	background:
		radial-gradient(55% 75% at 90% 15%, rgba(184, 149, 82, 0.22) 0%, rgba(184, 149, 82, 0) 70%),
		#FBF7EF;
}

.gm-slide--gold .gm-eyebrow {
	color: #75551F;
}

.gm-slide--gold .gm-slide-title strong {
	color: #75551F;
}

.gm-slide--gold .gm-slide-lead {
	color: #4B5563;
}

/* Controls */
.gm-slider-controls {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 1rem;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	pointer-events: none;
}

.gm-slider-controls > * {
	pointer-events: auto;
}

.gm-slider-dots {
	display: flex;
	gap: 0.4rem;
}

.gm-slider-dot {
	position: relative;
	width: 28px;
	height: 28px;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.gm-slider-dot::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #94A3B8;
	transform: translate(-50%, -50%);
	transition: width 260ms var(--gm-ease), background-color 260ms var(--gm-ease);
}

.gm-slider-dot[aria-current="true"]::after {
	width: 28px;
	background: var(--color-secondary);
}

.gm-slider-arrow,
.gm-slider-pause {
	display: grid;
	place-items: center;
	width: var(--gm-tap);
	height: var(--gm-tap);
	min-height: 0;
	padding: 0;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--color-primary);
	box-shadow: var(--shadow-card);
	cursor: pointer;
}

.gm-slider-arrow:hover,
.gm-slider-pause:hover {
	background: #FFFFFF;
	color: var(--color-secondary);
}

.gm-slider-pause {
	width: 36px;
	height: 36px;
}

@media (min-width: 1025px) {
	.gm-slider-arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

	.gm-slider-prev {
		left: max(12px, calc((100vw - var(--global-content-width, 1280px)) / 2 - 64px));
	}

	.gm-slider-next {
		right: max(12px, calc((100vw - var(--global-content-width, 1280px)) / 2 - 64px));
	}

	.gm-slider-controls {
		position: static;
	}

	.gm-slider-dots,
	.gm-slider-pause {
		position: absolute;
		bottom: 1.25rem;
	}

	.gm-slider-dots {
		left: 50%;
		transform: translateX(-50%);
	}

	.gm-slider-pause {
		left: calc(50% + 70px);
	}
}

@media (max-width: 781px) {
	.gm-slide {
		min-height: 0;
		padding-block: 1.75rem 4.5rem;
	}

	.gm-slide .wp-block-columns {
		gap: 1.25rem;
	}

	.gm-slide .wp-block-image img {
		aspect-ratio: 16 / 10;
	}

	.gm-slide-title {
		font-size: clamp(1.9rem, 8vw, 2.4rem);
	}
}

@media (max-width: 1024px) {
	.gm-slider-arrow {
		width: 40px;
		height: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gm-slide,
	.gm-slide.is-active {
		transition: none;
	}
}

/* Category row spans the full container so the free-shipping note sits far right. */
#main-header .site-bottom-header-inner-wrap {
	display: flex;
}

#main-header .site-bottom-header-inner-wrap .site-header-bottom-section-right:empty {
	display: none;
}

.gm-topbar-welcome a {
	text-decoration: none;
}

/* Slider crossfade: incoming slide fades in over a solid outgoing slide. */
.gm-slide.is-active {
	z-index: 2;
}

.gm-slide.is-prev {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: none;
}

/* Slider: 44px tap targets for every control. */
.gm-slider-arrow,
.gm-slider-pause {
	width: var(--gm-tap) !important;
	height: var(--gm-tap) !important;
}

.gm-slider-dot {
	width: 32px;
	height: var(--gm-tap);
}

/* Slider on phones/tablets: compact photo so the controls stay on screen. */
@media (max-width: 781px) {
	.gm-slide .gm-slide-media {
		order: -1;
	}

	.gm-slide .wp-block-image img {
		aspect-ratio: 16 / 9;
		max-height: 34vh;
		border-radius: 14px;
	}

	.gm-slide .wp-block-image {
		max-width: 560px;
	}

	.gm-slide .gm-eyebrow {
		margin-bottom: 0.4rem;
	}

	.gm-slide-title {
		margin-bottom: 0.6rem;
	}

	.gm-slide-lead {
		margin-bottom: 1rem;
	}
}

/* Top bar: keep it on one line on smaller desktops. */
@media (max-width: 1240px) {
	.gm-topbar-welcome {
		font-size: 0;
	}

	.gm-topbar-welcome a {
		margin-left: 0;
		font-size: 0.8125rem;
	}
}

@media (max-width: 781px) {
	.gm-slide {
		padding-block: 1rem 4rem;
	}

	.gm-slide .wp-block-image img {
		max-height: 30vh;
	}
}

#masthead .header-html .gm-topbar-welcome a {
	text-decoration: none;
}

/* Slider: fit short laptop screens so dots and arrows stay visible. */
@media (min-width: 782px) {
	.gm-slide {
		min-height: clamp(360px, calc(100vh - 230px), 540px);
		padding-block: clamp(1.5rem, 3.5vh, 3rem) clamp(3.25rem, 7vh, 4.5rem);
	}

	.gm-slide .wp-block-image img {
		max-height: calc(100vh - 330px);
		min-height: 240px;
	}
}

/* Clearly visible arrows and dots on every slide colour. */
.gm-slider-arrow {
	border-color: transparent;
	background: var(--color-primary);
	color: #FFFFFF;
	box-shadow: 0 6px 16px rgba(17, 24, 39, 0.25);
}

.gm-slider-arrow:hover,
.gm-slider-arrow:focus-visible {
	background: var(--color-secondary);
	color: #FFFFFF;
}

@media (min-width: 1025px) {
	.gm-slider-prev {
		left: max(12px, calc((100vw - var(--global-content-width, 1280px)) / 2 - 22px));
	}

	.gm-slider-next {
		right: max(12px, calc((100vw - var(--global-content-width, 1280px)) / 2 - 22px));
	}
}

.gm-slider-dots {
	padding: 0 0.4rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
}

/* Arrows/dots/pause must sit above the slides (active slide has z-index 2). */
.gm-slider-arrow,
.gm-slider-dots,
.gm-slider-pause {
	z-index: 5;
}

/* Short laptop screens: scale the headline with the viewport height. */
@media (min-width: 782px) and (max-height: 820px) {
	.gm-slide-title {
		font-size: clamp(2rem, 7vh, 3.9rem);
		margin-bottom: 0.6rem;
	}

	.gm-slide .gm-eyebrow {
		margin-bottom: 0.4rem;
	}

	.gm-slide-lead {
		margin-bottom: 1rem;
	}

	.gm-slide {
		min-height: 0;
		padding-block: 1.25rem 3.25rem;
	}

	.gm-slide .wp-block-image img {
		max-height: calc(100vh - 290px);
		min-height: 200px;
	}

	.gm-slider-dots,
	.gm-slider-pause {
		bottom: 0.6rem;
	}
}

/* Side arrows only where there's room outside the content; otherwise they join the dots row. */
@media (min-width: 1360px) {
	.gm-slider-prev {
		left: calc((100vw - var(--global-content-width, 1280px)) / 2 - 60px);
	}

	.gm-slider-next {
		right: calc((100vw - var(--global-content-width, 1280px)) / 2 - 60px);
	}
}

@media (min-width: 1025px) and (max-width: 1359px) {
	.gm-slider-controls {
		position: absolute;
		bottom: 0.6rem;
	}

	.gm-slider-arrow,
	.gm-slider-dots,
	.gm-slider-pause {
		position: static;
		transform: none;
	}
}
