/* CaseFinder — styled to match the OnePress theme on allsmartaccessories.com.
   Tokens taken from wp-content/themes/onepress/assets/frontend/theme.css:
   accent #03c4eb, headings #333333, page bg #f8f9f9, muted #636c72.
   No webfonts are loaded so the page stays light and CSP-safe. */

:root {
  --fg: #333333;
  --muted: #636c72;
  --line: #e9e9e9;
  --accent: #03c4eb;
  --accent-dark: #0299bd;
  --bg: #f8f9f9;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}

h1,
h2,
h3 {
  font-family: Raleway, "Open Sans", Helvetica, Arial, sans-serif;
  color: var(--fg);
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- header ---------- */

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
}

.site-title {
  font-family: Raleway, "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.site-title span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.page-head {
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 1.75rem;
  margin: 0 0 0.4rem;
}

.lede {
  color: var(--muted);
  margin: 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  margin: 1.1rem 0 0.35rem;
}

label:first-child {
  margin-top: 0;
}

select,
button {
  width: 100%;
  padding: 0.65rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
  color: var(--fg);
}

select:focus {
  outline: none;
  border-color: var(--accent);
}

select:disabled {
  background: #f4f5f5;
  color: #9aa0a6;
}

button {
  margin-top: 1.25rem;
  background: var(--accent);
  color: #ffffff;
  border: 0;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: var(--accent-dark);
}

#result {
  margin-top: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
}

#result h2 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

#result h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  margin: 1.1rem 0 0.4rem;
}

#result dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 0.9rem;
  margin: 0;
}

#result dt {
  color: var(--muted);
}

#result dd {
  margin: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chips li {
  background: #eefaff;
  border: 1px solid #cdf0fb;
  color: #04697f;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.85rem;
}

.cta {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.foot {
  display: none;
}

.seo-content {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.seo-content h2 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.seo-content h3 {
  font-size: 0.95rem;
  margin: 1.25rem 0 0.35rem;
}

.seo-content > p {
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.model-list a {
  color: var(--accent-dark);
  text-decoration: none;
}

.model-list a:hover {
  text-decoration: underline;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--accent-dark);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 1.45rem;
  }
}
