/* Flipster Deals — design tokens + shared styles
   Based on the "Deal Sheet" + "Scout" mobile-first redesign. */

:root {
  --brand: #4fac5f;
  --brand-deep: #3d8c4b;
  --brand-light: #5abb6e;
  --ink: #0f0f10;
  --ink-2: #1b1b1d;
  --paper: #fafaf7;
  --paper-alt: #f4f1ea;
  --paper-page: #f0eee9;
  --line: #e7e4df;
  --line-2: #efede8;
  --dim: #6b6860;
  --dim-2: #8a867d;
  --good: #2d8f3f;
  --fair: #b58209;
  --poor: #c03727;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

html { scroll-behavior: smooth; }

/* Form focus */
input:focus, textarea:focus, select:focus { outline: none; }
button:disabled { opacity: 0.7; cursor: not-allowed; }

/* Placeholder photo pattern — striped bg for missing images */
.photo-placeholder {
  background-color: #c9bfb0;
  background-image: repeating-linear-gradient(55deg, rgba(0,0,0,0.045) 0 3px, transparent 3px 10px);
}

/* Horizontal scroll strips — hide scrollbar */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }

/* Dashed rule for stat rows */
.rule-dashed { border-top: 1px dashed var(--line); }

/* Tabs underline */
.tab-btn { border-bottom: 2px solid transparent; }
.tab-btn.on { border-bottom-color: var(--brand); color: var(--ink); }

/* Scout-style status pill on hero photo */
.pill-pin {
  padding: 4px 8px; border-radius: 2px;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
}

/* Sticky footer action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}

/* Tab row sticky — sits just under the site header */
.tabs-sticky {
  position: sticky; top: 56px; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

/* Lightbox */
#lightbox { cursor: pointer; }
#lightbox img { cursor: default; }

@media print {
  header, footer, #inquiry-form, #lightbox, .action-bar { display: none !important; }
}
