/* KC Music Studio – shared responsive layout. Colors and fonts come from the skin-*.css variables. */

/* ---------- Design tokens: one spacing, radius and shadow scale for every page ---------- */
body.kcms {
	--kc-space-1: 4px;
	--kc-space-2: 8px;
	--kc-space-3: 12px;
	--kc-space-4: 16px;
	--kc-space-5: 24px;
	--kc-space-6: 32px;
	--kc-space-7: 48px;
	--kc-space-8: 64px;
	--kc-section-gap: clamp(var(--kc-space-7), 7vw, var(--kc-space-8)); /* space above a page section */
	--kc-heading-gap: clamp(var(--kc-space-5), 3vw, var(--kc-space-6)); /* space under a section heading */
	--kc-radius-sm: 8px;
	--kc-radius: var(--kc-card-radius, 14px);
	--kc-shadow-sm: 0 2px 8px var(--kc-shadow);
	--kc-shadow-md: 0 10px 24px var(--kc-shadow);
	--kc-shadow-lg: 0 18px 44px var(--kc-shadow);
}

body.kcms {
	background: var(--kc-bg);
	color: var(--kc-text);
	font-family: var(--kc-body-font);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
body.kcms .page-wrap,
body.kcms .main-container,
body.kcms .page-area { background: transparent; }

body.kcms h1, body.kcms h2, body.kcms h3, body.kcms h4,
body.kcms .wp-block-heading {
	font-family: var(--kc-head-font);
	font-weight: var(--kc-head-weight, 700);
	color: var(--kc-heading);
	letter-spacing: var(--kc-head-tracking, -0.01em);
	line-height: 1.15;
}
/* Content headings site-wide share the spacing scale (specific sections below override). */
body.kcms :where(.entry-content) h2 { margin: var(--kc-space-7) 0 var(--kc-space-4); }
body.kcms :where(.entry-content) h3 { margin: var(--kc-space-6) 0 var(--kc-space-3); }
body.kcms :where(.entry-content > :is(h2, h3):first-child) { margin-top: 0; }
body.kcms a { color: var(--kc-link); }
body.kcms a:hover { color: var(--kc-link-hover); }
body.kcms :focus-visible { outline: 3px solid var(--kc-accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
body.kcms .site-header {
	background: var(--kc-header-bg);
	border-bottom: 1px solid var(--kc-border);
	padding: 14px 0;
}
body.kcms .site-header .heading-row { display: flex; align-items: center; flex-wrap: wrap; }
body.kcms .site-header .heading-row::before, body.kcms .site-header .heading-row::after { display: none; }
/* Header search: restyled below ("Search by title"); the theme's Additional CSS hides it, so it's re-shown there. */
@media (min-width: 768px) {
	body.kcms .site-heading { flex: 1 1 auto; width: auto; float: none; }
	body.kcms .header-right { flex: 0 0 auto; width: auto; float: none; display: flex; align-items: center; gap: 18px; margin-left: auto; }
	body.kcms .header-right .header-cart, body.kcms .header-right .header-my-account { float: none; margin: 0; }
}
body.kcms .site-branding-logo { padding: 0; }
body.kcms .custom-logo { max-height: 46px; width: auto; }
body.kcms .site-branding-text { display: none; }
body.kcms .header-cart .count { background: var(--kc-accent); color: var(--kc-accent-ink); }
body.kcms .amount-cart { background: var(--kc-surface-2); color: var(--kc-text); border-radius: 6px; }
body.kcms .header-cart a, body.kcms .header-login a, body.kcms .header-cart i, body.kcms .header-login i { color: var(--kc-text); }

/* The theme floats the cart and account icons at the right edge after scrolling. */
body.kcms .header-right .float-cart .cart-contents,
body.kcms .header-right .float-login .header-login a {
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: 14px;
	box-shadow: 0 8px 22px var(--kc-shadow);
	color: var(--kc-text);
}

/* ---------- Mini-cart dropdown (hover on the header cart) ---------- */
body.kcms .header-cart-block:hover ul.site-header-cart,
body.kcms.product-added-to-cart .header-cart-block ul.site-header-cart,
body.kcms .product-added-to-cart .header-cart-block ul.site-header-cart {
	width: min(360px, calc(100vw - 24px));
	min-width: 0;
	padding: var(--kc-space-5);
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-lg);
	text-align: left;
	animation: kcms-pop .18s ease;
}
@keyframes kcms-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
body.kcms ul.site-header-cart > li { margin: 0; padding: 0; }
body.kcms ul.site-header-cart .widget_shopping_cart { margin: 0; padding: 0; background: none; border: 0; }
body.kcms ul.site-header-cart .widget_shopping_cart_content { color: var(--kc-text); font-family: var(--kc-body-font); }

/* Items: thumbnail | title + quantity | remove */
body.kcms ul.site-header-cart ul.woocommerce-mini-cart {
	margin: 0 0 var(--kc-space-4);
	padding: 0 var(--kc-space-1) 0 0;
	max-height: 300px;
	overflow-y: auto;
	list-style: none;
}
body.kcms ul.site-header-cart li.woocommerce-mini-cart-item {
	position: relative;
	min-height: 80px;
	margin: 0;
	padding: var(--kc-space-3) 32px var(--kc-space-3) 72px;
	border-bottom: 1px solid var(--kc-border);
	list-style: none;
	text-align: left;
}
body.kcms ul.site-header-cart li.woocommerce-mini-cart-item:first-child { padding-top: 0; }
body.kcms ul.site-header-cart li.woocommerce-mini-cart-item:first-child img,
body.kcms ul.site-header-cart li.woocommerce-mini-cart-item:first-child a.remove { top: 0; }
body.kcms ul.site-header-cart li.woocommerce-mini-cart-item a:not(.remove) {
	display: block;
	color: var(--kc-heading);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.35;
	text-decoration: none;
}
body.kcms ul.site-header-cart li.woocommerce-mini-cart-item a:not(.remove):hover { color: var(--kc-accent); }
body.kcms ul.site-header-cart li.woocommerce-mini-cart-item img {
	position: absolute;
	left: 0;
	top: var(--kc-space-3);
	width: 56px;
	height: 56px;
	margin: 0;
	float: none;
	object-fit: contain;
	background: #fff;
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius-sm);
	box-shadow: var(--kc-shadow-sm);
}
body.kcms ul.site-header-cart li.woocommerce-mini-cart-item .quantity { display: block; margin-top: var(--kc-space-1); color: var(--kc-muted); font-size: 14px; }
body.kcms ul.site-header-cart li.woocommerce-mini-cart-item a.remove {
	position: absolute;
	left: auto;
	right: 0;
	top: var(--kc-space-3);
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--kc-muted) !important;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	background: transparent;
}
body.kcms ul.site-header-cart li.woocommerce-mini-cart-item a.remove:hover { background: var(--kc-surface-2); color: var(--kc-accent) !important; }

/* Total + buttons */
body.kcms ul.site-header-cart .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 var(--kc-space-4);
	padding: 0;
	border: 0;
	color: var(--kc-muted);
}
body.kcms ul.site-header-cart .woocommerce-mini-cart__total strong { font-weight: 600; }
body.kcms ul.site-header-cart .woocommerce-mini-cart__total .amount { font-family: var(--kc-head-font); font-size: 22px; font-weight: 600; color: var(--kc-heading); }
body.kcms ul.site-header-cart .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--kc-space-2); margin: 0; }
body.kcms ul.site-header-cart .woocommerce-mini-cart__buttons::before,
body.kcms ul.site-header-cart .woocommerce-mini-cart__buttons::after { content: none; display: none; }
body.kcms ul.site-header-cart .woocommerce-mini-cart__buttons a.button { width: 100%; margin: 0; min-height: 44px; padding: 10px 14px; font-size: 15px; }
body.kcms ul.site-header-cart .woocommerce-mini-cart__buttons a.button:not(.checkout) {
	background: transparent;
	color: var(--kc-outline-text) !important;
	border-color: var(--kc-border-strong);
}
body.kcms ul.site-header-cart .woocommerce-mini-cart__buttons a.button:not(.checkout):hover { background: var(--kc-surface-2); border-color: var(--kc-outline-border); }

/* Empty state */
body.kcms ul.site-header-cart .woocommerce-mini-cart__empty-message {
	margin: 0 0 var(--kc-space-1);
	text-align: center;
	font-family: var(--kc-head-font);
	font-weight: var(--kc-head-weight, 600);
	font-size: 21px;
	color: var(--kc-heading);
}
body.kcms ul.site-header-cart .woocommerce-mini-cart__empty-message::before {
	content: "";
	display: block;
	width: 56px;
	height: 56px;
	margin: 0 auto var(--kc-space-3);
	border-radius: 50%;
	background: var(--kc-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A63D2A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center / 26px no-repeat;
}
body.kcms ul.site-header-cart .kcms-minicart-sub { margin: 0 0 var(--kc-space-4); text-align: center; color: var(--kc-muted); font-size: 15px; }
body.kcms ul.site-header-cart .kcms-minicart-cta { margin: 0; }
body.kcms ul.site-header-cart .kcms-minicart-cta a.button { width: 100%; min-height: 44px; }

body.kcms .main-menu,
body.kcms .main-menu .navbar,
body.kcms #site-navigation {
	background: var(--kc-nav-bg);
	border: 0;
	border-bottom: 1px solid var(--kc-border);
	margin: 0;
}
body.kcms .navbar-nav > li > a,
body.kcms .navbar-default .navbar-nav > li > a {
	color: var(--kc-nav-text);
	font-family: var(--kc-body-font);
	font-weight: 600;
	font-size: 15.5px;
	letter-spacing: var(--kc-nav-tracking, 0.005em);
	text-transform: var(--kc-nav-case, none);
	padding-top: 16px;
	padding-bottom: 16px;
}
body.kcms .navbar-default .navbar-nav > li > a:hover,
body.kcms .navbar-default .navbar-nav > .active > a,
body.kcms .navbar-default .navbar-nav > .current-menu-item > a {
	color: var(--kc-accent);
	background: transparent;
	box-shadow: inset 0 -3px 0 var(--kc-accent);
}
body.kcms .navbar-default .navbar-toggle { border-color: transparent; }
body.kcms .navbar-default .navbar-toggle .icon-bar { background: var(--kc-text); }
body.kcms .navbar-brand.brand-absolute { color: var(--kc-muted); }
body.kcms .dropdown-menu { background: var(--kc-surface); border-color: var(--kc-border); }
body.kcms .dropdown-menu > li > a { color: var(--kc-text); }

@media (max-width: 767px) {
	/* Compact, sticky header: logo row shrinks and the menu row sticks to the top. */
	body.kcms .site-header { padding: 10px 0; border-bottom: 0; }
	body.kcms .site-heading { text-align: left; }
	body.kcms .custom-logo { max-height: 34px; }
	body.kcms .main-menu { position: sticky; top: 0; z-index: 999; box-shadow: 0 6px 18px var(--kc-shadow); }
	body.kcms .navbar-header { min-height: 56px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding-right: 4px; }
	body.kcms .navbar-header .navbar-brand.brand-absolute { display: none !important; }
	body.kcms .navbar-header .mobile-cart { order: 1; }
	body.kcms .navbar-header .mobile-account { order: 2; }
	body.kcms .navbar-header .open-panel { order: 3; position: static; margin: 0; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; cursor: pointer; }
	body.kcms .navbar-header .open-panel span { position: static; display: block; width: 24px; height: 2px; margin: 0; background: var(--kc-nav-text); transform: none; }
	body.kcms .navbar-header .mobile-cart .header-cart-block,
	body.kcms .navbar-header .mobile-cart .header-cart-inner,
	body.kcms .navbar-header .mobile-account .header-login { position: static; }
	body.kcms .navbar-collapse { background: var(--kc-nav-bg); border-top: 1px solid var(--kc-border); }
	body.kcms .navbar-nav > li > a { padding: 14px 18px; font-size: 16px; }
}

/* ---------- Buttons ---------- */
body.kcms .wp-block-button__link,
body.kcms .button,
body.kcms button.button,
body.kcms input[type="submit"],
body.kcms a.button,
body.kcms .woocommerce a.button,
body.kcms .woocommerce button.button,
body.kcms a.checkout-button.button.alt.wc-forward,
body.kcms button#place_order.button.alt,
body.kcms button.single_add_to_cart_button.button.alt,
body.kcms a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
	background: var(--kc-accent);
	color: var(--kc-accent-ink) !important;
	border: 2px solid var(--kc-accent);
	border-radius: var(--kc-btn-radius);
	font-family: var(--kc-body-font);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.01em;
	min-height: 48px;
	padding: 12px 22px;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
body.kcms .wp-block-button__link:hover,
body.kcms .button:hover,
body.kcms a.button:hover,
body.kcms input[type="submit"]:hover {
	background: var(--kc-accent-hover);
	border-color: var(--kc-accent-hover);
	color: var(--kc-accent-ink) !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px var(--kc-shadow);
}
body.kcms .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--kc-outline-text) !important;
	border-color: var(--kc-outline-border);
}
body.kcms .is-style-outline .wp-block-button__link:hover {
	background: var(--kc-surface-2);
	color: var(--kc-outline-text) !important;
	border-color: var(--kc-outline-border);
}

/* ---------- Product grids (homepage blocks + shop pages) ---------- */
body.kcms .wc-block-grid__products,
body.kcms ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 32px !important;
	padding: 0;
}
body.kcms ul.products::before, body.kcms ul.products::after { display: none; }
@media (min-width: 768px) {
	body.kcms .wc-block-grid__products, body.kcms ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1100px) {
	body.kcms .wc-block-grid__products, body.kcms ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	body.kcms .has-3-columns .wc-block-grid__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body.kcms .wc-block-grid__product,
body.kcms ul.products li.product {
	width: auto !important;
	max-width: none !important;
	flex: none !important;
	margin: 0 !important;
	padding: 0 0 16px !important;
	float: none !important;
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-card-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-align: left;
	font-size: 1em;
	transition: transform .18s ease, box-shadow .18s ease;
}
body.kcms .wc-block-grid__product:hover,
body.kcms ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 12px 28px var(--kc-shadow); }
/*
 * Image frame (.kcms-thumb, added in kcms-site-design.php): every product and category
 * card gets the same portrait 4:5 frame on a soft "music desk" background, and the whole
 * uncropped image sits inside it like a page, with a fine shadow.
 */
body.kcms .kcms-thumb {
	position: relative;
	aspect-ratio: 4 / 5;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--kc-space-4);
	margin: 0 0 var(--kc-space-3) !important;
	background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, var(--kc-surface-2) 100%);
	border-bottom: 1px solid var(--kc-border);
	overflow: hidden;
}
body.kcms ul.products li.product .kcms-thumb img,
body.kcms .wc-block-grid__product .kcms-thumb img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	aspect-ratio: auto;
	object-fit: contain;
	margin: 0;
	background: #fff;
	border: 0;
	border-radius: 2px;
	box-shadow: 0 1px 2px rgba(40, 25, 15, 0.10), 0 8px 18px var(--kc-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
body.kcms ul.products li.product:hover .kcms-thumb img,
body.kcms .wc-block-grid__product:hover .kcms-thumb img {
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(40, 25, 15, 0.10), 0 14px 28px var(--kc-shadow);
}
/* Category artwork is square or landscape: square frame for category cards. */
body.kcms ul.products li.product-category .kcms-thumb { aspect-ratio: 1 / 1; }
@media (max-width: 480px) { body.kcms .kcms-thumb { padding: var(--kc-space-3); } }
body.kcms .wc-block-grid__product-title,
body.kcms h2.woocommerce-loop-product__title {
	color: var(--kc-heading) !important;
	font-family: var(--kc-body-font);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
	padding: 0 14px !important;
	margin: 0 0 6px !important;
	letter-spacing: 0;
}
body.kcms .wc-block-grid__product-price,
body.kcms ul.products li.product .price {
	color: var(--kc-text);
	font-weight: 600;
	font-size: 15px;
	padding: 0 14px;
	margin: 0 0 12px !important;
}
body.kcms .woocommerce-Price-amount { color: inherit; }
body.kcms del, body.kcms del .woocommerce-Price-amount { color: var(--kc-muted); opacity: 1; }
body.kcms ins { text-decoration: none; }
body.kcms .wc-block-grid__product-add-to-cart,
body.kcms ul.products li.product .button { margin: auto 14px 0 !important; }
body.kcms .wc-block-grid__product-add-to-cart .wp-block-button__link,
body.kcms ul.products li.product .button { font-size: 14px; min-height: 42px; padding: 10px 12px; }
body.kcms .wc-block-grid__product-add-to-cart .wp-block-button__link { width: 100%; }
/* Shop cards: the button fills the card between its side margins (was 100% + margins, clipped). */
body.kcms ul.products li.product .button { width: auto; align-self: stretch; }
body.kcms .wc-block-grid__product-onsale,
body.kcms span.onsale {
	/* Sale has its own colour (per skin) so it never reads as a button. */
	background: var(--kc-sale-bg, var(--kc-accent));
	color: var(--kc-sale-text, var(--kc-accent-ink));
	border: var(--kc-sale-border, 0);
	box-shadow: var(--kc-sale-shadow, none);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .1em;
	padding: 5px 12px;
	z-index: 2;
	top: 10px; right: 10px; left: auto;
	min-height: 0; min-width: 0; line-height: 1.4;
}
/* Product page: pin the pill to the image, not over the title. */
body.kcms.single-product div.product > span.onsale { top: var(--kc-space-3); left: var(--kc-space-3); right: auto; margin: 0; }
@media (max-width: 480px) {
	body.kcms .wc-block-grid__product-title, body.kcms h2.woocommerce-loop-product__title { font-size: 14px; padding: 0 10px !important; }
	body.kcms .wc-block-grid__product-price, body.kcms ul.products li.product .price { padding: 0 10px; font-size: 14px; }
	body.kcms .wc-block-grid__product-add-to-cart, body.kcms ul.products li.product .button { margin: auto 10px 0 !important; }
}

/* ---------- Homepage sections ---------- */
body.kcms.home .entry-header, body.kcms.home .page-header { display: none; }
/* Let the hero sit flush under the menu instead of below the theme's top padding. */
body.kcms.home .page-area { padding-top: 0; }
body.kcms.home .single-entry-summary { margin-top: 0; }
body.kcms .kcms-hero {
	width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	margin-top: -1px;
	padding: clamp(48px, 9vw, 112px) 20px clamp(44px, 7vw, 88px);
	background: var(--kc-hero-bg);
	color: var(--kc-hero-text);
	text-align: var(--kc-hero-align, center);
	position: relative;
	overflow: hidden;
}
body.kcms .kcms-hero > * { max-width: 760px; margin-left: var(--kc-hero-margin, auto) !important; margin-right: auto !important; position: relative; }
body.kcms .kcms-hero h1 {
	color: var(--kc-hero-heading);
	font-size: clamp(34px, 6vw, 60px);
	margin: 0 0 18px;
}
body.kcms .kcms-hero p { color: var(--kc-hero-muted); font-size: clamp(17px, 2vw, 20px); margin-bottom: 28px; }
body.kcms .kcms-hero .kcms-eyebrow {
	display: inline-block;
	color: var(--kc-eyebrow);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .14em;
	margin-bottom: 18px;
}
@media (min-width: 768px) { body.kcms .kcms-hero .kcms-eyebrow { font-size: 15px; margin-bottom: var(--kc-space-5); } }
@media (min-width: 1100px) { body.kcms .kcms-hero .kcms-eyebrow { font-size: 16px; } }
body.kcms .kcms-hero .wp-block-buttons { justify-content: var(--kc-hero-justify, center); gap: 12px; }
@media (max-width: 480px) {
	body.kcms .kcms-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	body.kcms .kcms-hero .wp-block-button__link { width: 100%; }
}

body.kcms .kcms-trust {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 26px;
	margin: 0 auto !important;
	padding: 18px 16px !important;
	border-bottom: 1px solid var(--kc-border);
	color: var(--kc-muted);
	font-weight: 600;
	font-size: 15px;
}
body.kcms .kcms-trust li { display: flex; align-items: center; gap: 8px; margin: 0; }
body.kcms .kcms-trust li::before {
	content: "";
	width: 18px; height: 18px; flex: none;
	border-radius: 50%;
	background: var(--kc-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.2 4.8 10l-1.1 1.1L8 15.4l8.3-8.3-1.1-1.1z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 480px) {
	/* Three short trust points: one row of three, tick above a centred label. */
	body.kcms .kcms-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 13.5px; line-height: 1.35; gap: var(--kc-space-3); }
	body.kcms .kcms-trust li { flex-direction: column; text-align: center; gap: 6px; }
}

/* Section heading: full gap below it, or a tight gap when an intro line follows (the intro then carries the gap). */
body.kcms .kcms-section-title { text-align: center; font-size: clamp(26px, 3.4vw, 36px); margin: var(--kc-section-gap) 0 var(--kc-heading-gap); }
body.kcms .kcms-section-title:has(+ .kcms-section-intro) { margin-bottom: var(--kc-space-3); }
body.kcms .kcms-section-intro { text-align: center; color: var(--kc-muted); max-width: 620px; margin: 0 auto var(--kc-heading-gap); }

/* "Find music for your service" cards: icon badge, title, description, arrow. */
body.kcms .kcms-tiles {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--kc-space-4);
	padding: 0 !important;
	margin: 0 0 var(--kc-space-4) !important;
}
@media (min-width: 768px) { body.kcms .kcms-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--kc-space-5); } }
body.kcms .kcms-tiles li { margin: 0; }
body.kcms .kcms-tiles a {
	--kc-tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18V4c0 2.5 4 3 5 6'/%3E%3Ccircle cx='9.5' cy='18' r='2.5'/%3E%3C/svg%3E");
	--kc-tile-pad: 22px;
	display: flex;
	flex-direction: column;
	gap: var(--kc-space-1);
	height: 100%;
	min-height: 112px;
	padding: var(--kc-tile-pad) 48px 24px calc(var(--kc-tile-pad) + 46px + var(--kc-space-4));
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-sm);
	color: var(--kc-muted);
	font-size: 15.5px;
	line-height: 1.5;
	text-decoration: none;
	position: relative;
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
/* Icon badge: a soft circle (a::before) with the line icon masked on top (strong::before). */
body.kcms .kcms-tiles a::before,
body.kcms .kcms-tiles strong::before {
	content: "";
	position: absolute;
	left: var(--kc-tile-pad);
	top: var(--kc-tile-pad);
	width: 46px;
	height: 46px;
	transition: background-color .18s ease;
}
body.kcms .kcms-tiles a::before { border-radius: 50%; background: var(--kc-surface-2); }
body.kcms .kcms-tiles strong::before {
	background: var(--kc-accent);
	-webkit-mask: var(--kc-tile-icon) center / 24px no-repeat;
	mask: var(--kc-tile-icon) center / 24px no-repeat;
}
body.kcms .kcms-tiles a[href*="underscores"] { --kc-tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v4M8 7v10M12 4v16M16 8v8M20 11v2'/%3E%3C/svg%3E"); }
body.kcms .kcms-tiles a[href*="three-plus-keys"] { --kc-tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17V6l12-2v11M13 16V5'/%3E%3Ccircle cx='5' cy='17' r='2'/%3E%3Ccircle cx='11' cy='16' r='2'/%3E%3Ccircle cx='17' cy='15' r='2'/%3E%3C/svg%3E"); }
body.kcms .kcms-tiles a[href*="instrumental-solos"] { --kc-tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18V4c0 2.5 4 3 5 6'/%3E%3Ccircle cx='9.5' cy='18' r='2.5'/%3E%3C/svg%3E"); }
body.kcms .kcms-tiles a[href*="piano-solos"] { --kc-tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M9 19v-5M15 19v-5M7.5 5v9h3V5M13.5 5v9h3V5'/%3E%3C/svg%3E"); }
body.kcms .kcms-tiles a[href*="christmas"] { --kc-tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.5 5.2 5.7.8-4.1 4 1 5.6L12 16.4l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3C/svg%3E"); }
body.kcms .kcms-tiles a[href*="courses"] { --kc-tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7c-2-1.6-5-2-8-1.3V19c3-.7 6-.3 8 1.3 2-1.6 5-2 8-1.3V5.7C17 5 14 5.4 12 7zM12 7v13.3'/%3E%3C/svg%3E"); }
body.kcms .kcms-tiles strong {
	display: block;
	color: var(--kc-heading);
	font-size: 18px;
	line-height: 1.3;
	font-family: var(--kc-tile-font, var(--kc-body-font));
	margin-bottom: 2px;
}
body.kcms .kcms-tiles a::after { content: "→"; position: absolute; right: 20px; top: var(--kc-tile-pad); color: var(--kc-accent); font-weight: 700; transition: transform .18s ease; }
body.kcms .kcms-tiles a:hover,
body.kcms .kcms-tiles a:focus-visible {
	border-color: color-mix(in srgb, var(--kc-accent) 40%, var(--kc-border));
	transform: translateY(-3px);
	box-shadow: var(--kc-shadow-lg);
	color: var(--kc-muted);
}
body.kcms .kcms-tiles a:hover::before, body.kcms .kcms-tiles a:focus-visible::before { background: var(--kc-accent); }
body.kcms .kcms-tiles a:hover strong::before, body.kcms .kcms-tiles a:focus-visible strong::before { background: var(--kc-accent-ink); }
body.kcms .kcms-tiles a:hover::after, body.kcms .kcms-tiles a:focus-visible::after { transform: translateX(3px); }
@media (max-width: 480px) {
	body.kcms .kcms-tiles { grid-template-columns: 1fr; gap: var(--kc-space-3); }
	body.kcms .kcms-tiles a { --kc-tile-pad: 16px; min-height: 0; padding: 16px 44px 16px calc(16px + 46px + var(--kc-space-3)); }
	body.kcms .kcms-tiles a::before, body.kcms .kcms-tiles strong::before { top: 50%; margin-top: -23px; }
	body.kcms .kcms-tiles a::after { top: 50%; transform: translateY(-50%); }
	body.kcms .kcms-tiles a:hover::after { transform: translate(3px, -50%); }
}

body.kcms .kcms-steps { gap: 18px; margin: 0 !important; counter-reset: kcstep; }
body.kcms .kcms-steps > .wp-block-column {
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-card-radius);
	padding: 22px;
	counter-increment: kcstep;
}
body.kcms .kcms-steps > .wp-block-column::before {
	content: counter(kcstep);
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--kc-accent); color: var(--kc-accent-ink);
	font-weight: 800; margin-bottom: 10px;
}
body.kcms .kcms-steps h3 { font-size: 20px; margin: 0 0 6px; }
body.kcms .kcms-steps p { color: var(--kc-muted); margin: 0; font-size: 15px; }

body.kcms .kcms-cta {
	margin: 56px 0 !important;
	padding: clamp(28px, 5vw, 48px) !important;
	border-radius: var(--kc-card-radius);
	background: var(--kc-cta-bg);
	color: var(--kc-cta-text);
	text-align: center;
}
body.kcms .kcms-cta h2 { color: var(--kc-cta-text); font-size: clamp(24px, 3vw, 32px); margin: 0 0 10px; }
body.kcms .kcms-cta p { color: var(--kc-cta-muted); max-width: 560px; margin: 0 auto 22px; }
body.kcms .kcms-cta .wp-block-buttons { justify-content: center; }

/* ---------- Content, forms, footer ---------- */
body.kcms .entry-content, body.kcms .woocommerce { color: var(--kc-text); }
body.kcms input[type="text"], body.kcms input[type="email"], body.kcms input[type="tel"],
body.kcms input[type="password"], body.kcms input[type="number"], body.kcms input[type="search"],
body.kcms select, body.kcms textarea {
	background: var(--kc-input-bg);
	color: var(--kc-text);
	border: 1px solid var(--kc-border-strong);
	border-radius: var(--kc-radius-sm);
	min-height: 48px;
	padding: 10px 14px;
	font-size: 16px;
	box-shadow: inset 0 1px 2px rgba(40, 25, 15, 0.04);
	transition: border-color .15s ease, box-shadow .15s ease;
}
body.kcms input:is([type="text"], [type="email"], [type="tel"], [type="password"], [type="number"], [type="search"]):focus,
body.kcms select:focus, body.kcms textarea:focus {
	outline: none;
	border-color: var(--kc-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--kc-accent) 18%, transparent);
}
/* Same look inside WooCommerce forms, where the theme's .form-row rules are more specific. */
body.kcms .woocommerce form .form-row :is(input.input-text, textarea, select) {
	background: var(--kc-input-bg);
	border: 1px solid var(--kc-border-strong);
	border-radius: var(--kc-radius-sm);
	min-height: 48px;
	padding: 10px 14px;
}
body.kcms .woocommerce form .form-row :is(input.input-text, textarea, select):focus { border-color: var(--kc-accent); }
body.kcms .woocommerce form .form-row label,
body.kcms .woocommerce-form-row label { font-weight: 600; font-size: 14.5px; color: var(--kc-heading); margin-bottom: 6px; line-height: 1.35; }
body.kcms .woocommerce form .form-row .required { color: var(--kc-accent); text-decoration: none; }
body.kcms .woocommerce form .form-row { margin: 0 0 var(--kc-space-4); padding: 0; }
body.kcms input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--kc-accent); vertical-align: -3px; margin: 0 8px 0 0; }

/* ---------- My Account (logged out) ---------- */
/* The intro title is the visible heading; "My account" stays for screen readers. */
body.kcms.woocommerce-account:not(.logged-in) h1.single-title {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
body.kcms.woocommerce-account:not(.logged-in) .kcms-account-intro { margin-top: var(--kc-space-5); }
body.kcms .kcms-account-intro { max-width: 760px; margin: 0 auto var(--kc-space-6); text-align: center; }
body.kcms .kcms-account-intro__title { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 var(--kc-space-3); }
body.kcms .kcms-account-intro__lead { color: var(--kc-muted); font-size: 18px; max-width: 600px; margin: 0 auto var(--kc-space-5); }
body.kcms .kcms-benefits { list-style: none; margin: 0 0 var(--kc-space-4); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--kc-space-4); text-align: left; }
body.kcms .kcms-benefit {
	--kc-benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E");
	position: relative;
	margin: 0;
	padding: var(--kc-space-4) var(--kc-space-4) var(--kc-space-4) 64px;
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 2px;
}
body.kcms .kcms-benefit--history { --kc-benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3.5' width='14' height='17' rx='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E"); }
body.kcms .kcms-benefit--fast { --kc-benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3 5 13.5h6L10 21l8-10.5h-6z'/%3E%3C/svg%3E"); }
/* Icon badge: soft circle (::before) with the line icon masked on top (::after). */
body.kcms .kcms-benefit::before {
	content: "";
	position: absolute;
	left: var(--kc-space-4);
	top: var(--kc-space-4);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--kc-surface-2);
}
body.kcms .kcms-benefit::after {
	content: "";
	position: absolute;
	left: calc(var(--kc-space-4) + 8px);
	top: calc(var(--kc-space-4) + 8px);
	width: 20px;
	height: 20px;
	background: var(--kc-accent);
	-webkit-mask: var(--kc-benefit-icon) center / contain no-repeat;
	mask: var(--kc-benefit-icon) center / contain no-repeat;
}
body.kcms .kcms-benefit strong { color: var(--kc-heading); font-size: 16px; }
body.kcms .kcms-benefit span { color: var(--kc-muted); font-size: 14.5px; line-height: 1.45; }
body.kcms .kcms-account-intro__note { color: var(--kc-muted); font-size: 15px; margin: 0; }

body.kcms #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--kc-space-5);
	max-width: 960px;
	margin: 0 auto;
}
body.kcms #customer_login::before, body.kcms #customer_login::after { display: none; }
body.kcms #customer_login > .u-column1,
body.kcms #customer_login > .u-column2 {
	float: none;
	width: auto;
	max-width: none;
	padding: clamp(24px, 4vw, 36px);
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-md);
}
body.kcms #customer_login h2 { font-size: 26px; margin: 0 0 var(--kc-space-5); }
body.kcms #customer_login form.login,
body.kcms #customer_login form.register { margin: 0; padding: 0; border: 0; border-radius: 0; }
body.kcms #customer_login input.input-text { width: 100%; }
body.kcms #customer_login .woocommerce-form-login__rememberme { display: flex; align-items: center; margin: 0 0 var(--kc-space-4); font-weight: 500; color: var(--kc-text); }
body.kcms #customer_login .button { width: 100%; float: none; margin: 0; }
body.kcms #customer_login .lost_password { text-align: center; margin: var(--kc-space-4) 0 0; font-size: 15px; }
body.kcms #customer_login form.register > p:not(.form-row) { color: var(--kc-muted); font-size: 14.5px; margin: 0 0 var(--kc-space-4); }
@media (max-width: 767px) {
	body.kcms .kcms-benefits { grid-template-columns: 1fr; gap: var(--kc-space-3); }
	body.kcms #customer_login { grid-template-columns: 1fr; gap: var(--kc-space-4); }
}
/* No comments area on account and checkout pages. */
body.kcms.woocommerce-account #comments, body.kcms.woocommerce-checkout #comments { display: none; }
body.kcms .woocommerce-product-details__short-description, body.kcms .product_meta { color: var(--kc-text); font-size: 1.02em; }
/* Sheet-music images are transparent PNGs: always show them on paper white. */
body.kcms .woocommerce-product-gallery img,
body.kcms .woocommerce-product-gallery__image,
body.kcms ul.products li.product-category a img { background: #fff; }
body.kcms .woocommerce-product-gallery { border-radius: var(--kc-card-radius); overflow: hidden; border: 1px solid var(--kc-border); }
/* Category cards on the catalog page. */
body.kcms ul.products li.product-category a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
/* Category cards (icon + name; see "category cards with branded icons" below). The theme overlays
   the title on the image, so these overrides keep it in normal flow. */
body.kcms h2.woocommerce-loop-category__title {
	background: transparent !important;
	color: var(--kc-heading) !important;
	font-family: var(--kc-body-font);
	font-size: 15px;
	font-weight: 700;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	text-align: left;
	opacity: 1 !important;
}
body.kcms h2.woocommerce-loop-category__title .count { background: transparent; color: var(--kc-muted); font-weight: 600; }
body.kcms .woocommerce div.product .product_title { font-size: clamp(26px, 4vw, 38px); }
body.kcms .woocommerce div.product p.price { color: var(--kc-heading); font-weight: 700; }
body.kcms table.shop_table, body.kcms .cart_totals, body.kcms .woocommerce-checkout-review-order { background: var(--kc-surface); color: var(--kc-text); border-color: var(--kc-border); }

body.kcms #content-footer-section { background: var(--kc-footer-bg); color: var(--kc-footer-text); }
body.kcms .footer-credits,
body.kcms footer#colophon {
	background: var(--kc-footer-bg);
	color: var(--kc-footer-text);
	border-top: 1px solid var(--kc-border);
	padding: 20px 0 28px;
	font-size: 14px;
}
body.kcms .footer-credits-text { color: var(--kc-footer-text); }
body.kcms .wp-block-separator { border-color: var(--kc-border); opacity: 1; }

/* ---------- Audio samples: icons ---------- */
body.kcms {
	--kc-icon-headphones: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-2a9 9 0 0 1 18 0v2'/%3E%3Cpath d='M3 14h3a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2zM21 14h-3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h1a2 2 0 0 0 2-2z'/%3E%3C/svg%3E");
	--kc-icon-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.2v13.6a.8.8 0 0 0 1.2.7l10.6-6.8a.8.8 0 0 0 0-1.4L9.2 4.5A.8.8 0 0 0 8 5.2z'/%3E%3C/svg%3E");
	--kc-icon-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6.5' y='5' width='4' height='14' rx='1'/%3E%3Crect x='13.5' y='5' width='4' height='14' rx='1'/%3E%3C/svg%3E");
	--kc-icon-play-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.2'/%3E%3Cpath d='M10 8.6v6.8l5.6-3.4z' fill='black' stroke='none'/%3E%3C/svg%3E");
}

/* Home "Hear a sample": headphones icon, pause while playing, soft progress fill. */
body.kcms .kcms-hear-sample .wp-block-button__link { gap: 10px; position: relative; overflow: hidden; }
body.kcms .kcms-hear-sample .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--kc-icon-headphones) center / contain no-repeat;
	mask: var(--kc-icon-headphones) center / contain no-repeat;
}
body.kcms .kcms-hear-sample .wp-block-button__link.is-playing::before { -webkit-mask-image: var(--kc-icon-pause); mask-image: var(--kc-icon-pause); }
body.kcms .kcms-hear-sample .wp-block-button__link.is-loading::before { animation: kcms-pulse 1s ease-in-out infinite; }
body.kcms .kcms-hear-sample .wp-block-button__link.is-playing,
body.kcms .kcms-hear-sample .wp-block-button__link.is-loading {
	background: linear-gradient(90deg, color-mix(in srgb, var(--kc-accent) 16%, transparent) var(--kc-progress, 0%), transparent 0);
}
@keyframes kcms-pulse { 50% { opacity: .35; } }

/* "Watch on video" text link under the hero buttons. */
body.kcms .kcms-hero p.kcms-watch-video { font-size: 15px; margin: var(--kc-space-4) 0 0; }
body.kcms .kcms-watch-video a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--kc-hero-muted);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
	text-underline-offset: 3px;
}
body.kcms .kcms-watch-video a::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--kc-icon-play-circle) center / contain no-repeat;
	mask: var(--kc-icon-play-circle) center / contain no-repeat;
}
body.kcms .kcms-watch-video a:hover { color: var(--kc-accent); text-decoration-color: currentColor; }

/* ---------- Now playing bar ---------- */
body.kcms .kcms-player {
	position: fixed;
	left: 50%;
	bottom: 16px;
	z-index: 9998;
	width: min(560px, calc(100vw - 24px));
	transform: translateX(-50%);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	grid-template-areas: "toggle meta time close" "toggle seek seek seek";
	align-items: center;
	gap: 0 var(--kc-space-3);
	padding: 10px 10px 8px;
	background: var(--kc-player-bg, #2B2320);
	color: var(--kc-player-text, #FBF7F0);
	border-radius: 18px;
	box-shadow: 0 18px 44px rgba(20, 12, 8, 0.35);
	font-family: var(--kc-body-font);
	animation: kcms-rise .22s ease;
}
body.kcms .kcms-player[hidden] { display: none; }
@keyframes kcms-rise { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
body.kcms :where(.kcms-player button) { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
body.kcms :where(.kcms-player button):focus-visible { outline: 3px solid var(--kc-accent); outline-offset: 2px; }
body.kcms .kcms-player__toggle { grid-area: toggle; width: 46px; height: 46px; background: var(--kc-accent); }
body.kcms .kcms-player__toggle:hover { background: var(--kc-accent-hover); }
body.kcms .kcms-player__toggle span {
	width: 20px;
	height: 20px;
	background: var(--kc-accent-ink);
	-webkit-mask: var(--kc-icon-pause) center / contain no-repeat;
	mask: var(--kc-icon-pause) center / contain no-repeat;
}
body.kcms .kcms-player__toggle.is-paused span { -webkit-mask-image: var(--kc-icon-play); mask-image: var(--kc-icon-play); }
body.kcms .kcms-player__meta { grid-area: meta; display: flex; flex-direction: column; min-width: 0; line-height: 1.25; padding-top: 2px; }
body.kcms .kcms-player__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--kc-player-muted, #D9CFC4); opacity: .8; }
body.kcms .kcms-player__title { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.kcms .kcms-player.is-error .kcms-player__title { color: #F5B7A8; white-space: normal; }
body.kcms .kcms-player__time { grid-area: time; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--kc-player-muted, #D9CFC4); }
body.kcms .kcms-player__close { grid-area: close; width: 32px; height: 32px; font-size: 22px; line-height: 1; color: var(--kc-player-muted, #D9CFC4); }
body.kcms .kcms-player__close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
body.kcms .kcms-player__seek { grid-area: seek; width: 100%; height: 18px; margin: 0; padding: 0; min-height: 0; border: 0; background: transparent; accent-color: var(--kc-accent); cursor: pointer; }

/* ---------- Video lightbox ---------- */
html.kcms-lightbox-open { overflow: hidden; }
body.kcms .kcms-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(12px, 4vw, 48px);
	background: rgba(20, 14, 11, 0.84);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	animation: kcms-fade .2s ease;
}
@keyframes kcms-fade { from { opacity: 0; } }
body.kcms .kcms-lightbox__frame { width: min(1000px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--kc-radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
body.kcms .kcms-lightbox__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
body.kcms .kcms-lightbox__close {
	all: unset;
	position: fixed;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #FBF7F0;
	color: #241C19;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
body.kcms .kcms-lightbox__close:focus-visible { outline: 3px solid var(--kc-accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
	body.kcms .kcms-player, body.kcms .kcms-lightbox { animation: none; }
	body.kcms .kcms-hear-sample .wp-block-button__link.is-loading::before { animation: none; }
}

/* ---------- Play button on product cards ---------- */
/* Cards are size containers so the button can sit on the 4:5 image frame's corner (125cqw tall). */
body.kcms ul.products li.product:not(.product-category),
body.kcms .wc-block-grid__product { position: relative; container-type: inline-size; }
body.kcms .kcms-play {
	--size: 52px;
	all: unset;
	box-sizing: border-box;
	position: absolute;
	z-index: 3;
	right: var(--kc-space-3);
	top: calc(125cqw - var(--size) - var(--kc-space-3));
	width: var(--size);
	height: var(--size);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	box-shadow: var(--kc-shadow-md);
	color: var(--kc-accent);
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
body.kcms .kcms-play__icon {
	width: 22px;
	height: 22px;
	margin-left: 2px; /* optical centre for the triangle */
	background: currentColor;
	-webkit-mask: var(--kc-icon-play) center / contain no-repeat;
	mask: var(--kc-icon-play) center / contain no-repeat;
}
/* Progress ring while a sample plays. */
body.kcms .kcms-play::before {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: conic-gradient(var(--kc-accent) var(--kc-progress, 0%), transparent 0);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
	opacity: 0;
	transition: opacity .15s ease;
}
body.kcms .kcms-play:hover,
body.kcms .kcms-play:focus-visible,
body.kcms .kcms-play.is-playing,
body.kcms .kcms-play.is-loading { background: var(--kc-accent); border-color: var(--kc-accent); color: var(--kc-accent-ink); transform: scale(1.06); box-shadow: var(--kc-shadow-lg); }
body.kcms .kcms-play:focus-visible { outline: 3px solid var(--kc-accent); outline-offset: 5px; }
body.kcms .kcms-play.is-playing .kcms-play__icon { margin-left: 0; -webkit-mask-image: var(--kc-icon-pause); mask-image: var(--kc-icon-pause); }
body.kcms .kcms-play.is-loading .kcms-play__icon { animation: kcms-pulse 1s ease-in-out infinite; }
body.kcms .kcms-play.is-playing::before,
body.kcms .kcms-play[style*="--kc-progress"]::before { opacity: 1; }
@media (max-width: 480px) {
	body.kcms .kcms-play { --size: 44px; right: var(--kc-space-2); top: calc(125cqw - var(--size) - var(--kc-space-2)); }
	body.kcms .kcms-play__icon { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	body.kcms .kcms-play { transition: none; }
	body.kcms .kcms-play.is-loading .kcms-play__icon { animation: none; }
}

/* ---------- Notices (added to cart, coupon prompt, errors): calm cards ---------- */
body.kcms .woocommerce-message,
body.kcms .woocommerce-info,
body.kcms .woocommerce-error {
	--kc-notice: var(--kc-accent);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--kc-space-2) var(--kc-space-4);
	margin: 0 0 var(--kc-space-5);
	padding: var(--kc-space-4) var(--kc-space-5) var(--kc-space-4) 52px;
	background: var(--kc-surface);
	color: var(--kc-text);
	border: 1px solid var(--kc-border);
	border-left: 4px solid var(--kc-notice);
	border-radius: var(--kc-radius-sm);
	box-shadow: var(--kc-shadow-sm);
	font-size: 15.5px;
	list-style: none;
}
body.kcms .woocommerce-message { --kc-notice: #5E7D4F; }
body.kcms .woocommerce-info { --kc-notice: #B8862B; }
body.kcms .woocommerce-message::before,
body.kcms .woocommerce-info::before,
body.kcms .woocommerce-error::before { color: var(--kc-notice); top: 50%; left: 20px; transform: translateY(-50%); }
body.kcms .woocommerce-message .button,
body.kcms .woocommerce-info .button { order: 2; margin-left: auto; min-height: 40px; padding: 8px 16px; font-size: 14px; float: none; }
body.kcms .woocommerce-message::after, body.kcms .woocommerce-info::after { display: none; }

/* ---------- Checkout ---------- */
@media (min-width: 900px) {
	body.kcms form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		grid-template-rows: auto 1fr; /* the tall details column grows row 2, not the summary heading's row */
		column-gap: clamp(28px, 4vw, 48px);
		align-items: start;
	}
	body.kcms form.checkout > *:not(#customer_details):not(#order_review_heading):not(#order_review) { grid-column: 1 / -1; }
	body.kcms form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
	body.kcms form.checkout #order_review_heading { grid-column: 2; grid-row: 1; }
	body.kcms form.checkout #order_review { grid-column: 2; grid-row: 2; }
}
body.kcms form.checkout #customer_details::before, body.kcms form.checkout #customer_details::after { display: none; }
body.kcms form.checkout #customer_details .col-1,
body.kcms form.checkout #customer_details .col-2 { float: none; width: 100%; max-width: none; padding: 0; }
body.kcms form.checkout h3 { font-size: 24px; margin: 0 0 var(--kc-space-4); }
body.kcms form.checkout .woocommerce-additional-fields h3 { margin-top: var(--kc-space-5); }
body.kcms form.checkout .woocommerce-account-fields { margin: var(--kc-space-2) 0 var(--kc-space-4); padding: var(--kc-space-4); background: var(--kc-surface-2); border-radius: var(--kc-radius-sm); }
body.kcms form.checkout .woocommerce-account-fields .form-row { margin: 0; }
body.kcms form.checkout .woocommerce-account-fields label { display: flex; align-items: center; margin: 0; font-weight: 600; }
body.kcms form.checkout .woocommerce-account-fields .create-account:not(:first-child) { margin-top: var(--kc-space-3); }

/* Order summary card: heading + review table + payment + Place order. */
body.kcms #order_review_heading,
body.kcms #order_review { background: var(--kc-surface); border: 1px solid var(--kc-border); box-shadow: var(--kc-shadow-md); }
body.kcms #order_review_heading { margin: 0; padding: var(--kc-space-5) var(--kc-space-5) var(--kc-space-3); border-bottom: 0; border-radius: var(--kc-radius) var(--kc-radius) 0 0; clip-path: inset(-40px -40px 0 -40px); }
body.kcms #order_review { padding: 0 var(--kc-space-5) var(--kc-space-5); border-top: 0; border-radius: 0 0 var(--kc-radius) var(--kc-radius); clip-path: inset(0 -40px -40px -40px); }
body.kcms table.woocommerce-checkout-review-order-table { border: 0; margin: 0 0 var(--kc-space-4); background: transparent; border-collapse: collapse; }
body.kcms .woocommerce-checkout-review-order-table th,
body.kcms .woocommerce-checkout-review-order-table td { border: 0; border-top: 1px solid var(--kc-border); padding: var(--kc-space-3) 0; background: transparent; vertical-align: middle; }
body.kcms .woocommerce-checkout-review-order-table thead { display: none; }
body.kcms .woocommerce-checkout-review-order-table td.product-total,
body.kcms .woocommerce-checkout-review-order-table tfoot td { text-align: right; white-space: nowrap; }
body.kcms .woocommerce-checkout-review-order-table tfoot th { font-weight: 600; color: var(--kc-muted); }
body.kcms .woocommerce-checkout-review-order-table tfoot .order-total th { color: var(--kc-heading); font-size: 17px; }
body.kcms .woocommerce-checkout-review-order-table tfoot .order-total td { font-family: var(--kc-head-font); font-size: 24px; color: var(--kc-heading); }
body.kcms .kcms-review-item { display: flex; align-items: center; gap: var(--kc-space-3); }
body.kcms .kcms-review-thumb { flex: none; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--kc-border); border-radius: var(--kc-radius-sm); overflow: hidden; }
body.kcms .kcms-review-thumb img { width: 100%; height: 100%; object-fit: contain; margin: 0; }
body.kcms .kcms-review-name { display: flex; flex-direction: column; font-weight: 600; color: var(--kc-heading); line-height: 1.35; }
body.kcms .kcms-review-name .product-quantity { font-weight: 500; color: var(--kc-muted); }
body.kcms .kcms-review-meta { font-size: 13.5px; font-weight: 500; color: var(--kc-muted); }

/* Payment area and Place order. */
body.kcms #payment { background: transparent; border-radius: 0; }
body.kcms #payment ul.payment_methods { padding: 0 0 var(--kc-space-3); border-bottom: 0; }
body.kcms #payment div.form-row.place-order { padding: 0; margin: 0; }
body.kcms #payment .woocommerce-privacy-policy-text { font-size: 13.5px; color: var(--kc-muted); }
body.kcms #payment #place_order { width: 100%; float: none; min-height: 54px; font-size: 17px; margin: var(--kc-space-2) 0 0; }
body.kcms .kcms-trust-cues { list-style: none; margin: var(--kc-space-4) 0 0; padding: var(--kc-space-4) 0 0; border-top: 1px solid var(--kc-border); display: grid; gap: var(--kc-space-2); font-size: 14px; color: var(--kc-muted); }
body.kcms .kcms-trust-cues li {
	--kc-cue-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
	display: flex; align-items: center; gap: var(--kc-space-2); margin: 0;
}
body.kcms .kcms-trust-cues__download { --kc-cue-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E") !important; }
body.kcms .kcms-trust-cues__help { --kc-cue-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") !important; }
body.kcms .kcms-trust-cues li::before {
	content: ""; flex: none; width: 18px; height: 18px; background: var(--kc-accent);
	-webkit-mask: var(--kc-cue-icon) center / contain no-repeat; mask: var(--kc-cue-icon) center / contain no-repeat;
}
@media (max-width: 899px) {
	body.kcms #order_review_heading { margin-top: var(--kc-space-5); }
}
@media (max-width: 480px) {
	body.kcms #order_review_heading { padding: var(--kc-space-4) var(--kc-space-4) var(--kc-space-2); }
	body.kcms #order_review { padding: 0 var(--kc-space-4) var(--kc-space-4); }
}
body.kcms .kcms-review-qty { font-weight: 500; color: var(--kc-muted); }

/* WooCommerce's enhanced dropdowns (country, state) match the 48px fields. */
body.kcms .select2-container--default .select2-selection--single {
	height: 48px;
	background: var(--kc-input-bg);
	border: 1px solid var(--kc-border-strong);
	border-radius: var(--kc-radius-sm);
}
body.kcms .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding: 0 40px 0 14px; color: var(--kc-text); }
body.kcms .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
body.kcms .select2-container--default.select2-container--focus .select2-selection--single,
body.kcms .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--kc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--kc-accent) 18%, transparent); }
body.kcms .select2-dropdown { border-color: var(--kc-border-strong); border-radius: var(--kc-radius-sm); box-shadow: var(--kc-shadow-md); }
body.kcms .select2-container--default .select2-results__option--highlighted[aria-selected],
body.kcms .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--kc-accent); color: var(--kc-accent-ink); }

/* ---------- Thank-you page: confirmation, then downloads first ---------- */
body.kcms .woocommerce-order { display: flex; flex-direction: column; max-width: 860px; margin: 0 auto; }
body.kcms .woocommerce-order > * { order: 3; }
body.kcms .woocommerce-order > .woocommerce-thankyou-order-received { order: 0; }
body.kcms .woocommerce-order > .woocommerce-order-downloads { order: 1; }
body.kcms .woocommerce-order > .woocommerce-order-overview { order: 2; }
body.kcms p.woocommerce-thankyou-order-received {
	margin: 0 0 var(--kc-space-5);
	padding: var(--kc-space-6) var(--kc-space-5);
	text-align: center;
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-md);
	border-top: 0;
}
body.kcms p.woocommerce-thankyou-order-received::before {
	content: "";
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto var(--kc-space-4);
	border-radius: 50%;
	background: var(--kc-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 32px no-repeat;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--kc-accent) 30%, transparent);
}
body.kcms .kcms-ty-title { display: block; font-family: var(--kc-head-font); font-weight: var(--kc-head-weight, 600); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; color: var(--kc-heading); letter-spacing: var(--kc-head-tracking, -0.01em); }
body.kcms .kcms-ty-sub { display: block; max-width: 560px; margin: var(--kc-space-3) auto 0; color: var(--kc-muted); font-size: 17px; }
body.kcms .kcms-ty-sub strong { color: var(--kc-heading); }

/* Order number / date / email / total / payment: one compact strip. */
body.kcms ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--kc-space-4);
	margin: 0 0 var(--kc-space-6);
	padding: var(--kc-space-4) var(--kc-space-5);
	list-style: none;
	background: var(--kc-surface-2);
	border-radius: var(--kc-radius);
}
body.kcms ul.woocommerce-order-overview::before, body.kcms ul.woocommerce-order-overview::after { display: none; }
body.kcms ul.woocommerce-order-overview li {
	float: none; margin: 0; padding: 0; border: 0;
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kc-muted);
	overflow-wrap: anywhere;
}
body.kcms ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 15.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--kc-heading); }

/* ---------- Downloads (thank-you page, order view, My Account → Downloads) ---------- */
body.kcms .woocommerce-order-downloads {
	margin: 0 0 var(--kc-space-5);
	padding: var(--kc-space-5);
	background: var(--kc-surface);
	border: 1px solid color-mix(in srgb, var(--kc-accent) 30%, var(--kc-border));
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-md);
}
body.kcms .woocommerce-order-downloads__title { display: flex; align-items: center; gap: var(--kc-space-3); font-size: 24px; margin: 0 0 var(--kc-space-4); }
body.kcms .woocommerce-order-downloads__title::before {
	content: ""; width: 36px; height: 36px; flex: none; border-radius: 50%;
	background: var(--kc-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A63D2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E") center / 20px no-repeat;
}
body.kcms table.woocommerce-table--order-downloads { display: block; border: 0; margin: 0; background: transparent; }
body.kcms table.woocommerce-table--order-downloads thead { display: none; }
body.kcms table.woocommerce-table--order-downloads tbody { display: grid; gap: var(--kc-space-3); }
body.kcms table.woocommerce-table--order-downloads tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: var(--kc-space-4);
	padding: var(--kc-space-4);
	background: var(--kc-surface-2);
	border-radius: var(--kc-radius-sm);
}
body.kcms table.woocommerce-table--order-downloads td { display: block; grid-column: 1; border: 0; padding: 0; background: transparent !important; text-align: left !important; } /* !important beats WooCommerce's zebra striping on phones */
body.kcms table.woocommerce-table--order-downloads td::before { display: none !important; }
body.kcms table.woocommerce-table--order-downloads td.download-product { font-weight: 600; font-size: 16.5px; }
body.kcms table.woocommerce-table--order-downloads td.download-product a { color: var(--kc-heading); text-decoration: none; }
body.kcms table.woocommerce-table--order-downloads td.download-remaining,
body.kcms table.woocommerce-table--order-downloads td.download-expires { font-size: 13.5px; color: var(--kc-muted); }
body.kcms table.woocommerce-table--order-downloads td:empty { display: none; }
body.kcms .kcms-dl-file { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--kc-muted); }
body.kcms table.woocommerce-table--order-downloads td.download-file { grid-column: 2; grid-row: 1 / span 3; }
body.kcms table.woocommerce-table--order-downloads td.download-file .button {
	gap: var(--kc-space-2);
	min-height: 48px;
	padding: 10px 20px;
	white-space: nowrap;
	max-width: 260px;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.kcms table.woocommerce-table--order-downloads td.download-file .button::before {
	content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 600px) {
	body.kcms table.woocommerce-table--order-downloads tr { grid-template-columns: 1fr; row-gap: var(--kc-space-1); }
	body.kcms table.woocommerce-table--order-downloads td.download-file { grid-column: 1; grid-row: auto; margin-top: var(--kc-space-3); }
	body.kcms table.woocommerce-table--order-downloads td.download-file .button { width: 100%; max-width: none; }
}

/* Order details and address below the downloads: quieter cards. */
body.kcms .woocommerce-order-details,
body.kcms .woocommerce-customer-details { margin: 0 0 var(--kc-space-5); }
body.kcms .woocommerce-order-details__title,
body.kcms .woocommerce-column__title { font-size: 22px; margin: 0 0 var(--kc-space-3); }
body.kcms table.woocommerce-table--order-details { background: var(--kc-surface); border: 1px solid var(--kc-border); border-radius: var(--kc-radius); border-collapse: separate; overflow: hidden; }
body.kcms table.woocommerce-table--order-details th,
body.kcms table.woocommerce-table--order-details td { border: 0; border-top: 1px solid var(--kc-border); padding: var(--kc-space-3) var(--kc-space-4); }
body.kcms table.woocommerce-table--order-details thead th { border-top: 0; background: var(--kc-surface-2); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--kc-muted); }
body.kcms .woocommerce-customer-details address { padding: var(--kc-space-4); background: var(--kc-surface); border: 1px solid var(--kc-border); border-radius: var(--kc-radius); border-bottom-width: 1px; border-right-width: 1px; font-style: normal; line-height: 1.6; }

/* ---------- Forms: free resources signup and custom inquiry (Batch 4) ---------- */
body.kcms .kcms-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.kcms .kcms-free .kcms-eyebrow {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--kc-eyebrow);
	margin: 0 0 var(--kc-space-3);
}
body.kcms .kcms-free {
	display: grid;
	gap: var(--kc-space-6);
	align-items: start;
	max-width: 1040px;
	margin: var(--kc-space-5) auto var(--kc-section-gap);
}
@media (min-width: 900px) { body.kcms .kcms-free { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: var(--kc-space-7); } }
body.kcms .kcms-free__lead { font-size: clamp(18px, 1.7vw, 20px); line-height: 1.55; color: var(--kc-text); margin: 0 0 var(--kc-space-5); }
body.kcms .kcms-free__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--kc-space-3); }
body.kcms .kcms-free__item {
	--kc-free-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v4M8 7v10M12 4v16M16 8v8M20 11v2'/%3E%3C/svg%3E");
	position: relative;
	margin: 0;
	padding: var(--kc-space-4) var(--kc-space-4) var(--kc-space-4) 68px;
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 2px;
}
body.kcms .kcms-free__item--scales { --kc-free-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M3 10h18M3 14h18M3 18h18'/%3E%3Ccircle cx='8' cy='14' r='1.6' fill='black'/%3E%3Ccircle cx='13' cy='10' r='1.6' fill='black'/%3E%3Ccircle cx='18' cy='6' r='1.6' fill='black'/%3E%3C/svg%3E"); }
body.kcms .kcms-free__item--songs { --kc-free-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E"); }
body.kcms .kcms-free__item--matrix { --kc-free-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Cpath d='M4 9.3h16M4 14.7h16M9.3 4v16M14.7 4v16'/%3E%3C/svg%3E"); }
body.kcms .kcms-free__item::before,
body.kcms .kcms-free__item::after { content: ""; position: absolute; }
body.kcms .kcms-free__item::before { left: var(--kc-space-4); top: var(--kc-space-4); width: 38px; height: 38px; border-radius: 50%; background: var(--kc-surface-2); }
body.kcms .kcms-free__item::after {
	left: calc(var(--kc-space-4) + 9px);
	top: calc(var(--kc-space-4) + 9px);
	width: 20px;
	height: 20px;
	background: var(--kc-accent);
	-webkit-mask: var(--kc-free-icon) center / contain no-repeat;
	mask: var(--kc-free-icon) center / contain no-repeat;
}
body.kcms .kcms-free__item strong { color: var(--kc-heading); font-size: 16.5px; }
body.kcms .kcms-free__item span { color: var(--kc-muted); font-size: 15px; line-height: 1.45; }

/* Shared form card */
body.kcms .kcms-form-card {
	padding: clamp(24px, 4vw, 36px);
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-md);
	scroll-margin-top: var(--kc-space-7);
}
@media (min-width: 900px) { body.kcms .kcms-free .kcms-form-card { position: sticky; top: var(--kc-space-6); } }
body.kcms .kcms-form-card__title { font-size: clamp(24px, 2.6vw, 28px); margin: 0 0 var(--kc-space-2); }
body.kcms .kcms-form-card__sub { color: var(--kc-muted); margin: 0 0 var(--kc-space-5); }
body.kcms .kcms-form-card > .kcms-form-card__title:has(+ .kcms-form) { margin-bottom: var(--kc-space-5); }
body.kcms .kcms-form-card__note { margin: var(--kc-space-5) 0 0; font-size: 15px; color: var(--kc-muted); }
body.kcms .kcms-form { margin: 0; }
body.kcms .kcms-field { margin: 0 0 var(--kc-space-4); padding: 0; border: 0; min-width: 0; }
body.kcms .kcms-field > label:not(.kcms-choice__opt),
body.kcms .kcms-choice legend { display: block; font-weight: 600; font-size: 14.5px; color: var(--kc-heading); margin: 0 0 6px; line-height: 1.35; padding: 0; }
body.kcms .kcms-req { color: var(--kc-accent); }
body.kcms .kcms-optional { color: var(--kc-muted); font-weight: 400; }
body.kcms .kcms-field :is(input, textarea) { width: 100%; display: block; }
body.kcms .kcms-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
body.kcms .kcms-field__hint { margin: 6px 0 0; font-size: 14px; color: var(--kc-muted); }
body.kcms .kcms-field__error { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--kc-accent); }
body.kcms .kcms-field :is(input, textarea)[aria-invalid="true"] { border-color: var(--kc-accent); }
body.kcms .kcms-choice__opt {
	display: flex;
	gap: var(--kc-space-3);
	align-items: flex-start;
	margin: 0 0 var(--kc-space-2);
	padding: var(--kc-space-3) var(--kc-space-4);
	border: 1px solid var(--kc-border-strong);
	border-radius: var(--kc-radius-sm);
	background: var(--kc-input-bg);
	cursor: pointer;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
body.kcms .kcms-choice__opt:hover { border-color: color-mix(in srgb, var(--kc-accent) 45%, var(--kc-border-strong)); }
body.kcms .kcms-choice__opt:has(input:checked) { border-color: var(--kc-accent); background: color-mix(in srgb, var(--kc-accent) 6%, var(--kc-surface)); box-shadow: 0 0 0 1px var(--kc-accent); }
body.kcms .kcms-choice__opt:has(input:focus-visible) { outline: 3px solid var(--kc-accent); outline-offset: 2px; }
body.kcms .kcms-choice__opt input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--kc-accent); }
body.kcms .kcms-choice__opt strong { color: var(--kc-heading); }
body.kcms .kcms-choice__opt span { color: var(--kc-muted); }
body.kcms .kcms-choice[aria-invalid="true"] .kcms-choice__opt { border-color: var(--kc-accent); }
body.kcms .kcms-form__submit { width: 100%; margin: var(--kc-space-2) 0 0; }
body.kcms .kcms-form__submit:disabled { opacity: .7; cursor: progress; }
body.kcms .kcms-form__consent { margin: var(--kc-space-3) 0 0; font-size: 13.5px; line-height: 1.5; color: var(--kc-muted); }
body.kcms .kcms-form-alert {
	margin: 0 0 var(--kc-space-4);
	padding: var(--kc-space-3) var(--kc-space-4);
	border-radius: var(--kc-radius-sm);
	border-left: 4px solid var(--kc-accent);
	background: color-mix(in srgb, var(--kc-accent) 7%, var(--kc-surface));
	color: var(--kc-heading);
	font-size: 15px;
	font-weight: 600;
}
body.kcms .kcms-form-success:focus { outline: none; }
body.kcms .kcms-form-success > :last-child { margin-bottom: 0; }

/* Downloads shown after the free form */
body.kcms .kcms-free-downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--kc-space-3); }
body.kcms .kcms-free-downloads li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--kc-space-3);
	margin: 0;
	padding: var(--kc-space-3) var(--kc-space-3) var(--kc-space-3) var(--kc-space-4);
	background: var(--kc-surface-2);
	border-radius: var(--kc-radius-sm);
}
body.kcms .kcms-free-downloads__text { display: flex; flex-direction: column; min-width: 0; }
body.kcms .kcms-free-downloads__text strong { color: var(--kc-heading); }
body.kcms .kcms-free-downloads__text span { font-size: 13.5px; color: var(--kc-muted); line-height: 1.4; }
body.kcms .kcms-free-downloads__btn { flex: 0 0 auto; margin: 0; padding: 10px 18px; min-height: 0; font-size: 15px; }

/* Custom inquiry: wide card, two fields per row on larger screens */
body.kcms .kcms-inquiry { max-width: 760px; margin: var(--kc-section-gap) auto; }
@media (min-width: 700px) {
	body.kcms .kcms-form--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--kc-space-4); }
	body.kcms .kcms-form--grid > :is(.kcms-form-alert, .kcms-field--message, .kcms-form__actions, .kcms-hp) { grid-column: 1 / -1; }
	body.kcms .kcms-form--grid .kcms-form__actions { display: flex; align-items: center; gap: var(--kc-space-4); }
	body.kcms .kcms-form--grid .kcms-form__submit { width: auto; margin: 0; flex: 0 0 auto; }
	body.kcms .kcms-form--grid .kcms-form__consent { margin: 0; }
}

/* ---------- Redesigned pages (Batch 5): shared page components ---------- */
/* Custom, Lessons and Support open with their own hero, so the theme title is kept for screen readers only. */
body.kcms.kcms-designed-page .single-title {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
body.kcms.kcms-designed-page .page-area,
body.kcms.kcms-underscores .page-area { padding-top: 0; }
body.kcms.kcms-designed-page .single-entry-summary { margin-top: 0; }
body.kcms .kcms-page-hero,
body.kcms .kcms-us-hero,
body.kcms .kcms-giving-hero {
	width: 100vw;
	margin: 0 calc(50% - 50vw);
	padding: clamp(44px, 8vw, 96px) max(20px, calc(50vw - 560px)) clamp(40px, 6vw, 80px);
	background: var(--kc-hero-bg);
	position: relative;
	overflow: hidden;
}
body.kcms .kcms-page-hero { text-align: center; }
body.kcms .kcms-page-hero > * { max-width: 760px; margin-left: auto; margin-right: auto; }
body.kcms .kcms-page-eyebrow {
	display: block;
	color: var(--kc-eyebrow);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .14em;
	margin-top: 0;
	margin-bottom: var(--kc-space-4);
}
body.kcms .kcms-page-title {
	color: var(--kc-hero-heading);
	font-size: clamp(32px, 5.2vw, 54px);
	line-height: 1.08;
	margin-top: 0;
	margin-bottom: var(--kc-space-4);
}
body.kcms .kcms-page-lead { color: var(--kc-hero-muted); font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; margin: 0 auto var(--kc-space-6); }
body.kcms .kcms-page-ctas { display: flex; flex-wrap: wrap; gap: var(--kc-space-3); margin-top: 0; margin-bottom: 0; }
body.kcms .kcms-page-hero .kcms-page-ctas,
body.kcms .kcms-page-ctas--center { justify-content: center; }
body.kcms .kcms-page-ctas .wp-block-button { margin: 0; }
body.kcms .kcms-page-section { max-width: 1080px; margin: var(--kc-section-gap) auto 0; }
body.kcms .kcms-page-section:last-child { margin-bottom: var(--kc-section-gap); }
body.kcms .kcms-page-h2 { font-size: clamp(26px, 3.2vw, 34px); text-align: center; margin: 0 0 var(--kc-heading-gap); }
body.kcms .kcms-page-h3 { font-size: 24px; margin: 0 0 var(--kc-space-3); }

/* Feature cards with icons */
body.kcms .kcms-feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--kc-space-4); }
@media (min-width: 768px) { body.kcms .kcms-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--kc-space-5); } }
body.kcms .kcms-feature {
	--kc-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
	position: relative;
	margin: 0;
	padding: 84px var(--kc-space-5) var(--kc-space-5);
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: var(--kc-space-2);
}
body.kcms .kcms-feature::before,
body.kcms .kcms-feature::after { content: ""; position: absolute; }
body.kcms .kcms-feature::before { left: var(--kc-space-5); top: var(--kc-space-5); width: 44px; height: 44px; border-radius: 50%; background: var(--kc-surface-2); }
body.kcms .kcms-feature::after {
	left: calc(var(--kc-space-5) + 11px);
	top: calc(var(--kc-space-5) + 11px);
	width: 22px;
	height: 22px;
	background: var(--kc-accent);
	-webkit-mask: var(--kc-feature-icon) center / contain no-repeat;
	mask: var(--kc-feature-icon) center / contain no-repeat;
}
body.kcms .kcms-feature strong { font-family: var(--kc-head-font); font-weight: var(--kc-head-weight); font-size: 21px; color: var(--kc-heading); line-height: 1.25; }
body.kcms .kcms-feature span { color: var(--kc-muted); font-size: 16px; line-height: 1.55; }
body.kcms .kcms-feature a { display: inline-block; margin-top: var(--kc-space-2); font-weight: 600; }
body.kcms .kcms-feature--subtle { --kc-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12c2.5-3 4.5-3 7 0s4.5 3 7 0 4.5-3 6 0'/%3E%3C/svg%3E"); }
body.kcms .kcms-feature--vamp { --kc-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 2l3 3-3 3'/%3E%3Cpath d='M4 11V9a4 4 0 0 1 4-4h12M7 22l-3-3 3-3'/%3E%3Cpath d='M20 13v2a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E"); }
body.kcms .kcms-feature--team { --kc-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-3.6 3.4-5.5 6.5-5.5s5.7 1.9 6.5 5.5'/%3E%3Cpath d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18.5 14.8c1.6.9 2.6 2.6 3 5.2'/%3E%3C/svg%3E"); }
body.kcms .kcms-feature--video { --kc-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='14' height='14' rx='2'/%3E%3Cpath d='M16.5 10l5-3v10l-5-3z'/%3E%3C/svg%3E"); }
body.kcms .kcms-feature--app { --kc-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E"); }
body.kcms .kcms-feature--jingle { --kc-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4h4l6 5V5L7 10z'/%3E%3Cpath d='M16.5 8.5a5 5 0 0 1 0 7M19.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }

/* Numbered steps */
body.kcms .kcms-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--kc-space-4); counter-reset: kcms-step; }
@media (min-width: 768px) { body.kcms .kcms-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--kc-space-5); } }
body.kcms .kcms-steps li { counter-increment: kcms-step; margin: 0; display: flex; flex-direction: column; gap: var(--kc-space-2); padding-top: 60px; position: relative; }
body.kcms .kcms-steps li::before {
	content: counter(kcms-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--kc-accent);
	color: var(--kc-accent-ink);
	font-family: var(--kc-head-font);
	font-weight: 700;
	font-size: 20px;
}
body.kcms .kcms-steps strong { font-family: var(--kc-head-font); font-weight: var(--kc-head-weight); font-size: 21px; color: var(--kc-heading); }
body.kcms .kcms-steps span { color: var(--kc-muted); }

/* Two panels side by side */
body.kcms .kcms-split { display: grid; gap: var(--kc-space-5); }
@media (min-width: 768px) { body.kcms .kcms-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.kcms .kcms-panel,
body.kcms .kcms-us-panel {
	padding: clamp(24px, 3.5vw, 36px);
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-sm);
}
body.kcms .kcms-panel .kcms-page-h2,
body.kcms .kcms-us-panel .kcms-page-h2 { text-align: left; font-size: clamp(22px, 2.4vw, 26px); margin-bottom: var(--kc-space-4); }
body.kcms .kcms-panel p { margin: 0; color: var(--kc-text); }
body.kcms .kcms-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--kc-space-2); }
body.kcms .kcms-chips--center { justify-content: center; }
body.kcms .kcms-chips li { margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--kc-surface-2); border: 1px solid var(--kc-border); color: var(--kc-heading); font-size: 15px; font-weight: 600; }
body.kcms .kcms-page-hero .kcms-chips li { background: var(--kc-surface); }
body.kcms .kcms-page-hero > .kcms-chips { margin-left: auto; margin-right: auto; }

/* Contact card */
body.kcms .kcms-contact-card { padding: var(--kc-space-5); background: var(--kc-surface-2); border-radius: var(--kc-radius); }
body.kcms .kcms-contact-card p { margin: 0 0 var(--kc-space-4); }
body.kcms .kcms-contact-card p:last-child { margin-bottom: 0; }
body.kcms .kcms-contact-card .wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--kc-space-3); margin: 0; }
body.kcms .kcms-contact-card .wp-block-button { margin: 0; }
body.kcms .kcms-contact-card--center { max-width: 520px; margin: 0 auto; text-align: center; background: var(--kc-surface); border: 1px solid var(--kc-border); box-shadow: var(--kc-shadow-sm); }

/* ---------- Lessons ---------- */
body.kcms .kcms-teacher { display: grid; gap: var(--kc-space-6); align-items: start; }
@media (min-width: 768px) { body.kcms .kcms-teacher { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: var(--kc-space-7); } }
body.kcms .kcms-teacher__photo { margin: 0 auto; max-width: 360px; width: 100%; }
body.kcms .kcms-teacher__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 20%;
	border-radius: var(--kc-radius);
	border: 8px solid var(--kc-surface);
	box-shadow: var(--kc-shadow-lg);
}
body.kcms .kcms-teacher__body .kcms-page-h2 { text-align: left; margin-bottom: var(--kc-space-3); }
body.kcms .kcms-teacher__degrees { color: var(--kc-heading); }
body.kcms .kcms-teacher__degrees strong { font-weight: 600; }
body.kcms .kcms-facts { list-style: none; margin: var(--kc-space-5) 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--kc-space-3); }
body.kcms .kcms-facts li { margin: 0; padding: var(--kc-space-4); background: var(--kc-surface); border: 1px solid var(--kc-border); border-radius: var(--kc-radius); box-shadow: var(--kc-shadow-sm); display: flex; flex-direction: column; gap: 2px; }
body.kcms .kcms-facts strong { font-family: var(--kc-head-font); font-weight: var(--kc-head-weight); font-size: clamp(19px, 2vw, 24px); color: var(--kc-accent); line-height: 1.2; }
body.kcms .kcms-facts span { font-size: 14.5px; color: var(--kc-muted); line-height: 1.4; }
@media (max-width: 560px) { body.kcms .kcms-facts { grid-template-columns: 1fr; } }

/* ---------- Support / Our giving ---------- */
body.kcms .kcms-giving-hero { padding-top: clamp(40px, 7vw, 88px); }
body.kcms .kcms-giving-hero__bg {
	position: absolute;
	inset: -40px;
	background-size: cover;
	background-position: center 30%;
	filter: blur(28px) saturate(.9);
	opacity: .35;
}
body.kcms .kcms-giving-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--kc-bg) 55%, transparent), var(--kc-bg)); }
body.kcms .kcms-giving-hero__inner { position: relative; z-index: 1; display: grid; gap: var(--kc-space-6); align-items: center; max-width: 1080px; margin: 0 auto; }
@media (min-width: 900px) { body.kcms .kcms-giving-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: var(--kc-space-7); } }
body.kcms .kcms-giving-hero__text .kcms-page-lead { margin-bottom: 0; }
body.kcms .kcms-giving-hero__photo { margin: 0; transform: rotate(1.2deg); }
body.kcms .kcms-giving-hero__photo img { display: block; width: 100%; height: auto; border: 10px solid #fff; border-bottom-width: 10px; border-radius: 6px; box-shadow: var(--kc-shadow-lg); }
body.kcms .kcms-giving-hero__photo figcaption { text-align: center; font-family: var(--kc-head-font); font-style: italic; color: var(--kc-muted); margin-top: var(--kc-space-3); transform: rotate(-1.2deg); }
body.kcms .kcms-giving-story { max-width: 720px; margin-top: var(--kc-space-7); }
body.kcms .kcms-giving-story p { font-size: 18px; line-height: 1.7; }
body.kcms .kcms-giving-story__lead { font-family: var(--kc-head-font); font-size: clamp(22px, 2.6vw, 28px) !important; line-height: 1.4 !important; color: var(--kc-heading); text-align: center; margin: 0 0 var(--kc-space-6); }
body.kcms .kcms-giving-stat {
	display: grid;
	gap: var(--kc-space-2) var(--kc-space-5);
	align-items: center;
	margin: 0 0 var(--kc-space-6);
	padding: var(--kc-space-6);
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-md);
}
@media (min-width: 600px) { body.kcms .kcms-giving-stat { grid-template-columns: auto 1fr; } }
body.kcms .kcms-giving-stat strong { font-family: var(--kc-head-font); font-size: clamp(56px, 8vw, 76px); line-height: 1; color: var(--kc-accent); }
body.kcms .kcms-giving-stat span { font-size: 18px; line-height: 1.55; color: var(--kc-text); }
body.kcms .kcms-giving-story__note { text-align: center; color: var(--kc-muted); font-size: 16px !important; margin: var(--kc-space-6) 0 var(--kc-space-5); }

/* ---------- Underscores landing page ---------- */
body.kcms .kcms-us-hero { display: grid; gap: var(--kc-space-6); align-items: center; }
@media (min-width: 900px) { body.kcms .kcms-us-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: var(--kc-space-7); } }
body.kcms .kcms-us-hero .kcms-page-lead { margin-left: 0; max-width: 560px; }
body.kcms .kcms-us-facts { list-style: none; margin: var(--kc-space-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--kc-space-2) var(--kc-space-5); color: var(--kc-hero-muted); font-size: 15px; }
body.kcms .kcms-us-facts li { margin: 0; display: flex; align-items: center; gap: 8px; }
body.kcms .kcms-us-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--kc-accent); }
body.kcms .kcms-us-facts strong { color: var(--kc-heading); }
/* Video poster: drawn in CSS (staff lines + play button) so it is sharp at any size; the player loads only on click. */
body.kcms .kcms-video-poster {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 16 / 9;
	padding: var(--kc-space-5);
	border-radius: var(--kc-radius);
	color: #FBF7F0 !important;
	text-decoration: none;
	overflow: hidden;
	background:
		repeating-linear-gradient(180deg, transparent 0 17px, rgba(251, 247, 240, .10) 17px 18px) 0 22% / 100% 90px no-repeat,
		radial-gradient(120% 120% at 85% 0%, #5A3A2A 0%, #2B2320 60%);
	box-shadow: var(--kc-shadow-lg);
	transition: transform .2s ease, box-shadow .2s ease;
}
body.kcms .kcms-video-poster:hover { transform: translateY(-2px); box-shadow: 0 22px 50px var(--kc-shadow); }
body.kcms .kcms-video-poster__play {
	position: absolute;
	left: 50%;
	top: 42%;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: 50%;
	background: var(--kc-accent);
	box-shadow: 0 0 0 10px rgba(166, 61, 42, .22);
	transition: transform .2s ease;
}
body.kcms .kcms-video-poster__play::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
body.kcms .kcms-video-poster:hover .kcms-video-poster__play { transform: scale(1.06); }
body.kcms .kcms-video-poster__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #E8B49B; }
body.kcms .kcms-video-poster__title { font-family: var(--kc-head-font); font-size: 21px; line-height: 1.25; margin: 2px 0; }
body.kcms .kcms-video-poster__meta { font-size: 14px; color: #D9CFC4; }
body.kcms .kcms-us-split { display: grid; gap: var(--kc-space-5); align-items: start; }
@media (min-width: 900px) { body.kcms .kcms-us-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--kc-space-7); } }
body.kcms .kcms-us-split > div:first-child .kcms-page-h2 { text-align: left; }
body.kcms .kcms-use-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--kc-space-3); }
@media (max-width: 480px) { body.kcms .kcms-use-list { grid-template-columns: 1fr; } }
body.kcms .kcms-use-list li {
	margin: 0;
	padding: var(--kc-space-3) var(--kc-space-4) var(--kc-space-3) 44px;
	position: relative;
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius-sm);
	color: var(--kc-heading);
	font-weight: 600;
	font-size: 15.5px;
}
body.kcms .kcms-use-list li::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border-radius: 50%;
	background: var(--kc-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.2 4.8 10l-1.1 1.1L8 15.4l8.3-8.3-1.1-1.1z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
body.kcms .kcms-us-panel p { margin: 0 0 var(--kc-space-3); }
body.kcms .kcms-text-link { font-weight: 700; text-decoration: none; }
body.kcms .kcms-text-link::after { content: " →"; }
body.kcms .kcms-us-panel__h3 { font-size: 18px; margin: var(--kc-space-5) 0 var(--kc-space-3); padding-top: var(--kc-space-4); border-top: 1px solid var(--kc-border); }
body.kcms .kcms-sample-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--kc-space-2); }
body.kcms .kcms-sample-list li { margin: 0; display: flex; align-items: center; gap: var(--kc-space-3); font-weight: 600; color: var(--kc-heading); }
body.kcms .kcms-sample-list .kcms-play { --size: 40px; position: relative; inset: auto; top: auto; right: auto; flex: 0 0 auto; }
body.kcms .kcms-us-packages { margin-bottom: var(--kc-space-6); }
body.kcms .kcms-us-packages .kcms-section-intro { margin-bottom: 0; }
/* Highlight the complete library on the grid. */
body.kcms.kcms-underscores li.product.post-168 { position: relative; }
body.kcms.kcms-underscores li.product.post-168::before {
	content: "Best value";
	position: absolute;
	z-index: 4;
	top: -12px;
	left: var(--kc-space-4);
	white-space: nowrap;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--kc-heading);
	color: var(--kc-bg);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .04em;
	box-shadow: var(--kc-shadow-sm);
}
/* FAQ */
body.kcms .kcms-faq { max-width: 760px; }
body.kcms .kcms-faq__item { border-bottom: 1px solid var(--kc-border); }
body.kcms .kcms-faq__item:first-of-type { border-top: 1px solid var(--kc-border); }
body.kcms .kcms-faq__item summary {
	list-style: none;
	cursor: pointer;
	padding: var(--kc-space-4) 40px var(--kc-space-4) 0;
	position: relative;
	font-family: var(--kc-head-font);
	font-weight: var(--kc-head-weight);
	font-size: 19px;
	color: var(--kc-heading);
}
body.kcms .kcms-faq__item summary::-webkit-details-marker { display: none; }
body.kcms .kcms-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--kc-body-font); font-size: 26px; font-weight: 400; color: var(--kc-accent); transition: transform .2s ease; }
body.kcms .kcms-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
body.kcms .kcms-faq__item p { margin: 0 0 var(--kc-space-4); color: var(--kc-muted); }

/* ---------- Checkout: payment box in Sanctuary colours (WooCommerce default is lavender) ---------- */
body.kcms #payment div.payment_box {
	background: var(--kc-surface-2);
	color: var(--kc-text);
	border-radius: var(--kc-radius-sm);
	padding: var(--kc-space-4);
}
body.kcms #payment div.payment_box::before { border-bottom-color: var(--kc-surface-2); }
body.kcms #payment div.payment_box p { color: var(--kc-muted); font-size: 14.5px; }
body.kcms #payment div.payment_box fieldset { border: 0; padding: 0; margin: 0; background: transparent; }


/* ==========================================================================
   Pre-launch adjustments (2026-11-21)
   ========================================================================== */

/* ---------- Orange text: map WordPress's orange/red colour presets to Sanctuary's coral ---------- */
/* Old page content uses has-luminous-vivid-orange-color etc. (with !important); redefining the
   preset variables recolours every one of them without editing the pages. */
body.kcms {
	--wp--preset--color--luminous-vivid-orange: var(--kc-accent);
	--wp--preset--color--vivid-red: var(--kc-accent);
	--wp--preset--color--luminous-vivid-amber: var(--kc-accent);
}
/* Product descriptions colour some text inline (orange #ff6600, "red", #b31919). Stylesheet
   !important beats a plain inline style, so these become the brand accent too. */
body.kcms [style*="ff6600" i],
body.kcms [style*="color:red" i],
body.kcms [style*="color: red" i],
body.kcms [style*="b31919" i] { color: var(--kc-accent) !important; }

/* ---------- Breadcrumbs: consistent breathing room under the menu and above the page ---------- */
body.kcms:not(.home) .page-area { padding-top: 0; }
body.kcms #breadcrumbs {
	margin: 0;
	padding: var(--kc-space-5) 0 var(--kc-space-4);
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--kc-muted);
}
body.kcms #breadcrumbs a { color: var(--kc-muted); text-decoration: none; }
body.kcms #breadcrumbs a:hover { color: var(--kc-accent); text-decoration: underline; }
body.kcms #breadcrumbs .breadcrumb_last { color: var(--kc-heading); font-weight: 600; }
body.kcms .single-title,
body.kcms h1.page-title { margin-top: var(--kc-space-2); }
@media (max-width: 767px) { body.kcms #breadcrumbs { padding: var(--kc-space-4) 0 var(--kc-space-3); font-size: 14px; } }

/* ---------- Home "Find music for your service" tiles: stacked cards, equal height ---------- */
@media (min-width: 481px) {
	body.kcms .kcms-tiles { align-items: stretch; }
	body.kcms .kcms-tiles a {
		--kc-tile-pad: var(--kc-space-6);
		min-height: 0;
		padding: calc(var(--kc-tile-pad) + 52px + var(--kc-space-4)) var(--kc-tile-pad) var(--kc-tile-pad);
		gap: var(--kc-space-2);
	}
	body.kcms .kcms-tiles a::before,
	body.kcms .kcms-tiles strong::before { width: 52px; height: 52px; }
	body.kcms .kcms-tiles strong { font-size: 21px; margin: 0; }
	body.kcms .kcms-tiles a::after {
		content: "Browse \2192";
		position: static;
		margin-top: auto;
		padding-top: var(--kc-space-4);
		font-size: 15px;
		letter-spacing: .01em;
	}
	body.kcms .kcms-tiles a:hover::after,
	body.kcms .kcms-tiles a:focus-visible::after { transform: translateX(3px); }
}
@media (min-width: 481px) and (max-width: 1023px) {
	body.kcms .kcms-tiles a { --kc-tile-pad: var(--kc-space-5); }
}

/* ---------- Shop / category pages: category cards with branded icons ---------- */
body.kcms ul.products li.product.product-category { padding-bottom: 0; }
body.kcms ul.products li.product-category > a {
	display: flex;
	flex-direction: column;
	gap: var(--kc-space-2);
	height: 100%;
	padding: var(--kc-space-6);
	text-decoration: none;
	color: var(--kc-muted);
}
body.kcms .kcms-cat-icon {
	--kc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
	position: relative;
	display: block;
	width: 56px;
	height: 56px;
	margin-bottom: var(--kc-space-3);
	border-radius: 50%;
	background: var(--kc-surface-2);
	transition: background-color .18s ease;
}
body.kcms .kcms-cat-icon::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--kc-accent);
	-webkit-mask: var(--kc-cat-icon) center / 26px no-repeat;
	mask: var(--kc-cat-icon) center / 26px no-repeat;
	transition: background-color .18s ease;
}
body.kcms .kcms-cat-icon--underscores { --kc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v4M8 7v10M12 4v16M16 8v8M20 11v2'/%3E%3C/svg%3E"); }
body.kcms .kcms-cat-icon--three-plus-keys { --kc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17V6l12-2v11M13 16V5'/%3E%3Ccircle cx='5' cy='17' r='2'/%3E%3Ccircle cx='11' cy='16' r='2'/%3E%3Ccircle cx='17' cy='15' r='2'/%3E%3C/svg%3E"); }
body.kcms .kcms-cat-icon--instrumental-solos { --kc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18V4c0 2.5 4 3 5 6'/%3E%3Ccircle cx='9.5' cy='18' r='2.5'/%3E%3C/svg%3E"); }
body.kcms .kcms-cat-icon--piano-solos { --kc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M9 19v-5M15 19v-5M7.5 5v9h3V5M13.5 5v9h3V5'/%3E%3C/svg%3E"); }
body.kcms .kcms-cat-icon--christmas { --kc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.5 5.2 5.7.8-4.1 4 1 5.6L12 16.4l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3C/svg%3E"); }
body.kcms .kcms-cat-icon--courses { --kc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7c-2-1.6-5-2-8-1.3V19c3-.7 6-.3 8 1.3 2-1.6 5-2 8-1.3V5.7C17 5 14 5.4 12 7zM12 7v13.3'/%3E%3C/svg%3E"); }
body.kcms .kcms-cat-icon--ensembles { --kc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-3.6 3.4-5.5 6.5-5.5s5.7 1.9 6.5 5.5'/%3E%3Cpath d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18.5 14.8c1.6.9 2.6 2.6 3 5.2'/%3E%3C/svg%3E"); }
body.kcms .kcms-cat-icon--piano-trios { --kc-cat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E"); }
body.kcms ul.products li.product-category h2.woocommerce-loop-category__title {
	margin: 0;
	padding: 0;
	font-family: var(--kc-head-font);
	font-weight: var(--kc-head-weight);
	font-size: 22px;
	line-height: 1.25;
	color: var(--kc-heading);
	text-align: left;
}
body.kcms .kcms-cat-count { display: block; margin-top: var(--kc-space-1); font-family: var(--kc-body-font); font-size: 15px; font-weight: 400; color: var(--kc-muted); }
body.kcms ul.products li.product-category > a::after {
	content: "Browse \2192";
	margin-top: auto;
	padding-top: var(--kc-space-4);
	color: var(--kc-accent);
	font-weight: 700;
	font-size: 15px;
	transition: transform .18s ease;
}
body.kcms ul.products li.product-category:hover .kcms-cat-icon { background: var(--kc-accent); }
body.kcms ul.products li.product-category:hover .kcms-cat-icon::after { background: var(--kc-accent-ink); }
body.kcms ul.products li.product-category:hover > a::after { transform: translateX(3px); }
@media (max-width: 480px) {
	body.kcms ul.products li.product-category > a { padding: var(--kc-space-4); }
	body.kcms .kcms-cat-icon { width: 46px; height: 46px; }
	body.kcms .kcms-cat-icon::after { -webkit-mask-size: 22px; mask-size: 22px; }
	body.kcms ul.products li.product-category h2.woocommerce-loop-category__title { font-size: 18px; }
}
/* Shop intro line ("Any of the music available here can be customized…"): a calm, centred note. */
body.kcms .page-description { max-width: 720px; margin: 0 auto var(--kc-space-6); text-align: center; }
body.kcms .page-description .kcms-shop-intro,
body.kcms .page-description p.has-luminous-vivid-orange-color { font-size: 18px !important; line-height: 1.55; color: var(--kc-muted) !important; margin: 0; }
body.kcms .page-description a { font-weight: 600; }

/* ---------- Added-to-cart panel (cart-ui.js) ---------- */
/* The panel replaces WooCommerce's small "View cart" link that appeared under the card. */
body.kcms ul.products li.product a.added_to_cart,
body.kcms .wc-block-grid__product a.added_to_cart { display: none !important; }
body.kcms .kcms-added {
	position: fixed;
	z-index: 10000;
	right: var(--kc-space-5);
	bottom: var(--kc-space-5);
	width: min(380px, calc(100vw - 2 * var(--kc-space-4)));
	display: flex;
	gap: var(--kc-space-4);
	align-items: flex-start;
	padding: var(--kc-space-4) var(--kc-space-6) var(--kc-space-4) var(--kc-space-4);
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-left: 4px solid var(--kc-accent);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-lg);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .25s ease, transform .25s ease;
}
body.kcms .kcms-added.is-open { opacity: 1; transform: none; }
body.kcms .kcms-added__img { flex: 0 0 auto; width: 64px; height: 80px; object-fit: contain; background: var(--kc-surface-2); border-radius: var(--kc-radius-sm); padding: 4px; }
body.kcms .kcms-added__body { min-width: 0; flex: 1 1 auto; }
body.kcms .kcms-added__title { margin: 0; font-weight: 700; color: var(--kc-heading); font-size: 15px; display: flex; align-items: center; gap: 6px; }
body.kcms .kcms-added__title::before {
	content: "";
	width: 18px;
	height: 18px;
	border-radius: 50%;
	flex: 0 0 auto;
	background: var(--kc-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.2 4.8 10l-1.1 1.1L8 15.4l8.3-8.3-1.1-1.1z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
body.kcms .kcms-added__name { margin: 2px 0 var(--kc-space-3); font-size: 14.5px; line-height: 1.4; color: var(--kc-muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
body.kcms .kcms-added__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--kc-space-3); }
body.kcms .kcms-added__cart { min-height: 42px !important; padding: 9px 20px !important; font-size: 15px !important; }
body.kcms .kcms-added__keep { all: unset; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--kc-muted); }
body.kcms .kcms-added__keep:hover { color: var(--kc-heading); text-decoration: underline; }
body.kcms .kcms-added__keep:focus-visible,
body.kcms .kcms-added__close:focus-visible { outline: 3px solid var(--kc-accent); outline-offset: 2px; border-radius: 4px; }
body.kcms .kcms-added__close { all: unset; position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; color: var(--kc-muted); font-size: 22px; line-height: 1; }
body.kcms .kcms-added__close:hover { background: var(--kc-surface-2); color: var(--kc-heading); }
@media (max-width: 600px) {
	body.kcms .kcms-added { left: var(--kc-space-3); right: var(--kc-space-3); bottom: calc(var(--kc-space-3) + env(safe-area-inset-bottom, 0px)); width: auto; }
}
@keyframes kcms-bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.18); } 70% { transform: scale(.95); } }
body.kcms .kcms-bump .cart-contents,
body.kcms .kcms-bump > a { animation: kcms-bump .5s ease; }
@media (prefers-reduced-motion: reduce) {
	body.kcms .kcms-added { transition: none; }
	body.kcms .kcms-bump .cart-contents, body.kcms .kcms-bump > a { animation: none; }
}

/* ---------- Cart page: items card + sticky order card, one clear primary action ---------- */
@media (min-width: 992px) {
	body.kcms.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: var(--kc-space-6);
		align-items: start;
	}
	body.kcms.woocommerce-cart .woocommerce:has(> form.woocommerce-cart-form) > :not(form.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
	body.kcms.woocommerce-cart .cart-collaterals { position: sticky; top: var(--kc-space-6); }
}
body.kcms.woocommerce-cart form.woocommerce-cart-form { margin: 0 0 var(--kc-space-6); }
body.kcms.woocommerce-cart table.shop_table.cart {
	width: 100%;
	margin: 0;
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	border-collapse: separate;
	border-spacing: 0;
	box-shadow: var(--kc-shadow-sm);
	overflow: hidden;
}
body.kcms.woocommerce-cart table.shop_table.cart th,
body.kcms.woocommerce-cart table.shop_table.cart td { border: 0; border-top: 1px solid var(--kc-border); padding: var(--kc-space-4); vertical-align: middle; background: transparent; }
body.kcms.woocommerce-cart table.shop_table.cart thead th { border-top: 0; background: var(--kc-surface-2); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--kc-muted); padding-top: var(--kc-space-3); padding-bottom: var(--kc-space-3); }
body.kcms.woocommerce-cart table.shop_table.cart td.product-remove { width: 48px; padding-right: 0; }
body.kcms.woocommerce-cart table.shop_table.cart a.remove {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: var(--kc-muted) !important;
	background: transparent;
	border: 1px solid var(--kc-border);
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
body.kcms.woocommerce-cart table.shop_table.cart a.remove:hover { background: var(--kc-accent); border-color: var(--kc-accent); color: var(--kc-accent-ink) !important; }
body.kcms.woocommerce-cart table.shop_table.cart td.product-thumbnail { width: 80px; }
body.kcms.woocommerce-cart table.shop_table.cart td.product-thumbnail img { width: 64px; height: 80px; object-fit: contain; background: var(--kc-surface-2); border-radius: var(--kc-radius-sm); padding: 4px; box-shadow: none; }
body.kcms.woocommerce-cart table.shop_table.cart td.product-name a { color: var(--kc-heading); font-weight: 600; text-decoration: none; line-height: 1.4; }
body.kcms.woocommerce-cart table.shop_table.cart td.product-name a:hover { color: var(--kc-accent); }
body.kcms.woocommerce-cart table.shop_table.cart td.product-subtotal { font-weight: 700; color: var(--kc-heading); }
body.kcms.woocommerce-cart table.shop_table.cart .quantity input.qty { width: 72px; min-height: 44px; text-align: center; padding: 8px; }
/* Coupon + update row: quiet secondary actions */
body.kcms.woocommerce-cart table.shop_table.cart td.actions { background: var(--kc-surface-2); padding: var(--kc-space-4); }
body.kcms.woocommerce-cart table.shop_table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: var(--kc-space-3); align-items: center; float: none; }
body.kcms.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text { width: 200px; min-height: 44px; margin: 0; float: none; background: var(--kc-surface); }
body.kcms.woocommerce-cart table.shop_table.cart td.actions .button {
	min-height: 44px;
	padding: 9px 20px;
	font-size: 15px;
	float: none;
	margin: 0;
	background: transparent;
	color: var(--kc-heading) !important;
	border: 1.5px solid var(--kc-border-strong);
	box-shadow: none;
}
body.kcms.woocommerce-cart table.shop_table.cart td.actions .button:hover:not(:disabled) { background: var(--kc-surface); border-color: var(--kc-heading); transform: none; }
body.kcms.woocommerce-cart table.shop_table.cart td.actions .button:disabled,
body.kcms.woocommerce-cart table.shop_table.cart td.actions .button[disabled] { opacity: .45; cursor: default; }
@media (min-width: 768px) {
	body.kcms.woocommerce-cart table.shop_table.cart td.actions { display: table-cell; }
	body.kcms.woocommerce-cart table.shop_table.cart td.actions > .button[name="update_cart"] { float: right; }
}
/* Order card */
body.kcms.woocommerce-cart .cart-collaterals { width: auto; float: none; }
body.kcms.woocommerce-cart .cart-collaterals .cart_totals {
	width: 100%;
	float: none;
	padding: var(--kc-space-6);
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-md);
}
body.kcms.woocommerce-cart .cart_totals h2 { font-size: 26px; margin: 0 0 var(--kc-space-4); }
body.kcms.woocommerce-cart .cart_totals table.shop_table { width: 100%; margin: 0 0 var(--kc-space-5); border: 0; border-radius: 0; background: transparent; border-collapse: collapse; }
body.kcms.woocommerce-cart .cart_totals table.shop_table th,
body.kcms.woocommerce-cart .cart_totals table.shop_table td { border: 0; border-top: 1px solid var(--kc-border); padding: var(--kc-space-3) 0; background: transparent; font-weight: 400; color: var(--kc-text); }
body.kcms.woocommerce-cart .cart_totals table.shop_table tr:first-child th,
body.kcms.woocommerce-cart .cart_totals table.shop_table tr:first-child td { border-top: 0; }
body.kcms.woocommerce-cart .cart_totals table.shop_table td { text-align: right; }
body.kcms.woocommerce-cart .cart_totals tr.order-total th { font-weight: 700; color: var(--kc-heading); vertical-align: middle; }
body.kcms.woocommerce-cart .cart_totals tr.order-total td { font-family: var(--kc-head-font); font-size: 28px; color: var(--kc-heading); }
body.kcms.woocommerce-cart .cart_totals tr.order-total td strong { font-weight: var(--kc-head-weight); }
body.kcms.woocommerce-cart .wc-proceed-to-checkout { padding: 0; display: flex; flex-direction: column; gap: var(--kc-space-3); }
body.kcms.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	width: 100%;
	margin: 0;
	min-height: 56px;
	font-size: 18px !important;
	box-shadow: 0 10px 22px color-mix(in srgb, var(--kc-accent) 28%, transparent);
}
body.kcms.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { box-shadow: 0 14px 28px color-mix(in srgb, var(--kc-accent) 34%, transparent); }
body.kcms.woocommerce-cart .kcms-cart-trust { margin: var(--kc-space-4) 0 0; font-size: 14px; color: var(--kc-muted); text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; }
body.kcms.woocommerce-cart .kcms-cart-trust::before {
	content: "";
	width: 14px;
	height: 14px;
	background: var(--kc-muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Phones: instead of WooCommerce's "Label: value" stack, each item is a compact row:
   image | name, price, quantity | remove. */
@media (max-width: 767px) {
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item {
		display: grid;
		grid-template-columns: 64px minmax(0, 1fr) 36px;
		grid-template-areas: "thumb name remove" "thumb price remove" "thumb qty remove";
		column-gap: var(--kc-space-3);
		row-gap: var(--kc-space-1);
		align-items: center;
		padding: var(--kc-space-4);
		border-top: 1px solid var(--kc-border);
	}
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item:first-child { border-top: 0; }
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td { display: block; padding: 0; border: 0; text-align: left !important; }
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td::before { display: none; }
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td.product-thumbnail { grid-area: thumb; display: block !important; width: auto; align-self: start; }
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td.product-name { grid-area: name; }
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td.product-price { grid-area: price; color: var(--kc-muted); font-size: 15px; }
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td.product-quantity { grid-area: qty; }
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td.product-subtotal { display: none; }
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item td.product-remove { grid-area: remove; width: auto; align-self: start; }
	body.kcms.woocommerce-cart table.shop_table.cart .quantity input.qty { width: 64px; min-height: 40px; padding: 6px; }
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr td.actions { display: block; padding: var(--kc-space-4); text-align: left; }
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr td.actions::before { display: none; }
	body.kcms.woocommerce-cart table.shop_table.cart td.actions { border-top: 1px solid var(--kc-border); }
	body.kcms.woocommerce-cart table.shop_table.cart td.actions .coupon { flex-wrap: nowrap; padding: 0; }
	body.kcms.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text { flex: 1 1 auto; width: auto !important; min-width: 0; margin: 0 !important; }
	body.kcms.woocommerce-cart table.shop_table.cart td.actions .coupon .button { flex: 0 0 auto; width: auto !important; }
	body.kcms.woocommerce-cart table.shop_table.cart td.actions > .button[name="update_cart"] { width: 100%; margin-top: var(--kc-space-3); }
	body.kcms.woocommerce-cart .cart-collaterals .cart_totals { padding: var(--kc-space-5); }
}
/* Express buttons (Apple Pay / Google Pay / Link) sit under the main checkout button. */
body.kcms.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { order: -1; }
/* Phones: WooCommerce shows the totals labels with td::before; keep them in the body font. */
body.kcms.woocommerce-cart .cart_totals table.shop_table_responsive td::before { font-family: var(--kc-body-font); font-size: 16px; font-weight: 700; color: var(--kc-heading); }
body.kcms.woocommerce-cart .cart_totals tr.order-total td::before { vertical-align: middle; }
/* Narrow cards: WooCommerce's "added" tick makes "Add to cart" wrap; the panel already confirms it. */
@media (max-width: 600px) {
	body.kcms ul.products li.product a.add_to_cart_button.added::after,
	body.kcms .wc-block-grid__product a.add_to_cart_button.added::after { display: none; }
}

/* ---------- Cart items card: same look as the checkout Order summary ---------- */
/* White throughout: quiet column labels instead of a cream band, square white thumbnails with a thin
   border, a white coupon row separated by a hairline. */
body.kcms.woocommerce-cart table.shop_table.cart { box-shadow: var(--kc-shadow-md); }
body.kcms.woocommerce-cart table.shop_table.cart thead th {
	background: transparent;
	font-size: 12px;
	letter-spacing: .1em;
	padding-top: var(--kc-space-4);
	padding-bottom: var(--kc-space-3);
}
body.kcms.woocommerce-cart table.shop_table.cart td.product-thumbnail { width: 76px; }
body.kcms.woocommerce-cart table.shop_table.cart td.product-thumbnail a { display: block; width: 56px; height: 56px; }
body.kcms.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	background: #fff;
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius-sm);
	padding: 0;
	box-shadow: none;
}
body.kcms.woocommerce-cart table.shop_table.cart td.product-name .kcms-cart-meta { display: block; margin-top: 2px; }
body.kcms.woocommerce-cart table.shop_table.cart td.product-price { color: var(--kc-muted); }
body.kcms.woocommerce-cart table.shop_table.cart td.actions { background: transparent; border-top: 1px solid var(--kc-border); }
@media (max-width: 767px) {
	body.kcms.woocommerce-cart table.shop_table_responsive.cart tr.cart_item { grid-template-columns: 56px minmax(0, 1fr) 36px; }
}


/* ---------- Main menu: title-case labels with a one-line description ---------- */
/* The theme prints menu descriptions as small yellow badges; ours (.kcms-nav-desc) replace them. */
body.kcms .navbar-nav .menu-description { display: none !important; }
body.kcms .navbar-nav > li > a .kcms-nav-desc {
	display: block;
	font-size: inherit;
	font-family: var(--kc-body-font);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.4;
	color: var(--kc-muted);
}
@media (min-width: 768px) {
	/* Desktop: the description appears in a small card under the item on hover or keyboard focus. */
	body.kcms .navbar-nav > li { position: relative; }
	body.kcms .navbar-nav > li > a { padding-left: 14px; padding-right: 14px; }
	body.kcms .navbar-nav > li > a .kcms-nav-desc {
		position: absolute;
		z-index: 1001;
		left: 50%;
		top: calc(100% + 8px);
		width: max-content;
		white-space: nowrap;
		padding: 10px 14px;
		background: var(--kc-surface);
		border: 1px solid var(--kc-border);
		border-radius: var(--kc-radius-sm);
		box-shadow: var(--kc-shadow-md);
		font-size: 13.5px;
		text-align: center;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translate(-50%, 4px);
		transition: none; /* no animation at rest, so nothing flickers while the page loads */
	}
	body.kcms .navbar-nav > li > a .kcms-nav-desc::before {
		content: "";
		position: absolute;
		left: 50%;
		top: -6px;
		width: 10px;
		height: 10px;
		margin-left: -5px;
		background: var(--kc-surface);
		border-left: 1px solid var(--kc-border);
		border-top: 1px solid var(--kc-border);
		transform: rotate(45deg);
	}
	body.kcms .navbar-nav > li:hover > a .kcms-nav-desc,
	body.kcms .navbar-nav > li > a:focus-visible .kcms-nav-desc {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
		transition: opacity .15s ease .12s, transform .15s ease .12s; /* fade in on hover/focus only */
	}
}
@media (min-width: 768px) and (max-width: 1023px) {
	body.kcms .navbar-nav > li > a { padding-left: 9px; padding-right: 9px; font-size: 14.5px; }
}
@media (max-width: 767px) {
	/* Phone menu (the theme's slide-in panel): label with its description underneath. */
	body.kcms .navbar-nav > li > a { padding-top: 13px; padding-bottom: 13px; line-height: 1.3; }
	body.kcms .navbar-nav > li > a .kcms-nav-desc { margin-top: 3px; font-size: 14px; font-weight: 400; }
	/* The theme caps menu links at 60px (#my-menu … max-height), which cuts off two-line descriptions. */
	body.kcms #my-menu .navbar-nav > li,
	body.kcms #my-menu .navbar-nav > li > a { height: auto; max-height: none; }
	body.kcms .mm .navbar-nav > li > a { white-space: normal; overflow: visible; }
	body.kcms .mm .navbar-nav > li > a::after { display: none; } /* theme's yellow active underline */
	/* No submenus here, so no arrows; one hairline between items; current page marked with a side bar. */
	body.kcms .mm .navbar-nav > li:not(.menu-item-has-children)::after { display: none; }
	body.kcms .mm .navbar-nav > li::before { border-color: var(--kc-border); }
	body.kcms .mm .navbar-nav > li > a,
	body.kcms .navbar-default .mm .navbar-nav > li > a:hover { box-shadow: none; border: 0; }
	body.kcms .navbar-default .mm .navbar-nav > .current-menu-item > a { box-shadow: inset 3px 0 0 var(--kc-accent); }
	body.kcms .navbar-nav > li > a:hover .kcms-nav-desc,
	body.kcms .navbar-nav > .current-menu-item > a .kcms-nav-desc { color: var(--kc-muted); }
}

/* ---------- Home hero: sample links ---------- */
body.kcms .kcms-hero p.kcms-hero-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--kc-space-2) var(--kc-space-5);
	margin: var(--kc-space-5) auto 0;
	font-size: 15px;
}
body.kcms .kcms-hero-links .kcms-hear-sample a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--kc-hero-muted);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
	text-underline-offset: 3px;
}
body.kcms .kcms-hero-links .kcms-hear-sample a::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--kc-icon-headphones) center / contain no-repeat;
	mask: var(--kc-icon-headphones) center / contain no-repeat;
}
body.kcms .kcms-hero-links .kcms-hear-sample a.is-playing { color: var(--kc-accent); }
body.kcms .kcms-hero-links .kcms-hear-sample a.is-playing::before { -webkit-mask-image: var(--kc-icon-pause); mask-image: var(--kc-icon-pause); }
body.kcms .kcms-hero-links .kcms-hear-sample a.is-loading::before { animation: kcms-pulse 1s ease-in-out infinite; }
body.kcms .kcms-hero-links a:hover { color: var(--kc-accent); }

/* ---------- Custom page: price/turnaround facts and visible placeholders ---------- */
body.kcms .kcms-quote-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--kc-space-3); margin: 0 0 var(--kc-space-4); }
body.kcms .kcms-quote-facts > div { padding: var(--kc-space-3) var(--kc-space-4); background: var(--kc-surface-2); border-radius: var(--kc-radius-sm); }
body.kcms .kcms-quote-facts dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kc-muted); margin: 0 0 2px; }
body.kcms .kcms-quote-facts dd { margin: 0; font-family: var(--kc-head-font); font-size: 20px; color: var(--kc-heading); }
@media (max-width: 480px) { body.kcms .kcms-quote-facts { grid-template-columns: 1fr; } }
/* Unfilled content placeholders: impossible to miss (the page script also refuses to publish them to production). */
body.kcms .kcms-placeholder {
	display: inline-block;
	padding: 2px 8px;
	border: 2px dashed var(--kc-accent);
	border-radius: 6px;
	background: color-mix(in srgb, var(--kc-accent) 8%, transparent);
	color: var(--kc-accent);
	font-family: var(--kc-body-font);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
}

/* ---------- About: "Get in touch" — who to contact for what ---------- */
body.kcms .kcms-contact-list { margin: 0 0 var(--kc-space-4); display: grid; gap: var(--kc-space-3); text-align: left; }
body.kcms .kcms-contact-list > div { padding: var(--kc-space-3) var(--kc-space-4); background: var(--kc-surface-2); border-radius: var(--kc-radius-sm); }
body.kcms .kcms-contact-list dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kc-muted); margin: 0 0 2px; }
body.kcms .kcms-contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
body.kcms .kcms-contact-address { font-size: 14px; color: var(--kc-muted); }
/* Custom page feature icons: MultiTracks (mixer faders) and Any project (sparkle). */
body.kcms .kcms-feature--multitracks { --kc-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3v18M12 3v18M19 3v18'/%3E%3Crect x='3' y='13' width='4' height='3' rx='1' fill='white'/%3E%3Crect x='10' y='6' width='4' height='3' rx='1' fill='white'/%3E%3Crect x='17' y='10' width='4' height='3' rx='1' fill='white'/%3E%3C/svg%3E"); }
body.kcms .kcms-feature--any { --kc-feature-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z'/%3E%3Cpath d='M19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8z'/%3E%3C/svg%3E"); }

/* Product page image: no hover zoom; a magnifier cursor shows it opens larger on click. */
body.kcms .woocommerce-product-gallery__image a { cursor: zoom-in; }

/* ---------- "Can't find your song?" request card ---------- */
body.kcms .kcms-request {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--kc-space-4) var(--kc-space-6);
	margin: var(--kc-section-gap) 0 var(--kc-space-6);
	padding: var(--kc-space-6) var(--kc-space-6) var(--kc-space-6) calc(var(--kc-space-6) + 56px + var(--kc-space-4));
	position: relative;
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-md);
}
body.kcms .kcms-request::before,
body.kcms .kcms-request::after { content: ""; position: absolute; left: var(--kc-space-6); top: 50%; width: 56px; height: 56px; margin-top: -28px; }
body.kcms .kcms-request::before { border-radius: 50%; background: var(--kc-surface-2); }
body.kcms .kcms-request::after {
	background: var(--kc-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center / 26px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center / 26px no-repeat;
}
body.kcms .kcms-request__text { flex: 1 1 320px; min-width: 0; }
body.kcms .kcms-request__title { font-size: clamp(21px, 2.2vw, 24px); margin: 0 0 var(--kc-space-1); }
body.kcms .kcms-request p { margin: 0; color: var(--kc-muted); }
body.kcms .kcms-request__btn { flex: 0 0 auto; margin: 0; }
body.kcms .kcms-no-results { font-size: 18px; color: var(--kc-text); margin: var(--kc-space-4) 0 0; }
@media (max-width: 600px) {
	body.kcms .kcms-request { padding: var(--kc-space-5); padding-top: calc(var(--kc-space-5) + 56px + var(--kc-space-3)); }
	body.kcms .kcms-request::before, body.kcms .kcms-request::after { left: var(--kc-space-5); top: var(--kc-space-5); margin-top: 0; }
	body.kcms .kcms-request__btn { width: 100%; }
}


/* ---------- Header search: find a song by title ---------- */
body.kcms .search-heading { display: block; float: none; width: auto; padding: 0; min-height: 0; }
body.kcms .search-heading .site-heading-sidebar { display: none; }
body.kcms .header-search-form { display: block !important; margin: 0; padding: 0; background: none; border: 0; }
body.kcms .header-search-form form { position: relative; display: flex; align-items: center; margin: 0; }
body.kcms .header-search-form .header-search-select { display: none; }
body.kcms .header-search-form .header-search-input {
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 54px 10px 18px;
	border: 1px solid var(--kc-border-strong);
	border-radius: 999px;
	background: var(--kc-surface);
	font-size: 16px;
	color: var(--kc-text);
	box-shadow: none;
}
body.kcms .header-search-form .header-search-input::placeholder { color: var(--kc-muted); opacity: 1; }
body.kcms .header-search-form .header-search-input:focus { outline: none; border-color: var(--kc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--kc-accent) 18%, transparent); }
body.kcms .header-search-form .header-search-button {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--kc-accent);
	color: var(--kc-accent-ink);
	display: grid;
	place-items: center;
	font-size: 15px;
	cursor: pointer;
}
body.kcms .header-search-form .header-search-button:hover { background: var(--kc-accent-hover); }
@media (min-width: 768px) {
	body.kcms .search-heading { flex: 0 1 400px; margin: 0 var(--kc-space-5); }
}
@media (max-width: 767px) {
	body.kcms .site-header .heading-row { row-gap: var(--kc-space-3); }
	body.kcms .search-heading { flex: 1 1 100%; order: 3; padding: 0 15px; }
	body.kcms .header-search-form .header-search-input { min-height: 44px; }
}


/* ---------- Site footer (footer.php): four helpful columns above the copyright line ---------- */
body.kcms .kcms-footer {
	background: var(--kc-footer-bg);
	color: var(--kc-footer-text, var(--kc-text));
	border-top: 1px solid var(--kc-border);
	padding: clamp(40px, 6vw, 64px) 20px var(--kc-space-5);
}
body.kcms .kcms-footer__inner {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	gap: var(--kc-space-6) var(--kc-space-6);
	grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr);
}
@media (max-width: 991px) { body.kcms .kcms-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { body.kcms .kcms-footer__inner { grid-template-columns: 1fr; gap: var(--kc-space-5); } }
body.kcms .kcms-footer p { margin: 0 0 var(--kc-space-3); font-size: 15px; line-height: 1.55; color: var(--kc-muted); }
body.kcms .kcms-footer__name { font-family: var(--kc-head-font); font-weight: var(--kc-head-weight); font-size: 24px !important; color: var(--kc-heading) !important; line-height: 1.2 !important; }
body.kcms .kcms-footer__giving a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--kc-heading);
	text-decoration: none;
}
body.kcms .kcms-footer__giving a::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: var(--kc-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.kcms .kcms-footer__giving a:hover { color: var(--kc-accent); }
body.kcms .kcms-footer__h {
	margin: 4px 0 var(--kc-space-3);
	font-family: var(--kc-body-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--kc-muted);
}
body.kcms .kcms-footer ul { list-style: none; margin: 0 0 var(--kc-space-3); padding: 0; }
body.kcms .kcms-footer li { margin: 0 0 var(--kc-space-2); }
body.kcms .kcms-footer li a { color: var(--kc-heading); font-weight: 600; font-size: 15.5px; text-decoration: none; }
body.kcms .kcms-footer li a:hover,
body.kcms .kcms-footer__note a:hover { color: var(--kc-accent); text-decoration: underline; }
body.kcms .kcms-footer__note a { font-weight: 600; color: var(--kc-heading); overflow-wrap: anywhere; }
body.kcms .kcms-footer__cta {
	padding: var(--kc-space-5);
	background: var(--kc-surface);
	border: 1px solid var(--kc-border);
	border-radius: var(--kc-radius);
	box-shadow: var(--kc-shadow-sm);
	align-self: start;
}
body.kcms .kcms-footer__btn { margin: var(--kc-space-1) 0 0; min-height: 44px; padding: 10px 20px; font-size: 15px; }
body.kcms .kcms-footer__trust { max-width: 1140px; margin: var(--kc-space-6) auto 0 !important; padding-top: var(--kc-space-4); border-top: 1px solid var(--kc-border); text-align: center; font-size: 14px !important; }
/* The copyright bar continues the footer without a second divider. */
body.kcms .kcms-footer + footer#colophon { border-top: 0; padding-top: 0; }


/* Nav hover cards: one line (no orphaned word); first/last cards align to the menu edge so they stay on screen. */
@media (min-width: 768px) {
	body.kcms .navbar-nav > li:first-child > a .kcms-nav-desc { left: 0; transform: translate(0, 4px); }
	body.kcms .navbar-nav > li:last-child > a .kcms-nav-desc { left: auto; right: 0; transform: translate(0, 4px); }
	body.kcms .navbar-nav > li:first-child:hover > a .kcms-nav-desc,
	body.kcms .navbar-nav > li:first-child > a:focus-visible .kcms-nav-desc,
	body.kcms .navbar-nav > li:last-child:hover > a .kcms-nav-desc,
	body.kcms .navbar-nav > li:last-child > a:focus-visible .kcms-nav-desc { transform: translate(0, 0); }
	body.kcms .navbar-nav > li:first-child > a .kcms-nav-desc::before { left: 28px; }
	body.kcms .navbar-nav > li:last-child > a .kcms-nav-desc::before { left: auto; right: 23px; }
}
/* The theme adds a 2px yellow line under the current menu item; ours is the coral underline. */
body.kcms .navbar-nav > li > a::after,
body.kcms .navbar-nav > li.active > a::after,
body.kcms .navbar-nav .current-page-parent::after { display: none !important; }

/* ---------- Dropdowns: custom chevron with room on the right ---------- */
body.kcms select:not([multiple]):not([size]) {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 46px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B5E57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 16px;
	cursor: pointer;
}

/* ---------- Catalog header (shop.php): headline, one line, category chips ---------- */
body.kcms.kcms-catalog .page-area { padding-top: 0; }
body.kcms .kcms-catalog-hero {
	position: relative;
	width: 100vw;
	margin: 0 calc(50% - 50vw) var(--kc-space-6);
	padding: clamp(40px, 6vw, 72px) max(20px, calc(50vw - 520px)) clamp(32px, 5vw, 56px);
	background: var(--kc-hero-bg);
	border-bottom: 1px solid var(--kc-border);
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}
/* Faint music staff behind the headline (same motif as the home hero). */
body.kcms .kcms-catalog-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: calc(clamp(40px, 6vw, 72px) + 30px);
	height: calc(4 * var(--kc-staff-gap, 14px) + 1px);
	background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--kc-heading) 16%, transparent) 0 1px, transparent 1px var(--kc-staff-gap, 14px));
	-webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
	mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
	opacity: .7;
}
body.kcms .kcms-catalog-hero .kcms-page-eyebrow { margin-bottom: var(--kc-space-3); }
body.kcms .kcms-catalog-hero__title {
	margin: 0 auto var(--kc-space-3);
	max-width: 820px;
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.08;
	color: var(--kc-hero-heading);
	text-wrap: balance;
}
body.kcms .kcms-catalog-hero__lead {
	margin: 0 auto var(--kc-space-6);
	max-width: 640px;
	font-size: clamp(17px, 1.8vw, 20px);
	line-height: 1.55;
	color: var(--kc-hero-muted);
	text-wrap: balance;
}
body.kcms .kcms-catalog-hero .kcms-filter-chips { justify-content: center; max-width: 900px; margin: 0 auto; }
body.kcms .kcms-catalog-hero__note { max-width: 620px; margin: var(--kc-space-5) auto 0; }
body.kcms .kcms-catalog-hero__note p {
	margin: 0;
	font-size: 15.5px !important;
	line-height: 1.55;
	color: var(--kc-hero-muted) !important;
	text-wrap: balance;
}
body.kcms .kcms-catalog-hero__note a { font-weight: 600; white-space: nowrap; }
/* Long category descriptions (e.g. Three Plus Keys) read as an intro under the header. */
body.kcms.kcms-catalog .term-description { max-width: 760px; margin: 0 auto var(--kc-space-6); color: var(--kc-muted); text-align: center; }
/* Category chips */
body.kcms .kcms-filter-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--kc-space-2); }
body.kcms .kcms-filter-chips li { margin: 0; }
body.kcms .kcms-filter-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 18px;
	border: 1px solid var(--kc-border-strong);
	border-radius: 999px;
	background: var(--kc-surface);
	color: var(--kc-heading);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: var(--kc-shadow-sm);
	transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease;
}
body.kcms .kcms-filter-chips a:hover { border-color: var(--kc-heading); transform: translateY(-1px); }
body.kcms .kcms-filter-chips a.is-active { background: var(--kc-heading); border-color: var(--kc-heading); color: var(--kc-bg); }
/* Result count + sort sit on one line under the catalog header. */
body.kcms.woocommerce .woocommerce-result-count { margin: 0 0 var(--kc-space-4); line-height: 46px; color: var(--kc-muted); font-size: 15px; }
body.kcms.woocommerce .woocommerce-ordering { margin: 0 0 var(--kc-space-4); }
body.kcms.woocommerce .woocommerce-ordering select { min-width: 200px; }
@media (max-width: 767px) {
	/* Chips scroll sideways on phones instead of wrapping into a tall block. */
	body.kcms .kcms-catalog-hero .kcms-filter-chips { justify-content: flex-start; max-width: none; }
	body.kcms .kcms-chips-nav { margin: 0 -15px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	body.kcms .kcms-chips-nav::-webkit-scrollbar { display: none; }
	body.kcms .kcms-filter-chips { flex-wrap: nowrap; padding: 0 15px 4px; width: max-content; }
	body.kcms.woocommerce .woocommerce-result-count { line-height: 1.4; margin-bottom: var(--kc-space-3); }
	body.kcms.woocommerce .woocommerce-ordering, body.kcms.woocommerce .woocommerce-ordering select { width: 100%; }
}
