@font-face {
	font-family: 'Material Symbols Outlined';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url('../fonts/material-symbols-subset.ttf') format('truetype');
}

.material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
}

/* Fontsco theme — layout overrides & page-specific styles on top of fontsco-core.css */

/* ---------- Single font page ---------- */
.cpd-single { padding-top: 24px; }
.cpd-single__carousel { margin-bottom: 40px; }
.cpd-single__top { display: grid; grid-template-columns: 1fr 273px; gap: 48px; align-items: start; }
.cpd-single__titlecol { min-width: 0; }
.cpd-single__head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.cpd-single__title { font-size: 40px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.cpd-single__meta { display: flex; align-items: center; justify-content: flex-end; gap: 14px; text-align: right; font-size: 14px; white-space: nowrap; }
.cpd-single__sep { opacity: .45; font-weight: 400; }
.cpd-single__rule { border: 0; border-top: 1px dashed rgba(28,29,26,.35); margin: 20px 0 0; }
.cpd-single__desc { position: relative; font-size: 16px; line-height: 1.7; color: var(--color-ink); max-width: 800px; margin-top: 24px; }
.cpd-single__desc-text p { margin: 0 0 16px; }
.cpd-single__desc-text p:last-child { margin-bottom: 0; }
.cpd-single__desc.is-clipped { cursor: pointer; }
.cpd-single__desc.is-clipped .cpd-single__desc-text { max-height: 148px; overflow: hidden; }
.cpd-single__desc-more {
	display: none; border: 0; padding: 0; width: 100%;
	position: absolute; left: 0; right: 0; bottom: 0; height: 84px;
	background: linear-gradient(to bottom, rgba(251,246,244,0), var(--color-cream) 100%);
	cursor: pointer;
}
.cpd-single__desc.is-clipped .cpd-single__desc-more { display: block; }

.cpd-single__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.cpd-styles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
/* Split mode (sort = upright-first): left column upright, right column italic. */
.cpd-styles-grid__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cpd-styles-grid__item { font-size: 24px; font-weight: 600; line-height: 1.25; }

.cpd-specimen-link { display: inline-flex; align-items: center; gap: 10px; color: var(--color-accent); opacity: 1; transition: opacity .15s ease; }
.cpd-specimen-link:hover { text-decoration: none; opacity: .7; }
.cpd-specimen-link img, .cpd-specimen-link svg { width: 151px; height: auto; display: block; }

/* ---------- License panel ---------- */
.cpd-license-panel {
	background: var(--color-accent-soft);
	border-radius: 12px;
	padding: 24px 22px;
	position: sticky;
	top: calc(var(--navbar-h) + 24px);
}
body.admin-bar .cpd-license-panel {
	top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--navbar-h) + 24px);
}
.cpd-license-panel__title { margin-bottom: 12px; text-align: center; }
.cpd-license-panel__rule { border: 0; border-top: 1px dashed rgba(28,29,26,.35); margin: 0 0 8px; }
.cpd-license-panel__list { display: flex; flex-direction: column; }

.cpd-license-row {
	display: grid;
	grid-template-columns: 20px 26px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	margin: 0 -10px;
	border-radius: 8px;
	cursor: pointer;
	position: relative;
	transition: background .15s ease;
}
.cpd-license-row input[type="checkbox"] { position: absolute; opacity: 0; }
.cpd-license-row__check {
	width: 18px; height: 18px; border: 1.5px solid var(--color-ink); border-radius: 4px;
	display: flex; align-items: center; justify-content: center;
	transition: background .15s ease;
}
.cpd-license-row__check .material-symbols-outlined {
	font-size: 14px; color: var(--color-cream); opacity: 0; transition: opacity .15s ease;
	font-variation-settings: 'wght' 500;
}
.cpd-license-row input:checked + .cpd-license-row__check { background: var(--color-accent); border-color: var(--color-accent); }
.cpd-license-row input:checked + .cpd-license-row__check .material-symbols-outlined { opacity: 1; }
.cpd-license-row__icon {
	font-size: 24px; line-height: 1; color: var(--color-ink);
	font-variation-settings: 'wght' 400;
	display: inline-flex; align-items: center; justify-content: center;
	user-select: none;
}
.cpd-license-row__name { font-size: 14px; }
.cpd-license-row__price { font-size: 14px; color: var(--color-accent); font-weight: 500; }
.cpd-license-row:hover { background: #F8F8FF; }
.cpd-license-row:hover .cpd-license-row__name { color: var(--color-accent); }

/* Hover details tooltip — same look as the license panel */
.cpd-license-row__desc {
	position: absolute; right: 100%; top: 0; margin-right: 12px;
	width: 320px; background: var(--color-accent-soft); color: var(--color-ink);
	border-radius: 12px;
	padding: 24px 22px; font-size: 14px; line-height: 1.6;
	box-shadow: 0 8px 24px rgba(28,29,26,.08);
	z-index: 20; cursor: default;
}
.cpd-license-row:hover .cpd-license-row__desc { display: block !important; }
.cpd-license-row__desc-title { display: block; text-align: center; }
.cpd-license-row__desc-rule {
	display: block; border-top: 1px dashed rgba(28,29,26,.35);
	margin: 12px 0 16px;
}
.cpd-license-row__desc-item {
	display: block; position: relative; padding-left: 18px; margin-bottom: 4px;
}
.cpd-license-row__desc-item:last-child { margin-bottom: 0; }
.cpd-license-row__desc-item::before {
	content: "•"; position: absolute; left: 2px; top: 0;
}

.cpd-license-panel__total-label { text-align: center; margin: 18px 0 6px; color: var(--color-muted); }
.cpd-license-panel__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cpd-license-panel__total { font-size: 20px; font-weight: 700; color: var(--color-accent-strong); }
.cpd-license-panel__save { text-align: center; font-size: 13px; color: var(--color-accent); margin-top: 6px; }

.cpd-qty {
	display: inline-flex; align-items: center; gap: 4px;
	background: var(--color-cream); border-radius: 10px; padding: 6px 10px;
}
.cpd-qty__btn {
	width: 26px; height: 26px; border-radius: 50%; border: 0; background: none;
	cursor: pointer; font-size: 16px; line-height: 1; color: var(--color-ink);
	display: flex; align-items: center; justify-content: center;
}
.cpd-qty__btn:hover { background: var(--color-accent-soft); color: var(--color-accent); }
.cpd-qty__value { min-width: 24px; text-align: center; font-size: 14px; font-weight: 600; }

.cpd-license-panel__actions { display: flex; gap: 10px; margin-top: 20px; }
.cpd-license-panel__actions .cpd-btn { flex: 1; padding: 12px 10px; font-size: 13px; border-radius: 10px; }
.cpd-license-panel__actions .cpd-btn:disabled { opacity: .6; cursor: wait; }
.cpd-license-panel__notice {
	margin-top: 12px; border-radius: 10px; padding: 10px 14px;
	font-size: 13px; text-align: center;
}
.cpd-license-panel__notice.is-success { background: var(--color-ink); color: var(--color-cream); }
.cpd-license-panel__notice.is-error { background: #fdecec; color: #b3261e; }

/* ---------- Type tester ---------- */
.cpd-type-testers { margin-top: 72px; display: flex; flex-direction: column; gap: 0; min-width: 0; }
/* Hide previews until the real font is ready — never show fallback text. */
.cpd-type-testers.is-font-loading .cpd-tester__preview { visibility: hidden; }
/* Character map renders an Inter fallback first; keep it hidden until the
   real font is fetched + parsed (JS removes the class; noscript reveals). */
.cpd-charmap.is-font-loading { visibility: hidden; }
.cpd-tester__head { display: grid; grid-template-columns: 35fr 65fr; align-items: center; gap: 16px; }
.cpd-tester__name { font-size: 16px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpd-tester__controls { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.cpd-tester__control { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; flex: 1 1 auto; min-width: 0; }
/* Thin-line slider with hollow circle handle (per PDF ref: —○—). */
.cpd-tester__control input[type="range"] {
	flex: 1 1 auto; min-width: 48px; width: auto;
	-webkit-appearance: none; appearance: none;
	background: transparent; height: 20px; margin: 0; cursor: pointer;
}
.cpd-tester__control input[type="range"]::-webkit-slider-runnable-track {
	height: 1px; background: var(--color-ink);
}
.cpd-tester__control input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--color-cream); border: 1px solid var(--color-ink);
	margin-top: -8.5px; cursor: pointer;
}
.cpd-tester__control input[type="range"]::-moz-range-track {
	height: 1px; background: var(--color-ink);
}
.cpd-tester__control input[type="range"]::-moz-range-thumb {
	width: 15px; height: 15px; border-radius: 50%;
	background: var(--color-cream); border: 1px solid var(--color-ink);
	cursor: pointer;
}
.cpd-tester__align { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.cpd-tester__align-btn {
	background: none; border: 0; padding: 4px; cursor: pointer; opacity: .35;
	display: inline-flex; align-items: center; justify-content: center; color: var(--color-ink);
}
.cpd-tester__align-btn .material-symbols-outlined { font-size: 20px; font-variation-settings: 'wght' 200; }
.cpd-tester__align-btn:hover { opacity: .7; }
.cpd-tester__align-btn.is-active { opacity: 1; }
.cpd-tester__size-val, .cpd-tester__spacing-val { font-size: 13px; color: var(--color-muted); min-width: 44px; }
.cpd-tester__preview {
	font-size: 82px; line-height: 1.15; outline: none; margin-top: 12px;
	white-space: nowrap; overflow: hidden; overflow: clip;
	overflow-clip-margin: 0.5em;
	overflow-wrap: break-word;
	padding: 10px .12em 20px 0;
}

/* ---------- Character map (own section inside left column, after testers) ---------- */
.cpd-charmap { margin-top: 72px; border-top: 1px dashed rgba(28,29,26,.35); padding-top: 48px; min-width: 0; }
.cpd-charmap:empty { display: none; }
.character-viewer__monitor__style { gap: 8px; }
/* Plain-text look, same as the detail spans below it — native dropdown kept. */
.cpd-charmap-style {
	appearance: none; -webkit-appearance: none;
	border: 0; border-radius: 0; background: transparent;
	padding: 0; margin: 0;
	font: inherit; color: inherit; line-height: inherit;
	cursor: pointer; flex: 1 1 auto; min-width: 0; max-width: 100%;
	text-overflow: ellipsis; overflow: hidden; white-space: nowrap;
}
.cpd-charmap-style::-ms-expand { display: none; }
/* No focus ring by owner request: the select never draws an outline,
   and the wrapper doesn't either. */
.cpd-charmap-style:focus,
.cpd-charmap-style:focus-visible,
.character-viewer__monitor__style:has(> .cpd-charmap-style:focus-visible) {
	outline: none;
}
.character-viewer__monitor__style-arrow {
	flex: 0 0 auto; width: 0; height: 0; pointer-events: none;
	border-left: 4px solid transparent; border-right: 4px solid transparent;
	border-top: 5px solid currentColor; opacity: .55;
}
.character-viewer__monitor__style:hover .character-viewer__monitor__style-arrow { opacity: 1; }

/* ---------- Related (inside left column, above license sticky bottom) ---------- */
.cpd-related { margin-top: 72px; min-width: 0; }
.cpd-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 39px; }

/* ---------- Fonts archive page ---------- */
.cpd-page-title {
	font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
	margin: 48px 0 53px;
}

/* ---------- Blog ---------- */
.cpd-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px 35px; row-gap: 64px; }
.cpd-post { max-width: 800px; margin: 24px auto 0; }
.cpd-post__thumb { margin: 24px 0; border-radius: var(--fontsco-image-rounding-md, 0); overflow: hidden; }
.cpd-post__content { font-size: 16px; line-height: 1.7; }

/* ---------- WooCommerce cart / checkout / account ---------- */
.woocommerce-cart .container,
.woocommerce-checkout .container,
.woocommerce-account .container { margin-top: 40px; }
.woocommerce table.shop_table {
	border: 1px solid rgba(28,29,26,.12); border-radius: 8px; border-collapse: separate; border-spacing: 0;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; }
.woocommerce table.shop_table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button {
	background: var(--color-accent-strong); color: var(--color-cream); border-radius: 999px;
	padding: 12px 28px; font-weight: 500; border: 0;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--color-ink); color: var(--color-cream); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce .select2-container .select2-selection--single {
	border: 1px solid rgba(28,29,26,.2); border-radius: 8px; padding: 12px 14px; background: transparent;
}
.woocommerce-checkout #payment { background: var(--color-accent-soft); border-radius: 12px; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error {
	border-top-color: var(--color-accent); background: var(--color-accent-soft); border-radius: 8px; color: var(--color-ink);
}
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 0; font-weight: 500; }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--color-accent); }

/* ---------- Empty cart: use homepage card grid instead of Woo default ---------- */
/* Keep "Your cart is currently empty!" + dots, hide "New in store" + product-new. */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2.wp-block-heading:not(.with-empty-cart-icon),
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid.wp-block-product-new {
	display: none;
}
.cpd-cart-recs { margin-top: 64px; }
.cpd-cart-recs[hidden] { display: none; }

/* ---------- Cart line-item image: true ratio, no square crop ---------- */
/* Beat Woo cart.css `table.wc-block-cart-items ... .wc-block-cart-item__image img` (width:100%). */
.woocommerce-cart table.wc-block-cart-items tbody .wc-block-cart-item__image img {
	width: 120px;
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
	display: block;
	border-radius: 8px;
}

/* ---------- Cart bulk select (checkbox left of image) ---------- */
.cpd-cart-bulkbar { margin-bottom: 16px; }
.cpd-cart-bulk-remove {
	background: var(--color-ink); color: var(--color-cream);
	border: 0; border-radius: 10px; padding: 10px 24px;
	font-weight: 500; cursor: pointer;
}
.cpd-cart-bulk-remove:disabled { opacity: .35; cursor: default; }
.cpd-cart-select-head { width: 32px; }
.cpd-cart-select-cell { vertical-align: middle; }
.cpd-cart-select, .cpd-cart-select-all {
	width: 18px; height: 18px; accent-color: var(--color-accent-strong); cursor: pointer;
}

/* ---------- Cart Proceed to Checkout: blue + 15px radius ---------- */
.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button {
	background: #2036fd; border-radius: 10px;
}
.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover { background: var(--color-ink); }

/* ---------- Cart 5-column layout: check | image | details | qty | total ---------- */
.woocommerce-cart .wp-block-woocommerce-cart-items-block table { width: 100%; }
.woocommerce-cart thead tr.wc-block-cart-items__header,
.woocommerce-cart tbody tr.wc-block-cart-items__row {
	display: grid;
	grid-template-columns: 28px 128px minmax(0, 1fr) auto 112px;
	column-gap: 12px;
	align-items: center;
}
/* Give the items column room so "Name - License" fits on one line. */
.woocommerce-cart .wc-block-components-sidebar-layout { column-gap: 32px; }
.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-cart__sidebar { flex-basis: 252px; }
/* Header: SOLID dividers above + below, labels uppercase + letterspaced. */
.woocommerce-cart thead tr.wc-block-cart-items__header {
	padding: 12px 0;
	border-top: 1px solid rgba(28,29,26,.25);
	border-bottom: 1px solid rgba(28,29,26,.25);
}
.woocommerce-cart thead tr.wc-block-cart-items__header > th { padding: 0; margin: 0; border: 0; }
.woocommerce-cart thead tr.wc-block-cart-items__header > th::before,
.woocommerce-cart thead tr.wc-block-cart-items__header > th::after { content: none; }
.woocommerce-cart .cpd-cart-select-head { grid-column: 1; grid-row: 1; align-self: center; }
.woocommerce-cart thead th.wc-block-cart-items__header-image { grid-column: 2; grid-row: 1; }
.woocommerce-cart thead th.wc-block-cart-items__header-product { grid-column: 3; grid-row: 1; text-align: left; }
.woocommerce-cart thead th.cpd-cart-qty-head { grid-column: 4; grid-row: 1; }
.woocommerce-cart thead th.wc-block-cart-items__header-total { grid-column: 5; grid-row: 1; text-align: right; }
.woocommerce-cart .cpd-cart-head-label { text-transform: uppercase; letter-spacing: .15em; }
/* Per-product dashed divider; products stack vertically with space between. */
/* Last row: no dashed (only the table's own solid bottom border shows). */
.woocommerce-cart tbody tr.wc-block-cart-items__row {
	padding: 20px 0;
	border-bottom: 1px dashed rgba(28,29,26,.25);
}
.woocommerce-cart tbody tr.wc-block-cart-items__row:last-child { border-bottom: 0; }
/* Column placement: ONE grid row per product (details/qty/total side by side). */
/* The original product cell stays in place but hidden (React-safe); custom
   cells built by JS take its place in the grid. */
.woocommerce-cart table.wc-block-cart-items td.cpd-cart-select-cell { grid-column: 1; grid-row: 1; align-self: center; padding: 0; border: 0; }
.woocommerce-cart .cpd-cart-select-cell .cpd-cart-select { display: block; }
.woocommerce-cart table.wc-block-cart-items tbody td.wc-block-cart-item__image { grid-column: 2; grid-row: 1; padding: 0; border: 0; }
.woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__product { display: none; }
.woocommerce-cart tbody td.wc-block-cart-item__total {
	grid-column: 5; grid-row: 1; align-self: center; text-align: right; padding: 0; border: 0;
	display: flex; flex-direction: column; align-items: flex-end;
}
/* Details column: single stacked cell (name + prices + pill). */
.woocommerce-cart .cpd-cart-details {
	grid-column: 3; grid-row: 1; align-self: center; min-width: 0;
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.woocommerce-cart .cpd-cart-license-name {
	display: inline-flex; align-items: center; gap: 6px; min-width: 0;
	font-size: 15px; font-weight: 600; color: var(--color-ink);
}
.woocommerce-cart .cpd-cart-license-name a { color: inherit; text-decoration: none; }
.woocommerce-cart .cpd-cart-license-info { position: relative; display: inline-flex; }
.woocommerce-cart .cpd-cart-license-info-icon {
	font-size: 16px; line-height: 1; color: var(--color-accent); cursor: help;
	font-variation-settings: 'wght' 400;
}
/* Info tooltip: same card as the single-product license hover, opens right of the icon. */
.woocommerce-cart .cpd-cart-license-info .cpd-license-row__desc {
	left: calc(100% + 10px); right: auto; top: 50%; transform: translateY(-50%);
	margin: 0; width: 300px; z-index: 60;
	display: none; text-align: left; font-weight: 400;
}
.woocommerce-cart .cpd-cart-license-info:hover .cpd-license-row__desc { display: block; }
/* Custom quantity cell (drives the hidden original). */
.woocommerce-cart .cpd-cart-qty { grid-column: 4; grid-row: 1; align-self: center; border: 1px solid rgba(28,29,26,.25); }
.woocommerce-cart .cpd-cart-qty__btn:disabled { opacity: .35; cursor: default; }
/* Custom remove icon: right side, under the "Save" pill (drives the hidden original). */
.woocommerce-cart .cpd-cart-remove {
	display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 0; padding: 4px; margin: 0; cursor: pointer;
	color: rgba(28,29,26,.55);
}
.woocommerce-cart .cpd-cart-remove:hover { color: #b3261e; }
.woocommerce-cart .cpd-cart-remove .material-symbols-outlined {
	font-size: 20px; line-height: 1; font-variation-settings: 'wght' 400;
}
/* Pills: bundle discount (under unit price) + save badge (under total). */
.woocommerce-cart .cpd-cart-pill {
	display: inline-block;
	background: var(--color-accent-soft); color: var(--color-accent);
	border: 0; border-radius: 6px; box-shadow: none;
	padding: 4px 10px; font-size: 12px; font-weight: 500; line-height: 1.5;
	text-transform: none; letter-spacing: 0; white-space: nowrap;
}
.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
/* Small screens: compact stacked grid. */
@media (max-width: 640px) {
	.woocommerce-cart thead tr.wc-block-cart-items__header { display: none; }
	.woocommerce-cart tbody tr.wc-block-cart-items__row { grid-template-columns: 24px 72px minmax(0, 1fr); }
	.woocommerce-cart table.wc-block-cart-items td.cpd-cart-select-cell { grid-column: 1; grid-row: 1; }
	.woocommerce-cart tbody td.wc-block-cart-item__image { grid-column: 2; grid-row: 1 / span 2; }
	.woocommerce-cart .cpd-cart-details { grid-column: 3; grid-row: 1; }
	.woocommerce-cart .cpd-cart-qty { grid-column: 3; grid-row: 2; justify-self: start; }
	.woocommerce-cart tbody td.wc-block-cart-item__total {
		grid-column: 3; grid-row: 3; align-self: start;
		flex-direction: row; align-items: center; justify-content: flex-start;
	}
	.woocommerce-cart .wc-block-components-sidebar-layout { display: block; }
	.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-cart__sidebar { flex-basis: auto; }
}

/* ---------- Pagination ---------- */
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	border-radius: 6px; padding: 8px 14px;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--color-ink); color: var(--color-cream); }

/* ---------- Navbar expanding search (Opsi A: overlay, ikon cart/account tetap) ---------- */
.cpd-navbar-search-wrap { position: relative; display: inline-flex; align-items: center; }
.cpd-navbar-search {
	position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
	width: 0; opacity: 0; overflow: hidden;
	display: flex; justify-content: flex-end;
	pointer-events: none;
	transition: width .35s ease, opacity .25s ease;
}
.cpd-navbar-search.is-open { width: min(280px, 45vw); opacity: 1; pointer-events: auto; }
.cpd-navbar-search input {
	width: min(280px, 45vw); max-width: 45vw; box-sizing: border-box; flex: 0 0 auto;
	border: 1px solid rgba(28,29,26,.2); border-radius: 999px; padding: 10px 18px;
	font-family: var(--font-ui); font-size: 14px; color: var(--color-ink);
	background: #fff; outline: none;
}
.cpd-navbar-search input:focus { border-color: var(--color-accent); }
.cpd-navbar-search input::-webkit-search-cancel-button { display: none; }

/* ---------- Licenses page (craftsupply-style accordion, no Elementor) ---------- */
.cpd-licenses { padding: 48px 0 80px; }
.cpd-licenses__title { font-size: 40px; font-weight: 600; text-align: center; margin: 0 0 24px; letter-spacing: -0.01em; }
.cpd-licenses__intro { font-size: 18px; line-height: 1.7; text-align: center; margin: 0 0 40px; }
.cpd-licenses__custom { font-size: 16px; line-height: 1.7; margin-bottom: 40px; }
.cpd-licenses__item { border-bottom: 1px solid rgba(28,29,26,.85); }
.cpd-licenses__item:first-of-type { border-top: 0; }
.cpd-licenses__head { margin: 0; }
.cpd-licenses__toggle {
	display: flex; align-items: center; gap: 14px; width: 100%;
	background: none; border: 0; padding: 22px 4px; cursor: pointer;
	font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--color-ink);
	text-align: left; letter-spacing: 0.01em;
}
.cpd-licenses__toggle:hover { color: var(--color-accent-strong); }
.cpd-licenses__sign { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.cpd-licenses__sign::before, .cpd-licenses__sign::after {
	content: ""; position: absolute; background: currentColor; border-radius: 1px;
}
.cpd-licenses__sign::before { left: 0; right: 0; top: 8px; height: 2px; }
.cpd-licenses__sign::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.cpd-licenses__toggle.is-open .cpd-licenses__sign::after { display: none; }
.cpd-licenses__body { padding: 0 4px 8px 36px; }
.cpd-licenses__body ul { list-style: disc; margin: 0; padding: 0 0 0 20px; }
.cpd-licenses__body li { font-size: 16px; line-height: 2; margin-bottom: 6px; }

/* ---------- FAQ page (craftsupply-style accordion, no Elementor) ---------- */
.cpd-faq { padding: 48px 0 80px; }
.cpd-faq__title { font-size: 40px; font-weight: 600; text-align: center; margin: 0 0 40px; letter-spacing: -0.01em; }
.cpd-faq__custom { font-size: 16px; line-height: 1.7; margin-bottom: 40px; }
.cpd-faq__item { border-bottom: 1px solid rgba(28,29,26,.85); }
.cpd-faq__item:first-of-type { border-top: 0; }
.cpd-faq__head { margin: 0; }
.cpd-faq__toggle {
	display: flex; align-items: center; gap: 14px; width: 100%;
	background: none; border: 0; padding: 22px 4px; cursor: pointer;
	font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--color-ink);
	text-align: left; letter-spacing: 0.01em;
}
.cpd-faq__toggle:hover { color: var(--color-accent-strong); }
.cpd-faq__sign { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.cpd-faq__sign::before, .cpd-faq__sign::after {
	content: ""; position: absolute; background: currentColor; border-radius: 1px;
}
.cpd-faq__sign::before { left: 0; right: 0; top: 8px; height: 2px; }
.cpd-faq__sign::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.cpd-faq__toggle.is-open .cpd-faq__sign::after { display: none; }
.cpd-faq__body { padding: 0 4px 8px 36px; }
.cpd-faq__answer { font-size: 16px; line-height: 2; }
.cpd-faq__answer p { margin: 0 0 6px; }
.cpd-faq__answer ul { list-style: disc; margin: 0; padding: 0 0 0 20px; }
.cpd-faq__answer li { margin-bottom: 6px; }

/* ---------- Support page (Pangram-style contact, Fontsco visual) ---------- */
.cpd-support { padding: 48px 0 80px; }
.cpd-support__title { font-size: 40px; font-weight: 600; text-align: center; margin: 0 0 24px; letter-spacing: -0.01em; }
.cpd-support__intro { font-size: 18px; line-height: 1.7; text-align: center; margin: 0 0 40px; }
.cpd-support__custom { font-size: 16px; line-height: 1.7; margin-bottom: 40px; }
.cpd-support__faqbox {
	background: var(--color-accent-soft); border-radius: 12px;
	padding: 24px 22px; margin: 0 0 48px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
}
.cpd-support__faqbox-text { font-size: 16px; font-weight: 600; margin: 0; flex: 1 1 auto; }
.cpd-support__faqbox-btn { flex: 0 0 auto; }
.cpd-support__form { margin: 0 0 48px; }
.cpd-support__field { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.cpd-support__label {
	display: block; font-size: 13px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 10px;
}
.cpd-support__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.cpd-support__pill { position: relative; }
.cpd-support__pill input { position: absolute; opacity: 0; }
.cpd-support__pill span {
	display: inline-block; border: 1px solid var(--color-ink); border-radius: 999px;
	padding: 10px 18px; font-size: 14px; font-weight: 500; cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.cpd-support__pill span:hover { background: var(--color-accent-soft); }
.cpd-support__pill input:checked + span { background: var(--color-ink); color: var(--color-cream); }
.cpd-support__pill input:focus-visible + span { outline: 2px solid var(--color-accent-strong); outline-offset: 2px; }
.cpd-support__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cpd-support__input {
	width: 100%; box-sizing: border-box; border: 1px solid rgba(28,29,26,.2); border-radius: 8px;
	padding: 12px 14px; font-size: 16px; font-family: var(--font-ui);
	background: transparent; color: var(--color-ink);
}
.cpd-support__input:focus { border-color: var(--color-accent); outline: none; }
textarea.cpd-support__input { resize: vertical; min-height: 140px; }
.cpd-support__notice { border-radius: 10px; padding: 10px 14px; font-size: 13px; text-align: center; }
.cpd-support__notice[hidden] { display: none; }
.cpd-support__notice.is-success { background: var(--color-ink); color: var(--color-cream); }
.cpd-support__notice.is-error { background: #fdecec; color: #b3261e; }
.cpd-support__send { width: 100%; border-radius: 10px; }
.cpd-support__alt {
	background: var(--color-accent-soft); border-radius: 12px;
	padding: 24px 22px; text-align: center;
}
.cpd-support__alt-title { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.cpd-support__alt-text { font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.cpd-support__noscript { font-size: 14px; margin-top: 24px; text-align: center; }

/* ---------- About page (foundry statement) ---------- */
.cpd-about { padding: 48px 0 80px; }
.cpd-about__title { font-size: 40px; font-weight: 600; text-align: center; margin: 0 0 40px; letter-spacing: -0.01em; }
.cpd-about__custom { font-size: 16px; line-height: 1.7; margin-bottom: 40px; }
.cpd-about__inner { margin: 0 auto; }
.cpd-about__lead { font-size: 14px; font-weight: 400; line-height: 1.85; margin: 0 0 20px; }
.cpd-about__text { font-size: 14px; line-height: 1.85; margin: 0 0 20px; }

/* ---------- Homepage v2 (/v2/) font list ---------- */
/* Text-only cards in a 2-column grid, thin outline.
   Head row: Inter 18px — name (left) | styles (center) | "from $price" (right).
   Specimen: font name in its own font (weight/size via metabox/values inline);
   hover animates wght — see font-list-v2.js. */
.cpd-v2-wrap { margin-top: 54px; }
.cpd-v2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 24px;
	row-gap: 24px;
}
.cpd-v2-card {
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(28, 29, 26, .18);
	border-radius: var(--fontsco-image-rounding-md, 12px);
	background: transparent;
	padding: 16px 20px 12px;
	transition: background-color .2s ease, border-color .2s ease;
}
.cpd-v2-card:hover {
	background: #fff;
	border-color: rgba(28, 29, 26, .3);
}
.cpd-v2-card__head {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: baseline;
	gap: 12px;
	font-size: 14px;
	line-height: 1.4;
}
/* Center column must sit at the true middle even when the side columns differ
   in width: the grids on both sides are 1fr, so auto stays centered. */
.cpd-v2-card__name {
	text-align: left;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.cpd-v2-card__styles {
	text-align: center;
	font-weight: 400;
	color: var(--color-ink);
}
.cpd-v2-card__price {
	text-align: right;
	font-weight: 400;
	color: var(--color-muted);
}
.cpd-v2-card__specimen {
	padding: 28px 0 8px;
	overflow: hidden;
	text-align: center;
}
.cpd-v2-card__fontname {
	display: inline-block;
	max-width: 100%;
	font-size: 64px;
	font-weight: 400;
	line-height: 1.08;
	white-space: nowrap;
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
	/* Breathing room: italic overhang (right) and heavy-weight descender swell
	   (bottom) paint past the line box. The span's own clip edge is its padding
	   box, so ink stays fully visible inside this padding; ellipsis still ends
	   long names neatly. Nett visual paddings to the glyph are unchanged. */
	padding: 12px 20px 18px;
	/* No transition: the wght animation is driven by rAF (linear), never CSS-eased. */
}

@media (max-width: 760px) {
	.cpd-v2 { grid-template-columns: 1fr; }
}

/* ---------- Global navbar (unified with Go) ---------- */
body { padding-top: 0; }
:root { --navbar-h: 88px; }

.cpd-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: transparent;
}
body.admin-bar .cpd-nav { top: var(--wp-admin--admin-bar--height, 32px); }
@media screen and (max-width: 600px) { body.admin-bar .cpd-nav { top: 0; } }

.cpd-nav__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--container) + 64px);
	margin: 0 auto;
	padding: 0.75rem 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.cpd-nav__left, .cpd-nav__right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.cpd-nav__right { justify-content: flex-end; }

.cpd-nav__brand { display: inline-flex; align-items: center; line-height: 0; }
img.cpd-nav__logo { height: 4rem; width: auto; }
img.cpd-nav__logo--light { display: block; }
img.cpd-nav__logo--dark  { display: none; }
html.theme-dark img.cpd-nav__logo--light { display: none; }
html.theme-dark img.cpd-nav__logo--dark  { display: block; }

.cpd-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 1.1rem;
	border: 1px solid var(--color-ink);
	border-radius: 999px;
	color: var(--color-ink);
	font-size: 0.9rem;
	line-height: 1;
	transition: background 0.15s ease, color 0.15s ease;
}
.cpd-pill:hover {
	background: var(--color-ink);
	color: var(--color-cream);
}

.cpd-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--color-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--color-ink);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.cpd-icon-btn:hover {
	background: var(--color-ink);
	color: var(--color-cream);
}
.cpd-icon-btn .material-symbols-outlined { font-size: 1.25rem; line-height: 1; }
.cpd-icon-btn:focus-visible,
.cpd-pill:focus-visible,
.cpd-nav__brand:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 2px;
}

/* Dark mode overrides */
html.theme-light {
	color-scheme: light;
}
html.theme-dark {
	color-scheme: dark;
	--color-ink: #f5f5f5;
	--color-ink-100: #ffffff;
	--color-cream: #0b0b0b;
	--color-accent: #8b94f0;
	--color-accent-soft: #1a1c2e;
	--color-accent-strong: #6c77e3;
	--color-muted: #9a9a9a;
}

/* Theme-aware sleek scrollbar (Chrome / Edge / Safari + Firefox fallback) */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
::-webkit-scrollbar-track {
	background: var(--color-cream);
}
::-webkit-scrollbar-thumb {
	background-color: rgba(28, 29, 26, 0.22);
	background-color: color-mix(in srgb, var(--color-ink) 24%, transparent);
	border-radius: 999px;
	border: 2px solid transparent;
	background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
	background-color: rgba(28, 29, 26, 0.44);
	background-color: color-mix(in srgb, var(--color-ink) 46%, transparent);
}
::-webkit-scrollbar-thumb:active {
	background-color: rgba(28, 29, 26, 0.62);
	background-color: color-mix(in srgb, var(--color-ink) 62%, transparent);
}
::-webkit-scrollbar-corner {
	background: var(--color-cream);
}
html.theme-dark ::-webkit-scrollbar-thumb {
	background-color: rgba(245, 245, 245, 0.24);
	background-color: color-mix(in srgb, var(--color-ink) 26%, transparent);
}
html.theme-dark ::-webkit-scrollbar-thumb:hover {
	background-color: rgba(245, 245, 245, 0.46);
	background-color: color-mix(in srgb, var(--color-ink) 48%, transparent);
}
html.theme-dark ::-webkit-scrollbar-thumb:active {
	background-color: rgba(245, 245, 245, 0.64);
	background-color: color-mix(in srgb, var(--color-ink) 64%, transparent);
}
@supports not selector(::-webkit-scrollbar) {
	html {
		scrollbar-width: thin;
		scrollbar-color: color-mix(in srgb, var(--color-ink) 28%, transparent) var(--color-cream);
	}
}

@media (max-width: 640px) {
	:root { --navbar-h: 84px; }
	.cpd-nav__inner { padding: 0.6rem 1rem; }
	.cpd-pill { padding: 0.35rem 0.85rem; font-size: 0.85rem; }
	.cpd-single-matrix.container { padding-left: 1rem; padding-right: 1rem; }
}


/* ==========================================================================
   Single Product — Minimalist 3-Column License Matrix (Light & Dark Mode)
   ========================================================================== */
.cpd-single-matrix {
	width: 100%;
	max-width: calc(var(--container) + 64px);
	margin: 0 auto;
	padding-top: 48px;
	padding-bottom: 0;
	padding-left: 32px;
	padding-right: 32px;
	min-height: calc(100vh - var(--navbar-h) - var(--cpd-footer-h, 64px));
	min-height: calc(100dvh - var(--navbar-h) - var(--cpd-footer-h, 64px));
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}
body.admin-bar .cpd-single-matrix {
	min-height: calc(100vh - var(--navbar-h) - var(--cpd-footer-h, 64px) - var(--wp-admin--admin-bar--height, 32px));
	min-height: calc(100dvh - var(--navbar-h) - var(--cpd-footer-h, 64px) - var(--wp-admin--admin-bar--height, 32px));
}

.cpd-matrix {
	--cpd-matrix-rule: rgba(28, 29, 26, 0.45);
	--cpd-matrix-muted: rgba(28, 29, 26, 0.62);
	font-family: var(--font-mono);
	color: var(--color-ink);
	flex: 1 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 244px 244px;
	grid-template-rows: auto 1fr auto;
	align-items: stretch;
}

html.theme-dark .cpd-matrix {
	--cpd-matrix-rule: rgba(245, 245, 245, 0.42);
	--cpd-matrix-muted: rgba(245, 245, 245, 0.65);
}

@supports (color: color-mix(in srgb, red 50%, transparent)) {
	.cpd-matrix,
	html.theme-dark .cpd-matrix {
		--cpd-matrix-rule: color-mix(in srgb, var(--color-ink) 48%, transparent);
		--cpd-matrix-muted: color-mix(in srgb, var(--color-ink) 64%, transparent);
	}
}

.cpd-matrix__cell {
	min-width: 0;
	box-sizing: border-box;
}

/* Vertical dashed dividers between Column 1 | Column 2 | Column 3 */
.cpd-matrix__col-fonts,
.cpd-matrix__col-size {
	border-right: 1px dashed var(--cpd-matrix-rule);
}

/* Row 1: Column Headers */
.cpd-matrix__head {
	border-bottom: 1px dashed var(--cpd-matrix-rule);
	padding-top: 4px;
	padding-bottom: 24px;
}
.cpd-matrix__head.cpd-matrix__col-fonts { padding-right: 32px; }
.cpd-matrix__head.cpd-matrix__col-size { padding-left: 16px; padding-right: 16px; text-align: center; }
.cpd-matrix__head.cpd-matrix__col-licenses { padding-left: 16px; padding-right: 16px; text-align: center; }

.cpd-matrix__heading {
	display: block;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	line-height: 1.2;
}

/* Row 2: Body (extends naturally — no internal vertical scroll) */
.cpd-matrix__body.cpd-matrix__col-fonts {
	display: flex;
	flex-direction: column;
	padding-right: 0;
}
.cpd-matrix__body.cpd-matrix__col-size {
	padding: 28px 18px 40px;
}
.cpd-matrix__body.cpd-matrix__col-licenses {
	padding: 28px 18px 40px;
}

.cpd-matrix__font-row {
	padding: 26px 32px 18px 0;
	border-bottom: 1px dashed var(--cpd-matrix-rule);
}
.cpd-matrix__font-name {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0.01em;
	color: var(--color-ink);
}

/* Dynamic License Details (revealed only when license(s) are selected, extends page naturally) */
.cpd-matrix__details {
	padding: 24px 36px 44px 0;
	animation: cpdMatrixFadeIn 0.18s ease-out;
}
.cpd-matrix__details[hidden] {
	display: none;
}

@keyframes cpdMatrixFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

.cpd-matrix__details-title {
	font-size: 14px;
	font-weight: 400;
	margin-bottom: 18px;
	color: var(--color-ink);
}

.cpd-matrix__details-content {
	overflow: visible;
}

.cpd-matrix__details-group + .cpd-matrix__details-group {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px dashed var(--cpd-matrix-rule);
}

.cpd-matrix__details-subhead {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin-bottom: 8px;
	color: var(--color-ink);
}

.cpd-matrix__details-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.cpd-matrix__details-list li {
	font-size: 11.5px;
	line-height: 1.65;
	color: var(--color-ink);
	opacity: 0.92;
}

/* Options: Radio (Company Size) & Checkbox (Licenses) — centered block with straight dots */
.cpd-matrix__mobile-head {
	display: none;
}

.cpd-matrix__options {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: max-content;
	margin: 0 auto;
	position: sticky;
	top: calc(var(--navbar-h) + 28px);
}
body.admin-bar .cpd-matrix__options {
	top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--navbar-h) + 28px);
}

.cpd-matrix__opt {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	user-select: none;
	font-size: 13.5px;
	line-height: 1.35;
	color: var(--color-ink);
	position: relative;
	transition: opacity 0.14s ease;
}
.cpd-matrix__opt input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.cpd-matrix__dot {
	flex: 0 0 11px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	border: 1.5px solid var(--color-ink);
	background: transparent;
	box-sizing: border-box;
	opacity: 0.55;
	transition: background-color 0.14s ease, opacity 0.14s ease, transform 0.14s ease;
}
.cpd-matrix__label {
	opacity: 0.72;
	transition: opacity 0.14s ease;
}

.cpd-matrix__opt:hover .cpd-matrix__dot {
	opacity: 0.95;
}
.cpd-matrix__opt:hover .cpd-matrix__label {
	opacity: 1;
}

.cpd-matrix__opt input:checked + .cpd-matrix__dot {
	background: var(--color-ink);
	border-color: var(--color-ink);
	opacity: 1;
}
.cpd-matrix__opt input:checked ~ .cpd-matrix__label {
	opacity: 1;
}

.cpd-matrix__opt input:focus-visible + .cpd-matrix__dot {
	outline: 2px solid var(--color-ink);
	outline-offset: 3px;
}

/* Dimmed non-unlimited company sizes when Corporate flat buyout is selected */
.cpd-matrix__opt.is-locked-out {
	opacity: 0.35;
}
.cpd-matrix__opt.is-locked-out:hover {
	opacity: 0.75;
}

/* Row 3: Sticky Footer Bar (Summary | Subtotal | Add to cart / Post-Cart Actions) */
.cpd-matrix__foot-bar {
	display: contents;
}

.cpd-matrix__foot {
	position: sticky;
	bottom: 0;
	z-index: 20;
	background: var(--color-cream);
	border-top: 1px dashed var(--cpd-matrix-rule);
	display: flex;
	align-items: center;
	min-height: 86px;
}
.cpd-matrix__foot.cpd-matrix__col-fonts {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 6px;
	padding: 16px 32px 22px 0;
}
.cpd-matrix__subtotal-cell {
	justify-content: center;
	padding: 16px 20px 22px 20px;
}
.cpd-matrix__subtotal-wrap {
	width: 100%;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}
.cpd-matrix__subtotal-wrap[hidden] {
	display: none;
}
.cpd-matrix__action-cell {
	justify-content: center;
	padding: 16px 20px 22px 20px;
}

.cpd-matrix__subtotal-label {
	font-size: 13.5px;
	font-weight: 400;
	color: var(--color-ink);
}
.cpd-matrix__subtotal-prices {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	font-variant-numeric: tabular-nums;
}
.cpd-matrix__subtotal-orig {
	font-size: 12px;
	text-decoration: line-through;
	color: var(--cpd-matrix-muted);
}
.cpd-matrix__subtotal-val {
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--color-ink);
}

.cpd-matrix__cta {
	width: 100%;
	max-width: 204px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	border: 1px solid var(--color-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--color-ink);
	font-family: var(--font-mono);
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	box-sizing: border-box;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.cpd-matrix__cta[hidden] {
	display: none;
}
.cpd-matrix__cta:hover {
	background: var(--color-ink);
	color: var(--color-cream);
}
.cpd-matrix__cta.is-idle {
	opacity: 0.45;
}
.cpd-matrix__cta.is-idle:hover {
	opacity: 0.7;
	background: transparent;
	color: var(--color-ink);
}
.cpd-matrix__cta:disabled {
	opacity: 0.5;
	cursor: wait;
}
.cpd-matrix__cta:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 2px;
}

.cpd-matrix__cta--primary {
	background: var(--color-ink);
	color: var(--color-cream);
	border-color: var(--color-ink);
}
.cpd-matrix__cta--primary:hover {
	opacity: 0.86;
	background: var(--color-ink);
	color: var(--color-cream);
}
.cpd-matrix__more-btn,
.cpd-matrix__checkout-btn {
	animation: cpdMatrixFadeIn 0.18s ease-out;
}

.cpd-matrix__meta {
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--cpd-matrix-muted);
}
.cpd-matrix__meta-link {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: var(--color-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.cpd-matrix__notice {
	font-size: 12px;
	line-height: 1.5;
	color: var(--color-ink);
}
.cpd-matrix__notice a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cpd-matrix__notice.is-error {
	color: #c62828;
}
html.theme-dark .cpd-matrix__notice.is-error {
	color: #ff8a80;
}

/* ---------- Responsive: Tablet & Mobile ---------- */
@media (max-width: 960px) {
	.cpd-matrix {
		grid-template-columns: minmax(0, 1fr) 204px 204px;
	}
	.cpd-matrix__subtotal-cell {
		padding-left: 16px;
		padding-right: 16px;
	}
	.cpd-matrix__action-cell {
		padding-left: 12px;
		padding-right: 12px;
	}
}

@media (max-width: 760px) {
	.cpd-single-matrix {
		padding-top: 24px;
		padding-bottom: 0;
		min-height: calc(100vh - var(--navbar-h) - var(--cpd-footer-h, 88px));
		min-height: calc(100dvh - var(--navbar-h) - var(--cpd-footer-h, 88px));
	}
	.cpd-matrix {
		display: flex;
		flex-direction: column;
	}
	.cpd-matrix__col-fonts,
	.cpd-matrix__col-size {
		border-right: 0;
	}
	.cpd-matrix__head.cpd-matrix__col-size,
	.cpd-matrix__head.cpd-matrix__col-licenses {
		display: none;
	}
	.cpd-matrix__head.cpd-matrix__col-fonts {
		padding: 0 0 14px;
	}
	.cpd-matrix__body.cpd-matrix__col-fonts {
		order: 1;
	}
	.cpd-matrix__body.cpd-matrix__col-size {
		order: 2;
		padding: 20px 0;
		border-bottom: 1px dashed var(--cpd-matrix-rule);
	}
	.cpd-matrix__body.cpd-matrix__col-licenses {
		order: 3;
		padding: 20px 0;
		border-bottom: 1px dashed var(--cpd-matrix-rule);
	}
	.cpd-matrix__mobile-head {
		display: block;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		text-align: center;
		margin-bottom: 14px;
	}
	.cpd-matrix__options {
		position: static;
		width: 100%;
		margin: 0;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 16px;
	}
	.cpd-matrix__font-row {
		padding: 18px 0 14px;
	}
	.cpd-matrix__details {
		padding: 18px 0 24px;
		border-bottom: 1px dashed var(--cpd-matrix-rule);
	}
	.cpd-matrix__foot-bar {
		order: 4;
		display: flex;
		flex-direction: column;
		position: sticky;
		bottom: 0;
		z-index: 20;
		margin-top: auto;
		background: var(--color-cream);
		border-top: 1px dashed var(--cpd-matrix-rule);
		padding: 12px 0 16px;
	}
	.cpd-matrix__foot {
		position: static;
		border-top: 0;
		background: transparent;
		min-height: auto;
	}
	.cpd-matrix__foot.cpd-matrix__col-fonts {
		padding: 0 0 8px;
	}
	.cpd-matrix__foot.cpd-matrix__col-fonts:empty {
		display: none;
	}
	.cpd-matrix__subtotal-cell {
		padding: 4px 0 12px;
	}
	.cpd-matrix__action-cell {
		padding: 0;
	}
	.cpd-matrix__foot-bar.is-post-cart {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px 10px;
	}
	.cpd-matrix__foot-bar.is-post-cart .cpd-matrix__col-fonts {
		grid-column: 1 / -1;
		padding: 0 0 4px;
	}
	.cpd-matrix__foot-bar.is-post-cart .cpd-matrix__subtotal-cell,
	.cpd-matrix__foot-bar.is-post-cart .cpd-matrix__action-cell {
		padding: 0;
	}
	.cpd-matrix__cta {
		max-width: none;
		padding: 12px 16px;
	}
}


/* ==========================================================================
   Cart Page — Minimalist 3-Column Matrix (Matching Single Product Page)
   ========================================================================== */
.woocommerce-cart .container.cpd-single-matrix {
	margin-top: 0;
}

.cpd-cart__head-fonts {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.cpd-cart__clear-btn {
	background: none;
	border: 0;
	padding: 0;
	font-family: var(--font-mono);
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: color 0.14s ease;
}
.cpd-cart__clear-btn:hover {
	color: var(--color-ink);
}
.cpd-cart__clear-btn[hidden] {
	display: none;
}

.cpd-cart__body {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

/* Each cart item row spans 3 columns cleanly */
.cpd-cart__row {
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 244px 244px;
	align-items: stretch;
}

.cpd-cart__cell {
	box-sizing: border-box;
	min-width: 0;
	border-bottom: 1px dashed var(--cpd-matrix-rule);
}
.cpd-cart__cell--font {
	border-right: 1px dashed var(--cpd-matrix-rule);
	padding: 22px 32px 22px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.cpd-cart__cell--license {
	border-right: 1px dashed var(--cpd-matrix-rule);
	padding: 22px 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 4px;
}
.cpd-cart__cell--price {
	padding: 22px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cpd-cart__item-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: baseline;
	gap: 8px 16px;
}
.cpd-cart__item-name {
	justify-self: start;
	font-size: 15px;
	font-weight: 400;
	color: var(--color-ink);
	text-decoration: none;
}
.cpd-cart__item-name:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cpd-cart__discount-tag {
	justify-self: center;
	text-align: center;
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
	white-space: nowrap;
}
.cpd-cart__details-toggle {
	justify-self: end;
	text-align: right;
	background: none;
	border: 0;
	padding: 0;
	font-family: var(--font-mono);
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	white-space: nowrap;
}
.cpd-cart__details-toggle:hover {
	color: var(--color-ink);
}

.cpd-cart__item-details {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px dashed var(--cpd-matrix-rule);
	animation: cpdMatrixFadeIn 0.16s ease-out;
}
.cpd-cart__item-details[hidden] {
	display: none;
}
.cpd-cart__item-details ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.cpd-cart__item-details li {
	font-size: 11.5px;
	line-height: 1.65;
	color: var(--color-ink);
	opacity: 0.88;
}

.cpd-cart__lic-name {
	font-size: 13.5px;
	color: var(--color-ink);
}
.cpd-cart__lic-size {
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
}

.cpd-cart__price-wrap {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	font-variant-numeric: tabular-nums;
}
.cpd-cart__price-orig {
	font-size: 11.5px;
	text-decoration: line-through;
	color: var(--cpd-matrix-muted);
}
.cpd-cart__price-val {
	font-size: 15px;
	color: var(--color-ink);
}

.cpd-cart__remove-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--cpd-matrix-rule);
	border-radius: 999px;
	padding: 4px 11px;
	font-family: var(--font-mono);
	font-size: 11.5px;
	line-height: 1.2;
	color: var(--cpd-matrix-muted);
	cursor: pointer;
	transition: border-color 0.14s ease, color 0.14s ease, background-color 0.14s ease;
}
.cpd-cart__remove-btn:hover {
	border-color: var(--color-ink);
	color: var(--color-ink);
}
.cpd-cart__remove-btn:disabled {
	opacity: 0.45;
	cursor: wait;
}

.cpd-cart__row.is-removing .cpd-cart__cell {
	opacity: 0.4;
	transition: opacity 0.15s ease;
}

/* Filler + Coupon row: stretches vertically so dashed dividers stay unbroken down to sticky bar */
.cpd-cart__filler {
	flex: 1 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 244px 244px;
	align-items: stretch;
}
.cpd-cart__filler-font {
	border-right: 1px dashed var(--cpd-matrix-rule);
	padding: 26px 32px 36px 0;
	min-height: 120px;
}
.cpd-cart__filler-size {
	border-right: 1px dashed var(--cpd-matrix-rule);
	min-height: 120px;
}
.cpd-cart__filler-price {
	min-height: 120px;
}

/* Coupon inline form */
.cpd-cart__coupon-form {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	max-width: 420px;
}
.cpd-cart__coupon-input {
	flex: 1 1 180px;
	min-width: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px dashed var(--cpd-matrix-rule);
	border-radius: 0;
	padding: 8px 2px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--color-ink);
	outline: none;
}
.cpd-cart__coupon-input::placeholder {
	color: var(--cpd-matrix-muted);
}
.cpd-cart__coupon-input:focus {
	border-bottom-color: var(--color-ink);
}
.cpd-cart__coupon-btn {
	background: transparent;
	border: 1px solid var(--color-ink);
	border-radius: 999px;
	padding: 7px 18px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--color-ink);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.cpd-cart__coupon-btn:hover {
	background: var(--color-ink);
	color: var(--color-cream);
}
.cpd-cart__coupon-btn:disabled {
	opacity: 0.5;
	cursor: wait;
}

.cpd-cart__coupons-active {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}
.cpd-cart__coupon-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px dashed var(--cpd-matrix-rule);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 11.5px;
	color: var(--color-ink);
}
.cpd-cart__coupon-chip button {
	background: none;
	border: 0;
	padding: 0;
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 1;
	color: var(--cpd-matrix-muted);
	cursor: pointer;
}
.cpd-cart__coupon-chip button:hover {
	color: var(--color-ink);
}
.cpd-cart__coupon-msg {
	margin-top: 8px;
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
}
.cpd-cart__coupon-msg.is-error {
	color: #c62828;
}
html.theme-dark .cpd-cart__coupon-msg.is-error {
	color: #ff8a80;
}

/* Empty cart state inside 3-column grid */
.cpd-cart__empty-title {
	font-size: 15px;
	margin: 0 0 10px;
	color: var(--color-ink);
}
.cpd-cart__empty-sub {
	font-size: 12.5px;
	line-height: 1.65;
	margin: 0;
	color: var(--cpd-matrix-muted);
	max-width: 440px;
}

/* Footer summary row inside Col 1 */
.cpd-cart__summary-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 18px;
}
.cpd-cart__more-link {
	width: auto;
	max-width: none;
	padding: 8px 18px;
	font-size: 12.5px;
}

/* Responsive Tablet & Mobile */
@media (max-width: 960px) {
	.cpd-cart__row,
	.cpd-cart__filler {
		grid-template-columns: minmax(0, 1fr) 204px 204px;
	}
	.cpd-cart__cell--price {
		padding: 18px 12px;
	}
}

@media (max-width: 760px) {
	.cpd-cart__body {
		display: flex;
		flex-direction: column;
		order: 2;
		flex: 1 0 auto;
	}
	.cpd-cart__row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 12px;
		padding: 18px 0;
		border-bottom: 1px dashed var(--cpd-matrix-rule);
	}
	.cpd-cart__cell {
		border: 0;
		padding: 0;
	}
	.cpd-cart__cell--font {
		grid-column: 1 / -1;
	}
	.cpd-cart__item-bar {
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 6px 12px;
	}
	.cpd-cart__cell--license {
		grid-column: 1;
		align-items: flex-start;
		text-align: left;
		flex-direction: row;
		gap: 8px;
		align-items: baseline;
	}
	.cpd-cart__cell--price {
		grid-column: 2;
		justify-content: flex-end;
	}
	.cpd-cart__filler {
		display: block;
	}
	.cpd-cart__filler-font {
		border-right: 0;
		padding: 20px 0 28px;
		min-height: auto;
	}
	.cpd-cart__filler-size,
	.cpd-cart__filler-price {
		display: none;
	}
	.cpd-cart__foot-bar {
		order: 4;
	}
	.cpd-cart__summary-row {
		width: 100%;
		justify-content: space-between;
	}
	.cpd-cart__more-link {
		order: 2;
		padding: 6px 14px;
		font-size: 11.5px;
	}
}


/* ==========================================================================
   Checkout & Order Received — Minimalist Swiss-Grid Style (Matching Cart)
   ========================================================================== */
.woocommerce-checkout .container.cpd-single-matrix {
	margin-top: 0;
}
.cpd-checkout-page .woocommerce {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}

.cpd-checkout__head-left {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.cpd-checkout__head-right {
	grid-column: 2 / 4;
	text-align: center;
	padding-left: 24px;
	padding-right: 16px;
}
.cpd-checkout__login-link {
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cpd-checkout__login-link:hover {
	color: var(--color-ink);
}

.cpd-checkout__col-left {
	grid-column: 1 / 2;
	border-right: 1px dashed var(--cpd-matrix-rule);
	padding: 24px 40px 104px 0;
}
.cpd-checkout__col-right {
	grid-column: 2 / 4;
	padding: 24px 0 104px 32px;
	min-width: 0;
}

/* Section blocks inside left/right columns */
.cpd-checkout__section + .cpd-checkout__section {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px dashed var(--cpd-matrix-rule);
}
.cpd-checkout__section-title {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-ink);
	margin-bottom: 14px;
}

.cpd-checkout__grid-1 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}
.cpd-checkout__grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 24px;
	margin-bottom: 14px;
}
.cpd-checkout__grid-2:last-child {
	margin-bottom: 0;
}
.cpd-checkout__grid-1 + .cpd-checkout__grid-2,
.cpd-checkout__grid-2 + .cpd-checkout__grid-1 {
	margin-top: 14px;
}

/* Override WooCommerce form-row defaults (higher specificity than legacy .woocommerce rules) */
.woocommerce form.cpd-checkout .form-row {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	float: none !important;
	clear: none !important;
}
.woocommerce form.cpd-checkout .form-row label {
	display: block;
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--cpd-matrix-muted);
	margin-bottom: 4px;
	line-height: 1.3;
}
.woocommerce form.cpd-checkout .form-row label .optional {
	text-transform: none;
	letter-spacing: 0.02em;
	opacity: 0.7;
}
.woocommerce form.cpd-checkout .form-row .required {
	color: var(--color-ink);
	text-decoration: none;
	border: 0;
}
.woocommerce form.cpd-checkout .form-row input.input-text,
.woocommerce form.cpd-checkout .form-row select,
.woocommerce form.cpd-checkout .form-row textarea {
	width: 100%;
	box-sizing: border-box;
	background: transparent;
	border: 0;
	border-bottom: 1px dashed var(--cpd-matrix-rule);
	border-radius: 0;
	padding: 8px 2px;
	font-family: var(--font-mono);
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--color-ink);
	outline: none;
	box-shadow: none;
	transition: border-color 0.14s ease;
}
.woocommerce form.cpd-checkout .form-row select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 24px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%231c1d1a' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	background-size: 11px 7px;
}
html.theme-dark .woocommerce form.cpd-checkout .form-row select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23f5f5f5' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.woocommerce form.cpd-checkout .form-row select option {
	background-color: var(--color-cream);
	color: var(--color-ink);
}
.woocommerce form.cpd-checkout .form-row input.input-text::placeholder,
.woocommerce form.cpd-checkout .form-row textarea::placeholder {
	color: var(--cpd-matrix-muted);
	opacity: 0.65;
}
.woocommerce form.cpd-checkout .form-row input.input-text:focus,
.woocommerce form.cpd-checkout .form-row select:focus,
.woocommerce form.cpd-checkout .form-row textarea:focus {
	border-bottom-style: solid;
	border-bottom-color: var(--color-ink);
}
.woocommerce form.cpd-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce form.cpd-checkout .form-row.woocommerce-invalid select {
	border-bottom-color: #c62828;
}
html.theme-dark .woocommerce form.cpd-checkout .form-row.woocommerce-invalid input.input-text,
html.theme-dark .woocommerce form.cpd-checkout .form-row.woocommerce-invalid select {
	border-bottom-color: #ff8a80;
}

/* Select2 / selectWoo Light + Dark Mode harmony (Country & Province) */
.woocommerce form.cpd-checkout .select2-container {
	width: 100% !important;
	font-family: var(--font-mono);
	font-size: 13.5px;
}
.woocommerce form.cpd-checkout .select2-container--default .select2-selection--single {
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px dashed var(--cpd-matrix-rule) !important;
	border-radius: 0 !important;
	height: auto !important;
	min-height: 36px;
	padding: 6px 24px 7px 2px !important;
	display: flex;
	align-items: center;
}
.woocommerce form.cpd-checkout .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce form.cpd-checkout .select2-container--default.select2-container--focus .select2-selection--single {
	border-bottom-style: solid !important;
	border-bottom-color: var(--color-ink) !important;
}
.woocommerce form.cpd-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--color-ink) !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}
.woocommerce form.cpd-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50% !important;
	right: 2px !important;
	height: 20px !important;
	transform: translateY(-50%);
}
.woocommerce form.cpd-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: var(--color-ink) transparent transparent transparent !important;
}
.woocommerce form.cpd-checkout .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent var(--color-ink) transparent !important;
}
.woocommerce-checkout .select2-container--open {
	z-index: 10050 !important;
}
.woocommerce-checkout .select2-dropdown {
	background: var(--color-cream) !important;
	color: var(--color-ink) !important;
	border: 1px dashed rgba(28, 29, 26, 0.5) !important;
	border-radius: 0 !important;
	font-family: var(--font-mono);
	font-size: 13px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
html.theme-dark .select2-dropdown {
	border-color: rgba(245, 245, 245, 0.45) !important;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}
.woocommerce-checkout .select2-search--dropdown {
	padding: 8px !important;
}
.woocommerce-checkout .select2-search--dropdown .select2-search__field {
	background: transparent !important;
	color: var(--color-ink) !important;
	border: 0 !important;
	border-bottom: 1px dashed rgba(128, 128, 128, 0.55) !important;
	border-radius: 0 !important;
	padding: 6px 4px !important;
	font-family: var(--font-mono);
	font-size: 12.5px;
	outline: none !important;
}
.woocommerce-checkout .select2-search--dropdown .select2-search__field:focus {
	border-bottom-style: solid !important;
	border-bottom-color: var(--color-ink) !important;
}
.woocommerce-checkout .select2-results__option {
	padding: 8px 12px !important;
	color: var(--color-ink) !important;
	background: transparent !important;
}
.woocommerce-checkout .select2-container--default .select2-results__option[aria-selected="true"],
.woocommerce-checkout .select2-container--default .select2-results__option[data-selected="true"] {
	background: rgba(28, 29, 26, 0.08) !important;
	color: var(--color-ink) !important;
}
html.theme-dark .select2-container--default .select2-results__option[aria-selected="true"],
html.theme-dark .select2-container--default .select2-results__option[data-selected="true"] {
	background: rgba(245, 245, 245, 0.14) !important;
	color: var(--color-ink) !important;
}
.woocommerce-checkout .select2-container--default .select2-results__option--highlighted,
html.theme-dark .select2-container--default .select2-results__option--highlighted,
html.theme-dark .select2-container--default .select2-results__option--highlighted[aria-selected],
html.theme-dark .select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--color-ink) !important;
	color: var(--color-cream) !important;
}

/* WooCommerce Notices inside minimalist checkout */
.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
	grid-column: 1 / -1;
	background: transparent !important;
	border: 1px dashed var(--cpd-matrix-rule) !important;
	border-radius: 0 !important;
	color: var(--color-ink) !important;
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 1.6;
	padding: 14px 18px !important;
	margin: 0 0 20px !important;
	list-style: none;
}
.woocommerce-checkout .woocommerce-error {
	border-color: #c62828 !important;
	color: #c62828 !important;
}
html.theme-dark.woocommerce-checkout .woocommerce-error,
html.theme-dark .woocommerce-checkout .woocommerce-error {
	border-color: #ff8a80 !important;
	color: #ff8a80 !important;
}
.woocommerce-checkout .woocommerce-error::before,
.woocommerce-checkout .woocommerce-message::before,
.woocommerce-checkout .woocommerce-info::before {
	display: none !important;
}

/* Order Summary (Right column top) */
.cpd-checkout__items {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-bottom: 18px;
}
.cpd-checkout__item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}
.cpd-checkout__item-name {
	font-size: 13.5px;
	color: var(--color-ink);
	line-height: 1.35;
}
.cpd-checkout__item-meta {
	font-size: 11px;
	color: var(--cpd-matrix-muted);
	margin-top: 3px;
}
.cpd-checkout__item-price {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.cpd-checkout__item-val {
	font-size: 13.5px;
	color: var(--color-ink);
}

.cpd-checkout__totals {
	border-top: 1px dashed var(--cpd-matrix-rule);
	padding-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.cpd-checkout__tot-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 12.5px;
	color: var(--cpd-matrix-muted);
	font-variant-numeric: tabular-nums;
}
.cpd-checkout__tot-row--grand {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px dashed var(--cpd-matrix-rule);
	font-size: 15px;
	color: var(--color-ink);
}
.cpd-checkout__coupon-rm {
	background: none;
	border: 0;
	padding: 0 4px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--cpd-matrix-muted);
	cursor: pointer;
}
.cpd-checkout__coupon-rm:hover {
	color: var(--color-ink);
}

.cpd-checkout__coupon-box {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px dashed var(--cpd-matrix-rule);
}
.cpd-checkout__coupon-panel {
	margin-top: 10px;
}
.cpd-checkout__coupon-panel[hidden] {
	display: none;
}

/* Payment Method section (PCI-safe embed styling) */
.woocommerce-checkout #payment.cpd-checkout__payment {
	background: transparent !important;
	border-radius: 0 !important;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px dashed var(--cpd-matrix-rule);
}
.cpd-checkout__methods {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.cpd-checkout__method {
	margin: 0 !important;
	padding: 0 !important;
}
.cpd-checkout__method-label {
	width: 100%;
	font-size: 13.5px;
}
.cpd-checkout__method-icon {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.cpd-checkout__method-icon img {
	max-height: 20px;
	width: auto;
}
.woocommerce-checkout #payment div.payment_box.cpd-checkout__method-box {
	background: transparent !important;
	border: 1px dashed var(--cpd-matrix-rule) !important;
	border-radius: 0 !important;
	color: var(--color-ink) !important;
	margin: 10px 0 0 25px !important;
	padding: 14px 16px !important;
	font-size: 12px;
	line-height: 1.6;
}
.woocommerce-checkout #payment div.payment_box.cpd-checkout__method-box::before {
	display: none !important;
}
.cpd-checkout__no-gateway {
	border: 1px dashed var(--cpd-matrix-rule);
	padding: 14px 16px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--cpd-matrix-muted);
}

.cpd-checkout__terms {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px dashed var(--cpd-matrix-rule);
}
.cpd-checkout__check {
	font-size: 12px;
	line-height: 1.5;
	align-items: flex-start;
}
.cpd-checkout__check .cpd-matrix__dot {
	margin-top: 3px;
}

.woocommerce-checkout #payment .place-order.cpd-checkout__native-submit {
	padding: 0 !important;
	margin: 0 !important;
}
.cpd-checkout__hidden-submit {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Order Received / Thank You */
.cpd-thankyou__lead {
	font-size: 13px;
	line-height: 1.7;
	margin: 0;
	color: var(--color-ink);
}
.cpd-thankyou__downloads {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.cpd-thankyou__dl-btn {
	width: auto;
	max-width: none;
	padding: 9px 20px;
	font-size: 12.5px;
}

.cpd-checkout__empty {
	grid-column: 1 / -1;
	padding: 40px 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

/* Smooth Light/Dark blockUI overlay while WooCommerce refreshes checkout totals */
.cpd-checkout .blockUI.blockOverlay {
	background: rgba(251, 246, 244, 0.65) !important;
}
html.theme-dark .cpd-checkout .blockUI.blockOverlay {
	background: rgba(11, 11, 11, 0.68) !important;
}

/* Responsive Tablet & Mobile */
@media (max-width: 960px) {
	.cpd-checkout__col-left {
		padding-right: 24px;
	}
	.cpd-checkout__col-right {
		padding-left: 20px;
	}
}

@media (max-width: 760px) {
	.cpd-checkout__head-right {
		display: none;
	}
	.cpd-checkout__col-right {
		order: 1;
		padding: 20px 0;
		border-bottom: 1px dashed var(--cpd-matrix-rule);
	}
	.cpd-checkout__col-left {
		order: 2;
		border-right: 0;
		padding: 20px 0 32px;
	}
	.cpd-checkout__grid-2 {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.cpd-checkout__foot-bar {
		order: 4;
	}
}

/* ==========================================================================
   60% Slide-over Product Drawer Embed Mode (/product/{slug}?cpd_drawer=1)
   ========================================================================== */
html:has(body.is-cpd-drawer) {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.is-cpd-drawer {
	margin: 0 !important;
	padding-top: 0 !important;
	overflow-x: hidden;
}
body.is-cpd-drawer #wpadminbar,
body.is-cpd-drawer .cpd-nav,
body.is-cpd-drawer .site-footer {
	display: none !important;
}
body.is-cpd-drawer .cpd-single-matrix {
	max-width: none;
	width: 100%;
	padding: 20px 24px 0;
	min-height: 100vh;
	min-height: 100dvh;
	box-sizing: border-box;
}
body.is-cpd-drawer .cpd-matrix {
	grid-template-columns: minmax(0, 1fr) clamp(172px, 27%, 228px) clamp(172px, 27%, 228px);
}
body.is-cpd-drawer .cpd-matrix__head {
	padding-bottom: 18px;
}
body.is-cpd-drawer .cpd-matrix__head.cpd-matrix__col-fonts {
	padding-right: 20px;
}
body.is-cpd-drawer .cpd-matrix__font-row {
	padding: 20px 20px 14px 0;
}
body.is-cpd-drawer .cpd-matrix__details {
	padding: 18px 22px 32px 0;
}
body.is-cpd-drawer .cpd-matrix__body.cpd-matrix__col-size,
body.is-cpd-drawer .cpd-matrix__body.cpd-matrix__col-licenses {
	padding: 20px 14px 32px;
}
body.is-cpd-drawer .cpd-matrix__options {
	top: 20px;
}
body.is-cpd-drawer .cpd-matrix__foot.cpd-matrix__col-fonts {
	padding: 14px 20px 18px 0;
}
body.is-cpd-drawer .cpd-matrix__subtotal-cell,
body.is-cpd-drawer .cpd-matrix__action-cell {
	padding: 14px 14px 18px;
}
body.is-cpd-drawer .cpd-matrix__subtotal-val {
	font-size: 20px;
}
body.is-cpd-drawer .cpd-matrix__cta {
	padding: 9px 16px;
	font-size: 13px;
}
@media (max-width: 660px) {
	body.is-cpd-drawer .cpd-single-matrix {
		padding: 16px 16px 0;
	}
	body.is-cpd-drawer .cpd-matrix {
		display: flex;
		flex-direction: column;
	}
	body.is-cpd-drawer .cpd-matrix__col-fonts,
	body.is-cpd-drawer .cpd-matrix__col-size {
		border-right: 0;
	}
	body.is-cpd-drawer .cpd-matrix__head.cpd-matrix__col-size,
	body.is-cpd-drawer .cpd-matrix__head.cpd-matrix__col-licenses {
		display: none;
	}
	body.is-cpd-drawer .cpd-matrix__mobile-head {
		display: block;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		text-align: center;
		margin-bottom: 14px;
	}
	body.is-cpd-drawer .cpd-matrix__options {
		position: static;
		width: 100%;
		margin: 0;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 16px;
	}
	body.is-cpd-drawer .cpd-matrix__body.cpd-matrix__col-size,
	body.is-cpd-drawer .cpd-matrix__body.cpd-matrix__col-licenses {
		padding: 18px 0;
		border-bottom: 1px dashed var(--cpd-matrix-rule);
	}
	body.is-cpd-drawer .cpd-matrix__foot-bar {
		display: flex;
		flex-direction: column;
		position: sticky;
		bottom: 0;
		z-index: 20;
		margin-top: auto;
		background: var(--color-cream);
		border-top: 1px dashed var(--cpd-matrix-rule);
		padding: 12px 0 16px;
	}
	body.is-cpd-drawer .cpd-matrix__foot {
		position: static;
		border-top: 0;
		min-height: 0;
		padding: 6px 0;
	}
}

/* ==========================================================================
   Licenses Page — Minimalist 2-Column Matrix (Matching Cart Page Style)
   ========================================================================== */
.cpd-licenses-page.container.cpd-single-matrix {
	margin-top: 0;
}

.cpd-matrix.cpd-lic,
.cpd-lic .cpd-cart__row,
.cpd-lic .cpd-cart__filler {
	grid-template-columns: minmax(0, 1fr) 280px;
}

.cpd-lic__col-cov {
	border-right: 0 !important;
}

.cpd-lic__page-heading {
	margin: 0;
}

.cpd-lic__name {
	margin: 0;
	line-height: 1.35;
}

.cpd-lic__size-cell {
	padding: 20px 32px 22px 0;
	justify-content: flex-start;
}

.cpd-lic__size-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-bottom: 14px;
}

.cpd-lic__size-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--color-ink);
}

.cpd-lic__size-hint {
	font-size: 11px;
	color: var(--cpd-matrix-muted);
}

.cpd-lic__size-options {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
}

.cpd-lic__size-options::-webkit-scrollbar {
	display: none;
}

.cpd-lic__size-opt {
	flex: 0 0 auto;
	font-size: 11.5px;
	gap: 6px;
	white-space: nowrap;
}

.cpd-lic__size-opt .cpd-matrix__dot {
	flex: 0 0 9px;
	width: 9px;
	height: 9px;
}

.cpd-lic__row {
	scroll-margin-top: calc(var(--navbar-h) + 16px);
}

.cpd-lic .cpd-lic__cell--font {
	justify-content: flex-start;
	padding: 22px 0;
}

.cpd-lic__item-bar {
	padding-right: 32px;
}

.cpd-lic__details {
	padding-right: 32px;
}

.cpd-lic__cell--cov {
	justify-content: flex-start;
	padding-top: 22px;
	padding-bottom: 22px;
}

.cpd-lic__size-meta {
	justify-content: center;
	align-items: center;
}

.cpd-lic__notes-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--color-ink);
	margin-bottom: 12px;
}

.cpd-lic__notes-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cpd-lic__notes-list li {
	font-size: 11.5px;
	line-height: 1.65;
	color: var(--cpd-matrix-muted);
}

.cpd-lic__custom {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px dashed var(--cpd-matrix-rule);
	font-size: 12px;
	line-height: 1.7;
	color: var(--color-ink);
}

.cpd-lic__custom p:first-child {
	margin-top: 0;
}

.cpd-lic__custom p:last-child {
	margin-bottom: 0;
}

@media (max-width: 960px) {
	.cpd-matrix.cpd-lic,
	.cpd-lic .cpd-cart__row,
	.cpd-lic .cpd-cart__filler {
		grid-template-columns: minmax(0, 1fr) 224px;
	}
}

@media (max-width: 760px) {
	.cpd-matrix.cpd-lic {
		display: flex;
		flex-direction: column;
	}
	.cpd-lic .cpd-cart__row {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.cpd-lic .cpd-cart__filler {
		display: block;
	}
	.cpd-lic__size-cell {
		padding: 0 0 8px;
	}
	.cpd-lic__size-options {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px 14px;
	}
	.cpd-lic__size-meta {
		align-items: flex-start;
		text-align: left;
		flex-direction: row;
		gap: 8px;
		align-items: baseline;
	}
	.cpd-lic .cpd-lic__cell--font {
		padding: 0;
	}
	.cpd-lic__item-bar {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 4px 12px;
		padding-right: 0;
	}
	.cpd-lic__details {
		padding-right: 0;
	}
	.cpd-lic__tagline {
		grid-column: 1 / -1;
		order: 3;
		justify-self: start;
		text-align: left;
		white-space: normal;
	}
	.cpd-lic__cell--cov {
		align-items: flex-start;
		text-align: left;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 10px;
		align-items: baseline;
		padding-top: 0;
		padding-bottom: 0;
	}
	.cpd-lic__notes {
		padding-bottom: 24px;
	}
}

/* ==========================================================================
   My Account Page — Minimalist Swiss-Grid Style (Left Sidebar 244px + Cart Sub-Grids)
   ========================================================================== */
.woocommerce-account .container.cpd-single-matrix {
	margin-top: 0;
}
.cpd-account-page .woocommerce {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}

/* Neutralize WooCommerce core floats on My Account */
.woocommerce-account .cpd-account .woocommerce-MyAccount-navigation,
.woocommerce-account .cpd-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

/* Logged-in outer grid: Left Sidebar 244px | Main Content 1fr */
.cpd-matrix.cpd-account {
	grid-template-columns: 244px minmax(0, 1fr);
	grid-template-rows: auto 1fr auto;
}

.cpd-account__col-nav {
	border-right: 1px dashed var(--cpd-matrix-rule);
}
.cpd-account__col-main {
	min-width: 0;
}

.cpd-account__page-heading {
	margin: 0;
}
.cpd-account__head-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-left: 32px;
}
.cpd-account__head-meta {
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.cpd-account__head-link {
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}
.cpd-account__head-link:hover {
	color: var(--color-ink);
}

/* Left Sidebar Navigation (dot-indicator style matching Single Product) */
.cpd-account__sidebar {
	padding: 26px 24px 40px 0;
}
.cpd-account__nav {
	position: sticky;
	top: calc(var(--navbar-h) + 28px);
}
body.admin-bar .cpd-account__nav {
	top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--navbar-h) + 28px);
}
.cpd-account__nav-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.cpd-account__nav-list li {
	margin: 0 !important;
	padding: 0 !important;
}
.cpd-account__nav-link {
	display: inline-flex !important;
	align-items: center;
	gap: 12px;
	padding: 2px 0 !important;
	font-family: var(--font-mono);
	font-size: 13.5px;
	font-weight: 400 !important;
	line-height: 1.35;
	color: var(--color-ink) !important;
	text-decoration: none !important;
	transition: opacity 0.14s ease;
}
.cpd-account__nav-label {
	opacity: 0.72;
	transition: opacity 0.14s ease;
}
.cpd-account__nav-count {
	font-size: 11px;
	color: var(--cpd-matrix-muted);
	font-variant-numeric: tabular-nums;
}
.cpd-account__nav-link:hover .cpd-account__nav-dot {
	opacity: 0.95;
}
.cpd-account__nav-link:hover .cpd-account__nav-label {
	opacity: 1;
}
.cpd-account__nav-link.is-active .cpd-account__nav-dot {
	background: var(--color-ink);
	border-color: var(--color-ink);
	opacity: 1;
}
.cpd-account__nav-link.is-active .cpd-account__nav-label {
	opacity: 1;
}
.cpd-account__nav-logout {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px dashed var(--cpd-matrix-rule);
}
.cpd-account__logout-link {
	display: inline-block !important;
	padding: 0 !important;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--cpd-matrix-muted) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.cpd-account__logout-link:hover {
	color: var(--color-ink) !important;
}

/* Main Content Area */
.cpd-account__main {
	display: flex;
	flex-direction: column;
	padding: 0 0 64px;
}
.cpd-account__panel {
	padding: 24px 0 0 32px;
}
.cpd-account__empty {
	padding: 32px 0 32px 32px;
}
.cpd-account__empty-cta {
	margin-top: 20px;
}

/* Dashboard & Panel Blocks */
.cpd-account__block {
	padding-top: 24px;
	margin-top: 24px;
	border-top: 1px dashed var(--cpd-matrix-rule);
}
.cpd-account__block--first {
	padding-top: 0;
	margin-top: 0;
	border-top: 0;
}
.cpd-account__block-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.cpd-account__block-head .cpd-checkout__section-title {
	margin-bottom: 0;
}
.cpd-account__inline-links {
	display: inline-flex;
	align-items: center;
	gap: 16px;
}
.cpd-account__inline-links a {
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cpd-account__inline-links a:hover {
	color: var(--color-ink);
}

.cpd-account__kv-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 28px;
}
.cpd-account__kv {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 12px;
	border-bottom: 1px dashed var(--cpd-matrix-rule);
}
.cpd-account__kv-label {
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--cpd-matrix-muted);
}
.cpd-account__kv-val {
	font-size: 13.5px;
	color: var(--color-ink);
	word-break: break-word;
}

/* Dashboard Compact Lists */
.cpd-account__list {
	display: flex;
	flex-direction: column;
}
.cpd-account__list-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px dashed var(--cpd-matrix-rule);
}
.cpd-account__list-row:first-child {
	border-top: 1px dashed var(--cpd-matrix-rule);
}
.cpd-account__list-info {
	min-width: 0;
}
.cpd-account__list-title {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px 12px;
	font-size: 14px;
	color: var(--color-ink);
}
.cpd-account__list-title a {
	color: inherit;
	text-decoration: none;
}
.cpd-account__list-title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cpd-account__list-sub {
	margin-top: 4px;
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
}
.cpd-account__list-actions {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	flex-shrink: 0;
}
.cpd-account__status-tag {
	font-size: 11px;
	color: var(--cpd-matrix-muted);
	border: 1px dashed var(--cpd-matrix-rule);
	border-radius: 999px;
	padding: 1px 9px;
}

/* Compact Pill CTA inside Account rows */
.cpd-account__pill-sm {
	width: auto !important;
	max-width: none !important;
	padding: 7px 16px !important;
	font-size: 12px !important;
	white-space: nowrap;
}

/* Cart-style 3-column Sub-Grids (Downloads & Orders inside Main Content) */
.cpd-account__table {
	display: flex;
	flex-direction: column;
}
.cpd-account__subrow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 184px 220px;
	align-items: stretch;
}
.cpd-account__subcell {
	box-sizing: border-box;
	min-width: 0;
	border-bottom: 1px dashed var(--cpd-matrix-rule);
}
.cpd-account__subcell--main {
	border-right: 1px dashed var(--cpd-matrix-rule);
	padding: 20px 24px 20px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}
.cpd-account__subcell--mid {
	border-right: 1px dashed var(--cpd-matrix-rule);
	padding: 20px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 4px;
}
.cpd-account__subcell--end {
	padding: 20px 0 20px 20px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}
.cpd-account__subrow--head .cpd-account__subcell {
	padding-top: 16px;
	padding-bottom: 14px;
}
.cpd-account__subhead {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cpd-matrix-muted);
}
.cpd-account__item-title {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 12px;
}
.cpd-account__item-sub {
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--cpd-matrix-muted);
}
.cpd-account__holder-tag {
	font-size: 11px;
	color: var(--cpd-matrix-muted);
}
.cpd-account__order-end {
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 8px;
}
.cpd-account__order-actions {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}
.cpd-account__action-btn {
	text-decoration: none !important;
}
.cpd-account__pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0 0 32px;
}

/* View Order (2-column internal split matching thankyou.php) */
.cpd-account__view-order {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 296px;
	align-items: stretch;
	flex: 1 0 auto;
}
.cpd-account__vo-left {
	padding: 24px 32px 32px 32px;
	border-right: 1px dashed var(--cpd-matrix-rule);
	min-width: 0;
}
.cpd-account__vo-right {
	padding: 24px 0 32px 24px;
	min-width: 0;
}
.cpd-account__vo-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
.cpd-account__address-box {
	font-style: normal;
	font-size: 12.5px;
	line-height: 1.7;
	color: var(--color-ink);
	margin: 0;
}
.cpd-account__notes {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.cpd-account__note-item {
	padding-bottom: 12px;
	border-bottom: 1px dashed var(--cpd-matrix-rule);
}
.cpd-account__note-body p {
	margin: 4px 0 0;
	font-size: 12.5px;
	line-height: 1.6;
}

/* Sticky Bottom Bar (Logged-in 244px | 1fr) */
.cpd-account__foot-nav {
	padding: 16px 24px 22px 0;
	justify-content: flex-start;
}
.cpd-account__foot-more {
	max-width: none;
	padding: 9px 18px;
	font-size: 12.5px;
}
.cpd-account__foot-main {
	padding: 16px 0 22px 32px;
	justify-content: space-between;
	gap: 20px;
}
.cpd-account__foot-action {
	flex-shrink: 0;
}
.cpd-account__foot-action .cpd-matrix__cta {
	width: auto;
	max-width: none;
	min-width: 190px;
}

/* Guest Login / Register / Lost Password (2-column matching Checkout) */
.cpd-account-guest__col-left {
	padding-bottom: 56px;
}
.cpd-account-guest__col-right {
	padding-bottom: 56px;
}
.cpd-account__status-val {
	font-size: 15px;
	color: var(--color-ink);
}

/* Shared Underline Form Styling (Guest + Edit Account + Edit Billing Address) */
.woocommerce form.cpd-account-form,
.woocommerce form.login.cpd-account-form,
.woocommerce form.register.cpd-account-form {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}
.woocommerce .cpd-account-form .woocommerce-form-login__submit,
.woocommerce .cpd-account-form .woocommerce-form-register__submit {
	float: none !important;
	margin: 0 !important;
}
.woocommerce form.cpd-account-form .form-row {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	float: none !important;
	clear: none !important;
}
.woocommerce form.cpd-account-form .form-row label {
	display: block;
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--cpd-matrix-muted);
	margin-bottom: 4px;
	line-height: 1.3;
}
.woocommerce form.cpd-account-form .form-row label .optional {
	text-transform: none;
	letter-spacing: 0.02em;
	opacity: 0.7;
}
.woocommerce form.cpd-account-form .form-row .required {
	color: var(--color-ink);
	text-decoration: none;
	border: 0;
}
.woocommerce form.cpd-account-form .form-row input.input-text,
.woocommerce form.cpd-account-form .form-row select,
.woocommerce form.cpd-account-form .form-row textarea {
	width: 100%;
	box-sizing: border-box;
	background: transparent;
	border: 0;
	border-bottom: 1px dashed var(--cpd-matrix-rule);
	border-radius: 0;
	padding: 8px 2px;
	font-family: var(--font-mono);
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--color-ink);
	outline: none;
	box-shadow: none;
	transition: border-color 0.14s ease;
}
.woocommerce form.cpd-account-form .form-row select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 24px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%231c1d1a' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	background-size: 11px 7px;
}
html.theme-dark .woocommerce form.cpd-account-form .form-row select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23f5f5f5' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.woocommerce form.cpd-account-form .form-row select option {
	background-color: var(--color-cream);
	color: var(--color-ink);
}
.woocommerce form.cpd-account-form .form-row input.input-text::placeholder,
.woocommerce form.cpd-account-form .form-row textarea::placeholder {
	color: var(--cpd-matrix-muted);
	opacity: 0.65;
}
.woocommerce form.cpd-account-form .form-row input.input-text:focus,
.woocommerce form.cpd-account-form .form-row select:focus,
.woocommerce form.cpd-account-form .form-row textarea:focus {
	border-bottom-style: solid;
	border-bottom-color: var(--color-ink);
}
.woocommerce form.cpd-account-form .password-input {
	display: block;
	position: relative;
}
.woocommerce form.cpd-account-form .password-input input.input-text {
	padding-right: 32px;
}
.woocommerce form.cpd-account-form .show-password-input {
	top: 50% !important;
	right: 2px !important;
	transform: translateY(-50%);
	color: var(--cpd-matrix-muted);
}
.woocommerce form.cpd-account-form .show-password-input:hover {
	color: var(--color-ink);
}

/* Billing address fields auto-grid (2 columns; wide fields span full width) */
.cpd-account__fields-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 24px;
}
.cpd-account__fields-grid .form-row-wide,
.cpd-account__fields-grid #billing_company_field,
.cpd-account__fields-grid #billing_address_1_field,
.cpd-account__fields-grid #billing_email_field {
	grid-column: 1 / -1;
}

.cpd-account-form__extras {
	margin-top: 18px;
}
.cpd-account-form__check {
	font-size: 12.5px;
}
.cpd-account-form__note {
	font-size: 12px;
	line-height: 1.65;
	color: var(--cpd-matrix-muted);
	margin: 0 0 18px;
}
.cpd-account-form__hint {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	color: var(--cpd-matrix-muted);
}
.cpd-account-form__privacy {
	margin-top: 14px;
	font-size: 11.5px;
	line-height: 1.6;
	color: var(--cpd-matrix-muted);
}
.cpd-account-form__privacy p {
	margin: 0;
}
.cpd-account-form__privacy a {
	color: var(--color-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cpd-account-form__actions {
	margin-top: 24px;
}

/* Hide duplicate inline submit inside logged-in forms (sticky bar handles Save changes →) */
.cpd-account [data-cpd-account-form] .cpd-account-form__actions {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Password Strength Meter (Light + Dark Monospace) */
.woocommerce-account .woocommerce-password-strength {
	margin-top: 8px;
	padding: 6px 10px;
	font-family: var(--font-mono);
	font-size: 11px;
	border: 1px dashed var(--cpd-matrix-rule);
	background: transparent !important;
	color: var(--color-ink);
}
.woocommerce-account .woocommerce-password-strength.short,
.woocommerce-account .woocommerce-password-strength.bad {
	border-color: #c62828;
	color: #c62828;
}
html.theme-dark .woocommerce-account .woocommerce-password-strength.short,
html.theme-dark .woocommerce-account .woocommerce-password-strength.bad {
	border-color: #ff8a80;
	color: #ff8a80;
}
.woocommerce-account .woocommerce-password-hint {
	display: block;
	margin-top: 6px;
	font-family: var(--font-mono);
	font-size: 11px;
	line-height: 1.5;
	color: var(--cpd-matrix-muted);
}

/* WooCommerce Notices inside My Account (1px dashed monospace matching Checkout) */
.woocommerce-account .cpd-account__main > .woocommerce-notices-wrapper:not(:empty) {
	padding: 20px 0 0 32px;
}
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
	background: transparent !important;
	border: 1px dashed var(--cpd-matrix-rule) !important;
	border-radius: 0 !important;
	color: var(--color-ink) !important;
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 1.6;
	padding: 14px 18px !important;
	margin: 0 0 20px !important;
	list-style: none;
}
.woocommerce-account .woocommerce-error {
	border-color: #c62828 !important;
	color: #c62828 !important;
}
html.theme-dark .woocommerce-account .woocommerce-error {
	border-color: #ff8a80 !important;
	color: #ff8a80 !important;
}
.woocommerce-account .woocommerce-error::before,
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before {
	display: none !important;
}
.woocommerce-account .woocommerce-message a,
.woocommerce-account .woocommerce-info a,
.woocommerce-account .woocommerce-error a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Responsive: Tablet (<= 960px) */
@media (max-width: 960px) {
	.cpd-matrix.cpd-account {
		grid-template-columns: 204px minmax(0, 1fr);
	}
	.cpd-account__head-main,
	.cpd-account__panel,
	.cpd-account__empty,
	.cpd-account__foot-main,
	.cpd-account__pagination,
	.woocommerce-account .cpd-account__main > .woocommerce-notices-wrapper:not(:empty) {
		padding-left: 20px;
	}
	.cpd-account__subcell--main {
		padding-left: 20px;
		padding-right: 16px;
	}
	.cpd-account__subrow {
		grid-template-columns: minmax(0, 1fr) 150px 190px;
	}
	.cpd-account__view-order {
		grid-template-columns: 1fr;
	}
	.cpd-account__vo-left {
		border-right: 0;
		border-bottom: 1px dashed var(--cpd-matrix-rule);
		padding: 20px 0 24px 20px;
	}
	.cpd-account__vo-right {
		padding: 20px 0 24px 20px;
	}
}

/* Responsive: Mobile (<= 760px) */
@media (max-width: 760px) {
	.cpd-matrix.cpd-account {
		display: flex;
		flex-direction: column;
	}
	.cpd-account__col-nav {
		border-right: 0;
	}
	.cpd-account__head-main {
		display: none;
	}
	.cpd-account__sidebar {
		order: 1;
		padding: 18px 0;
		border-bottom: 1px dashed var(--cpd-matrix-rule);
	}
	.cpd-account__nav {
		position: static;
	}
	.cpd-account__nav-list {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 16px;
	}
	.cpd-account__nav-logout {
		margin-top: 16px;
		padding-top: 12px;
	}
	.cpd-account__main {
		order: 2;
		padding-bottom: 32px;
	}
	.cpd-account__panel,
	.cpd-account__empty,
	.cpd-account__pagination,
	.cpd-account__vo-left,
	.cpd-account__vo-right,
	.woocommerce-account .cpd-account__main > .woocommerce-notices-wrapper:not(:empty) {
		padding-left: 0;
		padding-right: 0;
	}
	.cpd-account__kv-grid,
	.cpd-account__fields-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.cpd-account__subrow--head {
		display: none;
	}
	.cpd-account__subrow {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 12px;
		padding: 18px 0;
		border-bottom: 1px dashed var(--cpd-matrix-rule);
	}
	.cpd-account__subcell {
		border: 0;
		padding: 0;
	}
	.cpd-account__subcell--main {
		grid-column: 1 / -1;
	}
	.cpd-account__subcell--mid {
		grid-column: 1;
		align-items: flex-start;
		text-align: left;
	}
	.cpd-account__subcell--end {
		grid-column: 2;
		justify-content: flex-end;
	}
	.cpd-account__foot-bar {
		order: 4;
	}
	.cpd-account__foot-nav {
		display: none;
	}
	.cpd-account__foot-main {
		padding: 4px 0 0;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.cpd-account__foot-action .cpd-matrix__cta {
		width: 100%;
		min-width: 0;
	}
	.cpd-account-guest__col-left,
	.cpd-account-guest__col-right {
		padding-bottom: 28px;
	}
	.cpd-account-guest__col-right {
		border-top: 1px dashed var(--cpd-matrix-rule);
	}
}

/* ==========================================================================
   FAQ Page — Minimalist 2-Column Matrix (Matching Cart & Licenses Style)
   ========================================================================== */
.cpd-faq-page.container.cpd-single-matrix {
	margin-top: 0;
}

.cpd-matrix.cpd-faqm,
.cpd-faqm .cpd-cart__row,
.cpd-faqm .cpd-cart__filler {
	grid-template-columns: minmax(0, 1fr) 280px;
}

.cpd-faqm .cpd-cart__row[hidden] {
	display: none !important;
}

.cpd-faqm__col-topic {
	border-right: 0 !important;
}

.cpd-faqm__page-heading {
	margin: 0;
}

.cpd-faqm__topic-options {
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 10px 22px;
	overflow-x: visible;
}

.cpd-faqm__row {
	scroll-margin-top: calc(var(--navbar-h) + 16px);
}

.cpd-faqm .cpd-faqm__cell--q {
	justify-content: flex-start;
	padding: 0;
}

.cpd-faqm__head {
	margin: 0;
	width: 100%;
}

.cpd-faqm__trigger {
	width: 100%;
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 8px 16px;
	padding: 22px 32px 22px 0;
	background: none;
	border: 0;
	text-align: left;
	font-family: var(--font-mono);
	color: var(--color-ink);
	cursor: pointer;
}

.cpd-faqm__trigger:focus-visible {
	outline: 1px dashed var(--color-ink);
	outline-offset: -2px;
}

.cpd-faqm__num {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.08em;
	color: var(--cpd-matrix-muted);
}

.cpd-faqm__q {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--color-ink);
}

.cpd-faqm__toggle-label {
	font-size: 11px;
	font-weight: 400;
	color: var(--cpd-matrix-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.cpd-faqm__trigger:hover .cpd-faqm__toggle-label,
.cpd-faqm__trigger[aria-expanded="true"] .cpd-faqm__toggle-label {
	color: var(--color-ink);
}

.cpd-faqm__answer {
	border-top: 1px dashed var(--cpd-matrix-rule);
	padding: 16px 32px 22px 44px;
}

.cpd-faqm__answer[hidden] {
	display: none;
}

.cpd-faqm__answer p {
	margin: 0 0 10px;
	font-size: 12px;
	line-height: 1.75;
	color: var(--cpd-matrix-muted);
}

.cpd-faqm__answer p:last-child {
	margin-bottom: 0;
}

.cpd-faqm__answer strong {
	color: var(--color-ink);
	font-weight: 600;
}

.cpd-faqm__answer em {
	font-style: italic;
}

.cpd-faqm__answer ul {
	list-style: none;
	margin: 8px 0 12px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cpd-faqm__answer li {
	position: relative;
	padding-left: 14px;
	font-size: 12px;
	line-height: 1.7;
	color: var(--cpd-matrix-muted);
}

.cpd-faqm__answer li::before {
	content: "·";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--color-ink);
	font-weight: 700;
}

.cpd-faqm__answer a,
.cpd-faqm__inline-link {
	color: var(--color-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cpd-faqm__answer a:hover,
.cpd-faqm__inline-link:hover {
	opacity: 0.72;
}

.cpd-faqm__cell--topic {
	justify-content: flex-start;
	padding-top: 22px;
	padding-bottom: 22px;
}

@media (max-width: 960px) {
	.cpd-matrix.cpd-faqm,
	.cpd-faqm .cpd-cart__row,
	.cpd-faqm .cpd-cart__filler {
		grid-template-columns: minmax(0, 1fr) 224px;
	}
}

@media (max-width: 760px) {
	.cpd-matrix.cpd-faqm {
		display: flex;
		flex-direction: column;
	}
	.cpd-faqm .cpd-cart__row {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}
	.cpd-faqm .cpd-cart__filler {
		display: block;
	}
	.cpd-faqm__filter-cell {
		padding: 0 0 8px;
	}
	.cpd-faqm__topic-options {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px 14px;
	}
	.cpd-faqm__trigger {
		grid-template-columns: 24px minmax(0, 1fr);
		gap: 6px 10px;
		padding: 0;
	}
	.cpd-faqm__toggle-label {
		grid-column: 2;
		justify-self: start;
		margin-top: 2px;
	}
	.cpd-faqm__answer {
		padding: 14px 0 4px 0;
		margin-top: 12px;
	}
	.cpd-faqm__cell--topic {
		align-items: baseline;
		text-align: left;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 10px;
		padding-top: 4px;
		padding-bottom: 0;
	}
	.cpd-faqm .cpd-lic__notes {
		padding-bottom: 24px;
	}
}

/* ==========================================================================
   About Page — Minimalist 2-Column Matrix (Matching Licenses & FAQ Style)
   ========================================================================== */
.cpd-about-page.container.cpd-single-matrix {
	margin-top: 0;
}

.cpd-matrix.cpd-aboutm,
.cpd-aboutm .cpd-cart__row,
.cpd-aboutm .cpd-cart__filler {
	grid-template-columns: minmax(0, 1fr) 280px;
}

.cpd-aboutm__col-meta {
	border-right: 0 !important;
}

.cpd-aboutm__page-heading {
	margin: 0;
}

.cpd-aboutm__head-sub {
	font-size: 11.5px;
	color: var(--cpd-matrix-muted);
	white-space: nowrap;
}

.cpd-aboutm__row {
	scroll-margin-top: calc(var(--navbar-h) + 16px);
}

.cpd-aboutm .cpd-aboutm__cell--body {
	justify-content: flex-start;
	padding: 28px 32px 28px 0;
}

.cpd-aboutm__statement {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	align-items: baseline;
	gap: 8px 16px;
}

.cpd-aboutm__num {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.08em;
	color: var(--cpd-matrix-muted);
}

.cpd-aboutm__text {
	margin: 0;
	max-width: 62ch;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.8;
	color: var(--color-ink);
}

.cpd-aboutm__row--lead .cpd-aboutm__text {
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.75;
}

.cpd-aboutm__cell--meta {
	justify-content: center;
	padding-top: 28px;
	padding-bottom: 28px;
}

@media (max-width: 960px) {
	.cpd-matrix.cpd-aboutm,
	.cpd-aboutm .cpd-cart__row,
	.cpd-aboutm .cpd-cart__filler {
		grid-template-columns: minmax(0, 1fr) 224px;
	}
}

@media (max-width: 760px) {
	.cpd-matrix.cpd-aboutm {
		display: flex;
		flex-direction: column;
	}
	.cpd-aboutm .cpd-cart__row {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.cpd-aboutm .cpd-cart__filler {
		display: block;
	}
	.cpd-aboutm__head-sub {
		white-space: normal;
		text-align: right;
	}
	.cpd-aboutm .cpd-aboutm__cell--body {
		padding: 0;
	}
	.cpd-aboutm__statement {
		grid-template-columns: 24px minmax(0, 1fr);
		gap: 6px 10px;
	}
	.cpd-aboutm__row--lead .cpd-aboutm__text {
		font-size: 14.5px;
	}
	.cpd-aboutm__text {
		font-size: 13.5px;
	}
	.cpd-aboutm__cell--meta {
		align-items: baseline;
		text-align: left;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 10px;
		padding-top: 4px;
		padding-bottom: 0;
		padding-left: 34px;
	}
	.cpd-aboutm .cpd-lic__notes {
		padding-bottom: 24px;
	}
}

/* ==========================================================================
   Global Site Footer (Unified with Go Frontend)
   ========================================================================== */
:root {
	--cpd-footer-h: 64px;
}

.site-footer {
	font-family: var(--font-mono);
	font-size: 12.5px;
	line-height: 1.5;
	color: rgba(28, 29, 26, 0.62);
	padding: 0 32px;
	box-sizing: border-box;
	background: var(--color-cream);
}

html.theme-dark .site-footer {
	color: rgba(245, 245, 245, 0.65);
}

.site-footer__inner {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 22px 0;
	border-top: 1px dashed rgba(28, 29, 26, 0.35);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	flex-wrap: wrap;
}

html.theme-dark .site-footer__inner {
	border-top-color: rgba(245, 245, 245, 0.32);
}

@supports (color: color-mix(in srgb, red 50%, transparent)) {
	.site-footer,
	html.theme-dark .site-footer {
		color: color-mix(in srgb, var(--color-ink) 64%, transparent);
	}
	.site-footer__inner,
	html.theme-dark .site-footer__inner {
		border-top-color: color-mix(in srgb, var(--color-ink) 38%, transparent);
	}
}

.site-footer__nav {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.site-footer__nav a {
	color: var(--color-ink);
	opacity: 0.78;
	text-decoration: none;
	transition: opacity 0.14s ease;
}

.site-footer__nav a:hover {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer__copy {
	margin: 0;
}

@media (max-width: 760px) {
	:root {
		--cpd-footer-h: 88px;
	}
	.site-footer__inner {
		padding: 18px 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

@media (max-width: 640px) {
	.site-footer {
		padding: 0 1rem;
	}
}
