/* MyArk — accueil Boutique (boutique.html, rendu par js/app.js), refonte 06/10/2026.
   Règles extraites de style.css par tools/oneshot/extract_boutique_css.py, sur les jetons de tokens.css. */
.search-panel { max-width: 520px; margin-bottom: 36px; }
.search-panel label { font-weight: 600; font-size: var(--t-small, 15px); color: var(--texte-2); display: block; margin-bottom: 8px; }
.search-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--carte);
  border: 1px solid var(--bord);
  border-radius: var(--rayon-s);
  padding: 12px 16px;
  box-shadow: var(--ombre);
  transition: border-color .2s;
}
.search-row:focus-within { border-color: var(--lagune); }
.search-row svg { color: var(--texte-2); flex: none; }
.search-row input {
  border: 0; outline: 0; background: transparent;
  font: inherit; color: var(--texte); width: 100%;
}
.search-row input::placeholder { color: var(--texte-2); }
.animal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.animal-card {
  background: var(--carte);
  border: 1px solid var(--bord);
  border-radius: var(--rayon-m);
  padding: 20px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: var(--ombre);
  transition: transform .25s ease, box-shadow .25s ease;
  color: var(--texte);
  text-align: center;
}
.animal-card:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.animal-card .emoji { font-size: var(--t-title, 28px); }
.animal-card strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: var(--t-small, 15px); font-weight: 700; }
.animal-card small { color: var(--texte-2); font-size: var(--t-caption, 13px); }
.shop-back { margin-bottom: var(--s-6); }
.shop-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.shop-header p { color: var(--texte-2); margin-top: 8px; max-width: 60ch; }
.shop-animal-badge {
  width: 64px; height: 64px; flex: none;
  background: var(--lagune-teinte);
  border-radius: var(--rayon-m);
  display: grid; place-items: center; font-size: var(--t-title, 28px);
}
.shop-positioning {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--lagune) 24%, var(--bord));
  border-radius: var(--rayon-m);
  background: var(--lagune-teinte);
  color: var(--texte-2);
  font-size: var(--t-caption, 13px);
}
.shop-positioning svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--lagune); }
.shop-positioning strong { color: var(--texte); }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill {
  min-height: 44px;
  border: 1px solid var(--bord);
  background: var(--carte); color: var(--texte-2);
  border-radius: var(--rayon-pill);
  padding: 8px 16px; font-weight: 600; font-size: var(--t-caption, 13px);
  transition: all .2s;
}
.pill:hover { border-color: var(--lagune); color: var(--lagune); }
.pill.active { background: var(--lagune); border-color: var(--lagune); color: var(--fond); }
.selection-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.selection-filters fieldset {
  min-width: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--bord);
  border-radius: var(--rayon-m);
  background: var(--carte);
}
.selection-filters legend { padding: 0 6px; color: var(--texte); font-size: var(--t-caption, 13px); font-weight: 700; }
.profile-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.category-guide {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1.45fr);
  gap: 28px;
  margin: 0 0 26px;
  padding: 24px;
  border: 1px solid var(--bord);
  border-radius: var(--rayon-l);
  background: var(--carte);
  box-shadow: var(--ombre);
}
.guide-copy h3 { margin-top: 6px; }
.guide-copy > p { margin-top: 8px; color: var(--texte-2); font-size: var(--t-small, 15px); }
.criteria-list { display: grid; gap: 8px; margin-top: 16px; list-style: none; }
.criteria-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--texte-2); font-size: var(--t-caption, 13px); }
.criteria-list svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--lagune-fort); }
.comparison-wrap h3 { margin-bottom: 12px; font-size: var(--t-body, 17px); }
.comparison-table { overflow: hidden; border: 1px solid var(--bord); border-radius: var(--rayon-m); }
.comparison-row { display: grid; grid-template-columns: .72fr 1fr 1fr; }
.comparison-row + .comparison-row { border-top: 1px solid var(--bord); }
.comparison-row > * { padding: 11px 12px; font-size: var(--t-caption, 13px); }
.comparison-row > * + * { border-left: 1px solid var(--bord); }
.comparison-row strong { color: var(--texte); }
.comparison-row span { color: var(--texte-2); }
.comparison-head { background: var(--subtil); }
.comparison-head span { color: var(--texte); font-size: var(--t-caption, 13px); font-weight: 700; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.toolbar p { color: var(--texte-2); font-size: var(--t-small, 15px); font-weight: 600; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--carte);
  border: 1px solid var(--bord);
  border-radius: var(--rayon-l);
  overflow: hidden;
  box-shadow: var(--ombre);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.product-media {
  position: relative;
  background: var(--subtil);
  display: grid; place-items: center;
  font-size: var(--t-title, 28px);
  padding: 30px 0;
}
.editor-favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--alerte) 35%, var(--bord));
  border-radius: var(--rayon-pill);
  background: var(--carte);
  color: var(--alerte);
  font-size: var(--t-caption, 13px);
  font-weight: 700;
}
.editor-favorite svg { width: 13px; height: 13px; fill: currentColor; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.badge {
  align-self: flex-start;
  background: var(--miel-teinte); color: var(--texte);
  font-size: var(--t-caption, 13px); font-weight: 700;
  padding: 4px 10px; border-radius: var(--rayon-pill);
}
.product-body h3 { font-size: var(--t-body, 17px); }
.product-body > p { color: var(--texte-2); font-size: var(--t-caption, 13px); flex: 1; }
.profile-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.profile-summary div { min-width: 0; padding: 7px 9px; border-radius: var(--rayon-s); background: var(--subtil); }
.profile-summary dt { color: var(--texte-2); font-size: var(--t-caption, 13px); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.profile-summary dd { overflow: hidden; color: var(--texte); font-size: var(--t-caption, 13px); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: var(--subtil); color: var(--texte-2);
  font-size: var(--t-caption, 13px); font-weight: 600;
  padding: 3px 9px; border-radius: var(--rayon-pill);
}
.product-details { border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.product-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  color: var(--texte);
  font-size: var(--t-caption, 13px);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: "+"; color: var(--lagune); font-size: var(--t-lead, 18px); }
.product-details[open] summary::after { content: "–"; }
.product-notes { display: grid; gap: 12px; padding: 0 0 14px; }
.product-notes h4 { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: var(--t-caption, 13px); }
.product-notes h4 svg { width: 15px; height: 15px; color: var(--lagune); }
.product-notes div:last-child h4 svg { color: var(--alerte); }
.product-notes ul { padding-left: 18px; color: var(--texte-2); font-size: var(--t-caption, 13px); }
.product-notes li + li { margin-top: 3px; }
.card-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.amazon-button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--lagune); color: var(--fond);
  text-align: center;
  border-radius: var(--rayon-s);
  padding: 10px 14px; font-weight: 700; font-size: var(--t-caption, 13px);
  transition: background .2s;
}
.amazon-button:hover { background: var(--lagune-fort); }
.empty-state {
  grid-column: 1 / -1;
  background: var(--carte);
  border: 1px dashed var(--bord);
  border-radius: var(--rayon-l);
  padding: 48px 24px;
  text-align: center;
}
.empty-state p { color: var(--texte-2); margin-top: 8px; }
.affiliate-notice, .affiliate-inline {
  color: var(--texte-2); font-size: var(--t-caption, 13px); margin-top: 28px;
}
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tip-card {
  background: var(--carte);
  border: 1px solid var(--bord);
  border-radius: var(--rayon-l);
  padding: 26px;
  box-shadow: var(--ombre);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tip-card:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.tip-icon {
  width: 44px; height: 44px; border-radius: var(--rayon-s);
  background: var(--miel-teinte); color: var(--alerte);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.tip-card h3 { margin-bottom: 8px; }
.tip-card p { color: var(--texte-2); font-size: var(--t-small, 15px); }
@media (max-width: 960px) {
  .tips-grid { grid-template-columns: 1fr; }
  .category-guide { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .shop-header { flex-direction: column-reverse; align-items: flex-start; }
  .selection-filters { grid-template-columns: 1fr; }
  .category-guide { padding: 18px; }
  .comparison-table { border: 0; border-radius: 0; overflow: visible; }
  .comparison-head { display: none; }
  .comparison-row { grid-template-columns: 1fr; padding: 12px; border: 1px solid var(--bord); border-radius: var(--rayon-s); }
  .comparison-row + .comparison-row { margin-top: 8px; border-top: 1px solid var(--bord); }
  .comparison-row > * { padding: 2px 0; }
  .comparison-row > * + * { border-left: 0; }
}

/* Refonte (06/10/2026) */
.hidden { display: none !important; }
.shop-static-entry { display: flex; flex-direction: column; gap: var(--s-4); }
.shop-static-entry h2 { font-size: var(--t-title); line-height: var(--lh-title); font-weight: 800; }
.shop-static-entry p { margin: var(--s-2) 0 0; color: var(--texte-2); }
.shop-static-entry__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.shop-static-entry__grid a { display: flex; flex-direction: column; gap: 2px; min-height: var(--cible); padding: var(--s-3) var(--s-4); border: 1px solid var(--bord); border-radius: var(--rayon-m); background: var(--carte); color: var(--texte); text-decoration: none; }
.shop-static-entry__grid a:hover { border-color: var(--lagune); }
.shop-static-entry__grid strong { font-weight: 700; color: var(--lagune-fort); }
.shop-static-entry__grid small { font-size: var(--t-caption); color: var(--texte-2); }
.shop-section h2, #conseils h2 { font-size: var(--t-title); line-height: var(--lh-title); font-weight: 800; }
.pill { font: inherit; cursor: pointer; }
.profile-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--s-3); border: 1px solid var(--bord); border-radius: var(--rayon-pill); background: var(--carte); color: var(--texte); font: inherit; font-size: var(--t-small); font-weight: 600; cursor: pointer; }
.profile-pill:hover { border-color: var(--lagune); }
.profile-pill.active { background: var(--lagune); border-color: var(--lagune); color: var(--fond); }
.profile-pills { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.amazon-button, .amazon-button:hover { text-decoration: none; }
.shop-explore-title { font-size: var(--t-title); line-height: var(--lh-title); font-weight: 800; }
