/* =========================================================================
   130.com.ua — new design (test only, ?nd=1)
   Part 1: tokens, base, header, catalogue menu, footer, mobile tab bar.
   Everything is scoped to body.nd so the old main.css keeps styling the
   page content that has not been redesigned yet.
   ========================================================================= */
/* Fonts: own files (Inter, Manrope — SIL Open Font License 1.1, https://openfontlicense.org), variable woff2 from fonts.google.com,
   only the weights the design uses: Inter 400–700, Manrope 700–800; the browser loads only the subsets a page needs. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-v20-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-v20-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-v20-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-v20-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(fonts/manrope-v23-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(fonts/manrope-v23-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(fonts/manrope-v23-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(fonts/manrope-v23-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* product photos are <picture>: the picture itself takes no box, the img lays out as before */
picture { display: contents; }
picture > source { display: none; }
.nd .nd-ap__text picture { display: inline; } /* article texts: their pictures keep the browser default */

:root {
  --nd-green-sign: #1a7034;   /* header band, plates — like the logo */
  --nd-green: #1e7f3a;        /* "Купить" buttons (white text 5:1) */
  --nd-green-tint: #e9f5ec;
  --nd-navy: #16457a;         /* blue signs, links */
  --nd-navy-tint: #eef3fa;
  --nd-orange: #c2410c;       /* trunk, final order step */
  --nd-red: #b42318;          /* sale price, errors */
  --nd-sale: #c8102e;
  --nd-text: #1b2430;
  --nd-text-2: #5b6675;
  --nd-text-3: #6b7584;
  --nd-bg: #f3f5f8;
  --nd-line: #e3e7ec;
  --nd-field: #c9d1db;
  --nd-dark: #10223a;
  --nd-r-sm: 10px;
  --nd-r: 12px;
  --nd-r-lg: 16px;
  --nd-shadow: 0 18px 48px rgba(16, 34, 58, .22);
  --nd-font: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --nd-font-h: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  --nd-wrap: 1600px;
}

/* ---------- base ---------- */
html { scroll-padding-top: 16px; }
body.nd { font-family: var(--nd-font); color: var(--nd-text); background: var(--nd-bg); font-size: 15px; line-height: 1.5; -webkit-text-size-adjust: 100%; }
body.nd #bg_top { display: none; }
.nd .nd-wrap { max-width: var(--nd-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.nd .nd-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nd .nd-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: var(--nd-r-sm); background: #fff; color: var(--nd-navy); font-weight: 600; }
.nd .nd-skip:focus { top: 12px; }
.nd :focus-visible { outline: 3px solid #f5c400; outline-offset: 2px; }
.nd a { color: var(--nd-navy); }
.nd button { font-family: inherit; cursor: pointer; }
.nd .nd-page { min-height: 100vh; display: flex; flex-direction: column; }
.nd main.nd-main { width: auto; flex: 1 0 auto; max-width: var(--nd-wrap); width: 100%; margin: 0 auto; padding: 20px 24px 40px; box-sizing: border-box; }
.nd [hidden] { display: none !important; }



/* ---------- search ---------- */
.nd .nd-sf { margin: 0; }
.nd .nd-sf__box { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 6px 0 14px; border-radius: var(--nd-r); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); box-sizing: border-box; }
.nd .nd-sf__ico { color: var(--nd-text-2); flex: none; }
.nd .nd-sf input[type="search"] { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: none; font: 16px var(--nd-font); color: var(--nd-text); padding: 0; }
.nd .nd-sf input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.nd .nd-sf__btn { height: 40px; padding: 0 18px; border: 0; border-radius: 9px; background: var(--nd-navy); color: #fff; font: 600 16px var(--nd-font); flex: none; }
.nd .nd-sf__voice { width: 40px; height: 40px; border: 0; border-radius: 9px; background: none; color: var(--nd-text-2); display: flex; align-items: center; justify-content: center; flex: none; }
.nd .nd-sf__voice.is-on { color: var(--nd-red); }
.nd .nd-sf__spin { width: 18px; height: 18px; border: 2px solid var(--nd-line); border-top-color: var(--nd-navy); border-radius: 50%; animation: nd-spin .8s linear infinite; flex: none; }
.nd .nd-sf__incat { display: flex; align-items: center; gap: 6px; flex: none; height: 32px; padding: 0 10px; border-radius: 8px; background: var(--nd-bg); color: var(--nd-text-2); font-size: 13px; white-space: nowrap; }
.nd .nd-sf__incat label { cursor: pointer; }
.nd #search_in_cat { position: static !important; width: 16px; height: 16px; margin: 0; accent-color: var(--nd-green); opacity: 1; display: inline-block; }
.nd .nd-sf__incat:has(input:checked) { background: var(--nd-green-tint); color: #145c2a; font-weight: 600; }
@keyframes nd-spin { to { transform: rotate(360deg); } }
.nd .autocomplete-suggestions { border-radius: var(--nd-r); box-shadow: var(--nd-shadow); border: 1px solid var(--nd-line) !important; background: #fff; overflow: auto; }

/* ---------- catalogue menu (desktop: mega menu, 3 columns) ---------- */
.nd .nd-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; }
.nd-menu-open .nd-mega { box-shadow: 0 0 0 100vmax rgba(16, 34, 58, .45); clip-path: inset(0 -100vmax -100vmax -100vmax); }
.nd .nd-menu { display: grid; grid-template-columns: 300px 1fr 360px; background: #fff; border-radius: 0 0 var(--nd-r-lg) var(--nd-r-lg); box-shadow: var(--nd-shadow); overflow: hidden; max-height: calc(100vh - 170px); }
.nd .nd-menu__bar { display: none; }
.nd .nd-l1 { padding: 10px; border-right: 1px solid var(--nd-line); overflow: auto; }
.nd .nd-l1 ul, .nd .nd-l2__list { list-style: none; margin: 0; padding: 0; }
.nd .nd-l1__a { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: var(--nd-r-sm); color: var(--nd-text); font-size: 14px; font-weight: 500; text-decoration: none; }
.nd .nd-l1__a:hover, .nd .nd-l1__a:focus-visible { background: #eef6f0; text-decoration: none; }
.nd .nd-l1__a.is-active { background: var(--nd-green-sign); color: #fff; }
.nd .nd-l1__n { flex: 1; }
.nd .nd-ico { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--nd-green-tint); color: var(--nd-green-sign); display: flex; align-items: center; justify-content: center; }
.nd .nd-l1__a.is-active .nd-ico { background: rgba(255,255,255,.16); color: #fff; }
.nd .nd-ico--lg { width: 44px; height: 44px; border-radius: var(--nd-r); background: var(--nd-green-sign); color: #fff; }
.nd .nd-chev { flex: none; opacity: .7; }
.nd .nd-l2wrap { padding: 22px 26px; overflow: auto; }
.nd .nd-l2__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.nd .nd-l2__t { margin: 0; font: 800 21px/1.2 var(--nd-font-h); }
.nd .nd-l2__all { font-size: 14px; font-weight: 600; }
.nd .nd-l2__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; }
.nd .nd-l2__a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: var(--nd-r-sm); color: var(--nd-text); font-size: 15px; text-decoration: none; }
.nd .nd-l2__a[data-has]::after { content: ""; width: 7px; height: 7px; border: solid var(--nd-text-3); border-width: 2px 2px 0 0; transform: rotate(45deg); flex: none; }
.nd .nd-l2__a:hover, .nd .nd-l2__a.is-active { background: var(--nd-green-tint); color: #145c2a; text-decoration: none; }
.nd .nd-l2__a.is-active { font-weight: 600; }
.nd .nd-l3 { display: block; padding: 22px; background: #f7f9fb; border-left: 1px solid var(--nd-line); overflow: auto; }
.nd .nd-l3__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.nd .nd-l3__t { margin: 0; font: 800 17px/1.3 var(--nd-font-h); }
.nd .nd-l3__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.nd .nd-l3__list a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: var(--nd-r-sm); background: #fff; border: 1px solid var(--nd-line); color: var(--nd-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.nd .nd-l3__list a span { color: var(--nd-text-2); font-weight: 400; font-size: 13px; }
.nd .nd-l3__list a:hover { background: var(--nd-green-tint); }
.nd .nd-l3__more { display: flex; align-items: center; justify-content: center; margin-top: 14px; height: 46px; border-radius: var(--nd-r); background: var(--nd-green); color: #fff !important; font-weight: 700; text-decoration: none !important; }

/* ---------- footer ---------- */
.nd footer.nd-ft { margin-top: 24px; background: var(--nd-dark); color: #c8d3e1; font-size: 14px; }
.nd .nd-ft__in { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 28px; padding-top: 40px; padding-bottom: 32px; }
.nd .nd-ft h3 { margin: 0 0 10px; font: 700 16px var(--nd-font-h); color: #fff; }
.nd .nd-ft ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nd .nd-ft a { color: #c8d3e1; }
.nd .nd-ft a:hover { color: #fff; }
.nd .nd-ft span { color: #fff; }
.nd .nd-ft p { margin: 0 0 10px; }
.nd .nd-ft__brand img { height: 64px; width: auto; display: block; margin-bottom: 12px; }
.nd .nd-ft__phone { display: block; font: 800 22px var(--nd-font-h); color: #fff !important; margin-bottom: 6px; }
.nd .nd-ft__phones { display: flex; flex-direction: column; gap: 4px; }
.nd .nd-ft__phones a:first-child { display: none; }
.nd .nd-ft__info li span, .nd .nd-ft__info > ul > span { display: block; }
.nd .nd-ft__join .footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.nd .nd-ft__join .footer-social a { width: 40px; height: 40px; border-radius: var(--nd-r-sm); background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nd .nd-ft__join .footer-social img { width: 22px; height: 22px; }
.nd .nd-ft__langs { display: flex; gap: 4px; }
.nd .nd-ft__langs a, .nd .nd-ft__langs span { min-width: 40px; height: 32px; padding: 0 8px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.nd .nd-ft__langs span { background: #fff; color: var(--nd-dark); font-weight: 700; }
.nd .nd-ft__bottom { border-top: 1px solid #22385a; font-size: 13px; color: #9fb0c6; }
.nd .nd-ft__bottom .nd-wrap { padding-top: 16px; padding-bottom: 16px; }

/* ---------- mobile tab bar ---------- */
.nd .nd-tabbar { display: none; }

/* ---------- old floating Viber button: keep it clear of the tab bar ---------- */
.nd .viber-chat-btn { z-index: 40; }

/* =================== responsive =================== */
@media (max-width: 1023px) {
  body.nd { padding-bottom: 64px; }
  .nd .nd-wrap { padding: 0 16px; }
  .nd main.nd-main { padding: 14px 16px 24px; }

  /* catalogue: full-screen sheet with levels */
  .nd .nd-mega { position: fixed; inset: 0; z-index: 200; background: #fff; overflow: hidden; }
  .nd-menu-open { overflow: hidden; }
  .nd-menu-open .nd-mega { box-shadow: none; clip-path: none; }
  .nd .nd-mega > .nd-wrap { padding: 0; height: 100%; }
  .nd .nd-menu { display: flex; flex-direction: column; height: 100%; max-height: none; border-radius: 0; box-shadow: none; }
  .nd .nd-menu__bar { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 10px 12px; background: var(--nd-green-sign); color: #fff; flex: none; }
  .nd .nd-menu__bar button { width: 44px; height: 44px; border: 0; border-radius: var(--nd-r); background: rgba(255,255,255,.16); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
  .nd .nd-menu__title { flex: 1; margin: 0; font: 800 18px/1.2 var(--nd-font-h); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nd .nd-l1, .nd .nd-l2wrap, .nd .nd-l3 { flex: 1; overflow: auto; border: 0; padding: 8px; background: #fff; }
  .nd .nd-l1__a { min-height: 44px; padding: 3px 8px; font-size: 15px; }
  .nd .nd-l1__a.is-active { background: none; color: var(--nd-text); }
  .nd .nd-l1__a.is-active .nd-ico { background: var(--nd-green-tint); color: var(--nd-green-sign); }
  .nd .nd-ico { width: 36px; height: 36px; border-radius: var(--nd-r-sm); }
  .nd .nd-menu[data-level="1"] .nd-l2wrap, .nd .nd-menu[data-level="1"] .nd-l3 { display: none; }
  .nd .nd-menu[data-level="2"] .nd-l1, .nd .nd-menu[data-level="2"] .nd-l3 { display: none; }
  .nd .nd-menu[data-level="3"] .nd-l1, .nd .nd-menu[data-level="3"] .nd-l2wrap { display: none; }
  .nd .nd-l2__head { display: none; }
  .nd .nd-l2__list { grid-template-columns: 1fr; }
  .nd .nd-l2__a { min-height: 48px; }
  .nd .nd-l3 { padding: 16px; }
  .nd .nd-l3__list a { min-height: 44px; }

  /* footer */
  .nd .nd-ft__in { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 28px; }
  .nd .nd-ft__brand { grid-column: 1 / -1; }

  /* tab bar */
  .nd .nd-tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; height: 64px; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--nd-line); }
  .nd .nd-tabbar a, .nd .nd-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; color: var(--nd-text-2); font: 11px var(--nd-font); text-decoration: none; }
  .nd .nd-tabbar [aria-current], .nd .nd-tabbar [aria-expanded="true"] { color: var(--nd-green); font-weight: 600; }
  .nd .viber-chat-btn { bottom: 150px !important; }
}
@media (max-width: 639px) {
  .nd .nd-ft__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .nd *, .nd *::before, .nd *::after { animation: none !important; transition: none !important; }
}
.nd .nd-l2__allm { display: none; }
@media (max-width: 1023px) {
  .nd .nd-l2__allm { display: block; margin-bottom: 6px; }
  .nd .nd-l2__a--all { border: 1px solid var(--nd-field); color: var(--nd-navy); font-weight: 600; }
}
.nd .nd-sf__incat { position: static !important; }
.nd #searchstring { padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; width: auto !important; height: 40px !important; }
@media (max-width: 1023px) {
  .nd .nd-sf__incat { display: none; }
  /* Binotel chat + Viber: above the tab bar */
  .nd #bwc-widget-action { bottom: 84px !important; }
  .nd #bwc-chat-cloud-message { bottom: 84px !important; }
  .nd #bwc-chat-omnichannel { bottom: 230px !important; }
}
@media (max-width: 1023px) {
  .nd .nd-l1, .nd .nd-l2wrap, .nd .nd-l3 { padding-bottom: 80px; }
}

/* ---- review fixes, step 1 ---- */
.nd .nd-sf__voice { position: static !important; left: auto !important; top: auto !important; background: none !important; padding: 0 !important; opacity: 1 !important; }
.nd .nd-sf__spin { display: none; }
.nd :focus-visible { outline: 3px solid #f5c400; outline-offset: 2px; box-shadow: 0 0 0 6px #10223a; }
.nd .nd-menu { grid-template-columns: 290px 1fr 400px; }
@media (max-width: 1180px) {
  .nd .nd-sf__incat { display: none; }
}
@media (max-width: 1023px) {
  .nd .nd-mega { z-index: 300; }
  .nd .nd-ft li a, .nd .nd-ft__info ul > span { min-height: 44px; display: flex; align-items: center; }
  .nd .nd-ft__langs a, .nd .nd-ft__langs span { min-height: 44px; min-width: 48px; }
  .nd .nd-ft__phones a { min-height: 44px; display: flex; align-items: center; }
}
.nd .nd-l3__load { margin: 0; color: var(--nd-text-2); }
.nd .nd-sf__incat { display: none !important; }   /* "search in this category" moves to the category page */
/* ---- compact footer on phones: sections fold, phones in a row ---- */
@media (max-width: 1023px) {
  .nd .nd-ft__in { gap: 0 16px; padding-top: 20px; padding-bottom: 12px; }
  .nd .nd-ft__brand { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding-bottom: 14px; }
  .nd .nd-ft__brand img { grid-row: 1 / span 2; height: 52px; margin: 0; }
  .nd .nd-ft__brand .nd-ft__phone { margin: 0; font-size: 20px; }
  .nd .nd-ft__brand > p { margin: 0; font-size: 12px; }
  .nd .nd-ft__phones { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 0 14px; margin-top: 6px; }
  .nd .nd-ft__phones a { min-height: 40px; font-size: 13px; }
  .nd .nd-ft__info, .nd .nd-ft__pop { grid-column: 1 / -1; border-top: 1px solid #22385a; }
  .nd .nd-ft__info h3, .nd .nd-ft__pop h3 { margin: 0; min-height: 50px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
  .nd .nd-ft__info h3::after, .nd .nd-ft__pop h3::after { content: ""; width: 8px; height: 8px; border: solid #9fb0c6; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-right: 4px; transition: transform .2s; }
  .nd .nd-ft__info.is-open h3::after, .nd .nd-ft__pop.is-open h3::after { transform: rotate(-135deg); }
  .nd .nd-ft__info:not(.is-open) > :not(h3), .nd .nd-ft__pop:not(.is-open) > :not(h3) { display: none !important; }
  .nd .nd-ft__info.is-open ul, .nd .nd-ft__pop.is-open ul { padding-bottom: 10px; }
  .nd .nd-ft__col:last-child { grid-column: 1 / -1; border-top: 1px solid #22385a; padding-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
  .nd .nd-ft__col:last-child > h3 { margin: 0; grid-column: 1 / -1; font-size: 14px; }
  .nd .nd-ft__col:last-child > p:first-of-type { grid-column: 1 / -1; font-size: 13px; margin: 0 0 6px; }
  .nd .nd-ft__join h3 { display: none; }
  .nd .nd-ft__join .footer-social { margin: 0; }
  .nd .nd-ft__langs { margin: 0; }
  .nd .nd-ft__bottom { font-size: 12px; }
  .nd .nd-ft__bottom .nd-wrap { padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 1023px) { .nd .nd-ft__bottom .nd-wrap { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } }

/* ---- menu lighter (owner, 2026-11-17): regular weights, smaller titles, calmer tiles ---- */
.nd .nd-l1__a { font-weight: 400; font-size: 14px; padding: 5px 10px; }
.nd .nd-l1__a.is-active { font-weight: 500; }
.nd .nd-l2__t { font: 700 19px/1.25 var(--nd-font-h); }
.nd .nd-l2__all { font-weight: 500; }
.nd .nd-l2__a { font-size: 14px; font-weight: 400; min-height: 36px; }
.nd .nd-l2__a.is-active { font-weight: 500; }
.nd .nd-l3__t { font: 700 15px/1.3 var(--nd-font-h); }
.nd .nd-l3__g { margin: 14px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--nd-text-2); }
.nd .nd-l3__head + .nd-l3__g { margin-top: 0; }
.nd .nd-l3__list { gap: 4px 6px; }
.nd .nd-l3__list a { min-height: 34px; padding: 6px 10px; font-size: 13px; font-weight: 400; line-height: 1.25; }
.nd .nd-l3__list a span { font-size: 12px; color: var(--nd-text-3); }
.nd .nd-l3__list--subs { grid-template-columns: 1fr; }
.nd .nd-l3__list--subs a { background: none; border-color: transparent; padding-left: 8px; font-weight: 500; }
.nd .nd-l3__list--subs a:hover { background: #fff; border-color: var(--nd-line); }
.nd .nd-l3__more { height: 42px; font-weight: 600; font-size: 14px; }
@media (max-width: 1023px) {
  .nd .nd-l1__a { font-size: 15px; }
  .nd .nd-l2__a { font-size: 15px; min-height: 48px; }
  .nd .nd-l3__list a { min-height: 44px; font-size: 14px; }
}

/* brands as logos in the menu (names stay as alt/title) */
.nd .nd-l3__list--logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.nd .nd-l3__list--logos .nd-l3__logo { position: relative; display: flex; align-items: center; justify-content: center; height: 56px; min-height: 0; padding: 6px 10px; box-sizing: border-box; background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-r-sm); }
.nd .nd-l3__list--logos .nd-l3__logo img { display: block; max-width: 100%; max-height: 34px; width: auto; height: auto; object-fit: contain; }
.nd .nd-l3__list--logos .nd-l3__logo span { position: absolute; right: 5px; bottom: 2px; font-size: 10px; line-height: 1; color: var(--nd-text-3); }
.nd .nd-l3__list--logos .nd-l3__logo:hover { border-color: var(--nd-green-sign); background: #fff; }
.nd .nd-l3__list--logos .nd-l3__logo--txt { font-size: 12px; font-weight: 500; text-align: center; line-height: 1.2; color: var(--nd-text); }
@media (max-width: 1023px) {
  .nd .nd-l3__list--logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nd .nd-l3__list--logos .nd-l3__logo { height: 60px; min-height: 0; }
}

/* ---- menu, tester round (2026-11-17) ---- */
/* columns scroll inside the menu box instead of being cut off */
.nd .nd-menu { grid-template-rows: minmax(0, 1fr); }
.nd .nd-l1, .nd .nd-l2wrap, .nd .nd-l3 { min-height: 0; overscroll-behavior: contain; }
.nd .nd-home__cats .nd-l2wrap, .nd .nd-home__cats .nd-l3 { max-height: calc(100vh - 140px); overflow: auto; overscroll-behavior: contain; }
.nd .nd-l3__list a { box-sizing: border-box; }
.nd .nd-l3__list--subs a { padding-left: 10px; }
@media (min-width: 1024px) and (max-width: 1279px) { .nd .nd-l2__list { grid-template-columns: 1fr; } .nd .nd-menu { grid-template-columns: 260px 1fr 340px; } }
/* near-square logos get more height so they stay readable */
.nd .nd-l3__list--logos .nd-l3__logo--sq { height: 64px; }
.nd .nd-l3__list--logos .nd-l3__logo--sq img { max-height: 46px; }
/* chat widget does not cover the open menu */
.nd-menu-open [id^="bwc-"], .nd-menu-open .viber-chat-btn { visibility: hidden !important; }
@media (max-width: 1023px) {
  .nd .nd-l3__head { display: none; }
  .nd .nd-l1__a.is-active { font-weight: 400; }
}
/* subcategories: a compact list (owner: too much space in big sections) */
.nd .nd-l3__list--subs { gap: 0; }
.nd .nd-l3__list--subs a { min-height: 30px; padding: 5px 10px; font-size: 13px; line-height: 1.3; }
@media (max-width: 1023px) { .nd .nd-l3__list--subs a { min-height: 44px; font-size: 14px; } }

/* ---------- after «Купити»: note (mockup Cards "Подсказка после «Купить»"), one-click order dialog ---------- */
.nd-added { position: fixed; z-index: 10050; top: 96px; right: 24px; width: 340px; max-width: calc(100vw - 32px); box-sizing: border-box; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(16, 34, 58, .22); padding: 16px; display: flex; flex-direction: column; gap: 12px; font: 400 15px/1.4 var(--nd-font); color: var(--nd-text); }
.nd-added[hidden] { display: none; }
.nd-added__top { display: flex; gap: 12px; align-items: center; }
.nd-added__img { width: 56px; height: 56px; border-radius: 10px; background: var(--nd-bg); object-fit: contain; flex: none; mix-blend-mode: multiply; }
.nd-added__img[hidden] { display: none; }
.nd-added__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.nd-added__h { color: #145c2a; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.nd-added__name { font-size: 13px; color: #3b4654; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nd-added__x { align-self: flex-start; width: 32px; height: 32px; margin: -6px -6px 0 0; border: 0; border-radius: 8px; background: none; color: var(--nd-text-2); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; padding: 0; }
.nd-added__x:hover { background: var(--nd-bg); }
.nd-added__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nd-added__cont, .nd-added__go { height: 44px; border-radius: 12px; font: 600 14px/1.2 var(--nd-font); display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer; text-decoration: none !important; padding: 0 8px; }
.nd-added__cont { border: 1px solid var(--nd-field); background: #fff; color: var(--nd-text); }
.nd-added__cont:hover { background: var(--nd-bg); }
.nd-added__go { background: var(--nd-orange); color: #fff !important; font-weight: 700; border: 0; }
.nd-added__go:hover { background: #a3360a; }
.nd-added :focus-visible { outline: 2px solid var(--nd-navy); outline-offset: 2px; }
@media (max-width: 1023px) {
  .nd-added { top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); left: 16px; right: 16px; width: auto; max-width: none; }
  html.nd-buybar-on .nd-added { bottom: calc(148px + env(safe-area-inset-bottom)); }
}
.nd-added.is-err .nd-added__h { color: var(--nd-red); }
.nd-added.is-err .nd-added__h svg { display: none; }
.nd .nd-btn--buy.is-busy, .nd .nd-buy__main.is-busy { opacity: .7; cursor: progress; }
/* buy buttons once the product is in the cart */
.nd .nd-btn--buy.is-in, .nd .nd-buy__main.is-in { background: #eef6f0 !important; color: #145c2a !important; border: 1px solid var(--nd-green) !important; gap: 6px; }
.nd .nd-btn--buy.is-in:hover { background: #e2f0e6 !important; }

.nd-qo { width: 420px; max-width: calc(100vw - 32px); box-sizing: border-box; border: 0; border-radius: 20px; padding: 0; box-shadow: var(--nd-shadow); color: var(--nd-text); font: 400 15px/1.5 var(--nd-font); }
.nd-qo__in { padding: 24px; }
.nd-qo::backdrop { background: rgba(16, 34, 58, .45); }
.nd-qo__f, .nd-qo__done { display: flex; flex-direction: column; gap: 10px; position: relative; margin: 0; }
.nd-qo__f[hidden], .nd-qo__done[hidden] { display: none; }
.nd-qo__done { align-items: center; text-align: center; outline: none; }
.nd-qo__x { position: absolute; top: -12px; right: -12px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--nd-text-2); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.nd-qo__x:hover { background: var(--nd-bg); }
.nd-qo__h { margin: 0 32px 0 0 !important; font: 800 22px/1.25 var(--nd-font-h) !important; color: var(--nd-text) !important; text-align: left !important; }
.nd-qo__done .nd-qo__h { margin: 0 !important; text-align: center !important; }
.nd-qo__p, .nd-qo__note, .nd-qo__num { margin: 0; }
.nd-qo__p, .nd-qo__note { color: var(--nd-text-2); font-size: 14px; }
.nd-qo__num { font-size: 17px; }
.nd-qo__l { font: 500 14px/1.4 var(--nd-font); margin-top: 4px; }
.nd-qo #nd-qo-phone { width: 100%; height: 48px; box-sizing: border-box; margin: 0; border: 1px solid var(--nd-field); border-radius: 12px; padding: 0 14px; font: 400 16px/1.3 var(--nd-font); color: var(--nd-text); background: #fff; }
.nd-qo #nd-qo-phone:focus { outline: 2px solid var(--nd-navy) !important; outline-offset: 1px !important; border-color: var(--nd-navy); }
.nd-qo #nd-qo-phone[aria-invalid=true] { border-color: var(--nd-red); background: #fff7f6; }
.nd-qo__err { color: var(--nd-red); font-size: 13px; }
.nd-qo__err:empty { display: none; }
.nd-qo__go { height: 52px; width: 100%; border: 0; border-radius: 12px; background: var(--nd-orange); color: #fff; font: 700 16px/1 var(--nd-font); cursor: pointer; }
.nd-qo__go:hover:not(:disabled) { background: #a3360a; }
.nd-qo__go:disabled { opacity: .75; cursor: progress; }
.nd-qo__done .nd-qo__go { background: var(--nd-navy); margin-top: 6px; }
.nd-qo__ok { width: 56px; height: 56px; border-radius: 50%; background: var(--nd-green-tint); color: var(--nd-green); display: flex; align-items: center; justify-content: center; }
.nd-qo :focus-visible { outline: 2px solid var(--nd-navy); outline-offset: 2px; }
html.nd-added-on #bwc-widget-action, html.nd-added-on #bwc-chat-cloud-message, html.nd-added-on #bwc-chat-omnichannel, html.nd-added-on .viber-chat-btn { visibility: hidden !important; }
.nd-qo.is-fallback { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10060; margin: 0; }
html.nd-qo-on #bwc-widget-action, html.nd-qo-on #bwc-chat-cloud-message, html.nd-qo-on #bwc-chat-omnichannel, html.nd-qo-on .viber-chat-btn { visibility: hidden !important; }
/* search suggestions (new design, autosearch_nd.php) */
.nd .autocomplete-suggestions { max-height: min(70vh, 560px); padding: 6px 0; }
.nd .autocomplete-suggestion { padding: 0 !important; cursor: pointer; border: 0 !important; background: none !important; }
.nd .autocomplete-suggestion.autocomplete-selected .nd-ac { background: var(--nd-bg); }
.nd .nd-ac { display: flex; align-items: center; gap: 12px; padding: 8px 14px; color: var(--nd-text); font: 400 14px/1.35 var(--nd-font); text-align: left; }
.nd .nd-ac--cat { min-height: 40px; color: var(--nd-navy); font-weight: 600; }
.nd .nd-ac--cat svg { flex: none; color: var(--nd-green); }
.nd .nd-ac--cat small { margin-left: auto; color: var(--nd-text-2); font-weight: 400; font-size: 12px; }
.nd .nd-ac--prod img, .nd .nd-ac__noimg { flex: none; width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #fff; }
.nd .nd-ac__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nd .nd-ac__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nd .nd-ac__st { font-size: 12px; color: var(--nd-text-2); }
.nd .nd-ac__st--0, .nd .nd-ac__st--1 { color: var(--nd-green); }
.nd .nd-ac__price { flex: none; margin-left: 8px; }
.nd .nd-ac__price img { display: block; }
.nd .nd-ac--all { justify-content: center; min-height: 44px; margin-top: 4px; border-top: 1px solid var(--nd-line); color: var(--nd-navy); font-weight: 600; }
@media (max-width: 639px) { .nd .nd-ac--prod img, .nd .nd-ac__noimg { width: 44px; height: 44px; } .nd .nd-ac { gap: 10px; padding: 8px 12px; } }
/* suggestions under the whole search box, above the header and menus; compact rows (2026-11-18) */
.nd .nd-sf { position: relative; }
.nd .nd-sf .autocomplete-suggestions { position: absolute !important; top: calc(100% + 6px) !important; left: 0 !important; right: 0; width: 100% !important; z-index: 1000 !important; box-sizing: border-box; }
@media (min-width: 1024px) { .nd .nd-sf .autocomplete-suggestions { min-width: 460px; } }
.nd .autocomplete-suggestion { height: auto !important; min-height: 0 !important; line-height: normal !important; margin: 0 !important; white-space: normal !important; overflow: visible !important; }
.nd .nd-ac--cat { min-height: 0; padding-top: 7px; padding-bottom: 7px; }
.nd .nd-ac--cat + .nd-ac--prod, .nd .autocomplete-suggestion:has(.nd-ac--cat) + .autocomplete-suggestion:has(.nd-ac--prod) { border-top: 1px solid var(--nd-line); }
.nd .nd-ac--prod { padding-top: 6px; padding-bottom: 6px; }
.nd .autocomplete-suggestions::-webkit-scrollbar { width: 8px; }
.nd .autocomplete-suggestions::-webkit-scrollbar-thumb { background: var(--nd-line); border-radius: 4px; }
/* the old main.css hides every span inside the search component (.cpt_product_search span): not in the suggestions */
.nd .cpt_product_search .nd-ac span { position: static; }
.nd .cpt_product_search .nd-ac--cat > span { display: block; flex: 1; min-width: 0; }
.nd .cpt_product_search .nd-ac__txt { display: flex; }
.nd .cpt_product_search .nd-ac__name { display: -webkit-box; }
.nd .cpt_product_search .nd-ac__price, .nd .cpt_product_search .nd-ac__noimg { display: block; }
/* names up to 3 lines (sizes like «500 мм» at the end stay visible); "all results" always visible at the bottom */
.nd .nd-ac__name { -webkit-line-clamp: 3; }
.nd .autocomplete-suggestion:has(.nd-ac--all) { position: sticky; bottom: -6px; background: #fff !important; }
/* "page not found" (2026-11-18) */
.nd .nd-404 { display: flex; flex-direction: column; gap: 28px; }
.nd .nd-404 .nd-crumbs { margin: 0; }
.nd .nd-404__card { display: flex; align-items: center; gap: 40px; padding: 40px; background: #fff; border: 1px solid var(--nd-line); border-radius: 20px; }
.nd .nd-404__sign { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nd .nd-404__sign svg { width: 140px; height: 140px; }
.nd .nd-404__sign b { font: 800 40px/1 var(--nd-font-h); color: var(--nd-text); letter-spacing: .04em; }
.nd .nd-404__txt { min-width: 0; max-width: 680px; }
.nd .nd-404__txt h1 { margin: 0 0 10px !important; font: 800 30px/1.2 var(--nd-font-h) !important; color: var(--nd-text) !important; text-align: left !important; }
.nd .nd-404__txt p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: var(--nd-text-2); }
.nd .nd-404__url code { font-size: 14px; word-break: break-all; color: var(--nd-text); background: var(--nd-bg); padding: 2px 6px; border-radius: 6px; }
.nd .nd-404__search { display: flex; gap: 8px; max-width: 560px; margin: 4px 0 14px; }
.nd .nd-404__search input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--nd-field); border-radius: 12px; font: 16px var(--nd-font); color: var(--nd-text); background: #fff; }
.nd .nd-404__search input:focus { outline: 3px solid var(--nd-green-tint); border-color: var(--nd-green); }
.nd .nd-404__search button { flex: none; height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--nd-navy); color: #fff; font: 600 16px var(--nd-font); cursor: pointer; }
.nd .nd-404__links a { color: var(--nd-navy) !important; font-weight: 600; }
@media (max-width: 767px) {
  .nd .nd-404__card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; }
  .nd .nd-404__txt { width: 100%; }
  .nd .nd-404__search button { padding: 0 16px; }
  .nd .nd-404__sign { flex-direction: row; gap: 14px; }
  .nd .nd-404__sign svg { width: 64px; height: 64px; }
  .nd .nd-404__sign b { font-size: 32px; }
  .nd .nd-404__txt h1 { font-size: 24px !important; }
}
/* account pages: sign in (login.html), and the old register / remind-password pages styled the same (2026-11-18) */
.nd .nd-acc { display: flex; flex-direction: column; gap: 16px; }
.nd .nd-acc .nd-crumbs { margin: 0; }
.nd .nd-acc__card, .nd .cpt_maincontent > .register-form-container { width: 100%; max-width: 480px; margin: 0 auto; padding: 32px; box-sizing: border-box; background: #fff; border: 1px solid var(--nd-line); border-radius: 20px; }
.nd .nd-acc__card .register-form-container { all: unset; display: block; }
.nd .nd-acc__h1, .nd .cpt_maincontent > h1 { margin: 0 0 18px !important; padding: 0 !important; font: 800 30px/1.2 var(--nd-font-h) !important; color: var(--nd-text) !important; text-align: left !important; background: none !important; }
.nd .cpt_maincontent > h1 { max-width: 480px; margin: 8px auto 16px !important; }
.nd .register-form-container .flex-outer { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 14px; }
.nd .register-form-container .flex-outer li { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 6px; margin: 0 !important; padding: 0 !important; background: none !important; }
.nd .register-form-container .flex-outer li::before { content: none !important; }
.nd .register-form-container .flex-outer label { flex: none !important; width: auto !important; max-width: none !important; padding: 0 !important; font: 600 14px/1.3 var(--nd-font) !important; color: var(--nd-text) !important; text-align: left !important; }
.nd .register-form-container input[type="text"], .nd .register-form-container input[type="password"], .nd .register-form-container input[type="email"], .nd .register-form-container input[type="tel"], .nd .register-form-container select, .nd .register-form-container textarea { width: 100% !important; max-width: none !important; height: 48px; padding: 0 14px !important; box-sizing: border-box; border: 1px solid var(--nd-field) !important; border-radius: 12px !important; background: #fff !important; font: 16px var(--nd-font) !important; color: var(--nd-text) !important; box-shadow: none !important; }
.nd .register-form-container textarea { height: auto; min-height: 96px; padding: 10px 14px !important; }
.nd .register-form-container input:focus, .nd .register-form-container select:focus, .nd .register-form-container textarea:focus { outline: 3px solid var(--nd-green-tint); border-color: var(--nd-green) !important; }
.nd .register-form-container input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--nd-green); }
.nd .register-form-container button[type="submit"], .nd .register-form-container input[type="submit"], .nd .register-form-container .normal-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 100% !important; min-height: 48px; margin: 6px 0 0 !important; padding: 0 20px !important; border: 0 !important; border-radius: 12px !important; background: var(--nd-green) !important; color: #fff !important; font: 600 16px var(--nd-font) !important; cursor: pointer; box-shadow: none !important; text-shadow: none !important; }
.nd .register-form-container .asterisk { color: #c62828; }
.nd .nd-acc__links, .nd .register-form-container .log_other_btns { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 16px 0 0; }
.nd .nd-acc__links a, .nd .register-form-container a { color: var(--nd-navy) !important; font-weight: 600; }
.nd .cpt_maincontent .main-cabinet-breadcrubs { max-width: 480px; margin: 0 auto 8px; }
@media (max-width: 639px) { .nd .nd-acc__card, .nd .cpt_maincontent > .register-form-container { padding: 22px; } .nd .nd-acc__h1, .nd .cpt_maincontent > h1 { font-size: 24px !important; } }
.nd .register-form-container .flex-outer li > * { flex: none !important; }
.nd .register-form-container .flex-outer label { text-transform: none !important; letter-spacing: 0 !important; }
.nd .register-form-container input[type="text"], .nd .register-form-container input[type="password"], .nd .register-form-container input[type="email"], .nd .register-form-container input[type="tel"], .nd .register-form-container select { height: 48px !important; }
.nd .cpt_maincontent .main-cabinet-breadcrubs { background: none !important; border: 0 !important; padding: 0 !important; }
.nd .cpt_maincontent .main-cabinet-breadcrubs h1 { margin: 8px 0 16px !important; padding: 0 !important; font: 800 30px/1.2 var(--nd-font-h) !important; color: var(--nd-text) !important; text-align: left !important; background: none !important; }
@media (max-width: 639px) { .nd .cpt_maincontent .main-cabinet-breadcrubs h1 { font-size: 24px !important; } }
/* product comparison (2026-11-18) */
.nd .nd-cmpp { display: flex; flex-direction: column; gap: 16px; }
.nd .nd-cmpp .nd-crumbs { margin: 0; }
.nd .nd-cmpp__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nd .nd-cmpp__head h1 { margin: 0 !important; padding: 0 !important; font: 800 30px/1.2 var(--nd-font-h) !important; color: var(--nd-text) !important; text-align: left !important; }
.nd .nd-cmpp__head h1 small { font: 600 20px var(--nd-font); color: var(--nd-text-2); }
.nd .nd-cmpp__diff { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: #fff; border: 1px solid var(--nd-line); border-radius: 12px; font: 600 14px var(--nd-font); cursor: pointer; }
.nd .nd-cmpp__diff input { width: 18px; height: 18px; accent-color: var(--nd-green); }
.nd .nd-cmpp__wrap { overflow: auto; max-height: calc(100vh - 140px); background: #fff; border: 1px solid var(--nd-line); border-radius: 20px; }
.nd .nd-cmpp__t { border-collapse: separate; border-spacing: 0; min-width: 100%; font-size: 14px; }
.nd .nd-cmpp__t th, .nd .nd-cmpp__t td { padding: 10px 14px; border-bottom: 1px solid #eef1f4; text-align: left; vertical-align: top; background: #fff; color: var(--nd-text); }
.nd .nd-cmpp__t tbody th { position: sticky; left: 0; z-index: 1; width: 220px; min-width: 180px; color: var(--nd-text-2); font-weight: 500; }
.nd .nd-cmpp__t tbody tr:hover th, .nd .nd-cmpp__t tbody tr:hover td { background: #f6faf7; }
.nd .nd-cmpp__t td { min-width: 220px; max-width: 280px; }
.nd .nd-cmpp__t thead th { position: sticky; top: 0; z-index: 2; border-bottom: 2px solid var(--nd-line); }
.nd .nd-cmpp__t thead .nd-cmpp__corner { left: 0; z-index: 3; }
.nd .nd-cmpp__p { position: relative; min-width: 220px; max-width: 280px; padding-top: 14px !important; }
.nd .nd-cmpp__rm { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--nd-text-2) !important; }
.nd .nd-cmpp__rm:hover { background: #fdecec; color: #c62828 !important; }
.nd .nd-cmpp__img { display: flex; justify-content: center; margin-bottom: 8px; }
.nd .nd-cmpp__img img { width: 140px; height: 140px; object-fit: contain; }
.nd .nd-cmpp__name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--nd-text) !important; font-weight: 600; line-height: 1.35; text-decoration: none; }
.nd .nd-cmpp__name:hover { color: var(--nd-green) !important; }
.nd .nd-cmpp__code { display: block; margin-top: 4px; color: var(--nd-text-2); font-weight: 400; }
.nd .nd-cmpp__buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.nd .nd-cmpp__buy form { margin: 0; }
.nd .nd-cmpp__empty { padding: 32px; background: #fff; border: 1px solid var(--nd-line); border-radius: 20px; }
.nd .nd-cmpp__empty p { margin: 0 0 16px; color: var(--nd-text-2); font-size: 16px; }
@media (max-width: 639px) { .nd .nd-cmpp__head h1 { font-size: 24px !important; } .nd .nd-cmpp__t tbody th { width: 120px; min-width: 110px; } .nd .nd-cmpp__t td, .nd .nd-cmpp__p { min-width: 170px; } .nd .nd-cmpp__img img { width: 100px; height: 100px; } }
.nd .nd-cmpp .nd-btn, .nd .nd-404 .nd-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border: 0; border-radius: 12px; font: 600 14px var(--nd-font); text-decoration: none !important; cursor: pointer; white-space: nowrap; }
.nd .nd-cmpp .nd-btn--buy { background: var(--nd-green) !important; color: #fff !important; }
.nd .nd-cmpp .nd-btn--buy:hover { background: #18692f !important; }
.nd .nd-cmpp .nd-btn--more { background: #fff; border: 1px solid var(--nd-field); color: var(--nd-navy) !important; }
/* review fixes 2026-11-18: compare on phones, register form details, buttons without caps */
@media (max-width: 639px) {
  .nd .nd-cmpp__t tbody th { width: 96px; min-width: 96px; font-size: 13px; padding: 8px 10px; }
  .nd .nd-cmpp__t td, .nd .nd-cmpp__p { min-width: 150px; max-width: 170px; font-size: 13px; padding: 8px 10px; }
  .nd .nd-cmpp__img img { width: 72px; height: 72px; }
  .nd .nd-cmpp__name { -webkit-line-clamp: 2; font-size: 13px; }
  .nd .nd-cmpp__buy { flex-direction: column; align-items: stretch; }
  .nd .nd-cmpp__rm { top: 2px; right: 2px; }
}
.nd .register-form-container input:not([type]), .nd .register-form-container input[name*="captcha"], .nd .register-form-container input[name="fConfirmationCode"] { height: 48px !important; padding: 0 14px !important; border: 1px solid var(--nd-field) !important; border-radius: 12px !important; font: 16px var(--nd-font) !important; box-sizing: border-box; }
.nd .register-form-container .center, .nd .register-form-container p { text-align: left !important; }
.nd .register-form-container .flex-outer li:has(input[type="checkbox"]) { flex-direction: row !important; align-items: center !important; gap: 10px; }
.nd .register-form-container button, .nd .register-form-container input[type="submit"] { text-transform: none !important; letter-spacing: 0 !important; }
.nd .register-form-container h2, .nd .register-form-container .h2-title { margin: 24px 0 10px !important; font: 800 20px/1.3 var(--nd-font-h) !important; color: var(--nd-text) !important; text-align: left !important; }
/* product rows with arrows (2026-11-18): product page blocks and home hits */
.nd .nd-row { position: relative; }
.nd .nd-row > ul { scrollbar-width: none; cursor: grab; }
.nd .nd-row > ul::-webkit-scrollbar { display: none; }
.nd .nd-row > ul.is-drag { cursor: grabbing; scroll-snap-type: none !important; scroll-behavior: auto; user-select: none; }
.nd .nd-row > ul.is-drag a { pointer-events: none; }
.nd .nd-row__btn { position: absolute; top: 110px; z-index: 3; display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--nd-line); border-radius: 50%; background: #fff; color: var(--nd-text); box-shadow: 0 6px 18px rgba(16, 34, 58, .16); cursor: pointer; }
.nd .nd-row__btn:hover { color: var(--nd-green); border-color: var(--nd-green); }
.nd .nd-row__btn--prev { left: -14px; }
.nd .nd-row__btn--next { right: -14px; }
@media (hover: hover) and (pointer: fine) {
  .nd .nd-row.has-prev .nd-row__btn--prev, .nd .nd-row.has-next .nd-row__btn--next { display: inline-flex; }
}
/* home hits: one row like the product page rows (the rest scroll) */
@media (min-width: 640px) {
  .nd .nd-home__lists .nd-row > ul.nd-cards { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; }
  .nd .nd-home__lists .nd-row > ul.nd-cards > li { scroll-snap-align: start; }
}
@media (min-width: 1180px) { .nd .nd-home__lists .nd-row > ul.nd-cards { grid-auto-columns: calc((100% - 4 * 16px) / 5); } }
@media (min-width: 1440px) { .nd .nd-home__lists .nd-row > ul.nd-cards { grid-auto-columns: calc((100% - 5 * 16px) / 6); } }
/* comparison by section (2026-11-18) */
.nd .nd-cmpp__note { margin: 0; color: var(--nd-text-2); font-size: 15px; }
.nd .nd-cmpp__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.nd .nd-cmpp__tab { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border: 1px solid var(--nd-line); border-radius: 999px; background: #fff; color: var(--nd-text); font: 600 14px var(--nd-font); cursor: pointer; }
.nd .nd-cmpp__tab small { font-weight: 400; color: var(--nd-text-2); }
.nd .nd-cmpp__tab[aria-selected="true"] { background: var(--nd-green); border-color: var(--nd-green); color: #fff; }
.nd .nd-cmpp__tab[aria-selected="true"] small { color: #fff; opacity: .85; }
.nd .nd-cmpp__g[hidden] { display: none; }
.nd .nd-cmpp__t tr.is-empty { display: none; }
/* «Ви переглядали» / «Може зацікавити» (session blocks, 2026-11-18): the product-page row on any page */
.nd .nd-reco { margin: 32px 0 0; }
.nd .nd-reco .nd-sec-head { margin: 0 0 14px; }
.nd .nd-reco .nd-sec-head .nd-h2 { margin: 0 !important; }
@media (max-width: 1023px) { .nd .nd-reco .nd-cards--row > li { width: 192px; } }
/* order status and feedback in the account-card style (audit 2026-11-18) */
.nd .nd-acc__card--wide { max-width: 960px; }
.nd .nd-ost__status { margin: 0 0 14px; font-size: 17px; }
.nd .nd-ost__err { margin: 0 0 12px; color: #b42318; font-weight: 600; }
.nd .nd-ost__more p { margin: 4px 0 0; color: var(--nd-text-2); font-size: 14px; }
.nd .nd-ost__full { overflow-x: auto; }
.nd .nd-ost__full table { width: 100%; border-collapse: collapse; }
.nd .nd-ost__full td, .nd .nd-ost__full th { padding: 8px; border-bottom: 1px solid var(--nd-line); text-align: left; vertical-align: top; }
.nd .nd-fb__lead { margin: 0 0 6px; font-size: 16px; color: var(--nd-text); }
.nd .nd-fb__sub { margin: 0 0 16px; color: var(--nd-text-2); font-size: 14px; }
.nd .nd-fb__code { display: flex; align-items: center; gap: 12px; }
.nd .nd-fb__code img { flex: none; border-radius: 8px; border: 1px solid var(--nd-line); }
.nd .nd-fb__code input { max-width: 140px !important; }
.nd .nd-fb__ok { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--nd-green-tint); color: var(--nd-text); font-weight: 600; }
.nd .nd-fb__info { width: 100%; max-width: 960px; margin: 0 auto; color: var(--nd-text-2); font-size: 15px; }
.nd .nd-fb__info img { max-width: 100%; height: auto; }
/* feedback: the contact cards (text from the admin translation) in the new grid, nothing sticks out (audit 2026-11-18) */
.nd .nd-fb__info .feedback-block { display: grid !important; gap: 16px; width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.nd .nd-fb__info .feedback-mailing { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; width: auto !important; margin: 0 !important; float: none !important; }
.nd .nd-fb__info .feedback-mailing-block, .nd .nd-fb__info .feedback-phones-block { box-sizing: border-box; width: auto !important; min-width: 0; margin: 0 !important; padding: 16px !important; float: none !important; background: #fff; border: 1px solid var(--nd-line); border-radius: 16px; overflow: hidden; }
.nd .nd-fb__info .feedback-phones-online-block { width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.nd .nd-fb__info .h2-title { margin: 0 0 8px !important; padding: 0 !important; font: 700 16px/1.3 var(--nd-font) !important; color: var(--nd-text) !important; text-align: left !important; background: none !important; }
.nd .nd-fb__info .feedback-mailing-block p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nd .nd-fb__info .feedback-mailing-block img { max-width: 100%; height: auto; }
.nd .nd-fb__info .feedback-phones-block { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.nd .nd-fb__info .feedback-phones-block .h2-title { flex: 1 0 100%; }
.nd .nd-fb__info .feedback-phones-block a { display: inline-flex; align-items: center; min-height: 40px; color: var(--nd-navy) !important; font-weight: 600; white-space: nowrap; }
/* card button of a product not in stock: a quiet «Детальніше», not the green «Купити» (audit 2026-11-18) */
.nd .nd-card .nd-btn--more, .nd .nd-mini .nd-btn--more { display: inline-flex; align-items: center; justify-content: center; background: #fff !important; border: 1px solid var(--nd-field) !important; color: var(--nd-navy) !important; text-decoration: none !important; }
.nd .nd-card .nd-btn--more:hover { border-color: var(--nd-navy) !important; }
/* chat buttons on phones (audit 2026-11-18): the «Ми на зв’язку…» bubble covered the price and the buy button —
   not shown on phones (the chat button itself stays); above the product buy bar when it is shown */
@media (max-width: 1023px) {
  .nd #bwc-chat-cloud-message { display: none !important; }
  html:has(.nd-buybar.is-on) .nd #bwc-widget-action, html:has(.nd-buybar.is-on) #bwc-widget-action { bottom: 148px !important; }
  html:has(.nd-buybar.is-on) .nd .viber-chat-btn { bottom: 214px !important; }
}
/* header suggestions: the row chosen with the arrow keys is clearly visible (audit 2026-11-18) */
.nd .autocomplete-suggestion.autocomplete-selected .nd-ac { background: #e6eef7 !important; box-shadow: inset 3px 0 0 var(--nd-navy); }
/* Binotel on phones: its «Потрібна допомога? Залиште повідомлення» pill covered the main «Купити» — only the round button stays */
@media (max-width: 1023px) { #bwc-widget-action .bwc-slide, #bwc-widget-action .bwc-invitations { display: none !important; } }
.nd .nd-home__lists .mp_subcat_pdr_block[hidden] { display: none !important; }
/* phones: tap targets of crumbs and the article lists at least 40px high (audit 2026-11-18) */
@media (max-width: 1023px) {
  .nd .nd-crumbs a, .nd .nd-crumbs span[aria-current], .nd .nd-cat__head .breadcrumb a, .nd .nd-prod__crumbs .breadcrumb a { display: inline-flex; align-items: center; min-height: 40px; }
  .nd .nd-ap__side a, .nd .nd-arts__secs a { display: inline-flex; align-items: center; min-height: 40px; }
}
/* ===================== FIX-B (03.12.2026): interface fixes after the test pass ===================== */
/* focus ring of the header search (the input itself has outline:0, the box shows the ring) */
html .nd .nd-sf__box:focus-within { outline: 3px solid #ffd21f; outline-offset: 2px; }
/* home slider: arrows sit in the lower corners, not over the banner text */
@media (min-width: 640px) {
  html .nd .nd-home__slider .slider__control { top: auto !important; bottom: 10px; transform: none !important; width: 40px !important; height: 40px !important; }
  html .nd .nd-home__slider .slider__control[data-slide="prev"] { left: 12px !important; }
  html .nd .nd-home__slider .slider__control[data-slide="next"] { right: 12px !important; }
}
@media (max-width: 1023px) {
  /* the footer ends above the tab bar (body has a fixed height, its padding does not reach the footer) */
  html .nd footer.nd-ft { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  html .nd .nd-ft__bottom { padding-bottom: 12px; }
  html .nd .nd-ft__bottom .nd-wrap { padding-bottom: 0; }   /* the clamped text must not show its next line in the padding */
  /* floating chat buttons give way while the footer or the search suggestions are on screen */
  html.nd-ft-on #bwc-widget-action, html.nd-ft-on #bwc-chat-cloud-message, html.nd-ft-on #bwc-chat-omnichannel, html.nd-ft-on .viber-chat-btn,
  html.nd-sug-on #bwc-widget-action, html.nd-sug-on #bwc-chat-cloud-message, html.nd-sug-on #bwc-chat-omnichannel, html.nd-sug-on .viber-chat-btn { visibility: hidden !important; pointer-events: none !important; }
  /* tap targets */
  html .nd .mp_subcat_btn, html .nd .nd-ft__phone, html .nd .nd-help__tel { display: inline-flex; align-items: center; min-height: 44px; }
  html .nd .category_section .cat-block .cat-title a { display: inline-block; padding: 8px 0; }
  html .nd .category_section .cat-block li a { display: inline-block; padding: 7px 0; }
  html .nd .nd-prod__allbr a { display: inline-block; padding: 8px 0; }
  html .nd .nd-cat__filter .param_value label { padding-top: 10px !important; padding-bottom: 10px !important; }
  html .nd .nd-cat__filter .param_value { padding-top: 0 !important; padding-bottom: 0 !important; }
  /* tab bar: while the catalogue is open only «Каталог» is lit */
  html.nd-menu-open .nd .nd-tabbar a[aria-current] { color: var(--nd-text-2); font-weight: 400; }
}
/* footer on narrow phones: the four social icons in one row, languages below */
@media (max-width: 479px) {
  html .nd .nd-ft__col:last-child { grid-template-columns: 1fr; }
  html .nd .nd-ft__join, html .nd .nd-ft__langs { grid-column: 1 / -1; }
  html .nd .nd-ft__langs { margin-top: 4px; }
  html .nd .nd-ft__join .footer-social { justify-content: flex-start; }
  html .nd .nd-ft__join .footer-social a { width: 44px; height: 44px; }
}
/* FIX-B: the Binotel round button has `visibility: visible !important` on two ids; beat it with the same ids */
@media (max-width: 1023px) {
  html.nd-ft-on bwchat#bwc-wrap #bwc-chat-omnichannel, html.nd-sug-on bwchat#bwc-wrap #bwc-chat-omnichannel { visibility: hidden !important; pointer-events: none !important; }
}
html.nd-added-on bwchat#bwc-wrap #bwc-chat-omnichannel, html.nd-qo-on bwchat#bwc-wrap #bwc-chat-omnichannel, html.nd-menu-open bwchat#bwc-wrap #bwc-chat-omnichannel { visibility: hidden !important; }
