/* DLL Theme - Page commande recue (thankyou.php) - styles manquants ajoutes le 20/07/2026 */

.dll-checkout-stepper, .dll-stepper {
  display:flex; align-items:center; gap:8px; max-width:780px; margin:24px auto 0; padding:0 20px;
  font-size:12.5px; color:#6b6f68;
}
.dll-step { display:flex; align-items:center; gap:6px; }
.dll-step-num {
  width:18px; height:18px; border-radius:50%; background:#e7e2d4; color:#1A2620;
  display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:600;
}
.dll-step-done .dll-step-num { background:#B8952A; color:#231b06; }
.dll-step-current .dll-step-num { background:#1A2620; color:#B8952A; }
.dll-step-current .dll-step-lbl { color:#1A2620; font-weight:600; }
.dll-step-sep { flex:1; height:1px; background:rgba(184,149,42,.35); min-width:16px; }

.dll-confirm-wrap { max-width:780px; margin:0 auto; padding:28px 20px 60px; }

.dll-confirm-hero { text-align:center; padding:20px 0 30px; }
.dll-ch-icon {
  width:56px; height:56px; border-radius:50%; margin:0 auto 16px;
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.dll-ch-success, .dll-ch-ok { background:#1A2620; }
.dll-ch-warn, .dll-ch-pending { background:#B8952A; color:#231b06; }
.dll-ch-eyebrow { font-size:12.5px; font-weight:600; letter-spacing:.4px; text-transform:uppercase; color:#B8952A; margin-bottom:8px; }
.dll-ch-title { font-family:'Playfair Display',serif; font-weight:500; font-size:26px; color:#1A2620; margin:0 0 10px; }
.dll-ch-sub { font-size:14.5px; color:#5f6359; max-width:520px; margin:0 auto; line-height:1.6; }
.dll-ch-order-num { margin-top:14px; font-size:13px; color:#5f6359; }

.dll-recap-card, .dll-info-card, .dll-links-card, .dll-pending-card, .dll-dl-card {
  background:#fff; border:1px solid #e6e0d2; border-radius:10px; padding:20px 22px; margin-bottom:18px;
}
.dll-rc-header { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:14px; border-bottom:1px solid #f0ece2; padding-bottom:12px; flex-wrap:wrap; gap:8px; }
.dll-rc-title { font-family:'Playfair Display',serif; font-size:16px; font-weight:500; color:#1A2620; margin:0; }
.dll-rc-num { font-size:13px; color:#5f6359; }

.dll-rc-item { display:flex; gap:14px; align-items:center; padding:12px 0; border-bottom:1px solid #f5f1e8; }
.dll-rc-item:last-child { border-bottom:none; }
.dll-rc-cov { width:44px; height:62px; object-fit:cover; border-radius:3px; flex-shrink:0; background:#1A2620; }
.dll-rc-info { flex:1; min-width:0; }
.dll-rc-info strong { font-size:14px; font-weight:600; color:#232821; }
.dll-rc-meta { font-size:12.5px; color:#8a8d84; margin-top:2px; }
.dll-rc-prix { font-size:14px; font-weight:600; color:#1A2620; white-space:nowrap; }

.dll-rc-totaux { margin-top:12px; padding-top:12px; border-top:1px solid #e6e0d2; }
.dll-rt { display:flex; justify-content:space-between; font-size:13.5px; color:#5f6359; padding:4px 0; }
.dll-rt-final { display:flex; justify-content:space-between; padding-top:8px; }
.dll-rt-final-lbl { font-weight:600; color:#1A2620; font-size:15px; }
.dll-rt-final-val { font-weight:600; color:#1A2620; font-size:16px; }

.dll-rc-addrs { display:flex; gap:24px; margin-top:16px; padding-top:16px; border-top:1px solid #e6e0d2; flex-wrap:wrap; }
.dll-rc-addr-block { flex:1; min-width:200px; font-size:13px; color:#5f6359; line-height:1.6; }
.dll-rc-addr-block strong { display:block; color:#1A2620; margin-bottom:6px; font-size:12.5px; text-transform:uppercase; letter-spacing:.3px; }

.dll-rc-pay { margin-top:14px; padding-top:14px; border-top:1px solid #e6e0d2; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.dll-rc-pay-info { font-size:13px; color:#5f6359; }
.dll-rc-statut { font-weight:600; font-size:13.5px; padding:4px 12px; border-radius:20px; background:#eaf3de; color:#3b6d11; }

.dll-links-card-lbl { font-size:13px; color:#5f6359; margin-bottom:12px; }
.dll-actions-sidebar, .dll-links-card { display:flex; flex-wrap:wrap; gap:10px; }
.dll-lnk-action {
  display:inline-block; padding:10px 18px; border-radius:6px; border:1px solid #1A2620;
  color:#1A2620; font-size:13px; font-weight:600; text-decoration:none; text-align:center;
}
.dll-lnk-primary { background:#1A2620; color:#B8952A; }

.dll-pending-card { border-color:#B8952A; }
.dll-pending-title { font-family:'Playfair Display',serif; font-size:15px; color:#1A2620; margin:0 0 8px; }

.dll-dl-card-hdr { font-family:'Playfair Display',serif; font-size:15px; color:#1A2620; margin:0 0 12px; }
.dll-dl-item { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid #f5f1e8; gap:12px; flex-wrap:wrap; }
.dll-dl-item:last-child { border-bottom:none; }
.dll-dl-title { font-size:13.5px; font-weight:600; color:#232821; }
.dll-dl-meta { font-size:12px; color:#8a8d84; }
.dll-dl-note { font-size:12px; color:#8a8d84; margin-top:8px; }
.dll-btn-dl, .dll-btn-dl-epub {
  display:inline-block; padding:7px 14px; border-radius:5px; border:1px solid #1A2620;
  color:#1A2620; font-size:12.5px; font-weight:600; text-decoration:none;
}
.dll-free { color:#3b6d11; font-weight:600; font-size:12px; }

@media (max-width:640px){
  .dll-recap-card, .dll-info-card, .dll-links-card, .dll-pending-card, .dll-dl-card { padding:16px; }
  .dll-rc-addrs { flex-direction:column; gap:14px; }
  .dll-actions-sidebar, .dll-links-card { flex-direction:column; }
  .dll-lnk-action { width:100%; }
}

/* Largeur + suppression du bloc natif WooCommerce duplique (order-details/adresses) - ajoute le 20/07/2026 */
body.woocommerce-order-received .dll-article-content { max-width:960px !important; }
body.woocommerce-order-received .woocommerce { max-width:100% !important; }
.dll-confirm-wrap { max-width:880px; }

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-columns--addresses,
body.woocommerce-order-received .col2-set.addresses,
body.woocommerce-order-received .woocommerce-customer-details {
  display:none !important;
}

.dll-actions-sidebar, .dll-links-card { gap:12px 14px; }
.dll-lnk-action { min-width:0; white-space:nowrap; }

/* Blocs manquants vs maquette validee : bandeau resume, citation, cross-sell - ajoute le 20/07/2026 */
.dll-meta-strip {
  display:flex; flex-wrap:wrap; gap:22px;
  background:#fff; border:1px solid #e6e0d2; border-radius:10px;
  padding:16px 22px; margin-bottom:18px;
}
.dll-meta-item { font-size:13px; }
.dll-meta-label { display:block; color:#8a8d84; margin-bottom:2px; font-size:11.5px; text-transform:uppercase; letter-spacing:.3px; }
.dll-meta-value { font-weight:600; color:#1A2620; }

.dll-editorial-quote {
  text-align:center; font-family:'Playfair Display',serif; font-style:italic;
  font-size:15px; color:#1A2620; margin:30px 0 6px; line-height:1.6;
}
.dll-editorial-quote span {
  display:block; font-family:'Source Sans 3',sans-serif; font-style:normal;
  font-size:12px; color:#5f6359; margin-top:8px;
}

.dll-cross-sell { text-align:center; }
.dll-cs-heading {
  font-family:'Playfair Display',serif; font-weight:500; font-size:16px;
  color:#1A2620; margin:0 0 16px; text-align:center;
}
.dll-cs-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; text-align:left; }
.dll-cs-item { display:block; text-decoration:none; color:inherit; }
.dll-cs-cover img, .dll-cs-cover { width:100%; height:130px; object-fit:cover; border-radius:4px; background:#1A2620; display:block; }
.dll-cs-title { font-size:12.5px; font-weight:600; color:#232821; line-height:1.3; margin-top:8px; }
.dll-cs-price { font-size:12px; color:#B8952A; font-weight:600; margin-top:2px; }

@media (max-width:640px){
  .dll-meta-strip { gap:14px 22px; }
  .dll-cs-grid { grid-template-columns:repeat(3,1fr); gap:10px; }
  .dll-cs-title { font-size:11.5px; }
}

/* Corrections 20/07/2026 (2) : largeur des blocs, couvertures rognees */
.dll-actions-sidebar {
  display: block;
}
.dll-actions-sidebar > .dll-links-card,
.dll-actions-sidebar > .dll-editorial-quote,
.dll-actions-sidebar > .dll-info-card {
  width: 100%;
}

.dll-cs-cover, .dll-cs-cover img {
  width:100%; height:180px;
  object-fit:contain; object-position:center;
  border-radius:4px; background:#1A2620;
  display:block;
}

/* Corrections 20/07/2026 (3) : pipeline pleine largeur, couvertures sans fond/cadre */
.dll-checkout-stepper, .dll-stepper {
  max-width: 880px;
  padding: 0 20px;
  box-sizing: border-box;
}

.dll-cs-cover, .dll-cs-cover img {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Page publique "Suivi de commande" - ajoute le 20/07/2026 */
.dll-track-wrap {
  max-width: 640px;
  margin: 40px auto 60px;
  padding: 0 20px;
}
.dll-track-form-card { text-align: left; }
.dll-track-sub { color:#5f6359; font-size:13.5px; margin:0 0 18px; }
.dll-track-form { display:flex; flex-direction:column; gap:14px; max-width:400px; }
.dll-track-form label { display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:600; color:#1A2620; }
.dll-track-form input {
  font-family:'Source Sans 3', sans-serif; font-size:14px; padding:10px 12px;
  border:1px solid #d8d2c2; border-radius:6px; background:#faf8f3; color:#232821;
}
.dll-track-form input:focus { outline:none; border-color:#B8952A; }
.dll-track-form button { align-self:flex-start; border:1px solid #1A2620; cursor:pointer; margin-top:4px; }
.dll-track-error { color:#a33; font-size:13px; margin-top:14px; }
.dll-track-result { margin-top:18px; }

body.page-template-default .dll-track-wrap,
.single-page .dll-track-wrap { padding-top: 20px; }
