/* ALTAHANY_FINAL_DESIGN_CONSOLIDATION_V10_86_25 */
:root{
  --ath-cream:#fffaf2;
  --ath-cream-2:#fff4df;
  --ath-gold:#a66a16;
  --ath-gold-2:#c88b2a;
  --ath-brown:#2f2116;
  --ath-muted:#7b6651;
  --ath-border:rgba(166,106,22,.18);
  --ath-shadow:0 16px 38px rgba(48,33,18,.07);
  --ath-radius:24px;
}
html{scroll-behavior:smooth}
body{background:linear-gradient(180deg,#fffdf8 0%,#fff8ee 54%,#fffaf3 100%);color:var(--ath-brown);font-feature-settings:"kern";text-rendering:optimizeLegibility}
body *{box-sizing:border-box}
main{overflow:hidden}
h1,h2,h3{letter-spacing:-.02em;text-wrap:balance}
p{line-height:1.8;text-wrap:pretty}
a,button,.btn,[class*="button"]{touch-action:manipulation}
button,.btn,a[class*="btn"],.button,[class*="cta"]{
  min-height:46px;
  border-radius:999px;
  font-weight:800;
}
img{max-width:100%;height:auto}

/* account / dashboard / favorites page polish */
body:has([href*="/gallery"]) .account-hero,
body:has([href*="/quote"]) .account-hero,
[class*="account"] section:first-of-type,
[class*="profile"] section:first-of-type{
  max-width:1180px;
  margin-inline:auto;
}
.account-page,.profile-page,.customer-dashboard,.customer-portal,[class*="account"],[class*="profile"]{
  --ath-page-pad:clamp(16px,4vw,42px);
}
.account-page h1,.profile-page h1,.customer-dashboard h1,.customer-portal h1,
[class*="account"] h1,[class*="profile"] h1{
  font-size:clamp(2rem,5vw,4.1rem)!important;
  line-height:1.12!important;
  margin-block:clamp(22px,5vw,54px) clamp(10px,2vw,18px)!important;
  color:var(--ath-brown)!important;
  text-align:center;
}
.account-page p,.profile-page p,.customer-dashboard p,.customer-portal p{
  color:var(--ath-muted);
}
.account-page .btn,.profile-page .btn,.customer-dashboard .btn,.customer-portal .btn,
.account-page a[class*="btn"],.profile-page a[class*="btn"],.customer-dashboard a[class*="btn"],.customer-portal a[class*="btn"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  min-height:48px;
  padding:0 20px;
  border:1px solid var(--ath-border);
  box-shadow:0 8px 18px rgba(166,106,22,.08);
}
.account-page .btn-primary,.profile-page .btn-primary,.customer-dashboard .btn-primary,.customer-portal .btn-primary,
.account-page a[href*="gallery"],.profile-page a[href*="gallery"],.customer-dashboard a[href*="gallery"],.customer-portal a[href*="gallery"]{
  background:linear-gradient(135deg,var(--ath-gold-2),var(--ath-gold));
  color:#fff!important;
}

/* empty state cards */
.account-page section,.profile-page section,.customer-dashboard section,.customer-portal section,
.account-page .card,.profile-page .card,.customer-dashboard .card,.customer-portal .card{
  border-color:var(--ath-border)!important;
}
.account-page [class*="empty"],.profile-page [class*="empty"],.customer-dashboard [class*="empty"],.customer-portal [class*="empty"],
.account-page section:has(a[href*="/gallery"]):not(:has(img)),
.profile-page section:has(a[href*="/gallery"]):not(:has(img)),
.customer-dashboard section:has(a[href*="/gallery"]):not(:has(img)){
  max-width:1180px;
  margin:28px auto!important;
  padding:clamp(24px,4vw,44px)!important;
  border:1px dashed rgba(166,106,22,.30)!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#fffdf8,#fff6e7)!important;
  box-shadow:0 12px 28px rgba(48,33,18,.04)!important;
  text-align:center;
}
.account-page [class*="empty"] h2,.profile-page [class*="empty"] h2,.customer-dashboard [class*="empty"] h2,
.account-page section:has(a[href*="/gallery"]):not(:has(img)) h2{
  font-size:clamp(1.45rem,3.2vw,2.4rem)!important;
  margin-bottom:.6rem!important;
}

/* newsletter / subscribe block */
section:has(form[action*="subscribe"]),footer:has(form[action*="subscribe"]),
[class*="newsletter"],[class*="subscribe"]{
  max-width:1180px!important;
  margin:clamp(24px,4vw,52px) auto!important;
  border-radius:30px!important;
}
section:has(form[action*="subscribe"])>*,[class*="newsletter"]>*,
[class*="subscribe"]>*{position:relative}
form[action*="subscribe"]{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr)) auto;
  gap:12px!important;
  align-items:center;
}
form[action*="subscribe"] input{
  min-height:48px!important;
  border:1px solid var(--ath-border)!important;
  border-radius:16px!important;
  padding:0 16px!important;
  background:#fff!important;
}
form[action*="subscribe"] button{
  min-height:48px!important;
  padding-inline:24px!important;
  background:linear-gradient(135deg,var(--ath-gold-2),var(--ath-gold))!important;
  color:#fff!important;
  border:0!important;
}

/* footer/social */
footer{
  background:linear-gradient(180deg,#2b170d,#1c0d07)!important;
  color:#fff7e8!important;
}
footer a{color:inherit}
footer a[href*="instagram.com"],footer a[href*="tiktok.com"],footer a[href*="facebook.com"],footer a[href*="wa.me"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:42px!important;
  min-height:42px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  background:rgba(255,255,255,.06)!important;
  text-decoration:none!important;
}

@media(max-width:900px){
  form[action*="subscribe"]{grid-template-columns:1fr!important}
  .account-page h1,.profile-page h1,.customer-dashboard h1,.customer-portal h1,
  [class*="account"] h1,[class*="profile"] h1{
    font-size:clamp(2rem,10vw,3.2rem)!important;
    margin-block:28px 12px!important;
  }
  .account-page section,.profile-page section,.customer-dashboard section,.customer-portal section{
    padding-inline:16px!important;
  }
  section:has(form[action*="subscribe"]),footer:has(form[action*="subscribe"]),
  [class*="newsletter"],[class*="subscribe"]{
    width:calc(100% - 24px)!important;
    margin-inline:auto!important;
  }
  .account-page .btn,.profile-page .btn,.customer-dashboard .btn,.customer-portal .btn,
  .account-page a[class*="btn"],.profile-page a[class*="btn"],.customer-dashboard a[class*="btn"],.customer-portal a[class*="btn"]{
    width:100%;
    margin:4px 0;
  }
}
