/* ═══════════════════════════════════════════════════════════════
   FOTO STUDIO — MODUL: FOTOGRAFIJE
   Razredi: fs-pho-*  |  Nič skupnega s polaroid (fs-pol-*)
═══════════════════════════════════════════════════════════════ */

/* ── LAYOUT ─────────────────────────────────────────────────── */
.fs-pho-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.fs-pho-cards-container {
  flex: 1;
  min-width: 0;
}

/* ── SIDEBAR (desktop) ───────────────────────────────────────── */
.fs-pho-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  z-index: 10;
}
.fs-pho-sidebar-inner {
  background: #f2f2f7;
  border-radius: 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fs-pho-sidebar-title {
  font-size: 13px;
  font-weight: 600;
  color: #6d6d72;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 14px 16px 6px;
}
.fs-pho-sidebar-section {
  padding: 0 16px 16px;
}
.fs-pho-sidebar-section:last-child { padding-bottom: 12px; }
.fs-pho-sidebar-label {
  font-size: 11px;
  font-weight: 400;
  color: #6d6d72;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 6px;
  padding: 0 4px;
}
.fs-pho-stats { padding: 0 16px 14px; }

/* ── FORMAT GUMBI v sidebaru — iOS grouped style ─────────────── */
.fs-pho-fmt-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  border-bottom: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .1s;
  box-sizing: border-box;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}
.fs-pho-fmt-btn:last-child { margin-bottom: 0; }
.fs-pho-fmt-btn:hover { background: #f5f5f7; }
.fs-pho-fmt-btn:focus { outline: none; }
.fs-pho-fmt-btn:focus-visible { outline: 2px solid #E8A050; outline-offset: -2px; }
.fs-pho-fmt-btn.selected {
  background: #fff9f3 !important;
  box-shadow: 0 0 0 1.5px #E8A050, 0 1px 3px rgba(232,160,80,0.15) !important;
}
.fs-pho-fmt-btn.selected .fs-pho-fmt-btn-label { color: #E8A050; font-weight: 600; }
.fs-pho-fmt-btn.selected .fs-pho-fmt-btn-price { color: #E8A050; opacity: 0.7; }
.fs-pho-fmt-btn.selected::after {
  content: '✓';
  color: #E8A050;
  font-weight: 700;
  font-size: 14px;
  margin-left: 6px;
  flex-shrink: 0;
}
.fs-pho-fmt-btn-label { font-weight: 500; font-size: 14px; color: #000; }
.fs-pho-fmt-btn-price { color: #8e8e93; font-size: 13px; }

/* ── GRID ─────────────────────────────────────────────────────── */
.fs-pho-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  align-content: start;
}
/* Resetiraj konfig-grid na block ko je photos layout aktiven */
.fs-konfig-grid:has(.fs-pho-layout) {
  display: block;
  grid-template-columns: unset;
}

/* ── GRID SWITCHER (desktop) ─────────────────────────────────── */
.fs-pho-grid-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  justify-content: flex-end;
}
.fs-pho-grid-icon { color: #aaa; display: flex; align-items: center; }
.fs-pho-grid-btn {
  padding: 3px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  color: #555;
}
.fs-pho-grid-btn.active {
  background: #1c1a17;
  border-color: #1c1a17;
  color: #fff;
}

/* ── KARTICA ─────────────────────────────────────────────────── */
.fs-pho-card {
  background: #fdfdfa;
  border: 1px solid #ece8de;
  border-radius: 10px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 3px 6px rgba(0,0,0,.12),
    0 14px 36px rgba(0,0,0,.2),
    0 24px 64px rgba(0,0,0,.1);
  transition: box-shadow .25s, transform .25s;
}
.fs-pho-card:hover {
  box-shadow:
    0 4px 8px rgba(0,0,0,.14),
    0 20px 48px rgba(0,0,0,.24),
    0 32px 80px rgba(0,0,0,.14);
  transform: translateY(-3px);
}
.fs-pho-card--unconfigured { border-color: #f5a623; }

/* Thumbnail wrap */
.fs-pho-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 9px 9px 0 0;
  background: #e8e5de;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
.fs-pho-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.fs-pho-unconfigured-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px;
}
.fs-pho-tap-hint {
  position: absolute;
  bottom: 6px;
  right: 6px;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.fs-pho-thumb-wrap:hover .fs-pho-tap-hint { opacity: 0.7; }
.fs-pho-tapping { opacity: 0.75; }
.fs-pho-dpi-warn { font-size: 12px; margin-left: 2px; }

/* DPI badge (3 stopnje, za enlargement modul) */
.fs-pho-dpi-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
  cursor: help;
  line-height: 1;
}
.fs-pho-dpi-ok   { background: #d4f0dc; color: #2d8048; }
.fs-pho-dpi-warn { 
  display: inline-block;
  background: #fff0d4; 
  color: #b27200; 
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 4px;
}

.fs-pho-crop-warn {
  display: inline-block;
  background: #fde8e8;
  color: #c0392b;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 4px;
}
.fs-pho-dpi-bad  { background: #fde4e4; color: #c63838; }

/* Card bar */
.fs-pho-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  gap: 6px;
  background: #fdfdfa;
  border-radius: 0 0 9px 9px;
  min-height: 38px;
}
.fs-pho-card-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
  cursor: pointer;
}
.fs-pho-card-fmt {
  font-size: 13px;
  font-weight: 600;
  color: #1c1a17;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fs-pho-card-fmt--empty { color: #f5a623; }
.fs-pho-card-price {
  font-size: 12px;
  color: #888;
}
.fs-pho-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.fs-pho-edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #888;
  display: flex;
  align-items: center;
  border-radius: 5px;
}
.fs-pho-edit-btn:hover { background: #f0f0f0; color: #1c1a17; }
.fs-pho-qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fafafa;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.fs-pho-qty-btn:hover { background: #eee; }
.fs-pho-qty-val {
  font-weight: 700;
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}
.fs-pho-del-btn {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 6px;
  background: none;
  color: #ccc;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-pho-del-btn:hover { background: #fee; color: #e33; }

/* Qty row v sidebaru */
.fs-pho-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fs-pho-qty-row span {
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* ── MOBILE STICKY BAR ───────────────────────────────────────── */
.fs-pho-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #ebebeb;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fs-pho-sticky-add-lbl {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  background: #f0f0f0;
  color: #1c1a17;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.fs-pho-sticky-add-lbl:active { background: #e0e0e0; }
.fs-pho-sticky-set-btn {
  flex-shrink: 0;
  background: #f0f0f0;
  color: #1c1a17;
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  gap: 4px;
}
.fs-pho-sticky-set-btn:active { background: #e0e0e0; }

/* ── MOBILE DRAWER (slide from left) ────────────────────────── */
html.fs-pho-drawer-open,
html.fs-pho-drawer-open body { overflow: hidden !important; }

.fs-pho-drawer {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
}
.fs-pho-drawer.is-open { pointer-events: auto; }

.fs-pho-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .22s ease;
}
.fs-pho-drawer.is-open .fs-pho-drawer__overlay { opacity: 1; }

/* iOS HIG — inset grouped table style */
.fs-pho-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(88vw, 320px);
  background: #f2f2f7;
  border-right: none;
  transform: translateX(-102%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 24px rgba(0,0,0,.18);
}
.fs-pho-drawer.is-open .fs-pho-drawer__panel { transform: translateX(0); }

/* Navigation bar */
.fs-pho-drawer__header {
  padding: 0 16px;
  height: 38px;
  background: rgba(242,242,247,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: .5px solid rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.fs-pho-drawer__title {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: -.4px;
}
.fs-pho-drawer__close {
  border: 0;
  background: transparent;
  color: #E8A050;
  font-size: 14px;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -.2px;
  line-height: 38px;
  flex-shrink: 0;
}

/* Scrollable content area */
.fs-pho-drawer__content {
  padding: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

/* ── iOS GROUPED SECTIONS ────────────────────────────────────── */
.fs-pho-drawer-section {
  margin: 20px 16px 0;
}
.fs-pho-drawer-section:last-child { margin-bottom: 20px; }

.fs-pho-drawer-section-title {
  font-size: 11px;
  font-weight: 400;
  color: #6d6d72;
  text-transform: uppercase;
  letter-spacing: -.1px;
  margin-bottom: 8px;
  padding: 0 4px;
}

/* Drawer opcije — vsaka je ločena kartica (enako kot levi wrapper) */
.fs-pho-drawer-section .fs-pho-opt {
  border-radius: 10px !important;
  border-bottom: none !important;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}
.fs-pho-drawer-section .fs-pho-opt:last-child {
  margin-bottom: 0;
}
.fs-pho-drawer-section .fs-pho-opt.is-sel {
  box-shadow: 0 0 0 1.5px #E8A050, 0 1px 3px rgba(232,160,80,0.15) !important;
}

/* ── OPTION ROWS ─────────────────────────────────────────────── */
.fs-pho-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  background: #fff;
  border-bottom: .5px solid #c6c6c8;
  cursor: pointer;
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: transparent;
  min-height: 38px;
  box-sizing: border-box;
}
.fs-pho-opt:active { background: #e5e5ea; }
.fs-pho-opt.is-sel .fs-pho-opt-price { color: #8e8e93; }

.fs-pho-opt-label {
  font-size: 15px;
  font-weight: 400;
  color: #000;
  flex: 1;
  letter-spacing: -.4px;
  line-height: 1.3;
}
.fs-pho-opt-price {
  font-size: 15px;
  font-weight: 400;
  color: #8e8e93;
  letter-spacing: -.4px;
}
.fs-pho-opt.is-sel .fs-pho-opt-price { color: #8e8e93; }
.fs-pho-opt-tier {
  font-size: 11px;
  color: #aeaeb2;
  letter-spacing: 0;
}
.fs-pho-opt-sub {
  font-size: 13px;
  color: #8e8e93;
  letter-spacing: -.2px;
}

/* iOS blue checkmark — right side */
.fs-pho-opt-check {
  color: #E8A050;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  margin-left: 4px;
}

/* ── ACTION BUTTONS ──────────────────────────────────────────── */
.fs-pho-drawer-actions {
  position: sticky;
  bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(242,242,247,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: .5px solid rgba(0,0,0,.12);
  margin-top: 8px;
}
.fs-pho-drawer-confirm {
  width: 100%;
  background: #E8A050;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.3px;
  cursor: pointer;
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: transparent;
}
.fs-pho-drawer-confirm:active { background: #c97d35; }
.fs-pho-drawer-danger {
  width: 100%;
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 400;
  color: #FF3B30;
  letter-spacing: -.4px;
  cursor: pointer;
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: transparent;
}
.fs-pho-drawer-danger:active { background: #f2f2f7; }


/* ── FORMAT GRID (2 col) ─────────────────────────────────────── */
.fs-pho-fmt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fs-pho-fmt-grid-cell {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e5e5ea;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  text-align: left;
  position: relative;
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: transparent;
  min-height: 52px;
}
.fs-pho-fmt-grid-cell:active { background: #f5f5f5; }
.fs-pho-fmt-grid-cell.is-sel {
  border-color: #E8A050;
  background: #fff9f3;
}
.fs-pho-fmt-grid-cell.is-sel .fs-pho-fmt-grid-check { display: none; }
.fs-pho-fmt-grid-cell * { pointer-events: none; }
.fs-pho-fmt-grid-name {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  letter-spacing: -.2px;
}
.fs-pho-fmt-grid-price {
  font-size: 12px;
  font-weight: 400;
  color: #ababab;
}
.fs-pho-fmt-grid-tier { display: none; }
.fs-pho-fmt-grid-check {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 13px;
  color: #E8A050;
  font-weight: 700;
}

/* ── DRAG PLACEHOLDER ────────────────────────────────────────── */
.fs-pho-drag-placeholder {
  border: 2px dashed #E8AD61 !important;
  background: #fff8ee !important;
  box-shadow: none !important;
}
.fs-pho-dragging {
  box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
  opacity: .92;
}

/* ── MOBILE LAYOUT ───────────────────────────────────────────── */
@media (max-width: 767px) {
  .fs-pho-layout {
    flex-direction: column;
  }
  .fs-pho-sidebar {
    display: none !important;
  }
  .fs-pho-cards-container {
    width: 100%;
  }
  .fs-pho-cards {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
  .fs-pho-card-bar {
    padding: 10px 12px;
  }
  .fs-pho-thumb-wrap {
    aspect-ratio: unset;
    min-height: 180px;
  }
}

/* ── MOBILE LAYOUT OVERRIDE ─────────────────────────────────── */
@media (max-width: 767px) {
  .fs-pho-layout {
    display: block !important;
    width: 100%;
  }
  .fs-pho-cards-container {
    display: block !important;
    width: 100%;
  }
  .fs-pho-cards {
    display: block !important;
    width: 100%;
    grid-template-columns: none !important;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
  .fs-pho-card {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
  }
  .fs-pho-thumb-wrap {
    aspect-ratio: unset !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
  }
  .fs-pho-canvas {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* Desktop add photos button */
.fs-pho-desktop-add-lbl {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #E8A050;
  color: #fff;
  border: none;
  outline: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  margin-right: auto;
  font-family: inherit;
}
.fs-pho-desktop-add-lbl:hover { background: #d4904a; }

.fs-pho-dup-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #888;
  display: flex;
  align-items: center;
  border-radius: 5px;
}
.fs-pho-dup-btn:hover { background: #f0f0f0; color: #E8A050; }

/* Surface info tooltip */
.fs-pho-opt-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8e8ed;
  color: #8e8e93;
  font-size: 11px;
  font-style: normal;
  cursor: help;
  flex-shrink: 0;
  position: relative;
}
.fs-pho-opt-info:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1c1a17;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.fs-pho-opt-info:hover::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1c1a17;
  z-index: 9999;
  pointer-events: none;
}

/* Delete all button — desktop grid switcher */
.fs-pho-delete-all-btn {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #e05555;
  background: #fff5f5;
  border: 1px solid #e05555;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.fs-pho-delete-all-btn:hover {
  background: #ffe8e8;
}

#fs-pho-cart-section { display: none; }
@media (min-width: 768px) {
  #fs-pho-cart-section { display: block; }
}



/* Označba izbranih opcij v drawerju */
.fs-pho-opt.is-sel {
  background: #fff9f3 !important;
}
.fs-pho-opt.is-sel .fs-pho-opt-label {
  color: #E8A050 !important;
  font-weight: 600 !important;
}
.fs-pho-opt-check {
  color: #E8A050;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* Desktop sidebar selected */
.fs-pho-fmt-btn.selected {
  background: #fff9f3 !important;
  border-left: 3px solid #E8A050 !important;
}
.fs-pho-fmt-btn.selected .fs-pho-fmt-btn-label {
  color: #E8A050 !important;
  font-weight: 600 !important;
}

/* ── Orodna vrstica: razvrsti + filter + izberi vse ── */
.fs-pho-toolbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 2px;
}
.fs-pho-selall-lbl {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  margin-left: auto;
  user-select: none;
}
.fs-pho-selall-lbl input { width: 16px; height: 16px; margin: 0; cursor: pointer; }

/* ── Checkbox na kartici ── */
.fs-pho-sel-box {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  background: rgba(255,255,255,0.92);
  border-radius: 6px;
  padding: 5px;
  line-height: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  cursor: pointer;
}
.fs-pho-sel-box input { width: 16px; height: 16px; margin: 0; cursor: pointer; display: block; }

/* ── Vrstica akcij na izbranih ── */
.fs-pho-selbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff8ec;
  border: 1px solid #E8AD61;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
}
.fs-pho-selbar select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}
.fs-pho-selbar-del {
  padding: 6px 12px;
  border: 1px solid #cc0000;
  border-radius: 8px;
  background: #fff;
  color: #cc0000;
  font-size: 13px;
  cursor: pointer;
}
.fs-pho-selbar-clear {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: #666;
  font-size: 13px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .fs-pho-toolbar { padding: 4px 6px; }
  .fs-pho-selbar { padding: 8px 10px; gap: 8px; }
  .fs-pho-selbar select { flex: 1; min-width: 0; }
}
