/* Aubaines à quantité limitée (rév. 10) — bandeau canneberge, cartes papier, étiquette de prix suspendue.
   Mêmes couleurs dans les deux thèmes : le bandeau est sa propre surface (comme la vitrine AMD). */
.aub {
  --aub-fond: #8a1c2c;      /* canneberge */
  --aub-ombre: #5e1220;
  --aub-creme: #f7efe3;     /* texte sur le bandeau */
  --aub-papier: #fbf7f0;    /* carte */
  --aub-encre: #1f1717;
  --aub-gris: #4a3f3f;
  --aub-tag: #f2c46d;       /* étiquette */
  background: var(--aub-fond);
  color: var(--aub-creme);
  padding: 56px 0 60px;
  position: relative;
}
.aub.aub-page { border-radius: 10px; padding: 36px 32px 34px; margin: 0 0 56px; }
.aub-titre {
  font-family: 'Fraunces', Georgia, serif; font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.01em;
  margin: 0 0 8px; color: var(--aub-creme);
}
.aub-sous { margin: 0 0 6px; font-size: 17px; max-width: 62ch; color: var(--aub-creme); opacity: .9; }
.aub-liste {
  display: grid; gap: 28px; margin-top: 52px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
}
.aub-liste.n1 { max-width: 780px; }
.aub-item {
  position: relative; background: var(--aub-papier); color: var(--aub-encre);
  border-radius: 6px; padding: 26px 26px 24px;
  display: grid; grid-template-columns: 184px 1fr; gap: 0 24px; align-items: start;
  box-shadow: 0 2px 0 var(--aub-ombre), 0 22px 40px -26px rgba(0, 0, 0, .6);
}
.aub-item.sans-photo { grid-template-columns: 1fr; }
.aub-page .aub-item { grid-template-columns: 140px 1fr; gap: 0 20px; }
.aub-photo {
  background: #fff; border-radius: 4px; aspect-ratio: 4 / 3; padding: 8px; margin-top: 6px;
  display: flex; align-items: center; justify-content: center; border: 1px solid #ece4d8;
}
.aub-gauche { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.aub-gauche .aub-photo { width: 100%; box-sizing: border-box; }
.aub-logo { width: 52px; height: 52px; border-radius: 3px; display: block; }
.aub-photo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.aub-nom {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 25px; line-height: 1.15;
  margin: 0 0 12px; color: var(--aub-encre); letter-spacing: -0.005em;
}
/* réserve la place de l'étiquette : le nom contourne le coin, la liste reprend toute la largeur dessous */
.aub-corps::before { content: ''; float: right; width: 150px; height: 66px; }
.aub-points { list-style: none; margin: 0 0 14px; padding: 0; font-family: 'Inter Tight', system-ui, sans-serif; font-size: 15px; line-height: 1.5; color: var(--aub-gris); }
.aub-points li { position: relative; padding-left: 15px; }
.aub-points li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 2px; background: var(--aub-fond); }
.aub-plus { display: block; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #2d5f24; }
.aub-compact .aub-plus { margin: 0; font-size: 12px; line-height: 1.35; }
.aub-nom a, a.aub-photo { color: inherit; text-decoration: none; }
.aub-nom a:hover { text-decoration: underline; text-underline-offset: 3px; }
a.aub-photo:hover { border-color: #cdbfae; }
.aub-lien { color: var(--aub-fond); font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(138, 28, 44, .4); }
.aub-lien:hover { border-bottom-color: var(--aub-fond); }
.aub-lien:focus-visible, .aub-nom a:focus-visible, a.aub-photo:focus-visible { outline: 3px solid var(--aub-tag); outline-offset: 2px; }
.aub-faits p { margin: 2px 0; font-size: 14px; color: var(--aub-gris); }
.aub-faits .aub-qte { font-weight: 700; color: var(--aub-fond); }
.aub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.aub-btn {
  display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 6px;
  background: var(--aub-fond); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .15s;
}
.aub-btn:hover { background: var(--aub-ombre); }
.aub-btn:focus-visible, .aub-tel:focus-visible { outline: 3px solid var(--aub-tag); outline-offset: 2px; }
.aub-tel { color: var(--aub-gris); font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(74, 63, 63, .35); }
.aub-tel:hover { color: var(--aub-encre); }
.aub-note { margin: 22px 0 0; font-size: 13px; color: var(--aub-creme); opacity: .85; max-width: 80ch; }

/* L'étiquette suspendue : la chose forte du bandeau */
/* desktop : l'étiquette pend au-dessus du bord de la carte, le trou est sur le bandeau */
.aub-etiq { position: absolute; top: -38px; right: 22px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .28)); transform: rotate(4deg); transform-origin: 50% 0; z-index: 1; }
.aub-tag {
  position: relative; background: var(--aub-tag); color: #1b1408; text-align: center;
  min-width: 112px; padding: 26px 16px 12px;
  clip-path: polygon(50% 0, 100% 16px, 100% 100%, 0 100%, 0 16px);
}
.aub-trou { position: absolute; top: 11px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--aub-fond); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.aub-prix { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 38px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.aub-tx { display: block; font-size: 11.5px; margin-top: 5px; }
.aub-gar { display: block; margin-top: 8px; padding-top: 7px; border-top: 1px dashed rgba(27, 20, 8, .45); font-size: 12.5px; font-weight: 700; }

@media (max-width: 620px) {
  .aub { padding: 40px 0 44px; }
  .aub.aub-page { padding: 26px 16px 24px; }
  .aub-item, .aub-page .aub-item { grid-template-columns: 1fr; padding: 20px 18px 20px; }
  .aub-photo { margin: 0 116px 14px 0; max-width: 220px; }
  .aub-gauche { flex-direction: row; align-items: center; margin: 0 116px 14px 0; }
  .aub-gauche .aub-photo { margin: 0; flex: 1; }
  .aub-logo { width: 44px; height: 44px; }
  .aub-corps::before { display: none; }
  .aub-item.sans-photo .aub-corps::before { display: block; width: 124px; height: 112px; }
  .aub-nom { font-size: 23px; }
  .aub-liste { margin-top: 26px; }
  .aub-etiq { top: 14px; right: 14px; }
  .aub-trou { background: var(--aub-papier); }
  .aub-prix { font-size: 32px; }
}
/* Version compacte : barre en haut de l'accueil, dans le haut de page (au-dessus du paysage d'hiver) */
.aub.aub-compact { background: none; padding: 0 0 20px; position: relative; z-index: 2; color: var(--aub-creme); }
.aub-compact .aub-barre {
  background: var(--aub-fond); border-radius: 10px; padding: 8px 10px 8px 18px;
  display: flex; align-items: center; gap: 18px; box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .6);
}
.aub-compact .aub-titre { flex: 0 0 auto; width: 100px; font-size: 17px; line-height: 1.12; margin: 0; }
.aub-compact .aub-liste { flex: 1; margin: 0; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); }
.aub-compact .aub-liste.n1 { max-width: 640px; }
.aub-compact .aub-item {
  display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 0 14px;
  padding: 7px 16px 7px 7px; border-radius: 6px; box-shadow: none; text-decoration: none;
  background: var(--aub-papier); color: var(--aub-encre);
}
.aub-compact .aub-item.sans-photo { grid-template-columns: minmax(0, 1fr) auto; padding-left: 12px; }
.aub-compact .aub-item:hover { background: #fff; }
.aub-compact .aub-item:hover .aub-nom { text-decoration: underline; text-underline-offset: 3px; }
.aub-compact .aub-item:focus-visible { outline: 3px solid var(--aub-tag); outline-offset: 2px; }
.aub-vign { width: 60px; height: 45px; background: #fff; border-radius: 4px; padding: 3px; display: flex; align-items: center; justify-content: center; }
.aub-vign img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.aub-txt { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.aub-compact .aub-nom { font-size: 15.5px; line-height: 1.2; margin: 0; }
.aub-court { font-size: 12px; line-height: 1.35; color: var(--aub-gris); }
.aub-faits { font-size: 12px; line-height: 1.35; color: var(--aub-gris); }
.aub-faits b { color: var(--aub-fond); font-weight: 700; }
.aub-compact .aub-etiq, .aub-compact .aub-tag { display: block; }
.aub-compact .aub-etiq { position: relative; top: auto; right: auto; transform: rotate(3deg); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }
.aub-compact .aub-tag { min-width: 74px; padding: 12px 7px 5px; clip-path: polygon(50% 0, 100% 8px, 100% 100%, 0 100%, 0 8px); }
.aub-compact .aub-trou { top: 4px; width: 6px; height: 6px; margin-left: -3px; background: var(--aub-papier); }
.aub-compact .aub-prix { font-size: 21px; }
.aub-compact .aub-tx { font-size: 9px; margin-top: 1px; line-height: 1.2; }
.aub-compact .aub-gar { font-size: 9px; margin-top: 3px; padding-top: 2px; line-height: 1.2; }
@media (max-width: 1180px) {
  .aub-compact .aub-barre { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
  .aub-compact .aub-titre { width: auto; padding-left: 4px; font-size: 17px; }
}
@media (max-width: 620px) {
  .aub.aub-compact { padding-bottom: 18px; }
  .aub-compact .aub-item, .aub-compact .aub-item.sans-photo { gap: 0 10px; padding: 8px 10px 8px 12px; grid-template-columns: minmax(0, 1fr) auto; }
  .aub-vign { display: none; }   /* téléphone : la place va au texte, la barre reste basse */
  .aub-compact .aub-court { font-size: 12px; }
  .aub-compact .aub-nom { font-size: 14.5px; }
}
@media print {
  .aub { background: none; color: #000; padding: 12px 0; }
  .aub-titre, .aub-note, .aub-sous { color: #000; }
  .aub-item { box-shadow: none; border: 1px solid #999; }
  .aub-etiq { filter: none; }
}
