/*
 * E-commerce Calendar — styles for the shortcode output only.
 * Card layout, spacing and typography are set in Elementor; colours come from the Site Kit.
 */
:root {
	--ecom-accent: var(--e-global-color-accent, #F15A2C);
	--ecom-ink: var(--e-global-color-primary, #2A2C2F);
	--ecom-text: var(--e-global-color-text, #2A2C2F);
	--ecom-muted: #6B6D70;
	--ecom-line: #E1E1E2;
	--ecom-soft: #F5F5F6;
	--ecom-tint: #FEF2EE;          /* accent at ~8% on white */
	--ecom-tint-ink: #B54421;      /* accent darkened for AA text contrast */
	--ecom-head: var(--e-global-typography-primary-font-family, "Poppins"), sans-serif;
}

/* ── Hero title: orange semibold throughout; the span only controls where the lines break ── */
.ecom-hero-title.ecom-hero-title { margin: 0; font-family: var(--ecom-head); font-weight: 600; font-size: clamp(34px, 3.45vw, 50px); line-height: 1.09; letter-spacing: -.01em; color: var(--ecom-accent); }
.ecom-hero-title.ecom-hero-title span { display: block; font-weight: 600; color: var(--ecom-accent); }

/* ── Date + countdown ──────────────────────────────────────────── */
.ecom-when { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ecom-when time { font-variant-numeric: tabular-nums; }
.ecom-cd {                                        /* quiet helper text; the date is the headline */
	display: inline-block; padding: 0; background: none;
	font-size: 12px; line-height: 1.3; font-weight: 400; white-space: nowrap;
	color: var(--ecom-muted);
}
.ecom-cd[hidden] { display: none; }
.ecom-cd--live { color: var(--ecom-tint-ink); font-weight: 600; }

/* Timeline gutter: big day number with weekday · month underneath */
.ecom-when--day { flex-direction: column; align-items: flex-start; gap: 6px; }
.ecom-when--day time { display: flex; flex-direction: column; line-height: 1; }
.ecom-day { font-family: var(--ecom-head); font-weight: 600; font-size: 34px; color: var(--ecom-ink); }
.ecom-dow { margin-top: 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ecom-muted); }
.ecom-live .ecom-day { color: var(--ecom-accent); }

/* ── Markets ───────────────────────────────────────────────────── */
.ecom-markets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--ecom-text); }
.ecom-mk { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ecom-mk a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.ecom-mk a:hover { color: var(--ecom-accent); }
.ecom-flag { width: 16px; height: 12px; flex: none; object-fit: cover; }
img.ecom-flag.ecom-flag { border-radius: 3px; box-shadow: 0 0 0 1px #D9D9DC; }   /* beats Elementor's ".elementor img"; hairline so white edges show on white */
.ecom-globe { box-shadow: none; color: var(--ecom-muted); }
.ecom-more { padding: 1px 7px; border-radius: 999px; background: var(--ecom-soft); color: var(--ecom-muted); font-size: 12px; font-weight: 600; cursor: help; }

/* ── Insight callout ───────────────────────────────────────────── */
.ecom-insight {
	display: flex; gap: 12px; align-items: center;   /* bulb centred on the text, however many lines */
	margin: 0; padding: 16px 18px; border: 0; border-radius: 10px;
	background: var(--ecom-tint);
}
.ecom-insight__icon { width: 22px; height: 22px; flex: none; color: var(--ecom-accent); margin: 0; }
.ecom-insight__label { display: none; }   /* older cached markup */
.ecom-insight__text { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.55; color: var(--ecom-text); }
.ecom-insight__text p { margin: 0 0 .6em; }
.ecom-insight__text p:last-child { margin-bottom: 0; }

/* ── Sources / add to calendar ─────────────────────────────────── */
.ecom-sources { margin: 0; font-size: 13px; color: var(--ecom-muted); }
.ecom-sources a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ecom-sources a:hover { color: var(--ecom-accent); }
.ecom-atc { display: flex; flex-wrap: wrap; gap: 10px; }
.ecom-atc .ecom-atc__btn {
	display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px;
	border: 1px solid var(--ecom-ink); color: var(--ecom-ink); background: transparent;
	font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}
.ecom-atc .ecom-atc__btn:hover, .ecom-atc .ecom-atc__btn:focus-visible { background: var(--ecom-ink); color: #fff; }

/* ── Year switch / back link ──────────────────────────────────── */
.ecom-years { display: flex; flex-wrap: wrap; gap: 8px; }
.ecom-years.ecom-years a {
	display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
	border: 1px solid var(--ecom-line); color: var(--ecom-ink); background: #fff; text-decoration: none;
	font-family: var(--ecom-head); font-size: 13px; font-weight: 600; line-height: 1.2;
}
.ecom-years.ecom-years a:hover { border-color: var(--ecom-ink); }
.ecom-years.ecom-years a[aria-current] { background: var(--ecom-ink); border-color: var(--ecom-ink); color: #fff; }
.ecom-back { display: inline-flex; gap: 6px; align-items: center; color: var(--ecom-muted); font-size: 14px; text-decoration: none; }
.ecom-back:hover { color: var(--ecom-accent); }

/* ── Loop item states (set by calendar.js) ─────────────────────── */
.e-loop-item.ecom-gone { display: none !important; }
.e-loop-item.ecom-past { opacity: .55; }
.e-loop-item.ecom-past:hover { opacity: 1; }

/* ── Timeline: add CSS class "ecom-timeline" to the Loop Grid ──── */
.ecom-timeline .ecom-month {
	grid-column: 1 / -1;
	position: sticky; top: var(--ecom-sticky-top, 60px); z-index: 2;
	margin: 28px 0 4px; padding: 10px 0 8px;
	background: var(--ecom-bg, #fff); border-bottom: 1px solid var(--ecom-line);
	font-family: var(--ecom-head); font-weight: 600; font-size: 20px; color: var(--ecom-ink);
}
.ecom-timeline .ecom-month:first-child { margin-top: 0; }
.ecom-timeline .ecom-today { grid-column: 1 / -1; margin: 10px 0; }
.ecom-timeline .ecom-today span {
	display: block; padding: 9px 16px; border-radius: 8px;
	background: var(--ecom-ink); color: #fff; text-align: center;
	font-family: var(--ecom-head); font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase;
}
.admin-bar .ecom-timeline .ecom-month { top: calc(var(--ecom-sticky-top, 60px) + 32px); }

.ecom-markets .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ── List / Calendar switch ──────────────────────────────────── */
.ecom-hide { display: none !important; }
.ecom-viewwrap { margin: 0 0 20px; }
.ecom-viewwrap.is-side { margin: 0 0 14px; }
.ecom-viewbar__label { margin: 0 0 10px; font-family: var(--ecom-head); font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: 1px; text-transform: uppercase; color: #6B6D70; }
.ecom-viewwrap .ecom-viewbar { margin: 0; }
.ecom-viewbar { align-self: flex-start; width: auto; display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 20px; border: 1px solid var(--ecom-line); border-radius: 999px; background: #fff; }
.ecom-viewbar .ecom-viewbar__btn {
	display: inline-flex; align-items: center; gap: 7px; min-width: 0; margin: 0; padding: 8px 16px;
	border: 0; border-radius: 999px; background: transparent; color: var(--ecom-ink); box-shadow: none; cursor: pointer;
	font-family: var(--ecom-head); font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none;
}
.ecom-viewbar .ecom-viewbar__btn svg { width: 16px; height: 16px; }
.ecom-viewbar .ecom-viewbar__btn:hover { background: var(--ecom-soft); color: var(--ecom-ink); }
.ecom-viewbar .ecom-viewbar__btn[aria-pressed="true"] { background: var(--ecom-ink); color: #fff; }

/* ── Instant filters ([ecom_filter]) ──────────────────────────────── */
.e-loop-item.ecom-out { display: none !important; }
.ecom-filter input[type="checkbox"] { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ecom-regions { display: flex; flex-wrap: wrap; gap: 8px; }
.ecom-chip { position: relative; display: inline-flex; cursor: pointer; }
.ecom-chip span {
	padding: 7px 14px; border: 1px solid var(--ecom-line); border-radius: 999px; background: #fff;
	font-family: var(--ecom-head); font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--ecom-ink);
	transition: background .15s, border-color .15s, color .15s;
}
.ecom-chip:hover span { border-color: var(--ecom-ink); }
.ecom-chip input:checked + span { background: var(--ecom-ink); border-color: var(--ecom-ink); color: #fff; }
.ecom-chip input:focus-visible + span, .ecom-check input:focus-visible + .ecom-check__box { outline: 2px solid var(--ecom-accent); outline-offset: 2px; }
.ecom-filter .ecom-filter__search { width: 100%; margin: 0; padding: 10px 12px; border: 1px solid var(--ecom-line); border-radius: 8px; background: #fff; font: 400 14px/1.3 Arimo, sans-serif; color: var(--ecom-ink); }
.ecom-filter .ecom-filter__search:focus { border-color: var(--ecom-ink); outline: none; }
.ecom-filter__list { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; margin-top: 8px; padding: 4px 8px 4px 0; border-top: 1px solid #F0F0F1; border-bottom: 1px solid #F0F0F1; }
.ecom-check { position: relative; display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; }
.ecom-check[hidden] { display: none; }
.ecom-check__box { flex: none; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid #BFC0C1; border-radius: 4px; background: #fff; color: transparent; }
.ecom-check__box svg { width: 11px; height: 11px; }
.ecom-check input:checked + .ecom-check__box { background: var(--ecom-accent); border-color: var(--ecom-accent); color: #fff; }
.ecom-check__label { font: 400 14px/1.35 Arimo, sans-serif; color: var(--ecom-ink); }
.ecom-check:hover .ecom-check__label { color: var(--ecom-accent); }
.ecom-filter .ecom-filter__clear {
	min-width: 0; margin: 0; padding: 7px 14px; border: 1px solid var(--ecom-ink); border-radius: 999px; background: #fff; color: var(--ecom-ink); box-shadow: none; cursor: pointer;
	font-family: var(--ecom-head); font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase;
}
.ecom-filter .ecom-filter__clear[hidden] { display: none; }
.ecom-filter .ecom-filter__clear:hover { background: var(--ecom-ink); color: #fff; }
.ecom-empty { margin: 24px 0; color: var(--ecom-muted); }

/* Phones and tablets (sidebar stacks above the calendar): filters fold behind one button */
.ecom-side .ecom-filter-toggle, button.ecom-filter-toggle.ecom-filter-toggle { display: none; }   /* desktop: filters always open */
.ecom-filter-toggle svg { width: 16px; height: 16px; }
@media (max-width: 1024px) {
	.ecom-side button.ecom-filter-toggle.ecom-filter-toggle {
		display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; min-width: 0; margin: 0; padding: 9px 16px;
		border: 1px solid var(--ecom-line); border-radius: 999px; background: #fff; color: var(--ecom-ink); box-shadow: none; cursor: pointer;
		font-family: var(--ecom-head); font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none;
	}
	.ecom-side .ecom-filter-toggle svg { width: 16px; height: 16px; }
	.ecom-side button.ecom-filter-toggle.ecom-filter-toggle[aria-expanded="true"], .ecom-side button.ecom-filter-toggle.ecom-filter-toggle:hover { border-color: var(--ecom-ink); background: #fff; color: var(--ecom-ink); }
	.ecom-filter-toggle__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ecom-accent); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
	.ecom-filter-toggle__n[hidden] { display: none; }
	.ecom-side.is-collapsed > :not(.ecom-viewwrap):not(.ecom-filter-toggle):not(.ecom-feed) { display: none !important; }
	.ecom-side .ecom-viewwrap.is-side { margin-bottom: 4px; }
}

/* Main column (intro line + calendar/list): its children always stack in one column.
   Safari (iPhone/iPad) read the column's "flex: 1 1 0" as a zero height once the layout
   stacked, so the wrapping container pushed the calendar into a second column off-screen. */
body .elementor .e-con.ecom-main.ecom-main,
body .elementor .e-con:has(> .elementor-widget-loop-grid.ecom-timeline) { flex-wrap: nowrap; min-width: 0; }
@media (max-width: 1024px) {
	body .elementor .e-con.ecom-main.ecom-main,
	body .elementor .e-con:has(> .elementor-widget-loop-grid.ecom-timeline) { flex: 0 0 auto; width: 100%; max-width: 100%; }
}

/* ── Add to your calendar (filtered feed) ───────────────────────── */
.ecom-feed { position: relative; align-self: flex-start; }
.ecom-feed .ecom-feed__btn {
	display: inline-flex; align-items: center; gap: 8px; min-width: 0; margin: 0; padding: 10px 18px;
	border: 1px solid var(--ecom-ink); border-radius: 999px; background: var(--ecom-ink); color: #fff; box-shadow: none; cursor: pointer;
	font-family: var(--ecom-head); font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none;
}
.ecom-feed .ecom-feed__btn svg { width: 16px; height: 16px; }
.ecom-feed .ecom-feed__btn:hover, .ecom-feed .ecom-feed__btn[aria-expanded="true"] { background: var(--ecom-accent); border-color: var(--ecom-accent); color: #fff; }
.ecom-feed__menu { position: absolute; z-index: 20; bottom: calc(100% + 8px); left: 0;   /* opens upwards: the button sits at the foot of the sticky sidebar */ width: 280px; padding: 14px; border: 1px solid var(--ecom-line); border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); }
.ecom-feed__menu[hidden] { display: none; }
.ecom-feed__scope { margin: 0 0 8px; font-size: 12px; color: var(--ecom-muted); }
.ecom-feed .ecom-feed__menu a { display: block; padding: 9px 10px; margin: 0 -4px; border-radius: 6px; color: var(--ecom-ink); text-decoration: none; font-family: var(--ecom-head); font-size: 13px; font-weight: 600; }
.ecom-feed .ecom-feed__menu a:hover { background: var(--ecom-soft); color: var(--ecom-ink); }
.ecom-feed__hint { margin: 8px 0 0; font-size: 12px; line-height: 1.4; color: var(--ecom-muted); }

/* ── Month calendar ───────────────────────────────────────────── */
.ecom-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.ecom-cal .ecom-cal__title { margin: 0; font-family: var(--ecom-head); font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--ecom-ink); }
.ecom-cal .ecom-cal__nav {
	display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; min-width: 0; padding: 0;
	border: 1px solid var(--ecom-line); border-radius: 50%; background: #fff; color: var(--ecom-ink); box-shadow: none; cursor: pointer;
}
.ecom-cal .ecom-cal__nav svg { width: 16px; height: 16px; }
.ecom-cal .ecom-cal__nav:hover:not([disabled]) { background: var(--ecom-ink); border-color: var(--ecom-ink); color: #fff; }
.ecom-cal .ecom-cal__nav[disabled] { opacity: .35; cursor: default; }
.ecom-cal__grid { border: 1px solid var(--ecom-line); border-radius: 10px; overflow: hidden; background: #fff; }
.ecom-cal__dows, .ecom-cal__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ecom-cal__dow { padding: 8px; border-right: 1px solid rgba(255, 255, 255, .12); border-bottom: 0; background: var(--ecom-ink); font-family: var(--ecom-head); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.ecom-cal__dow:last-child, .ecom-cal__day:nth-child(7) { border-right: 0; }
.ecom-cal .ecom-cal__dow abbr { text-decoration: none !important; border: 0 !important; cursor: default; }
/* One week = one grid row of 7 days; dates are bars laid over the days in "lanes". */
.ecom-cal__week { grid-template-rows: 32px repeat(var(--lanes), 30px) minmax(20px, 1fr); row-gap: 3px; min-height: 132px; border-bottom: 1px solid var(--ecom-line); }
.ecom-cal__week:last-child { border-bottom: 0; }
.ecom-cal__week.is-open { grid-template-rows: 32px repeat(var(--all), 30px) minmax(8px, 1fr); }
.ecom-cal__day { grid-row: 1 / -1; display: flex; flex-direction: column; min-width: 0; padding: 6px; border-right: 1px solid var(--ecom-line); }
.ecom-cal__num { align-self: flex-start; min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--ecom-head); font-size: 13px; font-weight: 600; color: var(--ecom-ink); }
.ecom-cal__day.is-out { background: #FBFBFC; }
.ecom-cal__day.is-out .ecom-cal__num, .ecom-cal__day.is-past .ecom-cal__num { color: #BFC0C1; }
.ecom-cal__day.is-today .ecom-cal__num { border-radius: 50%; background: var(--ecom-accent); color: #fff; }
.ecom-cal .ecom-cal__ev {
	position: relative; z-index: 1; display: flex; align-items: center; gap: 5px; min-width: 0; margin: 0 4px; padding: 0 10px;
	border-radius: 5px; background: var(--ecom-soft); color: var(--ecom-ink); text-decoration: none; font-size: 12px; font-weight: 600; line-height: 30px;
}
.ecom-cal .ecom-cal__ev.is-cont { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.ecom-cal .ecom-cal__ev:not(.is-tail) { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ecom-cal .ecom-cal__ev span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ecom-cal .ecom-cal__ev:hover, .ecom-cal .ecom-cal__ev:focus-visible { background: var(--ecom-ink); color: #fff; }
/* Dates running today: light orange, the same tint as the insight box. */
.ecom-cal .ecom-cal__ev.is-live { background: var(--ecom-tint); color: var(--ecom-ink); box-shadow: none; }
.ecom-cal .ecom-cal__ev.is-live:hover, .ecom-cal .ecom-cal__ev.is-live:focus-visible { background: var(--ecom-ink); color: #fff; }
.ecom-cal .ecom-cal__ev.is-extra { display: none; }
.ecom-cal .is-open .ecom-cal__ev.is-extra { display: flex; }
.ecom-cal .is-open .ecom-cal__more { display: none; }
.ecom-cal .ecom-cal__more { position: relative; z-index: 1; justify-self: start; min-width: 0; margin: 0 0 0 6px; padding: 0 4px; border: 0; background: none; box-shadow: none; color: var(--ecom-muted); font-family: var(--ecom-head); font-size: 11px; font-weight: 600; line-height: 20px; letter-spacing: 0; text-transform: none; cursor: pointer; }
.ecom-cal .ecom-cal__more:hover { color: var(--ecom-ink); background: none; }
.ecom-cal__dots { display: none; }
.ecom-cal__agenda { display: none; }
.ecom-cal__tbc { margin-top: 20px; }
.ecom-cal__tbc p { margin: 0 0 8px; font-family: var(--ecom-head); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ecom-muted); }
.ecom-cal__tbc ul, .ecom-cal__agenda { margin: 0; padding: 0; list-style: none; }
/* Agenda rows are three fixed columns — date | flag | name — so every flag and name starts on the same line. */
.ecom-cal__tbc a, .ecom-cal__agenda a { display: flex; align-items: flex-start; gap: 8px; padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--ecom-line); color: var(--ecom-ink); text-decoration: none; font-size: 15px; line-height: 20px; }
.ecom-cal__tbc a:hover, .ecom-cal__agenda a:hover { color: var(--ecom-accent); }
.ecom-cal__when { flex: 0 0 108px; width: 108px; font-family: var(--ecom-head); font-size: 13px; font-weight: 600; line-height: 20px; color: var(--ecom-ink); }
.ecom-cal__flag { flex: 0 0 16px; display: inline-flex; align-items: center; height: 20px; }
.ecom-cal__name { flex: 1 1 auto; min-width: 0; }
.ecom-cal__empty { margin: 16px 0 0; color: var(--ecom-muted); }
@media (max-width: 767px) {
	.ecom-cal__week, .ecom-cal__week.is-open { grid-template-rows: 54px; min-height: 0; }
	.ecom-cal__day { padding: 4px; align-items: center; }
	.ecom-cal__num { align-self: center; }
	.ecom-cal .ecom-cal__ev, .ecom-cal .ecom-cal__more { display: none !important; }
	.ecom-cal__dots { display: flex; gap: 3px; margin-top: 2px; }
	.ecom-cal__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ecom-accent); }
	.ecom-cal__dow { padding: 6px 2px; text-align: center; letter-spacing: 0; }
	.ecom-cal__agenda { display: block; margin-top: 16px; }
	.ecom-cal .ecom-cal__title { font-size: 18px; }
	/* Event names in plain text colour on phones (the Site Kit makes links orange). */
	.ecom-cal .ecom-cal__agenda .ecom-cal__name, .ecom-cal .ecom-cal__tbc .ecom-cal__name { color: var(--ecom-ink); }
}

/* ── Drawer (opened by calendar.js; the content inside is the Loop Item's "ecom-drawer-src" container) ── */
html.ecom-drawer-open { overflow: hidden; }
.ecom-drawer { position: fixed; inset: 0; z-index: 100000; }
.ecom-drawer[hidden] { display: none; }
.ecom-drawer__scrim { position: absolute; inset: 0; background: rgba(42, 44, 47, .45); opacity: 0; transition: opacity .22s ease; }
.ecom-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%);
	background: #fff; box-shadow: -16px 0 48px rgba(0, 0, 0, .18);
	overflow-y: auto; overscroll-behavior: contain; outline: none;
	transform: translateX(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}
.ecom-drawer.is-open .ecom-drawer__scrim { opacity: 1; }
.ecom-drawer.is-open .ecom-drawer__panel { transform: none; }
.ecom-drawer .ecom-drawer__close {               /* two classes: beats the Site Kit button styles */
	position: sticky; top: 16px; float: right; z-index: 2; margin: 16px 16px 0 0;
	width: 40px; height: 40px; min-width: 0; padding: 0; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--ecom-line); background: #fff; color: var(--ecom-ink);
	box-shadow: none; font-size: 0; line-height: 1; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.ecom-drawer .ecom-drawer__close:hover, .ecom-drawer .ecom-drawer__close:focus-visible { background: var(--ecom-ink); border-color: var(--ecom-ink); color: #fff; }
.ecom-drawer .ecom-drawer__close svg { width: 20px; height: 20px; }
.ecom-drawer__body { padding: 40px 36px 48px; }
.ecom-drawer .ecom-drawer-src { display: flex !important; }
.ecom-drawer__doc.e-loop-item, .ecom-drawer__doc { opacity: 1 !important; }
/* Inside the drawer the container is never a link target, so plain text colour for headings. */
.ecom-drawer h1, .ecom-drawer h2 { scroll-margin-top: 72px; }
@media (max-width: 767px) {
	.ecom-drawer__panel { width: 100%; }
	.ecom-drawer__body { padding: 28px 20px 40px; }
	.ecom-drawer .ecom-drawer__close { top: 12px; margin: 12px 12px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ecom-drawer__scrim, .ecom-drawer__panel { transition: none; }
}
/* Shown for a moment while a popup's content loads (calendar.js). */
.ecom-drawer-loading h2 { margin: 8px 0 20px; font-family: var(--ecom-head); font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--ecom-ink); }
.ecom-drawer-loading__bar { height: 14px; margin: 0 0 12px; border-radius: 7px; background: linear-gradient(90deg, #F0F0F1 0%, #E4E4E6 50%, #F0F0F1 100%); background-size: 200% 100%; animation: ecom-shimmer 1.2s linear infinite; }
.ecom-drawer-loading__bar:nth-of-type(2) { width: 45%; }
.ecom-drawer-loading__bar:nth-of-type(4) { width: 70%; }
.ecom-drawer-loading .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes ecom-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .ecom-drawer-loading__bar { animation: none; } }

/* Narrow timeline gutter on phones: let the countdown wrap instead of spilling into the text. */
@media (max-width: 767px) {
	.ecom-when--day .ecom-cd { white-space: normal; max-width: 100%; font-size: 11px; line-height: 14px; }
	.ecom-day { font-size: 28px; }
	/* List view on phones: markets go on their own line under the date, so the flags all start at the left edge. */
	.ecom-timeline .e-loop-item .e-con:has(> .elementor-widget-shortcode .ecom-markets) { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) { .ecom-atc .ecom-atc__btn { transition: none; } }
