/* Footer component styling for Officecleaningsupply */

.ocs-footer {
  background: #0f2435;
  color: #f5f7fa;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.ocs-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 3fr);
  gap: 2.5rem;
}

.ocs-footer__brand {
  max-width: 420px;
}

.ocs-footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.ocs-footer__logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b5fa4, #24a1d7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.ocs-footer__brand-text {
  display: flex;
  flex-direction: column;
}

.ocs-footer__site-name {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.ocs-footer__tagline {
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #c2d0dd;
}

.ocs-footer__description {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d6e0eb;
}

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

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

.ocs-footer__nav-title {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e3edf7;
}

.ocs-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ocs-footer__nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
  font-size: 0.9rem;
  color: #c9d6e4;
  text-decoration: none;
  transition: color 0.16s ease, transform 0.08s ease;
}

.ocs-footer__nav-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: transparent;
  margin-right: 0.4rem;
  transition: background-color 0.16s ease;
}

.ocs-footer__nav-link:hover,
.ocs-footer__nav-link:focus-visible {
  color: #ffffff;
  outline: none;
}

.ocs-footer__nav-link:hover::before,
.ocs-footer__nav-link:focus-visible::before {
  background: #24a1d7;
}

.ocs-footer__bottom {
  max-width: 1120px;
  margin: 1.75rem auto 0;
  padding: 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.ocs-footer__copyright {
  margin: 0;
  font-size: 0.8rem;
  color: #b5c4d6;
}

/* Cookie banner */

.ocs-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  padding: 0.75rem 0.75rem 0.85rem;
  background: linear-gradient(to top, rgba(5, 16, 27, 0.92), rgba(5, 16, 27, 0.86));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ocs-cookie[hidden] {
  display: none !important;
}

.ocs-cookie--visible {
  opacity: 1;
  transform: translateY(0);
}

.ocs-cookie--hiding {
  opacity: 0;
  transform: translateY(100%);
}

.ocs-cookie__inner {
  max-width: 1120px;
  width: 100%;
  background: #ffffff;
  color: #13293d;
  border-radius: 14px;
  padding: 1rem 1.1rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.2);
}

.ocs-cookie__content {
  flex: 1 1 auto;
}

.ocs-cookie__title {
  margin: 0 0 0.3rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.ocs-cookie__description {
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
  color: #30435a;
}

.ocs-cookie__link {
  font-size: 0.82rem;
  color: #0b5fa4;
  text-decoration: underline;
}

.ocs-cookie__link:focus-visible {
  outline: 2px solid #0b5fa4;
  outline-offset: 2px;
}

.ocs-cookie__actions {
  display: flex;
  flex-direction: row;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.ocs-cookie__button {
  cursor: pointer;
  border-radius: 999px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.ocs-cookie__button--primary {
  background: #0b5fa4;
  border-color: #0b5fa4;
  color: #ffffff;
}

.ocs-cookie__button--secondary {
  background: #ffffff;
  border-color: #c2cede;
  color: #13293d;
}

.ocs-cookie__button:hover {
  box-shadow: 0 3px 10px rgba(10, 54, 97, 0.25);
}

.ocs-cookie__button:focus-visible {
  outline: 2px solid #0b5fa4;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .ocs-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

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

  .ocs-cookie__inner {
    flex-direction: column;
    padding: 0.9rem 0.95rem 0.95rem;
  }

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

  .ocs-cookie__button {
    flex: 1 1 0;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .ocs-footer {
    padding-bottom: 4.25rem;
  }

  .ocs-footer__inner {
    padding: 0 0.9rem;
  }

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

  .ocs-cookie__inner {
    padding: 0.85rem 0.85rem 0.9rem;
  }

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

  .ocs-cookie__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ocs-cookie,
  .ocs-cookie * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}