.dqb-account-header {
	align-items: center;
	background: linear-gradient(135deg, #1a1a2e 0%, #262458 54%, #0b7f68 100%);
	border-radius: 14px;
	box-shadow: 0 18px 42px rgba(26, 26, 46, .14);
	color: #fff;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 24px;
	padding: clamp(24px, 4vw, 36px);
}

.dqb-account-header h2 {
	color: #fff !important;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.05;
	margin: 0 0 10px;
}

.dqb-account-header p {
	color: rgba(255, 255, 255, .84);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
	max-width: 620px;
}

.dqb-account-header .button,
.dqb-account-header .button.alt {
	align-items: center;
	background: #00c896 !important;
	border: 1px solid rgba(255, 255, 255, .2) !important;
	border-radius: 8px !important;
	box-shadow: 0 12px 22px rgba(0, 200, 150, .18);
	color: #1a1a2e !important;
	display: inline-flex;
	font-weight: 800;
	min-height: 42px;
	padding: 0 18px !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.dqb-account-quotes,
.dqb-account-quote {
	color: #1a1a2e;
}

.dqb-account-detail-hero {
	align-items: end;
	background: linear-gradient(135deg, #1a1a2e 0%, #242352 58%, #127c68 100%);
	border-radius: 14px;
	box-shadow: 0 18px 42px rgba(26, 26, 46, .14);
	color: #fff;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-bottom: 22px;
	padding: clamp(24px, 4vw, 36px);
}

.dqb-account-detail-hero .dqb-account-back {
	color: #b7fff0;
	font-size: 13px;
	font-weight: 800;
	grid-column: 1 / -1;
	text-decoration: none;
	width: fit-content;
}

.dqb-account-detail-hero span:first-child {
	color: #b7fff0;
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.dqb-account-detail-hero h2 {
	color: #fff !important;
	font-size: clamp(30px, 5vw, 48px);
	font-weight: 850;
	line-height: 1;
	margin: 0;
}

.dqb-account-detail-hero .dqb-customer-status {
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .24);
	color: #fff;
}

.dqb-account-quotes .woocommerce-info,
.dqb-account-quotes .woocommerce-message,
.dqb-account-quotes .woocommerce-error {
	border-radius: 10px;
}

.dqb-account-quotes table.shop_table,
.dqb-account-quote table.shop_table {
	background: #fff;
	border: 1px solid #dde5ef !important;
	border-collapse: separate !important;
	border-radius: 12px;
	border-spacing: 0;
	box-shadow: 0 16px 36px rgba(26, 26, 46, .08);
	overflow: hidden;
}

.dqb-account-quotes table.shop_table th,
.dqb-account-quote table.shop_table th {
	background: #f8fafc !important;
	border-bottom: 1px solid #dde5ef !important;
	color: #4b5870 !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	padding: 14px 16px !important;
	text-transform: uppercase;
}

.dqb-account-quotes table.shop_table td,
.dqb-account-quote table.shop_table td {
	border-bottom: 1px solid #edf2f7 !important;
	color: #334155;
	padding: 15px 16px !important;
	vertical-align: middle;
}

.dqb-account-quote table.shop_table tfoot th,
.dqb-account-quote table.shop_table tfoot td {
	background: #fff !important;
	border-top: 1px solid #edf2f7 !important;
	color: #1a1a2e !important;
	font-weight: 800;
	padding: 14px 16px !important;
	text-align: right;
}

.dqb-account-quote table.shop_table tfoot tr.dqb-account-total-row th,
.dqb-account-quote table.shop_table tfoot tr.dqb-account-total-row td {
	background: #1a1a2e !important;
	color: #fff !important;
	font-size: 16px;
}

.dqb-account-quotes table.shop_table tbody tr:last-child td,
.dqb-account-quote table.shop_table tbody tr:last-child td {
	border-bottom: 0 !important;
}

.dqb-account-quotes table.shop_table a {
	color: #6c63ff;
	font-weight: 800;
	text-decoration: none;
}

.dqb-account-quotes table.shop_table a:hover {
	color: #4f46e5;
}

.dqb-customer-status {
	background: #f0f0f1;
	border-radius: 999px;
	display: inline-block;
	font-size: .82em;
	font-weight: 600;
	padding: 4px 9px;
}

.dqb-customer-status-sent {
	background: #e7f5ff;
	color: #005a87;
}

.dqb-customer-status-pending_review {
	background: #fff4d6;
	color: #704b00;
}

.dqb-cart-request {
	border-top: 1px solid #e2e2e2;
	margin-top: 18px;
	padding-top: 18px;
}

.dqb-cart-request textarea {
	box-sizing: border-box;
	margin: 8px 0 12px;
	width: 100%;
}

.dqb-cart-request-note {
	color: #666;
	font-size: .9em;
	margin: 8px 0 0;
}

.dqb-cart-shipping-option {
	align-items: center;
	display: flex;
	gap: 8px;
	margin: 0 0 14px;
}

.dqb-customer-status-accepted,
.dqb-customer-status-converted {
	background: #edfaef;
	color: #116329;
}

.dqb-customer-status-rejected,
.dqb-customer-status-cancelled,
.dqb-customer-status-expired {
	background: #fcf0f1;
	color: #8a2424;
}

.dqb-account-summary {
	background: #fff;
	border: 1px solid #dde5ef;
	border-left: 4px solid #6c63ff;
	border-radius: 12px;
	box-shadow: 0 14px 32px rgba(26, 26, 46, .07);
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 22px 0;
	padding: 18px;
}

.dqb-account-summary div {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.dqb-account-summary span {
	color: #666;
	font-size: .85em;
}

.dqb-account-summary strong {
	font-size: 1.08em;
}

.dqb-account-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.dqb-account-actions .button,
.dqb-account-quotes table.shop_table .button {
	align-items: center;
	background: #1a1a2e !important;
	border: 1px solid #1a1a2e !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	color: #fff !important;
	display: inline-flex;
	font-weight: 700;
	min-height: 36px;
	padding: 0 13px !important;
	text-decoration: none !important;
}

.dqb-account-actions .button:hover,
.dqb-account-quotes table.shop_table .button:hover {
	background: #6c63ff !important;
	border-color: #6c63ff !important;
	color: #fff !important;
}

.dqb-shipping-estimate-summary {
	background: #f8fafc;
	border: 1px solid #dfe5ec;
	border-radius: 8px;
	margin: -8px 0 22px;
	padding: 13px 16px;
}

.dqb-shipping-estimate-summary small {
	color: #64748b;
	display: block;
	margin-top: 4px;
}

.dqb-customer-decision {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.dqb-frontend-builder {
	--dqb-primary: #22224c;
	--dqb-secondary: #f3f3f3;
	--dqb-accent: #6d28d9;
	background: #fff;
	border: 1px solid #e1e5eb;
	border-radius: 14px;
	box-shadow: 0 12px 36px rgba(17, 24, 39, .08);
	color: #1f2937;
	margin: 0 auto;
	max-width: 960px;
	padding: clamp(22px, 4vw, 42px);
}

.dqb-frontend-builder *,
.dqb-frontend-builder *::before,
.dqb-frontend-builder *::after {
	box-sizing: border-box;
}

.dqb-builder-heading {
	align-items: center;
	display: flex;
	gap: 20px;
	border-bottom: 1px solid #edf0f4;
	margin-bottom: 28px;
	padding-bottom: 22px;
}

.dqb-builder-heading h2 {
	color: var(--dqb-primary);
	font-family: inherit;
	font-size: clamp(26px, 4vw, 34px);
	font-weight: 750;
	line-height: 1.15;
	margin: 0 0 5px;
}

.dqb-builder-heading p {
	color: #697386;
	margin: 0;
}

.dqb-builder-logo {
	height: auto;
	max-height: 72px;
	max-width: 180px;
	object-fit: contain;
}

.dqb-builder-search {
	margin-bottom: 24px;
	position: relative;
}

.dqb-builder-search > label,
.dqb-builder-note > span {
	display: block;
	font-weight: 700;
	margin-bottom: 7px;
}

.dqb-builder-search-wrap {
	position: relative;
}

.dqb-builder-search input {
	background: #fff !important;
	border: 1.5px solid #d8dbe2;
	border-radius: 8px;
	box-shadow: none !important;
	color: #1f2937 !important;
	font-family: inherit;
	font-size: 15px;
	min-height: 48px;
	padding: 0 45px 0 14px;
	width: 100%;
}

.dqb-builder-search input:focus,
.dqb-builder-note textarea:focus,
.dqb-builder-address input:focus,
.dqb-builder-address select:focus,
.dqb-builder-shipping-actions select:focus,
.dqb-builder-shipping-actions input:focus {
	border-color: var(--dqb-accent) !important;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--dqb-accent) 22%, transparent) !important;
	outline: 0;
}

.dqb-builder-results {
	background: #fff !important;
	border: 1px solid #d8dbe2;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	left: 0;
	max-height: 380px;
	overflow: auto;
	position: absolute;
	right: 0;
	top: calc(100% + 5px);
	z-index: 50;
}

.dqb-builder-results > p {
	margin: 0;
	padding: 14px;
}

.dqb-builder-result {
	align-items: center;
	background: #fff !important;
	border: 0;
	border-bottom: 1px solid #edf0f4;
	cursor: pointer;
	display: grid;
	gap: 12px;
	grid-template-columns: 50px minmax(0, 1fr) auto;
	padding: 10px 12px;
	text-align: left;
	width: 100%;
}

.dqb-builder-result:hover {
	background: var(--dqb-secondary) !important;
}

.dqb-frontend-builder .dqb-builder-result,
.dqb-frontend-builder .dqb-builder-result:hover,
.dqb-frontend-builder .dqb-builder-result:focus {
	color: #1f2937 !important;
	font-family: inherit !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
}

.dqb-builder-result img,
.dqb-builder-no-image,
.dqb-builder-selected img {
	align-items: center;
	background: #eee;
	border-radius: 5px;
	display: flex;
	height: 44px;
	justify-content: center;
	object-fit: cover;
	width: 44px;
}

.dqb-builder-result-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dqb-builder-result-copy small {
	color: #6b7280;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 3px;
}

.dqb-builder-result-copy strong {
	color: #1f2937 !important;
	font-size: 14px;
	font-weight: 700;
}

.dqb-builder-result-attributes {
	color: #697386;
	font-size: 12px;
	margin-top: 2px;
}

.dqb-builder-result-copy .is-in-stock {
	color: #15803d;
}

.dqb-builder-result-copy .is-out-stock {
	color: #b91c1c;
}

.dqb-builder-result b {
	background: var(--dqb-primary);
	border: 0;
	border-radius: 6px;
	color: #fff;
	font-size: 13px;
	line-height: 1;
	padding: 8px 13px;
}

.dqb-builder-selected h3 {
	border-left: 4px solid var(--dqb-accent);
	color: var(--dqb-primary);
	font-size: 19px;
	margin: 0 0 12px;
	padding-left: 10px;
}

.dqb-builder-table-wrap {
	border: 1px solid #d8dbe2;
	border-radius: 8px;
	margin-bottom: 22px;
	overflow-x: auto;
}

.dqb-builder-table-wrap table {
	background: #fff !important;
	border: 0;
	border-collapse: collapse;
	margin: 0;
	min-width: 620px;
	width: 100%;
}

.dqb-builder-table-wrap th {
	background: var(--dqb-secondary) !important;
	color: #4b5563 !important;
	font-family: inherit;
	font-size: 12px;
	text-transform: uppercase;
}

.dqb-builder-table-wrap th,
.dqb-builder-table-wrap td {
	background: #fff;
	color: #1f2937;
	border: 0;
	border-bottom: 1px solid #edf0f4;
	padding: 11px 12px;
	vertical-align: middle;
}

.dqb-builder-table-wrap td:nth-child(2) strong,
.dqb-builder-table-wrap td:nth-child(2) small {
	display: block;
}

.dqb-builder-price {
	color: var(--dqb-primary) !important;
	font-weight: 700;
}

.dqb-builder-table-wrap td:nth-child(2) small {
	color: #6b7280;
	margin-top: 3px;
}

.dqb-builder-empty td {
	color: #6b7280;
	padding: 24px;
	text-align: center;
}

.dqb-builder-qty {
	align-items: stretch;
	background: #fff;
	border: 1px solid #d8dbe2;
	border-radius: 6px;
	display: flex;
	overflow: hidden;
	width: 116px;
}

.dqb-builder-qty button,
.dqb-builder-qty input {
	border: 0;
	border-radius: 0;
	box-shadow: none !important;
	color: #1f2937 !important;
	height: 38px;
	margin: 0;
	text-align: center;
	width: 38px;
}

.dqb-builder-qty button {
	background: var(--dqb-secondary) !important;
	cursor: pointer;
	font-family: inherit;
	font-size: 17px;
	padding: 0 !important;
}

.dqb-builder-qty input {
	-webkit-appearance: none !important;
	-webkit-text-fill-color: #1f2937 !important;
	background: #fff !important;
	border-left: 1px solid #e5e7eb !important;
	border-right: 1px solid #e5e7eb !important;
	flex: 0 0 40px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	opacity: 1 !important;
	-moz-appearance: textfield;
	padding: 0 !important;
	width: 40px !important;
}

.dqb-builder-qty input::-webkit-inner-spin-button,
.dqb-builder-qty input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.dqb-builder-remove {
	background: #fff1f2 !important;
	border: 1px solid #fecdd3 !important;
	border-radius: 6px;
	color: #be123c !important;
	cursor: pointer;
	font-size: 24px;
	height: 36px;
	line-height: 28px;
	padding: 0 !important;
	width: 36px;
}

.dqb-builder-note {
	display: block;
	margin-top: 24px;
}

.dqb-builder-shipping {
	background: #f8fafc;
	border: 1px solid #dfe5ec;
	border-radius: 10px;
	margin-top: 24px;
	padding: 18px;
}

.dqb-builder-shipping-toggle {
	align-items: center;
	display: flex;
	font-weight: 700;
	gap: 9px;
}

.dqb-builder-shipping-toggle input {
	accent-color: var(--dqb-accent);
}

.dqb-builder-shipping > p {
	color: #64748b;
	font-size: 13px;
	margin: 7px 0 15px;
}

.dqb-builder-address {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dqb-builder-address input,
.dqb-builder-address select,
.dqb-builder-shipping-actions select,
.dqb-builder-shipping-actions input {
	background: #fff !important;
	border: 1px solid #d8dbe2 !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	color: #1f2937 !important;
	min-height: 42px;
	padding: 7px 10px !important;
	width: 100%;
}

.dqb-builder-shipping-actions {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: auto minmax(180px, 1fr) minmax(140px, 220px);
	margin-top: 12px;
}

.dqb-calculate-shipping {
	background: var(--dqb-primary) !important;
	border-color: var(--dqb-primary) !important;
	border-radius: 7px !important;
	color: #fff !important;
	font-family: inherit;
	font-weight: 700;
	min-height: 42px;
	padding: 7px 14px !important;
}

.dqb-shipping-feedback {
	margin-bottom: 0 !important;
}

.dqb-builder-summary {
	background: var(--dqb-secondary);
	border-radius: 10px;
	display: grid;
	gap: 8px;
	margin: 22px 0 0 auto;
	max-width: 390px;
	padding: 16px 18px;
	width: 100%;
}

.dqb-builder-summary > div {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

.dqb-builder-summary span {
	color: #596274;
	font-size: 14px;
}

.dqb-builder-summary strong {
	color: var(--dqb-primary);
}

.dqb-builder-summary .dqb-summary-total-row {
	border-top: 1px solid rgba(31, 41, 55, .14);
	font-size: 18px;
	margin-top: 3px;
	padding-top: 10px;
}

.dqb-builder-summary .dqb-summary-total-row span {
	color: var(--dqb-primary);
	font-size: 15px;
	font-weight: 700;
}

.dqb-builder-summary > small {
	color: #697386;
	font-size: 12px;
	line-height: 1.45;
	margin-top: 3px;
}

.dqb-builder-login {
	background: #fff;
	border: 1px solid #e1e5eb;
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(17, 24, 39, .07);
	margin: 0 auto;
	max-width: 620px;
	padding: 30px;
	text-align: center;
}

.dqb-builder-login p {
	color: #596274;
	font-size: 16px;
	margin: 0 0 16px;
}

.dqb-builder-note textarea {
	background: #fff !important;
	border: 1px solid #d8dbe2;
	border-radius: 8px;
	box-shadow: none !important;
	color: #1f2937 !important;
	font-family: inherit;
	min-height: 110px;
	padding: 12px 14px;
	width: 100%;
}

.dqb-builder-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 18px;
}

.dqb-builder-submit {
	background: var(--dqb-primary) !important;
	border-color: var(--dqb-primary) !important;
	border-radius: 8px !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	min-height: 48px;
	min-width: 210px;
	padding: 0 24px !important;
	text-decoration: none !important;
}

.dqb-builder-submit:hover {
	filter: brightness(1.08);
}

@media (max-width: 600px) {
	.dqb-account-header,
	.dqb-builder-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.dqb-account-detail-hero {
		align-items: start;
		grid-template-columns: 1fr;
	}

	.dqb-frontend-builder {
		border-radius: 10px;
		padding: 20px 16px;
	}

	.dqb-builder-result {
		grid-template-columns: 44px minmax(0, 1fr);
	}

	.dqb-builder-result b {
		grid-column: 1 / -1;
		text-align: center;
	}

	.dqb-builder-table-wrap {
		border: 0;
		overflow: visible;
	}

	.dqb-builder-table-wrap table,
	.dqb-builder-table-wrap tbody {
		background: transparent !important;
		display: block;
		min-width: 0;
		width: 100%;
	}

	.dqb-builder-table-wrap thead {
		display: none;
	}

	.dqb-builder-table-wrap tr {
		background: #fff;
		border: 1px solid #d8dbe2;
		border-radius: 10px;
		display: grid;
		gap: 10px 14px;
		grid-template-columns: 56px minmax(0, 1fr) auto;
		margin-bottom: 12px;
		overflow: hidden;
		padding: 14px;
		position: relative;
	}

	.dqb-builder-table-wrap td {
		border: 0;
		display: block;
		min-width: 0;
		padding: 0;
	}

	.dqb-builder-item-image {
		grid-column: 1;
		grid-row: 1;
	}

	.dqb-builder-item-image img,
	.dqb-builder-item-image .dqb-builder-no-image {
		height: 52px;
		width: 52px;
	}

	.dqb-builder-item-product {
		grid-column: 2;
		grid-row: 1;
		padding-right: 30px !important;
	}

	.dqb-builder-table-wrap .dqb-builder-item-product strong,
	.dqb-builder-table-wrap .dqb-builder-item-product small {
		overflow-wrap: anywhere;
	}

	.dqb-builder-item-remove {
		grid-column: 3;
		grid-row: 1;
	}

	.dqb-builder-item-remove .dqb-builder-remove {
		height: 32px;
		width: 32px;
	}

	.dqb-builder-price,
	.dqb-builder-item-quantity {
		align-items: center;
		border-top: 1px solid #edf0f4 !important;
		display: flex !important;
		grid-column: 1 / -1;
		justify-content: space-between;
		padding-top: 10px !important;
	}

	.dqb-builder-price::before,
	.dqb-builder-item-quantity::before {
		color: #6b7280;
		content: attr(data-label);
		font-size: 12px;
		font-weight: 700;
		text-transform: uppercase;
	}

	.dqb-builder-empty {
		display: block !important;
		padding: 0 !important;
	}

	.dqb-builder-empty td {
		padding: 20px 14px !important;
		text-align: center;
	}

	.dqb-builder-actions,
	.dqb-builder-submit {
		width: 100%;
	}

	.dqb-builder-address,
	.dqb-builder-shipping-actions {
		grid-template-columns: 1fr;
	}

	.dqb-account-summary {
		grid-template-columns: 1fr;
	}
}
