/*
Theme Name: Prière et Méditation
Description: Thème enfant de Veritable, conçu pour une expérience spirituelle et une boutique plus claire.
Author: Prière et Méditation
Template: veritable
Version: 1.0.0
Text Domain: priere-meditation
*/

:root {
  --pm-ink: #172040;
  --pm-green: #354bd7;
  --pm-green-dark: #2336af;
  --pm-sage: #e8eaff;
  --pm-cream: #fff2de;
  --pm-paper: #fffdfa;
  --pm-gold: #f2b63f;
  --pm-coral: #ed5c52;
  --pm-magenta: #9f397a;
  --pm-muted: #606884;
  --pm-line: rgba(23, 32, 64, .13);
  --pm-shadow: 0 18px 55px rgba(35, 54, 175, .15);
  --pm-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pm-home { margin: 0; color: var(--pm-ink); background: var(--pm-paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
.pm-home a { color: inherit; text-decoration: none; }
.pm-home img { display: block; max-width: 100%; }
.pm-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.pm-section { padding: 88px 0; }
.pm-eyebrow { margin: 0 0 10px; color: var(--pm-green); font-size: .77rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.pm-title { max-width: 720px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.pm-lead { max-width: 650px; margin: 20px 0 0; color: var(--pm-muted); font-size: 1.08rem; }
.pm-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.pm-section-head .pm-title { font-size: clamp(1.9rem, 3vw, 3rem); }
.pm-text-link { color: var(--pm-green); font-weight: 750; white-space: nowrap; }

.pm-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--pm-line); background: rgba(255,253,248,.94); backdrop-filter: blur(16px); }
.pm-header a, .pm-footer a { text-decoration: none; }
.pm-header img, .pm-footer img { display: block; max-width: 100%; }
body:not(.pm-home) .theme-header,
body:not(.pm-home) .site-header,
body:not(.pm-home) #masthead,
body:not(.pm-home) #site-footer,
body:not(.pm-home) .site-footer:not(.pm-footer) { display: none !important; }
.pm-shared-header + .site-content { padding-top: 0; }
.pm-shared-footer { margin-top: 72px; }
.pm-app-page article > .entry-header,
.pm-app-page article > .post-thumbnail { display: none !important; }
.admin-bar .pm-header { top: 32px; }
.pm-nav { min-height: 78px; display: flex; align-items: center; gap: 30px; }
.pm-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 700; }
.pm-logo { width: 48px; height: 48px; object-fit: cover; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 6px 18px rgba(23,32,64,.16); }
.pm-links { display: flex; align-items: center; gap: 26px; font-size: .94rem; font-weight: 650; }
.pm-links a:hover { color: var(--pm-green); }
.pm-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 21px; border: 1px solid transparent; border-radius: 999px; color: #fff !important; background: linear-gradient(135deg, var(--pm-green), #5e4ce3); font-weight: 760; line-height: 1; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.pm-btn:hover { transform: translateY(-2px); background: var(--pm-green-dark); box-shadow: 0 10px 30px rgba(36,95,82,.22); }
.pm-btn-light { color: var(--pm-ink) !important; border-color: var(--pm-line); background: rgba(255,255,255,.78); }
.pm-btn-light:hover { background: #fff; }
.pm-menu { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--pm-coral), var(--pm-magenta)); box-shadow: 0 8px 20px rgba(159,57,122,.28); font-size: 1.3rem; font-weight: 900; cursor: pointer; }

.pm-hero { overflow: hidden; position: relative; padding: 92px 0 78px; background-image: linear-gradient(90deg, rgba(255,247,232,.98) 0%, rgba(255,247,232,.94) 38%, rgba(255,247,232,.42) 62%, rgba(23,32,64,.08) 100%), url('hero-priere-vibrant.png'); background-position: center; background-size: cover; }
.pm-hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -120px; bottom: -240px; border: 1px solid rgba(36,95,82,.15); border-radius: 50%; box-shadow: 0 0 0 45px rgba(36,95,82,.04), 0 0 0 90px rgba(36,95,82,.025); }
.pm-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 72px; }
.pm-hero h1 { max-width: 780px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.8vw, 6.6rem); font-weight: 500; line-height: .96; letter-spacing: -.055em; }
.pm-hero h1 em { color: var(--pm-coral); font-weight: 500; }
.pm-hero-copy > p:not(.pm-eyebrow) { max-width: 650px; margin: 27px 0 0; color: var(--pm-muted); font-size: 1.15rem; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.pm-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; color: var(--pm-muted); font-size: .88rem; }
.pm-trust span::before { content: "✓"; margin-right: 7px; color: var(--pm-green); font-weight: 900; }
.pm-daily-card { position: relative; padding: 36px; border: 1px solid rgba(255,255,255,.72); border-radius: 32px; background: rgba(255,255,255,.84); box-shadow: var(--pm-shadow); backdrop-filter: blur(16px); }
.pm-daily-card::before { content: "“"; position: absolute; right: 28px; top: 10px; color: var(--pm-sage); font-family: Georgia, serif; font-size: 6rem; line-height: 1; }
.pm-daily-card h2 { position: relative; margin: 12px 0 16px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; line-height: 1.2; }
.pm-daily-card p { color: var(--pm-muted); }
.pm-daily-card .pm-text-link { display: inline-block; margin-top: 12px; }

.pm-paths { margin-top: -1px; background: #fff; }
.pm-path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pm-path { min-height: 250px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--pm-line); border-radius: var(--pm-radius); background: var(--pm-paper); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.pm-path:hover { transform: translateY(-5px); border-color: rgba(36,95,82,.3); box-shadow: var(--pm-shadow); }
.pm-path-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--pm-coral), var(--pm-magenta)); font-size: 1.35rem; box-shadow: 0 8px 20px rgba(237,92,82,.22); }
.pm-path h3 { margin: 28px 0 8px; font-family: Georgia, serif; font-size: 1.55rem; }
.pm-path p { margin: 0 0 22px; color: var(--pm-muted); }
.pm-path strong { margin-top: auto; color: var(--pm-green); font-size: .92rem; }

.pm-shop { background: linear-gradient(135deg, #fff1dd, #f4eeff 72%); }
.pm-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pm-product { overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(24,53,47,.09); border-radius: 22px; background: #fff; box-shadow: 0 9px 30px rgba(24,53,47,.06); }
.pm-product-media { aspect-ratio: 4/5; overflow: hidden; display: grid; place-items: center; padding: 18px; background: linear-gradient(145deg, #f6f2ff, #fff1df); }
.pm-product-media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(23,32,64,.16)); transition: transform .3s ease; }
.pm-product:hover .pm-product-media img { transform: scale(1.035); }
.pm-product-body { flex: 1; display: flex; flex-direction: column; padding: 21px; }
.pm-product-cat { color: var(--pm-green); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pm-product h3 { margin: 9px 0 15px; font-family: Georgia, serif; font-size: 1.22rem; line-height: 1.28; }
.pm-product-price { margin-top: auto; color: var(--pm-ink); font-size: 1.07rem; font-weight: 800; }
.pm-product-price del { color: #9aa59f; font-size: .83rem; font-weight: 500; }
.pm-product-price ins { text-decoration: none; }
.pm-product .pm-btn { width: 100%; margin-top: 17px; }

.pm-feature { background: linear-gradient(135deg, #172040 0%, #303fc4 55%, #8d3578 100%); color: #fff; }
.pm-feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.pm-feature-art { min-height: 430px; overflow: hidden; display: grid; place-items: center; position: relative; border: 1px solid rgba(255,255,255,.25); border-radius: 34px; background: #2436a9; box-shadow: 0 25px 70px rgba(8,13,50,.35); }
.pm-feature-art img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.pm-feature .pm-eyebrow { color: #e6c785; }
.pm-feature .pm-title { color: #fff; }
.pm-feature p { color: rgba(255,255,255,.72); }
.pm-feature-list { display: grid; gap: 13px; margin: 28px 0 32px; padding: 0; list-style: none; }
.pm-feature-list li::before { content: "✦"; margin-right: 11px; color: var(--pm-gold); }

.pm-journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pm-post { overflow: hidden; border: 1px solid var(--pm-line); border-radius: 22px; background: #fff; }
.pm-post-media { aspect-ratio: 4/3; overflow: hidden; display: grid; place-items: center; padding: 12px; background: linear-gradient(145deg, #f2f3ff, #fff4e4); }
.pm-post-media img { width: 100%; height: 100%; object-fit: contain; }
.pm-post-body { padding: 24px; }
.pm-post time { color: var(--pm-muted); font-size: .8rem; }
.pm-post h3 { margin: 8px 0 11px; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.3; }
.pm-post p { margin: 0; color: var(--pm-muted); font-size: .94rem; }

.pm-cta { padding: 0 0 88px; }
.pm-cta-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 48px; border-radius: 30px; background: linear-gradient(120deg, #e8eaff, #ffe0c4 56%, #ffd5e9); }
.pm-cta-card h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1.1; }
.pm-cta-card p { max-width: 650px; margin: 13px 0 0; color: var(--pm-muted); }

.pm-footer { padding: 55px 0 28px; color: rgba(255,255,255,.72); background: #111934; }
.pm-footer p { color: rgba(255,255,255,.72) !important; }
.pm-footer a { color: rgba(255,255,255,.74) !important; }
.pm-footer .pm-brand,
.pm-footer .pm-brand span,
.pm-footer h3 { color: #fff !important; }
.pm-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.pm-footer .pm-brand { color: #fff; }
.pm-footer p { max-width: 350px; }
.pm-footer h3 { margin: 0 0 15px; color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.pm-footer a { display: block; margin: 9px 0; }
.pm-footer a:hover { color: #fff !important; }
.pm-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 32px 0 10px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .86rem; }
.pm-legal-links a { margin: 0; }
.pm-copyright { margin-top: 45px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

@media (max-width: 980px) {
  .pm-nav { position: relative; }
  .pm-links { display: none; position: absolute; top: calc(100% + 1px); right: 0; width: min(320px, calc(100vw - 28px)); align-items: stretch; flex-direction: column; gap: 0; padding: 14px; border: 1px solid var(--pm-line); border-radius: 0 0 20px 20px; background: #fffdf8; box-shadow: var(--pm-shadow); }
  .pm-links a { padding: 12px 10px; }
  .pm-menu { display: grid; place-items: center; }
  .pm-hero-grid, .pm-feature-grid { grid-template-columns: 1fr; }
  .pm-hero-grid { gap: 42px; }
  .pm-daily-card { max-width: 670px; }
  .pm-product-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-path-grid { grid-template-columns: repeat(2, 1fr); }
  .pm-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .admin-bar .pm-header { top: 46px; }
  .pm-container { width: min(100% - 28px, 1180px); }
  .pm-section { padding: 62px 0; }
  .pm-nav { min-height: 68px; }
  .pm-brand span:last-child { font-size: 1rem; }
  .pm-nav > .pm-btn { display: none; }
  .pm-hero { padding: 62px 0; background-image: linear-gradient(180deg, rgba(255,247,232,.96) 0%, rgba(255,247,232,.90) 58%, rgba(255,247,232,.48) 100%), url('hero-priere-vibrant.png'); background-position: 64% center; }
  .pm-hero h1 { font-size: clamp(2.8rem, 15vw, 4.25rem); }
  .pm-path-grid, .pm-product-grid, .pm-journal-grid, .pm-footer-grid, .pm-cta-card { grid-template-columns: 1fr; }
  .pm-section-head { align-items: start; flex-direction: column; }
  .pm-feature-art { min-height: 310px; }
  .pm-cta-card { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* WooCommerce: catalogue et fiches produits */
.woocommerce-page #secondary { display: none; }
.woocommerce-page #primary { width: 100%; max-width: none; }
.woocommerce-page .site-content { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 88px; }
.woocommerce-page .page-title,
.woocommerce-page .product_title { color: var(--pm-ink); font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.woocommerce-shop .page-title { margin: 0 0 34px; font-size: clamp(2.4rem, 5vw, 4.7rem); }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 28px; color: var(--pm-muted); }
.woocommerce .woocommerce-ordering select { min-height: 46px; padding: 0 42px 0 14px; border: 1px solid var(--pm-line); border-radius: 12px; color: var(--pm-ink); background: #fff; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 14px; margin: 0; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { width: auto; min-width: 0; float: none; margin: 0; padding: 11px; border: 1px solid var(--pm-line); border-radius: 20px; background: #fff; box-shadow: 0 7px 22px rgba(23,32,64,.06); }
.woocommerce ul.products li.product a img { width: 100%; height: 430px; margin: 0 0 12px; padding: 7px; object-fit: contain; border-radius: 14px; background: linear-gradient(145deg, #f6f2ff, #fff1df); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 0; padding: 3px 5px 0; color: var(--pm-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; font-weight: 650; line-height: 1.48; letter-spacing: -.012em; }
.woocommerce ul.products li.product .woocommerce-loop-product__link:hover .woocommerce-loop-product__title { color: var(--pm-green); }
.woocommerce ul.products li.product .price { color: var(--pm-green-dark); font-size: 1.05rem; font-weight: 800; }
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; padding: 12px 18px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--pm-green), #5e4ce3); font-weight: 750; }
.woocommerce ul.products li.product .button { width: 100%; }
.woocommerce span.onsale { min-width: 54px; min-height: 54px; display: grid; place-items: center; margin: 9px !important; padding: 5px; background: var(--pm-coral); }
.single-product div.product { padding: 26px; border: 1px solid var(--pm-line); border-radius: 28px; background: #fff; box-shadow: var(--pm-shadow); }
.single-product div.product .woocommerce-product-gallery img { max-height: 650px; object-fit: contain; }
.single-product div.product .summary { padding: 12px 10px; }
.single-product div.product .product_title { margin: 0 0 20px; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(30px, 3.2vw, 43px); font-weight: 680; line-height: 1.16; letter-spacing: -.035em; }
.single-product div.product .summary .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0 0 24px; color: var(--pm-green-dark); font-size: 24px; font-weight: 800; line-height: 1.3; }
.single-product div.product .summary .price del { color: #8b91a4; font-size: 16px; font-weight: 550; }
.single-product div.product .summary .price ins { text-decoration: none; }
.single-product .woocommerce-product-details__short-description { margin-bottom: 25px; color: var(--pm-muted); font-size: 17px; line-height: 1.72; }
.single-product div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 25px 0; }
.single-product div.product form.cart .quantity .qty { width: 72px; min-height: 52px; border: 1px solid var(--pm-line); border-radius: 13px; color: var(--pm-ink); background: #fff; font-size: 16px; }
.single-product div.product form.cart .button { min-width: 230px; min-height: 52px; margin: 0; font-size: 16px; }
.single-product .product_meta { padding-top: 18px; border-top: 1px solid var(--pm-line); color: var(--pm-muted); font-size: 14px; line-height: 1.7; }
.single-product .woocommerce-tabs,
.single-product .related.products { margin-top: 58px; }
.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; padding: 0 !important; border-bottom: 1px solid var(--pm-line); }
.single-product .woocommerce-tabs ul.tabs::before { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 12px 12px 0 0 !important; background: transparent !important; }
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after { display: none; }
.single-product .woocommerce-tabs ul.tabs li a { padding: 13px 19px !important; color: var(--pm-muted) !important; font-size: 15px; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--pm-green-dark) !important; background: var(--pm-sage); }
.single-product .woocommerce-Tabs-panel { color: var(--pm-muted); font-size: 16px; line-height: 1.75; }
.single-product .woocommerce-Tabs-panel h2,
.single-product .related.products > h2 { color: var(--pm-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.15; }

@media (max-width: 980px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce-page ul.products li.product { width: 100% !important; margin: 0 !important; }
  .woocommerce ul.products li.product a img { height: 390px; }
}

@media (max-width: 600px) {
  .woocommerce-page .site-content { width: min(100% - 28px, 1180px); padding-top: 36px; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .woocommerce ul.products li.product a img { height: 360px; }
  .single-product div.product { padding: 16px; }
  .single-product div.product .summary { padding: 20px 2px 4px; }
  .single-product div.product .product_title { font-size: 30px; }
  .single-product div.product form.cart .button { flex: 1; min-width: 190px; }
}

/* WooCommerce: panier */
.woocommerce-cart .entry-title { margin-bottom: 28px; color: var(--pm-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(34px, 4vw, 50px); font-weight: 700; letter-spacing: -.04em; }
.woocommerce-cart .entry-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr); align-items: start; gap: 24px; }
.woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart .woocommerce-message { margin: 0; padding: 18px 20px 18px 48px; border: 1px solid rgba(53,75,215,.18); border-top: 4px solid var(--pm-green); border-radius: 16px; background: #f4f5ff; color: var(--pm-ink); font-size: 15px; }
.woocommerce-cart .woocommerce-cart-form { overflow: hidden; border: 1px solid var(--pm-line); border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(23,32,64,.06); }
.woocommerce-cart table.shop_table { margin: 0; border: 0; border-collapse: collapse; font-size: 15px; }
.woocommerce-cart table.shop_table th { padding: 16px 12px; color: var(--pm-ink); background: #f3f4ff; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.woocommerce-cart table.shop_table td { padding: 16px 12px; border-top: 1px solid var(--pm-line); vertical-align: middle; }
.woocommerce-cart table.shop_table .product-thumbnail img { width: 72px; height: 96px; object-fit: contain; border-radius: 8px; background: #fff3e5; }
.woocommerce-cart table.shop_table .product-name a { color: var(--pm-ink); font-weight: 680; line-height: 1.45; }
.woocommerce-cart table.shop_table .product-name a:hover { color: var(--pm-green); }
.woocommerce-cart table.shop_table .product-price,
.woocommerce-cart table.shop_table .product-subtotal { white-space: nowrap; color: var(--pm-green-dark); font-weight: 750; }
.woocommerce-cart table.shop_table .quantity .qty { width: 64px; min-height: 46px; border: 1px solid var(--pm-line); border-radius: 11px; }
.woocommerce-cart .coupon { display: flex; gap: 8px; }
.woocommerce-cart .coupon .input-text { width: 145px !important; min-height: 44px; padding: 10px !important; border: 1px solid var(--pm-line) !important; border-radius: 11px; }
.woocommerce-cart table.shop_table button.button { min-height: 44px; border-radius: 999px; color: var(--pm-ink); background: var(--pm-sage); font-weight: 700; }
.woocommerce-cart .cart-collaterals { width: 100%; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; padding: 22px; border: 1px solid var(--pm-line); border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(23,32,64,.06); }
.woocommerce-cart .cart-collaterals .cart_totals h2 { margin: 0 0 18px; color: var(--pm-ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 24px; font-weight: 700; }
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td { padding: 14px 8px; border-top: 1px solid var(--pm-line); font-size: 15px; }
.woocommerce-cart .cart_totals .order-total { color: var(--pm-ink); font-size: 18px; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 18px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; margin: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--pm-coral), var(--pm-magenta)); font-size: 17px; font-weight: 800; }

@media (max-width: 980px) {
  .woocommerce-cart .entry-content > .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-cart .woocommerce-notices-wrapper { grid-column: auto; }
}

@media (max-width: 600px) {
  .woocommerce-cart .woocommerce-cart-form { overflow-x: auto; }
  .woocommerce-cart table.shop_table { min-width: 680px; }
  .woocommerce-cart .cart-collaterals .cart_totals { padding: 18px; }
}

/* WooCommerce: validation de commande */
.woocommerce-checkout .entry-title { margin-bottom: 26px; color: var(--pm-ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(34px, 4vw, 50px); font-weight: 700; letter-spacing: -.04em; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { padding: 17px 20px; border: 1px solid rgba(53,75,215,.18); border-top: 4px solid var(--pm-green); border-radius: 15px; color: var(--pm-ink); background: #f4f5ff; font-size: 15px; }
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(350px, .75fr); align-items: start; gap: 0 28px; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; padding: 25px; border: 1px solid var(--pm-line); border-radius: 22px; background: #fff; box-shadow: 0 8px 28px rgba(23,32,64,.06); }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col-2 { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pm-line); }
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading { color: var(--pm-ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 23px; font-weight: 720; line-height: 1.25; }
.woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0; padding: 22px 22px 16px; border: 1px solid var(--pm-line); border-bottom: 0; border-radius: 22px 22px 0 0; background: #fff; }
.woocommerce-checkout #order_review { grid-column: 2; padding: 0 22px 22px; border: 1px solid var(--pm-line); border-top: 0; border-radius: 0 0 22px 22px; background: #fff; box-shadow: 0 8px 28px rgba(23,32,64,.06); }
.woocommerce-checkout form .form-row { margin: 0 0 17px; }
.woocommerce-checkout form .form-row label { margin-bottom: 7px; color: var(--pm-ink); font-size: 14px; font-weight: 700; }
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single { min-height: 50px; padding: 11px 13px; border: 1px solid #cfd3e1; border-radius: 12px; color: var(--pm-ink); background: #fff; font-size: 16px; }
.woocommerce-checkout form .form-row textarea { min-height: 110px; line-height: 1.5; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 26px; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; }
.woocommerce-checkout #order_review table.shop_table { margin: 0 0 18px; border: 0; border-collapse: collapse; font-size: 14px; }
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td { padding: 13px 7px; border-top: 1px solid var(--pm-line); }
.woocommerce-checkout #order_review table.shop_table .order-total { color: var(--pm-ink); font-size: 17px; }
.woocommerce-checkout #payment { border-radius: 16px; background: #f4f5ff; }
.woocommerce-checkout #payment ul.payment_methods { padding: 18px; border-bottom-color: var(--pm-line); }
.woocommerce-checkout #payment div.payment_box { border-radius: 12px; color: var(--pm-muted); background: #fff; font-size: 14px; line-height: 1.55; }
.woocommerce-checkout #payment div.form-row { padding: 18px; }
.woocommerce-checkout #place_order { width: 100%; min-height: 56px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--pm-coral), var(--pm-magenta)); font-size: 17px; font-weight: 800; }
.woocommerce-checkout #order_review::after { content: "Paiement sécurisé · Vos informations restent confidentielles"; display: block; margin-top: 15px; color: var(--pm-muted); font-size: 12px; line-height: 1.4; text-align: center; }

@media (max-width: 980px) {
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; gap: 24px; }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
  .woocommerce-checkout #order_review_heading { margin-top: 0; }
}

@media (max-width: 600px) {
  .woocommerce-checkout #customer_details { padding: 18px; }
  .woocommerce-checkout #order_review_heading { padding: 18px 18px 14px; }
  .woocommerce-checkout #order_review { padding: 0 18px 18px; }
  .woocommerce-checkout form .form-row-first,
  .woocommerce-checkout form .form-row-last { width: 100%; float: none; }
}

/* Assistant de prière : aperçu d’accueil et accès permanent */
.pm-assistant-preview { background: linear-gradient(135deg, #f4f5ff 0%, #fff8ed 100%); }
.pm-assistant-preview-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: clamp(32px, 6vw, 76px); }
.pm-assistant-preview-copy .pm-lead { max-width: 650px; }
.pm-assistant-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.pm-assistant-benefits span { padding: 9px 13px; border-radius: 999px; color: var(--pm-ink); background: #fff; box-shadow: 0 5px 18px rgba(23,32,64,.07); font-size: 14px; font-weight: 700; }
.pm-assistant-preview-copy > small { display: block; margin-top: 12px; color: var(--pm-muted); }
.pm-assistant-example { position: relative; padding: clamp(25px, 4vw, 40px); border: 1px solid rgba(53,75,215,.16); border-radius: 26px; background: #fff; box-shadow: 0 22px 60px rgba(23,32,64,.12); }
.pm-assistant-example::before { content: "“"; position: absolute; top: 4px; right: 22px; color: rgba(238,72,72,.16); font-family: Georgia,serif; font-size: 96px; line-height: 1; }
.pm-assistant-example p { position: relative; margin: 0 0 18px; color: var(--pm-muted); line-height: 1.65; }
.pm-assistant-example strong { color: var(--pm-ink); }
.pm-assistant-example-label { display: inline-block; padding: 6px 11px; border-radius: 999px; color: #fff !important; background: var(--pm-coral); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pm-assistant-example-ending { margin-bottom: 0 !important; color: var(--pm-ink) !important; font-weight: 750; }
.pm-assistant-example-note { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(7,31,69,.1); color: var(--pm-muted); font-size: 13px; line-height: 1.55; }

.pm-prayer-access { position: fixed; right: 22px; bottom: 22px; z-index: 9998; font-family: Inter,ui-sans-serif,system-ui,sans-serif; }
.pm-prayer-fab { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 12px 18px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg,var(--pm-coral),var(--pm-magenta)); box-shadow: 0 12px 32px rgba(177,37,79,.3); font-size: 14px; font-weight: 800; cursor: pointer; }
.pm-prayer-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(177,37,79,.36); }
.pm-prayer-popover { position: absolute; right: 0; bottom: 66px; width: min(360px,calc(100vw - 32px)); padding: 26px; border: 1px solid rgba(53,75,215,.16); border-radius: 22px; color: var(--pm-ink); background: #fff; box-shadow: 0 22px 65px rgba(23,32,64,.22); }
.pm-prayer-popover[hidden] { display: none; }
.pm-prayer-popover h2 { margin: 6px 24px 10px 0; color: var(--pm-ink); font-family: Georgia,"Times New Roman",serif; font-size: 24px; line-height: 1.15; }
.pm-prayer-popover p { margin: 0 0 18px; color: var(--pm-muted); font-size: 14px; line-height: 1.55; }
.pm-prayer-popover .pm-btn { display: flex; justify-content: center; width: 100%; text-align: center; }
.pm-prayer-popover small { display: block; margin-top: 10px; color: var(--pm-muted); font-size: 11px; text-align: center; }
.pm-prayer-popover-close { position: absolute; top: 11px; right: 12px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: var(--pm-muted); background: #f2f3fa; font-size: 24px; line-height: 1; cursor: pointer; }
.pm-prayer-popover-icon { font-size: 28px; }

@media (max-width: 800px) {
  .pm-assistant-preview-grid { grid-template-columns: 1fr; }
  .pm-prayer-access { right: 14px; bottom: 14px; }
  .pm-prayer-fab { min-height: 48px; padding: 10px 14px; }
  .pm-prayer-popover { bottom: 60px; }
}

@media (max-width: 480px) {
  .pm-prayer-fab span:last-child { font-size: 13px; }
  .pm-prayer-popover { width: calc(100vw - 28px); padding: 22px; }
}
/* Espace intercesseur : retire l'ancien habillage du thème et conserve le module privé. */
body.pm-intercessor-space #content.site-content {
    width: 100%;
    max-width: none;
    padding: 0;
    background: #f5f7fb;
}

body.pm-intercessor-space #primary.content-area {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(28px, 5vw, 70px) 20px;
}

body.pm-intercessor-space #secondary,
body.pm-intercessor-space .breadcrumb-trail,
body.pm-intercessor-space article > .entry-header,
body.pm-intercessor-space article > .post-thumbnail,
body.pm-intercessor-space .addtoany_share_save_container {
    display: none !important;
}

body.pm-intercessor-space #main.site-main,
body.pm-intercessor-space article,
body.pm-intercessor-space .post-content-wrap,
body.pm-intercessor-space .post-content,
body.pm-intercessor-space .entry-content {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.pm-intercessor-space .pem-network {
    margin-top: 0;
    margin-bottom: 0;
}
