/* NCXO site styles. Colors: orange #FE5707, near-black #1D1D1B, cream #FDFBEF, white cards. */
:root {
	--ncxo-orange: #FE5707;
	--ncxo-ink: #1D1D1B;
	--ncxo-cream: #FDFBEF;
	--ncxo-line: #ECE7D3;
	--ncxo-muted: #4A4A45;
}

body { background: var(--ncxo-cream); }

/* Header and footer */
.ncxo-header { background: #fff; border-bottom: 1px solid var(--ncxo-line); }
.ncxo-header .wp-block-site-logo img { height: 48px; width: auto; }
.ncxo-header .wp-block-navigation { font-family: var(--wp--preset--font-family--montserrat); font-weight: 700; font-size: 15px; }
.ncxo-header .wp-block-navigation a { text-decoration: none; padding: 10px 0; display: inline-block; }
.ncxo-header .wp-block-navigation a:hover { color: #B83D00; }
.ncxo-header .wp-block-navigation .current-menu-item > a { box-shadow: inset 0 -3px 0 var(--ncxo-orange); }
.ncxo-footer { background: #fff; border-top: 1px solid var(--ncxo-line); font-size: 15px; color: var(--ncxo-muted); }
.ncxo-footer a { color: var(--ncxo-ink); }
.ncxo-footer .ncxo-footer-icon img { width: 28px; height: 28px; display: block; }

/* Buttons */
.ncxo-btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 8px; background: var(--ncxo-orange); color: var(--ncxo-ink); font-family: var(--wp--preset--font-family--montserrat); font-weight: 800; font-size: 17px; text-decoration: none; border: 2px solid var(--ncxo-orange); cursor: pointer; }
.ncxo-btn:hover, .ncxo-btn:focus-visible { background: var(--ncxo-ink); border-color: var(--ncxo-ink); color: var(--ncxo-cream); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; border: 2px solid var(--ncxo-ink); color: var(--ncxo-ink); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ncxo-ink); color: var(--ncxo-cream); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ncxo-orange); outline-offset: 2px; }

/* Home */
.ncxo-eyebrow { font-family: var(--wp--preset--font-family--montserrat); font-weight: 700; font-size: 14px !important; letter-spacing: .12em; text-transform: uppercase; }
.ncxo-eyebrow::before { content: ""; display: inline-block; width: 28px; height: 4px; background: var(--ncxo-orange); vertical-align: middle; margin-right: 10px; }
.ncxo-hero h1 { font-size: clamp(2.25rem, 6vw, 4.25rem) !important; line-height: 1.05; letter-spacing: -0.02em; }
.ncxo-hero .ncxo-lede { font-size: 1.25rem; }
.ncxo-soon { font-size: 15px; font-weight: 600; color: var(--ncxo-muted); }
.ncxo-card { background: #fff; border: 1px solid var(--ncxo-line); border-radius: 12px; padding: 28px !important; height: 100%; }
.ncxo-card h3 { font-size: 1.375rem; margin: 0; }
.ncxo-card p { margin: 0; }
.ncxo-icon svg { width: 36px; height: 36px; display: block; }
.ncxo-dark { background: var(--ncxo-ink); color: var(--ncxo-cream); }
.ncxo-dark h2, .ncxo-dark h3 { color: var(--ncxo-cream); }
.ncxo-num { font-family: var(--wp--preset--font-family--montserrat); font-weight: 800; font-size: 40px !important; line-height: 1; color: var(--ncxo-orange); margin: 0 !important; }
.ncxo-dark h3 { font-size: 1.2rem; margin: 6px 0 4px; }

/* Featured products (shows only when real listings are published) */
.ncxo-featured { max-width: 1120px; margin: 0 auto; padding: 0 24px 64px; }
.ncxo-featured h2 { font-size: 1.625rem; margin: 0 0 20px; }
.ncxo-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.ncxo-product { background: #fff; border: 1px solid var(--ncxo-line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ncxo-product__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #F4F0DD; }
.ncxo-product__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ncxo-product__title { font-size: 1.125rem; margin: 0; }
.ncxo-product__price { margin: 0; font-weight: 600; }
.ncxo-product .ncxo-btn { margin-top: auto; }

/* Contact form */
.ncxo-form { background: #fff; border: 1px solid var(--ncxo-line); border-radius: 12px; padding: 24px; max-width: 640px; }
.ncxo-form p { margin: 0 0 14px; }
.ncxo-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.ncxo-form input[type=text], .ncxo-form input[type=email], .ncxo-form textarea { width: 100%; box-sizing: border-box; min-height: 44px; border: 1px solid #8A857A; border-radius: 6px; padding: 10px 12px; font: inherit; background: #fff; color: var(--ncxo-ink); }
.ncxo-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ncxo-notice { padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.ncxo-notice--ok { background: #E7F4E4; color: #1F4D1A; }
.ncxo-notice--err { background: #FCE8E0; color: #7A2400; }

/* Policies anchors land below the header */
:target { scroll-margin-top: 24px; }

/* Phone */
@media (max-width: 781px) {
	body { font-size: 17px; }
	.ncxo-header .wp-block-site-logo img { height: 40px; }
	.ncxo-btn, .wp-block-button__link { width: 100%; }
	.wp-block-buttons { width: 100%; }
	.wp-block-button { width: 100%; }
}

/* Spacing for header, footer and home sections */
.ncxo-header { padding: 14px 24px !important; }
.ncxo-header-row { gap: 12px 32px; }
.ncxo-footer { padding: 28px 24px !important; margin-top: 0 !important; }
.ncxo-footer-row { gap: 12px 24px; }
.ncxo-footer-brand { display: flex; align-items: center; gap: 10px; }
.ncxo-footer-brand img { width: 28px; height: 28px; }
.ncxo-footer-links { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ncxo-hero { padding: 72px 24px 48px !important; }
.ncxo-hero > * + * { margin-top: 20px !important; }
.ncxo-soon { margin-top: 10px !important; }
.ncxo-section { padding: 16px 24px 64px !important; }
.ncxo-section h2 { font-size: 1.625rem; margin-bottom: 20px; }
.ncxo-section .wp-block-columns { gap: 20px; }
.ncxo-card { gap: 10px; }
.ncxo-dark { padding: 56px 24px !important; margin-top: 0 !important; }
.ncxo-dark h2 { font-size: 1.625rem; margin-bottom: 24px; }
.ncxo-dark .wp-block-columns { gap: 24px; }
.ncxo-cta { padding-top: 56px !important; }
.ncxo-cta p { margin-top: 6px; }
.ncxo-updated { font-size: 15px; color: var(--ncxo-muted); }
.wp-block-post-content > h2.wp-block-heading { margin-top: 2em; }
.wp-block-post-content > h2.wp-block-heading:first-child { margin-top: 0; }
main.wp-block-group { margin-top: 0 !important; }

/* Hero text sits left inside the 1120px column */
.ncxo-hero > h1.wp-block-heading { max-width: 15ch !important; margin-left: max(0px, calc((100% - 1120px) / 2)) !important; margin-right: auto !important; }
.ncxo-hero > .ncxo-lede { max-width: 40rem !important; margin-left: max(0px, calc((100% - 1120px) / 2)) !important; margin-right: auto !important; }
