/**
 * Panel Calculator - Modern Styles
 * Kalkulator paneli tapicerowanych
 */

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
	--pc-primary: #0f766e;
	--pc-primary-hover: #0d9488;
	--pc-primary-light: #ccfbf1;
	--pc-primary-dark: #134e4a;
	--pc-accent: #f59e0b;
	--pc-accent-light: #fef3c7;
	--pc-text: #1e293b;
	--pc-text-muted: #64748b;
	--pc-border: #e2e8f0;
	--pc-bg: #f1f5f9;
	--pc-card: #ffffff;
	--pc-radius: 16px;
	--pc-radius-sm: 10px;
	--pc-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
	--pc-shadow-lg: 0 4px 6px -1px rgba(0,0,0,.1), 0 10px 20px -2px rgba(0,0,0,.06);
	--pc-transition: all .25s cubic-bezier(.4,0,.2,1);
	--pc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body {
	font-family: var(--pc-font);
	background: var(--pc-bg);
	color: var(--pc-text);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
/* ========== APP WRAPPER ========== */
.pc-app {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
/* ========== HEADER ========== */
.pc-header {
	background: linear-gradient(135deg, var(--pc-primary-dark) 0%, var(--pc-primary) 100%);
	color: #fff;
	padding: 0;
	position: relative;
	overflow: hidden;
}
.pc-header::before {
	content: '';
	position: absolute;
	top: -50%; right: -20%;
	width: 500px; height: 500px;
	background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
	border-radius: 50%;
}
.pc-header::after {
	content: '';
	position: absolute;
	bottom: -30%; left: -10%;
	width: 400px; height: 400px;
	background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
	border-radius: 50%;
}
.pc-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 24px 36px;
	text-align: center;
	position: relative;
	z-index: 1;
}
.pc-logo {
	margin-bottom: 16px;
}
.pc-logo img {
	max-height: 60px;
	width: auto;
}
.pc-logo-text {
	display: inline-block;
	padding: 8px 20px;
	border: 2px dashed rgba(255,255,255,.3);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	opacity: .7;
}
.pc-header-title {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -.5px;
	margin-bottom: 8px;
}
.pc-header-sub {
	font-size: 16px;
	opacity: .85;
	font-weight: 400;
}
/* ========== MAIN LAYOUT ========== */
.pc-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 24px 60px;
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 32px;
	flex: 1;
}
/* ========== CARDS ========== */
.pc-card {
	background: var(--pc-card);
	border-radius: var(--pc-radius);
	box-shadow: var(--pc-shadow);
	padding: 28px;
	margin-bottom: 24px;
}
.pc-card-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}
.pc-step-badge {
	width: 36px; height: 36px;
	background: var(--pc-primary);
	color: #fff;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 16px; font-weight: 700;
	flex-shrink: 0;
}
.pc-card-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--pc-text);
}
/* ========== PANEL TYPES ========== */
.pc-panel-types {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.pc-type-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 12px;
	border: 2px solid var(--pc-border);
	border-radius: var(--pc-radius-sm);
	cursor: pointer;
	transition: var(--pc-transition);
	position: relative;
	text-align: center;
}
.pc-type-card:hover {
	border-color: var(--pc-primary-hover);
	background: var(--pc-primary-light);
}
.pc-type-card--active {
	border-color: var(--pc-primary);
	background: var(--pc-primary-light);
	box-shadow: 0 0 0 3px rgba(15,118,110,.15);
}
.pc-type-icon {
	width: 80px; height: 80px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 12px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px dashed var(--pc-border);
}
.pc-type-img {
	width: 100%; height: 100%;
	object-fit: cover;
	border-radius: 12px;
}
.pc-type-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--pc-text-muted);
}
.pc-type-placeholder svg {
	width: 32px; height: 32px;
	opacity: .4;
}
.pc-type-placeholder span {
	font-size: 9px;
	opacity: .5;
}
.pc-type-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--pc-text);
}
.pc-type-check {
	position: absolute;
	top: 8px; right: 8px;
	width: 24px; height: 24px;
	background: var(--pc-primary);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	opacity: 0;
	transform: scale(.5);
	transition: var(--pc-transition);
}
.pc-type-check svg {
	width: 14px; height: 14px;
	stroke: #fff;
}
.pc-type-card--active .pc-type-check {
	opacity: 1;
	transform: scale(1);
}
/* ========== DIMENSIONS ========== */
.pc-dims {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
.pc-dim-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.pc-dim-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--pc-text-muted);
	text-transform: uppercase;
	letter-spacing: .5px;
}
.pc-dim-input-wrap {
	display: flex;
	align-items: center;
	border: 2px solid var(--pc-border);
	border-radius: var(--pc-radius-sm);
	overflow: hidden;
	transition: var(--pc-transition);
}
.pc-dim-input-wrap:focus-within {
	border-color: var(--pc-primary);
	box-shadow: 0 0 0 3px rgba(15,118,110,.12);
}
.pc-dim-btn {
	width: 44px; height: 48px;
	background: #f8fafc;
	border: none;
	font-size: 20px;
	font-weight: 600;
	color: var(--pc-text-muted);
	cursor: pointer;
	transition: var(--pc-transition);
	display: flex; align-items: center; justify-content: center;
	-webkit-tap-highlight-color: transparent;
}
.pc-dim-btn:hover { background: var(--pc-primary-light); color: var(--pc-primary); }
.pc-dim-btn:active { background: var(--pc-primary); color: #fff; }
.pc-dim-input {
	width: 72px; height: 48px;
	border: none;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	color: var(--pc-text);
	font-family: var(--pc-font);
	outline: none;
	-moz-appearance: textfield;
}
.pc-dim-input::-webkit-outer-spin-button,
.pc-dim-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pc-dim-sep {
	font-size: 24px;
	font-weight: 300;
	color: var(--pc-text-muted);
	padding-bottom: 8px;
}
.pc-dim-unit {
	font-size: 13px;
	font-weight: 600;
	color: var(--pc-text-muted);
}
.pc-area-preview {
	margin-top: 20px;
	padding: 12px 16px;
	background: var(--pc-primary-light);
	border-radius: 8px;
	text-align: center;
	font-size: 14px;
	color: var(--pc-primary-dark);
}
.pc-area-preview strong {
	color: var(--pc-primary);
}
/* ========== ITEMS (Multi-panel sets) ========== */
.pc-item {
	background: #f8fafc;
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-sm);
	padding: 20px;
	margin-bottom: 16px;
	transition: var(--pc-transition);
}
.pc-item:last-child { margin-bottom: 0; }
.pc-item-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}
.pc-item-num {
	width: 28px; height: 28px;
	background: var(--pc-primary);
	color: #fff;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 13px; font-weight: 700;
	flex-shrink: 0;
}
.pc-item-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--pc-text);
}
.pc-item-type {
	margin-left: auto;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.pc-item-type--regular {
	background: var(--pc-primary-light);
	color: var(--pc-primary);
}
.pc-item-type--rounded {
	background: var(--pc-accent-light);
	color: #92400e;
}
.pc-item-remove {
	width: 32px; height: 32px;
	background: transparent;
	border: 1px solid #fecaca;
	border-radius: 8px;
	color: #ef4444;
	font-size: 20px;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: var(--pc-transition);
	flex-shrink: 0;
	margin-left: 8px;
}
.pc-item-remove:hover {
	background: #fef2f2;
	border-color: #ef4444;
}
.pc-item-dims {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
/* Add item button */
.pc-add-item-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px;
	margin-top: 16px;
	background: transparent;
	border: 2px dashed var(--pc-border);
	border-radius: var(--pc-radius-sm);
	color: var(--pc-text-muted);
	font-size: 14px;
	font-weight: 600;
	font-family: var(--pc-font);
	cursor: pointer;
	transition: var(--pc-transition);
}
.pc-add-item-btn:hover {
	border-color: var(--pc-primary);
	color: var(--pc-primary);
	background: var(--pc-primary-light);
}
.pc-add-item-btn svg {
	width: 20px; height: 20px;
	stroke: currentColor;
}
/* Type badge price */
.pc-type-badge-price {
	font-size: 11px;
	font-weight: 700;
	color: #92400e;
	background: var(--pc-accent-light);
	padding: 2px 8px;
	border-radius: 12px;
}
/* ========== CONTACT HOLE (per set) ========== */
.pc-item-options {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed var(--pc-border);
}
.pc-item-options-title {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--pc-text-muted);
	margin-bottom: 10px;
}
.pc-item-fabric-section {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed var(--pc-border);
}
.pc-fabric-choices--compact {
	gap: 10px;
	margin-bottom: 10px;
}
.pc-fabric-choices--compact .pc-fabric-opt {
	padding: 14px 12px;
}
.pc-fabric-choices--compact .pc-fabric-badge {
	font-size: 10px;
	padding: 3px 10px;
}
.pc-fabric-choices--compact .pc-fabric-desc {
	font-size: 13px;
}
.pc-fabric-choices--compact .pc-fabric-surcharge {
	font-size: 12px;
}
.pc-item-fabric-section .pc-fabric-name-row {
	margin-bottom: 10px;
}
.pc-item-fabric-section .pc-fabric-name-input {
	padding: 10px 14px;
	font-size: 14px;
}
.pc-item-fabric-section .pc-fabric-link {
	font-size: 13px;
	padding: 10px 16px;
}
.pc-hole-section {
	margin-top: 16px;
}
.pc-hole-toggle-row {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pc-hole-toggle-row .pc-hole-toggle {
	flex: 1;
}
.pc-hole-layout-field {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed var(--pc-border);
}
.pc-hole-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border: 2px solid var(--pc-border);
	border-radius: var(--pc-radius-sm);
	cursor: pointer;
	transition: var(--pc-transition);
	background: #fff;
}
.pc-hole-toggle:hover {
	border-color: var(--pc-primary-hover);
}
.pc-hole-toggle--active {
	border-color: var(--pc-primary);
	background: var(--pc-primary-light);
}
.pc-hole-toggle-switch {
	width: 40px; height: 24px;
	background: #cbd5e1;
	border-radius: 12px;
	position: relative;
	flex-shrink: 0;
	transition: var(--pc-transition);
}
.pc-hole-toggle-switch::after {
	content: '';
	position: absolute;
	top: 2px; left: 2px;
	width: 20px; height: 20px;
	background: #fff;
	border-radius: 50%;
	transition: var(--pc-transition);
	box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.pc-hole-toggle--active .pc-hole-toggle-switch {
	background: var(--pc-primary);
}
.pc-hole-toggle--active .pc-hole-toggle-switch::after {
	transform: translateX(16px);
}
.pc-hole-toggle-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--pc-text);
	flex: 1;
}
.pc-hole-toggle-icon {
	width: 20px; height: 20px;
	stroke: var(--pc-text-muted);
	flex-shrink: 0;
}
.pc-hole-toggle--active .pc-hole-toggle-icon {
	stroke: var(--pc-primary);
}
.pc-hole-toggle-price {
	font-size: 12px;
	font-weight: 700;
	color: var(--pc-primary);
	background: var(--pc-primary-light);
	padding: 2px 8px;
	border-radius: 10px;
	flex-shrink: 0;
}
/* Hole detail box */
.pc-hole-box {
	margin-top: 12px;
	padding: 20px;
	background: #fff;
	border: 2px solid var(--pc-primary);
	border-radius: var(--pc-radius-sm);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	animation: pcHoleBoxIn .2s ease;
}
@keyframes pcHoleBoxIn {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}
.pc-hole-box-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 700;
	color: var(--pc-primary-dark);
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: .3px;
}
.pc-hole-box-title svg {
	width: 22px; height: 22px;
	stroke: var(--pc-primary);
	flex-shrink: 0;
}
.pc-hole-fields {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 14px;
}
.pc-hole-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pc-hole-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--pc-text-muted);
	text-transform: uppercase;
	letter-spacing: .3px;
}
.pc-hole-input-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
}
.pc-hole-input {
	width: 100%;
	padding: 10px 12px;
	border: 2px solid var(--pc-border);
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	font-family: var(--pc-font);
	color: var(--pc-text);
	outline: none;
	transition: var(--pc-transition);
	text-align: center;
	-moz-appearance: textfield;
}
.pc-hole-input::-webkit-outer-spin-button,
.pc-hole-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pc-hole-input:focus {
	border-color: var(--pc-primary);
	box-shadow: 0 0 0 3px rgba(15,118,110,.12);
}
.pc-hole-select {
	width: 100%;
	padding: 10px 12px;
	border: 2px solid var(--pc-border);
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	font-family: var(--pc-font);
	color: var(--pc-text);
	outline: none;
	background: #fff;
	cursor: pointer;
	transition: var(--pc-transition);
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 32px;
}
.pc-hole-select:focus {
	border-color: var(--pc-primary);
	box-shadow: 0 0 0 3px rgba(15,118,110,.12);
}
.pc-hole-unit {
	font-size: 13px;
	font-weight: 600;
	color: var(--pc-text-muted);
	flex-shrink: 0;
}
.pc-hole-cost {
	margin-top: 14px;
	padding: 10px 14px;
	background: var(--pc-primary-light);
	border-radius: 8px;
	font-size: 13px;
	color: var(--pc-primary-dark);
	text-align: center;
}
.pc-hole-cost strong {
	color: var(--pc-primary);
}
/* ========== IRREGULAR MESSAGE ========== */
.pc-irregular-msg {
	text-align: center;
	padding: 48px 32px;
	background: linear-gradient(135deg, #fef3c7, #ffedd5);
	border: 2px solid #fbbf24;
}
.pc-irregular-icon {
	width: 72px; height: 72px;
	background: linear-gradient(135deg, #fbbf24, #f97316);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 20px;
}
.pc-irregular-icon svg {
	width: 36px; height: 36px;
	stroke: #fff;
}
.pc-irregular-title {
	font-size: 24px;
	font-weight: 800;
	color: #92400e;
	margin-bottom: 12px;
}
.pc-irregular-text {
	font-size: 16px;
	color: #78350f;
	line-height: 1.7;
	max-width: 500px;
	margin: 0 auto 28px;
}
.pc-irregular-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}
/* ========== OPTION ROW (with info btn) ========== */
.pc-option-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}
.pc-option-row:last-child { margin-bottom: 0; }
.pc-option-row .pc-option {
	flex: 1;
}
/* Info button */
.pc-info-btn {
	width: 36px; height: 36px;
	background: linear-gradient(135deg, #e0f2fe, #bae6fd);
	border: 2px solid #7dd3fc;
	border-radius: 50%;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	transition: var(--pc-transition);
	color: #0284c7;
	font-size: 18px;
	font-weight: 800;
	font-family: Georgia, 'Times New Roman', serif;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(2,132,199,.15);
}
.pc-info-btn:hover {
	background: linear-gradient(135deg, #bae6fd, #7dd3fc);
	border-color: #38bdf8;
	color: #0369a1;
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(2,132,199,.25);
}
.pc-info-btn svg {
	display: none;
}
.pc-info-btn::after {
	content: '?';
}
/* ========== INFO POPUP ========== */
.pc-popup-overlay {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,.5);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.pc-popup {
	background: #fff;
	border-radius: var(--pc-radius);
	box-shadow: 0 25px 50px rgba(0,0,0,.25);
	width: 700px;
	max-width: 100%;
	max-height: 700px;
	overflow-y: auto;
	position: relative;
	animation: pcPopupIn .25s ease;
}
@keyframes pcPopupIn {
	from { opacity: 0; transform: scale(.95) translateY(10px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}
.pc-popup-close {
	position: absolute;
	top: 16px; right: 16px;
	width: 40px; height: 40px;
	background: #f1f5f9;
	border: none;
	border-radius: 50%;
	font-size: 24px;
	color: var(--pc-text-muted);
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: var(--pc-transition);
	z-index: 1;
}
.pc-popup-close:hover { background: #e2e8f0; color: var(--pc-text); }
.pc-popup-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 32px 32px 0;
}
.pc-popup-icon {
	width: 56px; height: 56px;
	background: var(--pc-primary-light);
	border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.pc-popup-icon svg {
	width: 28px; height: 28px;
	stroke: var(--pc-primary);
}
.pc-popup-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--pc-text);
}
.pc-popup-body {
	padding: 24px 32px 32px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--pc-text);
}
.pc-popup-body p { margin-bottom: 14px; }
.pc-popup-body ul {
	margin: 10px 0 14px 20px;
}
.pc-popup-body li {
	margin-bottom: 6px;
}
.pc-popup-body strong { color: var(--pc-primary-dark); }
.pc-popup-note {
	padding: 12px 16px;
	background: var(--pc-primary-light);
	border-radius: 8px;
	font-weight: 600;
	color: var(--pc-primary);
	margin-top: 16px;
}
/* ========== RESULT - item headers ========== */
.pc-result-item-header {
	font-size: 13px;
	font-weight: 700;
	color: var(--pc-primary);
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-top: 8px;
	margin-bottom: 6px;
	padding-bottom: 4px;
	border-bottom: 1px dashed var(--pc-border);
}
.pc-result-item-header:first-child { margin-top: 0; }
.pc-result-divider--thick {
	height: 2px;
	background: var(--pc-primary);
	margin: 12px 0;
}
/* ========== OPTIONS ========== */
.pc-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.pc-option {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	border: 2px solid var(--pc-border);
	border-radius: var(--pc-radius-sm);
	cursor: pointer;
	transition: var(--pc-transition);
}
.pc-option:hover { border-color: var(--pc-primary-hover); }
.pc-option--active {
	border-color: var(--pc-primary);
	background: var(--pc-primary-light);
}
.pc-option--disabled {
	opacity: .5;
	cursor: not-allowed;
	pointer-events: none;
}
.pc-option-icon {
	width: 52px; height: 52px;
	border-radius: 10px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px dashed var(--pc-border);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.pc-option-img {
	width: 100%; height: 100%;
	object-fit: cover;
}
.pc-option-placeholder {
	display: flex; align-items: center; justify-content: center;
	color: var(--pc-text-muted);
}
.pc-option-placeholder svg {
	width: 24px; height: 24px;
	opacity: .4;
}
.pc-option-info {
	flex: 1;
}
.pc-option-name {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: var(--pc-text);
}
.pc-option-price {
	display: block;
	font-size: 13px;
	color: var(--pc-text-muted);
	margin-top: 2px;
}
/* Toggle switch */
.pc-option-toggle {
	width: 48px; height: 28px;
	background: #cbd5e1;
	border-radius: 14px;
	position: relative;
	flex-shrink: 0;
	transition: var(--pc-transition);
}
.pc-option-toggle::after {
	content: '';
	position: absolute;
	top: 3px; left: 3px;
	width: 22px; height: 22px;
	background: #fff;
	border-radius: 50%;
	transition: var(--pc-transition);
	box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.pc-option--active .pc-option-toggle {
	background: var(--pc-primary);
}
.pc-option--active .pc-option-toggle::after {
	transform: translateX(20px);
}
/* ========== FABRIC CHOICES ========== */
.pc-fabric-choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 16px;
}
.pc-fabric-opt {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 20px 16px;
	border: 2px solid var(--pc-border);
	border-radius: var(--pc-radius-sm);
	cursor: pointer;
	transition: var(--pc-transition);
	text-align: center;
	position: relative;
}
.pc-fabric-opt:hover { border-color: var(--pc-primary-hover); }
.pc-fabric-opt--active {
	border-color: var(--pc-primary);
	background: var(--pc-primary-light);
	box-shadow: 0 0 0 3px rgba(15,118,110,.12);
}
.pc-fabric-badge {
	padding: 4px 14px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.pc-fabric-badge--std {
	background: #e2e8f0;
	color: #475569;
}
.pc-fabric-badge--prm {
	background: var(--pc-accent-light);
	color: #92400e;
}
.pc-fabric-desc {
	font-size: 14px;
	font-weight: 500;
	color: var(--pc-text);
}
.pc-fabric-surcharge {
	font-size: 13px;
	font-weight: 600;
	color: var(--pc-primary);
}
.pc-fabric-check {
	position: absolute;
	top: 8px; right: 8px;
	width: 24px; height: 24px;
	background: var(--pc-primary);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	opacity: 0;
	transform: scale(.5);
	transition: var(--pc-transition);
}
.pc-fabric-check svg {
	width: 14px; height: 14px;
	stroke: #fff;
}
.pc-fabric-opt--active .pc-fabric-check {
	opacity: 1;
	transform: scale(1);
}
.pc-fabric-name-row {
	margin-bottom: 16px;
}
.pc-fabric-name-input {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid var(--pc-border);
	border-radius: var(--pc-radius-sm);
	font-size: 15px;
	font-family: var(--pc-font);
	color: var(--pc-text);
	outline: none;
	transition: var(--pc-transition);
}
.pc-fabric-name-input:focus {
	border-color: var(--pc-primary);
	box-shadow: 0 0 0 3px rgba(15,118,110,.12);
}
.pc-fabric-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: var(--pc-accent);
	color: #fff;
	text-decoration: none;
	border-radius: var(--pc-radius-sm);
	font-size: 14px;
	font-weight: 600;
	transition: var(--pc-transition);
}
.pc-fabric-link:hover {
	background: #d97706;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(245,158,11,.3);
}
.pc-fabric-link svg {
	width: 18px; height: 18px;
	stroke: #fff;
}
/* ========== RESULT PANEL ========== */
.pc-result-sticky {
	position: sticky;
	top: 24px;
}
.pc-result-card {
	background: var(--pc-card);
	border-radius: var(--pc-radius);
	box-shadow: var(--pc-shadow-lg);
	padding: 28px;
	border: 2px solid var(--pc-border);
}
.pc-result-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
	color: var(--pc-text);
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--pc-border);
}
.pc-result-title svg {
	width: 22px; height: 22px;
	stroke: var(--pc-primary);
	flex-shrink: 0;
}
.pc-result-lines {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}
.pc-result-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}
.pc-result-line span {
	color: var(--pc-text-muted);
}
.pc-result-line strong {
	color: var(--pc-text);
	font-weight: 600;
}
.pc-result-line--addon strong {
	color: var(--pc-primary);
}
.pc-result-divider {
	height: 1px;
	background: var(--pc-border);
	margin: 4px 0;
}
.pc-result-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background: linear-gradient(135deg, var(--pc-primary-dark), var(--pc-primary));
	border-radius: var(--pc-radius-sm);
	color: #fff;
}
.pc-result-total span:first-child {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.pc-result-price {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -.5px;
}
.pc-result-vat {
	text-align: right;
	font-size: 12px;
	color: var(--pc-text-muted);
	margin-top: 8px;
}
/* ========== ACTION BUTTONS ========== */
.pc-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}
.pc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 600;
	font-family: var(--pc-font);
	border-radius: var(--pc-radius-sm);
	cursor: pointer;
	transition: var(--pc-transition);
	border: 2px solid transparent;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.pc-btn svg {
	width: 20px; height: 20px;
	stroke: currentColor;
	flex-shrink: 0;
}
.pc-btn--primary {
	background: var(--pc-primary);
	color: #fff;
	border-color: var(--pc-primary);
}
.pc-btn--primary:hover {
	background: var(--pc-primary-hover);
	border-color: var(--pc-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(15,118,110,.3);
}
.pc-btn--outline {
	background: transparent;
	color: var(--pc-text);
	border-color: var(--pc-border);
}
.pc-btn--outline:hover {
	border-color: var(--pc-primary);
	color: var(--pc-primary);
	background: var(--pc-primary-light);
}
.pc-btn--ghost {
	background: transparent;
	color: var(--pc-text-muted);
	border-color: transparent;
}
.pc-btn--ghost:hover {
	color: var(--pc-text);
	background: #f1f5f9;
}
/* ========== FOOTER ========== */
.pc-footer {
	background: var(--pc-primary-dark);
	color: rgba(255,255,255,.7);
	text-align: center;
	padding: 24px;
}
.pc-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.pc-footer p {
	font-size: 14px;
	margin-bottom: 4px;
}
.pc-footer-note {
	font-size: 12px;
	opacity: .6;
}
/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
	.pc-main {
		grid-template-columns: 1fr;
		padding: 20px 16px 40px;
	}
	.pc-result-sticky {
		position: static;
	}
	.pc-header-title { font-size: 26px; }
	.pc-header-inner { padding: 28px 20px; }
}
@media (max-width: 600px) {
	.pc-panel-types {
		grid-template-columns: 1fr;
	}
	.pc-type-card {
		flex-direction: row;
		text-align: left;
		padding: 14px;
	}
	.pc-type-icon { width: 56px; height: 56px; }
	.pc-type-check { top: 50%; right: 12px; transform: translateY(-50%) scale(.5); }
	.pc-type-card--active .pc-type-check { transform: translateY(-50%) scale(1); }
	.pc-dims {
		flex-direction: column;
		align-items: stretch;
	}
	.pc-dim-sep { display: none; }
	.pc-dim-group {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
	.pc-dim-input { width: 60px; font-size: 18px; }
	.pc-fabric-choices {
		grid-template-columns: 1fr;
	}
	.pc-result-price { font-size: 28px; }
	.pc-card { padding: 20px; }
	.pc-result-card { padding: 20px; }
	.pc-header-title { font-size: 22px; }
	.pc-item-dims {
		flex-direction: column;
		align-items: stretch;
	}
	.pc-item-dims .pc-dim-sep { display: none; }
	.pc-item-dims .pc-dim-group {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
	.pc-popup { width: 100%; max-height: 90vh; }
	.pc-popup-header { padding: 24px 20px 0; }
	.pc-popup-body { padding: 20px; }
	.pc-irregular-msg { padding: 32px 20px; }
	.pc-irregular-title { font-size: 20px; }
	.pc-irregular-actions { flex-direction: column; }
	.pc-option-row { flex-direction: column; align-items: stretch; }
	.pc-info-btn { align-self: flex-end; margin-top: -4px; }
	.pc-hole-fields { grid-template-columns: 1fr; }
	.pc-hole-toggle { flex-wrap: wrap; }
}
/* ========== GUIDE / INSTRUKCJA ========== */
.pc-guide {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px 48px;
}
.pc-guide-inner {
	background: var(--pc-card);
	border-radius: var(--pc-radius);
	box-shadow: var(--pc-shadow);
	padding: 36px 32px;
	border-top: 4px solid var(--pc-primary);
}
.pc-guide-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}
.pc-guide-icon {
	width: 48px; height: 48px;
	background: var(--pc-primary-light);
	color: var(--pc-primary);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.pc-guide-icon svg {
	width: 24px; height: 24px;
}
.pc-guide-icon--order {
	background: var(--pc-accent-light);
	color: var(--pc-accent);
}
.pc-guide-title {
	font-size: 22px;
	font-weight: 800;
	color: var(--pc-text);
	letter-spacing: -.3px;
}
/* Steps */
.pc-guide-steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
	padding-left: 20px;
}
.pc-guide-step {
	display: flex;
	gap: 16px;
	padding: 16px 0;
	position: relative;
}
.pc-guide-step:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 48px;
	bottom: 0;
	width: 2px;
	background: var(--pc-border);
}
.pc-guide-step-num {
	width: 30px; height: 30px;
	background: var(--pc-primary);
	color: #fff;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}
.pc-guide-step-content h3 {
	font-size: 15px;
	font-weight: 700;
	color: var(--pc-text);
	margin-bottom: 4px;
}
.pc-guide-step-content p {
	font-size: 14px;
	color: var(--pc-text-muted);
	line-height: 1.6;
}
.pc-guide-inline-icon {
	width: 16px; height: 16px;
	vertical-align: -3px;
	color: var(--pc-primary);
}
/* Divider */
.pc-guide-divider {
	height: 1px;
	background: var(--pc-border);
	margin: 28px 0;
}
/* Order steps */
.pc-guide-order-steps {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 28px;
	flex-wrap: wrap;
	justify-content: center;
}
.pc-guide-order-step {
	flex: 1;
	min-width: 160px;
	max-width: 240px;
	text-align: center;
	padding: 16px;
	background: var(--pc-bg);
	border-radius: var(--pc-radius-sm);
	border: 1px solid var(--pc-border);
}
.pc-guide-order-num {
	width: 44px; height: 44px;
	background: var(--pc-primary-light);
	color: var(--pc-primary);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 10px;
}
.pc-guide-order-num svg {
	width: 22px; height: 22px;
}
.pc-guide-order-step p {
	font-size: 13px;
	color: var(--pc-text-muted);
	line-height: 1.5;
}
.pc-guide-order-step p strong {
	color: var(--pc-text);
}
.pc-guide-order-arrow {
	display: flex;
	align-items: center;
	color: var(--pc-primary);
	padding-top: 28px;
	flex-shrink: 0;
}
.pc-guide-order-arrow svg {
	width: 20px; height: 20px;
}
/* Email box */
.pc-guide-email-box {
	background: linear-gradient(135deg, var(--pc-primary-dark) 0%, var(--pc-primary) 100%);
	border-radius: var(--pc-radius-sm);
	padding: 20px 24px;
	text-align: center;
	color: #fff;
}
.pc-guide-email-label {
	font-size: 13px;
	opacity: .85;
	margin-bottom: 8px;
	font-weight: 500;
}
.pc-guide-email-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: .3px;
	padding: 8px 20px;
	border: 2px solid rgba(255,255,255,.3);
	border-radius: 8px;
	transition: var(--pc-transition);
}
.pc-guide-email-link:hover {
	background: rgba(255,255,255,.15);
	border-color: rgba(255,255,255,.5);
}
.pc-guide-email-link svg {
	width: 22px; height: 22px;
	flex-shrink: 0;
}
/* Responsive */
@media (max-width: 768px) {
	.pc-guide-inner { padding: 24px 18px; }
	.pc-guide-title { font-size: 18px; }
	.pc-guide-steps { padding-left: 8px; }
	.pc-guide-order-steps { flex-direction: column; align-items: center; }
	.pc-guide-order-step { max-width: 100%; }
	.pc-guide-order-arrow { transform: rotate(90deg); padding-top: 0; }
	.pc-guide-email-link { font-size: 16px; }
}
/* ========== PRINT ========== */
@media print {
	.pc-header, .pc-footer, .pc-config, .pc-actions, .pc-guide { display: none !important; }
	.pc-main { grid-template-columns: 1fr !important; }
	.pc-result-card { box-shadow: none; border: 1px solid #ccc; }
}
