/* v598: Homepage photography & mobile tiles only. No admin/store/checkout changes. */
body.gv508-home .gv585-hero .gv585-hero-picture{position:relative!important;isolation:isolate;background:#e8e0d8!important;overflow:hidden!important;}
body.gv508-home .gv585-hero .gv585-hero-picture::before{
 content:"";position:absolute;inset:-24px;z-index:0;pointer-events:none;
 background-image:var(--gv598-photo,none);background-position:center;background-size:cover;
 filter:blur(22px);opacity:.22;
}
body.gv508-home .gv585-hero .gv585-hero-picture .gv598-hero-image{
 position:relative;z-index:1;display:block;width:100%;height:100%;max-width:100%;
 object-fit:contain;object-position:center center;opacity:0;transition:opacity .18s ease;
}
body.gv508-home .gv585-hero .gv585-hero-picture.gv598-hero-ready .gv598-hero-image{opacity:1}
/* Landscape gallery images use their natural proportions wherever possible. */
@media(min-width:801px){
 body.gv508-home .gv585-hero .gv585-hero-picture{aspect-ratio:2.65/1!important;height:auto!important;max-height:650px!important;}
}
/* Very small category tiles need typography that actually fits. */
@media(max-width:700px){
 body.gv508-home .category-intro{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
 body.gv508-home .category-intro .category-card{min-width:0!important;}
 body.gv508-home .category-intro .category-card:not(.category-golden-edit)>div{min-width:0!important;width:100%!important;box-sizing:border-box!important;}
 body.gv508-home .category-intro .category-card h2{
   box-sizing:border-box!important;max-width:100%!important;
   font-size:clamp(15px,4.65vw,21px)!important;line-height:1.05!important;
   letter-spacing:-.045em!important;white-space:normal!important;overflow-wrap:break-word!important;
   margin:0!important;text-align:center!important;
 }
 body.gv508-home .category-intro .category-accessories h2{font-size:clamp(14px,4.15vw,19px)!important;letter-spacing:-.055em!important;}
 /* Restore a real Golden Edit image (legacy CSS had hidden its ::before element). */
 body.gv508-home .category-intro .category-golden-edit{
   grid-column:1/-1!important;display:flex!important;position:relative!important;
   min-height:185px!important;aspect-ratio:auto!important;background:#eee5df!important;
   padding:0!important;align-items:flex-end!important;
 }
 body.gv508-home .category-intro .category-golden-edit::before{
   content:""!important;display:block!important;inset:0 0 43px!important;
   opacity:1!important;z-index:0!important;
   background-image:var(--gv508-edit-image,url('/images/blog-blusher-facebook.jpg'))!important;
   background-size:cover!important;background-position:center 36%!important;
 }
 body.gv508-home .category-intro .category-golden-edit::after{display:none!important;}
 body.gv508-home .category-intro .category-golden-edit>div{
   position:relative!important;z-index:1!important;width:100%!important;max-width:none!important;
   min-height:43px!important;height:43px!important;box-sizing:border-box!important;
   background:#f5efe9!important;padding:7px 10px!important;
   display:flex!important;align-items:center!important;justify-content:center!important;
 }
 body.gv508-home .category-intro .category-golden-edit h2{font-size:23px!important;}
 body.gv508-home .gv585-hero .gv585-hero-picture{height:auto!important;max-height:none!important;aspect-ratio:1.6/1!important;}
}
@media(max-width:380px){body.gv508-home .category-intro .category-accessories h2{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){body.gv508-home .gv598-hero-image{transition:none!important}}

/* A small amount of breathing room for the three mobile tile labels. */
@media(max-width:700px){
 body.gv508-home .category-intro .category-card:not(.category-golden-edit)>div{height:43px!important;min-height:43px!important;padding:3px 3px!important;}
 body.gv508-home .category-intro .category-card:not(.category-golden-edit)::before{inset:0 0 43px!important;}
 body.gv508-home .category-intro .category-card:not(.category-golden-edit) h2{font-weight:500!important;line-height:1.08!important;}
}
