.signature{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;min-height:82svh;padding:clamp(6rem,10vw,10rem) 8vw 4rem;background:radial-gradient(ellipse at 76% 43%,#f0d6d2,#f6ebe4 44%,#faf4ee 78%);color:#311b20}
.signature-copy{position:relative;z-index:1}.signature h1{margin:.22em 0 .38em;font-size:clamp(4rem,8vw,9rem);line-height:.89;letter-spacing:-.065em;text-transform:uppercase}.signature h1 span{color:#a93753}.signature-art{display:grid;place-items:center}.signature-art img{width:100%;height:clamp(15rem,57svh,38rem);object-fit:contain;transform:rotate(-12deg)}
@media(max-width:680px){.signature{padding:6rem 6vw 3rem;grid-template-columns:58% 42%;min-height:68svh}.signature h1{font-size:clamp(2.7rem,10vw,4.3rem)}.signature-art img{height:32svh}.signature-copy .eyebrow{font-size:.7rem}}

.detail-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #bea782 transparent;
}
.detail-track .product-gallery {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  overflow: hidden;
}
.detail-track .product-image img { object-fit: contain; }
.category-tabs button { min-height: 42px; }

.gloss-feature .gloss-stage {
  display: grid;
  align-content: center;
  justify-items: center;
  width: 100%;
  min-width: 0;
  padding: 8%;
  aspect-ratio: 3 / 2;
  background: radial-gradient(ellipse at 48% 45%, #fbf3ee 15%, #f1e3df 92%);
}
.gloss-stage img, .gloss-stage canvas { width: 100%; height: auto; grid-area: 1 / 1; align-self: center; }
.gloss-stage [hidden], .gloss-setting[hidden] { display: none; }
.gloss-feature .product-description { padding: 1rem 1.4rem; }
.gloss-setting { margin: 1.1rem 0 1.6rem; }
.gloss-setting label { font-size: .875rem; font-weight: 600; }
.gloss-setting input { display: block; width: 100%; height: 36px; margin: 0; accent-color: #8b4457; touch-action: pan-y; }
.gloss-endpoints, .gloss-links { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.gloss-endpoints { font-size: .81rem; color: #60444b; }
.gloss-links { justify-content: flex-start; flex-wrap: wrap; gap: 1rem; }
.gloss-links a:last-child { font-size: .88rem; text-decoration: underline; text-underline-offset: .2em; }
@media(max-width:760px) {
  .gloss-feature .product-description { width: 100%; padding: 1rem 0; }
  .gloss-feature .gloss-stage { padding: 3% 8%; }
}

/* A single pigment stroke gives the lipstick its own studio backdrop. */
.signature-art { position: relative; isolation: isolate; }
.signature-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 87%;
  height: 26%;
  background: linear-gradient(175deg, #c67781, #ae455e 58%, #c16678);
  clip-path: polygon(0 37%, 8% 18%, 23% 10%, 72% 4%, 97% 7%, 84% 13%, 100% 12%, 94% 22%, 99% 22%, 91% 34%, 96% 33%, 83% 47%, 91% 44%, 78% 60%, 85% 58%, 68% 74%, 24% 94%, 7% 96%, 1% 82%);
  transform: rotate(-24deg);
  transform-origin: 20% 65%;
}
@media (prefers-reduced-motion: no-preference) {
  .signature-art { animation: studio-enter 700ms cubic-bezier(.18,.72,.24,1) both; }
  .signature-art::before { animation: pigment-draw 780ms cubic-bezier(.19,.7,.22,1) both; }
  @supports (animation-timeline: view()) {
    .signature { view-timeline-name: --hero-exit; }
    .signature-art img {
      animation: studio-turn linear both;
      animation-timeline: --hero-exit;
      animation-range: exit 0% exit 85%;
    }
  }
}
@keyframes studio-enter {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}
@keyframes pigment-draw {
  from { transform: rotate(-24deg) scaleX(.06); opacity: 0; }
  to { transform: rotate(-24deg) scaleX(1); opacity: 1; }
}
@keyframes studio-turn {
  from { transform: translateY(0) rotate(-12deg) scale(1); }
  to { transform: translateY(6%) rotate(-2deg) scale(1.045); }
}

.product-image img[src$="cutout-mas-27279.png"]{object-view-box:inset(22% 32% 22% 32%)}
