/*
 * Nini Mankii — global design tokens and base styles.
 * Loaded by mu-plugins/nm-design.php after the theme and Elementor styles.
 * Section-specific styles are added in later steps, each in its own block.
 */

/* ---------- Font: Vazirmatn (Farsi-digit build, OFL — see fonts/Vazirmatn-OFL-LICENSE.txt) ----------
   Own family name "Vazirmatn FD": WoodMart also prints Google's "Vazirmatn" (Latin digits, covers 0-9)
   inline after this file; under the same name it would win for digits. The Elementor kit variable
   brand-font uses "Vazirmatn FD" too, so prices, countdowns and all numbers show Persian digits. */
@font-face {
	font-family: "Vazirmatn FD";
	src: url("./fonts/Vazirmatn-FD-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Vazirmatn FD";
	src: url("./fonts/Vazirmatn-FD-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Vazirmatn FD";
	src: url("./fonts/Vazirmatn-FD-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--nm-bg: #FBF7F2;
	--nm-surface: #F1E6D8;
	--nm-card: #FFFFFF;
	--nm-primary: #5B3221;
	--nm-muted: #8A6248;
	--nm-caramel: #C99462;   /* decorative only: lines, borders, icons */
	--nm-banana: #EFCB68;    /* badges, countdown, active tab; text on it is always --nm-primary */
	--nm-hairline: #EADFD3;
	--nm-shadow: 0 14px 32px rgba(91, 50, 33, .12);

	--nm-r-label: 6px;
	--nm-r-chip: 12px;
	--nm-r-card: 16px;
	--nm-r-box: 24px;
	--nm-r-band: 32px;
	--nm-r-pill: 999px;

	--nm-font: "Vazirmatn FD", "Vazirmatn", Tahoma, sans-serif;

	/* WoodMart font variables, so theme elements pick up Vazirmatn too */
	--wd-text-font: var(--nm-font);
	--wd-title-font: var(--nm-font);
	--wd-entities-title-font: var(--nm-font);
	--wd-widget-title-font: var(--nm-font);
	--wd-header-el-font: var(--nm-font);
	--wd-primary-font: var(--nm-font);
}

/* ---------- Base ---------- */
body {
	background-color: var(--nm-bg);
	color: var(--nm-primary);
	font-family: var(--nm-font);
}

body h1, body h2, body h3, body h4, body h5, body h6,
body button, body input, body select, body textarea,
body .button, body .btn,
body .wd-nav, body .wd-nav > li > a,
body .price, body .amount, body .woocommerce-Price-amount {
	font-family: var(--nm-font);
}

body a {
	color: var(--nm-primary);
}
body a:hover {
	color: var(--nm-muted);
}

/* ---------- Focus ring ---------- */
:focus-visible {
	outline: 2px solid var(--nm-primary);
	outline-offset: 3px;
}

/* ---------- Utilities ---------- */

/* Caramel wavy line under section titles (60x10, 52px wide on mobile). */
.nm-wave {
	display: block;
	width: 60px;
	height: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='10' viewBox='0 0 60 10' fill='none'%3E%3Cpath d='M2 5 Q9 0 16 5 T30 5 T44 5 T58 5' stroke='%23C99462' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 767px) {
	.nm-wave {
		width: 52px;
	}
}

/* Reserved: hides "sample content" markers when the real content is in. */
.nm-sample-hide {
	display: none;
}

/* ==========================================================================
   Header (WoodMart Header Builder: "nm-header", every page that uses it)
   Heights, backgrounds and the bottom hairline come from the builder rows.
   Selectors start with "body.nm-chrome" (body class added by nm-design.php for
   pages with _nm_design = 1), so old pages and headers are not affected and the
   rules win over the builder's header CSS file, which is enqueued after this file.
   ========================================================================== */

/* --- Announcement bar (top-bar row) --- */
body.nm-chrome .whb-top-bar .nm-announce {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	color: var(--nm-bg);
	font-size: 13px;
	line-height: 22px;
	font-weight: 500;
}
.nm-announce-dot {
	flex: none;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--nm-banana);
}
body.nm-chrome .whb-top-bar .nm-announce--mobile {
	justify-content: center;
	text-align: center;
}
body.nm-chrome .whb-top-bar .whb-col-mobile {
	justify-content: center;
}

.nm-social {
	display: flex;
	align-items: center;
	gap: 2px;
}
body.nm-chrome .whb-top-bar .nm-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--nm-bg);
}
body.nm-chrome .whb-top-bar .nm-social-link:hover {
	color: var(--nm-banana);
}

/* --- Main row: logo --- */
body.nm-chrome .whb-general-header .wd-logo img {
	height: 72px;
	width: auto;
	max-height: none;
}
@media (max-width: 1024px) {
	body.nm-chrome .whb-general-header .wd-logo img {
		height: 48px;
	}
}

/* --- Main row: menu (15/500, caramel underline on hover and active) --- */
body.nm-chrome .whb-general-header .wd-nav-main {
	--nav-gap: 15px;
}
body.nm-chrome .whb-general-header .wd-nav-main > li > a {
	color: var(--nm-primary);
	font-size: 15px;
	font-weight: 500;
	text-transform: none;
}
body.nm-chrome .whb-general-header .wd-nav-main > li > a:hover .nav-link-text,
body.nm-chrome .whb-general-header .wd-nav-main > li.current-menu-item > a .nav-link-text,
body.nm-chrome .whb-general-header .wd-nav-main > li.current-menu-ancestor > a .nav-link-text {
	text-decoration: underline;
	text-decoration-color: var(--nm-caramel);
	text-decoration-thickness: 2px;
	text-underline-offset: 10px;
}

/* --- Main row: icon buttons (44px circles) --- */
body.nm-chrome .whb-general-header .wd-tools-element > a {
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: var(--nm-r-pill);
	color: var(--nm-primary);
	transition: background-color .2s ease;
}
body.nm-chrome .whb-general-header .wd-tools-element > a:hover {
	background-color: var(--nm-surface);
	color: var(--nm-primary);
}
body.nm-chrome .whb-general-header .wd-tools-icon {
	color: var(--nm-primary);
}

/* Cart count badge */
body.nm-chrome .whb-general-header .wd-tools-count {
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: var(--nm-r-pill);
	background-color: var(--nm-banana);
	color: var(--nm-primary);
	font-size: 12px;
	line-height: 20px;
	font-weight: 700;
}

/* ==========================================================================
   Hero (WoodMart slider "nm-hero", slides built with Elementor sections)
   SITE-WIDE (body.nm-site, step 19): classic WoodMart widget internals that
   Elementor controls cannot reach; used by the old home (1063) and the atomic home.
   Markup: .nm-hero-section > .wd-slider > .wd-slide > .nm-hero-row
           (.nm-hero-text | .nm-hero-media > .nm-arch + .nm-hero-mascot)
   Slide tints and min-height come from the slider/slide settings.
   ========================================================================== */

/* --- Band --- */
body.nm-site .nm-hero-section .wd-slider,
body.nm-site .nm-hero-section .wd-carousel {
	border-radius: var(--nm-r-band);
	overflow: hidden;
}
body.nm-site .nm-hero-row.elementor-section {
	padding: 44px 88px;
}
body.nm-site .nm-hero-row .elementor-widget-wrap {
	align-content: center;
}

/* --- Text column --- */
body.nm-site .nm-hero-text .elementor-widget:not(:last-child) {
	margin-bottom: 20px;
}
body.nm-site .nm-hero-title .elementor-heading-title {
	margin: 0;
	color: var(--nm-primary);
	font-size: 40px;
	line-height: 56px;
	font-weight: 700;
	text-wrap: balance;
}
body.nm-site .nm-hero-sub {
	max-width: 460px;
	color: var(--nm-muted);
	font-size: 17px;
	line-height: 30px;
}
body.nm-site .nm-hero-sub p {
	margin: 0;
}
body.nm-site .nm-hero-btn {
	margin-top: 8px;
}
body.nm-site .nm-hero-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 32px;
	border-radius: var(--nm-r-pill);
	background-color: var(--nm-primary);
	color: var(--nm-bg);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
}
body.nm-site .nm-hero-btn .elementor-button:hover {
	background-color: var(--nm-muted);
	color: var(--nm-bg);
}
/* Small arrow-left icon after the label */
body.nm-site .nm-hero-btn .elementor-button::after {
	content: "";
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M5 12l6 6M5 12l6-6'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M5 12l6 6M5 12l6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --- Image column: arch frame + mascot --- */
body.nm-site .nm-hero-media .elementor-widget-wrap {
	position: relative;
	justify-content: center;
}
body.nm-site .nm-arch {
	width: 100%;
	margin: 0;
	text-align: center;
}
/* 2px caramel border, 8px cream mat, photo 360px wide at 4:5 */
body.nm-site .nm-arch .elementor-widget-container {
	display: inline-block;
	width: 380px;
	padding: 8px;
	border: 2px solid var(--nm-caramel);
	border-radius: 190px 190px 28px 28px;
	background: var(--nm-bg);
	box-sizing: border-box;
}
body.nm-site .nm-arch img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 15%;
	border-radius: 180px 180px 20px 20px;
}
body.nm-site .nm-hero-mascot {
	position: absolute;
	left: calc(50% - 190px - 40px);
	bottom: -24px;
	z-index: 2;
	width: 176px;
	margin: 0;
}
body.nm-site .nm-hero-mascot img {
	display: block;
	width: 176px;
	height: auto;
}

/* --- Navigation: arrows (44px white circles) and dots --- */
body.nm-site .nm-hero-section .wd-btn-arrow .wd-arrow-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--nm-caramel);
	border-radius: 50%;
	background: var(--nm-card);
	color: var(--nm-primary);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
body.nm-site .nm-hero-section .wd-btn-arrow:hover .wd-arrow-inner {
	border-color: var(--nm-primary);
	background: var(--nm-primary);
	color: var(--nm-bg);
}
body.nm-site .nm-hero-section .wd-nav-pagin li span {
	width: 8px;
	height: 8px;
	border: 0;
	border-radius: var(--nm-r-pill);
	background: var(--nm-caramel);
	transition: width .2s ease;
}
body.nm-site .nm-hero-section .wd-nav-pagin li.wd-active span,
body.nm-site .nm-hero-section .wd-nav-pagin li.active span {
	width: 28px;
	background: var(--nm-primary);
}

/* --- Tablet --- */
@media (max-width: 1024px) {
	body.nm-site .nm-hero-row.elementor-section {
		padding: 32px 40px;
	}
	body.nm-site .nm-hero-title .elementor-heading-title {
		font-size: 32px;
		line-height: 46px;
	}
	body.nm-site .nm-arch .elementor-widget-container {
		width: 320px;
		border-radius: 160px 160px 26px 26px;
	}
	body.nm-site .nm-arch img {
		border-radius: 150px 150px 18px 18px;
	}
	body.nm-site .nm-hero-mascot {
		left: calc(50% - 160px - 30px);
		width: 132px;
	}
	body.nm-site .nm-hero-mascot img {
		width: 132px;
	}
}

/* --- Mobile: stacked and centred, image on top, dots only --- */
@media (max-width: 767px) {
	body.nm-site .nm-hero-section .wd-slider,
	body.nm-site .nm-hero-section .wd-carousel {
		border-radius: var(--nm-r-box);
	}
	body.nm-site .nm-hero-row.elementor-section {
		padding: 24px 16px 48px;
	}
	body.nm-site .nm-hero-media {
		margin-bottom: 24px;
	}
	body.nm-site .nm-hero-text,
	body.nm-site .nm-hero-text .elementor-widget-wrap {
		text-align: center;
		justify-content: center;
	}
	body.nm-site .nm-hero-title .elementor-heading-title {
		font-size: 28px;
		line-height: 42px;
	}
	body.nm-site .nm-hero-sub {
		max-width: none;
		margin-inline: auto;
		font-size: 15px;
		line-height: 26px;
	}
	body.nm-site .nm-hero-btn,
	body.nm-site .nm-hero-btn .elementor-button-wrapper {
		width: 100%;
	}
	body.nm-site .nm-hero-btn .elementor-button {
		justify-content: center;
		width: 100%;
		height: 50px;
	}
	body.nm-site .nm-arch .elementor-widget-container {
		width: 264px;
		border-radius: 132px 132px 22px 22px;
	}
	body.nm-site .nm-arch img {
		border-radius: 122px 122px 16px 16px;
	}
	body.nm-site .nm-hero-mascot {
		left: calc(50% - 132px - 20px);
		bottom: -12px;
		width: 88px;
	}
	body.nm-site .nm-hero-mascot img {
		width: 88px;
	}
	body.nm-site .nm-hero-section .wd-nav-arrows {
		display: none;
	}
}

/* ==========================================================================
   Section spacing and section titles (new-design pages)
   ========================================================================== */
body.nm-design .nm-sec {
	margin-top: 72px;
}
body.nm-design .nm-section-title .elementor-heading-title {
	margin: 0;
	color: var(--nm-primary);
	font-size: 26px;
	line-height: 36px;
	font-weight: 700;
}
/* Caramel wave under section titles (same drawing as .nm-wave) */
body.nm-design .nm-section-title .elementor-heading-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 10px;
	margin-top: 6px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='10' viewBox='0 0 60 10' fill='none'%3E%3Cpath d='M2 5 Q9 0 16 5 T30 5 T44 5 T58 5' stroke='%23C99462' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 767px) {
	body.nm-design .nm-sec {
		margin-top: 40px;
	}
	body.nm-design .nm-section-title .elementor-heading-title {
		font-size: 22px;
		line-height: 34px;
	}
	body.nm-design .nm-section-title .elementor-heading-title::after {
		width: 52px;
	}
}

/* ==========================================================================
   Trust (section 3): 4 wd_infobox cards; the icon is drawn by ::before
   (Tabler outline icon in caramel on a 52px cream circle), one class per item.
   ========================================================================== */
body.nm-design .nm-icon-truck {
	--nm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0'/%3E%3Cpath d='M17 17m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0'/%3E%3Cpath d='M5 17h-2v-4m-1 -8h11v12m-4 0h6m4 0h2v-6h-8m0 -5h5l3 5'/%3E%3Cpath d='M3 9l4 0'/%3E%3C/svg%3E");
}
body.nm-design .nm-icon-exchange {
	--nm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10h14l-4 -4'/%3E%3Cpath d='M17 14h-14l4 4'/%3E%3C/svg%3E");
}
body.nm-design .nm-icon-shield {
	--nm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2l4 -4'/%3E%3Cpath d='M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3'/%3E%3C/svg%3E");
}
body.nm-design .nm-icon-store {
	--nm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l18 0'/%3E%3Cpath d='M3 7v1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1h-18l2 -4h14l2 4'/%3E%3Cpath d='M5 21l0 -10.15'/%3E%3Cpath d='M19 21l0 -10.15'/%3E%3Cpath d='M9 21v-4a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v4'/%3E%3C/svg%3E");
}
body.nm-design .nm-trust-item,
body.nm-design .nm-trust-item .elementor-widget-container,
body.nm-design .nm-trust-item .info-box-wrapper {
	height: 100%;
}
body.nm-design .nm-trust-item .wd-info-box {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 100%;
	padding: 20px 24px;
	border: 1px solid var(--nm-hairline);
	border-radius: 20px;
	background: var(--nm-card);
	text-align: start;
}
body.nm-design .nm-trust-item .wd-info-box::before {
	content: "";
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--nm-icon) center / 28px 28px no-repeat, var(--nm-bg);
}
body.nm-design .nm-trust-item .info-box-title {
	margin: 0;
	color: var(--nm-primary);
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
}
body.nm-design .nm-trust-item .info-box-inner {
	color: var(--nm-muted);
	font-size: 13px;
	line-height: 22px;
}
body.nm-design .nm-trust-item .info-box-inner p {
	margin: 0;
}
@media (max-width: 767px) {
	body.nm-design .nm-trust > .elementor-container > .elementor-column > .elementor-widget-wrap {
		padding: 6px;
	}
	body.nm-design .nm-trust-item .wd-info-box {
		flex-direction: column;
		gap: 10px;
		padding: 16px 14px;
		border-radius: 18px;
		text-align: center;
	}
	body.nm-design .nm-trust-item .wd-info-box::before {
		width: 44px;
		height: 44px;
		background-size: 24px 24px, auto;
	}
	body.nm-design .nm-trust-item .info-box-title {
		font-size: 14px;
		line-height: 22px;
	}
}

/* ==========================================================================
   Categories (section 4): 4 wd_infobox cards (image on top, whole card is
   the infobox link), tinted backgrounds per category.
   ========================================================================== */
body.nm-design .nm-cat-card .wd-info-box {
	position: relative;
	height: 100%;
	padding: 12px 12px 20px;
	border: 1px solid var(--nm-hairline);
	border-radius: var(--nm-r-box);
	text-align: start;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.nm-design .nm-cat-girls .wd-info-box { background: #FAF4F4; }
body.nm-design .nm-cat-boys .wd-info-box { background: #F2F6F8; }
body.nm-design .nm-cat-sets .wd-info-box { background: #F2F5F2; }
body.nm-design .nm-cat-party .wd-info-box { background: #F5F3F8; }
/* Hover: 1.5px caramel border (1px border + .5px ring), shadow, lift 4px */
body.nm-design .nm-cat-card .wd-info-box:hover {
	transform: translateY(-4px);
	border-color: var(--nm-caramel);
	box-shadow: 0 0 0 .5px var(--nm-caramel), var(--nm-shadow);
}
body.nm-design .nm-cat-card .box-icon-wrapper {
	width: 100%;
	margin: 0 0 16px;
}
body.nm-design .nm-cat-card .info-box-icon,
body.nm-design .nm-cat-card .info-box-icon img {
	display: block;
	width: 100%;
	max-width: none;
}
body.nm-design .nm-cat-card .info-box-icon img {
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 20%;
	border-radius: var(--nm-r-card);
	background: var(--nm-surface);
}
body.nm-design .nm-cat-card .info-box-content {
	padding: 0 8px;
}
body.nm-design .nm-cat-card .info-box-title {
	margin: 0 0 4px;
	color: var(--nm-primary);
	font-size: 19px;
	line-height: 30px;
	font-weight: 700;
}
body.nm-design .nm-cat-card .info-box-inner p {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--nm-muted);
	font-size: 14px;
	line-height: 22px;
	font-weight: 500;
}
/* Arrow-left after «مشاهده محصولات» */
body.nm-design .nm-cat-card .info-box-inner p::after {
	content: "";
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M5 12l6 6M5 12l6-6'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M5 12l6 6M5 12l6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 767px) {
	body.nm-design .nm-cats > .elementor-container > .elementor-column > .elementor-widget-wrap {
		padding: 6px;
	}
	body.nm-design .nm-cat-card .wd-info-box {
		padding: 8px 8px 14px;
		border-radius: 20px;
	}
	body.nm-design .nm-cat-card .box-icon-wrapper {
		margin-bottom: 10px;
	}
	body.nm-design .nm-cat-card .info-box-icon img {
		border-radius: 14px;
	}
	body.nm-design .nm-cat-card .info-box-content {
		padding: 0 6px;
	}
	body.nm-design .nm-cat-card .info-box-title {
		margin-bottom: 2px;
		font-size: 15px;
		line-height: 24px;
	}
	body.nm-design .nm-cat-card .info-box-inner p {
		font-size: 13px;
		line-height: 20px;
	}
}

/* ==========================================================================
   Offer (section 5): surface band, chocolate countdown card, sale carousel
   ========================================================================== */
body.nm-design .nm-offer-band > .elementor-widget-wrap {
	padding: 40px;
	border-radius: var(--nm-r-band);
	background: var(--nm-surface);
}
body.nm-design .nm-offer-band .nm-section-title {
	margin-bottom: 28px;
}
body.nm-design .nm-offer-card > .elementor-widget-wrap {
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 16px;
	height: 100%;
	padding: 24px;
	border-radius: var(--nm-r-box);
	background: var(--nm-primary);
	color: var(--nm-bg);
}
body.nm-design .nm-offer-card .elementor-widget {
	margin: 0;
}
body.nm-design .nm-offer-card-title .elementor-heading-title {
	margin: 0;
	color: var(--nm-bg);
	font-size: 20px;
	line-height: 30px;
	font-weight: 700;
}
body.nm-design .nm-offer-card-sub,
body.nm-design .nm-offer-card-sub p {
	margin: -12px 0 0;
	color: var(--nm-surface);
	font-size: 13px;
	line-height: 22px;
}
/* Countdown: days, hours, minutes as banana chips (seconds hidden) */
body.nm-design .nm-offer-countdown .wd-timer {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}
body.nm-design .nm-offer-countdown .wd-timer-sec {
	display: none;
}
body.nm-design .nm-offer-countdown .wd-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 10px 0 8px;
	border: 0;
	border-radius: var(--nm-r-chip);
	background: var(--nm-banana);
	color: var(--nm-primary);
}
body.nm-design .nm-offer-countdown .wd-timer-value {
	color: var(--nm-primary);
	font-size: 24px;
	line-height: 30px;
	font-weight: 700;
}
body.nm-design .nm-offer-countdown .wd-timer-text {
	color: var(--nm-primary);
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;
}
body.nm-design .nm-offer-card-btn {
	margin-top: auto;
}
body.nm-design .nm-offer-card-btn .elementor-button-wrapper,
body.nm-design .nm-offer-card-btn .elementor-button {
	width: 100%;
}
body.nm-design .nm-offer-card-btn .elementor-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 16px;
	border-radius: var(--nm-r-pill);
	background-color: var(--nm-bg);
	color: var(--nm-primary);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
}
body.nm-design .nm-offer-card-btn .elementor-button:hover {
	background-color: var(--nm-banana);
	color: var(--nm-primary);
}
@media (max-width: 1024px) {
	body.nm-design .nm-offer-card {
		margin-bottom: 16px;
	}
}
@media (max-width: 767px) {
	body.nm-design .nm-offer-band > .elementor-widget-wrap {
		padding: 28px 16px;
		border-radius: var(--nm-r-box);
	}
	body.nm-design .nm-offer-band .nm-section-title {
		margin-bottom: 16px;
	}
	body.nm-design .nm-offer-card > .elementor-widget-wrap {
		padding: 20px;
		border-radius: 20px;
	}
	body.nm-design .nm-offer-countdown .wd-timer-value {
		font-size: 19px;
		line-height: 24px;
	}
	body.nm-design .nm-offer-countdown .wd-timer-text {
		font-size: 11px;
		line-height: 16px;
	}
	body.nm-design .nm-offer-countdown .wd-item {
		padding: 6px 0;
		border-radius: 10px;
	}
}

/* ==========================================================================
   Product card (shared by product widgets with class .nm-products)
   SITE-WIDE (body.nm-site, step 19): classic WoodMart widget internals that
   Elementor controls cannot reach; used by the old home (1063) and the atomic home.
   ========================================================================== */
body.nm-site .nm-products .wd-product .wd-product-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--nm-hairline);
	border-radius: var(--nm-r-card);
	background: var(--nm-card);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.nm-site .nm-products .wd-product:hover .wd-product-wrapper {
	transform: translateY(-4px);
	border-color: var(--nm-caramel);
	box-shadow: 0 0 0 .5px var(--nm-caramel), var(--nm-shadow);
}
/* fw-button hover extras are not part of the design: keep the card static */
body.nm-site .nm-products .wd-product .wd-product-card-bg,
body.nm-site .nm-products .wd-product .wd-product-card-hover,
body.nm-site .nm-products .wd-product .wd-compare-btn,
body.nm-site .nm-products .wd-product .wd-quick-view-btn {
	display: none;
}
/* Image area 4:5 on surface */
body.nm-site .nm-products .wd-product .product-element-top {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--nm-r-card) var(--nm-r-card) 0 0;
	background: var(--nm-surface);
}
body.nm-site .nm-products .wd-product .product-element-top img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Badges top-right (start side in RTL) */
body.nm-site .nm-products .wd-product .product-labels {
	top: 12px;
	inset-inline-start: 12px;
	inset-inline-end: auto;
	gap: 6px;
}
body.nm-site .nm-products .wd-product .product-label {
	min-width: 0;
	min-height: 0;
	padding: 3px 10px;
	border-radius: var(--nm-r-pill);
	background-color: var(--nm-banana);
	color: var(--nm-primary);
	font-size: 12px;
	line-height: 20px;
	font-weight: 700;
}
/* Wishlist: 36px white circle top-left, always visible */
body.nm-site .nm-products .wd-product .wd-buttons {
	top: 4px;
	left: 4px;
	right: auto;
	opacity: 1;
	visibility: visible;
	transform: none;
	background: none;
	box-shadow: none;
}
body.nm-site .nm-products .wd-product .wd-wishlist-btn > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 4px;
	border-radius: 50%;
	background: var(--nm-card);
	color: var(--nm-primary);
}
/* Text area */
body.nm-site .nm-products .wd-product .product-element-bottom {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 14px 14px 16px;
	text-align: start;
}
body.nm-site .nm-products .wd-product .wd-entities-title {
	display: -webkit-box;
	height: 48px;
	margin: 0;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 15px;
	line-height: 24px;
	font-weight: 500;
	white-space: normal;
}
body.nm-site .nm-products .wd-product .wd-entities-title a {
	color: var(--nm-primary);
}
body.nm-site .nm-products .wd-product .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin-top: auto;
	color: var(--nm-primary);
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
}
body.nm-site .nm-products .wd-product .price ins {
	order: -1;
	text-decoration: none;
	color: var(--nm-primary);
}
body.nm-site .nm-products .wd-product .price del {
	color: var(--nm-muted);
	font-size: 13px;
	line-height: 22px;
	font-weight: 400;
	opacity: 1;
}
body.nm-site .nm-products .wd-product .woocommerce-Price-currencySymbol {
	font-size: 13px;
	font-weight: 400;
}
/* Add to cart: always visible, full-width pill */
body.nm-site .nm-products .wd-product .wd-add-btn {
	position: static;
	width: 100%;
	opacity: 1;
	visibility: visible;
	transform: none;
}
body.nm-site .nm-products .wd-product .wd-add-btn > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border-radius: var(--nm-r-pill);
	background-color: var(--nm-primary);
	color: var(--nm-bg);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
}
body.nm-site .nm-products .wd-product .wd-add-btn > a:hover {
	background-color: var(--nm-muted);
	color: var(--nm-bg);
}
body.nm-site .nm-products .wd-product .wd-add-btn .wd-action-icon {
	display: none;
}
body.nm-site .nm-products .wd-product .wd-add-btn .wd-action-text {
	display: inline;
	position: static;
	opacity: 1;
	transform: none;
}
/* Carousel arrows: same 44px white circles as the hero */
body.nm-site .nm-products .wd-btn-arrow .wd-arrow-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--nm-caramel);
	border-radius: 50%;
	background: var(--nm-card);
	color: var(--nm-primary);
}
body.nm-site .nm-products .wd-btn-arrow:hover .wd-arrow-inner {
	border-color: var(--nm-primary);
	background: var(--nm-primary);
	color: var(--nm-bg);
}
/* Pagination dots under product carousels (same as the hero): 8px caramel dots,
   active = 28px chocolate pill, each in a 28x44 hit area, centred 16px below the cards.
   Shown only where the widget's "Pagination" is on (the atomic home, step 19c). */
body.nm-site .nm-products .wd-nav-pagin-wrap {
	display: flex;
	justify-content: center;
	margin-top: 16px;
}
body.nm-site .nm-products .wd-nav-pagin {
	display: flex;
	justify-content: center;
	gap: 0;
	margin: 0;
}
body.nm-site .nm-products .wd-nav-pagin li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 44px;
	margin: 0;
}
body.nm-site .nm-products .wd-nav-pagin li span {
	width: 8px;
	height: 8px;
	border: 0;
	border-radius: var(--nm-r-pill);
	background: var(--nm-caramel);
	opacity: 1;
	transition: width .2s ease, background-color .2s ease;
}
body.nm-site .nm-products .wd-nav-pagin li.wd-active span,
body.nm-site .nm-products .wd-nav-pagin li.active span {
	width: 28px;
	background: var(--nm-primary);
}
/* Mobile compact card */
@media (max-width: 767px) {
	body.nm-site .nm-products .wd-nav-arrows {
		display: none;
	}
	body.nm-site .nm-products .wd-product .wd-product-wrapper {
		border-radius: 14px;
	}
	body.nm-site .nm-products .wd-product .product-element-top {
		border-radius: 14px 14px 0 0;
	}
	body.nm-site .nm-products .wd-product .product-labels {
		top: 8px;
		inset-inline-start: 8px;
		gap: 4px;
	}
	body.nm-site .nm-products .wd-product .product-label {
		padding: 2px 8px;
		font-size: 11px;
		line-height: 18px;
		white-space: nowrap;
	}
	body.nm-site .nm-products .wd-product .wd-wishlist-btn > a {
		width: 32px;
		height: 32px;
		margin: 6px;
	}
	body.nm-site .nm-products .wd-product .product-element-bottom {
		gap: 8px;
		padding: 10px 10px 12px;
	}
	body.nm-site .nm-products .wd-product .wd-entities-title {
		height: 40px;
		font-size: 13px;
		line-height: 20px;
	}
	/* Old price on its own line above the price */
	body.nm-site .nm-products .wd-product .price {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		min-height: 40px;
		justify-content: flex-end;
		font-size: 14px;
		line-height: 22px;
		white-space: nowrap;
	}
	body.nm-site .nm-products .wd-product .price ins {
		order: 0;
	}
	body.nm-site .nm-products .wd-product .price del {
		font-size: 12px;
		line-height: 18px;
	}
	body.nm-site .nm-products .wd-product .woocommerce-Price-currencySymbol {
		font-size: 11px;
	}
	body.nm-site .nm-products .wd-product .wd-add-btn > a {
		height: 40px;
		padding: 0 8px;
		font-size: 13px;
		white-space: nowrap;
	}
}

/* ==========================================================================
   SnappPay (section 6): white card, caramel border; mascot | text | steps |
   divider + official logo. The Snapp Pay logo is never recoloured or styled
   beyond its size.
   ========================================================================== */
body.nm-design .nm-snapp-card > .elementor-widget-wrap {
	padding: 32px 40px;
	border: 2px solid var(--nm-caramel);
	border-radius: 28px;
	background: var(--nm-card);
}
body.nm-design .nm-snapp-row > .elementor-container > .elementor-column > .elementor-widget-wrap {
	align-content: center;
	padding: 0 16px;
}
body.nm-design .nm-snapp-row .elementor-widget {
	margin-bottom: 0;
}
body.nm-design .nm-snapp-mascot img {
	display: block;
	width: 136px;
	height: auto;
	margin: -12px auto;
}
body.nm-design .nm-snapp-title .elementor-heading-title {
	margin: 0 0 14px;
	color: var(--nm-primary);
	font-size: 24px;
	line-height: 36px;
	font-weight: 700;
}
/* Chips with a small caramel check */
body.nm-design .nm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}
body.nm-design .nm-chips li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 5px 14px;
	border: 1px solid var(--nm-hairline);
	border-radius: var(--nm-r-pill);
	background: var(--nm-bg);
	color: var(--nm-primary);
	font-size: 13px;
	line-height: 22px;
	font-weight: 500;
}
body.nm-design .nm-chips li::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background-color: var(--nm-caramel);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0'/%3E%3Cpath d='M9 12l2 2l4 -4'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0'/%3E%3Cpath d='M9 12l2 2l4 -4'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Primary pill button (wd_button) with arrow-left icon */
body.nm-design .nm-btn-primary .wd-button-wrapper {
	text-align: start;
}
body.nm-design .nm-btn-primary .btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--nm-r-pill);
	background-color: var(--nm-primary);
	color: var(--nm-bg);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-transform: none;
}
body.nm-design .nm-btn-primary .btn:hover {
	background-color: var(--nm-muted);
	color: var(--nm-bg);
}
body.nm-design .nm-btn-primary .btn::after {
	content: "";
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M5 12l6 6M5 12l6-6'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M5 12l6 6M5 12l6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* 4 steps joined by a hairline */
body.nm-design .nm-steps {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.nm-design .nm-steps::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 20px;
	left: 20px;
	height: 2px;
	margin-top: -1px;
	background: var(--nm-hairline);
}
body.nm-design .nm-steps li {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	border: 1.5px solid var(--nm-primary);
	border-radius: 50%;
	background: var(--nm-card);
	color: var(--nm-primary);
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
}
body.nm-design .nm-steps li:first-child {
	background: var(--nm-primary);
	color: var(--nm-bg);
}
/* Divider + official logo */
body.nm-design .nm-snapp-logo-col > .elementor-widget-wrap {
	justify-content: center;
	border-inline-start: 1px solid var(--nm-hairline);
}
body.nm-design .nm-snapp-logo img {
	display: block;
	width: auto;
	height: 56px;
	min-height: 32px;
	margin: 0 auto;
	background: var(--nm-card);
}
@media (max-width: 1024px) {
	body.nm-design .nm-snapp-row > .elementor-container > .elementor-column > .elementor-widget-wrap {
		justify-content: center;
		padding: 8px 0;
		text-align: center;
	}
	body.nm-design .nm-chips {
		justify-content: center;
	}
	body.nm-design .nm-btn-primary .wd-button-wrapper {
		text-align: center;
	}
	body.nm-design .nm-steps {
		max-width: 320px;
		margin: 8px auto;
	}
	body.nm-design .nm-snapp-logo-col > .elementor-widget-wrap {
		margin-top: 8px;
		padding-top: 16px;
		border-inline-start: 0;
		border-top: 1px solid var(--nm-hairline);
	}
}
@media (max-width: 767px) {
	body.nm-design .nm-snapp-card > .elementor-widget-wrap {
		padding: 24px 16px;
		border-radius: var(--nm-r-box);
	}
	body.nm-design .nm-snapp-mascot img {
		width: 104px;
		margin: -8px auto 0;
	}
	body.nm-design .nm-snapp-title .elementor-heading-title {
		font-size: 20px;
		line-height: 32px;
		text-wrap: balance;
	}
	body.nm-design .nm-chips {
		gap: 6px;
	}
	body.nm-design .nm-chips li {
		padding: 4px 10px;
	}
	body.nm-design .nm-snapp-btn .wd-button-wrapper,
	body.nm-design .nm-snapp-btn .btn {
		width: 100%;
	}
	body.nm-design .nm-snapp-btn .btn {
		justify-content: center;
	}
	body.nm-design .nm-snapp-logo img {
		height: 40px;
	}
}

/* ==========================================================================
   Banners (section 7): two wd_banner photos (16:9, radius 24) with a cream
   text plate on the empty side of each photo.
   ========================================================================== */
body.nm-design .nm-banners .elementor-column > .elementor-widget-wrap {
	padding: 12px;
}
body.nm-design .nm-banner .promo-banner {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--nm-r-box);
	background: var(--nm-surface);
}
body.nm-design .nm-banner .main-wrapp-img,
body.nm-design .nm-banner .banner-image {
	height: 100%;
}
body.nm-design .nm-banner .banner-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}
body.nm-design .nm-banner .wrapper-content-banner {
	padding: 24px 36px;
}
body.nm-design .nm-banner .content-banner {
	max-width: 260px;
	padding: 22px 26px;
	border-radius: 20px;
	background: rgba(251, 247, 242, .92);
	text-align: start;
}
body.nm-design .nm-banner .banner-title {
	margin: 0 0 4px;
	color: var(--nm-primary);
	font-size: 26px;
	line-height: 36px;
	font-weight: 700;
}
body.nm-design .nm-banner .banner-inner,
body.nm-design .nm-banner .banner-inner p {
	margin: 0;
	color: var(--nm-muted);
	font-size: 15px;
	line-height: 26px;
}
body.nm-design .nm-banner .banner-btn-wrapper {
	margin-top: 12px;
}
body.nm-design .nm-banner .banner-btn-wrapper .wd-button-wrapper {
	text-align: start;
}
body.nm-design .nm-banner .banner-btn-wrapper .btn {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 32px;
	border: 0;
	border-radius: var(--nm-r-pill);
	background-color: var(--nm-primary);
	color: var(--nm-bg);
	font-size: 15px;
	font-weight: 500;
	text-transform: none;
}
body.nm-design .nm-banner .banner-btn-wrapper .btn:hover {
	background-color: var(--nm-muted);
	color: var(--nm-bg);
}
@media (max-width: 767px) {
	body.nm-design .nm-banners .elementor-column > .elementor-widget-wrap {
		padding: 8px 0;
	}
	body.nm-design .nm-banner-girls .banner-image img {
		object-position: 22% 30%;
	}
	body.nm-design .nm-banner-boys .banner-image img {
		object-position: 78% 30%;
	}
	body.nm-design .nm-banner .wrapper-content-banner {
		padding: 12px;
	}
	body.nm-design .nm-banner .content-banner {
		max-width: 172px;
		padding: 14px;
		border-radius: 16px;
	}
	body.nm-design .nm-banner .banner-title {
		font-size: 20px;
		line-height: 30px;
	}
	body.nm-design .nm-banner .banner-inner,
	body.nm-design .nm-banner .banner-inner p {
		font-size: 13px;
		line-height: 22px;
	}
	body.nm-design .nm-banner .banner-btn-wrapper {
		margin-top: 8px;
	}
	body.nm-design .nm-banner .banner-btn-wrapper .btn {
		min-height: 40px;
		padding: 0 22px;
		font-size: 14px;
	}
}

/* ==========================================================================
   Tabs (section 8): wd_products_tabs header; cards use the Product card block.
   SITE-WIDE (body.nm-site, step 19): classic WoodMart widget internals that
   Elementor controls cannot reach; used by the old home (1063) and the atomic home.
   ========================================================================== */
body.nm-site .nm-tabs .wd-tabs-header {
	margin-bottom: 28px;
	border-bottom: 1px solid var(--nm-hairline);
}
body.nm-site .nm-tabs .products-tabs-title {
	gap: 36px;
	margin: 0 0 -1px;
}
body.nm-site .nm-tabs .products-tabs-title > li > a {
	padding: 0 2px;
	height: 52px;
	border-bottom: 3px solid transparent;
	color: var(--nm-muted);
	font-size: 20px;
	font-weight: 700;
}
/* Replace WoodMart's own underline with the banana one */
body.nm-site .nm-tabs .products-tabs-title > li > a::after,
body.nm-site .nm-tabs .products-tabs-title > li > a::before {
	display: none;
}
body.nm-site .nm-tabs .products-tabs-title > li > a .nav-link-text {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}
body.nm-site .nm-tabs .products-tabs-title > li.wd-active > a,
body.nm-site .nm-tabs .products-tabs-title > li > a:hover {
	color: var(--nm-primary);
}
body.nm-site .nm-tabs .products-tabs-title > li.wd-active > a {
	border-bottom-color: var(--nm-banana);
}
@media (max-width: 767px) {
	body.nm-site .nm-tabs .wd-tabs-header {
		margin-bottom: 16px;
	}
	body.nm-site .nm-tabs .wd-nav-tabs-wrapper,
	body.nm-site .nm-tabs .products-tabs-title {
		width: 100%;
	}
	body.nm-site .nm-tabs .products-tabs-title {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}
	body.nm-site .nm-tabs .products-tabs-title > li > a {
		justify-content: center;
		height: 48px;
		font-size: 17px;
	}
}

/* ==========================================================================
   Age (section 9): surface band, title + sitting mascot, 4 age pills
   ========================================================================== */
body.nm-design .nm-age-band > .elementor-widget-wrap {
	padding: 40px;
	border-radius: var(--nm-r-band);
	background: var(--nm-surface);
}
body.nm-design .nm-age-head {
	margin-bottom: 24px;
}
body.nm-design .nm-age-head .elementor-widget {
	margin-bottom: 0;
}
body.nm-design .nm-age-head > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap {
	justify-content: flex-end;
}
body.nm-design .nm-age-mascot img {
	display: block;
	width: 120px;
	height: auto;
	margin: -16px 0;
}
body.nm-design .nm-age-pill .elementor-button-wrapper,
body.nm-design .nm-age-pill .elementor-button {
	width: 100%;
}
body.nm-design .nm-age-pill .elementor-button {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	padding: 0 16px;
	border: 1.5px solid var(--nm-caramel);
	border-radius: var(--nm-r-pill);
	background-color: var(--nm-card);
	color: var(--nm-primary);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
body.nm-design .nm-age-pill .elementor-button:hover,
body.nm-design .nm-age-pill .elementor-button:focus-visible {
	border-color: var(--nm-primary);
	background-color: var(--nm-primary);
	color: var(--nm-bg);
}
@media (max-width: 767px) {
	body.nm-design .nm-age-band > .elementor-widget-wrap {
		padding: 28px 16px;
		border-radius: var(--nm-r-box);
	}
	body.nm-design .nm-age-head {
		margin-bottom: 16px;
	}
	body.nm-design .nm-age-mascot img {
		width: 72px;
		margin: -8px 0;
	}
	body.nm-design .nm-age-pills > .elementor-container > .elementor-column > .elementor-widget-wrap {
		padding: 5px;
	}
	body.nm-design .nm-age-pill .elementor-button {
		height: 52px;
		font-size: 15px;
	}
}

/* ==========================================================================
   About (section 10): text card (sample content marked .nm-sample) and the
   store photo card with an empty arch frame (.nm-arch from the Hero block).
   ========================================================================== */
body.nm-design .nm-about-card > .elementor-widget-wrap {
	align-content: flex-start;
	gap: 0 12px;
	padding: 32px;
	border: 1px solid var(--nm-hairline);
	border-radius: var(--nm-r-box);
	background: var(--nm-card);
}
body.nm-design .nm-about-card .elementor-widget {
	margin-bottom: 20px;
}
body.nm-design .nm-about-text,
body.nm-design .nm-about-text p {
	max-width: 520px;
	margin: 0;
	color: var(--nm-muted);
	font-size: 15px;
	line-height: 26px;
}
/* Info rows: caramel icon in a 40px cream circle, label above value */
body.nm-design .nm-info {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.nm-design .nm-info li {
	display: grid;
	grid-template-columns: 40px 1fr;
	column-gap: 14px;
	align-items: center;
	margin: 0;
}
body.nm-design .nm-info li::before {
	content: "";
	grid-row: span 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--nm-icon) center / 20px 20px no-repeat, var(--nm-bg);
}
body.nm-design .nm-info-address {
	--nm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0'/%3E%3Cpath d='M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z'/%3E%3C/svg%3E");
}
body.nm-design .nm-info-phone {
	--nm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2'/%3E%3C/svg%3E");
}
body.nm-design .nm-info-hours {
	--nm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
}
body.nm-design .nm-info-label {
	color: var(--nm-muted);
	font-size: 13px;
	line-height: 20px;
}
body.nm-design .nm-info-value {
	color: var(--nm-primary);
	font-size: 15px;
	line-height: 24px;
	font-weight: 500;
}
body.nm-design a.nm-info-value {
	justify-self: start;
}
/* Pill buttons: primary (filled) and secondary (outline) */
body.nm-design .nm-pill {
	margin-bottom: 0;
}
body.nm-design .nm-pill .elementor-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 28px;
	border: 1.5px solid var(--nm-primary);
	border-radius: var(--nm-r-pill);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
body.nm-design .nm-pill-primary .elementor-button {
	background-color: var(--nm-primary);
	color: var(--nm-bg);
}
body.nm-design .nm-pill-primary .elementor-button:hover {
	border-color: var(--nm-muted);
	background-color: var(--nm-muted);
	color: var(--nm-bg);
}
body.nm-design .nm-pill-outline .elementor-button {
	background-color: transparent;
	color: var(--nm-primary);
}
body.nm-design .nm-pill-outline .elementor-button:hover {
	background-color: var(--nm-primary);
	color: var(--nm-bg);
}
/* Map icon before «مسیریابی» */
body.nm-design .nm-pill-map .elementor-button::before {
	content: "";
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18.5l-3 -1.5l-6 3v-13l6 -3l6 3l6 -3v7.5'/%3E%3Cpath d='M9 4v13'/%3E%3Cpath d='M15 7v5.5'/%3E%3Cpath d='M21.121 20.121a3 3 0 1 0 -4.242 0c.418 .419 1.125 1.045 2.121 1.879c1.051 -.89 1.759 -1.516 2.121 -1.879z'/%3E%3Cpath d='M19 18v.01'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18.5l-3 -1.5l-6 3v-13l6 -3l6 3l6 -3v7.5'/%3E%3Cpath d='M9 4v13'/%3E%3Cpath d='M15 7v5.5'/%3E%3Cpath d='M21.121 20.121a3 3 0 1 0 -4.242 0c.418 .419 1.125 1.045 2.121 1.879c1.051 -.89 1.759 -1.516 2.121 -1.879z'/%3E%3Cpath d='M19 18v.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Store photo card with the arch frame; the placeholder takes the photo's shape */
body.nm-design .nm-about-photo > .elementor-widget-wrap {
	align-content: center;
	justify-content: center;
	height: 100%;
	padding: 24px;
	border-radius: var(--nm-r-box);
	background: var(--nm-surface);
}
body.nm-design .nm-store-arch .elementor-widget-container {
	width: 340px;
	border-radius: 170px 170px 28px 28px;
}
body.nm-design .nm-store-arch img,
body.nm-design .nm-arch-placeholder {
	border-radius: 160px 160px 20px 20px;
}
body.nm-design .nm-arch-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	padding: 16px;
	background: var(--nm-surface);
}
body.nm-design .nm-arch-placeholder span {
	padding: 5px 10px;
	border-radius: var(--nm-r-label);
	background: var(--nm-bg);
	color: var(--nm-muted);
	font-size: 14px;
	line-height: 22px;
	text-align: center;
}
@media (max-width: 1024px) {
	body.nm-design .nm-store-arch .elementor-widget-container {
		width: 300px;
		border-radius: 150px 150px 26px 26px;
	}
	body.nm-design .nm-store-arch img,
	body.nm-design .nm-arch-placeholder {
		border-radius: 140px 140px 18px 18px;
	}
}
@media (max-width: 767px) {
	body.nm-design .nm-about-card > .elementor-widget-wrap {
		padding: 24px 16px;
	}
	body.nm-design .nm-about-card .elementor-widget {
		margin-bottom: 16px;
	}
	body.nm-design .nm-about-text,
	body.nm-design .nm-about-text p {
		font-size: 14px;
	}
	body.nm-design .nm-pill.elementor-widget {
		width: calc(50% - 6px);
		margin-bottom: 0;
	}
	body.nm-design .nm-pill .elementor-button-wrapper,
	body.nm-design .nm-pill .elementor-button {
		width: 100%;
	}
	body.nm-design .nm-pill .elementor-button {
		justify-content: center;
		padding: 0 12px;
	}
	body.nm-design .nm-about-photo {
		margin-top: 12px;
	}
	body.nm-design .nm-about-photo > .elementor-widget-wrap {
		padding: 28px;
	}
	body.nm-design .nm-store-arch .elementor-widget-container {
		width: 256px;
		border-radius: 128px 128px 22px 22px;
	}
	body.nm-design .nm-store-arch img,
	body.nm-design .nm-arch-placeholder {
		border-radius: 118px 118px 16px 16px;
	}
	body.nm-design .nm-arch-placeholder span {
		font-size: 12px;
	}
}

/* ==========================================================================
   Footer (HTML block "nm-footer"; body.nm-site = pages that use this block). Columns 2-4 are <details> accordions:
   always open from 768px (script in nm-design.php), collapsible on mobile.
   ========================================================================== */
body.nm-site .wd-footer {
	margin-top: 96px;
	padding: 0;
	background: var(--nm-primary);
}
body.nm-site .wd-footer .main-footer {
	max-width: none;
	padding: 0;
}
body.nm-site .nm-footer {
	background: var(--nm-primary);
	color: var(--nm-surface);
}
body.nm-site .nm-footer .elementor-widget {
	margin-bottom: 0;
}
body.nm-site .nm-footer-main {
	padding: 64px 0 48px;
}
body.nm-site .nm-footer-main .nm-fcol > .elementor-widget-wrap {
	align-content: flex-start;
	padding: 0 20px;
}
/* Brand column */
body.nm-site .nm-footer-logo img {
	display: block;
	width: auto;
	height: 104px;
}
body.nm-site .nm-footer-about {
	margin-top: 16px;
}
body.nm-site .nm-footer-about,
body.nm-site .nm-footer-about p {
	margin-bottom: 0;
	color: var(--nm-surface);
	font-size: 15px;
	line-height: 26px;
}
/* Column titles (summary of the accordion on mobile) */
body.nm-site .nm-footer .nm-footer-title {
	display: block;
	margin: 0 0 18px;
	color: var(--nm-bg);
	font-size: 16px;
	line-height: 26px;
	font-weight: 700;
	list-style: none;
	cursor: default;
}
body.nm-site .nm-footer summary.nm-footer-title::-webkit-details-marker {
	display: none;
}
body.nm-site .nm-footer summary.nm-footer-title::marker {
	content: "";
}
/* Link lists */
body.nm-site .nm-flinks {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.nm-site .nm-flinks li {
	margin: 0;
}
body.nm-site .nm-footer .nm-flinks a {
	color: var(--nm-surface);
	font-size: 15px;
	line-height: 24px;
}
body.nm-site .nm-footer .nm-flinks a:hover,
body.nm-site .nm-footer .nm-flinks a:focus-visible {
	color: var(--nm-banana);
}
/* Contact rows: caramel 20px icons */
body.nm-site .nm-finfo {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.nm-site .nm-finfo li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: var(--nm-surface);
	font-size: 15px;
	line-height: 26px;
}
body.nm-site .nm-finfo li::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 3px;
	background: var(--nm-icon) center / contain no-repeat;
}
body.nm-site .nm-finfo-address {
	--nm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0'/%3E%3Cpath d='M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z'/%3E%3C/svg%3E");
}
body.nm-site .nm-finfo-phone {
	--nm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2'/%3E%3C/svg%3E");
}
body.nm-site .nm-footer .nm-finfo a {
	color: var(--nm-surface);
}
body.nm-site .nm-footer .nm-finfo a:hover {
	color: var(--nm-banana);
}
/* Round social buttons */
body.nm-site .nm-social-round {
	display: flex;
	gap: 8px;
	margin-top: 18px;
}
body.nm-site .nm-footer .nm-social-round a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--nm-muted);
	border-radius: 50%;
	color: var(--nm-bg);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
body.nm-site .nm-footer .nm-social-round a:hover,
body.nm-site .nm-footer .nm-social-round a:focus-visible {
	border-color: var(--nm-bg);
	background: var(--nm-bg);
	color: var(--nm-primary);
}
/* Symbols: eNamad slot (placeholder until the real code) + Snapp Pay card */
body.nm-site .nm-symbols {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
body.nm-site .nm-enamad-ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 120px;
	padding: 8px;
	border: 2px dashed var(--nm-caramel);
	border-radius: 14px;
	background: var(--nm-card);
	text-align: center;
}
body.nm-site .nm-enamad-ph strong {
	color: var(--nm-primary);
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
}
body.nm-site .nm-enamad-ph span {
	color: var(--nm-muted);
	font-size: 11px;
	line-height: 16px;
	font-weight: 400;
}
body.nm-site .nm-snapp-mini-card {
	display: inline-flex;
	padding: 12px 18px;
	border-radius: 14px;
	background: var(--nm-card);
}
body.nm-site .nm-snapp-mini {
	display: block;
	width: auto;
	height: 32px;
}
/* Bottom bar */
body.nm-site .nm-footer-bottom {
	border-top: 1px solid rgba(251, 247, 242, .16);
}
body.nm-site .nm-footer-copy {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 64px;
}
body.nm-site .nm-footer-copy p {
	margin: 0;
	color: var(--nm-surface);
	font-size: 13px;
	line-height: 22px;
	text-align: center;
}
/* Tablet: brand on top (full width), links / guide / contact, then symbols */
@media (max-width: 1024px) {
	body.nm-site .nm-footer-main {
		padding: 48px 4px 32px;
	}
	body.nm-site .nm-fcol-brand > .elementor-widget-wrap {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 16px;
		margin-bottom: 32px;
	}
	body.nm-site .nm-fcol-brand .elementor-widget {
		width: auto;
	}
	body.nm-site .nm-footer-logo img {
		height: 88px;
	}
	body.nm-site .nm-footer-about {
		margin-top: 0;
	}
	body.nm-site .nm-fcol-symbols {
		margin-top: 32px;
	}
	body.nm-site .nm-symbols {
		flex-direction: row;
		align-items: center;
	}
}
/* Mobile: logo beside text, accordion rows, badges side by side */
@media (max-width: 767px) {
	body.nm-site .wd-footer {
		margin-top: 48px;
	}
	body.nm-site .nm-footer-main {
		padding: 32px 16px 0;
	}
	body.nm-site .nm-footer-main .nm-fcol > .elementor-widget-wrap {
		padding: 0;
	}
	body.nm-site .nm-fcol-brand > .elementor-widget-wrap {
		margin-bottom: 20px;
	}
	body.nm-site .nm-footer-logo img {
		height: 80px;
	}
	body.nm-site .nm-footer-about,
	body.nm-site .nm-footer-about p {
		font-size: 14px;
		line-height: 24px;
	}
	body.nm-site .nm-fcol-quick {
		border-top: 1px solid rgba(251, 247, 242, .16);
	}
	body.nm-site .nm-footer details.nm-acc {
		border-bottom: 1px solid rgba(251, 247, 242, .16);
	}
	body.nm-site .nm-footer summary.nm-footer-title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 56px;
		margin: 0;
		font-size: 15px;
		cursor: pointer;
	}
	body.nm-site .nm-footer summary.nm-footer-title::after {
		content: "";
		width: 20px;
		height: 20px;
		background-color: var(--nm-caramel);
		transition: transform .2s ease;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	body.nm-site .nm-footer details[open] > summary.nm-footer-title::after {
		transform: rotate(180deg);
	}
	body.nm-site .nm-flinks {
		gap: 0;
		padding: 8px 0 12px;
	}
	body.nm-site .nm-footer .nm-flinks a {
		display: flex;
		align-items: center;
		height: 40px;
	}
	body.nm-site .nm-acc-body {
		padding: 12px 0 16px;
	}
	body.nm-site .nm-finfo {
		gap: 10px;
	}
	body.nm-site .nm-fcol-symbols {
		margin-top: 0;
	}
	body.nm-site .nm-symbols-title {
		display: none;
	}
	body.nm-site .nm-symbols {
		flex-direction: row;
		align-items: center;
		gap: 12px;
		padding: 24px 0;
	}
	body.nm-site .nm-enamad-ph {
		width: 84px;
		height: 92px;
		border-radius: 12px;
	}
	body.nm-site .nm-enamad-ph strong,
	body.nm-site .nm-enamad-ph span {
		font-size: 10px;
		line-height: 14px;
	}
	body.nm-site .nm-snapp-mini-card {
		padding: 10px 14px;
		border-radius: 12px;
	}
	body.nm-site .nm-footer-copy {
		height: auto;
		padding: 16px 0 20px;
	}
}

/* ==========================================================================
   Bottom bar (WoodMart sticky toolbar on body.nm-site pages; WoodMart shows it
   up to 1024px).
   ========================================================================== */
@media (max-width: 1024px) {
	body.nm-site.sticky-toolbar-on {
		padding-bottom: calc(64px + env(safe-area-inset-bottom));
	}
	body.nm-site .wd-toolbar {
		height: calc(64px + env(safe-area-inset-bottom));
		padding: 0 0 env(safe-area-inset-bottom);
		border-top: 1px solid var(--nm-hairline);
		background: var(--nm-card);
		box-shadow: none;
	}
	body.nm-site .wd-toolbar > .wd-tools-element {
		flex: 1 1 0;
	}
	body.nm-site .wd-toolbar > .wd-tools-element > a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		height: 64px;
		color: var(--nm-muted);
	}
	body.nm-site .wd-toolbar .wd-tools-icon {
		position: relative;
		width: 24px;
		height: 24px;
		color: inherit;
	}
	/* Tabler icons drawn with CSS masks instead of the theme icon font */
	body.nm-site .wd-toolbar .wd-tools-icon::before {
		content: "";
		display: block;
		width: 24px;
		height: 24px;
		background-color: currentColor;
		font-size: 0;
		-webkit-mask: var(--nm-tb-icon) center / contain no-repeat;
		mask: var(--nm-tb-icon) center / contain no-repeat;
	}
	body.nm-site .wd-toolbar .wd-tools-icon::after {
		display: none;
	}
	body.nm-site .wd-toolbar .wd-toolbar-shop {
		--nm-tb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l18 0'/%3E%3Cpath d='M3 7v1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1h-18l2 -4h14l2 4'/%3E%3Cpath d='M5 21l0 -10.15'/%3E%3Cpath d='M19 21l0 -10.15'/%3E%3Cpath d='M9 21v-4a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v4'/%3E%3C/svg%3E");
	}
	body.nm-site .wd-toolbar .wd-header-wishlist {
		--nm-tb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572'/%3E%3C/svg%3E");
	}
	body.nm-site .wd-toolbar .wd-header-cart {
		--nm-tb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.331 8h11.339a2 2 0 0 1 1.977 2.304l-1.255 8.152a3 3 0 0 1 -2.966 2.544h-6.852a3 3 0 0 1 -2.965 -2.544l-1.255 -8.152a2 2 0 0 1 1.977 -2.304z'/%3E%3Cpath d='M9 11v-5a3 3 0 0 1 6 0v5'/%3E%3C/svg%3E");
	}
	body.nm-site .wd-toolbar .wd-header-my-account {
		--nm-tb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'/%3E%3C/svg%3E");
	}
	body.nm-site .wd-toolbar .wd-toolbar-label {
		margin: 0;
		color: inherit;
		font-size: 12px;
		line-height: 18px;
		font-weight: 500;
	}
	/* Shop is the active item of the home page */
	body.nm-site .wd-toolbar .wd-toolbar-shop > a {
		color: var(--nm-primary);
	}
	body.nm-site .wd-toolbar .wd-toolbar-shop .wd-toolbar-label {
		font-weight: 700;
	}
	/* Cart badge: banana pill at the top-left of the bag, hidden at 0 */
	body.nm-site .wd-toolbar .wd-cart-number {
		position: absolute;
		top: -6px;
		left: -10px;
		right: auto;
		min-width: 18px;
		height: 18px;
		padding: 0 4px;
		border-radius: var(--nm-r-pill);
		background: var(--nm-banana);
		color: var(--nm-primary);
		font-size: 11px;
		line-height: 18px;
		font-weight: 700;
		text-align: center;
	}
	body.nm-site .wd-toolbar .wd-cart-number > span {
		display: none;
	}
	body.nm-site .wd-toolbar .wd-cart-number.nm-zero {
		display: none;
	}
}

/* ==========================================================================
   Sticky category navigation (WoodMart, menu "nm-category-menu"), nm-site pages
   ========================================================================== */
body.nm-site .wd-sticky-nav {
	border-inline-end: 1px solid var(--nm-hairline);
	background: var(--nm-card);
	box-shadow: var(--nm-shadow);
}
body.nm-site .wd-sticky-nav-title {
	color: var(--nm-primary);
	font-size: 15px;
	font-weight: 700;
}
body.nm-site .wd-nav-sticky > li > a {
	color: var(--nm-primary);
	font-size: 15px;
	font-weight: 500;
}
body.nm-site .wd-nav-sticky > li > a:hover,
body.nm-site .wd-nav-sticky > li.current-menu-item > a {
	background: var(--nm-surface);
	color: var(--nm-primary);
}

/* ==========================================================================
   Screen-reader-only text (e.g. hidden section h2s): visually hidden,
   still read by screen readers and search engines.
   ========================================================================== */
body.nm-design .nm-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   SITE-WIDE (body.nm-site, step 19): WoodMart countdown as 4 boxes (promo card 4b).
   Widget CSS class "nm-countdown-boxes". Box colour, hairline border, 12px radius,
   digit and label sizes/colours and the gap come from the widget's own Style
   controls; WoodMart has no control for this layout, so it lives here:
   4 equal columns (days, hours, minutes, seconds), number above label.
   ========================================================================== */
body.nm-site .nm-countdown-boxes .wd-timer {
	direction: rtl; /* days first (right), seconds last */
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	width: 100%;
}
body.nm-site .nm-countdown-boxes .wd-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 8px 0 6px;
}
body.nm-site .nm-countdown-boxes .wd-timer-value,
body.nm-site .nm-countdown-boxes .wd-timer-text {
	font-family: var(--nm-font);
}
@media (max-width: 767px) {
	body.nm-site .nm-countdown-boxes .wd-timer {
		gap: 8px;
	}
}

/* ==========================================================================
   SITE-WIDE (body.nm-site, step 19b): cream page background (--nm-bg #FBF7F2).
   WoodMart paints the body white and .main-page-wrapper #F4F3F5 from its own
   settings; every page with the nm footer gets the brand cream instead.
   ========================================================================== */
body.nm-site,
body.nm-site .website-wrapper,
body.nm-site .main-page-wrapper {
	background-color: var(--nm-bg);
}
