/* Add here all your CSS customizations */

body {
	font-size: 16px;
}
@media (min-width: 992px) {
	#header .header-nav-main nav > ul > li > a {
			font-size: 14px;
	}
}

/* MAIN PAGE */
#analognames .about__title {
	font-weight: 700;
}
#analognames .about__title .about__text {
	color: #0284c7;
}
.testimonial.testimonial-with-quotes blockquote::before {left: 0;}

#analogilekarstv .card dt {
    color: #0284c7;
}

/* TOVARY */
.popup__ref span {
    display: block;
    font-weight: normal;
    margin-bottom: 15px;
    color: #222;
		padding-left: 15px;
}
.popup__ref {
    font-weight: bold;
    color: #0284c7;
}

/* ==========================================================================
   MODERN UI ENHANCEMENTS (PhaTur Modernization)
   ========================================================================== */

/* 1. Tabular numbers for clean Swiss medical metrics */
.price .amount,
.table-price,
.catalog-metric {
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}

/* 2. Modern Search Bars (Analogs & Catalog) */
.modern-search-box {
	position: relative;
	background: #ffffff;
	border-radius: 120px;
	border: 1px solid #e2e8f0;
	transition: all 0.2s ease-in-out;
}
.modern-search-box:focus-within {
	border-color: #0284c7;
	box-shadow: 0 6px 20px rgba(2, 132, 199, 0.15), 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.modern-search-box .input-group-text {
	background: transparent;
	border: none;
	padding-left: 16px;
	padding-right: 8px;
	color: #0284c7;
	font-size: 16px;
}
.modern-search-box .form-control {
	border: none;
	box-shadow: none;
	height: 48px;
	font-size: 15px;
	color: #1a202c;
	background: transparent;
}
.modern-search-box .form-control::placeholder {
	color: #a0aec0;
	font-weight: 400;
}
.modern-search-box .search-clear-btn {
	background: transparent;
	border: none;
	color: #a0aec0;
	font-size: 18px;
	padding: 0 16px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: color 0.15s ease;
}
.modern-search-box .search-clear-btn:hover {
	color: #4a5568;
}

/* Search Results Meta */
.search-results-info {
	font-size: 14px;
	color: #718096;
	margin-top: 8px;
}

/* Empty State / Not Found Card */
.search-empty-state {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	margin-top: 20px;
}
.search-empty-state .icon {
	font-size: 32px;
	color: #0284c7;
	margin-bottom: 12px;
}

/* 3. Catalog Filter Chips */
.catalog-chips-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}
.catalog-chip {
	display: inline-flex;
	align-items: center;
	padding: 7px 16px;
	font-size: 13px;
	font-weight: 500;
	color: #4a5568;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	cursor: pointer;
	text-decoration: none !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	user-select: none;
}
.catalog-chip:hover {
	background: #f1f5f9;
	color: #1e293b;
	border-color: #cbd5e1;
	transform: translateY(-1px);
}
.catalog-chip.active {
	background: #0284c7;
	border-color: #0284c7;
	color: #ffffff;
	box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
}

/* 4. Product Card Visual Refinements */
.products .product {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border-radius: 8px;
	padding: 8px;
}
.products .product:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.product-thumb-info-image img {
	transition: transform 0.35s ease;
}
.products .product:hover .product-thumb-info-image img {
	transform: scale(1.03);
}

/* 5. Modernized Remodal Popups */
.remodal-overlay {
	background: rgba(15, 23, 42, 0.65) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
}
.remodal {
	border-radius: 16px !important;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
	border: 1px solid rgba(255, 255, 255, 0.6) !important;
	padding: 30px !important;
}
@media (max-width: 576px) {
	.remodal {
		padding: 20px 15px !important;
		margin-bottom: 20px !important;
	}
}

/* 6. Floating WhatsApp Contact Button & Pulse */
.floating-wa-wrapper {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.floating-wa-btn {
	position: relative;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25D366;
	color: #ffffff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
	text-decoration: none !important;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	outline: none;
}
.floating-wa-btn:hover {
	transform: scale(1.1);
	color: #ffffff !important;
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}
.floating-wa-btn::before {
	content: '';
	position: absolute;
	top: -3px;
	left: -3px;
	right: -3px;
	bottom: -3px;
	border-radius: 50%;
	border: 2px solid #25D366;
	animation: floating-wa-pulse 2.2s infinite ease-out;
	pointer-events: none;
}
@keyframes floating-wa-pulse {
	0% {
		transform: scale(1);
		opacity: 0.8;
	}
	70% {
		transform: scale(1.55);
		opacity: 0;
	}
	100% {
		transform: scale(1.55);
		opacity: 0;
	}
}
.floating-wa-tooltip {
	background: #ffffff;
	color: #1e293b;
	padding: 10px 14px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	margin-right: 12px;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	border: 1px solid rgba(0, 0, 0, 0.06);
	display: flex;
	align-items: center;
	gap: 8px;
	animation: fadeIn 0.4s ease-in;
}
.floating-wa-close {
	background: none;
	border: none;
	color: #94a3b8;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 0 0 0 4px;
}
.floating-wa-close:hover {
	color: #475569;
}
@media (max-width: 767px) {
	.floating-wa-wrapper {
		bottom: 18px;
		right: 18px;
	}
	.floating-wa-btn {
		width: 52px;
		height: 52px;
		font-size: 26px;
	}
	.floating-wa-tooltip {
		display: none !important; /* Hide speech bubble on mobile to preserve screen estate */
	}
}
