/** Shopify CDN: Minification failed

Line 192:20 Unexpected "{"
Line 192:29 Expected ":"
Line 192:35 Unexpected ","

**/
/*
 * GUFUMART Premium Product Gallery
 * assets/gufumart-gallery.css
 *
 * Additive styles layered on top of Dawn's section-main-product.css.
 * All rules are scoped to .gf-media-item, [data-gf-style], or
 * .gf-* classes so they cannot conflict with Dawn's own rules.
 *
 * Load order: this file loads AFTER section-main-product.css, so
 * equal-specificity rules here correctly override Dawn's defaults.
 */

/* ============================================================
   SECTION 1 — CSS CUSTOM PROPERTIES
   Defined on media-gallery so they cascade to all children.
   [data-gf-style] variants override these in Section 5 (Step 4).
   ============================================================ */

media-gallery {
  --gf-accent: #6366f1;
  --gf-accent-rgb: 99, 102, 241;
  --gf-thumb-border-width: 0.2rem;
  --gf-thumb-active-color: var(--gf-accent);
  --gf-thumb-radius: var(--media-radius, 0.4rem);
  --gf-thumb-scale-active: 1.04;
  --gf-thumb-transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  --gf-media-transition: opacity 0.3s ease, transform 0.3s ease;
  --gf-media-radius: var(--media-radius, 0.4rem);
  --gf-overlay-gradient: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.10) 40%,
    transparent 70%
  );
  --gf-dot-size: 0.6rem;
  --gf-dot-active-size: 1.8rem;
  --gf-dot-color: rgba(var(--color-foreground, 18, 18, 18), 0.25);
  --gf-dot-active-color: rgba(var(--color-foreground, 18, 18, 18), 0.75);
}

/* ============================================================
   SECTION 2 — MAIN MEDIA CONTAINER (gf-media-item hook)
   Applied via the class added to product-thumbnail.liquid in Step 5.
   Forward-declared here so styles are ready once the class is added.
   ============================================================ */

/* Smooth fade-in when a slide becomes active.
   Dawn toggles .is-active on the parent <li>; we animate the inner container. */
.product__media-item .gf-media-item {
  transition: var(--gf-media-transition);
}

/* Slight opacity on inactive items in stacked/columns layouts */
@media screen and (min-width: 990px) {
  .product--stacked .product__media-item:not(.is-active) .gf-media-item,
  .product--columns .product__media-item:not(.is-active) .gf-media-item {
    opacity: 0.92;
  }

  .product--stacked .product__media-item .gf-media-item:hover,
  .product--columns .product__media-item .gf-media-item:hover {
    opacity: 1;
  }
}

/* Refined border-radius on the media container — works with Dawn's
   existing --media-radius variable so theme settings still apply */
.gf-media-item.product-media-container {
  border-radius: var(--gf-media-radius);
  overflow: hidden;
}

/* Bottom gradient overlay on images — shows on hover to hint at zoom.
   Positioned over the image but under Dawn's .product__media-icon badge. */
.gf-media-item.media-type-image .product__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: var(--gf-overlay-gradient);
  border-radius: 0 0 var(--gf-media-radius) var(--gf-media-radius);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.gf-media-item.media-type-image .product__modal-opener:hover .product__media::after,
.gf-media-item.media-type-image .product__modal-opener:focus-within .product__media::after {
  opacity: 1;
}

/* On mobile and when hover is not available, keep overlay hidden */
@media (hover: none) {
  .gf-media-item.media-type-image .product__media::after {
    display: none;
  }
}

/* ============================================================
   SECTION 3 — ZOOM ICON BADGE REFINEMENT
   Replaces Dawn's plain circular badge with a softer pill style.
   Only applies to image media; videos/models keep their existing badge.
   ============================================================ */

.gf-media-item.media-type-image .product__media-icon {
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  border-radius: 2rem;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.14);
  width: 3.2rem;
  height: 3.2rem;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

/* Dawn already handles opacity:0 → opacity:1 on hover via its own rules.
   We just add a subtle scale for the premium feel. */
@media screen and (min-width: 990px) {
  .gf-media-item.media-type-image .product__modal-opener:hover .product__media-icon,
  .gf-media-item.media-type-image .product__modal-opener:focus .product__media-icon {
    background-color: rgba(255, 255, 255, 0.98);
    transform: scale(1.08);
  }
}

/* Fallback: if backdrop-filter is not supported, use solid white */
@supports not (backdrop-filter: blur(4px)) {
  .gf-media-item.media-type-image .product__media-icon {
    background-color: rgba(255, 255, 255, 0.96);
  }
}

/* ============================================================
   SECTION 4 — THUMBNAIL STRIP ENHANCEMENTS
   Scoped to .thumbnail-list__item to avoid touching Dawn's grid logic.
   ============================================================ */

/* Active thumbnail: accent border + subtle lift instead of Dawn's 1px foreground box-shadow */
.thumbnail-list__item .thumbnail[aria-current='true'],
.thumbnail-list__item .thumbnail[aria-current] {
  box-shadow:
    0 0 0 var(--gf-thumb-border-width) var(--gf-thumb-active-color),
    0 0.3rem 0.8rem rgba(var(--gf-accent-rgb), 0.22);
  border-color: var(--gf-thumb-active-color);
}

/* Hover state: smoother transition than Dawn's instant opacity: 0.7 */
.thumbnail-list__item .thumbnail {
  transition: var(--gf-thumb-transition);
}

.thumbnail-list__item .thumbnail:hover {
  opacity: 0.78;
  transform: scale(1.02);
}

/* Active thumbnail scale */
.thumbnail-list__item .thumbnail[aria-current='true'],
.thumbnail-list__item .thumbnail[aria-current] {
  transform: scale(var(--gf-thumb-scale-active));
}

/* Prevent scale fighting with hover when already active */
.thumbnail-list__item .thumbnail[aria-current='true']:hover,
.thumbnail-list__item .thumbnail[aria-current]:hover {
  opacity: 1;
  transform: scale(var(--gf-thumb-scale-active));
}

/* Thumbnail images — smoother rendering on transform */
.thumbnail-list__item .thumbnail img {
  transform: translateZ(0); /* promote to own layer for smooth scale */
}

/* ============================================================
   SECTION 5 — THUMBNAIL OVERFLOW SCROLL FADE INDICATORS
   CSS-only mask fades on the thumbnail slider to hint at more items.
   The JS in Step 7 adds/removes .gf-thumbnails-overflow-left /
   .gf-thumbnails-overflow-right classes on the slider-component.
   ============================================================ */

/* Base: no fade */
#GalleryThumbnails-{{ section.id }},
[id^='GalleryThumbnails-'] {
  position: relative;
}

/* Left fade — shown when scrolled right */
[id^='GalleryThumbnails-'].gf-thumbnails-overflow-left .thumbnail-list {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%);
}

/* Right fade — shown when more items are off-screen to the right */
[id^='GalleryThumbnails-'].gf-thumbnails-overflow-right .thumbnail-list {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 5%);
  mask-image: linear-gradient(to left, transparent 0%, black 5%);
}

/* Both fades active simultaneously */
[id^='GalleryThumbnails-'].gf-thumbnails-overflow-left.gf-thumbnails-overflow-right .thumbnail-list {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

/* ============================================================
   SECTION 6 — MOBILE DOT INDICATORS
   Injected by gufumart-gallery.js (Step 7) as .gf-slide-dots.
   Positioned below the main slider, centered.
   ============================================================ */

.gf-slide-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0 0.4rem;
}

/* Hide on desktop — dots are a mobile-only affordance */
@media screen and (min-width: 750px) {
  .gf-slide-dots {
    display: none;
  }
}

.gf-dot {
  display: block;
  height: var(--gf-dot-size);
  width: var(--gf-dot-size);
  border-radius: 10rem;
  background-color: var(--gf-dot-color);
  transition: width 0.25s ease, background-color 0.25s ease;
  flex-shrink: 0;
}

.gf-dot.is-active {
  width: var(--gf-dot-active-size);
  background-color: var(--gf-dot-active-color);
}

/* When dots are present, hide Dawn's existing slider counter on mobile
   to avoid showing both. Counter remains in DOM for screen readers. */
.gf-slide-dots ~ .slider-buttons .slider-counter,
.slider-buttons:has(~ .gf-slide-dots) .slider-counter {
  visibility: hidden;
}

/* ============================================================
   SECTION 7 — LIGHTBOX / PRODUCT MODAL ENHANCEMENTS
   Additive only — Dawn's modal logic is untouched.
   ============================================================ */

/* Soft backdrop blur behind the modal overlay */
@supports (backdrop-filter: blur(8px)) {
  .product-media-modal[open] {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(var(--color-background), 0.7);
  }
}

/* Close button — match the refined badge style */
.product-media-modal__toggle {
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.product-media-modal__toggle:hover {
  transform: scale(1.08);
  background-color: rgb(var(--color-background));
  color: rgba(var(--color-foreground), 0.9);
}

/* ============================================================
   SECTION 8 — HOVER ZOOM (magnify.js) OVERLAY REFINEMENT
   Adds border-radius and shadow to the div injected by magnify.js.
   No magnify.js logic changes — purely cosmetic wrapper.
   ============================================================ */

.image-magnify-full-size {
  border-radius: var(--gf-media-radius);
  box-shadow:
    0 0 0 0.1rem rgba(var(--color-foreground), 0.08),
    0 0.8rem 2.4rem rgba(0, 0, 0, 0.18);
}

/* ============================================================
   SECTION 9 — FULLSCREEN HINT BUTTON
   Injected by product-media-gallery.liquid in Step 6.
   Floats bottom-right of the thumbnail slider area.
   ============================================================ */

.gf-gallery-fullscreen-hint {
  display: none; /* shown via JS class in Step 7 */
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 0.1rem solid rgba(var(--color-foreground), 0.15);
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  color: rgb(var(--color-foreground));
}

.gf-gallery-fullscreen-hint.is-visible {
  display: flex;
}

.gf-gallery-fullscreen-hint:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.98);
}

.gf-gallery-fullscreen-hint .svg-wrapper {
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gf-gallery-fullscreen-hint .svg-wrapper svg {
  width: 100%;
  height: 100%;
}

@supports not (backdrop-filter: blur(4px)) {
  .gf-gallery-fullscreen-hint {
    background-color: rgba(255, 255, 255, 0.96);
  }
}

/* Position the parent container for the absolute button */
.product__media-wrapper {
  position: relative;
}

/* ============================================================
   SECTION 10 — SCROLL-REVEAL ANIMATION (stacked layout, desktop)
   Uses @property + animation-timeline: scroll() where supported.
   Graceful degradation: no visual change on unsupported browsers.
   ============================================================ */

@supports (animation-timeline: scroll()) {
  @media screen and (min-width: 990px) {
    .product--stacked .product__media-item .gf-media-item {
      animation: gf-parallax-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }

    @keyframes gf-parallax-reveal {
      from {
        opacity: 0.6;
        transform: translateY(1.2rem);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}

/* ============================================================
   SECTION 11 — REDUCED MOTION OVERRIDES
   Respect prefers-reduced-motion for all animations above.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .gf-media-item,
  .thumbnail-list__item .thumbnail,
  .gf-dot,
  .gf-gallery-fullscreen-hint,
  .gf-media-item.media-type-image .product__media::after,
  .gf-media-item.media-type-image .product__media-icon,
  .product-media-modal__toggle,
  .image-magnify-full-size {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   SECTION 12 — CSS VARIABLE THEMING
   Overrides the base CSS custom properties (Section 1) based on
   the data-gf-style attribute written by product-media-gallery.liquid.
   Selector: media-gallery[data-gf-style="<value>"]
   This is the only place themes differ — all visual rules above
   read from these variables, so no rule duplication is needed.
   ============================================================ */

/* ---- STANDARD (default) — inherits Section 1 values unchanged ---- */
/* Explicitly stated for clarity; no overrides needed. */
media-gallery[data-gf-style='standard'] {
  --gf-accent: #6366f1;
  --gf-accent-rgb: 99, 102, 241;
  --gf-thumb-border-width: 0.2rem;
  --gf-thumb-scale-active: 1.04;
  --gf-dot-active-size: 1.8rem;
}

/* ---- BOLD — stronger accent, thicker borders, larger active scale ---- */
media-gallery[data-gf-style='bold'] {
  /* Deep indigo-to-violet accent */
  --gf-accent: #4f46e5;
  --gf-accent-rgb: 79, 70, 229;

  /* Thicker active thumbnail border */
  --gf-thumb-border-width: 0.3rem;

  /* More pronounced active thumbnail lift */
  --gf-thumb-scale-active: 1.07;

  /* Wider active dot */
  --gf-dot-active-size: 2.2rem;

  /* Stronger dot colours */
  --gf-dot-color: rgba(var(--color-foreground, 18, 18, 18), 0.35);
  --gf-dot-active-color: rgba(79, 70, 229, 0.9);

  /* Denser hover overlay */
  --gf-overlay-gradient: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.14) 45%,
    transparent 75%
  );
}

/* Bold — stronger thumbnail active shadow */
media-gallery[data-gf-style='bold'] .thumbnail-list__item .thumbnail[aria-current='true'],
media-gallery[data-gf-style='bold'] .thumbnail-list__item .thumbnail[aria-current] {
  box-shadow:
    0 0 0 var(--gf-thumb-border-width) var(--gf-thumb-active-color),
    0 0.4rem 1.2rem rgba(var(--gf-accent-rgb), 0.32);
}

/* Bold — zoom badge uses accent colour tint */
media-gallery[data-gf-style='bold'] .gf-media-item.media-type-image .product__media-icon {
  background-color: rgba(79, 70, 229, 0.10);
  border: 0.15rem solid rgba(79, 70, 229, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media screen and (min-width: 990px) {
  media-gallery[data-gf-style='bold'] .gf-media-item.media-type-image .product__modal-opener:hover .product__media-icon,
  media-gallery[data-gf-style='bold'] .gf-media-item.media-type-image .product__modal-opener:focus .product__media-icon {
    background-color: rgba(79, 70, 229, 0.18);
    transform: scale(1.10);
  }
}

/* Bold — slightly more prominent modal backdrop */
@supports (backdrop-filter: blur(8px)) {
  media-gallery[data-gf-style='bold'] ~ .product-media-modal[open],
  .product-media-modal[open]:has(+ media-gallery[data-gf-style='bold']) {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* ---- MINIMAL — reduced accents, hairline borders, no scale effects ---- */
media-gallery[data-gf-style='minimal'] {
  /* Neutral near-black accent */
  --gf-accent: #1a1a2e;
  --gf-accent-rgb: 26, 26, 46;

  /* Hairline border on active thumbnail */
  --gf-thumb-border-width: 0.1rem;

  /* No scale — just border change */
  --gf-thumb-scale-active: 1.0;

  /* Slim dots */
  --gf-dot-size: 0.45rem;
  --gf-dot-active-size: 1.2rem;

  /* Very subtle dot colours */
  --gf-dot-color: rgba(var(--color-foreground, 18, 18, 18), 0.18);
  --gf-dot-active-color: rgba(var(--color-foreground, 18, 18, 18), 0.6);

  /* No overlay gradient — clean look */
  --gf-overlay-gradient: none;
}

/* Minimal — suppress hover scale on thumbnails */
media-gallery[data-gf-style='minimal'] .thumbnail-list__item .thumbnail:hover {
  transform: none;
  opacity: 0.72;
}

/* Minimal — no transform on active thumbnail */
media-gallery[data-gf-style='minimal'] .thumbnail-list__item .thumbnail[aria-current='true'],
media-gallery[data-gf-style='minimal'] .thumbnail-list__item .thumbnail[aria-current] {
  transform: none;
  box-shadow: 0 0 0 var(--gf-thumb-border-width) var(--gf-thumb-active-color);
}

/* Minimal — keep no-scale on hover+active */
media-gallery[data-gf-style='minimal'] .thumbnail-list__item .thumbnail[aria-current='true']:hover,
media-gallery[data-gf-style='minimal'] .thumbnail-list__item .thumbnail[aria-current]:hover {
  transform: none;
  opacity: 1;
}

/* Minimal — plain white badge, no blur */
media-gallery[data-gf-style='minimal'] .gf-media-item.media-type-image .product__media-icon {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.10);
  border-radius: 0.4rem; /* square-ish instead of pill */
}

/* Minimal — suppress badge scale on hover */
@media screen and (min-width: 990px) {
  media-gallery[data-gf-style='minimal'] .gf-media-item.media-type-image .product__modal-opener:hover .product__media-icon,
  media-gallery[data-gf-style='minimal'] .gf-media-item.media-type-image .product__modal-opener:focus .product__media-icon {
    transform: none;
    background-color: rgba(255, 255, 255, 1);
  }
}

/* Minimal — suppress parallax scroll reveal */
@supports (animation-timeline: scroll()) {
  media-gallery[data-gf-style='minimal'] .product--stacked .product__media-item .gf-media-item {
    animation: none;
  }
}

/* Minimal — no modal backdrop blur */
@supports (backdrop-filter: blur(8px)) {
  media-gallery[data-gf-style='minimal'] ~ .product-media-modal[open] {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(var(--color-background), 0.96);
  }
}

/* ============================================================
   SECTION 13 — THUMBNAIL ZOOM PREVIEW
   Only active when data-gf-thumbnail-zoom-preview="true" is set
   on media-gallery (driven by the gf_thumbnail_zoom_preview schema
   setting). Adds a subtle scale-up on thumbnail hover to hint at
   the full image without replacing the lightbox.
   ============================================================ */

media-gallery[data-gf-thumb-zoom='true'] .thumbnail-list__item .thumbnail:hover img {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

media-gallery[data-gf-thumb-zoom='true'] .thumbnail-list__item .thumbnail img {
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* Clip the image inside the thumbnail so it doesn't overflow its bounds */
media-gallery[data-gf-thumb-zoom='true'] .thumbnail-list__item {
  overflow: hidden;
}

/* ============================================================
   MILESTONE 1 — GALLERY TO PRODUCT TITLE
   All rules below are additive and scoped to gf-* classes.
   Dawn's own CSS is never overridden directly.
   Mobile breakpoint: < 750px  |  Desktop: >= 750px
   ============================================================ */

/* ── M1-A: MOBILE GALLERY — FULL WIDTH, CONSISTENT CONTAINER ─ */

@media screen and (max-width: 749px) {
  /* Edge-to-edge gallery — break out of .page-width padding */
  product-info[id^='MainProduct-'] {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  product-info[id^='MainProduct-'] .page-width {
    overflow-x: clip;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
  }

  /* Remove breadcrumb section gap above gallery on mobile */
  .shopify-section:has(.breadcrumbs) {
    display: none !important;
  }

  product-info[id^='MainProduct-'] .product.grid {
    row-gap: 0;
    margin-top: 0;
  }

  product-info[id^='MainProduct-'] media-gallery {
    margin-top: 0;
    padding-top: 0;
  }

  product-info[id^='MainProduct-'] .product__media-wrapper.grid__item {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0;
    border-radius: 0 0 var(--gf-media-radius) var(--gf-media-radius);
    overflow: hidden;
  }

  .product__media-wrapper {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0;
    border-radius: 0 0 var(--gf-media-radius) var(--gf-media-radius);
    overflow: hidden;
  }

  .product__media-wrapper .slider-mobile-gutter {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
  }

  .gf-gallery-viewer {
    position: relative;
    width: 100%;
    max-width: 100%;
  }

  product-info[id^='MainProduct-'] .product__media-list.slider,
  product-info[id^='MainProduct-'] .product__media-list {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  product-info[id^='MainProduct-'] .product__media-wrapper slider-component:not(.thumbnail-slider--no-slide) {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
  }

  product-info[id^='MainProduct-'] .grid--peek.slider .grid__item:first-of-type,
  product-info[id^='MainProduct-'] .product__media-list.grid--peek .product__media-item:first-of-type {
    margin-left: 0 !important;
  }

  product-info[id^='MainProduct-'] .slider--mobile.grid--peek.grid--1-col-tablet-down .grid__item,
  product-info[id^='MainProduct-'] .product__media-list.grid--peek .grid__item,
  product-info[id^='MainProduct-'] .grid--peek.slider--mobile .grid__item {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  product-info[id^='MainProduct-'] .grid--peek.slider:after {
    display: none !important;
    content: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  product-info[id^='MainProduct-'] .slider.slider--mobile {
    scroll-padding-left: 0;
    margin-bottom: 0;
  }

  product-info[id^='MainProduct-'] .slider.slider--mobile:after {
    display: none;
  }

  product-info[id^='MainProduct-'] .product__media-list.slider--mobile .slider__slide,
  product-info[id^='MainProduct-'] .product__media-list.slider--mobile .product__media-item {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .product__media-list .product__media-item {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product__media-list.grid--peek {
    --grid-mobile-horizontal-spacing: 0px;
  }

  /* Consistent gallery frame — images use contain inside fixed ratio */
  .product__media-item .product-media-container.gf-media-item {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 4 / 5;
    max-height: none;
    --ratio-percent: 0;
    border-radius: 0 0 var(--gf-media-radius) var(--gf-media-radius);
  }

  .product__media-item .product-media-container.gf-media-item .media {
    position: absolute;
    inset: 0;
    padding-top: 0 !important;
    height: 100%;
  }

  .product__media-item .product-media-container.gf-media-item .product__modal-opener,
  .product__media-item .product-media-container.gf-media-item .product__media {
    height: 100%;
  }

  .product__media-item .product-media-container.gf-media-item .product__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  media-gallery {
    display: block;
    overflow: hidden;
    --gf-media-radius: 1.2rem;
    border-radius: 0 0 var(--gf-media-radius) var(--gf-media-radius);
  }

  .gf-gallery-overlay {
    bottom: 1.65rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  product-info[id^='MainProduct-'] .product__media-icon {
    left: 5px;
  }

  .product__media-wrapper .slider-buttons {
    display: none !important;
  }

  .product__media-wrapper .thumbnail-slider {
    display: none !important;
  }
}

/* ── M1-B: MOBILE DOTS — VISIBLE BELOW GALLERY ─────────────── */

/* Override the earlier gf-slide-dots display:flex to ensure it
   appears specifically below the gallery on mobile */
@media screen and (max-width: 749px) {
  .gf-slide-dots {
    display: flex !important;
    padding: 0.2rem 0 0.15rem;
    margin-top: 5px;
    gap: 0.35rem;
  }
}

/* ── M1-C: MOBILE GALLERY IMAGE OVERLAYS ───────────────────── */

/* Container: position relative is already set on
   .product__media-wrapper from Section 9 of gufumart-gallery.css.
   Overlay elements are absolutely positioned inside the active slide. */

/* The overlay row sits at the bottom of the active slide image.
   z-index 1 keeps View Similar / rating above gallery media but below
   the sticky header (Dawn header group uses z-index 3–4). */
.gf-gallery-overlay {
  position: absolute;
  bottom: 1.2rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none; /* let clicks pass through the row itself */
  z-index: 1;
}

/* ── VIEW SIMILAR BUTTON ── */
.gf-view-similar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem 0.5rem 5px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0.1rem solid rgba(0, 0, 0, 0.12);
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  pointer-events: all;
  white-space: nowrap;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, background 0.15s ease, padding 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.gf-view-similar-btn:hover,
.gf-view-similar-btn:focus-visible {
  background: rgba(255, 255, 255, 0.98);
  transform: scale(1.03);
  outline: 0.2rem solid rgba(0, 0, 0, 0.45);
  outline-offset: 0.2rem;
}

.gf-view-similar-icon {
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  margin-left: 0;
  align-self: center;
}

/* Icon-only mode after ~3 gallery images swiped */
.gf-view-similar-btn.is-icon-only {
  padding: 0.55rem 0.55rem 0.55rem 5px;
  gap: 0;
}

.gf-view-similar-btn.is-icon-only .gf-view-similar-label {
  display: none;
}

/* ── RATING BADGE (clickable) ── */
.gf-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  pointer-events: all;
  cursor: pointer;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.gf-rating-badge:hover,
.gf-rating-badge:focus-visible {
  background: rgba(255, 255, 255, 0.98);
  transform: scale(1.03);
  outline: 0.2rem solid rgba(0, 0, 0, 0.45);
  outline-offset: 0.2rem;
}

.gf-rating-badge__score {
  line-height: 1;
}

.gf-rating-star {
  width: 1.3rem;
  height: 1.3rem;
  color: #14958f;
  flex-shrink: 0;
}

.gf-rating-badge__divider {
  display: inline-block;
  width: 0.1rem;
  height: 1.2rem;
  background: rgba(0, 0, 0, 0.15);
  margin: 0 0.15rem;
}

.gf-rating-badge__count {
  font-weight: 600;
  color: #333;
}

/* Hide overlay entirely on desktop — it's a mobile-only affordance */
@media screen and (min-width: 750px) {
  .gf-gallery-overlay {
    display: none;
  }
}

@supports not (backdrop-filter: blur(6px)) {
  .gf-view-similar-btn,
  .gf-rating-badge {
    background: rgba(255, 255, 255, 0.97);
  }
}

/* ── M1-D: VIEW SIMILAR DRAWER (foundation) ────────────────── */

.gf-view-similar-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border-radius: 1.6rem 1.6rem 0 0;
  box-shadow: 0 -0.4rem 2.4rem rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 72vh;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.gf-view-similar-drawer.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: all;
}

.gf-view-similar-drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 70vh;
}

.gf-view-similar-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem 1rem;
  border-bottom: 0.1rem solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.gf-view-similar-drawer__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.gf-view-similar-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: #555;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.gf-view-similar-drawer__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.gf-view-similar-drawer__products {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.75rem 0 1rem 1rem;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.gf-view-similar-drawer__products::-webkit-scrollbar {
  display: none;
}

.gf-similar-status {
  padding: 1rem 1.6rem;
  color: #888;
  font-size: 1.4rem;
  margin: 0;
}

.gf-similar-status--error {
  color: #c00;
}

/* Horizontal carousel track */
.gf-similar-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  padding-right: 1rem;
  align-items: stretch;
}

.gf-similar-card {
  flex: 0 0 calc((100vw - 2.4rem) / 2.8);
  width: calc((100vw - 2.4rem) / 2.8);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.gf-similar-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.gf-similar-card__media {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 4 / 5;
  margin-bottom: 0.45rem;
  border: 1px solid #e8e8e8;
}

.gf-similar-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gf-similar-card__img--placeholder {
  width: 100%;
  height: 100%;
  background: #eee;
}

.gf-similar-card__vendor {
  margin: 0 0 0.15rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gf-similar-card__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gf-similar-card__pricing {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
  min-width: 0;
  overflow: hidden;
}

.gf-similar-card__mrp {
  font-size: 0.95rem;
  color: #999;
  text-decoration: line-through;
  white-space: nowrap;
  flex-shrink: 0;
}

.gf-similar-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  flex-shrink: 0;
}

.gf-similar-card__discount {
  font-size: 0.95rem;
  font-weight: 700;
  color: #9e1449;
  white-space: nowrap;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gf-similar-card__atc {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 3.4rem;
  padding: 0.55rem 0.5rem;
  margin-top: auto;
  flex-shrink: 0;
  border: 0.15rem solid #9e1449;
  border-radius: 2rem;
  background: #fff;
  color: #9e1449;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.gf-similar-card__atc:hover:not(:disabled),
.gf-similar-card__atc:focus-visible:not(:disabled) {
  background: #9e1449;
  color: #fff;
  outline: 0.2rem solid rgba(158, 20, 73, 0.4);
  outline-offset: 0.1rem;
}

.gf-similar-card__atc:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.gf-similar-card__atc.is-loading {
  opacity: 0.7;
}

.gf-similar-card__atc.is-added {
  background: #14958f;
  border-color: #14958f;
  color: #fff;
}

/* Drawer overlay/scrim behind the panel */
.gf-view-similar-scrim {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gf-view-similar-scrim.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* ── M1-E: MOBILE BREADCRUMB HIDE ──────────────────────────── */

/* Hide any breadcrumb/nav on mobile.
   Dawn does not render breadcrumbs inside main-product.liquid by default,
   but many themes inject them via header or custom liquid blocks.
   We target common breadcrumb selectors to be safe.
   The breadcrumb HTML remains in the DOM — only visibility is hidden.
   Desktop (>=750px) keeps breadcrumb fully visible. */
@media screen and (max-width: 749px) {
  .breadcrumbs,
  .breadcrumb,
  nav[aria-label*="readcrumb"],
  .gf-breadcrumb {
    display: none !important;
  }
}

/* ── M1-F: DESKTOP GALLERY — 2-COLUMN COLUMNS LAYOUT ────────── */

/* On desktop we use Dawn's built-in 'columns' gallery layout CSS,
   enhanced for a cleaner, more prominent 2-col look.
   This only applies in the .product--columns layout class. */
@media screen and (min-width: 750px) {
  /* Ensure the 2-col media wrapper has no excess margin */
  .product--columns .product__media-wrapper {
    overflow: hidden;
  }

  /* Images in columns layout: equal height, cover fill */
  .product--columns .product__media-item {
    overflow: hidden;
  }

  /* First image in columns (main hero) takes full width on tablet */
  @media screen and (min-width: 750px) and (max-width: 989px) {
    .product--columns .product__media-item:first-child {
      width: 100%;
      max-width: 100%;
    }
  }

  /* Desktop >= 990px: 2-col grid with consistent gap */
  @media screen and (min-width: 990px) {
    .product--columns .product__media-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.6rem;
    }

    /* First image spans both columns — hero treatment */
    .product--columns .product__media-item:first-child {
      grid-column: 1 / -1;
    }

    /* Full-width items (videos/models) always span full row */
    .product--columns .product__media-item.product__media-item--full {
      grid-column: 1 / -1;
    }

    /* Tall images constrain to avoid extreme height */
    .product--columns .product__media-item .product-media-container {
      max-height: 60vh;
      overflow: hidden;
    }

    .product--columns .product__media-item .product__media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

/* ── M1-G: VENDOR / BRAND STYLES ───────────────────────────── */

.gf-product-header {
  margin-bottom: 0.8rem;
}

/* Mobile: rendered below gallery dots */
@media screen and (max-width: 749px) {
  .gf-product-header {
    padding: 0.75rem 1.5rem 0;
    margin-bottom: 0;
  }
}

.gf-vendor {
  margin: 0 0 0.4rem 0;
  line-height: 1.2;
}

.gf-vendor__link {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
}

.gf-vendor__link:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

/* ── M1-H: PRODUCT TITLE STYLES ────────────────────────────── */

.gf-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.gf-product-title {
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.35;
  color: #333;
  margin: 0;
  flex: 1;
  word-break: break-word;
}

.gf-product-title__brand {
  font-weight: 800;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.gf-product-title__brand:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.gf-product-title__name {
  font-weight: 400;
  color: #333;
}

@media screen and (min-width: 750px) {
  .gf-product-title {
    font-size: 2rem;
    line-height: 1.25;
  }
}

/* ── M1-I: SHARE BUTTON STYLES ──────────────────────────────── */

.gf-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.6rem;
  height: 3.6rem;
  background: transparent;
  border: 0.1rem solid rgba(0, 0, 0, 0.14);
  border-radius: 0.55rem;
  cursor: pointer;
  color: #111;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  margin-top: -0.1rem; /* optical alignment with title baseline */
}

.gf-share-btn:hover,
.gf-share-btn:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.4);
  transform: scale(1.06);
  outline: 0.2rem solid rgba(0, 0, 0, 0.5);
  outline-offset: 0.2rem;
}

.gf-share-btn:active {
  transform: scale(0.97);
}

.gf-share-icon {
  width: 2rem;
  height: 2rem;
  pointer-events: none;
}

/* Share feedback toast */
.gf-share-toast {
  position: fixed;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: #111;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300;
}

.gf-share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── M1-J: HIDE DAWN'S DEFAULT TITLE BLOCK ON MOBILE ────────── */
/* The existing Dawn 'title' block in the product__info-container
   is kept for desktop. On mobile we surface our new gf-product-header
   below the gallery instead. We use a targeted selector so only the
   block inside product__info-container is hidden, and only on mobile. */
@media screen and (max-width: 749px) {
  .product__info-container .product__title {
    display: none;
  }
}

/* ── M1-K: REDUCED MOTION for Milestone 1 additions ─────────── */
@media (prefers-reduced-motion: reduce) {
  .gf-view-similar-btn,
  .gf-share-btn,
  .gf-view-similar-drawer,
  .gf-view-similar-scrim,
  .gf-share-toast {
    transition: none !important;
    animation: none !important;
  }
}

/* ── M1-L: GF MOBILE PRODUCT HEADER VISIBILITY ─────────────── */

/* Show only on mobile (below gallery, above info) */
.gf-mobile-product-header {
  display: block;
  padding: 0; /* gf-product-header has its own internal padding */
}

/* Hide on desktop — Dawn's title block inside product__info-container
   handles vendor/title/share on desktop */
@media screen and (min-width: 750px) {
  .gf-mobile-product-header {
    display: none;
  }
}

/* On mobile, vendor/title in desktop info panel can also be hidden
   since gf-mobile-product-header shows it. Dawn's 'title' block
   is already hidden via .product__info-container .product__title { display:none }
   in section M1-J above. The share block from Dawn is kept visible
   on desktop (inside info container) — we don't hide it there. */

/* On desktop, also show vendor above title in the info container */
@media screen and (min-width: 750px) {
  /* Vendor display in desktop info panel via the gf-product-header
     (which is inside product__info-container on desktop — but we use
     Dawn's own title block there, so we inject vendor separately).
     This rule is a safeguard only. */
  .product__info-container .gf-product-header {
    display: block;
    margin-bottom: 0.4rem;
    padding: 0;
  }
}

/* ── M1-M: GF DESKTOP PRODUCT HEADER VISIBILITY ─────────────── */

/* Hidden on mobile — the .gf-mobile-product-header handles it */
@media screen and (max-width: 749px) {
  .gf-desktop-product-header {
    display: none;
  }
}

/* Visible on desktop — renders vendor + title + share above Dawn blocks */
@media screen and (min-width: 750px) {
  .gf-desktop-product-header {
    display: block;
    margin-bottom: 1.2rem;
  }

  /* On desktop the gf-product-header has no extra padding —
     the info wrapper already has its own padding */
  .gf-desktop-product-header .gf-product-header {
    padding: 0;
    margin-bottom: 0;
  }

  /* On desktop, hide Dawn's own title block to avoid duplicate titles.
     The Dawn title block ('when title') is now replaced by gf-product-header. */
  .product__info-container .product__title {
    display: none;
  }
}

/* ============================================================
   MILESTONE 1 — FULLSCREEN VIEWER (Dawn product-modal)
   Reuses existing product-media-modal; styles only.
   ============================================================ */

.product-media-modal.gf-modal-open,
.product-media-modal[open] {
  background-color: #fff;
}

@supports (backdrop-filter: blur(8px)) {
  .product-media-modal.gf-modal-open,
  .product-media-modal[open] {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: #fff;
  }
}

.product-media-modal.gf-modal-open .product-media-modal__dialog {
  align-items: stretch;
  justify-content: center;
}

.product-media-modal.gf-modal-open .product-media-modal__content {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 0 2rem;
  max-height: 100vh;
}

.product-media-modal.gf-modal-open .product-media-modal__content > *:not(.active) {
  display: none !important;
}

.product-media-modal.gf-modal-open .product-media-modal__content > *.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 7rem);
  margin: 0 auto;
}

.product-media-modal.gf-modal-open .product-media-modal__content img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

/* Close — top-left like reference */
.product-media-modal .gf-modal-close.product-media-modal__toggle {
  left: 1.2rem;
  right: auto;
  top: 1.2rem;
  border: none;
  background: transparent;
  box-shadow: none;
  color: #111;
  width: 3.6rem;
  height: 3.6rem;
  padding: 0.6rem;
}

.product-media-modal .gf-modal-close.product-media-modal__toggle:hover {
  transform: scale(1.06);
  background: rgba(0, 0, 0, 0.05);
}

/* Prev / Next nav arrows */
.gf-modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.12);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.gf-modal-nav .svg-wrapper {
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
}

.gf-modal-nav--prev {
  left: 0.8rem;
}

.gf-modal-nav--prev .svg-wrapper {
  transform: rotate(90deg);
}

.gf-modal-nav--next {
  right: 0.8rem;
}

.gf-modal-nav--next .svg-wrapper {
  transform: rotate(-90deg);
}

.gf-modal-nav:hover,
.gf-modal-nav:focus-visible {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
  outline: 0.2rem solid rgba(0, 0, 0, 0.35);
  outline-offset: 0.15rem;
}

@media screen and (min-width: 750px) {
  .product-media-modal.gf-modal-open .product-media-modal__content {
    padding: 5rem 6rem 2rem;
  }

  .gf-modal-nav--prev {
    left: 2rem;
  }

  .gf-modal-nav--next {
    right: 2rem;
  }

  .product-media-modal .gf-modal-close.product-media-modal__toggle {
    left: 2rem;
    top: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gf-modal-nav,
  .gf-rating-badge,
  .gf-similar-card__atc {
    transition: none !important;
  }
}

/* ── M1-N: PRODUCT TITLE + PRICE ROW (mobile-first) ─────────── */

.gf-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  line-height: 1.2;
}

.gf-price__mrp-group {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.gf-price__mrp-label {
  font-size: 1.2rem;
  font-weight: 400;
  color: #aaa;
  letter-spacing: 0;
}

.gf-price__mrp {
  font-size: 1.2rem;
  font-weight: 400;
  color: #aaa;
  text-decoration: line-through;
}

.gf-price__sale {
  font-size: 1.85rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.01em;
}

.gf-price__discount {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.02em;
  border-radius: 0.35rem;
  background: linear-gradient(90deg, #e53935 0%, #ff7043 100%);
  white-space: nowrap;
}

.gf-price__sold-out {
  font-size: 1.25rem;
  font-weight: 600;
  color: #888;
}

.gf-product-price-block {
  margin: 0;
}

/* Hide shipping/tax + Shop Pay installment between price and Smart Deal */
.product__info-container .product__tax,
.product__info-container form.installment {
  display: none;
}

/* Inline Similar Products — same carousel shell as the View Similar drawer */
.gf-similar-products-inline {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.gf-similar-products-inline .gf-view-similar-drawer__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #111;
}

.gf-similar-products-inline .gf-view-similar-drawer__products {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.75rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.product__info-container .gfm-pi + .gf-similar-products-inline {
  margin-top: 20px;
}

@media screen and (max-width: 749px) {
  .product__info-container .gf-similar-products-inline {
    order: -6;
    margin-left: 1.75rem;
    margin-right: 1.75rem;
    margin-bottom: 0;
    margin-top: 0.75rem;
    width: auto;
    max-width: 100%;
  }

  .product__info-container .gfm-pi + .gf-similar-products-inline {
    margin-top: 20px;
  }

  .gf-similar-products-inline .gf-view-similar-drawer__title {
    padding: 0 0.25rem;
  }

  .gf-similar-products-inline .gf-view-similar-drawer__products {
    padding-left: 0;
  }

  .gf-mobile-product-header {
    margin-bottom: 0;
  }

  .product__info-container {
    display: flex;
    flex-direction: column;
  }

  /* Price directly under title — above other info blocks */
  .product__info-container .gf-product-price-block {
    order: -10;
    padding: 0.35rem 1.5rem 0;
    margin: 0;
  }

  /* Hide duplicate vendor from Dawn text block on mobile */
  .product__info-container > .product__text:first-of-type {
    display: none;
  }

  .gf-price__sale {
    font-size: 2rem;
  }
}

@media screen and (min-width: 750px) {
  .gf-product-price-block {
    margin: 0.4rem 0 0;
  }

  .gf-price__sale {
    font-size: 2.1rem;
  }
}

/* ── M1-P: GALLERY OVERLAYS BELOW STICKY HEADER WHILE SCROLLING ─ */
/* Backdrop-filter on overlay controls creates stacking contexts; keep
   the whole gallery overlay layer under .section-header (z-index 3–4). */
.gf-view-similar-btn,
.gf-rating-badge {
  z-index: auto;
}

/* ── M1-O: HIDE PRODUCT OVERLAYS WHEN MOBILE MENU IS OPEN ───── */
/* Dawn HeaderDrawer adds .menu-open to .section-header when the
   hamburger drawer is active. Product gallery floats must not sit
   above the navigation layer. Mobile only — desktop unchanged. */

@media screen and (max-width: 749px) {
  body:has(.section-header.menu-open) .gf-gallery-overlay,
  body:has(.section-header.menu-open) .gf-gallery-fullscreen-hint,
  body:has(.section-header.menu-open) product-info .product__media-icon,
  body:has(.section-header.menu-open) .gf-view-similar-drawer,
  body:has(.section-header.menu-open) .gf-view-similar-scrim {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
