/* Pommecan Bijoux — custom overrides */

/* ── Notifications ── */
.pom-notif-wrap {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.pom-notif {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 420px;
  padding: 1rem 1.25rem;
  background: #fff;
  border-left: 3px solid currentColor;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  pointer-events: all;
  overflow: hidden;
  max-height: 200px;
}

.pom-notif--success { color: #1B6B77; }
.pom-notif--error   { color: #c0392b; }
.pom-notif--warning { color: #d68910; }
.pom-notif--info    { color: #5b8fa8; }

.pom-notif__icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.pom-notif__msg {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #0D1B1E;
  line-height: 1.55;
}

.pom-notif__msg a { color: inherit; text-decoration: underline; }

.pom-notif__close {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #B0A89E;
  line-height: 1;
  transition: color 0.2s ease;
  margin-top: 2px;
}

.pom-notif__close:hover { color: #0D1B1E; }

@media (max-width: 767px) {
  .pom-notif-wrap {
    top: auto;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
  .pom-notif { min-width: 0; max-width: 100%; }
}

/* ── Bouton retour en haut ── */
.pom-back-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #fff;
  border: 1px solid #EFF6F7;
  color: #0D1B1E;
  margin-left: auto;
  margin-top: 2rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.pom-back-top:hover {
  background-color: #0D1B1E;
  border-color: #0D1B1E;
  color: #fff;
}

/* ── Toolbar résultats (espacement latéral) ── */
#js-product-list-top {
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  #js-product-list-top {
    padding-inline: 2rem;
  }
}

/* ── En-tête page recherche ── */
.pom-search-heading {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.pom-search-heading__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #1B6B77;
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.pom-search-heading__title {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0D1B1E;
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.pom-search-heading__rule {
  width: 32px;
  height: 1px;
  background-color: #1B6B77;
  margin-inline: auto;
}

/* =====================================================================
   ÉCLAT DE VIVIE — placeholders images (temporaire, en attendant les
   vraies images). var(--primary, <taupe>) : bascule auto sur le teal
   une fois --primary défini au rebrand.
   ===================================================================== */
.pom-img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: var(--primary, #EFF6F7);
  opacity: 0.9;
}
