/* XKIDS Playhouse — an original premium toy-store system. */
html[data-site-theme="xkids"] {
  color-scheme: light;
  --xk-navy: #16324f;
  --xk-navy-deep: #0d2238;
  --xk-ivory: #fff9f0;
  --xk-paper: #ffffff;
  --xk-coral: #ff6b5e;
  --xk-coral-strong: #b93e35;
  --xk-mint: #8fd6c4;
  --xk-yellow: #f7c948;
  --xk-ink: #173047;
  --xk-muted: #647586;
  --xk-line: #dfe7e9;
  --xk-shadow: 0 22px 65px rgba(22, 50, 79, .11);
}

html[data-site-theme="xkids"] body.marketing {
  --site-bg: var(--xk-ivory);
  --site-surface: var(--xk-paper);
  --site-text: var(--xk-ink);
  --site-ink: var(--xk-ink);
  --site-muted: var(--xk-muted);
  --site-line: var(--xk-line);
  --site-pal-accent: var(--xk-coral);
  --site-accent: var(--xk-coral);
  --site-max: 92rem;
  --site-content-pad: clamp(1.25rem, 4vw, 5rem);
  --site-content-pad-r: clamp(1.25rem, 4vw, 5rem);
  margin: 0;
  overflow-x: clip;
  background: var(--xk-paper);
  color: var(--xk-ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

html[data-site-theme="xkids"] body.marketing *,
html[data-site-theme="xkids"] body.marketing *::before,
html[data-site-theme="xkids"] body.marketing *::after { box-sizing: border-box; }
html[data-site-theme="xkids"] body.marketing img { max-width: 100%; }
html[data-site-theme="xkids"] body.marketing a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
html[data-site-theme="xkids"] body.marketing a:has(svg),
html[data-site-theme="xkids"] body.marketing a:has(i[class*="fa-"]) { text-decoration: none; }
html[data-site-theme="xkids"] body.marketing :focus-visible { outline: 3px solid var(--xk-yellow); outline-offset: 3px; }
html[data-site-theme="xkids"] body.marketing h1,
html[data-site-theme="xkids"] body.marketing h2,
html[data-site-theme="xkids"] body.marketing h3,
html[data-site-theme="xkids"] body.marketing h4,
html[data-site-theme="xkids"] body.marketing strong { color: var(--xk-navy); }
html[data-site-theme="xkids"] body.marketing h1,
html[data-site-theme="xkids"] body.marketing h2 { letter-spacing: -.045em; }
html[data-site-theme="xkids"] body.marketing .xkids-shell { min-height: 100vh; background: var(--xk-paper); }
html[data-site-theme="xkids"] body.marketing .xkids-shell a[href]:hover,
html[data-site-theme="xkids"] body.marketing .xkids-shell a[href]:hover :where(*) { color: var(--xk-coral) !important; }
html[data-site-theme="xkids"] body.marketing .xkids-shell > main { width: 100%; min-width: 0; padding: 0; background: var(--xk-paper); }

/* Brand ribbon and an editorial three-column header. */
html[data-site-theme="xkids"] body.marketing [data-xkids-ribbon] { margin: 0; background: var(--xk-navy); color: #fff; }
html[data-site-theme="xkids"] body.marketing [data-xkids-ribbon] > div { display: grid; width: min(100%, 92rem); min-height: 2.25rem; margin-inline: auto; padding-inline: var(--site-content-pad); grid-template-columns: repeat(3, 1fr); align-items: center; gap: 2rem; font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-align: center; }
html[data-site-theme="xkids"] body.marketing [data-xkids-ribbon] span:first-child { text-align: left; }
html[data-site-theme="xkids"] body.marketing [data-xkids-ribbon] span:last-child { text-align: right; }
html[data-site-theme="xkids"] body.marketing .site-header { position: relative; z-index: 60; width: 100%; border: 0; border-bottom: 1px solid var(--xk-line); background: rgba(255,255,255,.96); color: var(--xk-navy); box-shadow: none; backdrop-filter: blur(16px); }
html[data-site-theme="xkids"] body.marketing .site-header > div:not([data-template-preview-bar]) { display: grid; width: min(100%, 100rem); min-height: 5.75rem; margin-inline: auto; padding: 0 var(--site-content-pad); grid-template-columns: max-content minmax(0, 1fr) max-content; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-brand] { display: inline-flex; width: fit-content; align-items: center; gap: .72rem; color: var(--xk-navy); text-decoration: none; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-brand] > span { width: .82rem; height: .82rem; border-radius: 50%; background: var(--xk-coral); box-shadow: .72rem -.4rem 0 -.16rem var(--xk-mint), .85rem .48rem 0 -.22rem var(--xk-yellow); }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-brand] > strong { font-size: 1.18rem; font-weight: 900; letter-spacing: .16em; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-brand] img { display: block; width: auto; max-width: 10.5rem; height: 3.25rem; object-fit: contain; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-desktop-nav] { width: 100%; min-width: 0; justify-self: stretch; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-desktop-nav] > div { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: nowrap; white-space: nowrap; }
html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"] { flex: 0 0 auto; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-nav-link],
html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"] > :is(a,button) { position: relative; padding: 2.15rem 0; border: 0; background: transparent; color: var(--xk-navy); font-size: .875rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; text-decoration: none; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-nav-link] > span:not(.site-nav-badge):not([aria-hidden]),
html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"] > :is(a,button) > span:not(.site-nav-badge):not([aria-hidden]) { position: relative; text-decoration: none; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-nav-link] > span:not(.site-nav-badge):not([aria-hidden])::after,
html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"] > :is(a,button) > span:not(.site-nav-badge):not([aria-hidden])::after { content: ""; position: absolute; right: 0; bottom: -.45rem; left: 0; height: 3px; background: var(--xk-coral); transform: scaleX(0); transform-origin: right; transition: transform .22s ease; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-nav-link]:hover > span:not(.site-nav-badge):not([aria-hidden])::after,
html[data-site-theme="xkids"] body.marketing .site-header [data-site-nav-link][data-current] > span:not(.site-nav-badge):not([aria-hidden])::after,
html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"]:hover > :is(a,button) > span:not(.site-nav-badge):not([aria-hidden])::after,
html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"] > :is(a,button)[data-current] > span:not(.site-nav-badge):not([aria-hidden])::after { transform: scaleX(1); transform-origin: left; }
html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"] > a:hover,
html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"] > a:hover :where(*) { color: var(--xk-coral-strong) !important; }
html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"] > button:hover { color: var(--xk-navy) !important; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-header-actions] { display: flex; justify-self: end; align-items: center; gap: .35rem; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-header-actions] > :is(a,details,form) { flex: 0 0 auto; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-header-actions] :is(button,a,summary) { color: var(--xk-navy); }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-header-actions] :is(button,[data-site-cart-link],[data-site-user-login],[data-site-user-menu] > summary) { display: inline-grid; width: 2.65rem; height: 2.65rem; padding: 0; place-items: center; border: 0; border-radius: 50%; background: transparent; transition: background .18s ease, color .18s ease; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-header-actions] :is(button,[data-site-cart-link],[data-site-user-login],[data-site-user-menu] > summary):hover { background: var(--xk-ivory); color: var(--xk-coral-strong); }
html[data-site-theme="xkids"] body.marketing .site-header [data-role="login"] { margin-left: .35rem; padding: .66rem 1rem; border: 1px solid var(--xk-navy); border-radius: 999px; font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing .site-header [data-role="login"]:hover { background: var(--xk-navy); color: #fff; }
html[data-site-theme="xkids"] body.marketing .site-header [data-site-nav-dropdown] { border: 1px solid var(--xk-line); border-radius: 0 0 18px 18px; background: #fff; color: var(--xk-ink); box-shadow: var(--xk-shadow); }
html[data-site-theme="xkids"] body.marketing .site-nav-badge { min-height: 1.25rem; padding: .08rem .38rem; border-radius: 999px; font-size: .65rem; }
html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"] > a > .site-nav-badge { position: absolute; top: 1.05rem; right: -.25rem; z-index: 1; margin: 0; transform: translateX(50%); pointer-events: none; }
html[data-site-theme="xkids"] body.marketing .site-nav-badge[data-badge-color="danger"] { background: #c62832; color: #fff; }

/* An image-led, asymmetric home experience. */
html[data-site-theme="xkids"] body.marketing .xkids-home { width: 100%; background: #fff; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] { position: relative; min-height: clamp(39rem, 72vw, 55rem); overflow: hidden; isolation: isolate; background: var(--xk-ivory); }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > picture,
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > picture > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > picture > img { object-fit: cover; object-position: center; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero]::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(255,249,240,.96) 0%, rgba(255,249,240,.8) 32%, rgba(255,249,240,.1) 58%, rgba(255,249,240,0) 100%); pointer-events: none; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > header { position: relative; z-index: 2; display: flex; width: min(100%, 92rem); min-height: clamp(39rem, 72vw, 55rem); margin-inline: auto; padding: clamp(5rem, 9vw, 8.5rem) var(--site-content-pad); flex-direction: column; align-items: flex-start; justify-content: center; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > header > p:first-child,
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] > header > p,
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] > header > p,
html[data-site-theme="xkids"] body.marketing [data-xkids-products] > header p,
html[data-site-theme="xkids"] body.marketing [data-xkids-story] > div > p:first-child,
html[data-site-theme="xkids"] body.marketing [data-xkids-journal] > header p { margin: 0 0 1.1rem; color: var(--xk-coral-strong); font-size: .7rem; font-weight: 900; letter-spacing: .18em; }
html[data-site-theme="xkids"] body.marketing [data-xkids-story] > div > p:first-child { color: #762823; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] h1 { max-width: 10.5ch; margin: 0; font-size: clamp(3.5rem, 7.2vw, 7.5rem); font-weight: 800; line-height: .88; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] h1 em { color: var(--xk-coral-strong); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > header > p:nth-of-type(2) { max-width: 32rem; margin: 2rem 0 0; color: #4e6273; font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.65; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] nav { display: flex; margin-top: 2.25rem; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] nav a:first-child { display: inline-flex; min-height: 3.45rem; padding: .85rem 1.35rem; align-items: center; gap: 2rem; border-radius: 999px; background: var(--xk-navy); color: #fff; font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] nav a:first-child:hover { background: var(--xk-coral); }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] nav a:last-child { color: var(--xk-navy); font-size: .82rem; font-weight: 800; text-decoration-color: var(--xk-coral-strong); }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > aside { position: absolute; right: var(--site-content-pad); bottom: 2.5rem; z-index: 3; display: grid; padding: 1rem 1.2rem; background: rgba(255,255,255,.92); box-shadow: 0 12px 35px rgba(22,50,79,.1); backdrop-filter: blur(12px); }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > aside strong { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > aside span { color: var(--xk-muted); font-size: .72rem; letter-spacing: .04em; }

html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] { display: grid; width: min(100%, 100rem); margin-inline: auto; padding: clamp(6rem, 9vw, 10rem) var(--site-content-pad); grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.8fr); gap: clamp(3rem, 7vw, 8rem); background: var(--xk-ivory); }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] h2,
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] h2,
html[data-site-theme="xkids"] body.marketing [data-xkids-products] h2,
html[data-site-theme="xkids"] body.marketing [data-xkids-journal] h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.6rem); line-height: .94; }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--xk-line); }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] > div > a { display: flex; min-height: 29rem; padding: 2rem; flex-direction: column; border-right: 1px solid var(--xk-line); color: var(--xk-ink); text-decoration: none; transition: background .22s ease, transform .22s ease; }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] > div > a:last-child { border-right: 0; }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] > div > a:nth-child(1):hover { background: #eef8f5; }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] > div > a:nth-child(2):hover { background: #fff6dc; }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] > div > a:nth-child(3):hover { background: #fff0ed; }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] a > span { color: var(--xk-muted); font: 400 1.25rem Georgia,serif; }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] a > small { margin-top: 4rem; color: var(--xk-coral-strong); font-size: .66rem; font-weight: 900; letter-spacing: .2em; }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] a > strong { margin-top: .8rem; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.05; }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] a > p { color: var(--xk-muted); font-size: .88rem; line-height: 1.7; }
html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] a > em { margin-top: auto; color: var(--xk-navy); font-size: .75rem; font-style: normal; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

html[data-site-theme="xkids"] body.marketing [data-xkids-categories] { padding: clamp(5.5rem, 9vw, 10rem) var(--site-content-pad); background: #fff; color: var(--xk-ink); }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] > header,
html[data-site-theme="xkids"] body.marketing [data-xkids-products] > header,
html[data-site-theme="xkids"] body.marketing [data-xkids-journal] > header { display: flex; width: min(100%, 92rem); margin: 0 auto clamp(3rem, 5vw, 5rem); align-items: flex-end; justify-content: space-between; gap: 2rem; }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] h2 { color: var(--xk-navy); }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] > header > a { color: var(--xk-navy); font-size: .78rem; font-weight: 800; text-decoration-color: var(--xk-coral-strong); }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] > div { display: grid; width: min(100%, 92rem); margin-inline: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); background: transparent; }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] > div > a { position: relative; display: grid; min-width: 0; padding: 1.15rem; grid-template-columns: 2rem 1fr auto; align-items: center; gap: .7rem; border-top: 1px solid var(--xk-line); background: #fff; color: var(--xk-navy); text-decoration: none; }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] figure { position: relative; grid-column: 1 / -1; width: 300px; max-width: 100%; margin: 0 auto 1rem; overflow: hidden; aspect-ratio: 1; background: #fff; }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] figure::before { content: "XKIDS"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(22,50,79,.62); font-size: clamp(.75rem,1.2vw,1rem); font-weight: 900; letter-spacing: .22em; }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] a:hover img { transform: scale(1.035); }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] a > span { color: var(--xk-coral-strong); font: 400 .8rem Georgia,serif; }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] a > strong { overflow: hidden; color: var(--xk-navy); font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
html[data-site-theme="xkids"] body.marketing [data-xkids-categories] a > em { color: var(--xk-muted); font-size: .66rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

html[data-site-theme="xkids"] body.marketing [data-xkids-products] { padding: clamp(6rem, 10vw, 11rem) var(--site-content-pad); background: #fff; }
html[data-site-theme="xkids"] body.marketing [data-xkids-products] > header > a,
html[data-site-theme="xkids"] body.marketing [data-xkids-journal] > header > a { color: var(--xk-navy); font-size: .78rem; font-weight: 800; text-decoration-color: var(--xk-coral-strong); }
html[data-site-theme="xkids"] body.marketing [data-xkids-products] > ul { display: grid; width: min(100%, 92rem); margin: 0 auto; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); list-style: none; }

/* Product cards use a gallery-label composition, not a generic boxed card. */
html[data-site-theme="xkids"] body.marketing .site-shop-card { position: relative; min-width: 0; padding: 0; border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; }
html[data-site-theme="xkids"] body.marketing .site-shop-card > a { display: block; color: inherit; text-decoration: none; }
html[data-site-theme="xkids"] body.marketing .site-shop-card figure { margin: 0; }
html[data-site-theme="xkids"] body.marketing .site-shop-card figure > div { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 18px 18px 18px 4px; background: #fff; }
html[data-site-theme="xkids"] body.marketing .site-shop-card figure > div::after { content: "VIEW"; position: absolute; right: 1rem; bottom: 1rem; display: grid; width: 3.25rem; height: 3.25rem; place-items: center; border-radius: 50%; background: var(--xk-navy); color: #fff; font-size: .58rem; font-weight: 900; letter-spacing: .12em; opacity: 0; transform: translateY(.5rem); transition: opacity .2s ease, transform .2s ease; }
html[data-site-theme="xkids"] body.marketing .site-shop-card:hover figure > div::after { opacity: 1; transform: translateY(0); }
html[data-site-theme="xkids"] body.marketing .site-shop-card figure > div > img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
html[data-site-theme="xkids"] body.marketing .site-shop-card:hover figure > div > img { transform: scale(1.025); }
html[data-site-theme="xkids"] body.marketing .site-shop-card figcaption { display: flex; padding: 1rem 0 .45rem; flex-direction: column; }
html[data-site-theme="xkids"] body.marketing .site-shop-card figcaption > :is(h2,h3) { order: 1; margin: 0; font-size: clamp(.98rem, 1.15vw, 1.15rem); line-height: 1.35; letter-spacing: -.015em; }
html[data-site-theme="xkids"] body.marketing .site-shop-card figcaption > p { order: 2; display: flex; margin: .28rem 0 0; align-items: center; gap: .45rem; color: var(--xk-muted); font-size: .7rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-card figcaption > p > span:first-child { display: inline-flex; gap: .1rem; color: #c9d1d5; }
html[data-site-theme="xkids"] body.marketing .site-shop-card figcaption i.is-active { color: var(--xk-yellow); }
html[data-site-theme="xkids"] body.marketing .site-shop-card figcaption > small { order: 3; margin-top: .28rem; color: var(--xk-muted); font-size: .7rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-card > footer { display: flex; min-height: 2.55rem; align-items: center; justify-content: space-between; gap: .5rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-card > footer > p { display: flex; margin: 0; align-items: baseline; gap: .45rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-card > footer > p strong { color: var(--xk-coral-strong); font-size: 1rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-card > footer > p s { color: #59666d; font-size: .75rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-card > footer > :is(a,button) { display: grid; width: 2.45rem; height: 2.45rem; padding: 0; place-items: center; border: 1px solid var(--xk-line); border-radius: 50%; background: #fff; color: var(--xk-navy); cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
html[data-site-theme="xkids"] body.marketing .site-shop-card > footer > :is(a,button):hover { border-color: var(--xk-coral-strong); background: var(--xk-coral); color: #fff; }

html[data-site-theme="xkids"] body.marketing [data-xkids-story] { display: grid; min-height: 43rem; grid-template-columns: 1.12fr .88fr; background: var(--xk-mint); }
html[data-site-theme="xkids"] body.marketing [data-xkids-story] > div { display: flex; padding: clamp(4rem, 9vw, 9rem) var(--site-content-pad); flex-direction: column; align-items: flex-start; justify-content: center; }
html[data-site-theme="xkids"] body.marketing [data-xkids-story] h2 { margin: 0; font-size: clamp(3.5rem, 6vw, 7rem); line-height: .88; }
html[data-site-theme="xkids"] body.marketing [data-xkids-story] > div > p:nth-of-type(2) { max-width: 35rem; margin: 2rem 0 0; color: #284e51; font-size: clamp(1rem, 1.3vw, 1.18rem); }
html[data-site-theme="xkids"] body.marketing [data-xkids-story] > div > a { margin-top: 2rem; font-size: .78rem; font-weight: 850; text-decoration-color: var(--xk-coral-strong); text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing [data-xkids-story] blockquote { display: flex; margin: 0; padding: clamp(4rem, 7vw, 8rem); flex-direction: column; justify-content: center; background: var(--xk-coral-strong); color: #fff; }
html[data-site-theme="xkids"] body.marketing [data-xkids-story] blockquote p { margin: 0; color: #fff; font: 400 clamp(2.4rem, 4.2vw, 5rem)/1.05 Georgia,serif; letter-spacing: -.04em; }
html[data-site-theme="xkids"] body.marketing [data-xkids-story] blockquote footer { margin-top: 2rem; font-size: .72rem; font-weight: 900; letter-spacing: .18em; }

html[data-site-theme="xkids"] body.marketing [data-xkids-journal] { padding: clamp(6rem, 9vw, 10rem) var(--site-content-pad); background: #eef8f5; }
html[data-site-theme="xkids"] body.marketing [data-xkids-journal] > ol { width: min(100%, 92rem); margin: 0 auto; padding: 0; border-top: 1px solid var(--xk-line); list-style: none; }
html[data-site-theme="xkids"] body.marketing [data-xkids-journal] li { display: grid; padding: 1.5rem 0; border-bottom: 1px solid var(--xk-line); grid-template-columns: 4rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
html[data-site-theme="xkids"] body.marketing [data-xkids-journal] li > span { color: var(--xk-coral-strong); font: 400 .8rem Georgia,serif; }
html[data-site-theme="xkids"] body.marketing [data-xkids-journal] li > a { font-size: clamp(1.1rem, 1.8vw, 1.65rem); font-weight: 750; text-decoration: none; }
html[data-site-theme="xkids"] body.marketing [data-xkids-journal] li > a:hover { color: var(--xk-mint); }
html[data-site-theme="xkids"] body.marketing [data-xkids-journal] time { color: var(--xk-muted); font-size: .74rem; }
html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] { display: grid; padding: 2.25rem var(--site-content-pad); grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff6dc; border-block: 1px solid var(--xk-line); }
html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] article { display: flex; padding: 1rem 1.5rem; align-items: center; gap: 1rem; border-right: 1px solid var(--xk-line); }
html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] article:last-child { border-right: 0; }
html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] article > span { display: grid; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--xk-mint); color: var(--xk-navy); font-size: 1.05rem; }
html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] strong { display: block; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] p { margin: .2rem 0 0; color: #586978; font-size: .72rem; }

/* Catalog: categories become a horizontal discovery rail above the grid. */
html[data-site-theme="xkids"] body.marketing .site-shop-page,
html[data-site-theme="xkids"] body.marketing .site-products-page,
html[data-site-theme="xkids"] body.marketing .site-category-page,
html[data-site-theme="xkids"] body.marketing .site-tags-page,
html[data-site-theme="xkids"] body.marketing .site-tag-detail-page,
html[data-site-theme="xkids"] body.marketing .site-news-page,
html[data-site-theme="xkids"] body.marketing .site-search-page,
html[data-site-theme="xkids"] body.marketing .site-pricing-page,
html[data-site-theme="xkids"] body.marketing .site-solutions-page,
html[data-site-theme="xkids"] body.marketing .site-tracking-page,
html[data-site-theme="xkids"] body.marketing .site-single-page,
html[data-site-theme="xkids"] body.marketing .site-error-page { width: 100%; min-height: 65vh; padding: clamp(4.5rem, 8vw, 8rem) var(--site-content-pad) clamp(6rem, 10vw, 10rem) !important; background: #fff !important; color: var(--xk-ink); }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-products-page,.site-category-page,.site-tags-page,.site-tag-detail-page,.site-news-page,.site-search-page,.site-pricing-page,.site-solutions-page,.site-tracking-page,.site-single-page,.site-error-page) > div { width: min(100%, 92rem); margin-inline: auto; }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-products-page,.site-category-page,.site-tags-page,.site-tag-detail-page,.site-news-page,.site-search-page) { padding-top: clamp(2.5rem, 4vw, 4rem) !important; }
html[data-site-theme="xkids"] body.marketing .site-search-page > div { width: 100% !important; max-width: none !important; margin-inline: 0 !important; }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-category-page,.site-news-page) > div > section > header > h1,
html[data-site-theme="xkids"] body.marketing :is(.site-products-page,.site-tags-page,.site-tag-detail-page,.site-search-page,.site-single-page) h1 { margin: 0; color: var(--xk-navy); font-size: clamp(3rem, 6.2vw, 6.6rem); line-height: .9; }
html[data-site-theme="xkids"] body.marketing article[data-single-page-slug="payment"] > div > h1 { margin: 0 auto clamp(1.5rem,3vw,2.5rem); text-align: center; }
html[data-site-theme="xkids"] body.marketing .site-category-page [data-page-kind="category"] > header > div > p { margin-top: 1rem; }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-category-page,.site-news-page) > div > section > header + p { max-width: 46rem; margin: 1.4rem 0 0; color: var(--xk-muted); font-size: 1rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-page [data-list-layout],
html[data-site-theme="xkids"] body.marketing .site-news-page [data-list-layout] { display: flex !important; margin-top: clamp(2.5rem, 5vw, 4.5rem) !important; flex-direction: column; gap: 2.5rem !important; }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-news-page) [data-list-layout] > aside { display: block !important; width: 100%; padding: 1.1rem 0; border-block: 1px solid var(--xk-line); }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-news-page) [data-list-layout] > aside > h2 { margin: 0 0 .8rem; color: var(--xk-muted); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-news-page) [data-category-nav] { display: flex !important; max-width: 100%; gap: .55rem; overflow-x: auto; scrollbar-width: none; }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-news-page) [data-category-nav]::-webkit-scrollbar { display: none; }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-news-page) [data-category-nav] > a { display: inline-flex !important; min-width: max-content; min-height: 2.65rem; padding: .62rem 1rem !important; flex-direction: row !important; align-items: center !important; gap: .5rem; border: 1px solid var(--xk-line); border-radius: 999px !important; background: #fff; color: var(--xk-navy); font-size: .75rem; font-weight: 750; text-decoration: none; }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-news-page) [data-category-nav] > a[data-current] { border-color: var(--xk-navy); background: var(--xk-navy) !important; color: #fff !important; }
html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-news-page) [data-category-nav] > a[data-current] > * { color: inherit !important; }
html[data-site-theme="xkids"] body.marketing .site-shop-page [data-grid-kind="catalog"] { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: clamp(1.5rem, 2.4vw, 2.5rem) clamp(1rem, 2vw, 2rem) !important; list-style: none; }
html[data-site-theme="xkids"] body.marketing .site-shop-card > footer > button[data-product-id]:hover:not(:disabled) { border-color: var(--xk-navy) !important; background: var(--xk-navy) !important; color: #fff !important; }

/* Product detail: quiet white gallery with a compact buying column. */
html[data-site-theme="xkids"] body.marketing .site-article-doc,
html[data-site-theme="xkids"] body.marketing .site-article-page,
html[data-site-theme="xkids"] body.marketing .site-shop-detail-page { width: 100%; background: #fff !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc > div { width: min(100%, 92rem); margin-inline: auto; padding: clamp(2rem, 5vw, 5rem) var(--site-content-pad) clamp(6rem, 10vw, 10rem); }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-breadcrumb] { margin-bottom: 2rem; color: var(--xk-muted); font-size: .72rem; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-breadcrumb] a { text-decoration-color: var(--xk-coral-strong); }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-layout] { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr) !important; gap: clamp(3rem, 6vw, 7rem) !important; align-items: start; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-gallery] > figure { border: 0 !important; border-radius: 22px !important; background: #fff !important; box-shadow: 0 0 0 1px var(--xk-line) !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-thumbnails] button { border-radius: 12px !important; background: #fff !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-info] { position: sticky; top: 1.5rem; padding: 1rem 0 !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-info] > h1 { font-size: clamp(2rem, 3.4vw, 4.15rem) !important; line-height: .98 !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-info] > :is([data-info-kind="price"], [id="shopDetailStockRow"], [data-shop-variants], [data-shop-detail-actions]) { margin: 0 !important; padding: 1rem 0 !important; border: 0 !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-info] > [data-info-kind="price"] { margin-top: 1rem !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-info] [data-info-kind="price"] strong { color: var(--xk-coral-strong) !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-info] [data-info-kind="rating"] i.is-active { color: var(--xk-yellow); }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-actions] > button { min-height: 3.4rem; border-radius: 999px !important; border-color: var(--xk-navy) !important; font-size: .76rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-actions] > button[data-action="add-to-cart"] { background: var(--xk-navy) !important; color: #fff !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-actions] > button[data-action="buy-now"] { background: #fff !important; color: var(--xk-navy) !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-description] { margin-top: clamp(5rem, 9vw, 9rem) !important; border-top: 1px solid var(--xk-line) !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-rich-html] { color: #354a5d; line-height: 1.9 !important; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-rich-html] :is(h2,h3) { color: var(--xk-navy); }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-rich-html] table { width: 100%; border-collapse: collapse; }
html[data-site-theme="xkids"] body.marketing .site-article-doc [data-rich-html] :is(th,td) { padding: .8rem; border-bottom: 1px solid var(--xk-line); text-align: left; }

/* Journal and content pages use an editorial magazine rhythm. */
html[data-site-theme="xkids"] body.marketing .site-news-page [data-article-list] { display: grid !important; margin: 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.75rem); list-style: none; }
html[data-site-theme="xkids"] body.marketing .site-news-article-card { display: flex; min-width: 0; flex-direction: column; border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; }
html[data-site-theme="xkids"] body.marketing .site-news-article-card > a:first-child { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 18px 18px 18px 4px; background: var(--xk-ivory); }
html[data-site-theme="xkids"] body.marketing .site-news-article-card > a:first-child img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
html[data-site-theme="xkids"] body.marketing .site-news-article-card:hover > a:first-child img { transform: scale(1.025); }
html[data-site-theme="xkids"] body.marketing .site-news-article-card > div { padding: 1.15rem 0 0; }
html[data-site-theme="xkids"] body.marketing .site-news-article-card h2 { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.65rem); line-height: 1.2; }
html[data-site-theme="xkids"] body.marketing .site-news-article-card h2 a { text-decoration: none; }
html[data-site-theme="xkids"] body.marketing .site-news-article-card h2 a:hover { color: var(--xk-mint); }
html[data-site-theme="xkids"] body.marketing .site-news-article-card > div > p { color: var(--xk-muted); font-size: .72rem; }
html[data-site-theme="xkids"] body.marketing .site-news-article-card nav a { color: var(--xk-coral-strong); font-size: .7rem; }
html[data-site-theme="xkids"] body.marketing .site-article-page article,
html[data-site-theme="xkids"] body.marketing .site-single-page article { max-width: 66rem; margin-inline: auto; background: #fff; }

/* Search, tags and pagination share the same high-contrast control language. */
html[data-site-theme="xkids"] body.marketing .site-search-page > div > form { max-width: 58rem; margin: 0 auto 3rem; }
html[data-site-theme="xkids"] body.marketing .site-search-page > div > form > label { display: block; margin-bottom: 1rem; color: var(--xk-navy); font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 800; letter-spacing: -.05em; }
html[data-site-theme="xkids"] body.marketing .site-search-page > div > form > div { display: grid; min-height: 4rem; grid-template-columns: 3rem minmax(0, 1fr) auto; align-items: center; border-bottom: 2px solid var(--xk-navy); }
html[data-site-theme="xkids"] body.marketing .site-search-page input { width: 100%; border: 0 !important; background: transparent; color: var(--xk-navy); font: inherit; font-size: 1.2rem; outline: 0; }
html[data-site-theme="xkids"] body.marketing .site-search-page button,
html[data-site-theme="xkids"] body.marketing .site-pager a,
html[data-site-theme="xkids"] body.marketing .site-pager button,
html[data-site-theme="xkids"] body.marketing [data-search-load-more] { min-height: 2.9rem; padding: .65rem 1.15rem; border: 1px solid var(--xk-navy); border-radius: 999px; background: #fff; color: var(--xk-navy); font: inherit; font-size: .75rem; font-weight: 800; cursor: pointer; text-decoration: none; }
html[data-site-theme="xkids"] body.marketing .site-search-page button:hover,
html[data-site-theme="xkids"] body.marketing .site-pager :is(a,button):hover,
html[data-site-theme="xkids"] body.marketing [data-search-load-more]:hover { background: var(--xk-navy); color: #fff; }
html[data-site-theme="xkids"] body.marketing .site-pager { margin-top: 4rem; }
html[data-site-theme="xkids"] body.marketing .site-tags-page [data-tag-list],
html[data-site-theme="xkids"] body.marketing .site-template-tag-list { display: flex; margin: 2.5rem 0 0; padding: 0; flex-wrap: wrap; gap: .7rem; list-style: none; }
html[data-site-theme="xkids"] body.marketing .site-tags-page [data-tag-list] a,
html[data-site-theme="xkids"] body.marketing .site-template-tag-list a { display: inline-flex; min-height: 2.75rem; padding: .6rem 1rem; align-items: center; border: 1px solid var(--xk-line); border-radius: 999px; text-decoration: none; }
html[data-site-theme="xkids"] body.marketing .site-tags-page [data-tag-list] a:hover,
html[data-site-theme="xkids"] body.marketing .site-template-tag-list a:hover { border-color: var(--xk-coral-strong); color: var(--xk-mint); }

/* Cart and checkout reuse the stable storefront contract with XKIDS presentation. */
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page,
html[data-site-theme="xkids"] body.marketing .site-checkout-page { width: 100%; min-height: 70vh; padding: clamp(4rem, 8vw, 8rem) var(--site-content-pad) clamp(6rem, 10vw, 10rem) !important; background: #fff !important; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page > div,
html[data-site-theme="xkids"] body.marketing .site-checkout-page > div { width: min(100%, 92rem); margin-inline: auto; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page h1,
html[data-site-theme="xkids"] body.marketing .site-checkout-page h1 { margin: 0 0 2.5rem; font-size: clamp(3rem, 5vw, 4.75rem) !important; line-height: .95 !important; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-layout] { grid-template-columns: minmax(0, 1.65fr) minmax(20rem, .72fr); gap: clamp(2rem, 4vw, 4.5rem); }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-toolbar] { min-height: 2.5rem; align-items: center; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-toolbar-action] { display: inline-grid; width: 2rem; height: 2rem; padding: 0; place-items: center; border: 1px solid var(--xk-line); border-radius: 50%; background: #fff; color: var(--xk-muted); }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-toolbar-action]:hover:not(:disabled) { border-color: var(--xk-coral-strong); background: var(--xk-ivory); color: var(--xk-coral-strong); }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-action] svg { display: block; width: .9rem; height: .9rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-panel [data-cart-item] { padding-block: 1.25rem; border-bottom: 1px solid var(--xk-line); background: #fff; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-panel [data-cart-image] { overflow: hidden; border: 1px solid var(--xk-line); border-radius: 8px; background: #fff; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-panel [data-cart-image] img { object-fit: contain; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-quantity-field] > input { border: 0; background: transparent; box-shadow: none; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-summary] { padding: clamp(1.5rem, 2.5vw, 2.25rem); border: 1px solid var(--xk-line); border-radius: 4px; background: #fff; box-shadow: 0 1.25rem 3.5rem rgba(22, 50, 79, .08); }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-coupon] { display: grid; gap: .65rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-coupon-label] { color: var(--xk-navy); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-coupon-row] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-coupon-input] { min-width: 0; min-height: 2.85rem; padding: .7rem .85rem; border: 1px solid var(--xk-line); border-radius: 4px; background: #fff; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-coupon-apply] { min-height: 2.85rem; padding: .65rem 1rem; border: 1px solid var(--xk-navy); border-radius: 4px; background: #fff; color: var(--xk-navy); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page #shopCartQuotePanel { margin-top: 1.5rem; padding-top: 0; border-top: 0; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page :is([data-cart-totals], .site-shop-cart-quote-panel > dl) { display: grid; gap: .8rem; margin: 0; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page :is([data-cart-total-row], .site-shop-cart-quote-panel > dl > div) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 1rem; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page :is([data-cart-total-row], .site-shop-cart-quote-panel > dl > div) > :is(dt,dd) { min-width: 0; margin: 0; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-page :is([data-cart-total-row], .site-shop-cart-quote-panel > dl > div) > dd { font-variant-numeric: tabular-nums; text-align: right; }
html[data-site-theme="xkids"] body.marketing .site-shop-cart-panel [data-cart-checkout],
html[data-site-theme="xkids"] body.marketing .site-checkout-page [data-checkout-submit] { min-height: 3.45rem; border: 1px solid var(--xk-navy); border-radius: 4px; background: var(--xk-navy); color: #fff; font-weight: 850; letter-spacing: .06em; }
html[data-site-theme="xkids"] body.marketing .site-checkout-page [data-checkout-layout] { gap: clamp(1.5rem, 4vw, 4rem) !important; }
html[data-site-theme="xkids"] body.marketing .site-checkout-page [data-checkout-panel] { border: 1px solid var(--xk-line) !important; border-radius: 18px 18px 18px 4px !important; background: #fff !important; box-shadow: none !important; }
html[data-site-theme="xkids"] body.marketing .site-checkout-page :is(input,select,textarea) { border-color: var(--xk-line) !important; border-radius: 9px !important; background: #fff !important; }

/* Authentication and user center are part of the same store, not a generic app shell. */
html[data-site-theme="xkids"] body.marketing .auth-shell,
html[data-site-theme="xkids"] body.marketing .user-center-shell { min-height: 100vh; background: var(--xk-ivory); }
html[data-site-theme="xkids"] body.marketing .auth-shell > main { display: grid; min-height: calc(100vh - 5.75rem); padding: clamp(3rem, 7vw, 7rem) var(--site-content-pad); place-items: center; background: var(--xk-ivory); }
html[data-site-theme="xkids"] body.marketing .auth-card { width: min(100%, 31rem); padding: clamp(2rem, 4vw, 3.6rem); border: 0; border-radius: 24px 24px 24px 5px; background: #fff; box-shadow: var(--xk-shadow); }
html[data-site-theme="xkids"] body.marketing .auth-card h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: .92; }
html[data-site-theme="xkids"] body.marketing .auth-card :is(input,select,textarea) { border: 0 !important; border-bottom: 1px solid var(--xk-line) !important; border-radius: 0 !important; background: transparent !important; }
html[data-site-theme="xkids"] body.marketing .auth-card button[type="submit"] { min-height: 3.3rem; border: 0; border-radius: 999px; background: var(--xk-navy); color: #fff; font-weight: 850; }
html[data-site-theme="xkids"] body.marketing .user-center-shell > main { width: 100%; min-height: calc(100vh - 5.75rem); padding: clamp(2rem, 5vw, 5rem) var(--site-content-pad); background: #fff; }
html[data-site-theme="xkids"] body.marketing .user-center-sidebar { border-right: 1px solid var(--xk-line); background: #fff; }
html[data-site-theme="xkids"] body.marketing .account-nav a { border-radius: 10px; color: var(--xk-muted); }
html[data-site-theme="xkids"] body.marketing .account-nav a:is(:hover,[aria-current="page"]) { background: var(--xk-ivory); color: var(--xk-navy); }
html[data-site-theme="xkids"] body.marketing :is(.account-overview,.account-profile-page,.account-orders-page,.order-detail-page,.account-addresses-page,.account-tickets-page,.account-rewards,.account-shop-page) { width: min(100%, 84rem); margin-inline: auto; background: #fff; color: var(--xk-ink); }

/* Search drawer owns a slim editorial panel with a stable full-page backdrop. */
html[data-site-theme="xkids"] body.marketing .site-search-root { --site-search-drawer-width: min(32rem, 100vw); position: fixed; inset: 0; z-index: 220; display: block; background: transparent; }
html[data-site-theme="xkids"] body.marketing .site-search-root[hidden] { display: none; }
html[data-site-theme="xkids"] body.marketing .site-search-root > button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(13,34,56,.56); backdrop-filter: blur(3px); }
html[data-site-theme="xkids"] body.marketing .site-search-root > section[role="dialog"] { position: relative; z-index: 1; width: var(--site-search-drawer-width); height: 100%; margin-left: auto; padding: clamp(1.3rem, 3vw, 2.5rem); overflow-y: auto; background: #fff; color: var(--xk-ink); box-shadow: -20px 0 60px rgba(13,34,56,.22); }
html[data-site-theme="xkids"] body.marketing .site-search-root > section[role="dialog"] input { border: 0 !important; border-bottom: 2px solid var(--xk-navy) !important; border-radius: 0 !important; background: transparent !important; }
html[data-site-theme="xkids"] body.marketing .site-search-root > section[role="dialog"] button { border-radius: 999px; }

html[data-site-theme="xkids"] body.marketing [data-review-list] .fa-star { color: var(--xk-line); }
html[data-site-theme="xkids"] body.marketing [data-review-list] .fa-star.is-active { color: var(--xk-yellow); }

/* Footer: full-width navigation first, then a centered compact newsletter. */
html[data-site-theme="xkids"] body.marketing .site-footer { margin: 0; border: 0; background: var(--xk-navy-deep); color: #dce7ef; }
html[data-site-theme="xkids"] body.marketing .site-footer > div:first-child { display: grid; width: min(100%, 92rem); margin-inline: auto; padding: clamp(3.5rem, 6vw, 5.5rem) var(--site-content-pad); grid-template-columns: minmax(0, 1fr); grid-template-areas: "links" "newsletter"; gap: clamp(2.5rem, 5vw, 4.5rem); }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-brand] { display: none; min-width: 0; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-brand] > header { display: flex; align-items: center; gap: 1rem; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-brand] > header > span { width: 1rem; height: 1rem; border-radius: 50%; background: var(--xk-coral); box-shadow: .8rem -.4rem 0 -.2rem var(--xk-mint), .9rem .5rem 0 -.25rem var(--xk-yellow); }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-brand] strong { color: #fff; font-size: 1.25rem; letter-spacing: .14em; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-brand] p { color: #9fb0bf; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-subscribe] { grid-area: newsletter; width: min(100%, 22.5rem); margin: 0 auto; text-align: center; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-subscribe] :is(h2,h4) { margin: 0 0 1rem; color: #fff; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-subscribe] form { display: grid; grid-template-columns: minmax(0,1fr) auto; border-bottom: 1px solid #6f8292; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-subscribe] label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-subscribe] input { width: 100%; min-height: 3.5rem; border: 0; background: transparent; color: #fff; font: inherit; outline: 0; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-subscribe] button { border: 0; background: transparent; color: var(--xk-mint); font-weight: 850; cursor: pointer; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-columns] { grid-area: links; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-columns] section { display: flex; min-width: 0; flex-direction: column; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-columns] section:has(> a:nth-of-type(7)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; column-gap: 1rem; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-columns] section:has(> a:nth-of-type(7)) > h2 { grid-column: 1 / -1; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-columns] :is(h2,h4) { margin: 0 0 1rem; color: #fff; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-columns] a { display: flex; min-height: 44px; margin: 0; align-items: center; color: #b7c5d0; font-size: .82rem; text-decoration: none; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-columns] a:hover { color: var(--xk-mint); }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-friends],
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-bar] { border-top: 1px solid rgba(255,255,255,.12); }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-friends] > div,
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-bar] > div { width: min(100%, 92rem); margin-inline: auto; padding: 1rem var(--site-content-pad); color: #91a5b5; font-size: .72rem; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-bar] > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-bar] button { border: 0; background: transparent; color: inherit; }

@media (max-width: 1250px) {
  html[data-site-theme="xkids"] body.marketing .site-header > div:not([data-template-preview-bar]) { gap: .75rem; }
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-brand] > strong { font-size: 1rem; letter-spacing: .12em; }
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-desktop-nav] > div { gap: .8rem; }
  html[data-site-theme="xkids"] body.marketing .site-header .site-nav-item[data-depth="root"] > :is(a,button) { font-size: .8rem; letter-spacing: .05em; }
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-header-actions] [data-role="login"] { display: none; }
}

@media (min-width: 1251px) {
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-user-login] { display: none !important; }
}

@media (max-width: 1100px) {
  html[data-site-theme="xkids"] body.marketing .site-header > div:not([data-template-preview-bar]) { grid-template-columns: auto 1fr auto; gap: 1rem; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] { grid-template-columns: 1fr; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-products] > ul,
  html[data-site-theme="xkids"] body.marketing .site-shop-page [data-grid-kind="catalog"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] { grid-template-columns: repeat(2, 1fr); }
  html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] article:nth-child(2) { border-right: 0; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] article:nth-child(-n+2) { border-bottom: 1px solid var(--xk-line); }
}

@media (max-width: 1023px) {
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-desktop-nav],
  html[data-site-theme="xkids"] body.marketing .site-header [data-role="login"] { display: none; }
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-mobile-nav] > div > .site-nav-mobile-group > summary { color: var(--xk-navy); font-size: .95rem; font-weight: 800; }
}

@media (max-width: 900px) {
  html[data-site-theme="xkids"] body.marketing [data-xkids-ribbon] > div { grid-template-columns: 1fr; min-height: 2rem; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-ribbon] span:not(:first-child) { display: none; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-ribbon] span:first-child { text-align: center; }
  html[data-site-theme="xkids"] body.marketing .site-header > div:not([data-template-preview-bar]) { min-height: 4.6rem; }
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-desktop-nav],
  html[data-site-theme="xkids"] body.marketing .site-header [data-role="login"] { display: none; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-hero]::after { background: linear-gradient(180deg, rgba(255,249,240,.3) 0%, rgba(255,249,240,.92) 54%, var(--xk-ivory) 100%); }
  html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > header { justify-content: flex-end; padding-bottom: 5rem; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > aside { display: none; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] > div { grid-template-columns: 1fr; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] > div > a { min-height: 22rem; border-right: 0; border-bottom: 1px solid var(--xk-line); }
  html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] a > small { margin-top: 2.5rem; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-categories] > div { grid-template-columns: repeat(2, minmax(0,1fr)); }
  html[data-site-theme="xkids"] body.marketing [data-xkids-story] { min-height: 0; grid-template-columns: 1fr; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-story] > :is(div,blockquote) { min-height: 32rem; }
  html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-layout] { grid-template-columns: 1fr !important; }
  html[data-site-theme="xkids"] body.marketing .site-article-doc [data-shop-detail-info] { position: static; }
  html[data-site-theme="xkids"] body.marketing .site-footer > div:first-child { grid-template-columns: 1fr; }
  html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-layout] { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  html[data-site-theme="xkids"] body.marketing { --site-content-pad: 1.15rem; --site-content-pad-r: 1.15rem; }
  html[data-site-theme="xkids"] body.marketing .site-header > div:not([data-template-preview-bar]) { padding-inline: 1rem; }
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-brand] > strong { font-size: .95rem; }
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-brand] img { max-width: 7.5rem; height: 2.7rem; }
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-header-actions] { gap: 0; }
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-header-actions] :is(button,[data-site-cart-link],[data-site-user-login],[data-site-user-menu] > summary) { width: 2.35rem; height: 2.35rem; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-hero] { min-height: 43rem; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > picture > img { object-position: 65% center; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-hero] > header { min-height: 43rem; padding-top: 20rem; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-hero] h1 { font-size: clamp(3.15rem, 15vw, 4.7rem); }
  html[data-site-theme="xkids"] body.marketing [data-xkids-hero] nav { align-items: stretch; flex-direction: column; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-hero] nav a:first-child { justify-content: space-between; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-play-modes] { padding-block: 5rem; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-categories] > header,
  html[data-site-theme="xkids"] body.marketing [data-xkids-products] > header,
  html[data-site-theme="xkids"] body.marketing [data-xkids-journal] > header { align-items: flex-start; flex-direction: column; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-categories] > div { grid-template-columns: 1fr; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-products] > ul,
  html[data-site-theme="xkids"] body.marketing .site-shop-page [data-grid-kind="catalog"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.6rem .75rem !important; }
  html[data-site-theme="xkids"] body.marketing .site-shop-card figure > div { border-radius: 13px 13px 13px 3px; }
  html[data-site-theme="xkids"] body.marketing .site-shop-card figure > div::after { display: none; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-journal] li { grid-template-columns: 2rem minmax(0,1fr); }
  html[data-site-theme="xkids"] body.marketing [data-xkids-journal] time { grid-column: 2; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] { grid-template-columns: 1fr; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-assurances] article { border-right: 0; border-bottom: 1px solid var(--xk-line); }
  html[data-site-theme="xkids"] body.marketing .site-news-page [data-article-list] { grid-template-columns: 1fr; }
  html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-news-page) [data-list-layout] > aside { display: none !important; }
  html[data-site-theme="xkids"] body.marketing :is(.site-shop-page,.site-news-page) details[data-category-menu] { display: block !important; }
  html[data-site-theme="xkids"] body.marketing .site-article-doc > div { padding-inline: 1rem; }
  html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-columns] { grid-template-columns: repeat(2, minmax(0,1fr)); }
  html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-columns] section:has(> a:nth-of-type(7)) { grid-column: 1 / -1; }
  html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-bar] > div { align-items: flex-start; flex-direction: column; }
  html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-coupon-row] { grid-template-columns: 1fr; }
  html[data-site-theme="xkids"] body.marketing .site-shop-cart-page [data-cart-coupon-apply] { width: 100%; }
  html[data-site-theme="xkids"] body.marketing .site-search-root > section[role="dialog"] { width: 100%; }
}

@media (max-width: 420px) {
  html[data-site-theme="xkids"] body.marketing .site-header [data-site-brand] > span { display: none; }
  html[data-site-theme="xkids"] body.marketing [data-xkids-products] > ul,
  html[data-site-theme="xkids"] body.marketing .site-shop-page [data-grid-kind="catalog"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 340px) {
  html[data-site-theme="xkids"] body.marketing .site-footer [data-footer-columns] { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-site-theme="xkids"] body.marketing *,
  html[data-site-theme="xkids"] body.marketing *::before,
  html[data-site-theme="xkids"] body.marketing *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* discount save badge (kidsbuy-style, image top-left) */
html[data-site-theme="xkids"] body.marketing .site-shop-card{position:relative;}
html[data-site-theme="xkids"] body.marketing .site-card-save{position:absolute;top:.35rem;left:.35rem;z-index:6;background:#dc2626;color:#fff;font-size:.625rem;font-weight:700;padding:.15rem .35rem;border-radius:999rem;line-height:1;letter-spacing:.02em;text-transform:uppercase;box-shadow:0 1px 3px rgba(220,38,38,.35);border:1px solid #fff;}

/* 统一角标右上 */
html[data-site-theme="xkids"] body.marketing .site-shop-card figure>div:first-child{position:relative!important;}
html[data-site-theme="xkids"] body.marketing .site-shop-card [data-card-badges]{position:absolute!important;top:.35rem!important;right:.35rem!important;left:auto!important;z-index:6!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:.25rem!important;pointer-events:none!important;}
html[data-site-theme="xkids"] body.marketing .site-shop-card [data-card-badge]{display:inline-block!important;padding:.15rem .35rem!important;border-radius:999rem!important;font-size:.625rem!important;font-weight:700!important;line-height:1!important;letter-spacing:.02em!important;text-transform:uppercase!important;color:#fff!important;}
html[data-site-theme="xkids"] body.marketing .site-shop-card [data-card-badge="new"]{background:#2563eb!important;}
html[data-site-theme="xkids"] body.marketing .site-shop-card [data-card-badge="hot"]{background:#dc2626!important;}
html[data-site-theme="xkids"] body.marketing .site-shop-card [data-card-badge="out"]{background:#111!important;}

/* 隐藏商品简介 */
html[data-site-theme="xkids"] body.marketing [data-card-subtitle]{display:none!important;}

/* 隐藏分类导航五星 */
html[data-site-theme="xkids"] body.marketing [data-category-nav] .site-rating-stars{display:none!important;}
html[data-site-theme="xkids"] body.marketing [data-category-nav] small{display:none!important;}

/* 分类导航选中态 */
html[data-site-theme="xkids"] body.marketing [data-category-nav] a[data-current]{
  font-weight:700!important;color:var(--site-pal-accent,#4f46e5)!important;
  border-inline-start:0!important;
  padding-inline-start:.75rem!important;background:rgba(79,70,229,.06)!important;
  border-radius:.25rem!important;
}
