/* Storefront footer. All content and brand assets are supplied by theme settings. */
.avisport-footer {
  --af-accent: var(--theme-primary-color);
  --af-highlight: color-mix(in srgb, var(--af-accent) 45%, white);
  --af-ink: #f2f5fa;
  --af-muted: #b1bdcd;
  --af-line: #ffffff24;
  --af-soft: #1c2430;
  --af-surface: #222b38;
  margin-top: 48px;
  padding: 32px 0 24px;
  border-top: 1px solid var(--af-line);
  background: linear-gradient(120deg, #171e28, #111822);
  color: var(--af-ink);
}
.avisport-footer .container-fluid { max-width: var(--site-container-width, 147rem); margin: 0 auto; padding: 0 28px; }
.avisport-footer__symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.avisport-footer svg { display: block; width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.avisport-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(340px, 1.35fr); align-items: start; gap: 36px 48px; padding-bottom: 32px; }
.avisport-footer__grid > * { min-width: 0; }
.avisport-footer__brand { display: grid; grid-column: 1 / -1; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--af-line); }
.avisport-footer__logo { display: inline-flex; grid-column: 1; align-items: center; width: fit-content; max-width: 100%; color: var(--af-ink); font-size: 32px; font-weight: 800; line-height: 1.1; text-decoration: none; }
.avisport-footer__logo:hover { color: var(--af-ink); text-decoration: none; }
.avisport-footer__logo img { display: block; width: auto; max-width: 210px; height: auto; max-height: 48px; object-fit: contain; }
.avisport-footer__logo > span { overflow-wrap: anywhere; }
.avisport-footer__tagline { grid-column: 2; max-width: 430px; margin: 0; color: var(--af-muted); font-size: 14px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.avisport-footer__socials { grid-column: 3; }
.avisport-footer__socials strong { display: block; margin-bottom: 10px; color: var(--af-muted); font-size: 12px; font-weight: 500; line-height: 1.4; }
.avisport-footer__socials > div { display: flex; flex-wrap: wrap; gap: 8px; max-width: 240px; }
.avisport-footer__socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: transform .2s ease, box-shadow .2s ease; }
.avisport-footer__socials img { display: block; width: 40px; height: 40px; }
.avisport-footer__title { display: block; margin-bottom: 18px; color: var(--af-ink); font-size: 17px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.avisport-footer__menu { padding-top: 8px; }
.avisport-footer__menu ul, .avisport-footer__custom-html ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.avisport-footer__menu a, .avisport-footer__custom-html a { display: inline-block; color: var(--af-muted); font-size: 14px; line-height: 1.5; text-decoration: none; text-underline-offset: 4px; overflow-wrap: anywhere; transition: color .2s ease, transform .2s ease; }
.avisport-footer__custom-html { color: var(--af-muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.avisport-footer__support { padding: 20px; border: 1px solid var(--af-line); border-radius: 20px; background: var(--af-soft); }
.avisport-footer__support .avisport-footer__title { margin-bottom: 16px; }
.avisport-footer__support-caption { margin: -8px 0 18px; color: var(--af-muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.avisport-footer__phone-main { display: flex; align-items: center; gap: 12px; color: var(--af-ink); font-size: 22px; font-weight: 700; line-height: 1.25; text-decoration: none; letter-spacing: -.025em; }
.avisport-footer__phone-main:visited { color: var(--af-ink); }
.avisport-footer__phone-main > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.avisport-footer__phone-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--af-accent) 24%, var(--af-soft)); color: var(--af-highlight); }
.avisport-footer__phone-icon svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.avisport-footer__phones small { display: block; margin-top: 5px; color: var(--af-muted); font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: normal; }
.avisport-footer__other-phones { margin-top: 14px; }
.avisport-footer__other-phones summary { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; max-width: 100%; margin-left: 56px; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--af-accent) 35%, var(--af-line)); border-radius: 10px; background: var(--af-surface); color: var(--af-highlight); font-size: 12px; font-weight: 600; line-height: 1.4; list-style: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.avisport-footer__other-phones summary::-webkit-details-marker { display: none; }
.avisport-footer__other-phones summary > span { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; background: color-mix(in srgb, var(--af-accent) 20%, var(--af-soft)); font-size: 11px; }
.avisport-footer__other-phones summary svg { flex-basis: 14px; width: 14px; height: 14px; transition: transform .2s ease; }
.avisport-footer__other-phones[open] summary { border-color: color-mix(in srgb, var(--af-accent) 55%, var(--af-line)); background: color-mix(in srgb, var(--af-accent) 14%, var(--af-soft)); }
.avisport-footer__other-phones[open] summary svg { transform: rotate(180deg); }
.avisport-footer__phone-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--af-line); }
.avisport-footer__phone-list a { display: block; min-width: 0; padding: 10px; border: 1px solid var(--af-line); border-radius: 10px; background: var(--af-surface); color: var(--af-ink); font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; transition: border-color .2s ease, background .2s ease; }
.avisport-footer__phone-list small { font-size: 11px; }
.avisport-footer__schedule { display: grid; gap: 9px; margin: 20px 0; padding-top: 18px; border-top: 1px solid var(--af-line); color: var(--af-muted); font-size: 12px; line-height: 1.5; }
.avisport-footer__schedule-item { display: flex; align-items: flex-start; gap: 9px; min-width: 0; white-space: pre-line; overflow-wrap: anywhere; }
.avisport-footer__schedule svg { flex-basis: 17px; width: 17px; height: 17px; margin-top: 1px; }
.avisport-footer__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.avisport-footer__actions a { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 46px; padding: 10px; border: 1px solid var(--af-line); border-radius: 11px; background: var(--af-surface); color: var(--af-ink); font-size: 12px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.avisport-footer__actions a:first-child { border-color: var(--af-accent); background: var(--af-accent); color: #fff; }
.avisport-footer__actions svg { flex-basis: 18px; width: 18px; height: 18px; }
.avisport-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding-top: 22px; border-top: 1px solid var(--af-line); }
.avisport-footer__copyright { display: flex; flex: 1 1 300px; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--af-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.avisport-footer__copyright i { display: block; flex: 0 0 1px; width: 1px; height: 14px; background: var(--af-line); }
.avisport-footer__payment-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; max-width: 440px; color: var(--af-muted); font-size: 12px; line-height: 1.4; }
.avisport-footer__payments { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.avisport-footer__payment { display: grid; place-items: center; width: 58px; height: 36px; padding: 5px 7px; border: 1px solid var(--af-line); border-radius: 8px; background: #fff; }
.avisport-footer__payment a { display: grid; place-items: center; width: 100%; height: 100%; }
.avisport-footer__payment img { display: block; width: auto; max-width: 100%; height: auto; max-height: 24px; object-fit: contain; }
.avisport-footer__up { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--af-muted); font-size: 12px; font-weight: 500; line-height: 1.3; cursor: pointer; }
.avisport-footer__up > span { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--af-line); border-radius: 12px; background: var(--af-soft); color: var(--af-ink); transition: background .2s ease, border-color .2s ease, color .2s ease; }
.avisport-footer__up em { font-style: normal; }
body:has(.chat) .avisport-footer__up { margin-right: 64px; }
body.is-footer-bottom-visible .scroll-to-top { opacity: 0; visibility: hidden; pointer-events: none; }
.avisport-footer a:focus-visible, .avisport-footer button:focus-visible, .avisport-footer summary:focus-visible { outline: 2px solid var(--af-highlight); outline-offset: 4px; }
@media (hover: hover) {
  .avisport-footer__socials a:hover { transform: translateY(-3px); box-shadow: 0 5px 12px #0000004d; }
  .avisport-footer__menu a:hover, .avisport-footer__custom-html a:hover { transform: translateX(3px); color: var(--af-highlight); text-decoration: underline; }
  .avisport-footer__phone-main:hover { color: var(--af-highlight); text-decoration: none; }
  .avisport-footer__other-phones summary:hover, .avisport-footer__phone-list a:hover { border-color: color-mix(in srgb, var(--af-accent) 55%, var(--af-line)); background: color-mix(in srgb, var(--af-accent) 14%, var(--af-soft)); }
  .avisport-footer__actions a:hover { border-color: var(--af-highlight); background: color-mix(in srgb, var(--af-accent) 14%, var(--af-soft)); color: var(--af-highlight); text-decoration: none; }
  .avisport-footer__actions a:first-child:hover { border-color: var(--af-accent); background: color-mix(in srgb, var(--af-accent) 88%, black); color: #fff; }
  .avisport-footer__up:hover > span { border-color: var(--af-accent); background: var(--af-accent); color: #fff; }
}
@media (min-width: 1360px) {
  .avisport-footer__phones { position: relative; }
  .avisport-footer__phones:has(details) .avisport-footer__phone-main { padding-right: 162px; }
  .avisport-footer__other-phones { margin-top: 0; }
  .avisport-footer__other-phones summary { position: absolute; top: 4px; right: 0; margin-left: 0; }
  .avisport-footer__schedule { margin: 16px 0; padding-top: 14px; }
}
@media (max-width: 1198px) {
  .avisport-footer { margin-top: 36px; padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .avisport-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
  .avisport-footer__brand { grid-template-columns: 190px minmax(0, 1fr) auto; gap: 24px; }
  .avisport-footer__logo img { max-width: 180px; }
  .avisport-footer__support { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .avisport-footer__support > .avisport-footer__title, .avisport-footer__support-caption { grid-column: 1 / -1; }
  .avisport-footer__phones { grid-row: span 2; }
  .avisport-footer__schedule { margin: 0 0 18px; padding: 0; border: 0; }
  .avisport-footer__actions { align-self: end; }
}
@media (max-width: 767px) {
  .avisport-footer { margin-top: 28px; padding-top: 24px; }
  .avisport-footer .container-fluid { padding-right: 20px; padding-left: 20px; }
  .avisport-footer__grid { gap: 26px 20px; padding-bottom: 24px; }
  .avisport-footer__brand { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px 20px; padding-bottom: 24px; }
  .avisport-footer__logo { align-self: center; font-size: 26px; }
  .avisport-footer__logo img { max-width: 170px; max-height: 38px; width: 100%; }
  .avisport-footer__tagline { grid-column: 1; grid-row: 2; max-width: 260px; font-size: 12px; line-height: 1.5; }
  .avisport-footer__socials { grid-column: 2; grid-row: 1 / 3; }
  .avisport-footer__socials strong { margin-bottom: 8px; font-size: 11px; }
  .avisport-footer__socials > div { gap: 7px; max-width: 116px; }
  .avisport-footer__socials a, .avisport-footer__socials img { width: 34px; height: 34px; }
  .avisport-footer__menu { padding-top: 0; }
  .avisport-footer__title { margin-bottom: 16px; font-size: 15px; }
  .avisport-footer__menu ul, .avisport-footer__custom-html ul { gap: 12px; }
  .avisport-footer__menu a, .avisport-footer__custom-html { font-size: 13px; }
  .avisport-footer__support { display: block; padding: 20px; border-radius: 18px; }
  .avisport-footer__phone-main { font-size: 22px; }
  .avisport-footer__phone-list { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
  .avisport-footer__schedule { gap: 10px; margin: 20px 0; padding-top: 18px; border-top: 1px solid var(--af-line); }
  .avisport-footer__bottom { gap: 18px; padding-top: 20px; }
  .avisport-footer__copyright { flex: 1 1 0; min-width: 0; gap: 4px; font-size: 11px; }
  .avisport-footer__copyright > span { width: 100%; }
  .avisport-footer__copyright i { display: none; }
  .avisport-footer__payment-row { order: 2; width: 100%; max-width: none; }
  .avisport-footer__up { gap: 6px; font-size: 11px; }
  .avisport-footer__up > span { width: 34px; height: 38px; border-radius: 10px; }
}
@media (max-width: 379px) {
  .avisport-footer .container-fluid { padding-right: 16px; padding-left: 16px; }
  .avisport-footer__brand { gap: 10px 14px; }
  .avisport-footer__socials > div { max-width: 100px; gap: 5px; }
  .avisport-footer__socials a, .avisport-footer__socials img { width: 30px; height: 30px; }
  .avisport-footer__support { padding: 16px; }
  .avisport-footer__phone-main { gap: 10px; font-size: 20px; }
  .avisport-footer__phone-icon { flex-basis: 38px; width: 38px; height: 40px; }
  .avisport-footer__other-phones summary { margin-left: 48px; }
  .avisport-footer__actions a { gap: 6px; padding: 9px 7px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .avisport-footer a, .avisport-footer summary, .avisport-footer summary svg, .avisport-footer__up > span { transition: none !important; }
  .avisport-footer__socials a:hover, .avisport-footer__menu a:hover, .avisport-footer__custom-html a:hover { transform: none; }
}
