﻿/* Reference: Guardian / Crystal 360 / Titanium Camera. Text only. */
@scope (body.product-page:not(.product-ice-armor, .product-guardian, .product-crystal-stand, .product-titanium-camera)) {
  .detail-hero .detail-copy {
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 5;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    align-self: start !important;
    justify-self: start !important;
    width: calc(50vw - 7.5px) !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    top: 0 !important;
    left: 0 !important;
    padding: clamp(112px, 16vh, 165px) 0 38px max(72px, calc((100vw - 1215px) / 2 + 32px)) !important;
    text-align: left !important;
    transform: none !important;
  }
  .detail-hero :is(#product-category, #fd-category) {
    margin: 0 0 18px !important;
    font-size: clamp(16px, 1.2vw, 20px) !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: -.01em !important;
    max-width: 100% !important;
  }
  .detail-hero :is(#product-name, #fd-name) {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
    font-size: clamp(52px, 4.3vw, 74px) !important;
    font-weight: 700 !important;
    line-height: 1.14 !important;
    letter-spacing: -.055em !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-wrap: pretty;
  }
  .detail-hero :is(#product-description, #fd-description) {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    letter-spacing: normal !important;
  }
  .detail-hero :is(.iphone-hero-benefits, .functional-hero-features) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: min(100%, 520px) !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 34px 0 32px !important;
    gap: 0 !important;
    align-items: stretch !important;
  }
  .detail-hero .functional-hero-features[hidden] { display: none !important; }
  .detail-hero :is(.iphone-hero-benefits li, .functional-hero-feature) {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 9px !important;
    padding: 0 12px !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    border: 0 !important;
    border-right: 1px solid color-mix(in srgb, currentColor 45%, transparent) !important;
  }
  .detail-hero :is(.iphone-hero-benefits li, .functional-hero-feature):first-child { padding-left: 0 !important; }
  .detail-hero :is(.iphone-hero-benefits li, .functional-hero-feature):last-child { padding-right: 0 !important; border-right: 0 !important; }
  .detail-hero :is(.iphone-hero-benefit-mark, .functional-hero-icon, .functional-hero-icon svg) {
    width: 28px !important;
    height: 28px !important;
    min-width: 0 !important;
    flex-shrink: 0;
  }
  .detail-hero :is(.iphone-hero-benefits, .functional-hero-features) strong {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .detail-hero :is(.iphone-hero-benefits, .functional-hero-features) small {
    display: block !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
  .detail-hero .detail-copy .link-row {
    display: flex !important;
    flex-wrap: wrap !important;
    width: auto !important;
    margin: 0 !important;
    gap: 16px !important;
  }
  .detail-hero .detail-copy .link-row a {
    box-sizing: border-box !important;
    min-width: 158px !important;
    min-height: 50px !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    line-height: 20px !important;
    border-radius: 999px !important;
    text-align: center !important;
  }
  @media (min-width: 901px) and (max-width: 1199px) {
    .detail-hero .detail-copy { width: 52vw !important; padding-left: 5.5vw !important; padding-top: 92px !important; }
    .detail-hero :is(#product-name, #fd-name) { font-size: clamp(42px, 4.3vw, 52px) !important; }
  }
  @media (max-width: 900px) {
    .detail-hero .detail-copy { width: calc(100vw - 15px) !important; padding: 44px 24px 24px !important; }
    .detail-hero :is(#product-category, #fd-category) { font-size: 16px !important; }
    .detail-hero :is(#product-name#product-name, #fd-name#fd-name) { font-size: clamp(38px, 10.5vw, 52px) !important; margin-bottom: 16px !important; }
    .detail-hero :is(#product-description, #fd-description) { font-size: 16px !important; }
    .detail-hero :is(.iphone-hero-benefits, .functional-hero-features) { margin: 24px 0 !important; }
    .detail-hero :is(.iphone-hero-benefits li, .functional-hero-feature) { grid-template-columns: 24px minmax(0, 1fr) !important; padding: 0 8px !important; gap: 6px !important; }
    .detail-hero :is(.iphone-hero-benefit-mark, .functional-hero-icon, .functional-hero-icon svg) { width: 24px !important; height: 24px !important; }
    .detail-hero :is(.iphone-hero-benefits, .functional-hero-features) strong { font-size: 11px !important; }
    .detail-hero :is(.iphone-hero-benefits, .functional-hero-features) small { font-size: 11px !important; }
    .detail-hero .detail-copy .link-row { width: 100% !important; max-width: 332px !important; }
    .detail-hero .detail-copy .link-row a { width: calc(50% - 8px) !important; min-width: 0 !important; padding: 13px 12px !important; white-space: nowrap !important; font-size: 15px !important; }
  }
}
