/* Golden Veil Bridal v628 — editorial homepage rhythm, upload-safe images.
   All product photos continue to come from Homepage Photos in Admin.
   Scoped to the storefront homepage; no order, checkout or stock code changed. */

/* Gentle page rhythm instead of a full-width photo followed by very short cards. */
body.gv508-home .gv585-hero {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0, 57%) minmax(0,43%)!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  gap:0!important;
  max-width:1450px!important;
  width:calc(100% - clamp(36px,5.3vw,90px))!important;
  margin:clamp(18px,2.7vw,40px) auto 0!important;
  padding:0!important;
  background:#f8f3ee!important;
  border:1px solid #e9dfd5!important;
  overflow:hidden!important;
}
body.gv508-home .gv585-hero .gv585-hero-picture {
  box-sizing:border-box!important;
  grid-column:1!important;grid-row:1 / 3!important;
  order:0!important;
  width:100%!important;height:clamp(415px,38vw,585px)!important;
  min-height:0!important;max-height:585px!important;
  aspect-ratio:auto!important;
  margin:0!important;
  border:0!important;
  background:#ebe4dc!important;
}
body.gv508-home .gv585-hero .gv585-hero-picture::before {
  inset:0!important;
  filter:blur(32px) saturate(.8)!important;
  opacity:.32!important;
}
body.gv508-home .gv585-hero .gv585-hero-picture .gv598-hero-image {
  width:100%!important;height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
}
body.gv508-home .gv585-hero .gv585-hero-intro {
  grid-column:2!important;grid-row:1!important;
  order:0!important;
  display:flex!important;align-items:flex-start!important;
  justify-content:flex-end!important;
  text-align:left!important;
  background:transparent!important;
  padding:clamp(42px,5vw,88px) clamp(30px,4.2vw,76px) 12px!important;
  border:0!important;
}
body.gv508-home .gv585-hero .gv585-hero-intro .eyebrow {
  display:block!important;
  margin:0 0 19px!important;
  color:#a58a78!important;
  font:600 10px/1.35 Inter,Arial,sans-serif!important;
  letter-spacing:.19em!important;
}
body.gv508-home .gv585-hero .gv585-hero-intro h1 {
  max-width:540px!important;
  margin:0!important;
  font:italic 400 clamp(48px,5vw,83px)/.99 'Cormorant Garamond',Georgia,serif!important;
  letter-spacing:-.027em!important;
  text-align:left!important;
  text-wrap:balance!important;
  color:#57453a!important;
}
body.gv508-home .gv585-hero .gv585-hero-footer {
  grid-column:2!important;grid-row:2!important;
  order:0!important;
  display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;justify-content:flex-end!important;
  gap:clamp(17px,2.6vw,36px)!important;
  width:100%!important;min-width:0!important;
  padding:0 clamp(30px,4.2vw,76px) clamp(40px,4.7vw,78px)!important;
  background:transparent!important;border:0!important;
}
body.gv508-home .gv585-hero .gv585-hero-footer .hero-lead {
  flex:none!important;
  width:100%!important;
  max-width:450px!important;
  color:#77665b!important;
  font:400 clamp(19px,1.8vw,25px)/1.3 'Cormorant Garamond',Georgia,serif!important;
  letter-spacing:0!important;
  text-align:left!important;
}
body.gv508-home .gv585-hero .gv585-hero-footer .hero-actions {
  gap:clamp(18px,2.2vw,31px)!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
}
body.gv508-home .gv585-hero .gv585-hero-footer .hero-button {
  padding:9px 0!important;
  font-size:10px!important;
  letter-spacing:.1em!important;
}

/* A calm break between the hero story and the four entry points. */
body.gv508-home .category-intro {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(16px,2vw,26px)!important;
  max-width:1450px!important;
  margin:0 auto!important;
  padding:clamp(46px,5.2vw,78px) clamp(18px,3.2vw,49px) clamp(40px,5vw,75px)!important;
  background:transparent!important;
}
body.gv508-home .gv628-section-intro {
  grid-column:1/-1!important;
  display:flex;flex-direction:column;align-items:center;
  text-align:center;gap:9px;
  margin:0 0 clamp(9px,1.4vw,21px);
}
body.gv508-home .gv628-section-intro p {
  margin:0;color:#a18772;
  font:600 9px/1.5 Inter,Arial,sans-serif;letter-spacing:.21em;
}
body.gv508-home .gv628-section-intro h2 {
  margin:0;
  color:#514238;
  font:400 clamp(33px,3.6vw,50px)/1.05 'Cormorant Garamond',Georgia,serif;
  letter-spacing:-.025em;
}
body.gv508-home .category-intro .category-card,
body.gv508-home .category-intro .category-card.category-golden-edit {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:48% minmax(0,52%)!important;
  position:relative!important;
  align-items:stretch!important;
  width:100%!important;min-width:0!important;
  min-height:0!important;
  height:clamp(262px,22vw,315px)!important;
  aspect-ratio:auto!important;
  padding:0!important;
  border:1px solid #e8ddd3!important;
  border-radius:2px!important;
  background:#ece3dc!important;
  box-shadow:none!important;
  overflow:hidden!important;
  text-decoration:none!important;
  transition:border-color .18s ease!important;
}
/* Two photo layers make portrait, square and landscape uploads look intentional:
   clear whole image in front; muted soft-focus fill behind only the photo half. */
body.gv508-home .category-intro .category-card::before,
body.gv508-home .category-intro .category-card.category-golden-edit::before {
  content:''!important;display:block!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:48%!important;height:100%!important;
  background-image:var(--gv601-image,none)!important;
  background-color:transparent!important;
  background-size:contain!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  opacity:1!important;z-index:1!important;
  transform:none!important;filter:none!important;
  pointer-events:none!important;
}
body.gv508-home .category-intro .category-card::after,
body.gv508-home .category-intro .category-card.category-golden-edit::after {
  content:''!important;display:block!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:48%!important;height:100%!important;
  background-image:var(--gv601-image,none)!important;
  background-color:#e8ded5!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  opacity:.27!important;z-index:0!important;
  filter:blur(16px) saturate(.72)!important;
  transform:scale(1.06)!important;
  pointer-events:none!important;
}
html.gv-home-hero-pending body.gv508-home .category-intro .category-card::before,
html.gv-home-hero-pending body.gv508-home .category-intro .category-card::after {opacity:0!important}
/* Follow current Admin photo selections in ALL four cards, including Golden Edit. */
body.gv508-home .category-intro .category-veils {--gv601-image:var(--gv508-veils-image,none)!important}
body.gv508-home .category-intro .category-accessories {--gv601-image:var(--gv508-accessories-image,none)!important}
body.gv508-home .category-intro .category-groom {--gv601-image:var(--gv508-groom-image,none)!important}
body.gv508-home .category-intro .category-golden-edit {--gv601-image:var(--gv508-edit-image,none)!important}
body.gv508-home .category-intro .category-card>div,
body.gv508-home .category-intro .category-card.category-golden-edit>div {
  box-sizing:border-box!important;
  grid-column:2!important;grid-row:1!important;
  display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;justify-content:center!important;
  position:relative!important;z-index:2!important;
  width:100%!important;min-width:0!important;
  max-width:none!important;
  height:100%!important;min-height:0!important;
  padding:clamp(20px,2.8vw,43px)!important;
  text-align:left!important;
  background:linear-gradient(130deg,#fdfaf7,#f7f1ea)!important;
}
body.gv508-home .category-intro .category-card .eyebrow,
body.gv508-home .category-intro .category-card.category-golden-edit .eyebrow {
  display:block!important;
  margin:0 0 12px!important;
  color:#aa8c78!important;
  font:600 9px/1.45 Inter,Arial,sans-serif!important;
  letter-spacing:.14em!important;
}
body.gv508-home .category-intro .category-card h2,
body.gv508-home .category-intro .category-card.category-golden-edit h2 {
  display:block!important;
  max-width:100%!important;
  margin:0 0 11px!important;
  font:400 clamp(34px,3.2vw,49px)/1 'Cormorant Garamond',Georgia,serif!important;
  letter-spacing:-.028em!important;
  text-align:left!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  color:#4e3e35!important;
}
body.gv508-home .category-intro .category-card p:not(.eyebrow),
body.gv508-home .category-intro .category-card.category-golden-edit p:not(.eyebrow) {
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
  line-clamp:2!important;
  overflow:hidden!important;
  max-width:335px!important;
  margin:0 0 19px!important;
  color:#84746b!important;
  font:400 clamp(15px,1.38vw,19px)/1.25 'Cormorant Garamond',Georgia,serif!important;
}
body.gv508-home .category-intro .category-card>div>span,
body.gv508-home .category-intro .category-card.category-golden-edit>div>span {
  display:inline-block!important;
  padding:0 0 6px!important;
  border-bottom:1px solid #b69b84!important;
  margin:0!important;
  color:#635045!important;
  font:600 9px/1.3 Inter,Arial,sans-serif!important;
  letter-spacing:.065em!important;text-transform:uppercase!important;
}
body.gv508-home .category-intro .category-card:hover,
body.gv508-home .category-intro .category-card.category-golden-edit:hover {
  transform:none!important;border-color:#af9580!important;
}
body.gv508-home .category-intro .category-card:focus-visible {
  outline:2px solid #9c7961!important;outline-offset:3px!important;
}

@media (max-width:1100px) and (min-width:701px) {
  body.gv508-home .gv585-hero {grid-template-columns:54% minmax(0,46%)!important}
  body.gv508-home .gv585-hero .gv585-hero-picture {height:clamp(355px,38vw,440px)!important}
  body.gv508-home .gv585-hero .gv585-hero-intro {padding:38px 26px 10px!important}
  body.gv508-home .gv585-hero .gv585-hero-intro h1 {font-size:clamp(39px,5.4vw,63px)!important}
  body.gv508-home .gv585-hero .gv585-hero-footer {padding:0 26px 34px!important}
  body.gv508-home .category-intro .category-card {height:260px!important}
  body.gv508-home .category-intro .category-card>div {padding:19px!important}
  body.gv508-home .category-intro .category-card h2 {font-size:34px!important}
  body.gv508-home .category-intro .category-card p:not(.eyebrow) {font-size:16px!important}
}
@media (max-width:700px) {
  body.gv508-home .gv585-hero {
    display:flex!important;flex-direction:column!important;
    max-width:none!important;width:100%!important;
    margin:0!important;border:0!important;
  }
  body.gv508-home .gv585-hero .gv585-hero-intro {
    order:0!important;width:100%!important;
    align-items:center!important;justify-content:center!important;
    text-align:center!important;padding:22px 18px 16px!important;
  }
  body.gv508-home .gv585-hero .gv585-hero-intro .eyebrow {margin:0 0 9px!important;font-size:8px!important}
  body.gv508-home .gv585-hero .gv585-hero-intro h1 {
    font-size:clamp(32px,8.5vw,49px)!important;
    text-align:center!important;letter-spacing:-.025em!important;
  }
  body.gv508-home .gv585-hero .gv585-hero-picture {
    order:1!important;width:100%!important;
    height:auto!important;max-height:none!important;
    aspect-ratio:1.55/1!important;
  }
  body.gv508-home .gv585-hero .gv585-hero-footer {
    order:2!important;width:100%!important;
    align-items:center!important;gap:13px!important;
    padding:20px 21px 24px!important;
  }
  body.gv508-home .gv585-hero .gv585-hero-footer .hero-lead {
    max-width:370px!important;font-size:18px!important;text-align:center!important;
  }
  body.gv508-home .gv585-hero .gv585-hero-footer .hero-actions {justify-content:center!important;gap:21px!important}
  body.gv508-home .category-intro {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    padding:38px 13px 38px!important;
  }
  body.gv508-home .gv628-section-intro {margin-bottom:8px;gap:7px}
  body.gv508-home .gv628-section-intro h2 {font-size:36px!important}
  body.gv508-home .category-intro .category-card,
  body.gv508-home .category-intro .category-card.category-golden-edit {
    grid-column:auto!important;
    display:flex!important;flex-direction:column!important;
    height:clamp(228px,68vw,282px)!important;
    min-height:0!important;
  }
  body.gv508-home .category-intro .category-card::before,
  body.gv508-home .category-intro .category-card.category-golden-edit::before,
  body.gv508-home .category-intro .category-card::after,
  body.gv508-home .category-intro .category-card.category-golden-edit::after {
    inset:0 0 79px!important;
    width:100%!important;height:auto!important;
  }
  body.gv508-home .category-intro .category-card>div,
  body.gv508-home .category-intro .category-card.category-golden-edit>div {
    box-sizing:border-box!important;
    margin-top:auto!important;
    width:100%!important;height:79px!important;min-height:79px!important;
    padding:9px 9px 10px!important;
    align-items:center!important;justify-content:center!important;
    text-align:center!important;
  }
  body.gv508-home .category-intro .category-card .eyebrow {display:none!important}
  body.gv508-home .category-intro .category-card h2,
  body.gv508-home .category-intro .category-card.category-golden-edit h2 {
    margin:0 0 7px!important;
    font-size:clamp(23px,6vw,32px)!important;
    text-align:center!important;
  }
  body.gv508-home .category-intro .category-card p:not(.eyebrow) {display:none!important}
  body.gv508-home .category-intro .category-card>div>span,
  body.gv508-home .category-intro .category-card.category-golden-edit>div>span {
    font-size:8px!important;letter-spacing:.05em!important;padding:0 0 4px!important;
  }
}
@media (max-width:380px) {
  body.gv508-home .category-intro {gap:9px!important;padding-left:10px!important;padding-right:10px!important}
  body.gv508-home .category-intro .category-card h2,
  body.gv508-home .category-intro .category-card.category-golden-edit h2 {font-size:22px!important}
  body.gv508-home .category-intro .category-card.category-golden-edit h2 {font-size:20px!important}
}
@media(prefers-reduced-motion:reduce) {
  body.gv508-home .category-intro .category-card {transition:none!important}
}
/* Ensure the old mobile selectors cannot extend photos behind the caption. */
@media (max-width:700px) {
  body.gv508-home .category-intro .category-card:not(.category-golden-edit)::before,
  body.gv508-home .category-intro .category-card:not(.category-golden-edit)::after,
  body.gv508-home .category-intro .category-card.category-golden-edit::before,
  body.gv508-home .category-intro .category-card.category-golden-edit::after {
    inset:0 0 79px!important;
    width:100%!important;
    height:auto!important;
  }
}
