:root {
  color-scheme: light;
  --bg: #f0f4f8;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0a6b3a;
  --primary-dark: #065f36;
  --border: #e2e8f0;
  --accent: #ecfeff;
  --danger: #dc2626;
  --gold: #b7903c;
  --gold-soft: #f5eed9;
  --nav-drawer-top: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  background: radial-gradient(120% 80% at 50% -10%, #e8f5ec 0%, var(--bg) 42%);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  position: relative;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  display: block;
}

.brand-logo {
  display: inline-block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: clamp(0.85rem, 3.5vw, 1.5rem);
  padding-right: clamp(0.85rem, 3.5vw, 1.5rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fraud-alert {
  width: 100%;
  max-width: 100vw;
  background: linear-gradient(90deg, #fff7ed, #ffedd5);
  border-bottom: 1px solid #fed7aa;
  color: #9a3412;
  padding: 0.55rem 0;
  overflow: hidden;
  font-weight: 700;
  font-size: 0.8125rem;
  position: relative;
}

.fraud-alert__track {
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: fraud-scroll 16s linear infinite;
}

@keyframes fraud-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fraud-alert__track {
    animation: none;
    display: block;
    padding-left: 0;
    text-align: center;
  }

  .top-nav__drawer,
  .nav-backdrop {
    transition: none;
  }
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.top-nav__shell {
  min-height: 72px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

.brand-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  width: 90px;
  height: 56px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.nav-toggle:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle__icon {
  position: relative;
  color: #0f172a;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

body.nav-open .nav-toggle__icon {
  background: transparent;
}

body.nav-open .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.top-nav__drawer {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.top-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
}

.top-nav__links a {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.35rem 0.15rem;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.top-nav__links a:hover {
  color: var(--primary-dark);
}

.nav-backdrop {
  display: none;
}

.hero {
  margin-bottom: 0;
  color: white;
}

.hero--premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #043d22 0%, #0a6b3a 45%, #0d7a45 72%, #9a7b32 120%);
  padding: clamp(2.25rem, 6vw, 3.75rem) 0;
}

.hero--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(245, 238, 217, 0.35), transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__lead {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  background: var(--primary);
  color: white;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(6, 78, 42, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(6, 78, 42, 0.4);
}

.btn-link--ghost {
  background: rgba(255, 255, 255, 0.95);
  color: #1a3d2a;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
}

.btn-link--ghost:hover {
  background: #fff;
  color: #064e2a;
}

.btn-link--accent {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 45%, #0a6b3a 100%);
  box-shadow: 0 4px 18px rgba(14, 116, 144, 0.45);
}

.btn-link--accent:hover {
  background: linear-gradient(135deg, #155e75 0%, #0e7490 50%, #065f36 100%);
  box-shadow: 0 6px 22px rgba(14, 116, 144, 0.5);
}

.trust-strip {
  margin: 1.35rem auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.trust-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #ecfdf3, #d1fae5);
  color: var(--primary-dark);
}

.trust-item__icon svg {
  width: 22px;
  height: 22px;
}

.trust-item__copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.trust-item__copy strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #065f36;
  line-height: 1.1;
}

.trust-item__copy span {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.35;
}

.how-it-works {
  margin-bottom: 1.35rem;
}

.how-it-works h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.step-card__num {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #16a34a);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-card__inner {
  min-width: 0;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.stack {
  display: grid;
  gap: 0.6rem;
}

.stack-lg {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.card p {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.inline-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.field label,
.voice-box label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #334155;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 107, 58, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

textarea {
  resize: vertical;
  min-height: 92px;
}

button {
  min-height: 48px;
  border: none;
  border-radius: 12px;
  padding: 0.7rem 1.1rem;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(6, 78, 42, 0.22);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(6, 78, 42, 0.3);
}

button:focus-visible {
  outline: 3px solid rgba(10, 107, 58, 0.35);
  outline-offset: 2px;
}

.voice-box {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.5rem;
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.7rem;
}

.voice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.muted {
  color: var(--muted);
  font-size: 0.93rem;
}

.summary-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.summary-metrics span {
  display: inline-flex;
  align-items: center;
  background: #ecfdf3;
  border: 1px solid #9bd3b4;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  color: #065f46;
  font-weight: 700;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.summary-table th,
.summary-table td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  padding: 0.55rem 0.4rem;
}

.summary-table th {
  font-size: 0.88rem;
  color: #334155;
}

.table-btn {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  margin-right: 0.35rem;
  font-size: 0.83rem;
}

.table-btn--edit {
  background: #0f8a4a;
}

.table-btn--neutral {
  background: #64748b;
}

.table-btn--success {
  background: #16a34a;
}

.table-btn--warning {
  background: #d97706;
}

.table-btn--delete {
  background: var(--danger);
}

.quick-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  background: var(--gold-soft);
  color: #6b4f1c;
  border: 1px solid #d7c28f;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-weight: 700;
  font-size: 0.82rem;
}

.order-row {
  cursor: pointer;
}

.order-row--selected td {
  background: #eef9f1;
}

.detail-sheet {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem;
  margin-bottom: 0.7rem;
  background: #f8fafc;
}

.detail-card h3 {
  margin-top: 0;
}

.detail-card p {
  margin: 0.25rem 0;
}

.upload-layout {
  display: grid;
  gap: 0.8rem;
}

.upload {
  display: inline-flex;
  cursor: pointer;
}

.upload input {
  display: none;
}

.upload span {
  background: #e8f5ec;
  color: #0f172a;
  border-radius: 9px;
  padding: 0.58rem 0.8rem;
  font-weight: 700;
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.6rem;
}

.photo-preview img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--border);
}

.order-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.payment-field-full {
  grid-column: 1 / -1;
}

.payment-field-label {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.payment-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.payment-choices--primary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.payment-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.2rem;
  padding: 0.95rem 1rem 0.85rem;
  margin: 0;
  cursor: pointer;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.payment-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.payment-choice:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.payment-choice:hover {
  border-color: #bae6d8;
}

.payment-choice:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.payment-choice__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #0e7490, #0a6b3a);
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.payment-choice__title {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
}

.payment-choice__desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.35;
}

.payment-choice--paydunya:not(:has(input:checked)) {
  border-color: var(--border);
  background: var(--card);
  box-shadow: none;
}

.payment-choice--paydunya:not(:has(input:checked)) .payment-choice__badge {
  opacity: 0.55;
}

.payment-choice:has(input:checked) {
  border-color: var(--primary);
  box-shadow:
    0 0 0 1px rgba(10, 107, 58, 0.25),
    0 6px 20px rgba(10, 107, 58, 0.12);
  transform: translateY(-1px);
}

.payment-choice--paydunya:has(input:checked) {
  border-color: #0e7490;
  background: linear-gradient(160deg, #ecfeff 0%, #f0fdf9 55%, var(--card) 100%);
  box-shadow:
    0 0 0 1px rgba(14, 116, 144, 0.35),
    0 8px 24px rgba(14, 116, 144, 0.15);
}

.payment-choice--paydunya:has(input:checked) .payment-choice__badge {
  opacity: 1;
}

.payment-choices-sep {
  margin: 0.9rem 0 0.5rem;
  font-size: 0.8125rem;
}

.payment-choices--chips {
  gap: 0.5rem;
}

.payment-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.45rem 1rem;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-weight: 650;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.payment-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}


.payment-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.payment-chip:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.payment-chip:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.payment-chip:has(input:checked) {
  border-color: var(--primary);
  background: #e8f5ec;
  color: var(--primary-dark);
}

.pay-submit-hint {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  white-space: pre-line;
}

.hidden {
  display: none;
}

.history-list {
  display: grid;
  gap: 0.6rem;
}

.history-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.history-item p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.person-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.person-photo {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #cfe9d7;
}

.person-zone {
  color: #0a6b3a;
  font-size: 0.9rem;
}

.place-list {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.place-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
}

.admin-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
  margin: 0.75rem 0 0.9rem;
}

.kpi-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem;
  display: grid;
  gap: 0.2rem;
}

.kpi-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.kpi-card strong {
  font-size: 1.25rem;
  color: #07522c;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.8rem;
}

.chart-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.auth-card {
  max-width: 640px;
}

/* ============================================================
   Pop-ups succès / échec (inscription, commande)
   ============================================================ */
body.shop-feedback-open {
  overflow: hidden;
}

#shop-feedback-root {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
}

.shop-feedback {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  pointer-events: auto;
}

.shop-feedback__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.shop-feedback__panel {
  position: relative;
  width: min(420px, 100%);
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.3rem;
  text-align: center;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.28);
  border: 2px solid var(--border);
  animation: shop-feedback-in 0.22s ease-out;
}

@keyframes shop-feedback-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.shop-feedback__panel--success {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, var(--card) 45%);
}

.shop-feedback__panel--error {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fef2f2 0%, var(--card) 45%);
}

.shop-feedback__panel--warn {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, var(--card) 45%);
}

.shop-feedback__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.shop-feedback__panel--success .shop-feedback__icon {
  background: #22c55e;
  color: #fff;
}

.shop-feedback__panel--error .shop-feedback__icon {
  background: #ef4444;
  color: #fff;
}

.shop-feedback__panel--warn .shop-feedback__icon {
  background: #f59e0b;
  color: #fff;
}

.shop-feedback__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-feedback__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--text);
}

.shop-feedback__message {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
  white-space: pre-line;
}

.shop-feedback__btn {
  min-width: 120px;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.shop-feedback__panel--error .shop-feedback__btn {
  background: #dc2626;
}

.shop-feedback__panel--warn .shop-feedback__btn {
  background: #d97706;
}

.shop-feedback__btn:hover {
  filter: brightness(0.95);
}

/* Production : pas de texte technique sous le formulaire commande */
.site--production #pay-submit-hint,
.site--production #order-status.order-status--prod-hidden {
  display: none !important;
}

.site--production #register-status.register-status--prod-hidden {
  display: none !important;
}

/* ============================================================
   Admin — overlay de connexion
   ============================================================ */
.admin-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: radial-gradient(120% 80% at 50% -10%, #0f5132 0%, #06231b 70%, #020c08 100%);
}

.admin-login-overlay.hidden {
  display: none;
}

body.admin-locked {
  overflow: hidden;
}

.admin-login-card {
  width: min(420px, 100%);
  background: var(--card);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 0.55rem;
}

.admin-login-card__head {
  margin-bottom: 0.4rem;
}

.admin-login-card__head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.admin-login-card label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.admin-login-card input[type="email"],
.admin-login-card input[type="password"] {
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
}

.admin-login-card input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.admin-login-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin: 0.2rem 0 0.3rem;
}

.admin-login-remember input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.admin-login-card button[type="submit"] {
  margin-top: 0.4rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.admin-login-card button[type="submit"]:hover {
  background: var(--primary-dark);
}

.admin-login-card button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: progress;
}

.admin-login-error {
  margin: 0.3rem 0 0;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-size: 0.85rem;
}

.admin-login-foot {
  margin: 0.6rem 0 0;
  font-size: 0.72rem;
  text-align: center;
}

/* ============================================================
   Admin — barre de session (header)
   ============================================================ */
.admin-header-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.admin-session {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
}

.admin-session__label {
  opacity: 0.8;
  font-weight: 600;
}

.admin-session strong {
  font-weight: 700;
}

.admin-session .table-btn {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.admin-session .table-btn:hover {
  background: rgba(255, 255, 255, 0.32);
}

/* ============================================================
   Admin — onglets, bandeau, toolbar, header de carte
   ============================================================ */
.admin-banner {
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  font-size: 0.875rem;
  background: #fef3c7;
  color: #78350f;
  border: 1px solid #fde68a;
}

.admin-banner[data-kind="warn"] {
  background: #fef3c7;
  color: #78350f;
  border-color: #fde68a;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.admin-tab {
  flex: 1 1 140px;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.admin-tab:hover {
  background: #f1f5f9;
  color: var(--text);
}

.admin-tab--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(10, 107, 58, 0.18);
}

.admin-panel {
  display: grid;
  gap: 1rem;
}

.admin-panel.hidden {
  display: none;
}

.card__header-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.card__header-row h2 {
  margin: 0;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.field--inline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.field--inline label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.field--inline select,
.field--inline input {
  height: 38px;
  padding: 0 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  font: inherit;
}

/* ============================================================
   Admin — produits
   ============================================================ */
.admin-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.admin-product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.admin-product-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1f5f9;
}

.admin-product-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #94a3b8;
}

.admin-product-card__body {
  padding: 0.7rem 0.85rem 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.admin-product-card__body header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.admin-product-card__body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.admin-product-card__meta {
  font-size: 0.78rem;
  margin: 0;
}

.admin-product-card__price {
  margin: 0;
  font-weight: 800;
  color: var(--primary-dark);
}

.admin-product-card__desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.status-pill--ok {
  background: #dcfce7;
  color: #166534;
}

.status-pill--ko {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================================
   Admin — historique cliquable / utilisateurs
   ============================================================ */
.history-item--button {
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.history-item--button:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.history-item--button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================================
   Admin — modale
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.modal__panel {
  position: relative;
  background: var(--card);
  border-radius: 16px;
  width: min(640px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
}

.modal__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.modal__close {
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.modal__close:hover {
  color: var(--text);
}

.modal__body {
  padding: 1rem 1.2rem;
  overflow-y: auto;
}

.modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

@media (max-width: 720px) {
  .admin-tabs {
    position: static;
  }
  .admin-tab {
    flex: 1 1 calc(50% - 0.4rem);
  }
  .card__header-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.footer {
  padding: 1rem 0 1.6rem;
  color: #334155;
}

.footer--rich {
  background: #e2e8f0;
  border-top: 1px solid #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.footer-grid p {
  margin: 0.25rem 0;
}

@media (min-width: 920px) {
  .upload-layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    max-width: 22ch;
  }
}

@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .top-nav__shell {
    min-height: 60px;
    padding: 0.35rem 0;
  }

  .top-nav__drawer {
    position: fixed;
    z-index: 95;
    left: 0;
    right: 0;
    top: var(--nav-drawer-top, 72px);
    max-height: min(calc(100dvh - var(--nav-drawer-top, 72px)), 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: none;
    justify-content: stretch;
    padding: 0.5rem 0 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  body.nav-open .top-nav__drawer {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 85;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .top-nav__links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    padding: 0 0.35rem;
  }

  .top-nav__links a {
    padding: 0.95rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
  }

  .top-nav__links a:hover,
  .top-nav__links a:active {
    background: #f1f5f9;
    color: var(--primary-dark);
  }

  .brand-logo {
    width: 74px;
    height: 46px;
  }

  .hero--premium {
    padding: 2.35rem 0 2.6rem;
    text-align: center;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 2.05rem);
    max-width: 100%;
  }

  .hero__lead {
    max-width: 100%;
  }

  .hero-cta {
    width: 100%;
    max-width: 22rem;
    justify-items: stretch;
  }

  .hero-cta,
  .order-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-link {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .inline-fields {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 0.85rem;
    border-radius: 14px;
  }

  .quick-status-actions {
    margin-bottom: 0.45rem;
  }

  .quick-status-actions .table-btn {
    flex: 1;
    margin-right: 0;
    text-align: center;
  }

  .summary-table th,
  .summary-table td {
    padding: 0.5rem 0.35rem;
    font-size: 0.88rem;
  }

  .history-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .charts-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .fraud-alert {
    font-size: 0.85rem;
  }

  .brand-link span {
    font-size: 1rem;
  }

  .brand-logo {
    width: 64px;
    height: 40px;
  }

  .top-nav__links a {
    font-size: 0.92rem;
  }

  .summary-metrics {
    gap: 0.45rem;
  }

  .summary-metrics span {
    font-size: 0.82rem;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* Produits Auchan */
.hero--compact.hero--premium {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}

.hero--compact.hero--premium h1 {
  max-width: none;
}

.hero--premium .products-source-line {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.hero--premium .products-source-line a {
  color: rgba(255, 255, 255, 0.98);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 0.88em;
  padding: 0.08em 0.35em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
}

.products-page {
  padding-bottom: 3rem;
}

.products-toolbar.card.card--elevated {
  padding: clamp(1.1rem, 3vw, 1.35rem);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(236, 253, 242, 0.55) 52%,
    rgba(248, 250, 252, 0.88) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 34px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.products-toolbar .field label {
  color: var(--text);
  letter-spacing: -0.02em;
}

.products-search-shell {
  position: relative;
}

.products-search-shell input[type="search"] {
  min-height: 50px;
  border-radius: 14px;
  padding-left: 2.95rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.94);
}

.products-search-shell input[type="search"]::placeholder {
  color: #94a3b8;
}

.products-search-shell input[type="search"]:focus {
  border-color: rgba(10, 107, 58, 0.45);
  box-shadow: 0 0 0 5px rgba(10, 107, 58, 0.1), 0 12px 32px rgba(15, 23, 42, 0.08);
}

.products-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  translate: 0 -50%;
  width: 1.15rem;
  height: 1.15rem;
  color: #64748b;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.products-toolbar .products-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  justify-content: space-between;
}

.products-toolbar .products-toolbar__row--cta {
  align-items: center;
  margin-bottom: 0.85rem;
  justify-content: flex-start;
}

.products-toolbar .products-toolbar__row--cta .btn-link {
  min-height: 44px;
  font-size: 0.875rem;
}

.products-search-field {
  flex: 1 1 220px;
  margin: 0;
}

.products-meta {
  margin: 0;
  text-align: right;
  flex: 1 1 200px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--muted);
}

.products-status {
  margin: 0.25rem 0 1.25rem;
  min-height: 1.25rem;
}

.products-grid {
  display: grid;
  /* 4 colonnes (large écran), 3 colonnes (tablette / laptop étroit), 2 puis 1 sur mobile */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

@media (max-width: 1119px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.products-grid.products-grid--revealed .product-card {
  animation: product-card-in 0.55s cubic-bezier(0.27, 0.92, 0.35, 1) backwards;
  animation-delay: calc(var(--card-i) * 32ms);
}

@keyframes product-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-card {
  --card-radius: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: radial-gradient(
      140% 100% at 50% -8%,
      rgba(236, 254, 239, 0.55),
      transparent 42%
    ),
    var(--card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--card-radius);
  overflow: hidden;
  overflow: clip;
  box-shadow: 0 2px 3px rgba(15, 23, 42, 0.04), 0 18px 40px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease,
    border-color 0.25s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 14% -40% 14%;
  height: 72px;
  background: radial-gradient(ellipse at center, rgba(10, 107, 58, 0.12), transparent 68%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 107, 58, 0.25);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.04), 0 26px 56px rgba(15, 23, 42, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.product-card:hover::after {
  opacity: 1;
}

/* Carte : pas de bouton vert global du reste du site */
.product-card button.product-card__open,
.product-card button.product-card__title-btn {
  min-height: unset;
  padding: 0;
  margin: 0;
  transform: none;
  box-shadow: none;
  background: transparent !important;
  border-radius: 0;
}

.product-card button.product-card__open:hover,
.product-card button.product-card__title-btn:hover {
  transform: none;
  background: transparent !important;
  box-shadow: none !important;
}

.product-card button.product-card__open:focus-visible,
.product-card button.product-card__title-btn:focus-visible {
  box-shadow: none !important;
}

.product-card__open {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  cursor: pointer;
  aspect-ratio: 1;
  isolation: isolate;
  margin: 0.72rem;
  margin-bottom: 0.35rem;
  border-radius: 18px;
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(10, 107, 58, 0.06), transparent 62%),
    linear-gradient(180deg, rgba(249, 250, 251, 0.94) 0%, rgba(239, 246, 250, 0.35) 100%);
  outline: none;
}

.product-card__open:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.product-card__open:hover:not(:disabled) img {
  transform: scale(1.035);
}

.product-card__open img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card__promo-ribbon {
  pointer-events: none;
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.22rem 0.62rem;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c2d12;
  background: linear-gradient(130deg, #ffedd5, #fde68a 55%, #fbbf24);
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(180, 83, 9, 0.2);
}

.product-card__body {
  padding: 0 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-card__category {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.688rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary-dark);
  border-radius: 999px;
  background: rgba(10, 107, 58, 0.08);
}

.product-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.025em;
  color: var(--text);
}

.product-card__title-btn {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: left;
  outline: none;
}

.product-card__title-btn:hover {
  color: var(--primary-dark);
}

.product-card__title-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.product-card__price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.product-card__promo {
  margin: 0;
  padding: 0.45rem 0.55rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  background: rgba(241, 245, 249, 0.55);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.7);
}

.product-card__promo-label {
  display: inline-block;
  vertical-align: middle;
  padding: 0.12rem 0.38rem;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.25);
  color: #92400e;
  font-weight: 800;
  font-size: 0.605rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.2rem;
}

.product-card__brand {
  margin: 0;
  font-size: 0.848rem;
  color: var(--text);
}

.product-card__desc {
  margin: 0;
  padding-top: 0.4rem;
  margin-top: 0.08rem;
  border-top: 1px solid rgba(226, 232, 240, 0.55);
  font-size: 0.795rem;
  line-height: 1.52;
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__foot {
  padding-top: 0.62rem;
  margin-top: 0.06rem;
  border-top: 1px dashed rgba(203, 213, 225, 0.7);
}

.product-card .product-card__hint {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(71, 85, 105, 0.9);
}

.product-card:hover .product-card__hint {
  color: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }

  .products-grid.products-grid--revealed .product-card {
    animation: none;
  }

  .product-card__open img {
    transition: none;
  }

  .product-card:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .products-meta {
    text-align: left;
  }

  .product-card:hover {
    transform: none;
  }
}

/* Pages légales */
.legal-doc {
  max-width: 720px;
}

.legal-doc h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.legal-doc h2:first-of-type {
  margin-top: 0.5rem;
}

.legal-doc h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.legal-doc ul {
  margin: 0.35rem 0 0.85rem;
  padding-left: 1.25rem;
}

.legal-doc .legal-lead {
  color: var(--text);
  font-weight: 500;
}

.legal-doc a {
  color: var(--primary);
  font-weight: 600;
}

.legal-doc .legal-update {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-legal-links a:hover {
  text-decoration: underline;
  color: var(--primary);
}

main p.muted a {
  color: var(--primary);
  font-weight: 600;
}

main p.muted a:hover {
  text-decoration: underline;
}

/* Retour Paydunya (payment-return.html) */
.payment-return-main {
  max-width: 640px;
  margin: 4rem auto;
}

.payment-return-details {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.4rem 1.25rem;
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.payment-return-details dt {
  margin: 0;
  font-weight: 650;
}

.payment-return-details dd {
  margin: 0;
}
