/* Nagłówek strony głównej YamaBoats. */
#header .yb-mast {
  --yb-navy: #0d284b;
  --yb-red: #ce0b1b;
  --yb-gutter: clamp(14px, 3.6vw, 64px);
  --yb-max: 1600px;
  color: var(--yb-navy);
  background: #fff;
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.2;
}

#header .yb-mast *, #header .yb-mast *::before, #header .yb-mast *::after {
  box-sizing: border-box;
}

#header .yb-mast__row {
  display: grid;
  grid-template-columns: auto minmax(10rem, 1fr) auto;
  align-items: center;
  column-gap: clamp(18px, 3.8vw, 64px);
  max-width: var(--yb-max);
  min-height: clamp(57px, 5.4vw, 82px);
  margin: 0 auto;
  padding: 5px var(--yb-gutter);
}

#header .yb-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  justify-self: start;
  color: var(--yb-navy);
  text-decoration: none;
  white-space: nowrap;
}

#header .yb-brand__name {
  display: block;
  font-size: clamp(35px, 4.02vw, 57px);
  font-weight: 800;
  letter-spacing: -.047em;
  -webkit-text-stroke: .02em currentColor;
  line-height: .94;
  transform: skewX(-10deg);
  transform-origin: left bottom;
}

#header .yb-brand__name span { color: var(--yb-red); }

#header .yb-brand__line {
  display: block;
  padding-top: 3px;
  font-size: clamp(8px, .98vw, 13px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: .01em;
}

#header .yb-find { position: relative; min-width: 0; width: 100%; margin: 0; padding: 0; }
#header .yb-find form {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0 3px;
  min-height: clamp(32px, 2.9vw, 42px);
  border: 1px solid #bfcbd7;
  border-radius: 5px;
  background: #fff;
}
#header .yb-find form:focus-within { border-color: #254f7e; outline: 2px solid #d1dfec; }
#header .yb-find input[type=text] {
  flex: 1; width: 0; min-width: 0; color: var(--yb-navy); background: transparent;
  border: 0; box-shadow: none; outline: 0; margin: 0; padding: 5px 4px;
  font: 500 clamp(12px, 1.1vw, 15px)/1.25 Manrope, Arial, sans-serif;
}
#header .yb-find input::placeholder { color: #43556c; opacity: 1; }
#header .yb-find button {
  display: grid; place-items: center; flex: 0 0 30px; align-self: stretch;
  padding: 0; margin: 0; color: var(--yb-navy); background: transparent;
  border: 0; border-radius: 3px; cursor: pointer;
}
#header .yb-find button[hidden] { display: none; }
#header .yb-find .material-icons { font-size: 19px; }
#header .yb-mast__actions { display: flex; justify-content: flex-end; align-items: center; gap: clamp(10px, 2.65vw, 44px); }
#header .yb-action {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 40px; min-width: 42px; margin: 0; padding: 1px 0;
  font: 800 clamp(10px, 1.05vw, 14px)/1.14 Manrope, Arial, sans-serif;
  color: var(--yb-navy); text-decoration: none; white-space: nowrap; cursor: pointer;
}
#header .yb-action .material-icons { font-size: clamp(21px, 2.25vw, 28px); }
#header .yb-action__caption { padding-top: 2px; }
#header .yb-contact {
  flex-direction: row; gap: 7px; position: relative;
  padding-right: clamp(12px, 1.4vw, 22px); text-align: left;
}
#header .yb-contact::after {
  content: ""; position: absolute; top: 19%; bottom: 19%; right: 0;
  width: 1px; background: #b7c1ce;
}
#header .yb-contact .yb-action__caption { padding-top: 0; }
#header .yb-action:hover, #header .yb-action-menu[open] > summary { color: #b20d1d; }
#header .yb-action-menu { position: relative; margin: 0; }
#header .yb-action-menu > summary { list-style: none; }
#header .yb-action-menu > summary::-webkit-details-marker { display: none; }
#header .yb-action-menu__note {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 8;
  width: min(228px, 72vw); margin: 0; padding: 12px 14px; border: 1px solid #c3cfdb;
  border-radius: 5px; background: #fff; color: var(--yb-navy); box-shadow: 0 4px 14px #0b274321;
  text-align: left; font: 600 13px/1.5 Manrope, Arial, sans-serif;
}

#header .yb-sections { background: var(--yb-navy); color: #fff; }
#header .yb-sections ul {
  display: flex; align-items: stretch; justify-content: space-between; gap: 18px;
  max-width: var(--yb-max); overflow-x: auto; margin: 0 auto; border: 0;
  padding: 0 var(--yb-gutter); list-style: none; scrollbar-width: thin;
}
#header .yb-sections li { flex: 0 0 auto; margin: 0; padding: 0; }
#header .yb-sections a {
  display: flex; align-items: center; min-height: clamp(35px, 3.2vw, 46px); padding: 0 2px;
  color: #fff; text-decoration: none; white-space: nowrap;
  font: 800 clamp(12px, 1.25vw, 17px)/1.25 Manrope, Arial, sans-serif;
}
#header .yb-sections a:hover { text-decoration: underline; text-underline-offset: 4px; }
#header .yb-mast :is(a, button, summary):focus-visible { outline: 2px solid #3269a0; outline-offset: 2px; }
#header .yb-sections a:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }

@media (max-width: 850px) {
  #header .yb-mast__row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 14px; padding-block: 8px; }
  #header .yb-mast__actions { grid-column: 2; grid-row: 1; gap: clamp(5px, 2.5vw, 20px); }
  #header .yb-find { grid-column: 1 / -1; grid-row: 2; }
  #header .yb-find form { min-height: 38px; }
  #header .yb-find input[type=text] { font-size: 16px; }
  #header .yb-brand__name { font-size: clamp(25px, 5.5vw, 38px); }
  #header .yb-brand__line { font-size: clamp(6px, 1.3vw, 9px); }
  #header .yb-sections a { min-height: 42px; font-size: 13px; }
}
@media (max-width: 480px) {
  #header .yb-mast { --yb-gutter: 10px; }
  #header .yb-mast__row { column-gap: 6px; }
  #header .yb-mast__actions { gap: 0; }
  #header .yb-action { min-width: clamp(36px, 10vw, 44px); min-height: 44px; }
  #header .yb-action__caption { display: none; }
  #header .yb-contact { padding: 0; }
  #header .yb-contact::after { display: none; }
}

#yb-naglowek-01 #search_widget { max-width: none; }

/* YB01-FINVAL-LOGO START */
#header .yb-brand--finval {
  width: clamp(184px, 22vw, 300px);
  min-width: 0;
  max-width: 100%;
}
#header .yb-brand--finval .yb-brand__image {
  display: block;
  width: 100%;
  height: clamp(58px, 5.8vw, 80px);
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 850px) {
  #header .yb-brand--finval { width: clamp(150px, 42vw, 204px); }
  #header .yb-brand--finval .yb-brand__image { height: auto; }
}
/* YB01-FINVAL-LOGO END */
