/**
 * Nuku Woo Product Add-ons — Estilos frontend.
 */
.nuku-fields {
	margin: 1.5em 0;
	display: flex;
	flex-direction: column;
	gap: 1.1em;
}

.nuku-group-title {
	font-size: 1.25em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0.4em 0 0.2em;
}

.nuku-field {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
}

.nuku-label {
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.nuku-field .nuku-input[type="text"],
.nuku-field select.nuku-input {
	width: 100%;
	max-width: 640px;
	padding: 0.7em 0.9em;
	border: 1px solid rgba( 0, 0, 0, 0.18 );
	border-radius: 999px;       /* Campo redondeado como el ejemplo. */
	font-size: 1em;
	box-sizing: border-box;
	background: #f7f7f7;
}

.nuku-field select.nuku-input {
	border-radius: 8px;
}

.nuku-radio-group,
.nuku-field--checkbox {
	display: flex;
	flex-direction: column;
	gap: 0.45em;
}

.nuku-radio-label,
.nuku-checkbox-label {
	display: flex;
	align-items: center;
	gap: 0.6em;
	cursor: pointer;
	font-weight: 600;
}

.nuku-field .required {
	color: #c0392b;
	border: 0;
	text-decoration: none;
}

/* Tooltip de ayuda (estilo burbuja turquesa del ejemplo). */
.nuku-tip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #16b8a6;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	cursor: help;
	position: relative;
}

.nuku-tip-bubble {
	display: none;
	position: absolute;
	left: 50%;
	bottom: 130%;
	transform: translateX( -50% );
	width: max-content;
	max-width: 280px;
	background: #16b8a6;
	color: #fff;
	font-weight: 400;
	font-size: 0.85em;
	line-height: 1.35;
	padding: 0.6em 0.8em;
	border-radius: 8px;
	z-index: 20;
	box-shadow: 0 4px 14px rgba( 0, 0, 0, 0.15 );
}

.nuku-tip-bubble::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX( -50% );
	border: 7px solid transparent;
	border-top-color: #16b8a6;
}

.nuku-tip:hover .nuku-tip-bubble,
.nuku-tip:focus .nuku-tip-bubble {
	display: block;
}

/* Caja de precio. */
.nuku-price-box {
	margin-top: 0.6em;
	padding: 0.4em 0;
	border-top: 1px solid rgba( 0, 0, 0, 0.08 );
}

.nuku-price-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 0.45em 0;
	font-size: 1em;
	letter-spacing: 0.02em;
}

.nuku-price-row span:first-child {
	text-transform: uppercase;
	color: #444;
}

.nuku-price-val {
	font-weight: 700;
	font-size: 1.05em;
}

.nuku-price-total {
	border-top: 1px solid rgba( 0, 0, 0, 0.08 );
	margin-top: 0.2em;
	padding-top: 0.7em;
}

.nuku-price-total .nuku-price-val {
	font-size: 1.2em;
}

/* Selector de fuente con vista previa. */
.nuku-font-group {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 200px, 1fr ) );
	gap: 0.6em;
}
.nuku-font-option {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.7em 0.9em;
	border: 1px solid rgba( 0, 0, 0, 0.15 );
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
	background: #fff;
}
.nuku-font-option:hover {
	border-color: #16b8a6;
}
/* Resalta la opción seleccionada. */
.nuku-font-option:has( input:checked ) {
	border-color: #16b8a6;
	box-shadow: 0 0 0 2px rgba( 22, 184, 166, 0.25 );
}
.nuku-font-meta {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
	min-width: 0;
}
.nuku-font-name {
	font-size: 0.8em;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.nuku-font-preview {
	font-size: 1.6em;
	line-height: 1.1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.nuku-font-option.is-selected {
	border-color: #16b8a6;
	box-shadow: 0 0 0 2px rgba( 22, 184, 166, 0.25 );
}
