﻿/* Scoped exclusively to generic iPhone product detail Heroes. */
body.product-detail-standard .detail-hero.iphone-hero {
  --iphone-hero-tone: #e9ecef;
  --iphone-hero-light: #ffffff;
  --iphone-hero-copy: #1d1d1f;
  --iphone-product-scale: .76;
  position: relative;
  display: block;
  isolation: isolate;
  min-height: clamp(680px, calc(100svh - 52px), 820px);
  height: clamp(680px, calc(100svh - 52px), 820px);
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--iphone-hero-light) 76%, transparent) 0 7%, transparent 31%),
    linear-gradient(112deg, var(--iphone-hero-light) 0%, var(--iphone-hero-tone) 50%, color-mix(in srgb, var(--iphone-hero-tone) 70%, #202126) 100%);
}

html:has(.iphone-hero),
body:has(.iphone-hero) { overflow-x: clip; }

.iphone-hero .iphone-hero-atmosphere,
.iphone-hero .iphone-hero-floor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.iphone-hero .iphone-hero-atmosphere {
  background:
    radial-gradient(ellipse at 18% 78%, rgba(255,255,255,.84) 0, transparent 44%),
    radial-gradient(ellipse at 87% 18%, rgba(255,255,255,.25) 0, transparent 34%);
}

.iphone-hero .iphone-hero-floor {
  inset: auto -8% -22% 29%;
  height: 54%;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.32), transparent 59%);
  filter: blur(2px);
}

.iphone-hero .detail-copy {
  position: absolute !important;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: min(42%, 570px);
  min-height: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  padding: clamp(76px, 10.5vh, 128px) 24px clamp(64px, 9vh, 110px) max(24px, calc((100% - 1200px) / 2 + 24px));
  justify-content: center;
  align-items: flex-start;
  color: var(--iphone-hero-copy);
  text-align: left;
}

.iphone-hero .detail-copy #product-category {
  margin: 0 0 18px;
  color: color-mix(in srgb, var(--iphone-hero-copy) 58%, transparent);
  font-size: 16px;
}

.iphone-hero .detail-copy #product-name {
  max-width: 8.2em;
  margin: 0 0 20px;
  color: var(--iphone-hero-copy);
  font-size: clamp(52px, 5.1vw, 82px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.iphone-hero .detail-copy #product-description {
  max-width: 420px;
  margin: 0 0 30px;
  color: color-mix(in srgb, var(--iphone-hero-copy) 64%, transparent);
  font-size: 17px;
  line-height: 1.62;
}

.iphone-hero .detail-copy .link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.iphone-hero .detail-copy .link-row a {
  display: inline-flex;
  min-height: 44px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.iphone-hero .detail-copy .link-row a::after { content: none; }
.iphone-hero .detail-copy .link-row .iphone-hero-cta--primary { background: var(--iphone-hero-copy); color: var(--iphone-hero-light); }
.iphone-hero .detail-copy .link-row .iphone-hero-cta--secondary { border: 1px solid color-mix(in srgb, var(--iphone-hero-copy) 60%, transparent); color: var(--iphone-hero-copy); }
.iphone-hero .detail-copy .link-row a:hover { transform: translateY(-1px); }
.iphone-hero .detail-copy .link-row .iphone-hero-cta--primary:hover { background: color-mix(in srgb, var(--iphone-hero-copy) 84%, #555); }
.iphone-hero .detail-copy .link-row .iphone-hero-cta--secondary:hover { background: color-mix(in srgb, var(--iphone-hero-copy) 8%, transparent); }
.iphone-hero .detail-copy .link-row a:focus-visible { outline: 3px solid #147ce5; outline-offset: 3px; }

.iphone-hero-benefits {
  display: flex;
  width: min(100%, 540px);
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  order: 4;
}

.iphone-hero .detail-copy .link-row { order: 5; }

.iphone-hero-benefits li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid color-mix(in srgb, var(--iphone-hero-copy) 24%, transparent);
}

.iphone-hero-benefits li:first-child { padding-left: 0; border-left: 0; }
.iphone-hero-benefit-mark { width: 22px; height: 22px; box-sizing: border-box; border: 1.5px solid currentColor; border-radius: 50%; opacity: .92; }
.iphone-hero-benefit-mark--2 { border-radius: 7px; transform: rotate(45deg) scale(.78); }
.iphone-hero-benefit-mark--3 { border-radius: 4px 4px 12px 12px; }
.iphone-hero-benefits strong,
.iphone-hero-benefits small { display: block; }
.iphone-hero-benefits strong { margin-bottom: 2px; font-size: 14px; font-weight: 650; line-height: 1.25; }
.iphone-hero-benefits small { color: color-mix(in srgb, var(--iphone-hero-copy) 58%, transparent); font-size: 12px; line-height: 1.35; }

.iphone-hero .detail-image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2;
  min-height: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

.iphone-hero .detail-image img#product-image.iphone-hero-product {
  position: absolute !important;
  inset: auto !important;
  top: 50% !important;
  right: clamp(3%, 6vw, 10%) !important;
  left: auto !important;
  inset-inline-start: auto !important;
  width: auto !important;
  height: min(112%, 860px) !important;
  max-height: none !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 30px 30px rgba(24,27,31,.20)) !important;
  transform: translateY(-50%) !important;
  transform-origin: center center;
}

.iphone-hero .detail-certification { z-index: 4; }

.iphone-hero .iphone-hero-scene-asset::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: '';
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--iphone-hero-tone) 82%, transparent) 0%, transparent 62%), var(--iphone-hero-scene-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.iphone-hero .iphone-hero-scene-asset .iphone-hero-product { opacity: 0; pointer-events: none; }

/* Product-specific material and environment treatments. */
.iphone-hero--clear { --iphone-hero-tone: #dce3e8; --iphone-hero-light: #fafafa; }
.iphone-hero--crystal { --iphone-hero-tone: #cdd7df; --iphone-hero-light: #f9fbfc; }
.iphone-hero--crystal .iphone-hero-floor { background: radial-gradient(ellipse at 55% 0%, rgba(122,145,160,.28), transparent 60%); }
.iphone-hero--titanium { --iphone-hero-tone: #8d969d; --iphone-hero-light: #f6f7f8; }
.iphone-hero--titanium .iphone-hero-atmosphere { background: linear-gradient(135deg, rgba(255,255,255,.64), transparent 46%), radial-gradient(circle at 78% 28%, rgba(54,64,73,.28), transparent 38%); }
.iphone-hero--soft { --iphone-hero-tone: #e7d9d5; --iphone-hero-light: #fbf8f6; }
.iphone-hero--wave { --iphone-hero-tone: #d7d8e5; --iphone-hero-light: #fbfbfe; }
.iphone-hero--wave .iphone-hero-floor { transform: rotate(-5deg); background: radial-gradient(ellipse at 48% 0%, rgba(110,118,163,.24), transparent 62%); }
.iphone-hero--creative { --iphone-hero-tone: #d4c7bd; --iphone-hero-light: #fcfaf7; }
.iphone-hero--creative .iphone-hero-atmosphere { background: radial-gradient(circle at 80% 18%, rgba(222,118,94,.25), transparent 30%), radial-gradient(circle at 23% 86%, rgba(244,209,123,.27), transparent 37%); }
.iphone-hero--metal { --iphone-hero-tone: #6e6165; --iphone-hero-light: #f4f1f0; }
.iphone-hero--metal .iphone-hero-atmosphere { background: linear-gradient(118deg, rgba(255,255,255,.7), transparent 34%), radial-gradient(circle at 84% 25%, rgba(80,21,35,.30), transparent 35%); }
.iphone-hero--glass { --iphone-hero-tone: #d7e1e4; --iphone-hero-light: #f8fbfb; }
.iphone-hero--glass .iphone-hero-floor { background: radial-gradient(ellipse at 48% 0%, rgba(147,178,184,.24), transparent 62%); }
.iphone-hero--woven { --iphone-hero-tone: #aaa8a3; --iphone-hero-light: #f6f4f1; }
.iphone-hero--woven .iphone-hero-atmosphere { background: linear-gradient(135deg, rgba(255,255,255,.76), transparent 42%), repeating-linear-gradient(135deg, rgba(30,32,32,.035) 0 1px, transparent 1px 11px); }
.iphone-hero--creative-soft { --iphone-hero-tone: #d8d1ca; --iphone-hero-light: #faf8f5; }
.iphone-hero--color { --iphone-hero-tone: #d9d4cf; --iphone-hero-light: #fbfaf8; }
.iphone-hero--color .iphone-hero-atmosphere { background: radial-gradient(circle at 83% 26%, rgba(209,110,116,.20), transparent 30%), radial-gradient(circle at 66% 78%, rgba(123,162,191,.19), transparent 31%); }
.iphone-hero--shield { --iphone-hero-tone: #cfd5d7; --iphone-hero-light: #f8faf9; }
.iphone-hero--clarity { --iphone-hero-tone: #d7e4e7; --iphone-hero-light: #fbfdfd; }
.iphone-hero--clarity .iphone-hero-atmosphere { background: radial-gradient(ellipse at 76% 24%, rgba(122,197,220,.24), transparent 34%), linear-gradient(105deg, rgba(255,255,255,.85), transparent 46%); }
.iphone-hero--ar { --iphone-hero-tone: #d8e2e4; --iphone-hero-light: #fbfdfd; }
.iphone-hero--ar .iphone-hero-floor { background: radial-gradient(ellipse at 48% 0%, rgba(95,177,191,.21), transparent 63%); }
.iphone-hero--clear-screen { --iphone-hero-tone: #d7dce0; --iphone-hero-light: #fbfcfc; }
.iphone-hero--privacy { --iphone-hero-tone: #c5c9cf; --iphone-hero-light: #f4f5f6; }
.iphone-hero--privacy .iphone-hero-atmosphere { background: linear-gradient(108deg, rgba(255,255,255,.72), transparent 44%), radial-gradient(circle at 83% 20%, rgba(39,45,52,.20), transparent 37%); }
.iphone-hero--full-screen { --iphone-hero-tone: #d9dde1; --iphone-hero-light: #fbfcfd; }
.iphone-hero--lens { --iphone-hero-tone: #d8d6d0; --iphone-hero-light: #fdfcf9; }
.iphone-hero--lens .iphone-hero-atmosphere { background: radial-gradient(circle at 76% 29%, rgba(211,191,139,.20), transparent 28%), linear-gradient(112deg, rgba(255,255,255,.78), transparent 45%); }
.iphone-hero--lens-metal { --iphone-hero-tone: #b9b9bc; --iphone-hero-light: #f8f8f8; }

/* The two approved "easy apply" film assets are complete installation scenes.
   Their clean, word-free detail images form the Hero surface itself—no pasted
   picture edge and no reconstructed product. */
body.product-shield-easy .detail-hero.iphone-hero,
body.product-shield-privacy-easy .detail-hero.iphone-hero {
  --iphone-hero-copy: #1d1d1f;
  --iphone-hero-light: #fff;
  --iphone-hero-tone: #e8eaed;
  background: #f7f8f9;
}

body.product-shield-easy .detail-hero.iphone-hero .detail-image,
body.product-shield-privacy-easy .detail-hero.iphone-hero .detail-image {
  background: transparent !important;
}
body.product-shield-easy .detail-hero.iphone-hero .detail-copy,
body.product-shield-privacy-easy .detail-hero.iphone-hero .detail-copy { width: 52%; max-width: none; }
body.product-shield-easy .detail-hero.iphone-hero .iphone-hero-product,
body.product-shield-privacy-easy .detail-hero.iphone-hero .iphone-hero-product {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: left center !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

@media (max-width: 1199px) {
  .iphone-hero .detail-copy { width: min(46%, 500px); padding-left: clamp(32px, 6vw, 72px); }
  .iphone-hero .detail-image img#product-image.iphone-hero-product { height: min(104%, 700px) !important; right: 2% !important; }
}

/* The product needs its own stage before it starts competing with the
   three-column benefit row.  This is deliberately a tablet breakpoint,
   not a late phone-only patch. */
@media (max-width: 900px) {
  body.product-detail-standard .detail-hero.iphone-hero {
    height: auto;
    min-height: 910px;
    padding-bottom: 440px;
  }
  .iphone-hero .detail-copy {
    position: relative !important;
    top: auto;
    left: auto;
    width: 100%;
    min-height: auto;
    padding: 78px 24px 24px;
    align-items: flex-start;
  }
  body.product-shield-easy .detail-hero.iphone-hero .detail-copy,
  body.product-shield-privacy-easy .detail-hero.iphone-hero .detail-copy { width: 100%; }
  .iphone-hero .detail-copy #product-name { max-width: 7.5em; font-size: clamp(46px, 13vw, 64px); }
  .iphone-hero .detail-copy #product-description { max-width: 390px; font-size: 16px; }
  .iphone-hero-benefits { width: 100%; gap: 0; margin-bottom: 24px; }
  .iphone-hero-benefits li { grid-template-columns: 20px minmax(0, 1fr); gap: 6px; padding: 0 9px; }
  .iphone-hero-benefit-mark { width: 18px; height: 18px; }
  .iphone-hero-benefits strong { font-size: 12px; }
  .iphone-hero-benefits small { display: none; }
  .iphone-hero .detail-image img#product-image.iphone-hero-product {
    top: auto !important;
    right: 50% !important;
    bottom: 22px !important;
    width: min(88%, 520px) !important;
    height: auto !important;
    max-height: 48% !important;
    transform: translateX(50%) !important;
  }
  .iphone-hero .iphone-hero-floor { inset: auto -18% -18% -18%; height: 48%; }
  .iphone-hero .iphone-hero-scene-asset::before { background-position: 58% center; }
  body.product-detail-standard .detail-hero.iphone-hero:has(.iphone-hero-scene-asset) { min-height: 820px; padding-bottom: 0; }
  .iphone-hero:has(.iphone-hero-scene-asset) .detail-copy { min-height: 820px; padding-top: 70px; background: linear-gradient(180deg, color-mix(in srgb, var(--iphone-hero-light) 88%, transparent), transparent 63%); }
  .iphone-hero:has(.iphone-hero-scene-asset) .iphone-hero-floor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .iphone-hero .detail-copy .link-row a { transition: none; }
}

/* --------------------------------------------------------------------------
   Ice Armor family samples — Guardian and Crystal Stand
   The pages share Ice Armor's continuous editorial landscape and content
   grid. Product silhouettes and verified copy remain SKU-specific.
   -------------------------------------------------------------------------- */
body.product-guardian .detail-hero.iphone-hero.iphone-hero--ice-family,
body.product-crystal-stand .detail-hero.iphone-hero.iphone-hero--ice-family {
  height: clamp(680px, calc(100svh - 52px), 1040px);
  min-height: 680px;
  background: linear-gradient(108deg, #f7f8fa 0%, #e3e7ec 28%, #7c828c 60%, #1a1e25 100%);
}

.iphone-hero--ice-family .iphone-hero-sample-terrain {
  position: absolute;
  z-index: 0;
  inset: -28px -2.5%;
  pointer-events: none;
  background: url('assets/ice-hero/case-hero-terrain.webp') center bottom / cover no-repeat;
  transform: translate3d(0, var(--iphone-sample-parallax, 0px), 0) scale(1.02);
}

body.product-guardian .iphone-hero--ice-family .iphone-hero-sample-terrain { filter: brightness(.98) contrast(.96); }
body.product-crystal-stand .iphone-hero--ice-family .iphone-hero-sample-terrain { filter: brightness(1.04) contrast(.91); }

.iphone-hero--ice-family::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(250,251,253,.78), rgba(237,240,245,.35) 39%, transparent 71%);
  mask-image: linear-gradient(#000 54%, transparent 88%);
}

.iphone-hero--ice-family .iphone-hero-atmosphere {
  z-index: 1;
  background:
    radial-gradient(ellipse at 17% 72%, rgba(255,255,255,.6) 0, rgba(242,245,248,.19) 39%, transparent 70%),
    radial-gradient(ellipse at 66% 17%, rgba(226,232,239,.24), transparent 55%);
}

.iphone-hero--ice-family .iphone-hero-floor {
  z-index: 1;
  inset: auto 3% 5% auto;
  width: min(44vw, 710px);
  height: clamp(42px, 5.6vw, 90px);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(2,4,7,.5) 0%, rgba(5,7,11,.2) 38%, transparent 72%);
  filter: blur(16px);
  transform: rotate(-14deg);
}

body.product-guardian .iphone-hero--ice-family .detail-copy,
body.product-crystal-stand .iphone-hero--ice-family .detail-copy {
  position: relative !important;
  z-index: 3;
  width: 44%;
  max-width: none;
  height: 85%;
  min-height: 0;
  padding: 30px 0 30px max(24px, calc((100% - 1200px) / 2 + 24px)) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  top: 0 !important;
  left: 0 !important;
  justify-self: start !important;
  align-self: start !important;
  justify-content: center;
  align-items: flex-start;
  color: #080a0d;
}

body.product-guardian .iphone-hero--ice-family #product-category,
body.product-crystal-stand .iphone-hero--ice-family #product-category {
  margin: 0 0 18px;
  color: #535963;
  font-size: clamp(15px, 1.3vw, 21px);
}

body.product-guardian .iphone-hero--ice-family #product-name,
body.product-crystal-stand .iphone-hero--ice-family #product-name {
  max-width: none;
  margin: 0 0 26px;
  color: #080a0d;
  font-size: clamp(48px, 5vw, 84px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.055em;
}

body.product-guardian .iphone-hero--ice-family #product-description,
body.product-crystal-stand .iphone-hero--ice-family #product-description {
  max-width: 390px;
  margin: 0;
  color: #555b65;
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.65;
}

body.product-guardian .iphone-hero--ice-family .iphone-hero-benefits,
body.product-crystal-stand .iphone-hero--ice-family .iphone-hero-benefits {
  display: flex;
  width: auto;
  gap: 0;
  margin: 32px 0;
  color: #11151a;
}

body.product-guardian .iphone-hero--ice-family .iphone-hero-benefits li,
body.product-crystal-stand .iphone-hero--ice-family .iphone-hero-benefits li {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-left: 0;
  border-right: 1px solid #939aa5;
}

body.product-guardian .iphone-hero--ice-family .iphone-hero-benefits li:first-child,
body.product-crystal-stand .iphone-hero--ice-family .iphone-hero-benefits li:first-child { padding-left: 0; }
body.product-guardian .iphone-hero--ice-family .iphone-hero-benefits li:last-child,
body.product-crystal-stand .iphone-hero--ice-family .iphone-hero-benefits li:last-child { padding-right: 0; border-right: 0; }
body.product-guardian .iphone-hero--ice-family .iphone-hero-benefits strong,
body.product-crystal-stand .iphone-hero--ice-family .iphone-hero-benefits strong { font-size: 15px; }
body.product-guardian .iphone-hero--ice-family .iphone-hero-benefits small,
body.product-crystal-stand .iphone-hero--ice-family .iphone-hero-benefits small { color: #626a74; font-size: 13px; }

body.product-guardian .iphone-hero--ice-family .detail-image img#product-image.iphone-hero-product,
body.product-crystal-stand .iphone-hero--ice-family .detail-image img#product-image.iphone-hero-product {
  z-index: 2;
  top: auto !important;
  right: 10% !important;
  bottom: 4.5% !important;
  left: auto !important;
  width: auto !important;
  height: 91% !important;
  max-width: 52% !important;
  max-height: none !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: brightness(1.035) contrast(1.035) drop-shadow(20px 34px 22px rgba(2,4,8,.34)) drop-shadow(-10px 4px 13px rgba(255,255,255,.21)) !important;
  transform: scale(1.24) !important;
  transform-origin: center center;
}

body.product-guardian .iphone-hero--ice-family .detail-copy .link-row,
body.product-crystal-stand .iphone-hero--ice-family .detail-copy .link-row { gap: 16px; }
body.product-guardian .iphone-hero--ice-family .detail-copy .link-row a,
body.product-crystal-stand .iphone-hero--ice-family .detail-copy .link-row a {
  min-width: 150px;
  min-height: 48px;
  padding: 14px 28px;
  border-color: #24282d;
  font-size: 16px;
}
body.product-guardian .iphone-hero--ice-family .detail-copy .link-row .iphone-hero-cta--primary,
body.product-crystal-stand .iphone-hero--ice-family .detail-copy .link-row .iphone-hero-cta--primary { background: #111316 !important; color: #fff !important; }
body.product-guardian .iphone-hero--ice-family .detail-copy .link-row .iphone-hero-cta--secondary,
body.product-crystal-stand .iphone-hero--ice-family .detail-copy .link-row .iphone-hero-cta--secondary { background: rgba(255,255,255,.2); color: #171a20 !important; }

@media (max-width: 1100px) {
  body.product-guardian .iphone-hero--ice-family .detail-copy,
  body.product-crystal-stand .iphone-hero--ice-family .detail-copy { width: 48%; padding-left: 5vw !important; }
  body.product-guardian .iphone-hero--ice-family .iphone-hero-benefits li,
  body.product-crystal-stand .iphone-hero--ice-family .iphone-hero-benefits li { padding: 0 12px; gap: 6px; }
  body.product-guardian .iphone-hero--ice-family .detail-image img#product-image.iphone-hero-product,
  body.product-crystal-stand .iphone-hero--ice-family .detail-image img#product-image.iphone-hero-product { right: 6% !important; max-width: 54% !important; }
}

@media (max-width: 720px) {
  body.product-guardian .detail-hero.iphone-hero.iphone-hero--ice-family,
  body.product-crystal-stand .detail-hero.iphone-hero.iphone-hero--ice-family { height: auto; min-height: 1000px; padding-bottom: 510px; }
  .iphone-hero--ice-family .detail-image { height: 100% !important; min-height: 0 !important; }
  body.product-guardian .iphone-hero--ice-family .detail-copy,
  body.product-crystal-stand .iphone-hero--ice-family .detail-copy { width: 100%; height: auto; padding: 45px 24px 28px !important; }
  body.product-guardian .iphone-hero--ice-family #product-name,
  body.product-crystal-stand .iphone-hero--ice-family #product-name { font-size: clamp(42px, 9vw, 60px); margin-bottom: 20px; }
  body.product-guardian .iphone-hero--ice-family .iphone-hero-benefits,
  body.product-crystal-stand .iphone-hero--ice-family .iphone-hero-benefits { margin: 26px 0; }
  body.product-guardian .iphone-hero--ice-family .iphone-hero-benefits li,
  body.product-crystal-stand .iphone-hero--ice-family .iphone-hero-benefits li { padding: 0 14px; }
  body.product-guardian .iphone-hero--ice-family .detail-image img#product-image.iphone-hero-product,
  body.product-crystal-stand .iphone-hero--ice-family .detail-image img#product-image.iphone-hero-product {
    height: 500px !important;
    width: 88% !important;
    max-width: 88% !important;
    right: 6% !important;
    bottom: 18px !important;
    transform: none !important;
  }
  .iphone-hero--ice-family .iphone-hero-sample-terrain { background-position: 60% bottom; }
  .iphone-hero--ice-family::before { background: linear-gradient(#edf0f4f2 0%, #e4e8eed9 42%, transparent 75%); mask-image: none; }
}

@media (prefers-reduced-motion: reduce) {
  .iphone-hero--ice-family .iphone-hero-sample-terrain { transform: none; }
}

/* --------------------------------------------------------------------------
   Approved iPhone Hero samples
   Each SKU has its own environment; product cutouts and copy remain separate.
   -------------------------------------------------------------------------- */
body.product-guardian .detail-hero.iphone-hero.iphone-hero--custom-sample,
body.product-crystal-stand .detail-hero.iphone-hero.iphone-hero--custom-sample,
body.product-titanium-camera .detail-hero.iphone-hero.iphone-hero--custom-sample {
  height: clamp(700px, calc(100svh - 52px), 1020px);
  min-height: 700px;
  isolation: isolate;
  background: #d9dee3;
}

.iphone-hero--custom-sample .iphone-hero-sample-scene {
  position: absolute;
  z-index: 0;
  inset: -2%;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: iphone-hero-scene-breathe 16s ease-in-out infinite alternate;
  will-change: transform;
}

body.product-guardian .iphone-hero-sample-scene--guardian {
  background-image: url('assets/iphone-hero-scenes/guardian-hero-bg-v1.webp');
  background-position: 52% center;
}

body.product-crystal-stand .iphone-hero-sample-scene--crystal-stand {
  background-image: url('assets/iphone-hero-scenes/crystal-stand-hero-bg-v1.webp');
  background-position: 53% center;
}

body.product-titanium-camera .iphone-hero-sample-scene--titanium-camera {
  background-image: url('assets/iphone-hero-scenes/titanium-camera-hero-bg-v1.webp');
  background-position: 54% center;
}

.iphone-hero--custom-sample::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(249,250,251,.78) 0%, rgba(244,246,248,.5) 30%, rgba(237,240,244,.06) 55%, transparent 74%);
}

body.product-crystal-stand .iphone-hero--custom-sample::before {
  background: linear-gradient(90deg, rgba(247,250,252,.82) 0%, rgba(239,244,248,.46) 31%, rgba(229,237,243,.04) 57%, transparent 74%);
}

body.product-titanium-camera .iphone-hero--custom-sample::before {
  background:
    radial-gradient(ellipse at 17% 45%, rgba(232,236,240,.8), rgba(217,223,229,.54) 35%, transparent 65%),
    linear-gradient(90deg, rgba(231,235,239,.64), rgba(212,219,225,.22) 44%, transparent 68%);
}

.iphone-hero--custom-sample .iphone-hero-atmosphere {
  z-index: 1;
  background:
    radial-gradient(ellipse at 15% 18%, rgba(255,255,255,.36), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(10,14,20,.1));
}

.iphone-hero--custom-sample .iphone-hero-floor {
  z-index: 2;
  inset: auto 3% 2.5% auto;
  width: min(43%, 700px);
  height: clamp(44px, 6vw, 92px);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(4,7,12,.52) 0%, rgba(7,10,15,.23) 40%, transparent 72%);
  filter: blur(18px);
  transform: rotate(-10deg);
}

body.product-crystal-stand .iphone-hero--custom-sample .iphone-hero-floor {
  background: radial-gradient(ellipse, rgba(25,36,47,.43), rgba(30,43,55,.14) 45%, transparent 73%);
}

body.product-guardian .iphone-hero--custom-sample .detail-copy,
body.product-crystal-stand .iphone-hero--custom-sample .detail-copy,
body.product-titanium-camera .iphone-hero--custom-sample .detail-copy {
  position: relative !important;
  z-index: 4;
  width: 50%;
  max-width: none;
  height: 100%;
  min-height: 0;
  padding: clamp(112px, 16vh, 165px) 0 38px max(72px, calc((100% - 1200px) / 2 + 32px)) !important;
  margin: 0 !important;
  top: 0 !important;
  left: 0 !important;
  justify-self: start !important;
  align-self: start !important;
  justify-content: flex-start;
  align-items: flex-start;
  color: #090b0e;
}

.iphone-hero--custom-sample #product-category {
  margin: 0 0 18px;
  color: #505761;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.4;
}

.iphone-hero--custom-sample #product-name {
  max-width: 11.2em !important;
  margin: 0 0 24px;
  color: #080a0d;
  font-size: clamp(52px, 4.3vw, 74px) !important;
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.055em;
}

.iphone-hero--custom-sample #product-description {
  max-width: 520px;
  margin: 0;
  color: #6b717a;
  font-size: clamp(21px, 1.62vw, 27px);
  font-weight: 420;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.iphone-hero--custom-sample .iphone-hero-benefits {
  display: flex;
  width: min(100%, 650px);
  gap: 0;
  margin: 34px 0 36px;
  color: #11151a;
}

.iphone-hero--custom-sample .iphone-hero-benefits li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
  flex: 1 1 0;
  padding: 0 18px;
  border-left: 0;
  border-right: 1px solid rgba(72,80,89,.45);
}

.iphone-hero--custom-sample .iphone-hero-benefits li:first-child { padding-left: 0; }
.iphone-hero--custom-sample .iphone-hero-benefits li:last-child { padding-right: 0; border-right: 0; }
.iphone-hero--custom-sample .iphone-hero-benefit-mark {
  display: block;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border: 0;
  border-radius: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
  transform: none;
}
body.product-guardian .iphone-hero-benefits li:nth-child(1) .iphone-hero-benefit-mark,
body.product-crystal-stand .iphone-hero-benefits li:nth-child(2) .iphone-hero-benefit-mark,
body.product-titanium-camera .iphone-hero-benefits li:nth-child(2) .iphone-hero-benefit-mark { background-image: url('assets/iphone-hero-scenes/feature-shield.png'); }
body.product-guardian .iphone-hero-benefits li:nth-child(2) .iphone-hero-benefit-mark,
body.product-crystal-stand .iphone-hero-benefits li:nth-child(3) .iphone-hero-benefit-mark,
body.product-titanium-camera .iphone-hero-benefits li:nth-child(3) .iphone-hero-benefit-mark { background-image: url('assets/iphone-hero-scenes/feature-magnet.png'); }
body.product-guardian .iphone-hero-benefits li:nth-child(3) .iphone-hero-benefit-mark { background-image: url('assets/iphone-hero-scenes/feature-diamond.png'); }
body.product-crystal-stand .iphone-hero-benefits li:nth-child(1) .iphone-hero-benefit-mark { background-image: url('assets/iphone-hero-scenes/feature-rotate.png'); }
body.product-titanium-camera .iphone-hero-benefits li:nth-child(1) .iphone-hero-benefit-mark { background-image: url('assets/iphone-hero-scenes/feature-camera.png'); }
.iphone-hero--custom-sample .iphone-hero-benefits strong { font-size: 14px; line-height: 1.25; white-space: nowrap; }
.iphone-hero--custom-sample .iphone-hero-benefits small { margin-top: 4px; color: #626973; font-size: 12px; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }

.iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product {
  --hero-product-rotation: 6deg;
  z-index: 3;
  top: auto !important;
  right: 11% !important;
  bottom: 1.5% !important;
  left: auto !important;
  width: auto !important;
  height: 84% !important;
  max-width: 42% !important;
  max-height: none !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: brightness(1.035) contrast(1.045) drop-shadow(24px 34px 24px rgba(2,5,9,.34)) drop-shadow(-7px 0 10px rgba(255,255,255,.28)) !important;
  transform: rotate(var(--hero-product-rotation)) !important;
  transform-origin: center 74%;
  animation: iphone-hero-product-float 6.8s ease-in-out infinite;
  will-change: transform;
}

body.product-guardian .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product {
  --hero-product-rotation: 6.5deg;
  right: 11.5% !important;
  bottom: 1.5% !important;
  height: 84% !important;
}

body.product-crystal-stand .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product {
  --hero-product-rotation: 7deg;
  right: 15% !important;
  bottom: 4% !important;
  height: 78% !important;
}

body.product-titanium-camera .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product {
  --hero-product-rotation: 5.5deg;
  right: 15% !important;
  bottom: 4% !important;
  height: 76% !important;
}

.iphone-hero--custom-sample .detail-copy .link-row { gap: 16px; }
.iphone-hero--custom-sample .detail-copy .link-row a {
  min-width: 158px;
  min-height: 50px;
  padding: 15px 30px;
  border-color: #24282d;
  font-size: 16px;
}
.iphone-hero--custom-sample .detail-copy .link-row .iphone-hero-cta--primary { background: #111316 !important; color: #fff !important; }
.iphone-hero--custom-sample .detail-copy .link-row .iphone-hero-cta--secondary { background: rgba(255,255,255,.22); color: #171a20 !important; }

@keyframes iphone-hero-product-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@keyframes iphone-hero-scene-breathe {
  from { transform: scale(1.015) translate3d(-.3%, 0, 0); }
  to { transform: scale(1.035) translate3d(.3%, -.25%, 0); }
}

@media (max-width: 1100px) {
  .iphone-hero--custom-sample .detail-copy { width: 53% !important; padding-left: 5.5vw !important; padding-top: 100px !important; }
  .iphone-hero--custom-sample #product-name { font-size: clamp(42px, 4.8vw, 56px) !important; }
  .iphone-hero--custom-sample .iphone-hero-benefits li { padding: 0 12px; }
  .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product { right: 5% !important; height: 76% !important; max-width: 40% !important; }
}

@media (max-width: 900px) and (min-width: 721px) {
  .iphone-hero--custom-sample .iphone-hero-benefits li {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
    padding: 0 7px;
  }
  .iphone-hero--custom-sample .iphone-hero-benefit-mark { width: 23px; height: 23px; }
  .iphone-hero--custom-sample .iphone-hero-benefits strong { font-size: 11px; white-space: normal; }
  .iphone-hero--custom-sample .iphone-hero-benefits small { display: none; }
}

@media (max-width: 720px) {
  body.product-guardian .detail-hero.iphone-hero.iphone-hero--custom-sample,
  body.product-crystal-stand .detail-hero.iphone-hero.iphone-hero--custom-sample,
  body.product-titanium-camera .detail-hero.iphone-hero.iphone-hero--custom-sample {
    height: auto;
    min-height: 1040px;
    padding-bottom: 470px;
  }
  .iphone-hero--custom-sample .detail-image { height: 100% !important; min-height: 0 !important; }
  .iphone-hero--custom-sample .detail-copy {
    width: 100% !important;
    height: auto !important;
    padding: 44px 24px 24px !important;
    background: linear-gradient(180deg, rgba(246,248,250,.9), rgba(238,242,246,.55) 66%, transparent);
  }
  .iphone-hero--custom-sample #product-name { max-width: 9.5em !important; font-size: clamp(38px, 10.5vw, 52px) !important; margin-bottom: 16px; }
  .iphone-hero--custom-sample #product-description { max-width: 360px; font-size: 20px; }
  .iphone-hero--custom-sample .iphone-hero-benefits { width: 100%; margin: 24px 0; }
  .iphone-hero--custom-sample .iphone-hero-benefits li { flex: 1; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; padding: 0 9px; }
  .iphone-hero--custom-sample .iphone-hero-benefit-mark { width: 25px; height: 25px; }
  .iphone-hero--custom-sample .iphone-hero-benefits strong { font-size: 11px; white-space: normal; }
  .iphone-hero--custom-sample .iphone-hero-benefits small { display: none; }
  .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product,
  body.product-guardian .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product,
  body.product-crystal-stand .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product,
  body.product-titanium-camera .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product {
    width: auto !important;
    height: 465px !important;
    max-width: 76% !important;
    right: 50% !important;
    bottom: 14px !important;
    transform: translateX(50%) rotate(var(--hero-product-rotation)) !important;
  }
  .iphone-hero--custom-sample .iphone-hero-sample-scene { inset: 0; background-position: 58% bottom; animation: none; }
  body.product-titanium-camera .iphone-hero-sample-scene--titanium-camera { background-position: 62% bottom; }
  .iphone-hero--custom-sample::before { background: linear-gradient(180deg, rgba(247,249,251,.82) 0%, rgba(236,240,244,.42) 44%, transparent 72%); }
}

@media (prefers-reduced-motion: reduce) {
  .iphone-hero--custom-sample .iphone-hero-sample-scene,
  .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product {
    animation: none;
  }
}

/* Guardian: benefit-led headline and correctly paired, wrapping feature cells. */
body.product-guardian .iphone-hero--custom-sample #product-name {
  font-size: clamp(52px, 4.3vw, 74px) !important;
  line-height: 1.12;
  letter-spacing: -.045em;
  margin-bottom: 24px;
}
body.product-guardian .iphone-hero--custom-sample #product-description {
  font-size: clamp(17px, 1.25vw, 22px) !important;
  line-height: 1.65;
  max-width: 100%;
  color: #525963;
}
body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 520px);
  margin: 34px 0 32px;
}
body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits li {
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 0 12px;
}
body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits li:first-child { padding-left: 0; }
body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits li:last-child { padding-right: 0; }
body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefit-mark { width: 28px; height: 28px; }
body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits strong { font-size: 14px; white-space: normal; line-height: 1.4; }
body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits small { white-space: normal; line-height: 1.55; overflow-wrap: anywhere; }
body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits li:nth-child(1) .iphone-hero-benefit-mark { background-image: url('assets/iphone-hero-scenes/feature-diamond.png'); }
body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits li:nth-child(2) .iphone-hero-benefit-mark { background-image: url('assets/iphone-hero-scenes/feature-shield.png'); }
body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits li:nth-child(3) .iphone-hero-benefit-mark { background-image: url('assets/iphone-hero-scenes/feature-magnet.png'); }
body.product-guardian .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product {
  height: 76% !important;
  right: 17% !important;
  bottom: 6% !important;
}
@media (max-width: 1100px) and (min-width: 721px) {
  body.product-guardian .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product { height: 70% !important; right: 10% !important; }
}
@media (max-width: 720px) {
  body.product-guardian .iphone-hero--custom-sample #product-name { font-size: clamp(38px, 10.5vw, 52px) !important; }
  body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits li { grid-template-columns: 1fr; gap: 8px; padding: 0 8px; }
  body.product-guardian .iphone-hero--custom-sample .iphone-hero-benefits strong { font-size: 12px; }
  body.product-guardian .iphone-hero--custom-sample .detail-image img#product-image.iphone-hero-product { height: 425px !important; right: 53% !important; bottom: 24px !important; }
}

/* --------------------------------------------------------------------------
   COMMA editorial Hero engine — all remaining product detail pages
   A shared information hierarchy with materially distinct scene families.
   -------------------------------------------------------------------------- */
.product-editorial-hero:not(.iphone-hero--custom-sample) {
  --editorial-product-x: 8%;
  --editorial-product-y: -50%;
  --editorial-product-height: 76%;
  --editorial-product-rotate: -2deg;
  --editorial-copy-gutter: max(72px, calc((100% - 1200px) / 2 + 32px));
  background: #eef1f3;
}

.product-editorial-scene {
  position: absolute;
  inset: -2%;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--editorial-parallax, 0), 0) scale(1.025);
  animation: editorial-scene-breathe 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.product-editorial-scene--soft,
.product-editorial-scene--mobility { background-image: url('assets/hero-backgrounds/soft-silk-v1.webp'); }
.product-editorial-scene--woven { background-image: url('assets/hero-backgrounds/woven-studio-v1.webp'); }
.product-editorial-scene--glass { background-image: url('assets/hero-backgrounds/glass-studio-v1.webp'); }
.product-editorial-scene--creative { background-image: url('assets/hero-backgrounds/creative-sky-v1.webp'); }
.product-editorial-scene--workspace { background-image: url('assets/hero-backgrounds/workspace-v1.webp'); }
.product-editorial-scene--precision { background-image: url('assets/hero-backgrounds/precision-dark-v1.webp'); }

.product-editorial-hero:not(.iphone-hero--custom-sample)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(250,251,252,.88) 0%, rgba(248,249,250,.48) 37%, transparent 62%);
  pointer-events: none;
}

.product-editorial-hero--woven,
.product-editorial-hero--precision {
  --iphone-hero-copy: #f7f7f5;
  --iphone-hero-light: #111214;
}
.product-editorial-hero--woven .detail-copy,
.product-editorial-hero--woven #product-name,
.product-editorial-hero--precision .detail-copy,
.product-editorial-hero--precision #product-name { color: #f7f7f5 !important; }
.product-editorial-hero--woven #product-category,
.product-editorial-hero--woven #product-description,
.product-editorial-hero--woven .iphone-hero-benefits small,
.product-editorial-hero--precision #product-category,
.product-editorial-hero--precision #product-description,
.product-editorial-hero--precision .iphone-hero-benefits small { color: rgba(247,247,245,.68) !important; }
.product-editorial-hero--woven:not(.iphone-hero--custom-sample)::before,
.product-editorial-hero--precision:not(.iphone-hero--custom-sample)::before {
  background: linear-gradient(90deg, rgba(12,13,15,.58) 0%, rgba(13,14,16,.24) 39%, transparent 65%);
}

.product-editorial-hero:not(.iphone-hero--custom-sample) .detail-copy {
  width: 52%;
  max-width: none;
  padding: clamp(112px, 16vh, 165px) 24px clamp(54px, 7vh, 88px) var(--editorial-copy-gutter);
  justify-content: flex-start;
}
.product-editorial-hero:not(.iphone-hero--custom-sample) #product-category {
  margin-bottom: 20px;
  font-size: clamp(15px, 1.2vw, 18px);
  letter-spacing: .01em;
}
.product-editorial-hero:not(.iphone-hero--custom-sample) #product-name {
  max-width: 9.6em;
  margin-bottom: 18px;
  font-size: clamp(48px, 4.25vw, 72px);
  line-height: 1.04;
  letter-spacing: -.065em;
}
.product-editorial-hero:not(.iphone-hero--custom-sample) #product-description {
  max-width: 34em;
  margin-bottom: 30px;
  font-size: clamp(16px, 1.35vw, 21px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.02em;
}
.product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 650px);
  margin-bottom: 30px;
}
.product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefits li {
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
  padding: 0 18px;
}
.product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefits strong {
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
}
.product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefits small {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefit-mark {
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border: 0;
  border-radius: 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.iphone-hero-benefit-mark[data-icon='shield'] { background-image: url('assets/iphone-hero-scenes/feature-shield.png'); }
.iphone-hero-benefit-mark[data-icon='magnet'] { background-image: url('assets/iphone-hero-scenes/feature-magnet.png'); }
.iphone-hero-benefit-mark[data-icon='diamond'] { background-image: url('assets/iphone-hero-scenes/feature-diamond.png'); }
.iphone-hero-benefit-mark[data-icon='rotate'] { background-image: url('assets/iphone-hero-scenes/feature-rotate.png'); }
.iphone-hero-benefit-mark[data-icon='camera'] { background-image: url('assets/iphone-hero-scenes/feature-camera.png'); }
.product-editorial-hero--woven .iphone-hero-benefit-mark,
.product-editorial-hero--precision .iphone-hero-benefit-mark { filter: invert(1); }

.product-editorial-hero:not(.iphone-hero--custom-sample) .detail-image img#product-image.iphone-hero-product {
  top: 52% !important;
  right: var(--editorial-product-x) !important;
  width: min(43vw, 720px) !important;
  height: var(--editorial-product-height) !important;
  max-width: 46% !important;
  object-fit: contain !important;
  transform: translateY(var(--editorial-product-y)) rotate(var(--editorial-product-rotate)) !important;
  filter: drop-shadow(0 34px 28px rgba(10,13,18,.28)) !important;
  animation: editorial-product-float 6.8s ease-in-out infinite;
}
.product-editorial-hero:not(.iphone-hero--custom-sample) .detail-image img#product-image.iphone-hero-product.product-editorial-white-cut {
  mix-blend-mode: multiply !important;
  filter: contrast(1.04) saturate(1.02) drop-shadow(0 32px 26px rgba(10,13,18,.2)) !important;
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 50%, #000 58%, rgba(0,0,0,.92) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 72% at 50% 50%, #000 58%, rgba(0,0,0,.92) 70%, transparent 100%);
}
.product-editorial-hero:not(.iphone-hero--custom-sample) .detail-image img#product-image.iphone-hero-product.product-editorial-cutout-ready {
  mix-blend-mode: normal !important;
  -webkit-mask-image: none;
  mask-image: none;
  filter: drop-shadow(0 30px 25px rgba(10,13,18,.24)) !important;
}

.product-editorial-layout--0 { --editorial-product-x: 12%; --editorial-product-height: 69%; --editorial-product-rotate: -3deg; }
.product-editorial-layout--1 { --editorial-product-x: 14%; --editorial-product-height: 73%; --editorial-product-rotate: 2.4deg; }
.product-editorial-layout--2 { --editorial-product-x: 9%; --editorial-product-height: 66%; --editorial-product-rotate: -5deg; }
.product-editorial-layout--3 { --editorial-product-x: 16%; --editorial-product-height: 71%; --editorial-product-rotate: 4deg; }
.product-editorial-layout--4 { --editorial-product-x: 11%; --editorial-product-height: 69%; --editorial-product-rotate: 0deg; }

.product-editorial-hero--workspace { --editorial-product-height: 65%; }
.product-editorial-hero--precision { --editorial-product-height: 61%; }
.product-editorial-hero--mobility { --editorial-product-height: 62%; }
.product-editorial-hero--creative { --editorial-product-height: 66%; }

/* Compact cube chargers need more breathing room than tall phone and case cutouts. */
body.product-charger-mini-white .product-editorial-hero,
body.product-charger-mini-red .product-editorial-hero {
  --editorial-product-x: 16%;
  --editorial-product-height: 52%;
  --editorial-product-rotate: -2deg;
}

body.product-charger-40w .product-editorial-hero {
  --editorial-product-x: 15%;
  --editorial-product-height: 54%;
}

.product-editorial-hero--woven .detail-copy .link-row .iphone-hero-cta--primary,
.product-editorial-hero--precision .detail-copy .link-row .iphone-hero-cta--primary { background: #fff; color: #111316; }
.product-editorial-hero--woven .detail-copy .link-row .iphone-hero-cta--secondary,
.product-editorial-hero--precision .detail-copy .link-row .iphone-hero-cta--secondary { border-color: rgba(255,255,255,.58); color: #fff; }

@keyframes editorial-scene-breathe {
  from { transform: translate3d(0, -3px, 0) scale(1.025); }
  to { transform: translate3d(0, 5px, 0) scale(1.04); }
}
@keyframes editorial-product-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .product-editorial-hero:not(.iphone-hero--custom-sample) .detail-copy { width: 54%; padding-left: 5.5vw; padding-top: 92px; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) #product-name { font-size: clamp(42px, 5vw, 58px); }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefits li { grid-template-columns: 24px minmax(0, 1fr); gap: 6px; padding: 0 8px; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefit-mark { width: 24px; height: 24px; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefits strong { font-size: 12px; white-space: normal; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .detail-image img#product-image.iphone-hero-product {
    right: 3% !important;
    max-width: 44% !important;
    height: min(var(--editorial-product-height), 68%) !important;
  }
}

@media (max-width: 900px) {
  body.product-detail-standard .detail-hero.product-editorial-hero:not(.iphone-hero--custom-sample) {
    min-height: 960px;
    height: auto;
    padding-bottom: 440px;
  }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .detail-image {
    height: 100% !important;
    min-height: 0 !important;
  }
  .product-editorial-hero:not(.iphone-hero--custom-sample)::before {
    background: linear-gradient(180deg, rgba(250,251,252,.94) 0%, rgba(249,250,251,.72) 46%, transparent 72%);
  }
  .product-editorial-hero--woven:not(.iphone-hero--custom-sample)::before,
  .product-editorial-hero--precision:not(.iphone-hero--custom-sample)::before {
    background: linear-gradient(180deg, rgba(12,13,15,.82) 0%, rgba(13,14,16,.58) 47%, transparent 75%);
  }
  .product-editorial-scene { inset: 0; background-position: 64% center; animation: none; transform: none; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .detail-copy {
    width: 100%;
    max-width: none;
    padding: 46px 22px 24px;
  }
  .product-editorial-hero:not(.iphone-hero--custom-sample) #product-category { margin-bottom: 12px; font-size: 14px; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) #product-name {
    max-width: 8.8em;
    margin-bottom: 14px;
    font-size: clamp(40px, 11.4vw, 54px);
  }
  .product-editorial-hero:not(.iphone-hero--custom-sample) #product-description { margin-bottom: 22px; font-size: 16px; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefits { margin-bottom: 22px; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefits li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0 8px;
  }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefit-mark { width: 24px; height: 24px; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefits strong { font-size: 11px; white-space: normal; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .iphone-hero-benefits small { display: none; }
  .product-editorial-hero:not(.iphone-hero--custom-sample) .detail-image img#product-image.iphone-hero-product {
    top: auto !important;
    right: 50% !important;
    bottom: 28px !important;
    width: min(88vw, 470px) !important;
    height: 390px !important;
    max-width: 88% !important;
    transform: translateX(50%) rotate(var(--editorial-product-rotate)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-editorial-scene,
  .product-editorial-hero .detail-image img#product-image.iphone-hero-product { animation: none !important; }
}
