<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>2 Tickets d'entrée – Taxilux Ardenne sprl </title>
<meta name="description" content="Cooling Mat Premium - Cadeau offert. Braconnier." />
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<style>
  *{margin:0;padding:0;box-sizing:border-box}
  :root{
    --brand:#2D7D2D;
  }
  body{font-family:'Nunito',system-ui,sans-serif;background:#FFFFFF;color:#0d3b2e;line-height:1.5;padding-bottom: 180px}
  .wrap{max-width:480px;margin:0 auto;background:#fff;min-height:100vh}
  header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:50}
  .logo-img{height:44px;width:auto;display:block}
  .head-icons{display:flex;gap:18px;align-items:center;color:#0d3b2e}
  .head-icons svg{width:22px;height:22px;cursor:pointer}
  .crumb{padding:16px 20px 8px;font-size:14px;color:#6b7280}
  .crumb a{color:#6b7280;text-decoration:none}
  .crumb .sep{margin:0 6px}
  .gallery{padding:0 20px}
  .main-img{position:relative;border-radius:14px;overflow:hidden;background:#f0f0f0;aspect-ratio:1/1;box-shadow:0 2px 10px rgba(0,0,0,.06)}
  .main-img img{width:100%;height:100%;object-fit:cover;display:block}
  .dots{display:flex;justify-content:center;gap:8px;margin:14px 0}
  .dot{width:8px;height:8px;border-radius:50%;background:#d1d5db;cursor:pointer;transition:background .2s}
  .dot.active{background:#0d3b2e}
  .info{padding:8px 20px 20px}
  .info h1{font-size:22px;font-weight:800;color:#0d3b2e;margin-bottom:10px}
  .price{font-size:22px;font-weight:400;color:#0d3b2e;margin-bottom:20px}
  .lbl{font-size:14px;font-weight:700;color:#0d3b2e;margin-bottom:8px}
  .select{width:100%;padding:14px 16px;border:1px solid #d1d5db;border-radius:8px;background:#fff;font-family:inherit;font-size:14px;color:#6b7280;margin-bottom:18px;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");background-repeat:no-repeat;background-position:right 16px center}
  .stock{font-size:14px;font-weight:700;color:#0d3b2e;margin-bottom:10px}
  .btn{width:100%;padding:16px;border:none;border-radius:8px;font-family:inherit;font-size:16px;font-weight:700;cursor:pointer;transition:opacity .2s;display:block;text-align:center;text-decoration:none}
  .btn-black{background:#000;color:#fff;margin-bottom:10px}
  .btn-black:hover{opacity:.85}
  .hidden{display:none}
  .share-title{font-size:14px;font-weight:700;margin:22px 0 10px}
  .share-btns{display:flex;gap:8px;flex-wrap:wrap}
  .share-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:600;color:#fff;text-decoration:none}
  .sb-fb{background:#1877F2}.sb-x{background:#000}.sb-pin{background:#E60023}
  .bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;background:#fff;border-top:1px solid #eee;display:flex;justify-content:space-around;padding:12px 0 14px;z-index:40}
  .nav-item{display:flex;flex-direction:column;align-items:center;gap:4px;color:#0d3b2e;text-decoration:none;font-size:12px;font-weight:500}
  .nav-item svg{width:22px;height:22px}
  
  /* Barre d'actions sticky en bas de l'écran - Style Taxi Marche-Libramont */
  .sticky-cta{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    background: #242425;
    border-top: 1px solid #333;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(0,0,0,.15);
  }
  .sticky-cta .inner{
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Boutons modernes - Style Taxi Marche-Libramont avec gradient jaune/or */
  .btn-brand{
    width: 100%;
    background: linear-gradient(135deg, #f4a623 0%, #e8941c 50%, #d48215 100%);
    color: #242425;
    border: none;
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,.2);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  }
  .btn-brand:hover{ 
    background: linear-gradient(135deg, #e8941c 0%, #d48215 50%, #c27210 100%);
    transform: translateY(-1px); 
    box-shadow: 0 10px 22px rgba(0,0,0,.25); 
  }
  .btn-brand:active{ transform: translateY(0); }
  .btn-brand.secondary{
    background: #fff;
    color: #242425;
    border: 2px solid #f4a623;
    box-shadow: none;
  }
  .btn-brand.secondary:hover{ background: #f3f6fb; border-color: #e8941c; }

  /* Badge compteur panier */
  .cart-wrap{ position: relative; display: inline-block; }
  .cart-badge{
    position: absolute;
    top: -6px; right: -8px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: none;
    align-items: center; justify-content: center;
    line-height: 1;
  }
  .cart-badge.show{ display: inline-flex; }

  /* Cache le bouton "Passer la commande" tant qu'on n'a pas cliqué */
  #btnCheckout{ display: none; }
  #btnCheckout.show{ display: inline-flex; }
  
  @media(min-width:600px){.wrap{max-width:720px;box-shadow:0 0 30px rgba(0,0,0,.05)}}
</style>
</head>
<body>
<div class="wrap">
  <header>
    <img class="logo-img" src="https://scontent.fcmn2-2.fna.fbcdn.net/v/t39.30808-6/752723728_1034682022759729_7801502108645943525_n.jpg?stp=cp6_dst-jpg_tt6&cstp=mx1260x1260&ctp=s1260x1260&_nc_cat=111&ccb=1-7&_nc_sid=6ee11a&_nc_eui2=AeEW2wxIQAVxlU7r5EyJumu3WfLRN_twZCFZ8tE3-3BkIZQ3tRa8duNF7q6BPtLmwnJX-90T6s5Onpo6JN3GJXlA&_nc_ohc=q-tb7ILoxgwQ7kNvwFVwLZw&_nc_oc=AdqjoDXdbtDXibaftRQxtv8NxHpA05yd6a4fcuaMqrwK8sFGoHPmU89if7HrPSJLlhg&_nc_zt=23&_nc_ht=scontent.fcmn2-2.fna&_nc_gid=ST9-w8dMNNsh5t1rW4rVDg&_nc_ss=7a2a8&oh=00_AQBWv1ds1uIrdpOlN57isCY7SMizP3q3htIYXjCFbBLCGQ&oe=6A6A95E7" alt="Braconnier" />
    <div class="head-icons">
      <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
      <a href="#" class="cart-wrap" aria-label="Panier">
        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
             fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
          <circle cx="9" cy="21" r="1"></circle>
          <circle cx="20" cy="21" r="1"></circle>
          <path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>
        </svg>
        <span id="cartBadge" class="cart-badge">0</span>
      </a>
      <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="18" x2="21" y2="18"/></svg>
    </div>
  </header>


  <div class="gallery">
    <div class="main-img">
      <img id="mainImg" src="https://scontent.fcmn2-1.fna.fbcdn.net/v/t39.30808-6/753287980_1059555843233880_6647736084261318355_n.jpg?stp=dst-jpg_tt6&cstp=mx1537x1023&ctp=s1537x1023&_nc_cat=105&ccb=1-7&_nc_sid=127cfc&_nc_ohc=D_p27jnS4M8Q7kNvwG8qIRp&_nc_oc=AdpFQ4k7EnXcgeu81ZUYwNn-y2ISMUtr-sTSPLJzxfp5okPxML5FpwGQSP5hAPw2GLw&_nc_zt=23&_nc_ht=scontent.fcmn2-1.fna&_nc_gid=mB1FyYRRxLkgIUMhEkvyfA&_nc_ss=7a2a8&oh=00_AQDdE5Q39wEAVFN61wchI_-aoobivbum30lSh8U-bM0Fwg&oe=6A6AAE64" alt="Cooling Mat Premium" />
    </div>
    <div class="dots" id="dots"></div>
  </div>

  <div class="info">
    <h1>Pack 2 Entrées – Foire de Libramont 2026 </h1>
    <div class="price">€0,00</div>


    <div class="stock">En stock</div>

    <div class="share-title">Partagez votre achat avec vos amis</div>
    <div class="share-btns">
      <a href="#" class="share-btn sb-fb">f Partager</a>
      <a href="#" class="share-btn sb-x">𝕏 Partager</a>
      <a href="#" class="share-btn sb-pin">P Épingler</a>
    </div>
  </div>
</div>

<!-- Barre d'actions sticky en bas -->
<div class="sticky-cta">
  <div class="inner">
    <button id="btnAdd" class="btn-brand" onclick="addToCart()">
      Ajouter au panier
    </button>
    <button id="btnCheckout" class="btn-brand secondary" onclick="location.href='https://taxilux-ardenne-sprl.reglements-concours.com/prod-confirmation.php'">
      Passer la commande
    </button>
  </div>
</div>

<script>
  const images = [
    "",
    "https://scontent.fcmn3-1.fna.fbcdn.net/v/t39.30808-6/754835708_1059555839900547_1053971949564911505_n.jpg?stp=dst-jpg_tt6&cstp=mx1774x887&ctp=s1774x887&_nc_cat=107&ccb=1-7&_nc_sid=127cfc&_nc_ohc=_F3xZ0RLa38Q7kNvwHD280o&_nc_oc=AdrphW32Ng6eYYdqZ3LKeTeNGN9RjN7b8N1-8xKIzwskf9GBVxQRYIra4xTrUQw1U98&_nc_zt=23&_nc_ht=scontent.fcmn3-1.fna&_nc_gid=OhrMncdNAc1hi_74aR3iag&_nc_ss=7a2a8&oh=00_AQDv4IzjmhratQXhqCU3gXogCu_ONyWJZbB3k6fwVwaJQA&oe=6A6A9B51",

  ];
  const dotsEl = document.getElementById('dots');
  const mainImg = document.getElementById('mainImg');
  let cur = 0;
  images.forEach((_, i) => {
    const d = document.createElement('div');
    d.className = 'dot' + (i === 0 ? ' active' : '');
    d.onclick = () => setImg(i);
    dotsEl.appendChild(d);
  });
  function setImg(i){cur=i;mainImg.src=images[i];document.querySelectorAll('.dot').forEach((d,idx)=>d.classList.toggle('active',idx===i))}
  let sx=0;
  mainImg.addEventListener('touchstart',e=>sx=e.touches[0].clientX);
  mainImg.addEventListener('touchend',e=>{const dx=e.changedTouches[0].clientX-sx;if(dx>40)setImg((cur-1+images.length)%images.length);else if(dx<-40)setImg((cur+1)%images.length)});
  
  let cartCount = 0;
  function addToCart(){
    cartCount += 1;
    const badge = document.getElementById('cartBadge');
    badge.textContent = cartCount;
    badge.classList.add('show');

    // Affiche "Passer la commande" SOUS le bouton "Ajouter au panier"
    document.getElementById('btnCheckout').classList.add('show');

    // Petit feedback visuel
    const add = document.getElementById('btnAdd');
    add.animate(
      [{ transform:'scale(1)' },{ transform:'scale(.97)' },{ transform:'scale(1)' }],
      { duration: 220 }
    );
  }
</script>
</body>
</html>