.account-page{
  margin:0;
  background:#FBF8F3;
  color:#5F5B55;
  font-family:"Manrope",sans-serif;
}

.account-topbar{
  width:min(1220px,calc(100% - 40px));
  min-height:120px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(95,91,85,.16);
}

.account-brand{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  color:inherit;
  text-decoration:none;
  line-height:1;
}

.account-brand span{
  font-family:"Cormorant Garamond",serif;
  font-size:17px;
  font-style:italic;
  color:#C7A46A;
}

.account-brand strong{
  font-family:"Cormorant Garamond",serif;
  font-size:30px;
  font-weight:400;
  letter-spacing:8px;
}

.account-brand small{
  margin-top:8px;
  font-size:6px;
  letter-spacing:4px;
  text-transform:uppercase;
}

.account-top-actions{
  display:flex;
  gap:24px;
}

.account-top-actions a{
  color:inherit;
  font-size:8px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  text-decoration:none;
}

.premium-account{
  width:min(1220px,calc(100% - 40px));
  margin:60px auto 100px;
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:50px;
}

.account-sidebar{
  position:sticky;
  top:30px;
  align-self:start;
  padding:32px;
  background:#F0EBE3;
}

.account-identity span,
.kicker{
  font-size:7px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#C7A46A;
}

.account-identity h1{
  margin:10px 0 8px;
  font-family:"Cormorant Garamond",serif;
  font-size:31px;
  font-weight:400;
  line-height:1.05;
}

.account-identity p{
  margin:0;
  font-size:9px;
  color:rgba(95,91,85,.65);
  word-break:break-word;
}

.account-nav{
  display:grid;
  margin-top:34px;
}

.account-nav a{
  padding:15px 0;
  border-top:1px solid rgba(95,91,85,.14);
  color:inherit;
  text-decoration:none;
  font-size:9px;
  letter-spacing:1.3px;
  text-transform:uppercase;
}

.account-nav a.active,
.account-nav a:hover{
  color:#C7A46A;
}

.account-content{
  min-width:0;
}

.account-hero{
  padding:55px;
  background:#fff;
}

.account-hero h2{
  margin:12px 0;
  font-family:"Cormorant Garamond",serif;
  font-size:60px;
  font-weight:400;
  line-height:1;
}

.account-hero > p{
  max-width:580px;
  color:rgba(95,91,85,.7);
  font-size:12px;
  line-height:1.8;
}

.account-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:38px;
}

.account-stats article{
  padding:22px;
  background:#FBF8F3;
}

.account-stats span,
.order-card span,
.profile-card span,
.address-card > span{
  display:block;
  margin-bottom:7px;
  font-size:7px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:rgba(95,91,85,.58);
}

.account-stats strong{
  font-family:"Cormorant Garamond",serif;
  font-size:24px;
  font-weight:400;
}

.account-section{
  margin-top:28px;
  padding:42px;
  background:#F0EBE3;
}

.section-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px;
}

.section-heading h3{
  margin:7px 0 0;
  font-family:"Cormorant Garamond",serif;
  font-size:42px;
  font-weight:400;
}

.section-heading > a{
  color:inherit;
  font-size:8px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  text-underline-offset:4px;
}

.orders-list{
  display:grid;
  gap:12px;
}

.order-card{
  display:grid;
  grid-template-columns:1.2fr .8fr .7fr 1fr 1fr;
  gap:20px;
  padding:22px;
  background:#fff;
}

.order-card strong{
  font-size:10px;
  font-weight:500;
}

.empty-state{
  padding:30px;
  background:#fff;
}

.empty-state h4{
  margin:0 0 8px;
  font-family:"Cormorant Garamond",serif;
  font-size:25px;
  font-weight:400;
}

.empty-state p{
  margin:0;
  font-size:11px;
  line-height:1.8;
  color:rgba(95,91,85,.7);
}

.address-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.address-card,
.profile-card{
  padding:24px;
  background:#fff;
}

.address-card strong,
.address-card p{
  display:block;
  margin:5px 0;
  font-size:11px;
}

.profile-card{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
}

.profile-card strong{
  font-size:11px;
}

.account-shell{
  width:min(1120px,calc(100% - 40px));
  min-height:100vh;
  margin:auto;
  padding:50px 0 90px;
}

.account-panel{
  width:min(540px,100%);
  margin:80px auto 0;
  padding:55px;
  background:#fff;
}

.account-panel h1{
  margin:12px 0;
  font-family:"Cormorant Garamond",serif;
  font-size:58px;
  font-weight:400;
  line-height:1;
}

.account-panel > p{
  color:rgba(95,91,85,.7);
  font-size:12px;
}

.account-form{
  display:grid;
  gap:18px;
  margin-top:34px;
}

.account-form label{
  display:grid;
  gap:8px;
}

.account-form label span{
  font-size:8px;
  letter-spacing:1.7px;
  text-transform:uppercase;
}

.account-form input{
  width:100%;
  box-sizing:border-box;
  padding:15px;
  border:1px solid rgba(95,91,85,.18);
  background:#fff;
}

.account-form button,
.account-back{
  display:inline-block;
  padding:17px 22px;
  border:0;
  background:#5F5B55;
  color:#fff;
  text-decoration:none;
  text-align:center;
  cursor:pointer;
  font-size:9px;
  letter-spacing:2px;
  text-transform:uppercase;
}

.account-back{
  margin-top:16px;
  background:transparent;
  color:#5F5B55;
  padding-left:0;
}

.account-error{
  margin-top:24px;
  padding:14px;
  border:1px solid rgba(145,55,55,.22);
  background:rgba(145,55,55,.06);
  font-size:11px;
}

@media(max-width:900px){
  .premium-account{
    grid-template-columns:1fr;
  }

  .account-sidebar{
    position:static;
  }

  .account-nav{
    grid-template-columns:repeat(2,1fr);
    gap:0 20px;
  }

  .order-card{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:650px){
  .account-top-actions{
    gap:12px;
  }

  .account-top-actions a:first-child{
    display:none;
  }

  .account-hero,
  .account-section{
    padding:28px 20px;
  }

  .account-hero h2{
    font-size:44px;
  }

  .account-stats,
  .address-grid,
  .profile-card,
  .account-nav,
  .order-card{
    grid-template-columns:1fr;
  }

  .section-heading{
    align-items:start;
    flex-direction:column;
  }

  .account-panel{
    padding:38px 24px;
  }
}
