
/* Extras Laravel storefront */

/* Toasts / feedback da vitrine */
.store-flash[hidden] { display: none !important; }
.store-flash {
  margin: 14px 5% 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  box-shadow: 0 8px 28px rgba(26, 26, 24, 0.06);
}
.store-flash::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
.store-flash.ok {
  background: linear-gradient(135deg, #f3faf5 0%, #eaf6ef 100%);
  color: #1a6b3d;
  border-color: #c9e6d4;
}
.store-flash.ok::before {
  background-color: rgba(26, 107, 61, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6b3d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.store-flash.err {
  background: linear-gradient(135deg, #fdf5f4 0%, #faf0ef 100%);
  color: #8f2d2d;
  border-color: #efd0cd;
}
.store-flash.err::before {
  background-color: rgba(143, 45, 45, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f2d2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E");
}

.product-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f5f5f3, #ebebeb);
  color: #aaa; font-weight: 700; font-size: 0.85rem;
}
.checkout-form .field { margin-bottom: 12px; }
.checkout-form label { display:block; font-size:0.78rem; font-weight:600; margin-bottom:6px; }
.checkout-form .input, .checkout-form input, .checkout-form textarea, .checkout-form select {
  width:100%; height:44px; padding:0 14px; border:1.5px solid var(--gray-light);
  border-radius: var(--radius-md); font-family: var(--font-sans); font-size:0.875rem;
  outline:none; background:#fafafa;
}
.checkout-form textarea { height:auto; padding:12px 14px; }
.checkout-form .input:focus, .checkout-form input:focus, .checkout-form textarea:focus {
  border-color: var(--orange); background:#fff;
}
.catbar-btn { text-decoration: none; }
a.catbar-btn { display:flex; }
.pagination-wrap { padding: 0 5% 48px; }

/* ── Paginação da vitrine ── */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pager-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-light);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.pager-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(36, 58, 110, 0.04);
}
.pager-btn.is-disabled {
  color: #bbb;
  border-color: var(--gray-light);
  background: var(--white);
  cursor: default;
  pointer-events: none;
}

.pager-pages {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}
.pager-pages::-webkit-scrollbar { display: none; }

.pager-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border-radius: 50%;
  color: #4f4f49;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.pager-page:hover { background: var(--gray-mid); color: var(--navy); }
.pager-page.is-current {
  background: var(--navy);
  color: #fff;
}

.pager-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 38px;
  color: #bbb;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .pager { gap: 6px; }
  .pager-btn-label { display: none; }
  .pager-btn { width: 40px; padding: 0; justify-content: center; }
  .pager-page { min-width: 34px; height: 34px; font-size: 0.8rem; }
  .pager-dots { height: 34px; }
}

/* ── Produto: resumo, selos e limites de quantidade ───────────────── */
.produto-resumo {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: -8px 0 16px;
}

.produto-selos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.produto-selo {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(239, 125, 0, 0.08);
  border: 1px solid rgba(239, 125, 0, 0.22);
  color: var(--brown, #7a4a12);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.produto-opcoes-hint {
  margin-left: 6px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.product-resumo {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--text-muted);
  margin: -4px 0 8px;
}

/* ── Coração da lista de desejos nos cards ── */
.product-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 8px rgba(26,26,24,0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.product-wishlist:hover { transform: scale(1.1); background: #fff; }
.product-wishlist.is-active svg { fill: currentColor; }
.product-wishlist.is-busy { opacity: 0.6; pointer-events: none; }
.product-wishlist.is-pop { animation: wishlist-pop 0.3s ease; }
@keyframes wishlist-pop {
  50% { transform: scale(1.25); }
}
