/*
Theme Name: Этламо
Theme URI: https://example.com/
Author: Этламо
Description: Информационный сайт-каталог ООО «Этламо»: микроскопы, эндоскопы, принадлежности и комплектующие. Каталог без корзины, форма запроса цены, базовое SEO. При активации создаёт разделы, позиции, главную страницу и меню.
Version: 1.2.2
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: etlamo

GPL распространяется только на код темы. Фотографии и тексты принадлежат ООО «Этламо»;
иконки Lucide (ISC) и Feather (MIT). См. CREDITS.txt.
*/

:root {
	--etl-ink: #0e1e2e;
	--etl-text: #1f2d3a;
	--etl-muted: #5d6d7d;
	--etl-line: #dde5ee;
	--etl-bg: #f3f6f9;
	--etl-card: #ffffff;
	--etl-primary: #0b5fa5;
	--etl-primary-dark: #08487e;
	--etl-accent: #13a5b5;
	--etl-navy: #0a2540;
	--etl-ok: #1d7a46;
	--etl-err: #b3261e;
	--etl-radius: 14px;
	--etl-shadow: 0 1px 2px rgba(14, 30, 46, .06), 0 8px 24px rgba(14, 30, 46, .06);
	--etl-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--etl-bg);
	color: var(--etl-text);
	font: 16px/1.6 var(--etl-font);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--etl-primary); text-decoration: none; }
a:hover { color: var(--etl-primary-dark); }
h1, h2, h3, h4 { color: var(--etl-ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.2vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--etl-accent); outline-offset: 2px; border-radius: 4px; }

.etl-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.etl-icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.etl-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.etl-skip:focus { left: 8px; top: 8px; }

/* ---------- Кнопки ---------- */
.etl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
	background: var(--etl-primary); color: #fff; font: 600 15px/1 var(--etl-font);
	cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap;
}
.etl-btn:hover { background: var(--etl-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11, 95, 165, .25); }
.etl-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.etl-btn--light { background: #fff; color: var(--etl-navy); }
.etl-btn--light:hover { background: #e8f3fb; color: var(--etl-navy); }
.etl-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.etl-btn--ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px #fff; }
.etl-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: 15px; }

/* ---------- Верхняя строка и шапка ---------- */
.etl-topbar { background: var(--etl-navy); color: #c4d3e3; font-size: 13px; }
.etl-topbar__inner { display: flex; gap: 24px; justify-content: flex-end; min-height: 36px; align-items: center; }
.etl-topbar__item { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
a.etl-topbar__item:hover { color: #fff; }
.etl-topbar__item:first-child { margin-right: auto; }
.etl-show-sm { display: none !important; }

.etl-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--etl-line); }
.admin-bar .etl-header { top: 32px; }
.etl-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.etl-logo { display: flex; align-items: center; gap: 12px; color: var(--etl-ink); flex: none; }
.etl-logo:hover { color: var(--etl-ink); }
.etl-logo__img { max-height: 56px; width: auto; }
.etl-logo__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--etl-primary), var(--etl-accent)); color: #fff; font-size: 22px; }
.etl-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.etl-logo__name { font-size: 22px; font-weight: 800; letter-spacing: .01em; }
.etl-logo__tag { font-size: 12px; color: var(--etl-muted); max-width: 230px; }

.etl-nav { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: flex-end; }
.etl-menu, .etl-menu ul { list-style: none; margin: 0; padding: 0; }
.etl-menu { display: flex; gap: 4px; }
.etl-menu > li { position: relative; }
.etl-menu a { display: flex; align-items: center; gap: 6px; padding: 10px 12px; white-space: nowrap; border-radius: 10px; color: var(--etl-ink); font-weight: 600; font-size: 15px; }
.etl-menu a:hover, .etl-menu .menu-item-type-taxonomy.current-menu-item > a, .etl-menu .current-menu-ancestor > a { color: var(--etl-primary); background: #eef5fb; }
.etl-menu .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .6; }
.etl-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px;
	background: #fff; border: 1px solid var(--etl-line); border-radius: var(--etl-radius); box-shadow: var(--etl-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.etl-menu li:hover > .sub-menu, .etl-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.etl-menu .sub-menu a { font-weight: 500; }
.etl-nav__contacts { display: flex; align-items: center; gap: 14px; }
.etl-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--etl-ink); font-weight: 700; white-space: nowrap; }
.etl-phone .etl-icon { color: var(--etl-primary); }
.etl-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--etl-line); border-radius: 12px; background: #fff; color: var(--etl-ink); font-size: 22px; cursor: pointer; }
.etl-burger__close { display: none; }
.etl-nav-open .etl-burger__open { display: none; }
.etl-nav-open .etl-burger__close { display: inline; }

/* ---------- Первый экран ---------- */
.etl-hero {
	position: relative; overflow: hidden; color: #dbe7f3;
	background: radial-gradient(1000px 500px at 85% 30%, rgba(19, 165, 181, .35), transparent 60%), linear-gradient(135deg, #0a2540 0%, #0b3a66 60%, #0b5fa5 100%);
}
.etl-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.etl-hero h1 { color: #fff; max-width: 15em; }
.etl-kicker { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #bfe6ec; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.etl-hero__lead { font-size: 18px; max-width: 34em; margin-bottom: 30px; }
.etl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.etl-hero__art { display: grid; place-items: center; }
.etl-lens { position: relative; width: min(340px, 80%); aspect-ratio: 1; display: grid; place-items: center; }
.etl-lens__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); }
.etl-lens__ring--2 { inset: 14%; border-color: rgba(191, 230, 236, .35); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .16), transparent 60%); }
.etl-lens__ring--3 { inset: 30%; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.etl-lens__icon { position: relative; width: 30%; height: 30%; color: #fff; stroke-width: 1.4; }

/* ---------- Секции ---------- */
.etl-section { padding: 72px 0; }
.etl-section__head { max-width: 640px; margin-bottom: 32px; }
.etl-section__head p { color: var(--etl-muted); font-size: 17px; }
.etl-card { background: var(--etl-card); border: 1px solid var(--etl-line); border-radius: var(--etl-radius); box-shadow: var(--etl-shadow); padding: 28px; }
.etl-count { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: #e9f0f7; color: var(--etl-muted); font-size: 12px; font-weight: 700; }

/* Направления */
.etl-dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.etl-dir { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--etl-line); border-radius: var(--etl-radius); box-shadow: var(--etl-shadow); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.etl-dir:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(14, 30, 46, .06), 0 16px 36px rgba(14, 30, 46, .1); }
.etl-dir__main { display: flex; flex-direction: column; gap: 10px; padding: 28px; color: var(--etl-text); flex: 1; }
.etl-dir__main:hover { color: var(--etl-text); }
.etl-dir__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #e3f0fb, #dff5f7); color: var(--etl-primary); font-size: 28px; }
.etl-dir__name { font-size: 22px; font-weight: 700; color: var(--etl-ink); }
.etl-dir__desc { color: var(--etl-muted); font-size: 15px; }
.etl-dir__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--etl-primary); font-weight: 600; }
.etl-dir__subs { list-style: none; margin: 0; padding: 6px 14px 14px; border-top: 1px solid var(--etl-line); }
.etl-dir__subs a { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-radius: 10px; color: var(--etl-ink); font-weight: 500; }
.etl-dir__subs a:hover { background: var(--etl-bg); color: var(--etl-primary); }

/* Текст страницы (о компании и т. п.) */
.etl-about { background: #fff; border-top: 1px solid var(--etl-line); border-bottom: 1px solid var(--etl-line); }
.etl-content > * { max-width: 100%; }
.etl-content--narrow { max-width: 820px; }
.etl-content .etl-lead, .etl-lead { font-size: 19px; color: var(--etl-ink); max-width: 46em; }
.etl-content .wp-block-columns { gap: 28px; margin-top: 36px; }
.etl-content .etl-two-lists { display: grid !important; grid-template-columns: 1fr 1fr; align-items: stretch !important; }
.etl-two-lists > .wp-block-column { margin: 0 !important; min-width: 0; background: var(--etl-bg); border-radius: var(--etl-radius); padding: 28px; }
.etl-checklist { list-style: none; padding: 0; margin: 0; }
.etl-checklist li { position: relative; padding: 8px 0 8px 36px; border-bottom: 1px dashed var(--etl-line); }
.etl-checklist li:last-child { border-bottom: 0; }
.etl-checklist li::before {
	content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--etl-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.etl-draft-note { padding: 14px 18px; border-radius: 10px; background: #fff6df; border: 1px solid #f0d58a; color: #6b5200; }

/* Контакты */
.etl-contacts__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.etl-contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.etl-contact-list li { display: flex; gap: 16px; align-items: center; }
.etl-contact-list small { display: block; color: var(--etl-muted); font-size: 13px; }
.etl-contact-list a, .etl-contact-list li > span:last-child { font-size: 18px; font-weight: 600; color: var(--etl-ink); }
.etl-contact-list__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #e6f1fa; color: var(--etl-primary); font-size: 22px; flex: none; }

/* ---------- Шапка внутренних страниц ---------- */
.etl-pagehead { background: linear-gradient(135deg, #0a2540, #0b4a80); color: #cfdeed; padding: 28px 0 40px; }
.etl-pagehead h1 { color: #fff; margin-bottom: .3em; }
.etl-pagehead__row { display: flex; gap: 22px; align-items: flex-start; }
.etl-pagehead__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 32px; flex: none; margin-top: 4px; }
.etl-pagehead__desc { max-width: 52em; font-size: 17px; }
.etl-pagehead__desc p:last-child { margin: 0; }
.etl-crumbs { font-size: 14px; margin-bottom: 18px; color: #9fb6cc; }
.etl-crumbs a { color: #cfe3f5; }
.etl-crumbs a:hover { color: #fff; }
.etl-crumbs .sep { margin: 0 8px; opacity: .5; }

/* ---------- Каталог ---------- */
.etl-catalog > * { min-width: 0; }
.etl-catalog { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding-top: 36px; padding-bottom: 72px; align-items: start; }
.etl-sidenav { position: sticky; top: 100px; background: #fff; border: 1px solid var(--etl-line); border-radius: var(--etl-radius); padding: 14px; box-shadow: var(--etl-shadow); }
.admin-bar .etl-sidenav { top: 132px; }
.etl-sidenav__title { padding: 6px 10px 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--etl-muted); }
.etl-sidenav ul { list-style: none; margin: 0; padding: 0; }
.etl-sidenav ul ul { margin: 2px 0 6px 30px; border-left: 2px solid var(--etl-line); padding-left: 6px; }
.etl-sidenav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--etl-ink); font-weight: 600; font-size: 15px; line-height: 1.3; }
.etl-sidenav ul ul a { font-weight: 500; font-size: 14px; }
.etl-sidenav a > span:first-of-type, .etl-sidenav a > span:only-of-type { flex: 1; }
.etl-sidenav a .etl-icon { color: var(--etl-primary); font-size: 18px; }
.etl-sidenav a:hover { background: var(--etl-bg); color: var(--etl-primary); }
.etl-sidenav .is-current > a { background: var(--etl-primary); color: #fff; }
.etl-sidenav .is-current > a .etl-icon { color: #fff; }
.etl-sidenav .is-current > a .etl-count { background: rgba(255, 255, 255, .2); color: #fff; }

.etl-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.etl-chips a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--etl-line); color: var(--etl-ink); font-weight: 600; font-size: 14px; }
.etl-chips a:hover { border-color: var(--etl-primary); color: var(--etl-primary); }

.etl-group + .etl-group { margin-top: 44px; }
.etl-group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.etl-group__head h2 { margin: 0; font-size: 24px; }
.etl-group__head h2 a { color: var(--etl-ink); }
.etl-group__head h2 a:hover { color: var(--etl-primary); }

.etl-item { display: grid; grid-template-columns: 280px 1fr; gap: 0; background: #fff; border: 1px solid var(--etl-line); border-radius: var(--etl-radius); box-shadow: var(--etl-shadow); overflow: hidden; scroll-margin-top: 110px; }
.etl-item + .etl-item { margin-top: 16px; }
.etl-item__media { background: linear-gradient(160deg, #f5f9fc, #e8f0f7); border-right: 1px solid var(--etl-line); display: flex; align-items: center; justify-content: center; min-height: 220px; }
.etl-item__media { flex-direction: column; background: #fff; }
.etl-item__media:has(.etl-ph) { background: linear-gradient(160deg, #f5f9fc, #e8f0f7); }
.etl-item__photo { display: flex; align-items: center; justify-content: center; width: 100%; flex: 1; cursor: zoom-in; }
.etl-item__photo img { width: 100%; height: 100%; max-height: 260px; object-fit: contain; padding: 10px; }
.etl-thumbs { display: flex; gap: 6px; padding: 0 10px 10px; width: 100%; justify-content: center; }
.etl-thumb { width: 52px; height: 40px; padding: 0; border: 1.5px solid var(--etl-line); border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; }
.etl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.etl-thumb.is-active, .etl-thumb:hover { border-color: var(--etl-primary); }
.etl-zoom { width: min(1200px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 16px; background: #fff; }
.etl-zoom::backdrop { background: rgba(10, 37, 64, .8); }
.etl-zoom[open] { position: fixed; overflow: hidden; }
.etl-zoom img { width: 100%; height: auto; max-height: calc(100vh - 48px); object-fit: contain; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.etl-zoom .etl-dialog__close { z-index: 1; }
.etl-zoom__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
	display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .92); color: var(--etl-ink); font-size: 26px; cursor: pointer;
	box-shadow: 0 2px 10px rgba(10, 37, 64, .25); transition: background .15s;
}
.etl-zoom__nav:hover { background: #fff; color: var(--etl-primary); }
.etl-zoom__nav--prev { left: 12px; }
.etl-zoom__nav--next { right: 12px; }
.etl-zoom__count { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: rgba(10, 37, 64, .7); color: #fff; font-size: 13px; font-weight: 600; }
.etl-zoom__count:empty, .etl-zoom.is-single .etl-zoom__nav { display: none; }
.etl-hero__photo { justify-self: end; width: min(480px, 100%); background: #fff; border-radius: 24px; padding: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.etl-hero__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 14px; }
.etl-dir__photo { display: block; background: #fff; border-bottom: 1px solid var(--etl-line); }
.etl-dir__photo img { width: 100%; height: 190px; object-fit: contain; padding: 12px; }
.etl-ph { display: flex; flex-direction: column; align-items: center; gap: 14px; color: #9db3c7; }
.etl-ph__icon { width: 76px; height: 76px; stroke-width: 1.2; }
.etl-ph__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.etl-item__body { padding: 24px 28px; min-width: 0; }
.etl-item__title { font-size: 20px; margin-bottom: 8px; }
.etl-item__text { color: var(--etl-text); }
.etl-item__text p:last-child { margin-bottom: 0; }
.etl-specs { margin: 16px 0 0; font-size: 14px; }
.etl-specs__row { display: grid; grid-template-columns: minmax(120px, 230px) 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--etl-line); }
.etl-specs dt { color: var(--etl-muted); }
.etl-specs dd { margin: 0; color: var(--etl-ink); font-weight: 500; overflow-wrap: anywhere; }
.etl-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.etl-tags li { padding: 6px 12px; border-radius: 8px; background: var(--etl-bg); border: 1px solid var(--etl-line); font-size: 14px; font-weight: 500; color: var(--etl-ink); }
.etl-item__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }
.etl-empty { padding: 28px; background: #fff; border: 1px dashed var(--etl-line); border-radius: var(--etl-radius); color: var(--etl-muted); }

/* ---------- Блок «Не нашли» ---------- */
.etl-cta { background: linear-gradient(135deg, #0a2540, #0b4a80); color: #cfdeed; padding: 72px 0; }
.etl-cta__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.etl-cta h2 { color: #fff; }
.etl-cta__text p { font-size: 17px; }
.etl-phone--big { color: #fff; font-size: 24px; margin-top: 8px; }
.etl-phone--big .etl-icon { color: #7fd6df; }
.etl-phone--big:hover { color: #fff; }
.etl-cta__form { color: var(--etl-text); }

/* ---------- Форма ---------- */
.etl-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.etl-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.etl-field--wide { grid-column: 1 / -1; }
.etl-field label { font-size: 14px; font-weight: 600; color: var(--etl-ink); }
.etl-field .req { color: var(--etl-err); }
.etl-field input, .etl-field textarea {
	width: 100%; padding: 12px 14px; border: 1px solid #cbd6e1; border-radius: 10px; background: #fbfdff;
	font: inherit; font-size: 16px; color: var(--etl-ink); transition: border-color .15s, box-shadow .15s;
}
.etl-field textarea { resize: vertical; min-height: 90px; }
.etl-field input:focus, .etl-field textarea:focus { outline: none; border-color: var(--etl-primary); box-shadow: 0 0 0 3px rgba(11, 95, 165, .15); background: #fff; }
.etl-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.etl-consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 18px; font-size: 14px; color: var(--etl-muted); }
.etl-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--etl-primary); }
.etl-form__hint { margin: 12px 0 0; font-size: 13px; color: var(--etl-muted); }
.etl-notice { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.etl-notice--ok { background: #e5f5ec; color: var(--etl-ok); border: 1px solid #b6e0c7; }
.etl-notice--error { background: #fdecea; color: var(--etl-err); border: 1px solid #f3c2bd; }

/* ---------- Окно запроса ---------- */
.etl-dialog { width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 32px; border: 0; border-radius: 18px; box-shadow: 0 24px 64px rgba(0, 0, 0, .3); color: var(--etl-text); }
.etl-dialog::backdrop { background: rgba(10, 37, 64, .55); backdrop-filter: blur(2px); }
.etl-dialog__title { font-size: 24px; margin-right: 40px; }
.etl-dialog__lead { color: var(--etl-muted); }
.etl-dialog__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--etl-bg); color: var(--etl-ink); font-size: 20px; cursor: pointer; }
.etl-dialog__close:hover { background: var(--etl-line); }

/* ---------- Подвал ---------- */
.etl-footer { background: #071a2e; color: #9fb3c8; font-size: 15px; }
.etl-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.etl-footer__name { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.etl-footer__title { color: #fff; font-weight: 700; margin-bottom: 14px; }
.etl-footer a { color: #cfe0f0; }
.etl-footer a:hover { color: #fff; }
.etl-footer__menu, .etl-footer__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.etl-footer__contacts li { display: flex; gap: 10px; align-items: center; }
.etl-footer__contacts .etl-icon { color: var(--etl-accent); }
.etl-footer__req { font-size: 13px; }
.etl-footer__warn { font-size: 12px; text-transform: uppercase; letter-spacing: .02em; color: #c4d3e3; }
.etl-medwarn { margin: 0 0 24px; padding: 16px 20px; border: 2px solid #c98a12; border-radius: var(--etl-radius); background: #fff8e8; color: var(--etl-ink); }
.etl-medwarn__for { margin: 0 0 6px; font-size: 14px; color: var(--etl-muted); }
.etl-medwarn__text { margin: 0; font-weight: 800; font-size: clamp(15px, 1.6vw, 19px); line-height: 1.35; text-transform: uppercase; }
.etl-specs__row--ru dd { font-weight: 600; }
.etl-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

@media (max-width: 1280px) {
	.etl-logo__tag { display: none; }
	.etl-nav { gap: 12px; }
	.etl-menu a { padding: 10px 9px; }
}

/* ---------- Планшеты ---------- */
@media (max-width: 1080px) {
	.etl-burger { display: inline-grid; place-items: center; }
	.etl-nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 60;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px;
		padding: 88px 20px 28px; background: #fff; box-shadow: -12px 0 40px rgba(0, 0, 0, .15);
		visibility: hidden; opacity: 0; transition: opacity .18s ease, visibility .18s; overflow-y: auto;
	}
	.etl-header { backdrop-filter: none; background: #fff; }
	.etl-nav-open .etl-header { z-index: 60; }
	.etl-nav-open .etl-nav { visibility: visible; opacity: 1; }
	.etl-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 37, 64, .45); z-index: 50; }
	.etl-burger { position: relative; z-index: 70; }
	.etl-menu { flex-direction: column; }
	.etl-menu a { font-size: 17px; padding: 12px; }
	.etl-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.etl-menu .sub-menu a { font-size: 15px; padding: 9px 12px; }
	.etl-menu .menu-item-has-children > a::after { display: none; }
	.etl-nav__contacts { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 16px; border-top: 1px solid var(--etl-line); }
	.etl-nav__contacts .etl-phone { justify-content: center; font-size: 18px; }
	.etl-nav__contacts .etl-btn { min-height: 46px; }

	.etl-dir-grid { grid-template-columns: 1fr 1fr; }
	.etl-catalog { grid-template-columns: 1fr; }
	.etl-sidenav { position: static; padding: 10px; }
	.etl-sidenav > ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
	.etl-sidenav ul ul { display: contents; }
	.etl-sidenav li { display: contents; }
	.etl-sidenav a { white-space: nowrap; flex: none; }
	.etl-sidenav a { border: 1px solid var(--etl-line); }
	.etl-sidenav ul ul a .etl-count { display: none; }
}

/* ---------- Смартфоны ---------- */
@media (max-width: 782px) {
	.admin-bar .etl-header { top: 46px; }
}
@media (max-width: 720px) {
	body { font-size: 15px; }
	.etl-wrap { padding: 0 16px; }
	.etl-hide-sm { display: none !important; }
	.etl-show-sm { display: inline-flex !important; font-weight: 700; color: #fff; }
	.etl-topbar__inner { gap: 14px; justify-content: space-between; }
	.etl-topbar__item:first-child { margin-right: 0; }
	.etl-header__inner { min-height: 64px; gap: 12px; }
	.etl-logo__mark { width: 38px; height: 38px; font-size: 19px; }
	.etl-logo__name { font-size: 19px; }
	.etl-logo__tag { display: none; }
	.etl-hero__grid { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 52px; }
	.etl-hero__art { display: none; }
	.etl-hero__photo { justify-self: stretch; width: 100%; padding: 10px; border-radius: 18px; }
	.etl-hero__photo img { aspect-ratio: 3 / 2; }
	.etl-hero__lead { font-size: 16px; }
	.etl-hero__actions .etl-btn { flex: 1 1 140px; }
	.etl-section { padding: 48px 0; }
	.etl-dir-grid { grid-template-columns: 1fr; }
	.etl-contacts__grid, .etl-cta__grid { grid-template-columns: 1fr; gap: 28px; }
	.etl-card { padding: 20px; }
	.etl-content .etl-two-lists { grid-template-columns: 1fr; gap: 16px; }
	.etl-two-lists > .wp-block-column { padding: 20px; }
	.etl-pagehead { padding: 20px 0 28px; }
	.etl-pagehead__icon { display: none; }
	.etl-item { grid-template-columns: 1fr; }
	.etl-item__media { border-right: 0; border-bottom: 1px solid var(--etl-line); min-height: 150px; }
	.etl-ph__icon { width: 56px; height: 56px; }
	.etl-item__body { padding: 20px; }
	.etl-item__title { font-size: 18px; }
	.etl-specs__row { grid-template-columns: 42% 1fr; gap: 10px; }
	.etl-item__actions .etl-btn { flex: 1; }
	.etl-form__grid { grid-template-columns: 1fr; }
	.etl-cta { padding: 48px 0; }
	.etl-dialog { padding: 24px 18px; }
	.etl-zoom__nav { width: 40px; height: 40px; font-size: 22px; }
	.etl-zoom__nav--prev { left: 6px; }
	.etl-zoom__nav--next { right: 6px; }
	.etl-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
