/* ===== Template colours ===== */
.nmlb {
	--bg: #fff8e7; --card: #fff; --fg: #1f2328; --muted: #5d6470; --line: #f1d9a7;
	--accent: #e02424; --accent-dk: #b91c1c; --accent-fg: #fff; --head: #e02424;
	--top: #fff; --input: #fff; --input-line: #cfd4dc; --soft: #fff3f3; --max: 720px;
}
.nmlb.tpl-fresh-green {
	--bg: #f4fbf3; --card: #fff; --fg: #1d2a1f; --muted: #5a6b5d; --line: #d4ebd5;
	--accent: #2e9e3f; --accent-dk: #217a2f; --accent-fg: #fff; --head: #1f7a2e;
	--top: #fff; --soft: #eef9ef; --max: 1100px;
}
.nmlb.tpl-bold-night {
	--bg: #0d1526; --card: #16213a; --fg: #e8ecf5; --muted: #a9b3c9; --line: #26324d;
	--accent: #f5b301; --accent-dk: #c48f00; --accent-fg: #111; --head: #f5b301;
	--top: #0a1120; --input: #0f1729; --input-line: #34436a; --soft: #1d2a48; --max: 1100px;
}

/* ===== Base ===== */
body.nmlb-body { margin: 0; overflow-x: hidden; }
.nmlb { background: var(--bg); color: var(--fg); min-height: 100vh; font-family: "Hind Siliguri", system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
.nmlb *, .nmlb *::before, .nmlb *::after { box-sizing: border-box; }
.nmlb, .nmlb button, .nmlb input, .nmlb select, .nmlb textarea { font-family: "Hind Siliguri", system-ui, sans-serif; }
.nmlb img { max-width: 100%; height: auto; }
body.nmlb-body:has(.tpl-bold-night) { background: #0d1526; }

/* top bar */
.nm-top { background: var(--top); border-bottom: 1px solid var(--line); }
.nm-top-in { max-width: var(--max); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nm-logo img { max-height: 44px; width: auto; display: block; }
.nm-logo span { font-weight: 700; font-size: 20px; color: var(--head); }
.nm-labels { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.nm-labels span { background: var(--soft); color: var(--head); border: 1px solid var(--line); border-radius: 20px; padding: 2px 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }

/* offer banner */
.nm-offer { background: var(--accent); color: var(--accent-fg); text-align: center; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; }
.nm-offer-txt { font-weight: 700; font-size: 18px; }
.nm-cd { display: flex; gap: 6px; }
.nm-cd span { background: rgba(0,0,0,.2); border-radius: 6px; padding: 2px 8px; min-width: 52px; display: flex; flex-direction: column; line-height: 1.15; }
.nm-cd b { font-size: 20px; }
.nm-cd small { font-size: 11px; opacity: .9; }

.nm-main { max-width: var(--max); margin: 0 auto; padding: 20px 16px 40px; }

/* hero */
.nm-hero { display: grid; gap: 18px; margin-bottom: 20px; }
.nm-title { font-size: clamp(24px, 5vw, 36px); line-height: 1.3; margin: 0 0 6px; font-weight: 700; color: var(--fg); }
.nm-sub { margin: 0 0 12px; color: var(--muted); font-size: 18px; }
.nm-price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 6px 0 4px; }
.nm-price del { color: var(--muted); font-size: 20px; }
.nm-price ins { text-decoration: none; color: var(--head); font-size: clamp(28px, 6vw, 40px); font-weight: 700; }
.nm-off { background: var(--accent); color: var(--accent-fg); border-radius: 6px; padding: 2px 10px; font-weight: 700; font-size: 15px; }
.tpl-classic-red .nm-hero-info { text-align: center; }
.tpl-classic-red .nm-price { justify-content: center; }

@media (min-width: 900px) {
	.tpl-fresh-green .nm-hero, .tpl-bold-night .nm-hero { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 36px; }
	.tpl-fresh-green .nm-hero-info .nm-c, .tpl-bold-night .nm-hero-info .nm-c { text-align: left; }
	.tpl-fresh-green .nm-main > .nm-card, .tpl-bold-night .nm-main > .nm-card { max-width: 860px; margin-left: auto; margin-right: auto; }
}

/* slider */
.nm-slider { position: relative; background: var(--card); border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
.nm-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nm-track::-webkit-scrollbar { display: none; }
.nm-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; scroll-snap-align: start; background: var(--card); display: block; }
.nmlb .nm-slider .nm-prev, .nmlb .nm-slider .nm-next { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 28px; line-height: 36px; padding: 0; cursor: pointer; z-index: 2; box-shadow: none; }
.nm-prev { left: 10px; } .nm-next { right: 10px; }
.nm-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.nm-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.25); }
.nm-dots i.on { background: var(--accent); }

/* buttons */
.nm-c { text-align: center; margin: 16px 0 6px; }
.nmlb .nm-btn { display: inline-block; background: var(--accent); color: var(--accent-fg); text-decoration: none; padding: 13px 32px; border-radius: 10px; font-size: 20px; font-weight: 700; box-shadow: 0 4px 0 var(--accent-dk); animation: nm-pulse 1.8s infinite; }
.nmlb .nm-btn:hover { filter: brightness(1.05); }
@keyframes nm-pulse { 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .nmlb .nm-btn { animation: none; } }

/* trust boxes */
.nm-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.nm-trust div { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; text-align: left; }
.nm-trust i { font-style: normal; color: var(--accent); }
@media (min-width: 640px) { .tpl-classic-red .nm-trust { grid-template-columns: repeat(4, 1fr); } }

/* cards */
.nm-card { background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: 20px; margin: 0 0 20px; }
.nm-h { color: var(--head); text-align: center; font-size: clamp(22px, 4.5vw, 28px); line-height: 1.35; margin: 0 0 14px; font-weight: 700; }
.nm-list { list-style: none; margin: 0; padding: 0; }
.nm-list li { position: relative; padding: 8px 0 8px 34px; border-bottom: 1px dashed var(--line); }
.nm-list li:last-child { border-bottom: 0; }
.nm-list li::before { content: "✔"; position: absolute; left: 2px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.nm-text p { margin: 0 0 10px; }
.nm-ratio { position: relative; padding-top: 56.25%; border-radius: 8px; overflow: hidden; }
.nm-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nm-video { padding: 10px; }
.nm-gal { display: grid; gap: 10px; }
.nm-gal img { width: 100%; border-radius: 8px; display: block; }
@media (min-width: 640px) { .nm-gal { grid-template-columns: 1fr 1fr; } }

/* reviews */
.nm-revs { display: grid; gap: 12px; }
@media (min-width: 640px) { .nm-revs { grid-template-columns: 1fr 1fr; } }
.nm-rev { margin: 0; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.nm-rev-img { padding: 6px; }
.nm-rev-img img { width: 100%; border-radius: 6px; display: block; }
.nm-stars { color: #f5b301; letter-spacing: 2px; }
.nm-rev blockquote { margin: 6px 0; font-size: 16px; }
.nm-rev figcaption { color: var(--muted); font-size: 14px; font-weight: 600; }

/* order section */
.nm-order { border-color: var(--accent); }
.nm-form-sub { text-align: center; color: var(--muted); margin: -6px 0 16px; }
.nm-hint { text-align: center; margin: 0 0 10px; font-size: 15px; color: var(--head); font-weight: 600; }
.nm-products { display: grid; gap: 10px; margin-bottom: 20px; }
.nm-prod { display: grid; grid-template-columns: 20px 56px 1fr auto; grid-template-areas: "r i n p" "r i q q"; align-items: center; gap: 4px 10px; padding: 10px; border: 2px solid var(--line); border-radius: 10px; background: var(--card); transition: border-color .15s, background .15s; }
.is-multi .nm-prod { cursor: pointer; }
.is-single .nm-prod { grid-template-columns: 0 56px 1fr auto; }
.nm-prod.on { border-color: var(--accent); background: var(--soft); }
.nm-prod:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.nm-prod > input[type=checkbox] { grid-area: r; pointer-events: none; accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.nm-thumb { grid-area: i; width: 56px !important; height: 56px !important; object-fit: cover; border-radius: 6px; }
.nm-pn { grid-area: n; font-size: 15px; font-weight: 600; line-height: 1.3; }
.nm-pp { grid-area: p; font-weight: 700; white-space: nowrap; text-align: right; line-height: 1.2; }
.nm-pp del { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.nm-qty { grid-area: q; display: inline-flex; align-items: center; border: 1px solid var(--input-line); border-radius: 6px; overflow: hidden; width: max-content; }
.nmlb .nm-qty button { background: var(--soft); color: var(--fg); border: 0; width: 32px; height: 30px; font-size: 18px; padding: 0; cursor: pointer; }
.nmlb .nm-qty .nm-q { width: 42px; height: 30px; border: 0; text-align: center; padding: 0; font-size: 15px; background: var(--input); color: var(--fg); -moz-appearance: textfield; }
.nm-qty .nm-q::-webkit-inner-spin-button { -webkit-appearance: none; }
.nm-shake { animation: nm-shake .2s 2; }
@keyframes nm-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.nm-empty { text-align: center; font-weight: 600; }

/* WooCommerce checkout inside the landing */
.nm-checkout { transition: opacity .2s; }
.nm-checkout.nm-loading { opacity: .5; pointer-events: none; }
.nm-checkout .woocommerce-form-coupon-toggle, .nm-checkout .woocommerce-form-login-toggle, .nm-checkout .checkout_coupon, .nm-checkout form.login,
.nm-checkout .woocommerce-additional-fields, .nm-checkout .woocommerce-shipping-fields, .nm-checkout #order_review_heading { display: none !important; }
.nm-checkout form.checkout { display: grid; gap: 18px; }
@media (min-width: 760px) { .nm-checkout form.checkout { grid-template-columns: 1fr 1fr; align-items: start; } }
.nm-checkout .col2-set, .nm-checkout #customer_details, .nm-checkout #order_review { width: 100% !important; float: none !important; margin: 0; }
.nm-checkout .col2-set .col-1, .nm-checkout .col2-set .col-2 { width: 100% !important; float: none !important; padding: 0 !important; max-width: none; }
.nm-checkout .col2-set .col-2:empty { display: none; }
.nm-checkout h3 { font-size: 19px; margin: 0 0 10px; color: var(--fg); }
.nm-checkout .form-row { margin: 0 0 12px; padding: 0; width: 100%; float: none; }
.nm-checkout .form-row label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 15px; color: var(--fg); }
.nm-checkout .form-row .required { color: #e02424; text-decoration: none; }
.nmlb .nm-checkout input.input-text, .nmlb .nm-checkout select, .nmlb .nm-checkout textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--input-line) !important; border-radius: 8px; font-size: 16px; background: var(--input) !important; color: var(--fg) !important; min-height: 46px; box-shadow: none; }
.nmlb .nm-checkout input.input-text::placeholder { color: var(--muted); opacity: .8; }
.nm-checkout input.input-text:focus, .nm-checkout select:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.nm-checkout .woocommerce-invalid input.input-text { border-color: #e02424; }
.nm-checkout table.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; background: transparent; color: var(--fg); border: 1px solid var(--line); border-radius: 8px; }
.nm-checkout table.shop_table th, .nm-checkout table.shop_table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; background: transparent; color: var(--fg); }
.nm-checkout table.shop_table .order-total td, .nm-checkout table.shop_table .order-total th { font-size: 18px; font-weight: 700; }
.nm-checkout ul#shipping_method { list-style: none; margin: 0; padding: 0; }
.nm-checkout ul#shipping_method li { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.nm-checkout ul#shipping_method input { accent-color: var(--accent); }
.nm-checkout #payment { background: var(--soft); border-radius: 10px; padding: 12px; margin-top: 12px; color: var(--fg); }
.nm-checkout #payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 10px; border: 0; }
.nm-checkout #payment div.payment_box { background: var(--card); color: var(--fg); border-radius: 6px; padding: 8px 10px; margin: 6px 0 0; font-size: 14px; }
.nm-checkout #payment div.payment_box::before { display: none; }
.nm-checkout #payment .place-order { padding: 0; margin: 0; }
.nm-checkout #place_order { width: 100%; float: none; background: var(--accent) !important; color: var(--accent-fg) !important; border: 0; border-radius: 10px; padding: 15px; font-size: 21px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 0 var(--accent-dk); margin-top: 6px; }
.nm-checkout .woocommerce-privacy-policy-text { font-size: 12px; color: var(--muted); }
.nm-checkout .woocommerce-privacy-policy-text a { color: inherit; }
.nm-under-btn { text-align: center; margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.nm-checkout .woocommerce-NoticeGroup, .nm-checkout .woocommerce-error { grid-column: 1 / -1; }
.nm-checkout .woocommerce-error { background: #fff1f1; color: #9b1c1c; border-left: 4px solid #e02424; padding: 10px 14px 10px 30px; border-radius: 6px; margin: 0; }

/* footer + floating buttons */
.nm-foot { text-align: center; color: var(--muted); padding: 10px 16px 90px; font-size: 14px; }
.nm-float { position: fixed; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; z-index: 99; }
.nm-float a { text-decoration: none; color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 30px; box-shadow: 0 4px 12px rgba(0,0,0,.25); font-size: 15px; text-align: center; }
.nm-wa { background: #25d366; }
.nm-call { background: #2563eb; }
.is-single .nm-prod > span:empty { grid-area: r; }
