.alh-photo-upload-module,
.alh-photo-upload-module * {
	box-sizing: border-box;
}

.alh-photo-upload-module {
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
	color: #1f1f1f;
}

.alh-photo-upload-heading {
	margin: 0 0 22px;
	color: #1f1f1f;
	font: inherit;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
}

.alh-photo-upload-dropzone {
	position: relative;
	display: flex;
	min-height: 300px;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 36px 28px;
	overflow: hidden;
	background: #fff;
	border: 1px dashed #cfcfcf;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.alh-photo-upload-dropzone:hover,
.alh-photo-upload-dropzone.alh-photo-upload-is-dragover {
	background: #faf8f5;
	border-color: #d4c4b0;
}

.alh-photo-upload-dropzone:focus-within {
	border-color: #d4c4b0;
	outline: 2px solid rgb(212 196 176 / 35%);
	outline-offset: 2px;
}

.alh-photo-upload-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.alh-photo-upload-module .alh-photo-upload-zone-trigger {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	color: inherit !important;
	appearance: none;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 8px;
	box-shadow: none !important;
	cursor: pointer;
}

.alh-photo-upload-module .alh-photo-upload-zone-trigger:hover,
.alh-photo-upload-module .alh-photo-upload-zone-trigger:focus,
.alh-photo-upload-module .alh-photo-upload-zone-trigger:active {
	color: inherit !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

.alh-photo-upload-module .alh-photo-upload-zone-trigger:focus {
	outline: 0;
}

.alh-photo-upload-empty,
.alh-photo-upload-selected {
	position: relative;
	z-index: 2;
	width: 100%;
	text-align: center;
	pointer-events: none;
}

.alh-photo-upload-empty[hidden],
.alh-photo-upload-selected[hidden],
.alh-photo-upload-error[hidden] {
	display: none !important;
}

.alh-photo-upload-icon {
	display: block;
	width: 60px;
	height: 60px;
	margin: 0 auto 18px;
}

.alh-photo-upload-instruction {
	margin: 0;
	color: #1f1f1f;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.55;
}

.alh-photo-upload-formats {
	margin: 10px 0 0;
	color: #666;
	font-size: 14px;
	line-height: 1.45;
}

.alh-photo-upload-preview {
	display: block;
	width: auto;
	max-width: min(100%, 320px);
	height: auto;
	max-height: 170px;
	margin: 0 auto 16px;
	object-fit: contain;
	border-radius: 4px;
}

.alh-photo-upload-preview-wrap {
	display: flex;
	min-height: 90px;
	align-items: center;
	justify-content: center;
}

.alh-photo-upload-preview-fallback {
	display: inline-flex;
	width: 96px;
	height: 76px;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	color: #666;
	background: #fafafa;
	border: 1px solid #d4c4b0;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
}

.alh-photo-upload-preview-fallback[hidden] {
	display: none !important;
}

.alh-photo-upload-file-details {
	min-width: 0;
}

.alh-photo-upload-file-name {
	margin: 0;
	overflow-wrap: anywhere;
	color: #1f1f1f;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.alh-photo-upload-file-size {
	margin: 4px 0 0;
	color: #666;
	font-size: 14px;
	line-height: 1.4;
}

.alh-photo-upload-status {
	margin: 8px 0 0;
	color: #1f1f1f;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.alh-photo-upload-actions {
	position: relative;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
	pointer-events: auto;
}

.alh-photo-upload-replace,
.alh-photo-upload-remove {
	min-width: 118px;
	min-height: 42px;
	padding: 9px 18px;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.alh-photo-upload-replace {
	color: #fff;
	background: #1f1f1f;
	border: 1px solid #1f1f1f;
}

.alh-photo-upload-replace:hover,
.alh-photo-upload-replace:focus-visible {
	color: #fff;
	background: #000;
	border-color: #000;
}

.alh-photo-upload-remove {
	color: #1f1f1f;
	background: #fff;
	border: 1px solid #cfcfcf;
}

.alh-photo-upload-remove:hover,
.alh-photo-upload-remove:focus-visible {
	color: #1f1f1f;
	background: #faf8f5;
	border-color: #d4c4b0;
}

.alh-photo-upload-error {
	margin: 10px 0 0;
	color: #b42318;
	font-size: 14px;
	line-height: 1.45;
}

.alh-photo-upload-recommendations {
	margin-top: 20px;
	padding: 24px;
	background: #fafafa;
	border-radius: 6px;
}

.alh-photo-upload-recommendations-title {
	margin: 0 0 12px;
	color: #1f1f1f;
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
}

.alh-photo-upload-recommendations-list {
	margin: 0;
	padding-left: 21px;
	color: #666;
	font-size: 15px;
	line-height: 1.65;
}

.alh-photo-upload-recommendations-list li + li {
	margin-top: 4px;
}

.alh-photo-upload-settings {
	margin-top: 34px;
	padding: 28px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
}

.alh-photo-upload-settings .alh-photo-upload-heading {
	margin-bottom: 24px;
}

.alh-photo-upload-fieldset {
	min-width: 0;
	padding: 0;
	margin: 0 0 22px;
	border: 0;
}

.alh-photo-upload-fieldset legend,
.alh-photo-upload-label {
	display: block;
	margin: 0 0 9px;
	color: #1f1f1f;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.alh-photo-upload-label span {
	color: #666;
	font-weight: 400;
}

.alh-photo-upload-orientations {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.alh-photo-upload-orientation {
	display: block;
	margin: 0;
	cursor: pointer;
}

.alh-photo-upload-orientation input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.alh-photo-upload-orientation span {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	color: #1f1f1f;
	background: #fff;
	border: 1px solid #cfcfcf;
	border-radius: 5px;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.alh-photo-upload-orientation input:checked + span {
	color: #fff;
	background: #1f1f1f;
	border-color: #1f1f1f;
}

.alh-photo-upload-orientation input:focus-visible + span {
	outline: 2px solid #d4c4b0;
	outline-offset: 2px;
}

.alh-photo-upload-select,
.alh-photo-upload-comment {
	display: block;
	width: 100%;
	color: #1f1f1f;
	background: #fff;
	border: 1px solid #cfcfcf;
	border-radius: 5px;
	box-shadow: none;
	font: inherit;
	font-size: 15px;
}

.alh-photo-upload-select {
	height: 50px;
	padding: 0 14px;
	margin: 0 0 22px;
}

.alh-photo-upload-comment {
	min-height: 112px;
	padding: 13px 14px;
	margin: 0 0 18px;
	line-height: 1.5;
	resize: vertical;
}

.alh-photo-upload-select:focus,
.alh-photo-upload-comment:focus {
	border-color: #d4c4b0;
	outline: 2px solid rgb(212 196 176 / 30%);
	outline-offset: 0;
}

.alh-photo-upload-checkout-note {
	padding: 14px 16px;
	margin: 0 0 18px;
	color: #666;
	background: #faf8f5;
	border-left: 3px solid #d4c4b0;
	font-size: 14px;
	line-height: 1.55;
}

.alh-photo-upload-submit {
	display: block;
	width: 100%;
	min-height: 50px;
	padding: 12px 20px;
	color: #fff;
	background: #1f1f1f;
	border: 1px solid #1f1f1f;
	border-radius: 4px;
	box-shadow: none;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.alh-photo-upload-submit:hover,
.alh-photo-upload-submit:focus-visible {
	color: #fff;
	background: #000;
	border-color: #000;
}

.alh-photo-upload-submit:disabled {
	cursor: wait;
	opacity: .65;
}

.alh-photo-upload-submit-status {
	min-height: 22px;
	margin: 10px 0 0;
	color: #666;
	font-size: 14px;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.alh-photo-upload-heading {
		margin-bottom: 18px;
		font-size: 24px;
	}

	.alh-photo-upload-dropzone {
		min-height: 240px;
		padding: 24px 18px;
	}

	.alh-photo-upload-icon {
		width: 56px;
		height: 56px;
		margin-bottom: 15px;
	}

	.alh-photo-upload-instruction {
		font-size: 16px;
	}

	.alh-photo-upload-preview {
		max-height: 145px;
	}

	.alh-photo-upload-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		max-width: 300px;
		margin-right: auto;
		margin-left: auto;
	}

	.alh-photo-upload-replace,
	.alh-photo-upload-remove {
		width: 100%;
		min-width: 0;
	}

	.alh-photo-upload-recommendations {
		padding: 22px 20px;
	}

	.alh-photo-upload-settings {
		margin-top: 24px;
		padding: 22px 18px;
	}

	.alh-photo-upload-orientations {
		grid-template-columns: 1fr;
		gap: 9px;
	}

	.alh-photo-upload-orientation span {
		min-height: 46px;
	}
}

@media (max-width: 359px) {
	.alh-photo-upload-actions {
		grid-template-columns: 1fr;
	}
}
