body {
  margin:0;
  font-family:-apple-system, BlinkMacSystemFont, sans-serif;
  background:#0b0b0b;
  color:#fff;
}

/* HERO */
.hero {
  position:relative;
  background:url('assets/shoes/hero-bg.jpg') center/cover no-repeat;
  min-height:90vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.hero-overlay {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
}

.hero-top {
  position:absolute;
  top:20px;
  left:20px;
  right:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:2;
}

.logo {
  height:40px;
}

.trust-badges span {
  margin-left:10px;
  background:#111;
  padding:5px 10px;
  border-radius:20px;
  font-size:12px;
}

.hero-content {
  z-index:2;
}

.hero h1 {
  font-size:3rem;
}

/* BUTTON */
.btn {
  display:inline-block;
  padding:12px 20px;
  background:#22c55e;
  color:white;
  text-decoration:none;
  border-radius:30px;
}

/* SECTIONS */
section {
  padding:80px 20px;
  max-width:1100px;
  margin:auto;
}

.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
}

/* CARDS */
.cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.card {
  background:#111;
  padding:20px;
  border-radius:20px;
}

.card img {
  width:100%;
  height:220px;
  object-fit:contain;
}

table {
  width:100%;
  border-collapse:collapse;
}

td,th {
  border:1px solid #333;
  padding:10px;
}

/* FOOTER */
.footer {
  text-align:center;
  padding:24px;
  background:#000;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center everything */
  align-items: flex-start;
  gap: 40px;
  text-align: center;
}

.footer-top > div {
  flex: 1;
  min-width: 200px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* push content to the right */
}

.footer-social a {
  justify-content: flex-end;
}

.footer-links a,
.footer-social a {
  display:block;
  color:#aaa;
  margin-bottom:5px;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #22c55e;
}

.footer-social i {
  font-size: 16px;
}

/* .icons-only a {
  font-size: 16px;
  margin-right: 5px;
} */

.footer-certifications {
  margin-top:20px;
}

.footer-certifications span {
  background:#111;
  padding:5px 10px;
  margin-right:10px;
  border-radius:5px;
}

.affiliate-disclosure {
  margin-top:20px;
  font-size:12px;
  color:#aaa;
}

.footer-bottom {
  text-align:center;
  margin-top:20px;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: #22c55e;
  border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .trust-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* keeps them aligned to the right */
  gap: 6px; /* spacing between the badges */
}

  section {
    padding: 60px 15px;
    text-align: center;
  }

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

  .hero h1 {
    font-size: 2rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.footer-social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

  .comparison {
    overflow-x: auto;
  }

  .comparison table {
    min-width: 700px;
  }

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

  .hero h1 {
    font-size:2rem;
  }

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

}