/**
 * Phoenix Combo Builder frontend styles.
 */

.pcb-wrapper {
	background:
		radial-gradient(circle at top left, rgba(255, 45, 45, 0.14), transparent 34rem),
		linear-gradient(145deg, #111111 0%, #151515 52%, #111111 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
	color: #f7f7f7;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0 auto;
	max-width: 1180px;
	overflow: hidden;
	padding: 34px;
}

.pcb-header {
	margin-bottom: 26px;
	text-align: center;
}

.pcb-title {
	color: #ffffff;
	font-size: 34px;
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 10px;
}

.pcb-subtitle {
	color: #b8b8b8;
	font-size: 16px;
	line-height: 1.6;
	margin: 0 auto;
	max-width: 660px;
}

.pcb-section-title {
	color: #ffffff;
	font-size: 18px;
	font-weight: 750;
	line-height: 1.3;
	margin: 0 0 18px;
}

.pcb-rewards-card,
.pcb-summary-card {
	background: linear-gradient(180deg, #1f1f1f 0%, #151515 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.pcb-rewards-card {
	margin-bottom: 28px;
	padding: 24px;
}

.pcb-rewards-list {
	display: grid;
	gap: 14px;
	grid-auto-rows: 1fr;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.pcb-reward-item {
	align-items: center;
	background: #151515;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	display: grid;
	gap: 8px;
	grid-template-rows: 42px minmax(38px, auto) minmax(38px, auto);
	height: 100%;
	justify-items: center;
	min-height: 150px;
	padding: 16px;
	text-align: center;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pcb-reward-item:hover {
	border-color: rgba(255, 45, 45, 0.55);
	box-shadow: 0 16px 34px rgba(255, 45, 45, 0.12);
	transform: translateY(-3px);
}

.pcb-reward-item-featured {
	background: linear-gradient(160deg, rgba(255, 202, 40, 0.14), #151515 58%);
	border-color: #d4af37;
	box-shadow: 0 14px 34px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 241, 174, 0.12);
}

.pcb-reward-item.is-unlocked {
	background: linear-gradient(160deg, rgba(255, 45, 45, 0.22), #151515 62%);
	border-color: #ff2d2d;
	box-shadow: 0 14px 34px rgba(255, 45, 45, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pcb-reward-item-featured:hover,
.pcb-reward-item-featured.is-unlocked {
	background: linear-gradient(160deg, rgba(255, 215, 64, 0.24), #151515 62%);
	border-color: #ffd54a;
	box-shadow: 0 18px 42px rgba(255, 202, 40, 0.34), 0 0 24px rgba(212, 175, 55, 0.22);
}

.pcb-reward-item-featured .pcb-reward-icon {
	border-color: #d4af37;
	box-shadow: 0 0 20px rgba(255, 202, 40, 0.24);
}

.pcb-reward-icon {
	align-items: center;
	background: #111111;
	border: 1px solid rgba(255, 45, 45, 0.34);
	border-radius: 999px;
	box-shadow: 0 0 20px rgba(255, 45, 45, 0.12);
	display: inline-flex;
	flex: 0 0 42px;
	font-size: 22px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	overflow: hidden;
	white-space: nowrap;
	width: 42px;
}

.pcb-reward-title {
	color: #f0f0f0;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	margin: 0;
	max-width: 100%;
}

.pcb-reward-benefits {
	color: #a9a9a9;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
	max-width: 100%;
}

.pcb-builder-section {
	margin-bottom: 28px;
}

.pcb-progress {
	background: linear-gradient(180deg, #1f1f1f 0%, #151515 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
	margin-bottom: 28px;
	padding: 24px;
}

.pcb-progress-header {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 26px;
}

.pcb-progress-header .pcb-section-title {
	margin: 0;
}

.pcb-progress-count {
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

.pcb-progress-track {
	background: #373737;
	border-radius: 999px;
	height: 12px;
	margin: 0 4px 52px;
	position: relative;
}

.pcb-progress-fill {
	background: #ff2d2d;
	border-radius: inherit;
	box-shadow: 0 0 18px rgba(255, 45, 45, 0.36);
	display: block;
	height: 100%;
	transition: width 300ms ease;
	width: 0;
}

.pcb-progress-marker {
	left: var(--pcb-marker-position);
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.pcb-progress-marker:last-child {
	transform: translate(-100%, -50%);
}

.pcb-progress-dot {
	background: #4b4b4b;
	border: 3px solid #242424;
	border-radius: 999px;
	box-sizing: border-box;
	display: block;
	height: 20px;
	transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
	width: 20px;
}

.pcb-progress-marker-label {
	color: #777777;
	font-size: 11px;
	font-weight: 750;
	left: 50%;
	line-height: 1.2;
	position: absolute;
	text-align: center;
	top: 26px;
	transform: translateX(-50%);
	transition: color 300ms ease;
	white-space: nowrap;
}

.pcb-progress-marker:last-child .pcb-progress-marker-label {
	left: auto;
	right: 0;
	transform: none;
}

.pcb-progress-marker.is-unlocked .pcb-progress-dot {
	background: #d4af37;
	border-color: #ffe080;
	box-shadow: 0 0 18px rgba(255, 213, 74, 0.64);
	transform: scale(1.12);
}

.pcb-progress-marker.is-unlocked .pcb-progress-marker-label {
	color: #ffd54a;
}

.pcb-progress-marker.is-current .pcb-progress-dot {
	border-color: #ffffff;
	box-shadow: 0 0 18px rgba(255, 255, 255, 0.78);
	transform: scale(1.08);
}

.pcb-progress-marker.is-current .pcb-progress-marker-label {
	color: #ffffff;
}

.pcb-progress-message {
	color: #d7d7d7;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	text-align: center;
}

.pcb-gift-panel {
	align-items: center;
	background: linear-gradient(145deg, #1f1f1f, #151515);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 20px;
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-bottom: 28px;
	padding: 22px 24px;
	transition: border-color 220ms ease, box-shadow 220ms ease;
}

.pcb-gift-panel.is-unlocked {
	border-color: rgba(255, 45, 45, 0.55);
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34), 0 0 26px rgba(255, 45, 45, 0.1);
}

.pcb-gift-intro {
	align-items: center;
	display: flex;
	gap: 16px;
	min-width: 0;
}

.pcb-gift-icon {
	align-items: center;
	background: #111111;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	display: inline-flex;
	flex: 0 0 52px;
	font-size: 26px;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.pcb-gift-title {
	color: #ffffff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 5px;
}

.pcb-gift-subtitle {
	color: #999999;
	font-size: 14px;
	line-height: 1.4;
	margin: 0;
}

.pcb-gift-button {
	background: #ff2d2d;
	border: 0;
	border-radius: 10px;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	min-height: 44px;
	padding: 11px 18px;
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pcb-gift-button:hover,
.pcb-gift-button:focus-visible {
	background: #ff4646;
	box-shadow: 0 10px 24px rgba(255, 45, 45, 0.22);
	outline: none;
	transform: translateY(-1px);
}

.pcb-gift-button:disabled {
	background: #3a3a3a;
	box-shadow: none;
	color: #8f8f8f;
	cursor: not-allowed;
	transform: none;
}

.pcb-selected-gift {
	align-items: center;
	background: #111111;
	border: 1px solid rgba(255, 45, 45, 0.35);
	border-radius: 14px;
	display: grid;
	gap: 14px;
	grid-column: 1 / -1;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	opacity: 0;
	padding: 12px;
	transform: translateY(8px);
	transition: opacity 220ms ease, transform 220ms ease;
}

.pcb-selected-gift[hidden],
.pcb-gift-summary-row[hidden] {
	display: none;
}

.pcb-selected-gift.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.pcb-selected-gift.is-removing {
	opacity: 0;
	transform: translateY(8px) scale(0.98);
}

.pcb-selected-gift img {
	background: transparent;
	border-radius: 10px;
	box-sizing: border-box;
	height: 72px;
	object-fit: contain;
	object-position: center;
	padding: 6px;
	width: 72px;
}

.pcb-selected-gift > div {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.pcb-selected-gift > div strong {
	color: #ffffff;
	font-size: 15px;
	line-height: 1.35;
}

.pcb-selected-gift-badge {
	color: #ff2d2d;
	font-size: 11px;
	font-weight: 900;
}

.pcb-selected-gift-remove {
	align-items: center;
	background: #1f1f1f;
	border: 1px solid rgba(255, 45, 45, 0.45);
	border-radius: 999px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-size: 20px;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.pcb-selected-gift-remove:hover,
.pcb-selected-gift-remove:focus-visible {
	background: #ff2d2d;
	outline: none;
}

.pcb-gift-summary-row small {
	color: #ff2d2d;
	display: block;
	font-size: 12px;
	margin-top: 3px;
}

.pcb-gift-popup-content {
	box-sizing: border-box;
	margin-right: 8px;
	overflow-y: auto;
	padding: 24px 16px 24px 24px;
	scrollbar-color: #555555 transparent;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
}

.pcb-gift-popup-content::-webkit-scrollbar {
	width: 8px;
}

.pcb-gift-popup-content::-webkit-scrollbar-track {
	background: transparent;
}

.pcb-gift-popup-content::-webkit-scrollbar-thumb {
	background: #555555;
	border-radius: 999px;
}

.pcb-gift-loading,
.pcb-gift-empty {
	align-items: center;
	background: #151515;
	border: 1px dashed rgba(255, 45, 45, 0.36);
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 220px;
	padding: 28px;
	text-align: center;
}

.pcb-gift-loading[hidden],
.pcb-gift-empty[hidden] {
	display: none;
}

.pcb-gift-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pcb-gift-card {
	background: #151515;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pcb-gift-card:hover {
	border-color: rgba(255, 45, 45, 0.52);
	box-shadow: 0 16px 36px rgba(255, 45, 45, 0.1);
	transform: translateY(-3px);
}

.pcb-gift-card.is-unavailable {
	opacity: 0.5;
}

.pcb-gift-card-image-wrap {
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	height: 150px;
	overflow: visible;
	position: relative;
	width: 100%;
}

.pcb-gift-card-image {
	box-sizing: border-box;
	display: block;
	height: 100% !important;
	max-height: 100% !important;
	max-width: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
	padding: 8px;
	width: 100% !important;
}

.pcb-gift-card.is-unavailable .pcb-gift-card-image {
	filter: grayscale(1);
}

.pcb-gift-stock-badge {
	background: #ff2d2d;
	border-radius: 6px;
	color: #ffffff;
	font-size: 10px;
	font-weight: 850;
	left: 10px;
	line-height: 1;
	padding: 7px 9px;
	position: absolute;
	top: 10px;
	z-index: 1;
}

.pcb-gift-card-body {
	display: grid;
	flex: 1;
	gap: 10px;
	grid-template-rows: auto auto 42px;
	padding: 12px;
}

.pcb-gift-card-title {
	color: #ffffff;
	font-size: 14px;
	line-height: 1.35;
	margin: 0;
}

.pcb-gift-card-price {
	color: #999999;
	font-size: 13px;
}

.pcb-gift-select {
	align-self: end;
	background: #ff2d2d;
	border: 0;
	border-radius: 9px;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	min-height: 42px;
	width: 100%;
}

.pcb-gift-select:disabled {
	background: #555555;
	color: #bdbdbd;
	cursor: not-allowed;
}

.pcb-variation-dialog {
	max-width: 680px;
	width: min(100%, 680px);
}

.pcb-variation-content {
	overflow-y: auto;
	padding: 24px;
}

.pcb-variation-loading {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 260px;
}

.pcb-variation-loading[hidden],
.pcb-variation-selector[hidden],
.pcb-variation-error[hidden] {
	display: none;
}

.pcb-variation-selector {
	display: grid;
	gap: 24px;
	grid-template-columns: 220px minmax(0, 1fr);
}

.pcb-variation-image {
	box-sizing: border-box;
	height: 220px !important;
	max-height: 220px !important;
	max-width: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
	padding: 12px;
	width: 100% !important;
}

.pcb-variation-details,
.pcb-variation-fields {
	display: grid;
	gap: 14px;
}

.pcb-variation-field {
	display: grid;
	gap: 7px;
	margin: 0;
	min-width: 0;
}

.pcb-variation-field > span {
	color: #d8d8d8;
	font-size: 13px;
	font-weight: 750;
}

.pcb-variation-field select {
	background: #111111;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	box-sizing: border-box;
	color: #ffffff;
	font: inherit;
	height: 46px;
	margin: 0;
	min-width: 0;
	padding: 0 12px;
	width: 100%;
}

.pcb-variation-field select:focus {
	border-color: #ff2d2d;
	box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.14);
	outline: none;
}

.pcb-variation-field select option {
	background: #ffffff;
	color: #111111;
}

.pcb-variation-field select option:hover,
.pcb-variation-field select option:checked {
	background: #ff2d2d;
	color: #ffffff;
}

.pcb-variation-field option:disabled {
	background: #f1f1f1;
	color: #777777;
}

.pcb-variation-price {
	color: #ff2d2d;
	font-size: 18px;
	font-weight: 850;
	min-height: 25px;
}

.pcb-variation-price del {
	color: #777777;
	font-size: 14px;
	margin-right: 6px;
}

.pcb-variation-price ins {
	color: #ff2d2d;
	text-decoration: none;
}

.pcb-variation-error {
	background: rgba(255, 45, 45, 0.1);
	border: 1px solid rgba(255, 45, 45, 0.3);
	border-radius: 8px;
	color: #ff8c8c;
	font-size: 13px;
	margin: 0;
	padding: 10px 12px;
}

.pcb-variation-confirm {
	background: #ff2d2d;
	border: 0;
	border-radius: 10px;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	min-height: 46px;
	padding: 11px 16px;
	transition: background-color 180ms ease, box-shadow 180ms ease;
	width: 100%;
}

.pcb-variation-confirm:hover,
.pcb-variation-confirm:focus-visible {
	background: #ff4646;
	box-shadow: 0 10px 24px rgba(255, 45, 45, 0.22);
	outline: none;
}

.pcb-variation-confirm:disabled {
	background: #4a4a4a;
	box-shadow: none;
	color: #999999;
	cursor: not-allowed;
}

.pcb-product-variation-details {
	color: #a9a9a9;
	display: grid;
	font-size: 12px;
	gap: 3px;
	line-height: 1.35;
	margin: 0 0 8px;
}

.pcb-product-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pcb-product-card {
	align-items: center;
	aspect-ratio: 1 / 1.08;
	background: linear-gradient(180deg, #1f1f1f 0%, #151515 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 22px;
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 220px;
	padding: 22px;
	text-align: center;
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.pcb-product-card:focus-visible,
.pcb-product-card:hover {
	border-color: rgba(255, 45, 45, 0.7);
	box-shadow: 0 22px 56px rgba(255, 45, 45, 0.14), 0 16px 42px rgba(0, 0, 0, 0.34);
	outline: none;
	transform: translateY(-6px);
}

.pcb-product-plus {
	align-items: center;
	background: #111111;
	border: 2px solid #ff2d2d;
	border-radius: 999px;
	box-shadow: 0 0 28px rgba(255, 45, 45, 0.22);
	color: #ff2d2d;
	display: inline-flex;
	font-size: 46px;
	font-weight: 300;
	height: 90px;
	justify-content: center;
	line-height: 1;
	margin-bottom: 20px;
	width: 90px;
}

.pcb-product-title {
	color: #ffffff;
	font-size: 18px;
	font-weight: 750;
	line-height: 1.3;
	margin: 0 0 8px;
}

.pcb-product-helper {
	color: #8d8d8d;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.pcb-summary-card {
	padding: 24px;
}

.pcb-summary-list {
	display: grid;
	gap: 0;
}

.pcb-summary-row {
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: #b8b8b8;
	display: flex;
	font-size: 15px;
	justify-content: space-between;
	line-height: 1.45;
	padding: 14px 0;
}

.pcb-summary-row strong {
	color: #ffffff;
	font-weight: 800;
}

.pcb-summary-total {
	border-bottom: 0;
	color: #ffffff;
	font-size: 18px;
	padding-top: 18px;
}

.pcb-summary-total strong {
	color: #ff2d2d;
	font-size: 24px;
}

.pcb-summary-message {
	background: rgba(255, 45, 45, 0.08);
	border: 1px solid rgba(255, 45, 45, 0.18);
	border-radius: 14px;
	color: #d7d7d7;
	font-size: 14px;
	line-height: 1.6;
	margin: 18px 0;
	padding: 14px 16px;
	text-align: center;
}

.pcb-cart-button {
	background: #3a3a3a;
	border: 0;
	border-radius: 14px;
	color: #8f8f8f;
	cursor: not-allowed;
	display: block;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	padding: 16px 20px;
	text-align: center;
	text-transform: uppercase;
	width: 100%;
}

.pcb-clear-button {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 10px;
	color: #d0d0d0;
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	margin: 0 0 12px;
	min-height: 42px;
	padding: 10px 16px;
	transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
	width: 100%;
}

.pcb-clear-button:hover,
.pcb-clear-button:focus-visible {
	background: rgba(255, 45, 45, 0.08);
	border-color: #ff2d2d;
	color: #ffffff;
	outline: none;
}

.pcb-cart-button.is-loading {
	cursor: wait;
	opacity: 0.72;
}

.pcb-cart-button:not(:disabled) {
	background: #ff2d2d;
	color: #ffffff;
	cursor: pointer;
}

.pcb-cart-button:not(:disabled):hover,
.pcb-cart-button:not(:disabled):focus-visible {
	background: #ff4646;
	box-shadow: 0 10px 24px rgba(255, 45, 45, 0.22);
	outline: none;
}

.pcb-popup {
	align-items: center;
	display: none;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 24px;
	pointer-events: none;
	position: fixed;
	transition: opacity 180ms ease, visibility 180ms ease;
	visibility: hidden;
	z-index: 99999;
}

.pcb-popup.is-open {
	display: flex;
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.pcb-popup-overlay {
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(10px);
	inset: 0;
	position: absolute;
}

.pcb-popup-dialog {
	background:
		radial-gradient(circle at top right, rgba(255, 45, 45, 0.16), transparent 22rem),
		linear-gradient(180deg, #1f1f1f 0%, #151515 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 22px;
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
	color: #f7f7f7;
	display: flex;
	flex-direction: column;
	max-height: min(760px, calc(100vh - 48px));
	max-width: 760px;
	overflow: hidden;
	position: relative;
	transform: translateY(18px) scale(0.98);
	transition: transform 220ms ease;
	width: min(100%, 760px);
}

.pcb-popup.is-open .pcb-popup-dialog {
	transform: translateY(0) scale(1);
}

.pcb-popup-header {
	align-items: flex-start;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	gap: 18px;
	justify-content: space-between;
	padding: 24px;
}

.pcb-popup-title {
	color: #ffffff;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 8px;
}

.pcb-popup-subtitle {
	color: #a9a9a9;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.pcb-popup-close {
	align-items: center;
	background: #111111;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 42px;
	font-size: 28px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
	width: 42px;
}

.pcb-popup-close:hover,
.pcb-popup-close:focus-visible {
	background: rgba(255, 45, 45, 0.12);
	border-color: rgba(255, 45, 45, 0.65);
	color: #ff2d2d;
	outline: none;
	transform: rotate(90deg);
}

.pcb-popup .pcb-popup-controls {
	align-items: end;
	box-sizing: border-box;
	display: grid !important;
	gap: 16px;
	grid-template-columns: minmax(0, calc(50% - 8px)) minmax(0, calc(50% - 8px));
	padding: 24px 24px 0;
	width: 100%;
}

.pcb-popup .pcb-popup-controls > .pcb-popup-field {
	box-sizing: border-box;
	display: grid !important;
	float: none !important;
	gap: 8px;
	grid-template-rows: auto 48px;
	margin: 0 !important;
	max-width: 100%;
	min-width: 0;
	position: static !important;
	width: auto !important;
}

.pcb-popup-label {
	color: #d8d8d8;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.3;
	margin: 0 !important;
}

.pcb-popup-search,
.pcb-popup-category {
	background: #111111;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	box-sizing: border-box;
	color: #ffffff;
	font: inherit;
	height: 48px;
	margin: 0;
	max-width: 100%;
	min-width: 0;
	padding: 0 14px;
	transition: border-color 180ms ease, box-shadow 180ms ease;
	display: block !important;
	float: none !important;
	position: static !important;
	width: 100% !important;
}

.pcb-popup-category {
	background-color: #ffffff;
	color: #111111;
	cursor: pointer;
	isolation: isolate;
	position: relative !important;
	z-index: 3;
}

.pcb-popup-category option {
	background: #ffffff;
	color: #111111;
}

.pcb-popup-category option:hover,
.pcb-popup-category option:checked {
	background: #ff2d2d;
	color: #ffffff;
}

.pcb-product-selected-image {
	background: transparent;
	border: 1px solid rgba(255, 45, 45, 0.38);
	border-radius: 16px;
	box-sizing: border-box;
	align-self: center;
	flex: 0 0 112px;
	height: 112px !important;
	max-height: 112px !important;
	max-width: 112px !important;
	margin-bottom: 16px;
	object-fit: contain !important;
	object-position: center !important;
	padding: 8px;
	width: 112px !important;
}

.pcb-product-card.is-selected {
	overflow: hidden;
}

.pcb-product-card.is-selected .pcb-product-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	max-width: 100%;
	min-height: 2.6em;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

.pcb-product-card.is-selected .pcb-product-helper {
	color: #ff2d2d;
	font-weight: 800;
}

.pcb-product-remove {
	align-items: center;
	background: #111111;
	border: 1px solid rgba(255, 45, 45, 0.5);
	border-radius: 999px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	margin-top: 14px;
	width: 34px;
}

.pcb-product-remove:hover,
.pcb-product-remove:focus-visible {
	background: #ff2d2d;
	outline: none;
}

.pcb-slot-notification {
	background: #1f1f1f;
	border: 1px solid #ff2d2d;
	border-radius: 8px;
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
	color: #ffffff;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	max-width: min(360px, calc(100vw - 32px));
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 24px;
	top: 24px;
	transform: translateY(-12px);
	transition: opacity 180ms ease, transform 180ms ease;
	z-index: 100001;
	padding: 14px 16px;
}

.pcb-slot-notification.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.pcb-popup-search::placeholder {
	color: #777777;
}

.pcb-popup-search:focus,
.pcb-popup-category:focus {
	border-color: rgba(255, 45, 45, 0.75);
	box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.14);
	outline: none;
}

.pcb-popup-category:disabled {
	color: #8f8f8f;
	cursor: not-allowed;
	opacity: 1;
}

.pcb-popup-product-list {
	box-sizing: border-box;
	margin-right: 8px;
	overflow-y: auto;
	padding: 20px 16px 24px 24px;
	scrollbar-color: #555555 transparent;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
}

.pcb-popup-product-list::-webkit-scrollbar {
	width: 8px;
}

.pcb-popup-product-list::-webkit-scrollbar-track {
	background: transparent;
}

.pcb-popup-product-list::-webkit-scrollbar-thumb {
	background: #555555;
	border-radius: 999px;
}

.pcb-products-loading,
.pcb-products-empty {
	align-items: center;
	background: #151515;
	border: 1px dashed rgba(255, 45, 45, 0.36);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 220px;
	padding: 28px;
	text-align: center;
}

.pcb-products-loading[hidden],
.pcb-products-empty[hidden] {
	display: none;
}

.pcb-products-spinner {
	animation: pcb-spin 800ms linear infinite;
	border: 3px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	border-top-color: #ff2d2d;
	height: 46px;
	margin-bottom: 16px;
	width: 46px;
}

.pcb-products-loading strong,
.pcb-products-empty strong {
	color: #ffffff;
	font-size: 18px;
	line-height: 1.35;
	margin-bottom: 8px;
}

.pcb-products-empty span {
	color: #9b9b9b;
	font-size: 14px;
	line-height: 1.6;
}

.pcb-products-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pcb-popup-product-card {
	background: #151515;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pcb-popup-product-card:hover {
	border-color: rgba(255, 45, 45, 0.52);
	box-shadow: 0 18px 42px rgba(255, 45, 45, 0.1), 0 14px 34px rgba(0, 0, 0, 0.3);
	transform: translateY(-4px);
}

.pcb-popup-product-card.is-out-of-stock {
	cursor: not-allowed;
	opacity: 0.52;
}

.pcb-popup-product-card.is-out-of-stock:hover {
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
	transform: none;
}

.pcb-popup-product-image {
	aspect-ratio: 1 / 0.78;
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	overflow: visible;
	position: relative;
}

.pcb-popup-product-card.is-out-of-stock .pcb-popup-product-image img {
	filter: grayscale(1) blur(1px);
}

.pcb-stock-badge {
	background: #ff2d2d;
	border-radius: 6px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 850;
	left: 10px;
	line-height: 1;
	padding: 7px 9px;
	position: absolute;
	top: 10px;
	z-index: 1;
}

.pcb-custom-product-badge {
	position: absolute;
	z-index: 1;
	top: 10px;
	right: 10px;
	max-width: calc(100% - 20px);
	overflow: hidden;
	padding: 6px 9px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	background: #1f1f1f;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcb-popup-product-image img {
	box-sizing: border-box;
	display: block;
	height: 100% !important;
	max-height: 100% !important;
	max-width: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
	padding: 12px;
	width: 100% !important;
}

.pcb-popup-product-body {
	display: grid;
	gap: 10px;
	padding: 14px;
}

.pcb-popup-product-name {
	color: #ffffff;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.35;
	margin: 0;
	min-height: 42px;
}

.pcb-popup-product-price {
	color: #ff2d2d;
	font-size: 16px;
	font-weight: 850;
	line-height: 1.35;
}

.pcb-popup-product-price del {
	color: #777777;
	font-size: 13px;
	font-weight: 600;
	margin-right: 6px;
	opacity: 0.82;
}

.pcb-popup-product-price ins {
	color: #ff2d2d;
	text-decoration: none;
}

.pcb-popup-product-select {
	background: #ff2d2d;
	border: 0;
	border-radius: 12px;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	min-height: 42px;
	padding: 11px 14px;
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	width: 100%;
}

.pcb-popup-product-select:hover,
.pcb-popup-product-select:focus-visible {
	background: #ff4646;
	box-shadow: 0 10px 24px rgba(255, 45, 45, 0.22);
	outline: none;
	transform: translateY(-1px);
}

.pcb-popup-product-select:disabled {
	background: #555555;
	box-shadow: none;
	color: #bdbdbd;
	cursor: not-allowed;
	transform: none;
}

body.pcb-popup-open {
	overflow: hidden;
}

@keyframes pcb-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 1024px) {
	.pcb-wrapper {
		padding: 28px;
	}

	.pcb-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pcb-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pcb-gift-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.pcb-popup .pcb-popup-controls {
		align-items: end;
		grid-template-columns: minmax(0, calc(50% - 8px)) minmax(0, calc(50% - 8px));
	}

	.pcb-popup .pcb-popup-controls > .pcb-popup-field {
		width: auto !important;
	}
}

@media (max-width: 640px) {
	.pcb-slot-notification {
		left: 16px;
		right: 16px;
		top: 16px;
	}

	.pcb-wrapper {
		border-radius: 18px;
		padding: 22px;
	}

	.pcb-title {
		font-size: 28px;
	}

	.pcb-rewards-card,
	.pcb-progress,
	.pcb-summary-card {
		border-radius: 16px;
		padding: 18px;
	}

	.pcb-progress-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.pcb-progress-track {
		margin-bottom: 48px;
	}

	.pcb-progress-marker-label {
		font-size: 9px;
	}

	.pcb-gift-panel {
		grid-template-columns: 1fr;
	}

	.pcb-gift-button {
		width: 100%;
	}

	.pcb-selected-gift {
		grid-template-columns: 60px minmax(0, 1fr) auto;
	}

	.pcb-selected-gift img {
		height: 60px;
		width: 60px;
	}

	.pcb-gift-popup-content {
		margin-right: 8px;
		padding: 20px 12px 20px 20px;
	}

	.pcb-gift-grid {
		grid-template-columns: 1fr;
	}

	.pcb-variation-content {
		padding: 20px;
	}

	.pcb-variation-selector {
		grid-template-columns: 1fr;
	}

	.pcb-variation-image {
		height: 180px !important;
		max-height: 180px !important;
	}

	.pcb-product-grid {
		grid-template-columns: 1fr;
	}

	.pcb-product-card {
		aspect-ratio: auto;
		min-height: 210px;
	}

	.pcb-popup {
		padding: 16px;
	}

	.pcb-popup-dialog {
		border-radius: 18px;
		max-height: calc(100vh - 32px);
	}

	.pcb-popup-header {
		padding: 20px;
	}

	.pcb-popup .pcb-popup-controls {
		align-items: end;
		grid-template-columns: minmax(0, calc(50% - 8px)) minmax(0, calc(50% - 8px));
		padding: 20px 20px 0;
	}

	.pcb-popup-product-list {
		margin-right: 8px;
		padding: 20px 12px 20px 20px;
	}

	.pcb-products-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.pcb-progress-track {
		margin-bottom: 40px;
	}

	.pcb-progress-marker-label {
		display: none;
		font-size: 9px;
		max-width: 96px;
		white-space: normal;
	}

	.pcb-progress-marker.is-current .pcb-progress-marker-label,
	.pcb-progress-marker:last-child.is-unlocked .pcb-progress-marker-label {
		display: block;
	}
}
