/* NEW DESIGN (test): product page. Mockups Product / ProductTabs / MProduct. */
.nd .nd-prod { display: flex; flex-direction: column; gap: 20px; padding-bottom: 24px; }
.nd .nd-prod__crumbs .breadcrumbs-block { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; }
.nd .nd-prod__crumbs .breadcrumb { display: inline-flex; align-items: center; gap: 6px; margin: 0 !important; padding: 0 !important; background: none !important; }
.nd .nd-prod__crumbs .breadcrumb + .breadcrumb::before { content: "/"; color: var(--nd-text-3); }
.nd .nd-prod__crumbs .breadcrumb::after { content: none !important; }
.nd .nd-prod__crumbs a, .nd .nd-prod__crumbs a span { color: #16457a !important; font-size: 13px !important; text-decoration: none; background: none !important; padding: 0 !important; }
.nd .nd-prod__crumbs .breadcrumb:last-child a, .nd .nd-prod__crumbs .breadcrumb:last-child a span { color: var(--nd-text-2) !important; }

/* top card */
.nd .nd-prod__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; padding: 20px; background: #fff; border: 1px solid var(--nd-line); border-radius: 18px; }
.nd .nd-gal { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
.nd .nd-gal__thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 480px; overflow: auto; scrollbar-width: none; margin: 0 !important; padding: 0 !important; width: auto !important; }
.nd .nd-gal__th { width: 76px !important; height: 76px; margin: 0 !important; padding: 0 !important; border: 1px solid var(--nd-line); border-radius: 12px; overflow: hidden; background: #fff; flex: none; }
.nd .nd-gal__th.is-on { border: 2px solid var(--nd-green-sign); }
.nd .nd-gal__th a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.nd .nd-gal__th img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain; }
.nd .nd-gal__main { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; aspect-ratio: 1 / 1; max-height: 520px; margin: 0 !important; border-radius: 14px; background: #fff; }
.nd .nd-gal__main > a, .nd .nd-gal__main > img { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: zoom-in; }
.nd .nd-gal__main img#img-current_picture { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain; }
.nd .nd-gal__badges { position: absolute; left: 8px; top: 8px; z-index: 2; display: flex; gap: 6px; }
.nd .nd-gal__badges .nd-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; font: 700 13px var(--nd-font); white-space: nowrap; }
.nd .nd-gal__badges .nd-badge--hit { background: #16457a; color: #fff; }
.nd .nd-gal__badges .nd-badge--info { background: #e6f4ea; color: #1a7034; }
.nd .nd-gal__badges .nd-badge--promo { background: #f5c400; color: #1b2430; }
.nd .nd-gal__badges .nd-badge--outlet { background: #5b6675; color: #fff; }
.nd .nd-gal__badges .nd-badge--sale { min-width: 48px; justify-content: center; border-radius: 14px; background: #c8102e; color: #fff; font: 800 14px var(--nd-font-h); }
.nd .nd-gal__dots { display: none; }

.nd .nd-prod__info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nd .nd-prod__tags { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; }
.nd .nd-prod__tags:empty { display: none; }
.nd .nd-prod__warr { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--nd-text-2); }
.nd .nd-prod__h1 { margin: 0 !important; font: 800 28px/1.25 var(--nd-font-h) !important; color: var(--nd-text) !important; text-align: left !important; }
.nd .nd-prod__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: var(--nd-text-2); }
.nd .nd-prod__rate { display: inline-flex; align-items: center; gap: 4px; color: var(--nd-text-2) !important; text-decoration: none !important; }
.nd .nd-prod__rate b { color: var(--nd-text); font-weight: 600; }
.nd .nd-prod__rate:hover { color: #16457a !important; }
.nd .nd-cmp-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; border: 0; background: none; color: #16457a; font: 500 14px var(--nd-font); cursor: pointer; }
.nd .nd-cmp-link.is-on { color: #1a7034; }
.nd .nd-cmp-link:hover { text-decoration: underline; }

.nd .nd-buy { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--nd-line); border-radius: 16px; background: #fbfcfd; }
.nd .nd-buy__price { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 14px; }
.nd .nd-buy__price .totalPrices { display: block !important; margin: 0 !important; }
.nd .nd-buy__price .nd-avail { margin-top: 6px; }
.nd .nd-buy__min { margin: 0; font-size: 13px; color: var(--nd-text-2); }
.nd .nd-buy__btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.nd .nd-buy__btns .nd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 16px; border-radius: 12px; font: 600 16px var(--nd-font); cursor: pointer; }
.nd .nd-buy__btns .nd-buy__main { border: 0; background: var(--nd-green); color: #fff; }
.nd .nd-buy__btns .nd-buy__main:hover { background: #17692f; }
.nd .nd-buy__btns .qorder { border: 1px solid #16457a !important; background: #fff !important; color: #16457a !important; box-shadow: none !important; width: auto !important; margin: 0 !important; }
.nd .nd-buy__btns .qorder:hover { background: #e6eef8 !important; }
.nd .nd-buy__btns .nd-buy__main:only-of-type { grid-column: 1 / -1; }
.nd .nd-buy__out { margin: 0; font-size: 14px; color: var(--nd-text-2); line-height: 1.5; }
.nd .nd-buy__opts select { width: 100%; height: 42px; border: 1px solid #c9d1db; border-radius: 10px; padding: 0 10px; font: 14px var(--nd-font); background: #fff; }
.nd .nd-buy__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--nd-text-2); }
.nd .nd-buy__trust li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; background: none; }
.nd .nd-buy__trust li::before { content: none !important; }
.nd .nd-buy__trust svg { flex: none; margin-top: 1px; color: var(--nd-green-sign); }
.nd .nd-buy__trust b { color: var(--nd-text); font-weight: 600; }

/* tabs + right column */
.nd .nd-prod__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.nd .nd-prod__main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.nd .nd-ptabs { padding: 6px 20px 20px; background: #fff; border: 1px solid var(--nd-line); border-radius: 18px; min-width: 0; }
.nd .nd-ptabs__bar { display: flex; gap: 4px; margin: 0 0 16px; border-bottom: 1px solid var(--nd-line); overflow-x: auto; scrollbar-width: none; }
.nd .nd-ptabs__tab { flex: none; min-height: 48px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--nd-text-2); font: 500 15px var(--nd-font); cursor: pointer; margin-bottom: -1px; }
.nd .nd-ptabs__tab[aria-selected="true"] { color: var(--nd-text); font-weight: 600; border-bottom-color: var(--nd-green-sign); }
.nd .nd-ptabs__tab:hover { color: var(--nd-text); }
.nd .nd-ptabs__tab:focus-visible { outline: 2px solid #16457a !important; outline-offset: -2px; box-shadow: none !important; border-radius: 6px; }
.nd .nd-ptabs__acc { display: none; }
.nd .nd-ptabs__panel { display: none; min-width: 0; font-size: 15px; line-height: 1.6; color: #3b4654; }
.nd .nd-ptabs__panel.is-active { display: block; }
.nd .nd-ptabs__panel:focus-visible { outline: none; }
.nd .nd-ptabs__panel h2, .nd .nd-ptabs__panel h3 { font: 700 19px/1.3 var(--nd-font-h) !important; color: var(--nd-text) !important; margin: 0 0 10px !important; padding: 0 !important; background: none !important; text-align: left !important; }
.nd .nd-ptabs__panel img { max-width: 100% !important; height: auto !important; }
.nd .nd-ptabs__panel iframe { width: 100% !important; max-width: 100%; aspect-ratio: 16 / 9; height: auto !important; border: 0; border-radius: 12px; }
/* specifications table */
.nd .nd-ptabs .product-page-specs table { width: 100% !important; border-collapse: collapse; border: 0 !important; margin: 0 !important; background: none !important; }
.nd .nd-ptabs .product-page-specs tr { background: none !important; border: 0 !important; }
.nd .nd-ptabs .product-page-specs td { padding: 9px 0 !important; border: 0 !important; border-bottom: 1px solid #eef1f4 !important; background: none !important; font-size: 14px !important; vertical-align: top; color: var(--nd-text) !important; }
.nd .nd-ptabs .product-page-specs td:first-child { width: 45%; padding-right: 16px !important; color: var(--nd-text-2) !important; }
.nd .nd-ptabs .product-page-specs a { color: #16457a !important; text-decoration: none !important; }
.nd .nd-ptabs .product-page-specs a:hover { text-decoration: underline !important; }
.nd .nd-ptabs .product-page-info, .nd .nd-ptabs .product-page-info > div { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
/* reviews */
.nd .nd-ptabs #reviewmake { font: 700 19px/1.3 var(--nd-font-h) !important; margin: 0 0 12px !important; }
.nd .nd-ptabs .review_showall { margin: 0 0 14px !important; }
.nd .nd-ptabs .review_showall .normal-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #16457a !important; border-radius: 10px !important; background: #fff !important; color: #16457a !important; font: 600 14px var(--nd-font) !important; box-shadow: none !important; text-decoration: none !important; }
.nd .nd-ptabs .review_block { display: flex; flex-direction: column; }
.nd .nd-ptabs .review_title { margin: 14px 0 2px !important; font: 600 15px var(--nd-font) !important; color: var(--nd-text) !important; }
.nd .nd-ptabs .review_date { margin: 10px 0 4px; font-size: 14px; font-weight: 600; color: var(--nd-text); }
.nd .nd-ptabs .review_title + .review_date { margin-top: 0; }
.nd .nd-ptabs .review_date span { margin-left: 8px; font-weight: 400; font-size: 13px; color: var(--nd-text-2); }
.nd .nd-ptabs .review_content { padding-bottom: 14px; border-bottom: 1px solid #eef1f4; font-size: 14px; }
.nd .nd-prod__vote { margin-top: 14px; }
.nd .nd-prod__vote table { width: auto !important; }
.nd .nd-prod__vote .reviews_btn_product { display: none; }
/* right column */
.nd .nd-prod__aside { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 14px; }
.nd .nd-help, .nd .nd-docs { padding: 18px; background: #fff; border: 1px solid var(--nd-line); border-radius: 16px; }
.nd .nd-help__h { margin: 0 0 6px !important; font: 700 17px/1.3 var(--nd-font-h) !important; color: var(--nd-text) !important; }
.nd .nd-help__t { margin: 0 0 10px; font-size: 14px; color: var(--nd-text-2); line-height: 1.5; }
.nd .nd-help__tel { display: block; margin-bottom: 10px; font: 800 20px var(--nd-font-h); color: var(--nd-text) !important; text-decoration: none !important; }
.nd .nd-help__btns .nd-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #16457a; border-radius: 12px; color: #16457a !important; font-weight: 600; text-decoration: none !important; }
.nd .nd-help__btns:empty { display: none; }
.nd .nd-docs__list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #f3f5f8; color: var(--nd-text) !important; font-size: 14px; font-weight: 500; text-decoration: none !important; margin-bottom: 6px; }
.nd .nd-docs__list img { max-width: 100%; height: auto; }
/* below the tabs */
.nd .nd-prod__faq { margin: 0; }
.nd .nd-prod__faq h2.faq-title { font: 800 22px/1.3 var(--nd-font-h) !important; margin: 0 0 8px !important; }
.nd .nd-prod__faq .faq-container { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.nd .nd-prod__faq .accordion { margin: 0 !important; border: 0 !important; border-top: 1px solid var(--nd-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; overflow: visible !important; }
.nd .nd-prod__faq .faq-label { position: relative; padding: 14px 0 14px 22px !important; border: 0 !important; background: none !important; cursor: pointer; }
.nd .nd-prod__faq .faq-label::before { content: ""; position: absolute; left: 2px; top: calc(14px + 10.5px - 5px); border: 5px solid transparent; border-left: 7px solid var(--nd-text); border-right: 0; transition: transform .15s; }
.nd .nd-prod__faq .faq-label::after { content: none !important; }
.nd .nd-prod__faq .accordion.active .faq-label::before { transform: rotate(90deg); }
.nd .nd-prod__faq .faq-label h2, .nd .nd-prod__faq .faq-label h3 { margin: 0 !important; padding: 0 !important; font: 600 15px/21px var(--nd-font) !important; color: var(--nd-text) !important; }
.nd .nd-prod__faq .faq-content, .nd .nd-prod__faq .faq-content p { font: 400 14px/1.6 var(--nd-font) !important; color: #3b4654 !important; padding-right: 0 !important; }
.nd .nd-prod__faq .faq-content { padding-left: 22px !important; overflow: hidden; }
.nd .nd-prod__faq .accordion.active .faq-content { max-height: none !important; }
.nd .nd-prod__allbr { padding: 16px 20px; background: #fff; border: 1px solid var(--nd-line); border-radius: 16px; font-size: 14px; line-height: 1.8; color: var(--nd-text-2); }
.nd .nd-prod__allbr a { color: #16457a !important; }
/* similar products */
.nd .nd-prod__similar .h2-title { margin: 0 0 14px !important; font: 800 24px/1.25 var(--nd-font-h) !important; color: var(--nd-text) !important; text-align: left !important; }
.nd .nd-prod__similar .ps-carousel { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.nd .nd-prod__similar .ps-carousel > div { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--nd-line); border-radius: 16px; text-align: left; }
.nd .nd-prod__similar .ps-carousel img { display: block; width: 100% !important; aspect-ratio: 1 / 1; height: auto !important; object-fit: contain; }
.nd .nd-prod__similar .rp-carousel-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.4; color: var(--nd-text) !important; text-decoration: none !important; }
.nd .nd-prod__similar .ps-carousel > div:hover { border-color: var(--nd-green-sign); }
/* bottom buy bar: phones only */
.nd .nd-buybar { display: none; }

@media (max-width: 1180px) {
  .nd .nd-prod__body { grid-template-columns: minmax(0, 1fr) 260px; }
  .nd .nd-prod__similar .ps-carousel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .nd .nd-prod__top { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
  .nd .nd-gal { grid-template-columns: 1fr; }
  .nd .nd-gal__thumbs { display: none; }
  .nd .nd-gal__main { min-height: 0; max-height: none; }
  .nd .nd-gal__dots { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: flex; gap: 4px; }
  .nd .nd-gal__dots i { width: 5px; height: 5px; border-radius: 3px; background: #c9d1db; transition: width .15s; }
  .nd .nd-gal__dots i.is-on { width: 16px; background: #1a7034; }
  .nd .nd-prod__h1 { font-size: 22px !important; }
  .nd .nd-prod__body { grid-template-columns: 1fr; }
  .nd .nd-prod__aside { position: static; }
  /* tabs become accordions */
  .nd .nd-ptabs { padding: 0; background: none; border: 0; }
  .nd .nd-ptabs__bar { display: none; }
  .nd .nd-ptabs__acc { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; margin-top: 8px; padding: 0 16px; border: 1px solid var(--nd-line); border-radius: 14px; background: #fff; color: var(--nd-text); font: 600 16px var(--nd-font); text-align: left; cursor: pointer; }
  .nd .nd-ptabs__acc::after { content: ""; width: 8px; height: 8px; border: solid var(--nd-text-2); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
  .nd .nd-ptabs__acc[aria-expanded="true"] { border-radius: 14px 14px 0 0; border-bottom-color: transparent; }
  .nd .nd-ptabs__acc[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .nd .nd-ptabs__panel, .nd .nd-ptabs__panel.is-active { display: none; }
  .nd .nd-ptabs__panel.is-open { display: block; padding: 4px 16px 16px; background: #fff; border: 1px solid var(--nd-line); border-top: 0; border-radius: 0 0 14px 14px; }
  .nd .nd-prod__similar .ps-carousel { display: flex !important; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .nd .nd-prod__similar .ps-carousel > div { flex: none; width: 160px; scroll-snap-align: start; }
  .nd .nd-buybar { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 140; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; background: #fff; border-top: 1px solid var(--nd-line); box-shadow: 0 -8px 20px rgba(16, 34, 58, .08); transform: translateY(120%); transition: transform .2s; }
  .nd .nd-buybar.is-on { transform: none; }
  .nd .nd-buybar .nd-btn { min-height: 46px; padding: 0 28px; border: 0; border-radius: 12px; background: var(--nd-green); color: #fff; font: 600 16px var(--nd-font); }
}
@media (max-width: 639px) {
  .nd .nd-buy__btns { grid-template-columns: 1fr; }
  .nd .nd-buy { padding: 14px; }
}
/* description parts moved into tabs keep full width (old main.css floats them in halves) */
.nd .nd-ptabs .product-page-specs, .nd .nd-ptabs .product-page-payment, .nd .nd-ptabs .product-page-payment-instructions, .nd .nd-docs .product-page-certificates { width: auto !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.nd .nd-ptabs .product-page-payment-instructions + .product-page-payment { margin-top: 16px !important; }
@media (max-width: 1023px) {
  .nd .nd-gal__thumbs, .nd #box_product_thumbnails.nd-gal__thumbs { display: none !important; }
  .nd .nd-prod__crumbs .breadcrumb_main { display: inline-flex !important; }
  .nd .nd-gal__main { aspect-ratio: 4 / 3; }
}

/* ==== owner review round 1 (2026-11-17) ==== */
/* gallery: thumbnails never covered by the photo */
.nd .nd-gal { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
.nd .nd-gal__thumbs { position: relative; z-index: 2; padding: 2px !important; }
.nd .nd-gal__main { overflow: hidden; min-width: 0; }
/* specifications: zebra rows */
.nd .nd-ptabs .product-page-specs tr:nth-child(odd) td { background: #f6f8fa !important; }
.nd .nd-ptabs .product-page-specs td { border-bottom: 0 !important; padding: 9px 12px !important; }
.nd .nd-ptabs .product-page-specs td:first-child { border-radius: 8px 0 0 8px; }
.nd .nd-ptabs .product-page-specs td:last-child { border-radius: 0 8px 8px 0; }
/* reviews */
.nd .nd-rev__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.nd .nd-rev__h { margin: 0 !important; font: 700 19px/1.3 var(--nd-font-h) !important; }
.nd .nd-rev__write { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #16457a; border-radius: 10px; color: #16457a !important; font-weight: 600; font-size: 14px; text-decoration: none !important; white-space: nowrap; }
.nd .nd-rev__sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; margin-bottom: 8px; border-radius: 12px; background: #f6f8fa; }
.nd .nd-rev__avg { font: 800 28px/1 var(--nd-font-h); color: var(--nd-text); }
.nd .nd-stars { --p: calc(var(--r) / 5 * 100%); display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 2px; background: linear-gradient(90deg, #e0a100 var(--p), #d5dae1 var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nd .nd-stars::before { content: "\2605\2605\2605\2605\2605"; }
.nd .nd-rev__votes { font-size: 13px; color: var(--nd-text-2); }
.nd .nd-rev__rate { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; color: var(--nd-text-2); }
.nd .nd-rate-btns { display: inline-flex; flex-direction: row-reverse; }
.nd .nd-rate-btns button { padding: 0 2px; border: 0; background: none; color: #d5dae1; font-size: 22px; line-height: 1; cursor: pointer; }
.nd .nd-rate-btns button:hover, .nd .nd-rate-btns button:hover ~ button, .nd .nd-rate-btns button:focus-visible, .nd .nd-rate-btns button:focus-visible ~ button { color: #e0a100; }
.nd .nd-rev { padding: 14px 0; border-bottom: 1px solid #eef1f4; }
.nd .nd-rev--more { display: none; }
.nd .nd-rev__who { margin: 0 0 4px; font-size: 14px; color: var(--nd-text); }
.nd .nd-rev__who span { margin-left: 8px; font-size: 13px; color: var(--nd-text-2); }
.nd .nd-rev__t { margin: 0 0 4px !important; font: 600 15px var(--nd-font) !important; color: var(--nd-text) !important; }
.nd .nd-rev__body { font-size: 14px; line-height: 1.6; color: #3b4654; }
.nd .nd-rev__morebtn, .nd .nd-rev__all { display: inline-flex; margin-top: 12px; margin-right: 16px; padding: 0; min-height: 36px; align-items: center; border: 0; background: none; color: #16457a !important; font: 600 15px var(--nd-font); cursor: pointer; text-decoration: none !important; }
.nd .nd-rev__empty { margin: 4px 0; font-size: 14px; color: var(--nd-text-2); }
/* delivery and payment */
.nd .nd-pay__h { margin: 0 0 12px !important; font: 700 19px/1.3 var(--nd-font-h) !important; }
.nd .nd-pay { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nd .nd-pay li { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 12px 14px; border-radius: 12px; background: #f6f8fa; font-size: 13px; color: var(--nd-text-2); }
.nd .nd-pay li::before { content: none !important; }
.nd .nd-pay li b { font-size: 14px; color: var(--nd-text); }
.nd .nd-pay__more { display: inline-block; margin-bottom: 14px; color: #16457a !important; font-weight: 600; font-size: 14px; }
.nd .nd-pay__seo { padding-top: 12px; border-top: 1px solid #eef1f4; font-size: 13px !important; line-height: 1.6; color: var(--nd-text-2); }
.nd .nd-pay__seo p { margin: 0; font-size: 13px !important; }
/* documents */
.nd .nd-docs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nd .nd-docs__list li { margin: 0; padding: 0; background: none; }
.nd .nd-docs__list li::before { content: none !important; }
.nd .nd-docs__list a { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 10px; background: #f6f8fa; color: var(--nd-text) !important; font-size: 13px; font-weight: 500; line-height: 1.35; text-decoration: none !important; }
.nd .nd-docs__list a:hover { background: #e6eef8; }
.nd .nd-docs__ico { flex: none; display: flex; color: #c8102e; }
.nd .nd-docs__ico--cert { color: #1a7034; }
/* video previews */
.nd .nd-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #0f2f55; cursor: pointer; }
.nd .nd-yt img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.nd .nd-yt__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: #e62117; }
.nd .nd-yt__play::after { content: ""; position: absolute; left: 27px; top: 14px; border: 10px solid transparent; border-left: 16px solid #fff; border-right: 0; }
.nd .nd-yt:hover .nd-yt__play { background: #c8102e; }
.nd .nd-yt--on iframe { width: 100%; height: 100%; border: 0; }
/* bought together / similar: home cards in a row */
.nd .nd-prod__more { min-width: 0; }
.nd .nd-prod__more .nd-h2 { margin: 0 0 14px; }
.nd .nd-prod__more .nd-cards--row { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.nd .nd-cards--row .nd-stock--out { color: var(--nd-text-2); }
.nd .nd-cards--row .nd-stock--out::before { background: none; border: 1.5px solid var(--nd-text-3); box-sizing: border-box; }
@media (max-width: 1180px) { .nd .nd-prod__more .nd-cards--row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
  .nd .nd-prod__more .nd-cards--row { display: flex !important; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .nd .nd-prod__more .nd-cards--row > li { flex: none; width: 170px; scroll-snap-align: start; }
  .nd .nd-pay { grid-template-columns: 1fr; }
  .nd .nd-rev__rate { margin-left: 0; }
}
/* photo viewer */
.nd-lb { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(10, 20, 35, .92); }
.nd-lb[hidden] { display: none; }
.nd-lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; background: #fff; border-radius: 8px; }
.nd-lb button { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.nd-lb button:hover { background: rgba(255,255,255,.26); }
.nd-lb__x { top: 16px; right: 16px; }
.nd-lb__p { left: 16px; top: 50%; margin-top: -24px; }
.nd-lb__nx { right: 16px; top: 50%; margin-top: -24px; }
.nd-lb__n { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font: 14px var(--nd-font); }
html.nd-lb-open { overflow: hidden; }

/* ==== reviews page (/reviews/) ==== */
.nd .nd-revp { display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; }
.nd .nd-revp__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.nd .nd-revp__h1 { margin: 0 !important; font: 800 26px/1.25 var(--nd-font-h) !important; color: var(--nd-text) !important; text-align: left !important; }
.nd .nd-revp__h1 a { color: inherit !important; text-decoration: none !important; }
.nd .nd-revp__back { display: inline-flex; align-items: center; gap: 4px; color: #16457a !important; font-weight: 600; font-size: 15px; text-decoration: none !important; white-space: nowrap; }
.nd .nd-revp__body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.nd .nd-revp__list { padding: 6px 20px 16px; background: #fff; border: 1px solid var(--nd-line); border-radius: 18px; min-width: 0; }
.nd .nd-revp__list .nd-rev:last-of-type { border-bottom: 0; }
.nd .nd-revp__list .nd-rev__t { font: 600 15px var(--nd-font) !important; margin: 0 0 4px !important; color: var(--nd-text) !important; }
.nd .nd-revp__aside { position: sticky; top: 12px; }
.nd .nd-rf { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--nd-line); border-radius: 18px; }
.nd .nd-rf__h { margin: 0 !important; font: 700 19px/1.3 var(--nd-font-h) !important; color: var(--nd-text) !important; }
.nd .nd-rf__err:empty { display: none; }
.nd .nd-rf__err { margin: 0; color: #b42318 !important; font-size: 14px; }
.nd .nd-rf__f { display: flex; flex-direction: column; gap: 6px; }
.nd .nd-rf__f label, .nd .nd-rf__l { font-size: 14px; font-weight: 600; color: var(--nd-text); }
.nd .nd-rf__f input[type="text"], .nd .nd-rf__f textarea, .nd .nd-rf__cap input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #c9d1db; border-radius: 10px; background: #fff; font: 15px/1.4 var(--nd-font); color: var(--nd-text); }
.nd .nd-rf__f input[type="text"] { height: 44px; }
.nd .nd-rf__f textarea { min-height: 120px; resize: vertical; }
.nd .nd-rf__stars { display: flex; gap: 2px; }
.nd .nd-rf__star { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: none; color: #d5dae1; font-size: 30px; line-height: 1; cursor: pointer; }
.nd .nd-rf__star.is-on { color: #e0a100; }
.nd .nd-rf__star:focus-visible { outline: 2px solid #16457a !important; outline-offset: 0; box-shadow: none !important; }
.nd .nd-rf__cap { display: flex; align-items: center; gap: 10px; }
.nd .nd-rf__cap img { flex: none; height: 44px; width: auto; border-radius: 8px; border: 1px solid var(--nd-line); }
.nd .nd-rf__cap input { height: 44px; max-width: 140px; }
.nd .nd-rf__msg:empty { display: none; }
.nd .nd-rf__msg { font-size: 14px; }
.nd .nd-rf__msg .error_block, .nd .nd-rf__msg #message-block { margin: 0 !important; padding: 10px 12px !important; border-radius: 10px; background: #fdecea !important; color: #b42318 !important; border: 0 !important; }
.nd .nd-rf__submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--nd-green); color: #fff; font: 600 16px var(--nd-font); cursor: pointer; }
.nd .nd-rf__submit:hover { background: #17692f; }
@media (max-width: 1023px) {
  .nd .nd-revp__body { grid-template-columns: 1fr; }
  .nd .nd-revp__aside { position: static; order: -1; }
  .nd .nd-revp__h1 { font-size: 21px !important; }
  .nd .nd-revp__list { padding: 4px 16px 12px; }
}
@media (max-width: 1023px) { .nd .nd-prod__crumbs .breadcrumb { display: inline-flex !important; } .nd .nd-prod__crumbs .breadcrumb + .breadcrumb::before { content: "/" !important; } }

.nd .nd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==== design QA round (2026-11-17) ==== */
/* phones/tablets: the photo takes the whole width (the desktop thumbs column must not apply) */
@media (max-width: 1023px) { .nd .nd-gal { grid-template-columns: minmax(0, 1fr) !important; } }
/* thumbnails: border inside the box, nothing clipped, focus ring visible */
@media (min-width: 1024px) {
  .nd .nd-gal { grid-template-columns: 84px minmax(0, 1fr); }
  .nd .nd-gal__thumbs { padding: 4px !important; }
}
.nd .nd-gal__th { box-sizing: border-box; width: 76px !important; border: 1px solid var(--nd-line); }
.nd .nd-gal__th.is-on { border: 1px solid var(--nd-green-sign); box-shadow: inset 0 0 0 1px var(--nd-green-sign); }
/* reviews on the product page and on /reviews/: plain list (not the category review cards) */
.nd .nd-ptabs .nd-rev, .nd .nd-revp .nd-rev { display: block; width: auto !important; flex: initial !important; padding: 14px 0 !important; margin: 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid #eef1f4 !important; border-radius: 0 !important; box-shadow: none !important; }
.nd .nd-ptabs .nd-rev--more { display: none; }
.nd .nd-ptabs__panel .nd-rev__t, .nd .nd-revp .nd-rev__t { font: 600 15px/1.4 var(--nd-font) !important; margin: 0 0 4px !important; color: var(--nd-text) !important; }
.nd .nd-rev__body { font-size: 15px; }
/* specifications: values next to their labels */
.nd .nd-ptabs .product-page-specs td:last-child { text-align: left !important; }
/* the tab already says "Характеристики": no second heading inside */
.nd .nd-ptabs .product-page-specs > h2:first-child, .nd .nd-ptabs .product-page-specs > .h2-title:first-child { display: none !important; }
@media (max-width: 1023px) { .nd .nd-rev__h { display: none; } .nd .nd-rev__head { justify-content: flex-end; } }
/* description type hierarchy */
.nd .nd-ptabs__desc h2 { font: 800 22px/1.3 var(--nd-font-h) !important; margin: 18px 0 10px !important; }
.nd .nd-ptabs__desc h3 { font: 600 17px/1.35 var(--nd-font) !important; margin: 14px 0 8px !important; }
.nd .nd-ptabs__desc > div > :first-child, .nd .nd-ptabs__desc h2:first-child { margin-top: 0 !important; }
/* feature cards from the admin description */
.nd .nd-ptabs .feature-items { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; max-width: none !important; margin: 16px 0 !important; justify-content: initial !important; }
.nd .nd-ptabs .feature-item { max-width: none !important; width: auto !important; margin: 0 !important; padding: 12px !important; border: 1px solid var(--nd-line) !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important; }
.nd .nd-ptabs .feature-item:hover { background: #fff !important; border-color: var(--nd-green-sign) !important; }
.nd .nd-ptabs .feature-items > :not(.feature-item) { grid-column: 1 / -1; }
.nd .nd-ptabs .feature-item h3 { text-align: left !important; margin: 8px 0 4px !important; }
.nd .nd-ptabs .feature-item img { border-radius: 10px; }
/* tab panels: keyboard focus visible */
.nd .nd-ptabs__panel:focus-visible { outline: 2px solid #16457a !important; outline-offset: 4px; border-radius: 6px; }
/* breadcrumbs: no stray slash on phones (main.css moves the first crumbs off-screen) */
.nd .nd-prod__crumbs .breadcrumb { position: static !important; left: auto !important; }
/* touch targets */
.nd .nd-rate-btns button { min-width: 32px; min-height: 32px; font-size: 24px; }
@media (max-width: 1023px) {
  .nd .nd-prod__crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
  .nd .nd-prod__rate { min-height: 32px; }
}
/* out of stock: the price is not the main thing */
.nd .nd-buy__price:has(.nd-avail--out) .nd-price-img { opacity: .55; filter: grayscale(1); }
.nd .nd-buy__call { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid #16457a; border-radius: 12px; color: #16457a !important; font-weight: 600; text-decoration: none !important; }
/* chat widgets: never over the buy bar, the cloud message stays closed on product pages */
.nd-is-prod #bwc-chat-cloud-message { display: none !important; }
@media (max-width: 1023px) {
  html.nd-buybar-on #bwc-widget-action { bottom: 148px !important; }
  html.nd-buybar-on .viber-chat-btn { display: none !important; }
  html.nd-buybar-on body { padding-bottom: 128px !important; }
}

/* free delivery */
.nd .nd-buy__trust li.nd-buy__free b { color: #1a7034; }
.nd .nd-pay__free { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #e6f4ea; color: #1a7034; font-size: 14px; }
.nd .nd-pay__free svg { flex: none; }
.nd .nd-pay__free b { color: #145c2a; }
.nd .nd-pay li.is-free { background: #e6f4ea; }
.nd .nd-pay li.is-free span { color: #1a7034; }
.nd .nd-cards--row .nd-stock--order { color: #9a3412; } .nd .nd-cards--row .nd-stock--order::before { background: #c2410c; } .nd .nd-prod__cats { min-width: 0; }
/* wider site: the specs table keeps labels and values close */
.nd .nd-ptabs .product-page-specs table { max-width: 920px; }
/* large photos (…_enl, ~1000px) are shown now: the photo box may grow on wide screens (2026-11-18) */
@media (min-width: 1440px) { .nd .nd-gal__main { max-height: 640px; } }
/* «Є в наявності схожі» under the buy block (2026-11-18): compact rows */
.nd .nd-buy__alt { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--nd-line); border-radius: 14px; background: #f7fbf8; }
.nd .nd-buy__alt h2 { margin: 0 0 4px !important; font: 700 15px/1.3 var(--nd-font) !important; color: var(--nd-text) !important; }
.nd .nd-mini .nd-cards { display: flex !important; flex-direction: column; gap: 0; list-style: none; margin: 0; padding: 0 !important; }
.nd .nd-mini .nd-card { display: grid !important; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: start; margin: 0 !important; padding: 8px 0 !important; border: 0 !important; border-bottom: 1px solid var(--nd-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.nd .nd-mini .nd-card:last-child { border-bottom: 0 !important; }
.nd .nd-mini .nd-card__img { grid-column: 1; grid-row: 1 / span 2; width: 56px; height: 56px; margin: 0 !important; padding: 0 !important; }
.nd .nd-mini .nd-card__img img { width: 56px !important; height: 56px !important; object-fit: contain; }
.nd .nd-mini .nd-card__name { grid-column: 2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 0 !important; font-size: 13px !important; line-height: 1.35 !important; color: var(--nd-text) !important; text-decoration: none; }
.nd .nd-mini .nd-badge, .nd .nd-mini .nd-rate, .nd .nd-mini .nd-stock { display: none !important; }
.nd .nd-mini .nd-card__buy { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin: 0 !important; }
.nd .nd-mini .nd-card__buy img.nd-price-img { flex: none; }
.nd .nd-mini .nd-card__buy form { margin: 0; }
.nd .nd-mini .nd-btn--buy { height: 32px !important; min-height: 32px; padding: 0 12px !important; font-size: 13px !important; border-radius: 10px !important; background: var(--nd-green) !important; color: #fff !important; border: 0 !important; display: inline-flex; align-items: center; text-decoration: none !important; }
/* owner 2026-11-18: «Схожі товари» / «Купують разом» — cards the size of the catalogue / home ones, ONE row; the rest scroll sideways */
@media (min-width: 640px) {
  .nd .nd-prod__more .nd-cards--row { 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; padding-bottom: 6px !important; scrollbar-width: thin; }
  .nd .nd-prod__more .nd-cards--row > li { scroll-snap-align: start; }
}
@media (min-width: 1180px) { .nd .nd-prod__more .nd-cards--row { grid-auto-columns: calc((100% - 4 * 16px) / 5); } }
@media (min-width: 1440px) { .nd .nd-prod__more .nd-cards--row { grid-auto-columns: calc((100% - 5 * 16px) / 6); } }
@media (max-width: 639px) { .nd .nd-mini .nd-card__name { -webkit-line-clamp: 3; } .nd .nd-mini .nd-card { padding: 6px 0 !important; } }
/* a product with one photo (no thumbnails): the photo takes the same box as with several (it fell into the 84px thumbnail column) */
.nd .nd-gal > .nd-gal__main { grid-column: 2; }
.nd .nd-gal:not(:has(.nd-gal__thumbs)) > .nd-gal__main { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 640px; }
@media (max-width: 1023px) { .nd .nd-gal > .nd-gal__main { grid-column: auto; } }
/* rows on phones: snapping keeps the 16px page gutter (the first card was cut at the screen edge; audit 2026-11-18) */
@media (max-width: 1023px) { .nd .nd-prod__more .nd-cards--row { scroll-padding-inline: 16px; } }
