.bby5-my{margin:0 auto;max-width:1000px;padding:44px 24px 70px;color:#26332d}
.bby5-my h2{font-size:clamp(40px,6vw,64px);margin:20px 0 25px}
.bby5-my h3{font-size:30px;margin:20px 0}
.bby5-pass{background:#fffdf8;border:1px solid #d9dfd6;padding:28px;margin:16px 0}
.bby5-pass strong{font-size:22px}.bby5-pass span{float:right;color:#47745d}
.bby5-pass p{margin:15px 0;font-size:16px}.bby5-pass small{color:#617168}
.bby5-my .woocommerce{margin:25px 0}.bby5-redeem-form{margin:12px 0}
.bby5-success{padding:18px;background:#e4f1e7;border:1px solid #abc5b3}
.bby5-video iframe{width:100%;max-width:100%;min-height:350px}
.bby5-my .button{margin:8px 6px 8px 0}
@media(max-width:650px){.bby5-my{padding:30px 18px}.bby5-pass{padding:20px}.bby5-video iframe{min-height:230px}}

/* v0.5.2 : distinct reservation paths on the session detail page */
.bby5-booking-options{margin:32px 0 42px;max-width:780px}
.bby5-booking-options h2{font-size:clamp(26px,3vw,38px);margin:0 0 20px;line-height:1.15}
.bby5-choice{background:#fffdf8;border:1px solid #d7ded4;padding:25px 28px;margin:13px 0}
.bby5-choice-credit{border-color:#638675;background:#f4f8f2}
.bby5-choice h3{font-size:23px;line-height:1.25;margin:0 0 10px;color:#263a30}
.bby5-choice p{font-size:15px;line-height:1.55;margin:0 0 16px}
.bby5-choice .bby5-ticket-form{margin:12px 0 0}
.bby5-choice .bby5-redeem-form{margin:10px 0 0}
.bby5-choice .button{display:inline-block;margin:6px 0}
.bby5-choice .bby5-choice-footnote{font-size:13px;opacity:.75;margin:12px 0 0}
.bby5-login-hint{font-size:15px;margin:12px 0;padding:16px;background:#edf3ed}
@media(max-width:650px){.bby5-choice{padding:20px}.bby5-choice h3{font-size:20px}}

/* v0.5.3 : customer cancellation for credit bookings */
.bby5-booking{display:flex;justify-content:space-between;gap:22px;align-items:center;border:1px solid #d9dfd6;background:#fffdf8;padding:20px 24px;margin:12px 0}
.bby5-booking strong{font-size:18px}.bby5-booking p{margin:5px 0}.bby5-booking small,.bby5-booking-help{color:#647369;font-size:13px}
.bby5-cancel-button{background:transparent;border:1px solid #43685b;border-radius:30px;padding:11px 17px;color:#254b3f;font-size:13px;cursor:pointer;font-weight:600}
.bby5-cancel-button:hover,.bby5-cancel-button:focus{background:#edf4ef}
@media(max-width:650px){.bby5-booking{display:block;padding:18px}.bby5-booking form{margin-top:15px}.bby5-booking-help{display:block;margin-top:12px}}


/* 0.5.7 — shared activity palette in the detailed member area.
   Fallbacks match Studio 3.3.14; the theme's variables take precedence. */
.bby5-my [data-bby-category="studio"],.bby5-reservations [data-bby-category="studio"]{--bby5-cat-bg:#D2E3C8;--bby5-cat-ink:#385B35}
.bby5-my [data-bby-category="zoom"],.bby5-reservations [data-bby-category="zoom"]{--bby5-cat-bg:#CDE0EC;--bby5-cat-ink:#345B73}
.bby5-my [data-bby-category="atelier"],.bby5-reservations [data-bby-category="atelier"]{--bby5-cat-bg:#F5D2B7;--bby5-cat-ink:#97512D}
.bby5-my [data-bby-category="retraite"],.bby5-reservations [data-bby-category="retraite"]{--bby5-cat-bg:#E1D3ED;--bby5-cat-ink:#69517E}
.bby5-reservations .bby5-booking[data-bby-category],.bby5-my .bby5-pass[data-bby-category]{border-left:6px solid var(--bby-cat-bg,var(--bby5-cat-bg));}
.bby5-reservations .bby5-booking[data-bby-category] .bby5-customer-category{display:block;color:var(--bby-cat-ink,var(--bby5-cat-ink));font-size:11px;line-height:1.4;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;}

/* 0.5.11 — visual only: Body Summer access in the detailed member area. */
.bby5-my [data-bby-category="programme"]{--bby5-cat-bg:#F5C6A8;--bby5-cat-ink:#A13D18}
/* Deposit choice follows the existing Babayogga booking cards. */
.bby515-payment-choice{width:100%;border:1px solid #d8dfd4;padding:14px 16px;margin:8px 0 16px;border-radius:8px;display:grid;gap:12px}.bby515-payment-choice legend{font-weight:700;padding:0 6px}.bby515-payment-choice label{display:flex!important;align-items:flex-start!important;gap:10px;cursor:pointer}.bby515-payment-choice input[type=radio]{width:auto!important;margin-top:4px;accent-color:#174c3e}.bby515-payment-choice small{display:block;margin-top:4px;color:#5b6860}.bby515-payment-choice p{margin:0}.bby515-balance{border-top:1px solid #d8dfd4;padding:12px 0;margin-top:8px;flex-basis:100%}.bby515-balance p{font-size:13px;margin:5px 0 10px}.bby515-balance .button{white-space:normal}

/* 0.5.18 — compact billing for ordinary virtual classes only. */
.bby518-simple-checkout .woocommerce form.checkout #customer_details .col-1{float:none;width:100%;max-width:760px;margin:0 auto}
.bby518-simple-checkout .woocommerce form.checkout #customer_details .col-2{float:none;width:100%;margin:0}
.bby518-simple-checkout .bby518-optional{clear:both;margin:12px 0 4px;padding:12px 0;border-top:1px solid #d5ded2;color:#194a40}
.bby518-simple-checkout .bby518-optional summary{cursor:pointer;font-size:14px;font-weight:600;line-height:1.5}
.bby518-simple-checkout .bby518-optional-fields{padding-top:10px;display:flow-root}

/* 0.5.20: secondary navigation and no express checkout on deposit carts. */
.bby520-edit-selection{display:flex;justify-content:flex-end;margin:12px 0 8px;clear:both}
.bby520-edit-selection a{color:#194a40;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.bby520-payment-hint{padding:12px 16px;background:#e4ebe1;border-radius:8px;color:#194a40}
.bby520-partial .wc-block-cart__payment-options,.bby520-partial:not(.bby525-express) .wc-block-components-express-payment,.bby520-partial:not(.bby525-express) .wc-block-components-express-payment-continue-rule,.bby520-partial:not(.bby525-express) #wc-stripe-express-checkout-element,.bby520-partial:not(.bby525-express) #wc-stripe-express-checkout-button-separator,.bby520-partial:not(.bby525-express) #wc-stripe-payment-request-wrapper,.bby520-partial:not(.bby525-express) #wc-stripe-payment-request-button-separator,.bby520-partial #ppc-button,.bby520-partial #ppc-button-ppcp-gateway,.bby520-partial .ppc-button-wrapper{display:none!important}

/* 0.5.21: the cart is for editing, not paying. Scoped fallback for gateways
   or block versions that still render their own express controls. */
.bby521-selection-only .wc-block-cart__payment-options,
.bby521-selection-only .wp-block-woocommerce-cart-express-payment-block,
.bby521-selection-only .wc-block-components-express-payment,
.bby521-selection-only .wc-block-components-express-payment-continue-rule,
.bby521-selection-only #wc-stripe-express-checkout-element,
.bby521-selection-only #wc-stripe-express-checkout-button-separator,
.bby521-selection-only #wc-stripe-payment-request-wrapper,
.bby521-selection-only #wc-stripe-payment-request-button-separator,
.bby521-selection-only .wc-stripe-express-checkout-wrapper,
.bby521-selection-only #ppc-button,
.bby521-selection-only #ppc-button-ppcp-gateway,
.bby521-selection-only .ppc-button-wrapper,
.bby521-selection-only .wc-block-cart__payment-options + .wc-block-components-express-payment-continue-rule{display:none!important}
.bby521-selection-only .wc-block-cart__submit{margin-top:18px}
/* Keep the standard WooCommerce checkout fields and payment fragment. The
   summary is first; the payment panel is visually left on wide screens.
   Small screens keep the native field/submit order, with express above. */
.bby521-classic-layout .bby521-review-summary{clear:both;margin:0 0 24px;min-width:0}
.bby521-classic-layout .bby521-review-summary table{margin-bottom:12px}
.bby521-classic-layout form.checkout #order_review_heading{display:none}
.bby521-classic-layout form.checkout .bby521-payment-heading{margin-top:0}
.bby521-classic-layout form.checkout #customer_details{box-sizing:border-box;min-width:0}
.bby521-classic-layout form.checkout #order_review{min-width:0}
.bby521-classic-layout form.checkout #customer_details .col-1,
.bby521-classic-layout form.checkout #customer_details .col-2{float:none;width:100%;max-width:none;margin:0}
.bby521-classic-layout form.checkout #customer_details .col-2:not(:empty){margin-top:16px}
.bby521-classic-layout form.checkout #customer_details .woocommerce-additional-fields h3{font-size:22px}
.bby521-classic-layout form.checkout::after{content:'';display:table;clear:both}
@media(min-width:1000px){
 .bby521-classic-layout .bby-checkout-page form.checkout #customer_details{float:right;width:48%;clear:none;margin:0 0 24px 0}
 .bby521-classic-layout .bby-checkout-page form.checkout #order_review{float:left;width:48%;clear:none;margin:0 0 24px 0}
 .bby521-classic-layout .bby-checkout-page form.checkout #order_review #payment{width:100%;box-sizing:border-box}
 .bby521-classic-layout .bby-checkout-page form.checkout #order_review #place_order{float:none;width:100%}
}
@media(max-width:999px){
 .bby521-classic-layout form.checkout #customer_details,.bby521-classic-layout form.checkout #order_review{float:none;width:100%;clear:both}
}

.bby521-review-summary .bby521-total{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#e7ede3;color:#194a40;border:1px solid #cbd8cb;border-radius:10px;padding:16px 20px;font-size:16px}
.bby521-review-summary .bby521-total strong{font-size:clamp(22px,3vw,32px);line-height:1.2;text-align:right}
.bby521-review-summary .bby521-review-details{margin:10px 0 0;padding:8px 0;color:#194a40}
.bby521-review-summary .bby521-review-details summary{cursor:pointer;font-size:14px;font-weight:700}
.bby521-review-summary .bby521-review-details table{margin-top:14px}
/* 0.5.22: explicit deposit summary, without replacing native payment totals. */
.bby522-deposit-summary{background:#e7ede3;color:#194a40;border:1px solid #cbd8cb;border-radius:10px;padding:20px 24px;margin:0 0 24px;clear:both}.bby522-deposit-summary h2{margin:0 0 12px}.bby522-deposit-summary p{margin:6px 0}.bby522-deposit-summary a{font-weight:700;text-decoration:underline;display:inline-block;margin-top:10px}

/* 0.5.24: deposit is a scheduled payment, not a discount. */
.bby524-guest-deposit{margin-top:24px;padding-top:20px;border-top:1px solid #d8dfd4}
.bby520-partial .woocommerce dl.variation{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:.55em;row-gap:.25em;align-items:baseline}
.bby520-partial .woocommerce dl.variation dt,.bby520-partial .woocommerce dl.variation dd{float:none!important;clear:none!important;display:block!important;margin:0!important;padding:0!important;line-height:1.5!important;align-self:baseline;min-width:0}
.bby520-partial .woocommerce dl.variation dd p,.bby520-partial .woocommerce dl.variation dd .amount{display:inline;vertical-align:baseline;line-height:inherit;font-size:inherit;margin:0!important}
.bby520-partial .woocommerce table.shop_table td.product-total,.bby520-partial .woocommerce table.shop_table th.product-total,.bby520-partial .woocommerce table.shop_table tfoot td{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.bby520-partial .wc-block-components-product-price__regular,.bby520-partial .wc-block-components-sale-badge{display:none!important}
.bby520-partial .wc_payment_method:not(.payment_method_stripe),.bby520-partial .ppc-button-wrapper,.bby520-partial #ppc-button,.bby520-partial [id^="ppcp-paylater"],.bby520-partial:not(.bby525-express) .wc-stripe-express-checkout-wrapper{display:none!important}
.woocommerce [data-pp-message],.woocommerce .ppcp-paylater-msg,.woocommerce .ppcp-messages,.woocommerce .ppcp-paylater-message,.woocommerce [id^="ppcp-paylater"],.woocommerce [id^="ppc-button-ppcp-paylater"]{display:none!important}
@media(max-width:600px){.bby520-partial .woocommerce dl.variation{grid-template-columns:minmax(0,1fr);row-gap:0}.bby520-partial .woocommerce dl.variation dd{margin-bottom:.4em!important}}
