:root{--etd-primary:#0077ff;--etd-primary-hover:#0066dd;--etd-secondary:#00d4ff;--etd-navy:#0b1320;--etd-midnight:#0d1b2a;--etd-bg:#fff;--etd-surface:#f7f9fc;--etd-text:#0b1320;--etd-muted:#667085;--etd-border:#d9e2ec;--etd-radius:12px;--etd-radius-lg:20px;--etd-shadow:0 10px 30px rgba(11,19,32,.08);--etd-hover:0 18px 40px rgba(0,119,255,.15);--etd-width:1280px}
.etd-platform-home,.etd-platform-home *{box-sizing:border-box}.etd-platform-home{font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--etd-text);background:#fff;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);overflow:hidden}.etd-platform-home h1,.etd-platform-home h2,.etd-platform-home h3,.etd-platform-home p{margin-top:0}.etd-container{width:min(calc(100% - 40px),var(--etd-width));margin:auto}.etd-container-narrow{max-width:900px}.etd-header{background:rgba(255,255,255,.96);border-bottom:1px solid var(--etd-border);position:relative;z-index:10}.etd-header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:30px}.etd-logo{text-decoration:none;color:var(--etd-navy);display:flex;align-items:center}.etd-logo-image{max-height:48px;width:auto}.etd-wordmark{font-size:23px;font-weight:800;letter-spacing:-.04em}.etd-wordmark span{color:var(--etd-primary);font-style:italic}.etd-nav{display:flex;align-items:center;gap:26px}.etd-nav>a:not(.etd-btn){color:var(--etd-text);font-weight:650;text-decoration:none}.etd-nav>a:hover{color:var(--etd-primary)}.etd-menu-toggle{display:none;width:42px;height:42px;background:#fff;border:1px solid var(--etd-border);border-radius:8px;padding:9px}.etd-menu-toggle span{display:block;height:2px;background:var(--etd-navy);margin:4px 0}.etd-btn{display:inline-flex;min-height:42px;align-items:center;justify-content:center;border-radius:8px;padding:9px 18px;font-weight:700;text-decoration:none;border:1px solid transparent}.etd-btn-primary{color:#fff;background:linear-gradient(135deg,var(--etd-primary),#0099ff);box-shadow:0 8px 22px rgba(0,119,255,.24)}.etd-btn-outline{color:var(--etd-primary);border-color:var(--etd-primary);background:#fff}.etd-hero{position:relative;background:radial-gradient(circle at 82% 18%,rgba(0,212,255,.25),transparent 28%),linear-gradient(135deg,var(--etd-navy),var(--etd-midnight));color:#fff;padding:76px 0 84px}.etd-orbit{position:absolute;width:560px;height:560px;border:1px solid rgba(0,212,255,.2);border-radius:50%;right:-160px;top:-220px}.etd-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.etd-heading h1{font-size:clamp(42px,7vw,78px);line-height:.98;letter-spacing:-.055em;margin:0}.etd-heading h2{font-size:clamp(30px,4vw,46px);line-height:1.05;letter-spacing:-.045em;margin:0}.etd-heading-light{color:#fff}.etd-eyebrow{color:var(--etd-primary);font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;margin-bottom:10px}.etd-heading-light .etd-eyebrow,.etd-feature .etd-eyebrow{color:var(--etd-secondary)}.etd-circle{width:44px;height:44px;border:1px solid rgba(255,255,255,.22);border-radius:50%;color:#fff;background:rgba(255,255,255,.08);font-size:28px;cursor:pointer}.etd-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(300px,510px);gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:6px 0 16px}.etd-carousel::-webkit-scrollbar{display:none}.etd-feature{min-height:360px;display:grid;grid-template-columns:42% 58%;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.16);border-radius:var(--etd-radius-lg);box-shadow:0 18px 55px rgba(0,0,0,.22);overflow:hidden;scroll-snap-align:center}.etd-feature-art{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,rgba(0,212,255,.32),transparent 52%),linear-gradient(160deg,rgba(0,119,255,.28),transparent)}.etd-feature-art img{width:100%;height:100%;object-fit:cover}.etd-feature-art span{font-size:96px;color:var(--etd-secondary)}.etd-feature-body{padding:42px 34px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.etd-feature-body h2{font-size:34px;margin-bottom:14px}.etd-feature-body>p:not(.etd-eyebrow){color:rgba(255,255,255,.78);line-height:1.65;margin-bottom:25px}.etd-section{padding:84px 0}.etd-search-section{text-align:center}.etd-search-section h2{font-size:clamp(32px,5vw,52px);letter-spacing:-.05em;margin-bottom:14px}.etd-intro{color:var(--etd-muted);font-size:18px;line-height:1.7;max-width:680px;margin:0 auto 30px}.etd-search-shell{background:#fff;border:1px solid var(--etd-border);border-radius:var(--etd-radius-lg);box-shadow:var(--etd-shadow);padding:24px;text-align:left}.etd-search-shell input{min-height:52px!important;border-radius:10px!important}.etd-featured{background:var(--etd-surface)}.etd-card-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.etd-card{display:block;color:var(--etd-text);background:#fff;border:1px solid var(--etd-border);border-radius:var(--etd-radius);box-shadow:0 6px 22px rgba(11,19,32,.05);overflow:hidden;text-decoration:none;transition:.18s ease}.etd-card:hover{color:var(--etd-text);transform:translateY(-5px);box-shadow:var(--etd-hover)}.etd-card-img{aspect-ratio:5/7;display:flex;align-items:center;justify-content:center;background:var(--etd-surface);color:var(--etd-primary);font-size:48px}.etd-card-img img{width:100%;height:100%;object-fit:contain}.etd-card>div:last-child{padding:14px}.etd-card strong,.etd-card small{display:block}.etd-card small{color:var(--etd-muted);margin-top:4px}.etd-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.etd-news{border:1px solid var(--etd-border);border-radius:var(--etd-radius);padding:28px;box-shadow:var(--etd-shadow)}.etd-news small{color:var(--etd-primary);font-weight:750}.etd-news h3{font-size:22px}.etd-news h3 a{color:var(--etd-text);text-decoration:none}.etd-news p{color:var(--etd-muted);line-height:1.65}.etd-empty{border:1px dashed var(--etd-border);border-radius:var(--etd-radius);background:var(--etd-surface);padding:30px;color:var(--etd-muted)}.etd-official{background:radial-gradient(circle at 20% 30%,rgba(0,119,255,.22),transparent 35%),var(--etd-midnight)}.etd-official-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.etd-official-grid a{min-height:126px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(255,255,255,.16);border-radius:var(--etd-radius);background:rgba(255,255,255,.07);color:#fff;padding:26px;font-size:18px;font-weight:750;text-decoration:none}.etd-official-grid strong{color:var(--etd-secondary);font-size:26px}.etd-footer{background:var(--etd-navy);color:rgba(255,255,255,.72);padding:58px 0 22px}.etd-footer-grid{display:grid;grid-template-columns:1fr auto;gap:40px}.etd-footer .etd-wordmark{color:#fff}.etd-footer-grid>div:last-child{display:flex;gap:24px}.etd-footer a{color:rgba(255,255,255,.82);text-decoration:none}.etd-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:20px;font-size:13px}@media(max-width:1080px){.etd-card-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:860px){.etd-menu-toggle{display:block}.etd-nav{display:none;position:absolute;left:20px;right:20px;top:72px;background:#fff;border:1px solid var(--etd-border);border-radius:var(--etd-radius);box-shadow:var(--etd-shadow);padding:18px;flex-direction:column;align-items:stretch}.etd-nav.is-open{display:flex}.etd-feature{grid-template-columns:1fr}.etd-feature-art{min-height:170px}.etd-news-grid,.etd-official-grid{grid-template-columns:1fr}}@media(max-width:640px){.etd-container{width:min(calc(100% - 28px),var(--etd-width))}.etd-heading{align-items:flex-start;flex-direction:column}.etd-carousel{grid-auto-columns:min(88vw,390px)}.etd-section{padding:64px 0}.etd-card-grid{grid-template-columns:repeat(2,1fr);gap:12px}.etd-footer-grid{grid-template-columns:1fr}.etd-footer-grid>div:last-child{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.etd-platform-home *{scroll-behavior:auto!important;transition:none!important}}

/* v0.3.0 — Global ExpendToDraw application shell */
body.etd-shell-active {
	--etd-primary:#0077ff;
	--etd-primary-hover:#0066dd;
	--etd-secondary:#00d4ff;
	--etd-navy:#0b1320;
	--etd-midnight:#0d1b2a;
	--etd-bg:#fff;
	--etd-surface:#f7f9fc;
	--etd-text:#0b1320;
	--etd-muted:#667085;
	--etd-border:#d9e2ec;
	background:var(--etd-bg);
	color:var(--etd-text);
	font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.etd-shell-active *,
body.etd-shell-active *::before,
body.etd-shell-active *::after { box-sizing:border-box; }

/* Astra remains installed, but its visual shell is suppressed on ETD routes only. */
body.etd-shell-active #masthead,
body.etd-shell-active header.site-header:not(.etd-header),
body.etd-shell-active #colophon,
body.etd-shell-active footer.site-footer:not(.etd-footer),
body.etd-shell-active #secondary,
body.etd-shell-active .widget-area.sidebar-main { display:none!important; }

body.etd-shell-active #page,
body.etd-shell-active .site,
body.etd-shell-active #content,
body.etd-shell-active .site-content,
body.etd-shell-active .site-content > .ast-container,
body.etd-shell-active #content > .ast-container,
body.etd-shell-active .content-area,
body.etd-shell-active #primary {
	width:100%!important;
	max-width:none!important;
	margin:0!important;
	padding:0!important;
}
body.etd-shell-active .site-content > .ast-container,
body.etd-shell-active #content > .ast-container { display:block!important; }
body.etd-shell-active .ast-article-single,
body.etd-shell-active article.page,
body.etd-shell-active .entry-content { margin:0!important; padding:0!important; background:transparent!important; }
body.etd-shell-active .entry-header,
body.etd-shell-active .ast-page-builder-template .entry-header { display:none!important; }

.etd-global-shell { position:relative; z-index:30; }
.etd-global-shell .etd-header { position:sticky; top:0; }
body.admin-bar .etd-global-shell .etd-header { top:32px; }

/* Align ETD Cards v1 with the Platform brand without changing card data/rendering. */
body.etd-shell-cards .etd-cards-public-shell {
	--etd-border:#d9e2ec;
	--etd-muted:#667085;
	--etd-surface:#ffffff;
	--etd-soft:#f7f9fc;
	--etd-accent:#0077ff;
	--etd-accent-dark:#0066dd;
	width:min(calc(100% - 40px),1320px)!important;
	max-width:1320px!important;
	margin:0 auto!important;
	padding:56px 0 84px!important;
	font-family:inherit;
}
body.etd-shell-cards .etd-card-tile,
body.etd-shell-cards .etd-catalogue-filters {
	border-color:var(--etd-border);
	box-shadow:0 10px 30px rgba(11,19,32,.08);
}
body.etd-shell-cards .etd-card-tile:hover {
	box-shadow:0 18px 40px rgba(0,119,255,.15);
}
body.etd-shell-cards .etd-public-button {
	background:#0077ff;
	border-color:#0077ff;
}
body.etd-shell-cards .etd-public-button:hover,
body.etd-shell-cards .etd-public-button:focus {
	background:#0066dd;
	border-color:#0066dd;
}
body.etd-shell-cards .etd-public-button-secondary {
	background:#fff;
	color:#0077ff;
}

/* The homepage now supplies content only; the shell supplies header and footer. */
body.etd-shell-home .etd-platform-home {
	margin-left:0;
	margin-right:0;
	width:100%;
}

@media(max-width:782px){
	body.admin-bar .etd-global-shell .etd-header { top:46px; }
}
@media(max-width:640px){
	body.etd-shell-cards .etd-cards-public-shell {
		width:min(calc(100% - 28px),1320px)!important;
		padding:40px 0 64px!important;
	}
}


/* v0.3.1 shell render robustness */
body.etd-shell-active .etd-global-shell,
body.etd-shell-active .etd-global-shell .etd-header,
body.etd-shell-active .etd-global-shell .etd-footer {
	display:block!important;
}
body.etd-shell-active .etd-global-shell .etd-header {
	width:100%;
}


/* v0.3.2 centred Cards layout + dark-section text correction */

/* v0.3.1 intentionally removed Astra's content constraint. Restore the Cards
 * plugin's own application width after that reset so catalogue/detail pages
 * are centred rather than anchored to the viewport edge. */
body.etd-shell-active main.site-main.etd-cards-public-shell {
    width: min(calc(100% - 40px), 1320px) !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 24px 72px !important;
}

/* Dark branded sections must not inherit Astra's default dark heading colour. */
.etd-feature-stage h1,
.etd-feature-stage h2,
.etd-feature-stage h3,
.etd-feature-stage .etd-section-heading h1,
.etd-feature-stage .etd-section-heading h2,
.etd-feature-stage .etd-section-heading h3,
.etd-official-links h1,
.etd-official-links h2,
.etd-official-links h3,
.etd-official-links .etd-section-heading h1,
.etd-official-links .etd-section-heading h2,
.etd-official-links .etd-section-heading h3 {
    color: #ffffff !important;
}

.etd-feature-stage p:not(.etd-eyebrow),
.etd-official-links p:not(.etd-eyebrow) {
    color: rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 640px) {
    body.etd-shell-active main.site-main.etd-cards-public-shell {
        width: min(calc(100% - 28px), 1320px) !important;
        padding: 32px 0 56px !important;
    }
}


/* v0.3.3 — specificity-correct layout and dark-section typography */

/*
 * The global shell reset targets #primary, so the Cards application wrapper
 * must also be restored using the #primary ID in order to win the cascade.
 */
body.etd-shell-active #primary.etd-cards-public-shell,
body.etd-shell-cards #primary.etd-cards-public-shell {
	width: min(calc(100% - 40px), 1320px) !important;
	max-width: 1320px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 48px 24px 72px !important;
}

/*
 * Current homepage markup uses .etd-hero and .etd-official.
 * Astra heading rules are explicitly overridden inside these dark sections.
 */
body.etd-shell-active .etd-hero .etd-heading h1,
body.etd-shell-active .etd-hero .etd-heading h2,
body.etd-shell-active .etd-hero .etd-heading h3,
body.etd-shell-active .etd-hero .etd-feature h1,
body.etd-shell-active .etd-hero .etd-feature h2,
body.etd-shell-active .etd-hero .etd-feature h3,
body.etd-shell-active .etd-official .etd-heading h1,
body.etd-shell-active .etd-official .etd-heading h2,
body.etd-shell-active .etd-official .etd-heading h3 {
	color: #ffffff !important;
}

body.etd-shell-active .etd-hero .etd-heading-light,
body.etd-shell-active .etd-official .etd-heading-light {
	color: #ffffff !important;
}

body.etd-shell-active .etd-hero p:not(.etd-eyebrow),
body.etd-shell-active .etd-official p:not(.etd-eyebrow) {
	color: rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 640px) {
	body.etd-shell-active #primary.etd-cards-public-shell,
	body.etd-shell-cards #primary.etd-cards-public-shell {
		width: min(calc(100% - 28px), 1320px) !important;
		padding: 32px 0 56px !important;
	}
}


/* v0.3.4 — homepage centring fix */

/* Astra can keep #primary as a floated content column even after its width is
 * reset. The ETD homepage must occupy the full page canvas. */
body.etd-shell-home #primary,
body.etd-shell-home .content-area {
	float: none !important;
	clear: both !important;
	display: block !important;
	position: relative !important;
	left: auto !important;
	right: auto !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Keep the homepage itself full-bleed. */
body.etd-shell-home .etd-platform-home {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Every homepage section uses a centred ETD content container. This selector
 * intentionally beats any theme-level container/margin rules. */
body.etd-shell-home .etd-platform-home .etd-container {
	width: min(calc(100% - 40px), var(--etd-width, 1280px)) !important;
	max-width: var(--etd-width, 1280px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box !important;
}

/* Narrow content stays centred as well. */
body.etd-shell-home .etd-platform-home .etd-container-narrow {
	max-width: 900px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width: 640px) {
	body.etd-shell-home .etd-platform-home .etd-container {
		width: min(calc(100% - 28px), var(--etd-width, 1280px)) !important;
	}
}


/* v0.3.5 — homepage mobile polish only */
@media (max-width: 640px) {

	/* Force readable light headings in the two dark homepage sections. */
	body.etd-shell-home .etd-hero h1,
	body.etd-shell-home .etd-hero h2,
	body.etd-shell-home .etd-hero h3,
	body.etd-shell-home .etd-hero .etd-heading h1,
	body.etd-shell-home .etd-hero .etd-heading h2,
	body.etd-shell-home .etd-hero .etd-heading h3,
	body.etd-shell-home .etd-official h1,
	body.etd-shell-home .etd-official h2,
	body.etd-shell-home .etd-official h3,
	body.etd-shell-home .etd-official .etd-heading h1,
	body.etd-shell-home .etd-official .etd-heading h2,
	body.etd-shell-home .etd-official .etd-heading h3 {
		color: #ffffff !important;
	}

	/* Tighten the feature carousel footprint on phones. */
	body.etd-shell-home .etd-hero {
		padding-top: 40px !important;
		padding-bottom: 44px !important;
	}

	body.etd-shell-home .etd-feature-carousel,
	body.etd-shell-home [data-etd-carousel] {
		grid-auto-columns: min(82vw, 340px) !important;
		gap: 14px !important;
		padding-bottom: 10px !important;
	}

	body.etd-shell-home .etd-feature-card,
	body.etd-shell-home .etd-feature {
		min-height: 0 !important;
		grid-template-columns: 1fr !important;
		border-radius: 16px !important;
	}

	body.etd-shell-home .etd-feature-card__art,
	body.etd-shell-home .etd-feature__art {
		min-height: 120px !important;
		max-height: 150px !important;
	}

	body.etd-shell-home .etd-feature-card__symbol,
	body.etd-shell-home .etd-feature__symbol {
		font-size: 64px !important;
	}

	body.etd-shell-home .etd-feature-card__content,
	body.etd-shell-home .etd-feature__content {
		padding: 22px 20px 24px !important;
	}

	body.etd-shell-home .etd-feature-card__content h2,
	body.etd-shell-home .etd-feature__content h2 {
		font-size: 26px !important;
		line-height: 1.08 !important;
		margin-bottom: 10px !important;
	}

	body.etd-shell-home .etd-feature-card__content p:not(.etd-eyebrow),
	body.etd-shell-home .etd-feature__content p:not(.etd-eyebrow) {
		font-size: 14px !important;
		line-height: 1.5 !important;
		margin-bottom: 18px !important;
	}

	body.etd-shell-home .etd-carousel-controls {
		margin-top: 4px !important;
	}
}

/* v0.5.0 — Community carousel */
.etd-community-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}
.etd-btn-community{color:#fff;border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.08)}
.etd-btn-community:hover,.etd-btn-community:focus{color:#fff;border-color:var(--etd-secondary);background:rgba(0,212,255,.12)}
@media(max-width:640px){
 body.etd-shell-home .etd-community-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px}
 body.etd-shell-home .etd-community-actions .etd-btn:first-child{grid-column:1/-1}
 body.etd-shell-home .etd-community-actions .etd-btn{width:100%;min-height:44px;padding:9px 12px}
}

/* v0.5.2 — Focus carousel: arrow-free, hover-forward desktop, swipe-forward mobile */
body.etd-shell-home .etd-hero .etd-circle,
body.etd-shell-home .etd-hero [data-prev],
body.etd-shell-home .etd-hero [data-next]{display:none!important}

body.etd-shell-home .etd-carousel{
 overflow-y:visible;
 padding-top:20px;
 padding-bottom:26px;
 scroll-padding-inline:4%;
}

body.etd-shell-home .etd-feature{
 position:relative;
 z-index:1;
 transform:scale(.955);
 opacity:.78;
 filter:saturate(.86);
 transition:transform .28s ease,opacity .28s ease,filter .28s ease,box-shadow .28s ease,border-color .28s ease;
 will-change:transform;
}

body.etd-shell-home .etd-feature.is-active{
 z-index:4;
 transform:scale(1.035) translateY(-4px);
 opacity:1;
 filter:saturate(1);
 border-color:rgba(0,212,255,.42);
 box-shadow:0 26px 70px rgba(0,0,0,.32),0 0 0 1px rgba(0,212,255,.08);
}

@media (hover:hover) and (pointer:fine) and (min-width:861px){
 body.etd-shell-home .etd-carousel{
  gap:4px;
  overflow-x:visible;
  justify-content:center;
  grid-auto-columns:minmax(340px,510px);
 }
 body.etd-shell-home .etd-feature{cursor:default}
 body.etd-shell-home .etd-feature:not(.is-active){transform:scale(.93)}
}

@media(max-width:860px){
 body.etd-shell-home .etd-carousel{
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
 }
 body.etd-shell-home .etd-feature{
  scroll-snap-align:center;
  scroll-snap-stop:always;
  transform:scale(.93);
  opacity:.68;
 }
 body.etd-shell-home .etd-feature.is-active{
  transform:scale(1) translateY(0);
  opacity:1;
 }
}

@media(max-width:640px){
 body.etd-shell-home .etd-carousel{
  grid-auto-columns:min(84vw,350px)!important;
  gap:12px!important;
  padding-left:8vw!important;
  padding-right:8vw!important;
 }
}

@media(prefers-reduced-motion:reduce){
 body.etd-shell-home .etd-feature{transition:none!important;transform:none!important;opacity:1!important;filter:none!important}
}


/* Marketplace routes use the same ExpendToDraw shell as Cards/Home. */
body.etd-shell-marketplace #primary,
body.etd-shell-marketplace .content-area {
	width:100%!important;
	max-width:none!important;
	float:none!important;
	margin:0!important;
	padding:0!important;
}

body.etd-shell-marketplace main.site-main.etd-marketplace-shell {
	width:min(calc(100% - 40px),1320px)!important;
	max-width:1320px!important;
	margin-left:auto!important;
	margin-right:auto!important;
}

@media(max-width:640px){
	body.etd-shell-marketplace main.site-main.etd-marketplace-shell {
		width:min(calc(100% - 28px),1320px)!important;
	}
}


/* v0.5.4 Marketplace container consistency */
body.etd-shell-marketplace main.site-main.etd-marketplace-shell {
	box-sizing:border-box!important;
	width:100%!important;
	max-width:none!important;
	margin:0!important;
	padding-left:0!important;
	padding-right:0!important;
}
body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-breadcrumbs,
body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-title,
body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-product,
body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-offers-section,
body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-home-section {
	width:min(calc(100% - 48px),1180px)!important;
	max-width:1180px!important;
	margin-left:auto!important;
	margin-right:auto!important;
	box-sizing:border-box!important;
}
body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-home-hero {
	width:100vw!important;
	max-width:none!important;
	margin-left:calc(50% - 50vw)!important;
	margin-right:calc(50% - 50vw)!important;
	box-sizing:border-box!important;
}
@media(max-width:768px){
	body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-breadcrumbs,
	body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-title,
	body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-product,
	body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-offers-section,
	body.etd-shell-marketplace .etd-marketplace-shell > .etd-mp-home-section {
		width:min(calc(100% - 28px),1180px)!important;
	}
}


/* v0.6.1 — Homepage Featured Cards stacked interaction */
.etd-featured-cards,
.etd-featured-stack{
	position:relative!important;
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	min-height:430px!important;
	overflow:visible!important;
	padding:28px 0 44px!important;
}

.etd-featured-cards > *,
.etd-featured-stack > *{
	position:absolute!important;
	width:min(240px,22vw)!important;
	min-width:175px!important;
	transform-origin:center bottom!important;
	transition:
		transform .24s ease,
		filter .24s ease,
		opacity .24s ease,
		box-shadow .24s ease!important;
	filter:saturate(.78) brightness(.9)!important;
	opacity:.84!important;
}

/* Spread up to seven cards around the centre */
.etd-featured-cards > *:nth-child(1),
.etd-featured-stack > *:nth-child(1){
	transform:translateX(-270px) rotate(-7deg) scale(.88)!important;
	z-index:10!important;
}
.etd-featured-cards > *:nth-child(2),
.etd-featured-stack > *:nth-child(2){
	transform:translateX(-180px) rotate(-5deg) scale(.9)!important;
	z-index:20!important;
}
.etd-featured-cards > *:nth-child(3),
.etd-featured-stack > *:nth-child(3){
	transform:translateX(-90px) rotate(-2.5deg) scale(.93)!important;
	z-index:30!important;
}
.etd-featured-cards > *:nth-child(4),
.etd-featured-stack > *:nth-child(4){
	transform:translateX(0) rotate(0) scale(1)!important;
	z-index:40!important;
	filter:none!important;
	opacity:1!important;
}
.etd-featured-cards > *:nth-child(5),
.etd-featured-stack > *:nth-child(5){
	transform:translateX(90px) rotate(2.5deg) scale(.93)!important;
	z-index:30!important;
}
.etd-featured-cards > *:nth-child(6),
.etd-featured-stack > *:nth-child(6){
	transform:translateX(180px) rotate(5deg) scale(.9)!important;
	z-index:20!important;
}
.etd-featured-cards > *:nth-child(7),
.etd-featured-stack > *:nth-child(7){
	transform:translateX(270px) rotate(7deg) scale(.88)!important;
	z-index:10!important;
}

/* Hover/focus brings chosen card to the front */
.etd-featured-cards > *:hover,
.etd-featured-cards > *:focus-within,
.etd-featured-stack > *:hover,
.etd-featured-stack > *:focus-within{
	transform:translateX(var(--etd-home-card-x,0)) translateY(-24px) rotate(0deg) scale(1.06)!important;
	z-index:100!important;
	filter:none!important;
	opacity:1!important;
}

/* Preserve horizontal position when hovered */
.etd-featured-cards > *:nth-child(1),
.etd-featured-stack > *:nth-child(1){--etd-home-card-x:-270px}
.etd-featured-cards > *:nth-child(2),
.etd-featured-stack > *:nth-child(2){--etd-home-card-x:-180px}
.etd-featured-cards > *:nth-child(3),
.etd-featured-stack > *:nth-child(3){--etd-home-card-x:-90px}
.etd-featured-cards > *:nth-child(4),
.etd-featured-stack > *:nth-child(4){--etd-home-card-x:0px}
.etd-featured-cards > *:nth-child(5),
.etd-featured-stack > *:nth-child(5){--etd-home-card-x:90px}
.etd-featured-cards > *:nth-child(6),
.etd-featured-stack > *:nth-child(6){--etd-home-card-x:180px}
.etd-featured-cards > *:nth-child(7),
.etd-featured-stack > *:nth-child(7){--etd-home-card-x:270px}

/* Mobile: swipe + snap, centred card visually focused */
@media(max-width:760px){
	.etd-featured-cards,
	.etd-featured-stack{
		position:relative!important;
		justify-content:flex-start!important;
		min-height:0!important;
		overflow-x:auto!important;
		overflow-y:visible!important;
		scroll-snap-type:x mandatory!important;
		gap:18px!important;
		padding:18px calc(50% - 104px) 32px!important;
		scrollbar-width:none!important;
	}
	.etd-featured-cards::-webkit-scrollbar,
	.etd-featured-stack::-webkit-scrollbar{display:none!important}

	.etd-featured-cards > *,
	.etd-featured-stack > *{
		position:relative!important;
		flex:0 0 208px!important;
		width:208px!important;
		min-width:208px!important;
		transform:scale(.9)!important;
		rotate:0deg!important;
		scroll-snap-align:center!important;
		filter:saturate(.72) brightness(.9)!important;
		opacity:.78!important;
		z-index:1!important;
	}

	.etd-featured-cards > *.is-focused,
	.etd-featured-stack > *.is-focused,
	.etd-featured-cards > *:focus-within,
	.etd-featured-stack > *:focus-within{
		transform:scale(1)!important;
		filter:none!important;
		opacity:1!important;
		z-index:3!important;
	}
}


/* v0.6.2 — REAL homepage Featured Cards stack (.etd-card-grid / .etd-card) */
.etd-featured .etd-card-grid.etd-card-stack{
	position:relative!important;
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	min-height:500px!important;
	overflow:visible!important;
	gap:0!important;
	padding:26px 0 56px!important;
}

.etd-featured .etd-card-stack>.etd-card{
	position:absolute!important;
	width:230px!important;
	min-width:230px!important;
	max-width:230px!important;
	transform-origin:center bottom!important;
	transition:transform .24s ease,filter .24s ease,opacity .24s ease,box-shadow .24s ease!important;
	filter:saturate(.76) brightness(.88)!important;
	opacity:.82!important;
	box-shadow:0 18px 42px rgba(11,19,32,.15)!important;
}

/* seven-card centred spread */
.etd-featured .etd-card-stack>.etd-card:nth-child(1){--stack-x:-270px;transform:translateX(-270px) rotate(-7deg) scale(.86)!important;z-index:10!important}
.etd-featured .etd-card-stack>.etd-card:nth-child(2){--stack-x:-180px;transform:translateX(-180px) rotate(-5deg) scale(.89)!important;z-index:20!important}
.etd-featured .etd-card-stack>.etd-card:nth-child(3){--stack-x:-90px;transform:translateX(-90px) rotate(-2.5deg) scale(.93)!important;z-index:30!important}
.etd-featured .etd-card-stack>.etd-card:nth-child(4){--stack-x:0px;transform:translateX(0) rotate(0) scale(1)!important;z-index:40!important;filter:none!important;opacity:1!important}
.etd-featured .etd-card-stack>.etd-card:nth-child(5){--stack-x:90px;transform:translateX(90px) rotate(2.5deg) scale(.93)!important;z-index:30!important}
.etd-featured .etd-card-stack>.etd-card:nth-child(6){--stack-x:180px;transform:translateX(180px) rotate(5deg) scale(.89)!important;z-index:20!important}
.etd-featured .etd-card-stack>.etd-card:nth-child(7){--stack-x:270px;transform:translateX(270px) rotate(7deg) scale(.86)!important;z-index:10!important}

.etd-featured .etd-card-stack>.etd-card:hover,
.etd-featured .etd-card-stack>.etd-card:focus,
.etd-featured .etd-card-stack>.etd-card.is-focused{
	transform:translateX(var(--stack-x)) translateY(-28px) rotate(0deg) scale(1.06)!important;
	z-index:100!important;
	filter:none!important;
	opacity:1!important;
	box-shadow:0 28px 60px rgba(11,19,32,.24)!important;
	color:var(--etd-text)!important;
}

.etd-featured .etd-card-stack>.etd-card>div:last-child{
	opacity:.25;
	transition:opacity .2s ease;
}
.etd-featured .etd-card-stack>.etd-card:hover>div:last-child,
.etd-featured .etd-card-stack>.etd-card:focus>div:last-child,
.etd-featured .etd-card-stack>.etd-card.is-focused>div:last-child{
	opacity:1;
}

@media(max-width:900px) and (min-width:761px){
	.etd-featured .etd-card-stack>.etd-card{width:205px!important;min-width:205px!important;max-width:205px!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(1){--stack-x:-225px;transform:translateX(-225px) rotate(-7deg) scale(.84)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(2){--stack-x:-150px;transform:translateX(-150px) rotate(-5deg) scale(.88)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(3){--stack-x:-75px;transform:translateX(-75px) rotate(-2.5deg) scale(.92)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(4){--stack-x:0px;transform:translateX(0) scale(1)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(5){--stack-x:75px;transform:translateX(75px) rotate(2.5deg) scale(.92)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(6){--stack-x:150px;transform:translateX(150px) rotate(5deg) scale(.88)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(7){--stack-x:225px;transform:translateX(225px) rotate(7deg) scale(.84)!important}
}

@media(max-width:760px){
	.etd-featured .etd-card-grid.etd-card-stack{
		position:relative!important;
		display:flex!important;
		justify-content:flex-start!important;
		min-height:0!important;
		overflow-x:auto!important;
		overflow-y:visible!important;
		scroll-snap-type:x mandatory!important;
		gap:18px!important;
		padding:18px calc(50% - 104px) 34px!important;
		scrollbar-width:none!important;
	}
	.etd-featured .etd-card-grid.etd-card-stack::-webkit-scrollbar{display:none!important}

	.etd-featured .etd-card-stack>.etd-card,
	.etd-featured .etd-card-stack>.etd-card:nth-child(n){
		position:relative!important;
		flex:0 0 208px!important;
		width:208px!important;
		min-width:208px!important;
		max-width:208px!important;
		--stack-x:0px!important;
		transform:scale(.9)!important;
		rotate:0deg!important;
		scroll-snap-align:center!important;
		filter:saturate(.72) brightness(.9)!important;
		opacity:.76!important;
		z-index:1!important;
	}

	.etd-featured .etd-card-stack>.etd-card.is-focused,
	.etd-featured .etd-card-stack>.etd-card:focus{
		transform:scale(1)!important;
		filter:none!important;
		opacity:1!important;
		z-index:3!important;
	}

	.etd-featured .etd-card-stack>.etd-card>div:last-child{opacity:1!important}
}


/* v0.6.4 — global unread Marketplace message indicator */
.etd-header-account{
	display:inline-flex!important;
	align-items:center!important;
	gap:8px!important;
}
.etd-header-message-badge,
.etd-nav-message-badge{
	display:inline-flex!important;
	align-items:center!important;
	gap:4px!important;
	min-height:22px!important;
	padding:2px 6px!important;
	border-radius:999px!important;
	background:#0077ff!important;
	color:#fff!important;
	font-size:.72rem!important;
	font-weight:800!important;
	line-height:1!important;
	vertical-align:middle!important;
}
.etd-header-message-badge svg,
.etd-nav-message-badge svg{
	width:14px!important;
	height:14px!important;
	fill:none!important;
	stroke:currentColor!important;
	stroke-width:1.8!important;
	stroke-linecap:round!important;
	stroke-linejoin:round!important;
}
.etd-header-message-badge b,
.etd-nav-message-badge b{
	color:inherit!important;
	font:inherit!important;
}
.etd-nav-message-badge{
	margin-left:5px!important;
	transform:translateY(-1px)!important;
}

@media(max-width:640px){
	.etd-header-message-badge{
		padding:2px 5px!important;
	}
	.etd-header-message-badge svg{
		width:13px!important;
		height:13px!important;
	}
}


/* v0.6.5 — desktop Featured Cards overlap interaction fix.
   Visual spacing remains unchanged; JS assigns hover ownership by visible centre. */
@media (min-width:761px) and (hover:hover) and (pointer:fine){
	.etd-featured .etd-card-grid.etd-card-stack{
		cursor:default;
	}
	.etd-featured .etd-card-stack>.etd-card{
		will-change:transform;
	}
}


/* v0.6.6 — wider, more fluid desktop Featured Cards spread.
   Mobile carousel remains exactly as before. */
@media (min-width:901px){
	.etd-featured .etd-container{
		width:min(calc(100% - 32px),1440px)!important;
		max-width:1440px!important;
	}
	.etd-featured .etd-card-grid.etd-card-stack{
		min-height:520px!important;
		padding-left:12px!important;
		padding-right:12px!important;
	}
	.etd-featured .etd-card-stack>.etd-card:nth-child(1){--stack-x:-330px;transform:translateX(-330px) rotate(-7deg) scale(.86)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(2){--stack-x:-220px;transform:translateX(-220px) rotate(-5deg) scale(.89)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(3){--stack-x:-110px;transform:translateX(-110px) rotate(-2.5deg) scale(.93)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(4){--stack-x:0px;transform:translateX(0) rotate(0) scale(1)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(5){--stack-x:110px;transform:translateX(110px) rotate(2.5deg) scale(.93)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(6){--stack-x:220px;transform:translateX(220px) rotate(5deg) scale(.89)!important}
	.etd-featured .etd-card-stack>.etd-card:nth-child(7){--stack-x:330px;transform:translateX(330px) rotate(7deg) scale(.86)!important}
}
