/* After purchase: confirmation detail (merci.php) and withdrawal function (retractation.php). Palette of teranga-shop.css:
   orange = the purchase (steps), blue = delivery follow-up (« Et maintenant ? »), green = trust (withdrawal right). */
.ta-after{max-width:760px;margin-left:auto;margin-right:auto;padding-bottom:40px}
.ta-after h1{margin:0 0 14px}
.ta-after h2{font-size:24px!important;margin:30px 0 12px}
.ta-after .ta-order-summary{margin:24px 0}
.ta-after .ta-order-summary ul,.ta-after-plain{margin:0;padding-left:18px}
.ta-after ul{line-height:1.6}
.ta-after-notice{padding:14px 18px;border:1px solid #e6e1d4;border-left:4px solid #b0894f;border-radius:8px;background:#fbf8f1;margin:18px 0}
.ta-after-notice p{margin:0}
.ta-after-notice.is-success{border-left-color:#547b24;background:#f1f5ea}
.ta-after-notice.is-error{border-left-color:#a33a2c;background:#fbf0ee}
.ta-after-form{display:grid;gap:10px;margin:10px 0 30px}
.ta-after-form fieldset{border:1px solid #e6e1d4;border-radius:10px;padding:16px 18px;margin:0 0 10px}
.ta-after-form legend{font-weight:700;padding:0 6px;width:auto;font-size:16px;margin:0}
.ta-after-lines{list-style:none;margin:8px 0 0;padding:0}
.ta-after-lines li+li{border-top:1px solid #efebe1}
.ta-after-lines label{display:flex;align-items:center;gap:10px;padding:10px 0;margin:0;font-weight:400;cursor:pointer}
.ta-after-lines input{width:20px;height:20px;flex:none;accent-color:#547b24}
.ta-after-price{margin-left:auto;white-space:nowrap}
.ta-after-form>label{font-weight:700;margin:0}
.ta-after-form textarea{width:100%;border:1px solid #c8c5bc;border-radius:8px;padding:11px 15px;font-size:16px;background:white}
.ta-after-form .ta-shop-button{justify-self:start}
.ta-after-form :focus-visible,.ta-after-withdrawal a:focus-visible,.ta-after-items summary:focus-visible{outline:3px solid #547b24;outline-offset:2px}
.ta-after-items{max-width:520px;margin:16px auto 24px;text-align:left;border:1px solid #ddd;border-radius:10px;padding:14px 20px}
.ta-after-items summary{cursor:pointer;font-weight:600;color:#385917;min-height:24px}
.ta-after-items ul{list-style:none;margin:12px 0 0;padding:0}
.ta-after-items li{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-top:1px solid #efebe1}
.ta-after-withdrawal{max-width:520px;margin:0 auto 28px;padding:14px 20px;border:1px solid var(--ta-leaf-100,#dfe9cf);border-radius:10px;background:var(--ta-leaf-50,#eef4e5);text-align:left;font-size:14px}
.ta-after-withdrawal p{margin:0 0 6px}
.ta-after-withdrawal p:last-child{margin:0}
.ta-after-withdrawal a{color:#385917;font-weight:700;text-decoration:underline}
/* Confirmation: completed steps ticked, flow-page H1 (same as checkout.css), « Et maintenant ? » timeline */
.ta-shop-steps .is-done{color:var(--ta-sun-800,#7c300d);border-color:var(--ta-sun-200,#fcc999)}
.ta-commerce .ta-shop-steps~h1{font-size:clamp(30px,3vw,40px)}
.ta-after-next{max-width:520px;margin:26px auto 0;text-align:left}
.ta-thankyou .ta-after-next h2{font-size:20px!important;margin:0 0 10px}
.ta-after-next ol{list-style:none;margin:0;padding:0}
.ta-after-next li{position:relative;display:flex;align-items:center;gap:12px;padding:8px 0;font-size:15px;line-height:1.4}
.ta-after-next li+li::before{content:'';position:absolute;left:15px;top:-8px;height:16px;border-left:2px solid var(--ta-blue-200,#b7d3ec)}
.ta-after-next-icon{flex:none;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--ta-blue-100,#dbe9f6);color:var(--ta-blue-800,#0f3a63);font-weight:700}
.ta-after-next .is-done .ta-after-next-icon{background:var(--ta-blue-700,#144b81);color:#fff}
.ta-thankyou .ta-order-summary dd{overflow-wrap:anywhere}
/* Confirmation above the fold (1366×768 and up, 390×664 phones): mark beside the H1, one line of copy, then two cards,
   « Et maintenant ? » and the order; on phones the order card and the withdrawal right fold (merci.php opens them wider). */
.ta-shop-shell.ta-thankyou{padding-top:20px;padding-bottom:40px;min-height:0}
.ta-thankyou .ta-shop-steps{margin-bottom:18px}
.ta-thankyou-head{display:flex;align-items:center;justify-content:center;gap:14px}
.ta-thankyou .ta-thankyou-mark{flex:none;width:44px;height:44px;margin:0;font-size:24px;line-height:44px}
.ta-commerce .ta-thankyou-head h1{margin:0;font-size:clamp(28px,3vw,38px)}
.ta-thankyou-lead{max-width:960px;margin:8px auto 0;color:#555}
.ta-thankyou-lead strong{overflow-wrap:anywhere}
.ta-thankyou-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:960px;margin:22px auto 0;text-align:left}
.ta-thankyou-grid>:only-child{grid-column:1/-1}
.ta-thankyou .ta-after-next,.ta-thankyou-order{max-width:none;margin:0;padding:18px 20px;border:1px solid #e6e1d4;border-radius:12px;background:#fff}
.ta-thankyou .ta-after-next li{padding:6px 0}
.ta-thankyou .ta-after-next li+li::before{top:-6px;height:12px}
.ta-thankyou-order>summary{display:flex;align-items:center;gap:10px;min-height:24px;list-style:none;cursor:pointer;font-size:15px;color:#222}
.ta-thankyou-order>summary::-webkit-details-marker{display:none}
.ta-thankyou-order>summary svg{flex:none;color:var(--ta-sun-700,#b4480f)}
.ta-thankyou-order>summary svg:last-child{margin-left:auto}
.ta-thankyou-order[open]>summary{margin-bottom:12px}
.ta-thankyou-order[open]>summary svg:last-child{transform:rotate(180deg)}
.ta-thankyou-order>summary:focus-visible{outline:3px solid #547b24;outline-offset:2px}
@media (min-width:761px){.ta-thankyou-order[open]>summary{display:none}}
.ta-thankyou .ta-order-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;max-width:none;margin:0;padding:0;border:0}
.ta-thankyou .ta-order-summary dt{font-size:12.5px;font-weight:400;color:#6b6457}
.ta-thankyou .ta-order-summary dd{margin:0;font-size:15px;font-weight:600}
.ta-thankyou .ta-order-summary .is-wide{grid-column:1/-1}
.ta-thankyou .ta-order-summary .is-wide dd{font-weight:400}
.ta-thankyou-order>.ta-shop-button{width:100%;margin-top:14px}
.ta-thankyou .ta-after-items{max-width:none;margin:14px 0 0;padding:12px 0 0;border:0;border-top:1px solid #efebe1;border-radius:0}
.ta-thankyou .ta-after-withdrawal{max-width:960px;margin:16px auto 0;padding:12px 20px}
.ta-after-withdrawal summary{cursor:pointer;font-weight:700;color:#385917;min-height:24px}
.ta-after-withdrawal summary:focus-visible{outline:3px solid #547b24;outline-offset:2px}
.ta-thankyou details.ta-after-withdrawal p{margin:4px 0 0}
.ta-thankyou [data-continue]{margin-top:18px}
@media (max-width:760px){
  .ta-shop-shell.ta-thankyou{padding-top:12px;padding-bottom:28px}
  .ta-thankyou .ta-shop-steps{margin-bottom:12px}
  .ta-thankyou-head{gap:10px}
  .ta-thankyou .ta-thankyou-mark{width:36px;height:36px;font-size:20px;line-height:36px}
  .ta-commerce .ta-thankyou-head h1{font-size:25px;text-align:left}
  .ta-thankyou-lead{font-size:14px;line-height:1.5}
  .ta-thankyou-grid{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:14px}
  .ta-thankyou .ta-after-next,.ta-thankyou-order{padding:12px 14px}
  .ta-thankyou .ta-after-next h2{font-size:17px!important;margin-bottom:4px}
  .ta-thankyou .ta-after-next li{gap:10px;padding:4px 0;font-size:14px}
  .ta-thankyou .ta-after-next li+li::before{left:13px;top:-4px;height:8px}
  .ta-thankyou .ta-after-next-icon{width:28px;height:28px}
  .ta-thankyou .ta-order-summary{gap:8px 12px}
  .ta-thankyou .ta-after-items{margin-top:10px;padding-top:10px}
  .ta-thankyou .ta-after-withdrawal{margin-top:10px;padding:10px 14px}
  .ta-thankyou [data-continue]{width:100%;margin-top:12px}
}
@media (max-width:600px){.ta-after-form .ta-shop-button{justify-self:stretch;width:100%}.ta-after-lines label{flex-wrap:wrap}.ta-after-price{margin-left:30px}}
