/* ===== PHX "My Account" dashboard (account/account), 2026-11-22.
   Each section (Account, Orders, Newsletter) is a white card; each link is a row with an icon, a title, a short gray line and an arrow.
   Black/white, no blue. Reward Points and Transactions are hidden (the shop has no points or store credit). ===== */
html body #content.account-page{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
html body #content.account-page > h1{grid-column:1/-1;margin:0 0 6px!important}
html body #content.account-page > h1.title::after{content:"Manage your orders, addresses and email preferences."!important;display:block!important;position:static!important;width:auto!important;height:auto!important;background:none!important;border:0!important;
  margin-top:8px!important;font:400 15px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important;color:#6b7280!important;letter-spacing:0!important}
html body #content.account-page > div{margin:0!important;padding:22px!important;background:#fff;border:1px solid rgba(15,23,42,.07);border-radius:20px;box-shadow:0 12px 32px rgba(15,23,42,.06)}
html body #content.account-page > div.my-affiliates{display:none!important}
html body #content.account-page > div.my-newsletter{grid-column:1/-1}

/* section titles (Journal hides the first one; show all of them inside the cards) */
html body #content.account-page > div > h2.title{display:block!important;margin:0 0 10px!important;padding:0 4px!important;border:0!important;
  font:700 17px/1.3 "Plus Jakarta Sans",Inter,system-ui,sans-serif!important;color:#0b1324!important;text-transform:none!important;letter-spacing:0!important}
html body #content.account-page > div > h2.title::after{display:none!important}
html body #content.account-page > div.my-account > h2.title{font-size:0!important}
html body #content.account-page > div.my-account > h2.title::before{content:"Account details";font-size:17px}

/* the link list: rows instead of big tiles */
html body #content.account-page .account-list{display:flex!important;flex-direction:column;gap:0!important;margin:0!important;padding:0!important;grid-template-columns:none!important}
html body #content.account-page .account-list > li{display:block!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;border-top:1px solid #f0f1f4!important}
html body #content.account-page .account-list > li:first-child{border-top:0!important}
html body #content.account-page .account-list > li.edit-downloads,
html body #content.account-page .account-list > li.edit-recurring,
html body #content.account-page .account-list > li.edit-rewards,
html body #content.account-page .account-list > li.edit-transactions{display:none!important}

html body #content.account-page .account-list > li > a{display:grid!important;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;row-gap:0;align-items:start;align-content:center;
  height:auto!important;min-height:0!important;margin:0!important;padding:14px 10px!important;border:0!important;border-radius:14px!important;background:transparent!important;box-shadow:none!important;
  font:600 15px/1.35 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important;color:#111!important;text-decoration:none!important;text-align:left!important;transition:background .2s ease}
html body #content.account-page .account-list > li > a:hover{background:#f6f7f9!important;transform:none!important}
/* icon */
html body #content.account-page .account-list > li > a::before{grid-column:1;grid-row:1/3;align-self:center;display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;margin:0!important;
  border-radius:12px!important;background:#f3f4f6!important;color:#111!important;font-size:20px!important;line-height:1!important;transition:background .2s ease,color .2s ease}
html body #content.account-page .account-list > li > a:hover::before{background:#111!important;color:#fff!important}
/* short gray line under the title */
html body #content.account-page .account-list > li > a::after{grid-column:2;grid-row:2;display:block!important;position:static!important;margin:2px 0 0!important;width:auto!important;height:auto!important;background:none!important;
  font:400 13px/1.4 Inter,system-ui,sans-serif;color:#6b7280;border:0!important;transform:none!important}
html body #content.account-page li.edit-info > a::after{content:"Name, email and phone number"}
html body #content.account-page li.edit-pass > a::after{content:"Update the password you sign in with"}
html body #content.account-page li.edit-address > a::after{content:"Shipping and billing addresses"}
html body #content.account-page li.edit-wishlist > a::after{content:"Products you saved for later"}
html body #content.account-page li.edit-order > a::after{content:"Track orders and view past purchases"}
html body #content.account-page li.edit-returns > a::after{content:"Status of your return requests"}
html body #content.account-page .my-newsletter li > a::after{content:"Deals and new arrivals by email. Change it any time."}
/* arrow on the right (title row spans both lines) */
html body #content.account-page .account-list > li > a{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 12px center!important;padding-right:40px!important}
html body #content.account-page .account-list > li > a:hover{background-color:#f6f7f9!important}

@media (max-width:991px){
  html body #content.account-page{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:767px){
  html body #content.account-page{gap:14px}
  html body #content.account-page > div{padding:16px!important;border-radius:18px}
  html body #content.account-page > h1::after{font-size:14px}
  html body #content.account-page .account-list > li > a{padding:12px 36px 12px 6px!important;background-position:right 8px center!important}
}
