/** Shopify CDN: Minification failed

Line 137:6 Expected ":"

**/
/* =============================================================
   PDP Goggle Size — depth-stack lens-size gallery
   Matches Figma node 5098-122731 "Lens sizes"

   5 goggle layers — each block has its own dedicated image.
   Active step shows one layer at full opacity; others drop to 10 %.
   Starts at step 1 (smallest size); no overview/step-0 state.
   ============================================================= */

/* ---- Section wrapper --------------------------------------- */
.goggle-size {
  background-color: rgb(var(--color-atomic-white));
  overflow: hidden;
  position: relative;
}

/* ---- Custom element ---------------------------------------- */
goggle-size-gallery {
  display: block;
  position: relative;
  /* Figma: 900px tall section at 1440px wide */
  min-height: 56.25vw;   /* 900/1440 */
  max-height: 900px;
}

/* ---- Header ----------------------------------------------- */
.goggle-size__header {
  padding-left: var(--space-6);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 370px;
  pointer-events: none;
}

.goggle-size__heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.goggle-size__title {
  font-family: var(--font-heading-family);
  font-size: var(--font-size-H2);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgb(var(--color-atomic-black));
  margin: 0;
  white-space: nowrap;
}

.goggle-size__subtitle {
  font-family: var(--font-heading-family);
  font-size: var(--font-size-H2);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgb(var(--color-atomic-black));
  opacity: 0.5;
  margin: 0;
  white-space: nowrap;
}

/* ---- CTA -------------------------------------------------- */
/* Figma: left: 30px, top: 153px => 153/900 ≈ 17% from top */
.goggle-size__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgb(var(--color-atomic-black));
  opacity: 0.6;
  pointer-events: auto;
  transition: opacity 0.2s ease;
  font-family: var(--font-body-family);
  font-size: var(--font-size-B4);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.goggle-size__cta:hover { opacity: 1; }

.goggle-size__cta-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ---- Gallery ---------------------------------------------- */
/* Figma: gallery starts at top: 185px, height: 715px (of 900) */
.goggle-size__gallery {
  position: absolute;
  left: 0;
  right: 0;
  height: 88%; /* 715/900 */
}

/* ---- Size label ------------------------------------------- */
/*
  Figma: label sits just below the handle__line.
  handle__line is at top: 50% of gallery (same as .handle center).
  Offset by a small gap so text sits below the 1px line.
*/
.goggle-size__size-label {
  position: absolute;
  left: var(--space-6);
  top: 40%;
  transform: translateY(var(--space-2));
  z-index: 3;
  font-family: var(--font-body-family);
  font-size: var(--font-size-B4);
  font-weight: 400;
  line-height: 1;
  color: rgb(var(--color-atomic-black));
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/*
  5 layers with absolute inset percentages from Figma (of the gallery container).
  All images use `object-fit: cover` and fill their inset box.
  Opacity is controlled by state selectors on `goggle-size-gallery[data-step]`.
*/
.goggle-size__layers {
  position: relative;
  height: 100%;
  marg
}

@media screen and (min-width: 990px) {
  .goggle-size__layers {
    margin-top: var(--space-4);
  }
}

.goggle-size__layer {
  position: absolute;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

/* Inner wrapper — desktop: fills the layer absolutely */
.goggle-size__layer-inner {
  position: absolute;
  inset: 0;
}

.goggle-size__layer-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Step 0 — default/overview: all layers at 0.3, no active image --- */
goggle-size-gallery[data-step="0"] .goggle-size__layer {
  opacity: 0.3;
  z-index: 1;
}

/* ---- Step 1 → layer 4 (smallest) active at 100 % ----------- */
goggle-size-gallery[data-step="1"] .goggle-size__layer[data-layer="4"] { opacity: 1; z-index: 2; }
goggle-size-gallery[data-step="1"] .goggle-size__layer:not([data-layer="4"]) { opacity: 0.1; z-index: 1; }

/* ---- Step 2 → layer 3 ----------------------------------- */
goggle-size-gallery[data-step="2"] .goggle-size__layer[data-layer="3"] { opacity: 1; z-index: 2; }
goggle-size-gallery[data-step="2"] .goggle-size__layer:not([data-layer="3"]) { opacity: 0.1; z-index: 1; }

/* ---- Step 3 → layer 2 ----------------------------------- */
goggle-size-gallery[data-step="3"] .goggle-size__layer[data-layer="2"] { opacity: 1; z-index: 2; }
goggle-size-gallery[data-step="3"] .goggle-size__layer:not([data-layer="2"]) { opacity: 0.1; z-index: 1; }

/* ---- Step 4 → layer 1 ----------------------------------- */
goggle-size-gallery[data-step="4"] .goggle-size__layer[data-layer="1"] { opacity: 1; z-index: 2; }
goggle-size-gallery[data-step="4"] .goggle-size__layer:not([data-layer="1"]) { opacity: 0.1; z-index: 1; }

/* ---- Step 5 → layer 0 (largest) active at 100 % --------- */
goggle-size-gallery[data-step="5"] .goggle-size__layer[data-layer="0"] { opacity: 1; z-index: 2; }
goggle-size-gallery[data-step="5"] .goggle-size__layer:not([data-layer="0"]) { opacity: 0.1; z-index: 1; }

/* ---- Handle control — position override ------------------- */
@media screen and (min-width: 990px) {
  .goggle-size__gallery .handle {
    top: 40%;
  }
}

/* Dim prev button at step 1, next button at last step (set via JS `disabled`) */
.goggle-size__gallery .handle__btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ---- Mobile layout --------------------------------------- */
/*
  Figma: 390×900px portrait canvas.
  Everything stays absolutely positioned within the section —
  same pattern as desktop but with portrait proportions and
  different header/layer/handle coordinates.
*/
@media (max-width: 989px) {
  /* Portrait aspect ratio 390:900 = 13:30 */
  goggle-size-gallery {
    aspect-ratio: 13 / 30;
    min-height: unset;
    max-height: none;
  }

  /* Gallery fills the full section so layer % values are section-relative */
  .goggle-size__gallery {
    top: 0;
    height: 100%;
  }

  .goggle-size__header {
    position: absolute;
  }

  /* Title/subtitle scale down to H3 (20px) on mobile */
  .goggle-size__title,
  .goggle-size__subtitle {
    font-size: var(--font-size-H3);
  }

  /*
    Portrait layer insets from Figma (% of the 390×900 section).
    !important overrides Liquid's inline top/right/bottom/left values
    (inline styles beat normal CSS rules, but not author !important).
  */
  .goggle-size__layer[data-layer="0"] { top: 18.39% !important; right: 8.33%  !important; bottom: 18.72% !important; left: 8.33%  !important; }
  .goggle-size__layer[data-layer="1"] { top: 21.5%  !important; right: 12.18% !important; bottom: 21.83% !important; left: 12.18% !important; }
  .goggle-size__layer[data-layer="2"] { top: 24.5%  !important; right: 16.28% !important; bottom: 24.83% !important; left: 16.28% !important; }
  .goggle-size__layer[data-layer="3"] { top: 27.72% !important; right: 20.64% !important; bottom: 28.06% !important; left: 20.64% !important; }
  .goggle-size__layer[data-layer="4"] { top: 31.06% !important; right: 25.26% !important; bottom: 31.39% !important; left: 25.26% !important; }

  /*
    Rotation technique (mirrors the Figma React code):
    - Layer becomes a size-query container + flex centring box
    - Inner wrapper is sized to the TRANSPOSED container dimensions
      (width = container height, height = container width) then rotated -90°
    - Result: landscape goggle image visually fills the portrait layer
  */
  .goggle-size__layer {
    container-type: size;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .goggle-size__layer-inner {
    position: static;
    flex-shrink: 0;
    width: 100cqh;   /* container HEIGHT → becomes visual width after rotation */
    height: 100cqw;  /* container WIDTH  → becomes visual height after rotation */
    transform: rotate(-90deg);
  }

  .goggle-size__layer-img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Size label: centred, below the goggle layers */
  .goggle-size__size-label {
    top: auto;
    bottom: 5.78%;    /* (900 − 848) / 900 */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  /* Handle control: near the bottom of the section */
  .goggle-size__gallery .handle {
    top: 88.5%;       /* 796.5 / 900 */
  }

}

/* ---- Reduced motion -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .goggle-size__layer {
    transition: none;
  }
}
