/* PCZ BOG — საქართველოს ბანკის ფერებში */
:root {
	--pcz-bog: #fc671a;
	--pcz-bog-dark: #e2550d;
	--pcz-bog-soft: #fff1e8;
	--pcz-bog-text: #1f1f1f;
	--pcz-bog-muted: #6d6f71;
}

.pcz-bog-loan {
	margin-top: 10px;
}

/* ღილაკები (checkout და პროდუქტის გვერდი) */
.pcz-bog-loan .pcz-bog-loan__choose.button,
.pcz-bog-calc .pcz-bog-calc-btn.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	margin: 0;
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--pcz-bog) !important;
	color: #fff !important;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background-color .15s ease;
}
.pcz-bog-loan .pcz-bog-loan__choose.button:hover,
.pcz-bog-loan .pcz-bog-loan__choose.button:focus,
.pcz-bog-calc .pcz-bog-calc-btn.button:hover,
.pcz-bog-calc .pcz-bog-calc-btn.button:focus {
	background: var(--pcz-bog-dark) !important;
	color: #fff !important;
}
.pcz-bog-loan .pcz-bog-loan__choose.button:focus-visible,
.pcz-bog-calc .pcz-bog-calc-btn.button:focus-visible {
	outline: 2px solid var(--pcz-bog-dark);
	outline-offset: 2px;
}

.pcz-bog-loan__summary {
	margin-top: 8px;
	font-size: 14px;
}
.pcz-bog-loan__summary strong {
	color: var(--pcz-bog);
}
.pcz-bog-loan__summary.is-error {
	color: #b32d2e;
}

/* ჩაშენებული კალკულატორი — როცა აქტიურია, ფანჯრის ღილაკი და შეჯამება იმალება */
.pcz-bog-loan.is-inline .pcz-bog-loan__choose,
.pcz-bog-loan.is-inline .pcz-bog-loan__summary {
	display: none !important;
}
.pcz-bog-inline {
	display: none;
	margin: 4px 0 2px;
	color: var(--pcz-bog-text);
}
.pcz-bog-inline__loading {
	font-size: 13px;
	color: var(--pcz-bog-muted);
	padding: 6px 0;
}
.pcz-bog-inline__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.pcz-bog-inline__months,
.pcz-bog-inline__monthly {
	font-size: 14px;
	color: var(--pcz-bog-muted);
}
.pcz-bog-inline__months strong,
.pcz-bog-inline__monthly strong {
	font-size: 26px;
	line-height: 1.1;
	font-weight: 700;
	color: var(--pcz-bog-text);
}
.pcz-bog-inline__monthly strong {
	color: var(--pcz-bog);
}

.pcz-bog-inline__range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: linear-gradient(to right, var(--pcz-bog) 0, var(--pcz-bog) var(--pcz-fill, 0%), #e6e6e6 var(--pcz-fill, 0%), #e6e6e6 100%);
	accent-color: var(--pcz-bog);
	cursor: pointer;
}
.pcz-bog-inline__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--pcz-bog);
	border: 3px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.pcz-bog-inline__range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--pcz-bog);
	border: 3px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.pcz-bog-inline__range:focus-visible {
	outline: 2px solid var(--pcz-bog-dark);
	outline-offset: 4px;
}

.pcz-bog-inline__ticks {
	position: relative;
	height: 22px;
	margin: 6px 11px 0;
}
.pcz-bog-inline__tick {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 12px;
	color: var(--pcz-bog-muted);
	cursor: pointer;
	user-select: none;
}
.pcz-bog-inline__tick.is-active {
	color: var(--pcz-bog);
	font-weight: 700;
}

/* ნაწილ-ნაწილ: ვარიანტები და გრაფიკი */
.pcz-bog-bnpl__opts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.pcz-bog-bnpl__opt {
	padding: 6px 14px;
	border: 1px solid var(--pcz-bog) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--pcz-bog) !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	box-shadow: none !important;
}
.pcz-bog-bnpl__opt.is-active,
.pcz-bog-bnpl__opt:hover {
	background: var(--pcz-bog) !important;
	color: #fff !important;
}
.pcz-bog-bnpl__plan {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 2px solid var(--pcz-bog);
}
.pcz-bog-bnpl__plan li {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin: 0;
	padding: 6px 0 6px 16px;
	font-size: 14px;
}
.pcz-bog-bnpl__plan li::before {
	content: "";
	position: absolute;
	left: -6px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--pcz-bog);
}
.pcz-bog-bnpl__plan li:first-child::before {
	background: var(--pcz-bog);
}
.pcz-bog-bnpl__plan li span {
	color: var(--pcz-bog-muted);
}
.pcz-bog-bnpl__plan li b {
	color: var(--pcz-bog-text);
	white-space: nowrap;
}

.pcz-bog-inline__badge:empty {
	display: none;
}
.pcz-bog-inline__badge {
	display: inline-block;
	margin-top: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--pcz-bog-soft);
	color: var(--pcz-bog-dark);
	font-size: 12px;
	font-weight: 600;
}

.pcz-bog-inline__note {
	margin-top: 8px;
	font-size: 12px;
	color: var(--pcz-bog-muted);
}
.pcz-bog-inline__note a {
	color: var(--pcz-bog);
	text-decoration: underline;
}

/* პროდუქტის გვერდი */
.pcz-bog-calc {
	margin: 12px 0;
}
.pcz-bog-calc-note {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #b32d2e;
}
