/* Laundry Station Inc — site styles. System fonts only, no external assets. */
:root {
  --blue: #0b6fa4;
  --blue-dark: #084d73;
  --teal: #0e9594;
  --ink: #1c2b33;
  --muted: #5d707a;
  --bg: #f4f9fb;
  --card: #ffffff;
  --line: #d9e6ec;
  --amber-bg: #fff4d6;
  --amber-line: #e8c766;
  --green-bg: #e2f4e4;
  --green-line: #7cc48a;
  --red: #b3261e;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.25; }
h2 { margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--card); border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; align-items: center; gap: 14px;
  padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap;
}
.brand { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.main-nav { display: flex; gap: 14px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: var(--blue); }
.header-call { display: flex; align-items: center; gap: 10px; }
.open-badge {
  font-size: 0.82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--green-bg); border: 1px solid var(--green-line);
}
.open-badge.closed { background: #fde8e6; border-color: #e5a09a; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: 1px solid var(--blue); cursor: pointer;
  background: var(--card); color: var(--blue); font-weight: 700;
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
  font-size: 0.98rem; text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-call { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-small { padding: 6px 12px; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; }
.btn-danger { border-color: var(--red); color: var(--red); }
.btn[disabled] { opacity: 0.55; cursor: default; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 55%, var(--teal));
  color: #fff; padding: 52px 0 44px;
}
.hero h1 { font-size: 2.3rem; margin: 0 0 10px; }
.hero-sub { font-size: 1.12rem; max-width: 640px; margin: 0 0 8px; }
.hero-hours { opacity: 0.9; margin: 0 0 20px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .btn-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.5); }
.hero .btn-primary { background: #fff; color: var(--blue-dark); border-color: #fff; }

/* ---------- sections & cards ---------- */
.section { padding: 44px 0; }
.section-alt { background: #eaf3f7; }
.section-sub { max-width: 720px; color: var(--muted); margin-top: -6px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.card h3 { margin-top: 0; }
.price-list { list-style: none; padding: 0; margin: 12px 0; }
.price-list li {
  display: flex; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px dashed var(--line);
}
.price-list li:last-child { border-bottom: none; }
.rate-line { font-weight: 700; font-size: 1.05rem; }
.card-note { color: var(--muted); font-size: 0.92rem; }
.steps { padding-left: 20px; }
.steps li { margin: 5px 0; }
.card-ctas { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }

/* price chart */
.chart { margin-top: 12px; max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.chart table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.chart th, .chart td { padding: 6px 10px; text-align: right; }
.chart th:first-child, .chart td:first-child { text-align: left; }
.chart thead th { background: var(--bg); position: sticky; top: 0; }
.chart tbody tr:nth-child(even) { background: #f8fbfc; }
.chart .card-note { padding: 0 10px 8px; }

/* ---------- shop ---------- */
.cat-title { margin: 26px 0 10px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; display: flex; flex-direction: column; gap: 6px;
}
.product .p-name { font-weight: 700; }
.product .p-price { color: var(--blue-dark); font-weight: 800; font-size: 1.05rem; }
.product .p-instore { color: var(--muted); font-size: 0.9rem; }
.product .p-stock { font-size: 0.82rem; color: var(--muted); }
.product .p-stock.out { color: var(--red); font-weight: 700; }
.qty-row { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.qty-row button {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--blue);
  background: #fff; color: var(--blue); font-size: 1.1rem; cursor: pointer; font-weight: 800;
}
.qty-row .qty { min-width: 22px; text-align: center; font-weight: 800; }

.cart-box, .confirm-box, .form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; margin-top: 26px;
}
.cart-line { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.cart-total { font-size: 1.12rem; text-align: right; }
.confirm-box { border-color: var(--green-line); background: #f4fbf4; }
.confirm-box h3 { margin-top: 0; }
.zelle-box {
  background: var(--amber-bg); border: 1px solid var(--amber-line);
  border-radius: 10px; padding: 12px 14px; font-weight: 600;
}

/* ---------- forms ---------- */
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 5px; font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; width: 100%;
}
.form textarea { resize: vertical; }
.field-label { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 6px; }
.pay-choices { border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 8px; }
.pay-choices label { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.pay-choices input { width: auto; }
.form-error { color: var(--red); font-weight: 600; margin: 0; }
.form-ok { color: #177245; font-weight: 600; margin: 0; }
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.form-grid { grid-template-columns: 1fr 1fr; }
.form-grid .form-error, .form-grid .form-ok, .form-grid .form-actions { grid-column: 1 / -1; }

.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-btn {
  border: 1px solid var(--blue); background: #fff; color: var(--blue);
  border-radius: 999px; padding: 9px 14px; font-weight: 700; cursor: pointer; font-size: 0.95rem;
}
.slot-btn.selected { background: var(--blue); color: #fff; }

/* ---------- message threads ---------- */
.thread { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.thread h4 { margin: 0 0 8px; font-size: 0.95rem; }
.bubbles { display: grid; gap: 8px; max-height: 300px; overflow: auto; padding: 2px; }
.bubble {
  max-width: 85%; padding: 8px 12px; border-radius: 14px; font-size: 0.94rem;
  white-space: pre-wrap; word-break: break-word;
}
.bubble .b-time { display: block; font-size: 0.72rem; opacity: 0.7; margin-top: 3px; }
.bubble.customer { background: #e8f1f6; justify-self: start; border-bottom-left-radius: 4px; }
.bubble.store { background: var(--blue); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.thread-form { display: flex; gap: 8px; margin-top: 10px; }
.thread-form input { flex: 1; font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; }
.thread-empty { color: var(--muted); font-size: 0.9rem; }

/* ---------- visit / faq / footer ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours-list li.today { font-weight: 800; color: var(--blue-dark); }
.faq-list details {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; margin-bottom: 10px;
}
.faq-list summary { font-weight: 700; cursor: pointer; }
.site-footer { background: var(--ink); color: #dfe9ee; padding: 26px 0 90px; }
.site-footer a { color: #9fd3ee; }
.sticky-call {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  background: var(--teal); color: #fff; text-align: center; font-weight: 800;
  padding: 13px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ---------- admin ---------- */
.admin-main { padding-top: 22px; padding-bottom: 60px; }
.gate-card { max-width: 420px; margin: 30px auto; }
.alert-banner {
  background: var(--amber-bg); border: 1px solid var(--amber-line);
  border-radius: 12px; padding: 12px 16px; font-weight: 700; margin-bottom: 14px;
}
.admin-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; flex-wrap: wrap; margin-bottom: 6px;
}
.count-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 0.9rem; }
.chip-warn { background: var(--amber-bg); border-color: var(--amber-line); }
.admin-list { display: grid; gap: 12px; margin-bottom: 28px; }
.admin-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.admin-card .ac-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.admin-card .ac-title { font-weight: 800; font-size: 1.05rem; }
.badge {
  font-size: 0.78rem; font-weight: 800; padding: 3px 9px; border-radius: 999px;
  background: #e8f1f6; border: 1px solid var(--line);
}
.badge.new { background: var(--amber-bg); border-color: var(--amber-line); }
.badge.ok { background: var(--green-bg); border-color: var(--green-line); }
.badge.zelle-wait { background: var(--amber-bg); border-color: var(--amber-line); }
.badge.unread { background: #fde8e6; border-color: #e5a09a; color: var(--red); }
.ac-meta { color: var(--muted); font-size: 0.9rem; margin: 4px 0; }
.ac-items { margin: 8px 0; padding-left: 18px; }
.ac-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.confirm-editor { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; margin-top: 10px; }
.confirm-editor label { display: grid; gap: 4px; font-weight: 600; font-size: 0.88rem; }
.confirm-editor input, .confirm-editor select {
  font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
}
.product-list { margin-top: 16px; display: grid; gap: 8px; }
.product-row {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
}
.product-row .pr-name { font-weight: 700; }
.product-row .pr-meta { color: var(--muted); font-size: 0.9rem; }
.product-row .pr-actions { margin-left: auto; display: flex; gap: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (min-width: 861px) {
  .sticky-call { display: none; }
  .site-footer { padding-bottom: 26px; }
}
