/* Prateleiras de categoria da home — uma fileira por categoria, com setas e "Ver todos". */
.cat-shelves { padding-top: 22px; }

.cat-shelf { margin-top: 42px; }
.cat-shelves > .cat-shelf:first-child { margin-top: 0; }

.cat-shelf-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cat-shelf-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.18));
}
.cat-shelf-rule--right { transform: scaleX(-1); }
.cat-shelf-title {
  flex: none;
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.02em;
  color: rgb(var(--foreground));
  white-space: nowrap;
}

.cat-shelf-viewport { position: relative; }

.cat-shelf-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: 1px solid rgb(var(--border));
  border-radius: 999px;
  background: rgb(var(--bg2));
  color: rgb(var(--foreground));
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}
.cat-shelf-arrow:hover { border-color: hsl(var(--primary) / 0.5); color: hsl(var(--primary)); }
.cat-shelf-arrow--prev { left: -6px; }
.cat-shelf-arrow--next { right: -6px; }
.cat-shelf-arrow[disabled] { opacity: 0; pointer-events: none; }

.cat-shelf-more { display: flex; justify-content: center; margin-top: 8px; }
.cat-shelf-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid hsl(var(--primary) / 0.35);
  border-radius: 999px;
  background: rgb(var(--bg2));
  color: rgb(var(--foreground));
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.cat-shelf-all:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.cat-shelf-all svg { transition: transform 0.2s; }
.cat-shelf-all:hover svg { transform: translateX(3px); }

.cat-shelf .gm-shelf { scrollbar-width: none; -ms-overflow-style: none; }
.cat-shelf .gm-shelf::-webkit-scrollbar { display: none; }

@media (max-width: 767px) {
  .cat-shelves { padding-top: 18px; }
  .cat-shelf { margin-top: 32px; }
  .cat-shelf-arrow { width: 34px; height: 34px; }
  .cat-shelf-arrow--prev { left: -2px; }
  .cat-shelf-arrow--next { right: -2px; }
}