/**
 * ============================================================================
 * IMAGIFY CLOUD GALLERY — COMPACT TRUE-SCALE iOS / ANDROID NATIVE APP UI
 * Brand: Bumpify by Divya • Imagify Cloud Gallery
 * Font: Open Sans (Compact 11px–15px Native Mobile Scale)
 * ============================================================================
 */

:root {
  --bg-page: #0E0B10;
  --surface: #FDF7F8;
  --surface-card: #FFFFFF;
  --surface-soft: #FBECEF;
  --surface-pill: #F5E1E6;
  --text-primary: #2B1C22;
  --text-secondary: #634F56;
  --text-muted: #8E7B82;
  --brand: #E6202A;
  --brand-rose: #D83B64;
  --brand-grad: linear-gradient(135deg, #E6202A 0%, #D83B64 100%);
  --border: #F0DCE1;
  --divider: #F6E8EC;
  --success: #2E9E6B;
  --danger: #D93848;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

input,
textarea {
  user-select: text;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================================
   1. TRUE MOBILE APP SHELL (CENTERED MOBILE APP ON DESKTOP, FULLSCREEN ON PHONE)
   ============================================================================ */
.native-device-stage {
  width: 100vw;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: radial-gradient(circle at 50% 16%, #3D1828 0%, #170B12 58%, #0B0609 100%);
}

.native-app-shell {
  width: 100vw;
  height: 100dvh;
  background: var(--surface);
  border-radius: 0;
  box-shadow: none;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* On Tablet (520px - 899px): Centered Tablet Card */
@media (min-width: 520px) and (max-width: 899px) {
  .native-device-stage {
    padding: 16px;
  }
  .native-app-shell {
    width: 480px;
    max-width: 94vw;
    height: min(880px, 95dvh);
    border-radius: 32px;
    border: 5px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 32px 90px rgba(0, 0, 0, 0.72),
      0 0 45px rgba(216, 59, 100, 0.22);
  }
}

/* On Laptop & Desktop (900px+): Full Widescreen Luxury Web Interface */
@media (min-width: 900px) {
  .native-device-stage {
    padding: 0;
    background: var(--surface);
  }
  .native-app-shell {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  .ios-status-bar,
  .native-home-indicator {
    display: none !important;
  }
}

/* ============================================================================
   2. SLIM iOS STATUS BAR & DYNAMIC ISLAND (28px HEIGHT)
   ============================================================================ */
.ios-status-bar {
  height: 30px;
  padding: 4px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--surface);
  flex-shrink: 0;
  z-index: 30;
}

.dynamic-island {
  width: 76px;
  height: 18px;
  border-radius: 999px;
  background: #181316;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.dynamic-island-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2E9E6B;
}

/* ============================================================================
   3. APP ROOT & SMOOTH SCROLL CONTAINER
   ============================================================================ */
#imagifyAppRoot {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.app-scroll-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 72px;
}

.app-scroll-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* ============================================================================
   4. COMPACT NATIVE SCREEN HEADER (46px HEIGHT)
   ============================================================================ */
.native-header {
  height: 48px;
  padding: 0 12px;
  background: rgba(253, 247, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  z-index: 20;
}

.header-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-subtitle {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-card);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.14s ease, background 0.14s ease;
}

.icon-btn:active {
  transform: scale(0.9);
  background: var(--surface-soft);
}

.icon-btn svg {
  width: 15px;
  height: 15px;
}

/* ============================================================================
   5. COMPACT SEGMENTED CONTROL (32px HEIGHT)
   ============================================================================ */
.ios-segmented {
  display: flex;
  background: var(--surface-soft);
  padding: 2.5px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.ios-seg-btn {
  flex: 1;
  height: 27px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s var(--spring);
}

.ios-seg-btn.active {
  background: var(--surface-card);
  color: var(--brand);
  font-weight: 700;
  box-shadow: 0 1px 5px rgba(43, 28, 34, 0.08);
}

/* ============================================================================
   6. COMPACT INPUTS & BUTTONS (40px–42px HEIGHT)
   ============================================================================ */
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 10px 0 4px;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  transition: border-color 0.15s ease;
}

.input-row:focus-within {
  border-color: var(--brand-rose);
}

.input-row svg {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.input-row input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.input-row input::placeholder {
  color: #B4A3A9;
  font-weight: 400;
}

.native-cta-btn {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 6px 16px -4px rgba(230, 32, 42, 0.4);
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.native-cta-btn:active {
  transform: scale(0.97);
}

.native-cta-btn svg {
  width: 15px;
  height: 15px;
}

.native-pill-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-card);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}

.native-pill-btn:active {
  transform: scale(0.95);
  background: var(--surface-soft);
}

.native-pill-btn svg {
  width: 13px;
  height: 13px;
}

/* ============================================================================
   7. REAL 3-COLUMN iOS PHOTOS / INSTAGRAM SQUARE GRID (2px GAP!)
   ============================================================================ */
.native-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--divider);
}

.native-photo-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 0 10px;
  background: transparent;
}

.native-photo-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-soft);
  overflow: hidden;
  cursor: pointer;
}

.native-photo-grid.cols-2 .native-photo-tile {
  border-radius: 12px;
  aspect-ratio: 4 / 5;
}

.native-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.native-photo-tile:active img {
  transform: scale(0.97);
}

.native-photo-tile.is-selected::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2.5px solid var(--brand);
  pointer-events: none;
}

.tile-heart-btn {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.tile-heart-btn.active {
  background: var(--brand);
  color: #FFFFFF;
}

.tile-heart-btn svg {
  width: 12px;
  height: 12px;
}

.tile-badge-top {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(24, 18, 20, 0.65);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

@keyframes instaHeartPop {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  35% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
  75% { transform: translate(-50%, -50%) scale(0.95); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

.heart-burst-pop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: #FFFFFF;
  filter: drop-shadow(0 4px 12px rgba(230, 32, 42, 0.65));
  pointer-events: none;
  animation: instaHeartPop 0.55s var(--spring) forwards;
}

/* ============================================================================
   8. COMPACT ALBUM BANNER CARD (112px HEIGHT)
   ============================================================================ */
.album-banner-card {
  margin: 8px 10px;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--surface-soft);
  box-shadow: 0 4px 14px rgba(43, 28, 34, 0.08);
  cursor: pointer;
}

.album-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 16, 0.15) 0%, rgba(20, 12, 16, 0.78) 100%);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFFFFF;
}

/* ============================================================================
   9. FLOATING PACKAGE BAR & 54px NATIVE BOTTOM TAB BAR
   ============================================================================ */
.floating-selection-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 60px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(43, 28, 34, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  z-index: 24;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.native-bottom-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2px 4px 6px;
  z-index: 25;
}

.tabbar-item {
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  padding: 2px 0;
}

.tabbar-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: transform 0.16s var(--spring), color 0.16s ease;
}

.tabbar-item.active {
  color: var(--brand);
}

.tabbar-item.active svg {
  transform: translateY(-1px) scale(1.06);
}

.tabbar-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tabbar-badge {
  position: absolute;
  top: 0;
  right: calc(50% - 18px);
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================================
   10. SLIDE-UP BOTTOM SHEETS & FULL-SCREEN PHOTO VIEWER
   ============================================================================ */
.ios-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 17, 0.52);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ios-bottom-sheet {
  width: 100%;
  max-height: 82%;
  background: var(--surface-card);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  padding: 8px 14px 18px;
  overflow-y: auto;
  animation: sheetUp 0.24s var(--spring);
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sheet-grabber {
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: #DFC9CF;
  margin: 2px auto 10px;
}

.native-fullscreen-viewer {
  position: absolute;
  inset: 0;
  background: #141012;
  color: #FFFFFF;
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px 16px;
}

/* ============================================================================
   11. COMPACT TOAST PILL
   ============================================================================ */
.native-toast {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(43, 28, 34, 0.94);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  z-index: 95;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ============================================================================
   12. COMPACT CARDS FOR ADMIN / PHOTOGRAPHER
   ============================================================================ */
.compact-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

.chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brand-rose);
  font-size: 10.5px;
  font-weight: 700;
}

/* ============================================================================
   13. HIGH-TECH CLIENT GALLERY FEATURES (ZOOM, PIN NOTE, SWIPE, COMPARE, REEL)
   ============================================================================ */
.hightech-feature-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 2px 10px 8px;
}

.hightech-chip-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  padding: 0 6px;
  border-radius: 10px;
  border: 1px solid #F3CED9;
  background: linear-gradient(135deg, #FFF5F8 0%, #FFFFFF 100%);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(216, 59, 100, 0.08);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  white-space: nowrap;
}

.hightech-chip-btn:active {
  transform: scale(0.96);
}

.hightech-fullscreen-modal {
  position: absolute;
  inset: 0;
  background: #120C0F;
  color: #FFFFFF;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 12px 16px;
  overflow: hidden;
}

.zoom-pill-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  margin: 4px 0;
}

.zoom-pill-btn {
  height: 27px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.14s ease;
}

.zoom-pill-btn.active {
  background: var(--brand-grad);
  border-color: #FF8DA8;
  box-shadow: 0 0 12px rgba(216, 59, 100, 0.55);
}

.photo-retouch-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF3B6B 0%, #C81E51 100%);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  z-index: 12;
  animation: pinPulse 1.8s infinite ease-in-out;
}

@keyframes pinPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 107, 0.65); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(255, 59, 107, 0); }
}

@keyframes imagifyKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.12) translate(-1.5%, -1.5%); }
  100% { transform: scale(1.04) translate(1.5%, 1%); }
}

.ken-burns-slide {
  animation: imagifyKenBurns 7.5s ease-in-out infinite alternate;
}

/* ============================================================================
   14. PIXIESET LUXURY MOBILE GALLERY, PROGRESSIVE SCROLL & SLIDE-OVER MENU
   ============================================================================ */
.pixieset-header {
  height: 48px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #EFEAE6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  z-index: 22;
}

.pixieset-brand-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1F171A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.pixieset-brand-sub {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8E7B82;
  margin-top: 1px;
}

.pixieset-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ECE4E0;
  background: #FFFFFF;
  color: #2B1C22;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.pixieset-icon-btn:active {
  transform: scale(0.92);
  background: #FAF5F6;
}

.pixieset-icon-btn svg {
  width: 14px;
  height: 14px;
}

.pixieset-hero-cover {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #1C1518;
}

.pixieset-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.pixieset-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 11, 13, 0.14) 0%,
    rgba(16, 11, 13, 0.25) 42%,
    rgba(16, 11, 13, 0.78) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 24px 18px 26px;
  color: #FFFFFF;
}

.pixieset-hero-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 6px;
}

.pixieset-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 6px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.pixieset-hero-meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}

.pixieset-cover-btn {
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.pixieset-cover-btn:active {
  background: #FFFFFF;
  color: #1F171A;
}

.pixieset-sticky-nav {
  position: sticky;
  top: 0;
  z-index: 18;
  height: 42px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #EDE7E3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pixieset-set-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  height: 100%;
  scrollbar-width: none;
  flex: 1;
}

.pixieset-set-tabs::-webkit-scrollbar {
  display: none;
}

.pixieset-set-tab {
  height: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A7D81;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.16s ease;
}

.pixieset-set-tab.active {
  color: #1F171A;
  font-weight: 800;
}

.pixieset-set-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #1F171A;
}

.pixieset-set-count {
  font-size: 9px;
  font-weight: 700;
  color: #A39498;
}

.pixieset-set-tab.active .pixieset-set-count {
  color: var(--brand);
}

/* PIXIESET PHOTO GRID LAYOUTS + PROGRESSIVE SHIMMER */
@keyframes pixiesetShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.native-photo-grid.pixieset-grid {
  background: #FFFFFF;
  padding: 4px;
  gap: 4px;
  grid-template-columns: repeat(2, 1fr);
}

.native-photo-grid.pixieset-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
}

.native-photo-grid.pixieset-grid.cols-1 {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 6px 8px;
}

.native-photo-grid.pixieset-grid .native-photo-tile {
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  background: linear-gradient(90deg, #F5F0EC 25%, #FAF7F5 50%, #F5F0EC 75%);
  background-size: 200% 100%;
  animation: pixiesetShimmer 1.5s infinite linear;
}

.native-photo-grid.pixieset-grid.cols-3 .native-photo-tile {
  aspect-ratio: 4 / 5;
}

.native-photo-grid.pixieset-grid.cols-1 .native-photo-tile {
  aspect-ratio: auto;
  min-height: 220px;
  border-radius: 4px;
}

.native-photo-grid.pixieset-grid.cols-1 .native-photo-tile img {
  height: auto;
  max-height: 540px;
  object-fit: cover;
}

.pixieset-progressive-img {
  opacity: 1;
  transform: none;
}

.pixieset-progressive-img.is-loaded {
  opacity: 1;
  transform: none;
}

.pixieset-desktop-nav,
.pixieset-desktop-logo {
  display: none;
}

.pixieset-desktop-pill {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #EAE2DE;
  background: #FFFFFF;
  color: #2B1C22;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pixieset-desktop-pill:hover {
  border-color: var(--brand);
  background: #FFF8FA;
}

.pixieset-desktop-pill.active {
  background: var(--brand-grad);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(216, 59, 100, 0.25);
}

/* SLIDE-OVER CLIENT MENU DRAWER */
.pixieset-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 15, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 65;
  display: flex;
  justify-content: flex-end;
}

@keyframes drawerSlideLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.pixieset-menu-drawer {
  width: 88%;
  max-width: 360px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: -12px 0 38px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: drawerSlideLeft 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================================
   15. WIDESCREEN LAPTOP & DESKTOP LUXURY CLIENT INTERFACE (900px+)
   ============================================================================ */
@media (min-width: 900px) {
  /* Split-Screen Widescreen Login Page */
  .login-page-scroll {
    display: grid !important;
    grid-template-columns: 1.12fr 1fr;
    height: 100dvh !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .login-page-scroll .login-hero-col {
    height: 100dvh !important;
  }

  .login-page-scroll .login-form-col {
    margin-top: 0 !important;
    border-radius: 0 !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    padding: 32px 44px 40px !important;
    background: var(--surface) !important;
  }

  .login-page-scroll .login-form-col > * {
    max-width: 520px;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
  }

  /* Widescreen Top Header & Navigation */
  .pixieset-header {
    height: 68px;
    padding: 0 36px;
    gap: 16px;
  }

  .pixieset-desktop-logo {
    display: block !important;
  }

  .pixieset-desktop-nav {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }

  .pixieset-brand-title {
    font-size: 22px;
  }

  .pixieset-brand-sub {
    font-size: 10px;
  }

  .pixieset-icon-btn {
    width: 38px;
    height: 38px;
  }

  /* Widescreen Editorial Hero Banner */
  .pixieset-hero-cover {
    height: 440px;
  }

  .pixieset-hero-title {
    font-size: 46px;
    margin-bottom: 10px;
  }

  .pixieset-hero-eyebrow {
    font-size: 11px;
  }

  .pixieset-hero-meta {
    font-size: 12px;
    margin-bottom: 22px;
  }

  .pixieset-cover-btn {
    font-size: 11px;
    padding: 12px 28px;
  }

  /* Widescreen Sticky Collection Bar */
  .pixieset-sticky-nav {
    height: 54px;
    padding: 0 36px;
  }

  .pixieset-set-tabs {
    gap: 28px;
  }

  .pixieset-set-tab {
    font-size: 12px;
  }

  .pixieset-set-count {
    font-size: 11px;
  }

  /* Widescreen Multi-Column Photo Grid */
  .native-photo-grid.pixieset-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 18px 36px;
    max-width: 1720px;
    margin: 0 auto;
  }

  .native-photo-grid.pixieset-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px 36px;
  }

  .native-photo-grid.pixieset-grid.cols-1 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px 36px;
    max-width: 1280px;
  }

  .native-photo-grid.pixieset-grid .native-photo-tile {
    border-radius: 6px;
  }

  /* Hide Mobile Bottom Tabbar on Laptop/Desktop (Top Header Has Full Navigation) */
  .native-bottom-tabbar {
    display: none !important;
  }

  .app-scroll-body {
    padding-bottom: 32px;
  }

  .floating-selection-bar {
    bottom: 22px;
    padding: 8px 10px 8px 18px;
    font-size: 12.5px;
    gap: 14px;
  }

  /* Centered Desktop Modals for Bottom Sheets & Drawer */
  .ios-sheet-backdrop {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .ios-bottom-sheet {
    max-width: 520px;
    border-radius: 20px;
    padding: 20px 24px 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  }

  .pixieset-menu-drawer {
    max-width: 420px;
  }
}

@media (min-width: 1380px) {
  .native-photo-grid.pixieset-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}


