/* Primary/secondary actions invert on hover, consistently across device sizes. */
body.single-product .myedin-shop-product .summary button.single_add_to_cart_button.myedin-buy-now,body.single-product .custom-sticky-footer .sticky-product-buttons button.sticky-buy-now{background:var(--myedin-accent)!important;color:var(--myedin-on-accent)!important;border-color:var(--myedin-accent)!important}
body.single-product .myedin-shop-product .summary button.single_add_to_cart_button.myedin-buy-now:hover,body.single-product .custom-sticky-footer .sticky-product-buttons button.sticky-buy-now:hover{background:var(--myedin-brand)!important;color:var(--myedin-on-brand)!important;border-color:var(--myedin-brand)!important}
body.single-product .myedin-shop-product .summary .single_add_to_cart_button:not(.myedin-buy-now),body.single-product .custom-sticky-footer .sticky-add-to-cart{background:var(--myedin-brand)!important;color:var(--myedin-on-brand)!important;border:1px solid var(--myedin-brand)!important}
body.single-product .myedin-shop-product .summary .myedin-buy-now,body.single-product .custom-sticky-footer .sticky-buy-now,body.single-product .myedin-product-help-link{background:var(--myedin-accent)!important;color:var(--myedin-on-accent)!important;border:1px solid var(--myedin-accent)!important}
body.single-product .myedin-shop-product .summary .single_add_to_cart_button:not(.myedin-buy-now):hover,body.single-product .custom-sticky-footer .sticky-add-to-cart:hover{background:var(--myedin-accent)!important;color:var(--myedin-on-accent)!important;border-color:var(--myedin-accent)!important}
body.single-product .myedin-shop-product .summary .myedin-buy-now:hover,body.single-product .custom-sticky-footer .sticky-buy-now:hover,body.single-product .myedin-product-help-link:hover{background:var(--myedin-brand)!important;color:var(--myedin-on-brand)!important;border-color:var(--myedin-brand)!important}
.myedin-product-help{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.myedin-product-help a{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 14px;min-height:36px;border-radius:24px;font-size:13px;font-weight:600;text-decoration:none}.myedin-product-preferred-link{background:#fff;color:var(--myedin-heading-text);border:1px solid var(--myedin-brand)}
/* Native review forms, distributions and individual ratings use the LMS palette. */
body.single-product p.stars a{color:var(--myedin-success)!important}body.single-product .star-rating:before{color:var(--myedin-border)!important}body.single-product .star-rating span:before{color:var(--myedin-success)!important}
.myedin-shop-stars{display:inline-flex;gap:3px;vertical-align:middle}.myedin-shop-stars>span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:3px;color:white}.myedin-shop-stars i{font-size:13px;color:white!important}
/* One scroll owner for both Course and Test purchase cards. */
.myedin-product-sidebar :is(.tutor-course-details-widget,.tutor-course-sidebar-card,.tutor-card-body,.tutor-card-footer,.myedin-product-purchase-body){max-height:none!important;height:auto!important;overflow:visible!important}
.myedin-course-product .myedin-product-sidebar .tutor-course-details-widget{position:static!important;top:auto!important}
.myedin-product .myedin-product-hero{background:var(--myedin-accent)!important;border-color:var(--myedin-border)!important;color:var(--myedin-on-accent)}
.myedin-product .myedin-product-hero :is(h1,.myedin-course-hero-title,.myedin-product-breadcrumb){color:var(--myedin-on-accent)!important}
body.single-product p.stars a{display:inline-flex;width:28px;height:28px;border-radius:3px;margin-right:4px;background:var(--myedin-border);color:white!important;align-items:center;justify-content:center}
body.single-product p.stars a:before{position:static!important;color:white!important}
body.single-product p.stars.selected a{background:var(--myedin-review-selection,var(--myedin-success))}
body.single-product p.stars.selected a.active~a{background:var(--myedin-border)}
.myedin-product-hero .tutor-meta>*,.myedin-product-hero .myedin-product-facts>*,.myedin-product-hero .myedin-product-badges>*{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:20px;background:#fff;border:1px solid var(--myedin-border);font-size:12px;color:var(--myedin-heading-text)}
/* Main account rows share a left baseline and brand circles on every device. */
body .myedin-account-accordion summary,body .myedin-account-accordion .myedin-account-main-link{display:flex!important;align-items:center;justify-content:flex-start;gap:12px!important;padding:12px!important;text-align:left;color:var(--myedin-heading-text)!important}
body .myedin-account-accordion .myedin-account-menu-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--myedin-brand)!important;color:white!important;padding:10px;box-sizing:border-box}
body .myedin-account-accordion .myedin-account-menu-icon i,body .myedin-account-accordion .myedin-account-menu-icon svg{color:white!important;width:16px;height:16px;font-size:16px}
body .myedin-account-accordion .myedin-account-menu-icon span{color:white!important;font-size:16px;line-height:1}
body .myedin-account-accordion .myedin-account-menu-icon{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important}
body .myedin-account-accordion .myedin-account-menu-chevron{margin-left:auto}
body .account-bottom-sheet :is(.myedin-mobile-account-group>summary,.myedin-account-main-link,.logout-item){display:flex;align-items:center;justify-content:flex-start;gap:12px;text-align:left;padding:12px}
body .account-bottom-sheet :is(.myedin-account-menu-icon,.account-item-icon){display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px!important;height:36px!important;min-width:36px;max-width:36px;min-height:36px;max-height:36px;box-sizing:border-box;border-radius:50%;background:var(--myedin-brand)!important;color:white!important;padding:10px}
body .account-bottom-sheet :is(.myedin-account-menu-icon,.account-item-icon)>*{color:white!important;font-size:16px;line-height:1}
body .account-bottom-sheet .myedin-account-menu-chevron{margin-left:auto}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--myedin-brand)!important;color:var(--myedin-on-brand)!important}
/* Inline purchase actions replace the duplicate bottom actions while visible. */
body.single-product:has(.myedin-inline-actions-visible) .custom-sticky-footer .sticky-product-buttons{display:none!important}
