@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-main: "Inter", Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--font-main);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 700;
}


/* ==========================================================
   CATEGORY PAGES (car, van, etc.)
   Existing classes reused from home.css: lc-section,
   lc-container, lc-section-heading, lc-eyebrow,
   lc-category-grid, lc-category-card, lc-category-icon,
   lc-card-link
   ========================================================== */

/* Tighten the space between the header and the first group.
   (.lc-section has large top padding in home.css; this overrides it
   for the car page only.) */
.lc-section.lc-category-listing {
  padding-top: 0;
  margin-top: 0;
}

.lc-section.lc-category-listing > .lc-container {
  padding-top: 0;
  margin-top: 0;
}

.lc-section.lc-category-listing .lc-category-group:first-child {
  padding-top: 0;
  margin-top: 0;
}

/* Grouped sub-category blocks */
.lc-category-groups {
  display: grid;
  gap: 48px;
}

.lc-category-group-header {
  margin-bottom: 20px;
}

.lc-category-group-header h2 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.lc-category-group-header p {
  margin: 0;
  color: #5b6472;
  max-width: 720px;
}

@media (max-width: 640px) {
  .lc-category-groups {
    gap: 36px;
  }
}


/* ==========================================================
   SUB-CATEGORY PAGE (views/subcategory.ejs)
   ========================================================== */

.lc-subcategory-intro {
  padding-bottom: 24px;
}

.lc-breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: #5b6472;
}

.lc-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lc-breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: #a0a7b3;
}

.lc-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.lc-breadcrumb a:hover,
.lc-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.lc-breadcrumb [aria-current="page"] {
  color: #1c2430;
  font-weight: 600;
}

.lc-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lc-related-links a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #d9dee6;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lc-related-links a:hover,
.lc-related-links a:focus-visible {
  border-color: #1c2430;
  background: #f4f6f9;
}


/* ==========================================================
   CHECK DEALS PAGE (views/checkdeals.ejs)
   ========================================================== */

.lc-checkdeals-title {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.lc-coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 32px 24px;
  border: 1px solid #e3e7ee;
  border-radius: 16px;
  background: #f4f6f9;
  text-align: center;
}

.lc-coming-soon-text {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #1c2430;
}


/* ==========================================================
   COOKIE BANNER (included from footer.ejs)
   ========================================================== */

.lc-cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid #e3e7ee;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(16, 24, 40, 0.18);
}

.lc-cookie-banner[hidden] {
  display: none;
}

.lc-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
}

.lc-cookie-copy h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.lc-cookie-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5b6472;
}

.lc-cookie-copy a {
  color: inherit;
  text-decoration: underline;
}

.lc-cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.lc-cookie-btn {
  padding: 10px 18px;
  border: 1px solid #1c2430;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lc-cookie-btn-primary {
  background: #1c2430;
  color: #ffffff;
}

.lc-cookie-btn-primary:hover,
.lc-cookie-btn-primary:focus-visible {
  background: #36404f;
}

.lc-cookie-btn-secondary {
  background: #ffffff;
  color: #1c2430;
}

.lc-cookie-btn-secondary:hover,
.lc-cookie-btn-secondary:focus-visible {
  background: #f4f6f9;
}

@media (max-width: 640px) {
  .lc-cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .lc-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }

  .lc-cookie-actions {
    flex-direction: column-reverse;
  }

  .lc-cookie-btn {
    width: 100%;
  }
}


/* ==========================================================
   SEARCH PAGE (views/search.ejs)
   ========================================================== */

.search-page {
  padding: 48px 16px 80px;
  background: #f6f7f9;
  min-height: 60vh;
}

.search-page .search-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.search-page .search-heading {
  text-align: center;
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 24px;
  color: #101828;
}

.search-page .search-form {
  display: flex;
  gap: 8px;
  margin: 0 0 32px;
}

.search-page .search-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font-size: 1rem;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
}

.search-page .search-form button {
  padding: 14px 24px;
  border: 0;
  border-radius: 10px;
  background: #0b5fff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.search-page .search-form button:hover {
  background: #0948c4;
}

/* Result box */
.search-page .search-result {
  display: block;
  padding: 20px 24px;
  margin: 0 0 16px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.search-page .search-result:hover {
  border-color: #0b5fff;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .08);
  transform: translateY(-1px);
}

.search-page .search-result-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0b5fff;
}

.search-page .search-result-desc {
  margin: 0 0 10px;
  color: #475467;
  line-height: 1.55;
}

.search-page .search-result-url {
  display: block;
  font-size: .875rem;
  color: #1a7f37;
  word-break: break-all;
}

.search-page .search-empty {
  padding: 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  color: #475467;
}

@media (max-width: 480px) {
  .search-page { padding: 32px 12px 60px; }
  .search-page .search-heading { font-size: 1.5rem; }
  .search-page .search-form { flex-direction: column; }
}


/* ==========================================================
   CHECK DEALS PAGE: Tiger-style layout (views/checkdeals.ejs)
   ========================================================== */

/* Hero */
.lc-cd-hero {
  background: #f4f6f9;
  padding-top: 24px;
  padding-bottom: 56px;
}

.lc-cd-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.lc-cd-title {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: #1c2430;
}

.lc-cd-subtitle {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: #36404f;
}

.lc-cd-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.lc-cd-bullets li {
  position: relative;
  padding-left: 30px;
  color: #36404f;
  line-height: 1.5;
}

.lc-cd-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1c2430;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

/* Quote card */
.lc-cd-quote-card {
  padding: 28px;
  background: #fff;
  border: 1px solid #e3e7ee;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .08);
  text-align: center;
}

.lc-cd-quote-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #1c2430;
}

.lc-cd-quote-card p {
  margin: 0 0 18px;
  color: #5b6472;
  line-height: 1.5;
}

.lc-cd-quote-card small {
  display: block;
  margin-top: 12px;
  color: #5b6472;
}

/* Quote button */
.lc-cd-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #1c2430;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}

.lc-cd-btn:hover,
.lc-cd-btn:focus-visible {
  background: #36404f;
}

/* Info section */
.lc-cd-info {
  padding-top: 56px;
  padding-bottom: 24px;
}

.lc-cd-narrow {
  max-width: 820px;
}

.lc-cd-info h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  color: #1c2430;
}

.lc-cd-info h3 {
  margin: 28px 0 8px;
  font-size: 1.15rem;
  color: #1c2430;
}

.lc-cd-info p {
  margin: 0 0 14px;
  line-height: 1.7;
  color: #36404f;
}

.lc-cd-steps {
  margin: 0 0 24px;
  padding-left: 20px;
  line-height: 1.7;
  color: #36404f;
}

.lc-cd-steps li {
  margin-bottom: 6px;
}

/* Why use a comparison service */
.lc-cd-why {
  padding-top: 40px;
  padding-bottom: 56px;
}

.lc-cd-section-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 1.75rem;
  color: #1c2430;
}

.lc-cd-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lc-cd-why-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #e3e7ee;
  border-radius: 14px;
}

.lc-cd-why-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #1c2430;
}

.lc-cd-why-card p {
  margin: 0;
  color: #5b6472;
  line-height: 1.6;
  font-size: .95rem;
}

/* Bottom call to action */
.lc-cd-cta {
  padding-top: 0;
  padding-bottom: 72px;
}

.lc-cd-cta-box {
  padding: 40px 24px;
  background: #f4f6f9;
  border: 1px solid #e3e7ee;
  border-radius: 16px;
  text-align: center;
}

.lc-cd-cta-box h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: #1c2430;
}

.lc-cd-cta-box p {
  margin: 0 0 20px;
  color: #5b6472;
}

.lc-cd-more {
  margin: 16px 0 0 !important;
  font-size: .95rem;
}

.lc-cd-more a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .lc-cd-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .lc-cd-why-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .lc-cd-why-grid { grid-template-columns: 1fr; }
  .lc-cd-btn { width: 100%; text-align: center; box-sizing: border-box; }
}