/* HAFSOIT BEAUTY — composants boutique (notify, filtres, cartes) */

.hb-notify {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 2100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #1a1816;
  color: #fdfbf8;
  border-radius: 16px;
  border-left: 4px solid var(--accent, #9b7c37);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  max-width: min(440px, calc(100% - 32px));
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s, visibility 0.35s;
}

.hb-notify.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.hb-notify.is-success { border-left-color: #3d9b6e; }
.hb-notify.is-error { border-left-color: #e85d6a; }
.hb-notify.is-info { border-left-color: var(--accent, #9b7c37); }

.hb-notify-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hb-notify-text { flex: 1; font-size: 14px; line-height: 1.45; }
.hb-notify-text strong { display: block; font-size: 15px; margin-bottom: 2px; font-weight: 600; }

.hb-notify-action {
  flex-shrink: 0;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent, #9b7c37), var(--accent-soft, #c4a962));
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn {
  padding: 10px 22px;
  border: 1px solid rgba(222, 213, 196, 0.85);
  background: rgba(255, 252, 246, 0.92);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  font-size: 13px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(43, 35, 25, 0.04);
}

.filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 162, 98, 0.45);
  box-shadow: 0 8px 22px rgba(43, 35, 25, 0.08);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 28px rgba(184, 148, 31, 0.28);
}

/* product-card-shell : voir css/hafsoit-product-cards.css (parité nouveautés) */

header.scrolled {
  background: rgba(255, 252, 246, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(43, 35, 25, 0.1);
  border-color: rgba(201, 162, 98, 0.22);
}

.payment-info.mvola-hint strong { color: var(--accent); }

.payment-pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.payment-pay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 98, 0.35);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.payment-pay-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

/* Suivi commande */
.order-track-section {
  max-width: 560px;
  margin: 0 auto 48px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 12px 40px var(--shadow);
}

.order-track-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.order-track-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  background: var(--surface-soft);
}

.order-track-result {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: none;
}

.order-track-result.is-visible { display: block; }

.order-track-steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 20px 0;
}

.order-track-step {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.order-track-step .dot {
  width: 32px;
  height: 32px;
  margin: 0 auto 6px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--surface-soft);
}

.order-track-step.done .dot {
  border-color: var(--vert-comores);
  background: rgba(45, 106, 79, 0.12);
  color: var(--vert-comores);
}

.order-track-step.active .dot {
  border-color: var(--accent);
  background: rgba(201, 162, 98, 0.15);
  color: var(--accent);
}

.order-track-lines {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.order-track-lines li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}

.order-track-msg {
  font-size: 13px;
  margin-top: 8px;
}

.order-track-msg.error { color: #c44; }
.order-track-msg.ok { color: var(--vert-comores); }
