/* ══════════════════════════════════════════════════════
   Cutiora — photo-look-panel.css  (prefix wlp-, checked unused 2026-11-14)
   Styles of the shared filter + Adjust panel (js/photo-look-panel.js).
   Same look as the Filters page panel (inline in tools/filters.html:
   .w-filter-cat / .w-filter-preset-btn / .w-adjust-*), copied — not
   shared — so the live Filters page is not touched (item 220).
   ══════════════════════════════════════════════════════ */
.wlp { width: 100%; font-family: 'Nunito', sans-serif; }
.wlp-tabs { display: flex; width: 100%; border: 3px solid #2c2c2c; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.wlp-tab {
  flex: 1 1 0; border: none; border-inline-start: 3px solid #2c2c2c; background: #fff; padding: 9px 6px;
  font: 800 14px 'Nunito', sans-serif; color: #2c2c2c; cursor: pointer; touch-action: manipulation;
}
.wlp-tab:first-child { border-inline-start: none; }
.wlp-tab.active { background: #FFE566; }
.wlp-tab:not(.active):hover { background: #fff9e0; }
.wlp-pane[hidden], .wlp-group[hidden] { display: none; }

/* filter sections + thumbnails: one line each that swipes sideways */
.wlp-cats, .wlp-presets {
  display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 2px 2px 10px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.wlp-presets { gap: 8px; scroll-snap-type: x proximity; }
.wlp-cats::-webkit-scrollbar, .wlp-presets::-webkit-scrollbar { height: 6px; }
.wlp-cats::-webkit-scrollbar-thumb, .wlp-presets::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
.wlp-cat {
  flex: 0 0 auto; border: 2px solid #2c2c2c; background: #fff; border-radius: 20px; padding: 5px 12px;
  font: 800 12px 'Nunito', sans-serif; color: #2c2c2c; cursor: pointer; white-space: nowrap; touch-action: manipulation;
}
.wlp-cat:hover { background: #fff9e0; }
.wlp-cat.active { background: #E60023; border-color: #E60023; color: #fff; }
.wlp-preset {
  flex: 0 0 76px; width: 76px; border: 2px solid #2c2c2c; background: #fff; border-radius: 8px; padding: 6px 5px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; scroll-snap-align: start;
  font: 700 11px 'Nunito', sans-serif; color: #2c2c2c; touch-action: manipulation;
}
.wlp-preset span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wlp-preset:hover { background: #fff9e0; }
.wlp-preset.active { background: #FFE566; box-shadow: 3px 3px 0 #2c2c2c; }
.wlp-thumb { width: 100%; aspect-ratio: 1; border-radius: 6px; background: #eee; display: block; }

/* slider rows (Intensity + Adjust) */
.wlp-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-weight: 700; font-size: 13px; color: #2c2c2c; }
.wlp-row label { flex: 0 0 88px; cursor: pointer; user-select: none; }
.wlp-row input[type='range'] { flex: 1 1 auto; min-width: 0; margin: 0; accent-color: #E60023; }
.wlp-row > span { flex: 0 0 40px; text-align: right; font-variant-numeric: tabular-nums; color: #777; }
.wlp-atabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.wlp-atab {
  border: 2px solid #ddd; background: #fff; border-radius: 16px; padding: 4px 12px;
  font: 800 13px 'Nunito', sans-serif; color: #555; cursor: pointer; touch-action: manipulation;
}
.wlp-atab.active { border-color: #2c2c2c; background: #2c2c2c; color: #fff; }
.wlp-sub { margin: 12px 0 4px; padding-top: 10px; border-top: 2px dashed #ddd; font-weight: 800; font-size: 13px; color: #2c2c2c; }
.wlp-swatches { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 6px; }
.wlp-sw { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #bbb; cursor: pointer; padding: 0; font: 800 12px/1 'Nunito', sans-serif; color: #888; background: #fff; }
.wlp-sw.active { box-shadow: 0 0 0 2.5px #2c2c2c; }
.wlp-sw.has::after { content: ''; position: absolute; right: -3px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: #E60023; border: 1.5px solid #fff; }
.wlp-seg { flex-wrap: wrap; }
.wlp-seg .wlp-swatches { flex: 1 1 auto; padding: 0; }
.wlp-segs { display: flex; flex: 1 1 auto; gap: 4px; }
.wlp-segbtn { flex: 1 1 0; border: 2px solid #ddd; background: #fff; border-radius: 8px; padding: 4px 6px; font: 800 12px 'Nunito', sans-serif; color: #555; cursor: pointer; }
.wlp-segbtn.active { border-color: #2c2c2c; background: #2c2c2c; color: #fff; }
.wlp-reset {
  margin-top: 8px; border: 2px solid #ddd; background: #fff; border-radius: 8px; padding: 5px 12px;
  font: 800 12px 'Nunito', sans-serif; color: #555; cursor: pointer;
}
.wlp-reset:hover { border-color: #E60023; color: #E60023; }
/* phones: label + value on top, the slider takes the full width below (same as the Filters page, 2026-11-04) */
@media (max-width: 480px) {
  .wlp-row:not(.wlp-seg) { flex-wrap: wrap; row-gap: 2px; }
  .wlp-row:not(.wlp-seg) label { flex: 1 1 auto; }
  .wlp-row:not(.wlp-seg) > span { order: 2; }
  .wlp-row:not(.wlp-seg) input[type='range'] { order: 3; flex: 1 1 100%; }
}
