/*
Theme Name:  Klaik Furniture
Theme URI:   https://klaikfurniture.am
Description: Custom code theme for Klaik Furniture (WooCommerce catalog, Polylang hy/en/ru). Replaces Elementor templates; sizes and colors follow the former Elementor kit and templates.
Version:     1.1.0
Requires PHP: 8.0
Text Domain: klaikfurniture
*/

:root {
	--k-dark: #222222;
	--k-ink: #1f2124;
	--k-bg: #f5f5f5;
	--k-white: #ffffff;
	--k-text: #323232;
	--k-text-2: #424242;
	--k-muted: #888888;
	--k-line: #e0e0e0;
	--k-accent: #ffcd2c;
	--k-link: #fecd2a;
	--k-width: 1400px; /* Elementor kit container width */
	--k-gutter: 50px;  /* side padding of Elementor containers (20px on mobile) */
	--k-page: 1180px;  /* Elementor 1200px sections minus 10px column padding */
	--k-font: "Roboto", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--k-bg);
	color: #000;
	font-family: var(--k-font);
	font-size: 14px;
	line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }
h1, h2, h3, h4, h5, h6 { color: #000; line-height: 1.2; margin: 0 0 .5em; font-weight: 500; }
h1 { font-size: 22px; font-weight: 700; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 21px; }
h5 { font-size: 17.5px; }
p { margin: 0 0 .9em; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: calc(var(--k-width) + 2 * var(--k-gutter)); margin: 0 auto; padding: 0 var(--k-gutter); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 8px 12px; clip: auto; width: auto; height: auto; }

/* ---------- Top bar ---------- */
.topbar { background: var(--k-dark); color: #fff; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 15px; padding-bottom: 15px; }
.topbar__contacts { display: flex; gap: 50px; flex-wrap: wrap; }
.topbar a:hover { color: var(--k-accent); }
.lang-switch { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.lang-switch a { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.lang-switch a:hover { color: var(--k-accent); }
.lang-switch img { width: 22px; height: 15px; display: block; }

/* ---------- Header ---------- */
.site-header { background: var(--k-bg); position: relative; z-index: 50; }
/* 25px above/below the logo as in Elementor; menu links fill the height so the mega menu stays open on hover. */
.site-header__bar { display: flex; align-items: center; gap: 30px; min-height: 98px; }
.site-logo { display: block; flex: none; }
.site-logo img { display: block; width: 125px; height: auto; }
.site-logo__text { font-size: 24px; font-weight: 700; color: var(--k-dark); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--k-dark); margin: 6px 0; transition: transform .2s, opacity .2s; }

.main-nav { margin-left: auto; align-self: stretch; display: flex; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { display: flex; }
.main-nav > ul > li > a,
.main-nav > ul > li > .menu-label {
	display: flex; align-items: center; gap: 6px; padding: 0 12px;
	font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--k-ink); white-space: nowrap;
}
.main-nav > ul > li:last-child > a, .main-nav > ul > li:last-child > .menu-label { padding-right: 0; }
.main-nav > ul > li.has-mega > a::after,
.main-nav > ul > li.has-mega > .menu-label::after {
	content: ""; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; margin-left: 2px;
}
.main-nav > ul > li:hover > a, .main-nav > ul > li:hover > .menu-label { color: #000; }
.main-nav > ul > li.has-mega:hover > a::after, .main-nav > ul > li.has-mega:hover > .menu-label::after { transform: rotate(180deg); }
.submenu-toggle { display: none; }

/* Mega menu as the Elementor "Mega Menu": equal columns (text groups, then the image), 20px gaps, compact 12px links. */
.mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--k-bg); border-bottom: 2px solid var(--k-accent);
	opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.main-nav li.has-mega:hover > .mega,
.main-nav li.has-mega:focus-within > .mega { opacity: 1; visibility: visible; }
.mega__inner { display: flex; gap: 20px; padding: 20px var(--k-gutter) 38px; max-width: calc(var(--k-width) + 2 * var(--k-gutter)); margin: 0 auto; }
/* Text columns share the space; the image always has the width of one column of a 3-column menu and a 3:2 shape. */
.mega__col { flex: 1 1 0; min-width: 0; }
.mega__image { flex: 0 0 calc((100% - 40px) / 3); }
.mega__col { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.mega__heading { display: block; font-size: 17px; font-weight: 500; line-height: 1.2; color: #111; text-transform: uppercase; }
.mega__heading + .mega__links { margin-top: 20px; }
.mega__links { list-style: none; margin: 0; padding: 0; }
.mega__links li { font-size: 12px; line-height: 1.5; padding: 0; color: #54595f; }
.mega__links a:hover, a.mega__heading:hover { color: #000; }
.mega__image img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--k-dark); color: #e6e6e6; font-size: 14px; margin-top: 80px; }
.site-footer a:hover { color: var(--k-accent); }
.site-footer__row { border-bottom: 1px solid #b4b4b4; }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 50px; padding-bottom: 40px; }
.socials { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.socials a { display: inline-flex; color: #fff; }
.socials svg { width: 25px; height: 25px; fill: currentColor; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding-top: 40px; padding-bottom: 40px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 2.5px 0; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.site-footer__copy { padding: 40px 0; color: #999; font-size: 12px; font-weight: 500; text-align: center; }
.site-footer__copy a { color: inherit; }

/* ---------- Pages (former Hello Elementor + 1200px Elementor sections) ---------- */
.site-main { min-height: 40vh; }
.page-header { max-width: 1140px; margin: 0 auto; padding: 0 10px; }
.page-header .entry-title, .page-title { font-size: 22px; font-weight: 700; color: #000; margin: 20px 0; }
.page-wrap { max-width: var(--k-page); margin: 0 auto; }
.page-spacer { height: 20px; }
.entry-content { overflow-wrap: break-word; }
.entry-content > * + *, .k-section > * + * { margin-top: 20px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { display: inline-block; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content td, .entry-content th { border: 1px solid var(--k-line); padding: 8px 12px; }
.entry-content iframe { max-width: 100%; border: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content a { text-decoration: underline; }
.k-section + .k-section { margin-top: 50px; }
.k-lead { font-size: 16px; }
.has-text-align-center { text-align: center; }
.wp-block-columns { display: flex; gap: 20px; align-items: flex-start; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > * + * { margin-top: 20px; }
.k-map iframe { display: block; width: 100%; height: 300px; }
.k-video { position: relative; aspect-ratio: 16 / 9; }
.k-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Elementor toggle (news) and accordion (jobs) */
details.k-toggle, details.k-accordion { margin: 0; }
details.k-toggle { border-bottom: 1px solid #d5d8dc; }
details.k-toggle + details.k-toggle, details.k-accordion + details.k-accordion { margin-top: 0; }
.k-toggle summary, .k-accordion summary {
	display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
	padding: 15px; font-size: 15px; font-weight: 600; color: #000;
}
.k-toggle summary::-webkit-details-marker, .k-accordion summary::-webkit-details-marker { display: none; }
.k-toggle summary::before { content: ""; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 6px solid currentColor; transition: transform .2s; }
.k-toggle[open] summary::before { transform: rotate(90deg); }
.k-toggle > :not(summary) { padding: 0 15px 15px; }
details.k-accordion { border: 1px solid #d5d8dc; }
details.k-accordion + details.k-accordion { border-top: 0; }
.k-accordion summary { justify-content: space-between; padding: 15px 20px; }
.k-accordion summary::after { content: "+"; font-size: 18px; font-weight: 400; }
.k-accordion[open] summary::after { content: "−"; }
.k-accordion[open] summary { border-bottom: 1px solid #d5d8dc; }
.k-accordion > :not(summary) { padding: 15px 20px; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, input[type="submit"] {
	display: inline-block; background: var(--k-dark); color: #fff; border: 0; border-radius: 3px;
	padding: 12px 24px; font-size: 15px; font-weight: 500; cursor: pointer;
}
.btn:hover, .button:hover, input[type="submit"]:hover { background: #000; color: #fff; }
.btn[disabled] { opacity: .5; cursor: default; }

/* ---------- Home ---------- */
/* Full viewport width; Elementor had height 800px + object-fit: cover. Also kept within the screen below the header (~150px). */
.hero img { display: block; width: 100%; height: min(800px, calc(100vh - 150px)); min-height: 360px; object-fit: cover; }
.tiles { position: relative; margin-top: 80px; margin-bottom: 80px; }
.tiles__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.tiles__track::-webkit-scrollbar { display: none; }
.tile { scroll-snap-align: start; display: block; background: #fff; }
.tile img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tiles__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; font-size: 22px; line-height: 1; color: #000;
}
.tiles__nav--prev { left: calc(var(--k-gutter) - 22px); }
.tiles__nav--next { right: calc(var(--k-gutter) - 22px); }
.section-title { font-size: 45px; font-weight: 700; color: var(--k-dark); margin: 0 0 30px; text-align: center; }
.home-sale__grid { background: #fff; padding: 10px; }
.load-more-wrap { text-align: center; padding: 30px 0 0; }

/* ---------- Product cards ---------- */
ul.products {
	display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--gap, 40px) var(--gap, 40px);
	list-style: none; margin: 0 0 30px; padding: 0;
}
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; position: relative; }
.product-card__image { display: block; }
/* Whole photo, never cropped: 3:2 box (the shape of the product photos), image fitted inside on white. */
.product-card__image { background: #fff; }
.product-card__image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.product-card__body { padding: 10px 0 0; }
.product-card__title { font-size: 14px; font-weight: 400; color: var(--k-text); margin: 0 0 6px; line-height: 1.3; }
.product-card__price { font-size: 16px; font-weight: 600; color: var(--k-text); }
/* Front page loop item (Elementor loop template): white card, 20px padding, 20px title. */
/* Elementor loop grid: 20px gaps inside a white 10px-padded container. */
.products--cards { --gap: 20px; margin: 0; }
.products--cards li.product { background: #fff; }
.products--cards .product-card__body { padding: 20px; }
.products--cards .product-card__title { font-size: 20px; font-weight: 600; color: var(--k-dark); }
.price ins { text-decoration: none; }
.price del { font-size: 14px; color: var(--k-text-2); font-weight: 400; margin-right: 6px; }
.onsale, span.onsale {
	position: absolute; top: 10px; left: 10px; z-index: 2; min-height: 0; min-width: 0; line-height: 1;
	background: var(--k-accent) !important; color: var(--k-text-2) !important; border-radius: 100px; padding: 8px 12px; font-size: 13px; font-weight: 700; margin: 0;
}

/* ---------- Shop archive ---------- */
.woocommerce-breadcrumb { font-size: 14px; color: #000; margin: 0; }
.woocommerce-breadcrumb a { color: #000; }
.woocommerce-breadcrumb a:hover { color: var(--k-text-2); }
.shop-top { padding-top: 35px; padding-bottom: 25px; }
.shop-layout { display: flex; align-items: flex-start; padding-top: 25px; }
.shop-sidebar { flex: 0 0 25%; padding-right: 20px; border-right: 1px solid #eaeaea; align-self: stretch; }
.shop-main { flex: 1; min-width: 0; padding-left: 20px; }
.shop-main .term-description, .shop-main .page-description { margin-bottom: 20px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.shop-toolbar .woocommerce-result-count, .shop-toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; font-size: 14px; color: var(--k-text); }
.woocommerce-ordering select { padding: 8px 10px; border: 1px solid #d0d0d0; background: #fff; font-size: 14px; color: var(--k-text); }
.filters-toggle { display: none; }
.woocommerce-info, .woocommerce-message, .woocommerce-no-products-found { list-style: none; margin: 0 0 20px; padding: 0; }

.widget-title.wpc-filter-title { font-size: 14px; font-weight: 700; }
a.wpc-filter-link { color: var(--k-text); font-size: 14px; }
.wpc-filters-range-min, .wpc-filters-range-max { font-size: 15px; }
.ui-slider-horizontal .ui-slider-range { background-color: var(--k-text-2) !important; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

.woocommerce-pagination ul, .navigation .nav-links { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 20px 0; border: 0 !important; white-space: nowrap; }
.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce-pagination .page-numbers, .navigation .page-numbers {
	display: inline-flex; min-width: 30px; height: 30px; align-items: center; justify-content: center; padding: 0 8px;
	border: 1px solid #d0d0d0; border-radius: 3px; color: var(--k-text-2); font-size: 14px;
}
.woocommerce-pagination .page-numbers.current, .woocommerce-pagination a.page-numbers:hover,
.navigation .page-numbers.current, .navigation a.page-numbers:hover { background: var(--k-text-2); border-color: var(--k-text-2); color: #fff; }

/* ---------- Single product ---------- */
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 60px; padding-top: 35px; padding-bottom: 25px; }
.product-navigation { display: flex; gap: 60px; font-size: 14px; }
.product-navigation a { color: var(--k-muted); }
.product-navigation a:hover { color: var(--k-dark); }
.product-box { background: #fff; padding: 30px 30px 60px; }
.product-box + .product-box { margin-top: 20px; }
.product-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 20px; margin-bottom: 35px; border-bottom: 1px solid var(--k-line); }
.product-head .product_title { font-size: 22px; font-weight: 600; color: var(--k-dark); margin: 0; }
.share { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.share a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 3px; color: #fff; }
.share a:hover { opacity: .9; }
.share svg { width: 18px; height: 18px; fill: currentColor; }
.share--facebook a { background: #3b5998; }
.share--twitter a { background: #000; }
.share--linkedin a { background: #0077b5; }
.share--email a { background: #ea4335; }
.product-grid { display: flex; gap: 20px; }
.product-grid > * { flex: 1 1 0; min-width: 0; }
.product-grid .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; position: relative; }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; padding: 0; margin: 8px 0 0; }
.flex-control-thumbs img { display: block; cursor: pointer; opacity: .5; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; }
.product-summary { display: flex; flex-direction: column; gap: 4px; }
.product-summary .price { font-size: 22px; font-weight: 600; color: var(--k-text-2); margin: 0; }
.product-summary .price del { font-size: 16px; color: var(--k-muted); }
.product-brand { margin: 15px 0; }
.product-brand img { max-height: 50px; width: auto; display: block; }
.product-brand strong { font-weight: 700; }
.product_meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.product_meta .detail-label { font-weight: 400; }
.product_meta a { color: var(--k-muted); }
.product_meta a:hover { color: var(--k-accent); }
.product-details h2 { font-size: 20px; font-weight: 600; color: var(--k-dark); margin: 0 0 35px; }
.product-details .description { font-size: 14px; line-height: 1.4; color: var(--k-dark); margin-bottom: 35px; }
.product-details .woocommerce-product-attributes + h2, .product-details > h2:not(:first-child) { margin-top: 35px; }
/* ".woocommerce" prefix: WooCommerce's own rules use it and would win otherwise. */
.woocommerce table.shop_attributes { width: 100%; border-collapse: collapse; border: 1px solid #ddd; font-size: 14px; color: #484848; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 1px solid #ddd; text-align: left; vertical-align: middle; }
.woocommerce table.shop_attributes th { width: 30%; padding: 8px 30px; font-weight: 700; }
.woocommerce table.shop_attributes td { padding: 0 30px; font-style: normal; }
.woocommerce table.shop_attributes td p { margin: 0; font-style: normal; padding: 8px 0; }

/* ---------- Blog (Elementor "classic" archive skin) ---------- */
.blog-wrap { max-width: calc(var(--k-width) + 80px); margin: 0 auto; padding: 10px 40px 0; }
.blog-wrap--narrow { max-width: 1280px; }
.blog-title { font-size: 22px; font-weight: 600; text-align: center; margin: 0 0 30px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 30px; }
.post-card { display: flex; flex-direction: column; }
.post-card__image { display: block; margin-bottom: 20px; overflow: hidden; }
.post-card__image img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__title { font-size: 18px; font-weight: 600; color: #333; margin: 0 0 20px; }
.post-card__title a:hover { color: #000; }
.post-card__meta { font-size: 12px; color: #adadad; margin-bottom: 13px; }
.post-card__excerpt { font-size: 14px; color: #777; margin-bottom: 13px; }
.post-card__excerpt p { margin: 0; }
.post-card__more { margin-top: auto; font-size: 12px; font-weight: 500; color: var(--k-link); text-transform: uppercase; }
.post-card__more:hover { color: #000; }
.single-post__title { font-size: 22px; font-weight: 600; text-align: center; margin: 0 0 30px; }
.single-post .entry-content a { color: var(--k-link); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding: 10px 0; }
.post-nav a { display: flex; align-items: center; gap: 10px; color: #000; }
.post-nav__arrow { color: var(--k-link); font-size: 30px; line-height: 1; }
.post-nav__label { display: block; font-size: 14px; text-transform: uppercase; }
.post-nav__title { display: block; font-size: 12px; color: #777; }

/* ---------- Forms ---------- */
.k-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.k-form__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.k-form__field--full { grid-column: 1 / -1; }
.k-form label { font-size: 14px; }
.k-form input[type="text"], .k-form input[type="email"], .k-form input[type="tel"], .k-form textarea, .search-form input[type="search"] {
	width: 100%; padding: 6px 16px; min-height: 40px; border: 1px solid #69727d; border-radius: 3px; background: #fff; font-size: 15px;
}
.k-form textarea { min-height: 120px; resize: vertical; }
.k-form input:focus, .k-form textarea:focus { outline: 2px solid var(--k-accent); outline-offset: 0; }
.k-form .btn { width: 100%; }
.k-form__hp { position: absolute; left: -9999px; }
.k-notice { grid-column: 1 / -1; padding: 12px 16px; background: #fff; border-left: 3px solid #3a9b52; }
.k-notice--error { border-left-color: #c0392b; }
.search-form { display: flex; gap: 10px; max-width: 520px; }

/* ---------- 404 (Elementor "404 Error Page" template) ---------- */
.error-404 {
	background: linear-gradient(45deg, #ffcd2c, #fee716);
	padding: 60px 20px 100px; margin-bottom: -80px; text-align: center; color: var(--k-ink);
	display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.error-404__face { width: 210px; height: 210px; }
.error-404__title { font-size: clamp(64px, 11vw, 132px); font-weight: 600; color: var(--k-ink); line-height: 1; margin: 0; text-transform: uppercase; }
.error-404__text { font-size: 19px; margin: 0; }
.error-404__btn {
	display: inline-block; margin-top: 50px; padding: 12px 30px; font-size: 30px; font-weight: 500; line-height: 1.3;
	color: var(--k-ink); background: #fff; border: 4px solid var(--k-ink); border-radius: 30px;
}
.error-404__btn:hover { color: #fff; background: var(--k-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.main-nav > ul > li > a, .main-nav > ul > li > .menu-label { padding: 0 8px; font-size: 13px; }
	.mega__image { display: none; }
	.posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.nav-toggle { display: block; }
	.site-header__bar { min-height: 90px; }
	.main-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--k-bg); border-top: 1px solid var(--k-line); max-height: calc(100vh - 140px); overflow-y: auto;
		box-shadow: 0 12px 24px rgba(0,0,0,.1);
	}
	.nav-open .main-nav { display: block; }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.main-nav > ul { flex-direction: column; padding: 8px var(--k-gutter) 16px; }
	.main-nav > ul > li { display: block; position: relative; border-bottom: 1px solid var(--k-line); }
	.main-nav > ul > li > a, .main-nav > ul > li > .menu-label { padding: 14px 44px 14px 0 !important; }
	.main-nav > ul > li.has-mega > a::after, .main-nav > ul > li.has-mega > .menu-label::after { display: none; }
	.submenu-toggle {
		display: block; position: absolute; right: 0; top: 4px; width: 40px; height: 40px;
		background: none; border: 0; cursor: pointer; font-size: 22px; line-height: 1;
	}
	.submenu-toggle::before { content: "+"; }
	li.is-open > .submenu-toggle::before { content: "−"; }
	.mega { position: static; opacity: 1; visibility: visible; display: none; box-shadow: none; }
	.main-nav li.has-mega.is-open > .mega { display: block; }
	.mega__inner { padding: 0 0 16px; flex-wrap: wrap; gap: 16px 20px; }
	.mega__col { flex: 1 1 200px; gap: 14px; }
	.mega__image { display: none; }
	.mega { border-bottom: 0; }
	.shop-layout { display: block; }
	.filters-toggle { display: inline-block; margin-bottom: 16px; }
	.shop-sidebar { display: none; border: 0; padding: 0 0 20px; }
	.filters-open .shop-sidebar { display: block; }
	.shop-main { padding-left: 0; }
	ul.products { --cols: 3 !important; --gap: 20px; }
	.products--cards { --gap: 20px; }
	.product-grid { flex-direction: column; }
	.product-top { gap: 20px; }
	.product-navigation { gap: 30px; }
	.tiles__track { grid-auto-columns: calc((100% - 20px) / 2); }
	.section-title { font-size: 36px; }
}
@media (max-width: 767px) {
	:root { --k-gutter: 20px; }
	.topbar .container { flex-direction: column; align-items: flex-start; gap: 6px; }
	.topbar__contacts { gap: 4px 25px; }
	.site-header__bar { min-height: 76px; }
	.site-logo img { width: 110px; }
	.page-wrap, .page-header { padding: 0 20px; }
	.blog-wrap { padding: 10px 20px 0; }
	.tiles { margin-top: 50px; margin-bottom: 50px; }
	.hero img { height: auto; min-height: 0; }
	.section-title { font-size: 28px; }
	ul.products { --cols: 2 !important; --gap: 12px; }
	.products--cards { --gap: 12px; }
	.products--cards .product-card__body { padding: 12px; }
	.products--cards .product-card__title { font-size: 15px; }
	.site-footer { margin-top: 50px; }
	.site-footer__top { padding-top: 40px; padding-bottom: 30px; }
	.site-footer__cols { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; padding-bottom: 30px; }
	.posts-grid { grid-template-columns: 1fr; }
	.k-form { grid-template-columns: 1fr; }
	.wp-block-columns { flex-direction: column; }
	.product-box { padding: 20px 15px 40px; }
	.product-head { flex-direction: column; align-items: flex-start; }
	.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding-left: 12px; padding-right: 12px; }
	.tiles__track { grid-auto-columns: 78%; }
	.tiles__nav { display: none; }
	.error-404 { margin-bottom: -50px; }
	.error-404__face { width: 150px; height: 150px; }
	.error-404__btn { font-size: 20px; }
}

/* WooCommerce's own stylesheet colors prices green/olive; keep the Elementor colors. */
.woocommerce div.product .product-summary p.price,
.woocommerce div.product .product-summary span.price { color: var(--k-text-2); font-size: 22px; font-weight: 600; }
.woocommerce ul.products li.product .price { color: var(--k-text); font-size: 16px; font-weight: 600; }
