/* Cool'In - tunnel de vente. Couleurs de la refonte. */
:root {
  --tn-navy: #1f2456; --tn-fox: #e2381b; --tn-fox-dark: #b92a11; --tn-paper: #fffaf5; --tn-peach: #f8bb8e; --tn-peach-soft: #fde5d3;
  --tn-vert: #2f6b3f; --tn-ligne: rgba(31, 36, 86, .14);
  --tn-display: "Bricolage Grotesque", system-ui, sans-serif; --tn-body: "Outfit", system-ui, sans-serif;
}

/* ---------- Fenêtre « Ajouté au panier » ---------- */
html.tn-bloque { overflow: hidden; }
body > .tn-ajout { position: fixed; inset: 0; z-index: 99990; overflow: hidden; visibility: hidden; transition: visibility 0s .3s; font: 400 16px/1.5 var(--tn-body); color: var(--tn-navy); text-align: left; }
body > .tn-ajout[hidden] { display: none; }
body > .tn-ajout.ouverte { visibility: visible; transition: none; }
.tn-ajout .tn-fond { position: absolute; inset: 0; background: rgba(20, 22, 50, .5); opacity: 0; transition: opacity .3s; }
.tn-ajout.ouverte .tn-fond { opacity: 1; }
.tn-ajout .tn-boite { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; padding: 26px 28px 28px; background: var(--tn-paper); color: var(--tn-navy); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .32s cubic-bezier(.2, .7, .2, 1); outline: 0; box-sizing: border-box; }
.tn-ajout.ouverte .tn-boite { transform: none; }
.tn-ajout .tn-boite > * { flex: none; }
.tn-ajout p { margin: 0; }
.tn-ajout header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 18px; border-bottom: 1px solid var(--tn-ligne); }
.tn-ajout header p { display: flex; align-items: center; gap: 10px; font: 700 19px/1.2 var(--tn-display); }
.tn-ajout .tn-coche { flex: none; position: relative; width: 24px; height: 24px; border-radius: 50%; background: var(--tn-vert); }
.tn-ajout .tn-coche::after { content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
body .tn-ajout .tn-fermer { width: 44px; height: 44px; min-height: 0; margin: -8px -12px -8px 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--tn-navy); font: 400 30px/1 var(--tn-body); cursor: pointer; box-shadow: none; }
.tn-ajout .tn-article { display: flex; align-items: center; gap: 16px; padding: 20px 0; min-height: 76px; }
.tn-ajout .tn-article img { flex: none; width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--tn-peach-soft); }
.tn-ajout .tn-article > div { flex: 1; min-width: 0; }
.tn-ajout .tn-nom { font: 700 17px/1.25 var(--tn-display); }
.tn-ajout .tn-detail { font-size: 14px; opacity: .75; }
.tn-ajout .tn-prix { flex: none; font-weight: 600; white-space: nowrap; }
.tn-ajout .tn-infos { min-height: 96px; padding-top: 16px; border-top: 1px solid var(--tn-ligne); font-size: 15px; line-height: 1.5; }
.tn-ajout .tn-total { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 16px; }
.tn-ajout .tn-total b { white-space: nowrap; }
.tn-jauge { height: 6px; margin-top: 8px; border-radius: 6px; background: var(--tn-peach-soft); overflow: hidden; }
.tn-jauge i { display: block; height: 100%; border-radius: 6px; background: var(--tn-fox); }
.tn-ajout .tn-choix { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.tn-btn-plein, .tn-btn-contour, body .tn-ajout .tn-btn-plein, body .tn-ajout .tn-btn-contour {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; box-sizing: border-box;
  font: 600 16px/1.2 var(--tn-body); text-decoration: none; text-transform: none; letter-spacing: 0; text-align: center;
  transition-property: background-color, color, border-color; transition-duration: .2s;
}
.tn-btn-plein, body .tn-ajout .tn-btn-plein { background: var(--tn-fox-dark); color: #fff; border: 2px solid var(--tn-fox-dark); }
.tn-btn-plein:hover, body .tn-ajout .tn-btn-plein:hover { background: var(--tn-navy); border-color: var(--tn-navy); color: #fff; }
.tn-btn-contour, body .tn-ajout .tn-btn-contour { background: transparent; color: var(--tn-navy); border: 2px solid var(--tn-navy); }
.tn-btn-contour:hover, body .tn-ajout .tn-btn-contour:hover { background: var(--tn-navy); color: var(--tn-paper); }
body .tn-ajout .tn-suite { min-height: 44px; padding: 0; border: 0; background: none; color: var(--tn-navy); font: 500 15px/1.2 var(--tn-body); text-decoration: underline; text-underline-offset: 3px; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; }
.tn-ajout :is(a, button):focus-visible, .tn-panier-page :is(a, button, input, summary):focus-visible, .tn-barre button:focus-visible { outline: 3px solid var(--tn-fox); outline-offset: 2px; }
@media (max-width: 760px) {
  .tn-ajout .tn-boite { top: auto; left: 0; width: 100%; max-height: 92vh; padding: 18px 20px calc(16px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .tn-ajout .tn-article { padding: 14px 0; }
  .tn-ajout .tn-infos { min-height: 84px; padding-top: 12px; }
  .tn-ajout .tn-choix { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .tn-ajout, .tn-ajout * { transition: none !important; } }

/* ---------- Fiches : « Commander maintenant », réassurance, barre d'achat ---------- */
.cv1:not(#_) form.buy .tn-direct { margin-left: .25rem; }
@media (max-width: 560px) { .cv1:not(#_) form.buy .tn-direct { flex-basis: 100%; margin-left: 0; } }
:is(.cv1:not(#_), body) .tn-rassure { display: grid; gap: .35rem; margin: 1.1rem 0 .6rem; padding: 0; list-style: none; font: 400 .95rem/1.4 var(--tn-body); color: var(--tn-navy); }
:is(.cv1:not(#_), body) .tn-rassure li { position: relative; padding-left: 1.5rem; }
:is(.cv1:not(#_), body) .tn-rassure li::before { content: ""; position: absolute; left: .15rem; top: .4em; width: .45rem; height: .75rem; border: solid var(--tn-vert); border-width: 0 2px 2px 0; transform: rotate(45deg); }
:is(.cv1:not(#_), body) .tn-logos { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
:is(.cv1:not(#_), body) .tn-logos img { width: 38px; height: 24px; object-fit: contain; background: #fff; border: 1px solid var(--tn-ligne); border-radius: 4px; padding: 2px; box-sizing: border-box; }
form.cart .tn-direct-wd { margin-left: 10px; background: var(--tn-fox-dark) !important; color: #fff !important; border-radius: 999px; }
.tn-barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--tn-paper); color: var(--tn-navy); border-top: 1px solid var(--tn-ligne); box-shadow: 0 -6px 20px rgba(31, 36, 86, .12); transform: translateY(110%); transition: transform .25s; font-family: var(--tn-body); }
.tn-barre p { margin: 0; display: grid; line-height: 1.25; min-width: 0; }
.tn-barre b { font: 700 16px/1.2 var(--tn-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-barre span { font-size: 14px; }
.tn-barre button { flex: none; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--tn-navy); color: #fff; font: 600 15px/1 var(--tn-body); cursor: pointer; }
@media (max-width: 760px) {
  .tn-barre { display: flex; }
  .tn-barre.visible { transform: none; }
  html.tn-barre-visible .cv1:not(#_) .to-top { bottom: 84px; }
}

/* ---------- Panier ---------- */
body.tn-panier .wd-page-title, body.tn-panier .woocommerce-notices-wrapper:not(.tn-notices *) { display: none; }
body.tn-panier .main-page-wrapper { background: var(--tn-paper); }
body.tn-panier .wd-content-layout { padding-top: 28px; padding-bottom: 60px; }
.tn-panier-page { font: 400 16px/1.55 var(--tn-body); color: var(--tn-navy); }
.tn-panier-page p { margin: 0; }
.tn-panier-page .tn-titre { margin: 0 0 18px; font: 800 clamp(2.2rem, 5vw, 3.2rem)/1 var(--tn-display); font-stretch: 80%; color: var(--tn-navy); letter-spacing: -.01em; }
.tn-panier-page .tn-notices .woocommerce-message, .tn-panier-page .tn-notices .woocommerce-error, .tn-panier-page .tn-notices .woocommerce-info { margin: 0 0 18px; border-radius: 14px; }
.tn-grille { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.tn-articles, .tn-recap { background: #fff; border-radius: 22px; padding: 8px 24px; box-shadow: 0 1px 0 var(--tn-ligne); }
.tn-recap { position: sticky; top: 96px; padding: 22px 24px 24px; }
.tn-lignes { margin: 0; padding: 0; list-style: none; }
.tn-ligne { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--tn-ligne); }
.tn-ligne:last-child { border-bottom: 0; }
.tn-ligne-img img { display: block; width: 88px; height: 88px; border-radius: 16px; object-fit: cover; background: var(--tn-peach-soft); }
body .tn-ligne-nom { font: 700 18px/1.2 var(--tn-display); color: var(--tn-navy); text-decoration: none; }
.tn-ligne-detail { font-size: 14px; opacity: .8; margin: 2px 0 10px !important; }
.tn-ligne-detail .amount { white-space: nowrap; }
.tn-ligne-txt { display: flex; flex-direction: column; align-items: flex-start; }
.tn-qte { display: inline-flex; align-items: center; border: 1.5px solid var(--tn-ligne); border-radius: 999px; overflow: hidden; background: #fff; }
body .tn-qte button { width: 44px; height: 44px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--tn-navy); font: 500 20px/1 var(--tn-body); cursor: pointer; box-shadow: none; }
body .tn-qte button:hover { background: var(--tn-peach-soft); }
body .tn-qte input { width: 44px; height: 44px; min-height: 0; padding: 0; border: 0; background: none; color: var(--tn-navy); font: 600 16px/1 var(--tn-body); text-align: center; -moz-appearance: textfield; box-shadow: none; }
.tn-qte input::-webkit-inner-spin-button, .tn-qte input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body .tn-retirer { margin-top: 8px; font-size: 14px; color: var(--tn-navy); text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
.tn-ligne-total { font-weight: 600; white-space: nowrap; align-self: start; padding-top: 2px; }
.tn-charge { opacity: .55; pointer-events: none; transition: opacity .2s; }
.tn-offerte { padding: 0 0 18px; margin-bottom: 16px; border-bottom: 1px solid var(--tn-ligne); font-size: 15px; }
.tn-livraison { margin: 0 0 14px; padding: 0; border: 0; }
body .tn-maj { display: none !important; }
body .tn-livraison legend { text-transform: none; letter-spacing: 0; color: var(--tn-navy);  padding: 0; margin-bottom: 8px; font: 700 18px/1.2 var(--tn-display); }
.tn-tarif { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; margin: 0 0 8px; border: 1.5px solid var(--tn-ligne); border-radius: 14px; cursor: pointer; font-size: 15px; }
.tn-tarif:has(input:checked) { border-color: var(--tn-navy); background: var(--tn-paper); }
.tn-tarif input { width: 18px; height: 18px; margin: 0; accent-color: var(--tn-fox-dark); flex: none; }
.tn-tarif-nom { flex: 1; }
.tn-tarif-prix { font-weight: 600; white-space: nowrap; }
.tn-note { font-size: 14px; opacity: .85; margin-top: 4px !important; }
.tn-totaux { margin: 0 0 16px; padding: 14px 0 0; border-top: 1px solid var(--tn-ligne); }
.tn-totaux > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.tn-totaux dt, .tn-totaux dd { margin: 0; font-weight: 400; }
.tn-totaux dd { text-align: right; white-space: nowrap; }
.tn-totaux .tn-code a { font-size: 13px; margin-left: 6px; color: var(--tn-navy); }
.tn-totaux .tn-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--tn-ligne); font-size: 19px; font-weight: 700; }
.tn-totaux .tn-total dd { white-space: normal; }
.tn-totaux .tn-total small, .tn-totaux .tn-total .includes_tax { display: block; font-size: 13px; font-weight: 400; opacity: .8; }
.tn-code-promo { margin: 0 0 16px; }
.tn-code-promo summary { cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.tn-code-promo form { display: flex; gap: 8px; margin-top: 10px; }
body .tn-code-promo input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1.5px solid var(--tn-ligne); border-radius: 12px; background: #fff; font: 400 16px var(--tn-body); color: var(--tn-navy); }
body .tn-code-promo button { height: 48px; min-height: 0; padding: 0 18px; border: 0; border-radius: 12px; background: var(--tn-navy); color: #fff; font: 600 15px var(--tn-body); text-transform: none; letter-spacing: 0; cursor: pointer; }
.tn-finaliser { width: 100%; min-height: 56px; font-size: 17px; }
.tn-recap-secu { margin-top: 10px !important; font-size: 13px; text-align: center; opacity: .8; }
.tn-vide { background: #fff; border-radius: 22px; padding: 36px 28px; text-align: center; font-size: 18px; }
.tn-vide-liens { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px !important; }
.tn-suggestions { margin-top: 44px; }
.tn-suggestions h2 { margin: 0 0 16px; font: 800 clamp(1.8rem, 3.6vw, 2.4rem)/1 var(--tn-display); font-stretch: 80%; color: var(--tn-navy); }
.tn-suggestions ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tn-sugg { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: #fff; border-radius: 20px; }
.tn-sugg-img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--tn-peach-soft); margin-bottom: 6px; }
.tn-sugg-nom { font: 700 17px/1.2 var(--tn-display); }
.tn-sugg-detail { font-size: 14px; opacity: .8; }
.tn-sugg-prix { font-weight: 600; margin-bottom: 8px !important; }
.tn-sugg .tn-btn-contour { min-height: 44px; margin-top: auto; font-size: 15px; }
@media (max-width: 1000px) {
  .tn-grille { grid-template-columns: 1fr; }
  .tn-recap { position: static; }
  .tn-suggestions ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tn-articles { padding: 4px 16px; }
  .tn-recap { padding: 18px 16px 20px; }
  .tn-ligne { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .tn-ligne-img img { width: 64px; height: 64px; }
  .tn-ligne-total { grid-column: 2; padding: 0; }
  .tn-suggestions ul { gap: 10px; }
  .tn-sugg { padding: 10px; }
}

/* ---------- Paiement ---------- */
html body.tn-commande, html body.tn-commande .website-wrapper { background: var(--tn-paper); }
body.tn-commande .elementor-location-header, body.tn-commande header.whb-header, body.tn-commande .wd-hb-wrapp, body.tn-commande .wd-page-title, body.tn-commande .wd-footer, body.tn-commande .wd-prefooter, body.tn-commande .scrollToTop { display: none !important; }
html body.tn-commande.tn-commande.tn-commande .website-wrapper > .main-page-wrapper.main-page-wrapper { margin-top: 0 !important; padding-top: 0; background: var(--tn-paper); }
.tn-entete-commande { background: #fff; border-bottom: 1px solid var(--tn-ligne); font-family: var(--tn-body); color: var(--tn-navy); }
.tn-entete-commande .tn-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; max-width: 1180px; min-height: 72px; margin: 0 auto; padding: 0 20px; }
body .tn-retour { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--tn-navy); font-weight: 500; text-decoration: none; }
.tn-retour span { font-size: 26px; line-height: 1; }
.tn-logo { display: block; width: 150px; height: 40px; background: var(--tn-navy); -webkit-mask: url("../../../uploads/coolin-site/img/logo-mask.png") center / contain no-repeat; mask: url("../../../uploads/coolin-site/img/logo-mask.png") center / contain no-repeat; }
.tn-logo img { opacity: 0; width: 150px; height: 40px; }
.tn-secu { justify-self: end; display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; }
.tn-bande { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: 0; padding: 10px 16px; list-style: none; background: var(--tn-navy); color: var(--tn-paper); font: 500 14px/1.3 var(--tn-body); }
.tn-bande li::before { content: "✓"; margin-right: 6px; color: var(--tn-peach); }
@media (max-width: 560px) {
  .tn-entete-commande .tn-wrap { min-height: 60px; padding: 0 12px; }
  .tn-logo, .tn-logo img { width: 112px; height: 30px; }
  .tn-secu { font-size: 0; gap: 0; }
  .tn-secu svg { width: 22px; height: 22px; }
  .tn-bande { gap: 4px 14px; font-size: 13px; }
}
body.tn-commande .wd-content-layout { padding-top: 16px; padding-bottom: 40px; }
body.tn-commande .woocommerce-notices-wrapper:empty, body.tn-commande form.checkout > p:empty { display: none; }
body.tn-commande .woocommerce, body.tn-commande form.checkout { font-family: var(--tn-body); color: var(--tn-navy); }
body.tn-commande form.checkout #customer_details, body.tn-commande form.checkout .checkout-order-review, body.tn-commande form.checkout #order_review {
  background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 1px 0 var(--tn-ligne); box-sizing: border-box;
}
body.tn-commande form.checkout h3, body.tn-commande #order_review_heading { font: 700 22px/1.2 var(--tn-display); color: var(--tn-navy); text-transform: none; letter-spacing: 0; }
body.tn-commande form.checkout :is(input.input-text, select, textarea):not(.qty), body.tn-commande .select2-container .select2-selection--single {
  min-height: 48px; border: 1.5px solid var(--tn-ligne); border-radius: 12px; background: #fff; color: var(--tn-navy); font: 400 16px var(--tn-body); box-shadow: none;
}
body.tn-commande form.checkout textarea { min-height: 96px; padding-top: 12px; }
body.tn-commande form.checkout :is(input.input-text, select, textarea):not(.qty):focus { border-color: var(--tn-navy); outline: 3px solid rgba(226, 56, 27, .3); outline-offset: 0; }
body.tn-commande .select2-container .select2-selection--single { display: flex; align-items: center; height: 48px; }
body.tn-commande .select2-container .select2-selection--single .select2-selection__rendered { position: static; padding-left: 14px; line-height: 1.2; color: var(--tn-navy); }
body.tn-commande .select2-container .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); }
body.tn-commande form.checkout label { font-weight: 500; color: var(--tn-navy); }
body.tn-commande :is(.checkout-order-review, #order_review)::before, body.tn-commande :is(.checkout-order-review, #order_review)::after, body.tn-commande .wd-table-wrapper::before, body.tn-commande .wd-table-wrapper::after { display: none !important; }
body.tn-commande .wc_payment_methods { padding: 0; margin: 0 0 16px; border: 0; background: none; list-style: none; }
body.tn-commande .wc_payment_methods > li.wc_payment_method { margin: 0 0 10px; padding: 14px 16px; border: 1.5px solid var(--tn-ligne); border-radius: 14px; background: #fff; }
body.tn-commande .wc_payment_methods > li.wc_payment_method:has(> input:checked) { border-color: var(--tn-fox-dark); box-shadow: 0 0 0 1px var(--tn-fox-dark); }
body.tn-commande .wc_payment_methods > li > label { font-weight: 600; }
body.tn-commande #payment, body.tn-commande .woocommerce-checkout-payment { background: none; border-radius: 0; padding: 0; }
body.tn-commande #place_order { width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--tn-fox-dark); color: #fff; font: 600 17px/1.2 var(--tn-body); text-transform: none; letter-spacing: 0; box-shadow: none; }
body.tn-commande #place_order:hover, body.tn-commande #delivery_point_chosen:hover { background: var(--tn-navy); }
body.tn-commande #delivery_point_chosen { width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--tn-fox-dark); color: #fff; font: 600 17px/1.2 var(--tn-body); text-transform: none; letter-spacing: 0; box-shadow: none; }
body.tn-commande .woocommerce-form-coupon-toggle .woocommerce-info { border-radius: 14px; }
.tn-pied-commande { padding: 24px 16px 40px; text-align: center; font: 400 14px/1.5 var(--tn-body); color: var(--tn-navy); background: var(--tn-paper); }
.tn-pied-commande p { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 0; }
.tn-pied-commande a { color: var(--tn-navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Paiement : résumé dépliable ---------- */
.tn-resume { max-width: 1180px; margin: 16px auto 0; padding: 0 20px; box-sizing: border-box; font: 400 16px/1.45 var(--tn-body); color: var(--tn-navy); }
.tn-resume > summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px; background: #fff; border: 1.5px solid var(--tn-ligne); border-radius: 16px; cursor: pointer; list-style: none; }
.tn-resume > summary::-webkit-details-marker { display: none; }
.tn-resume[open] > summary { border-radius: 16px 16px 0 0; border-bottom-color: transparent; }
.tn-resume-haut { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.tn-resume-titre { font-weight: 600; }
.tn-resume-titre small { font-size: 14px; font-weight: 400; opacity: .75; }
.tn-resume-total { font: 700 19px/1.2 var(--tn-display); white-space: nowrap; }
.tn-resume-total small, .tn-resume-total .includes_tax { display: none; }
.tn-fleche { flex: none; width: 10px; height: 10px; margin: 0 4px 4px 2px; border: solid var(--tn-navy); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.tn-resume[open] .tn-fleche { transform: rotate(-135deg); margin-bottom: -4px; }
.tn-resume-corps { padding: 6px 18px 18px; background: #fff; border: 1.5px solid var(--tn-ligne); border-top: 0; border-radius: 0 0 16px 16px; }
.tn-resume-lignes { margin: 0; padding: 0; list-style: none; }
.tn-resume-lignes li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--tn-ligne); }
.tn-resume-img { position: relative; }
.tn-resume-img img { display: block; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--tn-peach-soft); }
.tn-resume-img b { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--tn-navy); color: #fff; font: 600 12px/22px var(--tn-body); text-align: center; box-sizing: border-box; }
.tn-resume-nom { display: grid; font-weight: 600; font-size: 15px; }
.tn-resume-nom small { font-weight: 400; font-size: 13px; opacity: .75; }
.tn-resume-prix { font-weight: 600; white-space: nowrap; }
.tn-resume-totaux { margin: 0; padding: 10px 0 0; }
.tn-resume-totaux > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 15px; }
.tn-resume-totaux dt, .tn-resume-totaux dd { margin: 0; font-weight: 400; }
.tn-resume-totaux dd { text-align: right; }
.tn-resume-totaux .tn-total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--tn-ligne); font-size: 18px; font-weight: 700; }
.tn-resume-totaux .tn-total small, .tn-resume-totaux .tn-total .includes_tax { display: block; font-size: 13px; font-weight: 400; opacity: .8; }
body .tn-retirer-code { min-height: 0; margin-left: 6px; padding: 0; border: 0; background: none; color: var(--tn-navy); font: 400 13px var(--tn-body); text-decoration: underline; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; }
.tn-code-resume { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--tn-ligne); }
.tn-code-resume label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.tn-code-resume > div:not(.tn-code-msg) { display: flex; gap: 8px; }
body .tn-code-resume input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1.5px solid var(--tn-ligne); border-radius: 12px; background: #fff; color: var(--tn-navy); font: 400 16px var(--tn-body); box-shadow: none; }
body .tn-code-resume button { height: 48px; min-height: 0; padding: 0 18px; border: 0; border-radius: 12px; background: var(--tn-navy); color: #fff; font: 600 15px var(--tn-body); text-transform: none; letter-spacing: 0; cursor: pointer; }
.tn-code-msg { margin-top: 8px; font-size: 14px; }
.tn-code-msg.erreur { color: var(--tn-fox-dark); }
.tn-code-msg.ok { color: var(--tn-vert); }
.tn-code-msg:empty { display: none; }
@media (max-width: 560px) {
  .tn-resume { padding: 0 12px; margin-top: 12px; }
  .tn-resume > summary { padding: 8px 14px; }
  .tn-resume-corps { padding: 4px 14px 16px; }
}

/* ---------- Paiement : adresse différente et note, plus discrètes ---------- */
body.tn-commande #ship-to-different-address { margin: 18px 0 8px; font: 500 15px/1.4 var(--tn-body); text-transform: none; letter-spacing: 0; }
body.tn-commande #ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; font: inherit; cursor: pointer; }
body.tn-commande #ship-to-different-address br, body.tn-commande .tn-note-choix br { display: none; }
body.tn-commande #ship-to-different-address input, body.tn-commande .tn-note-choix input { width: 18px; height: 18px; margin: 0; accent-color: var(--tn-navy); }
body.tn-commande .tn-note-choix { margin: 4px 0 8px; }
body.tn-commande .tn-note-choix label { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1.4 var(--tn-body); cursor: pointer; }
body.tn-commande #order_comments_field[hidden], body.tn-commande .woocommerce-additional-fields > h3[hidden] { display: none !important; }
body.tn-commande .woocommerce-additional-fields { margin-top: 0; }

/* ---------- Barre « livraison offerte » du thème : camion, coche quand acquise ---------- */
.tn-actif .wd-free-progress-bar .progress-msg img { display: none !important; }
.tn-actif .wd-free-progress-bar .progress-msg { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; }
.tn-actif .wd-free-progress-bar .progress-msg::before { content: ""; flex: none; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2456' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v9H3zM14 9h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.tn-actif .wd-free-progress-bar.tn-ok .progress-msg::after { content: ""; flex: none; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%232f6b3f'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; order: 3; }
.tn-actif .wd-free-progress-bar .tn-msg { flex: 0 1 auto; min-width: 0; }
.tn-actif .wd-free-progress-bar .tn-msg .amount { white-space: nowrap; }

.tn-pied-commande .tn-credit { display: block; margin-top: 10px; font-size: 13px; opacity: .7; }

/* Espace sous le résumé : paragraphes vides de l'éditeur et écart du thème */
body.tn-commande form.checkout > p:not([class]), body.tn-commande #customer_details > p:not([class]) { display: none; }
body.tn-commande form.checkout { row-gap: 16px; }
body.tn-commande .wd-content-layout { padding-top: 12px; }
body.tn-commande #customer_details .wd-shipping-progress-bar { margin-top: 0; }