/* =============================================
   PATIENT GALLERY SLIDER — Immersive Design v3
   Group tabs/dots are overlaid on the dark stage.
   Thumbnail strip = dark filmstrip.
   Header = warm gold-tinted, like app aside.
   ============================================= */

/* ---- Wrapper ---- */
.image-slider {
  /* ===== Theme tokens — override per page/theme to change the look ===== */
  /* Stage & strip backgrounds */
  --is-stage-bg:       var(--app, #fffdf7);
  --is-strip-bg:       var(--bg-light-gray, #faf8f0);
  --is-thumb-bg:       var(--border, #f0ece0);
  --is-thumb-border:   var(--border-primary-alpha, rgba(201,162,39,.15));
  /* Fullscreen overlay — uses app background so nothing shows through */
  --is-fs-bg:          var(--app, #fffdf7);
  --is-fs-bar-bg:      rgba(18, 14, 6, 0.92);
  --is-fs-bottom-bg:   rgba(12, 10, 4, 0.94);
  /* Controls on the stage (arrows, counter, tabs, dots) */
  --is-arrow-bg:       rgba(255, 255, 255, 0.88);
  --is-arrow-border:   var(--border-primary-alpha, rgba(201,162,39,.15));
  --is-arrow-stroke:   var(--primary-dark, #8b6914);
  --is-counter-bg:     rgba(255, 255, 255, 0.82);
  --is-counter-color:  var(--primary-dark, #8b6914);
  --is-counter-border: var(--border-primary-alpha, rgba(201,162,39,.15));
  --is-tabs-overlay:   linear-gradient(0deg, rgba(255,255,255,0.9) 0%, transparent 100%);
  --is-tab-bg:         rgba(255, 255, 255, 0.88);
  --is-tab-border:     var(--border-primary-alpha, rgba(201,162,39,.15));
  --is-tab-color:      var(--primary-dark, #8b6914);
  --is-dot-border:     var(--border-primary-alpha-20, rgba(201,162,39,.2));

  width: 100%;
  max-width: 980px;
  margin: 3rem auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border-primary-alpha),
    0 4px 8px var(--shadow-black-08),
    0 24px 64px rgba(0, 0, 0, 0.14);
}

/* ---- Header ---- */
/* Warm gold-tinted background — same gradient as app's aside / why-mt-slide */
.image-slider-header {
  display: flex;
  align-items: center;
  padding: 14px 14px 14px 20px;
  background: linear-gradient(135deg, var(--bg-primary-alpha-08), var(--bg-green-alpha-12));
  border-bottom: 2px solid var(--border-primary-alpha);
  position: relative;
  gap: 10px;
  min-height: 54px;
}

/* Left gold bar — exact same as app's aside::before */
.image-slider-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-aside-before);
  border-radius: 0 2px 2px 0;
  box-shadow: 3px 0 16px var(--shadow-primary-hover), 0 0 24px var(--shadow-primary-15);
}

.image-slider-patient-label {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.2px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-slider-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.image-slider-sub-counter {
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--primary-teal);
  background: var(--bg-primary-alpha-08);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  border: 1px solid var(--border-primary-alpha);
  white-space: nowrap;
}

/* Maximize button — styled like app's .nav-cta */
.image-slider-maximize {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  gap: 5px;
  border-radius: 8px;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow-primary-md);
  transition: box-shadow 0.2s, transform 0.15s, filter 0.2s;
  white-space: nowrap;
}
.image-slider-maximize:hover {
  box-shadow: 0 4px 18px var(--shadow-primary-hover);
  filter: brightness(1.07);
  transform: translateY(-1px);
}
.image-slider-maximize:active { transform: translateY(0); }
.image-slider-maximize svg { width: 13px; height: 13px; }

/* ---- Main stage (dark cinema) ---- */
.image-slider-main {
  position: relative;
  overflow: hidden;
  background: var(--is-stage-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-slider-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 90px; /* bottom space for stacked tabs+dots overlay */
  cursor: zoom-in;
}

.image-slider-stage picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.image-slider-stage img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* ---- Badge ---- */
.image-slider-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px var(--shadow-primary-md);
  z-index: 3;
}

/* ---- Transitions ---- */
.image-slider-slide-left-enter-active,
.image-slider-slide-left-leave-active,
.image-slider-slide-right-enter-active,
.image-slider-slide-right-leave-active,
.image-slider-slide-up-enter-active,
.image-slider-slide-up-leave-active,
.image-slider-slide-down-enter-active,
.image-slider-slide-down-leave-active {
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.image-slider-slide-left-enter-from  { transform: translateX(50px);  opacity: 0; }
.image-slider-slide-left-leave-to    { transform: translateX(-50px); opacity: 0; }
.image-slider-slide-right-enter-from { transform: translateX(-50px); opacity: 0; }
.image-slider-slide-right-leave-to   { transform: translateX(50px);  opacity: 0; }
.image-slider-slide-up-enter-from    { transform: translateY(30px);  opacity: 0; }
.image-slider-slide-up-leave-to      { transform: translateY(-30px); opacity: 0; }
.image-slider-slide-down-enter-from  { transform: translateY(-30px); opacity: 0; }
.image-slider-slide-down-leave-to    { transform: translateY(30px);  opacity: 0; }

/* ---- Nav arrows ---- */
.image-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--is-arrow-border);
  border-radius: 50%;
  background: var(--is-arrow-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--shadow-black-10);
  transition: background 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;
}
.image-slider-arrow:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 4px 20px var(--shadow-primary-md);
  transform: translateY(-50%) scale(1.1);
}
.image-slider-arrow:hover svg { stroke: #fff; }
.image-slider-arrow--prev { left: 14px; }
.image-slider-arrow--next { right: 14px; }
.image-slider-arrow svg  { width: 20px; height: 20px; stroke: var(--is-arrow-stroke); }

/* ---- Counter ---- */
.image-slider-counter {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--is-counter-bg);
  color: var(--is-counter-color);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 6;
  border: 1px solid var(--is-counter-border);
}

/* ============================================================
   GROUP TABS — overlaid on stage (inside .image-slider-main)
   ============================================================ */

.image-slider-main .image-slider-group-tabs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 40px 16px 12px;
  border: none;
}

.image-slider-main .image-slider-group-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 12px;
  border: 1.5px solid var(--is-tab-border);
  border-radius: 100px;
  background: var(--is-tab-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--is-tab-color);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s, box-shadow 0.18s;
}
.image-slider-main .image-slider-group-tab .group-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 16px;
  padding: 0 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: var(--fs-2xs);
  font-weight: 700;
}
.image-slider-main .image-slider-group-tab:hover:not(.disabled):not(.active) {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  background: rgba(201, 162, 39, 0.18);
}
.image-slider-main .image-slider-group-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 12px var(--shadow-primary-md);
}
.image-slider-main .image-slider-group-tab.active .group-tab-count {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.image-slider-main .image-slider-group-tab.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Subdots — overlaid clearly above group tabs */
.image-slider-main .image-slider-subdots {
  position: absolute;
  bottom: 58px;  /* group tab row height (~28px) + bottom pad (12px) + gap (18px) */
  left: 0;
  right: 0;
  z-index: 6;  /* above group-tabs z-index 5 */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 16px;
  background: none;
  border: none;
}
.image-slider-main .image-slider-subdot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--is-dot-border);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.image-slider-main .image-slider-subdot-dot:hover {
  border-color: var(--primary-teal);
  background: rgba(201, 162, 39, 0.3);
  transform: scale(1.3);
}
.image-slider-main .image-slider-subdot-dot.active {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 0 6px var(--shadow-primary-md);
  transform: scale(1.35);
}

/* ---- Description ---- */
.image-slider-description {
  margin: 0;
  padding: 18px 22px 18px 28px;
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg-primary-alpha-08);
  border-top: 1px solid var(--border-primary-alpha);
  border-bottom: 2px solid var(--border-primary-alpha);
  font-style: normal;
  font-weight: 500;
  position: relative;
}
.image-slider-description::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-aside-before);
  border-radius: 0 2px 2px 0;
}

/* ---- Thumbnail strip — dark filmstrip ---- */
.image-slider-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--is-strip-bg);
  overflow-x: auto;
  border-top: 2px solid var(--border-primary-alpha);
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.3) transparent;
}
.image-slider-thumbs::-webkit-scrollbar { height: 3px; }
.image-slider-thumbs::-webkit-scrollbar-track { background: transparent; }
.image-slider-thumbs::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.3); border-radius: 4px; }

.image-slider-thumb {
  position: relative;
  flex-shrink: 0;
  width: 110px;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid var(--is-thumb-border);
  cursor: pointer;
  padding: 0;
  background: var(--is-thumb-bg);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.image-slider-thumb img,
.image-slider-thumb picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}
.image-slider-thumb .thumb-label {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 5px 4px;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}
.image-slider-thumb.active {
  border-color: var(--primary-teal);
  box-shadow:
    0 0 0 1px var(--primary-teal),
    0 0 20px rgba(201, 162, 39, 0.35);
  transform: translateY(-3px);
}
.image-slider-thumb:not(.active):hover {
  border-color: var(--border-primary-alpha-35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-black-12);
}

/* ==================================================
   FULLSCREEN OVERLAY
   ================================================== */

.is-fs-enter-active, .is-fs-leave-active { transition: opacity 0.22s ease; }
.is-fs-enter-from, .is-fs-leave-to { opacity: 0; }

.image-slider-fs {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  background: var(--app, #fffdf7);
}

/* Gold top stripe */
.image-slider-fs::before {
  content: '';
  display: block;
  height: 3px;
  flex-shrink: 0;
  background: var(--gradient-primary);
}

/* Top bar */
.image-slider-fs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-light-gray, #faf8f0);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  flex-shrink: 0;
  gap: 10px;
}

.image-slider-fs-label {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--primary-dark, #8b6914);
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.image-slider-fs-count {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary-teal);
  background: rgba(201, 162, 39, 0.12);
  padding: 2px 10px;
  border-radius: 100px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  flex-shrink: 0;
}

.image-slider-fs-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.image-slider-fs-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid var(--border-primary-alpha, rgba(201, 162, 39, 0.18));
  color: var(--primary-dark, #8b6914);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;
}
.image-slider-fs-btn:hover:not(:disabled) {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px var(--shadow-primary-md);
}
.image-slider-fs-btn:disabled { opacity: 0.2; cursor: not-allowed; }
.image-slider-fs-btn svg { width: 15px; height: 15px; }

.image-slider-fs-zoom-val {
  height: 32px;
  min-width: 52px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.2);
  color: var(--primary-teal);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: background 0.18s;
}
.image-slider-fs-zoom-val:hover { background: rgba(201, 162, 39, 0.2); }

.image-slider-fs-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid var(--border-primary-alpha, rgba(201, 162, 39, 0.18));
  color: var(--primary-dark, #8b6914);
  cursor: pointer;
  margin-left: 4px;
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.image-slider-fs-close:hover {
  background: rgba(198, 40, 40, 0.7);
  border-color: transparent;
  color: #fff;
  transform: scale(1.06);
}
.image-slider-fs-close svg { width: 17px; height: 17px; }

/* Fullscreen image area */
.image-slider-fs-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-slider-fs-main.is-zoomed { cursor: grab; user-select: none; }
.image-slider-fs-main.is-dragging { cursor: grabbing !important; }

.image-slider-fs-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-slider-fs-zoom-wrap {
  transform-origin: center center;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.image-slider-fs-main.is-dragging .image-slider-fs-zoom-wrap { transition: none; }

.image-slider-fs-stage picture,
.image-slider-fs-zoom-wrap > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.image-slider-fs-stage img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Fullscreen bottom controls */
.image-slider-fs-bottom {
  flex-shrink: 0;
  background: var(--bg-light-gray, #faf8f0);
  border-top: 1px solid rgba(201, 162, 39, 0.12);
}

/* Group tabs / subdots / thumbs inside fs-bottom — normal flow (not absolute) */
.image-slider-fs-bottom .image-slider-group-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px 8px;
  background: transparent;
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}
.image-slider-fs-bottom .image-slider-group-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 12px;
  border: 1.5px solid var(--border-primary-alpha, rgba(201, 162, 39, 0.18));
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--primary-dark, #8b6914);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s, box-shadow 0.18s;
}
.image-slider-fs-bottom .image-slider-group-tab .group-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 16px;
  padding: 0 4px;
  background: rgba(201, 162, 39, 0.15);
  border-radius: 10px;
  font-size: var(--fs-2xs);
  font-weight: 700;
}
.image-slider-fs-bottom .image-slider-group-tab:hover:not(.disabled):not(.active) {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  background: rgba(201, 162, 39, 0.1);
}
.image-slider-fs-bottom .image-slider-group-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px var(--shadow-primary-md);
}
.image-slider-fs-bottom .image-slider-group-tab.active .group-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.image-slider-fs-bottom .image-slider-group-tab.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.image-slider-fs-bottom .image-slider-subdots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 16px 8px;
  background: transparent;
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}
.image-slider-fs-bottom .image-slider-subdot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--border-primary-alpha, rgba(201, 162, 39, 0.25));
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.image-slider-fs-bottom .image-slider-subdot-dot:hover {
  border-color: var(--primary-teal);
  background: rgba(201, 162, 39, 0.2);
  transform: scale(1.3);
}
.image-slider-fs-bottom .image-slider-subdot-dot.active {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 0 6px var(--shadow-primary-md);
  transform: scale(1.35);
}

.image-slider-fs-bottom .image-slider-thumbs {
  display: flex;
  gap: 8px;
  padding: 8px 12px 10px;
  background: transparent;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.25) transparent;
}
.image-slider-fs-bottom .image-slider-thumbs::-webkit-scrollbar { height: 3px; }
.image-slider-fs-bottom .image-slider-thumbs::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.25); border-radius: 4px; }
.image-slider-fs-bottom .image-slider-thumb { width: 100px; flex-shrink: 0; }
.image-slider-fs-bottom .image-slider-thumb img,
.image-slider-fs-bottom .image-slider-thumb picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* ---- Badge in fullscreen ---- */
.image-slider-fs-stage .image-slider-badge {
  position: absolute;
  top: 20px;
  left: 70px;
  z-index: 3;
}

/* Arrows in fullscreen — teleported outside .image-slider scope, so set tokens explicitly */
.image-slider-fs-main .image-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border-primary-alpha, rgba(201, 162, 39, 0.25));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.image-slider-fs-main .image-slider-arrow svg {
  stroke: var(--primary-dark, #8b6914);
}
.image-slider-fs-main .image-slider-arrow:hover {
  background: var(--gradient-primary);
  border-color: transparent;
}
.image-slider-fs-main .image-slider-arrow:hover svg { stroke: #fff; }

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 768px) {
  .image-slider { border-radius: 8px; margin: 1.5rem auto; }
  .image-slider-arrow { width: 36px; height: 36px; }
  .image-slider-arrow svg { width: 17px; height: 17px; }
  .image-slider-arrow--prev { left: 8px; }
  .image-slider-arrow--next { right: 8px; }
  .image-slider-thumb { width: 85px; }
  .image-slider-description { padding: 10px 14px 10px 18px; }
  .image-slider-fs-stage { padding: 0 54px; }
  .image-slider-fs-bar { padding: 8px 12px; }
  .image-slider-stage { padding-bottom: 60px; }
}

@media (max-width: 480px) {
  .image-slider-fs-zoom-val { display: none; }
  .image-slider-fs-bottom .image-slider-thumbs { display: none; }
  .image-slider-fs-stage { padding: 0 44px; }
  .image-slider-maximize span { display: none; }
  .image-slider-maximize { padding: 0 8px; width: 32px; }
}
