/* Fiche produit - Odtec Event Solutions */
.fiche-produit { background: var(--card, #fff); border: 1px solid var(--line, #e6e9f0); border-radius: var(--r, 6px); padding: 22px; color: var(--text, #475467); }
.fiche-produit h1 { font-size: 26px; line-height: 1.25; color: var(--ink, #0f172a); margin: 6px 0 18px; }
.fiche-produit h2 { font-size: 19px; color: var(--ink, #0f172a); margin: 0 0 10px; }
.fiche-produit h3 { font-size: 15px; color: var(--ink, #0f172a); margin: 14px 0 4px; }
.fiche-produit p { line-height: 1.6; }
.fp-ariane { font-size: 13px; color: var(--muted, #8a94a6); }
.fp-ariane a { color: var(--accent, #2f6df6); }
.fp-ariane i { margin: 0 5px; }
.fp-grid { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.fp-galerie { flex: 1 1 380px; min-width: 0; }
.fp-infos { flex: 1 1 320px; min-width: 0; }
.fp-slider { position: relative; border: 1px solid var(--line, #e6e9f0); border-radius: var(--r, 6px); overflow: hidden; background: #fff; }
.fp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fp-track::-webkit-scrollbar { display: none; }
.fp-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #fff; cursor: zoom-in; }
.fp-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.fp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,10,28,.62); color: #fff; font-size: 26px; line-height: 38px; text-align: center; padding: 0; cursor: pointer; transition: background .2s; }
.fp-nav:hover { background: rgba(0,10,28,.9); }
.fp-prev { left: 10px; } .fp-next { right: 10px; }
.fp-count { position: absolute; left: 10px; bottom: 10px; background: rgba(0,10,28,.62); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 20px; }
.fp-zoom-hint { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.92); color: var(--ink, #0f172a); font-size: 12px; padding: 3px 9px; border-radius: 20px; pointer-events: none; }
.fp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.fp-thumbs button { flex: 0 0 auto; width: 72px; height: 72px; padding: 0; border: 2px solid var(--line, #e6e9f0); border-radius: var(--r, 6px); overflow: hidden; background: #fff; cursor: pointer; opacity: .65; }
.fp-thumbs button.on, .fp-thumbs button:hover { border-color: var(--accent, #2f6df6); opacity: 1; }
.fp-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-intro { font-size: 16px; color: var(--ink, #0f172a); margin: 0 0 14px; }
.fp-faits { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.fp-faits th, .fp-faits td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line, #e6e9f0); }
.fp-faits th { width: 36%; color: var(--muted, #8a94a6); font-weight: 600; }
.fp-achat { background: var(--bg, #f3f5f9); border-radius: var(--r, 6px); padding: 16px; }
.fp-prix { margin-bottom: 12px; }
.fp-prix-val { color: #CC0000; font-size: 24px; font-weight: 700; }
.fp-prix-old { color: #666; font-size: 15px; margin-right: 8px; }
.fp-note { margin: 0 0 10px; font-size: 14px; }
.fp-ok { color: #0a8a2a; font-weight: 600; margin: 0 0 8px; }
.fp-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.fp-form label { font-weight: 600; color: var(--ink, #0f172a); }
.fp-qty { display: inline-flex; border: 1px solid #cfd5e1; border-radius: var(--r, 6px); overflow: hidden; background: #fff; }
.fp-qty button { width: 38px; border: 0; background: #fff; font-size: 20px; cursor: pointer; color: var(--ink, #0f172a); }
.fp-qty button:hover { background: var(--accent-soft, #e9f0ff); }
.fp-qty input { width: 56px; border: 0; border-left: 1px solid #cfd5e1; border-right: 1px solid #cfd5e1; text-align: center; font-size: 16px; padding: 8px 0; -moz-appearance: textfield; }
.fp-qty input::-webkit-outer-spin-button, .fp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fp-btn { display: inline-block; background: #CC0000; color: #fff !important; border: 0; border-radius: var(--r, 6px); padding: 11px 18px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.fp-btn:hover { background: #a80000; }
.fp-lien-contact { display: block; margin-top: 12px; font-size: 14px; color: var(--accent, #2f6df6); }
.fp-bloc { margin-top: 28px; }
.fp-texte { line-height: 1.65; }
.fp-texte img { max-width: 100%; height: auto; }
.fp-similaires { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.fp-similaires a { display: block; border: 1px solid var(--line, #e6e9f0); border-radius: var(--r, 6px); overflow: hidden; text-decoration: none; color: var(--ink, #0f172a); font-size: 13px; }
.fp-similaires img { display: block; width: 100%; height: 110px; object-fit: cover; }
.fp-similaires span { display: block; padding: 7px 9px; }
@media (max-width: 767px) {
  .fiche-produit { padding: 14px; }
  .fiche-produit h1 { font-size: 21px; }
  .fp-grid { gap: 16px; }
}

/* Liste catalogue : extrait + lien fiche */
.cat-extrait { margin: 0 0 8px; color: #555; }
.cat-extrait a { color: var(--accent, #2f6df6); white-space: nowrap; }

.fiche-produit > .float-box { margin-top: 26px; }
.fp-similaires { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

.fp-achat > a.fp-btn { display: table; margin: 0 0 12px; }
.fp-form { width: 100%; }

/* Auto-complétion recherche catalogue */
.ajax-search-results { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 9999; display: none; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--line, #e6e9f0); border-radius: var(--r, 6px); box-shadow: 0 8px 24px rgba(15,23,42,.18); overflow: hidden; text-align: left; }
.ajax-search-results li { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line, #e6e9f0); }
.ajax-search-results li:last-child { border-bottom: 0; }
.ajax-search-results a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; color: var(--ink, #0f172a); text-decoration: none; float: none; width: auto; height: auto; background: transparent; }
.ajax-search-results a:hover { background: var(--accent-soft, #e9f0ff); }
.ajax-search-results img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; flex: 0 0 auto; }
.ajax-search-results .res-nom { font-size: 14px; font-weight: 600; line-height: 1.25; }
.ajax-search-results .res-prix { color: #CC0000; font-size: 13px; margin-top: 2px; }
