/* ==========================================================================
   Chapster — Editorial Commerce + Functional Liquid Glass
   Tokens are the single source of truth. Glass is used ONLY on the functional
   layer (header, search, drawers, toasts, sticky actions) — never on content.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Vazirmatn"; src: url(../fonts/vazirmatn-arabic.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Vazirmatn"; src: url(../fonts/vazirmatn-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lalezar"; src: url(../fonts/lalezar-arabic.woff2) format("woff2"); font-weight: 400; font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Bricolage Grotesque"; src: url(../fonts/bricolage-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap;
	unicode-range: U+0041-005A, U+0061-007A, U+0030-0039, U+00C0-00FF, U+2122, U+20AC; }

/* ---------- Tokens ---------- */
:root {
	/* colour */
	--bg: #F4F3EE;            /* bone white */
	--surface: #FBFAF7;
	--surface-muted: #EAE8E0;
	--surface-sunk: #E2E0D6;
	--text: #0E0E0C;
	--text-2: #34332E;
	--text-muted: #63625B;
	--border: #D9D7CD;
	--border-strong: #BDBAAE;
	--brand: #FFC700;         /* taxi yellow */
	--brand-hover: #F2B900;
	--on-brand: #0E0E0C;
	--ink: #0E0E0C;
	--on-ink: #F4F3EE;
	--success: #1D7A4C;
	--warning: #9A5B00;
	--danger: #B8322A;
	--focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--text), 0 0 0 7px rgb(255 199 0 / .6);

	/* glass */
	--glass-bg: rgb(244 243 238 / .68);
	--glass-border: rgb(255 255 255 / .55);
	--glass-blur: 18px;
	--glass-saturate: 145%;
	--glass-shadow: 0 10px 40px rgb(14 14 12 / .08), inset 0 1px 0 rgb(255 255 255 / .5);
	--glass-solid: #F4F3EE;

	/* type */
	--font-body: "Bricolage Grotesque", "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--font-display: "Bricolage Grotesque", "Lalezar", "Vazirmatn", sans-serif;
	--fs-xs: .8125rem; --fs-sm: .9375rem; --fs-md: 1rem; --fs-lg: 1.125rem;
	--fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
	--fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
	--fs-h1: clamp(2rem, 1.5rem + 2vw, 3rem);
	--fs-display: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem);

	/* space (8px system, 4px substeps) */
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--gutter: clamp(16px, 4vw, 40px);
	--maxw: 1440px;
	--section: clamp(56px, 8vw, 112px);

	/* radius */
	--r-sm: 10px; --r-md: 14px; --r-card: 18px; --r-lg: 24px; --r-pill: 999px;

	/* motion */
	--t-fast: 140ms; --t: 200ms; --t-slow: 240ms;
	--ease: cubic-bezier(.2, .7, .2, 1);

	--header-h: 72px;
	color-scheme: light;
}
@media (max-width: 767px) { :root { --header-h: 60px; } }

/* Dark-ready architecture (not enabled by default). */
[data-theme="dark"] {
	--bg: #121210; --surface: #1A1A17; --surface-muted: #24231F; --surface-sunk: #2D2C27;
	--text: #F4F3EE; --text-2: #D6D4CB; --text-muted: #A4A298; --border: #34332D; --border-strong: #4A4840;
	--glass-bg: rgb(18 18 16 / .66); --glass-border: rgb(255 255 255 / .1); --glass-solid: #121210;
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--font-body); font-size: var(--fs-md); line-height: 1.75;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 6px; }
[hidden] { display: none !important; }
.cx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cx-skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: var(--r-sm); }
.cx-skip:focus { top: 12px; }
.cx-icon { flex: none; }
.cx-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.cx-main { min-height: 60vh; }
.woocommerce-Price-amount, .cx-price, .cx-num { font-variant-numeric: tabular-nums; }

/* ---------- Typography ---------- */
.cx-display { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-display); line-height: 1.12; letter-spacing: -.01em; }
.cx-display--md { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); }
.cx-display mark { background: none; color: inherit; position: relative; z-index: 0; white-space: nowrap; }
.cx-display mark::before { content: ""; position: absolute; inset: 52% -.12em 4% -.12em; background: var(--brand); z-index: -1; transform: skewX(-8deg); border-radius: 4px; }
.cx-h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1); }
.cx-h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); }
.cx-h3 { font-size: var(--fs-h3); }
.cx-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-sm); font-weight: 700; color: var(--text-2); margin-bottom: var(--s4); }
.cx-eyebrow::before { content: ""; inline-size: 18px; block-size: 3px; background: var(--brand); border-radius: 2px; }
.cx-eyebrow--on-dark { color: var(--on-ink); }
.cx-prose { max-width: 72ch; line-height: 1.95; }
.cx-page--wide .cx-prose { max-width: none; }
.cx-prose h2 { font-size: var(--fs-h3); margin: 1.6em 0 .6em; }
.cx-prose a { color: var(--text); text-decoration-color: var(--brand); text-decoration-thickness: 2px; }

/* ---------- Glass (functional layer only) ---------- */
.cx-glass, .cx-header.is-scrolled .cx-glass-on-scroll {
	background: var(--glass-bg);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
	backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.cx-glass, .cx-header.is-scrolled .cx-glass-on-scroll { background: var(--glass-solid); }
}
@media (prefers-reduced-transparency: reduce) {
	.cx-glass, .cx-header.is-scrolled .cx-glass-on-scroll { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.cx-reduce-transparency .cx-glass, .cx-reduce-transparency .cx-glass-on-scroll { background: var(--glass-solid) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* ---------- Buttons ---------- */
.cx-btn, .button, a.button, button.button, input.button, .wc-block-components-button:not(.is-link), .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border-radius: var(--r-md);
	border: 1.5px solid transparent; background: var(--ink); color: var(--on-ink);
	font-weight: 700; font-size: var(--fs-md); line-height: 1.2; text-decoration: none; white-space: nowrap;
	transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.cx-btn:active, .button:active { transform: translateY(1px); }
.cx-btn--primary, .button.alt, .button.checkout, .single_add_to_cart_button, .wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button {
	background: var(--brand) !important; color: var(--on-brand) !important;
}
.cx-btn--primary:hover, .button.alt:hover, .button.checkout:hover, .single_add_to_cart_button:hover { background: var(--brand-hover) !important; }
.cx-btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.cx-btn--ghost:hover { border-color: var(--text); }
.cx-btn--lg { min-height: 56px; padding: 0 28px; font-size: var(--fs-lg); border-radius: 16px; }
.cx-btn--block { width: 100%; }
.cx-btn[disabled], .button.disabled, .button:disabled { opacity: .45; cursor: not-allowed; }
.button.loading { opacity: .6; }
.button.added::after { content: " ✓"; }
.added_to_cart { display: none !important; } /* drawer opens instead */

.cx-iconbtn {
	position: relative; display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px;
	border: 0; border-radius: 12px; background: transparent; color: inherit; text-decoration: none;
	transition: background-color var(--t-fast) var(--ease);
}
.cx-iconbtn:hover { background: rgb(14 14 12 / .06); }

.cx-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.cx-link-arrow .cx-icon { transition: transform var(--t) var(--ease); }
.cx-link-arrow:hover .cx-icon { transform: translateX(-4px); }

.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface-muted); text-decoration: none; font-size: var(--fs-sm); border: 0; }
.cx-chip:hover { background: var(--surface-sunk); }

.cx-badge { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); background: var(--ink); color: var(--on-ink); font-size: var(--fs-xs); font-weight: 700; }
.cx-badge--sale { background: var(--brand); color: var(--on-brand); }
.cx-badge--muted { background: var(--surface); color: var(--text-muted); }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input[type="url"], select, textarea, .input-text {
	min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--r-md);
	background: var(--surface); color: var(--text); width: 100%;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, .input-text:focus-visible { border-color: var(--text); box-shadow: 0 0 0 4px rgb(255 199 0 / .45); border-radius: var(--r-md); }
label { font-weight: 600; font-size: var(--fs-sm); }

/* ---------- Announcement ---------- */
.cx-announce { position: relative; background: var(--ink); color: var(--on-ink); font-size: var(--fs-sm); }
.cx-announce__text { margin: 0; padding-block: 9px; padding-inline-end: 56px; text-align: center; }
@media (max-width: 767px) { .cx-announce { font-size: var(--fs-xs); } .cx-announce__text { padding-block: 8px; text-align: start; } }
.cx-announce__close { position: absolute; inset-inline-end: 8px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: inherit; }

/* ---------- Header ---------- */
.cx-header { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top); }
.cx-header__bar { transition: background-color var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); border-block-end: 1px solid transparent; }
.cx-header:not(.is-scrolled) .cx-header__bar { background: var(--bg); border-block-end-color: var(--border); }
.cx-header.is-scrolled .cx-header__bar { border-inline: 0; border-block-start: 0; }
.cx-header__inner { display: flex; align-items: center; gap: var(--s4); block-size: var(--header-h); transition: block-size var(--t) var(--ease); }
.cx-header.is-scrolled .cx-header__inner { block-size: calc(var(--header-h) - 8px); }
.cx-logo { display: block; color: var(--text); flex: none; }
.cx-logo svg { block-size: 44px; inline-size: auto; }
.cx-header.is-scrolled .cx-logo svg { block-size: 38px; }
.cx-nav { flex: 1; min-width: 0; }
.cx-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.cx-nav__list a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.cx-nav__list a:hover, .cx-nav__list .current-menu-item > a { background: rgb(14 14 12 / .06); }
.cx-searchpill {
	display: flex; align-items: center; gap: 10px; inline-size: min(300px, 26vw); min-height: 44px; padding: 0 14px;
	border: 1.5px solid var(--border-strong); border-radius: var(--r-pill); background: var(--surface); color: var(--text-muted);
	font-size: var(--fs-sm); text-align: start;
}
.cx-searchpill:hover { border-color: var(--text); color: var(--text); }
.cx-searchpill__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-header__actions { display: flex; align-items: center; gap: 2px; }
.cx-cart-count {
	position: absolute; top: 3px; inset-inline-end: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
}
.cx-cart-count[hidden] { display: none; }
.cx-header__menu, .cx-header__search-mobile { display: none; }

@media (max-width: 1180px) { .cx-nav__list a { padding-inline: 8px; } .cx-searchpill { inline-size: 44px; padding: 0; justify-content: center; } .cx-searchpill__text { display: none; } }
@media (max-width: 1023px) {
	.cx-nav, .cx-searchpill { display: none; }
	.cx-header__menu, .cx-header__search-mobile { display: inline-grid; }
	.cx-header__inner { gap: var(--s2); }
	.cx-header__logo { margin-inline-end: auto; }
}
@media (max-width: 767px) {
	.cx-logo svg { block-size: 38px; }
	.cx-header.is-scrolled .cx-logo svg { block-size: 34px; }
	.cx-header__account { display: none; }
}

/* Checkout header — calm, no navigation */
.cx-checkout-head { border-block-end: 1px solid var(--border); background: var(--bg); }
.cx-checkout-head__inner { display: flex; align-items: center; justify-content: space-between; block-size: 68px; }
.cx-checkout-head__secure { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 700; font-size: var(--fs-sm); }

/* ---------- Dialogs: search, drawers ---------- */
dialog { padding: 0; border: 0; margin: 0; max-width: none; max-height: none; color: var(--text); background: transparent; }
dialog::backdrop { background: rgb(14 14 12 / .38); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
dialog[open] { animation: cx-fade var(--t) var(--ease); }
@keyframes cx-fade { from { opacity: 0; } }
@keyframes cx-slide-end { from { transform: translateX(-24px); opacity: 0; } }
@keyframes cx-slide-start { from { transform: translateX(24px); opacity: 0; } }
@keyframes cx-slide-up { from { transform: translateY(32px); opacity: 0; } }
html:has(dialog[open]) { overflow: hidden; }

.cx-search { inset: 0; inline-size: 100%; block-size: 100%; background: transparent; }
.cx-search__panel { inline-size: min(760px, calc(100% - 32px)); margin: 10vh auto 0; display: grid; gap: 10px; }
.cx-search__form { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; padding-inline-start: 18px; border-radius: 20px; }
.cx-search__input { border: 0 !important; background: transparent !important; box-shadow: none !important; min-height: 52px; font-size: var(--fs-lg); padding: 0; }
.cx-search__input::-webkit-search-cancel-button { display: none; }
.cx-search__body { background: var(--surface); border-radius: 20px; padding: var(--s5); display: grid; gap: var(--s5); max-block-size: 62vh; overflow: auto; box-shadow: 0 20px 60px rgb(14 14 12 / .16); }
.cx-search__title { font-size: var(--fs-xs); font-weight: 800; color: var(--text-muted); margin-bottom: 10px; }
.cx-search__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px; }
.cx-search__links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.cx-search__links a:hover { background: var(--surface-muted); }
.cx-search__products { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cx-search__products a { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 6px; border-radius: 12px; text-decoration: none; }
.cx-search__products a:hover, .cx-search__products a:focus-visible { background: var(--surface-muted); }
.cx-search__products img { inline-size: 56px; block-size: 70px; object-fit: cover; border-radius: 10px; background: var(--surface-muted); }
.cx-search__products .cx-search__price { font-weight: 700; font-size: var(--fs-sm); }
.cx-search__none { color: var(--text-muted); }
@media (max-width: 767px) {
	.cx-search__panel { inline-size: 100%; margin: 0; padding: calc(10px + env(safe-area-inset-top)) 10px 10px; block-size: 100%; grid-template-rows: auto 1fr; }
	.cx-search__body { max-block-size: none; }
}

.cx-drawer { position: fixed; inset-block: 0; inline-size: min(440px, 100vw); block-size: 100dvh; background: var(--bg); display: none; flex-direction: column; }
.cx-drawer[open] { display: flex; }
.cx-drawer--end { inset-inline-end: 0; inset-inline-start: auto; border-start-start-radius: var(--r-lg); border-end-start-radius: var(--r-lg); animation: cx-slide-end var(--t-slow) var(--ease); }
.cx-drawer--start { inset-inline-start: 0; inset-inline-end: auto; border-start-end-radius: var(--r-lg); border-end-end-radius: var(--r-lg); animation: cx-slide-start var(--t-slow) var(--ease); }
.cx-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 12px; padding-inline-start: 20px; margin: 10px; border-radius: 18px; }
.cx-drawer__head .cx-logo svg { block-size: 34px; }
.cx-drawer__title { font-size: var(--fs-lg); }
.cx-drawer__body { flex: 1; overflow: auto; padding: 8px 20px 20px; display: flex; flex-direction: column; }
@media (max-width: 767px) {
	.cx-drawer--end { inset: auto 0 0 0; inline-size: 100%; block-size: auto; max-block-size: 88dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; animation-name: cx-slide-up; padding-bottom: env(safe-area-inset-bottom); }
}
.cx-mobilenav .cx-nav__list { flex-direction: column; gap: 2px; }
.cx-mobilenav .cx-nav__list a { font-size: var(--fs-lg); padding: 12px; }
.cx-mobilenav__secondary { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--border); }
.cx-mobilenav__secondary a { display: block; padding: 10px 12px; text-decoration: none; color: var(--text-2); }

/* Mini cart inside the drawer */
.cx-minicart .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; flex: 1; }
.woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; padding: 14px 0; padding-inline-end: 36px; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.woocommerce-mini-cart-item > a:not(.remove) { display: contents; font-weight: 700; text-decoration: none; }
.woocommerce-mini-cart-item img { grid-row: span 3; inline-size: 76px; block-size: 95px; object-fit: cover; border-radius: 12px; background: var(--surface-muted); }
.woocommerce-mini-cart-item .remove { position: absolute; inset-inline-end: 0; top: 12px; display: grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 8px; text-decoration: none; font-size: 20px; color: var(--text-muted); }
.woocommerce-mini-cart-item .remove:hover { background: var(--surface-muted); color: var(--danger); }
.woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--text-2); }
.woocommerce-mini-cart-item dl.variation, .wc-item-meta { grid-column: 2; margin: 4px 0; display: grid; grid-template-columns: auto 1fr; gap: 0 8px; color: var(--text-muted); font-size: var(--fs-xs); }
dl.variation dt, dl.variation dd, dl.variation p { margin: 0; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 16px 0 12px; font-size: var(--fs-lg); }
.woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin: 0; position: sticky; bottom: 0; background: var(--bg); padding-block: 8px; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; color: var(--text); border-color: var(--border-strong); }
.woocommerce-mini-cart__buttons .checkout { order: -1; }
.woocommerce-mini-cart__empty-message { margin: auto; text-align: center; color: var(--text-muted); padding: 48px 0; }

/* Toast */
.cx-toast { position: fixed; z-index: 120; inset-inline: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); margin-inline: auto; inline-size: fit-content; max-inline-size: calc(100% - 32px); padding: 12px 18px; border-radius: 16px; font-weight: 600; animation: cx-slide-up var(--t) var(--ease); }

/* ---------- Sections ---------- */
.cx-section { padding-block: var(--section); }
.cx-section + .cx-section { padding-block-start: 0; }
.cx-section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }

/* Hero */
.cx-hero { position: relative; overflow: hidden; }
.cx-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: var(--s7); min-block-size: clamp(480px, 68vh, 760px); padding-block: var(--s7); }
.cx-hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--text-2); max-width: 36ch; margin-block: var(--s5) var(--s6); }
.cx-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cx-hero__facts { list-style: none; padding: 0; margin: var(--s6) 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-sm); color: var(--text-2); }
.cx-hero__facts li { display: inline-flex; gap: 6px; align-items: center; }
.cx-hero__visual { position: relative; aspect-ratio: 1 / 1; max-inline-size: 620px; inline-size: 100%; justify-self: center; }
.cx-hero__visual::before { content: ""; position: absolute; inset: 8% 6% 4%; background: var(--surface-muted); border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; }
.cx-hero__shirt { position: absolute; inline-size: 68%; filter: drop-shadow(0 24px 30px rgb(14 14 12 / .16)); }
.cx-hero__shirt--back { inset-block-start: 2%; inset-inline-end: 0; rotate: 7deg; }
.cx-hero__shirt--front { inset-block-end: 0; inset-inline-start: 0; rotate: -5deg; }
.cx-hero__sticker { position: absolute; inset-block-start: 8%; inset-inline-start: 6%; display: grid; place-items: center; inline-size: 104px; block-size: 104px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: var(--fs-sm); line-height: 1.4; text-align: center; rotate: -12deg; box-shadow: 0 8px 20px rgb(14 14 12 / .12); }
@media (max-width: 899px) {
	.cx-hero__grid { grid-template-columns: 1fr; min-block-size: 0; gap: var(--s5); padding-block: var(--s6) var(--s5); }
	.cx-hero__visual { max-inline-size: 340px; }
	.cx-hero__sticker { inline-size: 84px; block-size: 84px; font-size: var(--fs-xs); }
	.cx-hero__cta .cx-btn { flex: 1 1 200px; }
}

/* Shop by category */
.cx-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(210px, auto)); }
.cx-cat > a { position: relative; display: flex; flex-direction: column; justify-content: space-between; block-size: 100%; padding: 18px; border-radius: var(--r-card); background: var(--surface-muted); text-decoration: none; overflow: hidden; transition: background-color var(--t) var(--ease); }
.cx-cat > a:hover { background: var(--surface-sunk); }
.cx-cat--wide { grid-column: span 2; grid-row: span 2; }
.cx-cat--wide > a { background: var(--ink); color: var(--on-ink); }
.cx-cat--wide > a:hover { background: #1F1F1C; }
.cx-cat__art { position: absolute; inset-block-start: 8px; inset-inline-start: 50%; translate: -50% 0; inline-size: 58%; max-inline-size: 190px; transition: transform var(--t-slow) var(--ease); }
[dir="rtl"] .cx-cat__art { translate: 50% 0; }
.cx-cat--wide .cx-cat__art { inline-size: 62%; max-inline-size: 380px; inset-block-start: 6%; }
.cx-cat > a:hover .cx-cat__art { transform: translateY(-4px) rotate(-2deg); }
.cx-cat__text { position: relative; margin-top: auto; display: grid; gap: 2px; }
.cx-cat__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: var(--fs-lg); }
.cx-cat--wide .cx-cat__label { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); }
.cx-cat__desc { font-size: var(--fs-sm); color: var(--text-muted); }
.cx-cat--wide .cx-cat__desc { color: rgb(244 243 238 / .75); }
@media (max-width: 899px) {
	.cx-cats { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: minmax(190px, auto); }
	.cx-cat--wide { grid-row: auto; min-block-size: 300px; }
}

/* Steps */
.cx-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cx-steps__list li { padding: var(--s5); border-radius: var(--r-card); border: 1.5px solid var(--border); background: var(--surface); }
.cx-steps__num { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 12px; background: var(--brand); font-family: var(--font-display); font-size: 1.5rem; margin-bottom: var(--s4); }
.cx-steps__list h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.cx-steps__list p { color: var(--text-2); margin: 0; font-size: var(--fs-sm); }
@media (max-width: 767px) { .cx-steps__list { grid-template-columns: 1fr; } }

/* Editorial (full-bleed, subtle CSS grain — no AI asset needed) */
.cx-editorial { position: relative; background: var(--ink); color: var(--on-ink); padding-block: calc(var(--section) * 1.1); overflow: hidden; }
.cx-editorial::before { content: ""; position: absolute; inset: 0; opacity: .09; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cx-editorial__grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s7); align-items: end; }
.cx-editorial__body p { color: rgb(244 243 238 / .82); font-size: var(--fs-lg); line-height: 2; }
@media (max-width: 899px) { .cx-editorial__grid { grid-template-columns: 1fr; gap: var(--s5); } }
.cx-section + .cx-editorial, .cx-editorial + .cx-section { margin-block-start: 0; }
.cx-editorial + .cx-section { padding-block-start: var(--section); }

/* Price table */
.cx-pricetable-wrap { overflow-x: auto; border-radius: var(--r-card); border: 1.5px solid var(--border); background: var(--surface); }
.cx-pricetable { inline-size: 100%; border-collapse: collapse; min-inline-size: 520px; font-variant-numeric: tabular-nums; }
.cx-pricetable th, .cx-pricetable td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--border); }
.cx-pricetable thead th { font-size: var(--fs-sm); color: var(--text-muted); font-weight: 700; background: var(--surface-muted); }
.cx-pricetable tbody tr:last-child td, .cx-pricetable tbody tr:last-child th { border-bottom: 0; }
.cx-pricetable tbody th { font-weight: 800; }
.cx-pricetable td strong { font-size: var(--fs-lg); }
.cx-pricetable__note { font-size: var(--fs-sm); color: var(--text-muted); margin: 12px 4px 0; }

/* Benefits */
.cx-benefits__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.cx-benefits__list .cx-icon { inline-size: 52px; block-size: 52px; padding: 13px; border-radius: 16px; background: var(--brand); margin-bottom: var(--s4); }
.cx-benefits__list h3 { font-size: var(--fs-lg); margin-bottom: 4px; }
.cx-benefits__list p { color: var(--text-2); font-size: var(--fs-sm); margin: 0; }
@media (max-width: 899px) { .cx-benefits__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .cx-benefits__list { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.cx-footer { background: var(--ink); color: var(--on-ink); padding-block: var(--s8) var(--s5); margin-top: var(--section); }
.cx-editorial + .cx-footer, .cx-section:last-of-type + .cx-footer { margin-top: 0; }
.cx-footer > .cx-container { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s7); }
.cx-footer__logo { color: var(--on-ink); }
.cx-footer__logo svg { block-size: 64px; }
.cx-footer__tagline { margin-top: var(--s4); color: rgb(244 243 238 / .75); }
.cx-footer__social { display: flex; gap: 4px; margin-inline-start: -10px; }
.cx-footer__social .cx-iconbtn:hover { background: rgb(255 255 255 / .1); }
.cx-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.cx-footer__title { font-size: var(--fs-sm); color: var(--brand); margin-bottom: var(--s3); }
.cx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cx-footer ul a { display: inline-block; padding: 6px 0; text-decoration: none; color: rgb(244 243 238 / .85); font-size: var(--fs-sm); }
.cx-footer ul a:hover { color: var(--on-ink); text-decoration: underline; }
.cx-footer__legal { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: var(--s5); border-top: 1px solid rgb(255 255 255 / .12); font-size: var(--fs-xs); color: rgb(244 243 238 / .6); }
.cx-footer__legal p { margin: 0; }
@media (max-width: 899px) {
	.cx-footer > .cx-container { grid-template-columns: 1fr; gap: var(--s6); }
	.cx-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Product grid + ProductCard ---------- */
ul.products, .cx-grid-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6) var(--s4); }
ul.products::before, ul.products::after { display: none !important; }
@media (max-width: 1023px) { ul.products, .cx-grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	ul.products, .cx-grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) 10px; }
	.cx-grid-products--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.cx-grid-products--scroll > li { flex: 0 0 64%; scroll-snap-align: start; }
}
.cx-card { position: relative; display: flex; flex-direction: column; min-width: 0; width: auto !important; margin: 0 !important; float: none !important; }
.cx-card__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--surface-muted); }
.cx-card__img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.cx-card__img--second { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
	.cx-card:hover .cx-card__media.has-second .cx-card__img--second { opacity: 1; }
	.cx-card:hover .cx-card__media:not(.has-second) .cx-card__img { transform: scale(1.03); }
}
.cx-card__badges { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; display: flex; gap: 6px; }
.cx-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.cx-card__meta { margin: 0; font-size: var(--fs-xs); color: var(--text-muted); }
.cx-card__title { font-size: var(--fs-md); font-weight: 700; line-height: 1.5; margin: 2px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cx-card__title a { text-decoration: none; }
.cx-card__title a::after { content: ""; position: absolute; inset: 0 0 64px 0; } /* whole media+title area clickable, action stays separate */
.cx-card__rating { margin: 0 0 4px; font-size: var(--fs-xs); color: var(--text-2); }
.cx-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.cx-price, .price { font-weight: 800; color: var(--text); }
.price del, .cx-price del { color: var(--text-muted); font-weight: 500; font-size: .9em; margin-inline-end: 6px; }
.price ins, .cx-price ins { text-decoration: none; }
.woocommerce-Price-currencySymbol { font-size: .8em; font-weight: 600; }
.cx-swatches { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; }
.cx-swatch { inline-size: 16px; block-size: 16px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(14 14 12 / .22); }
.cx-card__action { position: relative; z-index: 1; margin-top: 10px; }
.cx-card__action .button { width: 100%; min-height: 42px; font-size: var(--fs-sm); background: transparent; color: var(--text); border-color: var(--border-strong); }
.cx-card__action .button:hover { border-color: var(--text); background: var(--surface); }

/* ---------- Shop / PLP ---------- */
.cx-page { padding-block: var(--s6) var(--section); }
.cx-page__head { margin-bottom: var(--s6); }
.cx-crumbs { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--s4); }
.cx-crumbs a { text-decoration: none; }
.cx-crumbs a:hover { text-decoration: underline; }
.cx-crumbs__sep { margin-inline: 8px; opacity: .5; }
.woocommerce-products-header { margin-bottom: var(--s5); }
.woocommerce-products-header__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1); }
.woocommerce-result-count { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); align-self: center; }
.cx-shop .woocommerce-result-count { float: inline-start; line-height: 48px; }
.woocommerce-ordering { float: inline-end; margin: 0 0 var(--s5); }
.woocommerce-ordering select { inline-size: auto; min-inline-size: 220px; }
.cx-shop ul.products { clear: both; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; justify-content: center; padding: 0; margin: var(--s7) 0 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-inline-size: 44px; block-size: 44px; border-radius: 12px; text-decoration: none; border: 1.5px solid var(--border); }
.woocommerce-pagination .current { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* ---------- PDP ---------- */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: var(--s7); align-items: start; position: relative; }
.single-product div.product > .onsale { position: absolute; z-index: 2; inset-block-start: 14px; inset-inline-start: 14px; }
.woocommerce-product-gallery { position: relative; grid-column: 1; margin: 0 !important; width: auto !important; float: none !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { border-radius: var(--r-card); overflow: hidden; background: var(--surface-muted); }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; padding: 0; margin: 10px 0 0; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 10px; cursor: pointer; opacity: .6; transition: opacity var(--t-fast); }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; box-shadow: 0 0 0 2px var(--text); }
.woocommerce-product-gallery__trigger { position: absolute; z-index: 3; inset-block-start: 12px; inset-inline-end: 12px; inline-size: 44px; block-size: 44px; border-radius: 12px; background: var(--glass-solid); display: grid; place-items: center; text-decoration: none; font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 20px; }
.single-product .summary { grid-column: 2; position: sticky; top: calc(var(--header-h) + 16px); float: none !important; width: auto !important; }
.single-product .product_title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1); margin-bottom: var(--s3); }
.single-product .summary .price { font-size: 1.5rem; margin-bottom: var(--s4); }
.single-product .woocommerce-product-details__short-description { color: var(--text-2); }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin-block: var(--s5); }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-height: 56px; font-size: var(--fs-lg); }
.quantity .qty { inline-size: 96px; text-align: center; }
table.variations { border-collapse: collapse; inline-size: 100%; }
table.variations th, table.variations td { display: block; text-align: start; padding: 0 0 8px; }
.product_meta { font-size: var(--fs-sm); color: var(--text-muted); display: grid; gap: 4px; }
.cx-details { grid-column: 1; margin-top: var(--s5); border-top: 1px solid var(--border); }
.cx-details__item { border-bottom: 1px solid var(--border); }
.cx-details__summary { display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-weight: 800; font-size: var(--fs-lg); cursor: pointer; list-style: none; }
.cx-details__summary::-webkit-details-marker { display: none; }
.cx-details__summary .cx-icon { transition: transform var(--t) var(--ease); }
.cx-details__item[open] .cx-details__summary .cx-icon { transform: rotate(180deg); }
.cx-details__content { padding-bottom: var(--s5); }
.single-product .related, .single-product .upsells { grid-column: 1 / -1; margin-top: var(--s8); }
.single-product .related > h2, .single-product .upsells > h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); margin-bottom: var(--s5); }
.cx-sticky-atc { position: fixed; z-index: 40; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; padding-inline-start: 16px; border-radius: 20px; }
.cx-sticky-atc__info { display: grid; min-width: 0; }
.cx-sticky-atc__title { font-weight: 700; font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-sticky-atc__price { font-size: var(--fs-sm); }
@media (min-width: 900px) { .cx-sticky-atc { display: none !important; } }
@media (max-width: 899px) {
	.single-product div.product { grid-template-columns: 1fr; gap: var(--s5); }
	.woocommerce-product-gallery, .single-product .summary, .cx-details { grid-column: 1; }
	.single-product .summary { position: static; }
}

/* ---------- Woo notices, cart & checkout blocks ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin: 0 0 var(--s5); padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); border: 1.5px solid var(--border); border-inline-start: 4px solid var(--success);
}
.woocommerce-info { border-inline-start-color: var(--text); }
.woocommerce-error { border-inline-start-color: var(--danger); }
.woocommerce-message .button, .woocommerce-info .button { min-height: 40px; order: 2; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font-body); }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { position: sticky; top: 90px; }
.wc-block-components-text-input input, .wc-block-components-select select, .wc-blocks-components-select__select { border-radius: var(--r-md) !important; }
.wc-block-components-product-name { font-weight: 700; text-decoration: none; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: 10px; }
.is-large.wc-block-cart .wc-block-cart-items th { color: var(--text-muted); }
.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button { min-height: 56px !important; border-radius: 16px !important; font-size: var(--fs-lg) !important; }

/* ---------- Posts ---------- */
.cx-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s6) var(--s5); }
.cx-postcard a { text-decoration: none; display: grid; gap: 10px; }
.cx-postcard__img img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); inline-size: 100%; }
.cx-postcard__title { font-size: var(--fs-h3); }
.cx-postcard__excerpt { color: var(--text-2); margin: 0; }
.cx-article { max-width: 820px; }
.cx-article__cover img { border-radius: var(--r-lg); inline-size: 100%; margin-bottom: var(--s6); }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: var(--s7); }

/* ---------- Empty / 404 ---------- */
.cx-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: var(--s8) var(--s4); border-radius: var(--r-lg); background: var(--surface); border: 1.5px dashed var(--border-strong); }
.cx-empty__icon { display: grid; place-items: center; inline-size: 72px; block-size: 72px; border-radius: 22px; background: var(--brand); margin-bottom: 8px; }
.cx-empty p { color: var(--text-2); max-width: 44ch; }
.cx-404__code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 12rem); line-height: 1; text-align: center; margin: 0 0 var(--s5); -webkit-text-stroke: 2px var(--text); color: transparent; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* Sample slogan printed on hero shirt */
.cx-shirt-slogan span { display: block; font-family: "Lalezar", sans-serif; color: var(--brand); font-size: clamp(1rem, 3.6vw, 2.6rem); line-height: 1.15; text-align: center; margin-top: 6%; }
.cx-hero__shirt .cx-shirt-slogan span { font-size: clamp(1.1rem, 3.4vw, 2.8rem); }
.cx-cat__art .cxs-shirt, .cx-hero__shirt .cxs-shirt { inline-size: 100%; }


/* CHAPSTER PDP fixes: compact gallery, non-sticky summary */
.single-product div.product .woocommerce-product-gallery{max-width:560px;margin-inline:auto}
.single-product div.product .woocommerce-product-gallery img{max-height:70vh;width:auto!important;max-width:100%;object-fit:contain;margin-inline:auto;display:block}
.single-product div.product .summary{position:static!important;top:auto!important}
.single-product div.product .related,.single-product div.product .upsells{clear:both;position:relative}
.cx-size-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:14px}
.cx-size-table th,.cx-size-table td{border:1px solid rgba(0,0,0,.12);padding:6px 8px;text-align:center}
.cx-size-table th{background:rgba(0,0,0,.04)}


/* CHAPSTER: category photos, real-tee configurator, header nav */
.cx-cat__art--photo{display:flex;align-items:center;justify-content:center}
.cx-cat__art--photo img{width:100%;height:100%;max-height:100%;object-fit:contain;display:block;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.cx-cat a:hover .cx-cat__art--photo img{transform:scale(1.04) rotate(-1.5deg)}
.cxs-shirt--real{position:relative}
.cxs-shirt--real .cxs-shirt__base{opacity:0}
.cxs-shirt--real::before{content:"";position:absolute;left:8.5625%;top:7.6923%;width:82.875%;height:85.5%;background:url(/wp-content/uploads/2026/09/cxs-tee-white.webp) center/100% 100% no-repeat;filter:drop-shadow(0 18px 22px rgba(0,0,0,.16));pointer-events:none}
.cxs-shirt--real.is-dark::before{background-image:url(/wp-content/uploads/2026/09/cxs-tee-black.webp)}
.cx-nav__more{position:relative}
.cx-nav__more>button{background:none;border:0;font:inherit;color:inherit;cursor:pointer;padding:0;display:inline-flex;gap:4px;align-items:center}
.cx-nav__more::after{content:"";position:absolute;inset-inline:0;top:100%;height:14px}
.cx-nav__sub{display:none;position:absolute;top:calc(100% + 12px);inset-inline-start:-12px;min-width:200px;background:#fff;border-radius:14px;box-shadow:0 14px 36px rgba(0,0,0,.13);padding:8px;list-style:none;margin:0;z-index:60}
.cx-nav__more:hover .cx-nav__sub,.cx-nav__more.is-open .cx-nav__sub{display:block}
.cx-nav__sub li{display:block}
.cx-nav__sub a{display:block;padding:9px 12px;border-radius:9px;white-space:nowrap}
.cx-nav__sub a:hover{background:#f3f1ec}
.cx-nav__list a[aria-current=page]{color:#1d1d1b;box-shadow:inset 0 -3px 0 #FFC700}

.cxs-shirt--real .cxs-shirt__shade{display:none}
.cxs-shirt--real .cxs-clip{-webkit-mask-image:none!important;mask-image:none!important}
.cxs-shirt--real .cxs-clip::after{content:"";position:absolute;left:8.5625%;top:7.6923%;width:82.875%;height:85.5%;background:url(/wp-content/uploads/2026/09/cxs-tee-white.webp) center/100% 100% no-repeat;mix-blend-mode:multiply;opacity:.55;pointer-events:none;z-index:3}
.cxs-shirt--real.is-dark .cxs-clip::after{background-image:url(/wp-content/uploads/2026/09/cxs-tee-black.webp);mix-blend-mode:soft-light;opacity:.9}
.cx-cat:not(.cx-cat--wide) .cx-cat__art--photo img{height:82%;object-position:center top;align-self:flex-start}
.cx-cat--wide .cx-cat__art--photo img{height:88%;align-self:flex-start}

.cxs-size:has([data-size-input="S"]),.cxs-size:has([data-size-input="3XL"]){display:none}
.cx-nav__list .cx-nav__more>button{padding:8px 12px;font-size:15px;line-height:26.25px;font-weight:600;border-radius:999px}
.cx-nav__sub a{font-size:14px;font-weight:500}

/* CHAPSTER: photo category cards + support bot */
.cx-cat--photo>a{position:relative;overflow:hidden;isolation:isolate}
.cx-cat--photo .cx-cat__art.cx-cat__art--photo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:-1;display:block}
.cx-cat--photo .cx-cat__art--photo img{width:100%!important;height:100%!important;object-fit:cover;object-position:center 30%;align-self:auto}
.cx-cat--photo .cx-cat__art--photo::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.72) 0%,rgba(0,0,0,.25) 45%,rgba(0,0,0,0) 70%)}
.cx-cat--photo .cx-cat__text,.cx-cat--photo .cx-cat__label,.cx-cat--photo .cx-cat__desc{color:#fff!important;position:relative}
.cx-cat--photo .cx-cat__desc{opacity:.85}
.cx-cat--photo a:hover .cx-cat__art--photo img{transform:scale(1.05)}
.cx-nav__more:focus-within .cx-nav__sub{display:block}
.cx-bot{position:fixed;left:20px;bottom:20px;z-index:9990;font-family:inherit}
.cx-bot__fab{display:flex;align-items:center;gap:10px;background:#1d1d1b;color:#fff;border:0;border-radius:999px;padding:8px 18px 8px 8px;cursor:pointer;box-shadow:0 10px 28px rgba(0,0,0,.25);font:inherit}
.cx-bot__fab span{width:36px;height:36px;border-radius:50%;background:#FFC700;color:#1d1d1b;display:grid;place-items:center;font-weight:800;font-size:18px}
.cx-bot__fab em{font-style:normal;font-size:14px;font-weight:600}
.cx-bot__panel{position:absolute;left:0;bottom:62px;width:min(360px,calc(100vw - 40px));height:min(480px,70vh);background:#fff;border-radius:20px;box-shadow:0 20px 50px rgba(0,0,0,.22);display:flex;flex-direction:column;overflow:hidden}
.cx-bot__panel[hidden]{display:none}
.cx-bot__head{background:#1d1d1b;color:#fff;padding:14px 16px;display:flex;align-items:baseline;gap:8px}
.cx-bot__head small{color:#FFC700;font-size:12px}
.cx-bot__x{margin-inline-start:auto;background:none;border:0;color:#fff;font-size:22px;cursor:pointer;line-height:1}
.cx-bot__log{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:#f6f4ef}
.cx-bot__msg{max-width:85%;padding:9px 12px;border-radius:14px;font-size:14px;line-height:1.8}
.cx-bot__msg--bot{background:#fff;align-self:flex-start;border-bottom-right-radius:4px}
.cx-bot__msg--me{background:#FFC700;align-self:flex-end;border-bottom-left-radius:4px}
.cx-bot__msg a{text-decoration:underline}
.cx-bot__chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px;background:#f6f4ef}
.cx-bot__chips button{border:1px solid #ddd;background:#fff;border-radius:999px;padding:5px 10px;font:inherit;font-size:12px;cursor:pointer}
.cx-bot__form{display:flex;gap:6px;padding:10px;border-top:1px solid #eee}
.cx-bot__form input{flex:1;border:1px solid #ddd;border-radius:999px;padding:9px 14px;font:inherit;font-size:14px}
.cx-bot__form button{background:#1d1d1b;color:#fff;border:0;border-radius:999px;padding:0 16px;font:inherit;cursor:pointer}
@media (max-width:600px){.cx-bot__fab em{display:none}.cx-bot__fab{padding:8px}}
.cx-cat--photo .cx-cat__art.cx-cat__art--photo{max-width:none!important;max-height:none!important;left:0!important;right:0!important;top:0!important;bottom:0!important;inline-size:auto!important;block-size:auto!important;margin:0!important;transform:none!important}
.cx-cat.cx-cat--photo .cx-cat__art--photo img{object-fit:cover!important;object-position:center 35%!important;height:100%!important;width:100%!important;max-width:none!important;max-height:none!important}
.cx-cat.cx-cat--photo .cx-cat__art.cx-cat__art--photo{translate:none!important;rotate:none!important;scale:none!important}

.cx-contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:24px 0}
.cx-contact__item{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border-radius:18px;background:#fff;border:1px solid #e8e5dc;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
a.cx-contact__item:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.08);border-color:#FFC700}
.cx-contact__item strong{font-size:13px;color:#8a867c;font-weight:600}
.cx-contact__item span{font-size:17px;font-weight:700;line-height:1.7}

/* CHAPSTER: bot categories + studio */
.cx-bot__chips{max-height:180px;overflow:auto}
.cx-bot__chips .cx-bot__human{background:#FFC700;border-color:#FFC700;font-weight:700}
.cx-bot__chips .cx-bot__back{background:transparent;border-style:dashed}
.cx-bot__form--wa{display:flex;flex-direction:column;gap:6px;padding:10px;background:#fff;border-radius:14px;border:0}
.cx-bot__form--wa input,.cx-bot__form--wa textarea{border:1px solid #ddd;border-radius:10px;padding:8px 10px;font:inherit;font-size:14px;resize:vertical}
.cx-bot__form--wa button{background:#25D366;color:#fff;border:0;border-radius:999px;padding:10px;font:inherit;font-weight:700;cursor:pointer}
.cx-studio__tabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 12px}
.cx-studio__tabs button{border:1px solid #e0ddd3;background:#fff;border-radius:999px;padding:7px 14px;font:inherit;font-size:14px;cursor:pointer}
.cx-studio__tabs button.is-on{background:#1d1d1b;color:#fff;border-color:#1d1d1b}
.cx-studio textarea{width:100%;border:1px solid #e0ddd3;border-radius:14px;padding:12px;font:inherit;font-size:16px;line-height:1.9;resize:vertical;box-sizing:border-box}
.cx-studio__row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;flex-wrap:wrap}
.cx-studio__go{background:#FFC700;color:#1d1d1b;border:0;border-radius:999px;padding:10px 18px;font:inherit;font-weight:700;cursor:pointer}
.cx-studio__go:disabled{opacity:.45;cursor:not-allowed}
.cx-studio__file{display:flex;align-items:center;justify-content:center;border:1.5px dashed #cfcabd;border-radius:14px;padding:18px;cursor:pointer;background:#f6f4ef}
.cx-studio__file input{position:absolute;opacity:0;width:1px;height:1px}
.cx-studio__msg{font-size:13px;color:#5d5a52;margin:8px 0 0}

/* CHAPSTER: back view photos + calligraphy styles */
.cxs-shirt--real[data-view=back]::before,.cxs-shirt--real[data-view=back] .cxs-clip::after{background-image:url(/wp-content/uploads/2026/09/cxs-tee-white-back.webp)}
.cxs-shirt--real.is-dark[data-view=back]::before,.cxs-shirt--real.is-dark[data-view=back] .cxs-clip::after{background-image:url(/wp-content/uploads/2026/09/cxs-tee-black-back.webp)}
.cx-studio__styles{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;font-size:14px}
.cx-studio__styles label{display:flex;align-items:center;gap:6px;cursor:pointer}
.cx-studio__styles small{color:#8a867c}

/* CHAPSTER: order request builder */
.cx-order{margin:28px 0 60px}
.cx-order__lines{display:grid;gap:18px}
.cx-order__line{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;gap:24px;width:100%;text-align:start;background:#fff;border:1.5px solid #e6e2d8;border-radius:24px;padding:18px 18px 18px 28px;cursor:pointer;font:inherit;color:inherit;transition:transform .25s,box-shadow .25s,border-color .25s}
.cx-order__line:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(0,0,0,.09);border-color:#FFC700}
.cx-order__img{background:#efece4;border-radius:18px;display:block;aspect-ratio:4/3;overflow:hidden}
.cx-order__img img{width:100%;height:100%;object-fit:contain;padding:10px;box-sizing:border-box}
.cx-order__info{display:flex;flex-direction:column;gap:8px}
.cx-order__info strong{font-size:26px;font-weight:900}
.cx-order__info em{font-style:normal;color:#8a867c;font-weight:600}
.cx-order__info span{line-height:1.9}
.cx-order__info b{font-size:20px;background:#FFC700;align-self:flex-start;padding:4px 12px;border-radius:10px;margin-top:6px}
.cx-order__info i{font-style:normal;font-weight:700;margin-top:8px}
.cx-order__lines,.cx-order__form,.cx-order__done{transition:opacity .28s,transform .28s}
.cx-order .is-out{opacity:0;transform:translateY(8px)}
.cx-order .is-in{animation:cxIn .38s ease}
@keyframes cxIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.cx-order__form{background:#fff;border:1.5px solid #e6e2d8;border-radius:24px;padding:22px}
.cx-order__chosen{display:flex;align-items:center;gap:14px;background:#f6f4ef;border-radius:16px;padding:10px 14px;margin-bottom:10px}
.cx-order__chosen img{width:84px;height:72px;object-fit:contain}
.cx-order__chosen div{display:flex;flex-direction:column;gap:2px;flex:1}
.cx-order__chosen small{color:#8a867c}
.cx-order__chosen em{font-style:normal;font-size:14px}
.cx-order__back{background:none;border:1px dashed #bbb;border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;cursor:pointer}
.cx-order fieldset{border:0;border-top:1px solid #eee;padding:18px 0 6px;margin:0}
.cx-order legend{font-weight:900;font-size:18px;padding:0}
.cx-order__hint,.cx-order__note{color:#6d6a61;font-size:13px}
.cx-order__sizes{list-style:none;padding:0;margin:10px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}
.cx-order__sizes li{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f6f4ef;border-radius:12px;padding:8px 12px}
.cx-order__step{display:flex;align-items:center;gap:4px}
.cx-order__step button{width:30px;height:30px;border-radius:50%;border:0;background:#fff;font-size:18px;cursor:pointer}
.cx-order__step input{width:52px;text-align:center;border:1px solid #ddd;border-radius:8px;padding:4px;font:inherit}
.cx-order__total{font-weight:700}
.cx-order__opt{display:flex;align-items:center;gap:8px;margin:8px 0;cursor:pointer}
.cx-order__file{display:block;border:1.5px dashed #cfcabd;border-radius:14px;padding:16px;text-align:center;cursor:pointer;background:#f6f4ef;margin-top:6px}
.cx-order__file input{position:absolute;opacity:0;width:1px;height:1px}
.cx-order textarea,.cx-order__f input{width:100%;box-sizing:border-box;border:1px solid #ddd;border-radius:12px;padding:10px;font:inherit}
.cx-order__f{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-weight:600;font-size:14px}
.cx-order__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cx-order__express{background:#fff6d6;border-radius:10px;padding:8px 12px;font-size:14px}
.cx-order__hp{position:absolute;left:-9999px;width:1px;height:1px}
.cx-order__submit{width:100%;background:#1d1d1b;color:#fff;border:0;border-radius:999px;padding:14px;font:inherit;font-weight:800;font-size:17px;cursor:pointer;margin-top:12px}
.cx-order__submit:disabled{opacity:.5}
.cx-order__msg{color:#b3261e;font-weight:600}
.cx-order__done{background:#fff;border:1.5px solid #FFC700;border-radius:24px;padding:40px;text-align:center}
.cx-order__done strong{font-size:26px}
@media (max-width:760px){.cx-order__line{grid-template-columns:1fr;padding:14px}.cx-order__row{grid-template-columns:1fr}}
.cx-order__line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.cx-order__img{aspect-ratio:16/10;max-height:320px}
.cx-order__colors{display:flex;align-items:center;gap:10px;margin:6px 0 4px;font-weight:700}
.cx-order__colors div{display:flex;gap:8px}
.cx-order__sw{display:flex;align-items:center;gap:6px;border:1.5px solid #ddd;background:#fff;border-radius:999px;padding:5px 12px 5px 6px;font:inherit;cursor:pointer}
.cx-order__sw span{width:20px;height:20px;border-radius:50%;background:var(--sw);border:1px solid #bbb}
.cx-order__sw.is-on{border-color:#1d1d1b;box-shadow:0 0 0 2px #FFC700}
.cx-order__wa{display:inline-block;margin-top:14px;background:#25D366;color:#fff;border-radius:999px;padding:12px 22px;font-weight:800;text-decoration:none}
.cx-order__optgroup{border-top:1px solid #eee}
.cx-soon{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;background:#fff;border:1.5px solid #e6e2d8;border-radius:24px;padding:18px;margin:28px 0 60px}
.cx-soon img{width:100%;border-radius:18px;display:block}
.cx-soon strong{font-size:28px;font-weight:900;background:#FFC700;padding:2px 12px;border-radius:10px}
.cx-soon p{line-height:2;margin:14px 0}
@media (max-width:760px){.cx-soon{grid-template-columns:1fr}}
