/* Frontend footer shell. Loaded only by layouts/site.blade.php. */
.footer-frontend.site-footer {
  margin-top: 3rem !important;
  padding: 3rem 0 1.5rem !important;
  text-align: left !important;
  background: var(--text, #1d1715) !important;
  color: oklch(98.5% 0.005 60 / 0.86) !important;
  border-top: 1px solid oklch(100% 0 0 / 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.footer-frontend-inner {
  width: min(100%, var(--proto-max, 75rem));
  margin: 0 auto;
  padding: 0 var(--proto-page-pad, clamp(0.875rem, 2.5vw, 1.5rem));
}

.footer-frontend-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 1.6fr) repeat(3, minmax(8rem, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-frontend-brand,
.footer-frontend-links {
  text-align: left !important;
}

.footer-frontend-logo {
  justify-content: flex-start;
  color: #fff !important;
}

.footer-frontend-brand p {
  max-width: 28rem;
  margin: 0.75rem 0 0;
  color: oklch(98.5% 0.005 60 / 0.72);
  font-size: 0.875rem;
  line-height: 1.65;
}

.footer-frontend-title {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-frontend-links a {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 0.25rem 0;
  color: oklch(98.5% 0.005 60 / 0.72);
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-frontend-links a:hover,
.footer-frontend-links a:focus-visible {
  color: #fff;
  outline: none;
}

.footer-frontend-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid oklch(100% 0 0 / 0.1);
  text-align: left !important;
}

.footer-frontend-bottom p {
  margin: 0;
  color: oklch(98.5% 0.005 60 / 0.62);
  font-size: 0.8125rem;
}

.footer-frontend .btm-bar[data-proto-bottom-bar] {
  display: none !important;
}

@media (max-width: 1280px) {
  body.has-btm-bar:not(.proto-backoffice) {
    padding-bottom: calc(6.75rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 480 !important;
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 4.75rem !important;
    padding: 0.375rem !important;
    transform: none !important;
    border: 0;
    border-top: 1px solid oklch(88% 0.02 70 / 0.86);
    border-radius: 0;
    background: oklch(99.5% 0.003 60 / 0.96);
    box-shadow: 0 1.25rem 3rem oklch(20% 0.02 60 / 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-item {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    position: relative !important;
    width: auto !important;
    min-width: 0;
    height: auto !important;
    min-height: 4rem !important;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin: 0 !important;
    padding: 0.375rem 0.25rem !important;
    border: 0;
    border-radius: 1rem;
    background: transparent;
    color: var(--text-m, #5f5650);
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    text-align: center;
    text-decoration: none;
    transform: none !important;
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-icon {
    display: inline-flex;
    width: 1.25rem !important;
    height: 1.25rem !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-icon svg {
    width: 1.125rem !important;
    height: 1.125rem !important;
    stroke: currentColor;
    stroke-width: 2 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-label {
    display: flex;
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    overflow: visible !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    clip: auto !important;
    color: inherit;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    white-space: normal;
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-item:hover,
  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-item:focus-visible,
  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-item.active {
    background: oklch(96% 0.012 70);
    color: var(--text, #1d1715);
    outline: none;
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-primary {
    flex: 1 1 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 4rem !important;
    margin: 0 !important;
    padding: 0.375rem 0.25rem !important;
    border-radius: 1rem !important;
    background: transparent !important;
    color: var(--text-m, #5f5650) !important;
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-primary:hover,
  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-primary:focus-visible,
  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-primary.active {
    background: oklch(96% 0.012 70) !important;
    color: var(--text, #1d1715) !important;
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-primary .btm-bar-icon,
  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-primary .btm-bar-icon svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] .btm-bar-primary .btm-bar-label {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
  }
}

@media (max-width: 768px) {
  .footer-frontend.site-footer {
    margin-top: 2rem !important;
    padding: 2.25rem 0 1.25rem !important;
  }

  .footer-frontend-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-frontend .btm-bar[data-proto-bottom-bar] {
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 0;
  }
}
