/* =========================================================================
   NEEDLIC BRAND TOKENS - the single place to change the site's colors.
   Every Needlic stylesheet (homepage, product page, cards, menu) reads
   these variables. Change a value here and the whole store follows.
   ========================================================================= */
:root {
	/* Neutrals */
	--nd-ink: #0b1220;          /* headings, prices, primary text */
	--nd-text: #344054;         /* body text */
	--nd-muted: #667085;        /* secondary text */
	--nd-line: #e4e7ec;         /* borders */
	--nd-soft: #f7f8fb;         /* soft section background */

	/* Primary: royal blue (buttons, links, focus) */
	--nd-primary-50: #eef2ff;
	--nd-primary-100: #e0e7ff;
	--nd-primary-200: #c7d2fe;
	--nd-primary-300: #a3b4fd;
	--nd-primary-400: #4a6cf7;
	--nd-primary: #2b50e8;
	--nd-primary-600: #2240c9;
	--nd-primary-700: #1b33a6;
	--nd-primary-800: #172a7c;
	--nd-primary-rgb: 43, 80, 232;
	--nd-grad: linear-gradient(180deg, #4a6cf7 0%, #2b50e8 48%, #2240c9 100%);

	/* Midnight (hero, footer, feature cards) */
	--nd-night: #090f24;
	--nd-night-2: #131c44;
	--nd-sky: #a9bcff;          /* light accent text on dark */

	/* Champagne gold: small premium accents only */
	--nd-gold: #c9a04e;
	--nd-gold-soft: #f7efdd;
	--nd-gold-light: #e8cd8d;   /* gold on dark backgrounds */

	/* Status */
	--nd-success: #12b76a;
	--nd-danger: #d92d20;
	--nd-tp: #00b67a;           /* Trustpilot green (reviews only) */
}

/* ---------- Align Flatsome's theme colors with the tokens ---------- */
html:root {
	--primary-color: var(--nd-primary);
	--fs-color-primary: var(--nd-primary);
	--fs-color-secondary: var(--nd-primary-700);
	--fs-color-success: var(--nd-success);
	--fs-color-alert: var(--nd-danger);
	--fs-color-base: var(--nd-ink);
	--fs-experimental-link-color-hover: var(--nd-primary-600);
}

/* Headings: deep ink instead of medium blue */
html h1, html h2, html h3, html h4, html h5, html h6, html .heading-font { color: var(--nd-ink); }

/* Links in widgets */
html .widget:where(:not(.widget_shopping_cart)) a { color: var(--nd-primary); }
html .widget:where(:not(.widget_shopping_cart)) a:hover { color: var(--nd-primary-600); }

/* Checkout & cart buttons (were orange) */
html body .button#place_order,
html body .button.checkout,
html body .checkout-button,
html body .wc-proceed-to-checkout .checkout-button {
	background-color: var(--nd-primary) !important;
	background-image: var(--nd-grad) !important;
	border: 1px solid var(--nd-primary-700) !important;
	border-radius: 12px !important;
	color: #fff !important;
	text-transform: none !important;
	letter-spacing: .01em;
	font-weight: 700;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 22px -10px rgba(var(--nd-primary-rgb), .8);
	transition: filter .18s ease, transform .18s ease;
}
html body .button#place_order:hover,
html body .button.checkout:hover,
html body .checkout-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
html body .sticky-add-to-cart-select-options-button,
html body [data-icon-label]::after,
html body .current .breadcrumb-step { background-color: var(--nd-primary) !important; }

/* Prices, badges, stars */
html ins .woocommerce-Price-amount { color: var(--nd-primary-600); }
html .price del, html del .woocommerce-Price-amount { color: var(--nd-muted); }
html .badge-inner.on-sale { background-color: var(--nd-danger); }
html .badge-inner.new-bubble { background-color: var(--nd-primary); }
html .star-rating span::before, html .star-rating::before,
html .stars a:hover::after, html .stars a.active::after { color: var(--nd-gold); }

/* Form focus */
html input[type="text"]:focus, html input[type="email"]:focus, html input[type="search"]:focus,
html input[type="tel"]:focus, html input[type="password"]:focus, html textarea:focus, html select:focus {
	border-color: var(--nd-primary-300);
	box-shadow: 0 0 0 3px rgba(var(--nd-primary-rgb), .15);
}
