/* =========================================================================
   NEEDLIC BRAND TOKENS - the single place to change the site's colors.
   Every Needlic stylesheet (homepage, product page, cards, menu, checkout)
   reads these variables. Change a value here and the whole store follows.

   Palette: "Navy & champagne" - deep navy for trust, calm sapphire for
   actions, warm white surfaces for comfort, champagne gold as a small
   premium accent.
   ========================================================================= */
:root {
	/* Neutrals */
	--nd-ink: #0e1a33;          /* headings, prices, primary text */
	--nd-text: #334155;         /* body text */
	--nd-muted: #64748b;        /* secondary text */
	--nd-line: #e6e8ec;         /* borders */
	--nd-soft: #f6f6f2;         /* soft section background (warm) */
	--nd-page: #fafaf7;         /* page background (warm white) */

	/* Primary: sapphire (buttons, links, focus) */
	--nd-primary-50: #eef3fd;
	--nd-primary-100: #dce6fa;
	--nd-primary-200: #bccdf4;
	--nd-primary-300: #8fabea;
	--nd-primary-400: #4b78e3;
	--nd-primary: #2a5bd7;
	--nd-primary-600: #2149b4;
	--nd-primary-700: #1c3b8f;
	--nd-primary-800: #172f70;
	--nd-primary-rgb: 42, 91, 215;
	--nd-grad: linear-gradient(180deg, #4b78e3 0%, #2a5bd7 50%, #2149b4 100%);

	/* Navy (hero, footer, feature panels) */
	--nd-night: #0e1a33;
	--nd-night-2: #172a4d;
	--nd-sky: #b9c8ef;          /* light accent text on navy */

	/* Champagne gold: small premium accents only */
	--nd-gold: #b8914a;
	--nd-gold-soft: #f6eedc;
	--nd-gold-light: #e3c88f;   /* gold on navy backgrounds */

	/* Status */
	--nd-success: #0f8a5f;
	--nd-danger: #c4320a;
	--nd-tp: #00b67a;           /* Trustpilot green (reviews only) */

	/* Buttons: navy = buy / checkout, white outline = add to cart */
	--nd-btn-grad: linear-gradient(180deg, #263c66 0%, #15264a 52%, #0e1a33 100%);
	--nd-btn-grad-hover: linear-gradient(180deg, #30497a 0%, #1c3260 52%, #132449 100%);
	--nd-btn-border: #0a1328;
	--nd-btn-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(9, 15, 36, .18), 0 14px 26px -14px rgba(9, 15, 36, .7);
	--nd-btn-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 4px rgba(9, 15, 36, .2), 0 18px 32px -14px rgba(9, 15, 36, .75);
	--nd-btn2-border: #cdd3dd;
	--nd-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---------- 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: var(--nd-primary);
	--fs-experimental-link-color-hover: var(--nd-primary-600);
}

/* Headings: deep navy */
html h1, html h2, html h3, html h4, html h5, html h6, html .heading-font { color: var(--nd-ink); }
html body { color: var(--nd-text); }

/* Links */
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); }
html #main .entry-content a:not(.button):not([class*="nl-"]):not([class*="nd-"]) { color: var(--nd-primary); }
html #main .entry-content a:not(.button):not([class*="nl-"]):not([class*="nd-"]):hover { color: var(--nd-primary-600); }

/* Warm page background; content surfaces stay white */
html:root, html body, html #wrapper, html #main, html #main.dark-page-wrapper { background-color: var(--nd-page); }
html .header-wrapper .header-main, html .header-wrapper .header-bottom { background-color: #fff; }
html .header-wrapper .header-bottom { border-bottom: 1px solid var(--nd-line); }
html .header-top { background-color: var(--nd-night) !important; color: #dfe6f7; }

/* Page / shop title bars: navy instead of bright blue */
html .page-title.featured-title,
html .shop-page-title.featured-title,
html .page-title.dark {
	background-color: var(--nd-night) !important;
	background-image:
		radial-gradient(520px 200px at 85% 0%, rgba(var(--nd-primary-rgb), .35), transparent 70%),
		radial-gradient(420px 180px at 0% 100%, rgba(227, 200, 143, .12), transparent 70%),
		linear-gradient(180deg, var(--nd-night), var(--nd-night-2)) !important;
}
html .page-title.featured-title .title-overlay { background-color: transparent !important; }
html .page-title.featured-title .breadcrumbs a { color: var(--nd-sky); }

/* Buttons */
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 -12px 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; }

/* Product cards (overrides the old orange buttons in Additional CSS) */
html body .woocommerce .products .product-small a.add_to_cart_button,
html body .woocommerce .products .product-small a.product_type_simple,
html body .woocommerce .products .product-small a.product_type_variable,
html body .woocommerce .products .product-small a.product_type_external,
html body .product-small .add-to-cart-button a,
html body .product-small a.add_to_cart_button {
	color: var(--nd-ink) !important;
	background: #fff !important;
	border: 1.5px solid var(--nd-btn2-border) !important;
	box-shadow: none !important;
}
html body .woocommerce .products .product-small a.add_to_cart_button:hover,
html body .woocommerce .products .product-small a.product_type_simple:hover,
html body .woocommerce .products .product-small a.product_type_variable:hover,
html body .product-small a.add_to_cart_button:hover {
	color: #fff !important;
	background: var(--nd-ink) var(--nd-btn-grad) !important;
	border-color: var(--nd-btn-border) !important;
}
html body .product-small .product-title a { color: var(--nd-ink); }
html body .product-small .product-title a:hover { color: var(--nd-primary); }
html body .ux-products .product-small.box,
html body .products .product-small.box { border-color: var(--nd-line); }

/* Prices: navy, never traffic-light green */
html .price, html .price .amount,
html .product-small .price ins, html .product-small .price > .woocommerce-Price-amount,
html ins .woocommerce-Price-amount { color: var(--nd-ink) !important; }
html .price del, html del .woocommerce-Price-amount, html .product-small .price del { color: #94a3b8 !important; }

/* Badges, stars */
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); }

/* Footer: navy */
html .footer-wrapper .footer-1, html .footer-wrapper .footer-2 { background-color: var(--nd-night); }
html .absolute-footer { background-color: var(--nd-night) !important; color: #9fb0d6; border-top: 1px solid rgba(255, 255, 255, .06); }
html .absolute-footer a { color: #c9d4f0; }

/* Dividers, tooltips */
html .is-divider, html hr { border-color: var(--nd-line); }
html .is-divider { background-color: var(--nd-line); }

/* 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);
}

/* Text selection */
html ::selection { background: var(--nd-primary-100); color: var(--nd-ink); }

/* =========================================================================
   Purchase & cart buttons (one system everywhere)
   ========================================================================= */
/* Primary: checkout / place order / return to shop */
html body .button#place_order,
html body .button.checkout,
html body .checkout-button,
html body .wc-proceed-to-checkout .checkout-button,
html body .widget_shopping_cart .button.checkout,
html body .return-to-shop .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 22px !important;
	background-color: var(--nd-ink) !important;
	background-image: var(--nd-btn-grad) !important;
	border: 1px solid var(--nd-btn-border) !important;
	border-radius: 12px !important;
	color: #fff !important;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: none !important;
	box-shadow: var(--nd-btn-shadow) !important;
	transition: background-image .2s ease, box-shadow .2s ease, transform .18s ease;
}
html body .wc-proceed-to-checkout .checkout-button::after,
html body .widget_shopping_cart .button.checkout::after {
	content: "";
	width: 17px;
	height: 17px;
	flex: none;
	background: var(--nd-gold-light);
	-webkit-mask: var(--nd-arrow) center / contain no-repeat;
	mask: var(--nd-arrow) center / contain no-repeat;
	transition: transform .18s ease;
}
html body .button#place_order:hover,
html body .button.checkout:hover,
html body .checkout-button:hover,
html body .widget_shopping_cart .button.checkout:hover,
html body .return-to-shop .button:hover {
	background-image: var(--nd-btn-grad-hover) !important;
	box-shadow: var(--nd-btn-shadow-hover) !important;
	transform: translateY(-1px);
	filter: none;
}
html body .checkout-button:hover::after,
html body .widget_shopping_cart .button.checkout:hover::after { transform: translateX(3px); }

/* Secondary: continue shopping / view cart (white outline) */
html body .button-continue-shopping,
html body .widget_shopping_cart .button.wc-forward:not(.checkout) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 18px !important;
	background: #fff !important;
	border: 1.5px solid var(--nd-btn2-border) !important;
	border-radius: 12px !important;
	color: var(--nd-ink) !important;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: none !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05) !important;
	transition: border-color .18s ease, background-color .18s ease;
}
html body .button-continue-shopping:hover,
html body .widget_shopping_cart .button.wc-forward:not(.checkout):hover { border-color: var(--nd-ink) !important; background: var(--nd-soft) !important; }

/* Quiet: apply coupon, update cart, quantity steppers */
html body.woocommerce-cart button[name="apply_coupon"],
html body.woocommerce-cart button[name="update_cart"] {
	min-height: 44px;
	background: var(--nd-soft) !important;
	border: 1px solid var(--nd-line) !important;
	border-radius: 10px !important;
	color: var(--nd-ink) !important;
	font-weight: 700;
	text-transform: none !important;
	letter-spacing: .01em;
	box-shadow: none !important;
}
html body.woocommerce-cart button[name="apply_coupon"]:hover,
html body.woocommerce-cart button[name="update_cart"]:not([disabled]):hover { border-color: var(--nd-ink) !important; background: #fff !important; }
html body.woocommerce-cart .ux-quantity__button { background: #fff; color: var(--nd-ink); border-color: var(--nd-line); }
html body.woocommerce-cart .coupon input.input-text { border-radius: 10px; min-height: 44px; }

/* Cart page: calm headings + totals */
html body.woocommerce-cart .shop_table thead th { color: var(--nd-muted); font-size: 12px; letter-spacing: .08em; }
html body.woocommerce-cart .shop_table .product-name a { color: var(--nd-ink); font-weight: 600; }
html body.woocommerce-cart .cart_totals .order-total .amount { font-size: 1.15em; }
html body .checkout-breadcrumbs .current, html body .checkout-breadcrumbs a.current { color: var(--nd-ink); }
/* Card button hover: always white text on navy */
html body .product-small a.button:hover,
html body .product-small .add-to-cart-button a:hover,
html body .ndl-cta .ndl-atc:hover,
html body .ndl-cta .ndl-atc:focus-visible,
html body .nl-pcard .button:hover {
	color: #fff !important;
	background: var(--nd-ink) var(--nd-btn-grad) !important;
	border-color: var(--nd-btn-border) !important;
}
/* Product titles on every card: navy (link color stays blue elsewhere) */
html body .product-small .name a,
html body .product-small .product-title a,
html body .product-small .woocommerce-loop-product__link { color: var(--nd-ink) !important; }
html body .product-small .name a:hover,
html body .product-small .product-title a:hover,
html body .product-small .woocommerce-loop-product__link:hover { color: var(--nd-primary) !important; }

/* Quick View bar on card images: navy glass, always-readable text */
html body .product-small .image-tools .quick-view,
html body .product-small .quick-view {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 38px;
	background: rgba(14, 26, 51, .88) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: none;
	opacity: 1;
	transition: background-color .18s ease, color .18s ease;
}
html body .product-small .quick-view::before {
	content: "";
	width: 15px;
	height: 15px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body .product-small .quick-view:hover,
html body .product-small .quick-view:focus-visible {
	background: var(--nd-ink) !important;
	color: var(--nd-gold-light) !important;
}
/* Quick View popup: same navy purchase button */
html body .product-lightbox .single_add_to_cart_button,
html body .product-quick-view-container .single_add_to_cart_button {
	min-height: 46px;
	padding: 0 22px !important;
	background: var(--nd-ink) var(--nd-btn-grad) !important;
	border: 1px solid var(--nd-btn-border) !important;
	border-radius: 12px !important;
	color: #fff !important;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: none !important;
	box-shadow: var(--nd-btn-shadow) !important;
}
html body .product-lightbox .single_add_to_cart_button:hover,
html body .product-quick-view-container .single_add_to_cart_button:hover { background: var(--nd-ink) var(--nd-btn-grad-hover) !important; }
html body .product-lightbox .quantity { border-radius: 12px; }
html body .product-lightbox .product-title { color: var(--nd-ink); }
/* Respect payment plugins: when PayPal shows its own button, #place_order stays hidden */
html body #place_order[style*="display: none"], html body #place_order[style*="display:none"], html body #place_order.ppcp-hidden { display: none !important; }
html body .woocommerce-checkout #place_order { width: 100%; }
/* =========================================================================
   Add to cart: same outline style, transparent, champagne line + champagne cart icon.
   Hover fills navy with white text.
   ========================================================================= */
:root {
	--nd-atc-bg: transparent;
	--nd-atc-bg-hover: var(--nd-btn-grad);
	--nd-atc-border: #c9a45c; /* champagne line */
	--nd-atc-border-hover: #0a1328;
	--nd-atc-text: #0e1a33;
}
html body .nl-product .nl-summary .single_add_to_cart_button,
html body.nl-pt .sticky-add-to-cart .single_add_to_cart_button,
html body .product-small a.button.add_to_cart_button,
html body .product-small .add-to-cart-button a.button,
html body .woocommerce .products .product-small a.add_to_cart_button,
html body .woocommerce .products .product-small a.product_type_simple,
html body .woocommerce .products .product-small a.product_type_variable,
html body .ndl-cta a.ndl-atc,
html body .ndl-cta .button.ndl-atc,
html body .nl-pcard a.button {
	color: var(--nd-atc-text) !important;
	background: var(--nd-atc-bg) !important;
	border: 1.5px solid var(--nd-atc-border) !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .06) !important;
}
html body .nl-product .nl-summary .single_add_to_cart_button:hover,
html body.nl-pt .sticky-add-to-cart .single_add_to_cart_button:hover,
html body .product-small a.button.add_to_cart_button:hover,
html body .product-small .add-to-cart-button a.button:hover,
html body .woocommerce .products .product-small a.add_to_cart_button:hover,
html body .woocommerce .products .product-small a.product_type_simple:hover,
html body .woocommerce .products .product-small a.product_type_variable:hover,
html body .ndl-cta a.ndl-atc:hover,
html body .ndl-cta a.ndl-atc:focus-visible,
html body .ndl-cta .button.ndl-atc:hover,
html body .nl-pcard a.button:hover {
	color: #fff !important;
	background: var(--nd-ink) var(--nd-atc-bg-hover) !important;
	border-color: var(--nd-atc-border-hover) !important;
	box-shadow: var(--nd-btn-shadow) !important;
}
/* "Added" state stays green so the customer sees it worked */
html body .ndl-cta a.ndl-atc.added { color: #166534 !important; background: #effaf3 !important; border-color: #bbe5c8 !important; }
/* Champagne cart icon (white on hover) */
html body .nl-product .nl-summary .single_add_to_cart_button::before,
html body.nl-pt .sticky-add-to-cart .single_add_to_cart_button::before,
html body .ndl-cta a.ndl-atc:not(.loading):not(.added)::before { background: #b8914a !important; }
html body .nl-product .nl-summary .single_add_to_cart_button:hover::before,
html body.nl-pt .sticky-add-to-cart .single_add_to_cart_button:hover::before,
html body .ndl-cta a.ndl-atc:not(.loading):not(.added):hover::before { background: #fff !important; }/* Needlic product cards - shop, categories, homepage product sections,
   upsells and related products. Same design language as the product page
   buttons (brand blue var(--nd-primary), soft indigo secondary). */

.product-small.col {
	--ndl-ink: var(--nd-ink);
	--ndl-muted: var(--nd-muted);
	--ndl-line: var(--nd-line);
	--ndl-soft: var(--nd-soft);
}

/* Card shell */
.product-small.col > .col-inner {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: transparent !important;
	box-shadow: none !important; /* Flatsome's card shadow; the card itself has its own */
}
.product-small.col .product-small.box {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ndl-line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.product-small.col .product-small.box:hover {
	transform: translateY(-3px);
	border-color: #d7dde8;
	box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 18px 36px -18px rgba(15, 23, 42, .28);
}
.product-small.col > .col-inner > .product-small.box { flex: 1; }

/* Image: same frame for every product */
.product-small.col .box-image {
	background: var(--ndl-soft);
	border-radius: 0;
}
.product-small.col .box-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	padding: 14px;
	transition: transform .35s ease;
}
.product-small.col .product-small.box:hover .box-image img { transform: scale(1.03); }

/* Text */
.product-small.col .box-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 16px !important;
	text-align: left;
}
.product-small.col .box-text .category {
	font-size: 11px;
	letter-spacing: .08em;
	color: var(--ndl-muted);
	opacity: 1;
	margin: 0 0 2px;
}
.product-small.col .box-text .product-title {
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}
.product-small.col .box-text .product-title a { color: var(--ndl-ink); }
.product-small.col .box-text .product-title a:hover { color: var(--nd-primary-600); }
.product-small.col .box-text .price-wrapper { margin-top: 2px; }
.product-small.col .box-text .price {
	font-size: 18px;
	font-weight: 700;
	color: var(--ndl-ink);
}
.product-small.col .box-text .price del { font-size: .75em; color: var(--ndl-muted); font-weight: 500; }
.product-small.col .box-text .price ins { text-decoration: none; }
.product-small.col .box-text .price .amount { color: inherit; }
.product-small.col .box-text > * { margin-left: 0; margin-right: 0; }

/* Stars/review counts never show in cards */
.product-small.col .box-text .star-rating,
.product-small.col .box-text .review-count { display: none !important; }

/* ---------- Add to Cart (cards + related products) ---------- */

.ndl-cta { margin-top: auto; padding-top: 8px; width: 100%; align-self: stretch; }

.ndl-cta .ndl-atc,
.ndl-cta .button.ndl-atc {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	height: 44px;
	margin: 0 !important;
	padding: 0 14px !important;
	border-radius: 11px !important;
	border: 1.5px solid var(--nd-btn2-border) !important;
	background: #fff !important;
	color: var(--nd-ink) !important;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1 !important;
	text-transform: none !important;
	box-shadow: none;
	overflow: hidden;
	transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.ndl-cta .ndl-atc::before {
	content: "";
	width: 17px;
	height: 17px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h2.2l2.3 10.6a2 2 0 0 0 2 1.6h8.3a2 2 0 0 0 1.9-1.5l1.6-6.7H6'/%3E%3Ccircle cx='9.5' cy='20' r='1.5' fill='%23000'/%3E%3Ccircle cx='17.5' cy='20' r='1.5' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h2.2l2.3 10.6a2 2 0 0 0 2 1.6h8.3a2 2 0 0 0 1.9-1.5l1.6-6.7H6'/%3E%3Ccircle cx='9.5' cy='20' r='1.5' fill='%23000'/%3E%3Ccircle cx='17.5' cy='20' r='1.5' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Hover: fills with the Buy Now gradient */
.ndl-cta .ndl-atc:hover,
.ndl-cta .ndl-atc:focus-visible {
	color: #fff !important;
	border-color: var(--nd-btn-border) !important;
	background: var(--nd-ink) var(--nd-btn-grad) !important;
	box-shadow: var(--nd-btn-shadow);
}
.ndl-cta .ndl-atc:active { transform: scale(.98); }
.ndl-cta .ndl-atc:focus-visible { outline: 3px solid rgba(14, 26, 51, .25); outline-offset: 2px; }

/* AJAX states */
.ndl-cta .ndl-atc.loading { opacity: .85; pointer-events: none; }
.ndl-cta .ndl-atc.loading::before {
	-webkit-mask: none;
	mask: none;
	background: none;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	width: 14px;
	height: 14px;
	animation: ndl-spin .7s linear infinite;
}
.ndl-cta .ndl-atc.loading::after { display: none !important; }
.ndl-cta .ndl-atc.added {
	color: #166534 !important;
	background: #f0fdf4 !important;
	border-color: #bbf7d0 !important;
}
.ndl-cta .ndl-atc.added::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ndl-cta .ndl-atc.added::after { display: none !important; } /* Flatsome adds its own tick */
.ndl-cta .added_to_cart {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: var(--nd-primary-600);
}
@keyframes ndl-spin { to { transform: rotate(360deg); } }

/* Quick view link sits on the image; keep it tidy */
.product-small.col .grid-tools a { border-radius: 0 0 0 0; font-weight: 600; }

@media (max-width: 549px) {
	.product-small.col .product-small.box { border-radius: 14px; }
	.product-small.col .box-text { padding: 10px 10px 12px !important; gap: 4px; }
	.product-small.col .box-text .product-title { font-size: 13.5px; }
	.product-small.col .box-text .price { font-size: 16px; }
	.product-small.col .box-image img { padding: 8px; }
	.ndl-cta .ndl-atc, .ndl-cta .button.ndl-atc { height: 40px; min-height: 40px; font-size: 13px; padding: 0 8px !important; gap: 6px; }
	.ndl-cta .ndl-atc::before { width: 15px; height: 15px; }
}

/* ---------- Homepage: 7 category cards, centered rows ---------- */
.nlx .nlx-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}
.nlx .nlx-grid > .nlx-card { flex: 0 0 calc((100% - 6 * 14px) / 7); min-width: 0; }
@media (max-width: 1099px) {
	.nlx .nlx-grid > .nlx-card { flex-basis: calc((100% - 3 * 14px) / 4); }
}
@media (max-width: 640px) {
	.nlx .nlx-grid { gap: 12px; }
	.nlx .nlx-grid > .nlx-card { flex-basis: calc((100% - 12px) / 2); }
}

/* Homepage product sections */
.ndl-home-products .section-title-container { margin-bottom: 14px; }
.ndl-home-products .section-title a { font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; }

@media (prefers-reduced-motion: reduce) {
	.product-small.col .product-small.box,
	.product-small.col .box-image img,
	.ndl-cta .ndl-atc { transition: none; }
	.product-small.col .product-small.box:hover { transform: none; }
}
/* Needlic main menu: tidy product dropdowns (desktop) + "View all" links. */

@media (min-width: 850px) {
	.header-nav > li > .nav-dropdown {
		border-radius: 14px;
		padding: 14px 18px;
		box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .28);
		border: 1px solid var(--nd-line);
	}
	.header-nav > li > .nav-dropdown > li > a {
		padding: 9px 4px;
		font-size: 14.5px;
		line-height: 1.35;
		color: #1f2937;
		border-radius: 8px;
		transition: color .15s ease, background-color .15s ease, padding .15s ease;
	}
	.header-nav > li > .nav-dropdown > li > a:hover {
		color: var(--nd-primary-600);
		background: #f3f6ff;
		padding-left: 10px;
	}

	/* Long lists in columns (Flatsome uses display:table, which cannot hold columns) */
	.header-nav > li.ndl-cols-2 > .nav-dropdown,
	.header-nav > li.ndl-cols-3 > .nav-dropdown { display: block; }
	.header-nav > li.ndl-cols-2 > .nav-dropdown { column-count: 2; column-gap: 26px; min-width: 500px; }
	.header-nav > li.ndl-cols-3 > .nav-dropdown { column-count: 3; column-gap: 26px; min-width: 840px; }
	.header-nav > li.ndl-cols-2 > .nav-dropdown > li,
	.header-nav > li.ndl-cols-3 > .nav-dropdown > li { break-inside: avoid; }

	/* "All ... software →" closing link */
	.header-nav .nav-dropdown > li.ndl-view-all {
		column-span: all;
		border-top: 1px solid var(--nd-line);
		margin-top: 8px;
		padding-top: 6px;
	}
	.header-nav .nav-dropdown > li.ndl-view-all > a { font-weight: 700; color: var(--nd-primary-600); border-bottom: 0; }

	/* Group headings inside a dropdown ("Software Licenses": Windows, Office, …) */
	.header-nav .nav-dropdown > li.ndl-group { break-after: avoid; margin-top: 10px; }
	.header-nav .nav-dropdown > li.ndl-group:first-child { margin-top: 0; }
	.header-nav .nav-dropdown > li.ndl-group:not(:first-child) { break-before: column; margin-top: 0; } /* each group gets its own column */
	.header-nav .nav-dropdown > li.ndl-group > a {
		font-size: 12.5px !important;
		font-weight: 700 !important;
		letter-spacing: .06em;
		text-transform: uppercase;
		color: var(--nd-primary-600) !important;
		padding: 8px 4px 6px !important;
		border-bottom: 1px solid var(--nd-line) !important;
		border-radius: 0 !important;
	}
	.header-nav .nav-dropdown > li.ndl-group > a:hover { background: none !important; padding-left: 4px !important; }

	/* Wide dropdown of the last menu item opens towards the left (stays on screen) */
	.header-nav > li.ndl-align-right > .nav-dropdown { left: auto !important; right: 0 !important; }
	.header-nav > li.ndl-align-right > .nav-dropdown:before { left: auto !important; right: 30px !important; }
}

/* Small desktops: no dropdown arrows and a tighter menu, so the bar stays on one line */
@media (min-width: 850px) and (max-width: 1199px) {
	.header-bottom-nav > li > a > i.icon-angle-down { display: none !important; }
}
@media (min-width: 850px) and (max-width: 1023px) {
	.header-bottom-nav > li > a { font-size: 12.5px !important; }
	.header-bottom-nav > li { margin-left: 4px !important; margin-right: 4px !important; }
}

/* Group headings in the mobile menu */
.mobile-sidebar .nav-sidebar .sub-menu li.ndl-group > a {
	font-size: 12.5px !important;
	font-weight: 700 !important;
	letter-spacing: .06em !important;
	text-transform: uppercase !important;
	color: var(--nd-primary-600) !important;
	background: var(--nd-soft);
}

/* ---------- Header polish (all pages): same palette as the homepage ---------- */
.header-wrapper .header-bg-color { background-color: rgba(255, 255, 255, .97) !important; }
.header-wrapper .header-main { border-bottom: 1px solid #eef0f5; }
.header-wrapper .header-bottom { border-bottom: 1px solid #eef0f5; }
.header-main .header-search-form .search-field {
	height: 44px;
	border: 1px solid #e2e8f0;
	border-right: 0;
	border-radius: 12px 0 0 12px;
	background: #f8fafc;
	box-shadow: none;
	transition: border-color .15s ease, background-color .15s ease;
}
.header-main .header-search-form .search-field:focus { background: #fff; border-color: var(--nd-sky); }
.header-main .header-search-form .ux-search-submit {
	height: 44px;
	min-height: 44px;
	border-radius: 0 12px 12px 0;
	background: linear-gradient(180deg, var(--nd-primary-400) 0%, var(--nd-primary) 45%, var(--nd-primary-600) 100%) !important;
	box-shadow: none;
}
.header-bottom-nav > li > a { font-weight: 600 !important; color: #1f2937 !important; transition: color .15s ease; }
.header-bottom-nav > li > a:hover,
.header-bottom-nav > li.active > a,
.header-bottom-nav > li.current-dropdown > a { color: var(--nd-primary-600) !important; }

/* ---------- Mobile sidebar (Flatsome off-canvas menu) ---------- */
.mobile-sidebar { background: #fff; }
.mobile-sidebar .sidebar-menu { padding: 58px 0 24px; }
.mobile-sidebar .nav-sidebar { text-transform: none; }
.mobile-sidebar .nav-sidebar > li.header-search-form { padding: 0 16px 14px; border-bottom: 1px solid #eef0f5; }
.mobile-sidebar .searchform .search-field {
	height: 46px;
	border: 1px solid #e2e8f0;
	border-right: 0;
	border-radius: 12px 0 0 12px;
	background: #f8fafc;
	box-shadow: none;
	font-size: 15px;
}
.mobile-sidebar .searchform .ux-search-submit {
	height: 46px;
	min-height: 46px;
	border-radius: 0 12px 12px 0;
	background: var(--nd-primary) !important;
}
.mobile-sidebar .nav-sidebar > li.menu-item { border-bottom: 1px solid #f1f3f8; }
.mobile-sidebar .nav-sidebar li > a {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--nd-ink);
	text-transform: none;
	letter-spacing: 0;
	transition: background-color .15s ease, color .15s ease;
}
.mobile-sidebar .nav-sidebar li > a:hover,
.mobile-sidebar .nav-sidebar li > a:focus-visible { background: var(--nd-soft); color: var(--nd-primary-600); }
.mobile-sidebar .nav-sidebar .sub-menu li > a {
	padding: 13px 20px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: var(--nd-text) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
.mobile-sidebar .nav-sidebar .sub-menu li > a:hover { color: var(--nd-primary-600) !important; }
.mobile-sidebar .nav-sidebar .sub-menu li.ndl-view-all > a { color: var(--nd-primary-600) !important; font-weight: 700 !important; }
/* Slide-panel heading ("< Embroidery") */
.mobile-sidebar .nav-slide-header .toggle,
.mobile-sidebar .nav-slide-header a { text-transform: none !important; font-size: 15px !important; font-weight: 700 !important; color: var(--nd-ink) !important; letter-spacing: 0 !important; }
.mobile-sidebar .nav-sidebar .sub-menu li { border-bottom: 1px solid #f4f6fa; }
.mobile-sidebar .nav-sidebar .toggle { color: #94a3b8; }
.mobile-sidebar .nav-sidebar > li.account-item { border-bottom: 0; padding: 18px 16px 0; }
.mobile-sidebar .nav-sidebar > li.account-item > a {
	justify-content: center;
	padding: 13px 16px;
	border-radius: 12px;
	border: 1px solid var(--nd-primary-200);
	background: var(--nd-primary-50);
	color: var(--nd-primary-800);
}
.mobile-sidebar .nav-sidebar > li.account-item > a:hover { background: var(--nd-primary-100); color: var(--nd-primary-800); }

/* Mobile off-canvas menu */
.nav-sidebar li.ndl-view-all > a { font-weight: 700; color: var(--nd-primary-600) !important; }
