/* ========================
   MENU DE CATEGORIAS
======================== */

.menu {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 1200;
}

.menu-botao {
    width: 52px;
    height: 52px;
    background: #002F6C;
    color: #fff;
    border-radius: 50%;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.menu-opcoes {
    position: absolute;
    top: 64px;
    left: 0;
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    display: none;
}

.menu.ativo .menu-opcoes {
    display: block;
}

.menu-opcoes button {
    width: 100%;
    border: none;
    background: #f2f5ff;
    color: #002F6C;
    font-size: 17px;
    font-weight: 600;
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 8px;
    cursor: pointer;
}

.menu-opcoes button:hover {
    background: #002F6C;
    color: #fff;
}

/* ========================
   GRID DE PRESENTES
======================== */

.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 80px auto 40px;
    padding: 0 15px;
}

/* ========================
   CARD DO PRESENTE
======================== */

.gift-card {
    background: white;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transition: transform 0.2s;
}

.gift-card:hover {
    transform: translateY(-4px);
}

.gift-card img {
    max-height: 140px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
}

.gift-card h3 {
    color: #002F6C;
    font-size: 20px;
}

.gift-card p {
    font-size: 16px;
    margin: 4px 0;
}

/* ========================
   AÇÕES DO CARD
======================== */

.gift-acoes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.btn-pix {
    background: #002F6C;
    color: white;
    padding: 12px;
    border-radius: 28px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-loja {
    background: #1e88e5;
    color: white;
    padding: 12px;
    border-radius: 28px;
    font-weight: 700;
    text-align: center;
}

.btn-pix:hover {
    background: #001f48;
}

.btn-loja:hover {
    background: #1565c0;
}

/* ========================
   STATUS
======================== */

.indisponivel {
    font-weight: 700;
    color: #999;
}

/* ========================
   MODAL PIX
======================== */

.pix-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.pix-box {
    background: white;
    padding: 30px;
    border-radius: 22px;
    max-width: 420px;
    width: 90%;
    text-align: center;
}

/* ========================
   RESPONSIVO
======================== */

@media (max-width: 480px) {
    .gift-grid {
        grid-template-columns: 1fr;
    }
}

/* PROGRESSO DAS COTAS */
.progresso {
  width: 100%;
  height: 10px;
  background: #e6ecf5;
  border-radius: 20px;
  margin: 18px 0 8px;
  overflow: hidden;
}

.progresso-barra {
  height: 100%;
  background: linear-gradient(90deg, #002F6C, #1e88e5);
  width: 0;
  transition: width 0.6s ease;
}

.progresso-texto {
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #e6ebf5;
  border-radius: 20px;
  overflow: hidden;
  margin: 12px 0 6px;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #002F6C, #1e88e5);
  width: 0%;
  transition: width 0.6s ease;
}


.botoes-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.btn-pix {
  background: #002F6C;
  color: white;
  padding: 14px;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.btn-loja {
  background: #1e88e5;
  color: white;
  padding: 14px;
  border-radius: 30px;
  text-align: center;
  font-weight: 700;
}

