:root {
	--bg-page: #F5F4EF;
	--bg-card: #FFFFFF;
	--bg-muted: #F1EFE8;
	--bg-info: #E6F1FB;
	--text-primary: #2C2C2A;
	--text-secondary: #5F5E5A;
	--text-tertiary: #888780;
	--text-info: #185FA5;
	--border-tertiary: rgba(0,0,0,0.12);
	--border-secondary: rgba(0,0,0,0.25);
	--radius-md: 8px;
	--radius-lg: 12px;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	color: var(--text-primary);
	font-size: 15px;
	line-height: 1.5;
}

.wrapper {
	max-width: 720px;
	margin: 0 auto;
}

.surface {
	background: var(--bg-muted);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
}

.card {
	background: var(--bg-card);
	border-radius: var(--radius-lg);
	border: 0.5px solid var(--border-tertiary);
	padding: 1.5rem 1.75rem;
}

.header {
	border-bottom: 0.5px solid var(--border-tertiary);
	padding-bottom: 1rem;
	margin-bottom: 1.25rem;
}

.header h1 {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 500;
	color: var(--text-primary);
}

.header p {
	font-size: 13px;
	color: var(--text-secondary);
	margin: 0;
}

label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 6px;
	color: var(--text-primary);
}

select, input, textarea {
	width: 100%;
	font-family: inherit;
	font-size: 14px;
	padding: 8px 12px;
	border: 0.5px solid var(--border-secondary);
	border-radius: var(--radius-md);
	background: var(--bg-card);
	color: var(--text-primary);
	min-height: 36px;
}

textarea { resize: vertical; min-height: 80px; }

.field { margin-bottom: 1.25rem; }

.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 1.25rem;
}

.pack-box {
	background: var(--bg-info);
	border-radius: var(--radius-md);
	padding: 14px 16px;
	margin-bottom: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pack-box .title {
	font-size: 13px;
	font-weight: 500;
	color: var(--text-info);
	margin: 0 0 2px;
}

.pack-box .sub {
	font-size: 13px;
	color: var(--text-info);
	margin: 0;
}

.pack-box .price {
	font-size: 22px;
	font-weight: 500;
	color: var(--text-info);
	margin: 0;
}

.upload-zone {
	border: 0.5px dashed var(--border-secondary);
	border-radius: var(--radius-md);
	padding: 1.25rem;
	text-align: center;
	background: var(--bg-muted);
}

.upload-zone .ico {
	font-size: 22px;
	color: var(--text-secondary);
	display: block;
	margin-bottom: 6px;
}

.upload-zone p { margin: 2px 0; font-size: 13px; }

.upload-zone .hint { font-size: 12px; color: var(--text-tertiary); }

.shipping {
	border-top: 0.5px solid var(--border-tertiary);
	padding-top: 1rem;
	margin-bottom: 1.25rem;
}

.shipping-title {
	font-size: 13px;
	font-weight: 500;
	margin: 0 0 10px;
}

.shipping-row { margin-bottom: 10px; }

.terms {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 1.5rem;
}

.terms input { width: auto; min-height: auto; margin-top: 4px; }

.terms label {
	font-size: 13px;
	color: var(--text-secondary);
	font-weight: 400;
	margin: 0;
}
.terms a { color: var(--text-info); }

.actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

button {
	padding: 10px 18px;
	border-radius: var(--radius-md);
	border: 0.5px solid var(--border-secondary);
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
	color: var(--text-primary);
}

button.primary {
	background: var(--text-info);
	color: var(--bg-card);
	border-color: var(--text-info);
	padding: 10px 22px;
}

.upload-zone {
	transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
	cursor: pointer;
	user-select: none;
}

.upload-zone.highlight {
	background: var(--bg-info);
	border-color: var(--text-info);
}

.preview-box {
	background: var(--bg-card);
	border: 0.5px solid var(--border-tertiary);
	border-radius: var(--radius-md);
	padding: 10px 12px;
	margin-top: 0.75rem;
	display: none;
	align-items: center;
	gap: 12px;
}

.preview-box img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: var(--radius-md);
	border: 0.5px solid var(--border-tertiary);
}

.preview-box .meta {
	flex-grow: 1;
	min-width: 0;
}

.preview-box .name {
	font-size: 13px;
	font-weight: 500;
	color: var(--text-primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.preview-box .size {
	font-size: 12px;
	color: var(--text-tertiary);
}

.feedback-message {
	font-size: 13px;
	font-weight: 500;
	margin-top: 8px;
	min-height: 20px;
}
