/* =========================================================================
   130.com.ua — new design: header "sky" (variant D of design-mockups/header-3).
   Blue road sign with a white line inside the edge, sky photo, rounded bottom corners, green "Каталог", the search is the
   usual .nd-sf from nd.css. Ids/classes used by nd.js and the engine are kept (nd-catbtn, #nd-menu, nd-phones, nd-cart,
   .nd-cart__n, #shpcrtgc, .basket, .nd-top__cmp, .nd-top__login, .nd-langs, .nd-tabbar, #header-search ...).
   ========================================================================= */
.nd .gm { --b: #16588e; --d: #12568f; display: block !important; width: 100%; position: relative; z-index: 50; margin: 0 !important; padding: 0 !important; height: auto !important; min-height: 0 !important; top: auto !important; background: none; box-shadow: none !important; }
.nd .gm-top, .nd .gm-sign { font: 14px/18px var(--nd-font); color: #fff; }
.nd .gm-find { color: var(--nd-text); }
.nd .gm-top *, .nd .gm-sign * { box-sizing: border-box; }
.nd .gm-top a, .nd a.gm-logo, .nd .gm-tel { color: inherit; text-decoration: none; }
.nd .gm-cart { text-decoration: none; }
.nd .gm-top a:hover, .nd .gm-tel:hover { text-decoration: underline; text-underline-offset: 3px; }
.nd .gm-logo img, .nd .gm-cart img { display: block; max-width: none; }
.nd .gm-cart i { font-style: normal; }
.nd .gm :focus-visible { outline: 3px solid #ffd21f; outline-offset: 2px; box-shadow: none; }

.nd .gm-top { background: var(--d); }
.nd .gm-top__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 32px; }
.nd .gm-top nav, .nd .gm-r, .nd .gm-lang { display: flex; gap: 20px; align-items: center; flex-wrap: nowrap; }
.nd .gm-top nav { min-width: 0; overflow: hidden; white-space: nowrap; }
.nd .gm-top a { white-space: nowrap; }
.nd .gm-top [aria-current="page"] { font-weight: 600; opacity: .8; }
.nd .gm-r { flex: none; }
.nd .gm-lang { gap: 9px; }
.nd .gm-lang b { background: #fff; color: var(--d); padding: 1px 6px; border-radius: 3px; }
.nd .gm-promo { font-weight: 700; }

/* the sign: sky photo under a blue tint, white line inside the edge (drawn by the photo file's own gradient is not needed) */
.nd .gm-sign { background: #14609c url(/images/nd/header/sky-blue.jpg) 100% 50% / cover; background-image: image-set(url(/images/nd/header/sky-blue.webp) type("image/webp"), url(/images/nd/header/sky-blue.jpg) type("image/jpeg")); background-position: 100% 50%; background-size: cover; background-repeat: no-repeat; background-color: #14609c; border-radius: 0 0 24px 24px; }
.nd .gm-in { display: grid; grid-template: 88px / auto minmax(0, 1fr) auto auto; gap: 26px; padding-top: 9px; padding-bottom: 9px; align-items: center; }
.nd .gm-logo { display: flex; align-items: center; gap: 14px; grid-row: 1; }
.nd .gm-logo img { height: 88px; width: auto; border-radius: 6px; }
.nd .gm-name { display: block; font-size: 13px; line-height: 17px; max-width: 150px; color: #fff; }
.nd .gm-name b { display: block; font: 800 20px/24px var(--nd-font-h); letter-spacing: -.01em; }
.nd .gm-row { grid-column: 2; grid-row: 1; display: flex; gap: 12px; align-items: center; min-width: 0; }
.nd .gm-cat { flex: none; display: flex; gap: 10px; align-items: center; height: 52px; padding: 0 20px; border: 0; border-radius: 12px; background: #39b54a; color: #fff; font: 700 18px var(--nd-font); cursor: pointer; white-space: nowrap; }
.nd .gm-cat:hover { filter: brightness(1.07); }
.nd .gm-cat .nd-catbtn__x { display: none; }
.nd .gm-cat[aria-expanded="true"] { background: #2f9a3e; }
.nd .gm-cat[aria-expanded="true"] .nd-catbtn__grid { display: none; }
.nd .gm-cat[aria-expanded="true"] .nd-catbtn__x { display: inline; }
.nd .gm-find { flex: 1 1 320px; min-width: 0; }

/* phone: number + hours, an arrow opens the other numbers and the working time */
.nd .gm-info { grid-column: 3; grid-row: 1; position: relative; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nd .gm-tel { display: block; font-variant-numeric: tabular-nums; }
.nd .gm-tel b { display: block; font: 800 19px/23px var(--nd-font-h); }
.nd .gm-tel small { display: block; font: 400 13px/17px var(--nd-font); opacity: .95; }
.nd .gm-fw { display: none !important; }
.nd .nd-phones__more { flex: none; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nd .nd-phones__more:hover { background: rgba(255,255,255,.22); }
.nd .nd-phones__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.nd .nd-phones__list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 70; min-width: 260px; padding: 14px 16px; border-radius: var(--nd-r); background: #fff; box-shadow: var(--nd-shadow); color: var(--nd-text); font-size: 14px; white-space: normal; }
.nd .nd-phones__time { margin: 0 0 8px; color: var(--nd-text-2); display: flex; gap: 6px; flex-wrap: wrap; }
.nd .nd-phones__time .work_title, .nd .nd-phones__time .work_time_week { display: inline; text-transform: none !important; float: none !important; text-align: left !important; font-size: 14px !important; letter-spacing: 0 !important; color: var(--nd-text) !important; margin: 0 !important; width: auto !important; }
.nd .nd-phones__time .work_title { font-weight: 700 !important; }
.nd .nd-phones__nums { display: flex; flex-direction: column; }
.nd .nd-phones__nums a { min-height: 36px; display: flex; align-items: center; font-weight: 600; color: var(--nd-text); }

/* trunk */
.nd .gm-cart { grid-column: 4; grid-row: 1; position: relative; width: 108px; height: 88px; background: #fff; border-radius: 8px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px #39b54a; color: #173a25 !important; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; line-height: 15px; text-decoration: none !important; }
.nd .gm-cart img { height: 52px; width: auto; margin-bottom: 2px; }
.nd .gm-cart b { font-weight: 600; white-space: nowrap; }
.nd .gm-cart__m { display: none; }
.nd .gm-cart .nd-cart__n { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #c9480a; color: #fff; font: 700 13px/24px var(--nd-font); text-align: center; box-shadow: 0 0 0 2px #fff; }
.nd .gm-cart:not(.has-items) .nd-cart__n { background: #566674; }

@media (max-width: 1180px) { .nd .gm-name { display: none; } .nd .gm-in { gap: 18px; } }
@media (max-width: 1080px) { .nd .gm-cat { padding: 0 14px; } .nd .gm-in { gap: 14px; } }

/* up to 900 px: logo, free number, trunk, search; the catalogue, calls and compare are in the bottom bar */
@media (max-width: 900px) {
  .nd .gm-top, .nd .gm-cat, .nd .nd-phones__more, .nd .nd-phones__list, .nd .gm-fh, .nd .gm-name { display: none !important; }
  .nd .gm { margin-bottom: 10px !important; }
  .nd .gm-sign { border-radius: 0 0 18px 18px; }
  .nd .gm-in { grid-template: 54px 48px / auto minmax(0, 1fr) auto; gap: 9px 12px; padding-top: 14px; padding-bottom: 14px; }
  .nd .gm-logo { grid-row: 1; grid-column: 1; }
  .nd .gm-logo img { height: 58px; }
  .nd .gm-info { grid-row: 1; grid-column: 2; min-width: 0; }
  .nd .gm-tel b { font-size: 19px; line-height: 22px; }
  .nd .gm-fw { display: block !important; }
  .nd .gm-cart { grid-row: 1; grid-column: 3; width: 74px; height: 60px; }
  .nd .gm-cart img { height: 32px; margin: 3px 0 0; }
  .nd .gm-cart__d { display: none; }
  .nd .gm-cart__m { display: inline; }
  .nd .gm-row { grid-column: 1 / 4; grid-row: 2; }
  .nd .gm-find .nd-sf__box { height: 48px; }
  .nd .nd-tabbar { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; }
  .nd .nd-tabbar > * { min-width: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
}
/* the bottom bar exists only on phones and small tablets */
@media (min-width: 901px) { .nd .nd-tabbar { display: none !important; } body.nd { padding-bottom: 0 !important; } }
@media (max-width: 374px) { .nd .gm-tel b { font-size: 17px; } }
