:root {
  --luki-focus: #d7ff00;
}

.lucky-local-site :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--luki-focus);
  outline-offset: 3px;
}

.lucky-tools > a {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
}

.lucky-tools > a svg,
.lucky-search button svg {
  display: block;
  height: 21px;
  width: 21px;
}

.lucky-search button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
}

.lucky-product-card h3 {
  line-height: 1.35;
}

.lucky-payment:has(.lucky-payment-mark:empty) {
  display: none;
}

@media (max-width: 767px) {
  .lucky-header-row {
    grid-template-columns: 48px minmax(112px, 1fr) auto;
    padding-inline: 12px;
    position: relative;
  }

  .lucky-logo {
    height: 70px;
    width: 112px;
  }

  .lucky-logo img {
    flex-basis: 150px;
    width: 150px !important;
  }

  .lucky-tools {
    gap: 2px;
  }

  .lucky-search {
    border-bottom: 0;
    max-width: none;
  }

  .lucky-search input {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .lucky-search.is-open {
    background: #0a0a0a;
    border-bottom: 1px solid #333;
    border-top: 1px solid #222;
    display: flex;
    left: -12px;
    max-width: none;
    padding: 10px 12px;
    position: absolute;
    right: -12px;
    top: 76px;
    z-index: 60;
  }

  .lucky-search.is-open input {
    background: #111;
    border: 1px solid #666;
    clip: auto;
    clip-path: none;
    flex: 1;
    height: 42px;
    margin: 0;
    overflow: visible;
    padding: 0 12px;
    position: static;
    white-space: normal;
    width: auto;
  }

  .lucky-product-card h3 {
    font-size: 15px;
    min-height: 0;
  }
}
