/* ==========================================================================
   Soccer Xntials: empty cart (plugin 1.6.0). Loads only on the cart page and styles only .sx-ec,
   which exists only inside the Cart Block's empty state. The filled cart is untouched.
   ========================================================================== */

.sx-site .sx-page:has(.sx-ec) { padding-top: 24px; }
.sx-ec { color: var(--color-text); }
.sx-ec a { text-decoration: none; }

/* ---------- Hero ---------- */
.sx-ec .sx-ec__hero { position: relative; overflow: hidden; padding: 48px 20px 56px; border-radius: 24px; background: linear-gradient(130deg, #fff 60%, #f7f7f7 100%); text-align: center; isolation: isolate; }
.sx-ec .sx-ec__hero::before,
.sx-ec .sx-ec__hero::after { content: ""; position: absolute; z-index: -1; width: 28px; height: 200px; background: var(--color-primary); transform: skewX(-30deg); pointer-events: none; }
.sx-ec .sx-ec__hero::before { left: -14px; top: -40px; }
.sx-ec .sx-ec__hero::after { right: -10px; bottom: -70px; }
.sx-ec .sx-ec__icon { position: relative; display: grid; place-items: center; width: 112px; height: 112px; margin: 0 auto 26px; border-radius: 50%; background: #f1f1f1; color: var(--color-text); }
.sx-ec .sx-ec__icon::after { content: ""; position: absolute; bottom: -12px; left: 50%; width: 64px; height: 5px; margin-left: -32px; border-radius: 99px; background: var(--color-primary); }
.sx-ec .sx-ec__title { max-width: 640px; margin: 0 auto; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 900; font-style: italic; line-height: 1.07; letter-spacing: -.04em; }
.sx-ec .sx-ec__text { max-width: 520px; margin: 16px auto 0; font-size: clamp(.9375rem, .9rem + .3vw, 1.125rem); line-height: 1.6; color: var(--color-text-muted); }
.sx-ec .sx-ec__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.sx-ec .sx-ec__actions .sx-btn { min-height: 52px; font-weight: 800; }
.sx-ec .sx-ec__play { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--color-primary); }
.sx-ec .sx-ec__demo:hover .sx-ec__play { border-left-color: #fff; }

/* ---------- New in Store ---------- */
.sx-ec .sx-ec__rec { padding: 48px 0 8px; }
.sx-ec .sx-ec__heading { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 28px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 900; font-style: italic; letter-spacing: -.035em; line-height: 1.1; }
.sx-ec .sx-ec__heading::before,
.sx-ec .sx-ec__heading::after { content: ""; flex: 0 0 56px; height: 2px; background: var(--color-primary); }
.sx-ec .sx-ec__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; max-width: 850px; margin: 0 auto; padding: 16px; border: 1px solid var(--color-border); border-radius: 24px; background: #fff; box-shadow: 0 6px 28px rgba(0, 0, 0, .04); }
.sx-ec .sx-ec__photo { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 18px; background: #f2f2f2; }
.sx-ec .sx-ec__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sx-ec .sx-ec__details { padding: 12px; }
.sx-ec .sx-ec__name { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; line-height: 1.13; letter-spacing: -.03em; }
.sx-ec .sx-ec__name a { color: inherit; }
.sx-ec .sx-ec__name a:hover { color: var(--color-primary); }
.sx-ec .sx-ec__price { margin: 12px 0 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 800; }
.sx-ec .sx-ec__price del { margin-right: 8px; font-size: .7em; font-weight: 500; color: var(--color-text-muted); }
.sx-ec .sx-ec__price ins { text-decoration: none; }
.sx-ec .sx-ec__desc { margin: 12px 0 22px; line-height: 1.6; color: var(--color-text-muted); }
.sx-ec .sx-ec__buy { width: 100%; min-height: 52px; font-weight: 800; }

.sx-ec a:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }

@media (max-width: 767px) {
	.sx-ec .sx-ec__hero { padding: 40px 6px 48px; }
	.sx-ec .sx-ec__icon { width: 100px; height: 100px; }
	.sx-ec .sx-ec__actions { flex-direction: column; align-items: stretch; max-width: 380px; margin-left: auto; margin-right: auto; }
	.sx-ec .sx-ec__actions .sx-btn { width: 100%; }
	.sx-ec .sx-ec__rec { padding-top: 36px; }
	.sx-ec .sx-ec__heading { gap: 12px; }
	.sx-ec .sx-ec__heading::before,
	.sx-ec .sx-ec__heading::after { flex-basis: 32px; }
	.sx-ec .sx-ec__card { grid-template-columns: 1fr; gap: 0; max-width: 440px; padding: 12px; }
	.sx-ec .sx-ec__details { padding: 18px 6px 6px; }
}
@media (prefers-reduced-motion: reduce) { .sx-ec * { transition: none !important; } }

/* The page shell's prose rules (narrow width, red underlined links, heading sizes) don't apply here. */
.sx-site .sx-prose:has(.sx-ec) { max-width: 1000px; margin-left: auto; margin-right: auto; }
.sx-ec .sx-btn { text-decoration: none; }
.sx-ec .sx-btn--primary,
.sx-ec .sx-btn--primary:hover { color: #fff; }
.sx-ec .sx-btn--secondary { color: var(--color-text); }
.sx-ec .sx-btn--secondary:hover { color: #fff; }
.sx-ec .sx-ec__name a { text-decoration: none; }
