/**
 * Amber Flyer Manager — public styles.
 * Uses the Amber Market design tokens supplied by the client, not a new
 * visual system, so this sits naturally inside the existing site.
 */
:root {
	--amber-primary: #1BB24B;
	--amber-accent-light: #5BE688;
	--amber-ink: #0D1615;
	--amber-secondary-text: #727A72;
	--amber-24hr: #F2A81D;
	--amber-surface: #F4F7F4;
	--amber-divider: #EBEBEB;
	--amber-card-radius: 25px;
	--amber-badge-radius: 12.5px;
	--amber-max-width: 1280px;
}

.amber-fm-stores-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	max-width: var(--amber-max-width);
	margin: 0 auto;
	padding: 0 20px;
	font-family: 'Inter', sans-serif;
}

@media (max-width: 767px) {
	.amber-fm-stores-grid {
		grid-template-columns: 1fr;
	}
}

.amber-fm-stores-grid--preview {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991px) {
	.amber-fm-stores-grid--preview {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.amber-fm-stores-grid--preview {
		grid-template-columns: 1fr;
	}
}

.amber-fm-store-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--amber-divider);
	border-radius: var(--amber-card-radius);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.amber-fm-store-card-link {
	display: block;
	text-decoration: none;
	color: var(--amber-ink);
}

.amber-fm-store-card:hover,
.amber-fm-store-card:focus-visible {
	box-shadow: 0 8px 24px rgba(13, 22, 21, 0.1);
	transform: translateY(-2px);
	outline: none;
}

.amber-fm-store-card:focus-visible {
	outline: 2px solid var(--amber-primary);
	outline-offset: 2px;
}

.amber-fm-store-photo {
	aspect-ratio: 3 / 2;
	background: var(--amber-surface);
	overflow: hidden;
}

.amber-fm-store-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.amber-fm-store-photo--placeholder {
	background: linear-gradient(135deg, #1BB24B, #0D1615);
	display: flex;
	align-items: center;
	justify-content: center;
}

.amber-fm-store-photo--placeholder-mark {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.85);
	text-transform: uppercase;
}

.amber-fm-store-body {
	padding: 20px;
}

.amber-fm-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: var(--amber-badge-radius);
	margin-bottom: 10px;
}

/* Client-requested: both hours badges now match exactly - the same
   green (--amber-accent-light) background with solid black text, per
   explicit instruction (not the near-black --amber-ink token, and not
   the cream/dark-green pairing used here previously). */
.amber-fm-badge--24hr {
	background: var(--amber-accent-light);
	color: #000000;
}

.amber-fm-badge--hours {
	background: var(--amber-accent-light);
	color: #000000;
}

.amber-fm-store-name {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 4px;
	color: var(--amber-ink);
}

.amber-fm-store-meta {
	font-size: 13px;
	color: var(--amber-secondary-text);
	margin: 0 0 8px;
}

.amber-fm-store-address,
.amber-fm-info-row {
	font-size: 14px;
	color: var(--amber-secondary-text);
	margin: 0 0 12px;
	line-height: 1.5;
}

.amber-fm-store-address--pending,
.amber-fm-info-row--pending {
	font-style: italic;
}

.amber-fm-store-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	flex-wrap: nowrap;
	padding: 0 20px 20px;
	margin-top: auto;
}

.amber-fm-store-link {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: var(--amber-primary);
	text-decoration: none;
	white-space: nowrap;
}

.amber-fm-store-link:hover,
.amber-fm-store-link:focus-visible {
	text-decoration: underline;
}

.amber-fm-empty {
	text-align: center;
	color: var(--amber-secondary-text);
	padding: 40px 20px;
}

/* Single store page */
.amber-fm-single-store {
	font-family: 'Inter', sans-serif;
	color: var(--amber-ink);
}

.amber-fm-single-store__inner {
	max-width: var(--amber-max-width);
	margin: 0 auto;
	padding: 40px 20px;
}

.amber-fm-single-store__photo {
	aspect-ratio: 3 / 2;
	max-width: 640px;
	border-radius: var(--amber-card-radius);
	overflow: hidden;
	margin-bottom: 20px;
}

.amber-fm-single-store__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.amber-fm-single-store__title {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 6px;
}

.amber-fm-single-store__subtitle {
	color: var(--amber-secondary-text);
	margin: 0 0 20px;
}

.amber-fm-single-store__info {
	background: var(--amber-surface);
	border-radius: var(--amber-card-radius);
	padding: 24px;
	margin: 24px 0;
}

.amber-fm-button {
	display: inline-block;
	background: var(--amber-primary);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	padding: 10px 20px;
	border-radius: var(--amber-badge-radius);
	text-decoration: none;
	margin-right: 12px;
}

.amber-fm-button--outline {
	background: transparent;
	color: var(--amber-primary);
	border: 1px solid var(--amber-primary);
}

.amber-fm-single-store__offers {
	margin: 32px 0;
}

.amber-fm-no-flyer {
	background: var(--amber-surface);
	border: 1px dashed var(--amber-divider);
	border-radius: var(--amber-card-radius);
	padding: 24px;
	color: var(--amber-secondary-text);
	text-align: center;
}

/* Flyer viewer */
.amber-fm-viewer {
	max-width: 640px;
}

.amber-fm-viewer-pages {
	position: relative;
	border-radius: var(--amber-card-radius);
	overflow: hidden;
	border: 1px solid var(--amber-divider);
	background: var(--amber-surface);
}

.amber-fm-viewer-page {
	display: none;
	width: 100%;
	height: auto;
}

.amber-fm-viewer-page.is-active {
	display: block;
}

.amber-fm-viewer-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 14px;
}

.amber-fm-viewer-prev,
.amber-fm-viewer-next {
	background: var(--amber-primary);
	color: #fff;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 16px;
	cursor: pointer;
}

.amber-fm-viewer-count {
	font-size: 14px;
	color: var(--amber-secondary-text);
}

.amber-fm-viewer-download {
	margin-top: 14px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.amber-fm-viewer-zoom-btn {
	display: inline-block;
	background: transparent;
	color: var(--amber-primary);
	font-weight: 600;
	font-size: 14px;
	padding: 10px 20px;
	border-radius: var(--amber-badge-radius);
	border: 1px solid var(--amber-primary);
	cursor: pointer;
}

.amber-fm-viewer-page {
	cursor: zoom-in;
}

.amber-fm-viewer-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(13, 22, 21, 0.92);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.amber-fm-viewer-lightbox[hidden] {
	display: none;
}

/* Body scroll-lock while the flyer lightbox is open (restored on close). */
body.amber-fm-viewer-lock {
	overflow: hidden;
}

.amber-fm-viewer-lightbox img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 8px;
	cursor: zoom-out;
}

.amber-fm-viewer-lightbox-close {
	position: absolute;
	top: 20px;
	right: 24px;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

/* Offers picker */
.amber-fm-offers-picker {
	max-width: var(--amber-max-width);
	margin: 0 auto;
	padding: 40px 20px;
	font-family: 'Inter', sans-serif;
}

.amber-fm-offers-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: #fff;
	border-radius: 24px;
	padding: 28px 40px;
	box-shadow: 0 12px 40px rgba(13, 22, 21, 0.06);
	margin-bottom: 40px;
}

.amber-fm-offers-select-wrap {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 320px;
	max-width: 420px;
}

.amber-fm-offers-select-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--amber-ink);
}

.amber-fm-offers-select {
	appearance: none;
	-webkit-appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230D1615' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 20px center;
	border: 1px solid var(--amber-divider);
	border-radius: 12px;
	padding: 14px 46px 14px 18px;
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--amber-ink);
	cursor: pointer;
}

.amber-fm-offers-select:focus-visible {
	outline: 2px solid var(--amber-primary);
	outline-offset: 2px;
}

.amber-fm-offers-safe-badge {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--amber-surface);
	border-radius: 16px;
	padding: 14px 22px;
}

.amber-fm-offers-safe-icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--amber-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	line-height: 1;
}

.amber-fm-offers-safe-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.amber-fm-offers-safe-copy strong {
	font-size: 14px;
	font-weight: 700;
	color: var(--amber-ink);
}

.amber-fm-offers-safe-sub {
	font-size: 13px;
	color: var(--amber-secondary-text);
}

.amber-fm-offers-store-panel {
	display: grid;
	grid-template-columns: minmax(220px, 300px) 1fr;
	gap: 48px;
}

.amber-fm-offers-info {
	padding-right: 48px;
	border-right: 1px solid var(--amber-divider);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.amber-fm-offers-info-num {
	font-size: 72px;
	font-weight: 800;
	line-height: 1;
	color: #D9DED9;
	margin-bottom: 8px;
}

.amber-fm-offers-info-type {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--amber-primary);
	margin-bottom: 8px;
}

.amber-fm-offers-info-name {
	font-size: 44px;
	font-weight: 800;
	line-height: 1.05;
	color: var(--amber-ink);
	margin: 0 0 14px;
}

.amber-fm-offers-info-address {
	font-size: 16px;
	color: var(--amber-secondary-text);
	margin: 0 0 18px;
}

.amber-fm-offers-info-link {
	margin: 20px 0 0;
}

.amber-fm-offers-info-link a {
	font-size: 14px;
	font-weight: 600;
	color: var(--amber-primary);
	text-decoration: none;
}

.amber-fm-offers-info-link a:hover {
	text-decoration: underline;
}

.amber-fm-offers-flyer {
	background: var(--amber-surface);
	border-radius: 24px;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
}

.amber-fm-offers-flyer .amber-fm-viewer {
	max-width: 100%;
	width: 100%;
}

.amber-fm-offers-empty {
	text-align: center;
	max-width: 420px;
	margin: 0 auto;
}

.amber-fm-offers-empty-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--amber-accent-light);
	margin-bottom: 20px;
}

.amber-fm-offers-empty-icon {
	color: var(--amber-primary);
	font-size: 26px;
	line-height: 1;
}

.amber-fm-offers-empty h3 {
	font-size: 24px;
	font-weight: 700;
	color: var(--amber-ink);
	margin: 0 0 10px;
}

.amber-fm-offers-empty p {
	font-size: 15px;
	line-height: 1.5;
	color: var(--amber-secondary-text);
	margin: 0;
}

@media (max-width: 800px) {
	.amber-fm-offers-toolbar {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 24px;
	}
	/* Root cause of the huge mobile gap: .amber-fm-offers-select-wrap's
	   own flex: 1 1 320px (below) sets a 320px flex-basis meant to read as
	   a MIN-WIDTH in the desktop row layout above - but once the toolbar
	   switches to flex-direction:column here, that same 320px is read as
	   a MIN-HEIGHT instead, forcing the dropdown's wrapper to a fixed
	   320px tall box (its real content is ~78px) and pushing the safe-
	   mapping badge down by the difference. Resetting the basis to auto
	   lets it size to its actual content, same as the badge already does. */
	.amber-fm-offers-select-wrap {
		max-width: 100%;
		flex: 0 0 auto;
	}
	.amber-fm-offers-store-panel {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.amber-fm-offers-info {
		padding-right: 0;
		border-right: none;
		padding-bottom: 28px;
		border-bottom: 1px solid var(--amber-divider);
	}
	.amber-fm-offers-info-num {
		font-size: 48px;
	}
	.amber-fm-offers-info-name {
		font-size: 32px;
	}
}

/* ==========================================================================
   Our Stores page (post 141) - Ghost Mode: summary bar + 4-col grid
   ========================================================================== */

.amber-fm-stores-summary {
	background: #06261E;
	border-radius: 20px;
	padding: 40px 48px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 48px;
	margin: 0 0 40px;
}

.amber-fm-stores-summary-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.amber-fm-stores-summary-num {
	font-family: 'Inter', sans-serif;
	font-size: 40px;
	font-weight: 800;
	color: #1BB24B;
	line-height: 1;
}

.amber-fm-stores-summary-label {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}

.amber-fm-stores-summary-note {
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.85);
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 0 auto;
	max-width: 560px;
}

.amber-fm-stores-summary-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #1BB24B;
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.amber-fm-stores-summary {
		padding: 32px;
		gap: 24px;
	}
	.amber-fm-stores-summary-note {
		margin-left: 0;
		max-width: 100%;
	}
}

/* Remove the old "All Our Store Locations" heading block - not in reference */
.elementor-element-116f4ee3,
.elementor-element-7766de51 {
	display: none !important;
}

.elementor-element-6645626e {
	width: 100% !important;
	flex: 0 0 100% !important;
	max-width: 100% !important;
}

/* 4-column desktop grid for the full Our Stores listing (distinct from the
   3-col --preview modifier used elsewhere) */
.elementor-element-b1b6e22 .amber-fm-stores-grid {
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 24px !important;
}

@media (max-width: 1100px) {
	.elementor-element-b1b6e22 .amber-fm-stores-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 600px) {
	.elementor-element-b1b6e22 .amber-fm-stores-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Actions row: divider above, arrow on View Offers, disabled state when a
   store currently has no live flyer. */
.amber-fm-store-actions {
	border-top: 1px solid var(--amber-divider);
	padding-top: 14px;
}

.amber-fm-store-link--offers::after {
	content: '\2197\FE0E';
	font-family: inherit;
	margin-left: 4px;
	display: inline-block;
}

.amber-fm-store-link--disabled {
	color: var(--amber-secondary-text) !important;
	opacity: 0.6;
	cursor: default;
	pointer-events: none;
}

/* ==========================================================================
   Homepage redesign blocks (hero media, live offers, promise, product cards,
   CTA). Scoped to the homepage via specific classes so other pages that
   share amber-public.css are unaffected.
   ========================================================================== */

/* ---- Homepage hero (section 97f1086): reverted back to the standard
   two-column "Fresh choices/Better value" layout - amber_hero_content
   (left) + amber_hero_media (right, the map illustration + 8 store
   markers). The full-bleed slideshow overrides that used to live here
   are gone; this section now behaves like any other boxed 2-column
   Elementor section (see e.g. #4153901), so no special-case CSS is
   needed for it any more. ---- */

/* Full-bleed safety net for the slideshow specifically: the theme's own
   .content-area wrapper caps at 1440px, which would still leave side
   margins on wider screens even with the container reset above. The
   viewport-breakout rule on .amber-hero-slideshow itself (see
   amber-hero-slideshow.css) handles that regardless of ancestor width;
   this just guarantees no horizontal scrollbar results from it. */
html, body {
	max-width: 100%;
	overflow-x: hidden;
}

/* Header Ghost Mode - compact nav starting mid-header, no CTA button.
   Login now lives as a normal menu item (see class-amber-fm-portal.php's
   filter_login_nav_item), so the theme's whole CTA slot is unused. */
html .uicore-extra.uicore-extra,
.uicore-mobile-head-right .uicore-cta-wrapper {
	display: none !important;
}

.uicore-menu-container.uicore-nav {
	display: flex !important;
	justify-content: flex-end !important;
}

ul.uicore-menu {
	gap: 8px !important;
}

ul.uicore-menu > li.menu-item > a {
	font-family: 'Inter', sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #0D1615 !important;
	padding: 0 13px !important;
}

/* ---- Hero content (left column) ---- */
.amber-hero-content {
	max-width: 760px;
}

.amber-hero-eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #18AD50;
	margin: 0 0 24px;
}

.amber-hero-title {
	margin: 0;
	padding: 0;
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	font-size: clamp(72px, 6.2vw, 108px);
	font-weight: 850;
	letter-spacing: -0.075em;
	line-height: 0.88;
	color: #0D1615;
	white-space: nowrap;
	/* The active theme/Elementor Global Kit applies text-transform:
	   capitalize to headings site-wide, which title-cases this H1's
	   already-correct sentence-case text ("Fresh choices." becomes
	   "Fresh Choices."). Scoped override, not a blanket fix, so other
	   headings keep the theme's default. */
	text-transform: none;
}

.amber-hero-title span {
	color: #18AD50;
}

.amber-hero-desc {
	font-family: 'Inter', sans-serif;
	font-size: 19px;
	line-height: 1.65;
	font-weight: 400;
	color: #626a63;
	max-width: 650px;
	margin-top: 40px;
	margin-bottom: 0;
}

.amber-hero-buttons {
	display: flex;
	align-items: center;
	gap: 34px;
	margin-top: 34px;
}

.amber-hero-btn-primary {
	display: inline-flex;
	align-items: center;
	height: 56px;
	padding: 0 26px;
	border-radius: 8px;
	background: #18AD50;
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.amber-hero-btn-arrow {
	margin-left: 14px;
	font-size: 15px;
}

.amber-hero-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #0D1615;
	text-decoration: none;
	white-space: nowrap;
}

.amber-hero-link-arrow {
	color: #18AD50;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
}

.amber-hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	border-top: 1px solid #d9ded7;
	margin-top: 56px;
	padding-top: 30px;
}

.amber-hero-stat {
	display: flex;
	align-items: center;
	gap: 10px;
}

.amber-hero-stat-num {
	font-family: 'Inter', sans-serif;
	font-size: 31px;
	font-weight: 800;
	line-height: 1;
	color: #18AD50;
	flex-shrink: 0;
}

.amber-hero-stat-label {
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #6b726c;
}

@media (max-width: 1300px) {
	.amber-hero-title {
		white-space: normal;
	}
}

@media (max-width: 800px) {
	.amber-hero-buttons {
		flex-wrap: wrap;
		row-gap: 16px;
	}
	.amber-hero-stats {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

/* ---- Hero media (right column) ---- */
.amber-hero-media {
	position: relative !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	width: 100% !important;
	height: 650px !important;
	max-height: 650px !important;
	transform: none !important;
	filter: none !important;
	backdrop-filter: none !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

.amber-hero-media img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center !important;
	transform: none !important;
	display: block !important;
	filter: none !important;
	backdrop-filter: none !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

@media (max-width: 1024px) {
	.amber-hero-media {
		height: 520px;
	}
}

@media (max-width: 800px) {
	.amber-hero-media {
		height: 380px;
		margin-top: 40px;
	}
}

.amber-hero-media-badge {
	position: absolute;
	left: 22px;
	bottom: 55px;
	background: #fff;
	border-radius: 12px;
	padding: 18px 22px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 12px 30px rgba(13, 22, 21, 0.18);
	font-family: 'Inter', sans-serif;
}

.amber-hero-media-badge-num {
	font-size: 29px;
	font-weight: 800;
	color: #18AD50;
	line-height: 1;
}

.amber-hero-media-badge-text {
	font-size: 12px;
	font-weight: 700;
	color: #0D1615;
	max-width: 110px;
	line-height: 1.3;
}

.amber-hero-media-caption {
	position: absolute;
	left: 22px;
	bottom: 17px;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0;
}

/* ---- Offers left column typography (eyebrow / heading / paragraph) ---- */
.elementor-element-6b95f79 .elementor-heading-title {
	font-family: 'Inter', sans-serif !important;
	font-weight: 700 !important;
	letter-spacing: 0.18em !important;
}

.elementor-element-93c2592 .elementor-heading-title {
	font-family: 'Inter', Arial, Helvetica, sans-serif !important;
	font-weight: 850 !important;
	font-size: 52px !important;
	line-height: 1.02 !important;
	letter-spacing: -0.02em !important;
	white-space: pre-line !important;
}

.elementor-element-755dfc9 .elementor-heading-title {
	font-family: 'Inter', sans-serif !important;
	line-height: 1.6 !important;
}

/* ---- Top feature strip (section 1e2b501) ---- */
.elementor-element-1e2b501 .elementor-heading-title {
	font-family: 'Inter', sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: #0D1615 !important;
}

.elementor-element-1e2b501 .elementor-column {
	position: relative;
}

.elementor-element-1e2b501 .elementor-column:not(:last-child)::after {
	content: '\2726';
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	color: #18AD50;
	font-size: 15px;
	line-height: 1;
	pointer-events: none;
}

/* ---- Offers section container (section 4153901, cols ba82a09 / 0432348) ---- */
/* Same global theme text-transform:capitalize bug as the hero H1 - this
   heading's markup is already correct sentence case; scoped override only
   for this element, other headings keep the theme's default. */
.elementor-element-93c2592 .elementor-heading-title {
	text-transform: none !important;
}



@media (max-width: 1024px) {
	.elementor-element-4153901 > .elementor-container {
		padding-left: 32px !important;
		padding-right: 32px !important;
	}
}

@media (max-width: 767px) {
	.elementor-element-4153901 > .elementor-container {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

/* Live offers teaser */
.amber-home-offers {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.amber-home-offer-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-radius: var(--amber-card-radius);
	padding: 36px 40px;
	text-decoration: none;
	background: var(--amber-primary);
	color: #fff;
	transition: transform 0.2s ease;
	position: relative;
	overflow: hidden;
}

.amber-home-offer-card:nth-child(2n) {
	background: var(--amber-ink);
}

.amber-home-offer-card:hover,
.amber-home-offer-card:focus-visible {
	transform: translateY(-2px);
}

.amber-home-offer-decor {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.amber-home-offer-decor::before,
.amber-home-offer-decor::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
}

.amber-home-offer-decor::before {
	width: 320px;
	height: 320px;
	top: -140px;
	right: -80px;
}

.amber-home-offer-decor::after {
	width: 200px;
	height: 200px;
	bottom: -110px;
	right: 60px;
	background: rgba(255, 255, 255, 0.06);
}

.amber-home-offer-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.amber-home-offer-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.85;
}

.amber-home-offer-live::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	display: inline-block;
}

.amber-home-offer-title {
	font-size: 32px;
	font-weight: 700;
	margin: 10px 0 4px;
	color: #fff;
}

.amber-home-offer-meta {
	font-size: 14px;
	opacity: 0.85;
	margin: 0;
}

.amber-home-offer-link {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--amber-ink);
	font-weight: 600;
	font-size: 15px;
	padding: 14px 24px;
	border-radius: 999px;
	white-space: nowrap;
}

.amber-home-offers-empty {
	background: var(--amber-surface);
	border: 1px dashed var(--amber-divider);
	border-radius: var(--amber-card-radius);
	padding: 40px 30px;
	text-align: center;
	color: var(--amber-secondary-text);
}

.amber-home-offers-empty p {
	margin: 0 0 16px;
}

/* Value strip */
.amber-value-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px 24px;
	padding: 24px 0;
	border-top: 1px solid var(--amber-divider);
	border-bottom: 1px solid var(--amber-divider);
}

.amber-value-strip-item {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--amber-ink);
}


/* Amber Promise dark section - typography overrides */
.elementor-element-552462f .elementor-heading-title {
	letter-spacing: 0.14em !important;
}

.elementor-element-36e8878 .elementor-heading-title {
	font-family: 'Inter', Arial, Helvetica, sans-serif !important;
	font-weight: 500 !important;
	font-size: 46px !important;
	line-height: 1.12 !important;
	letter-spacing: -0.01em !important;
	white-space: pre-line !important;
	text-transform: none !important;
}

.elementor-element-dc42753 .elementor-heading-title,
.elementor-element-a3a6173 .elementor-heading-title,
.elementor-element-06d1166 .elementor-heading-title {
	text-transform: none !important;
}

.elementor-element-fd97166 h4.elementor-heading-title {
	font-weight: 700 !important;
}

.elementor-element-4b88a66 p,
.elementor-element-19c3241 p,
.elementor-element-3887e1b p {
	font-size: 15px !important;
	line-height: 1.5 !important;
}

.amber-promise-link a.elementor-button {
	padding-left: 0 !important;
	font-weight: 700 !important;
}

.elementor-element-97fc066,
.elementor-element-dc484d6,
.elementor-element-ecacf5f {
	margin-top: -24px !important;
}

.elementor-element-4ec5b02 {
	position: relative;
	overflow: hidden;
}

.elementor-element-a1b2c3d {
	position: static !important;
	height: 0 !important;
	overflow: visible !important;
}

.amber-promise-badge {
	position: absolute;
	top: 8%;
	right: -95px;
	width: 230px;
	height: 230px;
	border-radius: 50%;
	background: #18AD50;
	border: 3px solid #0D1615;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	font-family: 'Inter', sans-serif;
	padding: 0 30px;
	z-index: 3;
}

.amber-promise-badge-line1 {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.85;
	margin-bottom: 4px;
}

.amber-promise-badge-line2 {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.2;
}


.amber-promise-link .elementor-button-text::after {
	content: '\2192\FE0E';
	font-family: inherit;
	margin-left: 10px;
	display: inline-block;
}

/* Amber Promise dark section */
.amber-promise-eyebrow {
	color: var(--amber-accent-light) !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.amber-promise-heading .elementor-heading-title {
	color: #fff !important;
}

.amber-promise-text .elementor-heading-title,
.amber-promise-text p {
	color: rgba(255,255,255,0.65) !important;
}

.amber-promise-row {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding: 18px 0;
}

.amber-promise-row:last-of-type {
	border-bottom: 1px solid rgba(255,255,255,0.12);
}

.amber-promise-row .elementor-heading-title {
	color: #fff !important;
}

.amber-promise-row .elementor-icon-list-text {
	color: rgba(255,255,255,0.6) !important;
}

.amber-promise-image {
	height: 100%;
}

.amber-promise-image .elementor-widget-container {
	height: 100%;
}

.elementor-element-fd97166 {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.elementor-element-615f38f > .elementor-container {
	align-items: stretch;
}

.elementor-element-615f38f {
	background-color: #06261E !important;
}

/* Ghost Mode: 30/70 split (image / content) per explicit reference measurement */
.elementor-element-4ec5b02 {
	flex: 0 0 30% !important;
	width: 30% !important;
	max-width: 30% !important;
}

.elementor-element-fd97166 {
	flex: 0 0 70% !important;
	width: 70% !important;
	max-width: 70% !important;
}

.elementor-element-fd97166 > .elementor-widget-wrap {
	padding: 56px 80px 56px 130px !important;
}

.elementor-element-fd97166 > .elementor-widget-wrap > .elementor-element {
	max-width: 620px !important;
}

@media (max-width: 900px) {
	.elementor-element-4ec5b02,
	.elementor-element-fd97166 {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.elementor-element-4ec5b02 {
		height: 380px !important;
		margin: 0 !important;
	}
	.elementor-element-fd97166 > .elementor-widget-wrap {
		padding: 40px 24px !important;
	}
	.elementor-element-fd97166 > .elementor-widget-wrap > .elementor-element {
		max-width: 100% !important;
	}
	.amber-promise-badge {
		width: 160px !important;
		height: 160px !important;
		right: -60px !important;
	}
	.amber-promise-badge-line1 { font-size: 10px !important; }
	.amber-promise-badge-line2 { font-size: 14px !important; }
}

.amber-promise-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 30% 68%;
	display: block;
}

.elementor-element-4ec5b02 {
	overflow: hidden;
}

.amber-promise-link a {
	color: var(--amber-accent-light) !important;
}

/* Green CTA section */
.amber-cta-section {
	background: var(--amber-primary) !important;
}

.amber-cta-eyebrow {
	color: rgba(255,255,255,0.8) !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.amber-cta-heading .elementor-heading-title {
	color: #fff !important;
}

.amber-cta-button .elementor-button {
	background: #fff !important;
	color: var(--amber-ink) !important;
}

@media (max-width: 767px) {
	.amber-home-offer-title { font-size: 22px; }
	.amber-hero-media-badge { left: 14px; bottom: 14px; padding: 10px 14px; }
	.amber-home-offer-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 28px 26px;
	}
	.amber-home-offer-link {
		align-self: flex-start;
	}
}
/* Hero heading - single H1, two coloured lines, no widget-gap. */
.amber-hero-heading {
	font-family: 'Inter', sans-serif;
	font-size: clamp(62px, 7.4vw, 112px);
	font-weight: 850;
	letter-spacing: -0.075em;
	line-height: 0.88;
	margin: 0;
	padding: 0;
}

.amber-hero-heading-line1,
.amber-hero-heading-line2 {
	display: block;
	margin: 0;
	padding: 0;
}

.amber-hero-heading-line1 {
	color: #0D1615;
}

.amber-hero-heading-line2 {
	color: #18AD50;
}

/* ==== Hero heading restore (widgets 07d003a / f7f3967) - Ghost Mode fix ====
   Two separate heading widgets ("Fresh choices." / "Better value.") were
   accidentally overwritten with pasted inline-style HTML in the Elementor
   editor, which broke the 2-line layout. Restored to clean plain-text
   titles; sizing enforced here since the corrupted inline style otherwise
   overrode the widget's own (too-small) Elementor typography setting. */
.elementor-element-07d003a .elementor-heading-title,
.elementor-element-f7f3967 .elementor-heading-title {
	font-family: 'Inter', Arial, Helvetica, sans-serif !important;
	font-size: clamp(56px, 7vw, 128px) !important;
	font-weight: 850 !important;
	letter-spacing: -0.03em !important;
	line-height: 0.9 !important;
	text-transform: none !important;
	white-space: nowrap !important;
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-element-07d003a {
	margin-bottom: 6px !important;
}

.elementor-element-f7f3967 {
	margin-bottom: 28px !important;
}

@media (max-width: 1280px) {
	.elementor-element-07d003a .elementor-heading-title,
	.elementor-element-f7f3967 .elementor-heading-title {
		white-space: normal !important;
	}
}
/* Hero CTA arrow icons (buttons a6e2ca9 / e359da8) */
.elementor-element-a6e2ca9 .elementor-button-text,
.elementor-element-e359da8 .elementor-button-text {
	font-weight: 700 !important;
}

.elementor-element-a6e2ca9 .elementor-button-text::after {
	content: '\2197\FE0E';
	font-family: inherit;
	margin-left: 10px;
	display: inline-block;
}

.elementor-element-e359da8 .elementor-button-text::after {
	content: '\2192\FE0E';
	font-family: inherit;
	margin-left: 8px;
	color: #18AD50;
	display: inline-block;
}
/* ==== Ghost Mode Step 1: hero CTA row + divider + stats (compact) ==== */
.elementor-element-a6e2ca9 a.elementor-button,
.elementor-element-e359da8 a.elementor-button {
	height: auto !important;
	padding: 12px 20px !important;
	border-radius: 8px !important;
}

.elementor-element-a6e2ca9 .elementor-button-text,
.elementor-element-e359da8 .elementor-button-text {
	font-size: 14px !important;
	font-weight: 700 !important;
}

.elementor-element-a6e2ca9 .elementor-button-text::after {
	margin-left: 6px !important;
	font-size: 13px !important;
}

.elementor-element-e359da8 .elementor-button-text::after {
	margin-left: 6px !important;
	font-size: 14px !important;
}

.elementor-element-171a7f6 {
	padding: 12px 0 !important;
}

.elementor-element-03b070e {
	padding: 16px 0 0 !important;
}

/* Stats: compact left-packed groups (not stretched across full width),
   each number paired horizontally with its 2-line label. */
.elementor-element-03b070e .elementor-container {
	justify-content: flex-start !important;
	gap: 40px !important;
}

.elementor-element-03b070e .elementor-column {
	width: auto !important;
	flex: 0 0 auto !important;
	max-width: none !important;
}

.elementor-element-03b070e .elementor-column > .elementor-widget-wrap {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 10px !important;
}

.elementor-element-2eecace .elementor-heading-title,
.elementor-element-05f0170 .elementor-heading-title,
.elementor-element-b5d2d3b .elementor-heading-title {
	font-size: 28px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
}

.elementor-element-b7a6bee .elementor-heading-title,
.elementor-element-e9aaefe .elementor-heading-title,
.elementor-element-d8fdde8 .elementor-heading-title {
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.02em !important;
	white-space: pre-line !important;
}
/* ==== Ghost Mode: mobile-only phone layout fixes (≤767px) ====
   Desktop/tablet rules above are untouched; everything here is scoped to
   this single breakpoint and only touches spacing/sizing that was broken
   on real phones, not structure that already worked. */
@media (max-width: 767px) {

	/* 1. Hero heading - smaller, tighter line-height on phone. The base
	   rule's clamp() floors at 56px below ~800px viewport width, still too
	   large for a 390px screen. */
	.elementor-element-07d003a .elementor-heading-title,
	.elementor-element-f7f3967 .elementor-heading-title {
		font-size: clamp(46px, 13vw, 64px) !important;
		line-height: 0.95 !important;
	}


	/* 2. Stats - root cause was the 3 stat columns being stacked in a
	   single flex column, each rendering at the section's full width (and
	   therefore its full natural height) one after another. That stacking,
	   not any margin or gap value, produced the large blank area. Fix: a
	   real 3-column grid, one row, matching the target layout. */
	.elementor-element-03b070e .elementor-container {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		align-items: start !important;
		gap: 12px !important;
	}

	.elementor-element-03b070e .elementor-column {
		width: 100% !important;
		max-width: 100% !important;
	}

	.elementor-element-03b070e .elementor-column > .elementor-widget-wrap {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		gap: 4px !important;
		padding: 0 !important;
	}

	.elementor-element-2eecace .elementor-heading-title,
	.elementor-element-05f0170 .elementor-heading-title,
	.elementor-element-b5d2d3b .elementor-heading-title {
		margin: 0 !important;
	}

	.elementor-element-b7a6bee .elementor-heading-title,
	.elementor-element-e9aaefe .elementor-heading-title,
	.elementor-element-d8fdde8 .elementor-heading-title {
		font-size: 11px !important;
		margin: 0 !important;
	}

	/* 3. Hero image - the 800px breakpoint's 380px height has no
	   !important, so it never actually beats the desktop rule's
	   height:650px !important; the image was rendering full desktop height
	   on every phone. Fix with matching !important at a corrected height. */
	.amber-hero-media {
		height: 460px !important;
		max-height: 460px !important;
		margin-top: 32px !important;
	}

	/* 5/6. Eight Stores - the outer column wrapping both the heading/button
	   row and the store grid renders at ~60% of its available width on
	   phones (not the CSS below reproducing that bug - just correcting it),
	   which is what makes the heading wrap into 5 short lines and the store
	   cards render narrow. Force it to the container's true full width. */
	.elementor-element-31c9a2e > .elementor-container {
		display: grid !important;
		grid-template-columns: 1fr !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
		max-width: 100% !important;
	}

	.elementor-element-31c9a2e .elementor-element-8eb92b3,
	.elementor-element-31c9a2e .elementor-element-8eb92b3 > .elementor-widget-wrap,
	.elementor-element-f5c4881,
	.elementor-element-f5c4881 .elementor-widget-container,
	.elementor-element-f5c4881 .elementor-shortcode {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 100% !important;
		box-sizing: border-box !important;
	}

	.amber-stores-heading-row,
	.amber-stores-heading-col,
	.amber-stores-button-col {
		width: 100% !important;
		max-width: 100% !important;
	}

	.amber-stores-heading-row {
		margin-bottom: 28px !important;
	}

	.amber-stores-button-col {
		margin-top: 16px !important;
	}

	.elementor-element-a3eb466 .elementor-heading-title {
		font-size: 44px !important;
		line-height: 1.1 !important;
	}

	/* 6. Store grid / cards - full mobile content width, one per row. */
	.amber-fm-stores-grid,
	.amber-fm-stores-grid--preview {
		padding-left: 20px !important;
		padding-right: 20px !important;
		gap: 24px !important;
	}

	.amber-fm-store-card {
		width: 100% !important;
		max-width: none !important;
	}

	/* 7. Store card action links - smaller, allow a clean wrap instead of
	   colliding, without changing desktop's single-line layout. */
	.amber-fm-store-actions {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: space-between !important;
		align-items: center !important;
		gap: 10px !important;
	}

	.amber-fm-store-link {
		font-size: 12.5px !important;
		white-space: nowrap;
	}

	/* 4. CTA row - tighten the default Elementor 10px widget-wrap padding
	   so the button and "Find your store" link read as one grouped block. */
	.elementor-element-171a7f6 .elementor-widget-wrap {
		padding-top: 6px !important;
		padding-bottom: 6px !important;
	}

	/* 10. Overflow safety net. */
	html, body {
		max-width: 100%;
		overflow-x: hidden;
	}
}

/* ==== Ghost Mode: Desktop layout widen + rebalance (>=1024px only) ====
   Elementor's page sections default to max-width:1280px (theme setting),
   and the homepage's custom hero/offers-teaser/eight-stores sections were
   capped at 1480px - both narrower than a modern desktop layout needs,
   producing the cramped centre column. Scoped to >=1024px only; every
   rule below 1024px (tablet/mobile) is untouched. */
@media (min-width: 1024px) {

	/* 1. Global content width - Elementor's default boxed container, used
	   as-is (no custom override) on About us, Our stores, Products &
	   services and Contact. */
	.elementor-section-boxed > .elementor-container {
		max-width: 1560px !important;
	}

	/* Header nav shares the boxed pattern but UiCore wraps it an extra
	   level, so ".elementor-section-boxed > .elementor-container" doesn't
	   match it directly - needs its own rule to stay aligned with the
	   wider page content below it. */
	nav.uicore.elementor-container {
		max-width: 1560px !important;
	}

	/* Amber Flyer Manager shortcodes (store grid, Offers picker, single
	   store page) share one width token - widen it to match. */
	:root {
		--amber-max-width: 1560px;
	}


	/* Offers-teaser and Eight Stores sections - match the wider content
	   width for visual consistency with the rest of the page. */
	.elementor-element-4153901 > .elementor-container {
		max-width: 1560px !important;
	}

	.elementor-element-31c9a2e > .elementor-container {
		max-width: 1560px !important;
	}
}

/* ==== Ghost Mode: Offers page desktop width fix (>=1024px only) ====
   The info column used minmax(220px,300px) - a hard 300px ceiling that
   stayed put even as the picker container widened, pulling the split
   below the 30-35/65-70 target. A percentage ceiling scales with it. */
@media (min-width: 1024px) {
	.amber-fm-offers-store-panel {
		grid-template-columns: minmax(280px, 33%) 1fr;
	}
}

/* ==== Ghost Mode: Offers page desktop refinement (>=1024px only) ====
   Root cause of the cramped, off-balance layout: the Offers picker sits
   inside an Elementor inner-section with a 50/50 two-column split where
   the FIRST column is entirely empty (no widgets) - dead structure left
   over from an earlier layout iteration. It was eating 25% of the row
   width from the picker/toolbar/panel below. Collapsing it lets the
   real content column use the full row. Scoped to >=1024px only. */
@media (min-width: 1024px) {

	.elementor-element-2f66ca0f {
		display: none !important;
	}

	.elementor-element-47670aa2 {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}

	/* Rebalance toward the flyer being the dominant element (28-32% info /
	   68-72% flyer), and centre the info block vertically against the
	   taller flyer column instead of stretching it full height with dead
	   space under the store details. */
	.amber-fm-offers-store-panel {
		grid-template-columns: minmax(260px, 28%) 1fr;
		align-items: center;
	}

	/* Toolbar - the dropdown's 420px cap left a huge dead gap before the
	   safe-mapping badge once the toolbar widened. Let it grow further. */
	.amber-fm-offers-select-wrap {
		max-width: 620px !important;
	}
}

/* ==== Ghost Mode: desktop white-space cleanup (>=1024px only) ====
   Root cause across every inner page: each page's own first section
   (the one holding its H1) was independently set to padding-top:160px
   in its saved Elementor data - identical value on every page, so this
   was templated in when each page was built rather than a per-page
   one-off. A few other sections (the shared newsletter band, a couple
   of feature sections) were separately over-padded at 100-120px against
   this site's ~60-90px rhythm. Fixed at the source (each section's own
   padding), not with negative margins. Tablet/mobile rules elsewhere in
   this file are untouched. */
@media (min-width: 1024px) {

	/* Shared "Never Miss Our Special Offers" newsletter section - same
	   element reused on Home, About us, Products & services, Our stores,
	   Offers and Contact, so this one rule fixes it everywhere at once. */
	.elementor-element-632e9db {
		padding-top: 70px !important;
		padding-bottom: 70px !important;
	}

	/* Home - Amber Promise dark section (was 80/80). */
	.elementor-element-615f38f {
		padding-top: 70px !important;
		padding-bottom: 70px !important;
	}

	/* Home - "This Week at Amber": the live-offer card only needs ~200px
	   but its column was flex-stretched to match the taller text column
	   next to it, then left top-aligned - showing as dead space below the
	   card. Centering it distributes any leftover height evenly instead. */
	.elementor-element-0432348 > .elementor-widget-wrap {
		align-items: center !important;
	}

	/* About us - heading section (was 160/60). */
	.elementor-element-6947c818 {
		padding-top: 80px !important;
	}

	/* Products & services - heading section (was 160/60) and Featured
	   products section (was 100/100). */
	.elementor-element-1d44f8ed {
		padding-top: 80px !important;
	}

	.elementor-element-47f6f9d1 {
		padding-top: 70px !important;
		padding-bottom: 70px !important;
	}

	/* Our stores - heading section (was 160/60) and the store-grid
	   section (was 120/120). Grid itself (columns/gap/cards) untouched. */
	.elementor-element-ef1a045 {
		padding-top: 80px !important;
	}

	.elementor-element-65c00c19 {
		padding-top: 70px !important;
		padding-bottom: 70px !important;
	}

	/* Offers - heading section (was 160/60). The picker/panel section
	   below is already 80/80, within the target range, left as-is. */
	.elementor-element-3e319e2a {
		padding-top: 80px !important;
	}

	/* Contact - heading section (was 160/60), FAQs section and the
	   "Send Us Your Inquiries" form section (both were 100/100). */
	.elementor-element-f8c39ea {
		padding-top: 80px !important;
	}

	.elementor-element-27cfe4d4,
	.elementor-element-23a1ca16 {
		padding-top: 70px !important;
		padding-bottom: 70px !important;
	}
}
/* ---------------------------------------------------------------
   Offers page only: smaller, balanced flyer preview.
   Scoped to .amber-fm-offers-flyer (the Offers picker's flyer
   panel) so the single store page - which reuses the same
   .amber-fm-viewer markup at its own natural size - is unaffected.
   Original flyer files are untouched; this only constrains the
   display width, letting height scale proportionally.
   --------------------------------------------------------------- */

.amber-fm-offers-flyer .amber-fm-viewer {
	width: 100%;
	max-width: 450px;
	margin: 0 auto;
}

@media (max-width: 1024px) {
	.amber-fm-offers-flyer .amber-fm-viewer {
		max-width: 360px;
	}
}

@media (max-width: 640px) {
	.amber-fm-offers-flyer .amber-fm-viewer {
		width: 100%;
		max-width: 320px;
	}
}

/* ---------------------------------------------------------------
   Homepage: hero map markers, benefits strip, category strip.
   Reuses existing --amber-* design tokens; new colours (dark green
   band, marker pin) match the greens already used on .amber-hero-*
   and .amber-promo-showcase rather than inventing a new palette.
   --------------------------------------------------------------- */

.amber-hero-markers {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.amber-hero-marker {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 6px;
	transform: translate(-50%, -100%);
	text-decoration: none;
	pointer-events: auto;
	padding: 4px;
	margin: -4px;
	border-radius: 999px;
	transition: transform 0.15s ease;
}

.amber-hero-marker-pin {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2318AD50' stroke='white' stroke-width='1.2' d='M12 1.5c-4.4 0-8 3.5-8 7.9 0 5.9 8 13.1 8 13.1s8-7.2 8-13.1c0-4.4-3.6-7.9-8-7.9z'/%3E%3Ccircle cx='12' cy='9.4' r='2.7' fill='white'/%3E%3C/svg%3E") no-repeat center / contain;
	filter: drop-shadow(0 2px 4px rgba(13, 22, 21, 0.35));
}

.amber-hero-marker-label {
	background: #fff;
	color: #0D1615;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	padding: 5px 10px;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(13, 22, 21, 0.2);
}

.amber-hero-marker:hover,
.amber-hero-marker:focus-visible {
	transform: translate(-50%, -100%) scale(1.08);
}

.amber-hero-marker:hover .amber-hero-marker-label,
.amber-hero-marker:focus-visible .amber-hero-marker-label {
	background: #18AD50;
	color: #fff;
}

.amber-hero-marker:focus-visible {
	outline: 2px solid #18AD50;
	outline-offset: 3px;
	border-radius: 999px;
}

@media (max-width: 800px) {
	.amber-hero-marker-label {
		font-size: 9.5px;
		padding: 4px 8px;
	}
	.amber-hero-marker-pin {
		width: 11px;
		height: 11px;
	}
}

/* ---- Green "8 Convenient Locations" benefits strip ---- */

.amber-home-benefits {
	background: linear-gradient(160deg, #0F3D24 0%, #1BB24B 130%);
	border-radius: 40px;
	max-width: var(--amber-max-width, 1280px);
	margin: 48px auto;
	padding: 32px 24px 36px;
	text-align: center;
}

.amber-home-benefits-heading {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 24px;
}

.amber-home-benefits-row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
}

.amber-home-benefit {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.amber-home-benefit:last-child {
	border-right: none;
}

.amber-home-benefit-icon {
	font-size: 18px;
	line-height: 1;
}

.amber-home-benefit-label {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.amber-home-benefits { border-radius: 24px; padding: 28px 16px 30px; }
	.amber-home-benefit { border-right: none; padding: 6px 14px; }
}

/* ---- Product category strip ---- */

.amber-home-categories {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
	max-width: var(--amber-max-width, 1280px);
	margin: 40px auto;
	padding: 0 24px;
}

.amber-home-category {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--amber-divider, #EBEBEB);
	border-radius: 12px;
	padding: 14px 12px;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.amber-home-category:hover,
.amber-home-category:focus-visible {
	border-color: #18AD50;
	box-shadow: 0 8px 20px rgba(13, 22, 21, 0.08);
}

.amber-home-category-icon {
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
}

.amber-home-category-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.amber-home-category-label {
	font-family: 'Inter', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	color: #0D1615;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.amber-home-category-sub {
	font-family: 'Inter', sans-serif;
	font-size: 10.5px;
	color: #727A72;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 1024px) {
	.amber-home-categories { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
	.amber-home-categories { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 16px; }
	.amber-home-category-sub { display: none; }
}



/* ---------------------------------------------------------------
   Homepage visual correction pass 2: full-width integrated benefits
   strip, SVG icons (replacing emoji), and the basket-artwork "This
   Week at Amber" redesign.
   --------------------------------------------------------------- */

/* Benefits strip: widened close to the page's own "boxed" max-width
   (matches the 1560px pattern already used by other homepage/offers
   sections) and pulled up flush under the hero instead of floating
   as a separate, smaller, detached card. */
.amber-home-benefits {
	position: relative;
	max-width: 1560px;
	margin: 0 auto 48px;
	border-radius: 0 0 32px 32px;
	padding-top: 56px;
	overflow: visible;
}

.amber-home-benefits-wave {
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 40px;
	display: block;
}

.amber-home-benefits-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
}

.amber-home-benefits-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
	transition: all 0.2s ease;
}

.amber-home-benefits-dot.is-active {
	width: 22px;
	background: #fff;
}

@media (min-width: 1024px) {
	.amber-home-benefits { margin-top: -8px; }
}

/* SVG icon sizing - benefits strip (white on dark green). */
.amber-home-benefit-icon svg {
	width: 22px;
	height: 22px;
	color: #fff;
}

/* SVG icon sizing - category strip (green on white). */
.amber-home-category-icon svg {
	width: 22px;
	height: 22px;
	color: #18AD50;
	flex-shrink: 0;
}

/* ---- "This Week at Amber": basket artwork + overlapping flyer card ---- */

.amber-home-offers-basket {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	min-height: 460px;
	background: #F7F3EA;
}

.amber-home-basket-image {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
}

.amber-home-basket-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	display: block;
}

.amber-home-offer-overlay {
	position: absolute;
	left: 24px;
	bottom: 24px;
	right: 24px;
	max-width: 360px;
	background: #F3EAD2;
	border-radius: 16px;
	padding: 26px 28px;
	text-decoration: none;
	box-shadow: 0 18px 40px rgba(13, 22, 21, 0.18);
	display: flex;
	flex-direction: column;
}

.amber-home-offer-overlay .amber-home-offer-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #18AD50;
}

.amber-home-offer-overlay .amber-home-offer-live::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #18AD50;
	display: inline-block;
}

.amber-home-offer-overlay .amber-home-offer-title {
	font-size: 24px;
	font-weight: 800;
	color: #0D1615;
	margin: 10px 0 6px;
}

.amber-home-offer-overlay .amber-home-offer-meta {
	font-size: 13px;
	color: #5b6259;
	margin: 0 0 16px;
	opacity: 1;
}

.amber-home-offer-open {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #18AD50;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 11px 20px;
	border-radius: 999px;
	white-space: nowrap;
	text-decoration: none;
}

.amber-home-offer-overlay--empty {
	position: static;
	max-width: none;
	right: auto;
	background: transparent;
	box-shadow: none;
	align-items: flex-start;
	padding: 40px;
}

@media (max-width: 900px) {
	.amber-home-offers-basket { min-height: 340px; }
	.amber-home-offer-overlay { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 20px 22px; }
	.amber-home-offer-overlay .amber-home-offer-title { font-size: 20px; }
}


/* Active nav item colour removed per client request - "Home" (and any
   other current page) now renders in the same default colour as every
   other header link, no special active-state highlight. */


/* Login nav item now renders as a plain text link, identical to every
   other header item (Home, About us, ...) - the green pill/circle
   button (background, padding, border-radius, user-icon) was removed
   per client request. .amber-login-nav-item is still applied to just
   this <li> by the portal's own nav filter, kept only as a hook in
   case Login needs distinct styling again later. */

/* ---------------------------------------------------------------
   Hero fit correction: match the ~1480px boxed width already used
   by every other homepage section (This Week At Amber, Eight
   Stores), remove the section's own background so no cream margin
   shows around the image, and drop the redundant inner max-width
   now that the container itself is sized correctly.
   --------------------------------------------------------------- */
.elementor-element-97f1086 {
	background: none !important;
}

.elementor-element-97f1086 > .elementor-container {
	width: 100% !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* =========================================================================
   Codex lower-homepage sections (weekly offer, category strip, store
   carousel) - adapted verbatim from the supplied amber-market-homepage-rest
   package. Every selector stays scoped under .amber-homepage-rest, exactly
   as the package's own README requires, so nothing here can leak into the
   locked hero, other homepage sections, or any other page.
   ========================================================================= */
.amber-homepage-rest,
.amber-homepage-rest * {
  box-sizing: border-box;
}

.amber-homepage-rest {
  --amber-dark: #003f2b;
  --amber-green: #007a3d;
  --amber-paper: #fffefa;
  --amber-ink: #111814;
  --amber-muted: #5e6862;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: clip;
  background: var(--amber-paper);
  color: var(--amber-ink);
  line-height: 1.5;
}

.amber-homepage-rest a {
  color: inherit;
  text-decoration: none;
}

.amber-homepage-rest button {
  font: inherit;
}

.amber-homepage-rest img,
.amber-homepage-rest svg {
  display: block;
}

.amber-homepage-rest__container {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.amber-homepage-rest__eyebrow {
  margin: 0 0 18px;
  color: var(--amber-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
}

.amber-homepage-rest__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 160ms ease;
}

.amber-homepage-rest__button:hover {
  transform: translateY(-2px);
}

.amber-homepage-rest__button:active {
  transform: translateY(1px) scale(0.98);
}

.amber-homepage-rest__button--green {
  background: var(--amber-green);
  color: #fff;
  box-shadow: 0 8px 18px rgb(0 80 48 / 16%);
}

.amber-homepage-rest__button--green:hover {
  background: #006f38;
  box-shadow: 0 11px 22px rgb(0 80 48 / 22%);
}

.amber-homepage-rest__button--outline {
  border-color: var(--amber-dark);
  background: #fff;
  color: var(--amber-dark);
}

.amber-homepage-rest__button--outline:hover {
  background: #f1f8f2;
  box-shadow: 0 8px 18px rgb(0 63 43 / 10%);
}

.amber-homepage-rest a:focus-visible,
.amber-homepage-rest button:focus-visible,
.amber-homepage-rest [tabindex]:focus-visible {
  outline: 3px solid #0b8c50;
  outline-offset: 3px;
}

.amber-homepage-rest__icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Weekly offer ---------------------------------------------------------- */
.amber-homepage-rest .amber-weekly {
  position: relative;
  min-height: 610px;
  padding: 72px 0 24px;
  background: var(--amber-paper);
}

.amber-homepage-rest .amber-weekly__grid {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.4fr);
  gap: 42px;
  align-items: center;
}

.amber-homepage-rest .amber-weekly__copy {
  position: relative;
  z-index: 3;
  padding-left: 18px;
}

.amber-homepage-rest .amber-weekly__copy h2 {
  margin: 0;
  color: var(--amber-dark);
  font-size: clamp(42px, 4.1vw, 58px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.amber-homepage-rest .amber-weekly__copy > p {
  max-width: 380px;
  margin: 26px 0 30px;
  color: #25332c;
  font-size: 16px;
  line-height: 1.8;
}

.amber-homepage-rest .amber-weekly__visual {
  position: relative;
  min-height: 500px;
}

.amber-homepage-rest .amber-weekly__basket-wrap {
  position: absolute;
  z-index: 1;
  top: -58px;
  right: -86px;
  width: min(830px, 115%);
}

.amber-homepage-rest .amber-weekly__basket-wrap img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.amber-homepage-rest .amber-flyer-card {
  position: absolute;
  z-index: 2;
  left: 7%;
  bottom: 12px;
  width: min(480px, 66%);
  min-height: 302px;
  padding: 34px 36px;
  border: 1px solid #ecd9b6;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgb(255 255 255 / 78%), transparent 33%),
    linear-gradient(135deg, #fff7e9, #f7e3bf);
  box-shadow: 0 20px 40px rgb(69 50 18 / 17%);
}

.amber-homepage-rest .amber-flyer-card__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--amber-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.amber-homepage-rest .amber-flyer-card__status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-green);
}

.amber-homepage-rest .amber-flyer-card h3 {
  margin: 0;
  color: #101712;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.amber-homepage-rest .amber-flyer-card__dates {
  margin: 4px 0 20px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.amber-homepage-rest .amber-flyer-card__store {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.amber-homepage-rest .amber-flyer-card__button {
  position: absolute;
  right: 28px;
  bottom: 25px;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 8px 18px rgb(51 32 0 / 10%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.amber-homepage-rest .amber-flyer-card__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgb(51 32 0 / 16%);
}

/* Category strip -------------------------------------------------------- */
.amber-homepage-rest .amber-category-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-height: 124px;
  margin-top: -4px;
  padding: 20px 12px;
  border: 1px solid #e0e6df;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgb(0 45 30 / 7%);
}

.amber-homepage-rest .amber-category-strip__item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
}

.amber-homepage-rest .amber-category-strip__item + .amber-category-strip__item {
  border-left: 1px solid #e4e9e4;
}

.amber-homepage-rest .amber-category-strip__item svg {
  width: 38px;
  min-width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--amber-green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amber-homepage-rest .amber-category-strip__item span {
  display: block;
  min-width: 0;
}

.amber-homepage-rest .amber-category-strip__item strong,
.amber-homepage-rest .amber-category-strip__item small {
  display: block;
}

.amber-homepage-rest .amber-category-strip__item strong {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.2;
}

.amber-homepage-rest .amber-category-strip__item small {
  color: #313a35;
  font-size: 11px;
  line-height: 1.45;
}

/* Stores ------------------------------------------------------------------ */
.amber-homepage-rest .amber-stores {
  padding: 70px 0 34px;
  background: var(--amber-paper);
}

.amber-homepage-rest .amber-stores__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
  padding-inline: 18px;
}

.amber-homepage-rest .amber-stores__header h2 {
  margin: 0;
  color: #0d1510;
  font-size: clamp(38px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.amber-homepage-rest .amber-store-carousel {
  position: relative;
}

.amber-homepage-rest .amber-store-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 5px 2px 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.amber-homepage-rest .amber-store-carousel__track::-webkit-scrollbar {
  display: none;
}

.amber-homepage-rest .amber-store-card {
  display: flex;
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe6df;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(0 45 30 / 7%);
  scroll-snap-align: start;
}

.amber-homepage-rest .amber-store-card__media {
  position: relative;
  flex: 0 0 190px;
  overflow: hidden;
  border-bottom: 1px solid #e5e9e5;
  background-color: #dbe7df;
}

.amber-homepage-rest .amber-store-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amber-homepage-rest .amber-store-card__media--placeholder {
  width: 100%;
  height: 100%;
}

.amber-homepage-rest .amber-store-card__body {
  flex: 0 1 auto;
  padding: 16px 16px 14px;
}

/* Client-requested: both homepage-carousel hours badges (Eight
   Stores, One Amber section) must match exactly - same green,
   solid black text. The 24hr variant previously used a distinct
   orange (#ff6b16); now reuses the exact same green already used by
   the regular badge (#00a44b) rather than introducing a new color.
   Scoped to .amber-homepage-rest only - does not touch the separate
   .amber-fm-badge component used on /our-stores/. */
.amber-homepage-rest .amber-store-card__hours {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  margin: 0 0 13px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

/* .amber-store-card__body > p (below) directly targets this same <p>
   element with higher specificity (class+class+element beats
   class+class), so color had to move into a selector at least that
   specific to actually win - the color:#000000 above was silently
   losing to that rule's var(--amber-muted) despite being 'set'. */
.amber-homepage-rest .amber-store-card__body .amber-store-card__hours {
  color: #000000;
}

.amber-homepage-rest .amber-store-card__hours--regular {
  background: #00a44b;
}

.amber-homepage-rest .amber-store-card__hours--24hours {
  background: #00a44b;
}

.amber-homepage-rest .amber-store-card h3 {
  min-height: 48px;
  margin: 0 0 12px;
  color: #111713;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.amber-homepage-rest .amber-store-card__body > p {
  margin: 0;
  color: var(--amber-muted);
  font-size: 12px;
  line-height: 1.65;
}

.amber-homepage-rest .amber-store-card__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e4e9e4;
}

.amber-homepage-rest .amber-store-card__actions a,
.amber-homepage-rest .amber-store-card__actions span {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 8px 5px;
  color: var(--amber-green);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  transition: background-color 160ms ease;
}

.amber-homepage-rest .amber-store-card__actions span[aria-disabled] {
  color: #a7afa9;
}

.amber-homepage-rest .amber-store-card__actions a:hover {
  background: #edf7ef;
}

.amber-homepage-rest .amber-store-carousel__arrow {
  position: absolute;
  z-index: 5;
  top: 42%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #dfe6df;
  border-radius: 50%;
  background: #fff;
  color: #17241c;
  box-shadow: 0 7px 20px rgb(0 45 30 / 12%);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 160ms ease, opacity 160ms ease;
}

.amber-homepage-rest .amber-store-carousel__arrow span {
  font-size: 29px;
  line-height: 1;
  transform: translateY(-1px);
}

.amber-homepage-rest .amber-store-carousel__arrow:hover:not(:disabled) {
  transform: translateY(calc(-50% - 2px)) scale(1.04);
}

.amber-homepage-rest .amber-store-carousel__arrow:disabled {
  opacity: 0.34;
  cursor: default;
}

.amber-homepage-rest .amber-store-carousel__arrow--previous {
  left: -18px;
}

.amber-homepage-rest .amber-store-carousel__arrow--next {
  right: -18px;
}

@media (max-width: 1100px) {
  .amber-homepage-rest .amber-weekly__grid {
    grid-template-columns: minmax(250px, 0.72fr) minmax(480px, 1.35fr);
    gap: 18px;
  }

  .amber-homepage-rest .amber-weekly__basket-wrap {
    right: -120px;
  }

  .amber-homepage-rest .amber-flyer-card {
    left: 3%;
    width: 70%;
  }

  .amber-homepage-rest .amber-category-strip {
    overflow-x: auto;
    grid-template-columns: repeat(6, minmax(195px, 1fr));
    scroll-snap-type: x proximity;
  }

  .amber-homepage-rest .amber-category-strip__item {
    scroll-snap-align: start;
  }

  .amber-homepage-rest .amber-store-card {
    flex-basis: calc((100% - 40px) / 3);
  }
}

@media (max-width: 820px) {
  .amber-homepage-rest__container {
    width: min(100% - 36px, 1280px);
  }

  .amber-homepage-rest .amber-weekly {
    min-height: 980px;
    padding-top: 58px;
  }

  .amber-homepage-rest .amber-weekly__grid {
    display: block;
  }

  .amber-homepage-rest .amber-weekly__copy {
    max-width: 540px;
    padding-left: 8px;
  }

  .amber-homepage-rest .amber-weekly__visual {
    min-height: 610px;
    margin-top: 30px;
  }

  .amber-homepage-rest .amber-weekly__basket-wrap {
    top: -30px;
    right: 50%;
    width: min(790px, 124%);
    transform: translateX(50%);
  }

  .amber-homepage-rest .amber-flyer-card {
    left: 5%;
    bottom: 10px;
    width: min(480px, 76%);
  }

  .amber-homepage-rest .amber-category-strip {
    width: calc(100% - 36px);
  }

  .amber-homepage-rest .amber-store-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 600px) {
  .amber-homepage-rest__container {
    width: min(100% - 28px, 1280px);
  }

  .amber-homepage-rest__eyebrow {
    font-size: 11px;
  }

  .amber-homepage-rest .amber-weekly {
    min-height: 880px;
    padding-top: 48px;
  }

  .amber-homepage-rest .amber-weekly__grid {
    width: min(100% - 28px, 1280px);
  }

  .amber-homepage-rest .amber-weekly__copy h2 {
    font-size: 43px;
  }

  .amber-homepage-rest .amber-weekly__copy > p {
    font-size: 14px;
  }

  .amber-homepage-rest .amber-weekly__visual {
    min-height: 520px;
  }

  .amber-homepage-rest .amber-weekly__basket-wrap {
    top: -4px;
    width: 136%;
  }

  .amber-homepage-rest .amber-flyer-card {
    left: 50%;
    bottom: 0;
    width: 94%;
    min-height: 270px;
    padding: 26px;
    border-radius: 23px;
    transform: translateX(-50%);
  }

  .amber-homepage-rest .amber-flyer-card h3 {
    font-size: 24px;
  }

  .amber-homepage-rest .amber-flyer-card__dates {
    font-size: 21px;
  }

  .amber-homepage-rest .amber-flyer-card__store {
    max-width: 63%;
    font-size: 12px;
  }

  .amber-homepage-rest .amber-flyer-card__button {
    right: 18px;
    bottom: 18px;
  }

  .amber-homepage-rest .amber-category-strip {
    width: calc(100% - 28px);
    grid-template-columns: repeat(6, minmax(205px, 1fr));
    min-height: 105px;
    padding-block: 12px;
  }

  .amber-homepage-rest .amber-stores {
    padding-top: 56px;
  }

  .amber-homepage-rest .amber-stores__header {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 2px;
  }

  .amber-homepage-rest .amber-stores__header h2 {
    font-size: 37px;
  }

  .amber-homepage-rest .amber-store-carousel__track {
    gap: 14px;
    padding-inline: 1px;
  }

  .amber-homepage-rest .amber-store-card {
    flex-basis: 86%;
  }

  .amber-homepage-rest .amber-store-carousel__arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .amber-homepage-rest *,
  .amber-homepage-rest *::before,
  .amber-homepage-rest *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Fix: .elementor-element-31c9a2e's .elementor-container uses Elementor's
   CSS-grid container type (unlike the site's other, flex-based sections).
   With no authored grid-template-columns, the browser resolves the single
   implicit column to its max-content intrinsic width instead of the
   container's own width - which, once this section held the wide store
   carousel, pushed the whole page into horizontal overflow. Force the
   track to fill the real available width instead. */
.elementor-element-31c9a2e > .elementor-container {
	grid-template-columns: minmax(0, 1fr) !important;
}

/* ==== Site-wide responsive-width cleanup ====
   Root causes found: (1) "This Week at Amber" kept a leftover 72px
   Elementor container padding from when that section had two columns
   (heading column + widget column); once collapsed to one full-width
   column the padding was never removed, so the section rendered ~150px
   narrower than its siblings at every breakpoint. (2) The "Eight
   Stores" section separately picked up a mobile-only 20px container
   padding. Both sections already manage their own responsive inner
   spacing (amber-homepage-rest__container, amber-weekly__grid etc.),
   so the outer Elementor container should carry none - same pattern
   already correct on the hero and category-strip sections. Unscoped
   (applies at every breakpoint) since the double-padding was never a
   breakpoint-specific problem. */
.elementor-element-4153901 > .elementor-container,
.elementor-element-31c9a2e > .elementor-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* (3) The site's shared "boxed" content width (nav + every Elementor
   section without its own override) is a flat 1560px from 1024px
   upward, which leaves a very large, increasingly disproportionate
   side margin on large/ultra-wide monitors (e.g. ~180px per side at
   1920px). Scale it further only above 1800px, where the flat value
   was actually too narrow; nothing below 1800px changes. */
@media (min-width: 1800px) {
	.elementor-section-boxed > .elementor-container,
	nav.uicore.elementor-container,
	.elementor-element-4153901 > .elementor-container,
	.elementor-element-31c9a2e > .elementor-container {
		max-width: 1800px !important;
	}

	:root {
		--amber-max-width: 1800px;
	}
}
/* ==== Homepage hero: true full-bleed, not just a wider boxed cap ====
   The hero section itself (.elementor-element-amberhqherosec1) was
   already unconstrained (100% of the page), but its Elementor
   .elementor-container CHILD - the direct parent of .amber-hq-hero -
   was still being caught by the shared boxed-content-width rules
   (1560px, then 1800px above), which is why the hero's own cream
   background/leaves/pins visibly sat inside a centred box with white
   bands on both sides even after that cap was widened. The Codex hero
   component already designs for this (.amber-hq-hero itself sets
   width:100%/max-width:none, and every internal position - copy,
   scene, pins, stats, the bundled benefits band - is percentage/vw
   based), so removing the container's own cap is what the component
   expects, not a workaround. Unscoped: full-bleed at every breakpoint,
   same as the section background itself already was. */
.elementor-element-amberhqherosec1 > .elementor-container {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* ==== Homepage hero: remove the last 10px outer gutter ====
   Root cause: Elementor's own column "populated" default content padding
   (10px on every side) on .elementor-widget-wrap - one level deeper than
   the .elementor-container fixed earlier, and never zeroed. Everything
   above it (container, section, page wrappers) was already 0. Scoped to
   this hero's own column only - no other section's column padding is
   touched. */
.elementor-element-amberhqherocol1 > .elementor-widget-wrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* ==== Logistics page & Products and Services page: full-width layout fix ====
   Client-reported issue: both pages rendered inside the theme's generic
   boxed content wrapper (.elementor-container capped at 1800px, centred
   with ~52.5px white margins each side at desktop widths), unlike every
   other Amber Market page. Root cause (confirmed live, not guessed): page
   1944 (Logistics) was missing the _elementor_edit_mode='builder' postmeta
   that Elementor uses to detect a page is Elementor-built - that meta was
   set directly on the post (not a CSS change) so the theme now renders it
   through the normal Elementor pipeline like every other page, matching
   Products & Services and the homepage's own DOM structure exactly.
   With that fixed, both pages still sit inside their own Elementor section's
   .elementor-container, which - like every Elementor section on this site -
   is capped by the shared .elementor-section-boxed > .elementor-container
   rule above. This uses the SAME proven per-section-ID override technique
   already used for the homepage hero (.elementor-element-amberhqherosec1
   above) to lift the cap ONLY for these two sections' own unique Elementor
   element IDs - no other page's container is touched. Each page's own
   hero/body already designs for this: .amber-logistics-hero and
   .amber-products-hero have no width cap of their own (so their
   background now spans edge-to-edge, full available width, matching the
   rest of the site), while their inner .amber-logistics-shell /
   .amber-products-shell (min(100% - 64px, 1500px), unchanged here) keeps
   the actual copy/images at the same readable width and spacing as
   before - only the outer white margin is removed, nothing inside the
   design moves, and no image is stretched or distorted. */
.elementor-element-6bdc413 > .elementor-container {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.elementor-element-67e69d3 > .elementor-container {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* ==== Logistics page & Products and Services page: last 10px outer gutter ====
   Same residual gap the homepage hero fix above also removed - Elementor's
   own column "populated" default content padding (10px each side) on
   .elementor-widget-wrap, one level inside the .elementor-container just
   unlocked above. Scoped to these two pages' own column element IDs only. */
.elementor-element-00e7ff7 > .elementor-widget-wrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.elementor-element-3a93665 > .elementor-widget-wrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* ---- Phase A additions: cream/dark-green tokens + Opening Soon ---- */
:root {
	--amber-cream: #F7F2E7;
	--amber-dark-green: #0B3D24;
}

.amber-fm-badge--opening-soon {
	background: var(--amber-cream);
	color: var(--amber-dark-green);
}

.amber-fm-store-card--opening-soon .amber-fm-store-photo {
	position: relative;
}

.amber-fm-opening-soon {
	max-width: var(--amber-max-width);
	margin: 44px auto 0;
	padding: 0 20px;
}

.amber-fm-opening-soon-heading {
	font-family: 'Inter', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--amber-dark-green);
	margin: 0 0 18px;
	padding-top: 28px;
	border-top: 1px solid var(--amber-divider);
}

@media (max-width: 767px) {
	.amber-fm-opening-soon {
		margin-top: 32px;
	}
	.amber-fm-opening-soon-heading {
		font-size: 19px;
	}
}

/* Group/partner branding - About Us only. Kept visually secondary to
   the Amber Market logo: small, muted label, modest logo size, centered
   below the page content, above the footer. */
.amber-brand-partner-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	max-width: var(--amber-max-width);
	margin: 56px auto 0;
	padding: 28px 20px 4px;
	border-top: 1px solid var(--amber-divider);
}

.amber-brand-partner-label {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--amber-secondary-text);
}

.amber-brand-partner-logo {
	height: 44px;
	width: auto;
	max-width: 120px;
	object-fit: contain;
}

@media (max-width: 480px) {
	.amber-brand-partner-bar {
		margin-top: 36px;
		padding-top: 20px;
	}
	.amber-brand-partner-logo {
		height: 36px;
	}
}


/* Founders section - dormant until amber_founders_data is populated;
   see class-amber-fm-brand-assets.php. Styling kept consistent with the
   rest of the site's card/token system. */
.amber-founders-section {
	max-width: var(--amber-max-width);
	margin: 48px auto 0;
	padding: 0 20px;
}

.amber-founders-heading {
	font-family: 'Inter', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: var(--amber-dark-green);
	margin: 0 0 24px;
	text-align: center;
}

.amber-founders-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px;
}

.amber-founder-card {
	text-align: center;
	background: var(--amber-surface);
	border-radius: var(--amber-card-radius);
	padding: 28px 20px;
}

.amber-founder-photo {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 16px;
	display: block;
}

.amber-founder-name {
	font-size: 17px;
	font-weight: 700;
	color: var(--amber-ink);
	margin: 0 0 4px;
}

.amber-founder-title {
	font-size: 13px;
	color: var(--amber-secondary-text);
	margin: 0 0 10px;
}

.amber-founder-bio {
	font-size: 14px;
	line-height: 1.6;
	color: var(--amber-ink);
	margin: 0;
}

@media (max-width: 480px) {
	.amber-founders-grid {
		grid-template-columns: 1fr;
	}
}

/* Header nav fit (added with the "Our Founders" menu item).
   The fixed 13px padding / 8px gap above beat the theme's own 1300px and
   1200px responsive spacing steps, so the nine-item menu ran past the right
   edge below ~1200px. Step the spacing down gradually instead - same font,
   weight and colour on every item, still one row. Below 1025px the theme
   switches to its hamburger menu as before. */
@media (min-width: 1025px) and (max-width: 1499px) {
	ul.uicore-menu {
		gap: 6px !important;
	}
	ul.uicore-menu > li.menu-item > a {
		padding: 0 11px !important;
	}
}

@media (min-width: 1025px) and (max-width: 1199px) {
	ul.uicore-menu {
		gap: 4px !important;
	}
	ul.uicore-menu > li.menu-item > a {
		padding: 0 8px !important;
	}
}

@media (min-width: 1025px) and (max-width: 1099px) {
	ul.uicore-menu {
		gap: 2px !important;
	}
	ul.uicore-menu > li.menu-item > a {
		padding: 0 6px !important;
		font-size: 14px !important;
	}
}
