@font-face {
  font-family: "Manrope Finance";
  src: url("/assets/fonts/Manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

.storefront-footer {
  --footer-background: #143b70;
  --footer-background-dark: #102d55;
  --footer-secondary: #becbdb;
  --footer-muted: #a9b7c8;
  --footer-divider: rgba(255, 255, 255, .12);
  --footer-radius: 28px;
  --footer-focus: #76b8ff;
  max-width: 1160px;
  margin: 40px auto 0;
  scroll-margin-top: 24px;
  font-family: "Manrope Finance", "Segoe UI", Arial, sans-serif;
  color: var(--card);
}
.storefront-footer__panel {
  background: var(--footer-background);
  border-radius: var(--footer-radius) var(--footer-radius) 0 0;
  overflow: hidden;
}
.storefront-footer__main {
  display: grid;
  grid-template-columns: 1.25fr .88fr 1.36fr;
  gap: 48px;
  padding: 48px;
}
.storefront-footer__brand img {
  display: block;
  width: 210px;
  height: auto;
  max-width: 100%;
  margin-bottom: 24px;
}
.storefront-footer__brand > p { font-size: 14px; line-height: 1.8; color: var(--footer-secondary); }
.storefront-footer__location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--footer-muted);
  margin-top: 28px;
}
.storefront-footer svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.storefront-footer h2 { font-size: 13px; line-height: 20px; font-weight: 600; color: var(--footer-muted); margin: 0 0 16px; }
.storefront-footer__nav { display: flex; flex-direction: column; align-items: flex-start; }
.storefront-footer__nav > a { font-size: 14px; line-height: 24px; min-height: 36px; display: flex; align-items: center; }
.storefront-footer__return { width: 100%; }
.storefront-footer__return summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  font-size: 14px;
  line-height: 24px;
  cursor: pointer;
  list-style: none;
}
.storefront-footer__return summary::-webkit-details-marker { display: none; }
.storefront-footer__return summary svg { transition: transform .15s; }
.storefront-footer__return[open] summary svg { transform: rotate(180deg); }
.storefront-footer__return-content { padding-top: 8px; font-size: 14px; line-height: 1.7; color: var(--footer-secondary); }
.storefront-footer__return-content p { margin: 0 0 8px; }
.storefront-footer__return-content a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: underline; }
.storefront-footer a { transition: color .15s; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.storefront-footer a:hover { color: var(--card); text-decoration: underline; }
.storefront-footer__phone {
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: -.8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  white-space: nowrap;
}
.storefront-footer__phone svg { color: var(--footer-muted); }
.storefront-footer__email { display: inline-flex; align-items: center; font-size: 14px; line-height: 24px; color: var(--footer-secondary); min-height: 36px; margin-top: 4px; }
.storefront-footer__visit { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--footer-divider); font-size: 14px; line-height: 24px; }
.storefront-footer__visit > svg { margin-top: 2px; color: var(--footer-muted); }
.storefront-footer__visit p { color: var(--footer-muted); font-size: 14px; line-height: 20px; margin-top: 8px; display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 4px; }
.storefront-footer__visit p span { white-space: nowrap; }
.storefront-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--footer-divider); padding: 16px 48px; background: var(--footer-background-dark); font-size: 12px; line-height: 20px; color: var(--footer-muted); }
.storefront-footer__bottom > a { display: inline-flex; align-items: center; gap: 12px; min-height: 36px; }
.storefront-footer__bottom svg { width: 16px; height: 16px; }
.storefront-footer a:focus-visible,
.storefront-footer summary:focus-visible { outline: 3px solid var(--footer-focus); outline-offset: 5px; border-radius: 4px; }

@media (min-width: 721px) and (max-width: 1232px) {
  .storefront-footer { margin-left: 36px; margin-right: 36px; }
  .storefront-footer__main { gap: 32px; padding: 40px; }
  .storefront-footer__phone { font-size: 22px; }
  .storefront-footer__bottom { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 900px) and (min-width: 721px) {
  .storefront-footer__main { grid-template-columns: 1fr 1fr; }
  .storefront-footer__brand { grid-row: span 2; }
  .storefront-footer__contacts { grid-column: 2; }
  .storefront-footer__phone { font-size: 22px; }
  .storefront-footer__nav { margin-bottom: 0; }
}
@media (max-width: 720px) {
  .storefront-footer { --footer-radius: 24px; max-width: none; width: 100%; margin: 32px 0 0; }
  .storefront-footer__main { display: flex; flex-direction: column; gap: 20px; padding: 24px; }
  .storefront-footer__brand img { width: 188px; margin-bottom: 12px; }
  .storefront-footer__brand > p { font-size: 14px; line-height: 1.6; }
  .storefront-footer__location { margin-top: 12px; }
  .storefront-footer__contacts { order: 1; }
  .storefront-footer h2 { margin-bottom: 8px; }
  .storefront-footer__nav { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; align-items: start; border-top: 1px solid var(--footer-divider); padding-top: 16px; }
  .storefront-footer__nav h2,
  .storefront-footer__return { grid-column: 1 / -1; }
  .storefront-footer__phone { font-size: 22px; letter-spacing: -.5px; justify-content: flex-start; gap: 20px; }
  .storefront-footer__email { min-height: 40px; margin-top: 0; }
  .storefront-footer__visit { padding-top: 12px; margin-top: 12px; }
  .storefront-footer__visit p { font-size: 14px; line-height: 22px; flex-direction: row; gap: 4px 16px; margin-top: 4px; }
  .storefront-footer__nav > a { min-height: 44px; line-height: 22px; }
  .storefront-footer__return summary { min-height: 44px; justify-content: flex-start; }
  .storefront-footer__return-content { padding-top: 4px; padding-bottom: 8px; }
  .storefront-footer__return-content a { min-height: 44px; }
  .storefront-footer__bottom { padding: 12px 24px; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 11px; }
  .storefront-footer__bottom > a { min-height: 44px; font-size: 12px; }
}
@media (max-width: 360px) {
  .storefront-footer__nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .storefront-footer,
  .storefront-footer *,
  .storefront-footer *::before,
  .storefront-footer *::after { transition: none !important; scroll-behavior: auto !important; }
}
