/*
Theme Name: B' Nicole
Theme URI: https://www.bnconsultingllc.com
Author: MJORA Creative
Author URI: https://www.mjoracreative.com
Description: Custom block theme for B' Nicole Consulting Services LLC. Every color, font, section and menu is editable in Appearance → Editor.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: bnicole
*/

/* ---------- base ---------- */
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* highlighter: select a word in any heading and use Highlight to get the lime marker */
:is(h1, h2, h3, .wp-block-heading) mark {
	background: linear-gradient(transparent 62%, rgba(142,220,102,.55) 62%, rgba(142,220,102,.55) 92%, transparent 92%) !important;
	color: inherit !important;
	padding: 0 .06em;
}
.has-onyx-background-color :is(h1, h2, h3) mark,
.has-graphite-background-color :is(h1, h2, h3) mark,
.has-moss-background-color :is(h1, h2, h3) mark,
.wp-block-cover :is(h1, h2, h3) mark { background: none !important; color: var(--wp--preset--color--leaf) !important; }

/* ---------- header (solid black bar) ---------- */
.bn-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .bn-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bn-header { top: 46px; } }
.bn-header .wp-block-site-logo img { height: auto; }
.bn-header .wp-block-navigation a:hover { color: var(--wp--preset--color--leaf) !important; }
.bn-header .wp-block-navigation .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--wp--preset--color--leaf); }
.bn-header .wp-block-navigation__responsive-container.is-menu-open { background: #000 !important; color: #fff !important; }
.bn-header .wc-block-mini-cart__button { color: #fff; }
.bn-util a { text-decoration: none; font-weight: 700; }

/* ---------- eyebrow paragraph style ---------- */
.is-style-bn-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; font-size: 12.5px !important; letter-spacing: .14em; text-transform: uppercase;
	color: var(--wp--preset--color--moss-light);
}
.is-style-bn-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--leaf); box-shadow: 0 0 0 4px rgba(142,220,102,.22); flex: none; }
:is(.has-onyx-background-color, .has-graphite-background-color, .has-moss-background-color, .wp-block-cover) .is-style-bn-eyebrow { color: var(--wp--preset--color--leaf); }

/* ---------- buttons ---------- */
.wp-block-button .wp-block-button__link { transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }
.is-style-bn-leaf .wp-block-button__link { background: var(--wp--preset--color--leaf) !important; color: var(--wp--preset--color--onyx) !important; box-shadow: 0 10px 26px -12px rgba(142,220,102,.9); }
.is-style-bn-leaf .wp-block-button__link:hover { background: #A7E989 !important; }
.is-style-bn-ghost .wp-block-button__link { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.45) !important; }
.is-style-bn-ghost .wp-block-button__link:hover { border-color: var(--wp--preset--color--leaf) !important; color: var(--wp--preset--color--leaf) !important; }
.is-style-outline .wp-block-button__link { border: 1.5px solid currentColor !important; background: transparent !important; color: var(--wp--preset--color--onyx) !important; }
.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--onyx) !important; color: var(--wp--preset--color--ivory) !important; }

/* ---------- service tile (cover) ---------- */
.wp-block-cover.is-style-bn-tile { border-radius: 20px; overflow: hidden; min-height: 420px !important; align-items: flex-end; padding: 24px !important; }
.wp-block-cover.is-style-bn-tile .wp-block-cover__image-background { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.wp-block-cover.is-style-bn-tile:hover .wp-block-cover__image-background { transform: scale(1.06); }
.wp-block-cover.is-style-bn-tile .wp-block-cover__background { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,0) 75%) !important; opacity: 1 !important; }
.wp-block-cover.is-style-bn-tile h3 { font-size: 25px; margin: .3em 0; color: #fff; }
.wp-block-cover.is-style-bn-tile p { color: #DADBD5; font-size: 14.5px; }
.wp-block-cover.is-style-bn-tile a { color: #fff; text-decoration: none; font-weight: 700; }
.wp-block-cover.is-style-bn-tile a::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* ---------- pathfinder card (group) — any link inside makes the whole card clickable ---------- */
.wp-block-group.is-style-bn-path { position: relative; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--wp--preset--color--line); padding: 22px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; transition: background .3s, color .3s, transform .3s, border-color .3s; }
.wp-block-group.is-style-bn-path::before { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%; border: 1px solid var(--wp--preset--color--line); transition: all .5s; }
.wp-block-group.is-style-bn-path:hover { background: var(--wp--preset--color--onyx); color: #fff; border-color: var(--wp--preset--color--onyx); transform: translateY(-4px); }
.wp-block-group.is-style-bn-path:hover::before { border-color: rgba(142,220,102,.5); transform: scale(1.4); }
.wp-block-group.is-style-bn-path a { color: inherit; text-decoration: none; font-weight: 700; }
.wp-block-group.is-style-bn-path a::after { content: ""; position: absolute; inset: 0; }
.wp-block-group.is-style-bn-path .bn-q { font-family: var(--wp--preset--font-family--display); font-size: 21px; line-height: 1.25; }

/* ---------- card (group) ---------- */
.wp-block-group.is-style-bn-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 20px; padding: 28px; }
.has-onyx-background-color .wp-block-group.is-style-bn-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }

/* ---------- numbered steps (columns) ---------- */
.wp-block-columns.is-style-bn-steps { counter-reset: bnstep; position: relative; }
.wp-block-columns.is-style-bn-steps > .wp-block-column { counter-increment: bnstep; position: relative; }
.wp-block-columns.is-style-bn-steps > .wp-block-column::before { content: counter(bnstep); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--wp--preset--color--leaf); color: var(--wp--preset--color--leaf); font: 500 24px var(--wp--preset--font-family--display); margin-bottom: 22px; background: var(--wp--preset--color--graphite); }
.wp-block-columns.is-style-bn-steps > .wp-block-column p { opacity: .75; }

/* ---------- media & text founder block ---------- */
.wp-block-media-text.is-style-bn-founder .wp-block-media-text__media img { border-radius: 24px; aspect-ratio: 4/4.4; object-fit: cover; }

/* ---------- CTA band (group) ---------- */
.wp-block-group.is-style-bn-cta { position: relative; overflow: hidden; border-radius: 24px; }
.wp-block-group.is-style-bn-cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; border: 1px solid rgba(142,220,102,.35); pointer-events: none; }
.wp-block-group.is-style-bn-cta::after { content: ""; position: absolute; width: 260px; height: 260px; right: -40px; top: -80px; border-radius: 50%; background: rgba(142,220,102,.12); pointer-events: none; }

/* ---------- capability statement (table) ---------- */
.wp-block-table.is-style-bn-capability { border-radius: 20px; overflow: hidden; border: 1px solid var(--wp--preset--color--line); background: #fff; }
.wp-block-table.is-style-bn-capability table { border-collapse: collapse; width: 100%; }
.wp-block-table.is-style-bn-capability td { border: 0; border-top: 1px solid var(--wp--preset--color--line); padding: 14px 24px; font-size: 15px; }
.wp-block-table.is-style-bn-capability tr:first-child td { border-top: 0; }
.wp-block-table.is-style-bn-capability td:first-child { width: 34%; font-weight: 800; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--muted); }

/* ---------- FAQ (details) ---------- */
.wp-block-details { border-bottom: 1px solid var(--wp--preset--color--line); padding: 20px 0; }
.wp-block-details summary { cursor: pointer; font-family: var(--wp--preset--font-family--display); font-size: 21px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; color: var(--wp--preset--color--moss); font: 300 26px/1 var(--wp--preset--font-family--body); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }

/* ---------- quote band (cover) ---------- */
.wp-block-cover.is-style-bn-band blockquote, .wp-block-cover.is-style-bn-band .wp-block-quote { border: 0; padding: 0; font-family: var(--wp--preset--font-family--display); font-size: clamp(26px, 3.2vw, 42px); line-height: 1.25; }
.wp-block-cover.is-style-bn-band cite { font-family: var(--wp--preset--font-family--body); font-style: normal; font-weight: 700; color: var(--wp--preset--color--leaf); font-size: 15px; }

/* ---------- WooCommerce touches ---------- */
.wc-block-components-button:not(.is-link), .wp-element-button.wc-block-components-button { border-radius: 999px !important; }
.wc-block-grid__product, .wc-block-product { border-radius: 18px; }
.woocommerce-store-notice { background: var(--wp--preset--color--moss) !important; }

/* ---------- footer ---------- */
.bn-footer a { color: #A9AAA4; text-decoration: none; }
.bn-footer a:hover { color: var(--wp--preset--color--leaf); }
.bn-footer .wp-block-navigation a { color: #A9AAA4; }

/* ---------- motion: enhancement only, content never hidden by default ---------- */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- product grid: same-shape cards ---------- */
.woocommerce ul.products li.product a img, .wc-block-components-product-image img { aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--wp--preset--font-family--display); font-size: 1.25rem; }
.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button { border-radius: 999px; background: var(--wp--preset--color--onyx); color: #fff; }
.woocommerce ul.products li.product .button:hover, .woocommerce div.product form.cart .button:hover { background: var(--wp--preset--color--moss); color: #fff; }
.woocommerce div.product div.images img { border-radius: 20px; }
.woocommerce span.onsale { background: var(--wp--preset--color--leaf); color: var(--wp--preset--color--onyx); }

/* ---------- booking (Amelia) in her brand ---------- */
.am-fs__wrapper {
	--am-c-primary: #2E4A2F !important; --am-c-btn-prim: #0B0B0C !important; --am-c-btn-prim-text: #FFFFFF !important;
	--am-c-btn-sec: #2E4A2F !important; --am-c-sb-bgr: #0B0B0C !important; --am-c-sb-text: #F7F6F2 !important;
	--am-c-main-heading-text: #191A1B !important; --am-c-main-text: #191A1B !important; --am-c-success: #3D6340 !important;
	--am-font-family: Manrope, system-ui, sans-serif !important; --am-mw-main: 820px !important;
}

/* ---------- contact form (WPForms) ---------- */
.wpforms-container .wpforms-form input[type=text], .wpforms-container .wpforms-form input[type=email], .wpforms-container .wpforms-form textarea { border-radius: 10px !important; border: 1px solid #D6D4CB !important; padding: 12px 14px !important; font-family: inherit !important; max-width: 100% !important; }
.wpforms-container .wpforms-form button[type=submit] { background: var(--wp--preset--color--onyx) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 14px 26px !important; font-weight: 700 !important; font-family: inherit !important; }
.wpforms-container .wpforms-form button[type=submit]:hover { background: var(--wp--preset--color--moss) !important; }
.am-fs__wrapper, .am-fs__wrapper * {
	--am-c-primary: #2E4A2F !important; --am-c-btn-prim: #0B0B0C !important; --am-c-btn-first: #0B0B0C !important;
	--am-c-btn-first-op80: rgba(11,11,12,.8) !important; --am-c-btn-first-op30: rgba(11,11,12,.3) !important; --am-c-btn-first-op20: rgba(11,11,12,.1) !important;
	--am-c-scroll-op30: rgba(46,74,47,.3) !important; --am-c-scroll-op10: rgba(46,74,47,.1) !important;
	--am-c-cal-low: #2E4A2F !important; --am-c-cal-high: #2E4A2F !important; --am-c-cal-init: #2E4A2F !important;
	--am-c-cal-low-text: #2E4A2F !important; --am-c-cal-high-text: #2E4A2F !important; --am-c-cal-init-text: #2E4A2F !important;
	--am-c-cal-low-op10: rgba(142,220,102,.18) !important; --am-c-cal-low-op20: rgba(142,220,102,.28) !important; --am-c-cal-low-op30: rgba(142,220,102,.38) !important; --am-c-cal-low-op60: rgba(46,74,47,.6) !important; --am-c-cal-low-op80: rgba(46,74,47,.8) !important;
	--am-c-cal-high-op10: rgba(142,220,102,.18) !important; --am-c-cal-high-op20: rgba(142,220,102,.28) !important; --am-c-cal-high-op30: rgba(142,220,102,.38) !important; --am-c-cal-high-op60: rgba(46,74,47,.6) !important; --am-c-cal-high-op80: rgba(46,74,47,.8) !important;
	--am-c-cal-init-op10: rgba(142,220,102,.18) !important; --am-c-cal-init-op20: rgba(142,220,102,.28) !important; --am-c-cal-init-op30: rgba(142,220,102,.38) !important; --am-c-cal-init-op60: rgba(46,74,47,.6) !important;
	--am-c-cal-selected: #2E4A2F !important; --am-c-cal-selected-op80: rgba(46,74,47,.8) !important;
}

/* ---------- header on small screens ---------- */
.bn-header .wp-block-woocommerce-customer-account a, .bn-header .wc-block-customer-account__account-icon { color: #fff !important; fill: #fff !important; }
.bn-header .wp-block-buttons .wp-block-button__link { white-space: nowrap; }
@media (max-width: 860px) {
	.bn-header .wp-block-buttons { display: none; }
	.bn-util .wp-block-group > p:first-child { display: none; }
	.bn-util .wp-block-group { justify-content: center !important; }
}
.wp-block-details summary, .wp-block-heading { overflow-wrap: anywhere; }
.bn-util a { color: #fff !important; }
html { overflow-x: clip; }

/* ---------- coming soon products ---------- */
.woocommerce ul.products li.product { position: relative; }
.bn-soon-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--wp--preset--color--leaf); color: var(--wp--preset--color--onyx); font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.bn-soon-price { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--wp--preset--color--moss); letter-spacing: .02em; }
.bn-soon-price::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--leaf); box-shadow: 0 0 0 4px rgba(142,220,102,.25); animation: bnSoonPulse 2s infinite; }
@keyframes bnSoonPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(142,220,102,.6); } 70% { box-shadow: 0 0 0 8px rgba(142,220,102,0); } }
.bn-soon-btn { display: inline-flex !important; align-items: center; gap: 8px; border-radius: 999px !important; border: 1.5px solid var(--wp--preset--color--onyx) !important; background: transparent !important; color: var(--wp--preset--color--onyx) !important; padding: 10px 20px !important; font-weight: 700; text-decoration: none !important; }
.bn-soon-btn:hover { background: var(--wp--preset--color--onyx) !important; color: #fff !important; }
.wc-block-grid__product[data-soon] { position: relative; }
.wc-block-grid__product[data-soon]::before { content: "Coming soon"; position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--wp--preset--color--leaf); color: var(--wp--preset--color--onyx); font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; }
.bn-soon-box { background: var(--wp--preset--color--onyx); color: #fff; border-radius: 20px; padding: 24px 26px; margin: 18px 0; }
.bn-soon-box__eyebrow { color: var(--wp--preset--color--leaf); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; }
.bn-soon-box__title { font-family: var(--wp--preset--font-family--display); font-size: 1.5rem; line-height: 1.2; margin: 0 0 14px; }
.bn-soon-box .wpforms-container { margin: 0 !important; }
.bn-soon-box .wpforms-field-label { color: #DADBD5 !important; }
.bn-soon-box .wpforms-form button[type=submit] { background: var(--wp--preset--color--leaf) !important; color: var(--wp--preset--color--onyx) !important; }
.bn-notify .wpforms-container .wpforms-field-label { color: #DADBD5 !important; }
.has-onyx-background-color .bn-notify .wpforms-form button[type=submit] { background: var(--wp--preset--color--leaf) !important; color: var(--wp--preset--color--onyx) !important; }
.woocommerce .woocommerce-breadcrumb { font-size: 13.5px; color: var(--wp--preset--color--muted); }
.woocommerce-products-header { display: none; }
.bn-shop-banner .wp-block-cover__background { background: linear-gradient(90deg, rgba(11,11,12,.88) 0%, rgba(11,11,12,.6) 38%, rgba(11,11,12,.08) 68%) !important; opacity: 1 !important; }
.bn-shop-banner .wp-block-cover__inner-container > * { max-width: 560px; }
@media (max-width: 782px) { .bn-shop-banner .wp-block-cover__background { background: linear-gradient(0deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.55) 60%, rgba(11,11,12,.25) 100%) !important; } }
.is-style-bn-eyebrow.has-text-align-center { display: flex; justify-content: center; }
