body {
  margin: 0;
  background: var(--pc-page-background, #fff);
  color: var(--pc-page-text, #10110f);
  font-family: system-ui, sans-serif;
}

/* TOP HEADER START */
.pc-header {
  --header-gutter: clamp(14px, 4vw, 64px);
  width: 100%;
  border-radius: 0;
  background: var(--pc-header-background, #10110f);
  color: var(--pc-header-text, #f5f5ed);
}

.pc-header * {
  box-sizing: border-box;
}

.pc-header a {
  text-decoration: none;
}

.pc-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: var(--pc-header-height, 68px);
  padding-inline: var(--header-gutter);
}

.pc-header__brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  color: inherit;
  font-size: 19px;
  font-weight: 750;
  white-space: nowrap;
}

.pc-header__brand span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--pc-brand-mark-background, linear-gradient(145deg, #2563eb, #1748be));
  color: var(--pc-brand-mark-text, #fff);
  font-size: var(--pc-brand-mark-size, 16px);
  font-weight: 800;
}

.pc-header__search {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding-inline: 16px;
  border: 1px solid var(--pc-search-border, #383a33);
  border-radius: 999px;
  background: var(--pc-search-background, #20221d);
  color: var(--pc-search-text, #fff);
  font: inherit;
}

.pc-header__search::placeholder {
  color: var(--pc-search-placeholder, #aaa);
}

.pc-header__actions {
  display: flex;
  justify-self: end;
  gap: 8px;
}

.pc-header__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding-inline: 10px;
  border: 1px solid var(--pc-action-border, #e5e7eb);
  border-radius: 11px;
  background: var(--pc-action-background, #fff);
  color: var(--pc-action-text, #18263c);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;

  & > span {
    font-size: var(--pc-action-icon-size);
    line-height: 1;
    transform: translateY(var(--pc-action-icon-offset-y, 0px));
  }
}

.pc-header__count {
  display: grid;
  min-width: 21px;
  height: 21px;
  padding-inline: 4px;
  place-items: center;
  border-radius: 999px;
  background: var(--pc-count-background, #0668e1);
  color: var(--pc-count-text, #fff);
  font-size: 11px;
}

/* TOP HEADER MAIN LINKS START */
.pc-header__links {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 36px);
  padding-inline: var(--header-gutter);
  border-bottom: 1px solid var(--pc-nav-border, #e5e7eb);
  background: var(--pc-nav-background, #fff);
}

.pc-header__links a,
.pc-header__links summary {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 38px;
  color: var(--pc-nav-text, #18263c);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.pc-header__links a:hover,
.pc-header__links summary:hover {
  color: var(--pc-nav-hover-text, #1748be);
}

.pc-header__dropdown {
  position: relative;
  flex: 0 0 auto;
}

.pc-header__dropdown summary {
  gap: 6px;
  list-style: none;
  cursor: pointer;
}

.pc-header__dropdown summary::-webkit-details-marker {
  display: none;
}

.pc-header__dropdown summary::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.pc-header__dropdown[open] summary::after {
  transform: rotate(225deg);
}

.pc-header__submenu {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  min-width: max-content;
  padding: 4px;
  border: 1px solid var(--pc-nav-border, #e5e7eb);
  background: var(--pc-nav-background, #fff);
  box-shadow: 0 6px 16px rgb(0 0 0 / 10%);
}

.pc-header__submenu a {
  padding-inline: 12px;
}

.pc-header__submenu a:hover {
  background: var(--pc-nav-hover-background, #f4f7fc);
}

/* TOP HEADER MAIN LINKS END */

/* DEALS CHECKED REGULARLY START */
.pc-header__status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-inline-start: auto;
  color: var(--pc-status-text, #18263c);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.pc-header__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pc-status-dot, #24a777);
  box-shadow: 0 0 0 4px var(--pc-status-glow, rgb(36 167 119 / 12%));
}
/* DEALS CHECKED REGULARLY END */

.pc-header :focus-visible {
  outline: 2px solid var(--pc-focus-colour, #5487ff);
  outline-offset: 2px;
}

.pc-header__links :focus-visible {
  outline-offset: -2px;
}

@media (max-width: 980px) {
  .pc-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

@media (max-width: 820px) {
  .pc-header__links {
    overflow-x: auto;
  }

  .pc-header__submenu {
    position: static;
    margin-bottom: 6px;
    box-shadow: none;
  }
}

@media (max-width: 740px) {
  .pc-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-block: 10px;
  }

  .pc-header__search {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 380px) {
  .pc-header__brand {
    gap: 5px;
    font-size: 16px;
  }

  .pc-header__brand span {
    width: 30px;
    height: 30px;
  }

  .pc-header__action {
    gap: 4px;
    padding-inline: 6px;
    font-size: 12px;
  }
}
/* TOP HEADER END */
