/* ====================  loja-page.css  (v5)  ==================== */

/* --- utilidades herdadas --- */
.header-search input {
  width: auto !important;
  max-width: 420px;
}

/* ---------- Banner & Avatar ---------- */
.profile-banner {
  height: 295px;
  background-size: cover;
  background-position: center;
}
.profile-avatar {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  border: 5px solid #fff;
  object-fit: cover;
}

/* lápis com halo */
.edit-halo {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.edit-halo i {
  position: relative;
  z-index: 2;
}
.edit-halo::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: #ffffffdd;
  backdrop-filter: blur(3px);
  border-radius: 50%;
}

/* ---------- Botão Seguir ---------- */
.btn-follow,
.btn-wishlist {
  background: #ee4d2d;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 16px;
  border: none !important;       /* remove borda preta */
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: none !important;   /* remove sombra */
  display: inline-block;
  transition: background 0.2s ease;
}
.btn-follow:hover {
  background: #d94422;
}

.btn-follow:hover{
  background:#d94422;
  color:#fff;
}



/* divisor laranja */
.orange-divider {
  height: 2px;
  background: #ee4d2d;
  width: 100%;
  margin-top: 10px;
}

/* ---------- social ---------- */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.1rem;
}
.social-links a {
  color: #495057;
  font-size: 1.35rem;
  transition: color 0.2s;
}
.social-links a:hover {
  color: #ee4d2d;
}

/* ---------- caixa lateral ---------- */
.box-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
}

/* ---------- políticas (botões) ---------- */
.btn-cancel {
  background: #dc3545;
  color: #fff;
  border-radius: 6px;
}
.btn-save {
  background: #198754;
  color: #fff;
  border-radius: 6px;
}
.btn-cancel:hover {
  background: #b02a37;
}
.btn-save:hover {
  background: #146c43;
}

/* ---------- cards de produtos ---------- */
.card-wrap {
  position: relative;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  overflow: hidden;
  transition: 0.2s;
}
.card-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
/* botão coração (wishlist) */
.btn-wish{
  position:absolute;
  top:8px; right:8px;
  width:34px; height:34px;
  border:none;                 /* elimina qualquer borda */
  outline:none;                /* elimina contorno de foco */
  border-radius:50%;
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 6px rgba(0,0,0,.15);   /* sombra suave apenas */
}

/* garante que nem :focus nem :active coloquem anel preto */
.btn-wish:focus,
.btn-wish:focus-visible,
.btn-wish:active{
  outline:none;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
}

.titulo-produto {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25em;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}
.preco-produto {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
  margin-bottom: 0.4rem;
  text-align: left;
}
.btn-buy {
  background: #ee4d2d;
  color: #fff;
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  display: inline-block;
  text-align: center;
  text-decoration: none;       /* ← remove o sublinhado */
}
.btn-buy:hover {
  background: #d94422;
}

/* ---------- grid produtos ---------- */
.grid-prod {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .grid-prod {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .grid-prod {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-prod {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
