@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Paytone+One&display=swap");
/* Native WooCommerce stays responsible for the form and gateway behaviour. */
body.woocommerce,body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account{background:#fffaf5;color:#25211f}
.woocommerce a,.wc-block-components-product-name{color:#8c350d}
.woocommerce button.button.alt,.woocommerce a.button.alt,.wc-block-components-button:not(.is-link){background:#9c390d;color:#fff;border-radius:12px;font-weight:700}
.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover,.wc-block-components-button:not(.is-link):hover{background:#722706;color:#fff}
.wc-block-components-order-summary,.wc-block-components-checkout-step__container{border-radius:14px}
.wc-block-components-order-summary{background:#fff}
.woocommerce :focus-visible,.wc-block-checkout :focus-visible,.wc-block-cart :focus-visible{outline:3px solid #9c390d;outline-offset:3px}
.wc-block-components-text-input input,.wc-block-components-combobox-control input{font-size:16px!important}
.pouff-native-header,.pouff-native-footer{max-width:1200px;margin:auto;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.pouff-native-header{border-bottom:1px solid #edddce}.pouff-native-brand{font-size:26px;font-weight:800;text-decoration:none}
.pouff-native-header nav,.pouff-native-footer nav{display:flex;gap:20px;flex-wrap:wrap}.pouff-native-header a,.pouff-native-footer a{color:#80300d}
.pouff-native-footer{border-top:1px solid #edddce;margin-top:40px}.pouff-native-footer address{font-style:normal}
@media(max-width:600px){.wp-site-blocks>main{padding-inline:16px!important}.wc-block-components-sidebar{min-width:0}.wc-block-components-product-name{overflow-wrap:anywhere}}

/* Checkout: original Pouff prototype palette and cards, native Woo form. */
body.woocommerce-checkout{font-family:"DM Sans",system-ui,sans-serif;background:#fffaf5;color:#25211f;--wp--style--global--wide-size:1120px;--wp--style--global--content-size:1120px}
body.woocommerce-checkout .wp-site-blocks{padding-top:0}
body.woocommerce-checkout main{max-width:1184px;margin:30px auto 64px!important;padding-inline:24px!important}
body.woocommerce-checkout .pouff-checkout-shell{max-width:1120px!important;margin:auto;background:#fffaf5;border:1px solid #efd8c6;border-radius:32px;box-shadow:0 18px 55px #57351e12;overflow:hidden}
.pouff-checkout-intro{padding:28px 32px;border-bottom:1px solid #efd8c6;display:flex;align-items:center;justify-content:space-between;gap:24px}
.pouff-checkout-intro p{margin:0 0 5px;color:#ad4315;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.pouff-checkout-intro h1{font-family:"Paytone One",system-ui,sans-serif;font-size:clamp(28px,4vw,40px);font-weight:400;line-height:1.15;margin:0;color:#25211f}
.pouff-checkout-intro a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:99px;background:#f7dfcc;color:#713716;font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.pouff-checkout-shell>.wc-block-checkout{padding:0!important;margin:0!important;max-width:none!important}
.pouff-checkout-shell .wc-block-components-sidebar-layout{margin:0!important;gap:0;align-items:flex-start}
.pouff-checkout-shell .wc-block-checkout__main{width:62%!important;padding:32px!important;margin:0;min-width:0}
.pouff-checkout-shell .wc-block-checkout__sidebar{width:38%!important;box-sizing:border-box;background:#fff0e5;border:0;border-left:1px solid #efd8c6;border-radius:0;padding:28px 24px!important;min-width:0;top:32px}
.pouff-checkout-shell .wc-block-components-checkout-step{margin-bottom:28px}
.pouff-checkout-shell .wc-block-components-checkout-step__heading{margin-bottom:16px}
.pouff-checkout-shell .wc-block-components-checkout-step__title{font-size:19px;font-weight:800;letter-spacing:-.025em;color:#25211f}
.pouff-checkout-shell .wc-block-components-text-input input,.pouff-checkout-shell .wc-blocks-components-select__container,.pouff-checkout-shell textarea{border:1px solid #d9bda9!important;border-radius:12px!important;background:#fff!important;color:#25211f!important;box-shadow:none!important}
.pouff-checkout-shell .wc-block-components-text-input label,.pouff-checkout-shell .wc-blocks-components-select__label{color:#716051!important}
.pouff-checkout-shell .wc-block-components-text-input.has-error input{border-color:#b32d2e!important}
.pouff-checkout-shell .wc-block-components-address-card{background:#fff;border:1px solid #efd8c6;border-radius:16px;padding:16px}
.pouff-checkout-shell .wc-block-components-radio-control{border-radius:16px;background:#fff;overflow:hidden}
.pouff-checkout-shell .wc-block-components-radio-control__option{padding-top:18px;padding-bottom:18px;min-height:60px}
.pouff-checkout-shell .wc-block-components-radio-control__option-checked,.pouff-checkout-shell .wc-block-components-radio-control-accordion-content{background:#fff0e5}
.pouff-checkout-shell .wc-block-components-radio-control__label,.pouff-checkout-shell .wc-block-components-payment-method-label{font-weight:800}
.pouff-checkout-shell input[type=radio],.pouff-checkout-shell input[type=checkbox]{accent-color:#b64616}
.pouff-checkout-shell .wc-block-components-checkout-order-summary__title-text{font-family:"Paytone One",system-ui,sans-serif;font-size:23px;line-height:1.25;color:#25211f}
.pouff-checkout-shell .wc-block-components-order-summary{background:transparent}
.pouff-checkout-shell .wc-block-components-order-summary-item{padding-block:16px}
.pouff-checkout-shell .wc-block-components-order-summary-item__image img{border-radius:14px;background:#fff}
.pouff-checkout-shell .wc-block-components-order-summary-item__quantity{background:#25211f;color:#fff;border:0;box-shadow:none}
.pouff-checkout-shell .wc-block-components-product-name{font-weight:800;color:#25211f}
.pouff-checkout-shell .wc-block-components-totals-wrapper{border-color:#e5cbb7}
.pouff-checkout-shell .wc-block-components-totals-footer-item{font-size:24px;font-weight:800;color:#25211f}
.pouff-checkout-shell .wc-block-components-checkout-place-order-button{background:#b94314!important;border:0;border-radius:16px!important;min-height:60px;font-size:17px;font-weight:800;box-shadow:0 6px 0 #7c2a10;margin-bottom:8px;width:100%}
.pouff-checkout-shell .wc-block-components-checkout-place-order-button:hover{background:#a13710!important}
.pouff-checkout-shell .wc-block-components-checkout-place-order-button:disabled{opacity:.55}
.pouff-checkout-shell .wc-block-checkout__terms{font-size:12px;line-height:1.6;color:#716051}
.pouff-checkout-shell .wc-block-components-notice-banner{margin:20px!important;border-radius:12px}
.pouff-checkout-shell a:focus-visible,.pouff-checkout-shell button:focus-visible,.pouff-checkout-shell input:focus-visible,.pouff-checkout-shell select:focus-visible{outline:3px solid #b64616!important;outline-offset:3px}
@media(max-width:781px){body.woocommerce-checkout main{padding-inline:12px!important;margin-top:16px!important}.pouff-checkout-intro{padding:22px 20px;gap:12px;flex-wrap:wrap}.pouff-checkout-shell .wc-block-components-sidebar-layout{display:flex;flex-direction:column}.pouff-checkout-shell .wc-block-checkout__main,.pouff-checkout-shell .wc-block-checkout__sidebar{width:100%!important;padding:22px 20px!important}.pouff-checkout-shell .wc-block-checkout__sidebar{position:static!important;border-left:0;border-top:1px solid #efd8c6}.pouff-checkout-shell .wc-block-checkout__main{order:0}.pouff-checkout-shell .wc-block-checkout__sidebar{order:1}body.woocommerce-checkout .pouff-checkout-shell{border-radius:24px}.pouff-checkout-intro a{font-size:12px}}
/* Keep native radio labels and controls vertically aligned. */
.pouff-checkout-shell .wc-block-components-radio-control__option{box-sizing:border-box;display:flex;align-items:center}
.pouff-checkout-shell .wc-block-components-radio-control__option-layout{width:100%}
.pouff-checkout-shell .wc-block-components-radio-control__input{top:50%!important;transform:translateY(-50%)!important;margin-top:0!important}

/* Approved popup-inspired checkout; all order data remains native WooCommerce. */
body.woocommerce-checkout:not(.woocommerce-order-received){background:#776a5c;background:linear-gradient(#30221b99,#30221b99),radial-gradient(at 10% 20%,#ffd99e,#ede2d5 70%)}
body.woocommerce-checkout:not(.woocommerce-order-received) .wp-site-blocks>header{color:#fff;max-width:1184px;margin:auto}
body.woocommerce-checkout:not(.woocommerce-order-received) .wp-site-blocks>header a{color:#fff}
body.woocommerce-checkout .pouff-checkout-shell{background:#fffaf4;box-shadow:0 28px 80px #24150c60;border:0;border-radius:30px}
.pouff-checkout-intro{background:#29231f;padding:26px 32px;color:#fff;border:0}
.pouff-checkout-intro h1{color:#fff;font-size:clamp(25px,3.3vw,34px)}
.pouff-checkout-intro p{color:#ffc75a;font-size:10px;letter-spacing:.18em}
.pouff-checkout-intro a{color:#fff;background:#ffffff12;border:1px solid #ffffff40;border-radius:50%;width:44px;padding:0;font-size:25px}
.pouff-checkout-shell .wc-block-checkout__main{padding:26px 32px!important}
.pouff-checkout-shell .wc-block-checkout__sidebar{background:#fff0e3;position:static!important}
.pouff-checkout-shell .wc-block-components-checkout-step__title{font-family:"Paytone One",sans-serif;font-weight:400;font-size:23px}
.pouff-checkout-shell .wc-block-components-radio-control__option-checked{box-shadow:inset 0 0 0 2px #e9541c!important;border-radius:14px}
.pouff-checkout-shell .wc-block-components-checkout-place-order-button{background:#e9541c!important;box-shadow:0 5px 0 #aa3814;color:#fff;font:800 16px "DM Sans",sans-serif;border:0;border-radius:15px;min-height:58px;cursor:pointer}
.pouff-checkout-shell .wc-block-components-checkout-place-order-button:hover{background:#cd4615!important}
.pouff-checkout-shell .wc-block-components-totals-footer-item{background:#29231f;color:#fff;border-radius:18px;padding:22px!important;margin-top:12px}
.pouff-checkout-shell .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-family:"Paytone One",sans-serif;color:#ffcd65;font-size:28px}
.pouff-checkout-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 32px;border-top:1px solid #eddbcb;background:#fff7ef;color:#80644f;font-size:12px}
.pouff-checkout-footer a{color:#874722}
@media(max-width:1024px){
 body.woocommerce-checkout main{padding-inline:12px!important;margin-top:16px!important}
 .pouff-checkout-intro{padding:22px 20px;flex-wrap:nowrap}
 .pouff-checkout-intro a{flex-shrink:0}
 /* CSS layout keeps React ownership and the original submit event intact. */
 .pouff-checkout-shell .wc-block-components-sidebar-layout{display:flex!important;flex-direction:column!important;gap:0}
 .pouff-checkout-shell .wc-block-checkout__main,.pouff-checkout-shell .wc-block-checkout__form{display:contents!important}
 .pouff-checkout-shell .wc-block-checkout__form> *{box-sizing:border-box;width:calc(100% - 40px);margin:12px 20px 20px;order:1;min-width:0}
 .pouff-checkout-shell .wc-block-checkout__sidebar{width:100%!important;padding:24px 20px!important;order:20!important;border:0;border-top:1px solid #eddbcb;border-radius:0;margin:0}
 .pouff-checkout-shell .wc-block-checkout__terms{order:30!important;margin:0;padding:20px 20px 0;width:100%;background:#fff0e3}
 .pouff-checkout-shell .wc-block-checkout__actions{order:40!important;width:100%;margin:0;padding:20px;background:#fff0e3}
 .pouff-checkout-shell .wc-block-components-checkout-place-order-button{width:100%!important}
 .pouff-checkout-footer{padding:16px 20px}
}
@media(prefers-reduced-motion:no-preference){.pouff-checkout-shell button{transition:background-color .16s,box-shadow .16s}}
@media(max-width:1024px){
 /* Keep the whole recap visible before the final action, instead of Woo's compact accordion. */
 .pouff-checkout-shell .wc-block-components-checkout-order-summary__title{display:none!important}
 .pouff-checkout-shell .wp-block-woocommerce-checkout-order-summary-block::before{content:"Votre commande";display:block;padding:16px;font:24px "Paytone One",sans-serif;color:#29231f}
 .pouff-checkout-shell .wc-block-components-checkout-order-summary__content{display:block!important;height:auto!important;max-height:none!important;visibility:visible!important;overflow:visible!important}
}

/* WooCommerce also mounts a mobile recap inside the actions. Keep our full sidebar recap once, before the final action. */
.pouff-checkout-shell .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper{display:none!important}
