Melimel Home

#mm-product-page{--char:#2c2925;--clay:#c8a882;--sand:#f5f0ea;--warm:#fdfaf6;--accent:#8b6b4a;--mid:#6b5f52;--border:#e8e0d5;--muted:#a89a88} #mm-product-page *{box-sizing:border-box} #mm-product-page,#mm-product-page p,#mm-product-page span,#mm-product-page div,#mm-product-page button,#mm-product-page a{font-family:'Jost',sans-serif!important} #mm-product-page{font-weight:300;color:var(--char);background:var(--warm);line-height:1.6} #mm-product-page img{max-width:100%;display:block} #mm-product-page a{color:inherit} #mm-product-page svg{flex-shrink:0} #mm-product-page .btn-cart svg,#mm-product-page .qty-btn svg{width:18px!important;height:18px!important} #mm-product-page .payment-row svg{width:16px!important;height:16px!important} #mm-product-page .delivery-info svg{width:20px!important;height:20px!important} #mm-product-page .gallery-zoom svg{width:18px!important;height:18px!important} #mm-product-page .conseil-btn svg{width:14px!important;height:14px!important} #mm-product-page .rupture-encart svg{width:18px!important;height:18px!important} #mm-product-page .bc{font-size:.7rem;color:var(--muted);letter-spacing:.02em;margin:0 0 18px} #mm-product-page .bc a{text-decoration:none} #mm-product-page .bc a:hover{color:var(--accent)} #mm-product-page .bc-sep{margin:0 4px;color:var(--border)} #mm-product-page .product-layout{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:start;margin-bottom:48px} #mm-product-page .gallery{position:relative} #mm-product-page .gallery-main{background:var(--sand);border-radius:6px;aspect-ratio:1/1;overflow:hidden;position:relative} #mm-product-page .gallery-main img{width:100%;height:100%;object-fit:cover} #mm-product-page .gallery-badge{position:absolute;top:12px;left:12px;background:#fff;color:var(--accent);font-size:.62rem;padding:4px 10px;border-radius:20px;letter-spacing:.05em;z-index:2} #mm-product-page .gallery-badge.promo{background:var(--char);color:var(--clay)} #mm-product-page .gallery-zoom{position:absolute;bottom:12px;right:12px;width:36px;height:36px;border-radius:50%;background:#fff;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(44,41,37,.12)} #mm-product-page .gallery-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;flex-wrap:nowrap!important} #mm-product-page .gallery-thumbs::-webkit-scrollbar{display:none} #mm-product-page .thumb{width:calc((100% - 40px)/6);aspect-ratio:1/1;flex-shrink:0!important;background:var(--sand);border-radius:5px;border:1px solid transparent;cursor:pointer;overflow:hidden} #mm-product-page .thumb img{width:100%;height:100%;object-fit:cover} #mm-product-page .thumb.active{border-color:var(--clay)} #mm-product-page .product-brand{display:block;font-size:.66rem;color:var(--accent);text-transform:uppercase;letter-spacing:.14em;margin-bottom:8px} #mm-product-page .product-title{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:400!important;font-size:1.85rem!important;line-height:1.15!important;margin-bottom:8px;color:var(--char)!important} #mm-product-page .product-ref{font-size:.68rem;color:var(--muted);margin-bottom:12px} #mm-product-page .product-rating{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:.76rem;color:var(--mid)} #mm-product-page .stars{display:inline-flex;gap:1px;color:var(--clay);letter-spacing:1px} #mm-product-page .star{font-size:.9rem} #mm-product-page .star::before{content:"★"} #mm-product-page .star.empty{color:var(--border)} #mm-product-page .rating-text{color:var(--mid)} #mm-product-page .rating-link{font-size:.76rem;text-decoration:underline;text-decoration-color:var(--border);text-underline-offset:2px} #mm-product-page .rating-link:hover{color:var(--accent)} #mm-product-page .product-price{display:flex;align-items:baseline;gap:8px;margin:2px 0 4px;flex-wrap:wrap} #mm-product-page .price-current{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:300!important;font-size:2.15rem!important;color:var(--char)!important} #mm-product-page .price-current .woocommerce-Price-amount{font-family:inherit;font-size:inherit} #mm-product-page .price-old{font-family:'Cormorant Garamond',serif;font-size:1.15rem;color:var(--muted);text-decoration:line-through} #mm-product-page .price-save{font-size:.68rem;font-weight:600;color:#b33a2e;align-self:center} #mm-product-page .price-ttc{font-size:.68rem;color:var(--muted);margin-bottom:18px} #mm-product-page .mm-alma-select{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px} #mm-product-page .mm-alma-pills{display:flex;gap:6px} #mm-product-page .mm-alma-pill{border:1px solid var(--border)!important;background:#fff!important;border-radius:20px!important;padding:5px 13px;font-size:.72rem;font-family:'Jost',sans-serif!important;color:var(--mid)!important;cursor:pointer;transition:all .15s} #mm-product-page .mm-alma-pill:hover{border-color:var(--accent)!important;color:var(--char)!important} #mm-product-page .mm-alma-pill.active{background:var(--char)!important;border-color:var(--char)!important;color:var(--warm)!important} #mm-product-page .mm-alma-detail{font-size:.72rem;color:var(--mid);margin-left:auto;text-align:right;white-space:nowrap} #mm-product-page .buy-section{margin-bottom:16px} #mm-product-page .mm-cart-form{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch;border:1.5px solid var(--accent);border-radius:10px;padding:8px;background:#fff} #mm-product-page .qty-row{display:flex;align-items:center} #mm-product-page .qty-label{display:none} #mm-product-page .qty-ctrl{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#fff;height:46px} #mm-product-page .qty-btn{border:none;background:none;width:38px;height:100%;font-size:1.1rem;cursor:pointer;color:var(--char)} #mm-product-page .qty-num{width:36px;height:100%;text-align:center;border:none;font-size:.95rem;font-family:'Jost',sans-serif;-moz-appearance:textfield} #mm-product-page .qty-num::-webkit-outer-spin-button,#mm-product-page .qty-num::-webkit-inner-spin-button{-webkit-appearance:none;margin:0} #mm-product-page .btn-cart{flex:1;min-width:160px;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--char);color:var(--warm);border:none;border-radius:8px;font-size:.85rem;letter-spacing:.03em;cursor:pointer;font-family:'Jost',sans-serif;font-weight:400;transition:background .15s} #mm-product-page .btn-cart:hover{background:#1c1a17} #mm-product-page .btn-cart:disabled{cursor:default} #mm-product-page .mm-stock-delivery{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px;font-size:.72rem} #mm-product-page .delivery-date{color:var(--mid)} #mm-product-page .delivery-date strong{color:var(--char);font-weight:500} #mm-product-page .delivery-note{display:flex;gap:8px;align-items:flex-start;font-size:.7rem;color:var(--mid);margin:14px 0 16px} #mm-product-page .delivery-note svg{width:18px;height:18px;flex-shrink:0} #mm-product-page .mm-reassurance{display:flex;gap:14px;flex-wrap:wrap;padding:12px 0 16px;border-bottom:1px solid var(--border);margin-bottom:16px;font-size:.66rem;color:var(--mid)} #mm-product-page .mm-reassurance>span{display:flex;align-items:center;gap:5px} #mm-product-page .stock-badge{display:inline-flex;align-items:center;gap:5px;font-size:.66rem;color:var(--mid)} #mm-product-page .stock-dot{width:9px;height:9px;border-radius:50%;background:#4a7c59;display:inline-block;box-shadow:0 0 0 3px rgba(74,124,89,.18)} #mm-product-page .stock-badge.backorder-stock .stock-dot{background:#d9901f!important;box-shadow:0 0 0 3px rgba(217,144,31,.20)!important} #mm-product-page .stock-badge.out-stock .stock-dot{background:#b33a2e!important;box-shadow:0 0 0 3px rgba(179,58,46,.18)!important} #mm-product-page .rupture-encart{background:var(--sand);border-radius:10px;padding:16px 18px;margin-bottom:16px} #mm-product-page .rupture-title{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.05rem;margin-bottom:6px} #mm-product-page .rupture-desc{font-size:.76rem;color:var(--mid);margin-bottom:10px} #mm-product-page .mm-degressif-wrap{max-width:none!important} #mm-product-page .mini-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px} #mm-product-page .alma-new-block,#mm-product-page .price-align{background:var(--sand);border-radius:8px;padding:9px 12px;font-size:.7rem;color:var(--char);flex:1;min-width:200px;display:flex;align-items:center;gap:8px} #mm-product-page .alma-new-badge{display:none} #mm-product-page .alma-new-icon svg{width:18px;height:18px} #mm-product-page .alma-new-title{font-weight:400} #mm-product-page .alma-new-title em{font-style:normal;font-weight:500;color:var(--accent)} #mm-product-page .alma-new-desc{display:block;font-size:.66rem;color:var(--mid);margin-top:1px} #mm-product-page .alma-new-desc strong{font-weight:500} #mm-product-page .price-align svg{width:18px;height:18px} #mm-product-page .price-align a{color:var(--accent)!important;text-decoration:underline;text-decoration-color:var(--clay);text-underline-offset:2px} #mm-product-page .price-align a:hover{color:var(--accent)} #mm-product-page .payment-options{border-top:1px solid var(--border);padding-top:12px;font-size:.66rem;color:var(--mid);margin-bottom:16px} #mm-product-page .payment-title{color:var(--accent);text-transform:uppercase;letter-spacing:.08em;font-size:.58rem;margin-bottom:5px} #mm-product-page .payment-line{font-size:.66rem;color:var(--mid)} #mm-product-page .delivery-info{display:flex;gap:8px;align-items:flex-start;font-size:.68rem;color:var(--mid);background:none;padding:0;margin-bottom:16px} #mm-product-page .delivery-info strong{font-weight:500;color:var(--char)} #mm-product-page .tabs-section{background:#fff;border:1px solid var(--border);border-radius:10px;padding:24px 28px;margin-bottom:44px} #mm-product-page .tabs-nav{display:flex;gap:22px;flex-wrap:nowrap!important;margin-bottom:18px;border-bottom:1px solid var(--border);padding-bottom:0;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none} #mm-product-page .tabs-nav::-webkit-scrollbar{display:none} #mm-product-page .tab-btn{background:none;border:none;font-family:'Jost',sans-serif!important;font-size:.78rem!important;font-weight:400;letter-spacing:.16em;text-transform:uppercase;color:var(--mid);cursor:pointer;padding-bottom:12px;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;flex-shrink:0} #mm-product-page .tab-btn.active{color:var(--char);font-weight:500;border-color:var(--clay)} #mm-product-page .tab-panel{display:none;font-size:.84rem;color:var(--mid);line-height:1.7} #mm-product-page .tab-panel.active{display:block} #mm-product-page .desc-p{color:var(--mid)} #mm-product-page .desc-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px} #mm-product-page .desc-h2{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:400!important;font-size:1.2rem!important;margin-bottom:4px;color:var(--char)} #mm-product-page .desc-h2 em{font-style:italic;color:var(--accent)} #mm-product-page .specs-group-title{font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:var(--accent);margin-bottom:10px;font-weight:500} #mm-product-page .spec-row{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--border);font-size:.8rem} #mm-product-page .spec-row:last-child{border-bottom:none} #mm-product-page .spec-label{color:var(--muted)} #mm-product-page .spec-val{color:var(--char);text-align:right} #mm-product-page .faq-list{max-width:760px} #mm-product-page .faq-item{border-bottom:1px solid var(--border)} #mm-product-page .faq-item:last-child{border-bottom:none} #mm-product-page .faq-q{width:100%;text-align:left;background:none;border:none;padding:14px 0;font-family:'Jost',sans-serif;font-size:.84rem;color:var(--char);cursor:pointer;font-weight:400} #mm-product-page .faq-a{display:none;padding:0 0 14px;font-size:.8rem;color:var(--mid)} #mm-product-page .faq-item.open .faq-a{display:block} #mm-product-page .faq-item.open .faq-q{color:var(--accent)} #mm-product-page .conseil-section{background:var(--char);color:var(--sand);padding:32px 4vw;margin:0 0 44px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap} #mm-product-page .conseil-text h3{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:400!important;font-size:1.45rem!important;margin-bottom:6px;color:#ffffff!important} #mm-product-page .conseil-text h3 em{font-style:italic;color:var(--clay)} #mm-product-page .conseil-text p{font-size:.76rem;color:rgba(253,250,246,.65)} #mm-product-page .conseil-btns{display:flex;gap:10px;flex-wrap:wrap} #mm-product-page .conseil-btn{display:flex;align-items:center;gap:7px;padding:9px 16px;border-radius:8px;font-size:.72rem;text-decoration:none;letter-spacing:.06em;text-transform:uppercase;font-weight:500} #mm-product-page .conseil-btn-chat{background:var(--clay);color:var(--char);border:1px solid var(--clay)} #mm-product-page .conseil-btn-chat:hover{background:var(--accent);border-color:var(--accent);color:var(--warm)} #mm-product-page .conseil-btn-mail{background:transparent;color:var(--sand);border:1px solid rgba(200,168,130,.4)} #mm-product-page .conseil-btn-mail:hover{border-color:var(--clay)} #mm-product-page .related-section{margin-top:0} #mm-product-page .related-h2{font-family:'Cormorant Garamond',Georgia,serif!important;font-weight:400!important;font-size:1.15rem!important;margin-bottom:14px} #mm-product-page .related-h2 em{font-style:italic;color:var(--accent)} #mm-product-page .related-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px} #mm-product-page .related-card{text-decoration:none;color:inherit} #mm-product-page .related-img{aspect-ratio:1/1;background:var(--sand);border-radius:6px;overflow:hidden} #mm-product-page .related-img img{width:100%;height:100%;object-fit:cover} #mm-product-page .related-info{padding-top:6px} #mm-product-page .related-brand{display:block;font-size:.6rem;color:var(--accent);text-transform:uppercase;letter-spacing:.08em;margin-bottom:2px} #mm-product-page .related-name{display:block;font-size:.72rem;color:var(--char)} #mm-product-page .related-price{display:block;font-family:'Cormorant Garamond',serif;color:var(--accent);font-size:.82rem;margin-top:2px} #mm-product-page .mm-hide-mobile{display:block} #mm-sticky-buy{position:fixed;left:0;right:0;bottom:0;z-index:9990;background:#ffffff;border-top:1px solid #e8e0d5;box-shadow:0 -1px 10px rgba(44,41,37,.10);padding:6px 12px;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px));display:none;align-items:center;gap:12px;transform:translateY(110%);transition:transform .22s ease} #mm-sticky-buy.mm-sticky-on{transform:translateY(0)} #mm-sticky-buy .mm-sticky-info{flex:1;min-width:0} #mm-sticky-buy .mm-sticky-price{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:1.15rem;color:#2c2925;line-height:1.1;display:block} #mm-sticky-buy .mm-sticky-sub{font-size:.6rem;color:#a89a88;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} #mm-sticky-buy .mm-sticky-qty{display:inline-flex;align-items:center;border:1px solid #e8e0d5;border-radius:7px;overflow:hidden;background:#fff;flex-shrink:0} #mm-sticky-buy .mm-sticky-qty button{border:none;background:none;width:26px;height:34px;font-size:.95rem;color:#2c2925;cursor:pointer;font-family:'Jost',sans-serif;padding:0} #mm-sticky-buy .mm-sticky-qty span{min-width:20px;text-align:center;font-size:.8rem;color:#2c2925;font-family:'Jost',sans-serif} #mm-sticky-buy .mm-sticky-btn{flex-shrink:0;background:#2c2925;color:#fdfaf6;border:none;border-radius:8px;font-family:'Jost',sans-serif;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;padding:10px 14px;cursor:pointer;white-space:nowrap} #mm-sticky-buy .mm-sticky-btn[disabled]{background:#f5f0ea;color:#8b6b4a;border:1px solid #c8a882;cursor:default} @media(max-width:1024px){#mm-sticky-buy{display:flex}body.mm-has-sticky{padding-bottom:70px} body.mm-sticky-visible #tidio-chat iframe,body.mm-sticky-visible #tidio-chat{bottom:var(--mm-sticky-h,78px)!important;transition:bottom .22s ease} } #mm-product-page .mm-gband{max-width:1400px;margin:0 auto 44px;border:1px solid var(--border);border-radius:10px;display:grid;grid-template-columns:repeat(4,1fr);background:#fff} #mm-product-page .mm-gband-item{padding:22px 14px;text-align:center;border-right:1px solid var(--border)} #mm-product-page .mm-gband-item:last-child{border-right:none} #mm-product-page .mm-gband-item svg{width:24px;height:24px;stroke:var(--accent);fill:none;stroke-width:1.5;margin:0 auto 12px} #mm-product-page .mm-gband-label{display:block;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:500;color:var(--char);margin-bottom:6px} #mm-product-page .mm-gband-sub{display:block;font-size:.7rem;color:var(--mid);line-height:1.4} @media(max-width:920px){ #mm-product-page .mm-gband{grid-template-columns:repeat(2,1fr)} #mm-product-page .mm-gband-item:nth-child(2n){border-right:none} #mm-product-page .mm-gband-item:nth-child(n+3){border-top:1px solid var(--border)} } @media(max-width:560px){ #mm-product-page .mm-gband{grid-template-columns:repeat(2,1fr)} #mm-product-page .mm-gband-item:nth-child(2n){border-right:none} #mm-product-page .mm-gband-item:nth-child(n+3){border-top:1px solid var(--border)} }
Thai Natura · Revendeur officiel Melimel Home

Table basse verre trempé ambre martelé Thai Natura 120 cm

Réf. 75620-02-TN

Un plateau de verre trempé ambre à la surface martelée, posé sur un piètement galbé du même verre : cette table basse Thai Natura de 120 cm capte la lumière comme une pièce de verrier. Lire la suite
1319,00 €

Prix TTC · Livraison offerte dès 100€ en France

En stock
Livraison estimée entre le 03/12/2026 et le 07/12/2026
Quantité
Livraison sur rendez-vous avec le transporteur. Absent pendant cette période ? Indiquez votre date souhaitée en commentaire lors de la commande.
Payez en 10× avec Alma
Jusqu'à 4 000 €
Vous avez vu moins cher ailleurs ? Contactez-nous, nous nous alignons sur les tarifs frais de port inclus des sites basés en France.

Moyens de paiement acceptés

Carte bancaire · Paiement sécurisé SSL · PayPal · Virement bancaire · Alma 2×, 3×, 4× ou 10×

Livraison Offerte dès 100€
France & Europe
Retours 14 jours pour
changer d'avis
Authenticité Revendeur
officiel agréé
Paiement sécurisé Transactions
chiffrées SSL

Cette table basse Thai Natura est faite de verre et de lumière. Son plateau rectangulaire aux angles arrondis et son piètement galbé sont en verre trempé couleur ambre, à la surface martelée qui ondule comme l’eau d’un bassin. Le pied, formé de deux voiles de verre courbés et décalés, laisse passer la lumière et projette sur le sol des reflets cuivrés qui changent au fil de la journée.

Elle mesure 120 cm de long, 70 cm de large et 38 cm de haut, pour 35 kg. Le verre trempé lui assure une grande stabilité et une résistance bien supérieure à celle d’un verre ordinaire, un vrai atout dans un salon familial. Sa hauteur de 38 cm s’accorde aux canapés bas et profonds, et sa transparence évite l’effet de masse, même dans une petite pièce.

Sur le plateau, quelques beaux livres, une bougie et un petit bouquet suffisent ; le verre met en valeur tout ce qu’on y pose et laisse voir le tapis en dessous. Choisissez un tapis aux tons chauds, laine écrue, rouille ou caramel, pour que l’ambre prenne toute sa profondeur. Devant une baie vitrée, elle devient un véritable jeu de lumière. Le soir, une bougie posée sur le verre ambré fait naître des reflets dorés jusque sur le sol.

Nettoyez le verre avec une microfibre légèrement humide ou un produit pour vitres appliqué sur le chiffon, puis séchez pour éviter les traces ; les creux du martelage se dépoussièrent d’un coup de pinceau souple. Des patins en feutre sous les objets évitent les micro-rayures ; soulevez-les plutôt que de les pousser.

Elle s’accorde aux salons chaleureux et éclectiques : canapé en velours terracotta ou vert, céramiques émaillées, bois foncé. Le soir, une lampe à la lumière chaude posée à côté fait briller le verre d’une lueur dorée. Découvrez notre gamme de tables basses et l’ensemble de la collection Thai Natura.

Caractéristiques techniques

DimensionsL. 120 × P. 70 × H. 38 cm
Poids35 kg
MatériauxVerre trempé
FinitionVerre couleur ambre, surface martelée
ColorisAmbre
PlateauVerre trempé martelé aux angles arrondis
PiètementPiètement galbé en verre trempé

Livraison & Retours

Livraison offerteDès 100€ en France (Corse et Monaco inclus)
Livraison EuropePossible sur devis — nous contacter
ModeLivraison sur rendez-vous avec le transporteur
Retours14 jours pour changer d'avis
Récapitulatif
France métro.Offerte dès 100€
Corse / MonacoOfferte dès 100€
EuropeSur devis
Retours14 jours

Elle mesure 120 cm de long, 70 cm de large et 38 cm de haut, pour 35 kg.

Elle est tout en verre trempé ambré, plateau et piètement, avec une surface martelée.

Une microfibre à peine humide suivie d'un séchage, et un pinceau souple dans les creux du martelage.

Une question sur ce produit ?

Notre équipe est disponible 7j/7 pour vous conseiller. Réponse instantanée sur le chat ou par mail.

(function(){ var root = document.getElementById('mm-product-page'); if(!root) return; (function(){ var wrap = root.querySelector('#mm-alma-select'); if(!wrap) return; var detail = wrap.querySelector('#mm-alma-detail'); function fmt(n){ return n.toLocaleString('fr-FR', {minimumFractionDigits:2, maximumFractionDigits:2}); } // Prix courant reel : variation choisie > prix affiche a l'ecran > valeur Alma initiale function currentPrice(){ var sel = root.querySelector('.mm-var-select'); if(sel && sel.selectedIndex > -1){ var o = sel.options[sel.selectedIndex]; var dp = o && o.getAttribute('data-price'); if(dp && !isNaN(parseFloat(dp))) return parseFloat(dp); } var dyn = document.getElementById('mm-dyn-prix'); var src = dyn || root.querySelector('.price-current'); if(src){ var clone = src.cloneNode(true); clone.querySelectorAll('script,style,del,.price-old').forEach(function(n){ n.remove(); }); var t = clone.textContent.replace(/\u00a0/g,'').trim(); var m = t.match(/(\d{1,3}(?:[ .\u202f\u00a0]\d{3})+(?:,\d{1,2})?|\d+(?:[.,]\d{1,2})?)/); if(m){ var v = parseFloat(m[1].replace(/[ .\u202f\u00a0](?=\d{3}\b)/g,'').replace(',', '.')); if(!isNaN(v) && v > 0) return v; } } if(typeof alma_widget_settings !== 'undefined') return parseFloat(alma_widget_settings.price)/100; return 0; } function render(n){ if(typeof alma_widget_settings === 'undefined'){ return; } var price = currentPrice(); if(!price){ detail.textContent = ''; return; } var plans = alma_widget_settings.fee_plan_list || []; var plan = plans.find(function(p){ return p.installmentsCount == n; }); if(plan && price >= (plan.minAmount/100) && price 30){ clearInterval(iv); } }, 150); })(); root.querySelectorAll('.tab-btn').forEach(function(btn){ btn.addEventListener('click', function(){ var tab = this.dataset.tab; root.querySelectorAll('.tab-btn').forEach(function(b){ b.classList.remove('active'); }); root.querySelectorAll('.tab-panel').forEach(function(p){ p.classList.remove('active'); }); this.classList.add('active'); var panel = document.getElementById('tab-' + tab); if(panel) panel.classList.add('active'); }); }); root.querySelectorAll('.faq-q').forEach(function(btn){ btn.addEventListener('click', function(){ var item = this.closest('.faq-item'); var isOpen = item.classList.contains('open'); root.querySelectorAll('.faq-item').forEach(function(i){ i.classList.remove('open'); }); if(!isOpen) item.classList.add('open'); }); }); // Barre panier collante (mobile/tablette) : miroir du vrai bouton, aucune logique panier dupliquee (function(){ var bar = document.getElementById('mm-sticky-buy'); var realBtn = root.querySelector('.btn-cart'); var realQty = document.getElementById('mm-qty'); if(!bar || !realBtn) return; var sPrice = document.getElementById('mm-sticky-price'); var sSub = document.getElementById('mm-sticky-sub'); var sBtn = document.getElementById('mm-sticky-btn'); var sNum = document.getElementById('mm-sticky-num'); var buySection = root.querySelector('.buy-section'); document.body.classList.add('mm-has-sticky'); // hauteur reelle mesuree : le chat se decale toujours juste au-dessus, quel que soit le mobile function setStickyHeight(){ var h = Math.ceil(bar.getBoundingClientRect().height) + 16; document.documentElement.style.setProperty('--mm-sticky-h', h + 'px'); document.body.style.paddingBottom = (h + 4) + 'px'; } window.addEventListener('resize', function(){ setTimeout(setStickyHeight, 100); }, {passive:true}); window.addEventListener('orientationchange', function(){ setTimeout(setStickyHeight, 250); }); setTimeout(setStickyHeight, 300); function readPrice(){ var dyn = document.getElementById('mm-dyn-prix'); var src = dyn || root.querySelector('.price-current'); if(!src) return ''; var clone = src.cloneNode(true); clone.querySelectorAll('script,style,del,.price-old').forEach(function(n){ n.remove(); }); return clone.textContent.replace(/\s+/g,' ').trim(); } function bestTier(){ var rows = root.querySelectorAll('.mm-degressif-wrap [style*="grid-template-columns"]'); var deg = root.querySelector('.mm-degressif-wrap'); if(!deg) return ''; var txt = deg.textContent.replace(/\s+/g,' '); var m = txt.match(/6 et \+\s*([0-9\u00a0 .,]+\u20ac)/); if(m) return 'dès ' + m[1].trim() + ' par 6'; return ''; } function sync(){ sPrice.textContent = readPrice(); var sub = bestTier(); if(!sub){ var v = root.querySelector('.mm-var-select'); if(v && !v.value) sub = 'Choisissez une option'; } sSub.textContent = sub; if(sNum && realQty) sNum.textContent = realQty.value; sBtn.disabled = realBtn.disabled; sBtn.textContent = realBtn.disabled ? 'Choisir une option' : 'Ajouter au panier'; } function bumpQty(delta){ if(typeof mmQty === 'function'){ mmQty(delta); } else if(realQty){ realQty.value = Math.max(1,(parseInt(realQty.value)||1)+delta); } if(realQty) realQty.dispatchEvent(new Event('change', {bubbles:true})); setTimeout(sync, 90); } document.getElementById('mm-sticky-minus').addEventListener('click', function(){ bumpQty(-1); }); document.getElementById('mm-sticky-plus').addEventListener('click', function(){ bumpQty(1); }); sBtn.addEventListener('click', function(){ if(realBtn.disabled){ if(buySection) buySection.scrollIntoView({behavior:'smooth', block:'center'}); return; } realBtn.click(); }); // n'apparait que lorsque le vrai bouton n'est plus visible if(buySection){ var lastState = false; function evalBar(){ var r = buySection.getBoundingClientRect(); // visible seulement si le bloc d'achat est deja passe au-dessus de l'ecran var show = r.bottom < 0; if(show !== lastState){ lastState = show; if(show){ bar.classList.add('mm-sticky-on'); bar.setAttribute('aria-hidden','false'); document.body.classList.add('mm-sticky-visible'); sync(); setStickyHeight(); } else { bar.classList.remove('mm-sticky-on'); bar.setAttribute('aria-hidden','true'); document.body.classList.remove('mm-sticky-visible'); } } } var ticking = false; window.addEventListener('scroll', function(){ if(!ticking){ ticking = true; window.requestAnimationFrame(function(){ evalBar(); ticking = false; }); } }, {passive:true}); window.addEventListener('resize', evalBar, {passive:true}); evalBar(); } if(window.MutationObserver){ var pw = root.querySelector('.price-current'); if(pw) new MutationObserver(sync).observe(pw, {childList:true, subtree:true, characterData:true}); } var vs = root.querySelector('.mm-var-select'); if(vs) vs.addEventListener('change', function(){ setTimeout(sync, 80); }); root.querySelectorAll('.qty-btn').forEach(function(b){ b.addEventListener('click', function(){ setTimeout(sync, 80); }); }); if(realQty){ realQty.addEventListener('input', function(){ setTimeout(sync, 80); }); } sync(); })(); var ratingLink = root.querySelector('.rating-link'); if(ratingLink){ ratingLink.addEventListener('click', function(e){ e.preventDefault(); window.open('https://www.societe-des-avis-garantis.fr/melimel-home/', '_blank'); }); } })();
Panier