/* ==========================================================================
   Everyday Center — main stylesheet
   --------------------------------------------------------------------------
   Only for what Elementor Site Settings and widget controls cannot do
   (docs/rules.md, rules 4–18). Before adding a rule, check Elementor first.

   Conventions:
   - Every block starts with a comment: page or component, what it does,
     and why Elementor could not do it.
   - Select our own classes (prefix ec-), never .elementor-element-xxxx.
   - Colors and fonts come from Elementor globals, e.g.
     var(--e-global-color-primary); never hard-coded hex values.
   - Logical properties only (margin-inline-start, padding-inline-end,
     inset-inline-start, text-align: start) so RTL works later unchanged.
   - Nothing here may hide content until JavaScript runs.

   How to use a class: Elementor → element → Advanced → CSS Classes.
   Text classes work on the Heading and Text Editor widgets.

   Breakpoints (Elementor defaults): tablet ≤ 1024px, mobile ≤ 767px.

   Sections:
   1. Utilities
   2. Components
   3. Pages
   4. Reduced motion
   ========================================================================== */


/* 0. Fonts
   Why CSS: the font files live in this theme (variable, upright only;
   Inter Tight Latin subset, source assets/Inter_Tight/; Arabic below). Elementor is told it is a
   system font in functions.php so it does not load a second copy.
   ========================================================================== */

@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-tight-latin-var.woff2") format("woff2");
}

/* Arabic fonts (brand.md: Readex Pro for Arabic text, Noto Naskh Arabic
   700 for Arabic headings). Arabic-only subsets, variable weight, from
   Google Fonts (SIL OFL; sources in assets/fonts-arabic-src/). A browser
   downloads them only on a page that has Arabic letters (unicode-range). */
@font-face {
	font-family: "Readex Pro";
	font-style: normal;
	font-weight: 160 700;
	font-display: swap;
	src: url("../fonts/readex-pro-arabic-var.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+2010-2011, U+25CC;
}

@font-face {
	font-family: "Noto Naskh Arabic";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/noto-naskh-arabic-var.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+2010-2011, U+25CC;
}

/* Arabic letters inside English text (the Arabic name by the logo,
   reviewers' names) are drawn in Readex Pro, not the visitor's system
   font: "Inter Tight" has no Arabic, so its Arabic range points to the
   Readex Pro file. */
@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/readex-pro-arabic-var.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+2010-2011, U+25CC;
}


/* 1. Utilities
   ========================================================================== */

/* Focus ring — every focusable element (design system v1, 03 Buttons).
   Why CSS: Elementor has no global focus style setting; browsers' default
   ring is hard to see on navy. A 2px Navy ring with a 2px white gap. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--e-global-color-primary);
	outline-offset: 2px;
}

/* Focus ring on dark bands (footer, CTA band, image cards) — Gold Light.
   Why CSS: same as above; Navy would be invisible on Navy. */
.ec-on-dark :where(a, button, input, select, textarea, summary):focus-visible {
	outline-color: var(--e-global-color-secondary);
}

/* Visually hidden text for screen readers (e.g. "opens in Google Maps").
   Why CSS: Elementor has no "screen reader only" option. */
.ec-visually-hidden {
	position: absolute !important;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Section spacing — every full-width page section.
   Why CSS: the same padding (96/64/40 top-bottom, 32/24/16 sides) would
   otherwise be typed by hand on every section of every page (rule 5).
   Elementor container settings set on one element still win, because they
   are more specific. */
.e-con.ec-section {
	--padding-top: 96px;
	--padding-bottom: 96px;
	--padding-left: 32px;
	--padding-right: 32px;
}

/* Variant: section that follows the page title (less space on top). */
.e-con.ec-section--after-title {
	--padding-top: 24px;
}

@media (max-width: 1024px) {
	.e-con.ec-section {
		--padding-top: 64px;
		--padding-bottom: 64px;
		--padding-left: 24px;
		--padding-right: 24px;
	}
}

/* Phones: 15 px at the sides (user, 17 Nov 2026), so nothing touches the
   screen edge. */
@media (max-width: 767px) {
	.e-con.ec-section {
		--padding-top: 40px;
		--padding-bottom: 40px;
		--padding-left: 15px;
		--padding-right: 15px;
	}
}

/* Cream section background (alternate sections).
   Why CSS: one class instead of picking the Cream global on every section;
   a Site Settings change still flows through the variable. */
.ec-bg-cream {
	background-color: var(--e-global-color-cream);
}

/* Dark band: Navy background with light text and links (footer, CTA band).
   Why CSS: link colors inside text widgets cannot be set once per band in
   Elementor; each widget would need its own link color. */
.ec-on-dark {
	background-color: var(--e-global-color-primary);
	color: var(--e-global-color-footertext);
}

/* :is() (not :where) so this beats Site Settings' ".elementor-kit-6 h2". */
.ec-on-dark :is(h1, h2, h3, h4, .elementor-heading-title) {
	color: var(--e-global-color-white);
}

.ec-on-dark a:not(.elementor-button) {
	color: var(--e-global-color-footertext);
}

.ec-on-dark a:not(.elementor-button):hover {
	color: var(--e-global-color-white);
}


/* 2. Components
   ========================================================================== */

/* --- Text styles ---------------------------------------------------------- */

/* Body text written with the Heading widget (tag p: leads, card lines,
   labels). Elementor gives every Heading line-height 1, so a two-line
   sentence was cramped (user, 16 Nov 2026). Paragraph lines get 1.5;
   real headings (h1–h4) and the big counter numbers keep their own.
   Why CSS: Site Settings cannot target Heading widgets by their tag. */
p.elementor-heading-title {
	line-height: 1.5;
}

/* Running text: 16 px between paragraphs, none under the last one.
   Site Settings → Typography → Paragraph spacing is 0 (user, 16 Nov 2026),
   because it also put 16 px under every one-line text and made the gaps in
   containers uneven. Why CSS: Elementor's setting cannot leave out the last
   paragraph or the Heading widget. */
:is(.elementor-widget-text-editor, .elementor-widget-theme-post-content, .elementor-widget-n-accordion, .elementor-widget-theme-post-excerpt) p:not(:last-child) {
	margin-block-end: 16px;
}

.ec-big-number p.elementor-heading-title {
	line-height: 1.1;
}

/* Eyebrow — small caps line above a title ("SHARJAH · RAS AL KHAIMAH").
   Why CSS: letter spacing and uppercase are text styles, not one of the
   Site Settings Typography slots (Body, H1–H4). */
.ec-eyebrow :where(.elementor-heading-title, p) {
	margin: 0;
	color: var(--e-global-color-accent);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Lead — the intro line under an H1 (18px desktop).
   Why CSS: one size for every intro instead of a size on each widget. */
.ec-lead :where(.elementor-heading-title, p) {
	font-size: 18px;
}

/* Meta line — dates, validity, file size, "Posted 12 Nov".
   Why CSS: Muted color + small size together on many widgets. */
.ec-meta :where(.elementor-heading-title, p) {
	color: var(--e-global-color-muted);
	font-size: 13px;
}

@media (max-width: 1024px) {
	.ec-eyebrow :where(.elementor-heading-title, p),
	.ec-meta :where(.elementor-heading-title, p) {
		font-size: 12px;
	}

	.ec-lead :where(.elementor-heading-title, p) {
		font-size: 16px;
	}
}

@media (max-width: 767px) {
	.ec-eyebrow :where(.elementor-heading-title, p),
	.ec-meta :where(.elementor-heading-title, p) {
		font-size: 10px;
	}

	.ec-lead :where(.elementor-heading-title, p) {
		font-size: 12px;
	}
}

/* --- Prices (Sale Red is for discounts only, assets/brand.md) ------------ */

/* Sale price — "AED 29.95" in Sale Red.
   Why CSS: keeps Sale Red in one place, so it is never picked by hand for
   anything that is not a discount. */
.ec-price-now :where(.elementor-heading-title, p) {
	margin: 0;
	color: var(--e-global-color-salered);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
}

/* Old price — struck through, Muted. */
.ec-price-was :where(.elementor-heading-title, p) {
	margin: 0;
	color: var(--e-global-color-muted);
	font-size: 13px;
	text-decoration: line-through;
}

@media (max-width: 1024px) {
	.ec-price-now :where(.elementor-heading-title, p) {
		font-size: 24px;
	}
}

@media (max-width: 767px) {
	.ec-price-now :where(.elementor-heading-title, p) {
		font-size: 18px;
	}

	.ec-price-was :where(.elementor-heading-title, p) {
		font-size: 10px;
	}
}

/* --- Buttons --------------------------------------------------------------- */

/* Secondary (outlined) button — "Find your branch", "Call", "WhatsApp".
   Why CSS: Site Settings → Buttons defines one button style only. The
   border is inside the 48px height, so padding is 2px smaller. */
.ec-btn-outline .elementor-button {
	background-color: transparent;
	color: var(--e-global-color-primary);
	border: 2px solid var(--e-global-color-primary);
	padding: 14px 22px;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Hover: a clear but quiet change (user, 16 Nov 2026: the Cream fill did
   not show on white): Mist fill, Navy Deep border and text. */
.ec-btn-outline .elementor-button:hover,
.ec-btn-outline .elementor-button:focus-visible {
	border-color: var(--e-global-color-navydeep);
	background-color: var(--e-global-color-mist);
	color: var(--e-global-color-navydeep);
}

@media (prefers-reduced-motion: reduce) {
	.ec-btn-outline .elementor-button {
		transition: none;
	}
}

/* Gold button on dark bands — "Join on WhatsApp", "Directions" on photos. */
.ec-btn-gold .elementor-button {
	background-color: var(--e-global-color-secondary);
	color: var(--e-global-color-primary);
}

.ec-btn-gold .elementor-button:hover,
.ec-btn-gold .elementor-button:focus-visible {
	background-color: var(--e-global-color-white);
	color: var(--e-global-color-primary);
}

/* White outlined button on dark bands — "Call" on photos, "Get email offers". */
.ec-btn-outline-light .elementor-button {
	background-color: transparent;
	color: var(--e-global-color-white);
	border: 2px solid var(--e-global-color-white);
	padding: 14px 22px;
}

.ec-btn-outline-light .elementor-button:hover,
.ec-btn-outline-light .elementor-button:focus-visible {
	background-color: var(--e-global-color-white);
	color: var(--e-global-color-primary);
}

@media (max-width: 767px) {
	.ec-btn-outline .elementor-button,
	.ec-btn-outline-light .elementor-button {
		padding: 12px 18px;
	}
}

/* Action row — Directions / Call / WhatsApp, equal widths (branch pages,
   branch cards). Put the class on the container that holds the 3 buttons.
   Why CSS: buttons must stretch to equal columns and stack icon over label
   on mobile; Elementor's button widget has no "fill grid cell" option. */
.e-con.ec-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.ec-actions > .elementor-widget-button {
	inline-size: 100%;
}

.ec-actions .elementor-button {
	inline-size: 100%;
	justify-content: center;
	padding-inline: 8px;
}

@media (max-width: 767px) {
	.e-con.ec-actions {
		gap: 8px;
	}

	.ec-actions .elementor-button {
		min-block-size: 60px;
	}

	.ec-actions .elementor-button-content-wrapper {
		flex-direction: column;
		gap: 4px;
	}
}

/* --- Badges ---------------------------------------------------------------- */

/* Badge — short labels: validity, saving, status, branch, "Ended".
   Use a Heading widget (HTML tag: span or p) with ec-badge plus one
   modifier. Radius 6 (rule 9b). Why CSS: the same pill shape and padding
   on dozens of widgets. */
.ec-badge .elementor-heading-title,
.ec-badge p {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 5px 12px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

/* Validity: "Valid 10 – 30 Nov" — Gold Light, Navy text (5.8:1). */
.ec-badge--validity :where(.elementor-heading-title, p) {
	background-color: var(--e-global-color-secondary);
	color: var(--e-global-color-primary);
}

/* Saving: "Save 30%" — Sale Red, white text (5.3:1). Discounts only. */
.ec-badge--sale :where(.elementor-heading-title, p) {
	background-color: var(--e-global-color-salered);
	color: var(--e-global-color-white);
	font-weight: 700;
}

/* Status: "Open 24 hours" — Cream with a Navy dot. Static text, never live. */
.ec-badge--status :where(.elementor-heading-title, p) {
	background-color: var(--e-global-color-cream);
	color: var(--e-global-color-primary);
}

.ec-badge--status :where(.elementor-heading-title, p)::before {
	content: "";
	inline-size: 8px;
	block-size: 8px;
	border-radius: 50%;
	background-color: currentColor;
}

/* Outline: branch name tags, neutral labels. */
.ec-badge--outline :where(.elementor-heading-title, p) {
	border: 1px solid var(--e-global-color-line);
	color: var(--e-global-color-text);
}

/* Ends: the last day of a flyer — Navy, white text (9.6:1), so the end
   date is the first thing seen (user, 16 Nov 2026). */
.ec-badge--ends :where(.elementor-heading-title, p) {
	background-color: var(--e-global-color-primary);
	color: var(--e-global-color-white);
}

/* Ended: past offers. */
.ec-badge--ended :where(.elementor-heading-title, p) {
	background-color: var(--e-global-color-line);
	color: var(--e-global-color-text);
}

@media (max-width: 767px) {
	.ec-badge .elementor-heading-title,
	.ec-badge p {
		padding: 3px 8px;
		font-size: 10px;
	}
}

/* --- Cards ----------------------------------------------------------------- */

/* Card — leaflet, branch, deal, campaign, news cards (container class).
   Radius 16, 1px Line border, no shadow at rest (rule 9b).
   Why CSS: one shared card style instead of border + radius on every card. */
.e-con.ec-card {
	--border-radius: 16px;
	border: 1px solid var(--e-global-color-line);
	border-radius: 16px;
	overflow: hidden;
	background-color: var(--e-global-color-white);
	transition: box-shadow 0.2s ease;
}

/* Card without border on a Cream section (white card on cream). */
.e-con.ec-card--plain {
	border-color: transparent;
}

/* Card in Cream (contact boxes, opening hours). */
.e-con.ec-card--cream {
	border-color: transparent;
	background-color: var(--e-global-color-cream);
}

/* Hover: soft Navy shadow on cards that are links. */
.e-con.ec-card:is(:hover, :focus-within):has(a) {
	box-shadow: 0 8px 24px color-mix(in srgb, var(--e-global-color-primary) 12%, transparent);
}

/* Images inside a card fill the card width, top corners follow the card. */
.ec-card .elementor-widget-image img {
	inline-size: 100%;
	border-radius: 0;
}

/* Contact card (Contact page): address, phone, WhatsApp, hours as links.
   Why CSS: Icon List links take the global link colour; here they read as
   Ink text with a Navy hover, and long addresses wrap under their text. */
.ec-contact-list .elementor-icon-list-item > a,
.ec-contact-list .elementor-icon-list-item {
	align-items: flex-start;
	line-height: 1.5;
}

.ec-contact-list .elementor-icon-list-icon {
	margin-block-start: 3px;
}

.ec-contact-list a:is(:hover, :focus-visible) .elementor-icon-list-text {
	color: var(--e-global-color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Contact page, one block per branch (like safarimalls.com/contacts): photo
   left, details right. The details sit in the middle of the photo's height. */
.e-con.ec-contact-card {
	align-items: center;
}

.ec-contact-photo img,
.ec-manager-note__photo img,
.ec-about-hero__photo img {
	border-radius: 16px;
}

/* "Get directions" with a small Gold box holding an arrow (↗). Why CSS: the
   Heading widget has no icon; the arrow is decoration, the text is the link. */
.ec-directions .elementor-heading-title {
	font-size: 15px;
	font-weight: 600;
}

.ec-directions .elementor-heading-title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--e-global-color-primary);
}

.ec-directions .elementor-heading-title a::after {
	content: "\2197";
	display: inline-grid;
	place-items: center;
	inline-size: 24px;
	block-size: 24px;
	border-radius: 6px;
	background-color: var(--e-global-color-secondary);
	color: var(--e-global-color-primary);
	font-size: 13px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.ec-directions .elementor-heading-title a:is(:hover, :focus-visible) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ec-directions .elementor-heading-title a:is(:hover, :focus-visible)::after {
	transform: translate(2px, -2px);
}

@media (max-width: 767px) {
	.ec-directions .elementor-heading-title {
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ec-directions .elementor-heading-title a::after {
		transition: none;
	}
}

/* --- Image card (reference 04) --------------------------------------------- */

/* Image card — real photo as <img>, title and buttons in HTML over it,
   on a Navy scrim (Home: offers and branch cards).
   Build: container (class ec-image-card) → Image widget + inner container
   (class ec-image-card__body) with the text and buttons.
   Why CSS: Elementor cannot lay an Image widget under a sibling container
   and zoom it on hover; a background image would hide the photo from
   Google (stack.md: no essential content in background images). */
.e-con.ec-image-card {
	position: relative;
	display: grid;
	min-block-size: 520px;
	border-radius: 16px;
	overflow: hidden;
	isolation: isolate;
}

.ec-image-card > .elementor-widget-image {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.ec-image-card > .elementor-widget-image img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.6s ease;
}

.ec-image-card:hover > .elementor-widget-image img {
	transform: scale(1.04);
}

.e-con.ec-image-card__body {
	align-self: end;
	background: linear-gradient(to top,
		color-mix(in srgb, var(--e-global-color-navydeep) 94%, transparent) 60%,
		transparent);
	color: var(--e-global-color-white);
}

.ec-image-card__body :is(h2, h3, .elementor-heading-title) {
	color: var(--e-global-color-white);
}

@media (max-width: 767px) {
	.e-con.ec-image-card {
		min-block-size: 360px;
	}
}

/* --- Round photos (rule 9b: circles) --------------------------------------- */

/* Department circles: the round shape, Gold ring, size and title are the
   Image Box widget's own settings (lib-elementor.php, eb_dept_box). */

/* Round icon badge (trust strip, services): Cream circle behind an icon. */
.ec-icon-circle .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 56px;
	block-size: 56px;
	border-radius: 50%;
	background-color: var(--e-global-color-cream);
	color: var(--e-global-color-primary);
	font-size: 24px;
}

.ec-icon-circle .elementor-icon svg {
	inline-size: 24px;
	block-size: 24px;
	fill: currentColor;
}

/* --- Swipe row (rule 11) --------------------------------------------------- */

/* Swipe row — side-by-side boxes on desktop become one horizontal,
   swipeable row on mobile. In Elementor, on mobile: container direction
   row, no wrap, overflow auto, fixed child width. This class only adds
   scroll-snap and the side padding, which Elementor has no control for. */
@media (max-width: 767px) {
	.e-con.ec-scroll-row {
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 16px;
		overscroll-behavior-inline: contain;
		scrollbar-width: thin;
	}

	.ec-scroll-row > .e-con,
	.ec-scroll-row > .elementor-element {
		scroll-snap-align: start;
		flex-shrink: 0;
	}
}

/* --- Branch switch --------------------------------------------------------- */

/* Branch switch — "Sharjah | Ras Al Khaimah", two plain links; the current
   one is white on Cream and carries aria-current="page".
   Build: Text Editor widget (class ec-switch) with two links.
   Why CSS: a segmented look for plain links; Elementor's Tabs widget would
   hide the other branch behind JavaScript (rule 18). */
.ec-switch p {
	display: inline-flex;
	gap: 4px;
	margin: 0;
	padding: 4px;
	border-radius: 12px;
	background-color: var(--e-global-color-cream);
}

.ec-switch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 40px;
	padding-inline: 18px;
	border-radius: 8px;
	color: var(--e-global-color-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.ec-switch a[aria-current="page"] {
	background-color: var(--e-global-color-white);
	color: var(--e-global-color-primary);
	box-shadow: 0 1px 3px color-mix(in srgb, var(--e-global-color-primary) 15%, transparent);
}

@media (max-width: 767px) {
	.ec-switch p {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.ec-switch a {
		font-size: 13px;
	}
}

/* --- Accordions (FAQ, opening hours) --------------------------------------- */

/* Native <details>: a + / − marker at the end of the summary line.
   Why CSS: used on Text Editor HTML (branch hours) where the Nested
   Accordion widget is too heavy; the marker is not a setting there. */
.ec-details details {
	border-block-start: 1px solid var(--e-global-color-line);
	padding-block: 16px;
}

.ec-details details:last-child {
	border-block-end: 1px solid var(--e-global-color-line);
}

.ec-details summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	color: var(--e-global-color-primary);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

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

.ec-details summary::after {
	content: "+";
	font-size: 1.3em;
	line-height: 1;
}

.ec-details details[open] > summary::after {
	content: "−";
}


/* --- Link lists (Icon List widget used without icons) --------------------- */

/* Plain link lists in the mega menu and footer.
   Why CSS: Icon List adds icon spacing and a gray default text color even
   with no icon; links must use the global link colors. */
.ec-link-list .elementor-icon-list-icon {
	display: none;
}

:where(.ec-link-list) .elementor-icon-list-item > a {
	color: inherit;
}

/* :where() keeps this at the lowest weight, so a widget's own text color
   (for example the menu panels) wins. */
:where(.ec-link-list) .elementor-icon-list-text {
	color: inherit;
	padding-inline-start: 0;
}


/* --- Header (Theme Builder template "Everyday Center — Header") ---------- */

/* Colors, type sizes, the logo names, menu titles, panel and toggle
   styles, the shortcut buttons and the ticker text are set in the widgets
   themselves (theme/setup/header-footer.php). Only what Elementor has no
   control for is here. */

/* Top bar ticker: both branches' facts move from right to left, forever.
   Why CSS: Elementor has no marquee. The track holds the list twice and
   moves by half its width, so the copy takes the first list's place and
   the loop never jumps. It pauses on hover, on keyboard focus and with the
   Pause button (functions.php; WCAG 2.2.2), and stays still for reduced
   motion. */
.e-con.ec-ticker {
	overflow: hidden;
}

.e-con.ec-ticker__track {
	flex: none;
	inline-size: max-content;
	animation: ec-ticker 60s linear infinite;
}

@keyframes ec-ticker {
	to {
		transform: translateX(-50%);
	}
}

/* Pause only while the pointer or keyboard focus is on the facts
   themselves, not on the Pause button: otherwise "Play" would do nothing
   until the visitor clicked somewhere else. */
.ec-ticker.is-paused .ec-ticker__track,
.e-con.ec-ticker__track:is(:hover, :focus-within) {
	animation-play-state: paused;
}

/* Each list keeps its full width and ends with the same gap as between
   its items, so the seam between the two copies looks like any other gap. */
.ec-ticker__track > .ec-ticker__list {
	flex: none;
	max-inline-size: none;
	padding-inline-end: 22px;
}

.ec-ticker .elementor-icon-list-items {
	flex-wrap: nowrap;
}

.ec-ticker .elementor-icon-list-item {
	white-space: nowrap;
}

/* The branch name opens each group: bold, with a wider gap before it.
   Why CSS: Icon List items cannot be styled one by one. */
.ec-ticker [class*="elementor-repeater-item-tkname"] {
	margin-inline-start: 26px;
}

.ec-ticker [class*="elementor-repeater-item-tkname"] .elementor-icon-list-text {
	font-weight: 700;
}

/* The Pause button is added by a script, so it has no Elementor controls;
   Site Settings → Buttons would make it a 48 px Navy button. */
.e-con.ec-ticker {
	position: relative;
}

/* The button sits over the bar's end, so the long moving track cannot
   push it out of view. */
.e-con.ec-ticker .ec-ticker__pause {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	z-index: 1;
	min-block-size: 0;
	display: grid;
	place-items: center;
	inline-size: 40px;
	padding: 0;
	border: 0;
	border-inline-start: 1px solid var(--e-global-color-line);
	border-radius: 0;
	background-color: var(--e-global-color-mist);
	color: var(--e-global-color-primary);
}

.e-con.ec-ticker .ec-ticker__pause svg {
	inline-size: 12px;
	block-size: 12px;
	fill: currentColor;
}

.e-con.ec-ticker .ec-ticker__pause:is(:hover, :focus) {
	background-color: var(--e-global-color-white);
	color: var(--e-global-color-primary);
}

@media (prefers-reduced-motion: reduce) {
	.e-con.ec-ticker__track {
		animation: none;
	}

	.ec-ticker__list--copy {
		display: none;
	}

	.e-con.ec-ticker {
		overflow-x: auto;
	}
}

/* Mega Menu: the current page's item is underlined in Gold.
   Why CSS: the widget has an "active" color but no underline. */
.ec-mega-menu .e-n-menu-title.e-current .e-n-menu-title-text {
	text-decoration: underline;
	text-decoration-color: var(--e-global-color-gold);
	text-decoration-thickness: 3px;
	text-underline-offset: 10px;
}

/* Tablet/mobile menu.
   Why CSS: the widget sets the desktop dropdown width ("Fit to content")
   for every screen size, has no padding control for the open menu box and
   no divider between items, and its panel shadow is not per breakpoint. */
@media (max-width: 1024px) {
	.ec-mega-menu {
		--n-menu-dropdown-content-max-width: initial;
	}

	.ec-mega-menu :is(.e-n-menu-item, .e-n-menu-content) {
		inline-size: 100%;
		max-inline-size: 100%;
	}

	.ec-mega-menu .e-n-menu-content > .e-con {
		--width: 100%;
		inline-size: 100%;
		box-shadow: none;
		border: 0;
	}

	/* Elementor makes the open menu box transparent and has no background
	   control for it; the selector matches Elementor's own weight. */
	.ec-mega-menu .e-n-menu[data-layout="dropdown"] > .e-n-menu-wrapper {
		padding-inline: 16px;
		padding-block-end: 16px;
		background-color: var(--e-global-color-white);
	}

	.ec-mega-menu .e-n-menu-item {
		border-block-end: 1px solid var(--e-global-color-line);
	}
}

/* Menu panel links never wrap to two lines (user).
   Why CSS: Icon List has no "no wrap" setting. */
.ec-mega-panel .elementor-icon-list-text {
	white-space: nowrap;
}

/* The cards column may shrink to the panel's width.
   Why CSS: Elementor has no min-width control. */
.e-con.ec-mega-cards {
	min-inline-size: 0;
}

/* Menu flyer card: one link. */
.e-con.ec-menu-flyer {
	text-decoration: none;
}

/* Header actions (Offers, Branches): one pair for every screen size.
   Desktop: normal buttons with the icon before the text. Tablet/mobile:
   no fill, a 22 px icon over a 10 px label, side by side.
   Why CSS: the Button widget's icon position, fill and icon size are not
   per breakpoint, and it has no icon size control. */
.ec-header-action .elementor-button-icon svg {
	fill: currentColor;
}

@media (max-width: 1024px) {
	.ec-header-action .elementor-button,
	.ec-header-action.ec-btn-outline .elementor-button {
		min-block-size: 48px;
		padding: 4px 8px;
		border: 0;
		background-color: transparent;
		color: var(--e-global-color-primary);
		font-size: 10px;
	}

	.ec-header-action .elementor-button:hover {
		background-color: var(--e-global-color-cream);
		color: var(--e-global-color-primary);
	}

	/* Weight above the widget's own "Icon Position" rule. */
	.ec-header-actions .elementor-widget-button.ec-header-action .elementor-button .elementor-button-content-wrapper {
		flex-direction: column;
		gap: 2px;
	}

	.ec-header-action .elementor-button-icon svg {
		inline-size: 22px;
		block-size: 22px;
	}
}

/* Phones (user, 17 Nov 2026): icons only, beside the menu button on the
   right. The word stays in the HTML for screen readers; each icon is a
   44 px tap area. */
@media (max-width: 767px) {
	.e-con.ec-header-actions {
		margin-inline-start: auto;
		gap: 0;
	}

	.ec-header-action .elementor-button,
	.ec-header-action.ec-btn-outline .elementor-button {
		display: inline-grid;
		place-items: center;
		inline-size: 44px;
		min-block-size: 44px;
		padding: 0;
	}

	.ec-header-action .elementor-button-text {
		position: absolute;
		inline-size: 1px;
		block-size: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.ec-header-actions .elementor-widget-button.ec-header-action .elementor-button .elementor-button-content-wrapper {
		gap: 0;
	}
}


/* --- Footer (Theme Builder template "Everyday Center — Footer") ---------- */

/* Column labels in Gold Light (they are <p>, not headings).
   Why CSS: .ec-on-dark makes headings white; labels need the accent. */
.ec-on-dark .ec-footer-label .elementor-heading-title {
	color: var(--e-global-color-secondary);
}

/* Branch names in white semibold. */
.ec-footer-strong .elementor-icon-list-text {
	color: var(--e-global-color-white);
	font-weight: 600;
}

/* Meta lines on Navy use the light footer text, not Muted (contrast). */
.ec-on-dark .ec-meta .elementor-heading-title {
	color: var(--e-global-color-footertext);
}

/* Divider lines either side of the social icons. */

/* Social icons: outlined circles, white icons (not brand colors).
   Why CSS: the widget's "Official color" fills each icon with brand colors. */
.ec-footer-social .elementor-social-icon {
	inline-size: 40px;
	block-size: 40px;
	border: 1px solid var(--e-global-color-footerline);
	background-color: transparent;
	--icon-size: 18px;
}

.ec-footer-social .elementor-social-icon svg {
	fill: var(--e-global-color-white);
}

.ec-footer-social .elementor-social-icon:hover {
	background-color: var(--e-global-color-footerline);
}

/* Logo on Navy: the emblem sits in a white circle (the logo is made for
   white backgrounds, assets/brand.md). */
.ec-footer-logo img {
	inline-size: 56px;
	block-size: 56px;
	padding: 10px;
	object-fit: contain;
	border-radius: 50%;
	background-color: var(--e-global-color-white);
}

.ec-footer-legal .elementor-icon-list-items {
	justify-content: center;
}

.ec-footer-legal .elementor-icon-list-text {
	font-size: 13px;
}

/* Legal links at least 24 px tall, so they are easy to tap (WCAG 2.5.8). */
.ec-footer-legal .elementor-icon-list-item > a {
	padding-block: 3px;
}

/* --- Small text helpers (Heading widget) ----------------------------------- */

/* Text on photos and Navy: light, white, gold. Why CSS: one class per
   role instead of a color picked on each widget inside loop templates. */
.ec-text-light .elementor-heading-title {
	color: var(--e-global-color-footertext);
}

.ec-text-gold .elementor-heading-title {
	color: var(--e-global-color-secondary);
	font-weight: 600;
}

.ec-text-white-link .elementor-heading-title,
.ec-text-white-link .elementor-heading-title a {
	color: var(--e-global-color-white);
	font-size: 14px;
	font-weight: 600;
}

/* "See all →" links next to section titles. */
.ec-see-all .elementor-heading-title {
	font-size: 15px;
	font-weight: 600;
}

/* Section head row (H2 + "All offers →"): the link sits on the heading's
   line, centred with it. On phones the bottom-aligned link looked as if it
   were above the heading. Why CSS: the same row is on every section head;
   one rule instead of a setting on each. Only in row containers (Elementor
   writes --flex-direction on each container): in a column, such as the text
   beside the branches map or the FAQ intro, centring would move the heading
   and text to the middle (user, 16 Nov 2026: keep those left-aligned).
   Browsers without style queries keep the link at the bottom of the row. */
@container style(--flex-direction: row) {
	.ec-see-all,
	.elementor-widget-heading:has(h2):has(+ .ec-see-all) {
		align-self: center;
	}
}

@media (max-width: 767px) {
	.ec-see-all .elementor-heading-title {
		font-size: 13px;
	}
}

.ec-strong .elementor-heading-title {
	color: var(--e-global-color-primary);
	font-size: 18px;
	font-weight: 600;
}

/* Big serif number: ratings, "In numbers". */
.ec-big-number .elementor-heading-title {
	font-weight: 700;
	font-size: 56px;
	line-height: 1;
	color: var(--e-global-color-primary);
}

.ec-on-dark .ec-big-number .elementor-heading-title {
	color: var(--e-global-color-secondary);
}

/* Smaller on tablet and phone: at 56 px "290,000+" did not fit its half of
   the row on phones (About) and the page scrolled sideways. Numbers with
   their own size in Elementor keep it. */
@media (max-width: 1024px) {
	.ec-big-number .elementor-heading-title {
		font-size: 40px;
	}
}

@media (max-width: 767px) {
	.ec-big-number .elementor-heading-title {
		font-size: 28px;
	}
}

/* Empty dynamic fields render nothing visible. Why CSS: Elementor prints
   the widget even when the field is empty, which would leave a gap. */
.elementor-widget-heading:has(.elementor-heading-title:empty) {
	display: none;
}

/* A button whose dynamic link is empty (no PDF yet, no WhatsApp yet) is
   hidden instead of showing a dead button. */
.elementor-widget-button:has(a.elementor-button:not([href])),
.elementor-widget-button:has(a.elementor-button[href=""]) {
	display: none;
}

/* Note shown under a gallery only while it has no photos. */
.ec-empty-note {
	display: none;
}

.e-con:has(> .elementor-widget-image-gallery:not(:has(img))) > .ec-empty-note {
	display: block;
}

/* Offer pages: "The flyer will appear here soon" only while a flyer has no
   DearFlip shortcode and no PDF (no page-turning flyer printed). */
.ec-flyer-viewer__body:not(:has(.ec-flyer-book)) > .ec-empty-note {
	display: block;
}

/* --- Offer pages: flyer viewer and branch card ----------------------------- */

/* The flyer as a document window (user, 16 Nov 2026): a white toolbar with
   the campaign name, the dates and a small "PDF" pill, the flyer under it on
   Mist. Why CSS: the frame, the toolbar line and the pill shape are one
   look across both offer pages; Elementor has no "window" style. */
.e-con.ec-flyer-viewer {
	overflow: hidden;
	border: 1px solid var(--e-global-color-line);
	border-radius: 16px;
	background-color: var(--e-global-color-mist);
}

.e-con.ec-flyer-viewer__bar {
	border-block-end: 1px solid var(--e-global-color-line);
	background-color: var(--e-global-color-white);
}

.ec-flyer-viewer__body .ec-flyer-book,
.ec-flyer-viewer__body .ec-empty-note,
.ec-flyer-viewer__body .gallery {
	padding: 16px;
}

.ec-flyer-download .elementor-button {
	min-block-size: 0;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

/* No PDF: no download pill (the page images show instead). */
.ec-flyer-download:has(.elementor-button:not([href]), .elementor-button[href=""], .elementor-button[href="#"]) {
	display: none;
}

/* Ended offer ([ec_offer_status], plugin): a clear Sale Red notice at the
   top, and no Download button (body class from the plugin). */
.ec-offer-expired {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 14px 18px;
	border: 1px solid var(--e-global-color-salered);
	border-radius: 12px;
	background-color: #fdeced;
}

.ec-offer-expired__badge {
	padding: 4px 10px;
	border-radius: 6px;
	background-color: var(--e-global-color-salered);
	color: var(--e-global-color-white);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ec-offer-expired__text {
	margin: 0;
	color: var(--e-global-color-text);
	font-weight: 600;
}

.ec-offer-expired__text a {
	color: var(--e-global-color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ec-offer-is-expired .ec-flyer-download {
	display: none;
}

.elementor-widget-shortcode.ec-offer-status:has(.elementor-shortcode:empty) {
	display: none;
}

/* Past offers: each row is a link to its offer page. */
.e-con.ec-list-row--link {
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.e-con.ec-list-row--link:is(:hover, :focus-visible) {
	background-color: var(--e-global-color-cream);
}

@media (max-width: 767px) {
	.ec-offer-expired {
		padding: 12px;
	}

	.ec-offer-expired__badge {
		font-size: 10px;
	}

	.ec-offer-expired__text {
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.e-con.ec-list-row--link {
		transition: none;
	}
}

.ec-offer-terms a {
	color: var(--e-global-color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ec-branch-strip__photo img {
	border-radius: 12px;
}

.e-con.ec-branch-strip {
	align-items: center;
}

/* The buttons take only their own width, so the text gets the rest and the
   buttons sit at the card's right edge. The toolbar text may shrink below
   its content width, so the PDF pill always fits. Why CSS: a container's
   width can only be set in px or %, not "fit the content". */
.e-con.ec-branch-strip > .e-con:last-child {
	--width: auto;
	flex: 0 0 auto;
}

.e-con.ec-flyer-viewer__bar > .e-con {
	min-inline-size: 0;
}

.e-con.ec-flyer-viewer__bar > .ec-flyer-download {
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.ec-flyer-download .elementor-button {
		padding: 8px 14px;
		font-size: 13px;
	}

	.ec-flyer-viewer__body .ec-flyer-book,
	.ec-flyer-viewer__body .ec-empty-note,
	.ec-flyer-viewer__body .gallery {
		padding: 8px;
	}

	.e-con.ec-branch-strip .elementor-button {
		inline-size: 100%;
	}

	.e-con.ec-branch-strip > .e-con:last-child {
		--width: 100%;
		flex: 1 1 100%;
	}

	.e-con.ec-branch-strip > .e-con:last-child > .elementor-widget-button {
		flex: 1 1 0;
	}
}

/* --- Breadcrumb (Rank Math) ------------------------------------------------- */

/* Why CSS: Rank Math prints its own markup; 13px Muted, links Navy. */
.rank-math-breadcrumb p {
	margin: 0;
	font-size: 13px;
	color: var(--e-global-color-muted);
}

.rank-math-breadcrumb a {
	color: var(--e-global-color-primary);
}

.rank-math-breadcrumb .separator {
	margin-inline: 6px;
}

/* --- Layout helpers --------------------------------------------------------- */

/* Narrow reading column (legal, FAQ, news post, forms). */
.e-con.ec-narrow > .e-con-inner,
.e-con.ec-narrow:not(:has(> .e-con-inner)) {
	max-inline-size: 860px;
	margin-inline: auto;
}

.e-con.ec-narrow-content .elementor-widget-form {
	max-inline-size: 860px;
}

/* Hero: space above and below. */
.e-con.ec-hero {
	--padding-top: 56px;
	--padding-bottom: 64px;
}

@media (max-width: 767px) {
	.e-con.ec-hero {
		--padding-top: 28px;
		--padding-bottom: 24px;
	}

	.e-con.ec-hero {
		align-items: flex-start;
	}

	.ec-hero .elementor-widget-heading .elementor-heading-title {
		text-align: start;
	}
}

/* Dark band (sign-up, reviews) with rounded corners inside a section. */
.e-con.ec-band {
	border-radius: 16px;
}

/* Trust strip: lines above and below. */
.e-con.ec-trust-strip,
.e-con.ec-tag-strip {
	border-block: 1px solid var(--e-global-color-line);
}

/* Store section page: the tag strip under the top (user, 16 Nov 2026).
   Tags are Cream pills here (the white pill is for Cream bands). */
.ec-tag-strip .ec-eyebrow {
	margin-inline-end: 6px;
}

.ec-tag-strip .ec-pill .elementor-heading-title {
	padding: 8px 14px;
	background-color: var(--e-global-color-cream);
	font-size: 14px;
}

.ec-section-hero__photo img {
	border-radius: 16px;
}

@media (max-width: 767px) {
	.ec-tag-strip .ec-pill .elementor-heading-title {
		padding: 6px 12px;
		font-size: 12px;
	}
}

.ec-trust .elementor-icon-box-title {
	margin: 0;
	color: var(--e-global-color-primary);
	font-size: 16px;
	font-weight: 600;
}

.ec-trust .elementor-icon-box-description {
	margin: 0;
	color: var(--e-global-color-muted);
	font-size: 13px;
}

/* Phones: the info strip shows two facts per row (grid setting), each
   smaller: 36 px icon circle, 12 / 10 px text (user, 17 Nov 2026). */
@media (max-width: 767px) {
	.ec-trust-strip .ec-trust .elementor-icon {
		inline-size: 36px;
		block-size: 36px;
	}

	.ec-trust-strip .ec-trust .elementor-icon svg {
		inline-size: 16px;
		block-size: 16px;
	}

	.ec-trust-strip .ec-trust .elementor-icon-box-wrapper {
		gap: 8px;
	}

	.ec-trust-strip .ec-trust .elementor-icon-box-icon {
		margin: 0 !important;
	}

	.ec-trust-strip .ec-trust .elementor-icon-box-title {
		font-size: 12px;
		line-height: 1.3;
	}

	.ec-trust-strip .ec-trust .elementor-icon-box-description {
		font-size: 10px;
		line-height: 1.3;
	}
}

/* --- Cards and photos ------------------------------------------------------- */

/* Photos inside cards fill the card top; fixed ratio until real photos. */
.ec-card__photo img,
.ec-news-card__photo img,
.ec-branch-photo img,
.ec-dept-photo img,
.ec-wide-photo img,
.ec-post-photo img {
	inline-size: 100%;
	object-fit: cover;
	background-color: var(--e-global-color-line);
}

.ec-card__photo img {
	aspect-ratio: 16 / 9;
	border-radius: 0;
}

.ec-news-card__photo img {
	aspect-ratio: 16 / 10;
}

.ec-branch-photo img,
.ec-dept-photo img {
	aspect-ratio: 16 / 11;
}

.ec-wide-photo img {
	aspect-ratio: 21 / 8;
}

/* Offer card: the campaign image on top at its own 16:9 shape (campaign
   banners are 1280 x 720, user 16 Nov 2026), the text under it. Why CSS:
   the Image widget has no aspect-ratio control. */
.ec-flyer-card__cover {
	inline-size: 100%;
}

.ec-flyer-card__cover img {
	inline-size: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0;
	background-color: var(--e-global-color-secondary);
}

/* Offer card buttons: "See the offer" and "PDF" side by side even in a
   narrow card; the download icon takes the text colour. */
.ec-offer-actions .elementor-button {
	padding-inline: 16px;
	white-space: nowrap;
}

.ec-offer-actions .elementor-button-icon svg {
	fill: currentColor;
}

/* Cards in a Loop Grid row are the same height (one card may have an
   extra button). Why CSS: the loop item's card cannot fill its grid cell
   from a setting. */
.e-loop-item > .e-con.ec-card {
	block-size: 100%;
}

/* A Button widget whose link field is empty (e.g. "Download PDF" on an
   offer without a PDF) prints a link with no address: hide it. */
.elementor-widget-button:has(a.elementor-button:not([href])) {
	display: none;
}

/* Flyer link in the Home hero: white tile with the dates. */
.e-con.ec-flyer-link {
	border-radius: 10px;
	background-color: var(--e-global-color-white);
	text-decoration: none;
}

.ec-flyer-link__title .elementor-heading-title {
	color: var(--e-global-color-primary);
	font-size: 15px;
	font-weight: 600;
}

/* Narrow photo cards: the 3 actions keep one line each. */
.ec-image-card .ec-actions .elementor-button {
	padding-inline: 4px;
	font-size: 13px;
	white-space: nowrap;
}

/* Flyer pages: tall page images with the card radius. */
.ec-flyer-pages .gallery-item img {
	inline-size: 100%;
	block-size: auto;
	border-radius: 16px;
}

/* Rows in lists (past offers). */
.e-con.ec-list-row {
	border-block-end: 1px solid var(--e-global-color-line);
}

/* Department row: round photos in a row; a swipe row on mobile (rule 11). */
.e-con.ec-dept-row {
	display: grid;
	grid-template-columns: repeat(9, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 1024px) {
	.e-con.ec-dept-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.e-con.ec-dept-row {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 14px;
	}

	.ec-dept-row > .elementor-element {
		flex: 0 0 84px;
		scroll-snap-align: start;
	}
}


/* --- Questions and answers (one style everywhere) --------------------------- */

/* FAQ (.ec-faq-list) on Home, the FAQ page and the branch pages alike
   (user, 16 Nov 2026): Elementor's Nested Accordion (<details>, so the
   answers open without JavaScript), a line between questions, no boxes,
   Navy questions, Gold +/- icons. Built by eb_faq_accordion().
   Why CSS: the widget's own borders sit on every item and its title. */
.ec-faq-list {
	--n-accordion-item-title-space-between: 0px;
	--n-accordion-item-title-distance-from-content: 0px;
}

.ec-faq-list .e-n-accordion-item {
	border-block-start: 1px solid var(--e-global-color-line);
}

.ec-faq-list .e-n-accordion-item:last-of-type {
	border-block-end: 1px solid var(--e-global-color-line);
}

.ec-faq-list .e-n-accordion-item-title {
	gap: 16px;
	padding: 18px 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.ec-faq-list .e-n-accordion-item-title-text {
	margin: 0;
	color: var(--e-global-color-primary);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
}

.ec-faq-list .e-n-accordion-item-title-icon svg {
	inline-size: 14px;
	block-size: 14px;
	fill: var(--e-global-color-accent);
}

.ec-faq-list .e-n-accordion-item > .e-con {
	padding: 0 0 18px;
	border: 0;
	background: none;
}

.ec-faq-list .e-n-accordion-item > .e-con p {
	margin: 0;
}

/* Links in answers must look like links (WCAG 1.4.1: not by colour alone). */
.ec-faq-list .e-n-accordion-item > .e-con a {
	color: var(--e-global-color-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 767px) {
	.ec-faq-list .e-n-accordion-item-title-text {
		font-size: 16px;
	}
}

/* --- Forms (Elementor Form widget) ------------------------------------------ */

/* Field look comes from Site Settings → Form Fields; this sets the 48px
   height and the full-width submit on mobile. */
.ec-form .elementor-field-textual:not(textarea),
.ec-form-on-dark .elementor-field-textual {
	min-block-size: 48px;
}

.ec-form-on-dark .elementor-button {
	background-color: transparent;
	border: 2px solid var(--e-global-color-white);
}

@media (max-width: 767px) {
	.ec-form .e-form__buttons .elementor-button {
		inline-size: 100%;
	}
}

/* Consent tick box: 20 px instead of the browser's 13 px, easier to tap
   (WCAG 2.5.8), in the site's Navy. */
.elementor-form .elementor-acceptance-field {
	inline-size: 20px;
	block-size: 20px;
	flex-shrink: 0;
	margin: 0;
	accent-color: var(--e-global-color-primary);
}

/* The tick box and its sentence side by side, the text wrapping beside the
   box (not under it), in normal weight: it is a sentence, not a label. */
.elementor-form .elementor-field-type-acceptance .elementor-field-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.elementor-form .elementor-field-type-acceptance .elementor-field-option label {
	font-weight: 400;
	line-height: 1.5;
}

/* --- Slider dots ------------------------------------------------------------ */

/* The dots stay small, but each one takes taps in a 24 px area around it
   (WCAG 2.5.8). Why CSS: Elementor sets only the dot's own size. */
.swiper-pagination-bullet {
	position: relative;
}

.swiper-pagination-bullet::after {
	content: "";
	position: absolute;
	inset: -9px;
}

/* --- Galleries on phones ---------------------------------------------------- */

/* Elementor's Basic Gallery always shows one photo per row below 480 px, so
   a 25-photo gallery was over 5,000 px long. Two per row on phones; the
   flyer pages stay one per row so they can be read. */
@media (max-width: 767px) {
	.elementor-widget-image-gallery:not(.ec-flyer-pages) .gallery:not(.gallery-columns-1) .gallery-item {
		max-inline-size: 50%;
	}
}

/* --- Home hero: text column and the branch photo cards ------------------- */

/* Why CSS: the branch cards are a Loop Grid widget. Elementor's widget
   "grow" setting leaves min-width auto, so long card text would push the
   row wider than the page. */
.e-con.ec-hero-grid > .ec-home-branches {
	flex: 1 1 0;
	min-inline-size: 0;
}

@media (max-width: 1024px) {
	.e-con.ec-hero-grid > .ec-home-branches {
		flex-basis: auto;
		inline-size: 100%;
	}
}

/* Smaller numbers in the hero facts row (the big size is for "In numbers"). */
.ec-hero-stats .ec-big-number .elementor-heading-title {
	font-size: 36px;
}

@media (max-width: 767px) {
	.ec-hero-stats .ec-big-number .elementor-heading-title {
		font-size: 24px;
	}
}

/* "This month's offers" label: a strong line, not a heading (rule 6). */
.ec-hero-offers__title .elementor-heading-title {
	color: var(--e-global-color-primary);
	font-size: 18px;
	font-weight: 600;
}

@media (max-width: 767px) {
	.ec-hero-offers__title .elementor-heading-title {
		font-size: 14px;
	}
}

.ec-home-branches .e-loop-item,
.ec-home-branches .e-loop-item > .e-con {
	block-size: 100%;
}

/* --- Home hero: offer slider (60%) and two link boxes -------------------- */

/* The slides and boxes take the height set in Elementor (Min Height);
   the shared image-card rule above would force 520 px on all of them. */
.e-con.ec-image-card.ec-hero-box {
	min-block-size: var(--min-height);
}

/* Offer slide: only the banner image, filling the slide (the slide is the
   link). Why CSS: an Image widget cannot be stretched over its container. */
.e-con.ec-offer-slide {
	position: relative;
	overflow: hidden;
	text-decoration: none;
}

.ec-offer-slide > .ec-offer-slide__image {
	position: absolute;
	inset: 0;
}

.ec-offer-slide__image img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

/* The boxes' column may shrink below its photos' natural width.
   Why CSS: Elementor has no min-width control. */
.e-con:is(.ec-hero-boxes, .ec-hero-box) {
	min-inline-size: 0;
}

/* A box is one link: no underline, hand pointer. */
.e-con.ec-hero-box {
	text-decoration: none;
	cursor: pointer;
}

/* Slider and slides fill the hero row's height.
   Why CSS: Loop Carousel has no "equal height" for a single column. */
.ec-hero-slider .elementor-widget-loop-carousel,
.ec-hero-slider .swiper,
.ec-hero-slider .swiper-slide,
.ec-hero-slider .e-loop-item,
.ec-hero-slider .e-loop-item > .e-con {
	block-size: 100%;
}

.ec-hero-slider .swiper {
	border-radius: 16px;
}

/* Phones (user, 16 Nov 2026): no arrows (people swipe), and the dots sit
   under the slider, Navy on the page, not on the banner. The slide keeps
   its height; the dots add a row below. Why CSS: the Loop Carousel's
   arrows and dot position are one setting for every screen size. */
@media (max-width: 767px) {
	.ec-hero-slider .elementor-widget-loop-carousel .swiper ~ .elementor-swiper-button {
		display: none;
	}

	.ec-hero-slider .elementor-widget-loop-carousel {
		block-size: auto;
	}

	.ec-hero-slider .swiper {
		block-size: auto;
		aspect-ratio: 5 / 3;
	}

	.ec-hero-slider .elementor-widget-loop-carousel .swiper-pagination {
		position: static;
		inset: auto;
		display: flex;
		justify-content: center;
		inline-size: 100%;
		gap: 4px;
		margin-block-start: 12px;
		transform: none;
	}

	.ec-hero-slider .swiper-pagination-bullet {
		inline-size: 8px;
		block-size: 8px;
		margin: 0 !important;
		background-color: var(--e-global-color-line);
		opacity: 1;
	}

	.ec-hero-slider .swiper-pagination-bullet-active {
		inline-size: 22px;
		border-radius: 4px;
		background-color: var(--e-global-color-primary);
	}
}

/* --- Reviews wall (plugin shortcode [ec_reviews_wall]) -------------------- */

/* Rows of review cards that move forever (user design, 16 Nov 2026).
   Why CSS: the cards are printed by the plugin (Elementor cannot loop the
   reviews into moving rows). Each row holds its cards twice and moves by
   half its width, so the loop never jumps; rows alternate direction. It
   pauses on hover, keyboard focus and with the Pause button (functions.php,
   WCAG 2.2.2), and stays still, scrollable by hand, for reduced motion. */
.ec-reviews-wall {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ec-reviews-wall__row {
	overflow: hidden;
}

/* The wall itself does not clip, so its Pause button can sit just below
   the last row, in the free space above the illustration. */

.ec-reviews-wall__track {
	display: flex;
	inline-size: max-content;
	animation: ec-reviews-left 110s linear infinite;
}

.ec-reviews-wall__row--2 .ec-reviews-wall__track {
	animation-name: ec-reviews-right;
	animation-duration: 130s;
}

.ec-reviews-wall__row--3 .ec-reviews-wall__track {
	animation-duration: 120s;
}

@keyframes ec-reviews-left {
	to {
		transform: translateX(-50%);
	}
}

@keyframes ec-reviews-right {
	from {
		transform: translateX(-50%);
	}

	to {
		transform: translateX(0);
	}
}

/* A row stops while the pointer or keyboard focus is on it; the button
   stops them all. (Hover on the button itself does not pause, so "Play"
   works at once.) */
.ec-reviews-wall.is-paused .ec-reviews-wall__track,
.ec-reviews-wall__row:is(:hover, :focus-within) .ec-reviews-wall__track {
	animation-play-state: paused;
}

.ec-reviews-wall__list {
	display: flex;
	gap: 16px;
	padding-inline-end: 16px;
}

.ec-review {
	display: flex;
	flex-direction: column;
	gap: 8px;
	inline-size: max-content;
	min-inline-size: 240px;
	max-inline-size: 400px;
	margin: 0;
	padding: 16px 20px;
	border: 1px solid var(--e-global-color-line);
	border-radius: 16px;
	background-color: var(--e-global-color-white);
}

.ec-review__stars {
	display: flex;
	gap: 2px;
}

.ec-review__star svg {
	inline-size: 16px;
	block-size: 16px;
	fill: var(--e-global-color-line);
}

.ec-review__star.is-on svg {
	fill: var(--e-global-color-gold);
}

.ec-review__text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--e-global-color-text);
	font-size: 15px;
	font-style: normal;
	line-height: 1.5;
	white-space: normal;
}

.ec-review__by {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-style: normal;
}

.ec-review__author {
	color: var(--e-global-color-primary);
	font-size: 14px;
	font-weight: 700;
}

.ec-review__meta {
	color: var(--e-global-color-muted);
	font-size: 12px;
}

.ec-reviews-wall .ec-ticker__pause {
	position: absolute;
	inset-block-end: -52px;
	inset-inline-end: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	inline-size: 40px;
	block-size: 40px;
	min-block-size: 0;
	padding: 0;
	border: 1px solid var(--e-global-color-line);
	border-radius: 50%;
	background-color: var(--e-global-color-white);
	color: var(--e-global-color-primary);
}

.ec-reviews-wall .ec-ticker__pause svg {
	inline-size: 12px;
	block-size: 12px;
	fill: currentColor;
}

@media (max-width: 767px) {
	.ec-reviews-wall,
	.ec-reviews-wall__list {
		gap: 14px;
	}

	.ec-review {
		min-inline-size: 220px;
		max-inline-size: 280px;
		padding: 16px;
	}

	/* Mobile type scale (rules.md, rule 10): body 12, small 10. */
	.ec-review__text,
	.ec-review__author {
		font-size: 12px;
	}

	.ec-review__meta {
		font-size: 10px;
	}

	.ec-review__star svg {
		inline-size: 14px;
		block-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ec-reviews-wall__track {
		animation: none;
	}

	.ec-reviews-wall__list--copy {
		display: none;
	}

	.ec-reviews-wall__row {
		overflow-x: auto;
	}
}

/* The rows run full width; the Pause button lines up with the heading's
   right edge (content 1400 px wide, 32 / 24 / 16 px side padding). */
.ec-reviews-band .ec-reviews-wall .ec-ticker__pause {
	inset-inline-end: max(32px, calc((100% - 1400px) / 2));
}

@media (max-width: 1024px) {
	.ec-reviews-band .ec-reviews-wall .ec-ticker__pause {
		inset-inline-end: 24px;
	}
}

@media (max-width: 767px) {
	.ec-reviews-band .ec-reviews-wall .ec-ticker__pause {
		inset-inline-end: 16px;
	}
}

/* --- Floating WhatsApp button (plugin shortcode [ec_whatsapp_float]) ------ */

/* Why CSS: plugin markup, fixed to the screen corner on every page. The
   round button opens a small list to choose the branch. */
.ec-wa-float {
	position: fixed;
	inset-block-end: 20px;
	inset-inline-end: 20px;
	z-index: 90;
}

.ec-wa-float__button {
	display: grid;
	place-items: center;
	inline-size: 56px;
	block-size: 56px;
	border-radius: 50%;
	background-color: #25d366; /* WhatsApp green: the button must read as WhatsApp at a glance. */
	box-shadow: 0 8px 20px rgba(22, 58, 80, 0.3);
	cursor: pointer;
	list-style: none;
}

.ec-wa-float__button::-webkit-details-marker {
	display: none;
}

.ec-wa-float__button svg {
	inline-size: 30px;
	block-size: 30px;
	fill: var(--e-global-color-white);
}

.ec-wa-float__menu {
	position: absolute;
	inset-block-end: 68px;
	inset-inline-end: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	inline-size: 240px;
	padding: 14px;
	border: 1px solid var(--e-global-color-line);
	border-radius: 16px;
	background-color: var(--e-global-color-white);
	box-shadow: 0 12px 32px rgba(22, 58, 80, 0.2);
}

.ec-wa-float__title {
	margin: 0 0 2px;
	color: var(--e-global-color-muted);
	font-size: 13px;
}

.ec-wa-float__link {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 10px;
	background-color: var(--e-global-color-cream);
	text-decoration: none;
}

.ec-wa-float__link:hover,
.ec-wa-float__link:focus-visible {
	background-color: var(--e-global-color-mist);
}

.ec-wa-float__city {
	color: var(--e-global-color-primary);
	font-size: 15px;
	font-weight: 700;
}

.ec-wa-float__hours {
	color: var(--e-global-color-muted);
	font-size: 12px;
}

@media (max-width: 767px) {
	.ec-wa-float {
		inset-block-end: 16px;
		inset-inline-end: 16px;
	}

	.ec-wa-float__button {
		inline-size: 52px;
		block-size: 52px;
	}
}

/* The widget that prints it takes no room in the footer. */
.ec-wa-float-widget {
	position: absolute;
	inline-size: 0;
	block-size: 0;
	overflow: visible;
}

/* --- UAE map (Branches page): the UAE lying flat, a marker per branch -- */

/* Why CSS: the dot must sit exactly on the branch. Elementor's position
   offsets place the marker's top-left corner there; moving the marker back
   by its own size minus half the dot needs calc(), which Elementor's
   Transform controls do not accept. */
.e-con.ec-map-marker--start {
	transform: translate(calc(-100% + 9px), -50%);
}

.e-con.ec-map-marker--top {
	transform: translate(-50%, calc(-100% + 9px));
}

@media (max-width: 767px) {
	.e-con.ec-map-marker--start {
		transform: translate(calc(-100% + 6px), -50%);
	}

	.e-con.ec-map-marker--top {
		transform: translate(-50%, calc(-100% + 6px));
	}
}

/* A soft Gold ring pulses out of each dot.
   Why CSS: Elementor has no looping animation; still for reduced motion. */
.e-con.ec-map-dot {
	position: relative;
	overflow: visible;
}

.e-con.ec-map-dot::after {
	content: "";
	position: absolute;
	inset: -3px;
	border: 2px solid var(--e-global-color-secondary);
	border-radius: 50%;
	animation: ec-map-pulse 2.4s ease-out infinite;
}

@keyframes ec-map-pulse {
	from {
		transform: scale(1);
		opacity: 0.9;
	}

	to {
		transform: scale(2.6);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.e-con.ec-map-dot::after {
		display: none;
	}
}

/* The marker is one link: hand pointer, no underline; the label lifts a
   little on hover and keyboard focus. Why CSS: hover state of a linked
   container's child. */
.e-con.ec-map-marker {
	text-decoration: none;
	cursor: pointer;
}

.e-con.ec-map-label {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ec-map-marker:is(:hover, :focus-visible) .e-con.ec-map-label {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(22, 58, 80, 0.24);
}

@media (prefers-reduced-motion: reduce) {
	.e-con.ec-map-label {
		transition: none;
	}
}

/* --- Branches street map: image first, then the live map by itself ------ */

/* The frame keeps the image's shape (1280 x 800), so the markers stay on
   the branches at every width and the live map takes the same box (no jump
   when it replaces the image). Why CSS: Elementor has no aspect-ratio
   control on containers. */
.e-con.ec-branches-map__frame {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #aad3df; /* OSM sea colour while the image loads */
}

.ec-branches-map__frame > .elementor-widget-image,
.ec-branches-map__frame > .elementor-widget-image img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

/* Phones: a taller map (4:5), so a branch card fits inside it. The image is
   cropped to its middle half; the markers have mobile positions for that
   crop, and Sharjah's label sits above its dot like Ras Al Khaimah's. */
@media (max-width: 767px) {
	.ec-branches-map .e-con.ec-branches-map__frame {
		aspect-ratio: 4 / 5;
	}

	.ec-branches-map .e-con.ec-map-marker--start {
		transform: translate(-50%, calc(-100% + 6px));
	}

	.ec-branches-map .ec-live-card__photo {
		aspect-ratio: 21 / 9;
	}
}

.ec-branches-map__credit p {
	margin: 0;
	font-size: 12px;
	color: var(--e-global-color-muted);
}

/* The live map lies over the image and fades in once its tiles are drawn;
   then the image's own markers are hidden (also from keyboard focus). */
.ec-branches-map__live-map {
	position: absolute;
	inset: 0;
	z-index: 4;
	font: inherit;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.ec-branches-map.is-live .ec-branches-map__live-map {
	opacity: 1;
}

.ec-branches-map.is-live .ec-branches-map__frame > :not(.ec-branches-map__live-map) {
	visibility: hidden;
	transition: visibility 0s linear 0.4s;
}

@media (prefers-reduced-motion: reduce) {
	.ec-branches-map__live-map {
		transition: none;
	}
}

/* Map tiles are square: the site's rounded image corners would leave star
   shaped gaps where four tiles meet. The credit line under the map is
   repeated inside the live map, so it hides then. */
.ec-branches-map .leaflet-container img {
	border-radius: 0 !important;
}

.ec-branches-map.is-live .ec-branches-map__credit {
	visibility: hidden;
}

/* Branch page map ([ec_branch_map], plugin HTML): the branch's own street
   map, 4:3, rounded like the site's photos, the red dot in the middle with
   its label above. Same live map as Home (branches-map.js). */
.ec-branch-map__frame {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 16px;
	background: #f2efe9; /* OSM land colour while the image loads */
}

.ec-branch-map__image {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	border-radius: 0;
}

.ec-branch-map__marker {
	position: absolute;
	inset-inline-start: 50%;
	inset-block-start: 50%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	transform: translate(-50%, calc(-100% + 9px));
	text-decoration: none;
}

.ec-branch-map__label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 12px;
	border-radius: 10px;
	background-color: var(--e-global-color-white);
	box-shadow: 0 8px 20px rgba(22, 58, 80, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ec-branch-map__label .ec-map-label__name {
	color: var(--e-global-color-primary);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.ec-branch-map__label .ec-map-label__meta {
	color: var(--e-global-color-muted);
	font-size: 12px;
	line-height: 1.2;
}

.ec-branch-map__marker:is(:hover, :focus-visible) .ec-branch-map__label {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(22, 58, 80, 0.24);
}

.ec-branch-map__dot {
	position: relative;
	inline-size: 18px;
	block-size: 18px;
	border: 3px solid var(--e-global-color-white);
	border-radius: 50%;
	background-color: var(--e-global-color-salered);
	box-shadow: 0 2px 6px rgba(22, 58, 80, 0.35);
}

.ec-branch-map__dot::after {
	content: "";
	position: absolute;
	inset: -3px;
	border: 2px solid var(--e-global-color-salered);
	border-radius: 50%;
	animation: ec-map-pulse 2.4s ease-out infinite;
}

.ec-branch-map__credit {
	margin: 8px 0 0;
	color: var(--e-global-color-muted);
	font-size: 12px;
}

.ec-branch-map__credit a {
	color: inherit;
}

.ec-branches-map.is-live .ec-branch-map__credit {
	visibility: hidden;
}

@media (max-width: 767px) {
	.ec-branch-map__label .ec-map-label__name {
		font-size: 13px;
	}

	.ec-branch-map__label .ec-map-label__meta {
		font-size: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ec-branch-map__dot::after {
		display: none;
	}

	.ec-branch-map__label {
		transition: none;
	}
}

/* Round icon buttons (Call, WhatsApp on the branch page): 48 px circles; the
   word stays in the HTML for screen readers, only the icon shows (user,
   16 Nov 2026: icons, not text buttons). Why CSS: the Button widget has no
   icon-only mode. */
.ec-btn-icon .elementor-button {
	position: relative;
	display: inline-grid;
	place-items: center;
	inline-size: 48px;
	block-size: 48px;
	min-block-size: 0;
	padding: 0;
	border-radius: 50%;
}

.ec-btn-icon .elementor-button-content-wrapper {
	gap: 0;
}

.ec-btn-icon .elementor-button-text {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.ec-btn-icon .elementor-button-icon svg {
	inline-size: 20px;
	block-size: 20px;
	fill: currentColor;
}

/* Same height as the 44 px text buttons on phones (rule 8). */
@media (max-width: 767px) {
	.ec-btn-icon .elementor-button {
		inline-size: 44px;
		block-size: 44px;
	}
}

/* Branch page gallery filter (Pro Gallery, several galleries): the tabs
   All / The store / Food / Home / Fashion as pills; the chosen one Navy.
   Why CSS: the widget's filter has only text styles. */
.ec-branch-gallery .elementor-gallery__titles-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-block-end: 20px;
}

.ec-branch-gallery .elementor-gallery-title {
	margin: 0;
	padding: 8px 16px;
	border: 1px solid var(--e-global-color-line);
	border-radius: 999px;
	background-color: var(--e-global-color-white);
	color: var(--e-global-color-primary);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.ec-branch-gallery .elementor-gallery-title::before,
.ec-branch-gallery .elementor-gallery-title::after {
	display: none;
}

.ec-branch-gallery .elementor-gallery-title.elementor-item-active,
.ec-branch-gallery .elementor-gallery-title:is(:hover, :focus-visible) {
	border-color: var(--e-global-color-primary);
	background-color: var(--e-global-color-primary);
	color: var(--e-global-color-white);
}

@media (max-width: 767px) {
	.ec-branch-gallery .elementor-gallery__titles-container {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.ec-branch-gallery .elementor-gallery-title {
		flex-shrink: 0;
		padding: 8px 14px;
		font-size: 13px;
	}
}

/* Red dots on this map (user, 16 Nov 2026); the ring pulses red too. */
.ec-branches-map .e-con.ec-map-dot::after {
	border-color: var(--e-global-color-salered);
}

/* Live map pin: the same red dot as on the image, with the same pulse. */
.ec-live-pin {
	box-sizing: border-box;
	border: 3px solid var(--e-global-color-white);
	border-radius: 50%;
	background: var(--e-global-color-salered);
	box-shadow: 0 2px 6px rgba(22, 58, 80, 0.35);
	cursor: pointer;
}

.ec-live-pin::after {
	content: "";
	position: absolute;
	inset: -3px;
	border: 2px solid var(--e-global-color-salered);
	border-radius: 50%;
	animation: ec-map-pulse 2.4s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	.ec-live-pin::after {
		display: none;
	}
}

/* Branch card in the live map (opens on a pin): photo, address, hours and
   the three actions (user, 16 Nov 2026). */
.ec-branches-map .ec-live-popup .leaflet-popup-content-wrapper {
	padding: 0;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(22, 58, 80, 0.25);
}

.ec-branches-map .ec-live-popup .leaflet-popup-content {
	margin: 0;
}

.ec-live-card {
	inline-size: 240px;
	max-inline-size: calc(100vw - 64px);
}

.ec-branches-map .ec-live-popup a.leaflet-popup-close-button {
	inset-block-start: 8px;
	inset-inline-end: 8px;
	inline-size: 28px;
	block-size: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--e-global-color-primary);
	font: 700 20px/28px sans-serif;
}

.ec-live-card__photo {
	display: block;
	inline-size: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.ec-live-card__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 10px 12px 12px;
	color: var(--e-global-color-text);
	font-size: 12px;
	line-height: 1.35;
}

.ec-branches-map .ec-live-card p {
	margin: 0;
}

.ec-live-card__name {
	color: var(--e-global-color-primary);
	font-size: 14px;
	font-weight: 700;
}

.ec-live-card__row {
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.ec-live-card__row svg {
	flex: none;
	inline-size: 13px;
	block-size: 13px;
	margin-block-start: 1px;
	fill: var(--e-global-color-muted);
}

.ec-live-card__hours {
	color: var(--e-global-color-primary);
	font-weight: 600;
}

.ec-live-card__actions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
	margin-block-start: 4px;
}

.ec-branches-map .ec-live-card__btn {
	display: block;
	padding: 8px 6px;
	border: 1.5px solid var(--e-global-color-primary);
	border-radius: 8px;
	color: var(--e-global-color-primary);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.ec-branches-map .ec-live-card__btn--main {
	background: var(--e-global-color-primary);
	color: var(--e-global-color-white);
}

.ec-branches-map .ec-live-card__btn:is(:hover, :focus-visible) {
	border-color: var(--e-global-color-secondary);
	background: var(--e-global-color-secondary);
	color: var(--e-global-color-primary);
}



.ec-branches-map .leaflet-tooltip.ec-live-label {
	padding: 6px 10px;
	border: 0;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(22, 58, 80, 0.18);
	color: var(--e-global-color-primary);
	font-weight: 700;
	line-height: 1.3;
}

.ec-live-label small {
	display: block;
	font-weight: 400;
	color: var(--e-global-color-muted);
}


/* --- Mobile swipe rows (rule 11) for Loop Grids and plain grids ----------- */

/* Loop Grid with class ec-swipe: one horizontal, swipeable row on mobile.
   Why CSS: Loop Grid only offers a grid; rule 11 wants a row with snap. */
@media (max-width: 767px) {
	.ec-swipe .elementor-loop-container,
	.e-con.ec-swipe-row:not(:has(> .e-con-inner)),
	.e-con.ec-swipe-row > .e-con-inner {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 12px;
		padding-block-end: 4px;
		scrollbar-width: thin;
	}

	.ec-swipe .elementor-loop-container > .e-loop-item,
	.e-con.ec-swipe-row > .elementor-element,
	.e-con.ec-swipe-row > .e-con-inner > .elementor-element {
		flex: 0 0 82%;
		min-inline-size: 0;
		scroll-snap-align: start;
	}

	.e-con.ec-trust-strip.ec-swipe-row > .e-con-inner > .elementor-element {
		flex-basis: 70%;
	}
}

/* --- Quotes, questions, pills, topics -------------------------------------- */

.ec-quote__text .elementor-heading-title {
	font-weight: 700;
	font-size: 20px;
	line-height: 1.4;
	color: var(--e-global-color-primary);
}

@media (max-width: 767px) {
	.ec-quote__text .elementor-heading-title {
		font-size: 14px;
	}
}

/* Pills ("What you'll find"). */
.ec-pill .elementor-heading-title {
	display: inline-flex;
	padding: 10px 18px;
	border-radius: 10px;
	background-color: var(--e-global-color-white);
	color: var(--e-global-color-primary);
	font-size: 15px;
	font-weight: 600;
}

/* Topic / contents lists (FAQ, legal). */
.ec-topic .elementor-heading-title a {
	display: flex;
	align-items: center;
	min-block-size: 40px;
	color: var(--e-global-color-primary);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.ec-topic .elementor-heading-title a:hover {
	text-decoration: underline;
}

/* Services and benefits: icon boxes on white cards. */
.ec-service,
.ec-benefit {
	padding: 20px;
	border: 1px solid var(--e-global-color-line);
	border-radius: 16px;
	background-color: var(--e-global-color-white);
}

/* Placeholder photos keep their shape until the real photos arrive. */
.ec-photo img {
	inline-size: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.ec-map img {
	inline-size: 100%;
	aspect-ratio: 21 / 8;
	object-fit: cover;
}

/* Round department photos: a square crop of any photo.
   Why CSS: Image Box has no aspect-ratio control. */
.ec-dept img {
	aspect-ratio: 1;
	object-fit: cover;
}

/* --- Top deals (plugin shortcode [ec_top_deals]) --------------------------- */

/* Why CSS: the deals are a repeater inside the flyer; Elementor cannot loop
   a repeater, so the plugin prints them and these classes style them. */
.e-con.ec-deals-section:not(:has(.ec-deals)) {
	display: none;
}

.ec-deals__title {
	margin: 0 0 24px;
}

.ec-deals__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-deal {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0 0 20px;
	overflow: hidden;
	border-radius: 16px;
	background-color: var(--e-global-color-white);
}

.ec-deal__photo {
	inline-size: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 0;
}

.ec-deal__saving {
	position: absolute;
	inset-block-start: 12px;
	inset-inline-start: 12px;
	padding: 4px 10px;
	border-radius: 6px;
	background-color: var(--e-global-color-salered);
	color: var(--e-global-color-white);
	font-size: 13px;
	font-weight: 700;
}

.ec-deal__name {
	margin: 0;
	padding-inline: 20px;
	font-size: 16px;
}

.ec-deal__prices {
	margin: 0;
	padding-inline: 20px;
}

.ec-deal__now {
	color: var(--e-global-color-salered);
	font-size: 24px;
	font-weight: 700;
}

.ec-deal__was {
	color: var(--e-global-color-muted);
	font-size: 13px;
}

@media (max-width: 767px) {
	.ec-deals__grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 10px;
	}

	.ec-deal {
		flex: 0 0 160px;
		scroll-snap-align: start;
	}

	.ec-deal__now {
		font-size: 18px;
	}
}

/* --- 404 -------------------------------------------------------------------- */

.ec-404-number .elementor-heading-title {
	font-weight: 700;
	font-size: 120px;
	line-height: 1;
	color: var(--e-global-color-secondary);
	text-align: center;
}


/* 3. Pages
   ========================================================================== */

/* (Page-specific rules go here when a page needs one.) */


/* 4. Reduced motion
   ========================================================================== */

/* Users who ask for less motion get no zoom or transitions. */
@media (prefers-reduced-motion: reduce) {
	.ec-image-card > .elementor-widget-image img,
	.e-con.ec-card {
		transition: none;
	}

	.ec-image-card:hover > .elementor-widget-image img {
		transform: none;
	}
}

/* --- Page scrollbar ------------------------------------------------------- */

/* Site colours, half the usual width (user, 16 Nov 2026): 8 px instead of
   the browser's ~17 px. Thumb = primary #1E4A64 (hover navydeep #163A50),
   track = mist #E1E6EB. The kit colours live on body, the page scrollbar on
   html, so the values are written out here. Chrome, Edge and Safari use the
   ::-webkit-scrollbar rules; Firefox has no pixel width, so it gets "thin". */
html::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

html::-webkit-scrollbar-track {
	background-color: #E1E6EB;
}

html::-webkit-scrollbar-thumb {
	border: 1px solid #E1E6EB;
	border-radius: 8px;
	background-color: #1E4A64;
}

html::-webkit-scrollbar-thumb:hover {
	background-color: #163A50;
}

@supports not selector(::-webkit-scrollbar) {
	html {
		scrollbar-width: thin;
		scrollbar-color: #1E4A64 #E1E6EB;
	}
}
