/* DavCos Optiuni produs - campurile din pagina produsului (stil potrivit cu Woostify). */
form.cart .davcos-po-fields {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	margin: 0 0 18px;
	order: -1;
}
form.cart:has(.davcos-po-fields) {
	flex-wrap: wrap;
}
.davcos-po-field {
	margin: 0 0 16px;
}
.davcos-po-field:last-of-type {
	margin-bottom: 0;
}
.davcos-po-label-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
}
.davcos-po-label {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.4;
	color: inherit;
	margin: 0;
	cursor: default;
}
.davcos-po-req {
	color: #e02b27;
	font-weight: 700;
	margin-left: 3px;
}
.davcos-po-help {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #e8eaed;
	color: #555;
	font-size: 12px;
	font-weight: 700;
	cursor: help;
	outline: none;
}
.davcos-po-tip {
	display: none;
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	transform: translateX(-50%);
	width: max-content;
	max-width: 260px;
	padding: 8px 10px;
	border-radius: 6px;
	background: #07111b;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	z-index: 20;
	white-space: normal;
}
.davcos-po-help:hover .davcos-po-tip,
.davcos-po-help:focus .davcos-po-tip {
	display: block;
}
.davcos-po-fields input.davcos-po-input,
.davcos-po-fields select.davcos-po-input,
.davcos-po-fields textarea.davcos-po-input {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #d9dde1;
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
	line-height: 1.4;
	color: #07111b;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.davcos-po-fields textarea.davcos-po-input {
	min-height: 88px;
	resize: vertical;
}
.davcos-po-fields input.davcos-po-file {
	padding: 8px 10px;
}
.davcos-po-fields .davcos-po-input:focus {
	border-color: #FF6A00;
	box-shadow: 0 0 0 3px rgba(255, 106, 0, .15);
	outline: none;
}
.davcos-po-comment,
.davcos-po-file-hint {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.45;
	color: #8a8f95;
}
.davcos-po-error {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #e02b27;
}
.davcos-po-invalid .davcos-po-input {
	border-color: #e02b27 !important;
}
.davcos-po-choice {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	font-weight: 400;
	cursor: pointer;
}
.davcos-po-choice input {
	margin: 0;
}
.davcos-po-icon,
.davcos-po-select-icon img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #e8eaed;
}
.davcos-po-select-icon {
	margin-top: 8px;
}
.davcos-po-hidden {
	display: none !important;
}
.davcos-po-locked {
	opacity: .5;
}
.davcos-po-unavailable,
.davcos-po-combination-warning {
	padding: 10px 12px;
	border-radius: 6px;
	background: #fff4e5;
	color: #8a4b00;
	font-size: 14px;
}
.davcos-po-combination-warning {
	margin-top: 12px;
}

/* Popup „camp obligatoriu” (v1.1.0). */
.davcos-po-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(7, 17, 27, .6);
	opacity: 0;
	transition: opacity .15s ease;
}
.davcos-po-modal-overlay.is-open {
	opacity: 1;
}
.davcos-po-modal {
	position: relative;
	width: 420px;
	max-width: 90vw;
	max-height: 85vh;
	overflow: auto;
	box-sizing: border-box;
	padding: 28px 24px 22px;
	border-radius: 12px;
	background: #fff;
	color: #07111b;
	text-align: center;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
	transform: translateY(8px);
	transition: transform .15s ease;
}
.davcos-po-modal-overlay.is-open .davcos-po-modal {
	transform: none;
}
.davcos-po-modal-icon {
	width: 44px;
	height: 44px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: #fdecea;
	color: #e02b27;
	font-size: 24px;
	font-weight: 700;
	line-height: 44px;
}
.davcos-po-modal-text p {
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 600;
}
.davcos-po-modal-text {
	margin-bottom: 18px;
}
.davcos-po-modal .davcos-po-modal-ok {
	min-width: 120px;
	min-height: 44px;
	padding: 10px 28px;
	border: 0;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.davcos-po-modal .davcos-po-modal-ok:focus-visible,
.davcos-po-modal .davcos-po-modal-x:focus-visible {
	outline: 3px solid rgba(255, 106, 0, .5);
	outline-offset: 2px;
}
.davcos-po-modal .davcos-po-modal-x {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #8a8f95;
	font-size: 26px;
	line-height: 36px;
	cursor: pointer;
}
.davcos-po-modal .davcos-po-modal-x:hover {
	color: #07111b;
}
.davcos-po-modal-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: #f0f1f3;
	overflow: hidden;
	border-radius: 0 0 12px 12px;
}
.davcos-po-modal-progress span {
	display: block;
	height: 100%;
	background: #FF6A00;
	transform-origin: left center;
	transform: scaleX(1);
}
.davcos-po-modal.is-paused .davcos-po-modal-progress span {
	opacity: .5;
}
