:root {
	--pz-red: #e92e3a;
	--pz-red-dark: #b91c26;
	--pz-gold: #f6a800;
	--pz-ink: #171b21;
	--pz-soft-ink: #394251;
	--pz-muted: #788292;
	--pz-line: #eadcc8;
	--pz-paper: rgba(255, 255, 255, .88);
	--pz-cream: #fff8ee;
	--pz-shadow: 0 28px 90px rgba(84, 45, 18, .12);
	--pz-radius: 26px;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
}

body.pz-body {
	min-height: 100vh;
	margin: 0;
	color: var(--pz-ink);
	background:
		radial-gradient(circle at 12% -6%, rgba(246, 168, 0, .24), transparent 32rem),
		radial-gradient(circle at 94% 6%, rgba(233, 46, 58, .16), transparent 34rem),
		radial-gradient(circle at 50% 115%, rgba(79, 45, 19, .08), transparent 35rem),
		linear-gradient(180deg, #fffaf2 0%, #ffffff 44%, #fff7eb 100%);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input {
	font: inherit;
}

#pizzka-account-root {
	min-height: 100vh;
}

.pz-app {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 0 52px;
}

.pz-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
}

.pz-brand {
	display: inline-flex;
	align-items: center;
}

.pz-brand img {
	display: block;
	width: 156px;
	height: auto;
}

.pz-top-actions,
.pz-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pz-main-btn,
.pz-ghost-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border: 0;
	border-radius: 999px;
	padding: 0 19px;
	font-weight: 950;
	line-height: 1;
	text-align: center;
}

.pz-main-btn {
	background: linear-gradient(180deg, #ff4551, var(--pz-red-dark));
	color: #fff;
	box-shadow: 0 16px 34px rgba(233, 46, 58, .27);
}

.pz-ghost-btn {
	border: 1px solid var(--pz-line);
	background: rgba(255, 255, 255, .78);
	color: #5c4026;
	box-shadow: 0 10px 28px rgba(84, 45, 18, .08);
}

.pz-main-btn.full,
.pz-ghost-btn.full {
	width: 100%;
}

.pz-toast {
	margin-bottom: 16px;
	border-radius: 18px;
	padding: 14px 16px;
	font-weight: 900;
}

.pz-toast.is-ok {
	background: #e8f8ef;
	color: #16744a;
}

.pz-toast.is-error {
	background: #fff0f0;
	color: #b32029;
}

.pz-auth-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
	gap: 22px;
	align-items: stretch;
}

.pz-auth-visual,
.pz-hero-card,
.pz-view-head {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(130, 76, 24, .15);
	border-radius: 34px;
	background:
		linear-gradient(108deg, rgba(28, 17, 10, .96), rgba(56, 29, 18, .84)),
		url("https://pizzka.cz/wp-content/uploads/2024/05/farmarska.png") right -180px bottom -210px / 620px auto no-repeat,
		#20140d;
	color: #fff;
	box-shadow: var(--pz-shadow);
}

.pz-auth-visual {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 620px;
	padding: 44px;
}

.pz-auth-visual::after,
.pz-hero-card::after,
.pz-view-head::after {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -180px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(246, 168, 0, .38), rgba(233, 46, 58, .08) 52%, transparent 70%);
	pointer-events: none;
}

.pz-chip {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 14px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	padding: 8px 13px;
	color: #ffe3a0;
	font-size: 13px;
	font-weight: 950;
	text-transform: uppercase;
}

.pz-auth-visual h1,
.pz-hero-card h1,
.pz-view-head h1 {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: 12ch;
	color: #fff;
	font-size: clamp(44px, 6vw, 82px);
	line-height: .93;
	letter-spacing: 0;
}

.pz-auth-visual p,
.pz-hero-card p,
.pz-view-head p {
	position: relative;
	z-index: 1;
	margin: 18px 0 0;
	max-width: 620px;
	color: rgba(255, 255, 255, .78);
	font-size: 18px;
	line-height: 1.55;
}

.pz-benefit-row {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.pz-benefit-row span {
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	padding: 9px 12px;
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
	font-weight: 850;
}

.pz-auth-panels,
.pz-stack {
	display: grid;
	gap: 16px;
}

.pz-panel,
.pz-side,
.pz-stat-card,
.pz-order-card {
	border: 1px solid var(--pz-line);
	border-radius: var(--pz-radius);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 250, 244, .86)),
		var(--pz-paper);
	box-shadow: var(--pz-shadow);
	backdrop-filter: blur(16px);
}

.pz-panel {
	padding: 24px;
}

.pz-panel-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.pz-panel h2,
.pz-section-title h2 {
	margin: 0;
	color: var(--pz-ink);
	font-size: 25px;
	line-height: 1.1;
	letter-spacing: 0;
}

.pz-panel p,
.pz-section-title p {
	margin: 5px 0 0;
	color: var(--pz-muted);
	line-height: 1.45;
}

.pz-icon-badge {
	display: grid;
	flex: 0 0 auto;
	width: 50px;
	height: 50px;
	place-items: center;
	border-radius: 17px;
	font-size: 22px;
	font-weight: 950;
}

.pz-icon-badge.red {
	background: #ffe9ec;
	color: var(--pz-red);
}

.pz-icon-badge.gold {
	background: #fff3d8;
	color: #b57200;
}

.pz-form {
	display: grid;
	gap: 14px;
}

.pz-form label {
	display: grid;
	gap: 7px;
	color: #5d4632;
	font-size: 13px;
	font-weight: 900;
}

.pz-form input {
	width: 100%;
	min-height: 52px;
	border: 1px solid #ead9c6;
	border-radius: 16px;
	background: #fffaf4;
	padding: 0 15px;
	color: var(--pz-ink);
	outline: none;
}

.pz-form input:focus {
	border-color: rgba(233, 46, 58, .48);
	box-shadow: 0 0 0 4px rgba(233, 46, 58, .1);
}

.pz-form-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--pz-muted);
	font-size: 13px;
}

.pz-form-line a {
	color: var(--pz-red-dark);
	font-weight: 900;
}

.pz-inline-check {
	display: inline-flex !important;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 8px !important;
}

.pz-inline-check input {
	width: auto;
	min-height: auto;
}

.pz-account-grid {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.pz-side {
	position: sticky;
	top: 22px;
	padding: 14px;
}

.pz-person {
	display: flex;
	align-items: center;
	gap: 12px;
	border-radius: 20px;
	background: linear-gradient(180deg, #fff8ef, #fff);
	padding: 13px;
	margin-bottom: 12px;
}

.pz-person strong,
.pz-person span {
	display: block;
}

.pz-person span {
	max-width: 150px;
	overflow: hidden;
	margin-top: 3px;
	color: var(--pz-muted);
	font-size: 12px;
	text-overflow: ellipsis;
}

.pz-avatar {
	display: grid;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(160deg, var(--pz-red), #8d1720);
	color: #fff;
	font-weight: 950;
	box-shadow: 0 14px 28px rgba(233, 46, 58, .2);
}

.pz-avatar.xl {
	width: 78px;
	height: 78px;
	font-size: 24px;
}

.pz-menu {
	display: grid;
	gap: 6px;
}

.pz-menu a {
	display: flex;
	align-items: center;
	min-height: 46px;
	border-radius: 16px;
	padding: 0 14px;
	color: #5a4632;
	font-weight: 900;
}

.pz-menu a.active,
.pz-menu a:hover {
	background: linear-gradient(180deg, #ff4b56, var(--pz-red-dark));
	color: #fff;
}

.pz-view {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.pz-hero-card {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 30px;
}

.pz-hero-card h1,
.pz-view-head h1 {
	max-width: none;
	font-size: clamp(38px, 5vw, 66px);
}

.pz-dashboard,
.pz-two-col {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
	gap: 18px;
}

.pz-profile {
	display: grid;
	gap: 12px;
}

.pz-info-line {
	border: 1px solid #f1e3d1;
	border-radius: 18px;
	background: #fffaf4;
	padding: 14px;
}

.pz-info-line span,
.pz-stat-card span,
.pz-order-card span {
	display: block;
	margin-bottom: 6px;
	color: var(--pz-muted);
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.pz-info-line strong,
.pz-stat-card strong {
	display: block;
	color: var(--pz-ink);
	font-size: 18px;
	line-height: 1.25;
}

.pz-stat-grid {
	display: grid;
	gap: 12px;
}

.pz-stat-card {
	display: grid;
	align-content: center;
	min-height: 104px;
	padding: 17px;
	position: relative;
	overflow: hidden;
}

.pz-stat-card strong {
	font-size: 24px;
}

.pz-stat-card::after {
	content: "";
	position: absolute;
	right: -42px;
	bottom: -54px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(246, 168, 0, .18), transparent 68%);
	pointer-events: none;
}

.pz-stat-card.action {
	background: linear-gradient(180deg, #fff7ed, #fff);
	color: var(--pz-red-dark);
}

.pz-section-title,
.pz-view-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.pz-section-title {
	margin-bottom: 16px;
}

.pz-section-title a {
	color: var(--pz-red-dark);
	font-weight: 950;
}

.pz-view-head {
	padding: 28px;
}

.pz-orders-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.pz-order-card {
	position: relative;
	display: grid;
	gap: 15px;
	overflow: hidden;
	padding: 20px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pz-order-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, var(--pz-red), var(--pz-gold));
	opacity: .95;
}

.pz-order-card::after {
	content: "";
	position: absolute;
	right: -70px;
	top: -80px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(246, 168, 0, .2), rgba(233, 46, 58, .08) 46%, transparent 70%);
	pointer-events: none;
}

.pz-order-card:hover {
	transform: translateY(-2px);
	border-color: rgba(233, 46, 58, .22);
	box-shadow: 0 30px 90px rgba(84, 45, 18, .16);
}

.pz-order-top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.pz-order-top strong {
	display: block;
	color: var(--pz-red-dark);
	font-size: 24px;
	line-height: 1;
}

.pz-order-card mark {
	border-radius: 999px;
	background: linear-gradient(180deg, #fff5df, #ffeec8);
	color: #8b5300;
	padding: 8px 11px;
	font-size: 12px;
	font-weight: 950;
	white-space: nowrap;
}

.pz-order-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.pz-detail-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.pz-order-meta div {
	border: 1px solid #f1e3d1;
	border-radius: 16px;
	background: rgba(255, 250, 244, .78);
	padding: 12px;
}

.pz-order-meta strong {
	display: block;
	color: var(--pz-ink);
	font-size: 15px;
	line-height: 1.25;
}

.pz-order-price {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	border: 1px solid rgba(233, 46, 58, .14);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(233, 46, 58, .08), rgba(246, 168, 0, .1)),
		#fffdf9;
	padding: 15px 16px;
}

.pz-order-price span {
	margin: 0;
	color: #8b5f2e;
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.pz-order-price strong {
	color: var(--pz-red-dark);
	font-size: 26px;
	line-height: 1;
	white-space: nowrap;
}

.pz-item-list {
	display: grid;
	gap: 0;
}

.pz-item-list div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid #f0e1cf;
	padding: 12px 0;
}

.pz-empty {
	border: 1px dashed #ecd6bc;
	border-radius: 20px;
	background: #fffaf4;
	padding: 18px;
	color: #6b4b2c;
}

.birthday.locked {
	background: linear-gradient(180deg, rgba(255, 248, 239, .96), rgba(255, 255, 255, .9));
}

@media (max-width: 960px) {
	.pz-auth-layout,
	.pz-account-grid,
	.pz-dashboard,
	.pz-two-col,
	.pz-orders-grid,
	.pz-order-meta,
	.pz-detail-summary {
		grid-template-columns: 1fr;
	}

	.pz-auth-visual {
		min-height: 440px;
	}

	.pz-side {
		position: static;
	}

	.pz-menu {
		display: flex;
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.pz-menu a {
		flex: 0 0 auto;
	}
}

@media (max-width: 600px) {
	.pz-app {
		width: min(100% - 20px, 1180px);
		padding-top: 16px;
	}

	.pz-topbar,
	.pz-top-actions,
	.pz-section-title,
	.pz-view-head,
	.pz-order-top,
	.pz-form-line,
	.pz-item-list div {
		align-items: flex-start;
		flex-direction: column;
	}

	.pz-main-btn,
	.pz-ghost-btn {
		width: 100%;
	}

	.pz-brand img {
		width: 132px;
	}

	.pz-auth-visual,
	.pz-hero-card,
	.pz-view-head,
	.pz-panel {
		border-radius: 22px;
		padding: 20px;
	}

	.pz-auth-visual h1,
	.pz-hero-card h1,
	.pz-view-head h1 {
		font-size: 40px;
	}

	.pz-hero-card {
		align-items: flex-start;
		flex-direction: column;
	}
}
