/* ------------------------------------------------------
   PHOTOSETS PAGE – PHOTOS.PHP STYLES ONLY
------------------------------------------------------ */ :root {
  --bg: #050505;
  --border: #333;
  --text: #f5f5f5;
  --muted: #999;
  --accent: #0a84ff;
}
/* PAGE LAYOUT */
.content {
  padding: 2rem 5vw 3rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}
.hero {
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}
.hero p {
  color: var(--muted);
  font-size: 1rem;
}
/* ------------------------------------------------------
   PHOTOSET GRID
------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
/* CARD */
.gallery-item {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  transition: 0.25s ease;
  position: relative;
  backdrop-filter: blur(8px);
}
.gallery-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
/* THUMB CONTAINER */
.media-thumb-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  background: #111;
}
.media-thumb-wrap .real-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* anti-save */
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
/* LOCKED BADGE */
.locked-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 6px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
}
.locked-badge svg {
  width: 18px;
  height: 18px;
}
/* Transparent anti-save overlay */
.overlay-protect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
  z-index: 5;
}
.modal-protect-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto; /* force pointer events so right-click hits this, not the real image */
    opacity: 0; /* fully invisible */
    z-index: 999; /* must sit above the fullscreen image */
}

/* ------------------------------------------------------
   META SECTION UNDER THUMBNAIL
------------------------------------------------------ */
.gallery-meta {
  margin-top: 12px;
}
.gallery-meta h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.set-description {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
/* TAGS */
.tag-chip-row {
  margin-top: 14px;
}
.tag-chip {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
  margin: 3px 4px 0 0;
  color: #fff;
  text-decoration: none;
  transition: 0.2s ease;
}
.tag-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}
/* ------------------------------------------------------
   RESPONSIVE
------------------------------------------------------ */
@media (max-width: 780px) {
  .gallery-grid {
    gap: 16px;
  }
  .media-thumb-wrap {
    height: 200px;
  }
}
@media (max-width: 500px) {
  .gallery-grid {
    gap: 14px;
  }
  .media-thumb-wrap {
  }
  .hero {
    padding: 1.8rem 1.3rem;
	  margin-bottom: 1.5rem;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}
/* ------------------------------------------------------
   PAGE STRUCTURE / HEADER
------------------------------------------------------ */
.set-header {
  text-align: center;
  margin: 30px 0 10px 0;
  padding: 0 20px;
}
.set-header h1 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}
.set-header p {
  max-width: 620px;
  margin: 0.2rem auto 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
/* ------------------------------------------------------
   STICKY INFO BAR
------------------------------------------------------ */
.set-info-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
  z-index: 10000;
}
.set-info-bar.visible {
  transform: translateY(0);
  opacity: 1;
}
.set-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.set-back-btn {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
}
.set-back-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.set-info-title {
  font-size: 0.95rem;
  font-weight: 500;
}
.set-info-count {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
/* Favorite button in bar */
.favorite-btn {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.favorite-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.15s ease;
}
.favorite-btn.is-favorited svg {
  fill: #ff4d7d;
  stroke: #ff4d7d;
  transform: scale(1.04);
}
/* ------------------------------------------------------
   MODERN PHOTO GRID (Apple Style)
------------------------------------------------------ */
.set-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin: 30px 0 40px;
}
.protected-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform .2s ease, box-shadow .25s ease;
}
.protected-wrapper:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}
.protected-wrapper img.real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  border-radius: 14px;
  transition: opacity .3s ease;
}
/* Progressive blur */
.protected-wrapper img.real-img.progressive.is-loading {
  filter: blur(20px);
  transform: scale(1.04);
}
.overlay-protect {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}
/* MOBILE GRID */
@media (max-width: 780px) {
  .set-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .set-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }
}
.protected-wrapper {
  opacity: 0;
  animation: fadeUp .45s ease forwards;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ------------------------------------------------------
   MODAL / LIGHTBOX
------------------------------------------------------ */
#photoModal {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(40, 40, 40, 0.9), rgba(0, 0, 0, 0.97));
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  backdrop-filter: blur(12px);
}
#modalWrapper {
  max-width: 90%;
  max-height: 75vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
#modalImage {
  width: 100%;
  max-height: 75vh;
  border-radius: 16px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.8);
  transform-origin: center center;
  transition: filter 0.35s ease-out, transform 0.25s ease-out;
}
/* progressive blur state */
#modalImage.is-loading {
  filter: blur(18px);
  transform: scale(1.03);
}
/* arrows */
.modal-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 4px 10px;
}
.modal-arrow.left {
  left: -40px;
	z-index: 9999;
}
.modal-arrow.right {
  right: -40px;
	z-index: 9999;
}
.modal-arrow:hover {
  color: #f0f0f0;
}
/* close */
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 9999;
	padding: 0 12px;
}
/* ------------------------------------------------------
   THUMB STRIP
------------------------------------------------------ */
.thumb-strip {
  display: flex;
  justify-content: center; /* <<< Centers thumbnails */
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 20px; /* extra bottom padding for aesthetics */
  width: 100%;
  max-width: 900px;
  margin: 0 auto; /* <<< Ensures the strip itself is centered */
  scrollbar-width: none;
}
.thumb-strip::-webkit-scrollbar {
  display: none;
}
/* When the strip scrolls horizontally, center is not visually needed */
.thumb-strip:has(> .thumb-thumb:nth-child(n+7)) {
  justify-content: flex-start; /* auto-detects when too many thumbs */
}
.thumb-thumb {
  width: 80px;
  height: 80px;
  position: relative;
  flex: 0 0 auto;
}
.thumb-thumb img.real-thumb {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.2s ease, outline 0.2s ease;
}
.thumb-thumb img.thumb-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.thumb-thumb.active img.real-thumb {
  opacity: 1;
  transform: scale(1.08);
  outline: 2px solid #fff;
}
/* ------------------------------------------------------
   RELATED SETS
------------------------------------------------------ */
.related-section {
  margin: 40px 20px 60px;
}
.related-section h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.related-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.related-row::-webkit-scrollbar {
  display: none;
}
.related-card {
  flex: 0 0 210px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.related-thumb-wrap {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: #111;
}
.related-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-card-body {
  padding: 10px 12px 12px;
}
.related-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
}
/* ------------------------------------------------------
   RESPONSIVE
------------------------------------------------------ */
@media (max-width: 768px) {
  #modalWrapper {
    max-width: 96%;
    max-height: 70vh;
  }
  #modalImage {
    max-height: 70vh;
    border-radius: 12px;
  }
}
  /*.set-grid {
        margin:16px;
    }
}*/
  .fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s ease, transform 0.15s ease;
  }
  .fav-btn svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.6;
    transition: fill 0.2s ease, stroke 0.2s ease;
	  margin: 5px 0 0;
  }
  .fav-btn.is-fav svg {
    fill: #ff4d7d;
    stroke: #ff4d7d;
  }
  .fav-btn:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: scale(1.05);
  }
  .slideshow-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 132, 255, 0.25);
    backdrop-filter: blur(6px);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s ease, transform 0.15s ease;
  }
  .slideshow-btn:hover {
    background: rgba(10, 132, 255, 0.65);
    transform: scale(1.05);
  }
  .slideshow-btn svg {
    width: 18px;
    height: 18px;
    fill: white;
    pointer-events: none;
  }
  /* ------------------------------------------------------
   CENTER PLAY / PAUSE (Instagram-style)
------------------------------------------------------ */
  .slideshow-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease, background 0.2s ease;
    opacity: 1;
    z-index: 999;
  }
  .slideshow-center-btn:hover {
    background: rgba(0, 0, 0, 0.65);
  }
  .slideshow-center-btn svg {
    width: 40px;
    height: 40px;
    fill: white;
  }
  /* Mobile reduction */
  @media (max-width: 600px) {
    .slideshow-center-btn {
      width: 60px;
      height: 60px;
    }
    .slideshow-center-btn svg {
      width: 28px;
      height: 28px;
    }
  }
  /* ------------------------------------------------------
   FILTER TABS (All / Saved / Recent)
------------------------------------------------------ */
  .photoset-filter {
    display: flex;
    gap: 12px;
    margin: 0 0 22px 0;
  }
  .filter-btn {
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
  }
  .filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
  }
  .filter-btn:hover {
    background: rgba(255, 255, 255, 0.12);
  }
  /* Card fade animation */
  .gallery-item.fade-out {
    opacity: 0;
    transform: scale(0.97);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .gallery-item.fade-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  /* ------------------------------------------------------------
   PHOTOSET FILTER — MATCH VIDEOS SEGMENTED CONTROL
------------------------------------------------------------- */
  .photos-sort-wrapper {
    margin: 0 0 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .segmented-control.photos-segmented {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    gap: 4px;
  }
  /* Buttons inside segmented control */
  .segmented-control.photos-segmented .segmented-control__option {
    padding: 6px 18px;
    font-size: 0.85rem;
    color: #e0e0e0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    border: none;
    transition:
      background .18s, color .18s, box-shadow .18s;
  }
  .segmented-control.photos-segmented .segmented-control__option:hover {
    background: rgba(255, 255, 255, 0.09);
  }
  .segmented-control.photos-segmented .segmented-control__option.active {
    background: #f5f5f5;
    color: #000;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
  }
  /* Mobile scroll behavior — same as Videos page */
  @media (max-width: 780px) {
    .segmented-control.photos-segmented {
      width: 100%;
      overflow-x: auto;
      padding: 6px;
      gap: 6px;
      -webkit-overflow-scrolling: touch;
    }
    .segmented-control.photos-segmented::-webkit-scrollbar {
      display: none;
    }
    .segmented-control.photos-segmented .segmented-control__option {
      flex: 0 0 auto;
      padding: 10px 22px;
      font-size: 0.9rem;
    }
    .segmented-control.photos-segmented .segmented-control__option.active {
      background: #fff;
      color: #000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    }
	  .photos-sort-wrapper {
	  margin: 0 0 1.5rem;
	  }
  }
  /* ------------------------------------------------------
   TOP BAR BACK BUTTON (Modernized)
------------------------------------------------------ */
  .photoset-top-bar {
    display: flex;
    justify-content: flex-start;
    margin: 10px 0 20px;
  }
  .photoset-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease, border-color .2s ease;
    backdrop-filter: blur(8px);
  }
  .photoset-back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(-2px);
  }
  .photoset-back-btn svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2.2;
    fill: none;
  }
  .photoset-back-btn svg.back-icon {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
  }
  .photoset-back-btn {
    padding: 10px 16px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
	}
/* ------------------------------------------------------
   FLOATING GLASS HERO CARD (Option A + C hybrid)
------------------------------------------------------ */
.photoset-hero-card {
    width: 100%;
    padding: 28px 32px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);

    border-radius: 22px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.45);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    animation: floatFadeIn .55s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes floatFadeIn {
    to { opacity:1; transform:translateY(0); }
}

/* Left side (title + desc) */
.hero-card-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-set-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 0;
    color: #fff;
}

.hero-set-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0;
    line-height: 1.45;
}

/* Right side badges + fav */
.hero-card-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Photo Count Badge */
.hero-badge {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    font-size: 0.85rem;
    color: #fff;
    white-space: nowrap;
}

/* Favorite button (hero version) */
.hero-fav-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(8px);
padding: .3rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: background .2s ease, transform .16s ease;
}

.hero-fav-btn:hover {
    background: rgba(255,255,255,0.16);
    transform: scale(1.05);
}

.hero-fav-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    transition: fill .22s ease, stroke .22s ease;
}

.hero-fav-btn.is-favorited svg {
    fill: #ff4d7d;
    stroke: #ff4d7d;
}

/* ------------------------------------------------------
   MOBILE RESPONSIVE
------------------------------------------------------ */
@media (max-width: 700px) {
    .photoset-hero-card {
        flex-direction: column;
        padding: 22px 24px;
        gap: 16px;
        text-align: center;
    }

    .hero-card-right {
        justify-content: center;
    }

    .hero-set-title {
        font-size: 1.6rem;
    }

    .hero-badge {
        padding: 6px 14px;
    }
}
#slideshowControl {
    opacity: 0;
}
.photo-count-badge {
    position: absolute;
    top: 10px;
    left: 10px;

    padding: 6px 8px;
    border-radius: .3rem;
    background: rgba(0,0,0,0.55);
    /*border: 1px solid rgba(255,255,255,0.18);*/
    backdrop-filter: blur(6px);
    display: flex;
    font-size: 0.78rem;
    color: #fff;
    gap: 4px;
    z-index: 10;
    pointer-events: none; /* ensures overlay-protect still handles clicks */
}
.photo-count-badge svg {
	height: 1rem;
	width: 1rem;
}
/* Mobile-only floating play/pause */
@media (max-width: 850px) {
    .mobile-slideshow-btn {
        position: fixed;
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        background: rgba(0,0,0,0.65);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999999;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .mobile-slideshow-btn svg {
        width: 30px;
        height: 30px;
        fill: white;
    }

    /* Hide desktop fade-center button entirely on mobile */
    .slideshow-center-btn {
        display: none !important;
    }
}
/* MOBILE — Lock thumbnail strip to the bottom */
@media (max-width: 850px) {
    #photoModal {
        background: #000 !important;
        justify-content: center;
        align-items: center;
        padding: 0 !important;
    }
	
	.thumb-strip {
		display: none !important;
	}

    /*.thumb-strip {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 8px 0 14px;
        background: rgba(0,0,0,0.55);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255,255,255,0.15);
        z-index: 9999990;
        margin: 0 !important;
        max-width: none !important;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }*/

    .thumb-strip::-webkit-scrollbar {
        display: none;
    }

    /* Add bottom margin so tall images don't overlap */
    #modalWrapper {
        width: 100vw;
        height: 100vh;
        max-width: none !important;
        max-height: none !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #modalImage {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Facebook style */
        border-radius: 0 !important;
        max-height: 100vh !important;
        max-width: 100vw !important;
        box-shadow: none !important;
    }
	/* Hide desktop arrows unless you still want small ones */
    .modal-arrow {
        display: none !important;
    }
}
.is-fav {
	border: 1px solid #ff3b72!important;
	background: rgba(255, 59, 114, .25)!important;
}
.is-favorited {
	border: 1px solid #ff3b72!important;
	background: rgba(255, 59, 114, .25)!important;
}