/*!
 * nxbazar.com storefront design system
 * Implements DESIGN-STOREFRONT.md. Scope: everything below the theme header.
 * Never styles the theme header, the single product page (smm-product.css) or wp-admin.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--nxb-canvas: #f1f2f6;
	--nxb-surface: #ffffff;
	--nxb-soft: #e8eef6;
	--nxb-line: #e1e8f0;
	--nxb-line-2: #d5e0ee;

	--nxb-ink: #0e2238;
	--nxb-body: #5a6478;
	--nxb-muted: #828aa4;

	--nxb-navy: #0b2e57;
	--nxb-navy-700: #08203c;
	--nxb-navy-soft: #e8eef6;
	--nxb-navy-line: #d5e0ee;

	--nxb-good-ink: #10884a;
	--nxb-good-soft: #e6f6ee;

	--nxb-font-head: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--nxb-font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

	--nxb-r-sm: 10px;
	--nxb-r-md: 14px;
	--nxb-r-lg: 22px;
	--nxb-r-full: 999px;

	--nxb-shadow-1: 0 1px 2px rgba(11, 46, 87, 0.05);
	--nxb-shadow-2: 0 8px 24px rgba(11, 46, 87, 0.09);

	--nxb-wrap: 1220px;
}

/* ==========================================================================
   2. Shell: container, sections, headings, eyebrows
   ========================================================================== */

.nxb-wrap {
	width: 100%;
	max-width: var(--nxb-wrap);
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: border-box;
}

.nxb-section {
	padding-block: 56px;
}

.nxb-section--tight {
	padding-block: 34px;
}

.nxb-section__head {
	max-width: 720px;
	margin: 0 auto 32px;
	text-align: center;
}

.nxb-section__head--left {
	margin-inline: 0;
	text-align: left;
}

.nxb-eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	font-family: var(--nxb-font-body);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nxb-muted);
}

.nxb-h1,
.nxb-h2,
.nxb-h3 {
	font-family: var(--nxb-font-head);
	color: var(--nxb-ink);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 12px;
}

.nxb-h1 {
	font-size: 44px;
	letter-spacing: -0.02em;
}

.nxb-h2 {
	font-size: 32px;
	letter-spacing: -0.01em;
}

.nxb-h3 {
	font-size: 19px;
}

.nxb-sub {
	margin: 0;
	font-family: var(--nxb-font-body);
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--nxb-body);
}

/* ==========================================================================
   3. Buttons — every WC button is mapped onto these two
   ========================================================================== */

.nxb-btn,
body.woocommerce-shop .woocommerce a.button,
body.woocommerce-shop .woocommerce button.button,
body.woocommerce-shop .woocommerce input.button,
body.post-type-archive-product .woocommerce a.button,
body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce input.button,
body.woocommerce-checkout .woocommerce a.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce input.button,
body.woocommerce-checkout #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 22px;
	border: 1px solid var(--nxb-navy);
	border-radius: var(--nxb-r-md) !important;
	background: var(--nxb-navy) !important;
	color: #fff !important;
	font-family: var(--nxb-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-decoration: none !important;
	text-transform: none;
	box-shadow: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
	cursor: pointer;
}

.nxb-btn:hover,
.nxb-btn:focus-visible,
body.woocommerce-shop .woocommerce a.button:hover,
body.woocommerce-shop .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout #place_order:hover {
	background: var(--nxb-navy-700) !important;
	border-color: var(--nxb-navy-700) !important;
	color: #fff !important;
}

.nxb-btn--ghost,
body.woocommerce-cart .woocommerce .cart .button--ghost {
	background: var(--nxb-surface) !important;
	border-color: var(--nxb-line-2) !important;
	color: var(--nxb-ink) !important;
}

.nxb-btn--ghost:hover,
body.woocommerce-cart .woocommerce .cart .button--ghost:hover {
	background: var(--nxb-soft) !important;
	border-color: var(--nxb-navy-line) !important;
	color: var(--nxb-ink) !important;
}

.nxb-btn--pill {
	border-radius: var(--nxb-r-full) !important;
}

.nxb-btn--lg {
	padding: 15px 30px;
	font-size: 16px;
}

.nxb-btn--block {
	width: 100%;
}

/* ==========================================================================
   4. Pills and badges
   ========================================================================== */

.nxb-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-full);
	background: var(--nxb-surface);
	color: var(--nxb-navy);
	font-family: var(--nxb-font-body);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.nxb-pill--solid {
	background: var(--nxb-navy);
	border-color: var(--nxb-navy);
	color: #fff;
}

.nxb-pill--soft {
	background: var(--nxb-soft);
	border-color: var(--nxb-navy-line);
}

/* ==========================================================================
   5. Product card
   ========================================================================== */

body.nxb-store .minimog-grid,
body.nxb-store .nxb-grid {
	--grid-gutter-desktop: 20px !important;
	--grid-gutter-tablet-extra: 16px !important;
	--grid-gutter-mobile-extra: 14px !important;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

body.nxb-store .grid-item.product {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
}

body.nxb-store .grid-item.product .product-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-lg);
	overflow: hidden;
	box-shadow: var(--nxb-shadow-1);
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

body.nxb-store .grid-item.product:hover .product-wrapper {
	box-shadow: var(--nxb-shadow-2);
	transform: translateY(-3px);
	border-color: var(--nxb-navy-line);
}

body.nxb-store .grid-item.product .product-thumbnail {
	position: relative;
	background: var(--nxb-soft);
}

body.nxb-store .grid-item.product .thumbnail {
	margin: 0;
	overflow: hidden;
}

body.nxb-store .grid-item.product .product-thumbnail .thumbnail > a {
	display: block;
	aspect-ratio: 1 / 1;
}

body.nxb-store .grid-item.product a img,
body.nxb-store .grid-item.product .thumbnail img {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border-radius: 0 !important;
	object-fit: cover;
	transition: transform 0.35s ease;
}

body.nxb-store .grid-item.product:hover .thumbnail img {
	transform: scale(1.03);
}

/* The card's own badges (sale / best seller) */
body.nxb-store .grid-item.product .product-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.nxb-store .grid-item.product .product-badges > span,
body.nxb-store .grid-item.product .product-badges .onsale {
	padding: 5px 11px !important;
	border-radius: var(--nxb-r-full) !important;
	font-family: var(--nxb-font-body) !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.2;
}

body.nxb-store .grid-item.product .product-actions,
body.nxb-store .grid-item.product .product-actions {
	z-index: 4;
}

body.nxb-store .grid-item.product .product-info {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 8px;
	padding: 16px 18px 18px;
}

body.nxb-store .grid-item.product .loop-product-category,
body.nxb-store .grid-item.product .loop-product-category a {
	margin: 0;
	font-family: var(--nxb-font-body);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--nxb-muted);
	text-decoration: none;
}

body.nxb-store .grid-item.product .woocommerce-loop-product__title {
	/* reserve two lines so the price and the button line up across a whole row */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
	margin: 0;
	font-family: var(--nxb-font-head);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--nxb-ink);
}

body.nxb-store .grid-item.product .woocommerce-loop-product__title a {
	color: inherit;
	text-decoration: none;
}

body.nxb-store .grid-item.product .woocommerce-loop-product__title a:hover {
	color: var(--nxb-navy);
}

body.nxb-store .grid-item.product .price,
body.nxb-store .grid-item.product .price .amount,
body.nxb-store .grid-item.product .price bdi {
	font-family: var(--nxb-font-head);
	font-size: 19px;
	font-weight: 700;
	color: var(--nxb-ink) !important;
	font-variant-numeric: tabular-nums;
}

body.nxb-store .grid-item.product .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	margin: auto 0 0;
	padding-top: 2px;
}

body.nxb-store .grid-item.product .price .nxb-price-from {
	font-family: var(--nxb-font-body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--nxb-muted);
}

body.nxb-store .grid-item.product .price del,
body.nxb-store .grid-item.product .price del .amount {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--nxb-muted) !important;
}

body.nxb-store .grid-item.product .price ins,
body.nxb-store .grid-item.product .price ins .amount {
	color: var(--nxb-ink) !important;
	text-decoration: none !important;
}

/* the theme's "in stock"/availability strip and star row, tidied */
body.nxb-store .grid-item.product .loop-product-rating,
body.nxb-store .grid-item.product .star-rating {
	font-size: 12px;
}

body.nxb-store .grid-item.product .woocommerce-loop-product__desc {
	display: none;
}

/* --------------------------------------------------------------------------
   5.1 Buy Now — the card's single action
   -------------------------------------------------------------------------- */

/* !important on colour: the theme sets a muted link colour from a rule
   specific enough to beat a plain class, and it made the label unreadable. */
.nxb-buynow,
.nxb-buynow span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	margin: 14px 0 0;
	padding: 11px 18px;
	border: 1px solid var(--nxb-navy);
	border-radius: var(--nxb-r-md);
	background: var(--nxb-navy) !important;
	color: #fff !important;
	font-family: var(--nxb-font-body);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nxb-buynow span {
	display: inline;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent !important;
}

.nxb-buynow:hover,
.nxb-buynow:focus-visible {
	background: var(--nxb-navy-700) !important;
	border-color: var(--nxb-navy-700);
	color: #fff !important;
}

.nxb-buynow__icon {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nxb-buynow:focus-visible {
	outline: 2px solid var(--nxb-navy);
	outline-offset: 2px;
}

/* The theme paints the content sheet white. Drop it so the cards sit on the
   canvas, which is what gives them an edge without a heavy shadow. */
body.nxb-store #page-content {
	background-color: transparent !important;
}

/* ==========================================================================
   6. Shop / category archive
   ========================================================================== */

body.nxb-store .nxb-archive-head {
	padding-block: 30px 22px;
}

body.nxb-store .nxb-archive-head .nxb-sub {
	max-width: 760px;
}

body.nxb-store .nxb-archive-crumbs {
	margin: 0 0 10px;
	font-family: var(--nxb-font-body);
	font-size: 13px;
	color: var(--nxb-muted);
}

body.nxb-store .nxb-archive-crumbs a {
	color: var(--nxb-muted);
	text-decoration: none;
}

body.nxb-store .nxb-archive-crumbs a:hover {
	color: var(--nxb-navy);
}

body.nxb-store .nxb-archive-body {
	padding-block: 28px 60px;
	background: var(--nxb-canvas);
}

/* toolbar: result count + sorting + view toggles */
body.nxb-store .woocommerce-notices-wrapper:empty {
	display: none;
}

body.nxb-store .nxb-toolbar,
body.nxb-store .woocommerce-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 22px;
	padding: 12px 16px;
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-md);
}

body.nxb-store .woocommerce-result-count {
	margin: 0 !important;
	font-family: var(--nxb-font-body);
	font-size: 14px;
	color: var(--nxb-body);
}

body.nxb-store .woocommerce-ordering {
	margin: 0 !important;
}

body.nxb-store .woocommerce-ordering select {
	padding: 9px 32px 9px 13px;
	border: 1px solid var(--nxb-line-2);
	border-radius: var(--nxb-r-sm);
	background-color: var(--nxb-surface);
	font-family: var(--nxb-font-body);
	font-size: 14px;
	color: var(--nxb-ink);
}

body.nxb-store .nxb-view-toggle,
body.nxb-store .shop-view-toggles {
	display: flex;
	gap: 6px;
}

body.nxb-store .nxb-view-toggle a,
body.nxb-store .shop-view-toggles a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-sm);
	color: var(--nxb-muted);
	text-decoration: none;
}

body.nxb-store .nxb-view-toggle a.is-active,
body.nxb-store .shop-view-toggles a.is-active {
	background: var(--nxb-soft);
	border-color: var(--nxb-navy-line);
	color: var(--nxb-navy);
}

/* pagination / load more */
body.nxb-store .nxb-pagination,
body.nxb-store .woocommerce-pagination {
	margin-top: 34px;
}

body.nxb-store .nxb-pagination .page-numbers,
body.nxb-store .woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 13px;
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-sm);
	background: var(--nxb-surface);
	color: var(--nxb-ink);
	font-family: var(--nxb-font-body);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
}

body.nxb-store .nxb-pagination .page-numbers.current,
body.nxb-store .woocommerce-pagination .page-numbers.current {
	background: var(--nxb-navy);
	border-color: var(--nxb-navy);
	color: #fff;
}

body.nxb-store .nxb-load-more,
body.nxb-store .infinite-scroll-button {
	margin-top: 34px;
	padding: 13px 34px !important;
	border-radius: var(--nxb-r-md) !important;
	background: var(--nxb-navy) !important;
	color: #fff !important;
	font-family: var(--nxb-font-body) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	border: 1px solid var(--nxb-navy) !important;
}

/* empty state */
body.nxb-store .nxb-empty {
	padding: 56px 24px;
	text-align: center;
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-lg);
}

/* ==========================================================================
   7. Cart
   ========================================================================== */

body.woocommerce-cart .nxb-cart-shell,
body.woocommerce-cart .woocommerce {
	background: var(--nxb-canvas);
}

body.woocommerce-cart .nxb-page-head {
	padding-block: 30px 22px;
}

body.woocommerce-cart .nxb-page-head h1 {
	margin: 0;
	font-family: var(--nxb-font-head);
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--nxb-ink);
}

body.woocommerce-cart .woocommerce-cart-form {
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-lg);
	padding: 6px 20px 20px;
	margin-bottom: 24px;
}

body.woocommerce-cart .woocommerce-cart-form__contents {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

body.woocommerce-cart .woocommerce-cart-form__contents thead th {
	padding: 16px 12px;
	border-bottom: 1px solid var(--nxb-line-2);
	font-family: var(--nxb-font-body);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--nxb-muted);
	text-align: left;
}

body.woocommerce-cart .woocommerce-cart-form__contents tbody td {
	padding: 18px 12px;
	border-bottom: 1px solid var(--nxb-line);
	vertical-align: middle;
	font-family: var(--nxb-font-body);
	font-size: 15px;
	color: var(--nxb-body);
}

body.woocommerce-cart .woocommerce-cart-form__contents tbody tr:last-child td {
	border-bottom: 0;
}

body.woocommerce-cart .woocommerce-cart-form__contents td.product-name a,
body.woocommerce-cart .woocommerce-cart-form__contents td.product-name {
	font-family: var(--nxb-font-head);
	font-size: 16px;
	font-weight: 600;
	color: var(--nxb-ink);
	text-decoration: none;
}

body.woocommerce-cart .woocommerce-cart-form__contents td.product-subtotal,
body.woocommerce-cart .woocommerce-cart-form__contents td.product-price {
	font-family: var(--nxb-font-head);
	font-size: 16px;
	font-weight: 700;
	color: var(--nxb-ink);
	font-variant-numeric: tabular-nums;
}

body.woocommerce-cart .woocommerce-cart-form__contents img {
	border-radius: var(--nxb-r-sm) !important;
	max-width: 70px;
}

body.woocommerce-cart .woocommerce-cart-form__contents .quantity input.qty,
body.woocommerce-cart .quantity input.qty {
	width: 78px !important;
	height: 42px;
	padding: 0 10px !important;
	border: 1px solid var(--nxb-line-2) !important;
	border-radius: var(--nxb-r-sm) !important;
	background: var(--nxb-surface);
	font-family: var(--nxb-font-body);
	font-size: 15px;
	color: var(--nxb-ink);
	text-align: center;
}

body.woocommerce-cart .woocommerce-cart-form__contents button[name="update_cart"] {
	background: var(--nxb-surface) !important;
	border-color: var(--nxb-line-2) !important;
	color: var(--nxb-ink) !important;
}

body.woocommerce-cart .woocommerce-cart-form__contents button[name="update_cart"]:disabled {
	opacity: 0.45;
}

body.woocommerce-cart .cart_totals,
body.woocommerce-cart .cart-collaterals .cart_totals {
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-lg);
	padding: 8px 24px 24px;
}

body.woocommerce-cart .cart_totals h2 {
	margin: 12px 0 4px;
	font-family: var(--nxb-font-head);
	font-size: 20px;
	font-weight: 700;
	color: var(--nxb-ink);
}

body.woocommerce-cart .cart_totals table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 18px;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
	padding: 13px 0;
	border-bottom: 1px solid var(--nxb-line);
	font-family: var(--nxb-font-body);
	font-size: 15px;
	text-align: left;
}

body.woocommerce-cart .cart_totals table th {
	font-weight: 600;
	color: var(--nxb-body);
}

body.woocommerce-cart .cart_totals table td {
	text-align: right;
	font-weight: 600;
	color: var(--nxb-ink);
	font-variant-numeric: tabular-nums;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
	border-bottom: 0;
	font-family: var(--nxb-font-head);
	font-size: 20px;
	font-weight: 700;
	color: var(--nxb-ink);
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
	padding: 15px 24px !important;
	font-size: 16px !important;
}

body.woocommerce-cart .cart-collaterals .cross-sells {
	margin-top: 24px;
}

/* coupon row */
body.woocommerce-cart .coupon {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

body.woocommerce-cart .coupon input[type="text"] {
	flex: 1 1 auto;
	max-width: 300px;
	height: 44px;
	padding: 0 14px !important;
	border: 1px solid var(--nxb-line-2) !important;
	border-radius: var(--nxb-r-sm) !important;
	font-family: var(--nxb-font-body);
	font-size: 15px;
}

/* empty cart */
body.woocommerce-cart .cart-empty {
	margin: 0 0 10px;
	font-family: var(--nxb-font-head);
	font-size: 30px;
	font-weight: 700;
	color: var(--nxb-ink);
	text-align: center;
}

body.woocommerce-cart .return-to-shop {
	text-align: center;
}

/* ==========================================================================
   8. Checkout
   ========================================================================== */

body.woocommerce-checkout .nxb-page-head {
	padding-block: 30px 18px;
}

body.woocommerce-checkout .nxb-page-head h1 {
	margin: 0;
	font-family: var(--nxb-font-head);
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--nxb-ink);
}

/* The theme already lays the checkout out in two columns
   (.row-checkout-wrap > .col-md-7 + .col-md-5). Imposing a CSS grid here fought
   the percentage widths inside it and squeezed both halves, so the cosmetics
   below are applied without touching the theme's layout. */
body.woocommerce-checkout form.checkout #order_review_heading {
	margin: 0 0 12px;
	font-family: var(--nxb-font-head);
	font-size: 20px;
	font-weight: 700;
	color: var(--nxb-ink);
}

body.woocommerce-checkout #customer_details .woocommerce-billing-fields,
body.woocommerce-checkout #customer_details .woocommerce-account-fields,
body.woocommerce-checkout #customer_details .woocommerce-shipping-fields,
body.woocommerce-checkout #customer_details .woocommerce-additional-fields,
body.woocommerce-checkout #order_review {
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-lg);
	padding: 20px 22px;
	margin-bottom: 20px;
}

body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review h3 {
	margin: 0 0 14px;
	font-family: var(--nxb-font-head);
	font-size: 19px;
	font-weight: 700;
	color: var(--nxb-ink);
}

body.woocommerce-checkout .woocommerce-input-wrapper {
	display: block;
}

body.woocommerce-checkout .form-row {
	margin-bottom: 14px;
	padding: 0;
}

body.woocommerce-checkout .form-row label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--nxb-font-body);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--nxb-body);
}

body.woocommerce-checkout .form-row .required {
	color: #c0342f;
	text-decoration: none;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .select2-container .select2-selection--single {
	width: 100%;
	height: 46px;
	padding: 0 14px !important;
	border: 1px solid var(--nxb-line-2) !important;
	border-radius: var(--nxb-r-sm) !important;
	background: var(--nxb-surface) !important;
	font-family: var(--nxb-font-body);
	font-size: 15px;
	color: var(--nxb-ink);
	box-shadow: none !important;
}

body.woocommerce-checkout .form-row textarea {
	height: auto;
	min-height: 96px;
	padding: 12px 14px !important;
}

body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout .form-row select:focus {
	outline: 2px solid var(--nxb-navy);
	outline-offset: 1px;
	border-color: var(--nxb-navy) !important;
}

body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 44px;
	padding-left: 0;
	color: var(--nxb-ink);
}

body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	height: 44px;
}

/* order review table */
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 4px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	padding: 12px 0;
	border-bottom: 1px solid var(--nxb-line);
	font-family: var(--nxb-font-body);
	font-size: 14.5px;
	text-align: left;
	color: var(--nxb-body);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--nxb-muted);
	border-bottom: 1px solid var(--nxb-line-2);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table td:last-child,
body.woocommerce-checkout .woocommerce-checkout-review-order-table th:last-child {
	text-align: right;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
	border-bottom: 0;
	font-family: var(--nxb-font-head);
	font-size: 20px;
	font-weight: 700;
	color: var(--nxb-ink);
}

/* payment box */
body.woocommerce-checkout #payment {
	background: transparent;
	border-radius: 0;
}

body.woocommerce-checkout #payment ul.payment_methods {
	padding: 0 0 12px;
	border-bottom: 1px solid var(--nxb-line);
	list-style: none;
	margin: 0 0 16px;
}

body.woocommerce-checkout #payment ul.payment_methods li {
	margin-bottom: 10px;
	font-family: var(--nxb-font-body);
	font-size: 15px;
	color: var(--nxb-ink);
}

body.woocommerce-checkout #payment ul.payment_methods li label {
	display: inline;
	font-weight: 600;
	color: var(--nxb-ink);
}

body.woocommerce-checkout #payment div.payment_box {
	margin: 10px 0 0;
	padding: 14px 16px;
	background: var(--nxb-soft);
	border-radius: var(--nxb-r-sm);
	font-family: var(--nxb-font-body);
	font-size: 14px;
	line-height: 1.6;
	color: var(--nxb-body);
}

body.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

body.woocommerce-checkout #payment .form-row.place-order {
	padding: 0;
	margin: 0;
}

body.woocommerce-checkout #place_order {
	width: 100%;
	padding: 16px 24px !important;
	font-size: 16px !important;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 14px;
	font-family: var(--nxb-font-body);
	font-size: 14px;
	color: var(--nxb-body);
}

/* ==========================================================================
   9. Home page
   ========================================================================== */

.nxb-hero {
	position: relative;
	background: linear-gradient(180deg, #ffffff 0%, var(--nxb-canvas) 100%);
	border-bottom: 1px solid var(--nxb-line);
	padding-block: 52px 46px;
	overflow: hidden;
}

.nxb-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 44px;
	align-items: center;
}

.nxb-hero__title {
	font-family: var(--nxb-font-head);
	font-size: 48px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--nxb-ink);
	margin: 14px 0 16px;
}

.nxb-hero__title em {
	font-style: normal;
	color: var(--nxb-navy);
}

.nxb-hero__lead {
	margin: 0 0 24px;
	max-width: 560px;
	font-family: var(--nxb-font-body);
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--nxb-body);
}

.nxb-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.nxb-hero__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 24px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--nxb-line);
}

.nxb-stat__value {
	font-family: var(--nxb-font-head);
	font-size: 27px;
	font-weight: 700;
	color: var(--nxb-ink);
	font-variant-numeric: tabular-nums;
}

.nxb-stat__label {
	font-family: var(--nxb-font-body);
	font-size: 13.5px;
	color: var(--nxb-body);
}

.nxb-hero__media {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-lg);
	box-shadow: var(--nxb-shadow-2);
}

.nxb-hero__media img {
	display: block;
	width: 100%;
	max-width: 400px;
	height: auto;
}

/* platform row */
.nxb-platforms {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.nxb-platform {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px;
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-lg);
	text-decoration: none;
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.nxb-platform:hover {
	box-shadow: var(--nxb-shadow-2);
	transform: translateY(-3px);
	border-color: var(--nxb-navy-line);
}

.nxb-platform__tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: var(--nxb-r-md);
	background: var(--nxb-soft);
	color: var(--nxb-navy);
}

.nxb-platform__tile svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.nxb-platform__name {
	font-family: var(--nxb-font-head);
	font-size: 16px;
	font-weight: 600;
	color: var(--nxb-ink);
}

.nxb-platform__meta {
	font-family: var(--nxb-font-body);
	font-size: 13px;
	color: var(--nxb-muted);
}

/* value cards */
.nxb-values {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.nxb-value {
	padding: 24px 22px;
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-lg);
}

.nxb-value__tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: var(--nxb-r-md);
	background: var(--nxb-navy);
	color: #fff;
}

.nxb-value__tile svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nxb-value__title {
	margin: 0 0 8px;
	font-family: var(--nxb-font-head);
	font-size: 17px;
	font-weight: 600;
	color: var(--nxb-ink);
}

.nxb-value p {
	margin: 0;
	font-family: var(--nxb-font-body);
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--nxb-body);
}

/* steps */
.nxb-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	counter-reset: nxbstep;
}

.nxb-step {
	position: relative;
	padding: 24px 22px 22px;
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-lg);
}

.nxb-step__num {
	position: absolute;
	top: 18px;
	right: 20px;
	font-family: var(--nxb-font-head);
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	color: var(--nxb-soft);
}

.nxb-step__title {
	padding-right: 52px;
	margin: 0 0 8px;
	font-family: var(--nxb-font-head);
	font-size: 17px;
	font-weight: 600;
	color: var(--nxb-ink);
}

.nxb-step p {
	margin: 0;
	font-family: var(--nxb-font-body);
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--nxb-body);
}

/* closing CTA band */
.nxb-cta {
	background: var(--nxb-navy);
	border-radius: var(--nxb-r-lg);
	padding: 44px 40px;
	text-align: center;
}

.nxb-cta h2 {
	margin: 0 0 10px;
	font-family: var(--nxb-font-head);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #fff;
}

.nxb-cta p {
	margin: 0 0 22px;
	font-family: var(--nxb-font-body);
	font-size: 15.5px;
	color: #c6d4e6;
}

.nxb-cta .nxb-btn {
	background: #fff !important;
	border-color: #fff !important;
	color: var(--nxb-navy) !important;
}

.nxb-cta .nxb-btn:hover {
	background: var(--nxb-soft) !important;
	border-color: var(--nxb-soft) !important;
	color: var(--nxb-navy) !important;
}

/* payment strip */
.nxb-pay {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	/* the theme's own grid already drops to 3 columns at this width */

	.nxb-platforms,
	.nxb-values {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.nxb-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.nxb-hero__title {
		font-size: 34px;
	}

	.nxb-h1 {
		font-size: 32px;
	}

	.nxb-h2 {
		font-size: 25px;
	}

	body.woocommerce-checkout form.checkout {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-cart .woocommerce-cart-form {
		padding: 4px 12px 16px;
		overflow-x: auto;
	}
}

@media (max-width: 640px) {
	/* and to 2 columns at this width */

	body.nxb-store .grid-item.product .product-info {
		padding: 13px 13px 15px;
		gap: 7px;
	}

	body.nxb-store .grid-item.product .woocommerce-loop-product__title {
		font-size: 15px;
	}

	body.nxb-store .grid-item.product .price,
	body.nxb-store .grid-item.product .price .amount,
	body.nxb-store .grid-item.product .price bdi {
		font-size: 16px;
	}

	.nxb-buynow {
		font-size: 13.5px;
		padding: 10px 12px;
	}

	.nxb-section {
		padding-block: 38px;
	}

	.nxb-steps,
	.nxb-platforms,
	.nxb-values {
		grid-template-columns: minmax(0, 1fr);
	}

	.nxb-hero {
		padding-block: 32px 30px;
	}

	.nxb-hero__stats {
		gap: 22px;
	}

	.nxb-cta {
		padding: 30px 22px;
	}
}

/* --------------------------------------------------------------------------
   The card button is injected after the card's inner wrapper, so it carries the
   card's own inset instead of the inner padding.
   -------------------------------------------------------------------------- */

/* The theme hides an "add to cart" inside a hover overlay on this grid style.
   The card already has one clear action, so the duplicate goes. */
body.nxb-store .grid-item.product .background-color-expand .woocommerce_loop_add_to_cart_wrap {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Order summary: give the product name room instead of letting it wrap one
   character per line next to the thumbnail and the price.
   -------------------------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-thumbnail {
	width: 56px;
	padding-right: 12px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-thumbnail img {
	width: 44px;
	height: 44px;
	border-radius: 8px !important;
	object-fit: cover;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
	width: auto;
	word-break: normal;
	overflow-wrap: break-word;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
	width: 72px;
	white-space: nowrap;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity {
	font-size: 12.5px;
	color: var(--nxb-muted);
}

/* The money summary reads in ink. Red on a subtotal reads as an error, and the
   theme paints every .amount red with !important. */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .amount,
body.woocommerce-cart .cart_totals .amount {
	color: var(--nxb-ink) !important;
}

/* ==========================================================================
   11. Header (theme variant header-03)

   The owner selected this header in the theme settings. Only its appearance is
   changed here: the menu, its sub-menus, the off-canvas sidebar, the account,
   the popup search and the mini cart are the theme's own widgets and keep all of
   their behaviour. Nothing here touches the markup.
   ========================================================================== */

.page-header.header-03 #page-header-inner {
	background: var(--nxb-surface);
	border-bottom: 1px solid var(--nxb-line);
	box-shadow: var(--nxb-shadow-1);
}

.page-header.header-03 .header-wrap {
	min-height: 100px;
	align-items: center;
	gap: 20px;
}

/* The theme renders the logo 190px wide and 104px tall, which made the whole bar
   156px high. Scale it down; the aspect ratio comes from the file itself. */
.page-header.header-03 .branding,
.page-header.header-03 .branding__logo,
.page-header.header-03 .branding__logo > a {
	display: block;
	width: 150px;
	max-width: 150px;
}

.page-header.header-03 .branding__logo m-image {
	--lazy-image-width: 150px !important;
	--lazy-image-height: auto !important;
	display: block;
	width: 150px !important;
}

.page-header.header-03 .branding__logo img {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-height: 82px;
	object-fit: contain;
}

/* ---- the thin strip above the bar ----
   In this header the strip holds one Facebook link with no label and an empty
   language switcher, so on screen it is a blank navy band with a stray icon.
   Hidden rather than dressed up: fill the theme's "header above" text and this
   rule can simply be deleted to bring a real announcement bar back. */
.page-header.header-03 .header-above {
	display: none;
}

/* ---- primary navigation ---- */
.page-header.header-03 #menu-primary > li > a {
	padding: 18px 15px;
	background: transparent;
}

.page-header.header-03 #menu-primary > li > a .menu-item-title {
	position: relative;
	font-family: var(--nxb-font-body) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	color: var(--nxb-ink) !important;
	text-transform: none;
	transition: color 0.15s ease;
}

.page-header.header-03 #menu-primary > li > a:hover .menu-item-title,
.page-header.header-03 #menu-primary > li.current-menu-item > a .menu-item-title,
.page-header.header-03 #menu-primary > li.current-menu-ancestor > a .menu-item-title {
	color: var(--nxb-navy) !important;
}

.page-header.header-03 #menu-primary > li > a .menu-item-title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -7px;
	height: 2px;
	border-radius: 2px;
	background: var(--nxb-navy);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.18s ease;
}

.page-header.header-03 #menu-primary > li > a:hover .menu-item-title::after,
.page-header.header-03 #menu-primary > li.current-menu-item > a .menu-item-title::after,
.page-header.header-03 #menu-primary > li.current-menu-ancestor > a .menu-item-title::after {
	transform: scaleX(1);
}

.page-header.header-03 #menu-primary > li > a .toggle-sub-menu {
	color: var(--nxb-muted);
}

/* ---- drop-down menus: white cards in the house style ---- */
.page-header.header-03 #menu-primary .sub-menu {
	padding: 8px;
	background: var(--nxb-surface);
	border: 1px solid var(--nxb-line);
	border-radius: var(--nxb-r-md);
	box-shadow: var(--nxb-shadow-2);
	min-width: 220px;
}

.page-header.header-03 #menu-primary .sub-menu .menu-item > a {
	padding: 10px 12px;
	border-radius: var(--nxb-r-sm);
}

.page-header.header-03 #menu-primary .sub-menu .menu-item > a .menu-item-title {
	font-family: var(--nxb-font-body) !important;
	font-size: 14.5px !important;
	font-weight: 500 !important;
	color: var(--nxb-body) !important;
}

.page-header.header-03 #menu-primary .sub-menu .menu-item > a:hover {
	background: var(--nxb-soft);
}

.page-header.header-03 #menu-primary .sub-menu .menu-item > a:hover .menu-item-title {
	color: var(--nxb-navy) !important;
}

/* ---- the account / search / cart widgets ---- */
.page-header.header-03 .header-right .header-icon,
.page-header.header-03 #page-open-mobile-menu.header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border-radius: var(--nxb-r-md);
	color: var(--nxb-ink);
	background: transparent;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.page-header.header-03 .header-right .header-icon:hover,
.page-header.header-03 #page-open-mobile-menu.header-icon:hover {
	background: var(--nxb-soft);
	color: var(--nxb-navy);
}

.page-header.header-03 .header-right .header-icon svg,
.page-header.header-03 #page-open-mobile-menu.header-icon svg {
	width: 21px;
	height: 21px;
	fill: currentColor;
	stroke: currentColor;
}

/* The cart count was white text on a transparent circle, so it was invisible. */
.page-header.header-03 .mini-cart-badge,
.page-header.header-03 .icon-badge {
	background: var(--nxb-navy) !important;
	color: #fff !important;
	border-radius: var(--nxb-r-full);
	font-family: var(--nxb-font-body);
	font-size: 11px !important;
	font-weight: 700;
	line-height: 1;
	min-width: 19px !important;
	height: 19px !important;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ---- popup search ---- */
.page-search-popup .inner {
	background: var(--nxb-surface);
}

.page-search-popup input[type="search"],
.page-search-popup input.search-field {
	flex: 1 1 auto;
	height: 52px;
	padding: 0 18px !important;
	border: 1px solid var(--nxb-line-2) !important;
	border-radius: var(--nxb-r-md) !important;
	background: var(--nxb-surface) !important;
	font-family: var(--nxb-font-body);
	font-size: 16px;
	color: var(--nxb-ink);
}

.page-search-popup input[type="search"]:focus {
	outline: 2px solid var(--nxb-navy);
	outline-offset: 1px;
}

/* ---- the off-canvas sidebar: keep the widget, restyle it ---- */
.page-mobile-main-menu .inner {
	background: var(--nxb-surface);
}

.page-mobile-main-menu .mobile-menu-nav-menus a,
.page-mobile-main-menu .mobile-menu-nav-menus .menu-item-title {
	font-family: var(--nxb-font-body);
	font-size: 16px;
	font-weight: 600;
	color: var(--nxb-ink);
}

.page-mobile-main-menu .mobile-menu-nav-menus li.current-menu-item > a .menu-item-title,
.page-mobile-main-menu .mobile-menu-nav-menus a:hover .menu-item-title {
	color: var(--nxb-navy);
}

.page-mobile-main-menu .mobile-menu-nav-tab {
	font-family: var(--nxb-font-body);
	font-weight: 600;
	color: var(--nxb-muted);
}

.page-mobile-main-menu .mobile-menu-nav-tab.is-active,
.page-mobile-main-menu .mobile-menu-nav-tab.active {
	color: var(--nxb-navy);
}

/* The theme leaves the sidebar's top-level list as an inline flow, so the items
   ran together on one line. Make it the vertical list a sidebar should be. */
.page-mobile-main-menu .mobile-menu-nav-menus ul.menu__container {
	display: block;
	width: 100%;
}

.page-mobile-main-menu .mobile-menu-nav-menus ul.menu__container > li {
	display: block;
	width: 100%;
	border-bottom: 1px solid var(--nxb-line);
}

.page-mobile-main-menu .mobile-menu-nav-menus ul.menu__container > li:last-child {
	border-bottom: 0;
}

.page-mobile-main-menu .mobile-menu-nav-menus ul.menu__container > li > a {
	padding: 14px 0;
}

.page-mobile-main-menu .mobile-menu-nav-menus ul.sub-menu {
	padding: 4px 0 10px 14px;
	border-left: 2px solid var(--nxb-line);
}

.page-mobile-main-menu .mobile-menu-nav-menus ul.sub-menu > li > a {
	padding: 10px 0;
}

/* ---- the fixed bottom bar on phones ---- */
.page-mobile-tabs {
	background: var(--nxb-surface);
	border-top: 1px solid var(--nxb-line);
	box-shadow: 0 -1px 6px rgba(11, 46, 87, 0.06);
}

.page-mobile-tabs a {
	color: var(--nxb-muted);
}

.page-mobile-tabs li.current-menu-item a,
.page-mobile-tabs a.active,
.page-mobile-tabs a.is-active {
	color: var(--nxb-navy);
}

@media (max-width: 900px) {
	.page-header.header-03 .header-wrap {
		min-height: 68px;
	}

	.page-header.header-03 .branding,
	.page-header.header-03 .branding__logo,
	.page-header.header-03 .branding__logo > a,
	.page-header.header-03 .branding__logo m-image {
		width: 122px !important;
		max-width: 122px;
	}

	.page-header.header-03 .branding__logo img {
		width: 100% !important;
		max-height: 60px;
	}

	.page-header.header-03 .header-right .header-icon,
	.page-header.header-03 #page-open-mobile-menu.header-icon {
		width: 38px;
		height: 38px;
	}
}
