/* Brandbook v8 chrome only — header / drawer / footer / shell.
   Safe to load on catalog/product/account without landing page selectors. */

.okolica-v8-shell {
  background: var(--ok-bg, #F9F9F6);
  color: var(--ok-primary, #252724);
  min-height: 100vh;
  font-family: Manrope, Arial, sans-serif;
}

.okolica-v8-shell :where(a) { text-decoration: none; color: inherit; }
.okolica-v8-shell :where(button, input, select) { font: inherit; }
.okolica-v8-shell :where(button) { cursor: pointer; }

.okolica-v8-shell > header,
.okolica-v8-shell header:first-of-type {
  background: rgba(248, 248, 245, 0.98);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #ddddd8;
}

.okolica-v8-shell .site.head,
.okolica-v8-shell .head {
  max-width: 1512px;
  margin: 0 auto;
  padding: 0 48px;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.okolica-v8-shell .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: 22px;
  text-decoration: none;
  color: inherit;
}
.okolica-v8-shell .logo .logomark { display: none !important; }
.okolica-v8-shell .logo .ok-logo-moto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ok-accent, #FF5A26);
  font-size: 22px;
  flex-shrink: 0;
}
.okolica-v8-shell .logotype {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: Oswald, "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.okolica-v8-shell .logotype small {
  font-family: Manrope, Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #535750;
}

.okolica-v8-shell .catalog {
  height: 43px;
  min-width: 100px;
  border: 0;
  background: #262725;
  color: #fff;
  border-radius: 3px;
  padding: 0 13px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 650;
}
.okolica-v8-shell .catalog:hover,
.okolica-v8-shell .catalog[aria-expanded="true"] { background: #454649; }
.okolica-v8-shell .catalog .icon { width: 16px; height: 16px; stroke-width: 2; }

.okolica-v8-shell .search {
  position: relative;
  flex: 1;
  min-width: 150px;
  display: flex;
  height: 43px;
  border: 1px solid #dcdcd8;
  background: #fff;
  border-radius: 3px;
  align-items: center;
}
.okolica-v8-shell .search > .icon { margin-left: 15px; color: #747572; width: 19px; }
.okolica-v8-shell .search input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%;
  padding: 0 11px;
  font-size: 13px;
  color: #222;
}
.okolica-v8-shell .search input::placeholder { color: #8d8e8f; }
.okolica-v8-shell .search button {
  background: transparent;
  margin: 0 5px 0 0;
  border: 0;
  border-radius: 0;
  color: #828780;
  padding: 0;
  height: 100%;
  width: 41px;
  min-width: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.okolica-v8-shell .search button:hover { background: transparent; color: #414742; }
.okolica-v8-shell .search button .icon { width: 19px; height: 19px; }

.okolica-v8-shell .head-actions {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-left: 10px;
}
.okolica-v8-shell .action {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  min-width: 48px;
  padding: 4px 0;
  position: relative;
  color: inherit;
  text-decoration: none;
}
.okolica-v8-shell .action:hover { color: var(--ok-accent, #FF5A26); }
.okolica-v8-shell .action .icon { width: 22px; height: 22px; stroke-width: 1.75; }
.okolica-v8-shell .action span { font-size: 10px; color: #424842; font-weight: 500; }
.okolica-v8-shell .count {
  position: absolute;
  top: -4px;
  right: 2px;
  min-width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  border-radius: 10px;
  background: var(--ok-accent, #FF5A26);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: none;
}
.okolica-v8-shell .count.show { display: block; }

.okolica-v8-shell .sell {
  margin-left: 3px;
  height: 43px;
  padding: 0 17px;
  background: var(--ok-accent, #FF5A26);
  color: #fff;
  border: 0;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 790;
  white-space: nowrap;
  text-decoration: none;
}
.okolica-v8-shell .sell:hover { background: var(--ok-orange-hover, #DF441E); }
.okolica-v8-shell .sell .icon { width: 15px; height: 15px; stroke-width: 2.7; }

/* Catalog drawer */
.okolica-v8-shell .catdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  height: 100dvh;
  width: 100vw;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.okolica-v8-shell .catdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.okolica-v8-shell .catdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 20, 19, 0.43);
  backdrop-filter: blur(3px);
}
.okolica-v8-shell .catdrop .dropin {
  position: relative;
  height: 100%;
  width: min(320px, 92vw);
  background: #f7f7f4;
  border-right: 2px solid #242521;
  box-shadow: 24px 0 80px #00000020;
  padding: 22px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateX(-100%);
  transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
  overflow: hidden;
}
.okolica-v8-shell .catdrop.is-open .dropin { transform: translateX(0); }
.okolica-v8-shell .drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.okolica-v8-shell .drop-heading {
  font-family: Oswald, "Arial Narrow", Arial, sans-serif;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.okolica-v8-shell .drawer-close {
  border: 0;
  background: #eef1f3;
  color: #303236;
  width: 36px;
  height: 36px;
  border-radius: 3px;
  display: grid;
  place-items: center;
}
.okolica-v8-shell .drawer-search { position: relative; }
.okolica-v8-shell .drawer-search input {
  width: 100%;
  height: 46px;
  border: 1px solid #dde2e6;
  border-radius: 3px;
  background: #f5f7f8;
  padding: 0 14px 0 42px;
  font-size: 15px;
  color: #232528;
  outline: 0;
}
.okolica-v8-shell .drawer-search .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c9094;
}
.okolica-v8-shell .catlist {
  display: flex;
  flex-direction: column;
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.okolica-v8-shell .catlist a {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 13px 8px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2328;
  border-bottom: 1px solid #e1e1db;
  text-decoration: none;
}
.okolica-v8-shell .catlist a:hover { color: var(--ok-accent, #FF5A26); background: #eeeee8; }
.okolica-v8-shell .catlist a span { color: var(--ok-accent, #FF5A26); font-size: 18px; }

.okolica-v8-shell > footer,
.okolica-v8-shell footer:last-of-type {
  border-top: 1px solid var(--ok-line, #DADDD8);
  padding: 34px 0 45px;
}
.okolica-v8-shell .foot {
  max-width: 1512px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 25px;
}
.okolica-v8-shell .foot-brand {
  font-family: Oswald, "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -1px;
}
.okolica-v8-shell .foot p {
  font-size: 12px;
  line-height: 1.7;
  color: #404841;
  max-width: 380px;
  margin: 7px 0 0;
}
.okolica-v8-shell .foot-links { display: flex; gap: 23px; flex-wrap: wrap; }
.okolica-v8-shell .foot-links a { font-size: 12px; color: #404841; }
.okolica-v8-shell .foot-links a:hover { color: var(--ok-accent, #FF5A26); }

.okolica-v8-shell .icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .okolica-v8-shell .site.head,
  .okolica-v8-shell .head {
    flex-wrap: wrap;
    padding: 15px 29px;
    min-height: unset;
    gap: 12px;
  }
  .okolica-v8-shell .logo { margin-right: auto; }
  .okolica-v8-shell .head-actions { margin-left: 0; }
  .okolica-v8-shell .search { order: 5; flex-basis: calc(100% - 120px); }
  .okolica-v8-shell .catalog { order: 4; }
}
@media (max-width: 670px) {
  .okolica-v8-shell .site.head,
  .okolica-v8-shell .head,
  .okolica-v8-shell .foot { padding-left: 17px; padding-right: 17px; }
  .okolica-v8-shell .head-actions .action span { display: none; }
  .okolica-v8-shell .head-actions .action:first-child { display: none; }
  .okolica-v8-shell .foot { flex-direction: column; }
}
