.store-footer,
.store-footer-phone-bar {
  --footer-line: #646464;
  background: #454545;
}

.store-footer {
  --footer-text: #f0e6df;
  --footer-heading: #fff9f4;
  --footer-accent: #ff6600;
  --footer-top-padding: 15px;
  position: relative;
  background-image: url("../img/store-footer-lines.svg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: max(100%, 72rem) auto;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-text);
  font-size: 0.9rem;
  line-height: 1.36;
  overflow-wrap: anywhere;
  padding-top: var(--footer-top-padding);
}

.store-footer::before {
  position: absolute;
  inset-block-start: calc(var(--footer-top-padding) - 1px);
  inset-inline: 0;
  border-block-start: 1px solid var(--footer-line);
  pointer-events: none;
  content: "";
}

.store-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.65fr);
  gap: 0.85rem 1.2rem;
  padding-block: 1.25rem 0.75rem;
}

.store-footer__panel {
  min-width: 0;
}

.store-footer__panel h2 {
  margin: 0 0 0.55rem;
  padding-inline-start: 0.5rem;
  border-inline-start: 2px solid #ff6700;
  color: var(--footer-heading);
  font-family: inherit;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.store-footer p,
.store-footer dl,
.store-footer dd {
  margin: 0;
}

.store-footer dt,
.store-footer strong {
  color: var(--footer-heading);
  font-weight: 700;
}

.store-footer a {
  color: var(--footer-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.store-footer a:hover {
  color: var(--footer-heading);
}

.store-footer a:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 3px;
}

.store-footer__contacts {
  display: grid;
  gap: 0.25rem;
  margin: 0 0 0.6rem;
  padding: 0;
  list-style: none;
}

.store-footer__contacts a[href^="tel:"] {
  color: #fff;
}

.store-footer__phone {
  font-weight: 700;
}

.store-footer__schedule {
  padding-top: 0.5rem;
  border-top: 1px solid var(--footer-line);
}

.store-footer__hours {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.5rem;
}

.store-footer dl.store-footer__delivery-info {
  display: grid;
  gap: 0.55rem;
}

.store-footer__delivery-info > div + div {
  padding-top: 0.5rem;
  border-top: 1px solid var(--footer-line);
}

.store-footer__delivery-info dd {
  margin-top: 0.2rem;
}

.store-footer__registration-number {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.45rem;
}

.store-footer .store-footer__requisites,
.store-footer__requisites > div + div {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--footer-line);
}

.store-footer dl.store-footer__bottom-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.75rem;
  margin-inline: auto;
  padding-block: 0.5rem;
  border-top: 1px solid var(--footer-line);
  font-size: 0.85rem;
  text-align: center;
}

.store-footer__bottom-line div {
  min-width: 0;
  max-width: 100%;
}

.store-footer__bottom-line dt,
.store-footer__bottom-line dd {
  display: inline;
}

.store-footer__bottom-line dt::after {
  content: " – ";
}

.store-footer-phone-bar {
  border-top-color: var(--footer-line);
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }

  .store-footer-callback-stop {
    position: sticky;
    z-index: 99;
    bottom: 30px;
    height: 0;
    pointer-events: none;
  }

  .store-footer-callback-stop #hotphone-footer-ab {
    position: absolute;
    right: 30px;
    bottom: 0.5rem;
    pointer-events: auto;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .store-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-footer__seller {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .store-footer__panel + .store-footer__panel {
    padding-inline-start: 1.05rem;
    border-inline-start: 1px solid var(--footer-line);
  }
}

@media (min-width: 1200px) {
  .store-footer {
    box-shadow: inset 10px 0 14px -10px rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 575px) {
  .store-footer {
    padding: 15px;
  }

  .store-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-footer dl.store-footer__bottom-line {
    display: grid;
    justify-content: stretch;
  }
}
