@font-face {
	font-family: "Antonio SYC";
	src: url("../fonts/Antonio-Bold.ttf") format("truetype");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "Barlow Condensed SYC";
	src: url("../fonts/BarlowCondensed-Medium.ttf") format("truetype");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "Bebas Neue SYC";
	src: url("../fonts/BebasNeue-Regular.ttf") format("truetype");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Oswald SYC";
	src: url("../fonts/Oswald-SemiBold.ttf") format("truetype");
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: "Teko SYC";
	src: url("../fonts/Teko-SemiBold.ttf") format("truetype");
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}

.syc-personalizer {
	--syc-black: #0c0c0d;
	--syc-panel: #161719;
	--syc-panel-soft: #202124;
	--syc-border: #35373b;
	--syc-text: #f6f6f6;
	--syc-muted: #a7a8ac;
	--syc-accent: #f58220;
	--syc-accent-soft: rgba(245, 130, 32, 0.14);
	background: var(--syc-black);
	border: 1px solid #242529;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
	color: var(--syc-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 28px 0;
	overflow: hidden;
	width: 100%;
}

.syc-personalizer *,
.syc-personalizer *::before,
.syc-personalizer *::after {
	box-sizing: border-box;
}

.syc-layout,
.syc-preview-column,
.syc-options-column {
	min-width: 0;
}

.syc-header {
	padding: 28px 28px 8px;
}

.syc-header h2 {
	color: var(--syc-text);
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 2px 0 10px;
}

.syc-header p {
	color: var(--syc-muted);
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
}

.syc-header .syc-eyebrow {
	color: var(--syc-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.syc-preview {
	padding: 20px 28px 8px;
}

.syc-preview__stage {
	background:
		radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.06), transparent 42%),
		#101113;
	border: 1px solid var(--syc-border);
	border-radius: 16px;
	overflow: hidden;
	position: relative;
}

.syc-preview-canvas {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.syc-preview__loading {
	align-items: center;
	background: #111;
	color: var(--syc-muted);
	display: flex;
	font-size: 13px;
	inset: 0;
	justify-content: center;
	position: absolute;
	z-index: 2;
}

.syc-preview__loading[hidden] {
	display: none;
}

.syc-preview__note {
	color: #83858a;
	font-size: 11px;
	line-height: 1.5;
	margin: 9px 2px 0;
}

.syc-steps {
	display: grid;
	gap: 14px;
	padding: 20px 28px 28px;
}

.syc-step {
	background: var(--syc-panel);
	border: 1px solid var(--syc-border);
	border-radius: 14px;
	margin: 0;
	min-width: 0;
	padding: 18px;
}

.syc-step legend {
	align-items: center;
	color: var(--syc-text);
	display: flex;
	font-size: 15px;
	font-weight: 750;
	gap: 9px;
	line-height: 1.2;
	margin: 0 0 14px;
	padding: 0;
}

.syc-step legend span {
	align-items: center;
	background: var(--syc-accent);
	border-radius: 50%;
	color: #111;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	height: 23px;
	justify-content: center;
	width: 23px;
}

.syc-choice-grid {
	display: grid;
	gap: 10px;
}

.syc-choice-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.syc-choice-card {
	cursor: pointer;
	display: block;
	margin: 0;
	min-width: 0;
	position: relative;
}

.syc-choice-card input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.syc-choice-card__body {
	background: var(--syc-panel-soft);
	border: 1px solid #3c3e42;
	border-radius: 11px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	height: 100%;
	justify-content: center;
	min-height: 64px;
	padding: 12px 13px;
	transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.syc-choice-card:hover .syc-choice-card__body {
	border-color: #65676d;
	transform: translateY(-1px);
}

.syc-choice-card input:checked + .syc-choice-card__body {
	background: var(--syc-accent-soft);
	border-color: var(--syc-accent);
	box-shadow: 0 0 0 1px var(--syc-accent);
}

.syc-choice-card input:focus-visible + .syc-choice-card__body,
.syc-pill input:focus-visible + span,
.syc-swatch input:focus-visible + .syc-swatch__color {
	outline: 3px solid rgba(245, 130, 32, 0.35);
	outline-offset: 2px;
}

.syc-choice-card strong {
	color: var(--syc-text);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.25;
}

.syc-choice-card small {
	color: var(--syc-muted);
	font-size: 11px;
	line-height: 1.25;
}

.syc-dependent {
	border-top: 1px solid #303237;
	display: grid;
	gap: 12px;
	margin-top: 16px;
	padding-top: 16px;
}

.syc-dependent[hidden],
.syc-personalizer [hidden] {
	display: none !important;
}

.syc-field {
	display: grid;
	gap: 7px;
	margin: 0;
}

.syc-field > span:first-child,
.syc-field--compact > span:first-child {
	color: #e7e7e9;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
}

.syc-field em {
	color: #87898e;
	font-size: 10px;
	font-style: normal;
	line-height: 1.45;
}

.syc-field input[type="text"],
.syc-field select {
	appearance: none;
	background-color: #0f1012;
	border: 1px solid #45474d;
	border-radius: 9px;
	color: var(--syc-text);
	font-family: inherit;
	font-size: 13px;
	height: 46px;
	line-height: 1.2;
	margin: 0;
	outline: none;
	padding: 0 14px;
	width: 100%;
}

.syc-field select {
	background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%);
	background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 38px;
}

.syc-field input[type="text"]:focus,
.syc-field select:focus {
	border-color: var(--syc-accent);
	box-shadow: 0 0 0 3px var(--syc-accent-soft);
}

.syc-input-wrap {
	display: block;
	position: relative;
}

.syc-input-wrap input[type="text"] {
	padding-right: 56px;
}

.syc-input-wrap small {
	color: #888a8f;
	font-size: 10px;
	position: absolute;
	right: 13px;
	top: 50%;
	transform: translateY(-50%);
}

.syc-field--compact {
	display: grid;
	gap: 9px;
	margin-top: 16px;
}

.syc-inline-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.syc-pill {
	cursor: pointer;
	margin: 0;
	position: relative;
}

.syc-pill input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.syc-pill span {
	background: #101113;
	border: 1px solid #45474d;
	border-radius: 999px;
	color: #d6d7da;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	padding: 8px 14px;
}

.syc-pill input:checked + span {
	background: var(--syc-accent-soft);
	border-color: var(--syc-accent);
	color: #fff;
}

.syc-swatches {
	display: grid;
	gap: 12px 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.syc-swatch {
	align-items: center;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	min-width: 0;
	position: relative;
	text-align: center;
}

.syc-swatch input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.syc-swatch__color {
	background: var(--swatch);
	border: 2px solid #61636a;
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.14);
	display: block;
	height: 35px;
	transition: box-shadow 160ms ease, transform 160ms ease;
	width: 35px;
}

.syc-swatch input:checked + .syc-swatch__color {
	box-shadow: 0 0 0 3px var(--syc-panel), 0 0 0 5px var(--syc-accent);
	transform: scale(1.04);
}

.syc-swatch__label {
	color: var(--syc-muted);
	font-size: 9px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

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

.syc-total {
	background: #f3f3f4;
	color: #111;
	padding: 22px 28px 24px;
}

.syc-total > div {
	align-items: flex-end;
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

.syc-total > div > span {
	color: #56575b;
	font-size: 12px;
	font-weight: 700;
}

.syc-total strong {
	color: #080808;
	font-size: clamp(24px, 5vw, 34px);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
}

.syc-total ul {
	border-top: 1px solid #d8d8da;
	display: grid;
	gap: 5px;
	list-style: none;
	margin: 14px 0 0;
	padding: 12px 0 0;
}

.syc-total li {
	color: #66676b;
	display: flex;
	font-size: 10px;
	gap: 12px;
	justify-content: space-between;
	line-height: 1.35;
	margin: 0;
	padding: 0;
}

.syc-total li span {
	color: #222;
	font-weight: 700;
	white-space: nowrap;
}

.syc-lead-time {
	align-items: flex-start;
	background: rgba(245, 130, 32, 0.1);
	border: 1px solid rgba(245, 130, 32, 0.5);
	border-radius: 12px;
	color: #d9dadd;
	display: flex;
	gap: 11px;
	margin: 14px 28px 28px;
	padding: 14px 15px;
}

.syc-lead-time__icon {
	align-items: center;
	background: var(--syc-accent);
	border-radius: 50%;
	color: #111;
	display: inline-flex;
	flex: 0 0 22px;
	font-size: 12px;
	font-style: normal;
	font-weight: 900;
	height: 22px;
	justify-content: center;
	line-height: 1;
}

.syc-lead-time p {
	color: inherit;
	font-size: 11px;
	line-height: 1.5;
	margin: 1px 0 0;
}

.syc-lead-time strong {
	color: #fff;
	font-weight: 800;
}

.syc-personalizer + .quantity,
.syc-personalizer ~ .quantity {
	margin-top: 8px;
}

.syc-price-from {
	white-space: nowrap;
}

/* Czytelne dane personalizacji w klasycznym koszyku WooCommerce / ShopEngine. */
body.woocommerce-cart .cart_item dl.variation,
body.woocommerce-cart .cart_item .variation {
	display: block !important;
	float: none !important;
	grid-template-columns: none !important;
	height: auto !important;
	margin: 14px 0 0 !important;
	max-width: 100% !important;
	padding: 0 !important;
	text-align: left !important;
	width: 100% !important;
}

body.woocommerce-cart .cart_item dl.variation dt,
body.woocommerce-cart .cart_item dl.variation dd {
	clear: both !important;
	display: block !important;
	float: none !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	position: static !important;
	text-align: left !important;
	width: 100% !important;
}

body.woocommerce-cart .cart_item dl.variation dt {
	font-weight: 700 !important;
	margin-bottom: 2px !important;
	margin-top: 10px !important;
}

body.woocommerce-cart .cart_item dl.variation dd,
body.woocommerce-cart .cart_item dl.variation dd p {
	font-style: normal !important;
	font-weight: 400 !important;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	overflow-wrap: anywhere;
	text-align: left !important;
}

body.woocommerce-cart .cart_item img.syc-personalized-thumbnail {
	background: #dedede;
	border-radius: 10px;
	display: block;
	height: auto !important;
	object-fit: contain;
	width: 100% !important;
}

body.woocommerce-checkout .wcf-product-thumbnail img.syc-personalized-checkout-thumbnail {
	background: #dedede;
	border-radius: 10px;
	display: block;
	height: auto !important;
	object-fit: contain;
	width: 100% !important;
}

body.woocommerce-checkout .wcf-embed-checkout-form table.woocommerce-checkout-review-order-table.cartflows_table strong.product-quantity {
	display: none !important;
}

body.woocommerce-order-received strong.product-quantity {
	display: none !important;
}

body.woocommerce-order-received .syc-customer-order-name {
	display: block;
	font-weight: 600;
	margin: 0;
}

body.woocommerce-order-received .syc-thankyou-personalization {
	color: inherit;
	display: block;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	margin: 14px 0 0;
	text-align: left;
	width: 100%;
}

body.woocommerce-order-received .syc-thankyou-personalization__row {
	display: block;
	margin: 0 0 5px;
	overflow-wrap: anywhere;
}

body.woocommerce-order-received .syc-thankyou-personalization__row strong {
	font-weight: 700;
}

body.woocommerce-order-received .syc-thankyou-personalization__row span {
	font-weight: 400;
}

@media (min-width: 769px) {
	body.woocommerce-checkout .wcf-embed-checkout-form table.woocommerce-checkout-review-order-table.cartflows_table {
		table-layout: auto !important;
	}

	body.woocommerce-checkout .wcf-embed-checkout-form table.woocommerce-checkout-review-order-table.cartflows_table th.product-name,
	body.woocommerce-checkout .wcf-embed-checkout-form table.woocommerce-checkout-review-order-table.cartflows_table td.product-name {
		width: 80% !important;
	}

	body.woocommerce-checkout .wcf-embed-checkout-form table.woocommerce-checkout-review-order-table.cartflows_table th.product-total,
	body.woocommerce-checkout .wcf-embed-checkout-form table.woocommerce-checkout-review-order-table.cartflows_table td.product-total {
		width: 20% !important;
	}

	body.woocommerce-checkout .wcf-embed-checkout-form .wcf-product-image {
		align-items: center !important;
		display: flex !important;
		gap: 18px !important;
		width: 100% !important;
	}

	body.woocommerce-checkout .wcf-embed-checkout-form .wcf-product-image .wcf-product-thumbnail {
		flex: 0 0 104px !important;
		max-width: 104px !important;
		width: 104px !important;
	}

	body.woocommerce-checkout .wcf-embed-checkout-form .wcf-product-image .wcf-product-name {
		display: block !important;
		flex: 1 1 auto !important;
		max-width: none !important;
		min-width: 0 !important;
		overflow: visible !important;
		text-overflow: clip !important;
		white-space: nowrap !important;
		width: auto !important;
		word-break: normal !important;
	}

	body.woocommerce-checkout .wcf-embed-checkout-form .wcf-product-image .wcf-product-name,
	body.woocommerce-checkout .wcf-embed-checkout-form .wcf-product-image .wcf-product-name a {
		overflow: visible !important;
		text-overflow: clip !important;
		white-space: nowrap !important;
	}
}

@media (min-width: 1024px) {
	body.postid-16398 .summary,
	body.postid-16398 form.cart,
	body.postid-16398 .elementor-widget-woocommerce-product-add-to-cart,
	body.postid-16398 .elementor-widget-woocommerce-product-add-to-cart > .elementor-widget-container {
		overflow: visible !important;
	}

	.syc-personalizer {
		margin-left: var(--syc-breakout-margin, 0px);
		max-width: none;
		overflow: visible;
		position: relative;
		width: var(--syc-breakout-width, 100%);
		z-index: 5;
	}

	.syc-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
	}

	.syc-preview-column {
		align-self: start;
		position: sticky;
		top: max(24px, calc(var(--wp-admin--admin-bar--height, 0px) + 16px));
	}

	.syc-options-column {
		border-left: 1px solid var(--syc-border);
		min-width: 0;
	}

	.syc-header {
		padding: 32px 30px 8px;
	}

	.syc-preview {
		padding: 18px 30px 30px;
	}

	.syc-preview__stage {
		margin: 0 auto;
		max-width: min(100%, clamp(480px, calc(100vh - 220px), 760px));
	}

	.syc-steps {
		padding: 28px 28px 20px;
	}

	.syc-total {
		border-radius: 14px;
		margin: 0 28px;
	}
}

@media (max-width: 520px) {
	.syc-personalizer {
		border-radius: 14px;
		margin: 20px 0;
	}

	.syc-header,
	.syc-preview,
	.syc-steps {
		padding-left: 16px;
		padding-right: 16px;
	}

	.syc-header {
		padding-top: 22px;
	}

	.syc-step {
		padding: 14px;
	}

	.syc-choice-grid--two,
	.syc-dimension-grid {
		grid-template-columns: 1fr;
	}

	.syc-swatches {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.syc-total {
		padding: 20px 16px 22px;
	}

	.syc-lead-time {
		margin: 12px 16px 20px;
	}

	body.woocommerce-cart .cart_item dl.variation dt,
	body.woocommerce-cart .cart_item dl.variation dd {
		font-size: 15px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.syc-personalizer *,
	.syc-personalizer *::before,
	.syc-personalizer *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
