﻿/* Isolated to the ice-armor detail page; other product layouts are unchanged. */
body.product-ice-armor .detail-hero.ice-scene {
  position: relative;
  display: block;
  isolation: isolate;
  width: 100%;
  height: clamp(680px, calc(100svh - 52px), 1040px);
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(108deg, #f7f8fa 0%, #e3e7ec 28%, #7c828c 60%, #1a1e25 100%);
}
.ice-scene .ice-terrain {
  position: absolute;
  z-index: 0;
  inset: -28px -2.5%;
  background: url('assets/ice-hero/case-hero-terrain.webp') center bottom / cover no-repeat;
  transform: translate3d(0, var(--ice-parallax, 0px), 0) scale(1.02);
  pointer-events: none;
}
.ice-scene::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(250,251,253,.74), rgba(237,240,245,.31) 39%, transparent 71%);
  mask-image: linear-gradient(#000 54%, transparent 88%);
}
/* Environment layers keep the terrain, air and product as one spatial scene. */
.ice-atmosphere { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.ice-haze { position: absolute; display: block; border-radius: 50%; filter: blur(26px); opacity: .55; }
.ice-haze-near { width: 63vw; height: 13vw; left: -11vw; bottom: 15%; background: radial-gradient(ellipse, rgba(255,255,255,.48) 0%, rgba(241,244,248,.18) 39%, transparent 70%); transform: rotate(-4deg); }
.ice-haze-far { width: 48vw; height: 19vw; right: 17vw; top: 10%; background: radial-gradient(ellipse, rgba(225,231,239,.2), transparent 69%); }
.ice-ground-shadow { position: absolute; display: block; width: min(44vw, 710px); height: clamp(42px, 5.6vw, 90px); right: 3%; bottom: 5%; border-radius: 50%; background: radial-gradient(ellipse, rgba(2,4,7,.55) 0%, rgba(5,7,11,.25) 38%, transparent 72%); filter: blur(16px); transform: rotate(-14deg); }
body.product-ice-armor .ice-scene .detail-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  justify-self: start;
  align-self: start;
  box-sizing: border-box;
  width: 44%;
  max-width: none;
  height: 85%;
  margin: 0;
  /* Same content column as the header wordmark: centered 1200px grid + 24px gutter. */
  padding: 30px 0 30px max(24px, calc((100% - 1200px) / 2 + 24px));
  text-align: left;
  background: none;
}
body.product-ice-armor .ice-scene #product-category { color: #535963; font-size: clamp(15px, 1.3vw, 21px); margin: 0 0 18px; }
body.product-ice-armor .ice-scene #product-name {
  font-size: clamp(48px, 5vw, 84px);
  line-height: 1.12;
  letter-spacing: -.055em;
  font-weight: 750;
  color: #080a0d;
  margin: 0 0 26px;
  max-width: none;
}
body.product-ice-armor .ice-scene #product-description {
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.65;
  color: #555b65;
  max-width: 390px;
  margin: 0;
}
body.product-ice-armor .ice-scene #product-image.ice-product {
  position: absolute !important;
  z-index: 2;
  inset: auto 10% 4.5% auto !important;
  width: auto !important;
  height: 91% !important;
  max-width: 52% !important;
  max-height: none !important;
  object-fit: contain !important;
  padding: 0 !important;
  border: 0;
  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));
  animation: ice-float 7s ease-in-out infinite;
}
.ice-benefits { display: flex; gap: 0; list-style: none; padding: 0; margin: 32px 0; color: #11151a; order: 4; }
body.product-ice-armor .ice-scene .detail-copy .link-row { order: 5; }
.ice-benefits li { display: flex; align-items: center; gap: 10px; padding: 0 20px; border-right: 1px solid #939aa5; font-size: 15px; white-space: nowrap; }
.ice-benefits li:first-child { padding-left: 0; }
.ice-benefits li:last-child { border: 0; padding-right: 0; }
.ice-benefits svg { width: 31px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.ice-benefits small { display: block; color: #626a74; font-size: 13px; margin-top: 3px; }
body.product-ice-armor .ice-scene .link-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
body.product-ice-armor .ice-scene .link-row a {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  padding: 14px 28px; min-width: 150px; box-sizing: border-box;
  border: 1px solid #24282d; border-radius: 40px;
  font-size: 16px; line-height: 1.2; text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ice-scene .ice-primary { color: #fff !important; background: #111316; }
.ice-scene .ice-secondary { color: #171a20 !important; background: rgba(255,255,255,.2); }
.ice-scene .link-row a::after { display: none !important; }
.ice-scene .link-row a:hover { transform: translateY(-3px); box-shadow: 0 8px 22px #0002; }
.ice-scene .ice-primary:hover { background: #333840; }
.ice-scene .ice-secondary:hover { background: #ffffff80; }
.ice-scene a:focus-visible { outline: 3px solid #0066cc; outline-offset: 5px; }
body.product-ice-armor #product-gallery, body.product-ice-armor #product-feature-title { scroll-margin-top: 90px; }
@keyframes ice-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1100px) {
  .ice-benefits li { padding: 0 12px; gap: 6px; font-size: 13px; }
  .ice-benefits svg { width: 25px; }
  body.product-ice-armor .ice-scene .detail-copy { padding-left: 5vw; width: 48%; }
  body.product-ice-armor .ice-scene #product-image.ice-product { right: 6% !important; max-width: 54% !important; }
}
@media (max-width: 720px) {
  body.product-ice-armor .detail-hero.ice-scene { height: auto; min-height: 1000px; padding-bottom: 510px; }
  body.product-ice-armor .ice-scene .detail-copy { width: 100%; height: auto; padding: 45px 24px 28px; align-items: flex-start; }
  body.product-ice-armor .ice-scene #product-name { font-size: clamp(42px, 9vw, 60px); margin-bottom: 20px; }
  body.product-ice-armor .ice-scene #product-description { max-width: 390px; font-size: 16px; }
  .ice-benefits { margin: 26px 0; }
  .ice-benefits li { padding: 0 14px; }
  .ice-benefits small { font-size: 12px; }
  body.product-ice-armor .ice-scene .link-row a { min-width: 140px; padding: 13px 22px; }
  body.product-ice-armor .ice-scene #product-image.ice-product { height: 500px !important; width: 88% !important; max-width: 88% !important; right: 6% !important; bottom: 18px !important; }
  .ice-scene .ice-terrain { background-position: 60% bottom; }
  .ice-scene::before { background: linear-gradient(#edf0f4f2 0%, #e4e8eed9 42%, transparent 75%); mask-image: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.product-ice-armor .ice-scene #product-image.ice-product { animation: none; }
  .ice-scene .ice-terrain { transform: none; }
  .ice-scene .link-row a { transition: none; }
}
