
.cfg-section {
	padding: 100px 0;
	background: rgba(0,0,0,0.02);
	border-top: 1px solid rgba(0,0,0,0.06);
}

.cfg-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 40px;
	align-items: start;
}

@media (max-width: 991.98px) {
	.cfg-grid { grid-template-columns: 1fr; }
}

.cfg-type-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 40px;
}

.cfg-type-grid-2 { grid-template-columns: repeat(2, 1fr); margin-bottom: 16px; }

@media (max-width: 767.98px) {
	.cfg-type-grid { grid-template-columns: 1fr; }
}

.cfg-type-card-sm { padding: 18px 20px; }
.cfg-type-card-sm .cfg-type-desc { margin-bottom: 0; }

.cfg-type-card {
	display: block;
	position: relative;
	background: #fff;
	border: 2px solid rgba(0,0,0,0.08);
	border-radius: 16px;
	padding: 24px 20px;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.cfg-type-card:hover { border-color: rgba(0,37,72,0.3); transform: translateY(-2px); }

.cfg-type-card input { position: absolute; opacity: 0; pointer-events: none; }

.cfg-type-card.is-selected {
	border-color: #002548;
	background: linear-gradient(160deg, #f8f8f9, #eef0f2);
	box-shadow: 0 0 0 1px rgba(0,37,72,0.12), 0 12px 32px rgba(0,37,72,0.12);
}

.cfg-type-check {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: transparent;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.cfg-type-card.is-selected .cfg-type-check {
	background: #002548;
	border-color: #002548;
	color: #fff;
}

.cfg-type-check svg { width: 13px; height: 13px; }

.cfg-type-name { display: block; font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.cfg-type-desc { display: block; font-size: 13px; color: #475569; margin-bottom: 14px; line-height: 1.5; }

.cfg-group { margin-bottom: 36px; }
.cfg-group:last-child { margin-bottom: 0; }

.cfg-group-title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 16px;
}

.cfg-includes-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 14px;
	padding: 24px 26px;
}

@media (max-width: 600px) {
	.cfg-includes-card { grid-template-columns: 1fr; gap: 20px; }
}

.cfg-includes-label {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
	color: #4ade80;
	margin-bottom: 12px;
}

.cfg-includes-col-muted .cfg-includes-label { color: #64748b; }

.cfg-includes-list { list-style: none; margin: 0; padding: 0; }

.cfg-includes-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: #334155;
	line-height: 1.6;
	margin-bottom: 8px;
}

.cfg-includes-list li:last-child { margin-bottom: 0; }
.cfg-includes-list li i { color: #4ade80; font-size: 11px; margin-top: 4px; flex-shrink: 0; }

.cfg-includes-col-muted .cfg-includes-list li { color: #64748b; }
.cfg-includes-col-muted .cfg-includes-list li i { color: #64748b; }

.cfg-includes-col { position: relative; }

.cfg-includes-list-wrap { position: relative; }

.cfg-includes-list-wrap.is-collapsed { max-height: 200px; overflow: hidden; }

.cfg-includes-list-wrap.is-collapsed .cfg-includes-fade { opacity: 1; }

.cfg-includes-fade {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 56px;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 75%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.cfg-includes-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	background: none;
	border: none;
	padding: 0;
	font-size: 12px;
	font-weight: 700;
	color: #002548;
	cursor: pointer;
}

.cfg-includes-toggle svg { transition: transform 0.2s ease; flex-shrink: 0; }
.cfg-includes-col.is-expanded .cfg-includes-toggle svg { transform: rotate(180deg); }

.cfg-scope-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 12px;
}

.cfg-scope-label { font-size: 15px; font-weight: 600; color: #1e293b; }
.cfg-scope-note { font-size: 13px; color: #64748b; display: block; margin-top: 2px; }

.cfg-stepper {
	display: flex;
	align-items: center;
	gap: 4px;
	background: rgba(0,0,0,0.03);
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 10px;
	padding: 4px;
	flex-shrink: 0;
}

.cfg-stepper button {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: none;
	background: transparent;
	color: #334155;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
}

.cfg-stepper button:hover { background: rgba(0,37,72,0.06); color: #002548; }

.cfg-stepper output {
	width: 32px;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
}

.cfg-eshop-intro { font-size: 14px; color: #64748b; line-height: 1.7; margin: -6px 0 20px; }

.cfg-scope-row-wrap { align-items: flex-start; }

.cfg-pill-group { display: flex; flex-wrap: wrap; gap: 8px; }

.cfg-pill {
	background: #fff;
	border: 1px solid rgba(0,0,0,0.12);
	border-radius: 50px;
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 16px;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cfg-pill:hover { border-color: rgba(0,37,72,0.2); color: #1e293b; }

.cfg-pill.is-selected {
	background: #002548;
	border-color: #002548;
	color: #fff;
}

.cfg-eshop-categories { margin-top: 20px; }

.cfg-chip-category { margin-bottom: 20px; }
.cfg-chip-category:last-child { margin-bottom: 0; }

.cfg-chip-category-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 10px;
}

.cfg-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.cfg-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 8px;
	color: #334155;
	font-size: 13px;
	font-weight: 500;
	padding: 8px 14px;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cfg-chip:hover { border-color: rgba(0,37,72,0.2); }

.cfg-chip.is-selected {
	background: rgba(0,37,72,0.06);
	border-color: rgba(0,37,72,0.3);
	color: #002548;
}

.cfg-chip-check {
	display: none;
	width: 14px;
	height: 14px;
}

.cfg-chip.is-selected .cfg-chip-check { display: inline-flex; }
.cfg-chip.is-selected .cfg-chip-plus { display: none; }

.cfg-gift-banner {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(249,115,22,0.06));
	border: 1px solid rgba(245,158,11,0.35);
	border-radius: 14px;
	padding: 16px 20px;
	margin-top: 20px;
}

.cfg-gift-banner i { color: #f59e0b; font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.cfg-gift-banner strong { display: block; font-size: 14px; color: #0f172a; margin-bottom: 2px; }
.cfg-gift-banner span { font-size: 13px; color: #64748b; line-height: 1.5; }

.cfg-select {
	width: 100%;
	background-color: #fff;
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 10px;
	color: #0f172a;
	font-size: 15px;
	padding: 13px 16px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.cfg-select:focus { outline: none; border-color: #002548; }
.cfg-select option { background: #fff; color: #0f172a; }

.cfg-input {
	width: 100%;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 10px;
	color: #0f172a;
	font-size: 15px;
	padding: 13px 16px;
}
.cfg-input:focus { outline: none; border-color: #002548; }
.cfg-input::placeholder { color: #94a3b8; }

.cfg-field-error { display: none; color: #f87171; font-size: 13px; margin: 10px 0 0; }
.cfg-field-error.is-visible { display: block; }
.cfg-group.has-error .cfg-select,
.cfg-group.has-error .cfg-input { border-color: #f87171; }

.cfg-option {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.cfg-option:hover { border-color: rgba(0,37,72,0.2); }

.cfg-option input { position: absolute; opacity: 0; pointer-events: none; }

.cfg-checkbox {
	width: 22px;
	height: 22px;
	border-radius: 7px;
	border: 2px solid rgba(0,0,0,0.15);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: transparent;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.cfg-option.is-checked {
	border-color: rgba(0,37,72,0.3);
	background: rgba(0,37,72,0.04);
}

.cfg-option.is-checked .cfg-checkbox {
	background: #002548;
	border-color: #002548;
	color: #fff;
}

.cfg-checkbox svg { width: 13px; height: 13px; }

.cfg-option-body { flex: 1; min-width: 0; }
.cfg-option-label { display: block; font-size: 15px; font-weight: 600; color: #1e293b; }
.cfg-option-note { display: block; font-size: 13px; color: #64748b; margin-top: 2px; }
.cfg-option-price { font-size: 14px; font-weight: 700; color: #002548; white-space: nowrap; flex-shrink: 0; }

.cfg-addons-no-price .cfg-option-price { display: none; }

.cfg-summary {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	background: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 20px;
	padding: 28px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.cfg-summary-title { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #64748b; margin-bottom: 18px; }

.cfg-summary-lines { list-style: none; margin: 0 0 20px; padding: 0; }

.cfg-summary-line {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	color: #64748b;
	padding: 8px 0;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cfg-summary-line:first-child { padding-top: 0; }
.cfg-summary-line span:last-child { color: #1e293b; font-weight: 600; flex-shrink: 0; }

.cfg-summary-line-express {
	margin-top: 4px;
	padding: 8px 10px;
	border: 1px solid rgba(217,119,6,0.35);
	border-radius: 8px;
	background: rgba(245,158,11,0.08);
}
.cfg-summary-line-express span:last-child { color: #b45309; }

.cfg-summary-hint { font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 20px; }

.cfg-summary .t-btn { width: 100%; justify-content: center; }

.cfg-summary-eshop-text { font-size: 14px; color: #475569; line-height: 1.7; margin-bottom: 20px; }

.cfg-eshop-selection-summary {
	background: #f8faff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 14px;
	padding: 18px 20px;
	margin-bottom: 18px;
	text-align: left;
}

.cfg-eshop-selection-title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #64748b;
	margin: 0 0 8px;
}

.cfg-eshop-selection-detail {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.cfg-eshop-selection-list { margin-top: 10px; margin-bottom: 0; }
.cfg-eshop-selection-list .cfg-summary-line { font-size: 13px; padding: 6px 0; }

.cfg-summary-note { font-size: 13px; color: #94a3b8; text-align: center; margin-top: 14px; line-height: 1.6; }

.cfg-summary-note-orange {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #ea580c;
	text-align: center;
	margin-top: 10px;
	line-height: 1.5;
}

.cfg-summary-note-orange i { font-size: 16px; }

@media (max-width: 991.98px) {
	.cfg-summary { position: static; margin-top: 8px; }
}

.cfg-gate { display: flex; justify-content: center; }

.cfg-gate-card {
	width: 100%;
	max-width: 560px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 20px;
	padding: 36px;
	text-align: center;
}

.cfg-gate-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #002548;
	margin: 0 0 14px;
}

.cfg-gate-question { font-size: 34px; font-weight: 300; color: #0f172a; margin: 0 0 22px; line-height: 1.4; }

.cfg-gate-row { display: flex; flex-direction: column; gap: 10px; }

.cfg-gate-row input {
	width: 100%;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 10px;
	color: #0f172a;
	font-size: 15px;
	text-align: center;
	padding: 12px 14px;
}

.cfg-gate-row button { width: 100%; justify-content: center; }

.cfg-gate-row input:focus { outline: none; border-color: #002548; }

.cfg-gate-error { display: none; color: #f87171; font-size: 13px; margin: 14px 0 0; }
.cfg-gate-error.is-visible { display: block; }

@media (max-width: 575.98px) {
	.cfg-gate-card {
		padding: 24px 20px;
		border-radius: 16px;
	}
	.cfg-gate-question {
		font-size: 22px;
		margin: 0 0 18px;
	}
}

.cfg-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.cfg-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(5,7,13,0.75);
	backdrop-filter: blur(4px);
	z-index: 9500;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.cfg-modal-overlay.is-open { display: flex; }

body.cfg-modal-locked { overflow: hidden; }

.cfg-modal {
	position: relative;
	width: 100%;
	max-width: 460px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 20px;
	padding: 36px 32px;
	box-shadow: 0 30px 90px rgba(0,0,0,0.5);
	text-align: center;
}

@media (min-width: 992px) {
	.cfg-modal { max-width: 560px; }
}

.cfg-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(0,0,0,0.05);
	border: none;
	color: #64748b;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.cfg-modal-close:hover { background: rgba(0,0,0,0.1); color: #0f172a; }

.cfg-modal-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #64748b; margin: 0 0 10px; }
.cfg-modal-title { font-size: 20px; font-weight: 800; color: #0f172a; margin: 0 0 14px; }
.cfg-modal-total { font-family: var(--font-lora); font-size: 42px; font-weight: 700; color: #002548; margin-bottom: 20px; }

.cfg-modal .cfg-summary-lines { text-align: left; }
.cfg-modal .t-btn { width: 100%; justify-content: center; }

.cfg-trust-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-align: left;
	background: rgba(0,37,72,0.04);
	border: 1px solid rgba(0,37,72,0.08);
	border-radius: 14px;
	padding: 14px 16px;
	margin-top: 16px;
}

.cfg-trust-note i { color: #002548; font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.cfg-trust-note p { font-size: 13px; line-height: 1.6; color: #44454C; margin: 0; }
