body[data-page=account] #shop>main {
  min-height:clamp(440px,61vh,720px);
  padding-bottom:clamp(28px,5vw,68px);
  background-color:#111;
  background-image:linear-gradient(180deg,#1111,#1113 72%,#111),url("/images/account-background.webp?v=concrete");
  background-position:center,center top;
  background-size:cover;
  background-repeat:no-repeat;
}
body[data-page=account] #routeView {min-height:0;margin:0}
.account-admin-denied {max-width:440px;margin:0 auto 12px;padding:10px 14px;border:1px solid #714749;border-radius:10px;background:#241d1e;color:#ffb7b7;font-size:13px}
body[data-page=account] .account-wrap {max-width:1280px;margin:auto}
body[data-page=account] .account-title {margin:9px 0 22px;font-size:clamp(28px,3.1vw,45px);line-height:1.1;letter-spacing:-.045em}
body[data-page=account] #customerDashboard {grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:clamp(16px,3vw,38px)}
.account-sidebar {
  display:block;
  min-width:0;
  padding:13px;
  border:1px solid #ffffff1a;
  border-radius:13px;
  background:linear-gradient(135deg,#242424aa,#19191991);
}
.account-identity {display:flex;align-items:center;gap:10px;min-width:0;padding:5px 4px 13px}
.account-identity>div {min-width:0;flex:1}
.account-identity strong,.account-identity small {display:block;overflow-wrap:break-word}
.account-identity small {color:#aaa;font-size:12px;margin-top:3px}
.account-avatar {display:grid;place-items:center;width:45px;height:45px;flex:none;border:1px solid #ffffff26;border-radius:50%;background:linear-gradient(140deg,#525252,#2e2e2e)}
.account-avatar svg {width:24px;height:24px}
.account-sidebar-menu {display:grid;gap:4px;border-top:1px solid #ffffff19;padding-top:9px}
.account-sidebar-menu>* {
  position:relative;display:flex;align-items:center;gap:10px;width:100%;min-height:41px;padding:8px 9px;
  border:1px solid transparent;border-radius:8px;background:transparent;text-align:left;
  font-size:13px;font-weight:650;transition:background-color .2s,border-color .2s;
}
body[data-page=account] .account-sidebar-menu>a {display:flex}
.account-sidebar-menu>*:hover {background:#303030}
.account-sidebar-menu>[aria-current=true] {background:linear-gradient(100deg,#414141,#303030);border-color:#535353}
.account-sidebar-menu>[aria-current=true]::before {content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;background:#fff;border-radius:2px}
.account-sidebar-menu svg {width:19px;height:19px;flex:none}
.account-sidebar-menu .account-logout {color:#ccc;margin-top:4px}
.account-pane {margin:0}
.account-pane h2 {margin:0 0 12px;font-size:clamp(22px,2.3vw,34px);letter-spacing:-.035em;line-height:1.12}
.account-list-message {margin:0;padding:16px;border:1px solid #ffffff21;border-radius:12px;background:#1d1d1dd9;color:#bbb}
.account-order-tabs {display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,365px);gap:4px;padding:3px;margin-bottom:14px;border:1px solid #ffffff29;border-radius:11px;background:#202020d9}
.account-order-tabs button {min-height:39px;padding:6px;border:1px solid transparent;border-radius:8px;background:none;font-size:13px;white-space:nowrap;transition:background-color .2s,box-shadow .2s}
.account-order-tabs button[aria-pressed=true] {border-color:#a3a3a3;background:linear-gradient(135deg,#6b6b6b,#3b3b3b);box-shadow:0 0 12px #ffffff26}
.account-orders-empty {
  display:grid;
  justify-items:center;
  gap:12px;
  padding:clamp(22px,4vw,48px) 14px;
  border:1px solid #ffffff21;
  border-radius:12px;
  background:#1919199e;
  text-align:center;
}
.account-orders-empty svg {width:56px;height:56px;color:#eee;filter:drop-shadow(0 0 8px #ffffff48)}
.account-orders-empty h3 {margin:0;font-size:clamp(18px,2vw,25px);letter-spacing:-.03em}
.account-orders-empty a {display:inline-flex;align-items:center;min-height:43px;padding:8px 14px;background:#fff;color:#111;border-radius:9px;font-weight:750;transition:background-color .2s}
.account-orders-empty a:hover {background:#ddd}
#customerOrders {display:grid;gap:10px;margin:0}
.account-order-card {
  display:grid;grid-template-columns:minmax(125px,200px) minmax(0,1fr) auto;align-items:stretch;gap:clamp(10px,1.5vw,20px);
  min-width:0;padding:12px;border:1px solid #ffffff21;border-radius:13px;
  background:linear-gradient(125deg,#242424bc,#191919a6);
}
.account-order-photo {display:grid;place-items:center;align-self:start;overflow:hidden;aspect-ratio:10/7;min-width:0;border-radius:8px;background:#151515}
.account-order-photo img {width:100%;height:100%;object-fit:contain}
.account-order-info h3 {margin:0;font-size:17px;overflow-wrap:anywhere}
.account-order-info time,.account-order-info small {display:block;color:#aaa;font-size:12px}
.account-order-info time {margin-top:3px}
.account-order-info ul {display:grid;gap:6px;padding:0;margin:8px 0 0;list-style:none}
.account-order-info li {overflow-wrap:anywhere;font-size:14px}
.account-order-end {display:grid;align-content:space-between;justify-items:end;gap:8px}
.account-order-total {font-size:clamp(17px,1.65vw,23px);white-space:nowrap}
.account-status {--status:#aaa;display:inline-flex;align-items:center;gap:5px;padding:5px 7px;max-width:100%;border:1px solid color-mix(in srgb,var(--status) 52%,transparent);border-radius:20px;background:color-mix(in srgb,var(--status) 12%,#171717);color:var(--status);box-shadow:0 0 9px color-mix(in srgb,var(--status) 15%,transparent);font-size:11px;font-weight:750}
.account-status svg {width:14px;height:14px;flex:none}
.account-status[data-tone=green] {--status:#69e99c}
.account-status[data-tone=gold] {--status:#f4cc78}
.account-status[data-tone=blue] {--status:#85d7ff}
.account-status[data-tone=purple] {--status:#c4a5ff}
.account-status[data-tone=red] {--status:#ff9d9d}
@media(max-width:1050px){.account-order-card{grid-template-columns:minmax(100px,150px) minmax(0,1fr)}.account-order-end{grid-column:2;grid-row:auto;justify-items:start;justify-content:start;display:flex;flex-wrap:wrap;align-items:center}}
.account-mobile-menu {display:none}
@media(max-width:760px){
  body[data-page=account] {
    padding-bottom:calc(64px + env(safe-area-inset-bottom));
  }
  body[data-page=account] header {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    align-items:center;
    gap:0;
    height:49px;
    padding:0 12px;
    background:#111;
    box-shadow:0 1px 0 #3336;
  }
  body[data-page=account] header .logo {
    justify-self:center;
    font-size:22px;
    letter-spacing:-.8px;
    white-space:nowrap;
  }
  body[data-page=account] header aside {display:flex;justify-self:end;gap:9px}
  body[data-page=account] header aside a:is([data-nav="2"],[data-nav="3"]) {display:inline-flex}
  body[data-page=account] header aside svg {width:19px;height:19px}
  body[data-page=account] header .count {top:-4px;right:-4px;font-size:8px}
  .account-mobile-menu {display:block;margin:0}
  .account-mobile-menu summary {display:grid;place-items:center;width:34px;height:40px;list-style:none;cursor:pointer}
  .account-mobile-menu summary::-webkit-details-marker {display:none}
  .account-mobile-menu div {
    position:absolute;z-index:1;top:48px;left:8px;min-width:170px;padding:8px;
    background:#1c1c1c;border:1px solid #333;border-radius:10px;box-shadow:0 10px 24px #0008;
  }
  .account-mobile-menu div a {display:block;padding:9px}

  body[data-page=account] #shop>main {min-height:0;width:100%;padding-inline:14px;background-position:center,72% top}
  body[data-page=account] .account-title {margin-bottom:14px}
  body[data-page=account] :is(#routeView,#customerProfile,.account-wrap,.account-sidebar,.account-content) {
    width:100%;
    min-width:0;
  }
  body[data-page=account] #customerDashboard {
    width:100%;
    min-width:0;
    grid-template-columns:minmax(0,1fr);
    gap:16px;
  }
  .account-sidebar {display:block;padding:10px}
  .account-avatar {width:40px;height:40px}
  .account-avatar svg {width:21px;height:21px}
  .account-sidebar-menu {grid-template-columns:minmax(0,1fr);gap:4px;padding-top:7px}
  .account-sidebar-menu>* {min-height:39px;padding:6px 9px;font-size:13px;line-height:1.25}
  .account-sidebar-menu svg {width:18px;height:18px}
  .account-sidebar-menu .account-logout {margin-top:0}
  .account-order-tabs {width:100%}
  .account-order-card {grid-template-columns:minmax(0,1fr);gap:8px;padding:9px}
  .account-order-photo {grid-row:auto;aspect-ratio:10/7}
  .account-order-info h3 {font-size:15px}
  .account-order-info li {font-size:13px}
  .account-order-end {grid-column:auto;gap:6px;justify-content:space-between}
  .account-orders-empty {padding-block:22px}

  body[data-page=account] .mobile {display:flex!important;background:#121212f7;border-top:1px solid #ffffff12}
  body[data-page=account] .mobile a {flex:1 1 0;min-width:0;color:#aaa}
  body[data-page=account] .mobile a.active {color:#eee}
  body[data-page=account] .mobile a.active::before {display:none}
  body[data-page=account] .mobile a.active svg {fill:#eee}
}
@media(prefers-reduced-motion:reduce){.account-sidebar-menu>*,.account-order-tabs button {transition:none}}
