/* Klimats — vizuālais slānis, pārņemts no klimats.lv (Impreza) 2026-10-27. */

:root {
	--kl-text: #46515c;
	--kl-heading: #2c3e50;
	--kl-nav: #384b5f;
	--kl-link: #43a9d1;
	--kl-accent: #fc4349;
	--kl-blue: #3858a1;
	--kl-line: #e8e8e8;
	--kl-line-soft: #e4e8eb;
	--kl-bg: #fff;
	--kl-top-bg: #e8e8e8;
	--kl-cat-bg: #f5f5f5;
	--kl-content: 1280px;
	--kl-wide: 1360px;
	--kl-gap: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--kl-bg);
	color: var(--kl-text);
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 28px;
	overflow-x: hidden;
}

body.admin-bar .kl-header { top: 0; }

img { max-width: 100%; height: auto; }

a { color: var(--kl-link); text-decoration: none; }
a:hover { color: var(--kl-accent); }

h1, h2, h3, h4 { color: var(--kl-heading); font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0 0 24px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	white-space: nowrap;
}

.kl-skip {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 3000;
	background: #fff;
	padding: 8px 16px;
}
.kl-skip:focus { left: 16px; top: 16px; }

.kl-ico { width: 16px; height: 16px; display: inline-block; vertical-align: middle; }

/* ---------- Layout wrappers ---------- */

.kl-inner,
.kl-inner-wide {
	max-width: var(--kl-wide);
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

.kl-section { padding: 64px 0; }
.kl-section-home { padding-top: 64px; }
.kl-section-catalog { padding-top: 64px; }
.kl-slider-section { padding: 0; }

/* ---------- Header ---------- */

.kl-header {
	position: relative;
	z-index: 100;
	background: transparent;
}

.kl-bar { position: relative; }
.kl-bar-top { height: 100px; background: var(--kl-top-bg); }
.kl-bar-cat { height: 50px; background: var(--kl-cat-bg); }

.kl-bar-top .kl-inner,
.kl-bar-cat .kl-inner {
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
	max-width: var(--kl-wide);
}

.kl-logo { display: block; flex: 0 0 auto; }
.kl-header .kl-logo-img { display: block; width: auto; height: 30px; }

.kl-phone-wrap {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
}
.kl-phone {
	color: var(--kl-nav);
	font-size: 16px;
	font-weight: 700;
	line-height: 19.2px;
	white-space: nowrap;
}
.kl-phone:hover { color: var(--kl-accent); }

.kl-topnav {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	height: 100px;
}

.kl-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.kl-menu-top > li > a {
	display: block;
	padding: 0 5px;
	line-height: 50px;
	color: var(--kl-nav);
	font-size: 11.2px;
	font-weight: 900;
	text-transform: uppercase;
}
.kl-menu-top > li > a:hover,
.kl-menu-top > li.current-menu-item > a { color: var(--kl-accent); }

.kl-menu-top { margin-right: 14px; }

/* Language */
.kl-lang { position: relative; margin-left: 4px; }
.kl-lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 4px;
	height: 50px;
	border: 0;
	background: transparent;
	color: var(--kl-nav);
	font: inherit;
	font-size: 11.2px;
	font-weight: 900;
	cursor: pointer;
}
.kl-lang-toggle .kl-ico { width: 12px; height: 12px; }
.kl-lang-code { display: none; }
.kl-flag { display: block; width: 18px; height: 12px; }
.kl-lang-list {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	min-width: 150px;
	z-index: 200;
}
.kl-lang:hover .kl-lang-list,
.kl-lang.is-open .kl-lang-list,
.kl-lang:focus-within .kl-lang-list { display: block; }
.kl-lang-list a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	color: var(--kl-nav);
	font-size: 13px;
	font-weight: 600;
}
.kl-lang-list a:hover { color: var(--kl-accent); }

/* Catalogue bar */
.kl-catnav { flex: 1 1 auto; min-width: 0; height: 50px; }
.kl-menu-catalog { height: 50px; flex-wrap: nowrap; }
.kl-menu-catalog > li { position: relative; }
.kl-menu-catalog > li > a {
	display: flex;
	align-items: center;
	gap: 2px;
	height: 50px;
	line-height: 50px;
	padding: 0 5px;
	color: var(--kl-text);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	white-space: nowrap;
}
.kl-menu-catalog > li > a::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	margin-left: 6px;
}
.kl-menu-catalog > li:not(.menu-item-has-children) > a::after { display: none; }
.kl-menu-catalog > li > a:hover,
.kl-menu-catalog > li.current-menu-item > a,
.kl-menu-catalog > li.current-menu-ancestor > a { color: var(--kl-accent); }
.kl-menu-catalog .sub-menu {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 240px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
	z-index: 200;
}
.kl-menu-catalog > li:hover > .sub-menu,
.kl-menu-catalog > li:focus-within > .sub-menu,
.kl-menu-catalog > li.is-open > .sub-menu { display: block; }
.kl-menu-catalog .sub-menu a {
	display: block;
	padding: 8px 18px;
	color: var(--kl-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}
.kl-menu-catalog .sub-menu a:hover { color: var(--kl-accent); }

.kl-burger { display: none; }

/* Search */
.kl-search { position: relative; flex: 0 0 auto; margin-right: -9px; }
.kl-search-open {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 50px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--kl-text);
	cursor: pointer;
}
.kl-search-open .kl-ico { width: 18px; height: 18px; }
.kl-search-form {
	display: none;
	position: absolute;
	right: 0;
	top: 0;
	height: 50px;
	width: min(420px, 80vw);
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
	z-index: 300;
}
.kl-search.is-open .kl-search-form { display: flex; align-items: center; }
.kl-search-form input[type="search"] {
	flex: 1 1 auto;
	height: 50px;
	padding: 0 16px;
	border: 0;
	font: inherit;
	font-size: 15px;
	color: var(--kl-heading);
	outline: none;
}
.kl-search-submit {
	width: 50px;
	height: 50px;
	border: 0;
	background: transparent;
	color: var(--kl-text);
	cursor: pointer;
}
.kl-search-submit .kl-ico { width: 22px; height: 22px; }

/* ---------- Slider ---------- */

.kl-slider {
	position: relative;
	width: 100%;
	aspect-ratio: 2050 / 700;
	overflow: hidden;
	background: #e6e6e6;
}
.kl-slider-track { position: relative; width: 100%; height: 100%; }
.kl-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .6s ease;
}
.kl-slide.is-active { opacity: 1; }
.kl-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.kl-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.85);
	color: var(--kl-heading);
	cursor: pointer;
	opacity: 0;
	transition: opacity .2s;
}
.kl-slider:hover .kl-slider-arrow { opacity: 1; }
.kl-slider-arrow.is-prev { left: 16px; }
.kl-slider-arrow.is-next { right: 16px; }
.kl-slider-arrow .kl-ico { width: 22px; height: 22px; }
.kl-slider-arrow.is-prev .kl-ico { transform: rotate(180deg); }

/* ---------- Home ---------- */

.kl-home-title {
	margin: 0;
	color: var(--kl-accent);
	font-size: 48px;
	font-weight: 400;
	line-height: 57.6px;
	text-transform: uppercase;
}
.kl-home-gap { height: 48px; }

/* ---------- Product grid (Impreza layout 3845) ---------- */

.kl-grid {
	list-style: none;
	margin: 0 -24px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
.kl-grid > li {
	width: 25%;
	padding: 24px;
	min-width: 0;
}
.kl-card-in {
	height: 100%;
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid var(--kl-line);
	text-align: center;
}
.kl-card-media {
	position: relative;
	display: block;
	margin-bottom: 11.2px;
}
.kl-card-media img {
	display: block;
	width: auto;
	max-width: min(100%, 300px);
	height: auto;
	margin: 0 auto;
}
.kl-grid .kl-card-media span.onsale,
.kl-product-media .kl-product-gallery span.onsale {
	position: absolute;
	left: 10px;
	top: 10px;
	right: auto;
	z-index: 9;
	margin: 0;
	min-height: 0;
	min-width: 0;
	width: auto;
	height: auto;
	padding: 2px;
	border-radius: 0;
	background: var(--kl-blue);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
}
.kl-card-title {
	margin: 0 0 11.2px;
	min-height: 84px;
	font-size: 16px;
	font-weight: 300;
	line-height: 28px;
	color: var(--kl-text);
}
.kl-card-title a { color: var(--kl-text); }
.kl-card-title a:hover { color: var(--kl-accent); }
.kl-card-price {
	margin: 0;
	padding-bottom: 0;
	color: var(--kl-text);
	font-size: 19.2px;
	font-weight: 900;
	line-height: 28px;
}
.kl-card-price del { opacity: .5; font-weight: 400; }
.kl-card-price ins { color: var(--kl-accent); text-decoration: none; font-weight: 900; }
.kl-card-price .woocommerce-price-suffix { font-size: 15.36px; font-weight: 900; }
.kl-card-price .screen-reader-text { position: absolute !important; }

/* Pagination */
.kl-pagination { margin-top: 32px; }
.kl-pagination ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.kl-pagination li { margin: 3.2px; }
.kl-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: var(--kl-text);
	font-size: 22.4px;
	font-weight: 300;
	line-height: 1;
	border-radius: 50%;
}
.kl-pagination .page-numbers:hover { color: var(--kl-accent); }
.kl-pagination .page-numbers.current { background: var(--kl-accent); color: #fff; }
.kl-pagination .page-numbers.dots { cursor: default; }
.kl-pagination .page-numbers .kl-ico { width: 24px; height: 24px; }

/* ---------- Catalogue controls ---------- */

.kl-catalog-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 19.2px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--kl-line);
	margin-bottom: 8px;
}
.kl-order select,
.kl-filter select {
	appearance: none;
	-webkit-appearance: none;
	height: 45px;
	padding: 0 40px 0 12.8px;
	border: 0;
	border-radius: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2346515c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px;
	color: var(--kl-text);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
.kl-order select { width: 168px; }
.kl-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 19.2px; }
.kl-filter { display: flex; align-items: center; gap: 8px; }
.kl-filter-title { display: none; }
.kl-filter select { width: 170px; }
.kl-filter-price { gap: 6px; }
.kl-filter-price input {
	width: 86px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--kl-line);
	background: #fff;
	color: var(--kl-heading);
	font: inherit;
	font-size: 15px;
}
.kl-apply {
	height: 45px;
	padding: 0 28.8px;
	border: 0;
	border-radius: 4.8px;
	background: var(--kl-blue);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
.kl-apply:hover { background: var(--kl-heading); }
.kl-empty { font-size: 18px; }

/* ---------- Product page ---------- */

.kl-product-main {
	display: flex;
	gap: 48px;
	align-items: flex-start;
}
.kl-product-media,
.kl-product-summary { flex: 1 1 0; min-width: 0; }
.kl-product-media { position: relative; }
.kl-product-gallery { position: relative; }
.kl-product-gallery img { display: block; width: 100%; height: auto; }
.kl-product-gallery .woocommerce-product-gallery { margin: 0; position: relative; }
.kl-product-gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.kl-product-gallery .woocommerce-product-gallery__trigger,
.kl-product-gallery .flex-control-thumbs { display: none; }

.kl-crumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	font-size: 16px;
	line-height: 22.4px;
}
.kl-crumbs li + li::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 12px 2px 10px;
	border-right: 2px solid var(--kl-text);
	border-bottom: 2px solid var(--kl-text);
	transform: rotate(-45deg);
	vertical-align: middle;
}
.kl-crumbs li:last-child { color: var(--kl-text); }

.kl-sep {
	border: 0;
	border-top: 1px solid var(--kl-line-soft);
	margin: 32px 0;
	height: 0;
}

.kl-product-title {
	margin: 0 0 24px;
	color: var(--kl-heading);
	font-size: 32px;
	font-weight: 400;
	line-height: 38.4px;
}

.kl-product-price {
	margin: 0;
	color: var(--kl-text);
	font-size: 32px;
	font-weight: 900;
	line-height: 39px;
}
.kl-product-price del { opacity: .5; font-weight: 400; }
.kl-product-price ins { color: var(--kl-accent); text-decoration: none; font-weight: 900; }
.kl-product-price .woocommerce-price-suffix { font-size: 25.6px; font-weight: 900; }
.kl-product-price .screen-reader-text { position: absolute !important; }

.kl-product-buy .button,
.kl-product-buy button.button,
.kl-product-buy .awooc-custom-order-button,
.kl-product-buy .single_add_to_cart_button {
	display: inline-block;
	height: 45px;
	padding: 12.8px 28.8px;
	border: 0;
	border-radius: 4.8px;
	background: var(--kl-blue);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 19.2px;
	cursor: pointer;
	box-shadow: none;
}
.kl-product-buy .button:hover,
.kl-product-buy .awooc-custom-order-button:hover { background: var(--kl-heading); color: #fff; }

.kl-product-content { font-size: 16px; line-height: 28px; }
.kl-product-content p:last-child { margin-bottom: 0; }

/* ---------- Pages ---------- */

.kl-page { max-width: var(--kl-wide); }
.kl-page-content { font-size: 16px; line-height: 28px; }
.kl-page-content h2,
.kl-page-content h3 { margin: 0 0 16px; color: var(--kl-heading); }
.kl-page-content h2 { font-size: 28px; }
.kl-page-content ul { margin: 0 0 24px 24px; padding: 0; }
.kl-page-content li { margin-bottom: 4px; }
.kl-text { margin-bottom: 24px; }
.kl-search-list { list-style: none; margin: 0; padding: 0; }
.kl-search-list li { padding: 8px 0; border-bottom: 1px solid var(--kl-line); }
.kl-entry-title { margin: 0 0 24px; font-size: 40px; color: var(--kl-heading); }

/* WooCommerce cart, checkout and account */
.kl-page-shop .woocommerce a.button,
.kl-page-shop .woocommerce button.button,
.kl-page-shop .woocommerce input.button {
	background: var(--kl-blue);
	color: #fff;
	border: 0;
	border-radius: 4.8px;
	font-weight: 700;
	padding: 12.8px 28.8px;
}
.kl-page-shop .woocommerce a.button:hover,
.kl-page-shop .woocommerce button.button:hover { background: var(--kl-heading); color: #fff; }
.kl-page-shop .woocommerce table.shop_table { border-collapse: collapse; width: 100%; }
.kl-page-shop .woocommerce table.shop_table td,
.kl-page-shop .woocommerce table.shop_table th { padding: 12px; border-bottom: 1px solid var(--kl-line); }

/* ---------- Footer ---------- */

.kl-footer {
	background: #fff;
	color: var(--kl-text);
	padding: 0;
}
.kl-footer-in {
	max-width: var(--kl-wide);
	margin: 0 auto;
	padding: 64px 40px 40px;
	border-top: 1px solid var(--kl-line-soft);
	display: flex;
	gap: 48px;
	align-items: flex-start;
}
.kl-footer-col { flex: 1 1 0; min-width: 0; }
.kl-footer-map iframe { display: block; width: 100%; height: 450px; border: 0; }
.kl-copy { margin: 12px 0 16px; line-height: 20px; }
.kl-banners { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.kl-banners img { display: block; }
.kl-salidzini a { display: block; text-align: center; color: var(--kl-text); }
.kl-salidzini img { display: block; margin: 0 auto 3px; }
.kl-salidzini span { display: block; font-size: 11px; line-height: 16px; color: #777; }
.kl-footer-title {
	margin: 0 0 23px;
	color: var(--kl-heading);
	font-size: 27.2px;
	font-weight: 400;
	line-height: 32.64px;
}
.kl-footer-col p { margin: 0 0 24px; }
.kl-footer-col p:last-child { margin-bottom: 0; }
.kl-footer-col a { color: var(--kl-link); }
.kl-footer-col a:hover { color: var(--kl-accent); }
.kl-hours { width: 100%; border-collapse: collapse; }
.kl-hours td {
	padding: 8px 16px;
	vertical-align: top;
	border-bottom: 1px solid var(--kl-line-soft);
	line-height: 28px;
}
.kl-hours tr:first-child td:first-child { padding-top: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
	.kl-grid > li { width: 33.3333%; }
}

@media (max-width: 1024px) {
	.kl-grid > li { width: 50%; }
	.kl-product-main { flex-direction: column; gap: 32px; }
	.kl-footer-in { flex-wrap: wrap; }
	.kl-footer-col { flex: 1 1 100%; }
}

@media (max-width: 900px) {
	.kl-bar-top { height: 40px; }
	.kl-bar-top .kl-phone { font-size: 16px; }
	.kl-header .kl-logo-img { height: 15px; }
	.kl-topnav { height: 40px; }
	.kl-topnav .kl-menu { display: none; }
	.kl-menu-top { display: none; }
	.kl-lang { display: block; }
	.kl-lang-toggle { height: 40px; padding: 0 6px; }
	.kl-lang-toggle .kl-ico { width: 10px; height: 10px; }

	.kl-bar-cat { height: 50px; }
	.kl-burger {
		display: flex;
		align-items: center;
		gap: 10px;
		height: 50px;
		padding: 0 4px;
		border: 0;
		background: transparent;
		color: var(--kl-heading);
		font: inherit;
		font-size: 14px;
		font-weight: 700;
		text-transform: uppercase;
		cursor: pointer;
	}
	.kl-burger-lines { display: flex; flex-direction: column; gap: 4px; width: 22px; }
	.kl-burger-lines span { display: block; height: 2px; background: var(--kl-heading); }
	.kl-catnav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		height: auto;
		max-height: calc(100vh - 100px);
		overflow: auto;
		background: #fff;
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
		z-index: 250;
	}
	.kl-catnav.is-open { display: block; }
	.kl-menu-catalog { flex-direction: column; align-items: stretch; height: auto; }
	.kl-menu-catalog > li > a { height: auto; line-height: 28px; padding: 10px 24px; font-size: 15px; }
	.kl-menu-catalog > li > a::after { display: none; }
	.kl-menu-catalog .sub-menu {
		display: block;
		position: static;
		box-shadow: none;
		min-width: 0;
		padding: 0 0 8px 0;
	}
	.kl-menu-catalog .sub-menu a { padding: 6px 40px; font-size: 14px; }
	.kl-search { margin-left: auto; }
	.kl-search-open { width: 44px; }
	.kl-search-open .kl-ico { width: 20px; height: 20px; }
	.kl-section { padding: 40px 0; }
	.kl-footer-in { padding: 40px 24px; }
}

@media (max-width: 600px) {
	.kl-inner,
	.kl-inner-wide { padding: 0 24px; }
	.kl-grid { margin: 0; }
	.kl-grid > li { width: 50%; padding: 0 8px; margin-bottom: 24px; }
	.kl-card-in { padding: 0; }
	.kl-card-price { font-size: 19.2px; }
	.kl-pagination .page-numbers { width: 44px; height: 44px; font-size: 18px; }
	.kl-filters { flex-direction: column; align-items: stretch; width: 100%; }
	.kl-filter, .kl-filter select, .kl-filter-price input { width: 100%; }
	.kl-filter-price { flex-direction: row; }
	.kl-filter-price input { flex: 1 1 0; width: auto; min-width: 0; }
	.kl-catalog-bar { gap: 16px; }
	.kl-home-title { font-size: 33.6px; line-height: 40.32px; }
	.kl-grid .kl-card-media span.onsale,
	.kl-product-media .kl-product-gallery span.onsale { font-size: 10px; line-height: 14px; padding: 1px; }
	.kl-product-title { font-size: 18.2px; line-height: 1.25; }
	.kl-product-price { font-size: 24px; }
	.kl-product-price .woocommerce-price-suffix { font-size: 19px; }
	.kl-footer-title { font-size: 22px; }
	.kl-footer-in { display: flex; flex-direction: column; gap: 32px; }
	.kl-footer-map iframe { height: 300px; }
	.kl-entry-title { font-size: 21px; }
}
