/* ============================================================
   AluminiumGlass
   Public Categories
   ============================================================ */

.categories-hero {
  padding: 55px 20px 45px;
  background: #f6f8fb;
  border-bottom: 1px solid #e5e7eb;
}

.categories-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.categories-heading .eyebrow,
.business-cta .eyebrow {
  display: inline-block;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.categories-heading h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
}

.categories-heading p {
  margin: 0;
  color: #667085;
  font-size: 16px;
}


/* CATEGORY SEARCH */

.category-search {
  max-width: 700px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 9px 8px 17px;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  box-shadow: 0 7px 25px rgba(0, 0, 0, .06);
}

.category-search > span {
  font-size: 20px;
}

.category-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}

.category-search button {
  padding: 11px 20px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}


/* CATEGORY SECTION */

.categories-section {
  padding: 45px 20px 70px;
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 25px;
}

.section-header h2 {
  margin: 0 0 5px;
  font-size: 25px;
}

.section-header p {
  margin: 0;
  color: #667085;
  font-size: 14px;
}


/* GRID */

.categories-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}


/* CATEGORY CARD */

.category-card {
  min-height: 190px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e5e7eb;
  border-radius: 13px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: #cfd5dc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}


.category-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f1f3f5;
  font-size: 27px;
}


.category-card h3 {
  margin: 18px 0 5px;
  font-size: 17px;
}


.category-card p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}


.category-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #667085;
  font-size: 12px;
}


.category-arrow {
  font-size: 17px;
}


/* LOADING */

.category-state {
  max-width: 600px;
  margin: 35px auto;
  padding: 45px 20px;
  text-align: center;
  border: 1px dashed #d8dde5;
  border-radius: 12px;
  color: #667085;
}

.category-state h3 {
  margin: 10px 0 5px;
  color: #111827;
}

.state-icon {
  font-size: 35px;
}


.loader {
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  border: 3px solid #ddd;
  border-top-color: #111827;
  border-radius: 50%;
  animation: categorySpin .8s linear infinite;
}


@keyframes categorySpin {
  to {
    transform: rotate(360deg);
  }
}


/* CTA */

.business-cta {
  padding: 55px 20px;
  background: #f6f8fb;
  border-top: 1px solid #e5e7eb;
}


.cta-content {
  max-width: 1050px;
  margin: auto;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border: 1px solid #e0e4e9;
  border-radius: 14px;
  background: #fff;
}


.cta-content h2 {
  margin: 0 0 8px;
  font-size: 24px;
}


.cta-content p {
  margin: 0;
  max-width: 650px;
  color: #667085;
  font-size: 14px;
}


.cta-button {
  flex-shrink: 0;
  padding: 13px 20px;
  border-radius: 9px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}


/* FOOTER */

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
}


.footer-inner {
  padding: 35px 20px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}


.footer-about {
  max-width: 420px;
}


.footer-about p {
  margin-top: 9px;
  color: #667085;
  font-size: 13px;
}


.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-content: flex-start;
}


.footer-links a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
}


.footer-bottom {
  padding: 15px;
  border-top: 1px solid #e5e7eb;
  color: #667085;
  text-align: center;
  font-size: 12px;
}


/* RESPONSIVE */

@media (max-width: 950px) {

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


@media (max-width: 700px) {

  .main-nav {
    display: none;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
  }

}


@media (max-width: 480px) {

  .categories-hero {
    padding: 38px 15px;
  }

  .categories-section {
    padding: 35px 15px 50px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 155px;
  }

  .category-search button {
    padding: 10px 13px;
  }

  .category-search {
    padding-left: 12px;
  }

}