/* ==========================================================================
   ZingMMO Store Core — builder header, footer, drawer, menus.
   Uses the theme tokens (--zms-*) with fallbacks so it works on any theme.
   ========================================================================== */

.zsc-header,
.zsc-footer,
.zsc-drawer,
.zsc-bottombar {
	--zsc-base: var(--zms-base, #0a0e18);
	--zsc-surface: var(--zms-surface, #141a28);
	--zsc-raised: var(--zms-raised, #1f2739);
	--zsc-line: var(--zms-line, #2f384e);
	--zsc-muted: var(--zms-muted, #8792aa);
	--zsc-subtle: var(--zms-subtle, #9ea8bd);
	--zsc-soft: var(--zms-soft, #a9b2c7);
	--zsc-text: var(--zms-text, #f4f6fb);
	--zsc-strong: var(--zms-strong, #fff);
	--zsc-accent: var(--zms-ember, #ff6b2c);
	--zsc-on-accent: var(--zms-on-ember, #0a0e18);
	--zsc-mint: var(--zms-mint, #2fd6a0);
	--zsc-rose: var(--zms-rose, #fb7185);
	--zsc-sky: var(--zms-sky, #38bdf8);
	--zsc-r: var(--zms-r, 12px);
	--zsc-r-lg: var(--zms-r-lg, 16px);
	--zsc-max: var(--zms-max, 1280px);
	--zsc-gutter: var(--zms-gutter, clamp(1rem, 3vw, 2rem));
	--zsc-pop: var(--zms-shadow-pop, 0 24px 64px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06));
	--zsc-glass: var(--zms-glass, color-mix(in srgb, var(--zsc-base) 88%, transparent));
	--zsc-ease: cubic-bezier(.2, .8, .2, 1);
}

.zsc-i { flex-shrink: 0; display: block; }
.screen-reader-text:not(:focus) { clip: rect(1px, 1px, 1px, 1px); position: absolute; width: 1px; height: 1px; overflow: hidden; }

/* ----- Header shell ---------------------------------------------------- */
.zsc-header { position: sticky; top: 0; z-index: 60; color: var(--zsc-soft); transition: transform .3s var(--zsc-ease), box-shadow .2s; }
body.admin-bar .zsc-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { body.admin-bar .zsc-header { top: 0; } }
.wp-site-blocks > .zsc-header { margin-block-start: 0 !important; }
.zsc-header.zsc-sticky-none { position: relative; }
.zsc-header.is-scrolled { box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .9); }
.zsc-header.zsc-sticky-up.is-hidden { transform: translateY(-110%); }
.zsc-header.zsc-transparent { position: fixed; left: 0; right: 0; }
.zsc-header.zsc-transparent:not(.is-scrolled) .zsc-row { background: transparent !important; border-color: transparent !important; backdrop-filter: none !important; }

.zsc-row { position: relative; z-index: 1; font-size: var(--zsc-row-fs, 14px); transition: background-color .2s; }
/* the row whose menu / popover is open paints above the rows below it */
.zsc-row:hover, .zsc-row:focus-within, .zsc-row:has(.is-open) { z-index: 3; }
.zsc-row.has-border { border-bottom: 1px solid color-mix(in srgb, var(--zsc-raised) 75%, transparent); }
.zsc-bg-base { background: var(--zsc-base); }
.zsc-bg-surface { background: var(--zsc-surface); }
.zsc-bg-raised { background: var(--zsc-raised); }
.zsc-bg-glass { background: var(--zsc-glass); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.zsc-bg-primary { background: var(--zsc-accent); color: var(--zsc-on-accent); }
.zsc-bg-primary a, .zsc-bg-primary .zsc-iconbtn { color: inherit; }
.zsc-bg-transparent { background: transparent; }
.zsc-bg-custom { background: var(--zsc-row-bg, transparent); }

.zsc-row__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--zsc-max) + var(--zsc-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--zsc-gutter);
	min-height: var(--zsc-row-h, 64px);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	transition: min-height .25s var(--zsc-ease);
}
.zsc-row__inner.is-full { max-width: none; }
.zsc-header__mobile .zsc-row__inner { grid-template-columns: 1fr auto 1fr; gap: .5rem; }
.zsc-zone { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.zsc-zone:empty { display: none; }
.zsc-zone--left { justify-content: flex-start; grid-column: 1; }
.zsc-zone--center { justify-content: center; grid-column: 2; }
.zsc-zone--right { justify-content: flex-end; grid-column: 3; }
.zsc-header__mobile .zsc-zone:empty { display: flex; }
.zsc-el { display: flex; align-items: center; min-width: 0; }
.zsc-zone--center > .zsc-el--search { flex: 1; max-width: 560px; }
.zsc-zone--center > .zsc-el--ticker, .zsc-zone--left > .zsc-el--ticker { flex: 1; }
.zsc-zone--left > .zsc-el--category_rail { flex: 1; }

.zsc-header.is-scrolled.zsc-can-shrink .zsc-row--main .zsc-row__inner { min-height: calc(var(--zsc-row-h, 64px) * .84); }
.zsc-header.zsc-collapse-top .zsc-row--top { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .25s var(--zsc-ease); }
.zsc-header.zsc-collapse-top .zsc-row--top > .zsc-row__inner { overflow: hidden; }
.zsc-header.is-scrolled.zsc-collapse-top .zsc-row--top { grid-template-rows: 0fr; border-bottom-color: transparent; }
.zsc-header.is-scrolled.zsc-collapse-top .zsc-row--top > .zsc-row__inner { min-height: 0; }

/* ----- Logo --------------------------------------------------------------- */
.zsc-logo { display: flex; align-items: center; flex-shrink: 0; }
.zsc-logo a, a.zsc-logo { display: inline-flex; align-items: center; text-decoration: none; }
.zsc-logo__img { height: var(--zsc-logo-h, 34px); width: auto; max-width: none; display: block; }
.zsc-logo__img--light { display: none; }
html[data-zsc-scheme="light"] .zsc-logo__img--light { display: block; }
html[data-zsc-scheme="light"] .zsc-logo__img--light ~ .zsc-logo__img--dark,
html[data-zsc-scheme="light"] .zsc-logo__img--dark:has(+ .zsc-logo__img--light) { display: none; }
.zsc-header__mobile .zsc-logo__img, .zsc-drawer .zsc-logo__img { height: var(--zsc-logo-h-m, 30px); }
.zsc-logo--small .zms-brand__caption { display: none; }
.zsc-logo__text { font: 700 1.25rem/1 var(--zms-display, inherit); color: var(--zsc-strong); }

/* ----- Icon buttons, buttons ------------------------------------------------ */
.zsc-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
	min-width: 40px; height: 40px; padding: 0 .55rem; box-sizing: border-box;
	border: 0; border-radius: var(--zsc-r); background: transparent; color: var(--zsc-soft);
	font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s;
}
.zsc-iconbtn:hover, .zsc-iconbtn[aria-expanded="true"] { background: var(--zsc-raised); color: var(--zsc-strong); }
.zsc-iconbtn.has-label { padding-inline: .7rem .85rem; }
.zsc-iconbtn__label { white-space: nowrap; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; }

.zsc-cart { position: relative; }
.zsc-cart--button { border: 1px solid var(--zsc-line); background: var(--zsc-surface); padding-inline: .7rem .8rem; }
.zsc-cart__count {
	display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
	border-radius: 99px; background: var(--zsc-accent); color: var(--zsc-on-accent); font-size: 11px; font-weight: 700; line-height: 1;
}
.zsc-cart--icon .zsc-cart__count, .zsc-bottombar .zsc-cart__count { position: absolute; top: 2px; right: 0; }
.zsc-cart__total { font-weight: 600; color: var(--zsc-strong); font-variant-numeric: tabular-nums; }

.zsc-scheme .zsc-i--moon { display: none; }
html[data-zsc-scheme="light"] .zsc-scheme .zsc-i--sun { display: none; }
html[data-zsc-scheme="light"] .zsc-scheme .zsc-i--moon { display: block; }

.zsc-btn {
	display: inline-flex; align-items: center; gap: .45rem; height: 38px; padding: 0 1rem; box-sizing: border-box;
	border-radius: var(--zsc-btn-radius, var(--zsc-r)); font-weight: 600; font-size: .875rem; text-decoration: none; white-space: nowrap;
	transition: background-color .15s, color .15s, transform .15s;
}
.zsc-btn:active { transform: translateY(1px); }
.zsc-btn--primary { background: var(--zsc-accent); color: var(--zsc-on-accent); box-shadow: var(--zms-shadow-ember, none); }
.zsc-btn--primary:hover { background: var(--zms-ember-2, var(--zsc-accent)); color: var(--zsc-on-accent); }
.zsc-btn--secondary { background: var(--zsc-raised); color: var(--zsc-text); border: 1px solid var(--zsc-line); }
.zsc-btn--secondary:hover { background: var(--zsc-line); color: var(--zsc-strong); }
.zsc-btn--ghost { color: var(--zsc-soft); }
.zsc-btn--ghost:hover { background: var(--zsc-raised); color: var(--zsc-strong); }

.zsc-divider { width: 1px; height: 24px; background: var(--zsc-line); margin-inline: .25rem; }

/* ----- Search ---------------------------------------------------------------- */
.zsc-search { position: relative; width: 100%; }
.zsc-search__form { position: relative; display: flex; align-items: center; width: 100%; margin: 0; }
.zsc-search__form > .zsc-i { position: absolute; left: .8rem; color: var(--zsc-muted); pointer-events: none; }
.zsc-search__input {
	width: 100%; height: 42px; box-sizing: border-box; margin: 0;
	padding: 0 2.6rem 0 2.5rem !important; border-radius: var(--zsc-r) !important;
	background: var(--zsc-surface) !important; border: 1px solid var(--zsc-line) !important; color: var(--zsc-text) !important;
	font: inherit; font-size: .9rem !important;
}
.zsc-search__input:focus { border-color: var(--zsc-accent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--zsc-accent) 22%, transparent) !important; outline: none; }
.zsc-search__input::-webkit-search-cancel-button { display: none; }
.zsc-search__kbd {
	position: absolute; right: .6rem; display: grid; place-items: center; width: 22px; height: 22px;
	border: 1px solid var(--zsc-line); border-radius: 6px; color: var(--zsc-muted); font: 600 12px/1 var(--zms-mono, monospace);
}
.zsc-search__submit { position: absolute; right: .3rem; width: 34px; height: 34px; border: 0; background: none; opacity: 0; pointer-events: none; }
.zsc-search__panel {
	position: absolute; top: calc(100% + 10px); right: 0; width: min(440px, 90vw); padding: .75rem;
	background: var(--zsc-surface); border: 1px solid var(--zsc-line); border-radius: var(--zsc-r-lg); box-shadow: var(--zsc-pop); z-index: 5;
}

/* ----- Menus ------------------------------------------------------------------- */
.zsc-nav { min-width: 0; }
.zsc-menu { list-style: none; margin: 0; padding: 0; }
.zsc-nav--header > .zsc-menu { display: flex; align-items: center; gap: .15rem; flex-wrap: nowrap; }
.zsc-nav--header .zsc-menu > li { position: relative; }
.zsc-nav--header .zsc-menu > li.has-mega { position: static; }
.zsc-menu__link {
	display: flex; align-items: center; gap: .4rem; padding: .5rem .75rem; border-radius: 10px;
	color: var(--zsc-soft); font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .15s, background-color .15s;
}
.zsc-menu__link > .zsc-i--chevron { opacity: .6; transition: transform .2s; }
.zsc-nav--header li:hover > .zsc-menu__link > .zsc-i--chevron,
.zsc-nav--header li.is-open > .zsc-menu__link > .zsc-i--chevron { transform: rotate(180deg); }
.zsc-nav--header .zsc-menu > li > .zsc-menu__link:hover,
.zsc-nav--header .zsc-menu > li.is-open > .zsc-menu__link,
.zsc-nav--header .zsc-menu > li.current-menu-item > .zsc-menu__link,
.zsc-nav--header .zsc-menu > li.current-menu-ancestor > .zsc-menu__link { color: var(--zsc-strong); }
.zsc-nav--soft .zsc-menu > li > .zsc-menu__link:hover,
.zsc-nav--soft .zsc-menu > li.is-open > .zsc-menu__link,
.zsc-nav--soft .zsc-menu > li.current-menu-item > .zsc-menu__link { background: color-mix(in srgb, var(--zsc-raised) 80%, transparent); }
.zsc-nav--underline .zsc-menu > li > .zsc-menu__link { border-radius: 0; box-shadow: inset 0 -2px 0 transparent; }
.zsc-nav--underline .zsc-menu > li > .zsc-menu__link:hover,
.zsc-nav--underline .zsc-menu > li.current-menu-item > .zsc-menu__link { box-shadow: inset 0 -2px 0 var(--zsc-accent); }
.zsc-nav--pill .zsc-menu > li > .zsc-menu__link { border-radius: 99px; }
.zsc-nav--pill .zsc-menu > li.current-menu-item > .zsc-menu__link { background: var(--zsc-accent); color: var(--zsc-on-accent); }

.zsc-badge {
	display: inline-block; padding: .1rem .38rem; border-radius: 99px; font-size: .625rem; font-weight: 700; line-height: 1.3;
	letter-spacing: .03em; text-transform: uppercase; background: var(--zsc-accent); color: var(--zsc-on-accent);
}
.zsc-badge--new { background: var(--zsc-mint); color: #04221a; }
html[data-zsc-scheme="light"] .zsc-badge--new { color: #fff; }
.zsc-badge--sale { background: var(--zsc-rose); color: #2a0610; }
.zsc-badge--info { background: var(--zsc-sky); color: #031a28; }

/* dropdowns */
.zsc-nav--header .zsc-sub, .zsc-mega, .zsc-cats__panel {
	visibility: hidden; opacity: 0; transform: translateY(6px); pointer-events: none;
	transition: opacity .16s var(--zsc-ease), transform .16s var(--zsc-ease), visibility 0s linear .16s;
}
.zsc-nav--header .zsc-sub {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 10; min-width: 230px; margin: 0; padding: .4rem; list-style: none;
	background: var(--zsc-surface); border: 1px solid var(--zsc-line); border-radius: var(--zsc-r-lg); box-shadow: var(--zsc-pop);
}
.zsc-nav--header .zsc-sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.zsc-nav--header .zsc-sub .zsc-sub { top: -.45rem; left: calc(100% + .4rem); }
.zsc-nav--header .zsc-sub li { position: relative; }
.zsc-nav--header .zsc-sub .zsc-menu__link { padding: .55rem .7rem; font-weight: 500; }
.zsc-nav--header .zsc-sub .zsc-menu__link:hover { background: var(--zsc-raised); color: var(--zsc-strong); }
.zsc-nav--header .zsc-sub .zsc-menu__link > .zsc-i--chevron { margin-left: auto; transform: rotate(-90deg); }
.zsc-nav--header li.zsc-cols-2 > .zsc-sub { display: grid; grid-template-columns: repeat(2, minmax(200px, 1fr)); }
.zsc-nav--header li.zsc-cols-3 > .zsc-sub { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); }
.zsc-nav--header li.zsc-cols-4 > .zsc-sub { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); }

.zsc-nav--header li:hover > .zsc-sub, .zsc-nav--header li.is-open > .zsc-sub,
.zsc-nav--header li:hover > .zsc-mega, .zsc-nav--header li.is-open > .zsc-mega,
[data-zsc-popover].is-open > .zsc-cats__panel {
	visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s;
}
.zsc-nav--header li:focus-within > .zsc-sub, .zsc-nav--header li:focus-within > .zsc-mega { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
.zsc-nav--header.is-closing li > .zsc-sub, .zsc-nav--header.is-closing li > .zsc-mega { visibility: hidden !important; opacity: 0 !important; }

/* mega panels: positioned against the header row */
.zsc-mega { position: absolute; top: 100%; z-index: 10; }
.zsc-mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.zsc-mega--container { left: 50%; width: min(var(--zsc-max), calc(100vw - var(--zsc-gutter) * 2)); translate: -50% 0; }
.zsc-mega--narrow { left: 50%; width: min(640px, calc(100vw - var(--zsc-gutter) * 2)); translate: -50% 0; }
.zsc-mega--full { left: 0; right: 0; }
.zsc-mega__inner {
	margin-top: 6px; padding: 1.5rem; box-sizing: border-box; max-height: calc(100vh - 140px); overflow: auto;
	background: var(--zsc-surface); border: 1px solid var(--zsc-line); border-radius: var(--zsc-r-lg); box-shadow: var(--zsc-pop); color: var(--zsc-text);
}
.zsc-mega--full .zsc-mega__inner { margin-top: 0; border-radius: 0; border-inline: 0; padding-inline: max(var(--zsc-gutter), calc((100vw - var(--zsc-max)) / 2)); }
.zsc-mega__inner > :first-child { margin-top: 0; }
.zsc-mega__inner :where(ul) { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.zsc-mega__inner :where(ul a) { display: block; padding: .35rem .5rem; margin-inline: -.5rem; border-radius: 8px; color: var(--zsc-soft); text-decoration: none; }
.zsc-mega__inner :where(ul a:hover) { background: var(--zsc-raised); color: var(--zsc-strong); }
.zsc-mega__inner :where(h2, h3, h4, h5) { margin: 0 0 .6rem; color: var(--zsc-strong); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.zsc-mega__inner > :last-child { margin-bottom: 0; }

/* footer + drawer menus */
.zsc-nav--footer .zsc-menu, .zsc-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.zsc-nav--footer .zsc-menu__link { padding: 0; color: var(--zsc-subtle); font-weight: 400; white-space: normal; }
.zsc-nav--footer .zsc-menu__link:hover, .zsc-links a:hover { color: var(--zsc-strong); }
.zsc-links a { color: var(--zsc-subtle); text-decoration: none; font-size: .9rem; }

.zsc-nav--drawer .zsc-menu { display: grid; gap: .1rem; }
.zsc-nav--drawer li { position: relative; }
.zsc-nav--drawer .zsc-menu__link { padding: .7rem .75rem; font-size: 1rem; color: var(--zsc-text); border-radius: var(--zsc-r); }
.zsc-nav--drawer .zsc-menu__link:hover, .zsc-nav--drawer .current-menu-item > .zsc-menu__link { background: var(--zsc-raised); color: var(--zsc-strong); }
.zsc-nav--drawer li.has-sub > .zsc-menu__link { padding-right: 3rem; }
.zsc-sub-toggle { position: absolute; top: 2px; right: 2px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--zsc-subtle); cursor: pointer; }
.zsc-sub-toggle:hover { background: var(--zsc-raised); }
.zsc-sub-toggle .zsc-i { transition: transform .2s; }
.zsc-sub-toggle[aria-expanded="true"] .zsc-i { transform: rotate(180deg); }
.zsc-nav--drawer .zsc-sub { display: none; list-style: none; margin: 0 0 .25rem .9rem; padding: 0 0 0 .6rem; border-left: 1px solid var(--zsc-line); }
.zsc-nav--drawer li.is-open > .zsc-sub { display: grid; }
.zsc-nav--drawer .zsc-sub .zsc-menu__link { font-size: .925rem; color: var(--zsc-soft); padding-block: .55rem; }

/* ----- Categories dropdown + rail ------------------------------------------------ */
.zsc-cats { position: relative; }
.zsc-cats__btn {
	display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 .85rem; border-radius: var(--zsc-r);
	border: 1px solid var(--zsc-line); background: var(--zsc-surface); color: var(--zsc-text); font: inherit; font-weight: 600; cursor: pointer;
}
.zsc-cats__btn:hover, .zsc-cats.is-open .zsc-cats__btn { border-color: var(--zsc-accent); color: var(--zsc-strong); }
.zsc-cats__btn .zsc-i--chevron { opacity: .6; transition: transform .2s; }
.zsc-cats.is-open .zsc-cats__btn .zsc-i--chevron { transform: rotate(180deg); }
.zsc-cats__panel {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 10; width: min(520px, 90vw); padding: .5rem;
	background: var(--zsc-surface); border: 1px solid var(--zsc-line); border-radius: var(--zsc-r-lg); box-shadow: var(--zsc-pop);
}
.zsc-cats__panel[hidden] { display: block; }
.zsc-cats__panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem; }
.zsc-cats__panel a { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 10px; color: var(--zsc-text); text-decoration: none; }
.zsc-cats__panel a:hover { background: var(--zsc-raised); color: var(--zsc-strong); }
.zsc-cats__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.zsc-cats__count { color: var(--zsc-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.zsc-drawer .zsc-cats { width: 100%; }
.zsc-drawer .zsc-cats__btn { width: 100%; justify-content: flex-start; }
.zsc-drawer .zsc-cats__btn .zsc-i--chevron { margin-left: auto; }
.zsc-drawer .zsc-cats__panel { position: static; width: auto; margin-top: .4rem; box-shadow: none; display: none; }
.zsc-drawer .zsc-cats.is-open .zsc-cats__panel { display: block; }
.zsc-drawer .zsc-cats__panel ul { grid-template-columns: 1fr; }

.zsc-rail { display: flex; align-items: center; gap: .25rem; min-width: 0; width: 100%; overflow-x: auto; scrollbar-width: none; }
.zsc-rail::-webkit-scrollbar { display: none; }
.zsc-rail__label { color: var(--zsc-muted); margin-right: .4rem; white-space: nowrap; }
.zsc-rail__link { padding: .3rem .6rem; border-radius: 8px; color: var(--zsc-soft); text-decoration: none; white-space: nowrap; font-weight: 500; }
.zsc-rail__link:hover { background: var(--zsc-raised); color: var(--zsc-strong); }
.zsc-rail__status { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; color: var(--zsc-subtle); white-space: nowrap; padding-left: 1rem; }
.zsc-live { width: 7px; height: 7px; border-radius: 99px; background: var(--zsc-mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--zsc-mint) 18%, transparent); animation: zsc-blink 1.4s ease-in-out infinite; }
@keyframes zsc-blink { 50% { opacity: .35; } }

/* ----- Ticker ----------------------------------------------------------------------- */
.zsc-ticker { position: relative; overflow: hidden; width: 100%; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.zsc-ticker__track { display: flex; width: max-content; animation: zsc-ticker var(--zsc-ticker-s, 40s) linear infinite; }
/* Loops start once the page has settled (html.zms-ready, set by the theme ~3s after load or on first input). */
html:not(.zms-ready) .zsc-ticker__track, html:not(.zms-ready) .zsc-live { animation-play-state: paused; }
.zsc-ticker:hover .zsc-ticker__track { animation-play-state: paused; }
.zsc-ticker__run { display: flex; align-items: center; flex-shrink: 0; }
.zsc-ticker__item { display: inline-flex; align-items: center; gap: .45rem; padding-inline: 1.25rem; white-space: nowrap; color: var(--zsc-text); font-weight: 600; }
.zsc-ticker__item .zsc-i { color: color-mix(in srgb, var(--zsc-accent) var(--zms-ink-mix, 100%), var(--zms-strong, #fff)); }
.zsc-ticker__item a { color: inherit; text-decoration: none; }
.zsc-ticker__sep { color: var(--zsc-muted); font-size: .7em; }
@keyframes zsc-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.zsc-ticker__track { animation: none; }
	.zsc-ticker__run[aria-hidden="true"] { display: none; }
}

/* ----- Social, contact, text -------------------------------------------------------- */
.zsc-social { display: flex; flex-wrap: wrap; gap: .4rem; }
.zsc-social__link { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--zsc-soft); background: color-mix(in srgb, var(--zsc-raised) 70%, transparent); transition: background-color .15s, color .15s; }
.zsc-social__link:hover { background: var(--zsc-accent); color: var(--zsc-on-accent); }
.zsc-contact { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.zsc-contact a { display: inline-flex; align-items: center; gap: .4rem; color: var(--zsc-soft); text-decoration: none; }
.zsc-contact a:hover { color: var(--zsc-strong); }
.zsc-text { color: var(--zsc-subtle); font-size: .9rem; line-height: 1.6; }
.zsc-text p { margin: 0 0 .6rem; }
.zsc-col-title { margin: 0 0 .85rem; color: var(--zsc-strong); font: 600 .9375rem/1.3 var(--zms-display, inherit); }

/* ----- Drawer ---------------------------------------------------------------------- */
.zsc-drawer { position: fixed; inset: 0; z-index: 1000; }
.zsc-drawer[hidden] { display: none; }
.zsc-drawer__backdrop { position: absolute; inset: 0; background: rgba(4, 6, 12, .62); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.zsc-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: min(360px, 88vw); outline: none;
	background: var(--zsc-surface); border-right: 1px solid var(--zsc-line); box-shadow: var(--zsc-pop); transform: translateX(-100%); transition: transform .3s var(--zsc-ease);
}
.zsc-drawer--right .zsc-drawer__panel { left: auto; right: 0; border-right: 0; border-left: 1px solid var(--zsc-line); transform: translateX(100%); }
.zsc-drawer.is-open .zsc-drawer__backdrop { opacity: 1; }
.zsc-drawer.is-open .zsc-drawer__panel { transform: none; }
.zsc-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .75rem .75rem 1rem; border-bottom: 1px solid var(--zsc-line); }
.zsc-drawer__body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; overscroll-behavior: contain; }
.zsc-drawer__body > .zsc-el { display: block; }
.zsc-drawer .zsc-account.has-label, .zsc-drawer .zsc-scheme { justify-content: flex-start; width: 100%; border: 1px solid var(--zsc-line); }
body.zsc-drawer-open { overflow: hidden; }

/* ----- Mobile bottom bar ------------------------------------------------------------- */
.zsc-bottombar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-auto-columns: 1fr; grid-auto-flow: column;
	padding-bottom: env(safe-area-inset-bottom); background: var(--zsc-glass); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-top: 1px solid var(--zsc-line);
}
.zsc-bottombar__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; height: 60px; color: var(--zsc-subtle); text-decoration: none; font-size: .6875rem; font-weight: 600; }
.zsc-bottombar__item[aria-current="page"], .zsc-bottombar__item:hover { color: color-mix(in srgb, var(--zsc-accent) var(--zms-ink-mix, 100%), var(--zms-strong, #fff)); }
.zsc-bottombar__icon { position: relative; display: block; }
.zsc-bottombar .zsc-cart__count { top: -6px; right: -10px; }

/* ----- Back to top ---------------------------------------------------------------------- */
.zsc-totop {
	position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: 42px; height: 42px; display: grid; place-items: center;
	border: 1px solid var(--zms-line, #2f384e); border-radius: 12px; background: var(--zms-surface, #141a28); color: var(--zms-soft, #a9b2c7);
	box-shadow: var(--zms-shadow-pop, none); cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s;
}
.zsc-totop .zsc-i { transform: rotate(180deg); }
.zsc-totop.is-visible { opacity: 1; transform: none; }
.zsc-totop:hover { color: color-mix(in srgb, var(--zms-ember, #ff6b2c) var(--zms-ink-mix, 100%), var(--zms-strong, #fff)); }
body.zsc-has-bottombar .zsc-totop { bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body.zsc-has-bottombar .zsc-totop { bottom: 1rem; } }

/* ----- Footer ---------------------------------------------------------------------------- */
.zsc-footer { margin-top: auto; color: var(--zsc-subtle); background: color-mix(in srgb, var(--zsc-base) 60%, var(--zsc-surface)); border-top: 1px solid var(--zsc-raised); }
.zsc-frow.has-border + .zsc-frow.has-border, .zsc-frow.has-border:not(:first-child) { border-top: 1px solid color-mix(in srgb, var(--zsc-raised) 75%, transparent); }
.zsc-frow__inner { box-sizing: border-box; display: grid; gap: 2rem 2.5rem; width: 100%; max-width: calc(var(--zsc-max) + var(--zsc-gutter) * 2); margin-inline: auto; padding-inline: var(--zsc-gutter); }
.zsc-pad-sm .zsc-frow__inner { padding-block: 1.1rem; }
.zsc-pad-md .zsc-frow__inner { padding-block: 2rem; }
.zsc-pad-lg .zsc-frow__inner { padding-block: 3.25rem; }
.zsc-align-center .zsc-frow__inner { align-items: center; }
.zsc-fcol { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.zsc-fcol:empty { display: none; }
.zsc-cols-2 > .zsc-fcol:last-child, .zsc-cols-1-2 > .zsc-fcol:last-child { align-items: flex-end; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }
.zsc-fcol > .zsc-el { display: block; }
.zsc-copyright { margin: 0; font-size: .8125rem; color: var(--zsc-muted); }
.zsc-promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.zsc-promise { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--zsc-line); border-radius: var(--zsc-r-lg); background: color-mix(in srgb, var(--zsc-surface) 70%, transparent); }
.zsc-promise__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; background: color-mix(in srgb, var(--zsc-accent) 15%, transparent); color: color-mix(in srgb, var(--zsc-accent) var(--zms-ink-mix, 100%), var(--zms-strong, #fff)); }
.zsc-promise__title { margin: 0 0 .2rem; color: var(--zsc-strong); font-weight: 600; font-size: .9375rem; }
.zsc-promise__text { margin: 0; font-size: .8125rem; line-height: 1.5; }

@media (max-width: 899px) {
	.zsc-frow__inner { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	:is(.zsc-cols-2-1, .zsc-cols-2-1-1, .zsc-cols-2-1-1-1, .zsc-cols-3-1-1-1-1, .zsc-cols-3, .zsc-cols-5) > .zsc-fcol:first-child,
	.zsc-cols-1 > .zsc-fcol, .zsc-cols-2 > .zsc-fcol { grid-column: 1 / -1; }
	.zsc-cols-2 > .zsc-fcol:last-child { align-items: flex-start; justify-content: flex-start; }
}
@media (max-width: 560px) {
	.zsc-frow__inner { grid-template-columns: 1fr !important; }
}

/* Phones and touch screens: bars that stay on screen use a near-solid fill, not a backdrop blur
   (the blur is redrawn whenever content moves underneath, which costs frames on mid-range phones). */
@media (hover: none), (max-width: 1023px) {
	.zsc-header, .zsc-footer, .zsc-drawer, .zsc-bottombar { --zsc-glass: var(--zms-glass, color-mix(in srgb, var(--zsc-base) 96%, transparent)); }
	.zsc-bg-glass, .zsc-bottombar { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
