/* =========================================================
 * U17 Theme — Pixel-aligned to plc-sensors.com reference
 * All values verified via browser computed-style extraction
 * =======================================================*/

/* ---------- RESET + BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  /* Reference body color: rgb(0,0,0) + bg transparent */
  --u17-bg:          transparent;
  --u17-body-c:      #000;
  --u17-link:        #222;
  --u17-link-hover:  #F7B500;        /* reference cta bg */
  --u17-white:       #fff;

  /* CTA button — EXACTLY reference: padding 16px 57px, bg #FFD447, border 2px, radius 5px */
  --u17-cta-bg:      #FFD447;
  --u17-cta-c:       #222;
  --u17-cta-p:       16px 57px;
  --u17-cta-radius:  5px;
  --u17-cta-border:  2px solid #FFD447;

  /* Selling point bg — reference: #FAF9FE + radius 10px + padding 30px */
  --u17-sell-bg:      #FAF9FE;
  --u17-sell-p:       30px;
  --u17-sell-radius:  10px;

  /* Brand wall item bg — reference: rgba(206,211,220,.5) */
  --u17-brand-bg:      rgba(206,211,220, 0.5);
  --u17-brand-bg-alt:  rgba(206,211,220, 0.8);

  /* Typography */
  --u17-ff-sans:  "Roboto Slab", "Roboto Slab Regular", Arial, Helvetica, sans-serif;
  --u17-h1:       40px;   /* reference Hero h1 */
  --u17-h3:       24px;   /* reference card title */
  --u17-h2:       30px;
  --u17-sell-t:   20px;
  --u17-body:     14px;   /* reference base */
  --u17-lh:       1.5;

  /* Layout */
  --u17-container: 1760px;  /* reference MAX — NOT 1200px */
  --u17-header-h:  80px;

  /* Mobile breakpoint 1024/768/480 */
  --u17-md:  768px;
  --u17-lg:  1024px;
  --u17-xl:  1280px;
}

body {
  background: var(--u17-bg);
  color: var(--u17-body-c);
  font-family: var(--u17-ff-sans);
  font-size: var(--u17-body);
  line-height: var(--u17-lh);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--u17-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--u17-link-hover); }
ul { list-style: none; }

/* ---------- CONTAINER — reference: max-width 1760px, no padding ---------- */
.u17-container, .container, .mml-row {
  max-width: var(--u17-container);
  margin: 0 auto;
  padding: 0 var(--u17-gutter, 20px);
}

/* =========================================================
 * HEADER — reference: 80px, bg #fff, logo + centered nav
 * =======================================================*/
.u17-header {
  position: sticky; top: 0; z-index: 999;
  height: var(--u17-header-h);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.u17-header__topbar { display: none; }  /* reference has NO topbar */
.u17-header__main {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  max-width: var(--u17-container);
  margin: 0 auto; padding: 0 20px;
}
.u17-header__brand { font-size: 0; line-height: 0; }
.u17-header__brand img { height: 56px; width: auto; }

.u17-header__nav ul { display: flex; gap: 36px; }
.u17-header__nav li { position: relative; }
.u17-header__nav a {
  font-size: 14px; font-weight: 400; color: #222; text-transform: uppercase;
  padding: 30px 0; letter-spacing: .3px;
}
.u17-header__nav a:hover { color: var(--u17-link-hover); }

.u17-header__burger { display: none; cursor: pointer; font-size: 24px; background: 0; border: 0; }

/* =========================================================
 * HERO — reference: bg image 1920×800, overlay dark, H1 40px bold white,
 *          sub 16px white, CTA amber 16px 57px radius 5px
 * =======================================================*/
.u17-hero {
  position: relative;
  background-image: var(--u17-hero-bg, url('/wp-content/themes/U17/assets/img/hero-bg.jpg'));
  background-size: cover; background-position: center;
  min-height: 540px; padding: 80px 0;
  color: #fff; display: flex; align-items: center;
}
.u17-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 100%);
}
.u17-hero__inner { position: relative; z-index: 1; max-width: 900px; padding: 0 20px; margin: 0 auto; }
.u17-hero__title {
  font-size: 40px; font-weight: 700; color: #fff; line-height: 1.25;
  font-family: var(--u17-ff-sans);
  margin-bottom: 20px;
}
.u17-hero__sub {
  font-size: 16px; color: #fff; line-height: 1.6;
  margin-bottom: 36px; max-width: 720px; opacity: .92;
}
.u17-hero__cta {
  display: inline-block;
  background: var(--u17-cta-bg);
  color: var(--u17-cta-c);
  padding: var(--u17-cta-p);
  border-radius: var(--u17-cta-radius);
  border: var(--u17-cta-border);
  font-size: 16px; font-weight: 700;
  letter-spacing: .5px; text-transform: none;
  box-shadow: none;
  transition: transform .2s, box-shadow .2s;
}
.u17-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,212,71,.35); color: var(--u17-cta-c); }

/* =========================================================
 * SECTION: category cards — reference: 380×285 image + 24px bold #222 title + item div
 * =======================================================*/
.u17-cats { padding: 60px 0 40px; }
.u17-cats__grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
.u17-cat-card {
  display: block; text-align: left;
}
.u17-cat-card .img {
  width: 100%; aspect-ratio: 380 / 285; overflow: hidden;
}
.u17-cat-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.u17-cat-card:hover .img img { transform: scale(1.06); }
.u17-cat-card h3 {
  font-size: 24px; font-weight: 700; color: #222; margin: 14px 0 0;
}
.u17-cat-card h3:hover { color: var(--u17-link-hover); }

/* =========================================================
 * SECTION: selling points — reference: bg #FAF9FE, padding 30px, radius 10px, title 20px bold
 * =======================================================*/
.u17-sells { padding: 60px 0; }
.u17-sells__title { text-align: center; font-size: 30px; font-weight: 700; color: #222; margin-bottom: 40px; }
.u17-sells__grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
.u17-sell-item {
  background: var(--u17-sell-bg);
  padding: var(--u17-sell-p);
  border-radius: var(--u17-sell-radius);
  transition: box-shadow .2s, transform .2s;
}
.u17-sell-item:hover { box-shadow: 0 6px 18px rgba(11,42,74,.08); transform: translateY(-2px); }
.u17-sell-item__icon {
  width: 64px; height: 64px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%;
}
.u17-sell-item__icon svg, .u17-sell-item__icon img { width: 40px; height: 40px; }
.u17-sell-item__title { font-size: 20px; font-weight: 700; color: #222; margin-bottom: 8px; }
.u17-sell-item__desc { font-size: 14px; color: #555; line-height: 1.6; }

/* =========================================================
 * SECTION: brand wall — reference: item bg rgba(206,211,220,.5), link 236×200 flex center
 * =======================================================*/
.u17-brand { padding: 80px 0; text-align: center; }
.u17-brand__title { font-size: 30px; font-weight: 700; color: #222; margin-bottom: 40px; }
.u17-brand__grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.u17-brand__item {
  background: var(--u17-brand-bg);
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  font-size: 18px; font-weight: 700; color: #222; letter-spacing: .5px;
  transition: background .2s;
}
.u17-brand__item:hover { background: var(--u17-brand-bg-alt); }

/* =========================================================
 * SECTION: FAQ
 * =======================================================*/
.u17-faq { padding: 60px 0; }
.u17-faq__title { text-align: center; font-size: 30px; font-weight: 700; color: #222; margin-bottom: 40px; }
.u17-faq__item { border-bottom: 1px solid #eee; }
.u17-faq__q {
  width: 100%; background: 0; border: 0; padding: 20px 0; text-align: left;
  font-size: 16px; font-weight: 700; color: #222; font-family: inherit;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.u17-faq__q::after { content: '+'; font-size: 24px; color: var(--u17-link-hover); font-weight: 400; }
.u17-faq__item[open] .u17-faq__q::after { content: '–'; }
.u17-faq__a { padding: 0 0 20px; font-size: 14px; color: #555; line-height: 1.7; }

/* =========================================================
 * SECTION: Footer — reference: bottom bar 75px, white bg
 * =======================================================*/
.u17-footer {
  background: #111; color: #fff; padding: 60px 0 0;
}
.u17-footer h4 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.u17-footer p, .u17-footer li { color: #aaa; font-size: 14px; line-height: 1.8; }
.u17-footer a { color: #aaa; }
.u17-footer a:hover { color: var(--u17-link-hover); }
.u17-footer__grid {
  display: grid; gap: 40px;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 0 40px;
  max-width: var(--u17-container); margin: 0 auto;
}
.u17-footer__bottom {
  background: #0a0a0a; height: 75px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #888; max-width: var(--u17-container); margin: 0 auto; padding: 0 20px;
}

/* =========================================================
 * PRODUCT SINGLE
 * =======================================================*/
.u17-product { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.u17-product__header { margin-bottom: 40px; }
.u17-product__brand {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--u17-link-hover);
  background: rgba(247,181,0,.12); padding: 4px 10px; border-radius: 3px; margin-bottom: 14px; letter-spacing: .5px; text-transform: uppercase;
}
.u17-product__title { font-size: 34px; font-weight: 700; color: #222; line-height: 1.2; margin-bottom: 14px; }
.u17-product__sku { font-size: 14px; color: #666; margin-bottom: 14px; }
.u17-product__meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; color: #444; }
.u17-product__meta strong { color: #222; }

.u17-product__highlights, .u17-product__specs, .u17-product__content { padding: 30px 0; border-top: 1px solid #eee; }
.u17-product__highlights h2, .u17-product__specs h2, .u17-product__content h2 {
  font-size: 22px; font-weight: 700; color: #222; margin-bottom: 18px;
}
.u17-product__highlights ul { list-style: none; }
.u17-product__highlights li {
  padding: 10px 0 10px 24px; position: relative; color: #333; font-size: 15px; line-height: 1.6;
}
.u17-product__highlights li::before { content: '✓'; position: absolute; left: 0; color: #2e8b57; font-weight: 700; }

.u17-product__specs table { width: 100%; border-collapse: collapse; }
.u17-product__specs th, .u17-product__specs td {
  padding: 12px 16px; border: 1px solid #eee; text-align: left; font-size: 14px;
}
.u17-product__specs th { background: #f7f8fa; font-weight: 600; color: #222; width: 200px; }
.u17-product__specs td { color: #444; }

.u17-product__footer { padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }

/* =========================================================
 * ARCHIVE / PAGINATION
 * =======================================================*/
.u17-cards {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px 0 60px;
}
.u17-card {
  background: #fff; border: 1px solid #eee; border-radius: 4px; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.u17-card:hover { box-shadow: 0 6px 18px rgba(11,42,74,.08); transform: translateY(-2px); }
.u17-card__img { aspect-ratio: 4/3; overflow: hidden; background: #f4f6fa; }
.u17-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.u17-card:hover .u17-card__img img { transform: scale(1.06); }
.u17-card__body { padding: 18px 20px; }
.u17-card__title { font-size: 17px; font-weight: 700; color: #222; margin-bottom: 6px; line-height: 1.3; }
.u17-card__sku { font-size: 13px; color: #888; font-family: ui-monospace, monospace; }

/* =========================================================
 * CONTACT FORM
 * =======================================================*/
.u17-form { max-width: 720px; margin: 40px auto; background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 2px 20px rgba(0,0,0,.04); }
.u17-form__row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.u17-form__col { flex: 1 1 260px; }
.u17-form__col--narrow { flex: 0 0 110px; }
.u17-form__label { display: block; font-size: 14px; font-weight: 600; color: #222; margin-bottom: 8px; }
.u17-form__input {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid #d0d7de; border-radius: 6px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.u17-form__input:focus { outline: 0; border-color: var(--u17-link-hover); box-shadow: 0 0 0 3px rgba(247,181,0,.18); }
.u17-form__textarea { min-height: 120px; resize: vertical; }
.u17-form__actions { display: flex; gap: 16px; align-items: center; margin-top: 10px; }
.u17-form__submit {
  background: var(--u17-cta-bg); color: var(--u17-cta-c); border: 0;
  padding: 14px 48px; font-size: 16px; font-weight: 700; border-radius: 5px;
  cursor: pointer; font-family: inherit; transition: transform .2s, box-shadow .2s;
}
.u17-form__submit:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,212,71,.35); }
.u17-form__submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.u17-form__status { font-size: 14px; }
.u17-form__status--ok { color: #2e8b57; }
.u17-form__status--err { color: #c0392b; }

/* =========================================================
 * BUTTONS (universal)
 * =======================================================*/
.u17-btn {
  display: inline-block; background: var(--u17-cta-bg); color: var(--u17-cta-c);
  padding: var(--u17-cta-p); border-radius: var(--u17-cta-radius);
  font-size: 16px; font-weight: 700; text-decoration: none; letter-spacing: .5px;
  transition: transform .2s, box-shadow .2s;
}
.u17-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,212,71,.35); color: var(--u17-cta-c); }
.u17-btn--ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.u17-btn--ghost:hover { background: #fff; color: #222; }

/* =========================================================
 * BREADCRUMB
 * =======================================================*/
.u17-breadcrumb { font-size: 13px; color: #888; padding: 20px 20px 0; max-width: var(--u17-container); margin: 0 auto; }
.u17-breadcrumb a { color: #888; }
.u17-breadcrumb a:hover { color: var(--u17-link-hover); }

/* =========================================================
 * PAGINATION
 * =======================================================*/
.u17-pagination { display: flex; gap: 10px; justify-content: center; padding: 40px 0; font-size: 14px; }
.u17-pagination a, .u17-pagination span { padding: 8px 14px; border: 1px solid #ddd; border-radius: 4px; }
.u17-pagination .current { background: var(--u17-link-hover); color: #222; border-color: var(--u17-link-hover); }

/* =========================================================
 * RESPONSIVE — mobile first
 * =======================================================*/
@media (max-width: 1280px) {
  :root { --u17-container: 1440px; }
  .u17-cats__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  :root { --u17-container: 960px; }
  .u17-header__nav { display: none; }
  .u17-header__burger { display: block; }
  .u17-header.is-open .u17-header__nav {
    display: block; position: absolute; top: 80px; left: 0; right: 0; background: #fff;
    border-top: 1px solid #eee; padding: 20px; box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .u17-header.is-open .u17-header__nav ul { flex-direction: column; gap: 4px; }
  .u17-header.is-open .u17-header__nav a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .u17-cats__grid { grid-template-columns: repeat(2, 1fr); }
  .u17-sells__grid { grid-template-columns: repeat(2, 1fr); }
  .u17-cards { grid-template-columns: repeat(2, 1fr); }
  .u17-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  :root { --u17-h1: 28px; --u17-h2: 22px; --u17-h3: 20px; }
  .u17-hero { min-height: 420px; padding: 60px 0; }
  .u17-hero__title { font-size: 28px; }
  .u17-hero__cta { padding: 12px 32px; font-size: 15px; }
  .u17-cats__grid { grid-template-columns: 1fr; }
  .u17-sells__grid { grid-template-columns: 1fr; }
  .u17-cards { grid-template-columns: 1fr; }
  .u17-footer__grid { grid-template-columns: 1fr; }
  .u17-form { padding: 24px; margin: 20px 10px; }
  .u17-product__title { font-size: 24px; }
}

/* ---------- Roboto Slab font fallback (GDPR-safe, no inline tracking) ---------- */
.u17-hero__title, .u17-hero__sub, .u17-sell-item__title, .u17-footer h4 { font-family: var(--u17-ff-sans); }
/* ==========================================================================
   HEADER REDESIGN — SmartNexMSK style
   top-strip (tagline + email/tel/EN) + nav-bar (logo + primary nav + burger)
   ========================================================================== */

/* --- fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --u17-header-h: 106px;             /* SmartNexMSK: 106px total */
    --u17-topstrip-h: 32px;           /* 106 - 74 = 32 */
    --u17-navbar-h: calc(var(--u17-header-h) - var(--u17-topstrip-h));
    --u17-header-bg: rgba(255,255,255,0.96);
    --u17-header-border: rgba(0,0,0,0.06);
    --u17-header-fg: #1a1a1a;
    --u17-header-fg-muted: #5a5a62;
    --u17-header-accent: #1e40af;       /* deep blue for active/highlight */
    --u17-mega-bg: #ffffff;
    --u17-mega-border: rgba(0,0,0,0.05);
}

.u17-shell { max-width: 1380px; margin: 0 auto; padding: 0 20px; }

/* sticky header with shadow on scroll — handled inline via .is-sticky */
.u17-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 1px 0 var(--u17-header-border);
}
.u17-site-header.is-sticky { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

/* ========== TOP STRIP ========== */
.u17-top-strip {
    height: var(--u17-topstrip-h);
    background: #0f172a;
    color: #cbd5e1;
    font-size: 13px;
    line-height: var(--u17-topstrip-h);
    font-family: 'Inter', system-ui, sans-serif;
}
.u17-top-strip-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.u17-top-strip-lead { display: inline-flex; align-items: center; gap: 8px; }
.u17-top-strip-tag { letter-spacing: 0.3px; font-weight: 500; }
.u17-top-strip-links { display: inline-flex; align-items: center; gap: 22px; }
.u17-top-strip-links a { color: #cbd5e1; text-decoration: none; transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.u17-top-strip-links a:hover { color: #fff; }
.u17-top-strip-lang { color: #94a3b8; font-weight: 600; font-size: 12px; }

/* ========== NAV BAR ========== */
.u17-nav-bar {
    height: var(--u17-navbar-h);
    background: var(--u17-header-bg);
    backdrop-filter: saturate(1.4) blur(8px);
    border-bottom: 1px solid var(--u17-header-border);
}
.u17-nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
    gap: 24px;
}

/* logo */
.u17-site-logo {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.3px;
    white-space: nowrap;
    flex: 0 0 auto;
}
.u17-site-logo:hover { color: var(--u17-header-accent); }

/* ========== PRIMARY NAV ========== */
.u17-primary-nav { flex: 1; display: flex; justify-content: flex-end; }
.u17-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0; padding: 0;
    list-style: none;
    font-family: 'Inter', system-ui, sans-serif;
}
.u17-nav > li { position: relative; }
.u17-nav > li > a {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 12px 14px;
    color: var(--u17-header-fg);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-radius: 6px;
    transition: color .2s, background .2s;
    position: relative;
}
.u17-nav > li > a:hover {
    color: var(--u17-header-accent);
    background: rgba(30,64,175,0.06);
}
.u17-nav > li.u17-has-children > a::after {
    content: '▾';
    margin-left: 2px;
    font-size: 12px;
    opacity: 0.7;
    transition: transform .2s;
}
.u17-nav > li.u17-has-children:hover > a::after { transform: translateY(2px); opacity: 1; }

/* active state */
.u17-nav > li.current-menu-item > a,
.u17-nav > li.current-menu-parent > a { color: var(--u17-header-accent); }

/* ========== MEGA DROPDOWN ========== */
.u17-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    pointer-events: none;
}
.u17-nav > li.u17-has-children:hover > .u17-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.u17-mega {
    background: var(--u17-mega-bg);
    border-radius: 10px;
    box-shadow: 0 20px 40px -12px rgba(15,23,42,0.18), 0 0 0 1px var(--u17-mega-border);
    padding: 22px 26px;
    min-width: 640px;
    max-width: 900px;
}
.u17-mega__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 4px 18px;
}
.u17-mega__item a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--u17-header-fg);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.u17-mega__item a:hover {
    background: rgba(30,64,175,0.06);
    color: var(--u17-header-accent);
}

/* ========== BURGER ========== */
.u17-burger {
    display: none;
    width: 40px; height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-radius: 6px;
}
.u17-burger span {
    display: block;
    width: 22px; height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
    margin: 0 auto;
}
.u17-site-header.is-open .u17-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.u17-site-header.is-open .u17-burger span:nth-child(2) { opacity: 0; }
.u17-site-header.is-open .u17-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .u17-nav > li > a { padding: 10px 10px; font-size: 14px; }
}
@media (max-width: 900px) {
    .u17-top-strip-links a:not(:first-child) { display: none; }  /* hide email on mobile */
    .u17-primary-nav {
        position: fixed;
        top: var(--u17-header-h); left: 0; right: 0;
        background: #fff;
        height: calc(100vh - var(--u17-header-h));
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 998;
        box-shadow: -8px 0 20px rgba(0,0,0,0.08);
    }
    .u17-site-header.is-open .u17-primary-nav { transform: translateX(0); }
    .u17-nav { flex-direction: column; align-items: stretch; gap: 0; padding: 12px; }
    .u17-nav > li { border-bottom: 1px solid #e5e7eb; }
    .u17-nav > li > a {
        padding: 14px 16px;
        border-radius: 0;
        font-size: 16px;
        width: 100%;
        justify-content: space-between;
    }
    .u17-dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        background: #f8fafc;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        pointer-events: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s;
    }
    .u17-site-header.is-open .u17-has-children > .u17-dropdown { max-height: 800px; padding: 8px 0; }
    .u17-mega { box-shadow: none; padding: 0; border-radius: 0; background: transparent; }
    .u17-mega__grid { grid-template-columns: 1fr; }
    .u17-mega__item a { padding: 12px 32px; font-size: 15px; }
    .u17-burger { display: flex; }
}
@media (max-width: 480px) {
    .u17-top-strip { font-size: 12px; }
    .u17-top-strip-links .u17-top-strip-lang { display: none; }
    .u17-site-logo__text { font-size: 18px; }
}
