/* ==========================================================================
   Liquid Glass spec card on fire pages (v3, 2026-11-09) — opt-in via html.glass2 (js/glass.js).
   Modelled on Apple's Liquid Glass: almost clear, the background BENDS at the curved edges (a real SVG
   displacement map on the backdrop — Chrome/Edge), a bright light-catching rim, a soft lift shadow.
   Safari/Firefox get the same clear glass + rim without the edge bending.
   The original card (flat glass picture, spec-card-bg.webp) is untouched underneath:
   GLASS_ON = false in js/glass.js to go back, or ?glass=old on any fire page to compare.
   Desktop only (≥1101px).
   ========================================================================== */
@media (min-width: 1101px) {
  html.glass2 .product-hero .gl-card {
    --mx: 25%; --my: 0%;
    position: relative; width: 100%; border-radius: 26px; isolation: isolate; transform: scale(1.05); transform-origin: left top;
    background: rgba(255, 255, 255, .035);
    -webkit-backdrop-filter: blur(3px) saturate(160%); backdrop-filter: blur(3px) saturate(160%);   /* fallback; JS swaps in the lens */
    box-shadow:
      inset 1.5px 2px 0 -0.5px rgba(255,255,255,.75),           /* bright top-left lip */
      inset -1px -1.5px 0 -0.5px rgba(255,255,255,.35),         /* fainter lower-right lip */
      inset 0 0 0 1px rgba(255,255,255,.18),                    /* the glass edge */
      inset 4px 6px 14px -6px rgba(255,255,255,.45),            /* thick-glass glow inside the top edge */
      inset -6px -8px 18px -8px rgba(255,255,255,.22),
      0 18px 40px rgba(0,0,0,.28), 0 3px 10px rgba(0,0,0,.18);
  }
  html.glass2.lg-refract .product-hero .gl-card { -webkit-backdrop-filter: none; backdrop-filter: var(--lg-filter); }
  /* a soft specular glint that follows the pointer / drifts with scroll */
  html.glass2 .product-hero .gl-card .gl-shine {
    position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; mix-blend-mode: screen;
    background: radial-gradient(760px circle at var(--mx) var(--my), rgba(255,255,255,.11), rgba(255,255,255,.04) 35%, rgba(255,255,255,0) 70%);   /* broad and diffuse */
  }
  html.glass2 .product-hero .gl-card .gl-rim { display: none; }
  html.glass2 .product-hero .gl-card .spec-table { position: relative; z-index: 3; background: none !important; box-shadow: none !important; transform: none !important; border-radius: 26px; }
  /* readable on any photo: white text with a soft dark halo, no frosted slab */
  html.glass2 .product-hero .gl-card .spec-table td { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 10px rgba(0,0,0,.35); }
  html.glass2 .product-hero .gl-card .spec-table td.label { color: rgba(255,255,255,.88); }
  html.glass2 .product-hero .gl-card .spec-table td.ico img { filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
  html.glass2 .product-hero .gl-card .spec-table tr { background-image: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.22) 18%, rgba(255,255,255,.22) 82%, rgba(255,255,255,0)) !important; }
  html.glass2 .product-hero .gl-card .spec-table tr:last-child { background-image: none !important; }
  html.glass2 .product-hero .gl-card .spec-download { color: #ffc29e; }
}
