/* Albi Müşteri Dosya Yükleme — hazır metin seçimi (tema görünümü) */

.mk-product__actions .acu-text,
.sp-variations .acu-text {
	margin: 0;
	padding: 16px;
	border: 1px solid var(--border-light, #efe9e1);
	border-radius: var(--radius, 12px);
	background: var(--bg-soft, #f4f1ec);
}

.acu-text__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 12px;
}

.acu-text__title {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dark, #1c1917);
}

.acu-text__title svg {
	color: var(--accent, #b98a2e);
}

.acu-text__hint {
	font-size: 11.5px;
	color: var(--text-light, #9a948c);
}

.acu-text__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.acu-text__cat,
.acu-text__select {
	flex: 1 1 200px;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid var(--border, #e6e0d8);
	border-radius: var(--radius-sm, 6px);
	background: var(--bg-white, #fff);
	color: var(--text-body, #57534e);
	font-size: 13px;
	transition: var(--transition, all .3s ease);
}

.acu-text__select:disabled {
	background: var(--bg-soft, #f4f1ec);
	color: var(--text-light, #9a948c);
	cursor: not-allowed;
}

.acu-text__cat:focus,
.acu-text__select:focus {
	outline: none;
	border-color: var(--accent, #b98a2e);
	box-shadow: 0 0 0 3px rgba(185, 138, 46, .12);
}

.acu-text__modes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-bottom: 12px;
}

.acu-text__mode {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--text-body, #57534e);
	cursor: pointer;
}

.acu-text__mode input {
	margin: 0;
	accent-color: var(--accent, #b98a2e);
}

.acu-text__custom {
	width: 100%;
	box-sizing: border-box;
	min-height: 84px;
	padding: 12px 14px;
	border: 1px solid var(--border, #e6e0d8);
	border-radius: var(--radius-sm, 6px);
	background: var(--bg-white, #fff);
	color: var(--text-body, #57534e);
	font-size: 13px;
	line-height: 1.55;
	resize: vertical;
	transition: var(--transition, all .3s ease);
}

.acu-text__custom:focus {
	outline: none;
	border-color: var(--accent, #b98a2e);
	box-shadow: 0 0 0 3px rgba(185, 138, 46, .12);
}

.acu-text__meter {
	margin-top: 5px;
	text-align: right;
	font-size: 11px;
	color: var(--text-light, #9a948c);
}

.acu-text__empty {
	margin: 0;
	font-size: 12.5px;
	color: var(--text-light, #9a948c);
}

/* Taşma önleme (alt satıra sar) */
.acu-text,
.acu-text__body,
.acu-text__box,
.acu-text__pane {
	max-width: 100%;
	box-sizing: border-box;
}

.acu-text__cat,
.acu-text__select {
	min-width: 0;
	max-width: 100%;
}

.acu-text__controls .acu-text__cat {
	flex: 1 1 auto;
	width: 100%;
}

/* Yazı seçenekleri — her söz kendi satırında */
.acu-text__options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
	max-width: 100%;
}

.acu-text__option {
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	padding: 10px 13px;
	border: 1px solid var(--border, #e6e0d8);
	border-radius: var(--radius-sm, 6px);
	background: var(--bg-white, #fff);
	color: var(--text-body, #57534e);
	font-size: 13px;
	line-height: 1.45;
	text-align: left;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	cursor: pointer;
	transition: var(--transition, all .3s ease);
}

.acu-text__option:hover {
	border-color: var(--accent, #b98a2e);
}

.acu-text__option.is-selected {
	border-color: var(--accent, #b98a2e);
	background: #fffdf8;
	color: var(--text-dark, #1c1917);
	font-weight: 600;
	box-shadow: inset 0 0 0 1px var(--accent, #b98a2e);
}

/* Modal tetikleyici */
.acu-text__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--border, #e6e0d8);
	border-radius: var(--radius-sm, 6px);
	background: var(--bg-white, #fff);
	color: var(--text-body, #57534e);
	font-size: 13px;
	text-align: left;
	cursor: pointer;
	transition: var(--transition, all .3s ease);
}

.acu-text__trigger:hover {
	border-color: var(--accent, #b98a2e);
}

.acu-text__trigger svg {
	flex: 0 0 auto;
	color: var(--accent, #b98a2e);
}

.acu-text__summary {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Modal gövde */
.acu-text[data-ui-mode="modal"] .acu-text__body {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 14px;
	background: rgba(20, 18, 16, .55);
	overflow-y: auto;
}

.acu-text[data-ui-mode="modal"] .acu-text__body.is-open {
	display: flex;
}

.acu-text__box {
	width: 100%;
}

.acu-text[data-ui-mode="modal"] .acu-text__box {
	max-width: 540px;
	margin: auto;
	padding: 20px;
	border-radius: var(--radius, 12px);
	background: var(--bg-white, #fff);
	box-shadow: 0 18px 50px rgba(20, 18, 16, .32);
}

.acu-text__box-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.acu-text__box-head strong {
	font-size: 15px;
	color: var(--text-dark, #1c1917);
}

.acu-text__close {
	width: 32px;
	height: 32px;
	line-height: 1;
	font-size: 20px;
	border: none;
	border-radius: var(--radius-full, 9999px);
	background: var(--bg-soft, #f4f1ec);
	color: var(--text-body, #57534e);
	cursor: pointer;
	padding: 0;
	transition: var(--transition, all .3s ease);
}

.acu-text__close:hover {
	background: #d63638;
	color: #fff;
}

.acu-text__foot {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}

.acu-text__clear,
.acu-text__apply {
	padding: 10px 20px;
	border-radius: var(--radius-sm, 6px);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid var(--border, #e6e0d8);
	background: var(--bg-white, #fff);
	color: var(--text-body, #57534e);
}

.acu-text__apply {
	border-color: transparent;
	background: var(--secondary-gradient, linear-gradient(135deg, #d4a03c, #b98a2e));
	color: #fff;
}

@keyframes acu-text-pop {
	from { opacity: 0; transform: translateY(-3px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Sepet / ödeme / sipariş gösterimi */
.acu-text-value {
	display: inline;
	color: var(--text-body, #57534e);
}

.acu-text-value__cat {
	font-weight: 600;
	color: var(--text-dark, #1c1917);
}

.acu-text-wrap {
	margin: 8px 0;
	font-size: 12px;
}

.acu-text-wrap__label {
	font-weight: 600;
	color: var(--text-dark, #1c1917);
}

.acu-text-wrap--email {
	margin: 6px 0;
	font-size: 12px;
}

@media (max-width: 575px) {
	.acu-text__cat,
	.acu-text__select {
		flex: 1 1 100%;
	}
}

/* Uzun yazı her yerde ekrana sığsın: taşma yok, gerekirse satır kaydır */
.acu-text,
.acu-text__summary,
.acu-text__option,
.acu-text__empty,
.acu-text__title,
.acu-text-label,
.acu-text-value,
.acu-text-value__cat,
.acu-text-value__text,
.acu-text-wrap,
.acu-text-wrap--email,
.acu-text-wrap__label {
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
	min-width: 0;
	max-width: 100%;
}

.acu-text__summary {
	overflow: visible;
	text-overflow: clip;
}

.acu-text__trigger {
	align-items: flex-start;
}

