/*
 * Engine Builder: front-end styles for builder pages.
 * Colours and fonts follow the Engine template (var(--en-*)); on other templates
 * the fallbacks give the same clean editorial look.
 */

.eb-page {
	--eb-primary: var(--en-primary, #352597);
	--eb-accent: var(--en-accent, #f7828e);
	--eb-ink: var(--en-ink, #16122f);
	/* Always a dark colour (dark sections, photo overlays), also in dark themes where ink is light. */
	--eb-dark: var(--en-footer-bg, #16122f);
	--eb-muted: var(--en-muted, #5f5b76);
	--eb-bg: var(--en-bg, #ffffff);
	--eb-soft: var(--en-soft, #f7f6fb);
	--eb-line: var(--en-line, #e6e3f0);
	--eb-radius: var(--en-radius, 0px);
	--eb-container: var(--en-container, 1200px);
	--eb-heading: var(--en-font-heading, Georgia, "Times New Roman", serif);
	--eb-hweight: var(--en-hweight, 400);
	--eb-tint: color-mix(in srgb, var(--eb-primary) 8%, var(--eb-bg));
	--eb-primary-dark: color-mix(in srgb, var(--eb-primary) 78%, #000);
	--eb-accent-dark: color-mix(in srgb, var(--eb-accent) 62%, #000);
	--eb-gutter: clamp(1rem, 3vw, 2rem);
	--eb-shadow: 0 18px 40px -22px color-mix(in srgb, var(--eb-dark) 55%, transparent);
	color: var(--eb-ink);
	overflow-x: clip;
}
.eb-page *, .eb-page *::before, .eb-page *::after { box-sizing: border-box; }
.eb-draft-note { margin: 0; padding: 0.6rem 1rem; background: #fff6d6; border-bottom: 1px solid #ecd98b; font-size: 0.85rem; text-align: center; }

/* ---------- Sections ---------- */

.eb-section { position: relative; isolation: isolate; background-position: center; background-size: cover; background-repeat: no-repeat; }
.eb-section.eb-has-image::before { content: ""; position: absolute; inset: 0; background: var(--eb-dark); opacity: 0.55; z-index: -1; }
.eb-pt-none { padding-top: 0; } .eb-pb-none { padding-bottom: 0; }
.eb-pt-sm { padding-top: clamp(1.5rem, 3vw, 2rem); } .eb-pb-sm { padding-bottom: clamp(1.5rem, 3vw, 2rem); }
.eb-pt-md { padding-top: clamp(2.25rem, 5vw, 3.5rem); } .eb-pb-md { padding-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.eb-pt-lg { padding-top: clamp(3rem, 8vw, 6rem); } .eb-pb-lg { padding-bottom: clamp(3rem, 8vw, 6rem); }
.eb-pt-xl { padding-top: clamp(4rem, 11vw, 8.5rem); } .eb-pb-xl { padding-bottom: clamp(4rem, 11vw, 8.5rem); }
.eb-bg-soft { background-color: var(--eb-soft); }
.eb-bg-tint { background-color: var(--eb-tint); }
.eb-bg-dark { background-color: var(--eb-dark); }
.eb-bg-primary { background-color: var(--eb-primary); }
.eb-section + .eb-section:not([class*="eb-bg-"]):not(.eb-has-image) { border-top: 1px solid var(--eb-line); }
.eb-section[class*="eb-bg-"] + .eb-section, .eb-section.eb-has-image + .eb-section { border-top: 0; }

.eb-wrap { width: 100%; margin: 0 auto; padding-left: var(--eb-gutter); padding-right: var(--eb-gutter); max-width: calc(var(--eb-container) + 2 * var(--eb-gutter)); }
.eb-wrap--narrow { max-width: calc(780px + 2 * var(--eb-gutter)); }
.eb-wrap--wide { max-width: calc(var(--eb-container) + 240px + 2 * var(--eb-gutter)); }
.eb-wrap--full { max-width: none; padding-left: 0; padding-right: 0; }

/* Light text on dark backgrounds */
.eb-light { color: color-mix(in srgb, #fff 84%, transparent); }
.eb-light :is(h1, h2, h3, h4, h5, h6, .eb-h, .eb-stat b, .eb-quote__text, .eb-feature__title, .eb-card__title) { color: #fff; }
.eb-light a:not(.eb-btn) { color: #fff; }
.eb-light .eb-kicker { color: var(--eb-accent); }
.eb-light .eb-lead, .eb-light .eb-stat__label, .eb-light .eb-quote__who small, .eb-light figcaption { color: color-mix(in srgb, #fff 72%, transparent); }
.eb-light .eb-divider { border-color: color-mix(in srgb, #fff 22%, transparent); }
.eb-light .eb-feature--card, .eb-light .eb-quote--card, .eb-light .eb-card { background: color-mix(in srgb, #fff 6%, transparent); border-color: color-mix(in srgb, #fff 16%, transparent); }
.eb-light .eb-feature__icon { background: color-mix(in srgb, #fff 12%, transparent); color: #fff; }
.eb-light .eb-acc__item { border-color: color-mix(in srgb, #fff 18%, transparent); }
.eb-light .eb-list--check li::before { border-color: var(--eb-accent); }

/* ---------- Grid ---------- */

.eb-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.eb-gap-none { gap: 0; }
.eb-gap-sm { gap: 1rem; }
.eb-gap-md { gap: 2rem clamp(1.25rem, 3vw, 2.25rem); }
.eb-gap-lg { gap: 2.5rem clamp(1.75rem, 5vw, 4.5rem); }
.eb-va-start { align-items: start; }
.eb-va-center { align-items: center; }
.eb-va-end { align-items: end; }
/* A dynamic element with nothing to show today (no tags, no related posts...) takes no space. */
.eb-addon:empty { display: none; }
.eb-va-stretch { align-items: stretch; }
.eb-va-stretch > .eb-col { display: flex; flex-direction: column; }
.eb-va-stretch > .eb-col > .eb-addon:only-child { flex: 1; display: flex; flex-direction: column; }
.eb-va-stretch > .eb-col > .eb-addon:only-child > * { flex: 1; }
.eb-col { min-width: 0; }
.eb-lg-1 { grid-column: span 1; } .eb-lg-2 { grid-column: span 2; } .eb-lg-3 { grid-column: span 3; } .eb-lg-4 { grid-column: span 4; }
.eb-lg-5 { grid-column: span 5; } .eb-lg-6 { grid-column: span 6; } .eb-lg-7 { grid-column: span 7; } .eb-lg-8 { grid-column: span 8; }
.eb-lg-9 { grid-column: span 9; } .eb-lg-10 { grid-column: span 10; } .eb-lg-11 { grid-column: span 11; } .eb-lg-12 { grid-column: span 12; }
@media (max-width: 991.98px) {
	.eb-md-1 { grid-column: span 1; } .eb-md-2 { grid-column: span 2; } .eb-md-3 { grid-column: span 3; } .eb-md-4 { grid-column: span 4; }
	.eb-md-5 { grid-column: span 5; } .eb-md-6 { grid-column: span 6; } .eb-md-7 { grid-column: span 7; } .eb-md-8 { grid-column: span 8; }
	.eb-md-9 { grid-column: span 9; } .eb-md-10 { grid-column: span 10; } .eb-md-11 { grid-column: span 11; } .eb-md-12 { grid-column: span 12; }
}
@media (max-width: 767.98px) {
	.eb-sm-1 { grid-column: span 1; } .eb-sm-2 { grid-column: span 2; } .eb-sm-3 { grid-column: span 3; } .eb-sm-4 { grid-column: span 4; }
	.eb-sm-5 { grid-column: span 5; } .eb-sm-6 { grid-column: span 6; } .eb-sm-7 { grid-column: span 7; } .eb-sm-8 { grid-column: span 8; }
	.eb-sm-9 { grid-column: span 9; } .eb-sm-10 { grid-column: span 10; } .eb-sm-11 { grid-column: span 11; } .eb-sm-12 { grid-column: span 12; }
	.eb-reverse-sm .eb-row { display: flex; flex-direction: column-reverse; }
	.eb-ta-right { text-align: left; }
	.eb-ta-right .eb-btns { justify-content: flex-start; }
}
.eb-colbg-white { background: var(--eb-bg); }
.eb-colbg-soft { background: var(--eb-soft); }
.eb-colbg-tint { background: var(--eb-tint); }
.eb-colbg-dark { background: var(--eb-dark); }
.eb-colbg-primary { background: var(--eb-primary); }
.eb-pad-sm { padding: 1.25rem; } .eb-pad-md { padding: clamp(1.5rem, 3vw, 2.25rem); } .eb-pad-lg { padding: clamp(2rem, 5vw, 3.5rem); }
.eb-border { border: 1px solid var(--eb-line); border-radius: var(--eb-radius); }
.eb-ta-center { text-align: center; }
.eb-ta-right { text-align: right; }
.eb-ta-center .eb-btns { justify-content: center; }
.eb-ta-right .eb-btns { justify-content: flex-end; }
.eb-ta-center .eb-figure, .eb-ta-center .eb-lead { margin-left: auto; margin-right: auto; }
.eb-ta-center .eb-list { display: inline-block; text-align: left; }
@media (min-width: 992px) { .eb-hide-lg { display: none !important; } }
@media (min-width: 768px) and (max-width: 991.98px) { .eb-hide-md { display: none !important; } }
@media (max-width: 767.98px) { .eb-hide-sm { display: none !important; } }

/* ---------- Elements ---------- */

.eb-addon { min-width: 0; }
.eb-mb-none { margin-bottom: 0; }
.eb-mb-sm { margin-bottom: 0.9rem; }
.eb-mb-md { margin-bottom: 1.75rem; }
.eb-mb-lg { margin-bottom: 3rem; }
.eb-col > .eb-addon:last-child { margin-bottom: 0; }
.eb-addon > :last-child { margin-bottom: 0; }

.eb-kicker { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eb-primary); margin: 0 0 0.9rem; }
.eb-h { margin: 0; }
.eb-addon--heading .eb-h { margin-bottom: 0; }
p.eb-h { font-family: var(--eb-heading); font-weight: var(--eb-hweight); font-size: 1.5rem; line-height: 1.2; }
.eb-h--xl { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.02em; }
.eb-h--lg { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.eb-h--md { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
.eb-h--sm { font-size: 1.25rem; line-height: 1.25; }
.eb-h a { color: inherit; text-decoration: none; }
.eb-h--upper { text-transform: uppercase; letter-spacing: 0.01em; }
.eb-lead { font-size: 1.2rem; line-height: 1.55; color: var(--eb-muted); max-width: 44em; }
.eb-addon--heading .eb-lead { margin-top: 1.1rem; }
.eb-small { font-size: 0.92rem; }
.eb-text > :last-child { margin-bottom: 0; }
.eb-text--cols { column-count: 2; column-gap: 2.5rem; }
@media (max-width: 767.98px) { .eb-text--cols { column-count: 1; } }
.eb-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* Buttons (match the Engine template; standalone on other templates) */
.eb-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.eb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; font-weight: 600; font-size: 0.95rem; line-height: 1.2; padding: 0.85rem 1.4rem; border: 1px solid var(--eb-ink); border-radius: var(--eb-radius); text-decoration: none !important; transition: background 0.15s, color 0.15s, border-color 0.15s; cursor: pointer; background: transparent; color: var(--eb-ink); }
.eb-btn--primary { background: var(--eb-primary); border-color: var(--eb-primary); color: #fff !important; }
.eb-btn--primary:hover { background: var(--eb-primary-dark); border-color: var(--eb-primary-dark); }
.eb-btn--accent { background: var(--eb-accent); border-color: var(--eb-accent); color: var(--eb-ink) !important; }
.eb-btn--accent:hover { background: #fff; border-color: #fff; }
.eb-btn--outline:hover { background: var(--eb-ink); color: var(--eb-bg); }
.eb-light .eb-btn--outline { border-color: #fff; color: #fff !important; }
.eb-light .eb-btn--outline:hover { background: #fff; color: var(--eb-ink) !important; }
.eb-light .eb-btn--primary { background: var(--eb-accent); border-color: var(--eb-accent); color: var(--eb-ink) !important; }
.eb-btn--link { border-color: transparent; padding-left: 0; padding-right: 0; color: var(--eb-primary); }
.eb-btn--link:hover { text-decoration: underline !important; text-underline-offset: 0.2em; }
.eb-light .eb-btn--link { color: #fff; }
.eb-btn--sm { padding: 0.55rem 0.95rem; font-size: 0.84rem; }
.eb-btn--lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }
@media (max-width: 575.98px) { .eb-btns--full .eb-btn:not(.eb-btn--link) { flex: 1 1 100%; } }

/* Image */
.eb-figure { margin: 0; position: relative; }
.eb-ta-center > .eb-figure, .eb-ta-center .eb-figure[style] { margin-left: auto; margin-right: auto; }
.eb-ta-right > .eb-figure, .eb-ta-right .eb-figure[style] { margin-left: auto; }
.eb-figure[style] img { width: 100%; }
.eb-figure img { display: inline-block; vertical-align: bottom; max-width: 100%; height: auto; border-radius: var(--eb-radius); }
.eb-figure > a { display: inline-block; max-width: 100%; }
.eb-figure figcaption, .eb-video figcaption, .eb-gallery figcaption { font-size: 0.85rem; color: var(--eb-muted); margin-top: 0.6rem; }
.eb-figure--shadow img { box-shadow: var(--eb-shadow); }
.eb-figure--border img { border: 1px solid var(--eb-line); padding: 6px; background: var(--eb-bg); }
.eb-figure--offset { margin: 0 14px 14px 0; display: inline-block; }
.eb-figure--offset::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--eb-accent); z-index: -1; border-radius: var(--eb-radius); }
.eb-figure--offset { isolation: isolate; }

/* Feature */
.eb-feature { display: flex; flex-direction: column; gap: 1.1rem; height: 100%; }
.eb-feature--left { flex-direction: row; align-items: flex-start; gap: 1rem; }
.eb-feature--card { border: 1px solid var(--eb-line); background: var(--eb-bg); padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: var(--eb-radius); transition: border-color 0.15s, box-shadow 0.15s; }
.eb-feature--card:hover { border-color: color-mix(in srgb, var(--eb-primary) 35%, var(--eb-line)); box-shadow: var(--eb-shadow); }
.eb-feature__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--eb-tint); color: var(--eb-primary); flex: none; border-radius: var(--eb-radius); }
.eb-feature__icon .eb-ico { width: 24px; height: 24px; }
.eb-feature--left .eb-feature__icon { width: 42px; height: 42px; }
.eb-feature__num { font-family: var(--eb-heading); font-size: 2.6rem; line-height: 1; color: var(--eb-primary); }
.eb-feature__title { font-family: var(--eb-heading); font-weight: var(--eb-hweight); font-size: 1.45rem; line-height: 1.2; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.eb-feature--left .eb-feature__title { font-family: inherit; font-size: 1.05rem; font-weight: 600; margin-bottom: 0.2rem; letter-spacing: 0; }
.eb-feature__title a { color: inherit; text-decoration: none; }
.eb-feature__body p { margin: 0 0 0.6rem; }
.eb-feature__body > :last-child { margin-bottom: 0; }
.eb-feature--left .eb-feature__body p { color: var(--eb-muted); font-size: 0.95rem; }
.eb-feature__more a, .eb-card__more a { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; }

/* List */
.eb-list { list-style: none; padding: 0; margin: 0; }
.eb-list li { position: relative; margin: 0 0 0.6rem; }
.eb-list--check li { padding-left: 1.75rem; }
.eb-list--check li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 12px; height: 7px; border-left: 2px solid var(--eb-primary); border-bottom: 2px solid var(--eb-primary); transform: rotate(-45deg); }
.eb-list--dot li { padding-left: 1.2rem; }
.eb-list--dot li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--eb-accent); }
.eb-list--number { counter-reset: eb; }
.eb-list--number li { padding-left: 2.4rem; counter-increment: eb; }
.eb-list--number li::before { content: counter(eb, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--eb-heading); color: var(--eb-primary); }
.eb-list--line li { padding: 0.75rem 0; margin: 0; border-bottom: 1px solid var(--eb-line); }
.eb-list--line li:first-child { border-top: 1px solid var(--eb-line); }
.eb-list--cols { columns: 2; column-gap: 2rem; }
.eb-list--cols li { break-inside: avoid; }
@media (max-width: 575.98px) { .eb-list--cols { columns: 1; } }

/* Testimonial */
.eb-quote { margin: 0; display: flex; flex-direction: column; gap: 1.1rem; height: 100%; }
.eb-quote__text { margin: 0; padding: 0; border: 0; font-family: var(--eb-heading); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.4; color: var(--eb-ink); }
.eb-quote--plain .eb-quote__text { border-left: 3px solid var(--eb-accent); padding-left: 1.2rem; }
.eb-quote--card { border: 1px solid var(--eb-line); background: var(--eb-bg); padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: var(--eb-radius); }
.eb-quote--card .eb-quote__text { flex: 1; }
.eb-quote--large { text-align: center; align-items: center; }
.eb-quote--large .eb-quote__text { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.3; max-width: 30em; }
.eb-quote__who { display: flex; align-items: center; gap: 0.8rem; font-size: 0.95rem; }
.eb-quote__who img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.eb-quote__who span { display: flex; flex-direction: column; text-align: left; }
.eb-quote__who small { color: var(--eb-muted); font-size: 0.85rem; }
.eb-stars { margin: 0; color: var(--eb-accent); letter-spacing: 0.12em; font-size: 1.05rem; }

/* Number */
.eb-stat b { display: block; font-family: var(--eb-heading); font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; color: var(--eb-ink); letter-spacing: -0.02em; }
.eb-stat__label { display: block; font-size: 0.92rem; color: var(--eb-muted); margin-top: 0.45rem; }

/* Card */
.eb-card { border: 1px solid var(--eb-line); background: var(--eb-bg); height: 100%; display: flex; flex-direction: column; border-radius: var(--eb-radius); overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.eb-card:hover { border-color: color-mix(in srgb, var(--eb-primary) 35%, var(--eb-line)); box-shadow: var(--eb-shadow); }
.eb-card__img { overflow: hidden; }
.eb-card__img img { display: block; width: 100%; object-fit: cover; transition: transform 0.4s ease; border-radius: 0; }
.eb-card:hover .eb-card__img img { transform: scale(1.03); }
.eb-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.eb-card__body .eb-kicker { margin-bottom: 0.5rem; }
.eb-card__title { font-family: var(--eb-heading); font-weight: var(--eb-hweight); font-size: 1.45rem; line-height: 1.2; margin: 0 0 0.5rem; }
.eb-card__title a { color: inherit; text-decoration: none; }
.eb-card__body p { margin: 0 0 0.75rem; color: var(--eb-muted); }
.eb-card__more { margin-top: auto !important; }

/* Accordion */
.eb-acc { border-top: 1px solid var(--eb-line); }
.eb-acc__item { border-bottom: 1px solid var(--eb-line); }
.eb-acc__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; font-size: 1.05rem; }
.eb-acc__item summary::-webkit-details-marker { display: none; }
.eb-acc__item summary:hover { color: var(--eb-primary); }
.eb-acc__icon { position: relative; width: 14px; height: 14px; flex: none; }
.eb-acc__icon::before, .eb-acc__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform 0.2s; }
.eb-acc__icon::after { transform: rotate(90deg); }
.eb-acc__item[open] .eb-acc__icon::after { transform: rotate(0); }
.eb-acc__body { padding: 0 2rem 1.2rem 0; color: var(--eb-muted); }
.eb-acc__body p { margin: 0 0 0.7rem; }

/* Video, map, gallery, divider, spacer, module */
.eb-video { margin: 0; }
.eb-video__frame { position: relative; width: 100%; background: #000; overflow: hidden; border-radius: var(--eb-radius); }
.eb-video__frame iframe, .eb-video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.eb-map { position: relative; background: var(--eb-soft); border: 1px solid var(--eb-line); overflow: hidden; border-radius: var(--eb-radius); }
.eb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.eb-map--consent { display: grid; place-items: center; }
.eb-gallery { display: grid; grid-template-columns: repeat(var(--eb-cols, 3), minmax(0, 1fr)); gap: 0.75rem; }
@media (max-width: 767.98px) { .eb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.eb-gallery figure { margin: 0; }
.eb-gallery img { display: block; width: 100%; object-fit: cover; border-radius: var(--eb-radius); transition: opacity 0.15s; }
.eb-gallery a:hover img { opacity: 0.88; }
.eb-divider { border: 0; border-top: 1px solid var(--eb-line); width: 100%; }
.eb-divider--thick { border-top-width: 3px; border-color: var(--eb-ink); }
.eb-divider--accent { border-top: 3px solid var(--eb-accent); width: 56px; }
.eb-ta-center .eb-divider--accent { margin-left: auto !important; margin-right: auto !important; }
.eb-divider--dots { border-top: 2px dotted var(--eb-line); }
.eb-spacer { height: var(--eb-h, 48px); }
@media (max-width: 767.98px) { .eb-spacer { height: var(--eb-h-sm, 24px); } }
.eb-module__title { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eb-muted); margin: 0 0 1rem; }

/* Entrance animations (only when the visitor allows motion) */
@media (prefers-reduced-motion: no-preference) {
	.eb-anim { --eb-anim-dur: 0.7s; opacity: 0; transition: opacity var(--eb-anim-dur) ease, transform var(--eb-anim-dur) cubic-bezier(.2,.7,.2,1), filter var(--eb-anim-dur) ease; transition-delay: var(--eb-anim-delay, 0ms); }
	.eb-anim--fast { --eb-anim-dur: 0.4s; } .eb-anim--slow { --eb-anim-dur: 1.2s; }
	.eb-anim--up { transform: translateY(28px); }
	.eb-anim--down { transform: translateY(-28px); }
	.eb-anim--left { transform: translateX(-40px); }
	.eb-anim--right { transform: translateX(40px); }
	.eb-anim--zoom { transform: scale(0.92); }
	.eb-anim--blur { filter: blur(8px); }
	.eb-anim.is-in { opacity: 1; transform: none; filter: none; }
	.eb-bgfx--fixed { background-attachment: fixed; }
	.eb-bgfx--parallax { background-position: center var(--eb-py, 50%) !important; }
}

/* Lightbox */
.eb-lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10, 8, 24, 0.92); display: grid; place-items: center; padding: 2rem; cursor: zoom-out; }
.eb-lightbox img { max-width: 100%; max-height: 88vh; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.eb-lightbox button { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.4); background: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Placeholders (editor only) */
.eb-empty { padding: 1rem; border: 1px dashed #cfcbe0; color: var(--eb-muted); font-size: 0.85rem; text-align: center; background: color-mix(in srgb, var(--eb-soft) 70%, transparent); }
.eb-img-placeholder { aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, var(--eb-soft), var(--eb-soft) 12px, #fff 12px, #fff 24px); border: 1px dashed #cfcbe0; display: grid; place-items: center; color: var(--eb-muted); font-size: 0.85rem; }

/* ---------- Contact form ---------- */
.eb-form { position: relative; }
.eb-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.eb-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.eb-field--half { grid-column: span 1; }
@media (max-width: 575.98px) { .eb-field--half { grid-column: 1 / -1; } }
.eb-field label { font-size: 0.88rem; font-weight: 600; margin: 0; }
.eb-field input, .eb-field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--eb-ink); background: var(--eb-bg); border: 1px solid var(--eb-line); border-radius: var(--eb-radius); padding: 0.75rem 0.85rem; transition: border-color 0.15s, box-shadow 0.15s; }
.eb-field textarea { min-height: 150px; resize: vertical; }
.eb-field input:focus, .eb-field textarea:focus { outline: none; border-color: var(--eb-primary); box-shadow: 0 0 0 3px var(--eb-tint); }
.eb-field input:user-invalid, .eb-field textarea:user-invalid { border-color: var(--eb-accent-dark); }
.eb-field--sum input { max-width: 120px; }
.eb-field--check { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.eb-field--check input { width: 18px; height: 18px; margin-top: 0.15rem; flex: none; accent-color: var(--eb-primary); }
.eb-field--check label { font-weight: 400; font-size: 0.92rem; }
.eb-req { color: var(--eb-accent-dark); }
.eb-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.eb-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.eb-form__note { margin: 0; font-size: 0.8rem; color: var(--eb-muted); }
.eb-btn--block { width: 100%; }
.eb-form__foot:has(.eb-btn--block) .eb-form__note { width: 100%; }
.eb-btn[disabled] { opacity: 0.6; cursor: default; }
.eb-form__status:empty { display: none; }
.eb-form__status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-left: 3px solid var(--eb-primary); background: var(--eb-soft); font-size: 0.95rem; color: var(--eb-ink); }
.eb-form__status.is-error { border-left-color: var(--eb-accent-dark); background: color-mix(in srgb, var(--eb-accent) 12%, #fff); }
.eb-form.is-sent .eb-form__grid, .eb-form.is-sent .eb-form__foot { display: none; }
.eb-form.is-sent .eb-form__status { margin-top: 0; border-left-color: #17803d; }
.eb-light .eb-field input, .eb-light .eb-field textarea { background: #fff; color: #16122f; }
.eb-light .eb-form__status { color: var(--eb-ink); }

/* Inner rows and wrappers added for in-place editing */
.eb-inner { min-width: 0; }
.eb-feature__text > :last-child, .eb-card__text > :last-child { margin-bottom: 0; }
.eb-card__text p { margin: 0 0 0.75rem; color: var(--eb-muted); }
.eb-feature__text p { margin: 0 0 0.6rem; }
.eb-feature--left .eb-feature__text p { color: var(--eb-muted); font-size: 0.95rem; }

/* ---------- Site elements: logo, menu, search, social, icon list ---------- */

.eb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* In headers these sit in one line; elsewhere (footers, sidebars) they keep their own space below. */
.eb-part--header :is(.eb-addon--logo, .eb-addon--menu, .eb-addon--search, .eb-addon--social, .eb-addon--cart_icon, .eb-addon--account_link) { margin-bottom: 0; }
.eb-iconbtn { width: 42px; height: 42px; display: inline-grid; place-items: center; background: none; border: 1px solid transparent; color: inherit; cursor: pointer; padding: 0; border-radius: var(--eb-radius); }
.eb-iconbtn:hover { border-color: var(--eb-line); }
.eb-iconbtn svg, .eb-burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.eb-logo { display: inline-flex; flex-direction: column; gap: 0.6rem; color: var(--eb-ink); text-decoration: none !important; line-height: 1; }
.eb-logo__row { display: inline-flex; align-items: center; gap: 0.6rem; }
.eb-logo__mark { width: 0.95em; height: 0.95em; background: var(--eb-primary); box-shadow: 0.32em 0.32em 0 var(--eb-accent); flex: none; font-size: 1.35rem; margin-right: 0.3em; }
.eb-logo__name { font-family: var(--eb-heading); font-size: 1.55rem; font-weight: var(--eb-hweight); letter-spacing: -0.01em; color: inherit; }
.eb-logo__img { display: block; height: 44px; width: auto; max-width: 100%; }
.eb-logo__img--light { display: none; }
.eb-logo__tagline { font-size: 0.78rem; color: var(--eb-muted); letter-spacing: 0.04em; }
.eb-light .eb-logo { color: #fff; }
.eb-light .eb-logo__tagline { color: color-mix(in srgb, #fff 75%, transparent); }

.eb-menu { display: flex; align-items: center; gap: 0.5rem; }
.eb-justify-start { justify-content: flex-start; } .eb-justify-center { justify-content: center; } .eb-justify-end { justify-content: flex-end; }
.eb-menu__bar { display: flex; min-width: 0; }
.eb-menu .en-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.eb-menu--gap-sm .en-menu { gap: 0; } .eb-menu--gap-md .en-menu { gap: 0.15rem; } .eb-menu--gap-lg .en-menu { gap: 0.9rem; }
.eb-menu .en-menu > li { position: relative; margin: 0; }
.eb-menu .en-menu > li.has-mega { position: static; }
.eb-menu .en-menu .en-menu__link { display: flex; align-items: center; gap: 0.3rem; padding: 0.55rem 0.75rem; color: inherit; font-weight: 500; text-decoration: none; }
.eb-menu .en-menu > li > .en-menu__link:hover, .eb-menu .en-menu > li.is-active > .en-menu__link { color: var(--eb-primary); }
.eb-light .eb-menu .en-menu > li > .en-menu__link { color: #fff; }
.eb-light .eb-menu .en-menu > li > .en-menu__link:hover, .eb-light .eb-menu .en-menu > li.is-active > .en-menu__link { color: var(--eb-accent); }
.eb-menu--plain .en-menu > li.is-active > .en-menu__link { box-shadow: none; }
.eb-menu--underline .en-menu > li.is-active > .en-menu__link { box-shadow: inset 0 -2px 0 var(--eb-accent); }
.eb-menu--pill .en-menu > li.is-active > .en-menu__link { background: var(--eb-primary); color: #fff !important; box-shadow: none; }
.eb-menu--upper .en-menu > li > .en-menu__link { text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.08em; font-weight: 600; }
.eb-menu .en-caret { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; margin-left: -0.35rem; margin-right: 0.35rem; }
.eb-menu .en-menu > li.has-children { display: flex; align-items: center; }
.eb-menu .en-menu__sub { list-style: none; margin: 0; padding: 0.45rem 0; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--eb-bg); color: var(--eb-ink); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; z-index: 70; text-align: left; }
.eb-menu .en-menu__sub .en-menu__sub { top: -0.5rem; left: 100%; }
.eb-menu .en-menu li:hover > .en-menu__sub, .eb-menu .en-menu li:focus-within > .en-menu__sub, .eb-menu .en-menu li.is-open > .en-menu__sub { opacity: 1; visibility: visible; transform: none; }
.eb-menu .en-menu__sub li { position: relative; margin: 0; display: flex; align-items: center; }
.eb-menu .en-menu__sub .en-menu__link { flex: 1; padding: 0.55rem 1.1rem; color: var(--eb-ink) !important; font-size: 0.93rem; text-transform: none; letter-spacing: 0; }
.eb-menu .en-menu__sub .en-menu__link:hover { background: var(--eb-soft); color: var(--eb-primary) !important; }
.eb-menu .en-mega { color: var(--eb-ink); }
.eb-menu .en-mega .en-menu__link, .eb-menu .en-mega a { color: inherit; }

.eb-burger { display: none; align-items: center; gap: 0.5rem; background: none; border: 1px solid var(--eb-line); color: inherit; padding: 0.55rem 0.7rem; cursor: pointer; font: inherit; font-weight: 600; border-radius: var(--eb-radius); }
.eb-light .eb-burger { border-color: color-mix(in srgb, #fff 35%, transparent); }
.eb-menu--bp-lg .eb-burger { display: inline-flex; }
@media (max-width: 991.98px) { .eb-menu--bp-md .eb-menu__bar { display: none; } .eb-menu--bp-md .eb-burger { display: inline-flex; } }
@media (max-width: 767.98px) { .eb-menu--bp-sm .eb-menu__bar { display: none; } .eb-menu--bp-sm .eb-burger { display: inline-flex; } }

.eb-mpanel { position: fixed; inset: 0; z-index: 1000; }
.eb-mpanel__backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--eb-dark) 60%, transparent); opacity: 0; transition: opacity 0.2s; }
.eb-mpanel__box { position: absolute; top: 0; bottom: 0; right: 0; width: min(380px, 88vw); background: var(--eb-bg); color: var(--eb-ink); padding: 1.25rem 1.5rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform 0.25s ease; text-align: left; }
.eb-mpanel--left .eb-mpanel__box { right: auto; left: 0; transform: translateX(-100%); }
.eb-mpanel.is-open .eb-mpanel__backdrop { opacity: 1; }
.eb-mpanel.is-open .eb-mpanel__box { transform: none; }
.eb-mpanel__close { display: grid; margin: 0 0 0 auto; color: var(--eb-ink); flex: none; }
.eb-mpanel__head { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; min-height: 44px; }
.eb-mpanel__brand { flex: 1; min-width: 0; }
.eb-mpanel__brand .eb-logo { display: inline-flex; max-width: 100%; }
.eb-mpanel__brand .eb-logo img { max-height: 40px; width: auto; }
.eb-mpanel__brand .eb-logo__name { font-size: 1.25rem; }
.eb-mpanel__foot { margin-top: 1.5rem; display: grid; gap: 1rem; }
.eb-mpanel__links { display: grid; gap: 0.25rem; }
.eb-mpanel__links .eb-mpanel__link { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0; color: var(--eb-ink); font-weight: 500; text-decoration: none; position: relative; }
.eb-mpanel__links .eb-mpanel__link svg { width: 22px; height: 22px; flex: none; }
.eb-mpanel__links .eb-carticon__n { position: static; margin-left: auto; }
.eb-mpanel__btns { display: grid; gap: 0.6rem; }
.eb-mpanel__btns .eb-btn { width: 100%; justify-content: center; }
/* Phones and tablets: the header bar keeps logo, cart and menu button on one row; account link and buttons move into the side panel. */
@media (max-width: 991.98px) {
 .eb-part--header .eb-section > .eb-wrap > .eb-row:has(.eb-menu--bp-md, .eb-menu--bp-lg) { display: flex; flex-wrap: nowrap; align-items: center; column-gap: 0.75rem; }
 .eb-part--header .eb-section > .eb-wrap > .eb-row:has(.eb-menu--bp-md, .eb-menu--bp-lg) > .eb-col { flex: 0 0 auto; width: auto; max-width: none; }
 .eb-part--header .eb-section > .eb-wrap > .eb-row:has(.eb-menu--bp-md, .eb-menu--bp-lg) > .eb-col:has(.eb-addon--logo) { flex: 1 1 auto; min-width: 0; }
 .eb-part--header .eb-section > .eb-wrap > .eb-row:has(.eb-menu--bp-md, .eb-menu--bp-lg) > .eb-col:has(.eb-addon--menu) { order: 3; }
 .eb-part--header .eb-row:has(.eb-menu--bp-md, .eb-menu--bp-lg) :is(.eb-addon--account_link, .eb-addon--buttons) { display: none; }
 .eb-part--header .eb-row:has(.eb-menu--bp-md, .eb-menu--bp-lg) .eb-inner .eb-row { display: flex; flex-wrap: nowrap; justify-content: flex-end; align-items: center; column-gap: 0.75rem; }
 .eb-part--header .eb-row:has(.eb-menu--bp-md, .eb-menu--bp-lg) .eb-inner .eb-col:not(:has(.eb-addon--cart_icon, .eb-addon--search)) { display: none; }
 .eb-part--header .eb-row:has(.eb-menu--bp-md, .eb-menu--bp-lg) .eb-inner .eb-col { flex: 0 0 auto; width: auto; max-width: none; }
}
.eb-mpanel .en-mmenu, .eb-mpanel .en-mmenu .en-menu__sub { list-style: none; margin: 0; padding: 0; }
.eb-mpanel .en-mmenu li { margin: 0; display: flex; flex-wrap: wrap; align-items: center; }
.eb-mpanel .en-mmenu > li { border-bottom: 1px solid var(--eb-line); }
.eb-mpanel .en-mmenu .en-menu__link { flex: 1; padding: 0.85rem 0; color: var(--eb-ink); font-size: 1.05rem; font-weight: 500; text-decoration: none; }
.eb-mpanel .en-mmenu li.is-current > .en-menu__link { color: var(--eb-primary); }
.eb-mpanel .en-mmenu .en-menu__sub { flex-basis: 100%; padding: 0 0 0.6rem 1rem; display: none; position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; }
.eb-mpanel .en-mmenu .en-menu__sub .en-menu__link { padding: 0.45rem 0; font-size: 0.97rem; color: var(--eb-muted); }
.eb-mpanel .en-sub-toggle { width: 40px; height: 40px; border: 1px solid var(--eb-line); background: none; display: grid; place-items: center; cursor: pointer; color: var(--eb-ink); }
.eb-mpanel .en-sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.15s; }
.eb-mpanel .en-sub-toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.eb-mpanel .en-sub-toggle[aria-expanded=true] + .en-menu__sub { display: block; }
html.eb-lock { overflow: hidden; }

.eb-search { position: relative; display: inline-block; }
.eb-search--field { display: block; }
.eb-search__form { display: flex; gap: 0.4rem; }
.eb-search__form input[type=search] { flex: 1; min-width: 0; padding: 0.6rem 0.8rem; border: 1px solid var(--eb-line); background: var(--eb-bg); color: var(--eb-ink); font: inherit; border-radius: var(--eb-radius); }
.eb-search__drop { position: absolute; top: calc(100% + 0.5rem); right: 0; z-index: 80; width: min(360px, 86vw); padding: 0.75rem; background: var(--eb-bg); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); }
.eb-ta-left .eb-search__drop, .eb-search__drop.is-left { right: auto; left: 0; }

.eb-social { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.eb-ta-center .eb-social { justify-content: center; } .eb-ta-right .eb-social { justify-content: flex-end; }
.eb-social a { --s: 38px; width: var(--s); height: var(--s); display: grid; place-items: center; color: var(--eb-soc, inherit); border: 1px solid transparent; text-decoration: none; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.eb-social--sm a { --s: 30px; } .eb-social--lg a { --s: 48px; }
.eb-social svg { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eb-social--plain a { width: auto; padding: 0 0.15rem; }
.eb-social--plain svg { width: calc(var(--s) * 0.55); height: calc(var(--s) * 0.55); }
.eb-social--square a { border-color: currentColor; }
.eb-social--circle a { border-color: currentColor; border-radius: 50%; }
.eb-social--filled a { background: var(--eb-soc, var(--eb-primary)); color: #fff; }
.eb-social a:hover { color: var(--eb-soc-h, var(--eb-primary)); }
.eb-social--filled a:hover { background: var(--eb-soc-h, var(--eb-primary-dark)); color: #fff; }
.eb-light .eb-social a:hover { color: var(--eb-soc-h, var(--eb-accent)); }

.eb-iconlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.92rem; }
.eb-iconlist--stacked { flex-direction: column; }
.eb-ta-center .eb-iconlist { justify-content: center; } .eb-ta-right .eb-iconlist { justify-content: flex-end; }
.eb-iconlist li { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.eb-iconlist a, .eb-iconlist li > span { display: inline-flex; align-items: center; gap: 0.5rem; color: inherit; text-decoration: none; }
.eb-iconlist a:hover span { text-decoration: underline; text-underline-offset: 0.2em; }
.eb-iconlist svg { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: var(--eb-ico, var(--eb-primary)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eb-light .eb-iconlist svg { stroke: var(--eb-ico, var(--eb-accent)); }
.eb-copyright { margin: 0; font-size: 0.9rem; }

/* ---------- Headers and footers from Engine Builder ---------- */

.eb-site-header { position: relative; z-index: 60; background: var(--en-header-bg, #fff); }
/* The header's text colour (template option) applies to builder headers too: logo, menu, account and cart. */
.eb-site-header > .eb-part { color: var(--en-header-text, var(--eb-ink)); }
.eb-site-header > .eb-part .eb-logo { color: inherit; }
.eb-site-header .eb-section { transition: padding 0.2s ease, background-color 0.2s ease; }
.eb-site-header.is-sticky { position: sticky; top: 0; }
.eb-site-header.is-sticky.is-scrolled { box-shadow: 0 10px 30px -24px rgba(22, 18, 47, 0.55); }
.eb-site-header.is-shrink.is-scrolled .eb-section { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.eb-site-header.is-transparent:not(.is-scrolled) { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.eb-site-header.is-transparent.is-sticky:not(.is-scrolled) { position: fixed; }
.eb-site-header.is-transparent:not(.is-scrolled) .eb-section { background-color: transparent !important; }
.eb-site-header.is-transparent:not(.is-scrolled) .eb-logo__img--light { display: block; }
.eb-site-header.is-transparent:not(.is-scrolled) .eb-logo__img--light ~ .eb-logo__img, .eb-site-header.is-transparent:not(.is-scrolled) .eb-logo__img:has(~ .eb-logo__img--light) { display: none; }
.eb-site-header.is-transparent.is-scrolled { position: fixed; left: 0; right: 0; top: 0; }
body.admin-bar .eb-site-header.is-sticky { top: 0; }
.eb-site-footer { margin-top: auto; }
.eb-menu--vertical { display: block; }
.eb-menu--vertical .en-menu { flex-direction: column; align-items: stretch; gap: 0; }
.eb-menu--vertical .en-menu > li, .eb-menu--vertical .en-menu > li.has-children { display: block; }
.eb-menu--vertical .en-menu .en-menu__link { padding: 0.35rem 0; }
.eb-menu--vertical .en-caret { display: none; }
.eb-menu--vertical .en-menu__sub { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 0.3rem 1rem; background: none; border: 0; box-shadow: none; color: inherit; }
.eb-menu--vertical .en-menu__sub .en-menu__link { padding: 0.25rem 0; color: inherit !important; opacity: 0.8; }
.eb-menu--vertical .en-menu__sub .en-menu__link:hover { background: none; opacity: 1; }
.eb-ta-center .eb-menu--vertical .en-menu { align-items: center; }
.eb-footer-bottom { border-top: 1px solid color-mix(in srgb, #fff 12%, transparent); }

/* ---------- Article and category layouts ---------- */

.eb-h--xxl { font-size: clamp(3rem, 8vw, 6.2rem); line-height: 1; letter-spacing: -0.02em; }
.eb-postcontent--reading { max-width: 70ch; }
.eb-ta-center .eb-postcontent--reading { margin-inline: auto; }
.eb-prose { font-size: 1.08rem; line-height: 1.75; }
.eb-prose > :first-child { margin-top: 0; }
.eb-prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.2rem 0 0.8rem; }
.eb-prose h3 { font-size: 1.35rem; margin: 1.8rem 0 0.6rem; }
.eb-prose img { max-width: 100%; height: auto; }
.eb-prose blockquote { border-left: 3px solid var(--eb-accent); margin: 1.6rem 0; padding: 0.2rem 0 0.2rem 1.25rem; font-family: var(--eb-heading); font-size: 1.3rem; }
.eb-prose--drop > p:first-of-type::first-letter { float: left; font-family: var(--eb-heading); font-size: 4.2em; line-height: 0.85; padding: 0.06em 0.12em 0 0; color: var(--eb-primary); }
.eb-postimage { margin: 0; }
.eb-postimage img { display: block; width: 100%; height: auto; }
.eb-postimage--crop img { aspect-ratio: var(--eb-ratio); object-fit: cover; }
.eb-postimage figcaption { font-size: 0.85rem; color: var(--eb-muted); margin-top: 0.6rem; }
.eb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0; font-size: 0.92rem; color: var(--eb-muted); }
.eb-meta a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.2em; }
.eb-meta__item { display: inline-flex; align-items: center; gap: 0.4rem; }
.eb-meta--dots .eb-meta__item + .eb-meta__item::before { content: "·"; margin: 0 0.55rem; }
.eb-meta--kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.eb-meta--kicker .eb-meta__item + .eb-meta__item::before { content: "/"; margin: 0 0.6rem; opacity: 0.5; }
.eb-meta--icons { gap: 0.4rem 1.2rem; }
.eb-meta svg { width: 1.05em; height: 1.05em; fill: none; stroke: var(--eb-primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eb-light .eb-meta { color: color-mix(in srgb, #fff 78%, transparent); }
.eb-light .eb-meta svg { stroke: var(--eb-accent); }
.eb-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.eb-tags__label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eb-muted); margin-right: 0.3rem; }
.eb-tags a { padding: 0.3rem 0.7rem; border: 1px solid var(--eb-line); color: var(--eb-ink); font-size: 0.88rem; text-decoration: none; }
.eb-tags a:hover { border-color: var(--eb-primary); color: var(--eb-primary); }
.eb-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--eb-line); border-bottom: 1px solid var(--eb-line); }
.eb-postnav__link { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.2rem 0; color: var(--eb-ink); text-decoration: none; }
.eb-postnav__link--next { text-align: right; grid-column: 2; }
.eb-postnav__label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eb-muted); }
.eb-postnav__link--prev .eb-postnav__label::before { content: "← "; }
.eb-postnav__link--next .eb-postnav__label::after { content: " →"; }
.eb-postnav__title { font-family: var(--eb-heading); font-size: 1.2rem; line-height: 1.3; }
.eb-postnav__link:hover .eb-postnav__title { color: var(--eb-primary); }
@media (max-width: 575.98px) { .eb-postnav { grid-template-columns: 1fr; } .eb-postnav__link--next { grid-column: 1; text-align: left; border-top: 1px solid var(--eb-line); } }
.eb-archive__desc { margin-top: 0.8rem; }

.eb-posts { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.eb-posts--grid { grid-template-columns: repeat(var(--eb-cols, 3), minmax(0, 1fr)); }
@media (max-width: 991.98px) { .eb-posts--grid { grid-template-columns: repeat(min(var(--eb-cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .eb-posts--grid { grid-template-columns: 1fr; } }
.eb-post { display: flex; flex-direction: column; min-width: 0; background: var(--eb-bg); }
.eb-posts--card-line .eb-post { border: 1px solid var(--eb-line); }
.eb-posts--card-soft .eb-post { background: var(--eb-soft); }
.eb-post__media { display: block; overflow: hidden; }
.eb-post__media img { display: block; width: 100%; aspect-ratio: var(--eb-ratio, 3/2); object-fit: cover; transition: transform 0.4s ease; }
.eb-post:hover .eb-post__media img { transform: scale(1.03); }
.eb-post__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.eb-posts--card-plain .eb-post__body { padding-inline: 0; }
.eb-post__meta { margin: 0; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--eb-muted); }
.eb-post__title { margin: 0; font-size: 1.3rem; line-height: 1.25; }
.eb-post__title a { color: var(--eb-ink); text-decoration: none; }
.eb-post__title a:hover { color: var(--eb-primary); }
.eb-post__excerpt { margin: 0; color: var(--eb-muted); font-size: 0.97rem; }
.eb-post__more { margin-top: auto; padding-top: 0.4rem; font-weight: 600; font-size: 0.92rem; color: var(--eb-primary); text-decoration: none; }
.eb-posts--list .eb-post { flex-direction: row; }
.eb-posts--list .eb-post__media { flex: 0 0 38%; }
.eb-posts--list .eb-post__media img { height: 100%; }
@media (max-width: 575.98px) { .eb-posts--list .eb-post { flex-direction: column; } }
.eb-posts--plain { gap: 0; }
.eb-posts--plain .eb-post { border: 0; border-bottom: 1px solid var(--eb-line); background: none; }
.eb-posts--plain .eb-post__body { padding: 0.9rem 0; }
.eb-posts--plain .eb-post__title { font-size: 1.1rem; }
.eb-pagination { margin-top: 2rem; }
.eb-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0; }
.eb-pagination .page-link { display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 0.7rem; border: 1px solid var(--eb-line); color: var(--eb-ink); text-decoration: none; }
.eb-pagination .active .page-link, .eb-pagination .page-link:hover { background: var(--eb-primary); border-color: var(--eb-primary); color: #fff; }
.eb-pagination .disabled .page-link { opacity: 0.45; }

/* ---------- Phase B elements: tabs, icon, bars, rating, notice, price plan, team, carousel ---------- */

.eb-tabs__list { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--eb-line); margin-bottom: 1.4rem; }
.eb-tabs__list button { font: inherit; font-weight: 600; font-size: 0.97rem; padding: 0.8rem 1.1rem; background: none; border: 0; color: var(--eb-muted); cursor: pointer; position: relative; }
.eb-tabs__list button:hover { color: var(--eb-ink); }
.eb-tabs__list button[aria-selected="true"] { color: var(--eb-primary); }
.eb-tabs--line .eb-tabs__list button[aria-selected="true"]::after { content: ""; position: absolute; left: 0.6rem; right: 0.6rem; bottom: -1px; height: 2px; background: var(--eb-accent); }
.eb-tabs--boxed .eb-tabs__list { border-bottom: 0; gap: 0; margin-bottom: 0; }
.eb-tabs--boxed .eb-tabs__list button { border: 1px solid var(--eb-line); margin-right: -1px; background: var(--eb-soft); }
.eb-tabs--boxed .eb-tabs__list button[aria-selected="true"] { background: var(--eb-bg); border-bottom-color: var(--eb-bg); position: relative; z-index: 1; }
.eb-tabs--boxed .eb-tabs__panels { border: 1px solid var(--eb-line); margin-top: -1px; padding: 1.5rem; }
.eb-tabs--pills .eb-tabs__list { border-bottom: 0; gap: 0.4rem; }
.eb-tabs--pills .eb-tabs__list button { border: 1px solid var(--eb-line); }
.eb-tabs--pills .eb-tabs__list button[aria-selected="true"] { background: var(--eb-primary); border-color: var(--eb-primary); color: #fff; }
.eb-tabs__panel > :last-child { margin-bottom: 0; }
.eb-tabs__panel:focus-visible { outline: 2px solid var(--eb-primary); outline-offset: 4px; }
@media (min-width: 768px) {
	.eb-tabs--vertical { display: grid; grid-template-columns: minmax(180px, 28%) 1fr; gap: 2rem; }
	.eb-tabs--vertical .eb-tabs__list { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--eb-line); margin-bottom: 0; align-items: stretch; }
	.eb-tabs--vertical .eb-tabs__list button { text-align: left; }
	.eb-tabs--vertical.eb-tabs--line .eb-tabs__list button[aria-selected="true"]::after { left: auto; right: -1px; top: 0.5rem; bottom: 0.5rem; width: 2px; height: auto; }
}
.eb-light .eb-tabs__list button { color: color-mix(in srgb, #fff 70%, transparent); }
.eb-light .eb-tabs__list button[aria-selected="true"] { color: #fff; }

.eb-icon { --eb-isz: 48px; display: inline-grid; place-items: center; width: var(--eb-isz); height: var(--eb-isz); color: var(--eb-ic, var(--eb-primary)); }
.eb-icon svg { width: 100%; height: 100%; }
.eb-icon--soft, .eb-icon--square, .eb-icon--circle, .eb-icon--outline { width: calc(var(--eb-isz) * 1.9); height: calc(var(--eb-isz) * 1.9); }
.eb-icon--soft svg, .eb-icon--square svg, .eb-icon--circle svg, .eb-icon--outline svg { width: var(--eb-isz); height: var(--eb-isz); }
.eb-icon--soft { background: color-mix(in srgb, var(--eb-ic, var(--eb-primary)) 10%, transparent); }
.eb-icon--square, .eb-icon--circle { background: var(--eb-ic, var(--eb-primary)); color: #fff; }
.eb-icon--circle, .eb-icon--outline { border-radius: 50%; }
.eb-icon--outline { border: 2px solid currentColor; }
.eb-icon-link { display: inline-block; transition: transform 0.15s; }
.eb-icon-link:hover { transform: translateY(-2px); }

.eb-bars { display: grid; gap: 1.2rem; }
.eb-bar__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.45rem; font-weight: 600; font-size: 0.95rem; }
.eb-bar__value { color: var(--eb-muted); font-variant-numeric: tabular-nums; }
.eb-bar__track { height: var(--eb-bh, 8px); background: var(--eb-bt, var(--eb-soft)); overflow: hidden; }
.eb-bar__fill { display: block; height: 100%; width: 0; background: var(--eb-bc, var(--eb-primary)); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.eb-bars.is-in .eb-bar__fill { width: var(--eb-v); }
.eb-light .eb-bar__track { background: var(--eb-bt, color-mix(in srgb, #fff 18%, transparent)); }
.eb-light .eb-bar__fill { background: var(--eb-bc, var(--eb-accent)); }
.eb-light .eb-bar__value { color: color-mix(in srgb, #fff 75%, transparent); }

.eb-rating, .eb-rating__link { display: inline-flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; color: inherit; text-decoration: none; }
.eb-rating__stars { position: relative; display: inline-block; line-height: 0; }
.eb-rating__base, .eb-rating__fill { display: inline-flex; gap: 2px; }
.eb-rating__fill { position: absolute; inset: 0 auto 0 0; width: var(--eb-sv); overflow: hidden; white-space: nowrap; }
.eb-rating svg { width: var(--eb-ss, 22px); height: var(--eb-ss, 22px); flex: none; }
.eb-rating__base svg { fill: color-mix(in srgb, var(--eb-sc, #f5a623) 22%, transparent); }
.eb-rating__fill svg { fill: var(--eb-sc, #f5a623); }
.eb-rating__text { font-weight: 600; font-size: 0.95rem; }
.eb-rating__link:hover .eb-rating__text { text-decoration: underline; text-underline-offset: 0.2em; }

.eb-alert { --a: var(--eb-primary); display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-left: 4px solid var(--a); background: color-mix(in srgb, var(--a) 8%, var(--eb-bg)); color: var(--eb-ink); }
.eb-alert--success { --a: #1f8a5b; } .eb-alert--warning { --a: #c98a12; } .eb-alert--danger { --a: #c23a4b; }
.eb-alert__icon { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--a); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 0.1rem; }
.eb-alert__body { flex: 1; }
.eb-alert__title { margin: 0 0 0.2rem; font-weight: 700; }
.eb-alert__text p { margin: 0; }
.eb-alert__close { background: none; border: 0; padding: 0.2rem; cursor: pointer; color: var(--eb-muted); }
.eb-alert__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.eb-price { position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem 1.8rem; border: 1px solid var(--eb-line); background: var(--eb-bg); color: var(--eb-ink); }
.eb-price--featured { border: 2px solid var(--eb-primary); box-shadow: var(--eb-shadow); }
.eb-price__badge { position: absolute; top: -0.85rem; left: 1.8rem; background: var(--eb-accent); color: var(--eb-ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.7rem; }
.eb-price__name { margin: 0 0 0.4rem; font-size: 1.5rem; }
.eb-price__desc { margin: 0 0 1.2rem; color: var(--eb-muted); font-size: 0.95rem; }
.eb-price__amount { display: flex; align-items: baseline; gap: 0.2rem; margin: 0; }
.eb-price__cur { font-size: 1.4rem; font-weight: 600; align-self: flex-start; margin-top: 0.5rem; }
.eb-price__num { font-family: var(--eb-heading); font-size: 3.6rem; line-height: 1; }
.eb-price__per { color: var(--eb-muted); margin-left: 0.3rem; }
.eb-price__note { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--eb-muted); }
.eb-price__list { list-style: none; padding: 1.3rem 0 0; margin: 1.3rem 0 1.6rem; border-top: 1px solid var(--eb-line); display: grid; gap: 0.6rem; }
.eb-price__list li { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0; }
.eb-price__list svg { width: 18px; height: 18px; flex: none; margin-top: 0.2rem; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.eb-price__list .is-yes svg { stroke: var(--eb-primary); }
.eb-price__list .is-no { color: var(--eb-muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.eb-price__list .is-no svg { stroke: var(--eb-muted); }
.eb-price__cta { margin: auto 0 0; }

.eb-person { display: flex; flex-direction: column; gap: 1rem; }
.eb-person__photo { overflow: hidden; background: var(--eb-soft); aspect-ratio: var(--eb-ratio, 4/5); display: grid; place-items: center; }
.eb-person__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eb-person__initials { font-family: var(--eb-heading); font-size: 3rem; color: var(--eb-primary); }
.eb-person__name { margin: 0; font-size: 1.35rem; }
.eb-person__role { margin: 0.15rem 0 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--eb-primary); }
.eb-person__bio { margin: 0.6rem 0 0.4rem; color: var(--eb-muted); }
.eb-person .eb-social { margin-left: -0.15rem; }
.eb-person--side { flex-direction: row; align-items: flex-start; gap: 1.4rem; }
.eb-person--side .eb-person__photo { flex: 0 0 38%; }
.eb-person--round { align-items: center; text-align: center; }
.eb-person--round .eb-person__photo { width: 160px; aspect-ratio: 1; border-radius: 50%; }
.eb-person--round .eb-social { justify-content: center; }
@media (max-width: 575.98px) { .eb-person--side { flex-direction: column; } }
.eb-light .eb-person__role { color: var(--eb-accent); }
.eb-light .eb-person__bio { color: color-mix(in srgb, #fff 75%, transparent); }

.eb-car { --gap: 1.25rem; position: relative; }
.eb-car__track { list-style: none; margin: 0; padding: 0 0 0.25rem; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--eb-per) - 1) * var(--gap)) / var(--eb-per)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.eb-car__track::-webkit-scrollbar { display: none; }
.eb-car__track:focus-visible { outline: 2px solid var(--eb-primary); outline-offset: 4px; }
@media (max-width: 991.98px) { .eb-car__track { grid-auto-columns: calc((100% - (var(--eb-per-md) - 1) * var(--gap)) / var(--eb-per-md)); } }
@media (max-width: 767.98px) { .eb-car__track { grid-auto-columns: calc((100% - (var(--eb-per-sm) - 1) * var(--gap)) / var(--eb-per-sm)); } }
.eb-slide { scroll-snap-align: start; margin: 0; min-width: 0; }
.eb-slide__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.eb-slide__media { overflow: hidden; aspect-ratio: var(--eb-ratio, 4/3); background: var(--eb-soft); }
.eb-slide__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; user-select: none; }
.eb-slide__link:hover img { transform: scale(1.03); }
.eb-slide__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--eb-tint), var(--eb-soft)); }
.eb-car--cards .eb-slide { border: 1px solid var(--eb-line); background: var(--eb-bg); color: var(--eb-ink); }
.eb-slide__body { padding: 1.1rem 1.2rem 1.3rem; }
.eb-slide__title { margin: 0 0 0.35rem; font-size: 1.2rem; }
.eb-slide__text { margin: 0; color: var(--eb-muted); font-size: 0.95rem; }
.eb-car--logos .eb-slide__media { aspect-ratio: 3/2; background: none; display: grid; place-items: center; padding: 0.8rem; }
.eb-car--logos .eb-slide__media img { object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: filter 0.2s, opacity 0.2s; }
.eb-car--logos .eb-slide:hover img { filter: none; opacity: 1; }
.eb-car__arrows { display: flex; gap: 0.4rem; justify-content: flex-end; margin-top: 1rem; }
.eb-car__arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--eb-line); background: var(--eb-bg); color: var(--eb-ink); cursor: pointer; }
.eb-car__arrow:hover:not([disabled]) { border-color: var(--eb-primary); color: var(--eb-primary); }
.eb-car__arrow[disabled] { opacity: 0.35; cursor: default; }
.eb-car__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eb-car__dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1rem; }
.eb-car__arrows + .eb-car__dots { margin-top: -2.2rem; pointer-events: none; }
.eb-car__dots button { pointer-events: auto; width: 9px; height: 9px; padding: 0; border: 0; background: var(--eb-line); cursor: pointer; }
.eb-car__dots button[aria-current="true"] { background: var(--eb-primary); width: 24px; }
.eb-light .eb-car__dots button { background: color-mix(in srgb, #fff 30%, transparent); }
.eb-light .eb-car__dots button[aria-current="true"] { background: var(--eb-accent); }

/* ---------- Phase C: opening hours, price list, countdown, testimonials, call to action, flip box ---------- */

.eb-hours__status { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.9rem; font-weight: 700; font-size: 0.9rem; }
.eb-hours__status::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: currentColor; }
.eb-hours__status.is-open { color: #1f8a5b; } .eb-hours__status.is-closed { color: #c23a4b; }
.eb-hours__status small { font-weight: 500; color: var(--eb-muted); }
.eb-hours__table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.eb-hours__table th, .eb-hours__table td { padding: 0.55rem 0; border-bottom: 1px solid var(--eb-line); text-align: left; font-weight: 500; font-size: inherit; text-transform: none; letter-spacing: 0; color: inherit; background: none; }
.eb-hours__table td { text-align: right; font-variant-numeric: tabular-nums; }
.eb-hours__table tr.is-closed td { color: var(--eb-muted); }
.eb-hours__table tr.is-today th, .eb-hours__table tr.is-today td { color: var(--eb-primary); font-weight: 700; }
.eb-hours__note { margin: 0.8rem 0 0; font-size: 0.88rem; color: var(--eb-muted); }
.eb-light .eb-hours__table th, .eb-light .eb-hours__table td { border-color: color-mix(in srgb, #fff 18%, transparent); }
.eb-light .eb-hours__table tr.is-today th, .eb-light .eb-hours__table tr.is-today td { color: var(--eb-accent); }
/* On dark and photo sections: a readable status pill, light secondary text. */
.eb-light .eb-hours__status { background: color-mix(in srgb, var(--eb-dark) 62%, transparent); padding: 0.3rem 0.75rem; border-radius: 999px; }
.eb-light .eb-hours__status.is-open { color: #6ee7b0; } .eb-light .eb-hours__status.is-closed { color: #ffadb6; }
.eb-light .eb-hours__status small, .eb-light .eb-hours__table tr.is-closed td, .eb-light .eb-hours__note { color: color-mix(in srgb, #fff 72%, transparent); }

/* Table element: one row per line; on phones each row is a small card with the column titles as labels. */
.eb-table table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.eb-table th, .eb-table td { padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--eb-line); }
.eb-table thead th { font-family: var(--eb-heading); font-weight: var(--eb-hweight, 700); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--eb-muted); border-bottom: 2px solid var(--eb-ink); background: none; }
.eb-table--striped tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--eb-soft) 70%, transparent); }
.eb-table--first tbody td:first-child { font-weight: 600; color: var(--eb-ink); }
.eb-table--last th:last-child, .eb-table--last td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.eb-table__note { margin: 0.75rem 0 0; font-size: 0.88rem; color: var(--eb-muted); }
.eb-light .eb-table th, .eb-light .eb-table td { border-color: color-mix(in srgb, #fff 20%, transparent); }
.eb-light .eb-table thead th, .eb-light .eb-table__note, .eb-light .eb-table--first tbody td:first-child { color: inherit; }
.eb-light .eb-table--striped tbody tr:nth-child(odd) { background: color-mix(in srgb, #fff 7%, transparent); }
@media (max-width: 767.98px) {
	.eb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.eb-table table, .eb-table tbody, .eb-table tr, .eb-table td { display: block; width: 100%; }
	.eb-table tr { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--eb-line); }
	.eb-table td { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; border: 0; text-align: right; }
	.eb-table td[data-label]::before { content: attr(data-label); color: var(--eb-muted); font-weight: 500; text-align: left; }
	.eb-table--first tbody td:first-child { display: block; text-align: left; font-size: 1.05rem; }
	.eb-table--first tbody td:first-child::before { content: none; }
}
.eb-plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.eb-plist__item { display: flex; gap: 1rem; align-items: flex-start; margin: 0; }
.eb-plist--lines .eb-plist__item { padding-bottom: 1.1rem; border-bottom: 1px solid var(--eb-line); }
.eb-plist__img { width: 72px; height: 72px; object-fit: cover; flex: none; }
.eb-plist__body { flex: 1; min-width: 0; }
.eb-plist__head { display: flex; align-items: baseline; gap: 0.5rem; }
.eb-plist__name { font-family: var(--eb-heading); font-size: 1.2rem; }
.eb-plist__badge { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.4rem; background: var(--eb-accent); color: var(--eb-ink); }
.eb-plist__dots { flex: 1; border-bottom: 2px dotted var(--eb-line); transform: translateY(-0.3em); min-width: 1rem; }
.eb-plist--noleader .eb-plist__dots { border: 0; }
.eb-plist__price { font-weight: 700; color: var(--eb-primary); white-space: nowrap; }
.eb-plist__text { margin: 0.2rem 0 0; color: var(--eb-muted); font-size: 0.93rem; }
.eb-light .eb-plist__price { color: var(--eb-accent); }
.eb-light .eb-plist__dots { border-color: color-mix(in srgb, #fff 25%, transparent); }

.eb-cd__units { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.eb-ta-center .eb-cd__units { justify-content: center; }
.eb-cd__unit { display: flex; flex-direction: column; align-items: center; min-width: 5.5rem; }
.eb-cd--boxes .eb-cd__unit { padding: 1rem 0.8rem 0.8rem; border: 1px solid var(--eb-line); background: var(--eb-bg); color: var(--eb-ink); }
.eb-cd__num { font-family: var(--eb-heading); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.eb-cd__label { margin-top: 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--eb-muted); }
.eb-cd__done { font-family: var(--eb-heading); font-size: 1.6rem; margin: 0; }

.eb-car--tst .eb-car__track { padding-top: 0.25rem; }
.eb-tst figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.eb-tst--card .eb-tst figure { padding: 1.8rem; border: 1px solid var(--eb-line); background: var(--eb-bg); color: var(--eb-ink); }
.eb-tst__stars { display: flex; gap: 2px; }
.eb-tst__stars svg { width: 18px; height: 18px; fill: #f5a623; }
.eb-tst__quote { margin: 0; padding: 0; border: 0; font-family: var(--eb-heading); font-size: 1.3rem; line-height: 1.45; flex: 1; }
.eb-tst--plain .eb-tst__quote { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.eb-tst__quote p { margin: 0; }
.eb-tst__quote p::before { content: "“"; } .eb-tst__quote p::after { content: "”"; }
.eb-tst__who { display: flex; align-items: center; gap: 0.8rem; }
.eb-tst__who img, .eb-tst__init { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.eb-tst__init { display: grid; place-items: center; background: var(--eb-tint); color: var(--eb-primary); font-family: var(--eb-heading); font-size: 1.3rem; }
.eb-tst__who b { display: block; }
.eb-tst__who small { display: block; color: var(--eb-muted); font-size: 0.85rem; }

.eb-cta { position: relative; isolation: isolate; display: flex; gap: 2rem; align-items: center; justify-content: space-between; padding: clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.eb-cta--center { flex-direction: column; text-align: center; justify-content: center; }
.eb-cta--primary { background: var(--eb-primary); } .eb-cta--dark { background: var(--eb-dark); } .eb-cta--soft { background: var(--eb-soft); color: var(--eb-ink); } .eb-cta--accent { background: var(--eb-accent); color: var(--eb-ink); }
.eb-cta.eb-light { color: #fff; }
.eb-cta--image { background: var(--eb-dark) var(--eb-cta-img) center / cover no-repeat; }
.eb-cta--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--eb-dark) 88%, transparent), color-mix(in srgb, var(--eb-dark) 55%, transparent)); z-index: -1; }
.eb-cta__text { max-width: 44rem; }
.eb-cta__title { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: inherit; }
.eb-cta__lead { margin: 0.7rem 0 0; font-size: 1.08rem; opacity: 0.85; }
.eb-cta--center .eb-cta__btns { justify-content: center; }
.eb-cta__btns { flex: none; }
@media (max-width: 767.98px) { .eb-cta--split { flex-direction: column; align-items: flex-start; } }

.eb-flip { height: var(--eb-flip-h, 300px); perspective: 1200px; outline: none; }
.eb-flip__inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(.4,.2,.2,1); transform-style: preserve-3d; }
.eb-flip__face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.6rem; padding: 2rem; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.eb-flip__face p { margin: 0; }
.eb-flip__front { background: var(--eb-soft); color: var(--eb-ink); border: 1px solid var(--eb-line); }
.eb-flip--image .eb-flip__front { background: var(--eb-dark) var(--eb-flip-img) center / cover; color: #fff; border: 0; justify-content: flex-end; }
.eb-flip--image .eb-flip__front::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--eb-dark) 80%, transparent), transparent 70%); z-index: -1; }
.eb-flip--image .eb-flip__front { isolation: isolate; }
.eb-flip__back { background: var(--eb-primary); transform: rotateY(180deg); }
.eb-flip--y .eb-flip__back { transform: rotateX(180deg); }
.eb-flip__icon { width: 52px; height: 52px; color: var(--eb-primary); }
.eb-flip__icon svg { width: 100%; height: 100%; }
.eb-flip__title { margin: 0; font-size: 1.45rem; color: inherit; }
.eb-flip__back .eb-btn { margin-top: 0.6rem; }
.eb-flip:hover .eb-flip__inner, .eb-flip:focus-within .eb-flip__inner, .eb-flip.is-flipped .eb-flip__inner { transform: rotateY(180deg); }
.eb-flip--y:hover .eb-flip__inner, .eb-flip--y:focus-within .eb-flip__inner, .eb-flip--y.is-flipped .eb-flip__inner { transform: rotateX(180deg); }
@media (prefers-reduced-motion: reduce) { .eb-flip__inner { transition: none; } }
.eb-canvas .eb-flip:hover .eb-flip__inner { transform: none; }

/* Form: your own fields (Phase D) */
.eb-field select { width: 100%; font: inherit; font-size: 1rem; color: var(--eb-ink); background: var(--eb-bg); border: 1px solid var(--eb-line); border-radius: var(--eb-radius); padding: 0.75rem 0.85rem; }
.eb-field select:focus { outline: none; border-color: var(--eb-primary); box-shadow: 0 0 0 3px var(--eb-tint); }
.eb-field__help { margin: 0.1rem 0 0; font-size: 0.82rem; color: var(--eb-muted); }
.eb-field--choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.eb-field--choices legend { font-family: inherit; font-size: 0.88rem; font-weight: 600; line-height: inherit; color: inherit; letter-spacing: 0; text-transform: none; padding: 0; margin-bottom: 0.45rem; border: 0; width: auto; }
.eb-choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.eb-choice { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.85rem; border: 1px solid var(--eb-line); background: var(--eb-bg); color: var(--eb-ink); font-size: 0.95rem; font-weight: 400 !important; cursor: pointer; }
.eb-choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--eb-primary); flex: none; padding: 0; }
.eb-choice:has(input:checked) { border-color: var(--eb-primary); background: var(--eb-tint); }
.eb-choice:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--eb-tint); }
.eb-field--choices.eb-field--half, .eb-field--check.eb-field--half { grid-column: auto; }
.eb-field--check .eb-field__help { flex-basis: 100%; margin-left: 1.7rem; }
.eb-field--check { flex-wrap: wrap; }

/* ---------- Popups (Phase G) ---------- */

.eb-popup { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 1rem; pointer-events: none; }
.eb-popup[hidden] { display: none; }
.eb-popup--overlay { pointer-events: auto; }
.eb-popup--bottom-right { align-items: flex-end; justify-content: flex-end; }
.eb-popup--bottom-left { align-items: flex-end; justify-content: flex-start; }
.eb-popup--bottom { align-items: flex-end; padding: 0; }
.eb-popup--top { align-items: flex-start; padding: 0; }
.eb-popup__overlay { position: absolute; inset: 0; background: rgba(22, 18, 47, 0.6); opacity: 0; transition: opacity 0.25s; }
.eb-popup__box { position: relative; pointer-events: auto; width: 100%; max-height: calc(100vh - 2rem); overflow: auto; background: var(--eb-bg); color: var(--eb-ink); box-shadow: 0 30px 80px -30px rgba(22, 18, 47, 0.6); outline: none; opacity: 0; transition: opacity 0.25s, transform 0.3s cubic-bezier(.2,.8,.2,1); }
.eb-popup--sm .eb-popup__box { max-width: 400px; } .eb-popup--md .eb-popup__box { max-width: 600px; } .eb-popup--lg .eb-popup__box { max-width: 900px; }
.eb-popup--full .eb-popup__box, .eb-popup--bottom .eb-popup__box, .eb-popup--top .eb-popup__box { max-width: none; }
.eb-popup--up .eb-popup__box { transform: translateY(24px); }
.eb-popup--top.eb-popup--up .eb-popup__box { transform: translateY(-24px); }
.eb-popup--zoom .eb-popup__box { transform: scale(0.94); }
.eb-popup.is-open .eb-popup__overlay { opacity: 1; }
.eb-popup.is-open .eb-popup__box { opacity: 1; transform: none; }
.eb-popup__close { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: color-mix(in srgb, var(--eb-bg) 85%, transparent); color: var(--eb-ink); cursor: pointer; }
.eb-popup__close:hover { background: #fff; }
.eb-popup__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.eb-popup .eb-part--popup > .eb-section:first-child { padding-top: max(2.4rem, 0px); }
html.eb-popup-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .eb-popup__box, .eb-popup__overlay { transition: none; } }

/* Hover effects (Phase F) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.eb-hover--lift, .eb-hover--grow, .eb-hover--shadow, .eb-hover--dim { transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease; }
	.eb-hover--lift:hover { transform: translateY(-6px); }
	.eb-hover--grow:hover { transform: scale(1.03); }
	.eb-hover--shadow:hover { box-shadow: var(--eb-shadow); }
	.eb-hover--dim:hover { opacity: 0.75; }
}
/* iOS and many phones ignore fixed backgrounds and repaint badly: scroll normally there. */
@media (hover: none) { .eb-bgfx--fixed { background-attachment: scroll; } }

/* Engine Pay: buy button / product card */
.eb-pay { display: flex; flex-direction: column; border: 1px solid var(--eb-line, #e6e3f0); background: var(--eb-bg, #fff); }
.eb-pay--row { flex-direction: row; align-items: stretch; }
.eb-pay--row .eb-pay__img { flex: 0 0 42%; }
.eb-pay--button { border: 0; background: none; }
.eb-pay--button .eb-pay__body { padding: 0; }
.eb-pay__img img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.eb-pay__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.eb-pay__title { margin: 0; }
.eb-pay__desc { margin: 0; color: var(--eb-muted, #5f5b76); }
.eb-pay__price { margin: 0.2rem 0 0.3rem; }
.eb-pay__price b { font-size: 1.6rem; font-weight: 600; }
.eb-pay__price span { color: var(--eb-muted, #5f5b76); }
.eb-pay__form { margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
/* In a row of cards, every card is as tall as its column and the buy form sits at the bottom. */
.eb-pay--card { height: 100%; }
.eb-pay--card .eb-pay__price { margin-top: auto; }
.eb-pay__fields { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.eb-pay__field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; font-weight: 600; }
.eb-pay__field input { width: 9rem; padding: 0.6rem 0.7rem; border: 1px solid var(--eb-line, #e6e3f0); border-radius: var(--eb-radius, 0); font: inherit; font-weight: 400; }
.eb-pay__field--qty input { width: 5.5rem; }
.eb-pay__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.eb-pay__btn.is-busy { opacity: 0.7; cursor: progress; }
.eb-pay__note { margin: 0; font-size: 0.8rem; color: var(--eb-muted, #5f5b76); }
.eb-pay__test { margin: 0; font-size: 0.78rem; font-weight: 600; color: #8a6d00; background: #fff6d6; padding: 0.3rem 0.5rem; align-self: flex-start; }
.eb-pay__warn { margin: 0; font-size: 0.85rem; color: #b8384a; background: #fdeef0; padding: 0.6rem 0.7rem; }
@media (max-width: 600px) { .eb-pay--row { flex-direction: column; } }
.eb-receipt { border: 1px solid var(--eb-line, #e6e3f0); padding: 2rem; background: var(--eb-bg, #fff); }
.eb-receipt__list { margin: 1.4rem 0; display: grid; gap: 0; border-top: 1px solid var(--eb-line, #e6e3f0); }
.eb-receipt__list > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--eb-line, #e6e3f0); }
.eb-receipt__list dt { color: var(--eb-muted, #5f5b76); }
.eb-receipt__list dd { margin: 0; font-weight: 600; text-align: right; }
.eb-receipt__test { font-size: 0.7rem; background: #fff6d6; color: #8a6d00; padding: 0.1rem 0.4rem; }

.eb-receipt__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.eb-receipt__fields .eb-pay__field input, .eb-receipt__fields .eb-pay__field textarea { width: 100%; padding: 0.6rem 0.7rem; border: 1px solid var(--eb-line, #e6e3f0); border-radius: var(--eb-radius, 0); font: inherit; font-weight: 400; }
.eb-receipt__wide { grid-column: 1 / -1; }
.eb-receipt__how { background: var(--eb-soft, #f7f6fb); border-left: 3px solid var(--eb-primary, #352597); padding: 1rem 1.2rem; margin: 1rem 0; white-space: normal; }

.eb-pay__methods { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.eb-pay__methods legend { float: left; margin: 0 0.4rem 0 0; padding: 0; font-size: 0.8rem; font-weight: 600; color: var(--eb-muted, #5f5b76); width: auto; font-family: inherit; text-transform: none; letter-spacing: 0; }
.eb-pay__methods label { position: relative; cursor: pointer; margin: 0; }
.eb-pay__methods input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.eb-pay__methods span { display: inline-block; padding: 0.35rem 0.7rem; border: 1px solid var(--eb-line, #e6e3f0); border-radius: 999px; font-size: 0.8rem; line-height: 1.2; }
.eb-pay__methods input:checked + span { border-color: var(--eb-primary); background: var(--eb-primary); color: #fff; }
.eb-pay__methods input:focus-visible + span { outline: 2px solid var(--eb-accent); outline-offset: 2px; }

/* ---------- Headers ---------- */
/* Never clip what opens below the header (dropdowns, mega menus, search). */
.eb-part--header, .eb-part--header .eb-section, .eb-part--header .eb-wrap { overflow: visible; }
/* Desktop: logo and buttons take the room they need, the menu takes the rest and can shrink,
   so a long menu or wide text never pushes the last column off the screen. */
@media (min-width: 992px) {
	.eb-part--header .eb-section > .eb-wrap > .eb-row:has(.eb-addon--menu) { display: flex; flex-wrap: nowrap; align-items: center; column-gap: 1.5rem; }
	.eb-part--header .eb-section > .eb-wrap > .eb-row:has(.eb-addon--menu) > .eb-col { flex: 0 0 auto; width: auto; max-width: none; min-width: 0; }
	.eb-part--header .eb-section > .eb-wrap > .eb-row:has(.eb-addon--menu) > .eb-col:has(.eb-addon--menu) { flex: 1 1 0; }
	.eb-part--header .eb-addon--menu .en-menu { flex-wrap: wrap; }
	/* Inner rows in the header (account, cart, button): each item as wide as its content. */
	.eb-part--header .eb-inner .eb-row { display: flex; flex-wrap: nowrap; justify-content: flex-end; align-items: center; column-gap: 1.1rem; }
	.eb-part--header .eb-inner .eb-col { flex: 0 0 auto; width: max-content; max-width: none; }
}
.eb-account, .eb-carticon { white-space: nowrap; }

/* ---------- Shop: product grid, product page, cart, checkout, account ---------- */
.eb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eb-products { display: grid; grid-template-columns: repeat(var(--eb-pcols, 4), minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 991.98px) { .eb-products { grid-template-columns: repeat(min(var(--eb-pcols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 640px) { .eb-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; } }
.eb-product { display: flex; flex-direction: column; }
.eb-product__img { position: relative; display: block; overflow: hidden; border-radius: var(--eb-radius); background: var(--eb-soft); }
.eb-product__img img, .eb-product__noimg { display: block; width: 100%; object-fit: cover; transition: transform 0.4s, opacity 0.3s; }
.eb-product__noimg { aspect-ratio: 1; background: var(--eb-soft); }
.eb-product__img2 { position: absolute; inset: 0; height: 100%; opacity: 0; }
.eb-product:hover .eb-product__img2 { opacity: 1; }
.eb-product:hover .eb-product__img > img:first-child { transform: scale(1.04); }
.eb-product__badge { position: absolute; top: 0.6rem; left: 0.6rem; background: var(--eb-accent); color: var(--eb-dark); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.eb-product__badge--out { background: var(--eb-dark); color: #fff; }
.eb-product__body { padding: 0.8rem 0 0; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.eb-product__cat { margin: 0; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--eb-muted); }
.eb-product__title { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.eb-product__title a { color: inherit; text-decoration: none; }
.eb-product__title a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.eb-product__price { margin: 0 0 0.4rem; }
.eb-product .eb-buy, .eb-product__add { margin-top: auto; }
.eb-amount { font-weight: 700; }
.eb-amount small { font-weight: 500; color: var(--eb-muted); }
.eb-amount__was { color: var(--eb-muted); font-size: 0.9em; }
.eb-amount__save { font-size: 0.75em; font-weight: 700; color: var(--eb-accent-dark); }
.eb-light .eb-amount__save { color: var(--eb-accent); }
.eb-pprice { margin: 0 0 0.3rem; font-size: 1.6rem; }
.eb-stock { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: #1f8a5b; }
.eb-stock::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.eb-stock--low { color: #b26a00; } .eb-stock--out { color: #c23a4b; margin: 0; }
.eb-buy { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1rem 0 0; }
.eb-buy > .eb-buy__field:not(.eb-buy__field--qty) { flex: 1 0 100%; }
.eb-buy__row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: stretch; flex: 1 0 100%; }
.eb-buy__row .eb-btn { min-height: 3.1rem; padding-top: 0; padding-bottom: 0; }
.eb-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); background: var(--eb-bg); height: 3.1rem; }
.eb-qty button { width: 2.6rem; border: 0; background: none; color: var(--eb-ink); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.eb-qty button:hover { background: var(--eb-soft); }
.eb-qty input { width: 3rem; border: 0; border-left: 1px solid var(--eb-line); border-right: 1px solid var(--eb-line); text-align: center; font: inherit; font-weight: 600; background: none; color: var(--eb-ink); -moz-appearance: textfield; padding: 0; }
.eb-qty input::-webkit-outer-spin-button, .eb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.eb-buy--compact { margin: 0; gap: 0.5rem; }
.eb-buy__field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.82rem; font-weight: 600; }
.eb-buy__field select, .eb-buy__field input { font: inherit; font-weight: 400; padding: 0.65rem 0.7rem; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); background: var(--eb-bg); color: var(--eb-ink); min-width: 9rem; }
.eb-buy__field--qty input { width: 5.5rem; min-width: 0; }
.eb-buy--compact .eb-buy__field select { min-width: 0; padding: 0.45rem 0.5rem; }
.eb-buy__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.eb-buy__row .eb-buy__btns { flex: 1; }
.eb-buy__row .eb-buy__btns .eb-btn { flex: 1; min-width: 9rem; }
.eb-buy--compact .eb-btn { padding: 0.55rem 1rem; font-size: 0.85rem; }
.eb-buy__notes { list-style: none; margin: 1rem 0 0; padding: 0.9rem 0 0; border-top: 1px solid var(--eb-line); display: grid; gap: 0.3rem; font-size: 0.85rem; color: var(--eb-muted); }
.eb-buy__notes li::before { content: "✓ "; color: var(--eb-primary); font-weight: 700; }
.eb-pgallery { display: grid; gap: 0.6rem; }
.eb-pgallery__main img { display: block; width: 100%; object-fit: cover; border-radius: var(--eb-radius); background: var(--eb-soft); }
.eb-pgallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 0.5rem; }
.eb-pgallery__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--eb-radius); overflow: hidden; background: none; cursor: pointer; }
.eb-pgallery__thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.eb-pgallery__thumb.is-on { border-color: var(--eb-primary); }
.eb-pdetails { width: 100%; border-collapse: collapse; }
.eb-pdetails th, .eb-pdetails td { padding: 0.55rem 0; border-bottom: 1px solid var(--eb-line); text-align: left; font-size: 0.95rem; }
.eb-pdetails th { width: 35%; color: var(--eb-muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.eb-pfilter { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.2rem; }
.eb-pfilter a { padding: 0.4rem 0.9rem; border: 1px solid var(--eb-line); border-radius: 999px; font-size: 0.85rem; color: inherit; text-decoration: none; }
.eb-pfilter a[aria-current] { background: var(--eb-primary); border-color: var(--eb-primary); color: #fff; }
.eb-carticon, .eb-account { display: inline-flex; align-items: center; gap: 0.4rem; color: inherit; text-decoration: none; font-weight: 600; font-size: 0.92rem; position: relative; }
.eb-carticon svg, .eb-account svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eb-carticon__n { position: absolute; top: -0.45rem; left: 0.9rem; min-width: 1.15rem; height: 1.15rem; padding: 0 0.3rem; border-radius: 999px; background: var(--eb-accent); color: var(--eb-dark); font-size: 0.7rem; line-height: 1.15rem; text-align: center; }
.eb-shop .eb-h--lg { margin: 0 0 1.4rem; }
.eb-shop__empty { padding: 3rem 1rem; text-align: center; border: 1px dashed var(--eb-line); border-radius: var(--eb-radius); }
.eb-shop__hint { margin: -0.6rem 0 1.2rem; color: var(--eb-muted); }
.eb-cart__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 900px) { .eb-cart__grid { grid-template-columns: 1fr; } }
.eb-cart__table { width: 100%; border-collapse: collapse; }
.eb-cart__table th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--eb-muted); padding: 0 0 0.6rem; border-bottom: 1px solid var(--eb-line); font-weight: 600; }
.eb-cart__table td { padding: 0.9rem 0.5rem 0.9rem 0; border-bottom: 1px solid var(--eb-line); vertical-align: middle; }
.eb-cart__product { display: flex; gap: 0.8rem; align-items: center; }
.eb-cart__product img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--eb-radius); flex: none; }
.eb-cart__product span { display: flex; flex-direction: column; }
.eb-cart__product a { color: inherit; font-weight: 600; text-decoration: none; }
.eb-cart__product small, .eb-checkout__lines small { color: var(--eb-muted); }
.eb-cart__table input { width: 4.5rem; font: inherit; padding: 0.45rem 0.5rem; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); background: var(--eb-bg); color: var(--eb-ink); }
.eb-cart__rm { border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--eb-muted); cursor: pointer; padding: 0.2rem 0.4rem; }
.eb-cart__rm:hover { color: #c23a4b; }
.eb-cart__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1rem; align-items: flex-end; }
.eb-cart__coupon { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.eb-cart__coupon label { width: 100%; font-size: 0.82rem; font-weight: 600; }
.eb-cart__coupon input { font: inherit; padding: 0.5rem 0.6rem; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); background: var(--eb-bg); color: var(--eb-ink); width: 11rem; text-transform: uppercase; }
.eb-cart__sum { border: 1px solid var(--eb-line); border-radius: var(--eb-radius); padding: 1.4rem; background: var(--eb-soft); position: sticky; top: 6rem; }
.eb-cart__sum .eb-h--sm { margin: 0 0 0.8rem; }
.eb-cart__sum dl { margin: 0 0 1rem; }
.eb-cart__sum dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; }
.eb-cart__sum dt { color: var(--eb-muted); } .eb-cart__sum dd { margin: 0; font-weight: 600; }
.eb-cart__total { border-top: 1px solid var(--eb-line); margin-top: 0.4rem; padding-top: 0.8rem !important; font-size: 1.15rem; }
.eb-cart__total dt { color: var(--eb-ink); font-weight: 700; }
.eb-btn--full { width: 100%; }
@media (max-width: 640px) {
	.eb-cart__table thead { display: none; }
	.eb-cart__table tr { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--eb-line); }
	.eb-cart__table td { border: 0; padding: 0; }
	.eb-cart__table td:first-child { grid-column: 1 / -1; }
	.eb-cart__table td[data-label]::before { content: attr(data-label) ": "; color: var(--eb-muted); font-size: 0.8rem; }
}
.eb-checkout__box { border: 1px solid var(--eb-line); border-radius: var(--eb-radius); padding: 1.2rem 1.3rem 1.3rem; margin: 0 0 1.2rem; }
.eb-checkout__box legend { font-weight: 700; padding: 0 0.4rem; font-size: 1rem; float: none; width: auto; margin: 0; font-family: inherit; text-transform: none; letter-spacing: 0; }
.eb-checkout__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
@media (max-width: 640px) { .eb-checkout__fields { grid-template-columns: 1fr; } }
.eb-checkout .eb-field { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; margin: 0; }
.eb-checkout .eb-field--full { grid-column: 1 / -1; }
.eb-checkout .eb-field input, .eb-checkout .eb-field select, .eb-checkout .eb-field textarea, .eb-account-grid .eb-field input { font: inherit; font-weight: 400; padding: 0.65rem 0.7rem; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); background: var(--eb-bg); color: var(--eb-ink); width: 100%; }
.eb-checkout__methods { display: grid; gap: 0.5rem; margin: 0 0 0.9rem; }
.eb-checkout__methods label { display: flex; gap: 0.6rem; align-items: center; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); padding: 0.75rem 0.9rem; cursor: pointer; }
.eb-checkout__methods label:has(input:checked) { border-color: var(--eb-primary); background: var(--eb-tint); }
.eb-checkout__lines { list-style: none; margin: 0 0 0.8rem; padding: 0 0 0.6rem; border-bottom: 1px solid var(--eb-line); display: grid; gap: 0.5rem; font-size: 0.92rem; }
.eb-checkout__lines li { display: flex; justify-content: space-between; gap: 1rem; }
.eb-checkout__terms { margin: 0 0 0.9rem; font-size: 0.88rem; }
.eb-account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .eb-account-grid { grid-template-columns: 1fr; } }
.eb-account-grid .eb-field { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; margin: 0 0 0.8rem; }
.eb-account-nav { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; border-bottom: 1px solid var(--eb-line); margin: 0 0 1.4rem; }
.eb-account-nav a, .eb-account-nav button { padding: 0.6rem 1rem; color: inherit; text-decoration: none; font-weight: 600; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; cursor: pointer; }
.eb-account-nav a[aria-current] { border-bottom-color: var(--eb-primary); color: var(--eb-primary); }
.eb-account-nav__out { margin-left: auto; }
.eb-account-nav__out button { color: var(--eb-muted); font-weight: 500; }
.eb-ostatus { font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--eb-soft); }
.eb-ostatus--paid { color: #1f8a5b; } .eb-ostatus--awaiting { color: #b26a00; } .eb-ostatus--refunded { color: var(--eb-muted); }
.eb-downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.eb-downloads li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 1rem; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); }
.eb-downloads span { display: flex; flex-direction: column; } .eb-downloads small { color: var(--eb-muted); }
