/* ==========================================================================
   BlackSpace – My Account styles (WoodMart)
   Scope: WooCommerce account pages only
   Version: 1.1.3 (mobile full-width content fix + all prior tweaks)
   ========================================================================== */

/* --- Sidebar shell --- */
body.woocommerce-account .wd-my-account-sidebar {
  padding: 0 !important;
  width: 100% !important;         /* mobile default; desktop override below */
  max-width: 100% !important;
  background-color: #E6E6E6;
  margin-bottom: 20px;
  border: none;
}

/* --- Base wrapper (mobile first) --- */
body.woocommerce-account .woocommerce-my-account-wrapper {
  display: block; /* mobile stacks naturally; desktop overrides further down */
  margin-inline: auto !important;
  gap: 20px;
}

/* --- Avatar + user info --- */
body.woocommerce-account .tgwc-user-avatar {
  display: flex;
  flex-direction: row;
  column-gap: 20px;
  align-items: center;
  padding-bottom: 10px; /* space under avatar block */
}

body.woocommerce-account .tgwc-user-avatar img {
  border-radius: 50%;
}

/* Icon before user info link (generic) */
/* Logout button: full width + perfectly centered contents */
body.woocommerce-account .tgwc-user-info { width: 100%; }

body.woocommerce-account .tgwc-user-info .button {
  display: flex;                 /* center icon + text */
  align-items: center;           /* vertical centering */
  justify-content: center;       /* horizontal centering */
  gap: 8px;                      /* space between icon and text */
  width: 100%;                   /* match nav button width */
  border-radius: 10px;
  margin: 10px 0 0;
  text-align: center;
  line-height: 1.2;
  padding: 12px 16px;
}

/* Reset the big % margin on pseudo-icon only for this button */
body.woocommerce-account .tgwc-user-info .button:before { margin-right: 0; }

/* --- Primary navigation: VERTICAL STACK (top-level only) --- */
body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap > ul {
  display: block !important;          /* ensure vertical stack for top-level */
  margin-bottom: 30px !important;
  padding: 0;
  list-style: none;
}

body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap > ul > li {
  display: block;
}

body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap > ul > li + li {
  margin-top: 6px;                    /* gap between buttons */
}

body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap ul li a {
  display: block;                     /* full-width clickable button */
  white-space: nowrap;                /* keep label on one line */
  padding: 8px 20px !important;
  background: #fff;
  border: 1px solid #cecece !important;
  box-shadow: 1px 1px 10px #cecece;
  border-radius: 10px;                /* 10px on all buttons */
  color: #000;
}

body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap ul li a:hover {
  color: #B0743E;
}

/* --- Hide duplicate Logout inside navigation panel ONLY --- */
body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap
  li.woocommerce-MyAccount-navigation-link--customer-logout {
  display: none !important;
}

/* --- Submenu behavior: keep inside flow (no overlay) --- */
body.woocommerce-account .woocommerce-MyAccount-navigation-link { position: relative; }

/* Keep submenus participating in normal flow; DO NOT force display here */
body.woocommerce-account .woocommerce-MyAccount-navigation-link a + ul {
  position: static !important;   /* previously absolute */
  z-index: auto !important;
  width: 100% !important;
  margin-top: 6px;
}

body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap ul li ul {
  position: static !important;
  width: 100%;
}

body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap ul li ul li a {
  display: block;
  white-space: nowrap;
  width: 100%;
  border-radius: 10px;            /* 10px radius for submenu buttons too */
}

/* Active state: white text for active items (top-level + submenu) */
body.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active > a,
body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap a[aria-current="page"],
body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap ul li.is-active > a {
  background-color: var(--wd-link-color) !important;
  color: #fff !important;
  border-color: var(--wd-link-color) !important;
}

/* Sidebar title bar */
body.woocommerce-account .wd-my-account-sidebar h3 {
  padding-top: 13px;
  margin-bottom: 0 !important;
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
  box-shadow: 1px 0 2px gainsboro;
  position: relative;
}

/* Sidebar nav container */
body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation {
  padding-top: 20px !important;
  border: 1px solid gainsboro;
}

/* --- Content area defaults (mobile-first) --- */
body.woocommerce-account .woocommerce-MyAccount-content {
  flex-basis: 100%;
  max-width: 100%;
  width: 100%;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link span {
  margin-right: 5px;
}

/* --- Submenu (sidebar style look) --- */
body.woocommerce-account .tgwc-woocommerce-customize-my-account 
#tgwc-woocommerce[data-menu-style="sidebar"] ul li ul li a {
  background-color: transparent;
  width: 100%;                        /* contained in sidebar */
  color: #fff;
  box-shadow: none;
  border-radius: 10px;
  border: none !important;
  border-bottom: 1px solid rgb(68, 68, 68) !important;
  margin: 0 !important;
}

body.woocommerce-account .tgwc-woocommerce-customize-my-account 
#tgwc-woocommerce[data-menu-style="sidebar"] ul li ul li a:hover {
  background-color: #b0743f;
}

body.woocommerce-account .tgwc-woocommerce-customize-my-account 
#tgwc-woocommerce[data-menu-style="sidebar"] ul li ul {
  background: #000;
  padding: 0;
  border: 1px solid gray;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 6px;
}

/* Smart 1-col grid when no notices/reset-password form present */
body.woocommerce-account .tgwc-woocommerce-customize-my-account 
#tgwc-woocommerce:not(:has(>.woocommerce-notices-wrapper)):not(:has(>.woocommerce-ResetPassword)) {
  display: grid !important;
  grid-template-columns: 1fr;
}

/* ==========================================================================
   DESKTOP (>=769px): Auto-detect the true parent that contains sidebar + content
   and force a 2-column layout there (beats theme grid/flex/inline variables)
   ========================================================================== */
@media (min-width: 769px) {
  /* Find any container that has BOTH direct children:
     .wd-my-account-sidebar  AND  .woocommerce-MyAccount-content */
  body.woocommerce-account :where(div,section,main,article)
  :where(div,section,main,article):has(> .wd-my-account-sidebar):has(> .woocommerce-MyAccount-content),
  body.woocommerce-account :where(div,section,main,article):has(> .wd-my-account-sidebar):has(> .woocommerce-MyAccount-content) {
    display: grid !important;
    grid-template-columns: minmax(240px, max-content) 1fr; /* sidebar auto, content fills */
    column-gap: 20px;
    align-items: start;
  }

  /* Pin the two children into column 1 and 2 respectively */
  body.woocommerce-account :where(div,section,main,article):has(> .wd-my-account-sidebar):has(> .woocommerce-MyAccount-content) > .wd-my-account-sidebar {
    grid-column: 1 !important;
    align-self: start;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    order: 0 !important;
  }

  body.woocommerce-account :where(div,section,main,article):has(> .wd-my-account-sidebar):has(> .woocommerce-MyAccount-content) > .woocommerce-MyAccount-content {
    grid-column: 2 !important;
    align-self: start;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    float: none !important;
    flex: none !important;
    flex-basis: auto !important;
    order: 1 !important;
  }

  /* If a standalone nav-wrap is also a direct child, keep it in the sidebar column */
  body.woocommerce-account :where(div,section,main,article):has(> .wd-my-account-sidebar):has(> .woocommerce-MyAccount-content) > .tgwc-woocommerce-MyAccount-navigation-wrap {
    grid-column: 1 !important;
  }

  /* Neutralize WoodMart grid widths on these two specifically */
  body.woocommerce-account :where(div,section,main,article):has(> .wd-my-account-sidebar):has(> .woocommerce-MyAccount-content)
  > .wd-my-account-sidebar.wd-grid-col,
  body.woocommerce-account :where(div,section,main,article):has(> .wd-my-account-sidebar):has(> .woocommerce-MyAccount-content)
  > .woocommerce-MyAccount-content.wd-grid-col {
    width: auto !important;
    max-width: none !important;
  }

  /* Keep labels single-line */
  body.woocommerce-account .tgwc-woocommerce-MyAccount-navigation-wrap ul li a {
    white-space: nowrap;
  }
}

/* ==========================================================================
   MOBILE (<=768px): full-width content, reset all floats/grid on parent + children
   ========================================================================== */
@media (max-width: 768px) {
  /* Force the real parent (that holds both sidebar + content) back to block layout */
  body.woocommerce-account :where(div,section,main,article):has(> .wd-my-account-sidebar):has(> .woocommerce-MyAccount-content) {
    display: block !important;       /* stack */
    grid-template-columns: none !important;
    grid-auto-flow: unset !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
  }

  /* Ensure both children span full width and aren't floated or grid-placed */
  body.woocommerce-account .wd-my-account-sidebar,
  body.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    grid-column: auto !important;
    grid-area: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    flex-basis: 100% !important;
    min-width: 0 !important;
  }

  body.woocommerce-account .woocommerce-my-account-wrapper {
    display: block; /* revert to block on mobile */
    margin-inline: 0 !important;
  }

  body.woocommerce-account .wd-my-account-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 30px !important;
  }

  body.elementor-template-full-width .row > [data-elementor-type] {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  /* Title icons (hamburger / close) using Font Awesome */
  body.woocommerce-account h3.woocommerce-MyAccount-title.entry-title:before {
    content: "\f0c9";                 /* FA: bars (hamburger) */
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    position: absolute;
    right: 15px;
  }

  body.woocommerce-account h3.woocommerce-MyAccount-title.entry-title:after {
    content: "\f00d";                 /* FA: times (close) */
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 13px;
  }

  body.woocommerce-account .wd-my-account-sidebar h3:after { display: none; }

  body.woocommerce-account .wd-my-account-sidebar .tgwc-woocommerce-MyAccount-navigation,
  body.woocommerce-account .wd-my-account-sidebar.hide-menu h3:before {
    display: none;
  }

  body.woocommerce-account .wd-my-account-sidebar.hide-menu .tgwc-woocommerce-MyAccount-navigation,
  body.woocommerce-account .wd-my-account-sidebar.hide-menu h3:after {
    display: block;
  }

  /* Content full width on mobile (explicit) */
  body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    display: block !important;
  }
}

/* =========================================================
   Safety patch: ensure My Account sidebar/nav is visible
   on desktop even if theme layout gets weird
   ========================================================= */
@media (min-width: 992px) {
  /* Make sure the main layout is actually a flex row */
  body.woocommerce-account .wd-my-account-layout {
    display: flex !important;
    align-items: flex-start;
  }

  /* Ensure the sidebar column actually has width + is visible */
  body.woocommerce-account .wd-my-account-sidebar {
    display: block !important;
    width: 260px !important;
    max-width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Ensure the actual Woo My Account nav is visible */
  body.woocommerce-account nav.woocommerce-MyAccount-navigation {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* 2) My Account base tweaks === */
#tgwc-woocommerce > div > div.woocommerce-MyAccount-content > form > input.woocommerce-button.button {
	border-radius: 50px;
}
#tgwc-woocommerce > div > div.woocommerce-MyAccount-content > form > input.woocommerce-button.button:hover {
	background-color: #b0743e !important;
}
.woocommerce-Addresses address, .woocommerce-Addresses h3, .woocommerce-Addresses a {
	color: black;
	font-style: normal;
}
@media only screen and (max-width: 992px) {
	.main-page-wrapper {
		padding-top: 0px !important;
	}
}
/* change various my account items*/
.wd-sub-menu {
	--sub-menu-color: #000000;
}
.wd-my-account-links a:before {
	color: #000000 !important;
}
.woocommerce-MyAccount-content>p {
	color: #000000 !important;
}
.woocommerce-MyAccount-Giftcards-form {
	padding-bottom: 15px;
}
/*.tgwc-woocommerce-customize-my-account #tgwc-woocommerce {
	display: block!important;
}*/
.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce a.button {
	border-radius: 50px;
}
p.vendor-customer-registration .radio{
	display: none;
}
.tgwc-woocommerce-customize-my-account #tgwc-woocommerce .tgwc-icon {
	width: 2em;
	height: 1.2em;
}
/*hide become a vendor box my account page */
.dokan-account-migration-lists {
	display: none !important;
}
/* 2.x – Login / Register buttons – BlackSpace standard
   ------------------------------------------------------------------ */
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-register .woocommerce-Button.woocommerce-button.button,
body.woocommerce-account .btn.wd-switch-to-register {
  border: 2px solid #000000;
  background-color: #000000;
  color: #ffffff;
  border-radius: 50px;
}

body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit:hover,
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit:focus,
body.woocommerce-account .woocommerce-form-register .woocommerce-Button.woocommerce-button.button:hover,
body.woocommerce-account .woocommerce-form-register .woocommerce-Button.woocommerce-button.button:focus,
body.woocommerce-account .btn.wd-switch-to-register:hover,
body.woocommerce-account .btn.wd-switch-to-register:focus {
  background-color: #ffffff;
  color: #000000;
  border-color: #000000;
}

.jssocials-shares {
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 10px;
}
.jssocials-share {
	display: flex;
	justify-content: center;
	align-items: center;
}
.jssocials-share-link {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
}
.form-row.vendor-customer-registration {
    display: none;
}
.tgwc-woocommerce-MyAccount-navigation-wrap ul {
    display: block;
    flex-wrap: wrap;
    margin-bottom: 30px!important;
}
/*change border radius for sidebar*/
div.wd-my-account-sidebar {
	border: 0px !important;
}
.wd-my-account-sidebar h3 {
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
}
.wd-my-account-sidebar {
	border-radius: 10px;
}
.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce[data-menu-style="sidebar"] .tgwc-woocommerce-MyAccount-navigation {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
@media (max-width: 768px) {
	.wd-my-account-sidebar h3 {
		border-bottom-right-radius: 10px;
		border-bottom-left-radius: 10px;
	}
}

/* ==========================================================================
   020 – My Account: visual unification additions
   - Button system alignment
   - Orders / order details totals & seller links
   - Downloads "Browse products" as link
   ========================================================================== */

/* 2.1 – My Account buttons – BlackSpace standard pill
   ------------------------------------------------------------------ */

/* Login / register buttons (logged-out My Account) */
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit,
body.woocommerce-account .btn.wd-switch-to-register {
  border: 2px solid #000000 !important;
  border-radius: 50px !important;
  background-color: #000000 !important;
  color: #ffffff !important;
}

body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit:hover,
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit:focus,
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit:active,
body.woocommerce-account .btn.wd-switch-to-register:hover,
body.woocommerce-account .btn.wd-switch-to-register:focus,
body.woocommerce-account .btn.wd-switch-to-register:active {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #000000 !important;
}

/* Logged-in My Account buttons inside the customized wrapper */
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content a.button,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content .woocommerce-Button.button,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content button.button,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .tgwc-user-info .button,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce a.dokan-btn.dokan-btn-theme.vendor-dashboard {
  border: 2px solid #000000 !important;
  border-radius: 50px !important;
  background-color: #000000 !important;
  color: #ffffff !important;
}

body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content a.button:hover,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content a.button:focus,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content a.button:active,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content .woocommerce-Button.button:hover,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content .woocommerce-Button.button:focus,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content .woocommerce-Button.button:active,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content button.button:hover,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content button.button:focus,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .woocommerce-MyAccount-content button.button:active,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .tgwc-user-info .button:hover,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .tgwc-user-info .button:focus,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce .tgwc-user-info .button:active,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce a.dokan-btn.dokan-btn-theme.vendor-dashboard:hover,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce a.dokan-btn.dokan-btn-theme.vendor-dashboard:focus,
body.logged-in.woocommerce-account.tgwc-woocommerce-customize-my-account #tgwc-woocommerce.woocommerce a.dokan-btn.dokan-btn-theme.vendor-dashboard:active {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #000000 !important;
}

/* 2.2 – Orders & order details – totals color
   ------------------------------------------------------------------ */
body.woocommerce-account .woocommerce-orders-table .amount,
body.woocommerce-account .woocommerce-table--order-details .amount {
  color: #000000 !important;
}

/* 2.3 – Seller links on Orders + Order details
   ------------------------------------------------------------------ */
/* Orders list: "Seller" column links */
body.woocommerce-account .woocommerce-orders-table__cell-seller a {
  color: #b0743e;
}
body.woocommerce-account .woocommerce-orders-table__cell-seller a:hover,
body.woocommerce-account .woocommerce-orders-table__cell-seller a:focus {
  color: #000000;
}

/* Order details: seller link inside product name cell (store URLs) */
body.woocommerce-account .woocommerce-table__product-name a[href*="/store/"] {
  color: #b0743e;
}
body.woocommerce-account .woocommerce-table__product-name a[href*="/store/"]:hover,
body.woocommerce-account .woocommerce-table__product-name a[href*="/store/"]:focus {
  color: #000000;
}


/* 2.4 – Favorite Stores (My Account)
   Scope: /my-account/following/ – Dokan followed stores list.
   Mirrors 070 card styling without touching global store listing.
   ------------------------------------------------------------------ */

/* Card shell – white tile with subtle shadow, like Store Listing */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap > li.dokan-single-seller {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px 20px 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
  overflow: hidden;
}

/* Ensure internal sections don’t add their own side padding */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-header,
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content,
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-footer {
  padding-left: 0;
  padding-right: 0;
}

/* Status + name block – light card background for readability */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .store-data-container {
  background-color: transparent !important;
  border-radius: 10px;
  padding: 10px 12px;
  color: #000000 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .store-data-container *,
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .store-data-container a {
  color: #000000 !important;
}

/* Store name link – black text, underline on hover */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .store-data h2 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  line-height: 1.3;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .store-data h2 a {
  color: #000000;
  text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .store-data h2 a:hover,
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .store-data h2 a:focus {
  text-decoration: underline;
}

/* Location text – muted grey, smaller */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .display-address {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #4b5563;
}

/* === Status pill (Open / Closed) – same as 070 === */

/* Shared pill base */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .dokan-store-is-open-close-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  border: none;
}

/* Open = brand bronze with black text */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .dokan-store-is-open-close-status.dokan-store-is-open-status,
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .dokan-store-is-open-close-status[title*="Store is Open"] {
  background-color: #b0743e;
  color: #000000;
}

/* Closed = light grey with black text */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .dokan-store-is-open-close-status:not(.dokan-store-is-open-status),
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .dokan-store-is-open-close-status[title*="Store is Closed"] {
  background-color: #e6e6e6;
  color: #000000;
}

/* Place status pill above the title, left-aligned */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .store-data-container .dokan-store-is-open-close-status {
  margin: 0 0 0.35rem 0;
  display: inline-flex;
}

/* Tidy margin between status and store data block when status is present */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .store-data.store_open_is_on,
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-content .store-data.store_closed_is_on {
  margin-top: 10px !important;
}

/* === Rating stars – match 070 yellow (#FFCD3C) === */

body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .dokan-seller-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: #FFCD3C;
}

body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .dokan-seller-rating .dashicons {
  color: #FFCD3C !important;
}

/* === Footer: only Follow button + avatar, no round visit-store arrow === */

/* Hide the small round "visit store" arrow button */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-footer .dokan-btn-theme.dokan-btn-round {
  display: none !important;
}

/* Follow/Following pill – breathe a bit from left edge */
body.woocommerce-account .woocommerce-MyAccount-content .dokan-seller-wrap .store-footer .dokan-follow-store-button {
  margin-left: 12px;
}

/* Logout icon before user info link */
body.woocommerce-account .tgwc-user-info a:before {
    content: "\f08b";
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free",
                 "Font Awesome 5 Pro", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    margin-right: 8%;
}

/* Center My Account nav stack under header on mobile */
@media (max-width: 768px) {
  body.woocommerce-account .wd-my-account-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.woocommerce-account .wd-my-account-sidebar nav.tgwc-woocommerce-MyAccount-navigation {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.woocommerce-account .wd-my-account-sidebar .tgwc-woocommerce-MyAccount-navigation-wrap {
    width: 100% !important;
    max-width: 420px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.woocommerce-account .wd-my-account-sidebar .tgwc-woocommerce-MyAccount-navigation-wrap > ul {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
