/* THB continuous rounded outline behind the champagne trigger */
@media(max-width:767px){
 html body .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > summary{
  border-radius:7px!important;position:relative!important;z-index:2!important;
 }
 html body .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > nav,
 html body.customer-account-index .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > nav,
 html body.sales-order-history .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > nav{
  top:calc(100% - 8px)!important;padding-top:16px!important;
  border:1px solid #343332!important;
  border-radius:7px!important;
  background:#171719!important;
  overflow-y:auto!important;z-index:1!important;
 }
}

/* Account section corner standard: 7px for gold menu trigger */
@media(max-width:767px){
 html body .col-main details.thb-v3-mobile-menu.thb-shared-account-menu > summary,
 html body.customer-account-index .col-main details.thb-v3-mobile-menu.thb-shared-account-menu > summary,
 html body.sales-order-history .col-main details.thb-v3-mobile-menu.thb-shared-account-menu > summary{
  border-radius:7px!important;
 }
 html body .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > summary{
  border-radius:7px!important;
 }
}

/* Keep button corner radius identical open and closed; section standard 7px */
@media only screen and (max-width:767px) {
 html body.customer-account-index .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > summary,
 html body.sales-order-history .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > summary,
 html body .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > summary,
 html body .col-main details.thb-v3-mobile-menu.thb-shared-account-menu:not([open]) > summary {
  border-radius:7px!important;
 }
 html body .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > nav {
  border-radius:7px!important;
 }
}

/* Final invariant: toggle must not alter the champagne button corners. */
@media(max-width:767px){
 html body .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > summary,
 html body .col-main details.thb-v3-mobile-menu.thb-shared-account-menu:not([open]) > summary,
 html body.customer-account-index .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > summary,
 html body.customer-account-index .col-main details.thb-v3-mobile-menu.thb-shared-account-menu:not([open]) > summary,
 html body.sales-order-history .col-main details.thb-v3-mobile-menu.thb-shared-account-menu[open] > summary,
 html body.sales-order-history .col-main details.thb-v3-mobile-menu.thb-shared-account-menu:not([open]) > summary {
 border-radius:7px!important;border-top-left-radius:7px!important;border-top-right-radius:7px!important;
 border-bottom-left-radius:7px!important;border-bottom-right-radius:7px!important;
 }
}
