/* euwb-wrap uses the active theme's default styles for forms and buttons.
   Override here or in your theme's stylesheet if you need custom looks. */
.euwb-hidden { display: none !important; }
.euwb-items-list { border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; margin-bottom: 1rem; }
.euwb-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .75rem; padding: .65rem .9rem; border-bottom: 1px solid #f3f4f6; }
.euwb-item:last-child { border-bottom: none; }
.euwb-item__name { font-size: .9rem; font-weight: 600; }
.euwb-item__meta { font-size: .78rem; opacity: .65; }
.euwb-qty { display: flex; align-items: center; gap: .4rem; }
.euwb-qty button { width: 28px; height: 28px; border-radius: 4px; border: 1px solid #d1d5db; background: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.euwb-qty span { min-width: 28px; text-align: center; font-weight: 700; }
.euwb-qty--readonly button { display: none; }
.euwb-confirm-items { padding: .65rem .9rem; margin-bottom: 1rem; border: 1px solid #e5e7eb; border-radius: 6px; font-size: .88rem; line-height: 1.75; }
.euwb-notice { padding: .7rem 1rem; border-radius: 6px; margin-bottom: .85rem; font-size: .9rem; font-weight: 500; }
.euwb-notice--error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.euwb-notice--info  { background: #eff6ff; color: #1d4ed8; border: 1px solid #93c5fd; }
@media (max-width: 520px) { .euwb-row-2 { display: block; } }

/* ── Pretty mode ──────────────────────────────────────── */
.euwb-pretty {
	font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
	max-width: 520px;
	margin: 2rem auto;
}
.euwb-pretty .euwb-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 2rem 2.25rem;
	box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.euwb-pretty .euwb-card--warn {
	border-color: #fcd34d;
	background: #fffbeb;
}
.euwb-pretty .euwb-card--success {
	border-color: #6ee7b7;
	background: #f0fdf4;
}
.euwb-pretty .euwb-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
	margin: 0 0 .35rem;
	line-height: 1.3;
}
.euwb-pretty .euwb-subtitle {
	font-size: .9rem;
	color: #6b7280;
	margin: 0 0 1.4rem;
	line-height: 1.6;
}
.euwb-pretty .euwb-field { margin-bottom: 1rem; }
.euwb-pretty .euwb-field label {
	display: block;
	font-size: .82rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: .35rem;
	letter-spacing: .01em;
	text-transform: uppercase;
}
.euwb-pretty .euwb-field input[type="text"],
.euwb-pretty .euwb-field input[type="email"],
.euwb-pretty .euwb-field input[type="date"],
.euwb-pretty .euwb-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .65rem .9rem;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	font-size: .92rem;
	color: #111827;
	background: #fafafa;
	transition: border-color .15s, box-shadow .15s;
	outline: none;
	font-family: inherit;
}
.euwb-pretty .euwb-field input:focus,
.euwb-pretty .euwb-field textarea:focus {
	border-color: #6366f1;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.euwb-pretty .euwb-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 520px) { .euwb-pretty .euwb-row-2 { grid-template-columns: 1fr; } }
.euwb-pretty .euwb-req { color: #ef4444; }
.euwb-pretty .euwb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	padding: .72rem 1.5rem;
	border-radius: 8px;
	font-size: .92rem;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: background .15s, transform .1s, box-shadow .15s;
	font-family: inherit;
}
.euwb-pretty .euwb-btn:active { transform: translateY(1px); }
.euwb-pretty .euwb-btn--primary {
	background: #6366f1;
	color: #fff;
	box-shadow: 0 2px 8px rgba(99,102,241,.3);
	width: 100%;
	margin-top: .5rem;
}
.euwb-pretty .euwb-btn--primary:hover { background: #4f46e5; }
.euwb-pretty .euwb-btn--danger {
	background: #dc2626;
	color: #fff;
	box-shadow: 0 2px 8px rgba(220,38,38,.25);
	width: 100%;
	margin-bottom: .6rem;
}
.euwb-pretty .euwb-btn--danger:hover { background: #b91c1c; }
.euwb-pretty .euwb-btn--ghost {
	background: transparent;
	color: #6b7280;
	border: 1.5px solid #e5e7eb;
}
.euwb-pretty .euwb-btn--ghost:hover { background: #f9fafb; color: #374151; }
.euwb-pretty .euwb-btn:disabled { opacity: .55; cursor: not-allowed; }
.euwb-pretty .euwb-warning-box {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	padding: .75rem 1rem;
	font-size: .87rem;
	color: #92400e;
	margin-bottom: 1rem;
	line-height: 1.5;
}
.euwb-pretty .euwb-items-list {
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 1rem;
	background: #fff;
}
.euwb-pretty .euwb-item {
	padding: .75rem 1rem;
	border-bottom: 1px solid #f3f4f6;
}
.euwb-pretty .euwb-item__name { font-size: .9rem; font-weight: 600; color: #111827; }
.euwb-pretty .euwb-item__meta { font-size: .78rem; color: #9ca3af; }
.euwb-pretty .euwb-qty button {
	width: 30px; height: 30px;
	border-radius: 6px;
	border: 1.5px solid #e5e7eb;
	background: #f9fafb;
	font-size: 1rem;
	cursor: pointer;
	transition: background .12s;
}
.euwb-pretty .euwb-qty button:hover { background: #e5e7eb; }
.euwb-pretty .euwb-notice {
	border-radius: 8px;
	font-size: .88rem;
}
.euwb-pretty .euwb-success-ref {
	font-size: .85rem;
	color: #059669;
	font-weight: 600;
	margin-top: .5rem;
}
