/* Pour Toujours — Page Commande (/commande/), paiement Stripe.
 * Repris de l'ancienne page Elementor, aligné sur le site : Helvetica, bouton pilule plat 52 px, sans ombres. */

body.pt-commande-body{
  margin:0;
  background:#fff;
}

.pt-checkout{
  --pt-ink:#183030;
  --pt-copy:#26302d;
  --pt-muted:#68706D;
  --pt-line:#D7DEDA;
  --pt-line-strong:#C9D2CD;
  --pt-paper:#F4F8F5;
  --pt-white:#FFFFFF;
  --pt-salmon:#F7AEA1;
  --pt-salmon-hover:#f39a8a;
  --pt-salmon-dark:#C97568;
  --pt-salmon-soft:#FFF1ED;
  --pt-display:Helvetica,Arial,sans-serif;
  --pt-body:Helvetica,Arial,sans-serif;
  width:100%;
  min-height:100svh;
  margin:0;
  color:var(--pt-copy);
  font-family:var(--pt-body);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  background:
    radial-gradient(circle at 10% 0%,rgba(247,174,161,.17),transparent 28%),
    linear-gradient(180deg,#F8FBF9 0%,#FFFFFF 48%,#FFFFFF 100%);
}
.pt-checkout,
.pt-checkout *{
  box-sizing:border-box;
}
.pt-checkout img{
  display:block;
  max-width:100%;
}
.pt-checkout button,
.pt-checkout input{
  font:inherit;
}
.pt-checkout-shell{
  width:min(1180px,100%);
  margin:0 auto;
  padding:28px 22px 52px;
}
/* TOP BAR */
.pt-checkout-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}
.pt-checkout-brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}
.pt-checkout-brand img{
  width:174px !important;
  max-width:174px !important;
  height:auto !important;
  max-height:34px !important;
  object-fit:contain;
  object-position:left center;
}
.pt-secure-top{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--pt-muted);
  font-size:13px;
  line-height:1.2;
  font-weight:700;
  white-space:nowrap;
}
.pt-secure-top svg{
  width:15px;
  height:15px;
  flex:0 0 auto;
  stroke:var(--pt-ink);
}
/* MAIN LAYOUT */
.pt-checkout-grid{
  display:grid;
  grid-template-columns:minmax(0,.80fr) minmax(470px,1.20fr);
  gap:28px;
  align-items:start;
}
.pt-summary-panel,
.pt-payment-panel{
  background:rgba(255,255,255,.96);
  border:1px solid var(--pt-line);
  border-radius:18px;
}
.pt-summary-panel{
  position:sticky;
  top:24px;
  overflow:hidden;
}
.pt-payment-panel{
  padding:34px;
}
/* SUMMARY */
.pt-summary-top{
  padding:28px 28px 24px;
  border-bottom:1px solid var(--pt-line);
  background:
    radial-gradient(circle at 8% 0%,rgba(247,174,161,.29),transparent 35%),
    linear-gradient(180deg,#F8FAF9 0%,#FFFFFF 100%);
}
.pt-eyebrow{
  display:block;
  margin:0 0 10px;
  color:var(--pt-salmon-dark);
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.09em;
}
.pt-summary-top h2,
.pt-payment-head h1,
.pt-product-name,
.pt-summary-price,
.pt-guarantee-title{
  font-family:var(--pt-display);
  color:var(--pt-ink);
}
.pt-summary-top h2{
  margin:0;
  font-size:25px;
  line-height:1.05;
  letter-spacing:-.04em;
  font-weight:700;
}
.pt-summary-top p{
  margin:9px 0 0;
  color:var(--pt-muted);
  font-size:14px;
  line-height:1.5;
}
.pt-product{
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  gap:15px;
  align-items:center;
  padding:24px 28px 20px;
}
.pt-product-image{
  aspect-ratio:4/3;
  overflow:hidden;
  border:1px solid var(--pt-line);
  border-radius:11px;
  background:#F7F9F8;
}
.pt-product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.pt-product-name{
  margin:0;
  font-size:17px;
  line-height:1.18;
  font-weight:700;
  letter-spacing:-.025em;
}
.pt-product-meta{
  margin:5px 0 0;
  color:var(--pt-muted);
  font-size:12.5px;
  line-height:1.4;
}
.pt-price-block{
  margin:0 28px;
  padding:18px 0;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  border-top:1px solid var(--pt-line);
  border-bottom:1px solid var(--pt-line);
}
.pt-price-label{
  color:var(--pt-muted);
  font-size:13px;
  font-weight:700;
}
.pt-price-value{
  text-align:right;
}
.pt-summary-price{
  display:block;
  font-size:27px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.02em;
}
.pt-price-tax{
  display:block;
  margin-top:4px;
  color:var(--pt-muted);
  font-size:11.5px;
  line-height:1.3;
}
.pt-benefits{
  padding:22px 28px 24px;
}
.pt-benefits-title{
  margin:0 0 11px;
  color:var(--pt-ink);
  font-size:13px;
  font-weight:800;
}
.pt-benefit{
  display:grid;
  grid-template-columns:19px minmax(0,1fr);
  gap:9px;
  align-items:start;
  padding:8px 0;
  color:var(--pt-copy);
  font-size:13.5px;
  line-height:1.43;
}
.pt-benefit-check{
  width:18px;
  height:18px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:1px;
  background:var(--pt-salmon-soft);
  color:var(--pt-salmon-dark);
  font-size:11px;
  font-weight:900;
}
.pt-guarantee{
  margin:0 28px 28px;
  padding:16px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:13px;
  align-items:start;
  border:1px solid #E8CDC7;
  border-radius:13px;
  background:var(--pt-salmon-soft);
}
.pt-guarantee-number{
  height:44px;
  border:1px solid rgba(201,117,104,.23);
  border-radius:10px;
  background:#FFF;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:var(--pt-ink);
  line-height:.9;
}
.pt-guarantee-number strong{
  font-family:var(--pt-display);
  font-size:16px;
  font-weight:700;
}
.pt-guarantee-number span{
  margin-top:3px;
  font-size:8px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
}
.pt-guarantee-title{
  margin:0;
  font-size:14px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:-.015em;
}
.pt-guarantee-copy{
  margin:4px 0 0;
  color:var(--pt-muted);
  font-size:12px;
  line-height:1.45;
}
/* PAYMENT */
.pt-payment-head{
  padding-bottom:24px;
  border-bottom:1px solid var(--pt-line);
}
.pt-payment-head h1{
  margin:0;
  font-size:35px;
  line-height:1.02;
  font-weight:700;
  letter-spacing:-.02em;
}
.pt-payment-lead{
  margin:10px 0 0;
  color:var(--pt-muted);
  font-size:14px;
  line-height:1.5;
}
.pt-payment-total{
  display:flex;
  flex-wrap:wrap;
  gap:7px 14px;
  align-items:center;
  margin-top:15px;
  padding:12px 14px;
  border:1px solid var(--pt-line);
  border-radius:11px;
  background:#FAFCFB;
}
.pt-payment-total strong{
  color:var(--pt-ink);
  font-size:14px;
  font-weight:800;
}
.pt-payment-total span{
  color:var(--pt-muted);
  font-size:12.5px;
  font-weight:700;
}
.pt-payment-body{
  padding-top:24px;
}
/* EXPRESS */
.pt-express-area[hidden],
.pt-payment-divider[hidden]{
  display:none !important;
}
.pt-express-label{
  display:block;
  margin:0 0 10px;
  color:var(--pt-ink);
  font-size:13px;
  font-weight:800;
}
#pt-express-checkout-element{
  min-height:0;
}
.pt-payment-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:19px 0;
  color:var(--pt-muted);
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.pt-payment-divider::before,
.pt-payment-divider::after{
  content:"";
  height:1px;
  flex:1;
  background:var(--pt-line);
}
/* FORM */
.pt-field-group{
  margin-bottom:19px;
}
.pt-field-label{
  display:block;
  margin-bottom:7px;
  color:var(--pt-ink);
  font-size:13px;
  line-height:1.3;
  font-weight:800;
}
.pt-input{
  display:block;
  width:100%;
  height:52px;
  padding:0 14px;
  border:1px solid var(--pt-line-strong);
  border-radius:10px;
  outline:none;
  color:var(--pt-ink);
  background:#FFF;
  font-size:15px;
  line-height:1;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.pt-input::placeholder{
  color:#929996;
}
.pt-input:focus{
  border-color:var(--pt-ink);
  box-shadow:0 0 0 3px rgba(247,174,161,.25);
}
.pt-field-help{
  margin:6px 0 0;
  color:var(--pt-muted);
  font-size:11.5px;
  line-height:1.4;
}
#pt-payment-element{
  min-height:260px;
  padding:15px;
  border:1px solid var(--pt-line);
  border-radius:13px;
  background:#FFF;
}
.pt-payment-placeholder{
  display:grid;
  gap:11px;
}
.pt-placeholder-line{
  height:50px;
  border:1px solid #D9DFDC;
  border-radius:9px;
  background:linear-gradient(90deg,#FFF,#F7F9F8,#FFF);
}
/* CTA */
.pt-pay-button{
  display:block;
  width:100%;
  min-height:52px;
  margin-top:20px;
  padding:12px 26px;
  border:0;
  border-radius:999px;
  background:var(--pt-salmon);
  color:var(--pt-ink);
  font-family:var(--pt-body);
  font-size:17px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:-.01em;
  text-align:center;
  box-shadow:none;
  cursor:pointer;
  transition:background .15s ease,opacity .15s ease;
}
.pt-pay-button:hover:not(:disabled){
  background:var(--pt-salmon-hover);
}
.pt-pay-button:disabled{
  cursor:not-allowed;
  opacity:.56;
}
.pt-under-button{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px 15px;
  margin-top:12px;
  color:var(--pt-muted);
  font-size:11.5px;
  line-height:1.4;
  text-align:center;
}
.pt-under-button span{
  position:relative;
}
.pt-under-button span:not(:last-child)::after{
  content:"";
  position:absolute;
  top:50%;
  right:-9px;
  width:3px;
  height:3px;
  border-radius:50%;
  background:#AEB5B2;
  transform:translateY(-50%);
}
.pt-payment-status{
  display:none;
  margin-top:14px;
  padding:12px 14px;
  border:1px solid #EDCFC9;
  border-radius:10px;
  background:var(--pt-salmon-soft);
  color:#7B4037;
  font-size:13px;
  line-height:1.45;
}
.pt-payment-status.is-visible{
  display:block;
}
.pt-secure-note{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:7px;
  max-width:520px;
  margin:15px auto 0;
  color:var(--pt-muted);
  font-size:11.5px;
  line-height:1.45;
  text-align:center;
}
.pt-secure-note svg{
  flex:0 0 auto;
  width:14px;
  height:14px;
  margin-top:1px;
  stroke:var(--pt-muted);
}
/* FINAL TRUST */
.pt-final-trust{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:25px;
  border-top:1px solid var(--pt-line);
}
.pt-trust-item{
  min-width:0;
  padding:17px 14px 0;
  border-left:1px solid var(--pt-line);
}
.pt-trust-item:first-child{
  padding-left:0;
  border-left:0;
}
.pt-trust-item:last-child{
  padding-right:0;
}
.pt-trust-item strong{
  display:block;
  color:var(--pt-ink);
  font-size:12.5px;
  line-height:1.3;
  font-weight:800;
}
.pt-trust-item span{
  display:block;
  margin-top:3px;
  color:var(--pt-muted);
  font-size:11.5px;
  line-height:1.4;
}
/* TABLET */
@media (max-width:1080px){
  .pt-checkout-shell{
    padding-left:18px;
    padding-right:18px;
  }
  .pt-checkout-grid{
    grid-template-columns:minmax(0,.75fr) minmax(450px,1.25fr);
    gap:22px;
  }
  .pt-payment-panel{
    padding:30px;
  }
}
/* MOBILE / TABLET STACK
   Payment comes FIRST */
@media (max-width:920px){
  .pt-checkout-shell{
    width:min(720px,100%);
  }
  .pt-checkout-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .pt-payment-panel{
    order:1;
  }
  .pt-summary-panel{
    order:2;
    position:static;
  }
}
@media (max-width:640px){
  .pt-checkout-shell{
    padding:17px 13px 30px;
  }
  .pt-checkout-topbar{
    margin-bottom:16px;
  }
  .pt-checkout-brand img{
    width:146px !important;
    max-width:146px !important;
    max-height:29px !important;
  }
  .pt-secure-top{
    gap:5px;
    font-size:11px;
  }
  .pt-secure-top svg{
    width:13px;
    height:13px;
  }
  .pt-payment-panel,
  .pt-summary-panel{
    border-radius:18px;
  }
  .pt-payment-panel{
    padding:23px 18px 22px;
  }
  .pt-payment-head{
    padding-bottom:20px;
  }
  .pt-payment-head h1{
    font-size:30px;
  }
  .pt-payment-lead{
    margin-top:8px;
    font-size:13.5px;
  }
  .pt-payment-total{
    margin-top:13px;
    padding:11px 12px;
  }
  .pt-payment-body{
    padding-top:20px;
  }
  .pt-pay-button{
    font-size:16px;
  }
  .pt-under-button{
    gap:5px 11px;
    font-size:10.5px;
  }
  .pt-under-button span:not(:last-child)::after{
    right:-7px;
  }
  .pt-final-trust{
    grid-template-columns:1fr;
    margin-top:21px;
  }
  .pt-trust-item,
  .pt-trust-item:first-child,
  .pt-trust-item:last-child{
    padding:12px 0;
    border-left:0;
    border-bottom:1px solid var(--pt-line);
  }
  .pt-trust-item:last-child{
    border-bottom:0;
    padding-bottom:0;
  }
  .pt-summary-top{
    padding:22px 19px 19px;
  }
  .pt-summary-top h2{
    font-size:22px;
  }
  .pt-product{
    grid-template-columns:70px minmax(0,1fr);
    gap:12px;
    padding:20px 19px 16px;
  }
  .pt-product-name{
    font-size:15.5px;
  }
  .pt-price-block{
    margin-left:19px;
    margin-right:19px;
  }
  .pt-summary-price{
    font-size:24px;
  }
  .pt-benefits{
    padding:19px 19px 21px;
  }
  .pt-guarantee{
    margin:0 19px 20px;
  }
  #pt-payment-element{
    padding:13px;
  }
}
@media (max-width:380px){
  .pt-checkout-shell{
    padding-left:9px;
    padding-right:9px;
  }
  .pt-checkout-brand img{
    width:136px !important;
    max-width:136px !important;
  }
  .pt-secure-top{
    font-size:10px;
  }
  .pt-payment-panel{
    padding-left:15px;
    padding-right:15px;
  }
  .pt-payment-head h1{
    font-size:28px;
  }
}
@media (prefers-reduced-motion:reduce){
  .pt-checkout *,
  .pt-checkout *::before,
  .pt-checkout *::after{
    scroll-behavior:auto !important;
    transition:none !important;
    animation:none !important;
  }
}

/* Le thème remet le texte des boutons en poids normal : on garde le bouton de paiement en gras. */
.pt-checkout .pt-pay-button,
.pt-checkout .pt-pay-button span{
  font-weight:700;
}
