/* Override Elementor/tema img max-width v crop editorju */
#fs-crop-wrap img,
.fs-crop-wrapper img {
  max-width: none !important;
  height: auto;
}

/* ── FOTO STUDIO PLUGIN CSS ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

#foto-studio-app {
  font-family: 'Outfit', sans-serif;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* KORAKI */
.fs-steps {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.fs-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .4;
  transition: opacity .3s;
}
.fs-step.active { opacity: 1; }
.fs-step-num {
  width: 28px; height: 28px;
  background: #e8e8e3; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #666;
  transition: all .3s;
}
.fs-step.active .fs-step-num { background: #2d2d2d; color: white; }
.fs-step.done .fs-step-num { background: #E8AD61; color: white; }
.fs-step-label { font-size: 13px; font-weight: 600; color: #555; }
.fs-step-line { flex: 1; height: 2px; background: #e8e8e3; margin: 0 12px; }

/* TITLES */
.fs-title { font-size: 26px; font-weight: 700; margin: 0 0 4px; }
.fs-subtitle { color: #888; font-size: 14px; margin: 0 0 12px; }

/* Konfigurator: samo majhna oznaka modula namesto naslova + celega stavka */
.fs-konfig-module-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #999;
  margin: 0;
  text-transform: uppercase;
}

/* DROPZONE */
/* Toggle glava privzeto skrita — pokaže se le v mobilni kompaktni obliki */
.fs-dropzone-toggle { display: none; }
.fs-dropzone {
  border: 1.5px dashed #ddd;
  border-radius: 16px;
  padding: 36px 20px 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: white;
  margin-bottom: 20px;
}
.fs-dropzone:hover, .fs-dropzone.drag-over {
  border-color: #d4921a;
  background: #fffcf7;
}
.fs-dropzone-icon {
  width: 56px; height: 56px;
  background: #fff4e0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.fs-dropzone-icon svg { width: 26px; height: 26px; }
.fs-dropzone-text { font-size: 16px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; }
.fs-dropzone-sub { font-size: 13px; color: #bbb; margin-bottom: 20px; }
.fs-dropzone-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #d4921a; color: white; border: none;
  border-radius: 10px; padding: 11px 22px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  pointer-events: none; /* klik gre na dropzone */
}
.fs-dropzone-qr-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; color: #888; border: 1.5px solid #e8e5de;
  border-radius: 10px; padding: 9px 18px;
  font-size: 13px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  margin-top: 8px;
}
.fs-dropzone-qr-btn:active { background: #f5f3ef; }
/* Só na mobilnem — na desktopu skrij QR gumb v dropzoni (tam je QR panel) */
@media (min-width: 768px) {
  .fs-dropzone-qr-btn { display: none; }
}
/* Dropdown opt hover */
.fs-pho-add-opt:hover { background: #f9f7f4; }

/* PHOTO GRID header */
.fs-photos-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.fs-photo-count {
  font-size: 13px; font-weight: 600; color: #444;
}
.fs-add-more-btn {
  display: flex; align-items: center; gap: 5px;
  background: white; border: 1.5px solid #eee;
  border-radius: 8px; padding: 6px 12px;
  font-size: 13px; font-weight: 600; color: #d4921a;
  cursor: pointer; font-family: inherit;
  transition: border-color .15s;
}
.fs-add-more-btn:hover { border-color: #d4921a; }
.fs-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.fs-photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #e8e5de;
}
.fs-photo-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.2s;
}
.fs-photo-item img:not([src]) { opacity: 0; }
.fs-photo-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.fs-photo-item:hover .fs-photo-overlay { opacity: 1; }
.fs-photo-remove {
  background: rgba(255,255,255,.9); border: none; border-radius: 50%;
  width: 30px; height: 30px; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.fs-photo-progress {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.fs-progress-bar {
  width: 65%; height: 4px;
  background: rgba(255,255,255,.3); border-radius: 2px;
}
.fs-progress-fill { height: 100%; background: white; border-radius: 2px; transition: width .3s; }
.fs-photo-done {
  position: absolute; top: 5px; left: 5px;
  background: #E8AD61; color: white; border-radius: 50%;
  width: 20px; height: 20px; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
.fs-photo-error {
  position: absolute; inset: 0; background: rgba(220,38,38,.75);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: white; text-align: center; padding: 4px;
}

/* BUTTONS */
.fs-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px; border-radius: 10px;
  font-weight: 600; font-size: 14px; font-family: 'Outfit', sans-serif;
  cursor: pointer; border: none; transition: all .2s; text-decoration: none;
}
.fs-btn-primary { background: #2d2d2d; color: white; border-radius: 6px; }
.fs-btn-primary:hover { background: #111111; color: white; }
.fs-btn-secondary { background: white; color: #333; border: 1px solid #d5d5d0; }
.fs-btn-secondary:hover { border-color: #999; }
.fs-btn-lg { padding: 14px 28px; font-size: 15px; }
.fs-btn-sm { padding: 7px 14px; font-size: 12px; }
.fs-btn:disabled { opacity: .4; cursor: not-allowed; }

.fs-actions {
  display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid #e8e8e3;
}

/* ── Desktop: upload sticky bar ni sticky, je normalen footer ── */
@media (min-width: 768px) {
  .fs-upload-bottom-bar {
    position: sticky;
    bottom: 0;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.07);
    margin-top: 24px;
  }
  .fs-upload-next-btn {
    max-width: 260px !important;
    border-radius: 10px !important;
  }
  .fs-upload-back-btn {
    font-size: 13px !important;
  }
  /* QR panel na desktopu — moderna kartica */
  .fs-qr-panel {
    border: 1px solid #eee !important;
    border-radius: 16px !important;
    padding: 24px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .fs-qr-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
  }
  .fs-qr-box {
    width: 160px !important;
    height: 160px !important;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
  }
}

/* ── Upload sticky bottom bar ── */
.fs-upload-bottom-bar {
  position: sticky;
  bottom: 0;
  left: 0; right: 0;
  background: white;
  padding: 12px 16px 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.07);
  margin-top: 24px;
  z-index: 50;
}
.fs-upload-back-btn {
  color: #999;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 4px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
}
.fs-upload-back-btn:hover { color: #555; }
.fs-upload-next-btn {
  flex: 1;
  position: relative;
  background: #d4921a;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  font-family: inherit;
  transition: opacity 0.2s;
}
.fs-upload-next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.fs-upload-next-btn:not(:disabled)::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  animation: fs-shimmer 2.2s infinite;
}
@keyframes fs-shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}
.fs-upload-next-arrow { font-size: 17px; }
.fs-upload-next-badge {
  background: white;
  color: #d4921a;
  border-radius: 980px;
  padding: 1px 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  display: none;
}
.fs-upload-next-badge.visible { display: inline-block; }
.fs-actions-row { display: contents; } /* desktop: ignorira wrapper div */

/* KONFIGURATOR */
.fs-konfig-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 6px;
}
.fs-bulk-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #f5f5f2; border-radius: 10px; padding: 12px 16px;
  margin-bottom: 16px; font-size: 13px;
}
.fs-bulk-label { font-weight: 700; color: #555; }
.fs-select {
  border: 1px solid #d5d5d0; border-radius: 8px;
  padding: 8px 12px; font-size: 13px; font-family: 'Outfit', sans-serif;
  background: white;
}
.fs-qty-control { display: flex; align-items: center; gap: 6px; }
.fs-qty-btn {
  width: 30px; height: 30px; border: 1px solid #d5d5d0; border-radius: 7px;
  background: white; cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.fs-qty-btn:hover { background: #f0f0ec; }
#fs-bulk-qty-val { font-weight: 700; min-width: 24px; text-align: center; }

.fs-konfig-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  margin-bottom: 8px;
}

/* PHOTO LIST (SIDEBAR) */
.fs-photo-list { display: flex; flex-direction: column; gap: 5px; }
.fs-photo-list-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 10px;
  border: 2px solid #e8e8e3; background: white;
  cursor: pointer; transition: all .15s;
}
.fs-photo-list-item:hover { border-color: #c5c5c0; }
.fs-photo-list-item.active { border-color: #2d2d2d; background: #f5f5f5; }
.fs-list-thumb {
  width: 40px; height: 40px; border-radius: 7px;
  object-fit: cover; flex-shrink: 0; background: #e8e8e3;
}
.fs-list-info { flex: 1; min-width: 0; }
.fs-list-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-list-sub { font-size: 11px; color: #aaa; margin-top: 1px; }
.fs-list-sub.configured { color: #2d2d2d; }
.fs-list-check { color: #E8AD61; font-size: 14px; flex-shrink: 0; }

/* EDITOR */
.fs-editor { min-height: 200px; }
.fs-editor-empty { text-align: center; padding: 60px 20px; color: #bbb; }

.fs-editor-card {
  background: white; border: 1px solid #e8e8e3;
  border-radius: 12px; padding: 12px 14px; margin-bottom: 10px;
}
.fs-editor-nav {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.fs-editor-filename { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.fs-nav-btns { display: flex; align-items: center; gap: 4px; }
.fs-nav-btns span { font-size: 12px; color: #aaa; padding: 0 4px; }

/* MATERIAL TABS */
.fs-mat-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.fs-mat-tab {
  padding: 5px 11px; border-radius: 6px; font-size: 11px; font-weight: 600;
  cursor: pointer; border: none; background: #f0f0ec; color: #666;
  transition: all .15s; font-family: 'Outfit', sans-serif;
}
.fs-mat-tab.active { background: #1a1a1a; color: white; }

/* FORMAT GRID */
.fs-format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 5px; margin-bottom: 10px;
}
.fs-format-card {
  border: 2px solid #e8e8e3; border-radius: 9px;
  padding: 8px 6px; cursor: pointer; text-align: center;
  transition: all .15s; background: white;
}
.fs-format-card:hover { border-color: #2d2d2d; }
.fs-format-card.selected { border-color: #2d2d2d; background: #f5f5f5; }
.fs-format-card.warn { border-color: #fed7aa; background: #fff7ed; }
.fs-format-size { font-size: 12px; font-weight: 700; }
.fs-format-unit { font-size: 10px; color: #aaa; }
.fs-format-price { font-size: 12px; font-weight: 600; color: #2d2d2d; margin-top: 3px; }

/* ALERT */
.fs-alert {
  padding: 10px 14px; border-radius: 8px; font-size: 12px;
  margin-bottom: 12px; display: flex; align-items: flex-start; gap: 8px;
}
.fs-alert-warn { background: #fff7ed; border-left: 3px solid #fb923c; color: #9a3412; }

/* QTY ROW */
.fs-qty-row {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 8px;
}
.fs-qty-label { font-size: 13px; font-weight: 600; }
.fs-qty-val { min-width: 32px; text-align: center; font-weight: 700; font-size: 16px; }

/* CROP */
.fs-crop-wrapper {
  position: relative; height: 340px;
  background: #111; border-radius: 12px; overflow: hidden;
  cursor: move; user-select: none;
  touch-action: none;
}
/* Ko je drawer odprt — blokiraj pinch na crop */
.fs-mob-drawer-open .fs-crop-wrapper {
  touch-action: pan-x pan-y;
}
.fs-crop-img {
  position: absolute;
  pointer-events: none;
}
.fs-crop-shade {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  pointer-events: none;
}
.fs-crop-box {
  position: absolute;
  outline: 2px solid #e8c87a;
  outline-offset: -1px;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.5);
}
.fs-crop-hint { font-size: 11px; color: #aaa; text-align: center; margin-top: 6px; }
.fs-zoom-row {
  display: flex; align-items: center; gap: 8px; margin-top: 10px;
}
.fs-zoom-row input[type=range] { flex: 1; accent-color: #2d2d2d; }

/* CART STEP */
.fs-cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid #e8e8e3;
}
.fs-cart-item:last-child { border-bottom: none; }
.fs-cart-thumb { width: 64px; height: 64px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.fs-cart-info { flex: 1; min-width: 0; }
.fs-cart-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-cart-sub { font-size: 12px; color: #aaa; margin-top: 2px; }
.fs-cart-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.fs-cart-price { font-weight: 700; font-size: 15px; }
.fs-cart-remove { background: none; border: 1px solid #fecaca; border-radius: 7px; padding: 4px 8px; cursor: pointer; font-size: 12px; color: #dc2626; }

.fs-cart-summary {
  background: #fafaf8; border-radius: 10px; padding: 16px 20px; margin-top: 16px;
}
.fs-summary-row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: #666; padding: 5px 0;
}
.fs-summary-total { font-size: 17px; font-weight: 700; color: #1a1a1a; border-top: 1px solid #e8e8e3; padding-top: 10px; margin-top: 4px; }
.fs-summary-note { font-size: 12px; color: #aaa; margin-top: 10px; }

/* LOADING */
.fs-loading {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.85);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  border-radius: 12px; z-index: 10;
}
.fs-spinner {
  width: 40px; height: 40px;
  border: 3px solid #e8e8e3; border-top-color: #2d2d2d;
  border-radius: 50%; animation: fs-spin .8s linear infinite;
}
@keyframes fs-spin { to { transform: rotate(360deg); } }

/* RESPONSIVE */
@media (max-width: 640px) {
  .fs-konfig-layout { grid-template-columns: 1fr; }
  .fs-photo-list { flex-direction: row; flex-wrap: wrap; }
  .fs-photo-list-item { width: calc(50% - 4px); }
  .fs-steps { font-size: 11px; gap: 0; }
  .fs-step-label { display: none; }
  .fs-step-num { width: 24px; height: 24px; font-size: 11px; }
  .fs-step-line { margin: 0 6px; }
}

/* ── KATEGORIJE ─────────────────────────────── */
.fs-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.fs-cat-card {
  border-radius: 16px;
  cursor: pointer;
  background: white;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  border: 1px solid #ece9e3;
}

.fs-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

.fs-cat-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}

.fs-cat-img-placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: #f0ede8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  border-radius: 16px 16px 0 0;
}

.fs-cat-body {
  padding: 14px 16px 16px;
}

.fs-cat-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
  font-family: 'Outfit', sans-serif;
}

.fs-cat-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
  margin-bottom: 8px;
}

.fs-cat-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #b85c28;
}

.fs-cat-soon {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(255,255,255,.88);
  color: #aaa;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fs-cat-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #faf8f4;
  border: 1px solid #e5e0d8;
  border-left: 3px solid #1a1a1a;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fs-cat-badge strong { color: #1a1a1a; }

.fs-cat-change {
  margin-left: auto;
  background: none;
  border: 1px solid #d5d5d0;
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 11px;
  cursor: pointer;
  color: #666;
  font-family: 'Outfit', sans-serif;
  transition: all .15s;
}
.fs-cat-change:hover { border-color: #999; color: #333; }

@media (max-width: 640px) {
  .fs-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .fs-cat-name { font-size: 14px; }
  .fs-cat-desc { display: none; }
}

/* ── KONFIGURATOR GRID ───────────────────────── */
.fs-konfig-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0;
}

.fs-konfig-card {
  border: 2px solid #e8e4dc;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: all .18s;
  background: white;
}

.fs-konfig-card:hover {
  border-color: #E8AD61;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}

.fs-konfig-card.configured { border-color: #3a3a3a; }
.fs-konfig-card.configured.has-white-border { border-color: #d0ccc4; box-shadow: 0 2px 10px rgba(0,0,0,0.10); }
.fs-konfig-card.active { border-color: #E8AD61; box-shadow: 0 0 0 3px rgba(200,146,42,.2); }

.fs-konfig-card-thumb {
  position: relative;
  background: #e8e5de;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 0;
}

.fs-konfig-card-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.fs-konfig-card:hover .fs-konfig-card-img { transform: none; }

.fs-konfig-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .18s;
}
.fs-konfig-card:hover .fs-konfig-card-overlay { opacity: 1; }

.fs-konfig-card-edit {
  color: white; font-size: 13px; font-weight: 700;
  background: rgba(0,0,0,.3); padding: 6px 12px;
  border-radius: 20px; border: 1px solid rgba(255,255,255,.3);
}

.fs-konfig-card-check {
  position: absolute; top: 7px; right: 7px;
  background: #E8AD61; color: white;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}

.fs-konfig-card-info {
  padding: 8px 10px;
}

.fs-konfig-card-name {
  font-size: 11px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #1c1a17;
}

.fs-konfig-card-sub {
  font-size: 11px; color: #aaa; margin-top: 2px;
}

/* ── EDITOR MODAL ────────────────────────────── */
.fs-editor-modal {
  position: fixed; inset: 0;
  background: white;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  touch-action: none;  /* prepreči page zoom med pinchom */
}

.fs-editor-modal-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fs-editor-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f0ede6;
  background: white;
  z-index: 1;
  gap: 8px;
  flex-shrink: 0;
}
.fs-editor-mode-row { display: none !important; }

.fs-editor-modal-title {
  font-weight: 800; font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 160px;
}

.fs-editor-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px 20px;
  -webkit-overflow-scrolling: touch;
}

.fs-editor-modal-body .fs-editor-card {
  margin-bottom: 10px;
}

.fs-editor-close {
  background: #f0ede6; border: none; cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: 17px; display: flex; align-items: center; justify-content: center;
  color: #666; transition: all .15s; flex-shrink: 0;
}
.fs-editor-close:hover { background: #e5e0d8; color: #1c1a17; }

/* Crop wrapper — osnova */
.fs-editor-modal .fs-crop-wrapper {
  border-radius: 0;
  min-height: 200px;
}
/* Mobile: višina = večina zaslona */
@media (max-width: 767px) {
  /* Dropdown dropzone: privzeto skrita glava, ko so fotke naložene se pokaže toggle */
  .fs-dropzone-toggle { display: none; }
  .fs-dropzone.fs-dropzone-compact {
    padding: 0 !important;
    min-height: 0 !important;
    border: 1px solid #e8e5de !important;
    border-radius: 14px !important;
    background: #fff !important;
    overflow: hidden;
  }
  .fs-dropzone.fs-dropzone-compact .fs-dropzone-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 18px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #d4921a;
    cursor: pointer;
  }
  .fs-dropzone.fs-dropzone-compact .fs-dropzone-toggle-label {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .fs-dropzone.fs-dropzone-compact .fs-dropzone-chevron {
    transition: transform .25s ease;
    color: #bbb;
  }
  /* Telo skrito, dokler ni razgrnjeno */
  .fs-dropzone.fs-dropzone-compact .fs-dropzone-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .2s ease;
  }
  .fs-dropzone.fs-dropzone-compact.fs-dropzone-open .fs-dropzone-body {
    max-height: 500px;
    opacity: 1;
    padding: 4px 4px 8px;
  }
  .fs-dropzone.fs-dropzone-compact.fs-dropzone-open .fs-dropzone-chevron {
    transform: rotate(180deg);
  }
  /* Plavajoč gumb Naprej — vedno viden na dnu zaslona */
  #fs-panel-1 .fs-upload-bottom-bar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 200 !important;
    background: #fff !important;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.14) !important;
    border-top: 1px solid #f0ede8 !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  /* Prostor pod vsebino da zadnje fotke niso skrite pod plavajočim gumbom */
  #fs-panel-1 {
    padding-bottom: 100px !important;
  }
  .fs-editor-modal .fs-crop-wrapper {
    height: calc(100svh - 280px) !important;
    min-height: 260px !important;
    max-height: none !important;
  }
}

/* Responsive */
/* ── FORMAT KARTICE — nova oblika ───────────── */
.fs-format-card {
  border: 2px solid #e8e4dc;
  border-radius: 10px;
  padding: 10px 8px 8px;
  cursor: pointer;
  background: white;
  transition: all .15s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.fs-format-card:hover  { border-color: #E8AD61; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.fs-format-card.selected { border-color: #E8AD61; background: #fdf4e3; box-shadow: 0 0 0 2px rgba(200,146,42,.2); }
.fs-format-card.warn   { border-color: #f59e0b; }

.fs-format-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.fs-format-rect {
  border: 2px solid #E8AD61;
  border-radius: 2px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f5eed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 2px 2px 0 rgba(200,146,42,.2);
  flex-shrink: 0;
}

.fs-format-card.selected .fs-format-rect {
  background: linear-gradient(135deg, #fbe8b8 0%, #f5d98a 100%);
  border-color: #a07010;
}

.fs-format-rect-inner {
  font-size: 8px;
  font-weight: 800;
  color: #a07010;
  line-height: 1.2;
  text-align: center;
}

.fs-format-label {
  font-size: 12px;
  font-weight: 800;
  color: #1c1a17;
  white-space: nowrap;
}

.fs-format-price {
  font-size: 11px;
  font-weight: 700;
  color: #E8AD61;
}

.fs-format-warn { font-size: 10px; }

/* ── BULK BAR — nova oblika ─────────────────── */
.fs-bulk-bar {
  background: #fafaf8;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.fs-bulk-bar-top {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.fs-bulk-label {
  font-size: 13px;
  font-weight: 700;
  color: #555;
}

.fs-bulk-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fs-bulk-group { }

.fs-bulk-group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #E8AD61;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e8e4dc;
}

.fs-bulk-group > .fs-bulk-card,
.fs-bulk-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fs-bulk-group-label {
  width: 100%;
}

.fs-bulk-card {
  border: 2px solid #e8e4dc;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  background: white;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .15s;
  min-width: 110px;
}

.fs-bulk-card:hover    { border-color: #E8AD61; }
.fs-bulk-card.selected { border-color: #E8AD61; background: #fdf4e3; }

.fs-bulk-rect {
  border: 2px solid #E8AD61;
  border-radius: 2px;
  background: linear-gradient(135deg, #fdf4e3, #f5d98a);
  flex-shrink: 0;
  box-shadow: 1px 1px 0 rgba(200,146,42,.2);
}

.fs-bulk-card.selected .fs-bulk-rect {
  background: linear-gradient(135deg, #fbe8b8, #f0c840);
}

.fs-bulk-dim {
  font-size: 12px;
  font-weight: 800;
  color: #1c1a17;
  white-space: nowrap;
}

.fs-bulk-price {
  font-size: 11px;
  color: #E8AD61;
  font-weight: 700;
  margin-left: auto;
}

@media (max-width: 640px) {
  .fs-bulk-bar-top { flex-direction: column; align-items: flex-start; }
  .fs-bulk-card { min-width: 90px; }
}

/* ── BULK INLINE (v editorju) ───────────────── */
.fs-bulk-inline {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px dashed #e8e4dc;
}

.fs-bulk-inline-title {
  font-size: 12px;
  font-weight: 800;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* ── FORMAT DRAWER ───────────────────────────── */
.fs-format-drawer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}

.fs-format-drawer.open { pointer-events: all; }

.fs-format-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .25s;
}

.fs-format-drawer.open .fs-format-drawer-backdrop { opacity: 1; }

.fs-format-drawer-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 78vw;
  max-width: 320px;
  background: white;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 24px rgba(0,0,0,.18);
}

.fs-format-drawer.open .fs-format-drawer-panel {
  transform: translateX(0);
}

.fs-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f0ede6;
  flex-shrink: 0;
}

.fs-drawer-header-title {
  font-weight: 800;
  font-size: 15px;
  color: #1c1a17;
}

.fs-drawer-close {
  background: #f0ede6; border: none; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  color: #666;
}

.fs-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding-top: 10px;
  -webkit-overflow-scrolling: touch;
}

.fs-drawer-format-list { padding: 0 12px 20px; }

.fs-drawer-format-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .12s;
  margin-bottom: 4px;
  position: relative;
}

.fs-drawer-format-item:hover    { background: #fafaf7; }
.fs-drawer-format-item.selected { background: #fdf4e3; }
.fs-drawer-format-item.warn     { opacity: .75; }

.fs-drawer-format-rect {
  border: 2px solid #E8AD61;
  border-radius: 2px;
  background: linear-gradient(135deg, #fdf4e3, #f5d98a);
  flex-shrink: 0;
  box-shadow: 1px 1px 0 rgba(200,146,42,.2);
}

.fs-drawer-format-item.selected .fs-drawer-format-rect {
  background: linear-gradient(135deg, #fbe8b8, #f0c840);
  border-color: #a07010;
}

.fs-drawer-format-info { flex: 1; }

.fs-drawer-format-size {
  font-size: 15px;
  font-weight: 800;
  color: #1c1a17;
}

.fs-drawer-format-warn {
  font-size: 10px;
  color: #f59e0b;
  margin-top: 2px;
}

.fs-drawer-format-price {
  font-size: 14px;
  font-weight: 700;
  color: #E8AD61;
  white-space: nowrap;
}

.fs-drawer-format-check {
  position: absolute; right: 12px;
  background: #E8AD61; color: white;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}

/* ── BOTTOM BAR (trigger + qty + potrdi) ─────── */
.fs-editor-bottom-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  flex-wrap: wrap;
}

.fs-format-drawer-trigger {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f3ee;
  border: 2px solid #e8e4dc;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all .15s;
  min-width: 0;
}

.fs-format-drawer-trigger:hover { border-color: #E8AD61; background: #fdf4e3; }

.fs-drawer-trigger-icon { font-size: 16px; flex-shrink: 0; }

.fs-drawer-trigger-label {
  font-size: 13px;
  font-weight: 700;
  color: #1c1a17;
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-drawer-trigger-price {
  font-size: 13px;
  font-weight: 800;
  color: #E8AD61;
  white-space: nowrap;
}

.fs-drawer-trigger-arrow {
  font-size: 18px;
  color: #aaa;
  flex-shrink: 0;
}

.fs-qty-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Drawer mora biti znotraj modal positiona */
.fs-editor-modal-inner { position: relative; overflow: hidden; }

/* Desktop — drawer ni potreben, pokaži grid */
@media (min-width: 768px) {
  .fs-format-drawer-panel { max-width: 280px; }
}

/* ── POVRŠINE PAPIRJA ───────────────────────── */
.fs-surface-bar {
  padding: 10px 12px !important;
}

.fs-surface-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 8px;
}

.fs-surface-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.fs-surface-btn {
  border: 2px solid #e8e4dc;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  background: white;
  cursor: pointer;
  transition: all .15s;
  color: #1c1a17;
}

.fs-surface-btn:hover    { border-color: #E8AD61; color: #E8AD61; }
.fs-surface-btn.selected {
  border-color: #E8AD61;
  background: #fdf4e3;
  color: #a07010;
  box-shadow: 0 0 0 2px rgba(200,146,42,.15);
}

/* Format ime v drawerju in triggerju */
.fs-drawer-format-name {
  font-size: 11px;
  color: #E8AD61;
  font-weight: 600;
  margin-top: 2px;
}

.fs-drawer-trigger-dim {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
}

/* ── DRAWER SEKCIJE ─────────────────────────── */
.fs-drawer-section {
  padding: 14px 14px 6px;
  border-bottom: 1px solid #f0ede6;
}
.fs-drawer-section:last-child { border-bottom: none; }

.fs-drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-bottom: 10px;
}

/* Surface dot items */
.fs-surface-item .fs-surface-dot { flex-shrink: 0; }

/* ── DRAWER SEKCIJE ─────────────────────────── */
.fs-drawer-section {
  padding: 14px 16px;
  border-bottom: 1px solid #f0ede6;
}
.fs-drawer-section:last-child { border-bottom: none; }

.fs-drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-bottom: 12px;
}

/* Površina — dot + ime */
.fs-surface-dot {
  flex-shrink: 0;
}

/* ── UNIFIED OPTION ROW (fs-opt) — za vse drawerje ── */
.fs-opt {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .12s;
  margin-bottom: 2px;
  gap: 6px;
}
.fs-opt:hover    { background: #fafaf7; }
.fs-opt.is-sel   { background: #fdf4e3; }
.fs-opt.is-warn  { opacity: .75; }

.fs-opt__label {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #1c1a17;
}
.fs-opt__price {
  font-size: 12px;
  font-weight: 700;
  color: #E8AD61;
  white-space: nowrap;
}
.fs-opt__check {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #E8AD61;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800;
  flex-shrink: 0;
}

/* Bulk sekcije */
.fs-bulk-section {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0ede6;
}
.fs-bulk-section:last-child { border-bottom: none; }

.fs-bulk-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-bottom: 10px;
}

/* Unconfigured kartica — vedno vidna, rahlo drugačna */
.fs-konfig-card.unconfigured {
  opacity: 1;
  border: 2px dashed #e0dbd0;
}
.fs-konfig-card.unconfigured .fs-konfig-card-thumb img {
  opacity: 0.85;
}

/* ── 2-STOLPIČEN EDITOR LAYOUT ────────────────────────────────── */
.fs-editor-two-col {
  display: flex;
  height: 100%;
  min-height: 0;
}

/* Levo: nastavitve */
.fs-editor-settings-panel {
  width: 280px;
  flex-shrink: 0;
  overflow-y: auto;
  background: #f2f2f7;
}
.fs-editor-settings-panel .fs-pho-drawer-body {
  padding: 0 0 16px;
}
/* Na desktopu skrij NAČIN OBREZA v edit photo drawerju */
@media (min-width: 768px) {
  .fs-editor-settings-panel .fs-cropmode-section { display: none; }
}
.fs-pho-drawer-total {
  padding: 10px 16px;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #e0e0e0;
  margin-top: 8px;
}
.fs-pho-drawer-total strong { color: #E8A050; }

/* Desno: fotografija */
.fs-editor-photo-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
}

.fs-editor-photo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.fs-editor-photo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  flex-shrink: 0;
  border-top: 1px solid #f0ede6;
  margin-top: 10px;
}

.fs-editor-price-badge {
  font-size: 18px;
  font-weight: 800;
  color: #E8AD61;
  flex: 1;
}

/* ── KOLIČINA NA KONFIG KARTICI ─────────────────── */
.fs-konfig-qty-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.fs-konfig-qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid #e8e4dc;
  background: white;
  cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  color: #1c1a17;
  flex-shrink: 0;
  transition: all .15s;
}
.fs-konfig-qty-btn:hover { border-color: #E8AD61; color: #E8AD61; }
.fs-konfig-qty-val {
  font-size: 13px; font-weight: 700;
  min-width: 18px; text-align: center;
}

/* ── NOVA KARTICA POSTAVITEV — slika zgoraj, info spodaj ── */
/* Desktop — multi stolpci */
@media (min-width: 768px) {
  .fs-konfig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin: 20px 0;
  }
  .fs-konfig-card {
    overflow: hidden !important;
    border-radius: 12px !important;
    display: flex;
    flex-direction: column;
  }
  .fs-konfig-card-thumb {
    padding: 0 !important;
    background: #111;
    overflow: hidden;
    line-height: 0;
    /* Canvas dimenzije nastavi JS — ne prepisuj */
  }
  .fs-konfig-card-footer {
    flex-shrink: 0;
    background: white;
    padding: 8px 10px;
    border-top: 1px solid #f0ede6;
  }
  .fs-konfig-card-name {
    color: #1c1a17 !important;
  }
  .fs-konfig-card-sub {
    color: #888 !important;
  }
}
.fs-konfig-card {
  display: flex;
  flex-direction: column;
}
.fs-konfig-card-thumb {
  position: relative;
  background: #e8e5de;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 0;
}
.fs-konfig-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #f0ede6;
}
.fs-konfig-card-left {
  flex: 1;
  min-width: 0;
}
.fs-konfig-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.fs-konfig-edit-btn {
  font-size: 11px;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  white-space: nowrap;
}
.fs-konfig-edit-btn:hover { color: #E8AD61; }
.fs-konfig-unconfigured {
  color: #f87171;
  font-size: 12px;
}

/* ── MOBILNI — 1 stolpec, slika velika čez celo širino ── */
@media (max-width: 767px) {
  .fs-konfig-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .fs-konfig-card-thumb {
    /* aspect-ratio dinamično */
    border-radius: 10px 10px 0 0;
  }
  .fs-konfig-card-name {
    font-size: 14px;
  }
  .fs-konfig-card-sub {
    font-size: 12px;
  }
  .fs-konfig-qty-row {
    margin-top: 0;
  }
  .fs-konfig-qty-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .fs-konfig-qty-val {
    font-size: 15px;
    min-width: 24px;
  }
}




/* ── KONFIG AKCIJSKA VRSTICA ── */
.fs-konfig-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.fs-konfig-add-btn {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: 1.5px dashed #E8AD61 !important;
  color: #E8AD61 !important;
  background: #fffbf5 !important;
  font-weight: 600;
}
.fs-konfig-add-btn:hover {
  background: #fff3e0 !important;
}
@media (max-width: 767px) {
  #fs-konfig-actions { display: none !important; }
}

.fs-konfig-delete-all-btn {
  display: inline-flex;
  align-items: center;
  color: #e05555 !important;
  border-color: #e05555 !important;
  background: #fff5f5 !important;
}
.fs-konfig-delete-all-btn:hover {
  background: #ffe8e8 !important;
}

/* ── QR UPLOAD PANEL ──────────────────────────────────────────── */
.fs-upload-split {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
/* Mobile: dropzone flex:1 */
.fs-upload-split .fs-dropzone {
  flex: 1;
  min-width: 0;
}
/* Desktop */
@media (min-width: 768px) {
  /* Korak 1 — enaka širina kot stepper */
  #fs-panel-1,
  .fs-steps,
  .fs-abandoned-banner,
  #fs-selected-cat-bar {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  #fs-panel-1 .fs-title,
  #fs-panel-1 .fs-subtitle {
    text-align: center;
  }
  .fs-upload-bottom-bar {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Upload split — dropzone levo, QR desno */
  .fs-upload-split {
    display: flex;
    gap: 20px;
    align-items: stretch;
  }
  .fs-upload-split .fs-dropzone {
    flex: 1;
    width: auto;
    margin-bottom: 0;
  }
  /* QR panel — kompakten desno */
  .fs-qr-panel {
    width: 220px !important;
    flex-shrink: 0 !important;
    flex: none !important;
    border: 1px solid #eee !important;
    border-radius: 16px !important;
    padding: 20px 16px !important;
    gap: 10px !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .fs-qr-panel-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .fs-qr-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    text-align: center !important;
  }
  .fs-qr-status {
    font-size: 11px !important;
    color: #aaa !important;
    text-align: center !important;
  }
  .fs-qr-refresh {
    font-size: 11px !important;
  }
  .fs-qr-box {
    width: 170px !important;
    height: 170px !important;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    padding: 6px !important;
  }
  .fs-qr-box canvas,
  .fs-qr-box img {
    width: 100% !important;
    height: 100% !important;
    image-rendering: auto !important;
  }
  /* Na desktopu skrij QR thumbnaile — fotke so že spodaj */
  .fs-qr-thumbs { display: none !important; }
}

/* ── Desktop QR panel (ob dropzoni) ── */
.fs-qr-panel {
  flex: 1;
  min-width: 0;
  width: auto;
  flex-shrink: 1;
  background: #fff;
  border: 2px solid #e8e5de;
  border-radius: 16px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.fs-qr-title {
  font-size: 13px;
  font-weight: 700;
  color: #E8AD61;
  text-align: center;
}
.fs-qr-box {
  width: 188px;
  height: 188px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid #e8e5de;
  padding: 4px;
}
.fs-qr-box canvas,
.fs-qr-box img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  image-rendering: auto;
}
.fs-qr-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.fs-qr-spinner {
  width: 28px; height: 28px;
  border: 3px solid #e8e5de;
  border-top-color: #2d2d2d;
  border-radius: 50%;
  animation: fs-spin 0.8s linear infinite;
}
@keyframes fs-spin { to { transform: rotate(360deg); } }
.fs-qr-status {
  font-size: 11px;
  color: #888;
  text-align: center;
  line-height: 1.4;
}
.fs-qr-photos { width: 100%; }
.fs-qr-photos-label {
  font-size: 11px;
  color: #666;
  margin-bottom: 6px;
  text-align: center;
}
.fs-qr-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.fs-qr-thumb-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #e8e5de;
}
.fs-qr-refresh {
  background: none;
  border: 1px solid #e8e5de;
  border-radius: 8px;
  font-size: 11px;
  color: #aaa;
  cursor: pointer;
  padding: 4px 10px;
  transition: all .15s;
}
.fs-qr-refresh:hover { border-color: #E8AD61; color: #E8AD61; }

/* ── Mobilni QR panel — čez celo širino, velika koda ── */
@media (max-width: 600px) {
  .fs-upload-split {
    flex-direction: column;
  }
  /* Na mobilnem skrij QR panel — gumb je že v dropzoni */
  .fs-qr-panel { display: none !important; }
  .fs-qr-panel {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    flex-wrap: nowrap;
  }
  .fs-qr-panel-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
    min-width: 0;
  }
  .fs-qr-title {
    font-size: 15px;
    text-align: left;
  }
  .fs-qr-status {
    font-size: 12px;
    text-align: left;
  }
  .fs-qr-refresh {
    font-size: 12px;
    padding: 6px 14px;
  }
  .fs-qr-box {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    padding: 6px;
    border-width: 2px;
  }
  .fs-qr-box canvas,
  .fs-qr-box img {
    width: 144px !important;
    height: 144px !important;
  }
  .fs-qr-photos {
    display: none; /* Na mobilnem ni potrebno */
  }
}


/* Loading placeholder v konfig gridu */
.fs-konfig-card-loading {
  border: 2px dashed #ddd !important;
  background: #f5f5f5 !important;
  pointer-events: none;
}

.fs-upload-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e0e0e0;
  border-top-color: #E8AD61;
  border-radius: 50%;
  animation: fs-spin 0.8s linear infinite;
}

@keyframes fs-spin {
  to { transform: rotate(360deg); }
}

/* ── PROJEKTI ─────────────────────────────────────────────────── */
.fs-project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #fafafa;
  transition: background .15s;
}
.fs-project-row:hover { background: #f0f0f0; }
.fs-project-row-info { flex: 1; min-width: 0; }
.fs-project-row-name {
  font-weight: 700;
  font-size: 14px;
  color: #1c1a17;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fs-project-row-date { font-size: 12px; color: #aaa; margin-top: 2px; }
.fs-project-row-actions { display: flex; gap: 6px; flex-shrink: 0; }

.fs-input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.fs-input:focus { border-color: #E8AD61; }

/* ═══════════════════════════════════════════════
   NOVA FOTO KARTICA — fs-ph-*
   ═══════════════════════════════════════════════ */
.fs-ph-thumb-wrap {
  position: relative;
  width: 100%;
  background: #111;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.fs-ph-thumb-wrap canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
}
.fs-ph-unconfigured-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  pointer-events: none;
}

/* Spodnja vrstica kartice */
.fs-ph-card-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  border: 1px solid #f0ede6;
  border-top: none;
}
.fs-ph-card-info {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.fs-ph-card-fmt {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1c1a17;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fs-ph-card-fmt.is-empty { color: #E8AD61; font-style: italic; }
.fs-ph-card-price {
  display: block;
  font-size: 12px;
  color: #E8AD61;
  font-weight: 700;
  margin-top: 1px;
}
.fs-ph-card-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.fs-ph-act-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid #e8e4dc;
  background: #fafaf7;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s;
}
.fs-ph-act-btn:hover { background: #f0ede6; }
.fs-ph-del-btn { color: #ccc; font-size: 13px; }
.fs-ph-qty-val {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #1c1a17;
}

/* Grid — 1 stolpec, velika slika */
@media (max-width: 767px) {
  .fs-konfig-card {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    overflow: hidden;
  }
}

/* ── STICKY TOTAL V DRAWER ── */
.fs-drawer-total-bar {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #f0ede6;
  font-size: 13px;
  color: #888;
  position: sticky;
  bottom: 0;
}
.fs-drawer-total-bar strong { color: #1c1a17; font-size: 15px; }

/* ── STICKY BULK BAR (Nastavitve za vse) ── */
.fs-ph-sticky-bulk {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #f0ede6;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fs-ph-sticky-bulk-btn {
  flex: 1;
  background: #1c1a17;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.fs-ph-sticky-bulk-btn:hover { background: #E8AD61; }

/* + gumb v sticky baru */
.fs-ph-sticky-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #f5f3ef;
  border: 1.5px solid #e8e4dc;
  cursor: pointer;
  flex-shrink: 0;
  color: #1c1a17;
}
.fs-ph-sticky-add-btn:hover { background: #E8AD61; color: #fff; border-color: #E8AD61; }

/* ── EDIT GUMB v karticah ── */
.fs-ph-edit-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid #e8e4dc;
  background: #fafaf7;
  color: #888;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .12s, color .12s;
}
.fs-ph-edit-btn:hover { background: #E8AD61; color: #fff; border-color: #E8AD61; }


/* Rahlo viden hint — vedno */
.fs-ph-thumb-wrap:not(:active) .fs-ph-thumb-edit-hint {
  opacity: 0.25;
}

/* Ob tapu — posivi in pokaže ikono */
.fs-ph-thumb-wrap.fs-tapping .fs-ph-thumb-edit-hint {
  opacity: 1;
  background: rgba(0,0,0,.35);
}

/* ── TAP HINT ikona na thumbnail ── */
.fs-ph-tap-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,.32);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* ── TAP HINT — manjša verzija ── */
.fs-ph-tap-hint {
  width: 24px !important; height: 24px !important;
  background: rgba(0,0,0,.22) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.fs-ph-tap-hint svg {
  width: 12px !important; height: 12px !important;
}

/* ── TAP HINT — manjša prosojnost ── */
.fs-ph-tap-hint {
  background: rgba(0,0,0,.10) !important;
}

/* ── TAP HINT — večja ikona, siv prosojni krog ── */
.fs-ph-tap-hint {
  width: 44px !important; height: 44px !important;
  background: rgba(255,255,255,.18) !important;
  border: 1.5px solid rgba(255,255,255,.25) !important;
}
.fs-ph-tap-hint svg {
  width: 20px !important; height: 20px !important;
  stroke: rgba(255,255,255,.75) !important;
}

/* ── TIER HINT v drawerju ── */
.fs-opt__tier-hint {
  font-size: 10px;
  color: #aaa;
  font-weight: 500;
  margin-right: 2px;
  white-space: nowrap;
}
.fs-opt.is-sel .fs-opt__tier-hint { color: #c8922a; }

/* ── DPI OPOZORILO ── */
.fs-ph-dpi-warn {
  font-size: 13px;
  line-height: 1;
  cursor: help;
  flex-shrink: 0;
}

/* ── BRISANJE ✕ gumb ── */
.fs-qty-del {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  background: transparent;
  color: #999;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  touch-action: manipulation;
  transition: background .15s, color .15s;
}
.fs-qty-del:active { background: #fee; color: #c00; }

/* Mobile-only actions row — skrij na desktopu */
.fs-actions-row--mobile-only {
  display: none;
}

/* ── FILTER PRESETS STRIP ─────────────────────────────────── */
.fs-filter-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  background: #faf9f6;
  border-top: 1px solid #f0ede6;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fs-filter-strip::-webkit-scrollbar { display: none; }

.fs-filter-preset {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.fs-filter-preset:hover { border-color: #e8e4dc; }
.fs-filter-preset.is-active { border-color: #E8AD61; }

.fs-filter-thumb-wrap {
  width: 56px;
  height: 56px;
  border-radius: 7px;
  overflow: hidden;
  background: #e8e4de;
}
.fs-filter-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fs-filter-label {
  font-size: 10px;
  font-weight: 700;
  color: #888;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.fs-filter-preset.is-active .fs-filter-label { color: #E8AD61; }

/* ── Desktop project actions bar ── */
.fs-desktop-proj-bar { display: none; }
@media (min-width: 768px) {
  .fs-desktop-proj-bar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 16px 5px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #ede9e2;
    margin-bottom: 4px;
  }
  .fs-dpb-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .fs-dpb-project-name {
    font-size: 14px;
    font-weight: 600;
    color: #1c1a17;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
  }
  .fs-dpb-rename-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 3px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    flex-shrink: 0;
  }
  .fs-dpb-rename-btn:hover { color: #555; background: #f0f0f0; }
  .fs-dpb-rename-input {
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid #E8A050;
    border-radius: 8px;
    padding: 4px 10px;
    outline: none;
    width: 220px;
    color: #1c1a17;
  }
  .fs-dpb-actions-row {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .fs-dpb-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
  }
  .fs-dpb-btn:hover { background: #f5f5f5; border-color: #ccc; color: #222; }
  .fs-dpb-sep { width: 1px; height: 12px; background: #e0e0e0; margin: 0 2px; }
  .fs-dpb-btn--danger { color: #e53935 !important; border-color: #fcc !important; }
  .fs-dpb-btn--danger:hover { background: #fff0f0 !important; }
}

/* Skrij spodnje projekt akcije na desktopu */
@media (min-width: 768px) {
  #fs-panel-2 .fs-actions { display: none !important; }
}

@media (min-width: 768px) {
  .fs-dpb-name-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: 200px;
  }
  .fs-dpb-project-name {
    font-size: 12px;
    color: #999;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .fs-dpb-rename-btn {
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-radius: 4px;
  }
  .fs-dpb-rename-btn:hover { color: #666; background: #f0f0f0; }
  .fs-dpb-rename-input {
    font-size: 12px;
    border: 1px solid #E8A050;
    border-radius: 6px;
    padding: 3px 8px;
    outline: none;
    width: 160px;
    color: #333;
  }
}

/* ── Upload overlay ── */
.fs-upload-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.fs-upload-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.fs-upload-overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.fs-upload-overlay__ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-upload-overlay__icon {
  position: absolute;
  font-size: 28px;
  line-height: 1;
}
.fs-upload-ring-arc {
  transition: stroke-dashoffset 0.5s ease;
  transform-origin: center;
  animation: fs-ring-spin 1.2s linear infinite;
}
@keyframes fs-ring-spin {
  from { transform: rotate(-90deg); }
  to   { transform: rotate(270deg); }
}
.fs-upload-overlay__text {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
}

/* ── Editor crop mode gumbi ── */
.fs-editor-mode-btns {
  display: flex;
  gap: 6px;
  padding: 8px 0 4px;
}
.fs-mode-pill {
  flex: 1;
  padding: 6px 10px;
  background: #f5f5f5;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.fs-mode-pill:hover { background: #eee; border-color: #ccc; }
.fs-mode-pill.active {
  background: #fff9f3;
  border-color: #E8A050;
  color: #E8A050;
  font-weight: 600;
}



/* Na desktopu skrij NAČIN OBREZA v edit photo drawerju */
@media (min-width: 768px) {
  .fs-editor-settings-panel .fs-drawer-section:has(.fs-cropmode-item) { display: none; }
}

/* Rotate gumb — večji na desktopu */
@media (min-width: 768px) {
  #fs-rotate-btn {
    font-size: 20px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Desktop filter gumb v footer */
@media (min-width: 768px) {
  .fs-desk-filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f5f3ef;
    border: 1.5px solid #e6e2db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    transition: all 0.15s;
  }
  .fs-desk-filter-btn:hover { background: #eee; }
  .fs-desk-filter-btn.is-active,
  .fs-desk-filter-btn.has-filter { color: #E8AD61; border-color: #E8AD61; background: #fff9f3; }

  /* Desktop filter strip — overlay čez sliko */
  #fs-crop-container { position: relative; }
  .fs-filter-strip.is-open {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 50 !important;
    background: rgba(245,243,239,0.92) !important;
    backdrop-filter: blur(8px) !important;
    border-top: 1px solid #ede9e2 !important;
    padding: 8px 16px !important;
    gap: 10px !important;
  }
}

/* Filter strip — skrit privzeto na desktopu, pokaže z ikono */
@media (min-width: 768px) {
  .fs-filter-strip { display: none !important; }
}

/* Desktop filter row — centriran pod sliko */
@media (min-width: 768px) {
  .fs-desk-filter-row {
    display: flex;
    justify-content: center;
    padding: 8px 0 4px;
    flex-shrink: 0;
  }
  .fs-mob-toolbar .fs-desk-filter-row { display: none; }
}
@media (max-width: 767px) {
  .fs-desk-filter-row { display: none; }
}

@media (min-width: 768px) {
  .fs-desk-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #f5f3ef;
    border: 1.5px solid #e6e2db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    transition: all 0.15s;
  }
  .fs-desk-action-btn:hover { background: #eee; border-color: #ccc; }
  .fs-desk-action-btn.is-active { color: #E8AD61; border-color: #e6e2db; background: #fff9f3; }
  .fs-desk-action-btn.has-filter { color: #E8AD61; border-color: #e6e2db; background: #fff9f3; }
  .fs-desk-action-btn#fs-filter-toggle-d { color: #1c1a17; }
  .fs-desk-action-btn#fs-filter-toggle-d.is-active { color: #E8AD61; border-color: #e6e2db; background: #fff9f3; }
}

/* Desktop zoom slider */
@media (min-width: 768px) {
  .fs-desk-zoom-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 4px;
  }
  .fs-desk-zoom-slider {
    width: 100px;
    height: 3px;
    accent-color: #E8AD61;
    cursor: pointer;
    border-radius: 2px;
  }
}

/* Adjustment sliders */
@media (min-width: 768px) {
  .fs-desk-adjustments {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 0 8px;
    border-right: 1px solid #e6e2db;
    margin-right: 4px;
  }
  .fs-adj-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 80px;
  }
  .fs-adj-item label {
    font-size: 10px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }
  .fs-adj-slider {
    width: 80px;
    height: 3px;
    accent-color: #E8AD61;
    cursor: pointer;
  }
  .fs-adj-val {
    font-size: 10px;
    color: #aaa;
    min-width: 24px;
    text-align: center;
  }
}

@media (min-width: 768px) {
  /* Adjustment panel — nad action row */
  .fs-desk-adjustments {
    position: absolute !important;
    bottom: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(248,246,242,0.97) !important;
    backdrop-filter: blur(8px) !important;
    border-top: 1px solid #ede9e2 !important;
    border-bottom: 1px solid #ede9e2 !important;
    padding: 12px 20px !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 24px !important;
    z-index: 60 !important;
  }
  .fs-desk-filter-row { position: relative; }
}

@media (min-width: 768px) {
  .fs-adj-reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f5f3ef;
    border: 1.5px solid #e6e2db;
    border-radius: 50%;
    cursor: pointer;
    color: #888;
    align-self: center;
    flex-shrink: 0;
  }
  .fs-adj-reset-btn:hover { background: #eee; color: #E8AD61; }
}
