/* Golden Veil v599: concise, image-led category tiles.
   No backend, checkout, KV or CMS schema changes. */
body.gv508-home .category-intro .category-card{
  background-color:#eee6df!important;
}
/* Explicitly keep the image area neutral while the latest Admin photo is fetched.
   Old bundled images must never show through before the live settings arrive. */
@media(min-width:701px){
  body.gv508-home .category-intro{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:clamp(8px,1vw,15px)!important;
    padding:10px clamp(13px,2.3vw,39px) 15px!important;
  }
  body.gv508-home .category-intro .category-card{
    box-sizing:border-box!important;
    min-width:0!important;
    width:100%!important;
    min-height:0!important;
    height:clamp(166px,14.4vw,214px)!important;
    padding:0!important;
    border:1px solid #e5dacf!important;
    border-radius:3px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-end!important;
    overflow:hidden!important;
    box-shadow:none!important;
    transition:border-color .2s ease!important;
  }
  body.gv508-home .category-intro .category-card:hover{
    transform:none!important; border-color:#bda590!important;
  }
  body.gv508-home .category-intro .category-card::before{
    inset:0 0 44px!important;
    z-index:0!important;
    background-position:center 40%!important;
    background-size:cover!important;
  }
  body.gv508-home .category-intro .category-card::after{display:none!important}
  body.gv508-home .category-intro .category-card>div{
    box-sizing:border-box!important;
    height:44px!important;
    min-height:44px!important;
    width:100%!important;
    max-width:none!important;
    padding:5px 8px!important;
    position:relative!important;z-index:1!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    background:#f7f1eb!important;color:#443832!important;
  }
  body.gv508-home .category-intro .category-card h2{
    box-sizing:border-box!important;
    color:#443832!important;
    font:500 clamp(20px,2vw,29px)/1.05 'Cormorant Garamond',Georgia,serif!important;
    text-align:center!important;
    letter-spacing:-.02em!important;
    max-width:100%!important;
    margin:0!important;
    overflow-wrap:normal!important;
    white-space:normal!important;
  }
  body.gv508-home .category-intro .category-card :is(.eyebrow,p:not(.eyebrow),div>span){
    display:none!important;
  }
}
/* Keep the existing mobile composition, just make it slightly shorter. */
@media(max-width:700px){
  body.gv508-home .category-intro{padding-bottom:12px!important;}
  body.gv508-home .category-intro .category-card:not(.category-golden-edit){
    min-height:140px!important;
    aspect-ratio:0.9!important;
  }
  body.gv508-home .category-intro .category-golden-edit{
    min-height:150px!important;
  }
  body.gv508-home .category-intro .category-card h2{
    color:#443832!important;
  }
  body.gv508-home .category-intro .category-accessories h2{
    font-size:clamp(13px,3.95vw,18px)!important;
    letter-spacing:-.045em!important;
  }
}
@media(max-width:380px){
  body.gv508-home .category-intro .category-card:not(.category-golden-edit){min-height:128px!important}
  body.gv508-home .category-intro .category-accessories h2{font-size:13px!important}
}
