/*!
 * XC Foundation main stylesheet
 * Theme by XaniaCode — https://xaniacode.com/
 *
 * All visual tokens (colors, typography, spacing) are CSS custom properties
 * declared inline by inc/class-customizer-output.php so Customizer changes
 * propagate without rebuilding any file.
 */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--xcf-color-background, #fff);
	color: var(--xcf-color-text, #111);
	font-family: var(--xcf-font-body, system-ui, sans-serif);
	font-size: var(--xcf-font-size-base, 16px);
	line-height: var(--xcf-line-height, 1.6);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--xcf-color-link, #2563eb); text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus { color: var(--xcf-color-link-hover, #1d4ed8); }
:focus-visible { outline: 2px solid var(--xcf-color-primary); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 {
	color: var(--xcf-color-heading);
	font-family: var(--xcf-font-heading);
	font-weight: var(--xcf-heading-weight, 700);
	line-height: 1.2;
	margin: 1.4em 0 0.6em;
}
h1 { font-size: var(--xcf-h1); }
h2 { font-size: var(--xcf-h2); }
h3 { font-size: var(--xcf-h3); }
h4 { font-size: var(--xcf-h4); }
h5 { font-size: var(--xcf-h5); }
h6 { font-size: var(--xcf-h6); }

p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--xcf-color-border); margin: 2em 0; }

/* ---------- A11y helpers ---------- */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff; clip: auto; -webkit-clip-path: none; clip-path: none; color: #111;
	display: block; font-size: 0.875em; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px;
	text-decoration: none; top: 5px; width: auto; z-index: 100000;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 99999; }

/* ---------- Layout ---------- */
.xcf-container { width: 100%; max-width: var(--xcf-container, 1200px); margin: 0 auto; padding: 0 1.25rem; }
.site-content__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding: 2rem 0;
}
body.xcf-sidebar-right .site-content__inner { grid-template-columns: minmax(0, 1fr) 320px; }
body.xcf-sidebar-left  .site-content__inner { grid-template-columns: 320px minmax(0, 1fr); }
body.xcf-sidebar-left  .site-main { order: 2; }
body.xcf-sidebar-left  .widget-area { order: 1; }
body.xcf-sidebar-none  .site-content__inner { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) {
	.site-content__inner,
	body.xcf-sidebar-right .site-content__inner,
	body.xcf-sidebar-left  .site-content__inner { grid-template-columns: 1fr; }
	body.xcf-sidebar-left  .site-main { order: 0; }
	body.xcf-sidebar-left  .widget-area { order: 1; }
}

/* ---------- Header ---------- */
.xcf-topbar { background: var(--xcf-color-heading); color: #fff; font-size: 0.875em; }
.xcf-topbar a { color: #fff; }
.xcf-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; }

.site-header { background: var(--xcf-color-background); border-bottom: 1px solid var(--xcf-color-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }

body.xcf-header-centered .site-header__inner { flex-direction: column; text-align: center; }
body.xcf-header-split    .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
body.xcf-header-split    .site-branding { grid-column: 2; text-align: center; }

.site-title { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.site-title a { color: var(--xcf-color-heading); text-decoration: none; }
.site-description { margin: 0.15rem 0 0; color: var(--xcf-color-muted); font-size: 0.875em; }
.site-logo img { max-height: 80px; width: auto; }

/* Navigation */
.main-navigation { display: flex; align-items: center; gap: 1rem; }
.primary-menu, .site-footer__menu, .xcf-topbar__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.primary-menu a, .xcf-menu-link {
	color: var(--xcf-color-heading); text-decoration: none; padding: 0.5rem 0.25rem; display: inline-block;
	border-bottom: 2px solid transparent; transition: border-color 0.15s ease;
}
.primary-menu a:hover, .primary-menu .current-menu-item > a { border-bottom-color: var(--xcf-color-primary); color: var(--xcf-color-primary); }
.primary-menu .sub-menu { position: absolute; background: var(--xcf-color-background); border: 1px solid var(--xcf-color-border); padding: 0.5rem 0; min-width: 200px; display: none; z-index: 20; }
.primary-menu li { position: relative; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { display: block; padding: 0.5rem 1rem; }

.menu-toggle { display: none; background: transparent; border: 1px solid var(--xcf-color-border); border-radius: 6px; padding: 0.5rem; cursor: pointer; }
.menu-toggle__bar { display: block; width: 24px; height: 2px; background: var(--xcf-color-heading); margin: 4px 0; }
@media (max-width: 900px) {
	.menu-toggle { display: inline-flex; flex-direction: column; }
	.primary-menu { display: none; flex-direction: column; gap: 0; width: 100%; }
	.main-navigation.is-open .primary-menu { display: flex; }
	.primary-menu > li { width: 100%; border-bottom: 1px solid var(--xcf-color-border); }
	.primary-menu .sub-menu { position: static; border: 0; }
}

.site-actions { display: flex; align-items: center; gap: 0.75rem; }
.xcf-header-search summary { cursor: pointer; list-style: none; user-select: none; }
.xcf-header-search summary::-webkit-details-marker { display: none; }
.xcf-header-search[open] .search-form { position: absolute; right: 1.25rem; top: 100%; background: #fff; padding: 0.5rem; border: 1px solid var(--xcf-color-border); box-shadow: 0 4px 12px rgba(0,0,0,0.06); z-index: 30; display: flex; gap: 0.5rem; }
.xcf-cart-link { position: relative; display: inline-flex; align-items: center; gap: 0.25rem; text-decoration: none; }
.xcf-cart-link::before { content: "🛒"; }
.xcf-cart-count { background: var(--xcf-color-primary); color: #fff; border-radius: 999px; padding: 0.1em 0.5em; font-size: 0.75em; font-weight: 600; }

/* ---------- Posts / cards ---------- */
.xcf-posts.xcf-posts--grid { display: grid; grid-template-columns: repeat(var(--xcf-blog-cols, 2), minmax(0, 1fr)); gap: 1.5rem; }
.xcf-posts.xcf-posts--list { display: grid; gap: 1.5rem; }
@media (max-width: 720px) { .xcf-posts.xcf-posts--grid { grid-template-columns: 1fr; } }

.xcf-card { border: 1px solid var(--xcf-color-border); border-radius: 8px; overflow: hidden; background: var(--xcf-color-surface); display: flex; flex-direction: column; }
.xcf-card__media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.xcf-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.xcf-card .entry-title { margin: 0; font-size: var(--xcf-h4); }
.xcf-card .entry-title a { text-decoration: none; color: var(--xcf-color-heading); }
.xcf-card .entry-title a:hover { color: var(--xcf-color-primary); }
.xcf-card .entry-meta { color: var(--xcf-color-muted); font-size: 0.875em; display: flex; gap: 0.75rem; flex-wrap: wrap; }

.xcf-single { background: transparent; }
.xcf-single .entry-thumbnail img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 8px; }

/* Buttons */
.xcf-button, button.xcf-button, input[type="submit"].xcf-button {
	display: inline-block; background: var(--xcf-color-primary); color: #fff; border: 0; padding: 0.65em 1.25em;
	border-radius: 6px; text-decoration: none; cursor: pointer; font-weight: 600; transition: background 0.15s ease;
}
.xcf-button:hover, .xcf-button:focus { background: var(--xcf-color-primary-hover); color: #fff; }
.xcf-button--ghost { background: transparent; color: var(--xcf-color-primary); border: 1px solid var(--xcf-color-primary); }
.xcf-button--ghost:hover { background: var(--xcf-color-primary); color: #fff; }

/* Breadcrumbs */
.xcf-breadcrumbs { font-size: 0.875em; color: var(--xcf-color-muted); margin: 0 0 1.5rem; }
.xcf-breadcrumbs a { color: var(--xcf-color-muted); }
.xcf-breadcrumbs a:hover { color: var(--xcf-color-primary); }

/* Pagination */
.pagination, .navigation.pagination { margin: 2rem 0; }
.nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.nav-links .page-numbers { padding: 0.5em 0.85em; border: 1px solid var(--xcf-color-border); border-radius: 6px; text-decoration: none; color: var(--xcf-color-heading); }
.nav-links .page-numbers.current { background: var(--xcf-color-primary); color: #fff; border-color: var(--xcf-color-primary); }

/* Widgets / sidebar */
.widget-area { display: flex; flex-direction: column; gap: 1.5rem; }
.widget { background: var(--xcf-color-surface); border: 1px solid var(--xcf-color-border); border-radius: 8px; padding: 1.25rem; }
.widget-title { margin: 0 0 0.75rem; font-size: 1.125rem; }
.widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.widget a { text-decoration: none; }

/* Comments */
.comments-area { margin-top: 3rem; }
.comment-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.comment-body { background: var(--xcf-color-surface); border: 1px solid var(--xcf-color-border); border-radius: 8px; padding: 1.25rem; }
.comment-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; }
.comment-meta .avatar { border-radius: 999px; }

/* Author box */
.xcf-author-box { margin: 2rem 0; padding: 1.5rem; background: var(--xcf-color-surface); border: 1px solid var(--xcf-color-border); border-radius: 8px; display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: start; }
.xcf-author-box__avatar img { border-radius: 999px; }
.xcf-author-box__name { margin: 0 0 0.5rem; font-size: 1.125rem; }

/* Related */
.xcf-related { margin-top: 3rem; }
.xcf-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.xcf-related__card { background: var(--xcf-color-surface); border: 1px solid var(--xcf-color-border); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--xcf-color-heading); display: flex; flex-direction: column; }
.xcf-related__card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.xcf-related__name { display: block; padding: 0.75rem 1rem; font-weight: 600; }
@media (max-width: 720px) { .xcf-related__grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--xcf-color-heading); color: #cbd5e1; margin-top: 3rem; }
.site-footer a { color: #fff; }
.site-footer__widgets { padding: 2.5rem 0 1.5rem; }
.site-footer__widgets-grid { display: grid; grid-template-columns: repeat(var(--xcf-footer-cols, 3), minmax(0, 1fr)); gap: 1.5rem; }
.site-footer__col .widget { background: transparent; border: 0; padding: 0; }
.site-footer__col .widget-title { color: #fff; }
@media (max-width: 900px) { .site-footer__widgets-grid { grid-template-columns: 1fr; } }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Back to top */
.xcf-back-to-top {
	position: fixed; right: 1rem; bottom: 1rem; width: 44px; height: 44px; border: 0; border-radius: 999px;
	background: var(--xcf-color-primary); color: #fff; cursor: pointer; font-size: 1.25rem; line-height: 44px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15); opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.xcf-back-to-top.is-visible { opacity: 1; pointer-events: auto; }

/* Forms */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], textarea, select {
	width: 100%; max-width: 100%; padding: 0.6em 0.85em; border: 1px solid var(--xcf-color-border);
	border-radius: 6px; background: #fff; color: var(--xcf-color-text); font-family: inherit; font-size: 1em;
}
input:focus, textarea:focus, select:focus { border-color: var(--xcf-color-primary); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Print */
@media print {
	.site-header, .site-footer, .widget-area, .xcf-back-to-top, .main-navigation { display: none !important; }
}

/* ---------- XC Foundation patched integrations ---------- */
.xcf-topbar { background: var(--xcf-topbar-bg, var(--xcf-color-heading)); color: var(--xcf-topbar-text-color, var(--xcf-topbar-color, #fff)); }
.xcf-topbar a { color: currentColor; }
.xcf-topbar__menu { margin-left: auto; }
.xcf-contact-links, .xcf-social-links { display: inline-flex; align-items: center; gap: 0.625rem; flex-wrap: wrap; }
.xcf-contact-links a, .xcf-social-link { color: inherit; text-decoration: none; font-size: 0.9rem; }
.xcf-social-link { width: 2rem; height: 2rem; border: 1px solid currentColor; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; opacity: 0.85; }
.xcf-social-link:hover, .xcf-social-link:focus-visible { opacity: 1; background: var(--xcf-color-primary); color: #fff; border-color: var(--xcf-color-primary); }
.site-logo img, .custom-logo { max-height: var(--xcf-logo-max-height, 80px); width: auto; }
.site-header.is-sticky { position: sticky; top: 0; z-index: 100; transition: box-shadow 0.2s ease, background-color 0.2s ease; }
.site-header.is-scrolled, body.xcf-header-shadow-soft .site-header, body.xcf-header-shadow-medium .site-header { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08); }
body.xcf-header-shadow-none .site-header { box-shadow: none; border-bottom-color: transparent; }
body.xcf-has-transparent-header .site-header.is-transparent { position: absolute; left: 0; right: 0; top: 0; z-index: 100; background: transparent; border-bottom-color: transparent; }
.xcf-header-cta { display: inline-flex; align-items: center; justify-content: center; padding: 0.6em 1em; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.1; }
.xcf-header-cta--solid { background: var(--xcf-color-primary); color: #fff; }
.xcf-header-cta--outline { border: 1px solid var(--xcf-color-primary); color: var(--xcf-color-primary); }
.xcf-header-cta--link { color: var(--xcf-color-primary); padding-left: 0; padding-right: 0; }
.xcf-submenu-toggle { margin-left: 0.25rem; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0.25rem; }
.primary-menu li.is-open > .sub-menu { display: block; }

.xcf-page-title-bar { min-height: var(--xcf-pagetitle-height, 220px); background: var(--xcf-page-title-bg, var(--xcf-color-surface)); color: #fff; position: relative; display: flex; align-items: center; overflow: hidden; }
.xcf-page-title-bar::before { content: ""; position: absolute; inset: 0; background: var(--xcf-page-title-overlay, rgba(15,23,42,0.55)); z-index: 0; }
.xcf-page-title-bar__inner { position: relative; z-index: 1; }
.xcf-page-title-bar__title { color: #fff; margin: 0; }
.xcf-page-title-bar .xcf-breadcrumbs, .xcf-page-title-bar .xcf-breadcrumbs a { color: rgba(255,255,255,0.86); }
body.xcf-pagetitle-align-center .xcf-page-title-bar { text-align: center; }
body.xcf-pagetitle-align-center .xcf-page-title-bar .xcf-breadcrumbs { justify-content: center; }

.xcf-posts--masonry { columns: var(--xcf-blog-cols, 2) 18rem; column-gap: 1.5rem; display: block; }
.xcf-posts--masonry .xcf-card { break-inside: avoid; margin: 0 0 1.5rem; }
.xcf-card--elevated { box-shadow: 0 10px 28px rgba(15,23,42,0.08); border-color: transparent; }
.xcf-card--bordered { background: var(--xcf-color-background); border-width: 2px; }
.xcf-card--hover-lift { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.xcf-card--hover-lift:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,23,42,0.12); }
.xcf-card--hover-zoom .xcf-card__media { overflow: hidden; }
.xcf-card--hover-zoom .xcf-card__media img { transition: transform 0.25s ease; }
.xcf-card--hover-zoom:hover .xcf-card__media img { transform: scale(1.04); }
.xcf-card--hover-fade .xcf-card__media { position: relative; }
.xcf-card--hover-fade .xcf-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(15,23,42,0.18); opacity: 0; transition: opacity 0.2s ease; }
.xcf-card--hover-fade:hover .xcf-card__media::after { opacity: 1; }
.xcf-card__tags, .tag-links { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.xcf-card__tags a, .tag-links a { display: inline-flex; padding: 0.2em 0.55em; border-radius: 999px; background: var(--xcf-color-surface); border: 1px solid var(--xcf-color-border); font-size: 0.85em; text-decoration: none; }
.entry-meta__sep { color: var(--xcf-color-muted); opacity: 0.7; }

.xcf-toc { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--xcf-color-surface); border: 1px solid var(--xcf-color-border); border-radius: 8px; }
.xcf-toc__title { margin-top: 0; font-size: 1rem; }
.xcf-toc ol { margin: 0; padding-left: 1.25rem; }
.xcf-toc__item--h3 { margin-left: 1rem; font-size: 0.95em; }
.xcf-share-links { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.xcf-share-links__label { font-weight: 700; color: var(--xcf-color-heading); }
.xcf-share-link { display: inline-flex; padding: 0.35em 0.7em; border: 1px solid var(--xcf-color-border); border-radius: 999px; text-decoration: none; background: var(--xcf-color-surface); }
.xcf-post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.xcf-post-nav a { display: block; padding: 1rem; border: 1px solid var(--xcf-color-border); border-radius: 8px; text-decoration: none; background: var(--xcf-color-surface); }
.xcf-post-nav__next { text-align: right; }
.xcf-related__grid { grid-template-columns: repeat(var(--xcf-related-cols, 3), minmax(0, 1fr)); }
.xcf-author-box--inline { grid-template-columns: 64px 1fr; padding: 1rem; }
.xcf-error-page { max-width: 720px; margin: 0 auto; text-align: center; padding: 3rem 0; }
.xcf-error-page__search { margin-top: 1.5rem; }

.xcf-cart-drawer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.xcf-cart-drawer__backdrop { position: absolute; inset: 0; border: 0; background: rgba(15,23,42,0.48); opacity: 0; transition: opacity 0.2s ease; cursor: pointer; }
.xcf-cart-drawer__panel { position: absolute; top: 0; right: 0; width: min(420px, 92vw); height: 100%; background: var(--xcf-color-background); color: var(--xcf-color-text); box-shadow: -16px 0 40px rgba(15,23,42,0.18); transform: translateX(100%); transition: transform 0.22s ease; display: flex; flex-direction: column; }
.xcf-cart-drawer.is-open { pointer-events: auto; }
.xcf-cart-drawer.is-open .xcf-cart-drawer__backdrop { opacity: 1; }
.xcf-cart-drawer.is-open .xcf-cart-drawer__panel { transform: translateX(0); }
.xcf-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--xcf-color-border); }
.xcf-cart-drawer__header h2 { margin: 0; font-size: 1.125rem; }
.xcf-cart-drawer__close { border: 0; background: transparent; font-size: 1.75rem; line-height: 1; cursor: pointer; color: inherit; }
.xcf-cart-drawer__body { padding: 1rem 1.25rem; overflow: auto; flex: 1; }
body.xcf-cart-drawer-open { overflow: hidden; }

body.xcf-back-to-top-left .xcf-back-to-top { left: 1rem; right: auto; }
body.xcf-back-to-top-square .xcf-back-to-top { border-radius: 8px; }
body.xcf-back-to-top-pill .xcf-back-to-top { width: auto; padding: 0 1rem; border-radius: 999px; }

@media (max-width: 900px) {
	.main-navigation { flex-wrap: wrap; justify-content: flex-end; }
	.primary-menu { background: var(--xcf-color-background); border: 1px solid var(--xcf-color-border); border-radius: 8px; padding: 0.5rem; }
	.primary-menu .sub-menu { display: none; padding-left: 1rem; background: transparent; }
	.primary-menu li.is-open > .sub-menu { display: block; }
	.site-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
	body.xcf-mobile-menu-has-overlay.xcf-menu-open::before { content: ""; position: fixed; inset: 0; background: rgba(15,23,42,0.38); z-index: 80; }
	body.xcf-mobile-menu-has-overlay .site-header { position: relative; z-index: 90; }
	.xcf-contact-links--header, .xcf-social-links--header { display: none; }
	.xcf-post-nav { grid-template-columns: 1fr; }
	.xcf-post-nav__next { text-align: left; }
}


/* CommerceCore compatibility: visible storefront links even when no WP menu is assigned. */
.primary-menu--commercecore .cc-menu-item a,
.xcf-commercecore-action {
	white-space: nowrap;
}

.xcf-commercecore-actions {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.xcf-commercecore-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.35rem;
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--xcf-color-border);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	color: var(--xcf-color-text);
	background: var(--xcf-color-surface);
}

.xcf-commercecore-action:hover,
.xcf-commercecore-action:focus-visible {
	color: var(--xcf-color-primary-contrast, #fff);
	background: var(--xcf-color-primary);
	border-color: var(--xcf-color-primary);
}

.xcf-commercecore-action--account {
	color: var(--xcf-color-primary-contrast, #fff);
	background: var(--xcf-color-primary);
	border-color: var(--xcf-color-primary);
}

/* CommerceCore full-width storefront layout inside XC Foundation.
 * CommerceCore templates render their own main content and do not use the
 * theme sidebar. Force the outer theme grid to one column so Shop, Cart,
 * Checkout, and My Account are not squeezed into the left grid track. */
body.xcf-commercecore-page .site-content > .xcf-container {
	max-width: var(--cc-container, var(--xcf-container, 1280px));
}
body.xcf-commercecore-page .site-content__inner {
	grid-template-columns: minmax(0, 1fr) !important;
}
body.xcf-commercecore-page .site-main,
body.xcf-commercecore-page #cc-main,
body.xcf-commercecore-page .cc-shop,
body.xcf-commercecore-page .cc-cart-page,
body.xcf-commercecore-page .cc-checkout-page,
body.xcf-commercecore-page .cc-account-page {
	width: 100%;
	max-width: none;
	min-width: 0;
}
body.xcf-commercecore-page .widget-area {
	display: none;
}
