/* Nexum Quotes V2 storefront. Colors come from WoodMart variables only. */

.nxm-v2 {
	--nxm-v2-gap: 20px;
	--nxm-v2-pad: 20px;
	--nxm-v2-line: var(--wd-form-brd-color);
	--nxm-v2-soft: color-mix(in srgb, var(--wd-form-brd-color) 35%, var(--wd-main-bgcolor));
	--nxm-v2-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	color: var(--wd-text-color);
	container-type: inline-size;
}

.nxm-v2 h1,
.nxm-v2 h2 {
	color: var(--wd-title-color);
}

.nxm-v2 h2 {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.nxm-v2 [hidden],
.nxm-v2-cta [hidden] {
	display: none;
}

.nxm-v2 :focus-visible {
	outline: 2px solid var(--wd-primary-color);
	outline-offset: 2px;
}

/* WoodMart .btn falls back to 0 unless --btn-brd-radius is set; follow Theme Settings > Buttons. */
.nxm-v2 .btn {
	--btn-brd-radius: var(--btn-accented-brd-radius, var(--wd-brd-radius));
}

.nxm-v2-muted {
	color: var(--wd-text-muted-color);
	font-weight: 400;
}

.nxm-v2-help {
	margin: 6px 0 0;
	color: var(--wd-text-muted-color);
	font-size: 13px;
	line-height: 1.45;
}

.nxm-v2-link {
	color: var(--wd-primary-color);
	font-weight: 600;
	text-decoration: none;
}

.nxm-v2-link:hover {
	text-decoration: underline;
}

/* Surfaces */

.nxm-v2-card {
	margin: 0;
	padding: var(--nxm-v2-pad);
	border: 1px solid var(--nxm-v2-line);
	border-radius: var(--wd-brd-radius, 8px);
	background: var(--wd-main-bgcolor);
}

.nxm-v2-card + .nxm-v2-card {
	margin-top: 16px;
}

.nxm-v2-card-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.nxm-v2-card-head h2 {
	margin: 0;
}

.nxm-v2-card-head .nxm-v2-muted {
	font-size: 13px;
}

.nxm-v2-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
	gap: var(--nxm-v2-gap);
	align-items: start;
}

.nxm-v2-main,
.nxm-v2-side {
	min-width: 0;
}

.nxm-v2-notice {
	margin-bottom: 16px;
}

.nxm-v2-notice > * {
	margin-bottom: 0;
}

.nxm-v2-notice-items {
	margin: 8px 0 0;
	padding-left: 18px;
	font-size: 13px;
}

.nxm-v2-notice-items li + li {
	margin-top: 2px;
}

/* Builder: /teklif-al/ */

.nxm-v2-intro {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 20px;
}

.nxm-v2-ongoing {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid var(--nxm-v2-line);
	border-radius: var(--wd-brd-radius, 8px);
	background: var(--wd-main-bgcolor);
	color: var(--wd-title-color);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.nxm-v2-ongoing:hover {
	border-color: var(--wd-primary-color);
	color: var(--wd-title-color);
	text-decoration: none;
}

.nxm-v2-ongoing .ti {
	color: var(--wd-primary-color);
	font-size: 18px;
	line-height: 1;
}

.nxm-v2-ongoing-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--wd-primary-color);
	color: var(--wd-main-bgcolor);
	font-size: 12px;
	font-weight: 600;
}

.nxm-v2-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: var(--nxm-v2-gap);
}

.nxm-v2-tabs a {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 2px 8px;
	min-height: 64px;
	padding: 12px 16px;
	border: 1px solid var(--nxm-v2-line);
	border-radius: var(--wd-brd-radius, 8px);
	background: var(--wd-main-bgcolor);
	color: var(--wd-title-color);
	text-decoration: none;
}

.nxm-v2-tabs a:hover {
	border-color: var(--wd-primary-color);
}

.nxm-v2-tabs a.is-current {
	border-color: var(--wd-primary-color);
	box-shadow: inset 0 0 0 1px var(--wd-primary-color);
}

.nxm-v2-tabs strong {
	font-size: 15px;
	font-weight: 600;
}

.nxm-v2-tabs a.is-current strong {
	color: var(--wd-primary-color);
}

.nxm-v2-tabs small {
	grid-column: 1 / -1;
	color: var(--wd-text-muted-color);
	font-size: 13px;
}

.nxm-v2-count {
	justify-self: start;
	min-width: 22px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--wd-primary-color);
	color: var(--wd-main-bgcolor);
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}

.nxm-v2-add-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 104px auto;
	align-items: start;
	gap: 0 12px;
	margin: 0;
}

.nxm-v2-field {
	min-width: 0;
}

.nxm-v2-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--wd-title-color);
	font-size: 13px;
	font-weight: 600;
}

.nxm-v2-field input,
.nxm-v2-field textarea {
	width: 100%;
}

.nxm-v2 .nxm-v2-field textarea {
	min-height: 0;
	height: auto;
	resize: vertical;
}

.nxm-v2-field + .nxm-v2-field {
	margin-top: 14px;
}

.nxm-v2-add-row .nxm-v2-field + .nxm-v2-field {
	margin-top: 0;
}

.nxm-v2-field-qty input {
	text-align: center;
}

.nxm-v2-add-button {
	margin-top: 25px;
	min-width: 96px;
}

.nxm-v2-combo {
	position: relative;
}

.nxm-v2-hits {
	position: absolute;
	z-index: 20;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 320px;
	margin: 0;
	padding: 4px;
	overflow-y: auto;
	list-style: none;
	border: 1px solid var(--nxm-v2-line);
	border-radius: var(--wd-brd-radius, 8px);
	background: var(--wd-main-bgcolor);
	box-shadow: var(--nxm-v2-shadow);
}

.nxm-v2-hits li {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 8px 10px;
	border-radius: calc(var(--wd-brd-radius, 8px) - 2px);
	cursor: pointer;
}

.nxm-v2-hits li[aria-selected="true"],
.nxm-v2-hits li:hover {
	background: var(--nxm-v2-soft);
}

.nxm-v2-hits strong {
	color: var(--wd-title-color);
	font-size: 14px;
	font-weight: 600;
}

.nxm-v2-hits span {
	color: var(--wd-text-muted-color);
	font-size: 12px;
}

.nxm-v2-hits .is-empty {
	cursor: default;
	color: var(--wd-text-muted-color);
	font-size: 13px;
}

.nxm-v2-file {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--nxm-v2-line);
}

.nxm-v2-file summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	color: var(--wd-primary-color);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.nxm-v2-file summary::-webkit-details-marker {
	display: none;
}

.nxm-v2-file summary::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.15s ease;
}

.nxm-v2-file[open] summary::after {
	transform: rotate(225deg) translateY(-2px);
}

.nxm-v2-file summary .nxm-v2-muted {
	font-size: 13px;
}

.nxm-v2-file-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 0 12px;
	margin: 12px 0 0;
}

.nxm-v2-file-row .nxm-v2-help {
	grid-column: 1 / -1;
}

.nxm-v2-file-row input[type="file"] {
	height: auto;
	min-height: var(--wd-form-height, 42px);
	padding: 8px 12px;
}

.nxm-v2-blank {
	padding: 24px 20px;
	border-radius: var(--wd-brd-radius, 8px);
	background: var(--nxm-v2-soft);
	text-align: center;
}

.nxm-v2-blank p {
	max-width: 520px;
	margin: 0 auto 10px;
}

.nxm-v2-blank strong {
	color: var(--wd-title-color);
}

/* Tables */

.nxm-v2-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.nxm-v2-table th,
.nxm-v2-table td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--nxm-v2-line);
	text-align: left;
	vertical-align: middle;
}

.nxm-v2-table thead th {
	padding-top: 0;
	color: var(--wd-text-muted-color);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.nxm-v2-table th:first-child,
.nxm-v2-table td:first-child {
	padding-left: 0;
}

.nxm-v2-table th:last-child,
.nxm-v2-table td:last-child {
	padding-right: 0;
}

.nxm-v2-table .nxm-v2-num {
	text-align: right;
	white-space: nowrap;
}

.nxm-v2-table tbody tr:last-child td {
	border-bottom: 0;
}

.nxm-v2-table tfoot th,
.nxm-v2-table tfoot td {
	border-top: 1px solid var(--nxm-v2-line);
	border-bottom: 0;
	color: var(--wd-title-color);
	font-weight: 600;
}

.nxm-v2-table tfoot th {
	text-align: right;
}

.nxm-v2-table tfoot small {
	margin-left: 4px;
	color: var(--wd-text-muted-color);
	font-weight: 400;
}

.nxm-v2-table .amount {
	color: inherit;
}

.nxm-v2-cell-total {
	color: var(--wd-title-color);
	font-weight: 600;
}

.nxm-v2 .nxm-v2-cell-qty input {
	width: 84px;
	text-align: center;
}

.nxm-v2-cell-remove {
	width: 44px;
	text-align: right;
}

.nxm-v2-product {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.nxm-v2-thumb {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: calc(var(--wd-brd-radius, 8px) / 1.5);
	background: var(--nxm-v2-soft);
	line-height: 0;
}

.nxm-v2-thumb img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.nxm-v2-product-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nxm-v2-product-name {
	color: var(--wd-title-color);
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	overflow-wrap: anywhere;
}

a.nxm-v2-product-name:hover {
	color: var(--wd-primary-color);
}

.nxm-v2-sku {
	color: var(--wd-text-muted-color);
	font-size: 12px;
	overflow-wrap: anywhere;
}

.nxm-v2-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
	padding-left: 68px;
}

.nxm-v2-cell-product > .nxm-v2-tag {
	margin: 8px 0 0 68px;
}

.nxm-v2-tag {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.nxm-v2-tag.is-stock {
	background: var(--notices-success-bg);
	color: var(--notices-success-color);
}

.nxm-v2-tag.is-lead {
	background: var(--notices-warning-bg);
	color: var(--notices-warning-color);
}

.nxm-v2-tag.is-muted {
	background: var(--nxm-v2-soft);
	color: var(--wd-text-muted-color);
}

button.nxm-v2-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	min-height: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--btn-default-brd-radius, var(--wd-brd-radius));
	background: transparent;
	box-shadow: none;
	color: var(--wd-text-muted-color);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

button.nxm-v2-icon-button:hover {
	background: var(--nxm-v2-soft);
	color: var(--wd-title-color);
}

.nxm-v2-table-foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--nxm-v2-line);
}

.nxm-v2-table-foot .nxm-v2-help {
	margin: 0 auto 0 0;
	color: var(--notices-warning-color);
}

.nxm-v2-qty-form.is-dirty [data-nxm-save] {
	border-color: var(--wd-primary-color);
	background: var(--wd-primary-color);
	color: var(--wd-main-bgcolor);
}

/* Summary and definition lists */

.nxm-v2-dl {
	margin: 0 0 16px;
}

.nxm-v2-dl > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-bottom: 1px solid var(--nxm-v2-line);
}

.nxm-v2-dl > div:first-child {
	padding-top: 0;
}

.nxm-v2-dl dt,
.nxm-v2-dl dd {
	margin: 0;
	font-size: 14px;
}

.nxm-v2-dl dt {
	flex: 0 0 auto;
	color: var(--wd-text-muted-color);
}

.nxm-v2-dl dd {
	color: var(--wd-title-color);
	text-align: right;
}

.nxm-v2-dl .is-total {
	align-items: baseline;
	border-bottom: 0;
}

.nxm-v2-dl .is-total dt {
	color: var(--wd-title-color);
	font-weight: 600;
}

.nxm-v2-dl .is-total dd {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.nxm-v2-dl small {
	display: block;
	margin-top: 2px;
	color: var(--wd-text-muted-color);
	font-size: 12px;
	font-weight: 400;
}

.nxm-v2-summary .btn,
.nxm-v2-act .btn {
	margin-top: 4px;
}

.nxm-v2-submit {
	margin: 0;
}

.nxm-v2-submit .nxm-v2-field:last-of-type {
	margin-bottom: 16px;
}

.nxm-v2-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.nxm-v2-received {
	width: 100%;
	max-width: 40rem;
	margin-inline: auto;
}

.nxm-v2-success {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 4px;
	padding: 12px 14px;
	border-radius: var(--wd-brd-radius, 8px);
	background: var(--notices-success-bg);
	color: var(--notices-success-color);
}

.nxm-v2-success p {
	margin: 0;
}

.nxm-v2-success .ti {
	flex: 0 0 auto;
	margin-top: 1px;
	font-size: 18px;
	line-height: 1.4;
}

button.nxm-v2-copy {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 0;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--wd-title-color);
	font-size: inherit;
	font-weight: 600;
	line-height: inherit;
	text-transform: none;
	cursor: pointer;
}

button.nxm-v2-copy .ti {
	color: var(--wd-primary-color);
	font-size: 16px;
	line-height: 1;
}

button.nxm-v2-copy:hover {
	color: var(--wd-primary-color);
}

button.nxm-v2-copy [data-nxm-copied]:empty {
	display: none;
}

button.nxm-v2-copy [data-nxm-copied] {
	color: var(--notices-success-color);
	font-size: 12px;
	font-weight: 600;
}

button.nxm-v2-copy.is-copied .ti {
	color: var(--notices-success-color);
}

.nxm-v2-received .nxm-v2-dl {
	margin: 18px 0;
}

.nxm-v2-received .btn {
	margin-top: 8px;
}

.nxm-v2-lookup-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.nxm-v2-lookup-head h2 {
	margin: 0;
}

.nxm-v2-lookup .nxm-v2-turnstile {
	margin: 16px 0;
}

.nxm-v2-lookup .nxm-v2-link {
	display: inline-block;
	margin-top: 16px;
}

.nxm-v2-summary button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Request detail */

.nxm-v2-head {
	margin-bottom: var(--nxm-v2-gap);
}

.nxm-v2-head-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px 28px;
}

.nxm-v2-back {
	display: inline-block;
	margin-bottom: 6px;
	color: var(--wd-link-color);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.nxm-v2-back::before {
	content: "‹";
	margin-right: 6px;
}

.nxm-v2-head-title {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.25;
}

.nxm-v2-head-title span {
	color: var(--wd-text-muted-color);
	font-weight: 400;
}

.nxm-v2-head-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0;
	color: var(--wd-text-muted-color);
	font-size: 13px;
}

.nxm-v2-head-total {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	margin: 0;
	color: var(--wd-title-color);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	text-align: right;
}

.nxm-v2-head-total small {
	color: var(--wd-text-muted-color);
	font-size: 13px;
	font-weight: 400;
}

.nxm-v2-progress {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--nxm-v2-line);
}

.nxm-v2-steps {
	--nxm-v2-mark: 48px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.nxm-v2-step-sent {
	--nxm-v2-step: var(--wd-primary-color);
	--nxm-v2-step-bg: color-mix(in srgb, var(--wd-primary-color) 12%, var(--wd-main-bgcolor));
}

.nxm-v2-step-ready {
	--nxm-v2-step: var(--notices-warning-color);
	--nxm-v2-step-bg: var(--notices-warning-bg);
}

.nxm-v2-step-approved {
	--nxm-v2-step: var(--nxm-info-color, var(--wd-primary-color));
	--nxm-v2-step-bg: var(--nxm-info-bg, var(--nxm-v2-soft));
}

.nxm-v2-step-paid {
	--nxm-v2-step: var(--notices-success-color);
	--nxm-v2-step-bg: var(--notices-success-bg);
}

.nxm-v2-steps li {
	--nxm-v2-tone: var(--wd-text-muted-color);
	--nxm-v2-tone-bg: var(--nxm-v2-soft);
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 0;
	padding: 0 4px;
	text-align: center;
}

.nxm-v2-steps li.is-done,
.nxm-v2-steps li.is-current {
	--nxm-v2-tone: var(--nxm-v2-step);
	--nxm-v2-tone-bg: var(--nxm-v2-step-bg);
}

.nxm-v2-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: calc(var(--nxm-v2-mark) / 2 - 1.5px);
	left: calc(50% + var(--nxm-v2-mark) / 2 + 6px);
	right: calc(-50% + var(--nxm-v2-mark) / 2 + 6px);
	height: 3px;
	border-radius: 3px;
	background: var(--nxm-v2-line);
}

.nxm-v2-steps li.is-done:not(:last-child)::after {
	background: var(--nxm-v2-tone);
}

.nxm-v2-step-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--nxm-v2-mark);
	height: var(--nxm-v2-mark);
	margin-bottom: 10px;
	border: 2px solid transparent;
	border-radius: 50%;
	background: var(--nxm-v2-tone-bg);
	color: var(--nxm-v2-tone);
	font-size: calc(var(--nxm-v2-mark) / 2);
	line-height: 1;
}

.nxm-v2-steps li.is-current .nxm-v2-step-mark {
	border-color: color-mix(in srgb, var(--nxm-v2-tone) 30%, transparent);
	box-shadow: 0 0 0 4px var(--nxm-v2-tone-bg);
}

.nxm-v2-step-label {
	color: var(--wd-text-muted-color);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.nxm-v2-steps li.is-done .nxm-v2-step-label,
.nxm-v2-steps li.is-current .nxm-v2-step-label {
	color: var(--wd-title-color);
}

.nxm-v2-step-date {
	color: var(--wd-text-muted-color);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.nxm-v2-progress .nxm-v2-next {
	text-align: center;
}

.nxm-v2-next,
.nxm-v2-closed {
	margin: 0;
	color: var(--wd-title-color);
}

.nxm-v2-closed {
	font-weight: 600;
}

.nxm-v2-customer-note {
	margin: 16px 0 0;
	padding: 12px 14px;
	border-radius: var(--wd-brd-radius, 8px);
	background: var(--nxm-v2-soft);
	font-size: 14px;
	overflow-wrap: anywhere;
}

.nxm-v2-customer-note strong {
	display: block;
	margin-bottom: 2px;
	color: var(--wd-title-color);
	font-size: 13px;
}

.nxm-v2-revise {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--nxm-v2-line);
}

.nxm-v2-revise summary {
	width: fit-content;
	min-height: 32px;
	color: var(--wd-primary-color);
	font-weight: 600;
	line-height: 32px;
	cursor: pointer;
}

.nxm-v2-revise form {
	margin: 10px 0 0;
}

.nxm-v2-revise-list {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.nxm-v2-revise-list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 96px;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--nxm-v2-line);
}

.nxm-v2-revise-list label {
	color: var(--wd-title-color);
	font-size: 14px;
	overflow-wrap: anywhere;
}

.nxm-v2-revise-list input {
	width: 100%;
	text-align: center;
}

.nxm-v2-revise .btn {
	margin-top: 12px;
}

.nxm-v2-revise .nxm-v2-revise-add {
	margin-top: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--nxm-v2-line);
}

.nxm-v2-revise .nxm-v2-revise-add .btn {
	margin-top: 25px;
}

.nxm-v2-revise .nxm-v2-field {
	margin-top: 14px;
}

.nxm-v2-revise .nxm-v2-revise-add .nxm-v2-field {
	margin-top: 0;
}

.nxm-v2-revise-warn {
	margin: 8px 0 0;
	padding: 10px 12px;
	border-radius: var(--wd-brd-radius, 8px);
	background: var(--notices-warning-bg);
	color: var(--notices-warning-color);
}

.nxm-v2-head-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 4px 12px;
	margin-top: 12px;
}

.nxm-v2-head-actions form {
	margin: 0;
}

.nxm-v2-head-actions button.nxm-v2-text-button {
	min-height: 36px;
	font-size: 13px;
}

.nxm-v2-act.is-attention {
	border-color: var(--notices-warning-color);
}

.nxm-v2-act p {
	margin: 0 0 14px;
}

.nxm-v2-act form {
	margin: 0;
}

.nxm-v2-choices {
	display: grid;
	gap: 10px;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.nxm-v2-choices legend {
	margin-bottom: 8px;
	padding: 0;
	color: var(--wd-title-color);
	font-size: 13px;
	font-weight: 600;
}

.nxm-v2-choice {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--nxm-v2-line);
	border-radius: var(--wd-brd-radius, 8px);
	cursor: pointer;
}

.nxm-v2-choice:has(input:checked) {
	border-color: var(--wd-primary-color);
	box-shadow: inset 0 0 0 1px var(--wd-primary-color);
}

.nxm-v2-choice input {
	margin: 3px 0 0;
}

.nxm-v2-choice strong {
	display: block;
	color: var(--wd-title-color);
	font-size: 14px;
}

.nxm-v2-choice small {
	display: block;
	margin-top: 2px;
	color: var(--wd-text-muted-color);
	font-size: 13px;
	line-height: 1.4;
}

.nxm-v2-secondary {
	margin-top: 10px;
	text-align: center;
}

button.nxm-v2-text-button {
	min-height: 44px;
	height: auto;
	margin: 0;
	padding: 0 8px;
	border: 0;
	border-radius: var(--btn-default-brd-radius, var(--wd-brd-radius));
	background: transparent;
	box-shadow: none;
	color: var(--wd-text-color);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-transform: none;
	cursor: pointer;
}

button.nxm-v2-text-button:hover {
	color: var(--wd-title-color);
}

.nxm-v2-proposal {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.nxm-v2-proposal li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--nxm-v2-line);
	font-size: 14px;
}

.nxm-v2-proposal strong {
	color: var(--wd-title-color);
	white-space: nowrap;
}

.nxm-v2-private {
	margin: 16px 0 0;
	color: var(--wd-text-muted-color);
	font-size: 13px;
	text-align: center;
}

.nxm-v2-empty {
	padding: 40px 24px;
	text-align: center;
}

.nxm-v2-empty h2 {
	margin-bottom: 8px;
	font-size: 18px;
}

.nxm-v2-empty p {
	max-width: 480px;
	margin: 0 auto 18px;
}

/* Status badge */

.nxm-v2-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--nxm-v2-soft);
	color: var(--wd-text-muted-color);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.nxm-v2-badge i {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.nxm-v2-badge.is-wait {
	background: var(--notices-warning-bg);
	color: var(--notices-warning-color);
}

.nxm-v2-badge.is-act {
	background: color-mix(in srgb, var(--wd-primary-color) 12%, var(--wd-main-bgcolor));
	color: var(--wd-primary-color);
}

.nxm-v2-badge.is-done {
	background: var(--notices-success-bg);
	color: var(--notices-success-color);
}

/* Account list */

.nxm-v2-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.nxm-v2-toolbar p {
	margin: 0;
	color: var(--wd-text-muted-color);
}

.nxm-v2-requests {
	display: grid;
	gap: 12px;
}

.nxm-v2-request {
	position: relative;
	border: 1px solid var(--nxm-v2-line);
	border-radius: var(--wd-brd-radius, 8px);
	background: var(--wd-main-bgcolor);
}

.nxm-v2-request:hover {
	border-color: var(--wd-primary-color);
}

.nxm-v2-request-hit {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.nxm-v2-request-head,
.nxm-v2-request-main {
	display: flex;
	align-items: center;
	gap: 8px 14px;
	padding: 14px 16px;
}

.nxm-v2-request-head {
	flex-wrap: wrap;
	border-bottom: 1px solid var(--nxm-v2-line);
}

.nxm-v2-request-id {
	color: var(--wd-title-color);
	font-weight: 600;
}

.nxm-v2-request-type {
	color: var(--wd-title-color);
	font-size: 14px;
}

.nxm-v2-request-head time {
	color: var(--wd-text-muted-color);
	font-size: 13px;
}

.nxm-v2-request-head .nxm-v2-badge {
	margin-left: auto;
}

.nxm-v2-request-summary {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	margin: 0;
	font-size: 13px;
}

.nxm-v2-request-title {
	overflow: hidden;
	color: var(--wd-title-color);
	font-size: 14px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nxm-v2-request-price {
	color: var(--wd-title-color);
	font-size: 14px;
	font-weight: 600;
}

.nxm-v2-request-actions {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	margin-left: auto;
}

.nxm-v2-chevron {
	display: block;
	width: 8px;
	height: 8px;
	margin-right: 4px;
	border-top: 2px solid var(--wd-primary-color);
	border-right: 2px solid var(--wd-primary-color);
	transform: rotate(45deg);
}

/* Product page */

.nxm-v2-cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}

.nxm-v2-cta form.cart {
	margin-bottom: 0;
}

.nxm-v2-cta .nxm-v2-termin,
.nxm-v2-oos-row .nxm-v2-termin,
.wd-sticky-btn-cart .nxm-v2-termin {
	flex: 1 1 auto;
	text-transform: none;
}

.nxm-v2-termin[hidden],
form.cart .single_add_to_cart_button[hidden] {
	display: none;
}

.nxm-v2-oos-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.nxm-v2-oos-row .quantity {
	flex: 0 0 auto;
}

.nxm-v2-cta-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--wd-brd-radius, 8px);
	background: var(--notices-warning-bg);
	color: var(--notices-warning-color);
	font-size: 13px;
	line-height: 1.45;
}

.nxm-v2-cta-note .ti {
	flex: 0 0 auto;
	margin-top: 1px;
	font-size: 18px;
	line-height: 1;
}

.nxm-v2-cta-note-title {
	display: block;
	font-weight: 600;
}

p.stock.nxm-v2-lead-badge {
	color: var(--nxm-danger-color);
}

p.stock.nxm-v2-lead-badge span {
	gap: 0.4em;
	border-color: var(--nxm-danger-color);
	background: var(--nxm-danger-bg);
	color: var(--nxm-danger-color);
}

p.stock.nxm-v2-lead-badge.wd-style-bordered span::before {
	content: none;
}

p.stock.nxm-v2-lead-badge .ti {
	font-size: 1.05em;
	line-height: 1;
}

button.nxm-v2-bulk-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	min-height: 0;
	height: auto;
	margin: 0;
	padding: 2px 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--wd-primary-color);
	font-family: inherit;
	font-size: inherit;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.4;
	text-align: start;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
}

button.nxm-v2-bulk-link:hover {
	background: none;
	color: var(--wd-primary-color);
	text-decoration: underline;
}

.nxm-v2-bulk-link:focus-visible {
	outline: 2px solid var(--wd-primary-color);
	outline-offset: 3px;
}

.nxm-v2-bulk-link .ti {
	font-size: 18px;
	line-height: 1;
}

.nxm-v2-cta-lists {
	margin: 0;
	color: var(--wd-text-muted-color);
	font-size: 13px;
	text-align: center;
}

.nxm-v2-cta-lists a {
	color: var(--wd-primary-color);
	font-weight: 600;
	text-decoration: none;
}

.nxm-v2-cta-lists a span {
	color: var(--wd-text-muted-color);
	font-weight: 400;
}

.nxm-v2-cta[aria-busy="true"] .nxm-v2-termin,
.nxm-v2-cta[aria-busy="true"] .nxm-v2-bulk-link {
	opacity: 0.6;
	pointer-events: none;
}

/* Tablet */

@container (max-width: 900px) {
	.nxm-v2-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nxm-v2-side {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		gap: 16px;
		align-items: start;
	}

	.nxm-v2-side .nxm-v2-card + .nxm-v2-card {
		margin-top: 0;
	}
}

/* Phone */

@container (max-width: 600px) {
	.nxm-v2 {
		--nxm-v2-gap: 16px;
		--nxm-v2-pad: 16px;
	}

	.nxm-v2-intro {
		margin-bottom: 16px;
	}

	.nxm-v2-tabs {
		gap: 8px;
	}

	.nxm-v2-tabs a {
		min-height: 56px;
		padding: 10px 12px;
	}

	.nxm-v2-tabs small {
		display: none;
	}

	.nxm-v2-add-row {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
	}

	.nxm-v2-field-sku {
		grid-column: 1 / -1;
	}

	.nxm-v2-add-button,
	.nxm-v2-revise .nxm-v2-revise-add .btn {
		align-self: end;
		margin-top: 0;
	}

	.nxm-v2-field-qty {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 10px;
	}

	.nxm-v2-field-qty label {
		margin: 0;
	}

	.nxm-v2-file-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.nxm-v2-file-row .btn {
		width: 100%;
	}

	.nxm-v2-table thead {
		display: none;
	}

	.nxm-v2-table,
	.nxm-v2-table tbody,
	.nxm-v2-table tfoot {
		display: block;
	}

	.nxm-v2-table tbody tr {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto 36px;
		grid-template-areas:
			"product product product remove"
			"qty unit total total";
		align-items: center;
		gap: 10px 12px;
		padding: 14px 0;
		border-bottom: 1px solid var(--nxm-v2-line);
	}

	.nxm-v2-view-table tbody tr {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas:
			"product product product"
			"qty unit total";
	}

	.nxm-v2-cell-total {
		text-align: right;
	}

	.nxm-v2-table tbody tr:first-child {
		padding-top: 0;
	}

	.nxm-v2-table tbody tr:last-child {
		border-bottom: 0;
	}

	.nxm-v2-table td {
		padding: 0;
		border: 0;
	}

	.nxm-v2-cell-product {
		grid-area: product;
	}

	.nxm-v2-cell-remove {
		grid-area: remove;
		align-self: start;
		width: auto;
	}

	.nxm-v2-cell-qty {
		grid-area: qty;
		text-align: left;
	}

	.nxm-v2-table .nxm-v2-cell-unit {
		grid-area: unit;
		color: var(--wd-text-muted-color);
		font-size: 13px;
		text-align: left;
	}

	.nxm-v2-cell-total {
		grid-area: total;
	}

	.nxm-v2-view-table .nxm-v2-cell-qty::after {
		content: " adet";
		color: var(--wd-text-muted-color);
		font-size: 13px;
	}

	.nxm-v2-table .nxm-v2-cell-unit::before {
		content: "× ";
	}

	.nxm-v2 .nxm-v2-cell-qty input {
		width: 76px;
	}

	.nxm-v2-tags {
		padding-left: 0;
	}

	.nxm-v2-cell-product > .nxm-v2-tag {
		margin-left: 0;
	}

	.nxm-v2-table tfoot tr {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding-top: 12px;
		border-top: 1px solid var(--nxm-v2-line);
	}

	.nxm-v2-table tfoot th,
	.nxm-v2-table tfoot td {
		padding: 0;
		border: 0;
		text-align: left;
	}

	.nxm-v2-table-foot {
		flex-wrap: wrap;
	}

	.nxm-v2-table-foot .btn {
		width: 100%;
	}

	.nxm-v2-head-row {
		flex-direction: column;
		gap: 12px;
	}

	.nxm-v2-head-total {
		align-items: flex-start;
		text-align: left;
	}

	.nxm-v2-steps {
		--nxm-v2-mark: 38px;
	}

	.nxm-v2-steps li {
		padding: 0 2px;
	}

	.nxm-v2-steps li:not(:last-child)::after {
		left: calc(50% + var(--nxm-v2-mark) / 2 + 3px);
		right: calc(-50% + var(--nxm-v2-mark) / 2 + 3px);
	}

	.nxm-v2-step-mark {
		margin-bottom: 8px;
	}

	.nxm-v2-step-label {
		font-size: 12px;
	}

	.nxm-v2-step-date {
		font-size: 11px;
	}

	.nxm-v2-progress .nxm-v2-next {
		text-align: left;
	}

	.nxm-v2-head-actions {
		justify-content: flex-start;
	}

	.nxm-v2-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.nxm-v2-request-main {
		flex-wrap: wrap;
	}

	.nxm-v2-request:has(.btn) .nxm-v2-request-actions,
	.nxm-v2-request:has(.btn) .nxm-v2-request-actions .btn {
		width: 100%;
		margin-left: 0;
	}

	.nxm-v2-request-title {
		white-space: normal;
	}
}
