/* chain.in.ua, 09.11.2026: search help, delivery page, small fixes */
.v9-ru { display: none !important; }
html[lang^="ru"] .v9-ru { display: inline !important; }
html[lang^="ru"] .v9-ua { display: none !important; }
.v9-nf .v9-nf-cats > li { display: block !important; visibility: visible !important; opacity: 1 !important; margin: 0; padding: 0; float: none; width: auto; height: auto; }
.v9-nf .v9-nf-cats > li::before { content: none !important; }
.v9-nf { margin: 20px 0 28px; padding: 20px; background: #fff; border: 1px solid #E2E2DD; border-left: 4px solid #F5C400; border-radius: 10px; max-width: 760px; font-family: Inter, system-ui, sans-serif; color: #23262B; }
.v9-nf p { margin: 0 0 12px; font-size: 16px; line-height: 1.5; }
.v9-nf .v9-nf-t { font-weight: 700; font-size: 18px; }
.v9-nf .v9-nf-s { font-size: 15px; color: #565B63; }
.v9-nf .v9-nf-cats { display: flex !important; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; position: static; }
.v9-nf .v9-nf-cats a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #B9BBB6; border-radius: 8px; color: #23262B; text-decoration: none; font-size: 15px; font-weight: 600; background: #F6F6F3; }
.v9-nf .v9-nf-cats a:hover { border-color: #23262B; }
.v9-btn, .v9-nf .v9-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; background: #F5C400; color: #23262B !important; font: 700 15px/1.2 Inter, system-ui, sans-serif; letter-spacing: .02em; text-decoration: none !important; border: 0; cursor: pointer; text-transform: uppercase; }
.v9-btn:hover { background: #E5B600; }
@media (max-width: 480px) { .v9-nf { padding: 16px; } .v9-btn { width: 100%; box-sizing: border-box; } }
/* delivery and payment page */
.v9-dp { max-width: 820px; font-family: Inter, system-ui, sans-serif; color: #23262B; font-size: 16px; line-height: 1.55; }
.v9-dp h2 { font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 24px; line-height: 1.2; margin: 28px 0 12px; }
.v9-dp h2:first-child { margin-top: 0; }
.v9-dp p { margin: 0 0 12px; }
.v9-dp ol.v9-steps { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: v9s; display: flex; flex-direction: column; gap: 10px; }
.v9-dp ol.v9-steps > li { counter-increment: v9s; position: relative; padding: 14px 16px 14px 60px; background: #fff; border: 1px solid #E2E2DD; border-radius: 10px; }
.v9-dp ol.v9-steps > li::before { content: counter(v9s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: #F5C400; color: #23262B; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.v9-dp ol.v9-steps strong { display: block; margin-bottom: 2px; }
.v9-dp ul { margin: 0 0 12px; padding-left: 22px; }
.v9-dp .v9-cta { margin: 20px 0 8px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.v9-dp .v9-note { font-size: 14px; color: #565B63; }
/* 320-400 px: no horizontal scrolling (mockup grids have minmax(240-340px) columns; old category texts have 350 px images) */
@media (max-width: 400px) {
  .chain-v8 [style*="minmax(2"], .chain-v8 [style*="minmax(3"], .chain-v8 [style*="minmax(4"] { grid-template-columns: minmax(0, 1fr) !important; }
  #content img, .col-sm-12 img { max-width: 100% !important; height: auto !important; }
}
.v9-nf .v9-btn { margin: 0 8px 8px 0; }
@media (max-width: 360px) { .chain-v8 h1 { font-size: 23px !important; overflow-wrap: anywhere; } }
.v9-nf .v9-nf-hint { color: #23262B; font-weight: 600; }
/* header menu row: wraps on tablets; on phones every item is in the burger menu, so the row is hidden (no side scrolling) */
@media (max-width: 1100px) { #v8-header nav > div { flex-wrap: wrap !important; overflow-x: visible !important; column-gap: 22px !important; row-gap: 0 !important; } }
@media (max-width: 640px) { #v8-header nav[aria-label] { display: none !important; } }
/* card gallery: thumbnails share the width instead of scrolling sideways */
@media (max-width: 400px) { .chain-v8 table { table-layout: fixed; } .chain-v8 td, .chain-v8 th { overflow-wrap: anywhere; } }
@media (max-width: 520px) { .chain-v8 button[data-thumb] { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; height: 56px !important; } }

/* v9ru 11.11: on phones the close button of the request window stays visible while the form is scrolled */
@media (max-width: 600px) {
  .chain-rq-overlay .chain-rq-close { position: fixed !important; top: 10px; right: 10px; z-index: 5; width: 40px; height: 40px;
    border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
}
