/* ==========================================================================
   Clout House — main stylesheet
   Colours, fonts and sizes come from Appearance → Customize → Clout House
   (as CSS variables). Add overrides in Customize → Additional CSS.
   ========================================================================== */

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	background: var(--ch-bg);
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ch-bg);
	color: var(--ch-text);
	font-family: var(--ch-font-body);
	font-size: var(--ch-fs-base);
	font-weight: var(--ch-weight);
	line-height: 1.5;
	letter-spacing: var(--ch-tracking);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.ch-lock { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, video, svg { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; margin: 0 0 .6em; line-height: 1.2; }

button {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	border-radius: 0;
}

input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--ch-text); color: var(--ch-bg); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.ch-skip:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	z-index: 1000; top: 8px; left: 8px;
	background: var(--ch-panel); padding: 10px 14px;
}

.ch-icon { width: 20px; height: 20px; flex: none; }
.ch-muted { color: var(--ch-muted); }
.ch-small { font-size: var(--ch-fs-small); }
.ch-hp { position: absolute !important; left: -9999px !important; opacity: 0; }
.ch-container { padding-left: var(--ch-gutter); padding-right: var(--ch-gutter); }

/* Underlined text link (Shop now, View all…) */
.ch-ulink {
	display: inline;
	padding-bottom: 2px;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 100% 1px;
	transition: background-size .45s cubic-bezier(.2, .7, .2, 1);
	cursor: pointer;
}
.ch-ulink:hover { background-position: 100% 100%; background-size: 0 1px; }
.ch-ulink--muted { color: var(--ch-muted); }

/* Grow-in underline (menus, toolbar) */
.ch-nav__link,
.ch-megapanel__link,
.ch-header__link .ch-label,
.ch-footer__menu a,
.ch-search__list a,
.ch-view__btn,
.ch-toolbar__filter,
.ch-mnav__extra a {
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 100% 100%;
	background-size: 0 1px;
	padding-bottom: 2px;
	transition: background-size .4s cubic-bezier(.2, .7, .2, 1);
}
.ch-nav__link:hover, .ch-nav__link.is-current, .ch-nav__link[aria-expanded="true"],
.ch-megapanel__link:hover, .ch-megapanel__link.is-active, .ch-megapanel__link.is-current,
.ch-header__link:hover .ch-label, .ch-header__link[aria-expanded="true"] .ch-label,
.ch-footer__menu a:hover,
.ch-search__list a:hover,
.ch-view__btn:hover, .ch-view__btn.is-active,
.ch-toolbar__filter:hover,
.ch-mnav__extra a:hover {
	background-position: 0 100%;
	background-size: 100% 1px;
}

/* Italic accent titles (drawer titles, "Search suggestions") */
.ch-accent-title,
.ch-drawer__title {
	font-family: var(--ch-font-heading);
	font-style: italic;
	font-weight: 400;
	font-size: var(--ch-fs-drawer-title);
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0;
}

/* ---------- Buttons ---------- */
.ch-btn,
.button,
button.button,
a.button,
input[type="submit"].button,
.woocommerce-button,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 28px;
	background: var(--ch-btn);
	color: var(--ch-btn-text);
	border: 1px solid var(--ch-btn);
	border-radius: 0;
	font-family: var(--ch-font-body);
	font-size: var(--ch-fs-base);
	font-weight: var(--ch-weight);
	letter-spacing: .03em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.ch-btn:hover,
.button:hover,
.woocommerce-button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
	background: transparent;
	color: var(--ch-btn);
}
.ch-btn--outline { background: transparent; color: var(--ch-text); border-color: var(--ch-text); }
.ch-btn--outline:hover { background: var(--ch-btn); color: var(--ch-btn-text); border-color: var(--ch-btn); }
.ch-btn--block { display: flex; width: 100%; margin-top: 10px; }
.ch-btn[disabled], .ch-btn.is-disabled, .button:disabled, .button.disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.ch-btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
input[type="number"], input[type="url"], input[type="date"], textarea, select,
.input-text {
	width: 100%;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--ch-line);
	border-radius: 0;
	padding: 12px 0;
	font-size: var(--ch-fs-base);
	color: var(--ch-text);
	transition: border-color .3s;
	-webkit-appearance: none;
	appearance: none;
}
select {
	padding-right: 24px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.4'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
}
textarea { border: 1px solid var(--ch-line); padding: 12px; min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ch-text); }
::placeholder { color: var(--ch-muted); opacity: 1; }
label { font-size: var(--ch-fs-small); color: var(--ch-muted); }

.ch-field { margin-bottom: 22px; }
.ch-field label { display: block; margin-bottom: 2px; }
.ch-contact { max-width: 560px; margin-top: 32px; }
.ch-contact__msg, .ch-news__msg { margin: 12px 0 0; font-size: var(--ch-fs-small); }

/* Checkboxes (filters) */
.ch-check {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ch-text);
	font-size: var(--ch-fs-base);
	cursor: pointer;
	position: relative;
	padding: 5px 0;
}
.ch-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ch-check__box {
	width: 13px; height: 13px;
	border: 1px solid var(--ch-text);
	flex: none;
	transition: background .2s;
}
.ch-check--radio .ch-check__box { border-radius: 50%; }
.ch-check input:checked + .ch-check__box { background: var(--ch-text); box-shadow: inset 0 0 0 2px var(--ch-panel); }
.ch-check input:focus-visible + .ch-check__box { outline: 1px solid var(--ch-text); outline-offset: 2px; }
.ch-check__count { font-size: 11px; color: var(--ch-muted); }

/* Swatches */
.ch-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 12px; height: 12px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, .18);
	background: var(--ch-surface);
	font-size: 7px;
	text-transform: uppercase;
	flex: none;
}
.ch-swatch--xs { width: 11px; height: 11px; }

/* ---------- Header ---------- */
.ch-header-wrap {
	position: relative;
	z-index: 100;
	background: var(--ch-panel);
	color: var(--ch-text);
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), background-color .35s, color .35s;
}
body.ch-sticky .ch-header-wrap { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); }
body.ch-transparent .ch-header-wrap {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0; right: 0;
	background: transparent;
	color: var(--ch-over-text);
}
body.ch-transparent:not(.ch-sticky) .ch-header-wrap { position: absolute; }
body.ch-transparent .ch-header-wrap.is-solid { background: var(--ch-panel); color: var(--ch-text); }
.ch-header-wrap.is-hidden { transform: translateY(-100%); }
.ch-header-wrap.is-hidden.is-open { transform: none; }

.ch-announcement {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 6px var(--ch-gutter);
	background: var(--ch-ann-bg);
	color: var(--ch-ann-text);
	font-size: var(--ch-fs-small);
	text-align: center;
	transition: background-color .35s, color .35s;
}
body.ch-transparent .ch-header-wrap:not(.is-solid) .ch-announcement { background: transparent; color: inherit; }

.ch-header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--ch-header-h);
	padding: 0 var(--ch-gutter);
	font-size: var(--ch-fs-nav);
}
.ch-header__left, .ch-header__right { display: flex; align-items: center; min-width: 0; }
.ch-header__right { justify-content: flex-end; gap: clamp(18px, 2.4vw, 34px); }
.ch-header__center { display: flex; justify-content: center; }
.ch-header__btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ch-header__btn .ch-ico { display: none; }
.ch-burger { display: none; margin-right: 14px; }

.ch-nav__list { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.ch-nav__item { margin: 0; }
.ch-nav__link { display: inline-block; white-space: nowrap; }

.ch-count { font-size: inherit; }
.ch-count::before { content: "("; }
.ch-count::after { content: ")"; }

/* Logo */
.ch-logo { display: inline-flex; align-items: center; justify-content: center; position: relative; line-height: 1; }
.ch-logo__text {
	font-family: var(--ch-font-logo);
	font-size: var(--ch-logo-fs);
	letter-spacing: var(--ch-logo-tracking);
	margin-right: calc(-1 * var(--ch-logo-tracking));
	text-transform: uppercase;
	font-weight: 400;
	white-space: nowrap;
}
.ch-logo__img { width: var(--ch-logo-w); max-height: calc(var(--ch-header-h) - 16px); object-fit: contain; transition: filter .35s, opacity .35s; }
.ch-logo__img--light { display: none; }
body.ch-transparent .ch-header-wrap:not(.is-solid) .ch-logo__img--light { display: block; }
body.ch-transparent .ch-header-wrap:not(.is-solid) .ch-logo__img--light ~ .ch-logo__img--dark,
body.ch-transparent .ch-header-wrap:not(.is-solid) .ch-logo__img--dark:has(+ .ch-logo__img--light) { display: none; }
body.ch-transparent .ch-header-wrap:not(.is-solid) .ch-logo__img--auto { filter: brightness(0) invert(1); }

/* Panels (mega menu + search) */
.ch-panels { position: absolute; left: 0; right: 0; top: 100%; }
.ch-panel {
	position: absolute;
	left: 0; right: 0; top: 0;
	background: var(--ch-panel);
	color: var(--ch-text);
	max-height: calc(100vh - var(--ch-header-h) - 30px);
	overflow-y: auto;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}
.ch-panel.is-open { opacity: 1; transform: none; }

.ch-megapanel__inner {
	display: grid;
	grid-template-columns: minmax(180px, 260px) minmax(180px, 260px) 1fr;
	gap: 24px;
	padding: 52px var(--ch-gutter) 64px;
	min-height: 380px;
}
.ch-megapanel__col { list-style: none; margin: 0; padding: 0; }
.ch-megapanel__li { margin: 0; }
.ch-megapanel__li.ch-gap { margin-top: 2.6em; }
.ch-megapanel__link { display: inline-block; line-height: 1.55; font-size: var(--ch-fs-nav); padding: 2px 0 1px; }
.ch-megapanel__sub { list-style: none; margin: 0; padding: 0; animation: ch-fade .35s ease; }
.ch-megapanel__media { display: flex; justify-content: flex-end; gap: 20px; }
.ch-megapanel__card { display: block; width: clamp(180px, 19vw, 260px); }
.ch-megapanel__img { display: block; aspect-ratio: 4 / 5; background: var(--ch-surface); overflow: hidden; }
.ch-megapanel__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.ch-megapanel__card:hover .ch-megapanel__img img { transform: scale(1.03); }
.ch-megapanel__caption { display: block; margin-top: 12px; font-size: var(--ch-fs-nav); }

@keyframes ch-fade { from { opacity: 0; } to { opacity: 1; } }

/* Search panel */
.ch-search { padding: 48px var(--ch-gutter) 64px; }
.ch-search__close { position: absolute; top: 28px; right: var(--ch-gutter); }
.ch-search__form {
	position: relative;
	display: flex;
	align-items: center;
	margin: 44px clamp(0px, 6vw, 120px) 0;
	border-bottom: 1px solid var(--ch-muted);
}
.ch-search__input { border: 0 !important; padding: 12px 40px 12px 0; font-size: calc(var(--ch-fs-base) + 2px); }
.ch-search__input::-webkit-search-cancel-button { display: none; }
.ch-search__submit { position: absolute; right: 0; }
.ch-search__body {
	display: grid;
	grid-template-columns: minmax(160px, 1fr) 3fr;
	gap: 40px;
	margin: 52px clamp(0px, 6vw, 120px) 0;
}
.ch-search__list { list-style: none; margin: 22px 0 0; padding: 0; }
.ch-search__list li { margin: 0 0 14px; }
.ch-search__results-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.ch-search__results .ch-grid { --ch-cols: 4; padding: 0; }
.ch-search__results .ch-card__quick,
.ch-search__results .ch-wish-toggle { display: none; }
.ch-search__empty { color: var(--ch-muted); }

/* Overlay */
.ch-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(17, 17, 17, .28);
	opacity: 0;
	transition: opacity .4s ease;
}
.ch-overlay.is-open { opacity: 1; }
.ch-overlay.is-drawer { z-index: 150; }

/* ---------- Drawers ---------- */
.ch-drawer {
	position: fixed;
	top: 0; right: 0; bottom: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	width: min(420px, 100vw);
	background: var(--ch-panel);
	color: var(--ch-text);
	transform: translateX(100%);
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
	will-change: transform;
}
.ch-drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.ch-drawer.is-open { transform: none; }
body.admin-bar .ch-drawer { top: var(--wp-admin--admin-bar--height, 0px); }

.ch-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 26px 28px 22px; }
.ch-drawer__close { display: inline-flex; padding: 4px; margin: -4px; }
.ch-drawer__content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.ch-drawer__body { flex: 1; overflow-y: auto; padding: 8px 28px 28px; overscroll-behavior: contain; }
.ch-drawer__foot { padding: 20px 28px 28px; }

.ch-empty { text-align: center; padding-top: 16vh; }
.ch-empty p { margin: 0 0 14px; }
.ch-empty--page { padding: 12vh var(--ch-gutter) 16vh; }

/* Recently viewed row */
.ch-recent__title { margin: 0 0 14px; }
.ch-recent__row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.ch-recent__row::-webkit-scrollbar { display: none; }
.ch-recent__item { flex: 0 0 78px; aspect-ratio: var(--ch-card-ratio); background: var(--ch-surface); overflow: hidden; }
.ch-recent__item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.ch-recent__item:hover img { opacity: .8; }

/* Cart drawer */
.ch-cart-items { list-style: none; margin: 0; padding: 0; }
.ch-cart-item { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--ch-line); }
.ch-cart-item:last-child { border-bottom: 0; margin-bottom: 0; }
.ch-cart-item__img { display: block; aspect-ratio: var(--ch-card-ratio); background: var(--ch-surface); overflow: hidden; }
.ch-cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.ch-cart-item__info { display: flex; flex-direction: column; min-width: 0; }
.ch-cart-item__row { display: flex; justify-content: space-between; gap: 12px; }
.ch-cart-item__row--bottom { margin-top: auto; align-items: center; padding-top: 12px; }
.ch-cart-item__name { line-height: 1.35; }
.ch-cart-item__price { white-space: nowrap; }
.ch-cart-item__var { margin: 4px 0 0; font-size: var(--ch-fs-small); }
.ch-cart-item.is-busy { opacity: .45; pointer-events: none; }

.ch-qty { display: inline-flex; align-items: center; border: 1px solid var(--ch-line); height: 32px; }
.ch-qty button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 100%; }
.ch-qty button[disabled] { opacity: .3; }
.ch-qty .ch-icon { width: 14px; height: 14px; }
.ch-qty span { min-width: 22px; text-align: center; font-size: var(--ch-fs-small); }

.ch-cart-foot { border-top: 1px solid var(--ch-line); }
.ch-cart-foot__row { display: flex; justify-content: space-between; margin: 4px 0 6px; font-size: calc(var(--ch-fs-base) + 1px); }
.ch-cart-foot__view { display: table; margin: 16px auto 0; font-size: var(--ch-fs-small); }
.ch-ship-bar { margin-bottom: 16px; }
.ch-ship-bar p { margin: 0 0 8px; }
.ch-ship-bar__track { display: block; height: 2px; background: var(--ch-line); }
.ch-ship-bar__track span { display: block; height: 100%; background: var(--ch-text); transition: width .6s ease; }

/* Wishlist drawer */
.ch-wish-row { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--ch-line); }
.ch-wish-row__img { aspect-ratio: var(--ch-card-ratio); background: var(--ch-surface); overflow: hidden; }
.ch-wish-row__img img { width: 100%; height: 100%; object-fit: cover; }
.ch-wish-row__info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ch-wish-row__info .ch-ulink { margin-top: auto; font-size: var(--ch-fs-small); }
.ch-wish-row__remove { align-self: start; }
.ch-wish-row__remove .ch-icon { width: 16px; height: 16px; }

/* Account drawer */
.ch-account__title { font-size: calc(var(--ch-fs-base) + 2px); margin: 14vh 0 10px; text-align: center; }
.ch-account__text { color: var(--ch-muted); text-align: center; margin-bottom: 28px; }
.ch-account__hello { margin: 8px 0 20px; }
.ch-account__links { list-style: none; margin: 0; padding: 0; }
.ch-account__links li { border-bottom: 1px solid var(--ch-line); }
.ch-account__links a { display: block; padding: 14px 0; }

/* Mobile menu */
.ch-mnav__list { list-style: none; margin: 0; padding: 0; }
.ch-mnav__list--d0 > .ch-mnav__item { border-bottom: 1px solid var(--ch-line); }
.ch-mnav__toggle, .ch-mnav__link { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 15px 0; font-size: calc(var(--ch-fs-base) + 3px); text-align: left; }
.ch-mnav__list--d1 .ch-mnav__toggle, .ch-mnav__list--d1 .ch-mnav__link,
.ch-mnav__list--d2 .ch-mnav__link { font-size: var(--ch-fs-base); padding: 9px 0; }
.ch-mnav__sub { padding: 0 0 12px 12px; }
.ch-mnav__toggle .ch-icon { width: 16px; height: 16px; transition: transform .3s; }
.ch-mnav__toggle[aria-expanded="true"] .ch-icon { transform: rotate(45deg); }
.ch-mnav__link--all { color: var(--ch-muted); }
.ch-mnav__extra { list-style: none; margin: 28px 0 0; padding: 0; }
.ch-mnav__extra li { margin: 0 0 12px; }

/* Toast */
.ch-toast {
	position: fixed;
	left: 50%; bottom: 24px;
	z-index: 400;
	transform: translate(-50%, 12px);
	opacity: 0;
	background: var(--ch-text);
	color: var(--ch-bg);
	padding: 12px 20px;
	font-size: var(--ch-fs-small);
	transition: opacity .3s, transform .3s;
	pointer-events: none;
	max-width: calc(100vw - 32px);
	text-align: center;
}
.ch-toast.is-open { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Hero / image banner ---------- */
.ch-hero {
	display: grid;
	grid-template-columns: repeat(var(--ch-hero-n, 1), minmax(0, 1fr));
	height: var(--ch-hero-h, 100vh);
	height: var(--ch-hero-h, 100svh);
	min-height: 420px;
	background: var(--ch-surface);
}
.ch-hero__panel { position: relative; overflow: hidden; min-width: 0; }
.ch-hero__media { position: absolute; inset: 0; display: block; }
.ch-hero__img, .ch-hero__img img, .ch-hero__video, .ch-hero__media .ch-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-hero__img--m { display: none; }
.ch-hero__shade { position: absolute; inset: 0; background: #000; pointer-events: none; }
.ch-hero .ch-ph { background: linear-gradient(170deg, #c3c0b8, #aaa69d); }
.ch-hero__panel:nth-child(2) .ch-ph { background: linear-gradient(170deg, #b5b2aa, #9f9b92); }
.ch-hero__panel:nth-child(3) .ch-ph { background: linear-gradient(170deg, #cbc8c0, #b1ada4); }

.ch-hero__caption {
	position: absolute;
	z-index: 2;
	color: var(--ch-over-text);
	padding: var(--ch-cap-pad, var(--ch-gutter));
	max-width: 640px;
}
.ch-pos--bottom-left .ch-hero__caption { left: 0; bottom: 0; padding-bottom: max(var(--ch-cap-pad, 0px), 64px); }
.ch-pos--bottom-right .ch-hero__caption { right: 0; bottom: 0; text-align: right; padding-bottom: max(var(--ch-cap-pad, 0px), 64px); }
.ch-pos--top-left .ch-hero__caption { left: 0; top: calc(var(--ch-header-h) + 60px); }
.ch-pos--bottom-center .ch-hero__caption { left: 50%; bottom: 0; transform: translateX(-50%); text-align: center; padding-bottom: max(var(--ch-cap-pad, 0px), 64px); width: 100%; }
.ch-pos--center .ch-hero__caption { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; width: 100%; }

.ch-hero__eyebrow { margin: 0 0 10px; font-size: var(--ch-fs-small); letter-spacing: .12em; text-transform: uppercase; }
.ch-hero__title {
	font-family: var(--ch-font-heading);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(24px, 2.2vw, 34px);
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0 0 14px;
}
.ch-pos--center .ch-hero__title { font-style: normal; font-size: clamp(32px, 4.4vw, 64px); margin-bottom: 22px; }
.ch-hero__text { margin: 0 0 16px; }
.ch-hero__link { font-size: var(--ch-fs-base); }

/* ---------- Product sections ---------- */
.ch-products-section { padding: 56px 0 96px; }
.ch-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--ch-gutter); margin-bottom: 26px; min-height: 24px; }
.ch-section-title { font-family: var(--ch-font-heading); font-size: clamp(22px, 2vw, 30px); margin: 0; }
.ch-section-head__right { display: flex; align-items: center; gap: 28px; }
.ch-carousel__arrows { display: inline-flex; gap: 12px; }
.ch-carousel__btn { display: inline-flex; padding: 4px; transition: opacity .3s; }
.ch-carousel__btn[disabled] { opacity: .25; cursor: default; }
.ch-carousel__btn .ch-icon { width: 16px; height: 16px; }
.ch-section-note { margin: 40px var(--ch-gutter); padding: 28px; border: 1px dashed var(--ch-line); color: var(--ch-muted); text-align: center; }

/* Product grid */
.ch-grid {
	--ch-c: var(--ch-cols, 4);
	--ch-gap: 20px;
	display: grid;
	grid-template-columns: repeat(var(--ch-c), minmax(0, 1fr));
	gap: 44px var(--ch-gap);
	list-style: none;
	margin: 0;
	padding: 0 var(--ch-gutter);
}
.ch-carousel__track {
	display: flex;
	gap: var(--ch-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	scroll-padding: 0 var(--ch-gutter);
	overscroll-behavior-x: contain;
}
.ch-carousel__track::-webkit-scrollbar { display: none; }
.ch-carousel__track > .ch-card { flex: 0 0 calc((100% - (var(--ch-c) - 1) * var(--ch-gap)) / var(--ch-c)); scroll-snap-align: start; }
.ch-carousel__track::after { content: ""; flex: 0 0 1px; }

/* Product card */
.ch-card { position: relative; margin: 0; min-width: 0; }
.ch-card__media { position: relative; aspect-ratio: var(--ch-card-ratio); background: var(--ch-surface); overflow: hidden; }
.ch-card__imglink { position: absolute; inset: 0; display: block; }
.ch-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-card__img--main { transition: opacity .5s ease; }
.ch-card__img--hover { opacity: 0; transition: opacity .6s ease; }
.ch-card.is-hover .ch-card__img--hover { opacity: 1; }
.ch-card.is-swapped .ch-card__img--hover { display: none; }
.ch-card__badge { position: absolute; top: 14px; left: 16px; z-index: 2; font-size: calc(var(--ch-fs-small) + 1px); pointer-events: none; }
.ch-wish-toggle, .ch-card__remove {
	position: absolute; top: 8px; right: 8px; z-index: 3;
	display: inline-flex; padding: 6px;
	opacity: 0;
	transition: opacity .3s;
}
.ch-wish-toggle .ch-icon { width: 18px; height: 18px; transition: fill .2s, transform .3s; }
.ch-wish-toggle.is-active .ch-icon { fill: currentColor; }
.ch-wish-toggle:active .ch-icon { transform: scale(.85); }
.ch-card.is-hover .ch-wish-toggle, .ch-wish-toggle.is-active, .ch-card__remove, .ch-wish-toggle:focus-visible { opacity: 1; }
.ch-card__arrow {
	position: absolute; top: 50%; z-index: 3;
	display: inline-flex; padding: 8px;
	transform: translateY(-50%);
	opacity: 0;
	transition: opacity .3s;
}
.ch-card__arrow .ch-icon { width: 16px; height: 16px; }
.ch-card__arrow--prev { left: 6px; }
.ch-card__arrow--next { right: 6px; }
.ch-card.is-hover .ch-card__arrow { opacity: 1; }
.ch-card__dots { position: absolute; top: 16px; left: 18px; z-index: 2; display: flex; flex-direction: column; gap: 6px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.ch-card__badge ~ .ch-card__dots { top: 40px; }
.ch-card__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ch-text); opacity: .3; transition: opacity .3s; }
.ch-card__dots i.is-active { opacity: 1; }
.ch-card.is-hover .ch-card__dots { opacity: 1; }
.ch-card__quick {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px;
	padding: 12px 10px;
	background: color-mix(in srgb, var(--ch-panel) 90%, transparent);
	transform: translateY(101%);
	transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.ch-card.is-hover .ch-card__quick { transform: none; }
.ch-card__size { padding: 4px 6px; font-size: var(--ch-fs-small); background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 50% 100%; background-size: 0 1px; transition: background-size .3s; }
.ch-card__size:hover { background-size: 70% 1px; }
.ch-card__size[disabled] { color: var(--ch-muted); text-decoration: line-through; cursor: not-allowed; }
.ch-card__size.is-loading { opacity: .4; }

.ch-card__info { padding-top: 13px; font-size: var(--ch-fs-product); }
.ch-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.ch-card__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-card__price { white-space: nowrap; flex: none; }
.ch-card__sub { color: var(--ch-muted); margin-top: 4px; }
.ch-card__swatches { display: flex; align-items: center; gap: 7px; margin-top: 9px; }
.ch-card__swatches .ch-swatch { cursor: pointer; transition: box-shadow .2s; }
.ch-card__swatches .ch-swatch.is-active { box-shadow: 0 0 0 2px var(--ch-bg), 0 0 0 3px var(--ch-text); }
.ch-card__more { font-size: 11px; color: var(--ch-muted); }

/* WooCommerce price markup */
.price del, .ch-card__price del { color: var(--ch-muted); margin-right: 6px; }
.price ins, .ch-card__price ins { text-decoration: none; }
.woocommerce-Price-currencySymbol { margin-right: 1px; }

/* ---------- Category tiles ---------- */
.ch-cats { display: grid; grid-template-columns: repeat(var(--ch-cats-n, 2), minmax(0, 1fr)); }
.ch-cats__item { display: block; position: relative; }
.ch-cats__img { position: relative; display: block; height: var(--ch-cats-h, 100vh); overflow: hidden; background: var(--ch-surface); }
.ch-cats__img img, .ch-cats__img .ch-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.ch-cats__item:hover .ch-cats__img img { transform: scale(1.025); }
.ch-cats .ch-ph { background: linear-gradient(170deg, #e2dfd8, #d3cfc6); }
.ch-cats__item:nth-child(2) .ch-ph { background: linear-gradient(170deg, #2f2e2c, #1d1c1b); }
.ch-cats__label { display: block; text-align: center; padding: 22px 16px 46px; font-size: var(--ch-fs-base); }
.ch-cats--label-over .ch-cats__label { position: absolute; left: 0; right: 0; bottom: 0; color: var(--ch-over-text); padding-bottom: 40px; }

/* ---------- Editorial ---------- */
.ch-editorial { padding: clamp(80px, 11vw, 160px) var(--ch-gutter); }
.ch-editorial__inner { margin: 0 auto; }
.ch-align--center { text-align: center; }
.ch-align--left .ch-editorial__inner { margin-left: 0; }
.ch-editorial__eyebrow { font-size: var(--ch-fs-small); letter-spacing: .12em; text-transform: uppercase; color: var(--ch-muted); margin-bottom: 18px; }
.ch-editorial__text { font-family: var(--ch-font-heading); font-size: clamp(20px, 1.9vw, 28px); line-height: 1.4; letter-spacing: 0; margin-bottom: 26px; }
.ch-editorial__text p:last-child { margin-bottom: 0; }

/* Placeholders */
.ch-ph { display: block; width: 100%; height: 100%; background: linear-gradient(170deg, var(--ch-surface), color-mix(in srgb, var(--ch-surface) 88%, #000)); }

/* ---------- Collection page ---------- */
.ch-collection-head { padding: 40px var(--ch-gutter) 0; }
.ch-page-title {
	font-family: var(--ch-font-heading);
	font-size: var(--ch-fs-page-title);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0;
}
.ch-collection-head .term-description, .ch-collection-head .page-description { max-width: 620px; margin-top: 14px; color: var(--ch-muted); }
.ch-collection-head .term-description p:last-child { margin: 0; }

.ch-toolbar {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ch-toolbar-offset, 0px));
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 56px;
	padding: 14px var(--ch-gutter);
	background: var(--ch-bg);
	transition: top .45s cubic-bezier(.2, .7, .2, 1);
}
.ch-toolbar__left { display: flex; gap: 16px; align-items: baseline; min-width: 0; }
.ch-toolbar__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-toolbar__count { font-size: var(--ch-fs-small); white-space: nowrap; }
.ch-toolbar__right { display: flex; align-items: center; gap: clamp(28px, 9vw, 160px); }
.ch-view { display: flex; align-items: center; gap: 16px; }
.ch-view__label { margin-right: 10px; }
.ch-view__m { display: none; }
.ch-grid--shop { margin-top: 18px; padding-bottom: 40px; }
.ch-grid--shop[data-cols="6"] { --ch-gap: 12px; row-gap: 32px; }
.ch-grid--shop[data-cols="6"] .ch-card__sub,
.ch-grid--shop[data-cols="6"] .ch-card__swatches,
.ch-grid--shop[data-cols="6"] .ch-card__quick { display: none; }
.ch-grid--shop[data-cols="6"] .ch-card__row { flex-direction: column; gap: 2px; }
.ch-grid--shop[data-cols="3"] { --ch-gap: 24px; }
.woocommerce-notices-wrapper:empty { display: none; }
.ch-collection-wrap .woocommerce-notices-wrapper { padding: 0 var(--ch-gutter); }

.ch-pagination { display: flex; justify-content: center; padding: 30px var(--ch-gutter) 90px; }
.ch-pagination ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.ch-pagination a, .ch-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 4px; }
.ch-pagination .current { border-bottom: 1px solid currentColor; }
.ch-pagination .ch-icon { width: 16px; height: 16px; }

/* Filter drawer */
.ch-filter { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.ch-filter .ch-drawer__body { padding-top: 40px; }
.ch-filter__group { border-bottom: 1px solid var(--ch-line); }
.ch-filter__group:first-child { border-top: 0; }
.ch-filter__terms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; padding: 2px 0 22px; }
.ch-filter__sort .ch-filter__terms { grid-template-columns: 1fr; }
.ch-filter__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ch-filter__actions .ch-btn { width: 100%; margin: 0; }

/* Accordions */
.ch-acc { border-top: 1px solid var(--ch-line); }
.ch-acc:last-child { border-bottom: 1px solid var(--ch-line); }
.ch-acc__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 0;
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.ch-acc__head::-webkit-details-marker { display: none; }
.ch-acc__head .ch-icon { width: 14px; height: 14px; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.ch-acc[open] > .ch-acc__head .ch-icon--plus { transform: rotate(45deg); }
.ch-acc[open] > .ch-acc__head .ch-icon--down { transform: rotate(180deg); }
.ch-acc__body { padding: 0 0 22px; }
.ch-acc[open] > .ch-acc__body { animation: ch-acc .35s ease; }
@keyframes ch-acc { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.ch-filter__group { border-top: 0; }

/* ---------- Product page ---------- */
.ch-pdp { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); align-items: start; }
.ch-pdp__gallery { position: relative; min-width: 0; }
.ch-pdp__track { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ch-pdp__gallery--stack .ch-pdp__track { grid-template-columns: 1fr; }
.ch-pdp__img { position: relative; display: block; width: 100%; aspect-ratio: var(--ch-card-ratio); background: var(--ch-surface); overflow: hidden; cursor: zoom-in; }
.ch-pdp__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.ch-pdp__img .ch-ph { position: absolute; inset: 0; }
.ch-pdp__dots { display: none; }

.ch-pdp__info { padding: 56px var(--ch-gutter) 60px clamp(24px, 3.6vw, 60px); min-width: 0; }
.ch-pdp__sticky { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ch-header-h) + 24px); max-width: 440px; }
.ch-pdp__badge { margin: 0 0 10px; color: var(--ch-muted); }
.ch-pdp__title { font-family: var(--ch-font-body); font-size: calc(var(--ch-fs-base) + 4px); font-weight: var(--ch-weight); letter-spacing: var(--ch-tracking); line-height: 1.3; margin: 0 0 8px; }
.ch-pdp__price { margin: 0 0 4px; font-size: calc(var(--ch-fs-base) + 1px); }
.ch-pdp__sub { margin: 0 0 22px; }
.ch-pdp__short { margin: 0 0 24px; color: var(--ch-muted); }

.ch-pdp-form { margin-top: 28px; }
.ch-opt { margin-bottom: 22px; }
.ch-opt__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.ch-opt__head--solo { margin-bottom: 16px; }
.ch-opt__label { font-size: var(--ch-fs-small); color: var(--ch-muted); }
.ch-opt__label [data-ch-opt-current] { color: var(--ch-text); }
.ch-opt__guide { font-size: var(--ch-fs-small); }
.ch-opt__values { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-optbtn {
	min-width: 52px; height: 42px; padding: 0 12px;
	border: 1px solid var(--ch-line);
	font-size: var(--ch-fs-small);
	transition: border-color .25s, background-color .25s, color .25s;
}
.ch-optbtn:hover { border-color: var(--ch-text); }
.ch-optbtn.is-selected { border-color: var(--ch-text); background: var(--ch-text); color: var(--ch-bg); }
.ch-optbtn.is-unavailable { color: var(--ch-muted); background-image: linear-gradient(to top right, transparent calc(50% - .5px), var(--ch-line) 50%, transparent calc(50% + .5px)); }
.ch-optbtn.is-unavailable.is-selected { background-color: transparent; color: var(--ch-muted); border-color: var(--ch-muted); }
.ch-optbtn--swatch { min-width: 0; width: 34px; height: 34px; padding: 0; border-radius: 50%; border-color: transparent; display: inline-flex; align-items: center; justify-content: center; }
.ch-optbtn--swatch .ch-swatch { width: 24px; height: 24px; font-size: 9px; }
.ch-optbtn--swatch.is-selected { background: none; border-color: var(--ch-text); }
.ch-optbtn--swatch.is-unavailable { background-image: none; opacity: .45; }
.ch-pdp-form__stock { min-height: 1.5em; margin: 6px 0 0; color: var(--ch-muted); }
.ch-pdp-form .single_add_to_cart_button { margin-top: 8px; }
.ch-pdp-form.is-shake .ch-opt--size .ch-opt__values { animation: ch-shake .4s; }
@keyframes ch-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.ch-pdp__wish { margin-top: 16px; text-align: center; }
.ch-wish-toggle--text { position: static; opacity: 1; padding: 0; font-size: var(--ch-fs-small); background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px; padding-bottom: 2px; }
.ch-wish-toggle__remove { display: none; }
.ch-wish-toggle--text.is-active .ch-wish-toggle__add { display: none; }
.ch-wish-toggle--text.is-active .ch-wish-toggle__remove { display: inline; }
.ch-pdp__model { margin: 18px 0 0; }
.ch-pdp__accs { margin-top: 34px; }
.ch-pdp__accs .ch-acc__body { color: var(--ch-text); font-size: var(--ch-fs-base); }
.ch-pdp__meta { margin-top: 22px; }
.ch-pdp__meta a { text-decoration: underline; text-underline-offset: 2px; }
.ch-pdp__related { padding-top: 70px; }

.ch-size-guide table, .ch-content table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: var(--ch-fs-small); }
.ch-size-guide th, .ch-size-guide td, .ch-content th, .ch-content td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--ch-line); font-weight: var(--ch-weight); }
.ch-size-guide thead th, .ch-content thead th { color: var(--ch-muted); }

.ch-zoom { position: fixed; inset: 0; z-index: 300; background: var(--ch-bg); opacity: 0; transition: opacity .35s; }
.ch-zoom.is-open { opacity: 1; }
.ch-zoom__scroll { height: 100%; overflow: auto; cursor: zoom-out; }
.ch-zoom__scroll img { width: 100%; max-width: 1800px; margin: 0 auto; }
.ch-zoom__close { position: fixed; top: 20px; right: 20px; z-index: 2; padding: 8px; background: var(--ch-bg); }

/* ---------- Footer ---------- */
.ch-footer { padding: 60px var(--ch-gutter) 0; background: var(--ch-bg); color: var(--ch-text); }
.ch-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 30px; }
.ch-footer__title { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .02em; }
.ch-footer__text { margin: 0 0 34px; max-width: 460px; }
.ch-news { position: relative; display: flex; align-items: center; max-width: 480px; flex-wrap: wrap; }
.ch-news input[type="email"] { padding-right: 36px; }
.ch-news button { position: absolute; right: 0; top: 10px; padding: 2px; }
.ch-news button .ch-icon { width: 16px; height: 16px; }
.ch-news__msg { width: 100%; }
.ch-footer__metaitem { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; }
.ch-footer__menu { list-style: none; margin: 0; padding: 0; }
.ch-footer__menu li { margin: 0 0 9px; }
.ch-wordmark { display: block; margin-top: clamp(60px, 9vw, 120px); line-height: 0; }
.ch-wordmark__text {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	font-family: var(--ch-font-logo);
	font-size: calc((100vw - 2 * var(--ch-gutter)) * 1.08 / var(--ch-wm-n, 6));
	font-weight: 400;
	line-height: .78;
	letter-spacing: 0;
	text-transform: uppercase;
	white-space: nowrap;
}
.ch-wordmark__sp { width: .35em; }
.ch-wordmark__img { width: 100%; height: auto; }
.ch-footer__bottom { padding: 26px 0 30px; font-size: 11px; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Pages & journal ---------- */
.ch-page--text { max-width: 820px; margin: 0 auto; padding: 56px var(--ch-gutter) 110px; }
.ch-page--wide { max-width: 1320px; margin: 0 auto; padding: 48px var(--ch-gutter) 110px; }
.ch-page-head { margin-bottom: 40px; }
.ch-content { line-height: 1.7; }
.ch-content h2 { font-family: var(--ch-font-heading); font-size: calc(var(--ch-fs-base) + 9px); margin: 2em 0 .6em; letter-spacing: 0; }
.ch-content h3 { font-size: calc(var(--ch-fs-base) + 2px); margin: 1.6em 0 .5em; }
.ch-content ul, .ch-content ol { padding-left: 18px; margin: 0 0 1.2em; }
.ch-content li { margin: 0 0 .4em; }
.ch-content a:not(.ch-btn):not(.button) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ch-content img { height: auto; }
.ch-content > :first-child { margin-top: 0; }
.ch-content .wp-block-details { border-bottom: 1px solid var(--ch-line); }
.ch-content .wp-block-details summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative; }
.ch-content .wp-block-details summary::-webkit-details-marker { display: none; }
.ch-content .wp-block-details summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 20px; font-weight: 300; transition: transform .3s; }
.ch-content .wp-block-details[open] summary::after { transform: rotate(45deg); }
.ch-content .wp-block-details > p { margin: 0 0 20px; color: var(--ch-muted); }
.ch-content h2 + .wp-block-details { border-top: 1px solid var(--ch-line); }

.ch-archive { padding-top: 50px; padding-bottom: 100px; }
.ch-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 20px; }
.ch-post-card__link { display: block; }
.ch-ratio--45 { display: block; aspect-ratio: 4 / 5; background: var(--ch-surface); overflow: hidden; }
.ch-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.ch-post-card__link:hover .ch-post-card__media img { transform: scale(1.03); }
.ch-post-card__meta { display: block; margin-top: 16px; font-size: var(--ch-fs-small); }
.ch-post-card__title { display: block; margin-top: 6px; font-family: var(--ch-font-heading); font-size: calc(var(--ch-fs-base) + 7px); line-height: 1.25; }
.ch-post-card__excerpt { display: block; margin-top: 8px; color: var(--ch-muted); }
.ch-single { padding: 56px 0 100px; }
.ch-single__head { max-width: 820px; margin: 0 auto 40px; padding: 0 var(--ch-gutter); text-align: center; }
.ch-single__hero { margin: 0 0 56px; }
.ch-single__hero img { width: 100%; max-height: 90vh; object-fit: cover; }
.ch-single__content, .ch-single__nav, .ch-single__comments { max-width: 760px; margin-left: auto; margin-right: auto; padding: 0 var(--ch-gutter); }
.ch-single__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--ch-line); }
.ch-searchform { display: flex; gap: 10px; align-items: center; max-width: 480px; }

/* Wishlist page */
.ch-wishlist-page .ch-grid { padding: 0; }
.ch-page--wide .ch-wishlist-page .ch-grid { --ch-cols: 4; }

/* ---------- WooCommerce classic pages (account, cart, notices) ---------- */
.woocommerce-message, .woocommerce-error, .woocommerce-info, .woocommerce-noreviews,
.wc-block-components-notice-banner {
	list-style: none;
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid var(--ch-line);
	background: transparent;
	font-size: var(--ch-fs-base);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	justify-content: space-between;
}
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; padding: 0 16px; order: 2; }

.woocommerce-account .ch-content { line-height: 1.6; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 56px; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--ch-line); margin: 0; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 0; text-decoration: none !important; }
.woocommerce-MyAccount-navigation .is-active a { font-weight: 500; }
.woocommerce-MyAccount-content { min-width: 0; }
#customer_login, .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
#customer_login h2, .woocommerce-account h2 { font-family: var(--ch-font-heading); font-size: 26px; margin-top: 0; }
.woocommerce form .form-row, .woocommerce-form-row { margin: 0 0 20px; }
.woocommerce form .form-row label, .woocommerce-form-row label { display: block; margin-bottom: 2px; }
.woocommerce-form__label-for-checkbox { display: flex !important; align-items: center; gap: 8px; color: var(--ch-text) !important; }
.woocommerce-form__label-for-checkbox input { width: auto; }
.woocommerce .password-input { display: block; position: relative; }
.woocommerce .show-password-input { position: absolute; right: 0; top: 10px; }
.woocommerce .show-password-input::after { content: "Show"; font-size: 11px; color: var(--ch-muted); }
.woocommerce-LostPassword { margin-top: 12px; font-size: var(--ch-fs-small); }
.required { color: var(--ch-muted); border: 0; text-decoration: none; }
.shop_table, .woocommerce-table, .woocommerce-orders-table { width: 100%; border-collapse: collapse; margin: 0 0 28px; }
.shop_table th, .shop_table td, .woocommerce-table th, .woocommerce-table td { text-align: left; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--ch-line); vertical-align: top; font-weight: var(--ch-weight); }
.shop_table thead th { color: var(--ch-muted); font-size: var(--ch-fs-small); }
.woocommerce-Addresses, .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; }
address { font-style: normal; line-height: 1.7; }
mark { background: none; color: inherit; font-weight: 500; }

/* Block cart / checkout touches */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--ch-font-body); }
.wc-block-components-button:not(.is-link) {
	background: var(--ch-btn) !important;
	color: var(--ch-btn-text) !important;
	border-radius: 0 !important;
	min-height: 52px;
	font-family: var(--ch-font-body);
	letter-spacing: .03em;
}
.wc-block-components-button:not(.is-link):hover { opacity: .85; }
.wc-block-components-text-input input, .wc-block-components-text-input textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input {
	border-radius: 0 !important;
	background: transparent !important;
}
.wc-block-components-title, .wc-block-cart__totals-title { font-family: var(--ch-font-heading) !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; }
.wc-block-components-radio-control__option, .wc-block-components-checkbox { border-radius: 0 !important; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { aspect-ratio: var(--ch-card-ratio); object-fit: cover; background: var(--ch-surface); }

/* ---------- Scroll reveal ---------- */
.ch-js .ch-reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--ch-delay, 0s); }
.ch-js .ch-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Elementor ---------- */
.ch-elementor-page .ch-main { overflow-x: clip; }
.elementor-widget-ch_hero, .elementor-widget-ch_categories { line-height: 0; }
.elementor-widget-ch_hero > *, .elementor-widget-ch_categories > * { line-height: 1.5; }
.elementor-editor-active .ch-js .ch-reveal, .elementor-editor-preview .ch-reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ch-grid { --ch-c: var(--ch-cols-t, min(var(--ch-cols, 4), 3)); }
	.ch-grid--shop { --ch-c: 3; }
	.ch-grid--shop[data-cols="6"] { --ch-c: 4; }
	.ch-search__results .ch-grid { --ch-c: 3; }
	.ch-search__results .ch-grid > :nth-child(4) { display: none; }
	.ch-pdp { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); }
	.ch-pdp__track { grid-template-columns: 1fr; }
	.ch-footer__top { grid-template-columns: 1fr 1fr; }
	.ch-megapanel__inner { grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) auto; }
}

@media (max-width: 900px) {
	:root { --ch-header-h: 58px !important; --ch-gutter: 16px !important; }
	.ch-nav, .ch-panels .ch-megapanel, .ch-hide-m { display: none !important; }
	.ch-burger { display: inline-flex; }
	.ch-header__btn .ch-label { display: none; }
	.ch-header__btn .ch-ico { display: inline-flex; }
	.ch-header__right { gap: 14px; }
	.ch-header__link { position: relative; }
	.ch-count {
		position: absolute; top: -6px; right: -8px;
		min-width: 16px; height: 16px; padding: 0 4px;
		border-radius: 8px;
		background: currentColor;
		font-size: 10px; line-height: 16px; text-align: center;
	}
	.ch-count::before, .ch-count::after { content: none; }
	.ch-count { color: inherit; }
	.ch-header__link .ch-count { -webkit-text-fill-color: var(--ch-panel); }
	body.ch-transparent .ch-header-wrap:not(.is-solid) .ch-count { -webkit-text-fill-color: #111; }
	.ch-logo__text { font-size: var(--ch-logo-fs-m); }
	.ch-logo__img { width: var(--ch-logo-w-m); }
	.ch-header { grid-template-columns: 1fr auto 1fr; }

	.ch-search { padding: 20px var(--ch-gutter) 40px; }
	.ch-search__close { top: 14px; }
	.ch-search__form, .ch-search__body { margin-left: 0; margin-right: 0; }
	.ch-search__form { margin-top: 36px; }
	.ch-search__body { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
	.ch-search__results .ch-grid { --ch-c: 2; }
	.ch-search__results .ch-grid > :nth-child(n+3) { display: none; }
	.ch-panel { max-height: calc(100vh - var(--ch-header-h)); }

	.ch-grid { --ch-c: var(--ch-cols-m, 2); --ch-gap: 10px; row-gap: 32px; }
	.ch-grid--shop, .ch-grid--shop[data-cols="3"], .ch-grid--shop[data-cols="4"] { --ch-c: 2; --ch-gap: 10px; }
	.ch-grid--shop[data-cols="6"] { --ch-c: 3; --ch-gap: 6px; }
	.ch-carousel__track > .ch-card { flex-basis: calc((100% - (var(--ch-c) - 1) * var(--ch-gap)) / var(--ch-c) - 22px); }
	.ch-card__arrow, .ch-card__dots, .ch-card__quick { display: none; }
	.ch-wish-toggle { opacity: 1; top: 2px; right: 2px; }
	.ch-card__info { font-size: calc(var(--ch-fs-product) - 1px); padding-top: 10px; }
	.ch-card__row { flex-direction: column; gap: 2px; }
	.ch-card__title { white-space: normal; }
	.ch-card__badge { top: 10px; left: 10px; font-size: 11px; }

	.ch-hero { height: var(--ch-hero-h-m, var(--ch-hero-h, 80vh)); height: var(--ch-hero-h-m, var(--ch-hero-h, 80svh)); }
	.ch-hero--m-first { grid-template-columns: 1fr; }
	.ch-hero--m-first .ch-hero__panel:not(:first-child) { display: none; }
	.ch-hero--m-stack { grid-template-columns: 1fr; height: auto; }
	.ch-hero--m-stack .ch-hero__panel { height: var(--ch-hero-h-m, 80vh); }
	.ch-hero__img--m { display: block; }
	.ch-hero__img--m + .ch-hero__img--d, .ch-hero__img--d:has(+ .ch-hero__img--m) { display: none; }
	.ch-pos--bottom-left .ch-hero__caption, .ch-pos--bottom-right .ch-hero__caption, .ch-pos--bottom-center .ch-hero__caption { padding-bottom: 40px; }

	.ch-cats { grid-template-columns: 1fr; }
	.ch-cats__img { height: var(--ch-cats-h-m, 70vh); }
	.ch-cats__label { padding: 16px 16px 34px; }

	.ch-products-section { padding: 40px 0 64px; }
	.ch-collection-head { padding-top: 28px; }
	.ch-toolbar { margin-top: 28px; padding-top: 12px; padding-bottom: 12px; }
	.ch-toolbar__count { display: none; }
	.ch-toolbar__right { gap: 22px; }
	.ch-view__label { display: none; }
	.ch-view__btn[data-ch-cols="4"] { display: none; }
	.ch-view__d { display: none; }
	.ch-view__m { display: inline; }
	.ch-view[data-cols="4"] .ch-view__btn[data-ch-cols="3"] { background-position: 0 100%; background-size: 100% 1px; }

	.ch-pdp { grid-template-columns: 1fr; }
	.ch-pdp__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
	.ch-pdp__track::-webkit-scrollbar { display: none; }
	.ch-pdp__img { flex: 0 0 100%; scroll-snap-align: start; }
	.ch-pdp__dots { display: flex; justify-content: center; gap: 6px; position: absolute; left: 0; right: 0; bottom: 14px; }
	.ch-pdp__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ch-text); opacity: .3; transition: opacity .3s; }
	.ch-pdp__dots i.is-active { opacity: 1; }
	.ch-pdp__info { padding: 26px var(--ch-gutter) 40px; }
	.ch-pdp__sticky { position: static; max-width: none; }
	.ch-pdp__related { padding-top: 30px; }

	.ch-footer__top { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
	.ch-footer__news { grid-column: 1 / -1; }
	.ch-footer__meta { grid-column: 1 / -1; display: flex; gap: 40px; }

	.ch-post-grid { grid-template-columns: 1fr 1fr; gap: 40px 10px; }
	.woocommerce-account .woocommerce, #customer_login, .u-columns, .woocommerce-Addresses, .col2-set { grid-template-columns: 1fr; gap: 32px; }
	.ch-drawer__head { padding: 20px 20px 16px; }
	.ch-drawer__body { padding: 6px 20px 24px; }
	.ch-drawer__foot { padding: 16px 20px 22px; }
}

@media (max-width: 480px) {
	.ch-post-grid { grid-template-columns: 1fr; }
	.ch-filter__terms { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ch-js .ch-reveal { opacity: 1; transform: none; }
}
