:root {
  --ink: #202124;
  --muted: #62666d;
  --line: #dfe3e8;
  --soft: #f4f6f7;
  --surface: #ffffff;
  --accent: #d31920;
  --accent-dark: #a91016;
  --green: #146c43;
  --gold: #c58a19;
  --gold-soft: #f5b71e;
  --powder: #e9f0fb;
  --shadow: 0 18px 45px rgba(32, 33, 36, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

.site-header {
  /*position: sticky;*/
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  font-size: 16px;
}

.desktop-nav,
.footer-links,
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.desktop-nav a,
.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.mobile-nav a {
  display: block;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.primary-button,
.outline-button,
.ghost-button,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  color: #ffffff;
  background: var(--accent);
}

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

.outline-button {
  color: var(--accent);
  border: 1px solid var(--accent);
  background: #ffffff;
}

.ghost-button,
.menu-toggle {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #ffffff;
}

.small {
  min-height: 38px;
}

.full {
  width: 100%;
}

.menu-toggle {
  display: none;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.hero-home {
  padding: 8px 32px 64px;
}

.hero-stage {
  position: relative;
  max-width: 1460px;
  min-height: 640px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1117;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 56px 56px 132px;
  opacity: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  transition: opacity 260ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-copy {
  max-width: 520px;
  color: #ffffff;
}

.hero-slide-copy h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
  text-transform: uppercase;
}

.hero-slide-copy p:not(.hero-kicker):not(.hero-location) {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero-slide-copy-dark {
  color: #151515;
}

.hero-slide-copy-dark p:not(.hero-kicker):not(.hero-location) {
  color: rgba(16, 16, 16, 0.82);
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid #ffd10a;
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffd10a;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
}

.hero-kicker-green {
  border-color: #4eb62e;
  color: #132d0e;
  background: rgba(132, 227, 93, 0.2);
}

.hero-slide-actions {
  display: flex;
  gap: 12px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  padding: 0 20px;
  color: #ffffff;
  background: #f5b71e;
  font-size: 18px;
  font-weight: 900;
}

.hero-cta-green {
  background: #61c631;
}

.hero-location {
  margin-top: 72px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-location-dark {
  color: #101010;
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 8px;
  transform: translateY(-50%);
  color: #ffffff;
  background: rgba(24, 29, 36, 0.5);
  cursor: pointer;
  font-size: 34px;
}

.hero-nav-prev {
  left: 20px;
}

.hero-nav-next {
  right: 20px;
}

.hero-search-wrap {
  position: absolute;
  right: 50%;
  bottom: 22px;
  z-index: 4;
  width: min(740px, calc(100% - 40px));
  transform: translateX(50%);
}

.hero-tabs {
  display: flex;
  width: fit-content;
  gap: 2px;
  margin: 0 auto 8px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.hero-tab {
  min-width: 72px;
  min-height: 52px;
  border: 0;
  border-radius: 0;
  color: #3a485c;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-weight: 800;
}

.hero-tab.is-active {
  color: var(--accent);
  background: #ffffff;
}

.hero-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 0;
  border: 1px solid #e7ebf0;
  border-radius: 16px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 10px 34px rgba(32, 33, 36, 0.12);
}

.hero-search-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  align-items: center;
  border: 1px solid #d8dee7;
  border-radius: 12px 0 0 12px;
  border-right: 0;
  overflow: hidden;
}

.hero-search-input input {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
}

.hero-filter-button {
  min-height: 58px;
  border: 0;
  border-left: 1px solid #d8dee7;
  color: #344358;
  background: #ffffff;
  cursor: pointer;
  font-size: 22px;
}

.hero-search-submit {
  min-height: 60px;
  border: 0;
  border-radius: 0 12px 12px 0;
  color: #ffffff;
  background: #f5b71e;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-dots {
  position: absolute;
  right: 50%;
  bottom: 116px;
  z-index: 4;
  display: flex;
  gap: 10px;
  transform: translateX(50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.hero-dot.is-active {
  background: #ffffff;
}

.eyebrow,
.badge {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.search-copy p:not(.eyebrow),
.split-band p,
.seller-section p,
.page-head p {
  color: var(--muted);
}

.field {
  display: grid;
  gap: 6px;
}

.field.wide {
  min-width: 0;
}

.field label,
.filters label,
.results-toolbar label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
}

.content-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 32px;
}

.section-heading,
.page-head,
.results-toolbar,
.seller-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.section-heading a {
  color: var(--accent);
  font-weight: 900;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pill-grid a,
.feature-grid span,
.options-grid span {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #ffffff;
  font-weight: 800;
}

.suggested-carousel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(32, 33, 36, 0.06);
}

.carousel-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 240px);
  gap: 16px;
}

.suggested-card {
  display: grid;
  justify-items: center;
  min-height: 210px;
  border: 1px solid #c8d6ea;
  border-radius: 8px;
  padding: 22px 18px 18px;
  background: #ffffff;
  text-align: center;
}

.suggested-card img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  margin-bottom: 18px;
}

.suggested-card strong {
  margin-bottom: 6px;
  color: #12243e;
  font-size: 18px;
  line-height: 1.2;
}

.suggested-card span {
  color: #5f6e83;
  font-size: 15px;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0;
  transform: translateY(-50%);
  color: #ffffff;
  background: rgba(70, 79, 91, 0.84);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.carousel-control-prev {
  left: -4px;
}

.carousel-control-next {
  right: -4px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 34px;
  align-items: center;
  max-width: none;
  background: var(--soft);
}

.split-band > div {
  max-width: 500px;
  margin-left: auto;
}

.split-band img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.vehicle-card,
.result-card,
.summary-panel,
.filters {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.vehicle-card {
  overflow: hidden;
}

.vehicle-card img {
  width: 100%;
  height: 178px;
  object-fit: cover;
}

.vehicle-body {
  padding: 16px;
}

.vehicle-body h3 {
  /*min-height: 52px;*/
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.price {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 30px;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.page-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 32px 28px;
}

.breadcrumbs {
  margin-bottom: 8px;
  font-size: 14px;
}

.listing-layout {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 54px;
}

.filters {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 18px;
}

.filters h2 {
  margin-bottom: 4px;
}

.filters label {
  display: grid;
  gap: 7px;
}

.results {
  min-width: 0;
}

.results-toolbar {
  margin-bottom: 16px;
}

.results-toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-list {
  display: grid;
  gap: 16px;
}

.result-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 170px;
  gap: 18px;
  overflow: hidden;
}

.result-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.result-info {
  padding: 18px 0;
}

.result-info h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.result-actions {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green);
  background: #eaf6ef;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 32px 20px;
}

.gallery-main {
  width: 100%;
  height: min(620px, 58vw);
  min-height: 320px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.thumb.is-active {
  border-color: var(--accent);
}

.thumb img {
  width: 100%;
  height: 104px;
  object-fit: cover;
}

.summary-panel {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 22px;
  box-shadow: var(--shadow);
}

.summary-panel h1 {
  font-size: clamp(30px, 4vw, 42px);
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
  font-weight: 800;
}

.spec-list dd {
  margin: 0;
  font-weight: 900;
}

.detail-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.review-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.review-head p {
  margin: 0;
  color: var(--muted);
}

.review-score {
  display: grid;
  gap: 4px;
  justify-items: end;
  flex-shrink: 0;
}

.review-score strong {
  color: var(--accent);
  font-size: 30px;
  font-weight: 900;
}

.review-score span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.review-layout {
  display: grid;
  /*grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);*/
  gap: 22px;
}

.review-form,
.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(32, 33, 36, 0.06);
}

.review-form {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 20px;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.review-field {
  display: grid;
  gap: 8px;
}

.review-field span {
  color: #454b53;
  font-size: 14px;
  font-weight: 800;
}

.review-field textarea {
  width: 100%;
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  resize: vertical;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-card {
  padding: 18px 20px;
}

.review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.review-card h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.review-card p {
  margin-bottom: 0;
}

.review-meta {
  color: var(--muted);
  font-size: 14px;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--green);
  background: #eaf6ef;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.feature-grid,
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.options-grid span:nth-child(n + 13) {
  display: none;
}

.options-grid.is-open span {
  display: block;
}

.seller-section {
  max-width: 1180px;
  margin: 24px auto 58px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seller-actions {
  display: flex;
  gap: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--soft);
}

.auth-body {
  min-height: 100vh;
  background:
    linear-gradient(rgba(26, 31, 38, 0.34), rgba(26, 31, 38, 0.34)),
    url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1600&q=80") center/cover fixed;
}

.auth-body .site-header {
  background: rgba(255, 255, 255, 0.92);
}

.auth-cta,
.auth-submit {
  color: #ffffff;
  background: var(--accent);
}

.auth-cta:hover,
.auth-submit:hover {
  background: var(--accent-dark);
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 74px);
  padding: 32px 18px 40px;
}

.auth-card {
  width: min(100%, 760px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 22px 22px 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.auth-card-wide {
  width: min(100%, 820px);
}

.auth-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.auth-head h1 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 42px);
}

.auth-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.auth-close {
  color: #8ca0c0;
  font-size: 42px;
  line-height: 1;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 22px;
}

.auth-tab {
  display: block;
  border-bottom: 2px solid var(--line);
  padding: 0 4px 12px;
  color: var(--ink);
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.auth-tab.is-active {
  font-weight: 900;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form-signup {
  gap: 16px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field > span {
  color: #454b53;
  font-size: 15px;
  font-weight: 800;
}

.auth-field input {
  min-height: 48px;
  border-color: #cbd5e3;
  background: #ffffff;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(211, 25, 32, 0.14);
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 86px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  min-width: 64px;
  transform: translateY(-50%);
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.auth-inline-link,
.auth-legal a,
.auth-switch a {
  color: var(--accent);
  text-decoration: underline;
}

.auth-submit {
  min-height: 52px;
  margin-top: 6px;
  font-size: 18px;
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #454b53;
  font-size: 15px;
}

.auth-check input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 1px;
}

.auth-legal,
.auth-switch {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.auth-switch {
  color: var(--ink);
}

.profile-body {
  min-height: 100vh;
  background: #f7f8fb;
}

.profile-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 24px 64px;
}

.profile-hero {
  margin-bottom: 28px;
}

.profile-hero h1 {
  margin-bottom: 8px;
  color: #213b61;
  font-size: clamp(32px, 4vw, 52px);
}

.profile-hero p {
  margin: 0;
  color: #506078;
  font-size: 22px;
}

.profile-section {
  margin-bottom: 34px;
}

.profile-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-section-title h2,
.profile-delete h3 {
  margin: 0;
  color: #1f2e44;
  font-size: 18px;
  font-weight: 900;
}

.profile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #3d4e67;
  font-size: 11px;
  font-weight: 900;
  border: 2px solid #3d4e67;
  border-radius: 4px;
}

.profile-card {
  display: grid;
  gap: 20px;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  padding: 26px 26px 24px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(24, 39, 75, 0.06);
}

.profile-grid,
.profile-grid-contact,
.profile-phone-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.profile-field {
  display: grid;
  gap: 8px;
}

.profile-field span {
  color: #22314a;
  font-size: 15px;
  font-weight: 800;
}

.profile-field input,
.profile-field select {
  min-height: 46px;
  border-color: #cfd8e6;
  background: #ffffff;
}

.profile-field input::placeholder {
  color: #9ca9bc;
}

.profile-field input:focus,
.profile-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(211, 25, 32, 0.12);
}

.profile-field-disabled span {
  color: #b2baca;
}

.locked-field {
  position: relative;
}

.locked-field input {
  padding-right: 74px;
  color: #bcc4d0;
  background: #fbfcfd;
}

.locked-mark {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #a8b2c2;
  font-size: 12px;
  font-weight: 800;
}

.profile-help,
.profile-note p,
.profile-copy,
.profile-hint,
.profile-delete p {
  margin: 0;
  color: #6f7d91;
  font-size: 14px;
  line-height: 1.55;
}

.profile-note {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.profile-note p:first-child {
  color: #8996aa;
  font-size: 13px;
}

.profile-copy a {
  color: var(--accent);
  text-decoration: underline;
}

.profile-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #22314a;
  font-size: 15px;
}

.profile-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.profile-secondary,
.profile-primary,
.profile-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.profile-secondary,
.profile-primary {
  border: 0;
  color: #ffffff;
  background: var(--accent);
}

.profile-secondary:hover,
.profile-primary:hover {
  background: var(--accent-dark);
}

.profile-secondary {
  justify-self: start;
  min-height: 40px;
  padding: 0 16px;
}

.profile-actions {
  padding-top: 8px;
}

.profile-actions-topline {
  padding-top: 20px;
  border-top: 1px solid #e7ebf0;
}

.profile-danger {
  border: 1px solid #1f2e44;
  color: #111827;
  background: #ffffff;
}

.profile-delete {
  max-width: 760px;
  display: grid;
  gap: 14px;
}

.profile-field-narrow {
  max-width: 520px;
}

.contact-page {
  background: #fbfcfe;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 32px 18px;
}

.contact-hero-copy,
.contact-hero-card,
.contact-channel-card,
.contact-form,
.contact-info-card,
.contact-testimonial-card,
.contact-category-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(32, 33, 36, 0.06);
}

.contact-hero-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 32px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.contact-hero-copy p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.contact-hero-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
}

.contact-hero-card p,
.contact-channel-card p,
.contact-info-card p {
  color: var(--muted);
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.contact-section {
  padding-top: 24px;
  padding-bottom: 24px;
}

.contact-section-alt {
  background: transparent;
}

.contact-categories,
.contact-channel-grid,
.contact-testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-category-card,
.contact-channel-card,
.contact-testimonial-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.contact-category-card strong,
.contact-channel-card h3,
.contact-info-card h3 {
  font-size: 20px;
  line-height: 1.25;
}

.contact-category-card span,
.contact-testimonial-card p {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 320px;
  gap: 22px;
}

.contact-form-shell {
  min-width: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field span {
  color: #454b53;
  font-size: 14px;
  font-weight: 800;
}

.contact-field textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  resize: vertical;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.contact-upload {
  display: grid;
  gap: 10px;
  border: 1px dashed #cbd3dc;
  border-radius: 8px;
  padding: 18px;
  background: #fafbfd;
}

.contact-upload p {
  margin: 0;
  color: var(--muted);
}

.contact-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #22314a;
  font-size: 15px;
}

.contact-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.contact-form-actions {
  display: flex;
  justify-content: flex-start;
}

.contact-side {
  display: grid;
  gap: 18px;
  align-self: start;
}

.contact-info-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.contact-testimonial-card strong {
  color: #12243e;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  max-width: 320px;
  border-radius: 8px;
  padding: 14px 16px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

footer{
  
  margin-top:100px;
  font-family: praxis-regular, 'Open Sans', Tahoma, sans-serif;
  font-size: .875rem;
}
footer .content{
  display:flex;
  justify-content: space-between;
  background-color: var(--soft);
  padding:40px 5%;
  line-height: 25px;
  /*color:white;*/
}
footer .content div h3{
  margin-top: 0;
  color:#48484f;
}
footer .content{

}
footer .content div a{
  display: block;
  margin-bottom: 10px;
}
footer #first a{
  display: block;
  margin-bottom: 15px;

}
footer #first a::after{
  font: normal normal normal 14px/1 FontAwesome;
    font-size: 14px;
  content: "\f105";
  font-size: 18px;
  display: inline-block;
  text-align: right;
  margin-left: 5px;
  color: #666;

}
footer #second i{
  margin-right: 5px;
  font-size: 20px;
}
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .search-band,
  .split-band,
  .detail-grid,
  .listing-layout,
  .review-layout,
  .contact-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-home {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-stage {
    min-height: 600px;
  }

  .hero-slide {
    padding: 5px;
  }

  .hero-search-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-search-input {
    border-radius: 12px;
    border-right: 1px solid #d8dee7;
  }

  .hero-search-submit {
    border-radius: 12px;
  }

  .vehicle-grid,
  .pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suggested-carousel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .filters,
  .summary-panel {
    position: static;
  }

  .result-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .carousel-track {
    grid-auto-columns: minmax(220px, 220px);
  }

  .carousel-control {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .review-form-grid {
    grid-template-columns: 1fr ;
  }

  .result-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid,
  .options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-shell {
    padding-top: 22px;
  }

  .contact-categories,
  .contact-channel-grid,
  .contact-testimonials,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .profile-grid,
  .profile-grid-contact,
  .profile-phone-group {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {

  .content-conditions > div{
    padding: 0px !important;
  }

  #modal-body{
    width: unset !important;
  }
  .site-header,
  .page-head,
  .section-heading,
  .seller-section,
  .site-footer,
  .results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    min-height: auto;
    padding: 14px 18px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .content-section,
  .page-head,
  .listing-layout,
  .detail-grid,
  .seller-section,
  .site-footer,
  .contact-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .vehicle-grid,
  .pill-grid,
  .feature-grid,
  .options-grid,
  .thumb-row {
    grid-template-columns: 1fr;
  }

  .hero-nav {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .hero-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
  }

  .hero-tab {
    min-width: 0;
  }

  .review-head,
  .review-card-top {
    align-items: stretch;
    flex-direction: column;
  }

  .split-band img {
    height: 260px;
  }

  .result-card {
    grid-template-columns: 1fr;
  }

  .result-card img {
    height: 230px;
  }

  .result-info {
    padding: 0 18px;
  }

  .result-actions,
  .seller-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .gallery-main {
    height: 320px;
  }

  .thumb img {
    height: 120px;
  }

  .auth-card {
    padding: 18px 16px 22px;
  }

  .auth-head,
  .auth-tabs {
    gap: 12px;
  }

  .auth-head p,
  .auth-tab {
    font-size: 16px;
  }

  .auth-tabs {
    grid-template-columns: 1fr;
  }

  .profile-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .profile-card {
    padding: 20px 16px;
  }

  .profile-hero p {
    font-size: 18px;
  }

  footer .content{
    flex-direction: column;
    gap: 30px;
  }
  #bottom{
    padding:20px 15px;
    align-items: unset;
    flex-direction: column-reverse;
  }
  #social{
    text-align: center;
    margin-bottom: 30px;
  }
  .site-footer{
    text-align: center;
  }
  .footer-links{
    display: none;
  }
}
