/* Native Elementor Pro My Account. Core appearance uses widget controls.
   This file adapts WooCommerce layout. Favorite cards have their own widget assets. */
.bgs-account-shell { color: var(--e-global-color-text); }/* The account frame follows the same 1440px outer measure as archive/product pages. */

.bgs-account-shell .bgs-account-heading p { margin: 0; }
.bgs-account-shell .bgs-account-widget .e-my-account-tab > .woocommerce::before,
.bgs-account-shell .bgs-account-widget .e-my-account-tab > .woocommerce::after { display:none; }

.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-navigation,
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content { float:none; width:100%; min-width:0; margin:0; padding:0; }
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-navigation ul { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--tabs-spacing,2px); margin:0; padding:0; list-style:none; }
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-navigation ul li { width:100%; margin:0; padding:0; }
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-navigation a { min-height:44px; }
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-navigation .is-active a { font-weight:600; }
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content > [class^="woocommerce-MyAccount-content-wrapper"] { background:var(--sections-background-color,#fffdfa);
 border-style:var(--sections-border-type,solid); border-color:var(--sections-border-color,#e0ddd4);
 border-width:var(--sections-border-top-width,1px) var(--sections-border-right-width,1px) var(--sections-border-bottom-width,1px) var(--sections-border-left-width,1px);
 border-radius:var(--sections-border-radius,10px); padding:var(--sections-padding,36px 42px 43px);
}
.bgs-account-shell .bgs-account-section-heading { margin:0 0 25px; padding:0 0 18px; border-bottom:1px solid var(--sections-border-color,#e0ddd4); }
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .bgs-account-section-heading h2 { margin:0; }
.bgs-account-shell .woocommerce-MyAccount-content p { max-width:66ch; }
.bgs-account-shell .woocommerce-MyAccount-content a:not(.button):not(.edit):not(.bgs-account-favorite-link) { text-decoration:underline; text-underline-offset:4px; }
.bgs-account-shell .bgs-account-widget a:focus-visible,
.bgs-account-shell .bgs-account-widget button:focus-visible,
.bgs-account-shell .bgs-account-widget input:focus-visible,
.bgs-account-shell .bgs-account-widget select:focus-visible { outline:2px solid var(--e-global-color-text,#2d2013); outline-offset:3px; }
.bgs-account-shell .woocommerce-info::before, .bgs-account-shell .woocommerce-message::before { display:none; }
.bgs-account-shell .woocommerce-info, .bgs-account-shell .woocommerce-message { padding:18px; margin:0 0 18px; background:var(--e-global-color-secondary,#e4dfd6); border-top:0; color:var(--e-global-color-text); }
.bgs-account-shell .woocommerce-Addresses { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.bgs-account-shell .woocommerce-Addresses::before, .bgs-account-shell .woocommerce-Addresses::after { display:none; }
.bgs-account-shell .woocommerce-Addresses .woocommerce-Address { float:none; width:100%; min-width:0; }
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address-title { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address-title .edit { position:static; float:none; margin:0; text-align:left; }
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address address { margin-top:18px; overflow-wrap:anywhere; }
.bgs-account-shell .woocommerce-MyAccount-content .select2-container { width:100% !important; }
.bgs-account-shell .woocommerce-MyAccount-content input, .bgs-account-shell .woocommerce-MyAccount-content select { min-height:48px; }
.bgs-account-shell .bgs-account-widget button[type=submit], .bgs-account-shell .bgs-account-widget a.button { min-height:46px; }
.bgs-account-shell .bgs-account-widget button.show-password-input { min-width:44px; min-height:44px; padding:0; right:0; }
.bgs-account-shell .bgs-account-widget #customer_login { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; align-items:start; }
.bgs-account-shell .bgs-account-widget #customer_login::before,
.bgs-account-shell .bgs-account-widget #customer_login::after { display:none; }
.bgs-account-shell .bgs-account-widget #customer_login > div { float:none; width:100%; margin:0; min-width:0; }
.bgs-account-shell .bgs-account-widget #customer_login form { margin:0; }
/* Native Tables > Buttons also covers action links in WooCommerce notices. */
.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .woocommerce-MyAccount-content :is(.woocommerce-info,.woocommerce-message) .button {
 display:inline-flex; align-items:center; justify-content:center; float:none;
 min-height:46px; max-width:100%; padding:var(--tables-button-padding,10px 19px);
 border-style:var(--tables-buttons-border-type,none); border-color:var(--tables-buttons-border-color,transparent);
 border-radius:var(--tables-button-border-radius,6px); color:var(--tables-button-normal-text-color,#fff);
 text-align:center; text-decoration:none; white-space:normal; line-height:1.35;
}
.bgs-account-shell table { font-variant-numeric:tabular-nums; }
@media(max-width:1024px) {
 .bgs-account-shell .bgs-account-widget #customer_login { grid-template-columns:minmax(0,1fr); gap:28px; }
}
@media(max-width:767px) {
 .bgs-account-shell .woocommerce-Addresses { grid-template-columns:minmax(0,1fr); }
 .bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-EditAccountForm .form-row-first,
 .bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-EditAccountForm .form-row-last { float:none; width:100%; padding:0; margin-left:0; margin-right:0; }
 .bgs-account-shell .bgs-account-widget table { display:block; overflow-x:auto; max-width:100%; }
 .bgs-account-shell .woocommerce-MyAccount-navigation a { overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce) {
 .bgs-account-shell *, .bgs-account-shell *::before, .bgs-account-shell *::after { transition:none !important; }
}

.bgs-account-shell .bgs-account-widget.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce .woocommerce-Address-title h2 { margin:0; }


/* Pro Forms has padding controls, but no minimum touch-target dimensions or
   button flex alignment. These structural minima preserve the existing UI. */
.bgs-account-shell .bgs-account-widget :is(.woocommerce-EditAccountForm,.woocommerce-address-fields) :is(input:not([type=hidden]),select){min-height:46px}
.bgs-account-shell .bgs-account-widget :is(.woocommerce-EditAccountForm,.woocommerce-address-fields) button.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;white-space:normal;text-align:center;text-decoration:none;cursor:pointer}
