body {
  font-family: Arial, sans-serif;
  background-color: #cabeed;
  margin: 0;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.nav {
  background: #0f172a;
  color: white;
  padding: 15px;
}

.nav a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
}

.nav a:hover {
  text-decoration: underline;
}

.btn {
  background: #22c55e;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
}

.btn:hover {
  background: #16a34a;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 10px;
}

.badge-green {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}
.home-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: 16px 0;
}

.home-slider__viewport {
  overflow: hidden;
}

.home-slider__track {
  display: flex;
  transition: transform 500ms ease;
  will-change: transform;
  touch-action: pan-y;
}

.home-slider__slide {
  min-width: 100%;
  user-select: none;
}

.home-slider__slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .home-slider__slide img {
    height: 220px;
  }
}

.home-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.home-slider__arrow:hover {
  background: rgba(15, 23, 42, 0.75);
}
.home-slider__arrow--left {
  left: 12px;
}
.home-slider__arrow--right {
  right: 12px;
}
.familias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.familia-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
}

.familia-item:hover {
  background: #f9fafb;
}

.familia-item img,
.familia-placeholder {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: #fff;
}

.familia-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 12px;
  font-weight: bold;
}

.familia-info {
  display: flex;
  flex-direction: column;
}

.familia-titulo {
  font-weight: bold;
}

.familia-cantidad {
  font-size: 13px;
  color: #666;
}
