/* Albi Müşteri Dosya Yükleme — tema görünümü (eklenti CSS'ini geçersiz kılar) */

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

.acu-upload__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 12px;
}

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

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

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

.acu-upload__counter {
	display: inline-block;
	padding: 1px 8px;
	margin-right: 4px;
	border-radius: var(--radius-full, 9999px);
	background: var(--bg-soft, #f4f1ec);
	color: var(--text-body, #57534e);
	font-weight: 600;
	font-size: 11px;
}

.acu-upload.has-files {
	border-color: #22c55e;
	background: #f4fbf6;
}

.acu-upload.has-files .acu-upload__counter {
	background: #22c55e;
	color: #fff;
}

.acu-upload.is-full .acu-upload__drop {
	opacity: .6;
	pointer-events: none;
}

.acu-upload__drop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 18px;
	border: 1.5px dashed var(--border, #e6e0d8);
	border-radius: var(--radius-sm, 6px);
	background: var(--bg-white, #fff);
	cursor: pointer;
	transition: var(--transition, all .3s ease);
	text-align: center;
}

.acu-upload__drop:hover,
.acu-upload__drop.is-dragover {
	border-color: var(--accent, #b98a2e);
	background: #fffdf8;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(22,23,26,.06));
}

.acu-upload__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.acu-upload__btn {
	display: inline-block;
	padding: 9px 22px;
	border-radius: var(--radius-sm, 6px);
	background: var(--secondary-gradient, linear-gradient(135deg,#d4a03c,#b98a2e));
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .2px;
}

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

.acu-upload__list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 10px;
}

.acu-upload__item {
	position: relative;
	border: 1px solid var(--border, #e6e0d8);
	border-radius: var(--radius-sm, 6px);
	background: var(--bg-white, #fff);
	padding: 6px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	overflow: hidden;
	animation: acu-pop .25s ease;
}

@keyframes acu-pop {
	from { opacity: 0; transform: scale(.9); }
	to   { opacity: 1; transform: scale(1); }
}

.acu-upload__preview {
	display: block;
	width: 100%;
	border-radius: 4px;
	overflow: hidden;
	line-height: 0;
}

.acu-upload__thumb {
	width: 100%;
	height: 66px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
	transition: var(--transition, all .3s ease);
}

.acu-upload__preview:hover .acu-upload__thumb {
	transform: scale(1.05);
}

.acu-upload__badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	width: 100%;
	height: 66px;
	border-radius: 4px;
	background: #fef1f1;
	color: #d63638;
	font-size: 10px;
	font-weight: 700;
	transition: var(--transition, all .3s ease);
}

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

.acu-upload__badge-text {
	letter-spacing: .5px;
}

.acu-upload__name {
	font-size: 10.5px;
	color: var(--text-body, #57534e);
	text-align: center;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.acu-upload__remove {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 22px;
	height: 22px;
	line-height: 1;
	font-size: 15px;
	border: none;
	border-radius: var(--radius-full, 9999px);
	background: rgba(25,23,20,.6);
	color: #fff;
	cursor: pointer;
	padding: 0;
	transition: var(--transition, all .3s ease);
}

.acu-upload__remove:hover {
	background: #d63638;
	transform: scale(1.08);
}

.acu-upload__status {
	margin-top: 10px;
	font-size: 12px;
	color: var(--text-light, #9a948c);
	min-height: 1em;
}

.acu-upload__status.is-error {
	color: #d63638;
	font-weight: 500;
}

/* Sepet / ödeme / sipariş dosya listeleri */
.acu-files {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.acu-files__item {
	margin: 0;
}

.acu-files__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	text-decoration: none;
	color: inherit;
	padding: 4px 8px;
	border: 1px solid var(--border, #e6e0d8);
	border-radius: var(--radius-sm, 6px);
	background: var(--bg-white, #fff);
	transition: var(--transition, all .3s ease);
}

.acu-files__link:hover {
	border-color: var(--accent, #b98a2e);
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(22,23,26,.06));
}

.acu-files__thumb {
	width: 36px;
	height: 36px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
	transition: var(--transition, all .3s ease);
}

.acu-files__link:hover .acu-files__thumb {
	transform: scale(1.06);
}

.acu-files__badge {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 4px;
	background: #fef1f1;
	color: #d63638;
	font-size: 8px;
	font-weight: 700;
	line-height: 1;
	gap: 1px;
}

.acu-files__name {
	font-size: 11.5px;
	color: var(--text-body, #57534e);
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

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

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

@media (max-width: 575px) {
	.acu-upload__list {
		grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
	}
	.acu-upload__thumb,
	.acu-upload__badge {
		height: 56px;
	}
}
