/* Zeal Lens Configurator Styles */
.zeal-lens-btn-container {
	margin: 12px 0;
	display: inline-block;
}
.zeal-lens-open-btn {
	background-color: #000000 !important;
	color: #ffffff !important;
	border: 1px solid #000000 !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
}
.zeal-lens-open-btn:hover {
	background-color: #1f2937 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Mobile Bottom Sticky Bar */
.zeal-mobile-sticky-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99998;
	background: #ffffff;
	box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (max-width: 768px) {
	.zeal-mobile-sticky-bar {
		display: block;
	}
}
.zeal-mobile-promo-banner {
	padding: 8px 12px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	background: #2e7d32;
	color: #ffffff;
	letter-spacing: 0.2px;
}
.zeal-mobile-bar-actions {
	display: flex;
	padding: 10px 12px;
	gap: 10px;
	background: #ffffff;
}
.zeal-mobile-btn {
	flex: 1;
	padding: 12px 8px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: none;
	transition: background 0.15s;
}
.zeal-mobile-btn-select {
	background: #000000;
	color: #ffffff;
}
.zeal-mobile-btn-cart {
	background: #000000;
	color: #ffffff;
}

/* Modal Overlay & Container */
.zeal-lens-modal-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.zeal-lens-modal-wrapper.zeal-open {
	display: flex;
}
.zeal-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}
.zeal-modal-dialog {
	position: relative;
	background: #ffffff;
	width: 92%;
	max-width: 600px;
	max-height: 88vh;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0,0,0,0.25);
	animation: zealFadeIn 0.2s ease-out;
}
@keyframes zealFadeIn {
	from { opacity: 0; transform: scale(0.96) translateY(10px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 768px) {
	.zeal-modal-dialog {
		width: 100%;
		max-width: 100%;
		max-height: 92vh;
		bottom: 0;
		position: absolute;
		border-radius: 20px 20px 0 0;
		animation: zealSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	}
	@keyframes zealSlideUp {
		from { transform: translateY(100%); }
		to { transform: translateY(0); }
	}
}

/* Modal Header */
.zeal-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #f1f5f9;
	background: #ffffff;
	position: sticky;
	top: 0;
	z-index: 10;
}
.zeal-btn-back, .zeal-btn-close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	color: #475569;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.15s;
}
.zeal-btn-back:hover, .zeal-btn-close:hover {
	background: #f1f5f9;
	color: #0f172a;
}
.zeal-modal-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #1e293b;
	text-align: center;
	flex: 1;
}

/* Progress Bar */
.zeal-progress-container {
	padding: 12px 20px;
	background: #f8fafc;
	border-bottom: 1px solid #f1f5f9;
}
.zeal-progress-header {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
	margin-bottom: 6px;
}
.zeal-progress-track {
	height: 6px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}
.zeal-progress-fill {
	height: 100%;
	background: #10b981;
	border-radius: 999px;
	transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal Body */
.zeal-modal-body {
	padding: 20px;
	overflow-y: auto;
	flex: 1;
	-webkit-overflow-scrolling: touch;
}
.zeal-step-heading {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 16px 0;
}
.zeal-highlight-text {
	color: #10b981;
	font-style: italic;
}

/* Notice Box */
.zeal-notice-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	background: #f0fdf4;
	border: 1.5px solid #86efac;
	border-radius: 10px;
	margin-bottom: 20px;
}
.zeal-notice-icon {
	color: #15803d;
	flex-shrink: 0;
	margin-top: 2px;
}
.zeal-notice-title {
	margin: 0 0 2px 0;
	font-size: 13px;
	font-weight: 700;
	color: #166534;
}
.zeal-notice-text {
	margin: 0;
	font-size: 12px;
	color: #15803d;
	line-height: 1.4;
}

/* Choice Cards */
.zeal-cards-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.zeal-card {
	display: flex;
	align-items: center;
	padding: 14px 16px;
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	user-select: none;
}
.zeal-card:hover {
	border-color: #cbd5e1;
	background: #fafafa;
}
.zeal-card.zeal-selected {
	border-color: #10b981 !important;
	background-color: #f0fdf4 !important;
}
.zeal-card-icon {
	width: 44px;
	height: 44px;
	margin-right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 8px;
	background: #f8fafc;
	color: #334155;
}
.zeal-card.zeal-selected .zeal-card-icon {
	background: #dcfce7;
	color: #166534;
}
.zeal-card-content {
	flex: 1;
	min-width: 0;
}
.zeal-card-title {
	margin: 0 0 2px 0;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	display: flex;
	align-items: center;
	gap: 8px;
}
.zeal-badge-pill {
	font-size: 10px;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: 4px;
	background: #15803d;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.zeal-card-desc {
	display: block;
	font-size: 12px;
	color: #64748b;
	line-height: 1.35;
}
.zeal-card-price {
	font-weight: 700;
	color: #0f172a;
	font-size: 14px;
	margin-right: 12px;
}
.zeal-card-radio {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.15s;
}
.zeal-card.zeal-selected .zeal-card-radio {
	border-color: #10b981;
}
.zeal-radio-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #10b981;
	opacity: 0;
	transform: scale(0.5);
	transition: all 0.15s ease;
}
.zeal-card.zeal-selected .zeal-radio-dot {
	opacity: 1;
	transform: scale(1);
}

/* Manual Prescription Inputs */
.zeal-eye-group {
	background: #f8fafc;
	padding: 14px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
}
.zeal-eye-title {
	margin: 0 0 10px 0;
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
}
.zeal-eye-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
}
.zeal-eye-col label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 4px;
}
.zeal-select-input {
	width: 100%;
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	font-size: 13px;
	font-weight: 600;
}
.zeal-btn-save-presc {
	margin-top: 20px;
	width: 100%;
	background: #000000;
	color: #ffffff;
	border: none;
	padding: 14px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s;
}
.zeal-btn-save-presc:hover {
	background: #1e293b;
}

/* Modal Footer */
.zeal-modal-footer {
	padding: 16px 20px;
	border-top: 1px solid #f1f5f9;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.zeal-summary-label {
	font-size: 13px;
	color: #64748b;
}
.zeal-summary-total {
	font-size: 18px;
	font-weight: 800;
	color: #0f172a;
	margin-left: 4px;
}
.zeal-btn-submit {
	background: #000000 !important;
	color: #ffffff !important;
	border: none !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
}
.zeal-btn-submit:hover {
	background: #1f2937 !important;
}
.zeal-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: zealSpin 0.6s linear infinite;
}
@keyframes zealSpin {
	to { transform: rotate(360deg); }
}
