/* noticeCard.css - start
   Centred message card used by ui_notice() on customer pages that
   otherwise show a single line of text (review, login confirmations,
   empty cart/orders/wallet, etc.). Palette matches the home, category and
   product pages: white card, #dde8ec border, teal accents, orange CTA. */

.notice-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 52vh;
	padding: 32px 16px;
	box-sizing: border-box;
}

.notice-card {
	--n-accent: #1b7d9c;
	--n-soft: #eef6f9;
	position: relative;
	width: 100%;
	max-width: 540px;
	padding: 40px 32px 32px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #dde8ec;
	border-radius: 12px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
	text-align: center;
	font-family: var(--font-body, 'Open Sans', Helvetica, Arial, sans-serif);
	overflow: hidden;
}
.notice-card::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 4px;
	background: var(--n-accent);
}
.notice-success { --n-accent: #2e7d32; --n-soft: #eaf6ec; }
.notice-error   { --n-accent: #c00000; --n-soft: #fdecec; }
.notice-info    { --n-accent: #1b7d9c; --n-soft: #eef6f9; }
.notice-empty   { --n-accent: #e58434; --n-soft: #fdf1e6; }
.notice-login   { --n-accent: #1b7d9c; --n-soft: #eef6f9; }

.notice-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--n-soft);
	color: var(--n-accent);
}

.notice-card h2.notice-title {
	margin: 0 0 10px;
	font-family: var(--font-heading, 'Lobster', Helvetica, Arial, cursive);
	font-size: 28px;
	font-weight: normal;
	line-height: 1.2;
	color: var(--color-brand-brown, #6b4a27);
	text-align: center;
}
.notice-card p.notice-text {
	margin: 0 auto;
	max-width: 440px;
	font-size: 15px;
	line-height: 1.65;
	color: #3d4b53;
	text-align: center;
}
.notice-card p.notice-text a {
	color: #1b7d9c;
	font-weight: 600;
}

.notice-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
}
.notice-card a.notice-btn {
	display: inline-block;
	min-width: 140px;
	padding: 11px 22px;
	border: 1px solid #1b7d9c;
	border-radius: 8px;
	background: #fff;
	color: #1b7d9c;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.notice-card a.notice-btn:hover,
.notice-card a.notice-btn:focus-visible {
	background: #1b7d9c;
	color: #fff;
	outline: none;
}
.notice-card a.notice-btn-primary {
	background: #ff8500;
	border-color: #ff8500;
	color: #fff;
}
.notice-card a.notice-btn-primary:hover,
.notice-card a.notice-btn-primary:focus-visible {
	background: #e06f00;
	border-color: #e06f00;
	color: #fff;
}

@media screen and (max-width: 520px) {
	.notice-card { padding: 32px 20px 24px; }
	.notice-card h2.notice-title { font-size: 24px; }
	.notice-card a.notice-btn { flex: 1 1 100%; }
}
/* ---------- Inline banner (compact) ---------- */
.notice-inline {
	--n-accent: #1b7d9c;
	--n-soft: #eef6f9;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 10px 0;
	padding: 10px 14px;
	box-sizing: border-box;
	background: var(--n-soft);
	border: 1px solid #dde8ec;
	border-left: 4px solid var(--n-accent);
	border-radius: 8px;
	font-family: var(--font-body, 'Open Sans', Helvetica, Arial, sans-serif);
	font-size: 14px;
	line-height: 1.5;
	color: #22323b;
	text-align: left;
}
.notice-inline-success { --n-accent: #2e7d32; --n-soft: #eaf6ec; }
.notice-inline-error   { --n-accent: #c00000; --n-soft: #fdecec; }
.notice-inline-empty   { --n-accent: #e58434; --n-soft: #fdf1e6; }
.notice-inline-icon { flex: 0 0 auto; margin-top: 1px; color: var(--n-accent); }
.notice-inline-text { flex: 1 1 auto; min-width: 0; }
/* noticeCard.css - end */
