/* ===== Woo My Account ç™»å½•é¡µæ ·å¼ï¼ˆä»…è¯¥é¡µé¢ï¼‰===== */
body.woocommerce-account .woocommerce form.woocommerce-form.woocommerce-form-login.login{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 8px;
  max-width: 720px;            /* éœ€è¦æ›´çª„å¯æ”¹ 560/640 ç­‰ */
}

/* è¾“å…¥æ¡†å¤–è§‚ */
body.woocommerce-account .woocommerce form.login .woocommerce-form-row input.input-text{
  height: 52px !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 12px 16px !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
}
body.woocommerce-account .woocommerce form.login .woocommerce-form-row input.input-text:focus{
  border-color: #09090b !important;
  outline: none !important;
}

/* æ ‡ç­¾åšâ€œå±å¹•é˜…è¯»å™¨å¯è§â€ */
body.woocommerce-account .woocommerce form.login .screen-reader-text{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* è®°ä½æˆ‘ + å¿˜è®°å¯†ç ï¼šé—´è·ä¸ŽæŽ’ç‰ˆ */
body.woocommerce-account .woocommerce form.login .form-row{
  margin-bottom: 16px !important;
}
body.woocommerce-account .woocommerce form.login .woocommerce-form__label.woocommerce-form__label-for-checkbox{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 6px 0 10px !important;
  font-size: 16px !important;
  color: #09090b !important;
}
body.woocommerce-account .woocommerce form.login .lost_password{
  margin: 12px 0 0 !important;
}
body.woocommerce-account .woocommerce form.login .lost_password a{
  color: #09090b !important;
  text-decoration: underline !important;
  transition:color .15s ease;
}
body.woocommerce-account .woocommerce form.login .lost_password a:hover {
  color:#555555 !important;
}

/* ç™»å½•æŒ‰é’®ï¼šé»„è‰²å…¨å®½ã€æ‚¬åœåè‰² */
body.woocommerce-account .woocommerce form.login button.button,
body.woocommerce-account .woocommerce form.login button.button[type="submit"]{
  display: block !important;
  width: 100% !important;
  height: auto !important;
  padding: 16px 24px !important;
  border-radius: 5px !important;
  border: 0 !important;
  background: #FF2800 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: background-color .2s ease, color .2s ease !important;
}
body.woocommerce-account .woocommerce form.login button.button:hover,
body.woocommerce-account .woocommerce form.login button.button:focus-visible{
  background: #C90818 !important;
  color: #ffffff !important;
}
body.woocommerce-account .woocommerce form.login button.button:active{
  background: #A80714 !important;
  color: #ffffff !important;
}

/* å…œåº•ï¼šMy Account ç™»å½•è¡¨å•é‡Œï¼Œéšè—å¯è§æ ‡ç­¾ï¼ˆå¦‚æžœä¸»é¢˜ä»æ¸²æŸ“å‡ºæ¥ï¼‰ */
body.woocommerce-account .woocommerce form.login .form-row label{
  display:none !important;
}

/* placeholder çš„å¯è¯»æ€§ï¼ˆå¯æŒ‰éœ€è°ƒæ•´ï¼‰ */
body.woocommerce-account .woocommerce form.login ::placeholder{
  font-size: 14px !important;
  color:#9ca3af;      /* è½»ç° */
  opacity:1;
}

/* â€œLoginâ€ æ ‡é¢˜ */
body.woocommerce-account #customer_login .u-column1 h2{
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  color: #09090b;
  margin: 8px 0 20px;
}

/* ä»…ä½œç”¨äºŽ My Account ç™»å½•è¡¨å•é‡Œçš„ â€œLost your password?â€ é“¾æŽ¥ */
body.woocommerce-account .woocommerce form.login p.lost_password a,
body.woocommerce-account .woocommerce .woocommerce-LostPassword a{
  text-decoration: underline;
  text-underline-offset: 6px;       /* â† ä¸‹åˆ’çº¿ç¦»æ–‡å­—çš„è·ç¦» */
  text-decoration-thickness: 1.5px; /* ä¸‹åˆ’çº¿ç²—ç»† */
  text-decoration-color: currentColor;
}
body.woocommerce-account .woocommerce form.login p.lost_password a:hover{
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
@supports not (text-underline-offset: 1px) {
  body.woocommerce-account .woocommerce form.login p.lost_password a{
    text-decoration: none;
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 4px;             /* å›žé€€æ–¹æ¡ˆçš„â€œè·ç¦»â€ */
  }
}

/* =========================================================
   My Accountï¼ˆå·²ç™»å½•ï¼‰â€”â€” ä¸¤æ å¸ƒå±€ä¸Žè§†è§‰
   ========================================================= */

/* å˜é‡ */
body.woocommerce-account{
  --acc-text:#09090b;
  --acc-muted:#6b7280;
  --acc-border:#E5E7EB;
  --acc-accent:#FF2800;
  --acc-accent-hover:#C90818;
  --acc-accent-active:#A80714;
  --acc-accent-soft:#FFF0F1;
  --acc-accent-soft-border:#FFC2C7;
  --acc-on-accent:#ffffff;
  --acc-gap: 48px;                /* å·¦å³åˆ—é—´è· */
  --nav-w: 320px;                 /* å·¦ä¾§å¯¼èˆªå®½ */
  --radius: 12px;
}

/* â€”â€” ç™»å½•å‰æ˜¾å¼ä¿æŒå•åˆ—ï¼Œå¹¶éšè—ç©ºå¯¼èˆª â€”â€” */
body:not(.logged-in).woocommerce-account .woocommerce{
  display:block !important;
}
body:not(.logged-in).woocommerce-account .woocommerce-MyAccount-navigation{
  display:none !important;
}

/* â€”â€” ç™»å½•åŽå¼€å¯ä¸¤æ ç½‘æ ¼ â€”â€” */
body.logged-in.woocommerce-account .woocommerce{
  display:grid !important;
  grid-template-columns: var(--nav-w) minmax(0, 1fr) !important; /* å·¦æ å›ºå®šï¼Œå³æ è‡ªé€‚åº” */
  column-gap: var(--acc-gap) !important;
  align-items:start !important;
}

/* åˆ—å®šä½ï¼šå·¦å¯¼èˆª/å³å†…å®¹ */
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation{
  grid-column:1 / 2 !important;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-content{
  grid-column:2 / 3 !important;
  margin-top: -50px !important;
  align-self: start;
  min-width: 0; /* é˜²æ­¢é•¿é“¾æŽ¥æŠŠç½‘æ ¼æ’‘ç ´ */
}

/* åŽ»æŽ‰å³æ â€œç¬¬ä¸€ä¸ªå­å…ƒç´ â€çš„é»˜è®¤ä¸Šè¾¹è·ï¼ˆé€šå¸¸æ˜¯ <p>Hello â€¦>ï¼‰ */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content > *:first-child{
  margin-top: 0 !important;
}

/* æœ‰äº›ä¸»é¢˜åœ¨ .woocommerce ä¸Šç”¨æ¸…æµ®åŠ¨ä¼ªå…ƒç´ ï¼Œå¯èƒ½å¸¦å‡ºé¢å¤–ç©ºéš™ï¼Œç›´æŽ¥æ¸…ç† */
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after{
  content: none !important;
  display: none !important;
}

/* æ¡Œé¢ç«¯ï¼šä¾§æ ç²˜æ€§ */
@media (min-width: 981px){
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation{
    position: sticky; top: 24px; height: fit-content;
	width: var(--nav-w);
  }
}

/* å·¦ä¾§å¯¼èˆªï¼šå—çŠ¶æŒ‰é’® */
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap:10px;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li a{
  display:flex; align-items:center; gap:10px;
  padding:14px 16px;
  border:1px solid var(--acc-border);
  border-radius: var(--radius);
  color: var(--acc-text);
  background:#fff;
  text-decoration:none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{
  background:var(--acc-accent-soft);
  border-color:var(--acc-accent-soft-border);
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
  background: var(--acc-accent);
  color:var(--acc-on-accent);
  border-color: var(--acc-accent);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  font-weight: 600;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a:hover,
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a:focus-visible{
  background:var(--acc-accent-hover);
  border-color:var(--acc-accent-hover);
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a:active{
  background:var(--acc-accent-active);
  border-color:var(--acc-accent-active);
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before{
  filter:brightness(0) invert(1);
}

/* === My Account å·¦ä¾§å¯¼èˆªï¼šä½¿ç”¨çº¯é»‘ SVG å›¾æ ‡ === */
/* ç»Ÿä¸€ï¼šå·¦ä¾§å¯¼èˆªå›¾æ ‡æ ·å¼ */
.woocommerce-MyAccount-navigation li a::before{
  content:"";
  display:inline-block;
  width:22px;                 /* ç»Ÿä¸€å›¾æ ‡å°ºå¯¸ */
  height:22px;
  margin-right:12px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

/* Dashboard */
.woocommerce-MyAccount-navigation-link--dashboard a::before{
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='%2309090b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M3 9l9-7 9 7'/>\
<path d='M9 22V12h6v10'/>\
</svg>");
}

/* Ordersï¼ˆç›’å­ï¼‰ */
.woocommerce-MyAccount-navigation-link--orders a::before{
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='%2309090b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M21 16V8a2 2 0 0 0-1-1.73L12 2 4 6.27A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73L12 22l8-4.27A2 2 0 0 0 21 16Z'/>\
<path d='M3.3 7L12 12l8.7-5'/>\
<path d='M12 22V12'/>\
</svg>");
}

/* Downloadsï¼ˆä¸‹è½½ç®­å¤´ï¼‰ */
.woocommerce-MyAccount-navigation-link--downloads a::before{
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='%2309090b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/>\
<path d='M7 10l5 5 5-5'/>\
<path d='M12 15V3'/>\
</svg>");
}

/* Addressesï¼ˆå®šä½é’ˆï¼‰ */
.woocommerce-MyAccount-navigation-link--edit-address a::before{
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='%2309090b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M20.84 10.61C20.84 16 12 22 12 22S3.16 16 3.16 10.61a8.84 8.84 0 1 1 17.68 0Z'/>\
<circle cx='12' cy='10.6' r='3.5'/>\
</svg>");
}

/* Account detailsï¼ˆç”¨æˆ·ï¼‰ */
.woocommerce-MyAccount-navigation-link--edit-account a::before{
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='%2309090b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<circle cx='12' cy='7' r='4'/>\
<path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/>\
</svg>");
}

/* Log outï¼ˆç™»å‡ºç®­å¤´ï¼‰ */
.woocommerce-MyAccount-navigation-link--customer-logout a::before{
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='%2309090b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/>\
<path d='M16 17l5-5-5-5'/>\
<path d='M21 12H9'/>\
</svg>");
}

/* å³ä¾§å†…å®¹æŽ’ç‰ˆ & é“¾æŽ¥æ ·å¼ */
.woocommerce-account .woocommerce-MyAccount-content{
  color: var(--acc-text);
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3{
  margin: 8px 0 16px;
  color: var(--acc-text);
}
.woocommerce-account .woocommerce-MyAccount-content p{
  color: var(--acc-text);
}
.woocommerce-account .woocommerce-MyAccount-content a{
  color: var(--acc-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.woocommerce-account .woocommerce-MyAccount-content a:hover{
  text-underline-offset: 2px;
}

/* é€šç”¨æŒ‰é’®ç»Ÿä¸€é£Žæ ¼ï¼ˆå³ä¾§å†…å®¹åŒºï¼‰ */
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button,
.woocommerce-account .woocommerce-MyAccount-content a.button{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  background: var(--acc-accent);
  color:var(--acc-on-accent);
  border: 1px solid var(--acc-accent);
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .05s ease;
}
.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
.woocommerce-account .woocommerce-MyAccount-content .button:focus-visible,
.woocommerce-account .woocommerce-MyAccount-content button:focus-visible,
.woocommerce-account .woocommerce-MyAccount-content a.button:focus-visible{
  background:var(--acc-accent-hover); color:var(--acc-on-accent); border-color:var(--acc-accent-hover);
}
.woocommerce-account .woocommerce-MyAccount-content .button:active,
.woocommerce-account .woocommerce-MyAccount-content button:active,
.woocommerce-account .woocommerce-MyAccount-content a.button:active{
  background:var(--acc-accent-active); color:var(--acc-on-accent); border-color:var(--acc-accent-active);
  transform: translateY(1px);
}

/* è®¢å•/ä¸‹è½½ è¡¨æ ¼ */
.woocommerce-account table.shop_table{
  border:1px solid var(--acc-border);
  border-radius: var(--radius);
  overflow:hidden;
}
.woocommerce-account table.shop_table th{
  background:#fafafa; color:#09090b;
  font-weight:700;
}
.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td{
  padding:14px 16px;
}
.woocommerce-account table.shop_table tbody tr:hover{
  background:#fcfcfc;
}
.woocommerce-account table.shop_table .button{
  padding:8px 12px; border-radius:999px; font-weight:600;
}

/* è¡¨å•ï¼ˆåœ°å€/è´¦æˆ·è¯¦æƒ…ï¼‰å¤ç”¨ç™»å½•é¡µé£Žæ ¼ */
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea{
  border:1px solid #E5E7EB; border-radius:10px;
  padding:14px 16px; width:100%;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.woocommerce-account .woocommerce-MyAccount-content input:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus{
  border-color:#09090b; box-shadow:0 0 0 2px rgba(9,9,11,.08); outline:0;
}

/* é¢åŒ…å±‘ä¸Žæ ‡é¢˜é—´è·ï¼ˆä¿æŒä½ ä¹‹å‰é£Žæ ¼ï¼‰ */
.woocommerce-account .wc-breadcrumb{ margin-bottom: 12px; }
.woocommerce-account h1.entry-title,
.woocommerce-account .page-title{ margin: 8px 0 18px; }

/* ç‰ˆå¿ƒä¸Žå·¦å³å†…è¾¹è·ï¼ˆåªä½œç”¨äºŽ My Accountï¼‰ */
body.woocommerce-account .site-main,
body.woocommerce-account .entry-content{
  max-width: 1200px;             /* ç‰ˆå¿ƒå®½ */
  margin: 0 auto;
  padding-left: 24px;            /* å·¦å³ç•™ç™½ */
  padding-right: 24px;
}

/* å³ä¾§å†…å®¹ï¼šåªç»™â€œæ–‡æœ¬é“¾æŽ¥â€åšæ ·å¼ï¼ŒæŽ’é™¤å„ç±»æŒ‰é’® */
.woocommerce-account .woocommerce-MyAccount-content
  a:not(.button):not(.woocommerce-Button):not(.wp-element-button):not(.button.alt):not(.edit) {
  color:#09090b;                             /* æˆ– var(--acc-text) */
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: currentColor;
  transition: color .15s ease, text-underline-offset .15s ease;
}

/* æ‚¬åœ/èšç„¦ï¼šæ–‡æœ¬é“¾æŽ¥æ”¹è‰²ï¼ˆå«å†…éƒ¨çš„ <strong> ç­‰ï¼‰ */
.woocommerce-account .woocommerce-MyAccount-content
  a:not(.button):not(.woocommerce-Button):not(.wp-element-button):not(.button.alt):not(.edit):hover,
.woocommerce-account .woocommerce-MyAccount-content
  a:not(.button):not(.woocommerce-Button):not(.wp-element-button):not(.button.alt):not(.edit):focus,
.woocommerce-account .woocommerce-MyAccount-content
  a:not(.button):not(.woocommerce-Button):not(.wp-element-button):not(.button.alt):not(.edit):active,
.woocommerce-account .woocommerce-MyAccount-content
  a:not(.button):not(.woocommerce-Button):not(.wp-element-button):not(.button.alt):not(.edit):hover *,
.woocommerce-account .woocommerce-MyAccount-content
  a:not(.button):not(.woocommerce-Button):not(.wp-element-button):not(.button.alt):not(.edit):focus *,
.woocommerce-account .woocommerce-MyAccount-content
  a:not(.button):not(.woocommerce-Button):not(.wp-element-button):not(.button.alt):not(.edit):active *{
  color:#555555 !important;
  text-underline-offset: 2px;
}

/* ä¿éšœï¼šçœŸæ­£çš„æŒ‰é’®ä¸å¸¦ä¸‹åˆ’çº¿ï¼Œä¹Ÿä¸è¢«ä¸Šé¢æ”¹è‰²å½±å“ */
.woocommerce-account .woocommerce-MyAccount-content a.button,
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content a.wp-element-button{
  text-decoration: none !important;
  /* ä¸æ”¹é¢œè‰²ï¼Œä¿æŒå„è‡ªæŒ‰é’®è®¾è®¡ */
}

/* ========== My Account å³ä¾§å†…å®¹ï¼šæ”¾å®½æ•´ä½“å®½åº¦é™åˆ¶ ========== */
body.woocommerce-account .woocommerce-MyAccount-content{
  width: 100% !important;
  max-width: none !important;     /* ä¸»é¢˜å¸¸æ”¾ 600/720 çš„ max-widthï¼Œè¿™é‡Œæ¸…æŽ‰ */
}

/* æœ‰äº›ä¸»é¢˜ä¼šç»™å†…å®¹é‡Œçš„å…ƒç´ å†é™å®½ï¼Œè¿™é‡Œç»Ÿä¸€æ”¾å®½ */
body.woocommerce-account .woocommerce-MyAccount-content > *{
  max-width: none !important;
}

/* ========== å¸ƒå±€ï¼šå·¦å¯¼èˆª / å³å†…å®¹çš„åˆ—é—´è·ä¸Žå³åˆ—å¯ç”¨å®½ ========== */
/* å³ä¾§åˆ—å°½é‡åƒæ»¡å‰©ä½™ç©ºé—´ï¼Œé€‚å½“åŠ å¤§å·¦å³åˆ—é—´è· */
body.woocommerce-account .woocommerce{
  grid-template-columns: 320px minmax(0, 1fr) !important;
  column-gap: 56px !important;    /* çœ‹éœ€è¦å¯æ”¹ 48/64 */
}

/* ========== â€œåœ°å€â€é¡µ/åŒåˆ—åŒºåŸŸï¼šæ”¹ä¸ºç½‘æ ¼ï¼Œé¿å… 48% + float å¯¼è‡´ä¸æ•´é½ ========== */
/* Woo åœ°å€å¡ï¼ˆBilling/Shippingï¼‰ */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address{
  width: auto !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* Woo å¸¸è§åŒåˆ—è¡¨å•å®¹å™¨ï¼ˆæœ‰çš„ä¸»é¢˜ç”¨ col2-set / u-columnsï¼‰ */
body.woocommerce-account .woocommerce-MyAccount-content .col2-set,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns{
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
body.woocommerce-account .woocommerce-MyAccount-content .col2-set .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set .col-2,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns .u-column1,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns .u-column2{
  width: auto !important;
  float: none !important;
}

/* è¡¨æ ¼/è¡¨å•åœ¨å³ä¾§åˆ—å†…å æ»¡å¯ç”¨å®½åº¦ */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content form{
  width: 100% !important;
}

body.woocommerce-account .woocommerce-MyAccount-content
.u-columns.woocommerce-Addresses.col2-set.addresses{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:32px !important;               /* ä¸¤å¡ç‰‡é—´è· */
}

/* å…³æŽ‰ä¸»é¢˜å¯èƒ½åŠ çš„æ¸…æµ®åŠ¨ä¼ªå…ƒç´ ï¼Œé¿å…å¤šä½™â€œæ ¼çº¿â€ */
body.woocommerce-account .woocommerce-MyAccount-content
.u-columns.woocommerce-Addresses.col2-set.addresses::before,
body.woocommerce-account .woocommerce-MyAccount-content
.u-columns.woocommerce-Addresses.col2-set.addresses::after{
  content:none !important;
  display:none !important;
}

/* æ¯ä¸ªåœ°å€å¡ç‰‡ï¼šå  1/2 è¡Œï¼›å…è®¸æ ¹æ®å®½åº¦æ¢è¡Œ */
body.woocommerce-account .woocommerce-MyAccount-content
.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column1,
body.woocommerce-account .woocommerce-MyAccount-content
.u-columns.woocommerce-Addresses.col2-set.addresses > .u-column2,
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address{
  flex: 1 1 520px !important;        /* å…¸åž‹ä¸¤åˆ—ï¼›520 å¯æŒ‰éœ€è°ƒ */
  min-width: 420px !important;       /* å°äºŽæ­¤å®½æ—¶è‡ªåŠ¨æŽ‰åˆ°ä¸‹ä¸€è¡Œ */
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* æ ‡é¢˜è¡Œï¼šå·¦æ ‡é¢˜ + å³ä¾§ â€œAdd â€¦ addressâ€ æŒ‰ä¸€è¡Œå¯¹é½ */
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Address-title{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:baseline !important;
  justify-content:space-between !important;
  gap:12px !important;
  box-sizing:border-box !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
/* Clearfix pseudo-elements otherwise become empty flex items with a 12px gap. */
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Address-title::before,
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Address-title::after{
  content:none !important;
  display:none !important;
}
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Address-title h3{
  margin:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  float:none !important;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
}
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Address-title .edit{ margin-left:auto !important; }

/* === My Account â€º Addressesï¼šæŠŠæ ‡é¢˜å³ä¾§çš„â€œAdd â€¦ addressâ€åšæˆæŒ‰é’® === */

/* æ ‡é¢˜è¡Œå·¦å³å¯¹é½ï¼ˆå¦‚æžœä½ å·²åŠ è¿‡è¿™æ®µï¼Œå¯ä»¥å¿½ç•¥ï¼‰ */
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Address-title{
  display:flex !important;
  align-items:baseline !important;
  justify-content:space-between !important;
  gap:12px !important;
}
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Address-title h3{ margin:0 !important; }

/* ç›®æ ‡é“¾æŽ¥ï¼šä»…é™åœ°å€åŒºæ ‡é¢˜å³ä¾§çš„ .edit é“¾æŽ¥ */
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title .edit,
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title a.edit{
  margin-left:auto !important;
  margin-right:0 !important;
  float:none !important;
  box-sizing:border-box !important;
  min-width:0;
  max-width:100%;
  white-space:normal !important;
  overflow-wrap:anywhere;
}

/* è®©é“¾æŽ¥çœ‹èµ·æ¥å°±æ˜¯æŒ‰é’®ï¼ˆä¸å½±å“çœŸæ­£çš„æŒ‰é’®æ ·å¼ï¼‰ */
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title .edit a,
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title a.edit{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:12px 16px !important;
  border-radius:10px !important;
  background: var(--acc-accent, #FF2800) !important;
  color:var(--acc-on-accent, #ffffff) !important;
  border:1px solid var(--acc-accent, #FF2800) !important;
  font-weight:600 !important;
  line-height:1 !important;
  text-decoration:none !important;             /* åŽ»æŽ‰ä¸‹åˆ’çº¿ï¼ˆè¦†ç›–æ–‡å­—é“¾æŽ¥æ ·å¼ï¼‰ */
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .05s ease;
}

/* hover / focus / active çŠ¶æ€ */
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title a.edit:hover,
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title a.edit:focus{
  color:var(--acc-on-accent, #ffffff) !important;
  background:var(--acc-accent-hover, #C90818) !important;
  border-color:var(--acc-accent-hover, #C90818) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title .edit a:active,
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title a.edit:active{
  background:var(--acc-accent-active, #A80714) !important;
  border-color:var(--acc-accent-active, #A80714) !important;
  transform: translateY(1px);
}
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title .edit a:focus-visible,
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title a.edit:focus-visible{
  outline:2px solid #09090b; outline-offset:2px;
}

/* ä¿é™©ï¼šé¿å…è¢«â€œæ–‡æœ¬é“¾æŽ¥â€çš„é€šç”¨æ ·å¼å½±å“ */
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title .edit a *,
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-Addresses .woocommerce-Address-title a.edit *{
  color:inherit !important;
  text-decoration:none !important;
}

/* === My Account â€º Account detailsï¼šç”¨æ¯ä¸€è¡Œ padding-bottom æŽ§åˆ¶çºµå‘é—´è· === */
/* å¯è°ƒèŠ‚å˜é‡ï¼šæ¡Œé¢ä¸Žç§»åŠ¨ç«¯å„è‡ªçš„è¡Œè· */
body.woocommerce-account{
  --acc-row-pad-desktop: 20px;   /* æ¡Œé¢æ¯ä¸€è¡Œåº•éƒ¨å†…è¾¹è· */
  --acc-row-pad-mobile: 16px;    /* ç§»åŠ¨ç«¯æ¯ä¸€è¡Œåº•éƒ¨å†…è¾¹è· */
}

/* åªä½œç”¨äºŽâ€œAccount detailsâ€è¡¨å• */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content
form.woocommerce-EditAccountForm .woocommerce-form-row{
  margin-bottom: 0 !important;                       /* ä¸ç”¨ margin æŽ§é—´è· */
  padding-bottom: var(--acc-row-pad-desktop) !important; /* ç”¨ padding æŽ§é—´è· */
}

/* æœ€åŽä¸€è¡Œä¸è¦å¤šä½™é—´è·ï¼ˆç¡®è®¤å¯†ç é‚£è¡Œé€šå¸¸æ˜¯æœ€åŽä¸€è¡Œï¼‰ */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content
form.woocommerce-EditAccountForm .woocommerce-form-row:last-of-type{
  padding-bottom: 0 !important;
}

/* My Account â€º Account detailsï¼šä»…è°ƒæ•´â€œSave changesâ€æŒ‰é’®çš„ margin-top */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content
form.woocommerce-EditAccountForm button[name="save_account_details"]{
  margin-top: 30px !important;  
}

/* Account details: stable password controls in every interaction state. */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content
form.woocommerce-EditAccountForm .password-input{
  display:block !important;
  position:relative !important;
  width:100%;
  min-width:0;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-content
form.woocommerce-EditAccountForm .password-input > input{
  display:block !important;
  box-sizing:border-box !important;
  width:100% !important;
  min-height:48px !important;
  margin:0 !important;
  padding-inline-end:56px !important;
}

/* Keep the native WooCommerce icon and password-toggle behavior. */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content
form.woocommerce-EditAccountForm .show-password-input,
body.logged-in.woocommerce-account .woocommerce-MyAccount-content
form.woocommerce-EditAccountForm .woocommerce-password-toggle{
  position:absolute !important;
  inset-block:0 !important;
  inset-inline-start:auto !important;
  inset-inline-end:4px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  width:44px !important;
  min-width:44px !important;
  max-width:44px !important;
  height:44px !important;
  min-height:44px !important;
  max-height:44px !important;
  margin:auto 0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:5px !important;
  color:#09090b !important;
  box-shadow:none !important;
  transform:none !important;
  translate:none !important;
  transition:none !important;
  cursor:pointer;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-content
form.woocommerce-EditAccountForm .show-password-input:focus-visible,
body.logged-in.woocommerce-account .woocommerce-MyAccount-content
form.woocommerce-EditAccountForm .woocommerce-password-toggle:focus-visible{
  outline:2px solid #09090b !important;
  outline-offset:-2px !important;
}

/* ===========================
   Tablet ä¼˜åŒ–ï¼ˆâ‰¤1024pxï¼‰
   - ä¿æŒåŒæ ï¼Œä½†å·¦ä¾§æ›´çª„ã€é—´è·æ›´ç´§å‡‘
   =========================== */
@media (max-width: 1024px){
  body.woocommerce-account{
    --nav-w: 260px;      /* å·¦ä¾§å¯¼èˆªå®½ */
    --acc-gap: 32px;     /* å·¦å³åˆ—é—´è· */
  }

  .woocommerce-MyAccount-navigation li{
    flex: 0 0 auto !important;
    width: auto !important;
    display: inline-block !important;
  }	
	
  /* å¯¼èˆªæŒ‰é’®æ›´ç´§å‡‘ */
  .woocommerce-MyAccount-navigation li a{
    padding: 12px 14px;
    border-radius: 10px;
	display: inline-flex !important;
    width: auto !important;
    min-width: max-content !important;  /* æŒ‰å†…å®¹æ’‘å¼€ */
    white-space: nowrap !important;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation li a::before{
    width: 20px; height: 20px; margin-right: 10px;
  }
	
/* å·¦å³æ¸éšï¼Œæç¤ºå¯æ»‘åŠ¨ï¼ˆ#fff å¯æ”¹ä¸ºç«™ç‚¹èƒŒæ™¯è‰²ï¼‰ */
  .woocommerce-account .woocommerce-MyAccount-navigation::before,
  .woocommerce-account .woocommerce-MyAccount-navigation::after{
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 28px;
    pointer-events: none;
  }	

  /* å³ä¾§å†…å®¹åŒºçš„åŒåˆ—è¡¨å•/åœ°å€å¡é—´è·ç•¥æ”¶ç´§ */
  .woocommerce-account .woocommerce-MyAccount-content .col2-set,
  .woocommerce-account .woocommerce-MyAccount-content .u-columns{ gap: 16px; }
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{ gap: 24px; }

body.logged-in.woocommerce-account .woocommerce{
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 20px !important;
    column-gap: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;   /* å…œåº•éšè—æ¨ªå‘æº¢å‡º */
  }
	
	/* å¯¼èˆªä¸Žå†…å®¹å®¹å™¨æœ¬èº«ä¸è¶…è¿‡è§†å£ */
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
	
	/* å†…å®¹åŒºçš„ç›´æŽ¥å­å…ƒç´ ï¼Œæœ€å¤šæ’‘åˆ°å®¹å™¨å®½åº¦ */
  .woocommerce-account .woocommerce-MyAccount-content > *{
    width: 100% !important;
    max-width: 100% !important;     /* è¦†ç›–ä¹‹å‰çš„ max-width:noneï¼Œé˜²æ­¢æ’‘ç ´ */
    box-sizing: border-box !important;
  }

  /* ä¸¤å—éƒ½å ç¬¬ 1 åˆ— */
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation,
  body.logged-in.woocommerce-account .woocommerce-MyAccount-content{
    grid-column:1 / -1 !important;
  }

  /* å³ä¾§å†…å®¹å…œåº•å®½åº¦ */
  body.logged-in.woocommerce-account .woocommerce-MyAccount-content{
 Â  Â margin-top: -50px !important;
    width:100% !important;
    max-width:none !important;
    overflow:visible !important;
  }

  /* åªè®©å¯¼èˆªåˆ—è¡¨è‡ªå·±æ¨ªå‘æ»šåŠ¨ï¼Œä¸è®©æ•´é¡µæº¢å‡º */
  .woocommerce-account .woocommerce-MyAccount-navigation{
      position: relative;
	  overflow: hidden;                /* å®¹å™¨æœ¬èº«ä¸äº§ç”Ÿé¡µé¢çº§æ»šåŠ¨æ¡ */
  }	
	
  /* å¯¼èˆªæ¨ªå‘æ»šåŠ¨ */
  .woocommerce-MyAccount-navigation ul{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;      /* ä¸æ¢è¡Œ */
    gap: 10px !important;
    overflow-x: auto !important;       /* æ¨ªå‘æ»šåŠ¨ */
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;     /* å¯é€‰ï¼šæ»šåŠ¨å¸é™„ */
    white-space: nowrap !important;
 Â  Â padding-bottom: 12px !important;
    margin: 0 !important;
	margin-bottom: 15px !important;
 Â  Â max-width: 100% !important;
	scrollbar-width: thin;                 /* Firefox */
    scrollbar-color: #bdbdbd transparent;  /* Firefox */
  }
	
	/* WebKit æ»šåŠ¨æ¡æ ·å¼ï¼ˆChromium / Safariï¼‰ */
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{
    height: 8px;                 /* æ¨ªå‘æ»šåŠ¨æ¡é«˜åº¦ */
  }
	
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,.35);
    border-radius: 4px;
  }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar-track{
    background: transparent;
  }	

  /* åŒåˆ—å®¹å™¨åœ¨å°å±å æ»¡ä¸€åˆ—ä¸”ä¸è¶…å®½ */
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
  .woocommerce-account .woocommerce-MyAccount-content .col2-set,
  .woocommerce-account .woocommerce-MyAccount-content .u-columns{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
	
	/* â€œåœ°å€â€ç­‰ä¸¤åˆ—åŒºåŸŸæ”¹ä¸ºå•åˆ— */
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
  body.woocommerce-account .woocommerce-MyAccount-content .col2-set,
  body.woocommerce-account .woocommerce-MyAccount-content .u-columns{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content
  .u-columns.woocommerce-Addresses.col2-set.addresses > .u-column1,
  body.woocommerce-account .woocommerce-MyAccount-content
  .u-columns.woocommerce-Addresses.col2-set.addresses > .u-column2{
    flex:1 1 100% !important;
    min-width:0 !important;
  }
	
	/* æ‰“æ–­è¶…é•¿é“¾æŽ¥/è‹±æ–‡å•è¯ï¼Œé¿å…æŠŠé¡µé¢é¡¶å¼€ */
  .woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce-MyAccount-content a,
  .woocommerce-account .woocommerce-MyAccount-content p{
    overflow-wrap: anywhere;
    word-break: break-word;
  }
	
	/* å›¾ç‰‡/è¡¨æ ¼ç­‰å®½å…ƒç´ åœ¨å°å±ä¸è¶…è¿‡å®¹å™¨ */
  .woocommerce-account .woocommerce-MyAccount-content img,
  .woocommerce-account .woocommerce-MyAccount-content table,
  .woocommerce-account .woocommerce-MyAccount-content pre,
  .woocommerce-account .woocommerce-MyAccount-content code{
    max-width: 100% !important;
  }
}

/* ===========================
   Mobile ä¼˜åŒ–ï¼ˆâ‰¤768pxï¼‰
   - æ”¹ä¸ºå•æ ã€æ°´å¹³å¯æ»šåŠ¨å¯¼èˆªã€è¡¨å•å¯è§¦æŽ§å°ºå¯¸
   =========================== */
@media (max-width: 768px){
  /* ç‰ˆå¿ƒç•™ç™½ç¨å‡ */
  body.woocommerce-account .site-main,
  body.woocommerce-account .entry-content{ 
	  padding-left: 16px; 
	  padding-right: 16px; 
	  overflow-x: hidden;              /* å…œåº•éšè—æ¨ªå‘æº¢å‡º */
	}

  /* æ ‡é¢˜æ›´å‹å¥½ */
  .woocommerce-account h1.entry-title,
  .woocommerce-account .page-title{ font-size: 36px; margin: 6px 0 14px; }

  /* ä¸¤æ â†’ä¸€æ ï¼ˆä½ å·²æœ‰ â‰¤980px çš„è§„åˆ™ï¼Œè¿™é‡Œè¡¥å……ç»†èŠ‚ï¼‰ */
  body.logged-in.woocommerce-account .woocommerce{
    grid-template-columns: 1fr !important;
    row-gap: 18px !important;
  }

  /* å¯¼èˆªæ¨ªå‘æ»šåŠ¨ + è§¦æŽ§å°ºå¯¸ */
  .woocommerce-MyAccount-navigation ul{
    flex-direction: row; 
	overflow-x: auto; 
	gap: 8px;
    padding-bottom: 12px; 
	margin-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation li{ flex: 0 0 auto; }
  .woocommerce-MyAccount-navigation li a{
    padding: 12px 14px; border-radius: 10px; font-size: 16px;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation li a::before{
    width: 18px; height: 18px; margin-right: 8px;
  }

  /* å³ä¾§å†…å®¹ï¼šæ‰€æœ‰åŒåˆ—å®¹å™¨â†’å•åˆ—ï¼Œé—´è·æ›´ç´§å‡‘ */
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
  .woocommerce-account .woocommerce-MyAccount-content .col2-set,
  .woocommerce-account .woocommerce-MyAccount-content .u-columns{
    grid-template-columns: 1fr !important; gap: 16px !important;
  }

  /* è¡¨å•è¾“å…¥å°ºå¯¸ä¸ŽæŒ‰é’® */
  body.woocommerce-account .woocommerce form.login .woocommerce-form-row input.input-text,
  .woocommerce-account .woocommerce-MyAccount-content input[type="text"],
  .woocommerce-account .woocommerce-MyAccount-content input[type="email"],
  .woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
  .woocommerce-account .woocommerce-MyAccount-content input[type="password"],
  .woocommerce-account .woocommerce-MyAccount-content select,
  .woocommerce-account .woocommerce-MyAccount-content textarea{
    height: 48px !important; padding: 12px !important; font-size: 16px !important;
  }

/* Password controls use the same fixed hit area at all breakpoints. */

  /* å³ä¾§æ‰€æœ‰æŒ‰é’®åœ¨æ‰‹æœºä¸Šæ’‘æ»¡è¡Œï¼Œè§¦æŽ§æ›´å‹å¥½ */
  .woocommerce-account .woocommerce-MyAccount-content .button,
  .woocommerce-account .woocommerce-MyAccount-content button,
  .woocommerce-account .woocommerce-MyAccount-content a.button{
    width: 100%; padding: 14px 16px; border-radius: 10px; font-size: 16px;
  }

  /* Account detailsï¼šè¡Œè·å˜é‡ï¼ˆä½ å·²å®šä¹‰ï¼‰å†ç•¥æ”¶ç´§ */
  body.woocommerce-account{ --acc-row-pad-mobile: 14px; }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-content
  form.woocommerce-EditAccountForm .woocommerce-form-row{
    padding-bottom: var(--acc-row-pad-mobile) !important;
  }

  /* ç™»å½•é¡µåœ¨æ‰‹æœºä¸Šæ›´çª„ã€æ›´ç´§å‡‘ */
  body.woocommerce-account .woocommerce form.woocommerce-form.woocommerce-form-login.login{
    max-width: 560px; margin-top: 6px;
  }
  body.woocommerce-account .woocommerce form.login p.lost_password a{ text-underline-offset: 4px; }
	
	/* My Account Page å³ä¾§å†…å®¹ä½ç½®çš„è°ƒæ•´ */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content{
  margin-top: -30px !important;
}
}

/* ===========================
   Very small phonesï¼ˆâ‰¤480pxï¼‰
   - è¶…å°å±å†åšä¸€å±‚å¾®è°ƒ
   =========================== */
@media (max-width: 480px){
  /* æ ‡é¢˜å†å°ä¸€ç‚¹ï¼Œé¿å…æŠ˜è¡Œè¿‡å¤š */
  .woocommerce-account h1.entry-title,
  .woocommerce-account .page-title{ font-size: 30px; }

  /* ç™»å½•è¡¨å•ä¸é™å®½ï¼Œé¡ºåº”å±å¹• */
  body.woocommerce-account .woocommerce form.woocommerce-form.woocommerce-form-login.login{
    max-width: 100%;
  }

  /* å¯¼èˆªæŒ‰é’®æ›´ç´§å‡‘ */
  .woocommerce-account .woocommerce-MyAccount-navigation li a{
    padding: 10px 12px; font-size: 15px;
  }
}

/* Account order history: consistent typography across table and card layouts. */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-total .amount{
  font-weight:600;
}
@media (min-width:769px){
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table{
    table-layout:fixed;
    box-sizing:border-box;
    margin:24px 0 !important;
    border:1px solid var(--acc-border) !important;
    border-radius:12px;
    border-collapse:separate !important;
    border-spacing:0 !important;
    background:#fff;
    overflow:hidden;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table th,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table td{
    box-sizing:border-box;
    padding:18px 16px !important;
    border:0 !important;
    border-bottom:1px solid var(--acc-border) !important;
    background:transparent !important;
    color:var(--acc-text);
    font-size:14px;
    line-height:1.6;
    text-align:left;
    vertical-align:middle;
    white-space:normal !important;
    overflow-wrap:anywhere;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table thead th{
    padding-top:14px !important;
    padding-bottom:14px !important;
    background:#fafafa !important;
    color:var(--acc-muted);
    font-size:13px;
    font-weight:600;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table thead .nobr{
    white-space:normal !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr{
    background:#fff !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:hover,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:focus-within{
    background:#fafafa !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:last-child > *{
    border-bottom:0 !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__header-order-number{width:12%;}
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__header-order-date{width:22%;}
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__header-order-status{width:18%;}
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__header-order-total{width:30%;}
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__header-order-actions{width:18%;}
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__header-order-actions{
    text-align:right;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button{
    box-sizing:border-box;
    width:auto !important;
    max-width:calc(100% - 4px);
    min-height:44px;
    padding:10px 16px !important;
    margin:4px 0 4px 4px;
    border-radius:8px;
    font-size:14px;
    line-height:1.4;
    text-align:center;
    white-space:normal;
  }
}
@media (min-width:769px) and (max-width:1200px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table th,
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table td{
    padding:14px 10px !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button{
    padding:10px 12px !important;
    margin-left:0;
  }
}

/* Mobile order history: keep row-header order IDs visible as card headings. */
@media (max-width:768px){
  body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table{
    display:block !important;
    margin:20px 0 !important;
    border:0 !important;
    border-radius:0;
    border-spacing:0;
    background:transparent !important;
    overflow:visible;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table thead{
    display:none !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr);
    gap:16px;
    width:100%;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr{
    display:block !important;
    min-width:0;
    margin:0 !important;
    border:1px solid var(--acc-border);
    border-radius:12px;
    background:#fff !important;
    overflow:hidden;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody .woocommerce-orders-table__cell{
    display:flow-root !important;
    box-sizing:border-box;
    width:100% !important;
    min-width:0;
    padding:12px 16px !important;
    margin:0 !important;
    border:0 !important;
    border-bottom:1px solid var(--acc-border) !important;
    background:transparent !important;
    color:var(--acc-text);
    font-size:14px;
    line-height:1.6;
    text-align:right !important;
    white-space:normal !important;
    overflow-wrap:anywhere;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody .woocommerce-orders-table__cell::before{
    content:attr(data-title) !important;
    float:left !important;
    max-width:40%;
    margin:0 12px 0 0;
    color:var(--acc-muted);
    font-weight:400;
    text-align:left;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-number{
    display:flex !important;
    align-items:baseline;
    justify-content:space-between;
    gap:12px;
    background:#fafafa !important;
    font-size:16px;
    font-weight:600;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a{
    min-width:0;
    font-weight:600;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-total .amount{
    font-weight:600;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-actions{
    display:flex !important;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    border-bottom:0 !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-actions::before{
    content:none !important;
    display:none !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button{
    flex:0 1 auto;
    box-sizing:border-box;
    width:auto !important;
    min-width:80px;
    max-width:100%;
    min-height:44px;
    margin:0 !important;
    padding:10px 18px !important;
    border-radius:8px;
    font-size:14px;
    line-height:1.4;
    white-space:normal;
    text-align:center;
  }
}

@media (max-width:768px){
  body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button.view{
    flex:1 1 100%;
    width:100% !important;
  }
}

/* Order details: clearfix nodes must not occupy address grid cells. */
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-customer-details .woocommerce-columns--addresses{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  align-items:start;
  gap:24px !important;
  width:100% !important;
  min-width:0;
  box-sizing:border-box;
}
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-customer-details .woocommerce-columns--addresses::before,
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-customer-details .woocommerce-columns--addresses::after{
  content:none !important;
  display:none !important;
}
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-customer-details .woocommerce-columns--addresses > .woocommerce-column{
  float:none !important;
  width:auto !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box;
  overflow-wrap:anywhere;
}
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-customer-details .woocommerce-column__title{
  margin:0 0 12px !important;
  text-align:start;
}
body.woocommerce-account .woocommerce-MyAccount-content
.woocommerce-customer-details address{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  margin:0;
  overflow-wrap:anywhere;
}
@media (max-width:600px){
  body.woocommerce-account .woocommerce-MyAccount-content
  .woocommerce-customer-details .woocommerce-columns--addresses{
    grid-template-columns:minmax(0, 1fr) !important;
  }
}

/* Responsive account disclosure: desktop keeps the original sidebar. */
body.woocommerce-account .woocommerce-MyAccount-navigation .avl-account-nav-toggle{
  display:none !important;
}

@media (max-width:1024px){
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation{
    position:relative !important;
    top:auto !important;
    margin-top:32px !important;
    min-width:0;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-content{
    margin-top:0 !important;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation.avl-account-nav--ready::before,
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation.avl-account-nav--ready::after{
    content:none !important;
    display:none !important;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .avl-account-nav-toggle{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    box-sizing:border-box;
    width:100%;
    min-height:48px;
    margin:0;
    padding:14px 16px;
    border:1px solid var(--acc-accent);
    border-radius:10px;
    background:var(--acc-accent);
    color:var(--acc-on-accent);
    font-family:inherit;
    font-size:16px;
    font-weight:600;
    line-height:1.4;
    text-align:start;
    text-transform:none;
    white-space:normal;
    box-shadow:none;
    transform:none;
    cursor:pointer;
  }
  body.logged-in.woocommerce-account .avl-account-nav-toggle span{
    min-width:0;
    overflow-wrap:anywhere;
  }
  body.logged-in.woocommerce-account .avl-account-nav-toggle::after{
    content:"";
    flex:0 0 8px;
    width:8px;
    height:8px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg);
  }
  body.logged-in.woocommerce-account .avl-account-nav-toggle[aria-expanded="true"]::after{
    transform:rotate(225deg);
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .avl-account-nav-toggle:hover{
    background:var(--acc-accent-hover);
    border-color:var(--acc-accent-hover);
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .avl-account-nav-toggle:focus-visible{
    outline:2px solid #09090b;
    outline-offset:-4px;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation.avl-account-nav--ready > ul{
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    margin:0 !important;
    padding:8px 0 0 !important;
    width:100% !important;
    box-sizing:border-box;
    overflow:visible !important;
    white-space:normal !important;
    scroll-snap-type:none;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation.avl-account-nav--ready:not(.avl-account-nav--open) > ul{
    display:none !important;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation.avl-account-nav--ready li{
    display:block !important;
    width:100% !important;
    min-width:0;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation.avl-account-nav--ready li a{
    display:flex !important;
    box-sizing:border-box;
    width:100% !important;
    min-width:0 !important;
    min-height:44px;
    white-space:normal !important;
    overflow-wrap:anywhere;
  }
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation.avl-account-nav--ready li a::before{
    flex-shrink:0;
  }
}
@media (max-width:768px){
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation{
    margin-top:24px !important;
  }
}
