/* Footer styles for DigitronixShopPL */

.dt-footer {
  background: radial-gradient(circle at 0 0, rgba(0, 229, 255, 0.15), transparent 55%), #020414;
  border-top: 1px solid rgba(120, 180, 255, 0.22);
  color: #e3ebff;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dt-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.4rem 1.25rem 1.8rem;
  display: grid;
  gap: 2rem;
}

.dt-footer__brand {
  max-width: 22rem;
}

.dt-footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.dt-footer__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 10% 0, #00e0ff 0%, #00a5ff 40%, #0040ff 100%);
  color: #040816;
  font-family: "Orbitron", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.55), 0 0 14px rgba(0, 185, 255, 0.6);
}

.dt-footer__logo-text {
  font-family: "Orbitron", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f5f7ff;
}

.dt-footer__logo-accent {
  color: #41e1ff;
}

.dt-footer__tagline {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b7c6ff;
}

.dt-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.dt-footer__nav-column {
  min-width: 0;
}

.dt-footer__nav-title {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a9c5ff;
}

.dt-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.dt-footer__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #dde7ff;
  text-decoration: none;
  opacity: 0.86;
  transition: color 150ms ease, opacity 150ms ease, transform 120ms ease;
}

.dt-footer__nav-link::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  border: 1px solid rgba(116, 186, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 178, 255, 0.25);
  transition: background-color 150ms ease, transform 120ms ease, border-color 150ms ease;
}

.dt-footer__nav-link:hover,
.dt-footer__nav-link:focus-visible {
  color: #ffffff;
  opacity: 1;
  transform: translateX(2px);
}

.dt-footer__nav-link:hover::before,
.dt-footer__nav-link:focus-visible::before {
  background: #3fe4ff;
  border-color: transparent;
  transform: scale(1.05);
}

.dt-footer__nav-link:focus-visible {
  outline: 2px solid #41e1ff;
  outline-offset: 3px;
}

.dt-footer__bottom {
  border-top: 1px solid rgba(120, 180, 255, 0.16);
  padding: 0.9rem 1.25rem 1.2rem;
  text-align: center;
}

.dt-footer__copyright {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa2d7;
}

/* Cookie banner */

.dt-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1100;
  display: none;
  padding: 0.75rem 0.75rem 1.1rem;
  background: linear-gradient(180deg, rgba(3, 9, 24, 0.96), rgba(3, 7, 21, 0.98));
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.65);
  border-top: 1px solid rgba(120, 180, 255, 0.28);
}

.dt-cookie[aria-hidden="false"] {
  display: block;
}

.dt-cookie.is-visible {
  animation: dt-cookie-slide-in 220ms ease-out;
}

.dt-cookie.is-hidden {
  animation: dt-cookie-slide-out 200ms ease-in forwards;
}

.dt-cookie__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.dt-cookie__text {
  flex: 1 1 auto;
  min-width: 0;
}

.dt-cookie__title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e8f1ff;
}

.dt-cookie__description {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #bcc9f0;
}

.dt-cookie__link {
  font-size: 0.85rem;
  color: #41e1ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dt-cookie__link:hover,
.dt-cookie__link:focus-visible {
  color: #a5f0ff;
}

.dt-cookie__link:focus-visible {
  outline: 2px solid #41e1ff;
  outline-offset: 2px;
}

.dt-cookie__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.55rem;
}

.dt-cookie__btn {
  min-width: 8rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 80ms ease;
}

.dt-cookie__btn--primary {
  background: radial-gradient(circle at 10% 0, #00e0ff 0%, #00a5ff 45%, #005eff 100%);
  color: #020414;
  box-shadow: 0 0 0 1px rgba(0, 233, 255, 0.75), 0 0 18px rgba(0, 185, 255, 0.7);
}

.dt-cookie__btn--primary:hover,
.dt-cookie__btn--primary:focus-visible {
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.9), 0 0 24px rgba(0, 204, 255, 0.85);
  transform: translateY(-1px);
}

.dt-cookie__btn--secondary {
  background: transparent;
  color: #e1ebff;
  border-color: rgba(139, 191, 255, 0.75);
}

.dt-cookie__btn--secondary:hover,
.dt-cookie__btn--secondary:focus-visible {
  background: rgba(18, 35, 80, 0.8);
  box-shadow: 0 0 0 1px rgba(110, 170, 255, 0.75);
  transform: translateY(-1px);
}

.dt-cookie__btn:focus-visible {
  outline: 2px solid #41e1ff;
  outline-offset: 2px;
}

@keyframes dt-cookie-slide-in {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes dt-cookie-slide-out {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Responsive footer */

@media (min-width: 768px) {
  .dt-footer__inner {
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr);
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .dt-footer__inner {
    padding-inline: 1rem;
  }

  .dt-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dt-cookie {
    padding-inline: 0.75rem;
  }

  .dt-cookie__inner {
    flex-direction: column;
    gap: 0.8rem;
  }

  .dt-cookie__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .dt-cookie__btn {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .dt-footer__nav {
    grid-template-columns: 1fr;
  }

  .dt-cookie__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .dt-cookie__btn {
    width: 100%;
  }
}
