/* =============================================================================
   Optikrina Lens Configurator — frontend styles
   Faithful to the approved design prototype. Everything namespaced `olc-`
   so the product page / Bricks theme is never affected.
   ========================================================================== */

:root {
	--olc-green: #189B4E;
	--olc-ink: #111111;
	--olc-err: #E05252;
}

/* ---------- Product page button ---------- */
.olc-open-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	max-width: 420px;
	height: 52px;
	margin-top: 10px;
	padding: 0 26px;
	border: none;
	border-radius: 99px;
	background: var(--olc-green);
	color: #fff;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background .2s, transform .1s;
	box-shadow: none;
}
.olc-open-btn:hover { background: #12813F; color: #fff; }
.olc-open-btn:active { transform: scale(.98); }
.olc-open-btn svg { flex: none; }

/* ---------- Root & scroll lock ---------- */
#olc-root { position: relative; z-index: 2147480000; }
body.olc-locked { overflow: hidden !important; }

.olc-modal, .olc-modal * , .olc-modal *::before, .olc-modal *::after {
	box-sizing: border-box;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.olc-modal *::-webkit-scrollbar { display: none; width: 0; height: 0; }

.olc-modal {
	position: fixed;
	inset: 0;
	z-index: 2147480000;
	font-family: 'Montserrat', system-ui, sans-serif;
	color: var(--olc-ink);
	-webkit-font-smoothing: antialiased;
	line-height: 1.4;
}
.olc-modal a { color: inherit; }
.olc-modal button { font-family: inherit; }
.olc-modal img { max-width: 100%; }

.olc-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, .38);
	opacity: 0;
	transition: opacity .28s ease;
}
.olc-modal.olc-in .olc-backdrop { opacity: 1; }

/* =============================================================================
   SHEET — mobile & tablet: bottom sheet | desktop: centered popup
   ========================================================================== */
.olc-sheet {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 44px;
	background: #fff;
	border-radius: 22px 22px 0 0;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, .18);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transform: translateY(24px);
	opacity: 0;
	transition: transform .32s cubic-bezier(.32,.72,.35,1), opacity .28s ease;
}
.olc-modal.olc-in .olc-sheet { transform: translateY(0); opacity: 1; }

/* Desktop product panel (left) — hidden on mobile */
.olc-product-pane { display: none; }

@media (min-width: 1025px) {
	.olc-sheet {
		top: 50%;
		left: 50%;
		right: auto;
		bottom: auto;
		width: min(1320px, calc(100vw - 56px));
		max-width: none;
		height: min(820px, calc(100vh - 56px));
		max-height: none;
		transform: translate(-50%, -50%) scale(.97);
		border-radius: 24px;
		box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
		flex-direction: row;
	}
	.olc-modal .olc-backdrop { background: rgba(17, 17, 17, .45); }
	.olc-modal.olc-in .olc-sheet { transform: translate(-50%, -50%) scale(1); }

	.olc-product-pane {
		flex: 1;
		min-width: 0;
		display: flex;
		flex-direction: column;
		border-right: 1px solid #EEEEEE;
		background: #F7F6F3;
	}
	.olc-product-img-wrap {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 36px 44px 0;
		min-height: 0;
	}
	.olc-product-img {
		width: 500px;
		max-width: 100%;
		aspect-ratio: 1;
		border-radius: 20px;
		background-color: #F7F6F3;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		background-blend-mode: multiply;
	}
	.olc-product-meta { padding: 22px 44px 34px; }
	.olc-product-brand {
		font-size: 10.5px;
		font-weight: 700;
		letter-spacing: .1em;
		text-transform: uppercase;
		color: #9A9A9A;
	}
	.olc-product-row {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 16px;
		margin-top: 5px;
	}
	.olc-product-name { margin: 0; font-size: 22px; font-weight: 700; color: var(--olc-ink); }
	.olc-product-price { flex: none; font-size: 20px; font-weight: 700; color: var(--olc-ink); }

	.olc-pane { width: 520px; flex: none; }
	.olc-grip, .olc-home-bar { display: none !important; }
	.olc-head { padding-top: 6px; }
}

/* Configurator pane (right on desktop / whole sheet on mobile) */
.olc-pane {
	display: flex;
	flex-direction: column;
	min-height: 0;
	flex: 1;
	background: #fff;
	position: relative;
}

/* ---------- Sticky header ---------- */
.olc-head {
	flex: none;
	background: #fff;
	border-bottom: 1px solid #EEEEEE;
	padding-bottom: 12px;
	border-radius: 22px 22px 0 0;
	position: relative;
	z-index: 5;
}
.olc-grip {
	width: 38px;
	height: 4px;
	border-radius: 99px;
	background: #DDDDDD;
	margin: 10px auto 0;
}
.olc-head-row {
	display: flex;
	align-items: center;
	padding: 6px 14px 0;
}
.olc-iconbtn {
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: none;
	background: transparent;
	padding: 0;
	transition: background .15s;
}
.olc-iconbtn:hover { background: #F2F2F2; }
.olc-iconbtn[hidden] { visibility: hidden; display: flex; }
.olc-head-title {
	flex: 1;
	text-align: center;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--olc-ink);
}
.olc-steprow {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 8px 20px 0;
}
.olc-step-num { font-size: 11.5px; font-weight: 600; color: var(--olc-ink); }
.olc-step-name { font-size: 11.5px; color: #8A8A8A; }
.olc-progress {
	height: 4px;
	border-radius: 99px;
	background: #EDEDED;
	margin: 7px 20px 0;
	overflow: hidden;
}
.olc-progress-fill {
	height: 100%;
	border-radius: 99px;
	background: var(--olc-green);
	transition: width .35s ease;
}

/* ---------- Scrollable body ---------- */
.olc-body {
	flex: 1;
	overflow-y: auto;
	min-height: 0;
	padding: 0 20px 24px;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
@media (min-width: 1025px) { .olc-body { padding: 0 28px 16px; } }

/* Partners strip */
.olc-partners {
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 14px;
	border: 1px solid #F0F0F0;
	border-radius: 12px;
	background: #FCFCFB;
}
.olc-partners-label {
	flex: none;
	font-size: 8.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #9A9A9A;
}
.olc-partners-logos {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
}
.olc-partners-logos span {
	display: block;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

/* Section heading */
.olc-h {
	margin: 14px 0 0;
	padding: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--olc-ink);
}
@media (min-width: 1025px) { .olc-h { font-size: 17px; } }
.olc-sub {
	margin: 5px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #6B6B6B;
}
.olc-h-row { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.olc-h-row .olc-h { flex: 1; margin-top: 0; }
.olc-link {
	flex: none;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--olc-green);
	cursor: pointer;
	text-decoration: underline;
	background: none;
	border: none;
	padding: 0;
}

/* Previous choice chip */
.olc-prev {
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid #ECECEC;
	border-radius: 14px;
	background: #FAFAFA;
}
.olc-prev-check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--olc-green);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.olc-prev-body { flex: 1; min-width: 0; }
.olc-prev-name { font-size: 12px; font-weight: 600; color: var(--olc-ink); }
.olc-prev-sub { font-size: 10.5px; color: #8A8A8A; }

/* ---------- Option cards ---------- */
.olc-cards { display: flex; flex-direction: column; gap: 11px; padding-top: 13px; }
@media (min-width: 1025px) { .olc-cards { gap: 10px; padding-top: 10px; } }
.olc-card {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 13px 14px;
	border-radius: 16px;
	cursor: pointer;
	background: #fff;
	border: 1px solid #E7E7E7;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
	transition: box-shadow .15s, border-color .15s, background .15s, transform .1s;
	-webkit-tap-highlight-color: transparent;
}
.olc-card:active { transform: scale(.985); }
.olc-card.olc-sel { border-color: var(--olc-ink); background: #FAFAFA; box-shadow: none; }
.olc-card.olc-error { border-color: var(--olc-err); }
.olc-card-ic {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #F4F4F4;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	overflow: hidden;
}
.olc-card-ic.olc-brand-logo { background: #fff; border: 1px solid #F0F0F0; }
.olc-card-ic.olc-brand-logo span {
	width: 30px;
	height: 30px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
}
.olc-card-body { flex: 1; min-width: 0; }
.olc-card-top { display: flex; align-items: baseline; gap: 8px; }
.olc-card-name { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--olc-ink); }
.olc-card-price { flex: none; font-size: 11.5px; font-weight: 600; color: var(--olc-green); }
.olc-card-desc { font-size: 11.5px; line-height: 1.45; color: #767676; margin-top: 3px; }
.olc-badge-wrap { margin-top: 5px; }
.olc-badge {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--olc-ink);
	background: #E8F5EE;
	border: 1px solid #BFE3CF;
	border-radius: 99px;
	padding: 2px 8px;
	display: inline-block;
}
.olc-badge.olc-badge-blue { color: #1D4E89; background: #E8F0FB; border-color: #BFD6F0; }
.olc-check {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--olc-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

/* Note under cards */
.olc-note { font-size: 11px; line-height: 1.5; color: #8A8A8A; padding: 8px 4px 0; }

/* ---------- Colour grid ---------- */
.olc-colors {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 12px 0 8px;
}
.olc-color {
	position: relative;
	padding: 12px 12px 10px;
	border-radius: 16px;
	cursor: pointer;
	background: #fff;
	border: 1px solid #E7E7E7;
	transition: border-color .15s, background .15s, transform .1s;
	-webkit-tap-highlight-color: transparent;
}
.olc-color:active { transform: scale(.97); }
.olc-color.olc-sel { border-color: var(--olc-ink); background: #FAFAFA; }
.olc-color.olc-error { border-color: var(--olc-err); }
.olc-color-img {
	width: 100%;
	height: 36px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.olc-color-swatch {
	width: 44px;
	height: 44px;
	margin: 0 auto;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.olc-color-name { font-size: 11.5px; font-weight: 600; color: var(--olc-ink); text-align: center; margin-top: 7px; }
.olc-color-price { font-size: 10px; font-weight: 600; color: var(--olc-green); text-align: center; margin-top: 2px; }
.olc-color-check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--olc-ink);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Sub-section heading (colours) */
.olc-h2 { margin: 18px 0 0; font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--olc-ink); }
.olc-sub2 { margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: #6B6B6B; }

/* ---------- Prescription fields ---------- */
.olc-fgroup-label { font-size: 12.5px; font-weight: 700; color: var(--olc-ink); margin-top: 16px; display: flex; align-items: center; gap: 6px; }
.olc-frow { display: flex; gap: 8px; margin-top: 8px; }
.olc-field {
	flex: 1;
	min-width: 0;
	border: 1px solid #E7E7E7;
	border-radius: 12px;
	padding: 9px 12px;
	cursor: pointer;
	transition: border-color .15s;
	background: #fff;
}
.olc-field:hover, .olc-field.olc-open { border-color: var(--olc-ink); }
.olc-field.olc-error { border-color: var(--olc-err); }
.olc-field-label { font-size: 10px; font-weight: 600; color: #8A8A8A; letter-spacing: .04em; }
.olc-field .olc-ph { color: #9B9B9B; font-weight: 500; }
.olc-field.olc-disabled { opacity: .45; pointer-events: none; background: #FAFAFA; cursor: default; }
.olc-field-val {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 2px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--olc-ink);
}
.olc-frow .olc-spacer { flex: 1; }

.olc-pd-i {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1.2px solid #8A8A8A;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: none;
	font-size: 10px;
	font-weight: 700;
	color: #8A8A8A;
	font-style: italic;
	font-family: Georgia, serif;
	background: none;
	padding: 0;
}
.olc-pd-info {
	margin-top: 8px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #F4F4F4;
	font-size: 11px;
	line-height: 1.5;
	color: #555555;
}
.olc-toggle2 { display: flex; gap: 8px; margin-top: 8px; }
.olc-toggle2 > button {
	flex: 1;
	border: 1px solid #E7E7E7;
	background: #fff;
	border-radius: 12px;
	padding: 11px 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	color: var(--olc-ink);
	transition: border-color .15s, background .15s;
}
.olc-toggle2 > button:hover { border-color: var(--olc-ink); }
.olc-toggle2 > button.olc-sel { border-color: var(--olc-ink); background: #FAFAFA; }

/* Confirm checkbox */
.olc-confirm {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 18px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.olc-confirm-box {
	width: 22px;
	height: 22px;
	border-radius: 7px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #CFCFCF;
	background: #fff;
	transition: background .15s, border-color .15s;
}
.olc-confirm.olc-sel .olc-confirm-box { border-color: var(--olc-green); background: var(--olc-green); }
.olc-confirm.olc-error .olc-confirm-box { border-color: var(--olc-err); }
.olc-confirm-text { font-size: 11.5px; line-height: 1.5; color: #555555; }

/* Optometrist / call card */
.olc-help-card {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	padding: 13px 14px;
	border: 1px solid #ECECEC;
	border-radius: 16px;
	background: #FAFAFA;
	cursor: pointer;
	transition: border-color .15s, transform .1s;
	text-decoration: none;
}
.olc-help-card:hover { border-color: var(--olc-ink); }
.olc-help-card:active { transform: scale(.99); }
.olc-help-ic {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #E8F5EE;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.olc-help-body { flex: 1; min-width: 0; }
.olc-help-title { font-size: 12.5px; font-weight: 600; color: var(--olc-ink); }
.olc-help-sub { font-size: 11.5px; line-height: 1.45; color: #767676; margin-top: 2px; }

/* Auto-thickness banner */
.olc-banner {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #F1F8F4;
	border: 1px solid #D8EDE1;
	font-size: 11.5px;
	line-height: 1.5;
	color: #2F6C49;
}
.olc-banner.olc-banner-neutral { background: #F7F7F7; border-color: #ECECEC; color: #555; }

/* ---------- Photo upload ---------- */
.olc-drop {
	margin-top: 13px;
	border: 1.5px dashed #CFCFCF;
	border-radius: 16px;
	padding: 28px 20px;
	text-align: center;
	cursor: pointer;
	background: #FCFCFC;
	transition: border-color .15s, background .15s, transform .1s;
}
.olc-drop:hover { border-color: var(--olc-green); background: #F7FBF9; }
.olc-drop:active { transform: scale(.99); }
.olc-drop.olc-error { border-color: var(--olc-err); }
.olc-drop-ic {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #F0F0F0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}
.olc-drop-title { font-size: 13.5px; font-weight: 600; color: var(--olc-ink); margin-top: 12px; }
.olc-drop-hint {
	font-size: 11.5px;
	line-height: 1.5;
	color: #767676;
	margin: 4px auto 0;
	max-width: 250px;
}
.olc-drop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 26px;
	border-radius: 99px;
	background: var(--olc-green);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	margin-top: 14px;
}
.olc-file-card {
	margin-top: 13px;
	border: 1px solid var(--olc-ink);
	border-radius: 16px;
	padding: 13px 14px;
	background: #FAFAFA;
	display: flex;
	align-items: center;
	gap: 12px;
}
.olc-file-ic {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #E8F5EE;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.olc-file-name { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--olc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.olc-file-sub { font-size: 11px; color: #189B4E; margin-top: 2px; font-weight: 600; }

/* ---------- Info page (progressives) ---------- */
.olc-info-point { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.olc-info-ic {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #E8F5EE;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.olc-info-title { font-size: 13px; font-weight: 600; color: var(--olc-ink); }
.olc-info-desc { font-size: 11.5px; line-height: 1.5; color: #767676; margin-top: 2px; }

/* ---------- Review ---------- */
.olc-rev-product {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 13px;
	padding: 12px 14px;
	border: 1px solid #ECECEC;
	border-radius: 16px;
	background: #FCFCFB;
}
.olc-rev-thumb {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background-color: #F4F4F4;
	background-size: cover;
	background-position: center;
	flex: none;
}
.olc-rev-pname { font-size: 13px; font-weight: 700; color: var(--olc-ink); }
.olc-rev-psub { font-size: 11px; color: #8A8A8A; margin-top: 2px; }
.olc-rev-pprice { flex: none; font-size: 13px; font-weight: 700; color: var(--olc-ink); }

.olc-rev-rows { margin-top: 14px; border: 1px solid #ECECEC; border-radius: 16px; overflow: hidden; }
.olc-rev-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	background: #fff;
}
.olc-rev-row + .olc-rev-row { border-top: 1px solid #F2F2F2; }
.olc-rev-label { flex: none; width: 92px; font-size: 10.5px; font-weight: 600; color: #8A8A8A; text-transform: uppercase; letter-spacing: .03em; }
.olc-rev-val { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; color: var(--olc-ink); }
.olc-rev-price { flex: none; font-size: 11px; font-weight: 600; color: var(--olc-green); }
.olc-rev-edit {
	flex: none;
	font-size: 11px;
	font-weight: 600;
	color: var(--olc-green);
	text-decoration: underline;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}
.olc-guarantees { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.olc-guarantee { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #555; }

/* ---------- Footer ---------- */
.olc-foot {
	flex: none;
	background: #fff;
	border-top: 1px solid #EEEEEE;
	padding: 8px 20px 4px;
	position: relative;
	z-index: 6;
}
@media (min-width: 1025px) { .olc-foot { padding: 12px 28px 16px; } }
.olc-foot-line { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #555555; }
.olc-foot-line span:first-child { flex: 1; }
.olc-foot-price { font-weight: 600; color: var(--olc-ink); }
.olc-foot-delivery { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8A8A8A; margin-top: 5px; }
.olc-foot-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-top: 1px solid #F0F0F0;
	margin-top: 7px;
	padding-top: 6px;
}
.olc-foot-total-label { font-size: 12.5px; font-weight: 600; color: var(--olc-ink); }
.olc-foot-total-val { font-size: 16px; font-weight: 700; color: var(--olc-ink); }
.olc-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	height: 52px;
	margin-top: 8px;
	padding: 0 20px;
	border: none;
	border-radius: 99px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	background: #E9E9E9;
	color: #9B9B9B;
	transition: background .2s, color .2s, transform .1s;
}
@media (min-width: 1025px) { .olc-cta { height: 48px; font-size: 14px; } }
.olc-cta:active { transform: scale(.98); }
.olc-cta.olc-ready { background: var(--olc-green); color: #fff; }
.olc-cta.olc-ready:hover { background: #12813F; }
.olc-cta.olc-pulse-a { animation: olcCtaPulseA .9s ease-out; }
.olc-cta.olc-pulse-b { animation: olcCtaPulseB .9s ease-out; }
.olc-cta:disabled { cursor: wait; opacity: .8; }
.olc-home-bar {
	width: 134px;
	height: 5px;
	border-radius: 99px;
	background: var(--olc-ink);
	margin: 8px auto 2px;
	opacity: .9;
}

/* ---------- Value picker (bottom sheet / desktop panel) ---------- */
.olc-picker-wrap { position: absolute; inset: 0; z-index: 50; }
.olc-picker-backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .45); }
.olc-picker {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 56%;
	min-height: 320px;
	background: #fff;
	border-radius: 22px 22px 0 0;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, .22);
	display: flex;
	flex-direction: column;
	animation: olcSlideUp .28s cubic-bezier(.32,.72,.35,1);
}
.olc-picker-head { display: flex; align-items: center; padding: 4px 14px 0; flex: none; }
.olc-picker-head .olc-spacer { width: 36px; flex: none; }
.olc-picker-title { flex: 1; text-align: center; font-size: 14px; font-weight: 700; color: var(--olc-ink); }
.olc-picker-hint { font-size: 11.5px; color: #8A8A8A; text-align: center; margin-top: 2px; flex: none; }
.olc-picker-grid-wrap { flex: 1; overflow-y: auto; padding: 14px 16px 20px; }
.olc-picker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.olc-picker-opt {
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--olc-ink);
	background: #fff;
	border: 1px solid #E7E7E7;
	cursor: pointer;
	transition: background .12s, border-color .12s, transform .08s;
	font-family: inherit;
}
.olc-picker-opt:hover { border-color: var(--olc-ink); }
.olc-picker-opt:active { transform: scale(.96); }
.olc-picker-opt.olc-sel { color: #fff; background: var(--olc-ink); border-color: var(--olc-ink); font-weight: 700; }

/* Help overlay (Cum citesc rețeta) */
.olc-help-sheet { height: 74%; }
.olc-help-content { flex: 1; overflow-y: auto; padding: 12px 20px 24px; }
.olc-help-content h4 { margin: 14px 0 4px; font-size: 13px; font-weight: 700; color: var(--olc-ink); }
.olc-help-content p { margin: 0; font-size: 12px; line-height: 1.6; color: #555; }
.olc-rx-example {
	margin-top: 12px;
	border: 1px solid #ECECEC;
	border-radius: 12px;
	padding: 12px;
	background: #FCFCFB;
	font-family: ui-monospace, Menlo, monospace;
	font-size: 11px;
	color: #333;
	line-height: 1.8;
}

/* ---------- Done overlay ---------- */
.olc-done {
	position: absolute;
	inset: 0;
	z-index: 60;
	background: #fff;
	border-radius: 22px 22px 0 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 32px;
	text-align: center;
}
@media (min-width: 1025px) { .olc-done { border-radius: 0 24px 24px 0; } }
.olc-done-badge { position: relative; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.olc-done-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--olc-green);
	opacity: .15;
	animation: olcOkRing 1.6s ease-out .3s infinite;
}
.olc-done-circle {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: var(--olc-green);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: olcOkPop .5s cubic-bezier(.34, 1.56, .64, 1) both;
}
.olc-done-circle polyline { stroke-dasharray: 48; animation: olcOkDraw .5s ease-out .35s both; }
.olc-done h2 { margin: 26px 0 0; font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--olc-ink); animation: olcOkUp .5s ease-out .45s both; }
.olc-done p.olc-done-sub { margin: 8px 0 0; font-size: 12.5px; line-height: 1.6; color: #6B6B6B; animation: olcOkUp .5s ease-out .6s both; }
.olc-done-progress-wrap { width: 100%; margin-top: 30px; animation: olcOkUp .5s ease-out .75s both; }
.olc-done-redirect { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: #6B6B6B; }
.olc-done-redirect span { animation: olcOkDot 1.4s ease-in-out 1s infinite; }
.olc-done-bar { height: 4px; border-radius: 99px; background: #EDEDED; margin-top: 10px; overflow: hidden; }
.olc-done-bar-fill { height: 100%; border-radius: 99px; background: var(--olc-green); animation: olcOkBar 2.4s ease-in-out .9s both; }
.olc-done-note { margin: 10px 0 0; font-size: 10.5px; line-height: 1.5; color: #9A9A9A; }

/* ---------- Skeleton preload ---------- */
.olc-skel {
	position: relative;
	overflow: hidden;
	background: #EFEFEF;
	border-radius: 12px;
}
.olc-skel::after {
	content: "";
	position: absolute;
	inset: 0;
	transform: translateX(-100%);
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
	animation: olcShimmer 1.3s infinite;
}
.olc-skel-card { height: 78px; border-radius: 16px; margin-top: 11px; }
.olc-skel-h { height: 20px; width: 70%; margin-top: 16px; }
.olc-skel-sub { height: 12px; width: 50%; margin-top: 8px; }
.olc-skel-strip { height: 34px; margin-top: 12px; }

/* Toast error */
.olc-toast {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 190px;
	z-index: 70;
	background: var(--olc-ink);
	color: #fff;
	font-size: 12.5px;
	padding: 12px 16px;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	animation: olcOkUp .3s ease-out;
}

/* ---------- Keyframes ---------- */
@keyframes olcCtaPulseA {
	0% { box-shadow: 0 0 0 2px #189B4E, 0 0 14px rgba(24, 155, 78, .65); }
	70% { box-shadow: 0 0 0 3px rgba(24, 155, 78, .45), 0 0 0 14px rgba(24, 155, 78, 0); }
	100% { box-shadow: 0 0 0 0 rgba(24, 155, 78, 0); }
}
@keyframes olcCtaPulseB {
	0% { box-shadow: 0 0 0 2px #189B4E, 0 0 14px rgba(24, 155, 78, .65); }
	70% { box-shadow: 0 0 0 3px rgba(24, 155, 78, .45), 0 0 0 14px rgba(24, 155, 78, 0); }
	100% { box-shadow: 0 0 0 0 rgba(24, 155, 78, 0); }
}
@keyframes olcOkPop { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes olcOkRing { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes olcOkDraw { from { stroke-dashoffset: 48; } to { stroke-dashoffset: 0; } }
@keyframes olcOkUp { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes olcOkBar { from { width: 0; } to { width: 100%; } }
@keyframes olcOkDot { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes olcShimmer { to { transform: translateX(100%); } }
@keyframes olcSlideUp { from { transform: translateY(40px); opacity: .4; } to { transform: translateY(0); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	.olc-modal *, .olc-modal *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
