/* Stage 5: the purchase/account journey, after the shared mobile foundation. */
body.drku-system.drku-stage5 { --drku5-line:#cbdedc; --drku5-soft:#eef6f4; --drku5-ink:#194d57; }
body.drku-system.drku-stage5 #primary { margin-block:32px 56px; }
body.drku-system.drku-stage5 .woocommerce :is(p,li,h2,h3,th,td) { overflow-wrap:anywhere; }
body.drku-system.drku-stage5 .woocommerce :is(.button,button,input,select) { max-width:100%; }
body.drku-system.drku-stage5 .woocommerce :is(.button,button) { white-space:normal; line-height:1.5; height:auto; min-height:48px; text-transform:none; letter-spacing:0; }
body.drku-system.drku-stage5 .woocommerce :is(input,select,textarea,.select2-selection,a,button) { scroll-margin-block:100px; }
body.drku-system.drku-stage5 .woocommerce :is(a,button,input,select,textarea,[tabindex]):focus-visible,
body.drku-system.drku-stage5 .woocommerce-error:focus { outline:3px solid #16798d; outline-offset:4px; }
body.drku-system.drku-stage5 .woocommerce :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) { border-radius:8px; line-height:1.65; }
body.drku-system.drku-stage5 .woocommerce .drkc-overlap a { display:inline; min-height:0; padding:0; margin:0; }
body.drku-system.drku-stage5 .woocommerce .woocommerce-error a { text-decoration:underline; text-underline-offset:3px; }
body.drku-system.drku-stage5 .woocommerce .woocommerce-error li + li { margin-top:8px; }
body.drku-system.drku-stage5 :is(.drku5-continue,.drku5-back) a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
body.drku-system.drku-stage5 .woocommerce .woocommerce-cart-form :is(.coupon input,.coupon button) { margin:0; min-height:48px; }
body.drku-system.drku-stage5 .woocommerce .woocommerce-cart-form .coupon { display:flex; flex-wrap:wrap; gap:10px; align-items:start; }
body.drku-system.drku-stage5 .woocommerce .woocommerce-cart-form .coupon input { width:220px; }
body.drku-system.drku-stage5 .woocommerce-cart-form .coupon label { position:static!important; clip:auto!important; clip-path:none!important; width:100%!important; height:auto!important; overflow:visible!important; margin:0; font-weight:600; color:var(--drku5-ink); }
body.drku-system.drku-stage5 .woocommerce .wc-proceed-to-checkout a.checkout-button { display:flex; width:100%; justify-content:center; align-items:center; margin:0; padding:14px 16px; }
body.drku-system.drku-stage5 .woocommerce .cart_totals { border-color:var(--drku5-line); }
body.drku-system.drku-stage5 .woocommerce .cart_totals h2 { font-size:24px; line-height:1.3; padding:20px; }
body.drku-system.drku-stage5 .woocommerce .cart_totals .order-total { color:var(--drku5-ink); font-weight:600; }
body.drku-system.drku-stage5 .woocommerce :is(.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.woocommerce-EditAccountForm) { border:1px solid var(--drku5-line); border-radius:16px; padding:24px; background:#fff; }
body.drku-system.drku-stage5 .woocommerce form .form-row :is(input.input-text,textarea,select) { min-height:48px; font-size:16px; border:1px solid #9bb9be; border-radius:8px; background:#fff; }
body.drku-system.drku-stage5 .woocommerce form .form-row input[type=password],
body.drku-system.drku-stage5 .woocommerce form .password-input input { padding-right:56px; }
body.drku-system.drku-stage5 .woocommerce form .show-password-input { display:flex; justify-content:center; align-items:center; width:44px; min-height:44px; padding:0; right:3px; top:50%; transform:translateY(-50%); translate:none; margin:0; }
body.drku-system.drku-stage5 .woocommerce-form-login__rememberme { display:flex!important; align-items:center; gap:8px; min-height:44px; }
body.drku-system.drku-stage5 .woocommerce-form-login__rememberme input { flex-shrink:0; }
body.drku-system.drku-stage5 .woocommerce-MyAccount-navigation ul { margin:0; padding:8px; border:1px solid var(--drku5-line); border-radius:12px; background:#fff; }
body.drku-system.drku-stage5 .woocommerce-MyAccount-navigation li { border:0; list-style:none; margin:0; }
body.drku-system.drku-stage5 .woocommerce-MyAccount-navigation li a { display:flex; align-items:center; min-height:48px; padding:12px; color:var(--drku5-ink); border-radius:8px; line-height:1.5; }
body.drku-system.drku-stage5 .woocommerce-MyAccount-navigation li.is-active a { background:var(--drku5-soft); font-weight:600; text-decoration:underline; text-underline-offset:4px; }
body.drku-system.drku-stage5 .woocommerce-MyAccount-content { min-width:0; }
body.drku-system.drku-stage5 .woocommerce-MyAccount-content .drkm-entry { padding:20px; border:1px solid var(--drku5-line); border-radius:12px; background:var(--drku5-soft); }
body.drku-system.drku-stage5 .woocommerce-MyAccount-content .drkm-entry small { display:block; margin-top:10px; font-size:14px; line-height:1.6; }
body.drku-system.drku-stage5 .woocommerce-MyAccount-content .drkm-entry a { max-width:100%; }
body.drku-system.drku-stage5 .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button { display:inline-flex; margin:4px 8px 4px 0; align-items:center; justify-content:center; }
body.drku-system.drku-stage5 .woocommerce-EditAccountForm fieldset { margin:24px 0; padding:20px 0 0; border:0; border-top:1px solid var(--drku5-line); }
body.drku-system.drku-stage5 .woocommerce-EditAccountForm legend { font-size:20px; color:var(--drku5-ink); padding-right:12px; }
body.drku-system.drku-stage5 .drk-library-heading { display:grid; grid-template-columns:72px minmax(0,1fr); align-items:start; gap:16px; padding:20px; }
body.drku-system.drku-stage5 .drk-library-heading .drk-library-cover { width:72px; height:72px; }
body.drku-system.drku-stage5 .drk-library-heading h2 { font-size:22px; line-height:1.4; }
body.drku-system.drku-stage5 .drk-audio-tracks { padding:0 20px; }
body.drku-system.drku-stage5 .drk-audio-tracks li { padding:20px 0; }
body.drku-system.drku-stage5 .drk-download-link { display:inline-flex; align-items:center; min-height:44px; }
body.drku-system.drku-stage5 .drk-track-title::before { content:none; }
body.drku-system.drku-stage5 .woocommerce .drkco-checkout { min-width:0; }
body.drku-system.drku-stage5 .woocommerce-checkout :is(#order_review,#order_review_heading) { border-color:var(--drku5-line); }
body.drku-system.drku-stage5 .woocommerce-checkout #order_review .order-total { font-size:18px; color:var(--drku5-ink); }
body.drku-system.drku-stage5 .woocommerce-checkout .woocommerce-billing-fields h3 { margin-top:8px; }
body.drku-system.drku-stage5 .woocommerce .checkout_coupon { padding:20px; border:1px solid var(--drku5-line); border-radius:12px; background:#fff; }
body.drku-system.drku-stage5 .woocommerce .checkout_coupon label { position:static!important; clip:auto!important; clip-path:none!important; width:auto!important; height:auto!important; overflow:visible!important; }
@media(max-width:768px) {
 body.drku-system.drku-stage5 .woocommerce-MyAccount-navigation { float:none; width:100%; margin-bottom:24px; }
 body.drku-system.drku-stage5 .woocommerce-MyAccount-navigation ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
 body.drku-system.drku-stage5 .woocommerce-MyAccount-navigation li a { height:100%; font-size:14px; padding:10px; }
 body.drku-system.drku-stage5 .woocommerce-MyAccount-content { float:none; width:100%; }
 body.drku-system.drku-stage5 .woocommerce-cart-form tr.cart_item { grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:12px!important; padding:16px!important; }
 body.drku-system.drku-stage5 .woocommerce-cart-form tr.cart_item td.product-thumbnail { grid-column:1; }
 body.drku-system.drku-stage5 .woocommerce-cart-form tr.cart_item td.product-name { grid-column:2/-1; font-size:16px!important; padding-right:44px!important; }
 body.drku-system.drku-stage5 .woocommerce-cart-form tr.cart_item td.product-price { grid-column:1/3; }
 body.drku-system.drku-stage5 .woocommerce-cart-form tr.cart_item td.product-quantity { grid-column:3/5; }
 body.drku-system.drku-stage5 .woocommerce-cart-form tr.cart_item :is(td.product-price,td.product-quantity) { flex-wrap:wrap; gap:4px; font-size:14px; }
 body.drku-system.drku-stage5 .woocommerce-cart-form tr.cart_item td.product-subtotal { grid-column:1/-1; }
 body.drku-system.drku-stage5 .woocommerce .woocommerce-cart-form .coupon { display:grid; grid-template-columns:minmax(0,1fr); }
 body.drku-system.drku-stage5 .woocommerce .woocommerce-cart-form .coupon :is(input,button) { width:100%; }
 body.drku-system.drku-stage5 .woocommerce .woocommerce-cart-form button[name=update_cart] { margin-top:16px; }
 body.drku-system.drku-stage5 .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before { float:none; display:block; margin-bottom:8px; }
}
@media(max-width:600px) {
 body.drku-system.drku-stage5 #primary { margin-block:24px 40px; }
 body.drku-system.drku-stage5 .woocommerce :is(.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.woocommerce-EditAccountForm) { padding:20px 16px; }
 body.drku-system.drku-stage5 .woocommerce form :is(.form-row-first,.form-row-last) { width:100%; float:none; }
 body.drku-system.drku-stage5 .woocommerce :is(.woocommerce-form-login__submit,.woocommerce-form-register__submit,.woocommerce-ResetPassword button,.woocommerce-EditAccountForm button[name=save_account_details]) { width:100%; margin:8px 0 0; }
 body.drku-system.drku-stage5 .woocommerce .checkout_coupon .button { width:100%; margin:0; }
 body.drku-system.drku-stage5 .drk-library-heading { padding:16px; gap:12px; }
 body.drku-system.drku-stage5 .drk-library-heading h2 { font-size:18px; }
 body.drku-system.drku-stage5 .drk-audio-tracks { padding-inline:16px; }
 body.drku-system.drku-stage5 .woocommerce #payment #place_order { padding:14px 12px; min-height:52px; }
 body.drku-system.drku-stage5 .woocommerce .woocommerce-info .button { float:none; display:flex; justify-content:center; margin:12px 0 0; }
}

body.drku-system.drku-stage5 .woocommerce .drkc-overlap { display:block; }
body.drku-system.drku-stage5 .woocommerce-cart-form .coupon label { display:block; }
/* Unitless leading follows text-only enlargement instead of the theme's
   inherited pixel line-height. Never clip long descriptions to a fixed height. */
body.drku-system.drku-stage5 #primary .entry-content > p,
body.drku-system.drku-stage5 .woocommerce :is(p,li,th,td,label,legend,.description,small) { line-height:1.6; }
body.drku-system.drku-stage5 .woocommerce .woocommerce-EditAccountForm em { font-style:normal; line-height:1.6; }
/* A price is one unit of information. Let product names wrap around the
   amount's intrinsic width instead of breaking digits or currency symbols. */
body.drku-system.drku-stage5 .woocommerce .amount,
body.drku-system.drku-stage5 .woocommerce-checkout-review-order-table th.product-total { white-space:nowrap; overflow-wrap:normal; }
body.drku-system.drku-stage5 .woocommerce-cart-form .coupon label { display:block!important; }
body.drku-system.drku-stage5 #order_review .product-name { overflow-wrap:anywhere; }
@media(max-width:600px) {
 /* Keep the real table headers available to assistive technology. Visually,
    each recording gets the full line before its price, including at 200%. */
 body.drku-system.drku-stage5 #order_review table.woocommerce-checkout-review-order-table,
 body.drku-system.drku-stage5 #order_review table.woocommerce-checkout-review-order-table :is(tbody,tfoot) { display:block; width:100%; }
 body.drku-system.drku-stage5 #order_review table.woocommerce-checkout-review-order-table thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; }
 body.drku-system.drku-stage5 #order_review .woocommerce-checkout-review-order-table tr { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 12px; border-top:1px solid var(--drku5-line); padding-block:12px; }
 body.drku-system.drku-stage5 #order_review .woocommerce-checkout-review-order-table :is(th,td) { display:block; border:0; padding:0; width:auto; }
 body.drku-system.drku-stage5 #order_review .woocommerce-checkout-review-order-table td.product-name { flex-basis:100%; margin-bottom:8px; }
 body.drku-system.drku-stage5 #order_review .woocommerce-checkout-review-order-table td.product-total { margin-left:auto; padding-left:0; }
 body.drku-system.drku-stage5 #order_review .woocommerce-checkout-review-order-table tfoot th { flex:1 1 auto; overflow-wrap:normal; }
 body.drku-system.drku-stage5 #order_review .woocommerce-checkout-review-order-table tfoot td { margin-left:auto; padding-left:0; }
}
