/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: Arial, sans-serif;
  background: #f8f8f8;
  color: #333;
  background-image: url("/images/fundo.webp");
  background-size: cover;
  background-attachment: fixed;

}

/* Header */
.catalog-header {
  text-align: center;
  padding: 1rem;
  background: #fff;
  border-bottom: 2px solid #eee;
  color: pink;
  font-size: xx-large;
}
.header{
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}
.search-container{
    margin-bottom: 40px;
}
.search-input {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
    display: block;
}
/* Grid de itens */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.catalog-list {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.catalog-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform .2s ease;
}

.catalog-item:hover {
  transform: scale(1.03);
}

.catalog-item img {
  width: 100%;
  height: auto;
  display: block;
}

.catalog-item h2 {
  padding: .5rem;
  font-size: 1rem;
  font-weight: bold;
  color: #222;
}

.card-hover {
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-img-top {
    transition: transform .3s ease;
}


.card-rounded {
    border-radius: 12px;
    overflow: hidden; /* MUITO IMPORTANTE */
}
