/** Shopify CDN: Minification failed

Line 376:1 Expected "}" to go with "{"

**/
/* ============================================================
   HERCULES — PDP MOSAIC GALLERY
   Activates when section.settings.gallery_layout === 'mosaic'
   (sets data-media-layout="mosaic" on the media-gallery element).

   Layout:
     - Desktop (≥1024px):
       Image 1: full width
       Images 2 & 3: 2 columns
       Image 4: full width
       "See more" button below
       (Images 5+ hidden until 'see more' expands them stacked)

     - Mobile (<1024px):
       Single image, swipe carousel, bottom-right arrows + dots
       overlapping the image. No mosaic on mobile — vertical screen
       real estate is precious.

   Right column (product info / buy box):
     - Position: sticky on desktop while mosaic scrolls
   ============================================================ */


/* ============================================================
   1. SCOPE — only apply when gallery_layout is "mosaic"
   ============================================================ */

.product--mosaic .product__media-gallery,
[data-media-layout="mosaic"] {
  --lp-mosaic-gap: 8px;
  --lp-mosaic-radius: 12px;
  --lp-mosaic-ink: #0a0a0a;
  --lp-mosaic-line: #ece9df;
  --lp-mosaic-line-strong: #d4d2c8;
}


/* ============================================================
   2. DESKTOP MOSAIC (≥1024px)
   ============================================================ */

@media (min-width: 1024px) {

  /* Remove Swiper's flex/horizontal layout so we can grid it */
  .product--mosaic .product__media-gallery-viewer {
    display: block !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .product--mosaic .product__media-gallery-viewer-wrap {
    overflow: visible !important;
  }

  /* Hide the swiper nav buttons + pagination on desktop mosaic */
  .product--mosaic .swiper-controls {
    display: none !important;
  }

  /* The list of media items — give it a grid template */
  .product--mosaic .product__media-list,
  .product--mosaic .swiper-wrapper.product__media-list,
  .product--mosaic .product__media-gallery .product__media-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--lp-mosaic-gap) !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    flex: none !important;
  }

  /* Reset every media item — clear swiper sizing */
  .product--mosaic .product__media-list > .swiper-slide {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-radius: var(--lp-mosaic-radius);
    overflow: hidden;
  }

  /* Item 1: full width (top hero) */
  .product--mosaic .product__media-list > .swiper-slide:nth-child(1) {
    grid-column: 1 / -1;
  }

  /* Items 2 and 3: side-by-side automatically (default 1 col each in the 2-col grid) */
  /* No rule needed — they naturally occupy single cells */

  /* Item 4: full width again */
  .product--mosaic .product__media-list > .swiper-slide:nth-child(4) {
    grid-column: 1 / -1;
  }

  /* Items 5+: hidden by default, revealed when .is-expanded toggled on */
  .product--mosaic .product__media-list > .swiper-slide:nth-child(n+5) {
    display: none;
  }

  .product--mosaic.is-expanded .product__media-list > .swiper-slide:nth-child(n+5) {
    display: block;
    grid-column: 1 / -1;  /* all revealed items go full-width stacked */
  }

  /* Ensure images inside each tile fill it cleanly */
  .product--mosaic .product__media-list .product-media,
  .product--mosaic .product__media-list img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: var(--lp-mosaic-radius);
  }

  /* Force a 1:1 aspect ratio on every tile for visual consistency */
  .product--mosaic .product__media-list > .swiper-slide {
    aspect-ratio: 1 / 1;
  }

  .product--mosaic .product__media-list > .swiper-slide .product-media,
  .product--mosaic .product__media-list > .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Hide the thumbnail strip Swiper renders below the gallery on mosaic */
  .product--mosaic .product__media-gallery-thumbails {
    display: none !important;
  }


  /* ----------------------------------------------------------
     2b. "SEE MORE" BUTTON — injected by lp-pdp-mosaic.js
     ---------------------------------------------------------- */

  .lp-mosaic__more {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 8px;
    padding: 16px 24px;
    background: transparent;
    color: var(--lp-mosaic-ink);
    font-family: var(--font-body-family, 'Roboto', sans-serif);
    font-size: 14px;  /* LOCKED: 14px floor */
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--lp-mosaic-line-strong);
    border-radius: var(--lp-mosaic-radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  }

  .lp-mosaic__more:hover {
    background: var(--lp-mosaic-ink);
    color: #ffffff;
    border-color: var(--lp-mosaic-ink);
  }

  .lp-mosaic__more svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
  }

  .product--mosaic.is-expanded .lp-mosaic__more svg {
    transform: rotate(180deg);
  }

  .lp-mosaic__more[hidden] {
    display: none;
  }


  /* ----------------------------------------------------------
     2c. STICKY PRODUCT INFO (right column)
     Sticky on desktop. Scrollbar hidden visually so the
     visual noise doesn't intrude — column still scrolls
     internally if its content is taller than viewport.
     ---------------------------------------------------------- */

  .product--mosaic .product__info-wrapper,
.product--mosaic .product__info-container {
  position: sticky;
  top: 24px;
  align-self: start;
}

/* ============================================================
   3. MOBILE — single-image carousel with bottom-right cluster
   (Option B from the desktop/mobile sketch)

   Style: black-filled circles with white icons, arrows tightly
   grouped, image centered with breathing room on both sides.
   ============================================================ */

@media (max-width: 1023px) {

  /* Section padding on the gallery wrapper so the image isn't edge-to-edge */
  .product--mosaic .product__media-gallery,
  .product--mosaic .product__media-gallery-viewer-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Hide the "see more" button on mobile — carousel handles it */
  .product--mosaic .lp-mosaic__more {
    display: none !important;
  }

  /* Make the swiper render as a normal carousel on mobile */
  .product--mosaic .product__media-list,
  .product--mosaic .swiper-wrapper.product__media-list {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  .product--mosaic .product__media-list > .swiper-slide {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    border-radius: var(--lp-mosaic-radius);
    overflow: hidden;
    flex-shrink: 0;
  }

  .product--mosaic .product__media-list > .swiper-slide:nth-child(n+5) {
    display: block !important;  /* show all images in mobile carousel */
  }

  .product--mosaic .product__media-list .product-media,
  .product--mosaic .product__media-list img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Bottom-right cluster: arrows on the right, dots on the left, all overlapping image */
  .product--mosaic .swiper-controls {
    position: absolute !important;
    bottom: 12px;
    left: 24px;
    right: 24px;
    z-index: 4;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
  }

  .product--mosaic .swiper-controls > * {
    pointer-events: auto;
  }

  /* Pagination dots — bottom-left */
  .product--mosaic .swiper-pagination {
    display: flex !important;
    gap: 6px;
    position: static !important;
    width: auto !important;
  }

  .product--mosaic .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    transition: width 0.2s ease, background 0.2s ease;
  }

  .product--mosaic .swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 18px;
    border-radius: 999px;
  }

  /* Nav arrows — bottom-right, black circles, white icons, tightly grouped */
  .product--mosaic .swiper-button-prev,
  .product--mosaic .swiper-button-next {
    position: static !important;
    width: 36px !important;
    height: 36px !important;
    background: #0a0a0a !important;
    border-radius: 999px !important;
    border: none !important;
    color: #ffffff !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease, transform 0.1s ease;
  }

  /* Arrows sit side-by-side with a tight 2px gap between them */
  .product--mosaic .swiper-button-next {
    margin-left: 2px !important;
  }

  .product--mosaic .swiper-button-prev:hover,
  .product--mosaic .swiper-button-next:hover {
    background: #1a1a1a !important;
  }

  .product--mosaic .swiper-button-prev:active,
  .product--mosaic .swiper-button-next:active {
    transform: scale(0.95);
  }

  .product--mosaic .swiper-button-prev::after,
  .product--mosaic .swiper-button-next::after {
    font-size: 14px !important;  /* LOCKED: 14px floor */
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  /* The btn__text wrapper that holds the icon SVG inside the swiper buttons */
  .product--mosaic .swiper-button-prev .btn__text,
  .product--mosaic .swiper-button-next .btn__text {
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 14px;
    height: 14px;
  }

  .product--mosaic .swiper-button-prev .btn__text svg,
  .product--mosaic .swiper-button-next .btn__text svg {
    width: 14px !important;
    height: 14px !important;
    stroke: #ffffff !important;
    fill: none !important;
  }

  .product--mosaic .swiper-button-prev .btn__text svg path,
  .product--mosaic .swiper-button-next .btn__text svg path {
    stroke: #ffffff !important;
    fill: none !important;
  }

  /* Group the two arrow buttons on the right with no excess spacing */
  .product--mosaic .swiper-controls > .swiper-button-prev,
  .product--mosaic .swiper-controls > .swiper-button-next {
    flex-shrink: 0;
  }

  /* Hide the desktop-only thumbnail strip on mobile too */
  .product--mosaic .product__media-gallery-thumbails {
    display: none !important;
  }
}


/* ============================================================
   4. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .lp-mosaic__more,
  .lp-mosaic__more svg,
  .product--mosaic .swiper-pagination-bullet,
  .product--mosaic .swiper-button-prev,
  .product--mosaic .swiper-button-next {
    transition: none !important;
  }
}