/* Scoped to ATD account, checkout and native Store API cart. Never hide page overflow. */
.atdp-account-layout #primary{margin-block-start:0!important;width:100%;min-width:0}
.atdp-account-layout #content.site-content{margin-top:0!important}
.atdp-account-layout .woocommerce:has(>.woocommerce-MyAccount-navigation),.atdp-account-layout .woocommerce:has(>.atdp-account-menu){display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:clamp(18px,3vw,36px);width:100%;min-width:0}
.atdp-account-layout .woocommerce:has(>.woocommerce-MyAccount-navigation):before,.atdp-account-layout .woocommerce:has(>.atdp-account-menu):before,.atdp-account-layout .woocommerce:has(>.woocommerce-MyAccount-navigation):after,.atdp-account-layout .woocommerce:has(>.atdp-account-menu):after{display:none}
.atdp-account-layout .woocommerce-MyAccount-navigation,.atdp-account-layout .woocommerce-MyAccount-content{width:100%!important;min-width:0;max-width:100%;float:none!important;margin:0!important;padding:0}
.atdp-account-layout .woocommerce-MyAccount-navigation ul{list-style:none;padding:8px;margin:0;border:1px solid #dfe7f2;border-radius:18px;background:#f5f7fc}
.atdp-account-layout .woocommerce-MyAccount-navigation li{border:0;padding:0;margin:2px 0}
.atdp-account-layout .woocommerce-MyAccount-navigation a{display:block;padding:12px 14px;border-radius:10px;color:#34466a;text-decoration:none;font-size:14px;overflow-wrap:anywhere}
.atdp-account-layout .woocommerce-MyAccount-navigation .is-active a{background:#263e78;color:#fff;font-weight:650}
.atdp-account-layout .woocommerce-MyAccount-navigation a:hover{background:#e5ebf9;color:#1b315f}
.atdp-account-menu{min-width:0}.atdp-account-menu>summary{display:none}
.atdp-account-layout .atdp-panel{width:100%;margin:0;box-shadow:0 10px 36px #20386008}
.atdp-panel .learndash-wrapper,.atdp-panel #ld-profile,.atdp-panel .ld-item-list,.atdp-panel .ld-item-list-item,.atdp-panel .ld-item-list-item-preview,.atdp-panel .ld-item-list-item-expanded,.atdp-panel .ld-course-list,.atdp-panel .ld-course-list-items{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
.atdp-panel .ld-item-list-item{border:1px solid #dce5f3;border-radius:14px;margin:12px 0;background:#fff}
.atdp-panel .ld-item-list-item-preview{padding:18px;gap:12px;flex-wrap:wrap}
.atdp-panel .ld-item-name,.atdp-panel .ld-item-title{min-width:0;overflow-wrap:anywhere}
.atdp-panel .ld-item-details{margin-inline-start:0;flex-wrap:wrap;gap:8px}
.atdp-panel .ld-profile-summary{max-width:100%}
.atdp-panel .ld-progress{border-radius:12px;background:#f3f6fc;padding:14px;max-width:100%;min-width:0}
.atdp-panel .ld-progress-bar{min-width:0}
.atdp-panel .ld-course-list .ld-search-prompt{padding:14px;background:#f4f7fc;border-radius:12px;max-width:100%}
.atdp-panel .ld-search-form{display:flex;flex-wrap:wrap;gap:10px;max-width:100%}
.atdp-panel .ld-search-form input{min-width:0;max-width:100%;box-sizing:border-box}
.atdp-panel .ld-search-form input[type=search],.atdp-panel .ld-search-form input[type=text]{flex:1 1 180px;min-height:44px}
.atdp-panel .ld-button{min-height:42px;white-space:normal;max-width:100%}
.atdp-panel .ld-item-list-actions{display:flex;flex-wrap:wrap;gap:8px}
.atdp-panel .ld-item-list-actions button,.atdp-panel .ld-search-form button,.atdp-panel .ld-search-form input[type=submit]{border:1px solid #cad7ef;border-radius:9px;background:#edf3ff;color:#274b8c;padding:10px 14px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;min-height:42px;cursor:pointer}
.atdp-account-layout :focus-visible{outline:3px solid #397bff!important;outline-offset:3px}
.atdp-account-layout .woocommerce-MyAccount-content table{table-layout:fixed;width:100%;overflow-wrap:anywhere}
/* Elementor and Astra containers shrink at the source of overflow, on checkout only. */
.atdp-checkout-layout #primary,.atdp-checkout-layout #main,.atdp-checkout-layout .entry-content,.atdp-checkout-layout .woocommerce,.atdp-checkout-layout .elementor,.atdp-checkout-layout .e-con,.atdp-checkout-layout .e-con-inner,.atdp-checkout-layout .elementor-column,.atdp-checkout-layout .elementor-widget,.atdp-checkout-layout .elementor-widget-container{min-width:0;max-width:100%;box-sizing:border-box}
.atdp-checkout-layout #content>.ast-container{box-sizing:border-box;min-width:0}
.atdp-checkout-layout #primary{width:100%;margin-top:0}
.atdp-checkout-layout .woocommerce form.checkout{width:100%;min-width:0;box-sizing:border-box}
.atdp-checkout-layout .woocommerce form.checkout .col2-set>.col-1,.atdp-checkout-layout .woocommerce form.checkout .col2-set>.col-2{float:none;width:100%;max-width:100%;min-width:0}
.atdp-checkout-layout .e-checkout__container .col2-set,.atdp-checkout-layout .e-checkout__container #order_review,.atdp-checkout-layout .e-checkout__container #order_review_heading{width:100%!important;float:none!important;margin-inline:0!important}
.atdp-checkout-layout .woocommerce form.checkout input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.atdp-checkout-layout .woocommerce form.checkout select,.atdp-checkout-layout .woocommerce form.checkout textarea{box-sizing:border-box;max-width:100%;width:100%;min-width:0}
.atdp-checkout-layout .woocommerce form.checkout .form-row{min-width:0;box-sizing:border-box}
.atdp-checkout-layout .woocommerce form.checkout .select2-container{max-width:100%;width:100%!important;min-width:0}
.atdp-checkout-layout .woocommerce-checkout-review-order{min-width:0;box-sizing:border-box}
.atdp-checkout-layout .woocommerce-checkout-review-order-table{width:100%!important;table-layout:fixed;overflow-wrap:anywhere}
.atdp-checkout-layout .woocommerce-checkout-review-order-table .product-name{width:62%}
.atdp-checkout-layout .woocommerce-checkout-review-order-table th,.atdp-checkout-layout .woocommerce-checkout-review-order-table td{padding:14px 10px;white-space:normal;vertical-align:top}
.atdp-checkout-layout .woocommerce-checkout-review-order-table .amount{white-space:normal}
.atdp-checkout-layout #payment,.atdp-checkout-layout #payment .payment_box,.atdp-checkout-layout #payment .place-order,.atdp-checkout-layout .wc-stripe-elements-field{box-sizing:border-box;min-width:0;max-width:100%}
.atdp-checkout-layout #place_order{width:100%;min-height:48px;white-space:normal}
.atdp-checkout-layout .wc-block-checkout,.atdp-checkout-layout .wc-block-components-main,.atdp-checkout-layout .wc-block-components-sidebar,.atdp-checkout-layout .wc-block-components-checkout-step__container{min-width:0;box-sizing:border-box;max-width:100%}
.atdp-checkout-layout .wc-block-components-product-name,.atdp-checkout-layout .wc-block-components-product-metadata{overflow-wrap:anywhere}
.atdp-checkout-layout .wc-block-components-checkout-place-order-button{width:100%;white-space:normal}
@media(max-width:767px){
 .atdp-account-layout .woocommerce:has(>.woocommerce-MyAccount-navigation),.atdp-account-layout .woocommerce:has(>.atdp-account-menu){grid-template-columns:minmax(0,1fr);gap:18px}
 .atdp-account-menu{border:1px solid #dfe7f2;border-radius:14px;background:#f5f7fc}
 .atdp-account-menu>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px;color:#243b63;font-weight:650;font-size:14px;cursor:pointer;list-style:none}
 .atdp-account-menu>summary::-webkit-details-marker{display:none}.atdp-account-menu>summary:after{content:'⌄';font-size:20px}.atdp-account-menu[open]>summary:after{transform:rotate(180deg)}
 .atdp-account-menu .woocommerce-MyAccount-navigation ul{border:0;border-radius:0 0 14px 14px}
 .atdp-account-layout .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .atdp-account-layout .woocommerce-MyAccount-navigation a{padding:10px;font-size:13px}
 .atdp-panel .ld-section-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.atdp-panel .ld-item-list-item-preview{padding:14px}.atdp-panel .ld-item-list-item-expanded{padding-inline:10px}.atdp-panel .ld-course-list .ld-search-prompt{padding:12px}
}
@media(max-width:1023px){
 .atdp-checkout-layout #content>.ast-container{padding-inline:12px;max-width:100%;width:100%}
 .atdp-checkout-layout .elementor-section>.elementor-container{flex-wrap:wrap;min-width:0}
 .atdp-checkout-layout .elementor-widget-woocommerce-checkout-page{--sections-padding:16px;--sections-column-gap:0px;--sections-row-gap:20px}
 .atdp-checkout-layout .woocommerce form.checkout,.atdp-checkout-layout .woocommerce form.checkout .col2-set,.atdp-checkout-layout .woocommerce form.checkout #order_review{display:block!important;width:100%!important;float:none!important;margin-inline:0!important;padding-inline:0;min-width:0}
 .atdp-checkout-layout .woocommerce form.checkout .col-1,.atdp-checkout-layout .woocommerce form.checkout .col-2,.atdp-checkout-layout .woocommerce form.checkout .form-row-first,.atdp-checkout-layout .woocommerce form.checkout .form-row-last{float:none!important;width:100%!important;margin-inline:0!important;max-width:100%;min-width:0}
 .atdp-checkout-layout .e-checkout__container{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 .atdp-checkout-layout .e-checkout__column,.atdp-checkout-layout .e-checkout__column-inner{width:100%!important;min-width:0;max-width:100%;position:static!important}
 .atdp-checkout-layout .woocommerce-billing-fields,.atdp-checkout-layout .woocommerce-shipping-fields,.atdp-checkout-layout .woocommerce-additional-fields,.atdp-checkout-layout .e-checkout__order_review{padding:16px!important;min-width:0;box-sizing:border-box}
 .atdp-checkout-layout .woocommerce form.checkout .form-row{padding:4px 0;margin-bottom:12px}
 .atdp-checkout-layout .woocommerce form.checkout input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.atdp-checkout-layout .woocommerce form.checkout select{font-size:16px;min-height:44px}
 .atdp-checkout-layout #payment ul.payment_methods,.atdp-checkout-layout #payment .place-order{padding:16px}
 .atdp-checkout-layout #payment .payment_box{padding:14px}
 .atdp-checkout-layout .wc-block-components-sidebar-layout{display:flex;flex-direction:column;gap:20px}
 .atdp-checkout-layout .wc-block-components-main,.atdp-checkout-layout .wc-block-components-sidebar{width:100%!important;flex-basis:auto!important;margin:0;padding-inline:0}
 .atdp-checkout-layout .wc-block-components-checkout-step{padding-inline:0}
}
.atdp-cart-dialog{inset:0 0 0 auto;margin:0;width:min(460px,100%);height:100dvh;max-height:100dvh;max-width:100%;padding:0;border:0;border-radius:24px 0 0 24px;background:#fff;color:#23334e;font:15px/1.5 Inter,system-ui,sans-serif;box-shadow:-16px 0 70px #111d3430}
.atdp-cart-dialog[open]{display:flex;flex-direction:column;animation:atdpDrawer .24s ease}
.atdp-cart-dialog::backdrop{background:#111e38a8;backdrop-filter:blur(3px)}
.atdp-cart-dialog *{box-sizing:border-box}.atdp-cart-dialog [hidden]{display:none!important}
.atdp-cart-dialog header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #e1e7f0;gap:12px}
.atdp-cart-dialog h2{color:#172e54;font:700 24px/1.25 Inter,system-ui,sans-serif;margin:0}
.atdp-cart-dialog button{font:inherit;cursor:pointer}.atdp-cart-close{background:#f0f3fa;border:0;border-radius:50%;width:44px;height:44px;font-size:24px!important;color:#293c5c;flex-shrink:0}
.atdp-cart-body{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:0 24px}
.atdp-cart-status{font-size:13px;min-height:20px;margin:12px 24px;color:#526784}.atdp-cart-status.is-error{color:#a22035}
.atdp-cart-items{list-style:none;padding:0;margin:0}.atdp-cart-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;padding:20px 0;border-bottom:1px solid #e6ecf4}
.atdp-cart-item img{width:64px;height:64px;object-fit:cover;border-radius:12px;background:#eff3fb}.atdp-cart-item h3{font:650 15px/1.4 Inter,system-ui,sans-serif;color:#213555;margin:0 0 6px;overflow-wrap:anywhere}.atdp-cart-item a{color:inherit;text-decoration:none}
.atdp-cart-meta{font-size:12px;color:#5a6d87;margin:4px 0;overflow-wrap:anywhere}.atdp-cart-price{font-weight:650;margin:8px 0}
.atdp-cart-item form{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:12px 0 0}.atdp-cart-item label{font-size:12px;width:100%}.atdp-cart-item input{width:65px;min-height:40px;border:1px solid #b9c9df;background:#fff;color:#23334e;border-radius:8px;padding:6px;font:inherit;min-width:0}
.atdp-cart-item button{border:1px solid #d1dcee;background:#edf2fb;color:#294c87;padding:8px 10px;border-radius:8px;min-height:40px;font-size:12px}.atdp-cart-remove{margin-top:8px;background:transparent!important;color:#9a2940!important;border:0!important;text-decoration:underline}
.atdp-cart-dialog footer{padding:18px 24px max(20px,env(safe-area-inset-bottom));border-top:1px solid #dde5f1;background:#f7f9fd}
.atdp-cart-totals{margin:0 0 12px}.atdp-cart-totals>div{display:flex;justify-content:space-between;gap:16px;margin:6px 0;font-size:13px}.atdp-cart-totals dd{margin:0;font-weight:650;text-align:right}.atdp-cart-totals>div:last-child{font-size:16px;padding-top:8px;border-top:1px solid #dfe7f4}
.atdp-cart-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.atdp-cart-actions .atdp-button{font-size:13px;text-align:center;min-width:0;text-decoration:none}
.atdp-cart-note{font-size:11px;color:#556b89;margin:12px 0 0}.atdp-cart-empty{text-align:center;padding:40px 6px}.atdp-cart-empty h3{font-size:20px;color:#294263}.atdp-cart-dialog :disabled{cursor:wait;opacity:.55}.atdp-cart-dialog :focus-visible{outline:3px solid #397bff;outline-offset:3px}.atdp-cart-retry{margin:0 24px 12px;align-self:flex-start;border:0;border-radius:8px;padding:8px 12px}
@keyframes atdpDrawer{from{transform:translateX(24px);opacity:.4}to{transform:none;opacity:1}}
@media(max-width:375px){.atdp-cart-body{padding-inline:16px}.atdp-cart-dialog header,.atdp-cart-dialog footer{padding-inline:16px}.atdp-cart-item{grid-template-columns:52px minmax(0,1fr);gap:10px}.atdp-cart-item img{width:52px;height:52px}.atdp-cart-dialog h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.atdp-cart-dialog{animation:none!important;scroll-behavior:auto!important}}
