/*
Theme Name: Irfas Clean
Theme URI: https://irfas.test
Author: Irfas
Description: Minimal, clean theme for Elementor + WooCommerce.
Version: 1.0.0
Text Domain: irfas-clean
*/

/* Basic sensible defaults */
body {
	margin: 0;
}
:root{
	--font-ui: Tahoma, Verdana, "Segoe UI", Roboto, Arial, sans-serif;
	--font-text: Verdana, Tahoma, "Segoe UI", Roboto, Arial, sans-serif;
}
.site-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px;
}

/* Search page */
.irfas-search__breadcrumbs {
	font-size: 13px;
	color: #6f6f6f;
	margin-bottom: 12px;
}

.irfas-search__breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.irfas-search__breadcrumbs a:hover {
	text-decoration: underline;
}

.irfas-search__header {
	margin-bottom: 16px;
}

.irfas-search__title {
	font-size: 22px;
	margin: 0 0 6px;
	color: #222;
}

.irfas-search__subtitle {
	margin: 0;
	color: #666;
	font-size: 14px;
}

.irfas-search__form {
	margin-bottom: 16px;
}

.irfas-search__label {
	display: block;
	font-size: 12px;
	color: #777;
	margin-bottom: 6px;
}

.irfas-search__form-row {
	display: flex;
	gap: 12px;
	align-items: center;
}

.irfas-search__input {
	flex: 1;
	height: 40px;
	border: 1px solid #cfd6dd;
	border-radius: 4px;
	padding: 0 12px;
	font-size: 14px;
}

.irfas-search__button {
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 4px;
	background: #5f6d77;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.irfas-search__button:hover,
.irfas-search__button:focus {
	background: #49545c;
}

.irfas-search__tabs {
	display: flex;
	gap: 18px;
	margin: 6px 0 12px;
	border-bottom: 1px solid #e5e8ec;
}

.irfas-search__tab {
	background: transparent;
	border: 0;
	padding: 8px 0;
	color: #666;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	border-bottom: 2px solid transparent;
}

.irfas-search__tab.is-active {
	color: #2b3b48;
	border-bottom-color: #5f6d77;
}

.irfas-search__tab[disabled] {
	opacity: 0.5;
	cursor: default;
}

.irfas-search__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #e5e8ec;
}

.irfas-search__item {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #e5e8ec;
}

.irfas-search__index {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #0e8c9f;
	color: #fff;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.irfas-search__link {
	color: #1a73e8;
	font-weight: 600;
	text-decoration: none;
}

.irfas-search__link:hover {
	text-decoration: underline;
}

.irfas-search__desc {
	color: #5d646c;
	font-size: 13px;
	margin-top: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.irfas-search__price {
	background: #f3f5f7;
	color: #d62828;
	padding: 6px 10px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 13px;
	white-space: nowrap;
}

.irfas-search__pagination {
	margin-top: 16px;
}

.irfas-search__pagination ul {
	list-style: none;
	display: flex;
	gap: 8px;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.irfas-search__pagination a,
.irfas-search__pagination span {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid #cfd6dd;
	border-radius: 4px;
	color: #2b3b48;
	text-decoration: none;
}

.irfas-search__pagination .current {
	background: #2b3b48;
	color: #fff;
	border-color: #2b3b48;
}

.irfas-search__empty {
	margin: 18px 0;
	color: #666;
}

@media (max-width: 768px) {
	.irfas-search__form-row {
		flex-direction: column;
		align-items: stretch;
	}

	.irfas-search__button {
		width: 100%;
	}

	.irfas-search__item {
		grid-template-columns: 28px minmax(0, 1fr);
	}

	.irfas-search__price {
		grid-column: 2;
		justify-self: flex-start;
	}
}

@media (max-width: 767px) {
	body.home.elementor-page-3865 .elementor-3865 .elementor-element.elementor-element-6f2533a {
		--margin-top: 0px !important;
		margin-top: 0 !important;
		height: auto !important;
		max-height: none !important;
		min-height: 0 !important;
	}

}

/* Global Elementor lightbox controls normalization (desktop + mobile). */
body .dialog-type-lightbox,
body .dialog-widget.dialog-lightbox-widget {
	z-index: 2147483000 !important;
}

body .dialog-widget.dialog-lightbox-widget {
	position: fixed !important;
	inset: 0 !important;
}

body .elementor-lightbox,
body .elementor-lightbox .dialog-widget-content,
body .elementor-lightbox .dialog-message {
	width: 100% !important;
	height: 100% !important;
}

body.dialog-prevent-scroll .irfas-uber-header,
body.dialog-prevent-scroll .irfas-uber-header--sticky-hide,
body.dialog-prevent-scroll .sticky-panel {
	opacity: 0 !important;
	pointer-events: none !important;
}

body:has(.dialog-widget.dialog-lightbox-widget[aria-hidden="false"]) .irfas-uber-header,
body:has(.dialog-widget.dialog-lightbox-widget[aria-hidden="false"]) .irfas-uber-header--sticky-hide,
body:has(.dialog-widget.dialog-lightbox-widget[aria-hidden="false"]) .sticky-panel {
	opacity: 0 !important;
	pointer-events: none !important;
}

body .elementor-lightbox .elementor-slideshow__header {
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	display: flex !important;
	flex-direction: row-reverse !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 10px 56px 10px 12px !important;
	min-height: 54px !important;
	box-sizing: border-box !important;
}

body .elementor-lightbox .elementor-slideshow__header .elementor-slideshow__counter {
	margin-inline-end: auto !important;
	line-height: 1 !important;
	flex: 0 0 auto !important;
}

body .elementor-lightbox .elementor-slideshow__header > :not(.elementor-slideshow__counter):not(.elementor-slideshow__share-menu) {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	transform: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 34px !important;
	box-sizing: border-box !important;
	line-height: 1 !important;
	font-size: 20px !important;
}

body .elementor-lightbox .elementor-slideshow__header > :not(.elementor-slideshow__counter):not(.elementor-slideshow__share-menu) > svg {
	width: 20px !important;
	height: 20px !important;
}

body .elementor-lightbox .dialog-lightbox-close-button {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	left: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 34px !important;
	height: 34px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	transform: none !important;
}

body .elementor-lightbox .dialog-lightbox-close-button > svg {
	width: 20px !important;
	height: 20px !important;
}

@media (max-width: 767px) {
	body .elementor-lightbox .elementor-slideshow__header {
		padding: calc(env(safe-area-inset-top) + 8px) 52px 8px 8px !important;
		min-height: calc(env(safe-area-inset-top) + 44px) !important;
	}

	body .elementor-lightbox .dialog-lightbox-close-button {
		top: calc(env(safe-area-inset-top) + 8px) !important;
		right: 8px !important;
	}
}

/* 404 page */
.irfas-404 {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: clamp(24px, 8vh, 72px);
}

.irfas-404__card {
	position: relative;
	width: min(680px, 100%);
	padding: clamp(24px, 5vw, 52px);
	text-align: center;
	border-radius: 18px;
	border: 1px solid #d9dfe7;
	background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
	box-shadow: 0 18px 40px rgba(26, 43, 61, 0.12);
	overflow: hidden;
}

.irfas-404 .elementor-container {
	justify-content: center;
}

.irfas-404__card::after {
	content: "";
	position: absolute;
	inset: auto -80px -120px auto;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(24, 132, 166, 0.22) 0%, rgba(24, 132, 166, 0) 70%);
	pointer-events: none;
}

.irfas-404__code {
	margin: 0 0 8px;
}

.irfas-404__code .elementor-heading-title,
.elementor-4885 .elementor-element-a4040003 .elementor-heading-title {
	margin: 0;
	font-size: clamp(42px, 7vw, 68px);
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #2b3b48;
}

.irfas-404__title {
	margin: 0;
}

.irfas-404__title .elementor-heading-title,
.elementor-4885 .elementor-element-a4040004 .elementor-heading-title {
	margin: 0;
	font-size: clamp(24px, 4vw, 34px);
	color: #1b2733;
}

.irfas-404__text {
	max-width: 520px;
	margin: 14px auto 0;
}

.irfas-404__text .elementor-widget-container,
.elementor-4885 .elementor-element-a4040005 .elementor-widget-container {
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.55;
	color: #4d5b68;
}

.irfas-404__text .elementor-widget-container p,
.elementor-4885 .elementor-element-a4040005 .elementor-widget-container p {
	margin: 0;
}

.irfas-404__actions {
	margin-top: 24px;
}

.irfas-404__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 10px;
	border: 1px solid #b9c5d0;
	background: #fff;
	color: #2c3a47;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.irfas-404__button:hover,
.irfas-404__button:focus {
	background: #eef4f8;
	border-color: #9fb2c3;
	color: #1f2a34;
}

.irfas-404__button--primary {
	background: #1f7e9a;
	border-color: #1f7e9a;
	color: #fff;
}

.irfas-404__button--primary:hover,
.irfas-404__button--primary:focus {
	background: #186880;
	border-color: #186880;
	color: #fff;
}

.elementor-4885 .elementor-element-a4040002 > .elementor-widget-wrap {
	text-align: center;
}

.elementor-4885 .elementor-element-a4040006,
.elementor-4885 .elementor-element-a4040007 {
	display: inline-block;
	width: auto;
	margin-top: 24px;
	vertical-align: top;
}

.elementor-4885 .elementor-element-a4040007 {
	margin-left: 10px;
}

.elementor-4885 .elementor-element-a4040006 .elementor-button,
.elementor-4885 .elementor-element-a4040007 .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 10px;
	border: 1px solid #b9c5d0;
	background: #fff;
	color: #2c3a47;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.elementor-4885 .elementor-element-a4040006 .elementor-button {
	background: #1f7e9a;
	border-color: #1f7e9a;
	color: #fff;
}

.elementor-4885 .elementor-element-a4040006 .elementor-button:hover,
.elementor-4885 .elementor-element-a4040006 .elementor-button:focus {
	background: #186880;
	border-color: #186880;
	color: #fff;
}

.elementor-4885 .elementor-element-a4040007 .elementor-button:hover,
.elementor-4885 .elementor-element-a4040007 .elementor-button:focus {
	background: #eef4f8;
	border-color: #9fb2c3;
	color: #1f2a34;
}

@media (max-width: 767px) {
	.irfas-404 {
		padding-inline: 14px;
	}

	.irfas-404__button {
		width: 100%;
	}

	.elementor-4885 .elementor-element-a4040006,
	.elementor-4885 .elementor-element-a4040007 {
		display: block;
		margin-left: 0;
	}

	.elementor-4885 .elementor-element-a4040006 .elementor-button,
	.elementor-4885 .elementor-element-a4040007 .elementor-button {
		width: 100%;
	}
}

/* About page */
.irfas-about {
	max-width: 900px;
	margin: 0 auto;
	display: grid;
	gap: 18px;
}

.irfas-about__lead {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid #d9e1e8;
	border-radius: 12px;
	background: #f8fbfe;
	font-size: 17px;
	line-height: 1.55;
	color: #24313d;
}

.irfas-about__section {
	padding: 18px 20px;
	border: 1px solid #e4e8ee;
	border-radius: 12px;
	background: #fff;
}

.irfas-about__section h2 {
	margin: 0 0 10px;
	font-size: 22px;
	color: #1f2e3a;
}

.irfas-about__section ul,
.irfas-about__section ol {
	margin: 0;
	padding-left: 20px;
	display: grid;
	gap: 8px;
}

.irfas-about__note {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-left: 3px solid #3f79a5;
	background: #f6f9fc;
	color: #405164;
}

.irfas-about__catalog-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid #2d839e;
	border-radius: 10px;
	background: #2d839e;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.irfas-about__catalog-link:hover,
.irfas-about__catalog-link:focus {
	background: #236a80;
	border-color: #236a80;
	color: #fff;
}

@media (max-width: 767px) {
	.irfas-about__lead,
	.irfas-about__section {
		padding: 14px;
	}

	.irfas-about__section h2 {
		font-size: 20px;
	}
}
