/* Vanityform v0.53 — visible hero repair after Opera review. */
html[data-beauty-storefront="v0.53"] .store-home-qa-banner,
html[data-beauty-storefront="v0.53"] .beauty-commerce-qa-banner,
html[data-beauty-storefront="v0.53"] .beauty-secondary-qa-banner,
html[data-beauty-storefront="v0.53"] body > div[style*="z-index:9999"],
html[data-beauty-storefront="v0.53"] .catalog-card__price-note,
html[data-beauty-storefront="v0.53"] .product-preview-indicator,
html[data-beauty-storefront="v0.53"] .product-module-preview,
html[data-beauty-storefront="v0.53"] [data-workbench-only="true"] { display:none !important; }

html[data-beauty-storefront="v0.53"] .beauty-reference-media::after,
html[data-beauty-storefront="v0.53"] .beauty-offer-card .beauty-reference-media::after { content:none !important; display:none !important; }

/* Home: dedicated approved master only. Never reuse category/editorial media here. */
html[data-beauty-storefront="v0.53"] .beauty-editorial-home-hero--v053 .beauty-editorial-home-hero__media {
  inset:0;
  background:#eadbd0;
}
html[data-beauty-storefront="v0.53"] .beauty-editorial-home-hero--v053 .beauty-editorial-home-hero__media img {
  width:100%; height:100%; object-fit:cover; object-position:50% 50%; transform:none; filter:saturate(.94) contrast(1.01);
}
html[data-beauty-storefront="v0.53"] .beauty-editorial-home-hero--v053 .beauty-editorial-home-hero__stage::after {
  background:linear-gradient(90deg,rgba(239,226,216,.98) 0%,rgba(239,226,216,.94) 24%,rgba(239,226,216,.68) 37%,rgba(239,226,216,.18) 52%,transparent 66%);
}

/* Makeup: stop letting the copy drift too far into the face/photo. */
body.beauty-catalog-qa-preview[data-catalog-context="makeup"][data-editorial-photography="v0.50"] .shopify-catalog-hero__visual {
  inset:0 36% 0 0;
}
body.beauty-catalog-qa-preview[data-catalog-context="makeup"][data-editorial-photography="v0.50"] .shopify-catalog-hero::before {
  background:linear-gradient(270deg,#eee1dc 0%,#eee1dc 34%,rgba(238,225,220,.98) 41%,rgba(238,225,220,.80) 48%,rgba(238,225,220,.28) 58%,transparent 68%);
}
body.beauty-catalog-qa-preview[data-catalog-context="makeup"][data-editorial-photography="v0.50"] .shopify-catalog-hero__copy {
  width:min(40%,590px);
  padding:clamp(58px,5.4vw,86px) clamp(44px,5vw,76px) clamp(56px,5vw,82px) 30px;
}
body.beauty-catalog-qa-preview[data-catalog-context="makeup"][data-editorial-photography="v0.50"] .shopify-catalog-hero h1 {
  max-width:7.3ch;
  font-size:clamp(3.45rem,4.45vw,5.25rem);
  line-height:.91;
}
body.beauty-catalog-qa-preview[data-catalog-context="makeup"][data-editorial-photography="v0.50"] .shopify-catalog-hero__animal {
  object-position:46% 42%; transform:scale(1.006);
}

/* Self-care: calmer image, more breathing room, no extreme facial crop. */
body.beauty-catalog-qa-preview[data-catalog-context="selfcare"][data-editorial-photography="v0.50"] .shopify-catalog-hero {
  min-height:clamp(560px,43vw,650px);
  background:#ebe2dd;
}
body.beauty-catalog-qa-preview[data-catalog-context="selfcare"][data-editorial-photography="v0.50"] .shopify-catalog-hero__visual {
  inset:0 0 0 36%;
  background:#d8d0cb;
}
body.beauty-catalog-qa-preview[data-catalog-context="selfcare"][data-editorial-photography="v0.50"] .shopify-catalog-hero::before {
  background:linear-gradient(90deg,#ebe2dd 0%,#ebe2dd 33%,rgba(235,226,221,.98) 40%,rgba(235,226,221,.73) 49%,rgba(235,226,221,.18) 61%,transparent 70%);
}
body.beauty-catalog-qa-preview[data-catalog-context="selfcare"][data-editorial-photography="v0.50"] .shopify-catalog-hero__copy {
  width:min(39%,570px);
  padding:clamp(58px,5.4vw,84px) 8px clamp(54px,5vw,80px) clamp(48px,5vw,78px);
}
body.beauty-catalog-qa-preview[data-catalog-context="selfcare"][data-editorial-photography="v0.50"] .shopify-catalog-hero h1 {
  max-width:8ch;
  font-size:clamp(3.35rem,4.5vw,5.25rem);
  line-height:.91;
}
body.beauty-catalog-qa-preview[data-catalog-context="selfcare"][data-editorial-photography="v0.50"] .shopify-catalog-hero__animal {
  object-position:50% 48%; transform:scale(1.005); filter:saturate(.88) contrast(1.012) brightness(1.015);
}

@media (max-width:760px) {
  html[data-beauty-storefront="v0.53"] .beauty-editorial-home-hero--v053 .beauty-editorial-home-hero__media img { object-position:63% 46%; }
  html[data-beauty-storefront="v0.53"] .beauty-editorial-home-hero--v053 .beauty-editorial-home-hero__stage::after {
    background:linear-gradient(180deg,rgba(239,226,216,.02) 34%,rgba(239,226,216,.65) 60%,rgba(239,226,216,.98) 80%);
  }
  body.beauty-catalog-qa-preview[data-catalog-context="makeup"][data-editorial-photography="v0.50"] .shopify-catalog-hero__visual,
  body.beauty-catalog-qa-preview[data-catalog-context="selfcare"][data-editorial-photography="v0.50"] .shopify-catalog-hero__visual {
    inset:0 0 auto; height:56%;
  }
  body.beauty-catalog-qa-preview[data-catalog-context="makeup"][data-editorial-photography="v0.50"] .shopify-catalog-hero__copy,
  body.beauty-catalog-qa-preview[data-catalog-context="selfcare"][data-editorial-photography="v0.50"] .shopify-catalog-hero__copy {
    position:absolute; inset:auto 0 0; width:100%; min-height:46%; padding:58px 22px 32px;
  }
  body.beauty-catalog-qa-preview[data-catalog-context="selfcare"][data-editorial-photography="v0.50"] .shopify-catalog-hero__animal { object-position:50% 46%; }
}
