/* =========================================================================
   YNH — basket, checkout, order received, my account (phase 8).
   Frame: ynh_render_flow() in inc/page-templates.php; content = WooCommerce classic shortcodes.
   Base form / button / table styles: ynh.css (section 4).
   ========================================================================= */

.ynh-flow__head{ display:flex; flex-direction:column; align-items:center; text-align:center; padding:clamp(24px,3vw,44px) 0 clamp(24px,3vw,40px); }
.ynh-flow__head h1{ font-size:clamp(2.2rem,4vw,3.4rem); margin:.9rem 0 0; }
.ynh-flow--account .ynh-flow__head{ align-items:flex-start; text-align:left; }
.ynh-flow__secure{ display:flex; align-items:center; gap:.45rem; font-size:.84rem; color:var(--ynh-ink-soft); margin:.6rem 0 0; }
.ynh-flow__secure svg{ width:15px; height:15px; color:var(--ynh-ok-ink); }

/* steps */
.ynh-steps{ list-style:none; display:flex; align-items:center; gap:.6rem; margin:0; padding:0; font-size:.84rem; color:var(--ynh-ink-soft); flex-wrap:wrap; justify-content:center; }
.ynh-steps li{ display:flex; align-items:center; gap:.5rem; }
.ynh-steps li + li::before{ content:""; width:clamp(18px,4vw,48px); height:1px; background:var(--ynh-line); margin-right:.1rem; }
.ynh-steps a{ display:flex; align-items:center; gap:.5rem; color:inherit; }
.ynh-steps__n{ width:26px; height:26px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--ynh-line); background:var(--ynh-surface); font-size:.76rem; font-weight:600; }
.ynh-steps__n svg{ width:14px; height:14px; }
.ynh-steps .is-on{ color:var(--ynh-ink); font-weight:600; }
.ynh-steps .is-on .ynh-steps__n{ background:var(--ynh-espresso); border-color:var(--ynh-espresso); color:var(--ynh-paper); }
.ynh-steps .is-done .ynh-steps__n{ background:var(--ynh-sage); border-color:var(--ynh-sage); color:#fff; }

.ynh-flow .woocommerce-notices-wrapper:not(:empty){ margin-bottom:1.2rem; }
.ynh-flow .woocommerce h2, .ynh-flow .woocommerce h3{ font-family:var(--ynh-serif); font-weight:500; }

/* shared panel look */
.ynh-flow .cart_totals, .ynh-flow #order_review, .ynh-flow .woocommerce-order-overview, .ynh-flow .woocommerce-MyAccount-navigation, .ynh-flow #customer_login > div, .ynh-flow form.woocommerce-form-login:not(#customer_login form), .ynh-flow form.lost_reset_password{
  background:var(--ynh-surface); border:1px solid var(--ynh-line); border-radius:var(--ynh-r); }

/* ---------- basket ---------- */
.ynh-flow--cart .woocommerce{ display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,400px); gap:clamp(24px,4vw,64px); align-items:start; }
.ynh-flow--cart .woocommerce > *{ grid-column:1; min-width:0; }
.ynh-flow--cart .woocommerce-notices-wrapper{ grid-column:1 / -1 !important; }
.ynh-flow--cart .cart-collaterals{ grid-column:2; grid-row:2 / span 4; position:sticky; top:calc(var(--ynh-adminbar,0px) + var(--ynh-head-h,76px) + 20px); width:auto; }
.ynh-flow--cart .cart-collaterals .cart_totals{ float:none; width:auto; padding:1.4rem; }
.ynh-flow--cart .woocommerce > .ynh-xsell{ grid-column:1 / -1; }
.ynh-flow--cart .cart_totals h2{ font-size:1.5rem; margin:0 0 .8rem; }
.ynh-flow--cart .cart_totals table.shop_table{ border:0; background:none; margin:0; }
.ynh-flow--cart .cart_totals table.shop_table th, .ynh-flow--cart .cart_totals table.shop_table td{ padding:.75rem 0; background:none; }
.ynh-flow--cart .cart_totals table.shop_table th{ text-transform:none; letter-spacing:0; font-size:.9rem; font-weight:500; color:var(--ynh-ink-soft); width:40%; }
.ynh-flow--cart .cart_totals td{ text-align:right; }
.ynh-flow--cart .cart_totals .order-total th, .ynh-flow--cart .cart_totals .order-total td{ font-size:1.15rem; color:var(--ynh-ink); border-top:1px solid var(--ynh-line); padding-top:1rem; }
.ynh-flow--cart .cart_totals .order-total .includes_tax{ display:block; font-size:.76rem; font-weight:400; color:var(--ynh-ink-soft); }
.ynh-flow--cart .woocommerce-shipping-methods{ list-style:none; margin:0; padding:0; }
.ynh-flow--cart .woocommerce-shipping-destination, .ynh-flow--cart .shipping-calculator-button{ font-size:.8rem; color:var(--ynh-ink-soft); }
.ynh-flow--cart .wc-proceed-to-checkout{ padding:1rem 0 0; }
.ynh-flow--cart .wc-proceed-to-checkout .checkout-button{ display:flex; width:100%; justify-content:center; min-height:56px; font-size:1rem; margin:0; }

/* basket lines: the table becomes cards */
.ynh-flow--cart table.cart{ border:0; background:none; border-spacing:0; }
.ynh-flow--cart table.cart thead{ display:none; }
.ynh-flow--cart table.cart tr.cart_item{ display:grid; grid-template-columns:96px minmax(0,1fr) auto auto 36px; grid-template-areas:"img name qty sub rm"; align-items:center; gap:0 1.2rem; padding:1rem 0; border-bottom:1px solid var(--ynh-line); }
.ynh-flow--cart table.cart tr.cart_item td{ border:0; padding:0; background:none !important; }
.ynh-flow--cart table.cart td::before{ display:none !important; }
.ynh-flow--cart td.product-thumbnail{ grid-area:img; }
.ynh-flow--cart td.product-thumbnail img{ width:96px !important; height:96px !important; object-fit:contain; background:#fff; border-radius:var(--ynh-r-sm); padding:6px; }
.ynh-flow--cart td.product-name{ grid-area:name; font-family:var(--ynh-serif); font-size:1.1rem; line-height:1.3; text-align:left !important; }
.ynh-flow--cart td.product-name a{ color:var(--ynh-ink); }
.ynh-flow--cart td.product-name dl.variation, .ynh-flow--cart td.product-name .ynh-cart-meta{ font-family:var(--ynh-sans); font-size:.8rem; color:var(--ynh-ink-soft); margin:.3rem 0 0; }
.ynh-flow--cart td.product-price{ display:none !important; }
.ynh-flow--cart td.product-quantity{ grid-area:qty; }
.ynh-flow--cart td.product-subtotal{ grid-area:sub; font-weight:600; font-variant-numeric:tabular-nums; text-align:right !important; min-width:6.5em; }
.ynh-flow--cart td.product-remove{ grid-area:rm; text-align:right; }
.ynh-flow--cart td.product-remove a.remove{ width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-size:1.3rem; font-weight:400; color:var(--ynh-ink-soft) !important; background:transparent; border:1px solid var(--ynh-line); transition:border-color .2s, color .2s; }
.ynh-flow--cart td.product-remove a.remove:hover{ color:var(--ynh-ink) !important; border-color:var(--ynh-ink); background:transparent; }
.ynh-flow--cart table.cart tr:last-child{ display:block; }
.ynh-flow--cart table.cart td.actions{ display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; padding:1.2rem 0 0; border:0; background:none; }
.ynh-flow--cart td.actions .coupon{ display:flex; gap:.5rem; flex:1; max-width:440px; }
.ynh-flow--cart td.actions .coupon label{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.ynh-flow--cart td.actions .coupon #coupon_code{ flex:1; width:auto !important; }
.ynh-flow--cart td.actions > .button[name="update_cart"]{ margin-left:auto; }
.ynh-flow--cart td.actions > .button[name="update_cart"]:disabled{ opacity:.45; }
.ynh-xsell{ margin-top:clamp(48px,6vw,88px); }
.ynh-flow--cart .cart-empty.woocommerce-info{ grid-column:1 / -1; }
.ynh-flow--cart .return-to-shop{ grid-column:1 / -1; text-align:center; }

/* ---------- checkout ---------- */
.ynh-flow--checkout .woocommerce-form-coupon-toggle, .ynh-flow--checkout .woocommerce-form-login-toggle{ max-width:none; }
.ynh-flow--checkout form.checkout_coupon{ border:1px solid var(--ynh-line); border-radius:var(--ynh-r-sm); background:var(--ynh-surface); padding:1rem 1.2rem; margin:0 0 1.4rem; }
.ynh-flow--checkout form.checkout{ display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,460px); column-gap:clamp(24px,4vw,64px); align-items:start; }
.ynh-flow--checkout form.checkout > *{ grid-column:1 / -1; min-width:0; }
.ynh-flow--checkout form.checkout > #customer_details{ grid-column:1; grid-row:2 / span 2; }
.ynh-flow--checkout form.checkout > #order_review_heading{ grid-column:2; grid-row:2; margin:0; padding:1.4rem 1.4rem .4rem; background:var(--ynh-surface); border:1px solid var(--ynh-line); border-bottom:0; border-radius:var(--ynh-r) var(--ynh-r) 0 0; font-size:1.5rem; }
.ynh-flow--checkout form.checkout > #order_review{ grid-column:2; grid-row:3; border-top:0; border-radius:0 0 var(--ynh-r) var(--ynh-r); padding:0 1.4rem 1.4rem; }
.ynh-flow--checkout #customer_details.col2-set .col-1, .ynh-flow--checkout #customer_details.col2-set .col-2{ float:none; width:auto; }
.ynh-flow--checkout #customer_details h3{ font-size:1.5rem; margin:0 0 1rem; }
.ynh-flow--checkout #customer_details .col-2{ margin-top:1.6rem; }
.ynh-flow--checkout .woocommerce-billing-fields__field-wrapper, .ynh-flow--checkout .woocommerce-shipping-fields__field-wrapper{ display:grid; grid-template-columns:1fr 1fr; gap:0 1rem; }
.ynh-flow--checkout .form-row{ float:none !important; width:auto !important; margin:0 0 1rem; padding:0; }
.ynh-flow--checkout .form-row-wide, .ynh-flow--checkout #billing_address_1_field, .ynh-flow--checkout #billing_address_2_field, .ynh-flow--checkout #shipping_address_1_field, .ynh-flow--checkout #shipping_address_2_field, .ynh-flow--checkout #billing_country_field, .ynh-flow--checkout #shipping_country_field, .ynh-flow--checkout #billing_email_field, .ynh-flow--checkout #billing_company_field, .ynh-flow--checkout #shipping_company_field{ grid-column:1 / -1; }
.ynh-flow--checkout #ship-to-different-address{ font-size:1.05rem; font-family:var(--ynh-sans); font-weight:600; }
.ynh-flow--checkout #ship-to-different-address label{ display:flex; align-items:center; gap:.5rem; cursor:pointer; }
.ynh-flow--checkout .woocommerce-additional-fields h3{ display:none; }
.ynh-flow--checkout .select2-container .select2-selection--single{ height:50px; border:1px solid var(--ynh-line); border-radius:10px; background:#fff; }
.ynh-flow--checkout .select2-container .select2-selection--single .select2-selection__rendered{ line-height:48px; padding-left:.9rem; }
.ynh-flow--checkout .select2-container .select2-selection--single .select2-selection__arrow{ height:48px; right:8px; }
/* order review */
.ynh-flow--checkout table.woocommerce-checkout-review-order-table{ border:0; background:none; margin:0 0 1rem; }
.ynh-flow--checkout .woocommerce-checkout-review-order-table th, .ynh-flow--checkout .woocommerce-checkout-review-order-table td{ padding:.7rem 0; background:none !important; font-size:.92rem; }
.ynh-flow--checkout .woocommerce-checkout-review-order-table thead{ display:none; }
.ynh-flow--checkout .woocommerce-checkout-review-order-table .cart_item td.product-name{ font-family:var(--ynh-serif); font-size:1rem; }
.ynh-flow--checkout .woocommerce-checkout-review-order-table .product-quantity{ font-family:var(--ynh-sans); font-weight:600; color:var(--ynh-ink-soft); }
.ynh-flow--checkout .woocommerce-checkout-review-order-table td.product-total, .ynh-flow--checkout .woocommerce-checkout-review-order-table tfoot td{ text-align:right; font-variant-numeric:tabular-nums; }
.ynh-flow--checkout .woocommerce-checkout-review-order-table tfoot th{ text-transform:none; letter-spacing:0; font-weight:500; color:var(--ynh-ink-soft); }
.ynh-flow--checkout .woocommerce-checkout-review-order-table .order-total th, .ynh-flow--checkout .woocommerce-checkout-review-order-table .order-total td{ font-size:1.15rem; color:var(--ynh-ink); border-top:1px solid var(--ynh-line); }
.ynh-flow--checkout .woocommerce-checkout-review-order-table .includes_tax{ display:block; font-size:.76rem; font-weight:400; color:var(--ynh-ink-soft); }
.ynh-flow--checkout .woocommerce-shipping-methods{ list-style:none; margin:0; padding:0; }
/* payment */
.ynh-flow--checkout #payment{ background:none; border-radius:0; }
.ynh-flow--checkout #payment ul.payment_methods{ border:0; padding:0; margin:0 0 1rem; list-style:none; }
.ynh-flow--checkout #payment ul.payment_methods > li{ border:1px solid var(--ynh-line); border-radius:var(--ynh-r-sm); background:#fff; padding:.9rem 1rem; margin:0 0 .5rem; }
.ynh-flow--checkout #payment ul.payment_methods > li > label{ font-weight:600; cursor:pointer; }
.ynh-flow--checkout #payment ul.payment_methods > li img{ max-height:22px; vertical-align:middle; margin-left:.3rem; }
.ynh-flow--checkout #payment div.payment_box{ background:var(--ynh-paper); color:var(--ynh-ink-soft); border-radius:10px; font-size:.86rem; margin:.8rem 0 0; padding:.9rem; }
.ynh-flow--checkout #payment div.payment_box::before{ display:none; }
.ynh-flow--checkout #payment .place-order{ padding:0 !important; margin:0; }
.ynh-flow--checkout .woocommerce-terms-and-conditions-wrapper{ font-size:.82rem; color:var(--ynh-ink-soft); }
.ynh-flow--checkout .woocommerce-privacy-policy-text p{ margin:0 0 .8rem; }
.ynh-flow--checkout #place_order{ width:100%; min-height:58px; font-size:1.02rem; float:none; margin-top:.6rem; }

/* ---------- order received ---------- */
.ynh-flow--received .woocommerce-order{ max-width:880px; margin:0 auto; }
.ynh-flow--received .woocommerce-thankyou-order-received{ text-align:center; font-family:var(--ynh-serif); font-size:1.35rem; color:var(--ynh-ink); margin:0 0 1.6rem; }
.ynh-flow--received ul.woocommerce-order-overview{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:0; list-style:none; margin:0 0 2rem; padding:0; overflow:hidden; }
.ynh-flow--received ul.woocommerce-order-overview li{ float:none; margin:0; padding:1.1rem 1.2rem; border:0; border-right:1px solid var(--ynh-line); font-size:.72rem; font-weight:600; text-transform:uppercase; letter-spacing:.12em; color:var(--ynh-ink-soft); }
.ynh-flow--received ul.woocommerce-order-overview li:last-child{ border-right:0; }
.ynh-flow--received ul.woocommerce-order-overview li strong{ display:block; margin-top:.35rem; font-size:1rem; font-weight:600; letter-spacing:0; text-transform:none; color:var(--ynh-ink); }
.ynh-flow--received .woocommerce-order-details, .ynh-flow--received .woocommerce-customer-details{ margin-top:2rem; }
.ynh-flow--received .woocommerce-order-details__title, .ynh-flow--received .woocommerce-column__title{ font-size:1.5rem; }
.ynh-flow--received .woocommerce-customer-details address{ border:1px solid var(--ynh-line); border-radius:var(--ynh-r-sm); background:var(--ynh-surface); padding:1rem 1.2rem; font-style:normal; }

/* ---------- my account ---------- */
.ynh-flow--account .woocommerce{ display:grid; grid-template-columns:260px minmax(0,1fr); gap:clamp(24px,4vw,64px); align-items:start; }
.ynh-flow--account .woocommerce > *{ grid-column:1 / -1; min-width:0; }
.ynh-flow--account .woocommerce > .woocommerce-MyAccount-navigation{ grid-column:1; float:none; width:auto; padding:.6rem; position:sticky; top:calc(var(--ynh-adminbar,0px) + var(--ynh-head-h,76px) + 20px); }
.ynh-flow--account .woocommerce > .woocommerce-MyAccount-content{ grid-column:2; float:none; width:auto; }
.ynh-flow--account .woocommerce-MyAccount-navigation ul{ list-style:none; margin:0; padding:0; }
.ynh-flow--account .woocommerce-MyAccount-navigation a{ display:block; padding:.7rem .9rem; border-radius:10px; font-size:.92rem; font-weight:500; color:var(--ynh-ink-soft); }
.ynh-flow--account .woocommerce-MyAccount-navigation a:hover{ background:var(--ynh-paper); color:var(--ynh-ink); }
.ynh-flow--account .woocommerce-MyAccount-navigation .is-active a{ background:var(--ynh-espresso); color:var(--ynh-paper); }
.ynh-flow--account .woocommerce-MyAccount-content > p:first-child{ font-size:1.05rem; }
.ynh-flow--account .woocommerce-MyAccount-content a:not(.button){ color:var(--ynh-clay-ink); text-decoration:underline; text-underline-offset:2px; }
.ynh-flow--account .woocommerce-Addresses{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.ynh-flow--account .woocommerce-Addresses .woocommerce-Address{ float:none; width:auto; border:1px solid var(--ynh-line); border-radius:var(--ynh-r-sm); background:var(--ynh-surface); padding:1.2rem; }
.ynh-flow--account .woocommerce-Addresses::before, .ynh-flow--account .woocommerce-Addresses::after{ display:none; }
/* logged out: sign in + register */
.ynh-flow--account #customer_login{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(16px,2vw,28px); max-width:980px; }
.ynh-flow--account #customer_login::before, .ynh-flow--account #customer_login::after{ display:none; }
.ynh-flow--account #customer_login > div{ float:none; width:auto; padding:clamp(1.2rem,2.4vw,2rem); }
.ynh-flow--account #customer_login h2, .ynh-flow--account form.woocommerce-form-login h2{ font-size:1.6rem; margin:0 0 1rem; }
.ynh-flow--account #customer_login form{ border:0; padding:0; margin:0; }
.ynh-flow--account form.woocommerce-form-login:not(#customer_login form){ max-width:520px; padding:clamp(1.2rem,2.4vw,2rem); }
.ynh-flow--account .woocommerce-form-login__rememberme{ display:flex; align-items:center; gap:.5rem; font-size:.88rem; margin:0 0 1rem; }
.ynh-flow--account .woocommerce-form-login__submit, .ynh-flow--account .woocommerce-form-register__submit{ width:100%; min-height:52px; float:none; margin:0; }
.ynh-flow--account .lost_password{ font-size:.86rem; margin:1rem 0 0; }
.ynh-flow--account .lost_password a{ color:var(--ynh-clay-ink); text-decoration:underline; }
.ynh-flow--account form.lost_reset_password{ max-width:560px; padding:clamp(1.2rem,2.4vw,2rem); }
.ynh-flow--account .woocommerce-privacy-policy-text{ font-size:.8rem; color:var(--ynh-ink-soft); }
/* orders table */
.ynh-flow--account table.woocommerce-orders-table .button{ padding:.5em 1em; font-size:.8rem; }

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .ynh-flow--cart .woocommerce, .ynh-flow--checkout form.checkout, .ynh-flow--account .woocommerce{ grid-template-columns:1fr; }
  .ynh-flow--cart .cart-collaterals{ grid-column:1; grid-row:auto; position:static; }
  .ynh-flow--checkout form.checkout > #customer_details, .ynh-flow--checkout form.checkout > #order_review_heading, .ynh-flow--checkout form.checkout > #order_review{ grid-column:1; grid-row:auto; }
  .ynh-flow--checkout form.checkout > #order_review_heading{ margin-top:2rem; }
  .ynh-flow--account .woocommerce > .woocommerce-MyAccount-navigation{ grid-column:1; position:static; }
  .ynh-flow--account .woocommerce > .woocommerce-MyAccount-content{ grid-column:1; }
  .ynh-flow--account .woocommerce-MyAccount-navigation ul{ display:flex; overflow-x:auto; gap:.3rem; scrollbar-width:none; }
  .ynh-flow--account .woocommerce-MyAccount-navigation li{ flex:none; }
}
@media (max-width:767px){
  .ynh-flow--cart table.cart tr.cart_item{ grid-template-columns:76px minmax(0,1fr) auto 34px; grid-template-areas:"img name name rm" "img qty sub sub"; gap:.5rem .9rem; }
  .ynh-flow--cart td.product-thumbnail{ display:block !important; }
  .ynh-flow--cart td.product-thumbnail img{ width:76px !important; height:76px !important; }
  .ynh-flow--cart table.cart tr.cart_item td{ display:block; text-align:left !important; }
  .ynh-flow--cart td.product-subtotal{ text-align:right !important; min-width:0; }
  .ynh-flow--cart table.cart, .ynh-flow--cart table.cart tbody{ display:block; width:100%; }
  .ynh-flow--cart td.actions .coupon{ max-width:none; width:100%; }
  .ynh-flow--cart td.actions .coupon #coupon_code{ min-width:0; }
  .ynh-flow--cart td.actions .coupon .button{ flex:none; padding-left:1.1em; padding-right:1.1em; }
  .ynh-flow--cart td.actions > .button[name="update_cart"]{ width:100%; }
  .ynh-flow--checkout .woocommerce-billing-fields__field-wrapper, .ynh-flow--checkout .woocommerce-shipping-fields__field-wrapper{ grid-template-columns:1fr; }
  .ynh-flow--checkout form.checkout > #order_review_heading{ padding:1.1rem 1.1rem .3rem; }
  .ynh-flow--checkout form.checkout > #order_review{ padding:0 1.1rem 1.1rem; }
  .ynh-flow--received ul.woocommerce-order-overview{ grid-template-columns:1fr 1fr; }
  .ynh-flow--received ul.woocommerce-order-overview li{ border-bottom:1px solid var(--ynh-line); }
  .ynh-flow--account #customer_login, .ynh-flow--account .woocommerce-Addresses{ grid-template-columns:1fr; }
  .ynh-steps{ font-size:.76rem; gap:.4rem; }
  .ynh-steps li + li::before{ width:14px; }
}

/* totals / review tables: hairlines between rows only, amounts hug the right edge */
.ynh-flow .cart_totals table.shop_table, .ynh-flow .woocommerce-checkout-review-order-table{ border-collapse:collapse; width:100%; }
.ynh-flow .cart_totals table.shop_table th, .ynh-flow .cart_totals table.shop_table td,
.ynh-flow .woocommerce-checkout-review-order-table th, .ynh-flow .woocommerce-checkout-review-order-table td{ border:0 !important; border-bottom:1px solid var(--ynh-line) !important; }
.ynh-flow .cart_totals tr:last-child > *, .ynh-flow .woocommerce-checkout-review-order-table tr:last-child > *{ border-bottom:0 !important; }
.ynh-flow .woocommerce-checkout-review-order-table td.product-total{ white-space:nowrap; padding-left:1rem; }
.ynh-flow .woocommerce-checkout-review-order-table tfoot td{ min-width:8em; }
.ynh-flow .woocommerce-checkout-review-order-table td small, .ynh-flow .cart_totals td small{ display:block; font-size:.74rem; color:var(--ynh-ink-soft); font-weight:400; }

/* signed out (registration off → a single login card): centred under the "Sign in" H1, no duplicate "Login" h2 */
body:not(.logged-in) .ynh-flow--account .ynh-flow__head{ align-items:center; text-align:center; }
.ynh-flow--account .woocommerce > h2{ display:none; }
body:not(.logged-in) .ynh-flow--account .woocommerce > form, body:not(.logged-in) .ynh-flow--account #customer_login{ margin-left:auto; margin-right:auto; width:100%; }

/* order received opened without a session: Woo asks for the billing e-mail */
.ynh-flow--received form.woocommerce-verify-email{ max-width:560px; margin:0 auto; background:var(--ynh-surface); border:1px solid var(--ynh-line); border-radius:var(--ynh-r); padding:clamp(1.2rem,2.4vw,2rem); }
.ynh-flow--received form.woocommerce-verify-email .button{ width:100%; min-height:52px; }
.ynh-flow--received .woocommerce > p:not([class]){ text-align:center; color:var(--ynh-ink-soft); }
@media (max-width:480px){
  .ynh-steps{ flex-wrap:nowrap; }
  .ynh-steps li:not(.is-on) .ynh-steps__l{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
}
