/* BBOX 5.5.59 ACCOUNT DESKTOP CANONICAL AUTHORITY
 * Desktop only. Mobile ownership remains features/account/mobile.css.
 */

@media (min-width:1101px){

  :root{
    --bbox-account-sidebar:300px;
    --bbox-account-gap:24px;
  }

  body.woocommerce-account #main-content,
  body.woocommerce-account main.page-content{
    width:min(var(--bbox-container,1360px),calc(100% - 48px))!important;
    max-width:var(--bbox-container,1360px)!important;
    margin-inline:auto!important;
    padding-inline:0!important;
  }

  body.woocommerce-account #main-content > article,
  body.woocommerce-account main.page-content > article{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:30px 0 48px!important;
  }

  /* Generic page title is redundant on account endpoints. */
  body.woocommerce-account #main-content > article > h1,
  body.woocommerce-account main.page-content > article > h1{
    display:none!important;
  }

  body.woocommerce-account .entry-content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }

  /*
   * Explicit grid areas remove RTL/LTR auto-placement ambiguity.
   * Main content owns the flexible track; account navigation owns 300px.
   */
  body.woocommerce-account .entry-content > .woocommerce{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) var(--bbox-account-sidebar)!important;
    grid-template-areas:"content sidebar"!important;
    gap:var(--bbox-account-gap)!important;
    align-items:start!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    direction:rtl!important;
  }

  body.woocommerce-account .account-sidebar{
    grid-area:sidebar!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:20px!important;
    position:sticky!important;
    top:24px!important;
    align-self:start!important;
    background:var(--bbox-surface,#fff)!important;
    border:1px solid var(--bbox-border,#eadfc9)!important;
    border-radius:18px!important;
    box-shadow:0 10px 28px rgba(26,22,15,.045)!important;
    overflow:hidden!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content{
    grid-area:content!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    float:none!important;
    margin:0!important;
    padding:24px!important;
    background:var(--bbox-surface,#fff)!important;
    border:1px solid var(--bbox-border,#eadfc9)!important;
    border-radius:18px!important;
    box-shadow:0 10px 28px rgba(26,22,15,.045)!important;
    overflow:hidden!important;
  }

  body.woocommerce-account .account-brand{
    display:flex!important;
    align-items:center!important;
    min-height:44px!important;
    margin-bottom:14px!important;
    padding-bottom:14px!important;
    border-bottom:1px solid var(--bbox-border,#eadfc9)!important;
  }

  body.woocommerce-account .account-identity{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:8px 12px!important;
    align-items:center!important;
    margin:0 0 18px!important;
    padding:0 0 16px!important;
    border-bottom:1px solid var(--bbox-border,#eadfc9)!important;
  }

  body.woocommerce-account .account-avatar{
    grid-row:1 / span 3!important;
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    height:44px!important;
    border:1px solid var(--bbox-gold-line,#d9a62b)!important;
    border-radius:14px!important;
    background:var(--bbox-gold-soft,#fff4d8)!important;
  }

  body.woocommerce-account .account-avatar svg{
    width:20px!important;
    height:20px!important;
  }

  body.woocommerce-account .account-identity h2{
    margin:0!important;
    font-size:15px!important;
    line-height:1.6!important;
    font-weight:900!important;
    overflow-wrap:anywhere!important;
  }

  body.woocommerce-account .account-identity > span:not(.account-avatar),
  body.woocommerce-account .bbox-profile-phone{
    font-size:11px!important;
    color:var(--bbox-muted,#777)!important;
  }

  body.woocommerce-account .bbox-profile-edit{
    width:max-content!important;
    font-size:11px!important;
    font-weight:800!important;
  }

  body.woocommerce-account .bbox-account-navigation{
    margin:0!important;
  }

  body.woocommerce-account .bbox-account-navigation > summary{
    display:none!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    float:none!important;
    margin:0!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul{
    display:grid!important;
    gap:5px!important;
    list-style:none!important;
    margin:0!important;
    padding:0!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation li{
    margin:0!important;
    padding:0!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a{
    display:flex!important;
    align-items:center!important;
    min-height:42px!important;
    padding:0 12px!important;
    border-radius:10px!important;
    color:var(--bbox-text,#171717)!important;
    font-size:12px!important;
    font-weight:700!important;
    text-decoration:none!important;
    transition:background .18s ease,color .18s ease,transform .18s ease!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
    background:#faf6ed!important;
    transform:translateX(-2px)!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
    background:var(--bbox-gold-soft,#fff3d1)!important;
    color:var(--bbox-gold-deep,#8f5d00)!important;
    font-weight:900!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout{
    margin-top:7px!important;
    padding-top:7px!important;
    border-top:1px solid var(--bbox-border,#eadfc9)!important;
  }

  /* Dashboard */
  body.woocommerce-account .account-welcome{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:18px!important;
    margin:0 0 20px!important;
    padding:0 0 18px!important;
    border-bottom:1px solid var(--bbox-border,#eadfc9)!important;
  }

  body.woocommerce-account .account-welcome h1{
    margin:0!important;
    max-width:760px!important;
    font-size:24px!important;
    line-height:1.55!important;
    font-weight:950!important;
    letter-spacing:-.02em!important;
    overflow-wrap:anywhere!important;
  }

  body.woocommerce-account .account-welcome p{
    margin:0!important;
    max-width:360px!important;
    color:var(--bbox-muted,#777)!important;
    font-size:12px!important;
    line-height:1.9!important;
  }

  body.woocommerce-account .account-stats{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    margin:0 0 18px!important;
  }

  body.woocommerce-account .stat-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"label icon" "value icon"!important;
    align-items:center!important;
    gap:4px 10px!important;
    min-height:92px!important;
    padding:16px!important;
    border:1px solid var(--bbox-border,#eadfc9)!important;
    border-radius:14px!important;
    background:#fff!important;
    color:inherit!important;
    text-decoration:none!important;
  }

  body.woocommerce-account .stat-card > span{
    grid-area:label!important;
    font-size:11px!important;
    color:var(--bbox-muted,#777)!important;
  }

  body.woocommerce-account .stat-card > strong{
    grid-area:value!important;
    font-size:22px!important;
    line-height:1!important;
  }

  body.woocommerce-account .stat-card > svg{
    grid-area:icon!important;
    width:22px!important;
    height:22px!important;
  }

  body.woocommerce-account .account-dashboard-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr)!important;
    gap:16px!important;
    align-items:stretch!important;
    margin:0 0 18px!important;
  }

  body.woocommerce-account .surface{
    min-width:0!important;
    padding:18px!important;
    border:1px solid var(--bbox-border,#eadfc9)!important;
    border-radius:14px!important;
    background:#fff!important;
  }

  body.woocommerce-account .section-heading,
  body.woocommerce-account .order-heading{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
  }

  body.woocommerce-account .section-heading h2,
  body.woocommerce-account .quick-access > h2,
  body.woocommerce-account .recent-orders h2{
    margin:0!important;
    font-size:15px!important;
    line-height:1.7!important;
    font-weight:900!important;
  }

  body.woocommerce-account .quick-access{
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
  }

  body.woocommerce-account .quick-access > h2{
    margin-bottom:5px!important;
  }

  body.woocommerce-account .quick-access > a{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    min-height:42px!important;
    padding:4px 8px!important;
    border-radius:9px!important;
    color:inherit!important;
    text-decoration:none!important;
  }

  body.woocommerce-account .quick-access > a:hover{
    background:#faf6ed!important;
  }

  body.woocommerce-account .icon-tile{
    display:grid!important;
    place-items:center!important;
    width:32px!important;
    height:32px!important;
    border-radius:9px!important;
    background:var(--bbox-gold-soft,#fff3d1)!important;
  }

  body.woocommerce-account .icon-tile svg{
    width:16px!important;
    height:16px!important;
  }

  body.woocommerce-account .order-product{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:center!important;
    margin:14px 0!important;
  }

  body.woocommerce-account .order-product img{
    width:64px!important;
    height:64px!important;
    object-fit:cover!important;
    border-radius:10px!important;
  }

  body.woocommerce-account .bbox-order-progress{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    margin:14px 0!important;
    padding:0!important;
    list-style:none!important;
  }

  body.woocommerce-account .bbox-order-progress li{
    min-width:0!important;
    padding:8px!important;
    border-radius:9px!important;
    background:#f7f7f7!important;
    text-align:center!important;
    font-size:11px!important;
  }

  body.woocommerce-account .bbox-order-progress li.is-complete{
    background:var(--bbox-gold-soft,#fff3d1)!important;
  }

  body.woocommerce-account .order-summary,
  body.woocommerce-account .order-state{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin-top:12px!important;
  }

  body.woocommerce-account .recent-orders{
    margin-top:0!important;
  }

  body.woocommerce-account .table-scroll{
    width:100%!important;
    overflow-x:auto!important;
  }

  body.woocommerce-account table{
    width:100%!important;
    border-collapse:collapse!important;
    table-layout:auto!important;
  }

  body.woocommerce-account th,
  body.woocommerce-account td{
    padding:11px 10px!important;
    border-bottom:1px solid var(--bbox-border,#eadfc9)!important;
    text-align:right!important;
    font-size:12px!important;
    white-space:normal!important;
  }

  /* Native endpoint content */
  body.woocommerce-account .woocommerce-MyAccount-content > p:first-child{
    margin-top:0!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content h2,
  body.woocommerce-account .woocommerce-MyAccount-content h3{
    margin-top:0!important;
    font-size:18px!important;
    line-height:1.7!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content form{
    width:100%!important;
    max-width:none!important;
  }

  body.woocommerce-account .woocommerce-form-row,
  body.woocommerce-account .form-row{
    margin-bottom:14px!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content label{
    display:block!important;
    margin-bottom:6px!important;
    font-size:12px!important;
    font-weight:800!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
  body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
  body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
  body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
  body.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
  body.woocommerce-account .woocommerce-MyAccount-content select,
  body.woocommerce-account .woocommerce-MyAccount-content textarea{
    width:100%!important;
    min-height:42px!important;
    padding:8px 11px!important;
    border:1px solid var(--bbox-border,#eadfc9)!important;
    border-radius:10px!important;
    background:#fff!important;
    font:inherit!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content fieldset{
    margin:18px 0!important;
    padding:16px!important;
    border:1px solid var(--bbox-border,#eadfc9)!important;
    border-radius:12px!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content legend{
    padding:0 8px!important;
    font-size:13px!important;
    font-weight:900!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content .button,
  body.woocommerce-account .woocommerce-MyAccount-content button.button{
    min-height:40px!important;
    padding:0 16px!important;
    border-radius:10px!important;
  }

  body.woocommerce-account .woocommerce-Addresses{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }

  body.woocommerce-account .woocommerce-Address{
    width:100%!important;
    float:none!important;
    padding:16px!important;
    border:1px solid var(--bbox-border,#eadfc9)!important;
    border-radius:12px!important;
  }

  /* Avoid desktop overflow from long names/order IDs. */
  body.woocommerce-account .woocommerce-MyAccount-content,
  body.woocommerce-account .woocommerce-MyAccount-content *{
    min-width:0;
    overflow-wrap:anywhere;
  }
}

/* BBOX 5.5.60 ACCOUNT DESKTOP LUXURY AUTHORITY */
@media (min-width:1101px){

  body.woocommerce-account{
    background:
      radial-gradient(circle at 88% 8%, rgba(214,168,54,.08), transparent 24%),
      radial-gradient(circle at 12% 92%, rgba(17,17,17,.035), transparent 30%),
      #f7f3ea!important;
  }

  /* Never allow account styles to expose or distort the header search label/input. */
  body.woocommerce-account .site-header .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 .site-header .header-search,
  body.woocommerce-account .site-header .search-form{
    position:relative!important;
    inset:auto!important;
    visibility:visible!important;
    opacity:1!important;
  }

  body.woocommerce-account .entry-content > .woocommerce{
    gap:26px!important;
  }

  body.woocommerce-account .account-sidebar{
    background:
      linear-gradient(180deg,#111315 0,#17191c 42%,#111315 100%)!important;
    color:#fff!important;
    border:1px solid rgba(214,168,54,.55)!important;
    box-shadow:
      0 22px 48px rgba(0,0,0,.12),
      inset 0 1px 0 rgba(255,255,255,.04)!important;
  }

  body.woocommerce-account .account-sidebar::before{
    content:""!important;
    display:block!important;
    height:3px!important;
    margin:-20px -20px 18px!important;
    background:linear-gradient(90deg,#8d5b00,#f0c44d,#8d5b00)!important;
  }

  body.woocommerce-account .account-brand{
    border-color:rgba(255,255,255,.1)!important;
  }

  body.woocommerce-account .account-brand,
  body.woocommerce-account .account-brand *{
    color:#fff!important;
  }

  body.woocommerce-account .account-identity{
    border-color:rgba(255,255,255,.1)!important;
  }

  body.woocommerce-account .account-avatar{
    border-color:#d6a836!important;
    background:linear-gradient(145deg,#f1c95d,#b87800)!important;
    color:#111!important;
    box-shadow:0 7px 18px rgba(214,168,54,.25)!important;
  }

  body.woocommerce-account .account-identity h2{
    color:#fff!important;
  }

  body.woocommerce-account .account-identity > span:not(.account-avatar),
  body.woocommerce-account .bbox-profile-phone{
    color:rgba(255,255,255,.58)!important;
  }

  body.woocommerce-account .bbox-profile-edit{
    color:#efc357!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a{
    color:rgba(255,255,255,.78)!important;
    border:1px solid transparent!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
    color:#fff!important;
    background:rgba(255,255,255,.06)!important;
    border-color:rgba(214,168,54,.18)!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
    color:#151515!important;
    background:linear-gradient(135deg,#f4cf68,#c98a0a)!important;
    border-color:#d6a836!important;
    box-shadow:0 8px 18px rgba(214,168,54,.18)!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout{
    border-color:rgba(255,255,255,.1)!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content{
    position:relative!important;
    background:
      linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.94))!important;
    border:1px solid #e4d6b7!important;
    box-shadow:
      0 24px 56px rgba(74,52,13,.08),
      inset 0 1px 0 #fff!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content::before{
    content:""!important;
    position:absolute!important;
    top:0!important;
    right:26px!important;
    left:26px!important;
    height:2px!important;
    background:linear-gradient(90deg,transparent,#d6a836 24%,#f2cf6d 50%,#d6a836 76%,transparent)!important;
    border-radius:999px!important;
  }

  body.woocommerce-account .account-welcome{
    align-items:center!important;
    padding:6px 4px 20px!important;
  }

  body.woocommerce-account .account-welcome h1{
    color:#141414!important;
    font-size:24px!important;
  }

  body.woocommerce-account .account-welcome h1::after{
    content:""!important;
    display:block!important;
    width:54px!important;
    height:3px!important;
    margin-top:10px!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,#d6a836,#f0ca61)!important;
  }

  body.woocommerce-account .account-welcome p{
    color:#7d715e!important;
  }

  body.woocommerce-account .stat-card,
  body.woocommerce-account .surface{
    border-color:#e7dcc4!important;
    background:
      linear-gradient(145deg,#fff 0%,#fffdf8 100%)!important;
    box-shadow:
      0 10px 24px rgba(74,52,13,.045),
      inset 0 1px 0 #fff!important;
  }

  body.woocommerce-account .stat-card{
    position:relative!important;
    overflow:hidden!important;
  }

  body.woocommerce-account .stat-card::before{
    content:""!important;
    position:absolute!important;
    inset:0 auto 0 0!important;
    width:3px!important;
    background:linear-gradient(180deg,#f0c44d,#a66d00)!important;
  }

  body.woocommerce-account .stat-card > strong{
    color:#a66d00!important;
  }

  body.woocommerce-account .stat-card > svg{
    color:#a66d00!important;
  }

  body.woocommerce-account .quick-access > a{
    border:1px solid transparent!important;
  }

  body.woocommerce-account .quick-access > a:hover{
    background:#fff8e9!important;
    border-color:#efd89c!important;
  }

  body.woocommerce-account .icon-tile{
    background:linear-gradient(145deg,#fff4cf,#f5df9e)!important;
    color:#9a6500!important;
    border:1px solid #ecd28c!important;
  }

  body.woocommerce-account .badge,
  body.woocommerce-account .badge-mint{
    display:inline-flex!important;
    align-items:center!important;
    min-height:28px!important;
    padding:0 10px!important;
    border-radius:999px!important;
    border:1px solid #e5cf96!important;
    background:#fff7df!important;
    color:#8b5b00!important;
    font-size:11px!important;
    font-weight:900!important;
  }

  body.woocommerce-account .order-state .button,
  body.woocommerce-account .woocommerce-MyAccount-content button.button,
  body.woocommerce-account .woocommerce-MyAccount-content a.button{
    border:1px solid #b77a00!important;
    background:linear-gradient(135deg,#efc64f,#b97900)!important;
    color:#151515!important;
    font-weight:900!important;
    box-shadow:0 8px 20px rgba(183,122,0,.18)!important;
  }

  body.woocommerce-account .order-state .button:hover,
  body.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
  body.woocommerce-account .woocommerce-MyAccount-content a.button:hover{
    filter:brightness(1.03)!important;
    transform:translateY(-1px)!important;
  }

  body.woocommerce-account .bbox-order-progress li{
    border:1px solid #ece5d6!important;
    background:#faf8f3!important;
  }

  body.woocommerce-account .bbox-order-progress li.is-complete{
    border-color:#e4c778!important;
    background:linear-gradient(180deg,#fff5d9,#f8e6ad)!important;
    color:#745000!important;
    font-weight:800!important;
  }

  body.woocommerce-account .recent-orders{
    overflow:hidden!important;
  }

  body.woocommerce-account .recent-orders table thead th{
    color:#7b6540!important;
    background:#faf6ec!important;
  }

  body.woocommerce-account .recent-orders tbody tr:hover{
    background:#fffaf0!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
  body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
  body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
  body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
  body.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
  body.woocommerce-account .woocommerce-MyAccount-content select,
  body.woocommerce-account .woocommerce-MyAccount-content textarea{
    border-color:#e1d6be!important;
    background:#fffefa!important;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.02)!important;
  }

  body.woocommerce-account .woocommerce-MyAccount-content input:focus,
  body.woocommerce-account .woocommerce-MyAccount-content select:focus,
  body.woocommerce-account .woocommerce-MyAccount-content textarea:focus{
    outline:none!important;
    border-color:#d6a836!important;
    box-shadow:0 0 0 3px rgba(214,168,54,.12)!important;
  }
}
