/* PZK e-shop theme: page header. */

/* Header */
.pzk-header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--pzk-grey);
}

.pzk-header-in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 80px;
}

.pzk-logo img {
  display: block;
  width: 123px;
  height: auto;
}

.pzk-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: clamp(24px, 3.1vw, 60px);
}

.pzk-nav a {
  color: var(--pzk-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.16px;
  text-decoration: none;
  white-space: nowrap;
}

.pzk-nav a:hover,
.pzk-nav a.is-active {
  color: var(--pzk-orange);
}

.pzk-header-tools {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pzk-search {
  margin: 0 9px 0 0;
}

.pzk-search input {
  width: 240px;
  height: 41px;
  padding: 0 24px;
  border: 1px solid var(--pzk-grey);
  border-radius: 0;
  background: var(--pzk-grey);
  color: #000;
  font-size: 14px;
  letter-spacing: -0.14px;
}

.pzk-search input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.pzk-search input:focus {
  outline: 0;
  border-color: var(--pzk-navy);
}

.pzk-site-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 41px;
  padding: 0 24px 0 25px;
  border: 1px solid var(--pzk-navy);
  background: var(--pzk-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}

/* The arrow is drawn pointing up. */
.pzk-site-link img {
  transform: rotate(90deg);
}

.pzk-site-link:hover,
.pzk-site-link:focus-visible {
  background: var(--pzk-orange);
  border-color: var(--pzk-orange);
  color: #fff;
}

/* The stock stylesheet gives #cart a bottom margin. */
#cart.pzk-cart {
  margin: 0;
}

.pzk-cart-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 41px;
  padding: 0 20px 0 50px;
  border: 1px solid var(--pzk-navy);
  background: #fff;
  color: var(--pzk-navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.22px;
  white-space: nowrap;
}

.pzk-cart-icon {
  position: absolute;
  top: 7.5px;
  left: 13px;
  width: 24px;
  height: 24px;
}

.pzk-cart-icon img {
  position: absolute;
  display: block;
  max-width: none;
}

.pzk-cart-handle {
  top: 0.64px;
  left: 0.25px;
}

.pzk-cart-basket {
  top: 3.93px;
  left: 3.94px;
}

.pzk-cart-wheel {
  top: 18.41px;
  left: 6.83px;
}

.pzk-cart-wheel.is-second {
  left: 16.05px;
}

.pzk-cart-count {
  position: absolute;
  top: -4.5px;
  left: 14px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 8px;
  background: var(--pzk-orange);
  color: #fff;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: -0.91px;
  text-align: center;
}

.pzk-cart-menu {
  box-sizing: border-box;
  width: min(380px, calc(100vw - 32px));
  min-width: 0;
  padding: 8px 16px 16px;
  border: 1px solid var(--pzk-grey);
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(24, 28, 143, 0.12);
  font-size: 16px;
}

.pzk-cart-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pzk-cart-lines li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--pzk-grey);
}

.pzk-cart-lines img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.pzk-cart-lines a {
  color: var(--pzk-navy);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.pzk-cart-line-meta {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 400;
}

.pzk-cart-line-end {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pzk-cart-line-end form {
  margin: 0;
}

.pzk-cart-line-end button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pzk-navy);
  font-size: 22px;
  line-height: 1;
}

.pzk-cart-menu-total {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
}

.pzk-cart-menu .pzk-button {
  justify-content: center;
  width: 100%;
  border-color: var(--pzk-navy);
  background: var(--pzk-navy);
  color: #fff;
  font-weight: 700;
}

.pzk-cart-menu .pzk-button:hover,
.pzk-cart-menu .pzk-button:focus-visible {
  border-color: var(--pzk-orange);
  background: var(--pzk-orange);
  color: #fff;
}

.pzk-cart-menu-empty {
  margin: 24px 0;
  text-align: center;
}

.pzk-nav-toggle {
  display: none;
  width: 41px;
  height: 41px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--pzk-navy);
  background: #fff;
}

.pzk-nav-toggle span,
.pzk-nav-toggle span::before,
.pzk-nav-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: 0 auto;
  background: var(--pzk-navy);
  content: "";
}

.pzk-nav-toggle span {
  position: relative;
}

.pzk-nav-toggle span::before,
.pzk-nav-toggle span::after {
  position: absolute;
  left: 0;
}

.pzk-nav-toggle span::before {
  top: -6px;
}

.pzk-nav-toggle span::after {
  top: 6px;
}

/* At the design width the menu sits on the centre of the page, not of the free space. */
@media (min-width: 1680px) {
  .pzk-header-in {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .pzk-header-tools {
    justify-self: end;
  }
}

@media (max-width: 1279.98px) {
  .pzk-search input {
    width: 170px;
  }

  .pzk-site-link {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .pzk-header-in {
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-block: 14px;
  }

  .pzk-nav-toggle {
    display: block;
    order: 2;
  }

  .pzk-header-tools {
    order: 3;
    width: 100%;
    gap: 12px;
  }

  .pzk-search {
    flex: 1;
    margin: 0;
  }

  .pzk-search input {
    width: 100%;
  }

  .pzk-nav {
    display: none;
    order: 4;
    flex: 0 0 100%;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--pzk-grey);
  }

  .pzk-header.is-open .pzk-nav {
    display: flex;
  }

  .pzk-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--pzk-grey);
  }
}
