.kannu-header,
.kannu-header *,
.kannu-header *::before,
.kannu-header *::after {
  box-sizing: border-box;
}

.kannu-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 10000;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 8px clamp(22px, 5.5vw, 84px);
  gap: 28px;
  background: #ffffff !important;
  color: #171717 !important;
  border: 0;
  border-bottom: 1px solid #eeeeee;
  border-radius: 0;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.045);
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.kannu-header.kannu-header--home.is-over-hero {
  background: #604545 !important;
  color: #f7f2e9 !important;
  border-bottom-color: rgba(190, 153, 91, 0.35);
  box-shadow: 0 4px 18px rgba(24, 13, 14, 0.12);
}

.kannu-header.kannu-header--home.is-over-light {
  background: #f7f4ee !important;
  color: #292522 !important;
  border-bottom-color: rgba(177, 139, 81, 0.2);
  box-shadow: 0 3px 14px rgba(48, 37, 26, 0.055);
}

.kannu-header.kannu-header--home.is-over-dark {
  background: #2d2020 !important;
  color: #f7f2e9 !important;
  border-bottom-color: rgba(190, 153, 91, 0.28);
  box-shadow: 0 4px 18px rgba(15, 9, 9, 0.16);
}

.kannu-header.kannu-header--inner {
  background: #ffffff !important;
  color: #171717 !important;
  border-bottom: 1px solid #eeeeee;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.045);
}

.kannu-header .kannu-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  gap: 12px;
  margin: 0 auto 0 0;
  color: #171717 !important;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(23px, 2.15vw, 32px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  white-space: nowrap;
  text-decoration: none;
}

.kannu-header.kannu-header--home.is-over-hero .kannu-logo,
.kannu-header.kannu-header--home.is-over-dark .kannu-logo {
  color: #f7f2e9 !important;
}

.kannu-header.kannu-header--home.is-over-light .kannu-logo,
.kannu-header.kannu-header--inner .kannu-logo {
  color: #171717 !important;
}

.kannu-header .kannu-logo-image {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: cover;
  border: 1px solid rgba(190, 153, 91, 0.75);
  border-radius: 50%;
  background: #080808;
}

.kannu-header .kannu-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.kannu-header .kannu-logo-text {
  display: block;
  color: #171717 !important;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  line-height: 1.08;
}

.kannu-header.kannu-header--home.is-over-hero .kannu-logo-text,
.kannu-header.kannu-header--home.is-over-dark .kannu-logo-text {
  color: #f7f2e9 !important;
}

.kannu-header.kannu-header--home.is-over-light .kannu-logo-text,
.kannu-header.kannu-header--inner .kannu-logo-text {
  color: #171717 !important;
}

.kannu-header .kannu-brand-tagline {
  display: block;
  color: #555555 !important;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.35;
  white-space: nowrap;
}

.kannu-header.kannu-header--home.is-over-hero .kannu-brand-tagline,
.kannu-header.kannu-header--home.is-over-dark .kannu-brand-tagline {
  color: rgba(247, 242, 233, 0.84) !important;
}

.kannu-header.kannu-header--home.is-over-light .kannu-brand-tagline,
.kannu-header.kannu-header--inner .kannu-brand-tagline {
  color: #555555 !important;
}

.kannu-header .kannu-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(26px, 3.4vw, 54px);
  margin-left: auto;
  white-space: nowrap;
}

.kannu-header .kannu-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 0;
  color: #171717 !important;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-decoration: none;
  transition: color 180ms ease;
}

.kannu-header.kannu-header--home.is-over-hero .kannu-nav a,
.kannu-header.kannu-header--home.is-over-dark .kannu-nav a {
  color: #f7f2e9 !important;
}

.kannu-header.kannu-header--home.is-over-light .kannu-nav a,
.kannu-header.kannu-header--inner .kannu-nav a {
  color: #171717 !important;
}

.kannu-header .kannu-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: #b18b51;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.kannu-header .kannu-nav a:hover {
  color: #a9854e !important;
}

.kannu-header.kannu-header--home.is-over-hero .kannu-nav a:hover,
.kannu-header.kannu-header--home.is-over-dark .kannu-nav a:hover {
  color: #e2c58c !important;
}

.kannu-header .kannu-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.kannu-header .kannu-account {
  display: none !important;
}

.kannu-header a:focus-visible {
  outline: 2px solid #b18b51;
  outline-offset: 5px;
}

@media (max-width: 900px) {
  .kannu-header {
    min-height: 70px;
    padding: 8px 24px;
    gap: 20px;
  }

  .kannu-header .kannu-logo {
    font-size: clamp(21px, 2.8vw, 28px);
  }

  .kannu-header .kannu-logo-image {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .kannu-header .kannu-nav {
    gap: clamp(18px, 2.6vw, 28px);
  }

  .kannu-header .kannu-nav a {
    font-size: 12px;
  }
}

@media (max-width: 650px) {
  .kannu-header {
    min-height: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px 7px;
  }

  .kannu-header .kannu-logo {
    justify-content: center;
    width: 100%;
    margin: 0;
    gap: 9px;
    font-size: clamp(20px, 5.7vw, 26px);
  }

  .kannu-header .kannu-logo-image {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .kannu-header .kannu-brand-copy {
    gap: 3px;
  }

  .kannu-header .kannu-brand-tagline {
    font-size: 7px;
    letter-spacing: 0.16em;
  }

  .kannu-header .kannu-nav {
    justify-content: center;
    width: 100%;
    gap: clamp(17px, 5vw, 28px);
    margin: 0;
    overflow-x: auto;
  }

  .kannu-header .kannu-nav a {
    min-height: 30px;
    padding: 4px 0;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .kannu-header {
    padding-right: 10px;
    padding-left: 10px;
  }

  .kannu-header .kannu-logo {
    font-size: 19px;
  }

  .kannu-header .kannu-logo-image {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .kannu-header .kannu-brand-tagline {
    font-size: 6px;
  }

  .kannu-header .kannu-nav {
    gap: 14px;
  }

  .kannu-header .kannu-nav a {
    font-size: 11px;
  }
}
.kannu-header .kannu-nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #171717;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  cursor: pointer;
  transition: color 180ms ease;
}

.kannu-header.kannu-header--home.is-over-hero .kannu-nav-trigger,
.kannu-header.kannu-header--home.is-over-dark .kannu-nav-trigger {
  color: #f7f2e9;
}

.kannu-header.kannu-header--home.is-over-light .kannu-nav-trigger,
.kannu-header.kannu-header--inner .kannu-nav-trigger {
  color: #171717;
}

.kannu-header .kannu-nav-trigger svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.kannu-header .kannu-nav-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.kannu-header .kannu-nav-trigger:hover,
.kannu-header .kannu-nav-trigger.is-active {
  color: #d5b16f;
}

.kannu-header .kannu-nav-trigger::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: #b18b51;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.kannu-header .kannu-nav-trigger:hover::after,
.kannu-header .kannu-nav-trigger.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.kannu-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  right: clamp(18px, 5.5vw, 84px);
  z-index: 10001;
  color: #f7f5f0;
  background: #604545;
  border: 1px solid rgba(224, 190, 118, 0.55);
  border-radius: 0 0 13px 13px;
  box-shadow: 0 18px 42px rgba(35, 20, 20, 0.28);
  animation: kannu-menu-enter 180ms ease both;
}

@keyframes kannu-menu-enter {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kannu-dropdown--buy {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(220px, 0.85fr);
  gap: clamp(28px, 5vw, 76px);
  width: min(760px, calc(100vw - 40px));
  padding: 30px 34px 34px;
}

.kannu-buy-column {
  min-width: 0;
}

.kannu-dropdown-heading {
  margin: 0 0 17px;
  color: #e0c99f;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kannu-dropdown-link-list,
.kannu-price-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kannu-dropdown-link-list a,
.kannu-price-list a,
.kannu-filter-chips a {
  display: flex;
  align-items: center;
  min-height: 39px;
  padding: 8px 12px;
  border-radius: 7px;
  color: #f7f5f0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, padding 160ms ease;
}

.kannu-dropdown-link-list a:hover,
.kannu-price-list a:hover,
.kannu-filter-chips a:hover {
  padding-left: 16px;
  background: #765653;
  color: #f0c65f;
}

.kannu-filter-group {
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 244, 225, 0.2);
}

.kannu-filter-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.kannu-filter-chips a {
  min-height: 36px;
  font-size: 12px;
}

.kannu-buy-column--price {
  padding-left: 4px;
}

.kannu-price-list a {
  min-height: 45px;
  font-size: 15px;
}

.kannu-dropdown--compact,
.kannu-dropdown--contact {
  width: min(410px, calc(100vw - 32px));
  padding: 25px;
}

.kannu-dropdown-title {
  margin: 0 0 10px;
  color: #f7f5f0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.kannu-dropdown-description {
  margin: 0 0 20px;
  color: rgba(255, 248, 237, 0.78);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.kannu-dropdown-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid rgba(224, 190, 118, 0.65);
  border-radius: 8px;
  background: #604545;
  color: #fff8ed;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.kannu-dropdown-cta:hover {
  background: #765653;
  transform: translateY(-1px);
}

.kannu-dropdown-cta span {
  font-size: 20px;
}

.kannu-dropdown--contact {
  width: min(390px, calc(100vw - 32px));
}

.kannu-dropdown--contact .kannu-dropdown-title {
  margin-bottom: 17px;
}

.kannu-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 82px;
  margin-top: 12px;
  padding: 17px 19px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.kannu-contact-card:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.kannu-contact-card span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.kannu-contact-card strong {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.kannu-contact-card small {
  color: rgba(255, 255, 255, 0.92);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.kannu-contact-card svg {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kannu-contact-card--whatsapp {
  background: #20c96b;
}

.kannu-contact-card--call {
  background: #08aeea;
}

.kannu-contact-card--enquire {
  background: #075ca8;
}

.kannu-header button:focus-visible,
.kannu-dropdown a:focus-visible {
  outline: 2px solid #e0bd72;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .kannu-header .kannu-nav-trigger {
    font-size: 12px;
  }

  .kannu-dropdown {
    right: 24px;
  }
}

@media (max-width: 650px) {
  .kannu-header .kannu-nav {
    gap: clamp(17px, 5vw, 28px);
    overflow: visible;
  }

  .kannu-header .kannu-nav-trigger {
    min-height: 30px;
    padding: 4px 0;
    font-size: 12px;
  }

  .kannu-dropdown {
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    max-height: min(72vh, 620px);
    overflow-y: auto;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 12px 12px;
  }

  .kannu-dropdown--buy {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 22px 16px 24px;
  }

  .kannu-dropdown-heading {
    margin-bottom: 11px;
    font-size: 10px;
  }

  .kannu-dropdown-link-list a,
  .kannu-price-list a {
    min-height: 35px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .kannu-filter-group {
    margin-top: 17px;
    padding-top: 15px;
  }

  .kannu-filter-chips {
    grid-template-columns: 1fr 1fr;
  }

  .kannu-filter-chips a {
    min-height: 31px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .kannu-price-list a {
    min-height: 40px;
    font-size: 12px;
  }

  .kannu-dropdown--compact,
  .kannu-dropdown--contact {
    padding: 20px 16px;
  }

  .kannu-dropdown-title {
    font-size: 19px;
  }

  .kannu-contact-card {
    min-height: 72px;
    padding: 14px 16px;
  }

  .kannu-contact-card strong {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .kannu-dropdown--buy {
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .kannu-dropdown-link-list a,
  .kannu-price-list a {
    font-size: 11px;
  }

  .kannu-dropdown-heading {
    font-size: 9px;
  }
}


.kannu-contact-card--email {
  background: #8b7048;
}

.kannu-contact-card--email small {
  overflow-wrap: anywhere;
}

/* =========================================================
   KPD dropdown theme sync
   Dropdown panels now follow the active header colour scheme.
   ========================================================= */

.kannu-header {
  --kpd-menu-bg: #ffffff;
  --kpd-menu-text: #292522;
  --kpd-menu-muted: #665d54;
  --kpd-menu-heading: #9a7845;
  --kpd-menu-border: rgba(177, 139, 81, 0.38);
  --kpd-menu-hover: #eee5d8;
  --kpd-menu-hover-text: #604545;
  --kpd-menu-shadow: rgba(48, 37, 26, 0.16);
}

.kannu-header.kannu-header--home.is-over-hero {
  --kpd-menu-bg: #604545;
  --kpd-menu-text: #f7f2e9;
  --kpd-menu-muted: rgba(255, 248, 237, 0.78);
  --kpd-menu-heading: #e0c99f;
  --kpd-menu-border: rgba(224, 190, 118, 0.55);
  --kpd-menu-hover: #765653;
  --kpd-menu-hover-text: #f0c65f;
  --kpd-menu-shadow: rgba(35, 20, 20, 0.28);
}

.kannu-header.kannu-header--home.is-over-light {
  --kpd-menu-bg: #f7f4ee;
  --kpd-menu-text: #292522;
  --kpd-menu-muted: #70675e;
  --kpd-menu-heading: #9a7845;
  --kpd-menu-border: rgba(177, 139, 81, 0.38);
  --kpd-menu-hover: #eae0d2;
  --kpd-menu-hover-text: #604545;
  --kpd-menu-shadow: rgba(48, 37, 26, 0.16);
}

.kannu-header.kannu-header--home.is-over-dark {
  --kpd-menu-bg: #2d2020;
  --kpd-menu-text: #f7f2e9;
  --kpd-menu-muted: rgba(255, 248, 237, 0.76);
  --kpd-menu-heading: #d8bd8a;
  --kpd-menu-border: rgba(190, 153, 91, 0.42);
  --kpd-menu-hover: #493333;
  --kpd-menu-hover-text: #f0c65f;
  --kpd-menu-shadow: rgba(15, 9, 9, 0.24);
}

.kannu-header.kannu-header--inner {
  --kpd-menu-bg: #ffffff;
  --kpd-menu-text: #292522;
  --kpd-menu-muted: #70675e;
  --kpd-menu-heading: #9a7845;
  --kpd-menu-border: rgba(177, 139, 81, 0.32);
  --kpd-menu-hover: #f0e8dc;
  --kpd-menu-hover-text: #604545;
  --kpd-menu-shadow: rgba(48, 37, 26, 0.14);
}

.kannu-header .kannu-dropdown {
  color: var(--kpd-menu-text);
  background: var(--kpd-menu-bg);
  border-color: var(--kpd-menu-border);
  box-shadow: 0 18px 42px var(--kpd-menu-shadow);
}

.kannu-header .kannu-dropdown-heading {
  color: var(--kpd-menu-heading);
}

.kannu-header .kannu-dropdown-link-list a,
.kannu-header .kannu-price-list a,
.kannu-header .kannu-filter-chips a {
  color: var(--kpd-menu-text);
}

.kannu-header .kannu-dropdown-link-list a:hover,
.kannu-header .kannu-price-list a:hover,
.kannu-header .kannu-filter-chips a:hover {
  background: var(--kpd-menu-hover);
  color: var(--kpd-menu-hover-text);
}

.kannu-header .kannu-filter-group {
  border-top-color: var(--kpd-menu-border);
}

.kannu-header .kannu-dropdown-title {
  color: var(--kpd-menu-text);
}

.kannu-header .kannu-dropdown-description {
  color: var(--kpd-menu-muted);
}

.kannu-header .kannu-dropdown-cta {
  color: var(--kpd-menu-text);
  background: transparent;
  border-color: var(--kpd-menu-border);
}

.kannu-header .kannu-dropdown-cta:hover {
  color: var(--kpd-menu-hover-text);
  background: var(--kpd-menu-hover);
}

.kannu-header .kannu-dropdown a:focus-visible {
  outline-color: var(--kpd-menu-heading);
}
.kpd-hero,
.kpd-hero * {
  box-sizing: border-box;
}

.kpd-hero {
  --header-offset: 90px;
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--header-offset));
  margin-top: calc(-1 * var(--header-offset));
  overflow: hidden;
  isolation: isolate;
}

.kpd-hero-stage {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  padding-top: var(--header-offset);
  background:
    linear-gradient(
      180deg,
      rgba(16, 9, 10, 0.14) 0%,
      rgba(16, 9, 10, 0.12) 55%,
      rgba(16, 9, 10, 0.26) 100%
    ),
    url("/images/Hero_img3.png") center calc(var(--header-offset) * 0.5) / cover no-repeat #382727;
}

.kpd-hero .kpd-promise-list {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  width: fit-content;
  max-width: calc(100% - 48px);
  margin: 650px auto 0;
  pointer-events: none;
}

.kpd-hero .kpd-promise-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #fff8ee;
  font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
  font-size: clamp(11.5px, 0.9vw, 14px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 2px 10px rgba(12, 7, 8, 0.85),
    0 1px 3px rgba(0, 0, 0, 0.75);
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 300ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.kpd-hero .kpd-promise-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.kpd-hero .kpd-tick {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #f0c050;
  font-size: 1.1em;
  font-weight: 800;
  line-height: 1;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 12px rgba(240, 192, 80, 0.35);
}

.kpd-hero-search {
  position: absolute;
  top: 57%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  width: min(60vw, 780px);
  max-width: calc(100% - 36px);
  height: 64px;
  padding: 0 20px 0 26px;
  transform: translateX(-50%);
  border: 1px solid rgba(244, 229, 220, 0.82);
  border-radius: 999px;
  background: rgba(91, 57, 57, 0.84);
  box-shadow: 0 6px 20px rgba(15, 8, 8, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.kpd-hero-search:focus-within {
  background: rgba(91, 57, 57, 0.92);
  border-color: #e6b84d;
}

.kpd-search-icon {
  flex: 0 0 auto;
  margin-right: 14px;
  color: #fff7ef;
}

.kpd-hero-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff9f4;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 18px;
}

.kpd-hero-search input::placeholder {
  color: rgba(255, 249, 244, 0.9);
}

.kpd-hero-search button {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #e6b84d;
  cursor: pointer;
}

.kpd-hero-search button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.kpd-hero-actions {
  position: absolute;
  top: 75%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateX(-50%);
}

.kpd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 54px;
  padding: 8px 18px;
  border: 1px solid rgba(226, 180, 80, 0.82);
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.kpd-btn:hover {
  transform: translateY(-2px);
}

.kpd-btn-sell {
  color: #fff8f3;
  background: rgba(83, 49, 49, 0.94);
}

.kpd-btn-sell:hover {
  background: #604545;
}

.kpd-btn-buy {
  color: #30251c;
  background: #e6b84d;
  border-color: #e6b84d;
}

.kpd-btn-buy:hover {
  background: #f1c75e;
  border-color: #f1c75e;
}

@media (max-width: 900px) {
  .kpd-hero {
    --header-offset: 82px;
  }

  .kpd-hero-stage {
    min-height: 560px;
  }

  .kpd-hero .kpd-promise-list {
    margin: 52px auto 0;
    gap: 16px;
  }

  .kpd-hero-search {
    top: 53%;
    width: min(76vw, 680px);
    height: 60px;
  }

  .kpd-hero-search input {
    font-size: 16px;
  }

  .kpd-btn {
    width: 190px;
    height: 50px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .kpd-hero {
    --header-offset: 72px;
  }

  .kpd-hero-stage {
    min-height: 620px;
    background:
      linear-gradient(
        180deg,
        rgba(16, 9, 10, 0.14) 0%,
        rgba(16, 9, 10, 0.12) 55%,
        rgba(16, 9, 10, 0.26) 100%
      ),
      url("/images/Hero_img4.png") center calc(var(--header-offset) * 0.5) / cover no-repeat #382727;
  }

  .kpd-hero .kpd-promise-list {
    display: none !important;
  }

  .kpd-hero-search {
    top: 56%;
    width: calc(100% - 30px);
    height: 50px;
    padding: 0 10px 0 14px;
  }

  .kpd-hero-search input {
    font-size: 14px;
  }

  .kpd-hero-actions {
    width: min(100% - 30px, 340px);
    gap: 8px;
  }

  .kpd-btn {
    flex: 1 1 0;
    width: auto;
    height: 44px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kpd-hero .kpd-promise-item,
  .kpd-btn {
    transition: none;
  }
}
/* ========================================
   KANNU CARS — PREMIUM VEHICLE CARD
======================================== */

.car-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e9edf2;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(20, 35, 55, 0.055);
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.car-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 35, 55, 0.09);
}

/* ========================================
   VEHICLE IMAGE
======================================== */

.car-card-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.car-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1.52 / 1;
  overflow: hidden;
  background: #f1f3f6;
}

.car-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.car-card:hover .car-photo {
  transform: scale(1.025);
}

.car-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #64748b;
  background: #f1f3f6;
  font-size: 14px;
  font-weight: 500;
}

/* ========================================
   SOLD RIBBON
======================================== */

.car-sold-ribbon {
  position: absolute;
  left: -48px;
  bottom: 34px;
  z-index: 5;
  display: block;
  width: 190px;
  padding: 9px 12px;
  transform: rotate(36deg);
  transform-origin: center;
  background: linear-gradient(110deg, #b91c1c, #e33434);
  color: #ffffff;
  box-shadow: 0 4px 13px rgba(127, 29, 29, 0.28);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.2px;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

/* ========================================
   CARD CONTENT
======================================== */

.car-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 12px 13px 11px;
}

.car-heading {
  margin-bottom: 11px;
}

.car-card-title-link {
  color: inherit;
  text-decoration: none;
}

.car-title {
  margin: 0;
  color: #242a33;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.35;
}

.car-card-title-link:hover .car-title {
  color: #075db8;
}

.car-variant {
  margin: 2px 0 0;
  color: #89919c;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

/* ========================================
   SPECIFICATIONS + PRICE LAYOUT
======================================== */

.car-card-information {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(120px, 0.85fr);
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  padding: 10px 0;
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}

/* ========================================
   VEHICLE SPECIFICATIONS
======================================== */

.car-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  column-gap: 10px;
  row-gap: 11px;
  min-width: 0;
}

.car-spec-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 3px;
}

.car-spec-label {
  color: #9299a3;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
}

.car-spec-value {
  overflow: hidden;
  color: #343a43;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========================================
   PRICE PANEL — RIGHT SIDE
======================================== */

.car-price-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  padding-left: 10px;
  border-left: 1px solid #e2e7ed;
  text-align: right;
}

.car-price-caption {
  margin-bottom: 5px;
  color: #9299a3;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

/* COMPARISON PRICE — STRIKETHROUGH */

.car-original-price {
  display: block;
  margin-bottom: 3px;
  color: #929292;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

/* ACTUAL SELLING PRICE */

.car-price {
  margin: 0;
  color: #075db8;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
  white-space: nowrap;
}

/* ========================================
   CARD FOOTER
======================================== */

.car-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 11px;
}

/* AVAILABILITY STATUS */

.car-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
}

.car-status.available {
  color: #16804a;
}

.car-status.sold {
  color: #c43d3d;
}

.car-status-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
}

/* ========================================
   ACTION BUTTONS
======================================== */

.car-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.car-details-button,
.car-reserve-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease;
  cursor: pointer;
}

.car-details-button {
  color: #172f55;
  border-color: #d6e0ed;
  background: #ffffff;
}

.car-details-button:hover {
  background: #f3f6fa;
}

.car-reserve-button {
  color: #ffffff;
  background: #172f55;
}

.car-reserve-button:hover {
  background: #244875;
}

/* ========================================
   SOLD VEHICLE PRESENTATION
======================================== */

.car-card.is-sold {
  border-color: #efc1c1;
}

.car-card.is-sold .car-photo {
  filter: saturate(0.78) brightness(0.94);
}

.car-card.is-sold .car-status.sold {
  color: #c62828;
  font-weight: 700;
}

.car-card.is-sold .car-status.sold .car-status-dot {
  background: #c62828;
}

/* ========================================
   TABLET RESPONSIVENESS
======================================== */

@media (max-width: 900px) {
  .car-card-content {
    padding: 11px;
  }

  .car-specs-grid {
    column-gap: 7px;
  }

  .car-price-panel {
    padding-left: 8px;
  }

  .car-price {
    font-size: 19px;
  }

  .car-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .car-card-actions {
    width: 100%;
  }

  .car-details-button,
  .car-reserve-button {
    flex: 1;
  }
}

/* ========================================
   MOBILE RESPONSIVENESS
======================================== */

@media (max-width: 600px) {
  .car-card {
    border-radius: 11px;
  }

  .car-card-image {
    aspect-ratio: 1.45 / 1;
  }

  .car-card-content {
    padding: 10px;
  }

  .car-heading {
    margin-bottom: 9px;
  }

  .car-title {
    font-size: 14px;
  }

  .car-variant {
    font-size: 11px;
  }

  /* Keep specifications and price side by side */
  .car-card-information {
    grid-template-columns: minmax(0, 1.35fr) minmax(110px, 0.8fr);
    gap: 7px;
    padding: 9px 0;
  }

  .car-specs-grid {
    column-gap: 6px;
    row-gap: 9px;
  }

  .car-spec-label {
    font-size: 9px;
  }

  .car-spec-value {
    font-size: 11px;
  }

  /* Price stays on the right */
  .car-price-panel {
    align-items: flex-end;
    padding-left: 7px;
  }

  .car-price-caption {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .car-original-price {
    font-size: 10px;
  }

  .car-price {
    font-size: 17px;
  }

  .car-card-footer {
    margin-top: 9px;
  }

  .car-details-button,
  .car-reserve-button {
    min-height: 33px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .car-sold-ribbon {
    left: -53px;
    bottom: 27px;
    width: 180px;
    padding: 8px 10px;
    font-size: 10px;
  }
}

/* ========================================
   SMALL MOBILE SCREENS
======================================== */

@media (max-width: 380px) {
  .car-card-content {
    padding: 8px;
  }

  .car-card-information {
    grid-template-columns: minmax(0, 1.2fr) minmax(100px, 0.8fr);
    gap: 5px;
  }

  .car-price-panel {
    padding-left: 5px;
  }

  .car-price {
    font-size: 15px;
  }

  .car-original-price {
    font-size: 9px;
  }

  .car-spec-value {
    font-size: 10px;
  }

  .car-details-button,
  .car-reserve-button {
    padding: 6px;
    font-size: 9px;
  }
}

/* ========================================
   ACCESSIBILITY
======================================== */

.car-reserve-button:focus-visible,
.car-details-button:focus-visible,
.car-card-image-link:focus-visible,
.car-card-title-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .car-card,
  .car-photo,
  .car-details-button,
  .car-reserve-button {
    transition: none;
  }
}

/* ========================================
   KANNU CARS — FEATURED COLLECTION
======================================== */

.featured-cars {
  width: 100%;
  padding: 65px clamp(24px, 4vw, 64px) 75px;
  background: #ffffff;
  color: #172033;
}

.featured-cars-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Heading */

.featured-cars-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.featured-cars .section-eyebrow {
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.featured-cars .section-heading h2,
.featured-cars-heading h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 750;
  letter-spacing: -1.5px;
}

.featured-cars .section-description {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 14px;
}

.featured-cars-controls {
  display: flex;
  align-items: center;
  gap: 22px;
}

.car-count {
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

/* Carousel arrows */

.carousel-arrows {
  display: flex;
  gap: 10px;
}

.carousel-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;

  border: 1px solid #e5e7eb;
  border-radius: 50%;
  color: #172033;
  background: #ffffff;

  font-size: 21px;
  transition: 180ms ease;
}

.carousel-arrow:hover {
  color: #ffffff;
  background: #172033;
  border-color: #172033;
}

/* Horizontal collection */

.featured-cars .cars-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  grid-template-columns: none;
  gap: 16px;

  width: 100%;
  margin: 0;
  padding: 3px 2px 22px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}

.featured-cars .cars-grid::-webkit-scrollbar {
  height: 6px;
}

.featured-cars .cars-grid::-webkit-scrollbar-track {
  background: #f1f3f6;
  border-radius: 20px;
}

.featured-cars .cars-grid::-webkit-scrollbar-thumb {
  background: #cbd2dc;
  border-radius: 20px;
}

/* Bottom link */

.collection-bottom {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.view-all-cars {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 12px 22px;
  border: 1px solid #172033;
  border-radius: 7px;

  color: #172033;
  background: #ffffff;

  font-size: 13px;
  font-weight: 700;
  transition: 180ms ease;
}

.view-all-cars:hover {
  color: #ffffff;
  background: #172033;
}

.status-message,
.error-message {
  padding: 24px 0;
}

.error-message {
  color: #b91c1c;
}

.empty-cars {
  padding: 45px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
  background: #fafafa;
}

.empty-cars h3 {
  color: #172033;
}

.empty-cars p {
  margin-bottom: 0;
  color: #64748b;
}

/* Responsive */

@media (max-width: 900px) {
  .featured-cars .cars-grid {
    grid-auto-columns: minmax(270px, 42vw);
  }
}

@media (max-width: 650px) {
  .featured-cars {
    padding: 48px 18px 55px;
  }

  .featured-cars-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-cars-controls {
    width: 100%;
    justify-content: space-between;
  }

  .featured-cars .cars-grid {
    grid-auto-columns: minmax(260px, 82vw);
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
  }
}
/* @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700;800&display=swap'); */
/* =====================================================
   KANNU CARS - HOMEPAGE STYLES
   Matches the current HomePage.jsx
   Clean white, navy and blue design
===================================================== */

/* Main homepage */

.homepage {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: #ffffff;
  color: #172033;
}

.homepage main {
  width: 100%;
  background: #ffffff;
}

/* Common section label */

.homepage-section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #326bff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.5;
  text-transform: uppercase;
}


/* =====================================================
   SECTION 2 - MORE THAN A CAR. A NEW JOURNEY.
===================================================== */

.homepage-intro-section {
  width: 100%;
  padding: 105px 6%;
  background: #ffffff;
  box-sizing: border-box;
}

.homepage-intro-container {
  width: 100%;
  max-width: 1320px;
  min-height: 390px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 75px;
}

/* Text content */

.homepage-intro-content {
  max-width: 570px;
  text-align: left;
}

.homepage-intro-content h2 {
  max-width: 550px;
  margin: 0 0 18px;

  color: #192235;
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -1.8px;
}

.homepage-intro-content p {
  max-width: 530px;
  margin: 0 0 22px;

  color: #7b879b;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
}

.homepage-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: #326bff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  transition: color 0.2s ease, gap 0.2s ease;
}

.homepage-intro-link:hover {
  color: #1749bd;
  gap: 12px;
}

/* Image slideshow */

.homepage-intro-image {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;

  border-radius: 12px;
  background: #f0f4f8;
}

.homepage-intro-image img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  animation: homepageIntroFade 0.7s ease;
}

@keyframes homepageIntroFade {
  from {
    opacity: 0.35;
    transform: scale(1.015);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Image navigation dots */

.homepage-intro-dots {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 7px 10px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.28);
}

.homepage-intro-dots button {
  width: 7px;
  height: 7px;
  padding: 0;

  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);

  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.homepage-intro-dots button.active {
  width: 21px;
  background: #ffffff;
}


/* =====================================================
   SECTION 3 - A BETTER WAY TO FIND YOUR NEXT CAR
===================================================== */

.homepage-advantages-section {
  width: 100%;
  padding: 75px 6% 85px;
  background: #ffffff;
  box-sizing: border-box;
}

.homepage-advantages-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.homepage-advantages-heading {
  max-width: 650px;
  margin-bottom: 34px;
}

.homepage-advantages-heading h2 {
  margin: 0 0 15px;

  color: #192235;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.homepage-advantages-heading p {
  max-width: 570px;
  margin: 0;

  color: #8490a3;
  font-size: 14px;
  line-height: 1.8;
}

/* Three advantage cards */

.homepage-advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.homepage-advantage-card {
  min-height: 155px;
  padding: 25px 26px;

  background: #ffffff;
  border: 1px solid #e9edf2;
  border-radius: 12px;

  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.045);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.homepage-advantage-card:hover {
  transform: translateY(-4px);
  border-color: #d9e2f2;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.homepage-advantage-card span {
  display: block;
  margin-bottom: 15px;

  color: #326bff;
  font-size: 12px;
  font-weight: 800;
}

.homepage-advantage-card h3 {
  margin: 0 0 9px;

  color: #202a3c;
  font-size: 17px;
  font-weight: 700;
}

.homepage-advantage-card p {
  max-width: 310px;
  margin: 0;

  color: #8490a3;
  font-size: 13px;
  line-height: 1.7;
}


/* =====================================================
   SECTION 4 - EXPLORE OUR CARS
===================================================== */

.homepage-cars-section {
  width: 100%;
  padding: 25px 0 70px;
  background: #ffffff;
  box-sizing: border-box;
}


/* =====================================================
   SECTION 5 - FOOTER
===================================================== */

.homepage-footer {
  width: 100%;
  padding: 65px 6% 0;
  background: #111827;
  color: #ffffff;
  box-sizing: border-box;
}

.homepage-footer-container {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1.2fr 0.9fr;
  gap: 45px;

  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-bottom: 50px;
}

.homepage-footer h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.homepage-footer h2 span {
  font-size: 13px;
}

.homepage-footer h3 {
  margin: 5px 0 20px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.homepage-footer p {
  margin: 0 0 14px;
  color: #aeb7c5;
  font-size: 13px;
  line-height: 1.85;
}

.homepage-footer-about > p {
  max-width: 330px;
}

/* Footer links */

.homepage-footer a {
  display: block;
  width: fit-content;
  margin-bottom: 13px;

  color: #aeb7c5;
  font-size: 13px;
  text-decoration: none;

  transition: color 0.2s ease;
}

.homepage-footer a:hover {
  color: #ffffff;
}

/* Social links */

.homepage-footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.homepage-footer-socials a {
  margin: 0;
  color: #ffffff;
  font-weight: 600;
}

/* Footer bottom */

.homepage-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  width: 100%;
  max-width: 1320px;
  min-height: 75px;
  margin: 0 auto;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.homepage-footer-bottom p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.homepage-footer-bottom span {
  color: #929baa;
  font-size: 12px;
}

.homepage-footer-bottom div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.homepage-footer-bottom a {
  margin: 0;
  font-size: 12px;
}


/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

@media (max-width: 1000px) {
  .homepage-intro-container {
    gap: 40px;
  }

  .homepage-intro-image {
    height: 310px;
  }

  .homepage-footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .homepage-intro-section {
    padding: 65px 6%;
  }

  .homepage-intro-container {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  .homepage-intro-content h2 {
    font-size: 35px;
    letter-spacing: -1.2px;
  }

  .homepage-intro-image {
    height: 300px;
  }

  .homepage-advantages-section {
    padding: 60px 6%;
  }

  .homepage-advantages-heading h2 {
    font-size: 32px;
  }

  .homepage-advantages-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .homepage-advantage-card {
    min-height: auto;
  }

  .homepage-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }
}

@media (max-width: 550px) {
  .homepage-intro-section {
    padding: 50px 6%;
  }

  .homepage-intro-content h2 {
    font-size: 30px;
  }

  .homepage-intro-content p {
    font-size: 14px;
  }

  .homepage-intro-image {
    height: 240px;
  }

  .homepage-advantages-section {
    padding: 50px 6%;
  }

  .homepage-advantages-heading h2 {
    font-size: 29px;
  }

  .homepage-footer {
    padding: 45px 6% 0;
  }

  .homepage-footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .homepage-footer-bottom div {
    flex-wrap: wrap;
    gap: 18px;
  }
}



/* =========================================
   CUSTOMER JOURNEY SECTION
========================================= */

.customer-journey-section {
  width: 100%;
  padding: 105px 7%;
  background: #9a2b2b;
  overflow: hidden;
}

.customer-journey-container {
  max-width: 1320px;
  margin: 0 auto;
}

.customer-journey-heading {
  max-width: 620px;
  margin-bottom: 48px;
  animation: journeyFadeUp 0.8s ease both;
}

.customer-journey-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #356dff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.customer-journey-heading h2 {
  margin: 0 0 14px;
  color: #192235;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -1.3px;
}

.customer-journey-heading p {
  max-width: 550px;
  margin: 0;
  color: #778196;
  font-size: 14px;
  line-height: 1.8;
}

.customer-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.journey-card {
  position: relative;
  min-height: 245px;
  padding: 32px 30px;
  background: #ffffff;
  border: 1px solid #e9ebef;
  border-radius: 13px;
  box-shadow: 0 5px 18px rgba(25, 34, 53, 0.035);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  animation: journeyFadeUp 0.8s ease both;
}

.journey-card:nth-child(2) {
  animation-delay: 0.12s;
}

.journey-card:nth-child(3) {
  animation-delay: 0.24s;
}

.journey-card:hover {
  transform: translateY(-6px);
  border-color: #d8e1f7;
  box-shadow: 0 14px 30px rgba(25, 34, 53, 0.08);
}

.journey-number {
  display: block;
  margin-bottom: 23px;
  color: #356dff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.journey-icon {
  display: none;
}

.journey-card h3 {
  margin: 0 0 12px;
  color: #202a3d;
  font-size: 18px;
  font-weight: 700;
}

.journey-card p {
  margin: 0;
  color: #7d8799;
  font-size: 13px;
  line-height: 1.8;
}

/* Subtle entrance animation */

@keyframes journeyFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 900px) {
  .customer-journey-section {
    padding: 75px 5%;
  }

  .customer-journey-grid {
    gap: 16px;
  }

  .journey-card {
    padding: 25px 20px;
  }
}

@media (max-width: 650px) {
  .customer-journey-section {
    padding: 65px 6%;
  }

  .customer-journey-heading {
    margin-bottom: 30px;
  }

  .customer-journey-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .journey-card {
    min-height: auto;
    padding: 25px;
  }

  .journey-number {
    margin-bottom: 15px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .journey-card,
  .customer-journey-heading {
    animation: none;
    transition: none;
  }

  .journey-card:hover {
    transform: none;
  }
}



/* ==========================================
   CUSTOMER JOURNEY SECTION
========================================== */

.customer-journey-section {
  position: relative;
  width: 100%;
  padding: 85px 0 65px;
  background: #ffffff;
  overflow: hidden;
}

.customer-journey-container {
  width: min(1400px, 88%);
  margin: 0 auto;
}

/* Heading */

.customer-journey-heading {
  max-width: 780px;
  margin-bottom: 45px;
}

.customer-journey-eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  color: #376dff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.customer-journey-heading h2 {
  margin: 0 0 13px;
  color: #192236;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -1.2px;
}

.customer-journey-heading p {
  max-width: 650px;
  margin: 0;
  color: #7d8ba5;
  font-size: 14px;
  line-height: 1.75;
}

/* ==========================================
   IMAGE CAROUSEL
========================================== */

.journey-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 455px;
  margin: 0 auto;
}

/* Smaller central image */

.journey-main-card {
  position: relative;
  z-index: 3;
  width: min(450px, 38%);
  height: 445px;
  overflow: hidden;
  border-radius: 25px;
  background: #171717;
  box-shadow: 0 18px 45px rgba(20, 28, 45, 0.13);
  animation: journeyCardEnter 0.5s ease both;
}

@keyframes journeyCardEnter {
  from {
    opacity: 0.65;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.journey-main-image {
  position: absolute;
  inset: 0;
}

.journey-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.journey-main-card:hover .journey-main-image img {
  transform: scale(1.025);
}

/* Bottom gradient */

.journey-main-card::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.2) 25%,
    rgba(0, 0, 0, 0.88)
  );
  pointer-events: none;
}

/* Progress bar */

.journey-progress {
  position: absolute;
  top: 15px;
  left: 18px;
  right: 18px;
  z-index: 5;
  height: 4px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.4);
}

.journey-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ffffff;
  transition: width 0.4s ease;
}

/* Main card text */

.journey-main-overlay {
  position: absolute;
  z-index: 2;
  right: 23px;
  bottom: 23px;
  left: 23px;
  color: #ffffff;
}

.journey-main-overlay > span {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.journey-main-overlay h3 {
  margin: 0 0 7px;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 750;
  line-height: 1.2;
}

.journey-main-overlay p {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.55;
}

/* ==========================================
   SIDE PREVIEW IMAGES
========================================== */

.journey-side-card {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 30%;
  height: 330px;
  overflow: hidden;
  border-radius: 20px;
  background: #f1f2f4;
  transform: translateY(-50%);
}

.journey-side-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-side-left {
  left: 12%;
  opacity: 0.48;
}

.journey-side-right {
  right: 12%;
  opacity: 0.48;
}

/* ==========================================
   NAVIGATION ARROWS
========================================== */

.journey-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #65758f;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(20, 28, 45, 0.12);
  transform: translateY(-50%);
  transition: background 0.25s ease, color 0.25s ease,
    transform 0.25s ease;
}

.journey-arrow:hover {
  background: #192236;
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.journey-arrow-left {
  left: 1%;
}

.journey-arrow-right {
  right: 1%;
}

/* ==========================================
   PAGINATION
========================================== */

.journey-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.journey-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.journey-pagination button {
  width: 22px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 20px;
  background: #d3d8e1;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.journey-pagination button.active {
  width: 38px;
  background: #376dff;
}

.journey-carousel-footer > span {
  color: #758198;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ==========================================
   BOTTOM CTA
========================================== */

.journey-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 38px;
  padding-top: 23px;
  border-top: 1px solid #e9ebef;
}

.journey-bottom-cta h3 {
  margin: 0;
  color: #192236;
  font-size: 18px;
  font-weight: 700;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1000px) {
  .customer-journey-container {
    width: 90%;
  }

  .journey-carousel {
    min-height: 400px;
  }

  .journey-main-card {
    width: 44%;
    height: 390px;
  }

  .journey-side-card {
    width: 32%;
    height: 290px;
  }

  .journey-side-left {
    left: 7%;
  }

  .journey-side-right {
    right: 7%;
  }
}

@media (max-width: 650px) {
  .customer-journey-section {
    padding: 60px 0 48px;
  }

  .customer-journey-heading {
    margin-bottom: 30px;
  }

  .customer-journey-heading h2 {
    font-size: 29px;
    letter-spacing: -0.8px;
  }

  .customer-journey-heading p {
    font-size: 13px;
  }

  .journey-carousel {
    min-height: 365px;
  }

  .journey-main-card {
    width: 82%;
    height: 355px;
    border-radius: 20px;
  }

  .journey-side-card {
    display: none;
  }

  .journey-main-overlay {
    right: 17px;
    bottom: 18px;
    left: 17px;
  }

  .journey-main-overlay h3 {
    font-size: 19px;
  }

  .journey-main-overlay p {
    font-size: 12px;
  }

  .journey-arrow {
    width: 38px;
    height: 38px;
    font-size: 25px;
  }

  .journey-arrow-left {
    left: -5px;
  }

  .journey-arrow-right {
    right: -5px;
  }

  .journey-bottom-cta {
    margin-top: 28px;
    padding-top: 20px;
  }

  .journey-bottom-cta h3 {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-main-card {
    animation: none;
  }

  .journey-main-image img,
  .journey-arrow,
  .journey-pagination button {
    transition: none;
  }
}



/* =====================================================
   KANNU CARS - EDITORIAL TYPOGRAPHY
   Reference: Elegant serif headings + clean body text
===================================================== */




/* Global homepage font */

.homepage {
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.homepage p,
.homepage a,
.homepage button,
.homepage span,
.homepage li {
  font-family: "DM Sans", sans-serif;
}


/* =====================================================
   MAIN EDITORIAL HEADINGS
===================================================== */

.homepage-intro-content h2,
.homepage-advantages-heading h2,
.customer-journey-heading h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: #171717;
}


/* Section 2 - More than a car */

.homepage-intro-content h2 {
  font-size: clamp(42px, 4.8vw, 66px);
}


/* Section 3 - A better way to find your next car */

.homepage-advantages-heading h2 {
  font-size: clamp(40px, 4.4vw, 60px);
}


/* Customer journey heading */

.customer-journey-heading h2 {
  font-size: clamp(42px, 4.6vw, 62px);
}


/* =====================================================
   BODY TEXT
===================================================== */

.homepage-intro-content p,
.homepage-advantages-heading p,
.customer-journey-heading p {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.005em;
  color: #777777;
}


/* =====================================================
   SECTION LABELS
===================================================== */

.homepage-section-label,
.customer-journey-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1.7;
  color: #777777;
}


/* =====================================================
   CARDS AND SUPPORTING HEADINGS
===================================================== */

.homepage-advantage-card h3,
.journey-card h3,
.journey-main-overlay h3,
.homepage-footer h2,
.homepage-footer h3,
.journey-bottom-cta h3 {
  font-family: "DM Sans", sans-serif;
}


/* =====================================================
   CUSTOMER JOURNEY CAROUSEL
===================================================== */

.journey-main-overlay h3 {
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.journey-main-overlay p {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  line-height: 1.65;
}


/* =====================================================
   RESPONSIVE TYPOGRAPHY
===================================================== */

@media (max-width: 768px) {

  .homepage-intro-content h2,
  .homepage-advantages-heading h2,
  .customer-journey-heading h2 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1;
  }

  .homepage-intro-content p,
  .homepage-advantages-heading p,
  .customer-journey-heading p {
    font-size: 13px;
    line-height: 1.8;
  }
}


/* =====================================================
   ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {
  .homepage *,
  .homepage *::before,
  .homepage *::after {
    scroll-behavior: auto !important;
  }
}
/* =========================================================
   KANNUR PLATINUM DRIVE
   PREMIUM EDITORIAL HOMEPAGE
   ========================================================= */

.kpd-editorial-home {
  --editorial-ink: #171b26;
  --editorial-muted: #747e8c;
  --editorial-line: #e7eaf0;
  --editorial-blue: #27376e;
  --editorial-orange: #e96b36;
  --editorial-paper: #ffffff;
  --editorial-soft: #f7f8fa;
}

.kpd-editorial-home main {
  background: var(--editorial-paper);
}

.editorial-shell {
  width: min(1320px, 88%);
  margin: 0 auto;
}

.editorial-eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--editorial-orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-transform: uppercase;
}

.editorial-heading h2,
.editorial-stats-intro h2,
.editorial-why-heading h2,
.editorial-sell-content h2,
.editorial-showroom-copy h2,
.editorial-faq-intro h2 {
  margin: 0;
  color: var(--editorial-ink);
  font-family: var(--kpd-heading-font);
  font-size: clamp(34px, 4.2vw, 55px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.editorial-heading h2 em,
.editorial-why-heading h2 em,
.editorial-sell-content h2 em,
.editorial-showroom-copy h2 em,
.editorial-faq-intro h2 em {
  color: #7c8795;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.editorial-heading > p,
.editorial-why-heading > p,
.editorial-sell-content > p,
.editorial-showroom-copy > p,
.editorial-faq-intro > p {
  max-width: 590px;
  margin: 17px 0 0;
  color: var(--editorial-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.editorial-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.7, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* =========================================================
   02. TRUST AND STATISTICS
   ========================================================= */

.editorial-stats-section {
  position: relative;
  width: 100%;
  padding: clamp(75px, 8vw, 112px) 5% clamp(85px, 9vw, 120px);
  overflow: hidden;
  background: #ffffff;
  text-align: center;
}

.editorial-stats-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.editorial-stats-intro {
  max-width: 760px;
  margin: 0 auto;
}

.editorial-stats-intro .editorial-eyebrow {
  margin-bottom: 20px;
}

.editorial-stats-intro h2 {
  color: #302c68;
  font-size: clamp(34px, 4.2vw, 53px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.editorial-stats-intro h2 em {
  color: #2387a1;
  font-style: normal;
  font-family: inherit;
  font-weight: 500;
}

.editorial-stats-intro > p {
  max-width: 690px;
  margin: 21px auto 0;
  color: #727b89;
  font-size: 13px;
  line-height: 1.9;
}

.editorial-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 45px;
  row-gap: 48px;
  max-width: 1160px;
  margin: 64px auto 0;
}

.editorial-stat-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  opacity: 0;
  transform: translateY(18px);
  animation: editorial-stat-enter 650ms cubic-bezier(0.2, 0.7, 0.25, 1) forwards;
  animation-delay: var(--stat-delay, 0ms);
}

@keyframes editorial-stat-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.editorial-stat-value {
  min-height: 57px;
  color: #383478;
  font-family: var(--kpd-heading-font);
  font-size: clamp(34px, 3.6vw, 47px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.editorial-stat-item h3 {
  margin: 10px 0 0;
  color: #424c5d;
  font-family: var(--kpd-body-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.editorial-stat-item p {
  max-width: 290px;
  margin: 7px auto 0;
  color: #818a98;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.75;
}

/* =========================================================
   03. EXPLORE OUR CARS
   ========================================================= */

.kpd-editorial-home .editorial-cars-section {
  padding: 94px 6% 100px;
  background: #f7f8fa;
}

.editorial-cars-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.editorial-cars-heading h2 {
  margin: 0;
  color: var(--editorial-ink);
  font-family: var(--kpd-heading-font);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.editorial-cars-heading p {
  margin: 12px 0 0;
  color: var(--editorial-muted);
  font-size: 13px;
  line-height: 1.7;
}

.editorial-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--editorial-blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, gap 180ms ease;
}

.editorial-text-link:hover {
  gap: 14px;
  color: var(--editorial-orange);
}

/* =========================================================
   04. PROCESS - DARK EDITORIAL ROUTE
   ========================================================= */

.editorial-process-section {
  position: relative;
  overflow: hidden;
  padding: 95px 0 48px;
  background: #171719;
  color: #ffffff;
}

.editorial-process-inner {
  width: min(1440px, 94%);
  margin: 0 auto;
}

.editorial-process-heading {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 2%;
}

.editorial-process-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #e5b8bb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.editorial-process-heading h2 {
  margin: 0;
  color: #f7f3ed;
  font-family: var(--kpd-heading-font);
  font-size: clamp(34px, 4.2vw, 53px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.editorial-process-heading h2 span {
  color: #e7bfc1;
}

.editorial-process-heading p {
  max-width: 490px;
  margin: 17px 0 0;
  color: #aaa8a7;
  font-size: 13px;
  line-height: 1.85;
}

/* Route stage */

.editorial-process-track {
  position: relative;
  min-height: 585px;
  margin-top: 15px;
}

.editorial-process-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.process-route-base,
.process-route-progress {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-route-base {
  stroke: #e8c3c6;
  stroke-width: 72;
  opacity: 0.96;
}

.process-route-progress {
  stroke: #fff0e9;
  stroke-width: 5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.95;
}

.process-started .process-route-progress {
  animation: process-route-draw 5.8s ease forwards;
}

@keyframes process-route-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Process stations */

.editorial-process-step {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transform: translateY(22px) scale(0.97);
}

.process-started .editorial-process-step {
  animation: process-step-enter 850ms cubic-bezier(0.2, 0.7, 0.25, 1) forwards;
}

.process-step-one {
  top: 42px;
  left: 3%;
  --process-delay: 0.35s;
}

.process-step-two {
  top: 330px;
  left: 24%;
  flex-direction: column;
  align-items: flex-start;
  --process-delay: 1.65s;
}

.process-step-three {
  top: 105px;
  left: 51%;
  flex-direction: column;
  align-items: flex-start;
  --process-delay: 2.95s;
}

.process-step-four {
  top: 205px;
  right: 1%;
  flex-direction: column;
  align-items: flex-end;
  --process-delay: 4.25s;
}

.process-started .editorial-process-step {
  animation-delay: var(--process-delay);
}

@keyframes process-step-enter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.process-step-circle {
  display: grid;
  width: 145px;
  height: 145px;
  flex: 0 0 145px;
  place-items: center;
  border: 4px solid #f3e8df;
  border-radius: 50%;
  background: #1b1b1d;
  color: #f7f1e9;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.035);
  transition:
    background 250ms ease,
    color 250ms ease,
    transform 250ms ease;
}

.editorial-process-step:hover .process-step-circle {
  transform: scale(1.045);
  background: #e7bfc1;
  color: #171719;
}

.process-step-card {
  width: 220px;
  padding: 19px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: #f3eee7;
  color: #222226;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.process-step-card > span {
  display: block;
  margin-bottom: 8px;
  color: #9b6568;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.process-step-card h3 {
  margin: 0 0 8px;
  color: #202024;
  font-family: var(--kpd-heading-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.process-step-card p {
  margin: 0;
  color: #65636a;
  font-size: 10px;
  line-height: 1.65;
}

/* Bottom line */

.editorial-process-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 5px;
  padding: 24px 2% 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.editorial-process-bottom > span {
  color: #b9b6b4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.editorial-process-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f1c9ca;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 180ms ease;
}

.editorial-process-bottom a:hover {
  gap: 15px;
}

/* =========================================================
   05. CUSTOMER JOURNEY
   ========================================================= */

.editorial-journey-section {
  padding: 105px 0 95px;
  background: #ffffff;
}

.editorial-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.editorial-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.editorial-journey-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
}

.editorial-journey-image {
  position: relative;
  height: 285px;
  overflow: hidden;
  background: #e9edf1;
}

.editorial-journey-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.editorial-journey-card:hover .editorial-journey-image img {
  transform: scale(1.045);
}

.editorial-journey-image > span {
  position: absolute;
  top: 17px;
  left: 17px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--editorial-blue);
  font-size: 11px;
  font-weight: 700;
}

.editorial-journey-copy {
  padding: 23px 3px 8px;
}

.editorial-journey-copy h3 {
  margin: 0 0 9px;
  color: var(--editorial-ink);
  font-family: var(--kpd-heading-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.editorial-journey-copy p {
  max-width: 350px;
  margin: 0;
  color: var(--editorial-muted);
  font-size: 12px;
  line-height: 1.85;
}

.editorial-journey-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 63px;
  padding: 30px 0 0;
  border-top: 1px solid var(--editorial-line);
}

.editorial-journey-bottom .editorial-eyebrow {
  margin-bottom: 9px;
}

.editorial-journey-bottom h3 {
  margin: 0;
  color: var(--editorial-ink);
  font-family: var(--kpd-heading-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.editorial-dark-button,
.editorial-orange-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 49px;
  padding: 0 22px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.editorial-dark-button {
  background: var(--editorial-blue);
  color: #ffffff;
}

.editorial-dark-button:hover {
  background: #102846;
  transform: translateY(-2px);
}

/* =========================================================
   06. WHY CHOOSE KPD
   ========================================================= */

.editorial-why-section {
  padding: 105px 0;
  background: #f7f8fa;
}

.editorial-why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(55px, 9vw, 130px);
  align-items: start;
}

.editorial-why-heading {
  position: sticky;
  top: 100px;
}

.editorial-why-heading .editorial-text-link {
  margin-top: 29px;
}

.editorial-benefits {
  border-top: 1px solid #dfe4ea;
}

.editorial-benefit {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 26px;
  align-items: start;
  gap: 20px;
  padding: 27px 0;
  border-bottom: 1px solid #dfe4ea;
  transition: padding 200ms ease;
}

.editorial-benefit:hover {
  padding-right: 8px;
  padding-left: 8px;
}

.editorial-benefit-number {
  padding-top: 3px;
  color: #9aa4b1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.editorial-benefit h3 {
  margin: 0 0 8px;
  color: var(--editorial-ink);
  font-family: var(--kpd-heading-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.editorial-benefit p {
  max-width: 430px;
  margin: 0;
  color: var(--editorial-muted);
  font-size: 12px;
  line-height: 1.8;
}

.editorial-benefit > svg {
  color: var(--editorial-orange);
}

/* =========================================================
   07. SELL YOUR CAR
   ========================================================= */

.editorial-sell-section {
  padding: 100px 6%;
  background: #ffffff;
}

.editorial-sell-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1320px;
  min-height: 480px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--editorial-line);
  border-radius: 4px;
  background: #f8f9fb;
}

.editorial-sell-image {
  min-height: 480px;
  overflow: hidden;
  background: #e4e8ed;
}

.editorial-sell-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.editorial-sell-panel:hover .editorial-sell-image img {
  transform: scale(1.035);
}

.editorial-sell-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(35px, 5vw, 75px);
}

.editorial-sell-content h2 {
  font-size: clamp(33px, 3.8vw, 48px);
}

.editorial-sell-points {
  display: grid;
  gap: 14px;
  margin: 26px 0 29px;
}

.editorial-sell-points span {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #4f5d6e;
  font-size: 12px;
  font-weight: 500;
}

.editorial-sell-points svg {
  color: var(--editorial-orange);
}

.editorial-orange-button {
  background: var(--editorial-orange);
  color: #ffffff;
}

.editorial-orange-button:hover {
  background: #dc5917;
  transform: translateY(-2px);
}

/* =========================================================
   08. SHOWROOM
   ========================================================= */

.editorial-showroom-section {
  padding: 105px 0;
  background: #f7f8fa;
}

.editorial-showroom-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
}

.editorial-showroom-copy h2 {
  font-size: clamp(34px, 4vw, 49px);
}

.editorial-showroom-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 27px;
}

.editorial-showroom-detail > svg {
  flex: 0 0 auto;
  color: var(--editorial-orange);
}

.editorial-showroom-detail div {
  display: grid;
  gap: 6px;
}

.editorial-showroom-detail strong {
  color: var(--editorial-ink);
  font-size: 13px;
  font-weight: 700;
}

.editorial-showroom-detail span {
  color: var(--editorial-muted);
  font-size: 12px;
  line-height: 1.6;
}

.editorial-showroom-copy .editorial-dark-button {
  margin-top: 31px;
}

.editorial-showroom-image {
  position: relative;
  display: block;
  height: 430px;
  overflow: hidden;
  background: #e1e6eb;
  text-decoration: none;
}

.editorial-showroom-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.editorial-showroom-image:hover img {
  transform: scale(1.04);
}

.editorial-image-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  background: rgba(11, 25, 44, 0.9);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

/* =========================================================
   09. FAQ
   ========================================================= */

.editorial-faq-section {
  padding: 105px 0 115px;
  background: #ffffff;
}

.editorial-faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 9vw, 125px);
  align-items: start;
}

.editorial-faq-intro h2 {
  font-size: clamp(34px, 3.8vw, 47px);
}

.editorial-faq-intro .editorial-text-link {
  margin-top: 25px;
}

.editorial-faq-list {
  border-top: 1px solid var(--editorial-line);
}

.editorial-faq-item {
  border-bottom: 1px solid var(--editorial-line);
}

.editorial-faq-question {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--editorial-ink);
  text-align: left;
  font-family: var(--kpd-body-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.editorial-faq-chevron {
  flex: 0 0 auto;
  color: var(--editorial-muted);
  transition: transform 220ms ease, color 220ms ease;
}

.editorial-faq-item.is-open .editorial-faq-chevron {
  color: var(--editorial-orange);
  transform: rotate(180deg);
}

.editorial-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 250ms ease,
    opacity 200ms ease;
}

.editorial-faq-item.is-open .editorial-faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.editorial-faq-answer p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 35px 0 0;
  color: var(--editorial-muted);
  font-size: 12px;
  line-height: 1.9;
  transition: padding 250ms ease;
}

.editorial-faq-item.is-open .editorial-faq-answer p {
  padding-bottom: 24px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {
  .editorial-stats-grid {
    column-gap: 25px;
    row-gap: 42px;
  }

  .editorial-why-layout,
  .editorial-showroom-layout {
    gap: 45px;
  }

  .editorial-journey-image {
    height: 230px;
  }

  .editorial-sell-content {
    padding: 35px;
  }

  .editorial-process-track {
    min-height: 500px;
  }

  .process-step-circle {
    width: 115px;
    height: 115px;
    flex-basis: 115px;
  }

  .process-step-circle svg {
    width: 43px;
    height: 43px;
  }

  .process-step-card {
    width: 185px;
    padding: 15px;
  }

  .process-step-one {
    left: 1%;
  }

  .process-step-two {
    left: 22%;
    top: 295px;
  }

  .process-step-three {
    left: 49%;
    top: 95px;
  }

  .process-step-four {
    right: 0;
    top: 190px;
  }
}

/* =========================================================
   MOBILE PROCESS LAYOUT
   ========================================================= */

@media (max-width: 700px) {
  .editorial-shell {
    width: 90%;
  }

  .editorial-stats-section,
  .editorial-journey-section,
  .editorial-why-section,
  .editorial-showroom-section,
  .editorial-faq-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .editorial-stats-intro h2,
  .editorial-heading h2,
  .editorial-why-heading h2,
  .editorial-sell-content h2,
  .editorial-showroom-copy h2,
  .editorial-faq-intro h2 {
    font-size: clamp(31px, 8vw, 42px);
  }

  .editorial-stats-intro > p,
  .editorial-heading > p,
  .editorial-why-heading > p,
  .editorial-sell-content > p,
  .editorial-showroom-copy > p,
  .editorial-faq-intro > p {
    font-size: 12px;
  }

  .editorial-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 37px;
    margin-top: 45px;
  }

  .editorial-stat-item {
    padding: 0 5px;
  }

  .editorial-stat-value {
    min-height: 46px;
    font-size: clamp(25px, 6.5vw, 35px);
  }

  .editorial-stat-item h3 {
    font-size: 11px;
  }

  .editorial-stat-item p {
    max-width: 190px;
    font-size: 10px;
  }

  .kpd-editorial-home .editorial-cars-section {
    padding: 68px 5%;
  }

  .editorial-cars-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .editorial-cars-heading h2 {
    font-size: 34px;
  }

  /* Process becomes a vertical editorial timeline on mobile. */

  .editorial-process-section {
    padding: 75px 0 35px;
  }

  .editorial-process-inner {
    width: 90%;
  }

  .editorial-process-heading {
    padding: 0;
  }

  .editorial-process-heading h2 {
    font-size: clamp(32px, 8vw, 42px);
  }

  .editorial-process-track {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 0;
    margin-top: 40px;
    padding-left: 0;
  }

  .editorial-process-route {
    top: 20px;
    left: 32px;
    width: 55px;
    height: calc(100% - 35px);
    overflow: visible;
  }

  .process-route-base {
    stroke-width: 34;
  }

  .process-route-progress {
    stroke-width: 3;
  }

  .editorial-process-step,
  .process-step-one,
  .process-step-two,
  .process-step-three,
  .process-step-four {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    align-items: center;
    gap: 17px;
    width: 100%;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(18px);
  }

  .process-started .editorial-process-step {
    animation: process-step-enter 700ms ease forwards;
  }

  .process-step-one {
    --process-delay: 0.3s;
  }

  .process-step-two {
    --process-delay: 1.3s;
  }

  .process-step-three {
    --process-delay: 2.3s;
  }

  .process-step-four {
    --process-delay: 3.3s;
  }

  .process-step-circle {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
    border-width: 2px;
  }

  .process-step-circle svg {
    width: 30px;
    height: 30px;
  }

  .process-step-card {
    width: 100%;
    padding: 17px;
  }

  .process-step-card h3 {
    font-size: 14px;
  }

  .process-step-card p {
    font-size: 10px;
  }

  .editorial-process-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 5px;
    padding: 22px 0 0;
  }

  .editorial-journey-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .editorial-journey-image {
    height: 255px;
  }

  .editorial-journey-copy {
    padding-top: 17px;
  }

  .editorial-journey-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 38px;
  }

  .editorial-why-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .editorial-why-heading {
    position: static;
  }

  .editorial-benefit {
    grid-template-columns: 28px minmax(0, 1fr) 23px;
    gap: 12px;
    padding: 23px 0;
  }

  .editorial-benefit h3 {
    font-size: 15px;
  }

  .editorial-benefit p {
    font-size: 11px;
  }

  .editorial-sell-section {
    padding: 65px 5%;
  }

  .editorial-sell-panel {
    grid-template-columns: 1fr;
  }

  .editorial-sell-image {
    min-height: 260px;
    height: 260px;
  }

  .editorial-sell-content {
    padding: 30px 24px 35px;
  }

  .editorial-showroom-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .editorial-showroom-image {
    height: 290px;
  }

  .editorial-faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .editorial-faq-question {
    min-height: 68px;
    font-size: 12px;
  }

  .editorial-faq-answer p {
    font-size: 11px;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {
  .editorial-stats-grid {
    column-gap: 5px;
    row-gap: 32px;
  }

  .editorial-stat-value {
    font-size: 25px;
  }

  .editorial-sell-content {
    padding: 27px 20px 30px;
  }

  .editorial-dark-button,
  .editorial-orange-button {
    width: 100%;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .editorial-reveal,
  .editorial-stat-item,
  .editorial-process-step,
  .process-route-progress {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
    stroke-dashoffset: 0;
  }

  .editorial-journey-image img,
  .editorial-sell-image img,
  .editorial-showroom-image img,
  .editorial-faq-chevron {
    transition: none;
  }
}


/* =========================================================
   PROCESS ROAD DRAW — animated only when the section enters
   ========================================================= */

.editorial-process-route .process-route-base,
.editorial-process-route .process-route-progress {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.editorial-process-route-desktop-svg { display: block; }
.editorial-process-route-mobile-svg { display: none; }

.process-started .editorial-process-route-desktop-svg .process-route-base {
  animation: process-road-draw 6.8s cubic-bezier(0.62, 0, 0.32, 1) forwards;
}

.process-started .editorial-process-route-desktop-svg .process-route-progress {
  animation: process-road-draw 6.8s cubic-bezier(0.62, 0, 0.32, 1) 180ms forwards;
}

@keyframes process-road-draw {
  to { stroke-dashoffset: 0; }
}

/* The stations appear as the animated road reaches them. */
.process-started .process-step-one { animation-delay: 650ms; }
.process-started .process-step-two { animation-delay: 2250ms; }
.process-started .process-step-three { animation-delay: 3900ms; }
.process-started .process-step-four { animation-delay: 5450ms; }

.process-step-circle { position: relative; }

.process-started .editorial-process-step .process-step-circle {
  animation: process-station-pulse 650ms ease-out both;
  animation-delay: var(--station-delay, 650ms);
}

.process-step-one { --station-delay: 650ms; }
.process-step-two { --station-delay: 2250ms; }
.process-step-three { --station-delay: 3900ms; }
.process-step-four { --station-delay: 5450ms; }

@keyframes process-station-pulse {
  0% { box-shadow: 0 0 0 0 rgba(231, 191, 193, 0); }
  55% { box-shadow: 0 0 0 13px rgba(231, 191, 193, 0.18); }
  100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.035); }
}

/* Mobile route: a vertical path behind the four existing stations. */
@media (max-width: 700px) {
  .editorial-process-route-desktop-svg { display: none; }
  .editorial-process-route-mobile-svg { display: block; }

  .editorial-process-route {
    top: 0;
    left: 0;
    width: 66px;
    height: calc(100% - 20px);
    overflow: visible;
  }

  .process-route-base { stroke-width: 25; }
  .process-route-progress { stroke-width: 3; }

  .process-started .editorial-process-route-mobile-svg .process-route-base {
    animation: process-road-draw 6.8s cubic-bezier(0.62, 0, 0.32, 1) forwards;
  }

  .process-started .editorial-process-route-mobile-svg .process-route-progress {
    animation: process-road-draw 6.8s cubic-bezier(0.62, 0, 0.32, 1) 180ms forwards;
  }

  .process-started .process-step-one { animation-delay: 650ms; }
  .process-started .process-step-two { animation-delay: 2250ms; }
  .process-started .process-step-three { animation-delay: 3900ms; }
  .process-started .process-step-four { animation-delay: 5450ms; }
}

@media (prefers-reduced-motion: reduce) {
  .process-route-base,
  .process-route-progress {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  .editorial-process-step,
  .process-step-circle {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}



/* =========================================================
   KPD HOMEPAGE REFINEMENT — CUSTOMER JOURNEY + RESPONSIVE
   Existing section content and process animations are preserved.
   ========================================================= */

/* Journey cards: alternating editorial composition inspired by the reference */
.kpd-editorial-home .editorial-journey-section {
  padding: clamp(76px, 8vw, 112px) 0 clamp(72px, 7vw, 100px);
  background: #fff;
}

.kpd-editorial-home .editorial-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 2vw, 28px);
  margin-top: 48px;
}

.kpd-editorial-home .editorial-journey-card {
  display: flex;
  min-width: 0;
  min-height: 500px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(24, 31, 43, 0.055);
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 12px 34px rgba(25, 32, 45, 0.075),
    0 2px 8px rgba(25, 32, 45, 0.035);
  transition:
    transform 350ms cubic-bezier(0.2, 0.7, 0.25, 1),
    box-shadow 350ms ease;
}

/* First and third cards place the copy above the photograph, like the reference. */
.kpd-editorial-home .editorial-journey-card:nth-child(odd) {
  flex-direction: column-reverse;
}

.kpd-editorial-home .editorial-journey-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 46px rgba(25, 32, 45, 0.12),
    0 4px 12px rgba(25, 32, 45, 0.045);
}

.kpd-editorial-home .editorial-journey-image {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 275px;
  overflow: hidden;
  isolation: isolate;
  background: #e8ebef;
}

/* Smoky fade blends the photo into the white copy panel. */
.kpd-editorial-home .editorial-journey-image::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 36%;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.24) 48%,
    rgba(255, 255, 255, 0.92) 100%
  );
}

.kpd-editorial-home .editorial-journey-card:nth-child(odd) .editorial-journey-image::after {
  top: 0;
  bottom: auto;
  height: 34%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.26) 48%,
    rgba(255, 255, 255, 0.94) 100%
  );
}

.kpd-editorial-home .editorial-journey-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.kpd-editorial-home .editorial-journey-card:nth-child(1) .editorial-journey-image img {
  object-position: 52% center;
}

.kpd-editorial-home .editorial-journey-card:nth-child(2) .editorial-journey-image img {
  object-position: center;
}

.kpd-editorial-home .editorial-journey-card:nth-child(3) .editorial-journey-image img {
  object-position: 55% center;
}

.kpd-editorial-home .editorial-journey-card:hover .editorial-journey-image img {
  transform: scale(1.045);
}

.kpd-editorial-home .editorial-journey-image > span {
  top: 20px;
  left: 20px;
  z-index: 2;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.96);
  color: #27376e;
  font-size: 12px;
  box-shadow: 0 5px 18px rgba(20, 25, 35, 0.1);
}

.kpd-editorial-home .editorial-journey-copy {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-height: 158px;
  padding: 27px 27px 29px;
  background: #fff;
}

.kpd-editorial-home .editorial-journey-copy h3 {
  margin-bottom: 11px;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.25;
}

.kpd-editorial-home .editorial-journey-copy p {
  max-width: 390px;
  font-size: 13px;
  line-height: 1.8;
}

/* The odd-card copy sits at the top, with a subtle photographic transition below it. */
.kpd-editorial-home .editorial-journey-card:nth-child(odd) .editorial-journey-copy {
  padding-bottom: 22px;
}

.kpd-editorial-home .editorial-journey-bottom {
  margin-top: 54px;
}

/* Keep the section heading aligned with the card composition. */
.kpd-editorial-home .editorial-journey-section .editorial-heading {
  max-width: 850px;
  margin-bottom: 0;
}

.kpd-editorial-home .editorial-journey-section .editorial-heading h2 {
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.04;
}

.kpd-editorial-home .editorial-journey-section .editorial-heading h2 em {
  display: inline-block;
  margin-top: 4px;
  font-size: 1.04em;
}

/* Global mobile safety: prevent horizontal overflow without altering section behavior. */
.kpd-editorial-home,
.kpd-editorial-home main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.kpd-editorial-home img {
  max-width: 100%;
}

@media (max-width: 1000px) {
  .kpd-editorial-home .editorial-journey-grid {
    gap: 17px;
  }

  .kpd-editorial-home .editorial-journey-card {
    min-height: 450px;
  }

  .kpd-editorial-home .editorial-journey-image {
    min-height: 245px;
  }

  .kpd-editorial-home .editorial-journey-copy {
    min-height: 150px;
    padding: 23px 21px 25px;
  }
}

@media (max-width: 700px) {
  .kpd-editorial-home .editorial-journey-section {
    padding: 66px 0 70px;
  }

  .kpd-editorial-home .editorial-journey-section .editorial-shell {
    width: min(100% - 36px, 560px);
  }

  .kpd-editorial-home .editorial-journey-section .editorial-heading {
    margin-bottom: 31px;
  }

  .kpd-editorial-home .editorial-journey-section .editorial-heading h2 {
    font-size: clamp(34px, 8.2vw, 43px);
    line-height: 1.08;
    letter-spacing: -0.05em;
  }

  .kpd-editorial-home .editorial-journey-section .editorial-heading h2 br {
    display: none;
  }

  .kpd-editorial-home .editorial-journey-section .editorial-heading h2 em {
    margin-top: 3px;
  }

  .kpd-editorial-home .editorial-journey-section .editorial-heading > p {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.75;
  }

  .kpd-editorial-home .editorial-journey-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 0;
  }

  .kpd-editorial-home .editorial-journey-card,
  .kpd-editorial-home .editorial-journey-card:nth-child(odd) {
    min-height: 0;
    flex-direction: column;
    border-radius: 20px;
  }

  /* On narrow screens, image-first keeps the story easy to scan. */
  .kpd-editorial-home .editorial-journey-image {
    flex: none;
    height: clamp(225px, 62vw, 330px);
    min-height: 0;
  }

  .kpd-editorial-home .editorial-journey-image::after,
  .kpd-editorial-home .editorial-journey-card:nth-child(odd) .editorial-journey-image::after {
    top: auto;
    bottom: 0;
    height: 30%;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.22) 48%,
      rgba(255, 255, 255, 0.94) 100%
    );
  }

  .kpd-editorial-home .editorial-journey-image > span {
    top: 14px;
    left: 14px;
    width: 42px;
    height: 42px;
  }

  .kpd-editorial-home .editorial-journey-copy,
  .kpd-editorial-home .editorial-journey-card:nth-child(odd) .editorial-journey-copy {
    min-height: 0;
    padding: 20px 20px 23px;
  }

  .kpd-editorial-home .editorial-journey-copy h3 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .kpd-editorial-home .editorial-journey-copy p {
    max-width: none;
    font-size: 13px;
    line-height: 1.75;
  }

  .kpd-editorial-home .editorial-journey-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 38px;
    padding-top: 25px;
  }

  .kpd-editorial-home .editorial-journey-bottom h3 {
    font-size: 22px;
    line-height: 1.3;
  }
}

@media (max-width: 420px) {
  .kpd-editorial-home .editorial-journey-section .editorial-shell {
    width: calc(100% - 28px);
  }

  .kpd-editorial-home .editorial-journey-section .editorial-heading h2 {
    font-size: 33px;
  }

  .kpd-editorial-home .editorial-journey-image {
    height: 225px;
  }

  .kpd-editorial-home .editorial-journey-copy {
    padding-right: 17px;
    padding-left: 17px;
  }
}



/* =========================================================
   KPD FOOTER — RESPONSIVE LAYOUT
   Uses the existing footer markup and links.
   ========================================================= */

.kpd-editorial-home .homepage-footer {
  width: 100%;
  overflow: hidden;
  padding: 72px clamp(20px, 5.5vw, 84px) 0;
  background: #111827;
  color: #f7f8fb;
}

.kpd-editorial-home .homepage-footer-container {
  display: grid;
  width: min(1320px, 100%);
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin: 0 auto;
  padding-bottom: 54px;
}

.kpd-editorial-home .homepage-footer-about,
.kpd-editorial-home .homepage-footer-links,
.kpd-editorial-home .homepage-footer-visit,
.kpd-editorial-home .homepage-footer-contact {
  min-width: 0;
}

.kpd-editorial-home .kpd-footer-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.kpd-editorial-home .kpd-footer-brand span {
  color: #f08a5d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.kpd-editorial-home .homepage-footer-about p,
.kpd-editorial-home .homepage-footer-visit p,
.kpd-editorial-home .homepage-footer-contact p {
  max-width: 360px;
  margin: 18px 0 0;
  color: #aeb7c5;
  font-size: 13px;
  line-height: 1.85;
}

.kpd-editorial-home .homepage-footer-about p:first-of-type {
  margin-top: 25px;
  color: #e2e6ed;
  font-size: 15px;
  font-weight: 600;
}

.kpd-editorial-home .homepage-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
}

.kpd-editorial-home .homepage-footer a {
  color: #dce2eb;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.kpd-editorial-home .homepage-footer a:hover {
  color: #f08a5d;
}

.kpd-editorial-home .homepage-footer-links,
.kpd-editorial-home .homepage-footer-visit,
.kpd-editorial-home .homepage-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.kpd-editorial-home .homepage-footer h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--kpd-heading-font);
  font-size: 15px;
  font-weight: 700;
}

.kpd-editorial-home .homepage-footer-links a,
.kpd-editorial-home .homepage-footer-contact a,
.kpd-editorial-home .homepage-footer-visit > a {
  color: #aeb7c5;
  font-size: 13px;
  line-height: 1.55;
}

.kpd-editorial-home .homepage-footer-visit > a {
  margin-top: 5px;
  color: #fff;
  font-weight: 650;
}

.kpd-editorial-home .homepage-footer-bottom {
  display: flex;
  width: min(1320px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 22px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.kpd-editorial-home .homepage-footer-bottom p,
.kpd-editorial-home .homepage-footer-bottom span,
.kpd-editorial-home .homepage-footer-bottom a {
  margin: 0;
  color: #9da8b8;
  font-size: 11px;
  line-height: 1.6;
}

.kpd-editorial-home .homepage-footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 900px) {
  .kpd-editorial-home .homepage-footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 32px;
  }

  .kpd-editorial-home .homepage-footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .kpd-editorial-home .homepage-footer {
    padding: 52px 22px 0;
  }

  .kpd-editorial-home .homepage-footer-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-bottom: 38px;
  }

  .kpd-editorial-home .homepage-footer-about {
    grid-column: auto;
  }

  .kpd-editorial-home .kpd-footer-brand {
    font-size: 22px;
  }

  .kpd-editorial-home .homepage-footer-about p,
  .kpd-editorial-home .homepage-footer-visit p,
  .kpd-editorial-home .homepage-footer-contact p {
    margin-top: 13px;
    font-size: 13px;
  }

  .kpd-editorial-home .homepage-footer-about p:first-of-type {
    margin-top: 19px;
  }

  .kpd-editorial-home .homepage-footer-socials {
    margin-top: 20px;
  }

  .kpd-editorial-home .homepage-footer-links,
  .kpd-editorial-home .homepage-footer-visit,
  .kpd-editorial-home .homepage-footer-contact {
    gap: 12px;
  }

  .kpd-editorial-home .homepage-footer h3 {
    margin-bottom: 3px;
    font-size: 16px;
  }

  .kpd-editorial-home .homepage-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 20px 0 23px;
  }

  .kpd-editorial-home .homepage-footer-bottom > div {
    gap: 17px;
  }
}

/* =========================================================
   CUSTOMER JOURNEY — FINAL REFINEMENT
   - Remove the now-empty numbered badges
   - Soften the image-to-copy smoky blend
   - Make the mobile cards swipe horizontally
   ========================================================= */

.kpd-editorial-home .editorial-journey-image > span {
  display: none !important;
}

/* A softer, longer fade: the photograph should dissolve into the card,
   not end at a visible white strip. */
.kpd-editorial-home .editorial-journey-image::after {
  height: 43%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.035) 24%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(255, 255, 255, 0.34) 70%,
    rgba(255, 255, 255, 0.72) 88%,
    #ffffff 100%
  );
}

.kpd-editorial-home .editorial-journey-card:nth-child(odd) .editorial-journey-image::after {
  height: 43%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.035) 24%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(255, 255, 255, 0.34) 70%,
    rgba(255, 255, 255, 0.72) 88%,
    #ffffff 100%
  );
}

@media (max-width: 700px) {
  .kpd-editorial-home .editorial-journey-grid {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 16px;
    width: calc(100% + 36px);
    margin: 0 0 0 -18px;
    padding: 3px 18px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(39, 55, 110, 0.25) transparent;
  }

  .kpd-editorial-home .editorial-journey-grid::-webkit-scrollbar {
    height: 4px;
  }

  .kpd-editorial-home .editorial-journey-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .kpd-editorial-home .editorial-journey-grid::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(39, 55, 110, 0.25);
  }

  .kpd-editorial-home .editorial-journey-card,
  .kpd-editorial-home .editorial-journey-card:nth-child(odd) {
    display: flex;
    min-width: 0;
    min-height: 0;
    height: auto;
    flex-direction: column;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: 20px;
  }

  .kpd-editorial-home .editorial-journey-image {
    flex: none;
    width: 100%;
    height: clamp(205px, 57vw, 270px);
    min-height: 0;
  }

  /* On mobile all cards are image-first, so every fade dissolves downward. */
  .kpd-editorial-home .editorial-journey-image::after,
  .kpd-editorial-home .editorial-journey-card:nth-child(odd) .editorial-journey-image::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    height: 36%;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.025) 25%,
      rgba(255, 255, 255, 0.10) 50%,
      rgba(255, 255, 255, 0.32) 72%,
      rgba(255, 255, 255, 0.72) 90%,
      #ffffff 100%
    );
  }

  .kpd-editorial-home .editorial-journey-copy,
  .kpd-editorial-home .editorial-journey-card:nth-child(odd) .editorial-journey-copy {
    flex: 1 0 auto;
    min-height: 142px;
    padding: 20px 21px 24px;
    background: #fff;
  }

  .kpd-editorial-home .editorial-journey-copy h3 {
    margin: 0 0 8px;
    font-size: 19px;
  }

  .kpd-editorial-home .editorial-journey-copy p {
    font-size: 13px;
    line-height: 1.7;
  }
}

@media (max-width: 380px) {
  .kpd-editorial-home .editorial-journey-grid {
    grid-auto-columns: 89%;
  }
}

/* =========================================================
   FINAL RESPONSIVE IMAGE FRAME NORMALIZATION
   Keeps the customer-journey and showroom image frames stable
   across desktop, tablet and mobile viewport sizes.
   ========================================================= */

.kpd-editorial-home .editorial-journey-grid {
  align-items: stretch;
}

.kpd-editorial-home .editorial-journey-card,
.kpd-editorial-home .editorial-journey-card:nth-child(odd) {
  min-width: 0;
  min-height: 0;
  height: 100%;
}

/* Desktop: same image-frame ratio in all three cards. */
.kpd-editorial-home .editorial-journey-image {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
  background: #e8ebef;
}

.kpd-editorial-home .editorial-journey-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.kpd-editorial-home .editorial-journey-card:nth-child(1) .editorial-journey-image img {
  object-position: 52% center;
}

.kpd-editorial-home .editorial-journey-card:nth-child(2) .editorial-journey-image img {
  object-position: center center;
}

.kpd-editorial-home .editorial-journey-card:nth-child(3) .editorial-journey-image img {
  object-position: 55% center;
}

.kpd-editorial-home .editorial-journey-copy,
.kpd-editorial-home .editorial-journey-card:nth-child(odd) .editorial-journey-copy {
  flex: 1 0 auto;
  min-height: 158px;
  box-sizing: border-box;
}

/* Showroom: fixed proportional frame instead of fixed pixel heights. */
.kpd-editorial-home .editorial-showroom-layout {
  align-items: center;
}

.kpd-editorial-home .editorial-showroom-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1.85 / 1;
  overflow: hidden;
  background: #e1e6eb;
}

.kpd-editorial-home .editorial-showroom-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Tablet: preserve the same image proportions while stacking the showroom. */
@media (max-width: 1000px) {
  .kpd-editorial-home .editorial-journey-image {
    aspect-ratio: 1.08 / 1;
  }

  .kpd-editorial-home .editorial-showroom-image {
    aspect-ratio: 1.65 / 1;
  }
}

/* Mobile: journey cards become image-first horizontal swipe cards. */
@media (max-width: 700px) {
  .kpd-editorial-home .editorial-journey-card,
  .kpd-editorial-home .editorial-journey-card:nth-child(odd) {
    height: auto;
    min-height: 0;
    flex-direction: column;
  }

  .kpd-editorial-home .editorial-journey-image {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .kpd-editorial-home .editorial-journey-copy,
  .kpd-editorial-home .editorial-journey-card:nth-child(odd) .editorial-journey-copy {
    flex: 1 0 auto;
    min-height: 0;
  }

  .kpd-editorial-home .editorial-showroom-image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 420px) {
  .kpd-editorial-home .editorial-journey-image {
    aspect-ratio: 4 / 3;
  }

  .kpd-editorial-home .editorial-showroom-image {
    aspect-ratio: 4 / 3;
  }
}

/* =========================================================
   KPD HOMEPAGE — PDF REFERENCE TYPOGRAPHY & COLOUR SYSTEM
   Header and Hero are intentionally left untouched.
   Heading: Cormorant Garamond / elegant editorial serif.
   Body + numerals: DM Sans / clean modern sans-serif.
   ========================================================= */

.kpd-editorial-home {
  --kpd-heading-font: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --kpd-body-font: "DM Sans", Arial, sans-serif;

  --editorial-ink: #342725;
  --editorial-muted: #827a73;
  --editorial-line: #e8ded3;
  --editorial-blue: #6b5144;
  --editorial-orange: #a98555;
  --editorial-paper: #fffefa;
  --editorial-soft: #f6efe7;

  color: var(--editorial-ink);
  background: var(--editorial-paper);
  font-family: var(--kpd-body-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.kpd-editorial-home main {
  background: var(--editorial-paper);
  color: var(--editorial-ink);
}

/* Keep Hero and Header typography/styles controlled by their own CSS. */
.kpd-editorial-home > header,
.kpd-editorial-home .kannu-header,
.kpd-editorial-home .hero-section,
.kpd-editorial-home .hero-content {
  font-family: inherit;
}

/* Body copy and interface text across the editorial homepage. */
.kpd-editorial-home main p,
.kpd-editorial-home main li,
.kpd-editorial-home main button,
.kpd-editorial-home main a,
.kpd-editorial-home .homepage-footer p,
.kpd-editorial-home .homepage-footer a,
.kpd-editorial-home .homepage-footer span {
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home main p {
  color: var(--editorial-muted);
}

.kpd-editorial-home main h2,
.kpd-editorial-home main h3,
.kpd-editorial-home .homepage-footer h3 {
  font-family: var(--kpd-heading-font);
  color: var(--editorial-ink);
}

/* Small section labels and accent details. */
.kpd-editorial-home .editorial-eyebrow,
.kpd-editorial-home .editorial-process-eyebrow,
.kpd-editorial-home .process-step-card > span,
.kpd-editorial-home .editorial-process-bottom > span {
  color: var(--editorial-orange);
  font-family: var(--kpd-body-font);
  letter-spacing: 0.2em;
}

/* 02 — Statistics: warm white surface and sans-serif numerals. */
.kpd-editorial-home .editorial-stats-section {
  background: #fffefa;
  color: var(--editorial-ink);
}

.kpd-editorial-home .editorial-stats-intro h2 {
  color: #3b2927;
  font-family: var(--kpd-heading-font);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.kpd-editorial-home .editorial-stats-intro h2 em {
  color: #a98555;
  font-family: var(--kpd-heading-font);
  font-style: italic;
  font-weight: 500;
}

.kpd-editorial-home .editorial-stats-intro > p {
  color: #827a73;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-stat-value {
  color: #a98555;
  font-family: var(--kpd-body-font);
  font-size: clamp(35px, 3.4vw, 47px);
  font-weight: 600;
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums tabular-nums;
}

.kpd-editorial-home .editorial-stat-item h3 {
  color: #342b28;
  font-family: var(--kpd-body-font);
  font-weight: 700;
}

.kpd-editorial-home .editorial-stat-item p {
  color: #827a73;
  font-family: var(--kpd-body-font);
}

/* 03 — Explore cars: cream section that blends with the page. */
.kpd-editorial-home .editorial-cars-section {
  background: #f6efe7;
}

.kpd-editorial-home .editorial-cars-heading h2 {
  color: #302523;
  font-family: var(--kpd-heading-font);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.kpd-editorial-home .editorial-cars-heading p {
  color: #827a73;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-text-link {
  color: #927246;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-text-link:hover {
  color: #60433b;
}

/* FeaturedCars is a separate component; theme its collection wrapper only. */
.kpd-editorial-home .editorial-cars-section .featured-cars,
.kpd-editorial-home .editorial-cars-section .featured-cars-section {
  color: #342725;
}

/* 04 — Four-step process: deep brown-plum with warm rose route. */
.kpd-editorial-home .editorial-process-section {
  background: #2b1e1e;
  color: #f8f1e8;
}

.kpd-editorial-home .editorial-process-heading h2 {
  color: #fffaf2;
  font-family: var(--kpd-heading-font);
  font-weight: 700;
}

.kpd-editorial-home .editorial-process-heading h2 span {
  color: #d7b77e;
}

.kpd-editorial-home .editorial-process-heading p {
  color: #c8bdb4;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-process-eyebrow {
  color: #d7b77e;
}

.kpd-editorial-home .process-route-base {
  stroke: #b9857c;
}

.kpd-editorial-home .process-route-progress {
  stroke: #f0d9c8;
}

.kpd-editorial-home .process-step-circle {
  border-color: #ead9c6;
  background: #2b1e1e;
  color: #f8f1e8;
}

.kpd-editorial-home .editorial-process-step:hover .process-step-circle {
  background: #d7b77e;
  color: #2b1e1e;
}

.kpd-editorial-home .process-step-card {
  border-color: rgba(122, 86, 72, 0.2);
  background: #fffaf2;
  color: #342725;
}

.kpd-editorial-home .process-step-card > span {
  color: #a98555;
}

.kpd-editorial-home .process-step-card h3 {
  color: #342725;
  font-family: var(--kpd-heading-font);
  font-size: 18px;
  font-weight: 700;
}

.kpd-editorial-home .process-step-card p {
  color: #827a73;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-process-bottom {
  border-top-color: rgba(238, 219, 198, 0.2);
}

.kpd-editorial-home .editorial-process-bottom > span {
  color: #c8bdb4;
}

.kpd-editorial-home .editorial-process-bottom a {
  color: #d7b77e;
  font-family: var(--kpd-body-font);
}

/* 05 — Customer journey: ivory surface, editorial serif headings. */
.kpd-editorial-home .editorial-journey-section {
  background: #fffefa;
}

.kpd-editorial-home .editorial-heading h2,
.kpd-editorial-home .editorial-why-heading h2,
.kpd-editorial-home .editorial-sell-content h2,
.kpd-editorial-home .editorial-showroom-copy h2,
.kpd-editorial-home .editorial-faq-intro h2 {
  color: #342725;
  font-family: var(--kpd-heading-font);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.kpd-editorial-home .editorial-heading h2 em,
.kpd-editorial-home .editorial-why-heading h2 em,
.kpd-editorial-home .editorial-sell-content h2 em,
.kpd-editorial-home .editorial-showroom-copy h2 em,
.kpd-editorial-home .editorial-faq-intro h2 em {
  color: #967b68;
  font-family: var(--kpd-heading-font);
  font-style: italic;
  font-weight: 500;
}

.kpd-editorial-home .editorial-heading > p,
.kpd-editorial-home .editorial-why-heading > p,
.kpd-editorial-home .editorial-sell-content > p,
.kpd-editorial-home .editorial-showroom-copy > p,
.kpd-editorial-home .editorial-faq-intro > p {
  color: #827a73;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-journey-card {
  border-color: #eee5dc;
  background: #fffefa;
  box-shadow: 0 10px 28px rgba(64, 45, 36, 0.055);
}

.kpd-editorial-home .editorial-journey-copy h3 {
  color: #342725;
  font-family: var(--kpd-heading-font);
  font-size: 22px;
  font-weight: 700;
}

.kpd-editorial-home .editorial-journey-copy p {
  color: #827a73;
  font-family: var(--kpd-body-font);
}

/* Journey CTA and buttons use the reference brown/gold palette. */
.kpd-editorial-home .editorial-dark-button {
  background: #4a302e;
  color: #fffaf2;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-dark-button:hover {
  background: #352322;
}

.kpd-editorial-home .editorial-orange-button {
  background: #c6a16a;
  color: #2e211e;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-orange-button:hover {
  background: #d4b47f;
}

/* 06 — Why KPD: soft cream panel. */
.kpd-editorial-home .editorial-why-section {
  background: #f6efe7;
}

.kpd-editorial-home .editorial-benefit {
  border-bottom-color: #e5d9cc;
}

.kpd-editorial-home .editorial-benefit-number {
  color: #a98555;
  font-family: var(--kpd-body-font);
  font-variant-numeric: tabular-nums;
}

.kpd-editorial-home .editorial-benefit h3 {
  color: #342725;
  font-family: var(--kpd-body-font);
  font-weight: 700;
}

.kpd-editorial-home .editorial-benefit p {
  color: #827a73;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-benefit > svg {
  color: #a98555;
}

/* 07 — Sell section: warm card, keep existing image and structure. */
.kpd-editorial-home .editorial-sell-section {
  background: #fffefa;
}

.kpd-editorial-home .editorial-sell-panel {
  border-color: #eee3d8;
  background: #f6efe7;
}

.kpd-editorial-home .editorial-sell-content {
  background: #f6efe7;
}

.kpd-editorial-home .editorial-sell-content h2 {
  color: #342725;
}

.kpd-editorial-home .editorial-sell-points {
  color: #76695e;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-sell-points svg {
  color: #a98555;
}

/* 08 — Showroom: matching cream surface. */
.kpd-editorial-home .editorial-showroom-section {
  background: #f6efe7;
}

.kpd-editorial-home .editorial-showroom-detail svg {
  color: #a98555;
}

.kpd-editorial-home .editorial-showroom-detail strong {
  color: #342725;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-showroom-detail span {
  color: #827a73;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-image-link {
  background: rgba(43, 30, 30, 0.9);
  color: #fffaf2;
  font-family: var(--kpd-body-font);
}

/* 09 — FAQ: warm white with subtle brown dividers. */
.kpd-editorial-home .editorial-faq-section {
  background: #fffefa;
}

.kpd-editorial-home .editorial-faq-list,
.kpd-editorial-home .editorial-faq-item {
  border-color: #e8ded3;
}

.kpd-editorial-home .editorial-faq-question {
  color: #342725;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .editorial-faq-chevron {
  color: #a98555;
}

.kpd-editorial-home .editorial-faq-item.is-open .editorial-faq-chevron {
  color: #806044;
}

.kpd-editorial-home .editorial-faq-answer p {
  color: #827a73;
  font-family: var(--kpd-body-font);
}

/* 10 — Footer: deep espresso rather than blue-black. */
.kpd-editorial-home .homepage-footer {
  background: #211919;
  color: #f6eee4;
}

.kpd-editorial-home .kpd-footer-brand {
  color: #f6eee4;
  font-family: var(--kpd-heading-font);
  font-size: clamp(22px, 1.9vw, 27px);
  font-weight: 700;
}

.kpd-editorial-home .kpd-footer-brand span {
  color: #c4a16b;
  font-family: var(--kpd-body-font);
}

.kpd-editorial-home .homepage-footer h3 {
  color: #c4a16b;
  font-family: var(--kpd-body-font);
  font-weight: 700;
}

.kpd-editorial-home .homepage-footer-about p:first-of-type {
  color: #f1e8dc;
}

.kpd-editorial-home .homepage-footer-about p,
.kpd-editorial-home .homepage-footer-visit p,
.kpd-editorial-home .homepage-footer-contact p {
  color: #c6bbb0;
}

.kpd-editorial-home .homepage-footer a {
  color: #d8cec3;
}

.kpd-editorial-home .homepage-footer a:hover {
  color: #d2b078;
}

.kpd-editorial-home .homepage-footer-bottom {
  border-top-color: rgba(230, 211, 188, 0.18);
}

.kpd-editorial-home .homepage-footer-bottom p,
.kpd-editorial-home .homepage-footer-bottom span,
.kpd-editorial-home .homepage-footer-bottom a {
  color: #b9ada2;
}

/* Footer social marks. */
.kpd-editorial-home .homepage-footer-socials {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
}

.kpd-editorial-home .homepage-footer-socials a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(210, 176, 120, 0.55);
  border-radius: 50%;
  color: #d2b078;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.kpd-editorial-home .homepage-footer-socials a:hover {
  border-color: #d2b078;
  background: #d2b078;
  color: #211919;
}

.kpd-editorial-home .homepage-footer-socials svg {
  display: block;
  width: 20px;
  height: 20px;
}

.kpd-editorial-home .homepage-footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.kpd-editorial-home .homepage-footer-social-link svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: #c4a16b;
}

/* Consistent typography for headings, labels and numerals on smaller screens. */
@media (max-width: 700px) {
  .kpd-editorial-home .editorial-stat-value {
    font-family: var(--kpd-body-font);
    font-weight: 600;
  }

  .kpd-editorial-home .editorial-cars-heading h2,
  .kpd-editorial-home .editorial-heading h2,
  .kpd-editorial-home .editorial-why-heading h2,
  .kpd-editorial-home .editorial-sell-content h2,
  .kpd-editorial-home .editorial-showroom-copy h2,
  .kpd-editorial-home .editorial-faq-intro h2 {
    font-family: var(--kpd-heading-font);
  }
}

/* =========================================================
   KPD ASSURANCE STRIP + STAT NUMBER WEIGHT REFINEMENT
   ========================================================= */

/* Statistics should feel refined, not heavy or bold. */
.kpd-editorial-home .editorial-stat-value {
  font-family: var(--kpd-body-font);
  font-weight: 400 !important;
  letter-spacing: -0.035em;
  font-variant-numeric: lining-nums tabular-nums;
}

/* Slim, premium trust strip placed directly before the FAQ. */
.kpd-editorial-home .editorial-assurance-section {
  width: 100%;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 5.5vw, 84px);
  background: #f6efe7;
  color: #342725;
}

.kpd-editorial-home .editorial-assurance-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 1440px);
  margin: 0 auto;
  align-items: stretch;
}

.kpd-editorial-home .editorial-assurance-item {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px clamp(12px, 2vw, 28px);
  text-align: center;
}

.kpd-editorial-home .editorial-assurance-item + .editorial-assurance-item {
  border-left: 1px solid rgba(96, 69, 69, 0.25);
}

.kpd-editorial-home .editorial-assurance-check {
  display: inline-flex;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  border: 1px solid #a98555;
  border-radius: 50%;
  color: #8e6d43;
}

.kpd-editorial-home .editorial-assurance-item h3 {
  margin: 0;
  color: #342725;
  font-family: var(--kpd-body-font);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

/* Tablet: two columns, with subtle horizontal and vertical separators. */
@media (max-width: 900px) {
  .kpd-editorial-home .editorial-assurance-section {
    padding: 28px 24px;
  }

  .kpd-editorial-home .editorial-assurance-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpd-editorial-home .editorial-assurance-item {
    min-height: 72px;
    padding: 14px 18px;
  }

  .kpd-editorial-home .editorial-assurance-item:nth-child(3) {
    border-left: 0;
  }

  .kpd-editorial-home .editorial-assurance-item:nth-child(n + 3) {
    border-top: 1px solid rgba(96, 69, 69, 0.2);
  }
}

/* Mobile: compact stacked rows with no clipped text. */
@media (max-width: 520px) {
  .kpd-editorial-home .editorial-assurance-section {
    padding: 18px 18px;
  }

  .kpd-editorial-home .editorial-assurance-inner {
    grid-template-columns: 1fr;
    width: min(100%, 420px);
  }

  .kpd-editorial-home .editorial-assurance-item {
    min-height: 58px;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 4px;
    text-align: left;
  }

  .kpd-editorial-home .editorial-assurance-item + .editorial-assurance-item,
  .kpd-editorial-home .editorial-assurance-item:nth-child(3) {
    border-top: 1px solid rgba(96, 69, 69, 0.18);
    border-left: 0;
  }

  .kpd-editorial-home .editorial-assurance-item h3 {
    font-size: 14px;
  }

  .kpd-editorial-home .editorial-assurance-check {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
}


/* =========================================================
   FOOTER CONTACT DETAILS — EMAIL AND PHONE
   ========================================================= */

.kpd-editorial-home #contact-footer {
  scroll-margin-top: 90px;
}

.kpd-editorial-home .homepage-footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  margin: 13px 0;
  color: #d8cec3;
  font-family: var(--kpd-body-font);
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.kpd-editorial-home .homepage-footer-contact-link svg {
  flex: 0 0 18px;
  margin-top: 3px;
  color: #c4a16b;
}

.kpd-editorial-home .homepage-footer-contact-link:hover {
  color: #d2b078;
}

@media (max-width: 700px) {
  .kpd-editorial-home .homepage-footer-contact-link {
    font-size: 14px;
  }
}


/* Five-item KPD assurance strip, including financing. */
.kpd-editorial-home .editorial-assurance-inner {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .kpd-editorial-home .editorial-assurance-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpd-editorial-home .editorial-assurance-item:nth-child(5) {
    border-left: 0;
    border-top: 1px solid rgba(96, 69, 69, 0.2);
  }
}

@media (max-width: 520px) {
  .kpd-editorial-home .editorial-assurance-inner {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   KANNU CARS — COLLECTION PAGE
========================================= */

.collection-page {
  width: 100%;
  min-height: calc(100vh - 80px);
  margin: 0;
  padding: 42px 24px 80px;

  color: #172033;
  background: #ffffff;
}

.collection-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* PAGE HEADING */

.collection-heading {
  margin-bottom: 34px;
}

.collection-eyebrow {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.4px;
}

.collection-heading h1 {
  margin: 0 0 10px;
  color: #172033;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 750;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.collection-heading > p:last-child {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}

/* MAIN LAYOUT */

.collection-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.collection-results {
  min-width: 0;
}

/* =========================================
   FILTER SIDEBAR
========================================= */

.filter-panel {
  position: sticky;
  top: 95px;

  width: 100%;
  padding: 22px;

  border: 1px solid #e6eaf0;
  border-radius: 13px;

  background: #ffffff;
  box-shadow: 0 5px 22px rgb(15 23 42 / 4%);
}

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-eyebrow {
  color: #8a94a4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.filter-heading h2 {
  margin: 5px 0 0;
  color: #172033;
  font-size: 21px;
  font-weight: 750;
}

.filter-reset {
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;

  color: #2563eb;
  background: #eff5ff;

  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.filter-reset:hover {
  background: #e1edff;
}

.filter-divider {
  height: 1px;
  margin: 20px 0;
  background: #edf0f4;
}

/* Filter fields */

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 19px;
}

.filter-field label {
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-width: 0;
  height: 43px;
  padding: 0 12px;

  border: 1px solid #dce2ea;
  border-radius: 7px;
  outline: none;

  color: #172033;
  background: #ffffff;

  font-family: inherit;
  font-size: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.filter-field input::placeholder {
  color: #a0a8b4;
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: #3978d7;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 9%);
}

/* Search input */

.filter-search-wrap,
.filter-price-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-search-wrap > span,
.filter-price-wrap > span {
  position: absolute;
  left: 12px;
  z-index: 1;
  color: #788497;
  font-size: 17px;
  pointer-events: none;
}

.filter-search-wrap input {
  padding-left: 36px;
}

/* Price input */

.filter-price-wrap > span {
  font-size: 13px;
  font-weight: 700;
}

.filter-price-wrap input {
  padding-left: 30px;
}

.filter-bottom-note {
  margin-top: 5px;
  padding-top: 15px;
  border-top: 1px solid #edf0f4;

  color: #8791a1;
  font-size: 11px;
  line-height: 1.6;
}

/* =========================================
   RESULTS HEADING
========================================= */

.results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}

.results-eyebrow {
  margin: 0 0 6px;
  color: #8a94a4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.results-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.6px;
}

.results-count {
  margin: 7px 0 0;
  color: #788497;
  font-size: 13px;
}

.clear-filters-mobile {
  padding: 8px 12px;
  border: 1px solid #dce2ea;
  border-radius: 7px;
  color: #344054;
  background: #ffffff;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

/* =========================================
   VEHICLE GRID — IMPORTANT FIX
========================================= */

/*
  CarsPage.jsx renders .cars-grid.
  This is the selector that was missing in
  the previous cars.css file.
*/

.collection-results .cars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 26px 18px;

  width: 100%;
  min-width: 0;
  overflow: visible;
  padding: 0;
}

/* The homepage carousel should not affect
   the collection page grid. */

.collection-results .car-card {
  width: 100%;
  min-width: 0;
}

/* =========================================
   EMPTY / LOADING / ERROR STATES
========================================= */

.collection-message {
  padding: 40px 20px;
  color: #64748b;
  text-align: center;
}

.collection-error {
  padding: 18px;
  border: 1px solid #fecaca;
  border-radius: 9px;
  color: #b91c1c;
  background: #fff7f7;
  font-size: 13px;
}

.collection-empty {
  padding: 65px 20px;
  border: 1px dashed #d8dee8;
  border-radius: 12px;
  color: #64748b;
  background: #fafbfd;
  text-align: center;
}

.empty-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 50%;
  color: #64748b;
  background: #eef2f7;
  font-size: 25px;
}

.collection-empty h3 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 19px;
}

.collection-empty p {
  margin: 0 0 18px;
  color: #788497;
  font-size: 13px;
}

.collection-empty button {
  padding: 10px 17px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: #172f55;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1150px) {
  .collection-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
  }

  .collection-results .cars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 18px;
  }
}

@media (max-width: 700px) {
  .collection-page {
    padding: 30px 17px 55px;
  }

  .collection-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .filter-panel {
    position: static;
    padding: 19px;
  }

  .collection-results .cars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 13px;
  }

  .results-heading h2 {
    font-size: 22px;
  }
}

@media (max-width: 460px) {
  .collection-results .cars-grid {
    grid-template-columns: 1fr;
  }
}




/* =========================================
   COLLECTION PAGE — CENTERED INTRO
========================================= */

.collection-heading {
  width: 100%;
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.collection-heading h1 {
  text-align: center;
}

.collection-heading > p:last-child {
  text-align: center;
}

/* Keep the filters and inventory aligned
   normally beneath the centered heading. */

.collection-layout {
  align-items: start;
}

@media (max-width: 700px) {
  .collection-heading {
    margin-bottom: 30px;
  }
}


/* =========================================
   MOBILE FILTER COLLAPSE
   Desktop layout remains unchanged.
========================================= */

.mobile-filter-toggle {
  display: none;
}

@media (max-width: 700px) {
  .collection-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .filter-panel {
    position: static;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5eaf2;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgb(15 23 42 / 5%);
  }

  .mobile-filter-toggle {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border: 0;
    background: #ffffff;
    color: #172033;
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-filter-toggle-main,
  .mobile-filter-toggle-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }

  .mobile-filter-toggle-main {
    font-size: 14px;
    font-weight: 750;
  }

  .mobile-filter-toggle-main svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-filter-count {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    color: #ffffff;
    background: #17345f;
    font-size: 11px;
    font-weight: 750;
  }

  .mobile-filter-toggle-action {
    color: #52627a;
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-filter-toggle-action span {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #17345f;
    background: #eef3fa;
    font-size: 17px;
    line-height: 1;
  }

  .mobile-filter-controls {
    padding: 0 16px 16px;
  }

  .filter-panel.is-collapsed > .mobile-filter-controls {
    display: none;
  }

  .filter-panel.is-collapsed {
    margin-bottom: 0;
  }

  .filter-panel.is-open {
    padding-bottom: 2px;
  }

  .filter-panel .filter-heading {
    padding-top: 3px;
  }

  .filter-panel .filter-divider {
    margin: 15px 0 17px;
  }

  .filter-panel .filter-field {
    margin-bottom: 15px;
  }

  .filter-panel .filter-field input,
  .filter-panel .filter-field select {
    height: 45px;
    font-size: 14px;
  }

  .filter-panel .filter-field label {
    font-size: 12px;
  }

  .filter-panel .filter-bottom-note {
    margin-top: 2px;
    padding-top: 12px;
  }

  .collection-results {
    min-width: 0;
  }
}

@media (max-width: 460px) {
  .collection-layout {
    gap: 13px;
  }

  .mobile-filter-toggle {
    min-height: 51px;
    padding: 0 14px;
  }

  .mobile-filter-controls {
    padding: 0 14px 14px;
  }
}

/* =====================================================
   KANNU CARS — CAR DETAILS PAGE
   Designed for CarDetailsPage(6).jsx
===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: #fff;
  color: #172033;
}

/* =====================================================
   PAGE AND MAIN GRID
===================================================== */

.vehicle-page {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 25px clamp(16px, 3vw, 48px) 70px;
}

.vehicle-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  grid-template-areas:
    "gallery enquiry"
    "content enquiry";
  align-items: start;
  gap: 24px 28px;
  width: 100%;
  margin-top: 20px;
}

.vehicle-gallery-panel {
  grid-area: gallery;
  min-width: 0;
  width: 100%;
}

.vehicle-enquiry-card {
  grid-area: enquiry;
  position: sticky;
  top: 95px;
  align-self: start;
  min-width: 0;
  width: 100%;
}

.vehicle-content-main {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  width: 100%;
}

/* =====================================================
   BREADCRUMB
===================================================== */

.vehicle-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7b8799;
  font-size: 13px;
}

.vehicle-breadcrumb a {
  color: #28568c;
  text-decoration: none;
}

.vehicle-breadcrumb a:hover {
  text-decoration: underline;
}

/* =====================================================
   GALLERY
===================================================== */

.vehicle-image-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(320px, 36vw, 500px);
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 14px;
  background: #f3f5f8;
}

.vehicle-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.vehicle-no-image {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #8490a1;
  font-size: 15px;
}

.vehicle-image-arrow,
.modal-image-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #e4e8ef;
  border-radius: 50%;
  background: #fff;
  color: #172033;
  font-size: 29px;
  cursor: pointer;
  box-shadow: 0 3px 15px #00000015;
}

.vehicle-image-arrow.left,
.modal-image-arrow.left {
  left: 14px;
}

.vehicle-image-arrow.right,
.modal-image-arrow.right {
  right: 14px;
}

.view-photos-button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 11px 15px;
  border: 0;
  border-radius: 8px;
  background: #172f55;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.view-photos-button:hover {
  background: #244777;
}

/* Gallery thumbnails */

.vehicle-thumbnails,
.gallery-modal-thumbnails {
  display: flex;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  padding: 12px 2px 7px;
}

.vehicle-thumbnails button,
.gallery-modal-thumbnails button {
  flex: 0 0 100px;
  width: 100px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f1f3f6;
  cursor: pointer;
}

.vehicle-thumbnails button.active,
.gallery-modal-thumbnails button.active {
  border-color: #2563eb;
}

.vehicle-thumbnails img,
.gallery-modal-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quick specifications */

.vehicle-quick-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  padding-top: 14px;
}

.vehicle-quick-specs > div {
  display: flex;
  min-width: 0;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e5e9f0;
  border-radius: 9px;
  background: #fff;
}

.vehicle-quick-specs span {
  color: #7b8799;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .6px;
}

.vehicle-quick-specs strong {
  color: #172033;
  font-size: 13px;
  overflow-wrap: anywhere;
}

/* =====================================================
   ENQUIRY CARD — RIGHT COLUMN
===================================================== */


/* =====================================================
   COMPACT RIGHT-SIDE ENQUIRY CARD
===================================================== */

.vehicle-enquiry-card {
  grid-area: enquiry;
  position: sticky;
  top: 95px;
  align-self: start;

  width: 100%;
  max-width: 380px;
  height: fit-content;
  max-height: 560px;
  overflow-y: auto;

  padding: 22px;
  border: 1px solid #e0e6ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(15 23 42 / 5%);
}

/* Availability */

.vehicle-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #16804a;
  font-size: 12px;
  font-weight: 750;
}

.stock-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #16a34a;
}

.stock-dot.off {
  background: #9ca3af;
}

/* Vehicle heading */

.vehicle-label {
  margin: 18px 0 7px;
  color: #78869c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.vehicle-enquiry-card h1 {
  margin: 0;
  color: #172033;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -.7px;
}

.vehicle-subtitle {
  margin: 8px 0 17px;
  color: #718096;
  font-size: 12px;
}

/* Price */

.vehicle-price-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vehicle-price-block strong {
  color: #172033;
  font-size: 29px;
  font-weight: 800;
}

.vehicle-price-block span {
  color: #8792a3;
  font-size: 11px;
}

.enquiry-separator {
  height: 1px;
  margin: 17px 0;
  background: #e8edf3;
}

/* Enquiry text */

.enquiry-heading {
  margin: 0 0 6px;
  color: #172033;
  font-size: 15px;
  font-weight: 800;
}

.enquiry-copy {
  margin: 0 0 14px;
  color: #6d798b;
  font-size: 12px;
  line-height: 1.6;
}

/* Buttons */

.enquiry-primary-button,
.enquiry-secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  width: 100%;
  min-height: 43px;
  padding: 10px;

  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.enquiry-primary-button {
  background: #172f55;
  color: #fff;
}

.enquiry-primary-button:hover {
  background: #244777;
}

.enquiry-secondary-button {
  margin-top: 8px;
  border: 1px solid #d3dce8;
  background: #fff;
  color: #203c65;
}

.enquiry-secondary-button:hover {
  background: #f5f8fc;
}

/* Trust notes */

.enquiry-trust-note {
  margin-top: 13px;
  color: #77869c;
  font-size: 10px;
  line-height: 1.9;
}

/* Help section */

.enquiry-help-divider {
  height: 1px;
  margin: 15px 0;
  background: #e9edf3;
}

.enquiry-help .help-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: #e8effb;
  color: #244e83;
  font-size: 17px;
}

.enquiry-help h3 {
  margin: 9px 0 5px;
  color: #172033;
  font-size: 15px;
}

.enquiry-help p {
  margin: 0;
  color: #6e7a8d;
  font-size: 11px;
  line-height: 1.5;
}

.enquiry-help a {
  display: inline-block;
  margin: 9px 12px 0 0;
  color: #24558d;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

/* Responsive */

@media (max-width: 1050px) {
  .vehicle-enquiry-card {
    max-width: 100%;
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .vehicle-enquiry-card {
    position: static;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    padding: 20px;
  }
}


/* =====================================================
   CONTENT SECTIONS
===================================================== */

.vehicle-section {
  width: 100%;
  min-width: 0;
  padding: 26px;
  border: 1px solid #e5e9f0;
  border-radius: 13px;
  background: #fff;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}

.section-kicker {
  margin: 0 0 7px;
  color: #78869c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.section-heading-row h2,
.vehicle-section h2 {
  margin: 0;
  color: #172033;
  font-size: 23px;
  font-weight: 750;
}

.vehicle-description {
  margin: 15px 0 18px;
  color: #657186;
  font-size: 14px;
  line-height: 1.8;
}

/* Overview details */

.overview-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #edf0f4;
}

.overview-table > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 15px 5px;
  border-bottom: 1px solid #edf0f4;
  font-size: 13px;
}

.overview-table span {
  color: #718096;
}

.overview-table strong {
  color: #172033;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Vehicle information */

.inspection-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.inspection-section p:not(.section-kicker) {
  color: #657186;
  font-size: 14px;
  line-height: 1.8;
}

.inspection-section a {
  flex-shrink: 0;
  color: #24558d;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

/* =====================================================
   FEATURES AND SPECIFICATIONS CARD
===================================================== */

.car-features-section {
  padding: 0;
  border: 0;
  background: transparent;
}

.car-features-card {
  width: 100%;
  padding: 28px;
  border: 1px solid #e8edf3;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(20 35 55 / 4%);
}

.car-features-card-heading h2 {
  margin: 5px 0 8px;
  color: #172033;
  font-size: 27px;
  font-weight: 750;
}

.car-features-card-heading > div > p:last-child {
  margin: 0;
  color: #687589;
  font-size: 14px;
  line-height: 1.6;
}

.car-features-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 57px;
  margin-top: 24px;
  padding: 0 17px;
  border: 1px solid #dce3ed;
  border-radius: 11px;
  background: #fff;
}

.car-features-search > span {
  color: #e96b13;
  font-size: 29px;
}

.car-features-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font: inherit;
  font-size: 14px;
}

.car-features-search input::placeholder {
  color: #8994a5;
}

/* Features tabs */

.car-features-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  border-bottom: 2px solid #e8edf3;
}

.car-features-tabs button {
  position: relative;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: #344258;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}

.car-features-tabs button.active {
  color: #075baa;
}

.car-features-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 3px;
  background: #075baa;
  content: "";
}

/* Preview list */

.car-features-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  padding: 15px 0;
}

.car-spec-preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 55px;
  color: #273449;
  font-size: 14px;
}

.car-spec-item-icon {
  display: inline-grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #f0f4f8;
  color: #1c456f;
  font-size: 18px;
  line-height: 1;
}

.car-spec-preview-item .car-spec-item-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.car-spec-preview-item strong {
  margin-left: auto;
  color: #58677b;
  font-size: 12px;
  font-weight: 650;
  text-align: right;
}

.car-spec-empty {
  padding: 25px 10px;
  color: #7b8799;
  text-align: center;
  font-size: 14px;
}

/* View all footer */

.car-features-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 210px);
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  padding-top: 19px;
  border-top: 1px solid #edf0f4;
}

.car-features-card-footer p {
  margin: 0;
  color: #758094;
  font-size: 13px;
  line-height: 1.7;
}

.car-features-card-footer button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: #f16b12;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.car-features-card-footer button:hover {
  background: #d95b08;
}

.car-features-card-footer button span {
  font-size: 20px;
}

/* =====================================================
   FEATURES MODAL
===================================================== */

.vehicle-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgb(7 13 23 / 75%);
}

.feature-modal-backdrop {
  backdrop-filter: blur(5px);
}

.feature-modal-redesign {
  display: flex;
  flex-direction: column;
  width: min(900px, 100%);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: #172033;
  box-shadow: 0 25px 90px rgb(0 0 0 / 25%);
}

/* Modal header */

.feature-modal-redesign .feature-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 27px 17px;
  border-bottom: 1px solid #e9edf3;
}

.feature-modal-redesign .feature-modal-header .section-kicker {
  margin: 0 0 7px;
}

.feature-modal-redesign .feature-modal-header h2 {
  margin: 0;
  color: #172033;
  font-size: 25px;
  font-weight: 750;
}

.feature-modal-redesign .feature-modal-header button {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f0f3f7;
  color: #172033;
  font-size: 26px;
  cursor: pointer;
}

/* Modal search */

.feature-modal-redesign .feature-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 17px 27px;
  padding: 0 14px;
  border: 1px solid #dce3ed;
  border-radius: 9px;
}

.feature-modal-redesign .feature-search-wrap > span {
  color: #63748a;
  font-size: 24px;
}

.feature-modal-redesign .feature-search-wrap input {
  width: 100%;
  min-height: 45px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font: inherit;
  font-size: 14px;
}

/* Modal tabs */

.feature-modal-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 27px 17px;
}

.feature-modal-tabs button {
  min-height: 53px;
  padding: 10px;
  border: 1px solid #dce4ef;
  border-radius: 9px;
  background: #f8fafd;
  color: #294c7b;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.feature-modal-tabs button.active {
  border-color: #245a96;
  background: #edf5ff;
  color: #174c88;
}

/* Modal sidebar and results */

.feature-modal-content-new {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid #e8edf3;
}

.feature-modal-content-new .feature-category-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 0;
  padding: 12px;
  overflow-y: auto;
  background: #f1f6fc;
}

.feature-modal-content-new .feature-category-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 42px;
  padding: 9px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #29394e;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.feature-modal-content-new .feature-category-nav button.active {
  background: #075ba9;
  color: #fff;
}

.feature-modal-content-new .feature-category-nav button small {
  flex: 0 0 auto;
  font-size: 10px;
  opacity: .75;
}

/* Modal results */

.feature-modal-content-new .feature-results {
  min-height: 0;
  padding: 18px 23px 24px;
  overflow-y: auto;
}

.feature-result-group + .feature-result-group {
  margin-top: 22px;
}

.feature-result-group h3 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 15px;
  font-weight: 750;
}

.feature-result-row-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  border-bottom: 1px solid #edf0f4;
}

.feature-result-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #29364a;
  font-size: 13px;
}

.feature-result-name .car-spec-item-icon {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
  font-size: 16px;
}

.feature-result-value {
  color: #263449;
  font-size: 13px;
  font-weight: 650;
  text-align: right;
}

.car-spec-status {
  display: inline-grid;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.car-spec-status.available {
  background: #dcf8e9;
  color: #079653;
}

.car-spec-status.unavailable {
  background: #fce8e8;
  color: #c53c3c;
}

.feature-no-results {
  padding: 45px 15px;
  color: #697589;
  text-align: center;
}

.feature-no-results strong {
  color: #172033;
}

/* =====================================================
   PHOTO GALLERY MODAL
===================================================== */

.gallery-modal {
  flex-direction: column;
  gap: 12px;
  background: #090b0f;
  color: #fff;
}

.gallery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1100px, 100%);
}

.gallery-modal-header > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gallery-modal-header span {
  color: #aeb7c4;
  font-size: 13px;
}

.gallery-modal-header button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef1f5;
  color: #172033;
  font-size: 26px;
  cursor: pointer;
}

.gallery-modal-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1100px, 100%);
  height: min(68vh, 720px);
}

.gallery-modal-body img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-modal-thumbnails {
  width: min(1100px, 100%);
}

/* =====================================================
   LOADING / ERROR
===================================================== */

.details-message {
  display: flex;
  min-height: 70vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: #64748b;
  text-align: center;
}

.details-message a {
  margin-top: 12px;
  color: #24558d;
  font-weight: 700;
  text-decoration: none;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {
  .vehicle-detail-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
  }

  .vehicle-enquiry-card {
    padding: 21px;
  }

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

  .vehicle-section {
    padding: 21px;
  }

  .car-features-card {
    padding: 22px;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 760px) {
  .vehicle-page {
    padding: 17px 15px 45px;
  }

  .vehicle-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "gallery"
      "enquiry"
      "content";
    gap: 19px;
  }

  .vehicle-enquiry-card {
    position: static;
    width: 100%;
    padding: 21px;
  }

  .vehicle-image-frame {
    height: 300px;
  }

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

  .vehicle-section {
    padding: 19px;
  }

  .car-features-card {
    padding: 20px 16px;
  }

  .car-features-preview-grid {
    grid-template-columns: 1fr;
  }

  .car-features-card-footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .car-features-card-footer button {
    width: 100%;
  }

  .inspection-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .overview-table {
    grid-template-columns: 1fr;
  }

  /* Feature modal mobile layout */

  .vehicle-modal {
    padding: 10px;
  }

  .feature-modal-redesign {
    max-height: 95vh;
    border-radius: 12px;
  }

  .feature-modal-redesign .feature-modal-header {
    padding: 17px 15px 13px;
  }

  .feature-modal-redesign .feature-modal-header h2 {
    font-size: 20px;
  }

  .feature-modal-redesign .feature-search-wrap {
    margin: 13px 15px;
  }

  .feature-modal-tabs {
    gap: 7px;
    padding: 0 15px 13px;
  }

  .feature-modal-tabs button {
    min-height: 48px;
    padding: 8px;
    font-size: 11px;
  }

  .feature-modal-content-new {
    grid-template-columns: 125px minmax(0, 1fr);
  }

  .feature-modal-content-new .feature-category-nav {
    padding: 8px 6px;
  }

  .feature-modal-content-new .feature-category-nav button {
    align-items: flex-start;
    padding: 9px 7px;
    font-size: 10px;
  }

  .feature-modal-content-new .feature-results {
    padding: 13px 11px;
  }

  .feature-result-name {
    gap: 7px;
    font-size: 11px;
  }

  .feature-result-value {
    font-size: 11px;
  }

  .gallery-modal-body {
    height: 60vh;
  }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {
  .vehicle-page {
    padding-right: 11px;
    padding-left: 11px;
  }

  .vehicle-image-frame {
    height: 240px;
  }

  .vehicle-thumbnails button {
    flex-basis: 80px;
    width: 80px;
    height: 60px;
  }

  .vehicle-enquiry-card {
    padding: 17px;
  }

  .vehicle-quick-specs > div {
    padding: 9px;
  }

  .vehicle-quick-specs strong {
    font-size: 12px;
  }

  .vehicle-section {
    padding: 15px;
  }

  .car-features-tabs button {
    font-size: 14px;
  }

  .feature-modal-content-new {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .feature-modal-content-new .feature-category-nav button {
    font-size: 9px;
  }

  .feature-modal-content-new .feature-results {
    padding: 12px 8px;
  }

  .feature-result-name {
    font-size: 10px;
  }

  .feature-result-value {
    font-size: 10px;
  }

  .gallery-modal-header > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}



/* =========================================
   BOOK THIS CAR BUTTON
========================================= */

.booking-open-button {
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  padding: 14px 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border: 1px solid #111;
  border-radius: 8px;

  background: #111;
  color: #fff;

  font-size: 15px;
  font-weight: 600;
  font-family: inherit;

  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.booking-open-button:hover {
  background: #333;
  transform: translateY(-1px);
}

.booking-open-button span {
  font-size: 19px;
  line-height: 1;
}

/* =========================================
   BOOKING MODAL OVERLAY
========================================= */

.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);

  overflow-y: auto;
}

/* =========================================
   BOOKING MODAL
========================================= */

.booking-modal {
  position: relative;

  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 40px);

  padding: 28px;

  background: #fff;
  color: #171717;

  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);

  overflow-y: auto;
  animation: bookingModalEnter 0.2s ease-out;
}

@keyframes bookingModalEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================
   MODAL HEADER
========================================= */

.booking-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 20px;
}

.booking-modal-header h2 {
  margin: 5px 0 7px;

  color: #111;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.booking-modal-header p:not(.section-kicker) {
  margin: 0;

  color: #777;
  font-size: 13px;
  line-height: 1.6;
}

.booking-modal-header button {
  flex-shrink: 0;

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  background: #f2f2f2;
  color: #222;

  font-size: 23px;
  line-height: 1;

  cursor: pointer;
}

.booking-modal-header button:hover {
  background: #e5e5e5;
}

.booking-modal-header button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================================
   SELECTED VEHICLE INFORMATION
========================================= */

.booking-vehicle-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;

  padding: 14px 16px;
  margin-bottom: 22px;

  border: 1px solid #e8e8e8;
  border-radius: 8px;

  background: #f8f8f8;
}

.booking-vehicle-info strong {
  color: #222;
  font-size: 14px;
  font-weight: 650;
}

.booking-vehicle-info span {
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

/* =========================================
   BOOKING FORM
========================================= */

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.booking-form-field span {
  color: #292929;
  font-size: 13px;
  font-weight: 600;
}

.booking-form-field input,
.booking-form-field textarea {
  width: 100%;
  box-sizing: border-box;

  padding: 12px 13px;

  border: 1px solid #dedede;
  border-radius: 7px;

  outline: none;

  background: #fff;
  color: #171717;

  font-family: inherit;
  font-size: 14px;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-form-field input {
  min-height: 45px;
}

.booking-form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.booking-form-field input::placeholder,
.booking-form-field textarea::placeholder {
  color: #aaa;
}

.booking-form-field input:focus,
.booking-form-field textarea:focus {
  border-color: #333;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

/* =========================================
   SUBMIT BUTTON
========================================= */

.booking-submit-button {
  width: 100%;
  min-height: 49px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 13px 18px;

  border: none;
  border-radius: 7px;

  background: #111;
  color: #fff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 650;

  cursor: pointer;
  transition: background 0.2s ease;
}

.booking-submit-button:hover {
  background: #333;
}

.booking-submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================================
   BOOKING DISCLAIMER
========================================= */

.booking-disclaimer {
  margin: -3px 0 0;

  color: #858585;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

/* =========================================
   ERROR MESSAGE
========================================= */

.booking-error {
  margin: 0;
  padding: 11px 13px;

  border: 1px solid #f0caca;
  border-radius: 7px;

  background: #fff5f5;
  color: #b42318;

  font-size: 13px;
  line-height: 1.5;
}

/* =========================================
   SUCCESS MESSAGE
========================================= */

.booking-success {
  padding: 18px 4px 4px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.booking-success-icon {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 17px;

  border-radius: 50%;

  background: #e9f7ef;
  color: #16834a;

  font-size: 29px;
  font-weight: 700;
}

.booking-success h3 {
  margin: 0 0 9px;

  color: #171717;
  font-size: 22px;
  font-weight: 700;
}

.booking-success p {
  max-width: 390px;
  margin: 0 0 23px;

  color: #737373;
  font-size: 13px;
  line-height: 1.7;
}

.booking-success .booking-submit-button {
  max-width: 180px;
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {
  .booking-modal-overlay {
    align-items: flex-start;
    padding: 12px;
  }

  .booking-modal {
    max-height: calc(100vh - 24px);
    padding: 21px 18px;
    border-radius: 11px;
  }

  .booking-modal-header h2 {
    font-size: 22px;
  }

  .booking-vehicle-info {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-form {
    gap: 14px;
  }

  .booking-open-button {
    min-height: 49px;
  }
}


/* =====================================================
   OVERVIEW AND FEATURE ICONS
   Icons are data-driven; the "Other" category stays text-only.
===================================================== */

.overview-table .overview-item-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #718096;
}

.overview-item-icon {
  display: inline-grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: #f0f4f8;
  color: #1c456f;
  font-size: 16px;
  line-height: 1;
}

.car-spec-item-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f0f4f8;
  color: #1c456f;
  font-size: 18px;
}

.feature-result-name .car-spec-item-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

@media (max-width: 600px) {
  .overview-table > div {
    align-items: flex-start;
    gap: 8px;
  }

  .overview-table .overview-item-label {
    gap: 7px;
  }

  .overview-item-icon {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
}


/* =====================================================
   KANNU CARS — REFINED DETAILS / FEATURES PRESENTATION
   Compact Cars24-inspired layout; data remains admin-driven.
===================================================== */

/* Car overview: three compact columns with monochrome line icons. */
.overview-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e8edf3;
}

.overview-table > .overview-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  min-width: 0;
  min-height: 88px;
  padding: 15px 12px;
  border-bottom: 1px solid #e8edf3;
}

.overview-item-icon {
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
}

.overview-item-icon svg {
  display: block;
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.overview-item-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.overview-item-copy span {
  color: #9299a3;
  font-size: 13px;
  line-height: 1.25;
}

.overview-item-copy strong {
  color: #151a23;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: anywhere;
}

/* Preview: restrained two-column list with thin outline icons. */
.car-features-card {
  padding: 24px 26px;
  border-radius: 13px;
  box-shadow: none;
}

.car-features-card-heading h2 {
  font-size: 25px;
}

.car-features-card-heading > div > p:last-child {
  margin-top: 6px;
}

.car-features-search {
  min-height: 50px;
  margin-top: 18px;
  border-radius: 9px;
}

.car-features-tabs {
  margin-top: 16px;
}

.car-features-tabs button {
  min-height: 46px;
  font-size: 15px;
}

.car-features-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 2px;
  padding: 10px 0 14px;
}

.car-spec-preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 5px 2px;
  color: #172033;
  font-size: 14px;
}

.car-spec-item-icon {
  display: inline-flex;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #173b5d;
}

.car-spec-item-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.car-spec-preview-item .car-spec-item-name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.car-spec-preview-item strong {
  max-width: 45%;
  margin-left: auto;
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.car-features-card-footer {
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  margin-top: 8px;
  padding-top: 16px;
}

.car-features-card-footer button {
  min-height: 46px;
  border-radius: 8px;
  font-size: 14px;
}

/* View-all modal: compact, no feature icons, admin-defined categories. */
.feature-modal-backdrop {
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgb(15 23 42 / 58%);
  backdrop-filter: blur(4px);
}

.feature-modal-redesign {
  width: min(980px, 100%);
  max-height: min(82vh, 760px);
  border: 1px solid #e4e9f0;
  border-radius: 17px;
  box-shadow: 0 22px 70px rgb(0 0 0 / 22%);
}

.feature-modal-redesign .feature-modal-header {
  align-items: center;
  padding: 17px 22px 14px;
}

.feature-modal-redesign .feature-modal-header .section-kicker {
  margin-bottom: 4px;
  font-size: 9px;
}

.feature-modal-redesign .feature-modal-header h2 {
  font-size: 21px;
  line-height: 1.25;
}

.feature-modal-redesign .feature-modal-header button {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  font-size: 23px;
}

.feature-modal-redesign .feature-search-wrap {
  min-height: 43px;
  margin: 13px 22px;
  padding: 0 12px;
  border-radius: 8px;
}

.feature-modal-redesign .feature-search-wrap input {
  min-height: 41px;
  font-size: 13px;
}

.feature-modal-tabs {
  gap: 10px;
  padding: 0 22px 13px;
}

.feature-modal-tabs button {
  min-height: 43px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.feature-modal-content-new {
  grid-template-columns: 190px minmax(0, 1fr);
  border-top: 1px solid #e8edf3;
}

.feature-modal-content-new .feature-category-nav {
  gap: 4px;
  padding: 10px;
  background: #f3f7fb;
}

.feature-modal-content-new .feature-category-nav button {
  min-height: 37px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.35;
}

.feature-modal-content-new .feature-category-nav button.active {
  background: #075ba9;
}

.feature-modal-content-new .feature-category-nav button small {
  font-size: 10px;
}

.feature-modal-content-new .feature-results {
  padding: 14px 20px 18px;
}

.feature-result-group + .feature-result-group {
  margin-top: 17px;
}

.feature-result-group h3 {
  margin: 0 0 7px;
  font-size: 14px;
}

.feature-result-row-new {
  min-height: 39px;
  gap: 12px;
}

.feature-result-name {
  flex: 1;
  gap: 0;
  color: #29364a;
  font-size: 12px;
}

.feature-result-value {
  max-width: 45%;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.car-spec-status {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  font-size: 11px;
}

.feature-no-results {
  padding: 32px 12px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .overview-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .feature-modal-backdrop {
    padding: 10px;
  }

  .feature-modal-redesign {
    max-height: 90vh;
    border-radius: 12px;
  }

  .feature-modal-content-new {
    grid-template-columns: 145px minmax(0, 1fr);
  }

  .feature-modal-content-new .feature-category-nav {
    padding: 7px;
  }

  .feature-modal-content-new .feature-results {
    padding: 12px;
  }
}

@media (max-width: 560px) {
  .overview-table {
    grid-template-columns: 1fr;
  }

  .overview-table > .overview-item {
    min-height: 72px;
    padding: 11px 4px;
  }

  .overview-item-icon {
    flex-basis: 30px;
    width: 30px;
  }

  .overview-item-icon svg {
    width: 25px;
    height: 25px;
  }

  .car-features-card {
    padding: 19px 16px;
  }

  .car-features-preview-grid {
    grid-template-columns: 1fr;
  }

  .car-features-card-footer {
    grid-template-columns: 1fr;
  }

  .car-features-card-footer button {
    width: 100%;
  }

  .feature-modal-redesign .feature-modal-header {
    padding: 13px 15px;
  }

  .feature-modal-redesign .feature-modal-header h2 {
    font-size: 17px;
  }

  .feature-modal-redesign .feature-search-wrap {
    margin: 10px 14px;
  }

  .feature-modal-tabs {
    padding: 0 14px 10px;
  }

  .feature-modal-tabs button {
    min-height: 40px;
    font-size: 11px;
  }

  .feature-modal-content-new {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .feature-modal-content-new .feature-category-nav button {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
  }

  .feature-modal-content-new .feature-results {
    padding: 10px;
  }

  .feature-result-row-new {
    min-height: 36px;
  }
}


/* =====================================================
   GALLERY + PREMIUM LUCIDE ICON FINISH
===================================================== */

/* Remove any legacy category selector styling: photos are one unified gallery. */
.vehicle-photo-category-tabs {
  display: none !important;
}

.vehicle-thumbnails {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  overflow: visible;
  padding: 12px 0 8px;
}

.vehicle-thumbnails button {
  position: relative;
  min-width: 0;
  width: 100%;
  height: clamp(76px, 8vw, 112px);
  flex: initial;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #eef1f5;
  cursor: pointer;
}

.vehicle-thumbnails button.active {
  border-color: #f36b12;
}

.vehicle-thumbnails img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-thumbnails .vehicle-see-more-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #dbe2eb;
  background: #f4f6f9;
  color: #172033;
}

.vehicle-see-more-tile span {
  font-size: 23px;
  font-weight: 750;
  line-height: 1;
}

.vehicle-see-more-tile strong {
  font-size: 13px;
  font-weight: 650;
}

/* Gallery lightbox: large hero image with a persistent thumbnail rail. */
.vehicle-modal.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 28px 18px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f8f9fb;
  color: #172033;
}

.gallery-modal-header {
  width: 100%;
  max-width: none;
  min-height: 42px;
  flex: 0 0 auto;
}

.gallery-modal-header > div {
  align-items: baseline;
  gap: 18px;
}

.gallery-modal-header > div strong {
  color: #172033;
  font-size: 18px;
  font-weight: 750;
}

.gallery-modal-header span {
  color: #68758a;
  font-size: 14px;
}

.gallery-modal-header button {
  width: 42px;
  height: 42px;
  background: #e9edf3;
  color: #172033;
}

.gallery-modal-body {
  width: 100%;
  max-width: none;
  height: min(70vh, 760px);
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 12px;
  background: #e9ecef;
  overflow: hidden;
}

.gallery-modal-studio-stage {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
  background: #e9ecef;
}

.gallery-modal-studio-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-image-counter {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 7px 13px;
  border-radius: 22px;
  background: #111827c9;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.gallery-modal .modal-image-arrow {
  z-index: 3;
  width: 48px;
  height: 48px;
  font-size: 30px;
  box-shadow: 0 3px 18px #00000020;
}

.gallery-modal-thumbnails {
  display: flex;
  width: 100%;
  max-width: none;
  flex: 0 0 112px;
  gap: 12px;
  padding: 2px 0 6px;
  overflow-x: auto;
  overflow-y: hidden;
}

.gallery-modal-thumbnails button {
  flex: 0 0 clamp(112px, 12vw, 190px);
  width: clamp(112px, 12vw, 190px);
  height: 100px;
  border: 2px solid transparent;
  border-radius: 9px;
  overflow: hidden;
  background: #e8ebef;
}

.gallery-modal-thumbnails button.active {
  border-color: #f36b12;
}

.gallery-modal-thumbnails img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Premium, consistent outline icons across overview and preview lists. */
.overview-item-icon,
.car-spec-item-icon {
  color: #173b5e;
}

.overview-item-icon svg,
.car-spec-item-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 700px) {
  .vehicle-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vehicle-thumbnails button {
    height: 82px;
  }

  .vehicle-modal.gallery-modal {
    padding: 14px 12px 12px;
    gap: 10px;
  }

  .gallery-modal-body {
    height: auto;
    max-height: 65vh;
  }

  .gallery-modal-thumbnails {
    flex-basis: 78px;
    gap: 8px;
  }

  .gallery-modal-thumbnails button {
    flex-basis: 100px;
    width: 100px;
    height: 70px;
  }
}

/* =========================================
   KANNU CARS — PUBLIC SELL YOUR CAR PAGE
========================================= */

.sell-page {
  --sell-black: #171717;
  --sell-muted: #777d87;
  --sell-border: #e5e7eb;
  --sell-background: #f7f7f7;

  min-height: 100vh;
  color: var(--sell-black);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sell-page *,
.sell-success-page * {
  box-sizing: border-box;
}

.sell-eyebrow {
  margin: 0 0 13px;
  color: #858b96;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.6px;
}

/* Hero */

.sell-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 430px;
  padding: 75px max(7%, calc((100vw - 1250px) / 2));
  overflow: hidden;
  color: #fff;
  background: #171717;
}

.sell-hero-content {
  align-self: center;
  max-width: 570px;
}

.sell-hero .sell-eyebrow {
  color: #a5a5a5;
}

.sell-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -2.8px;
}

.sell-hero h1 span {
  color: #b9b9b9;
}

.sell-hero-content > p:not(.sell-eyebrow) {
  max-width: 470px;
  margin: 22px 0 0;
  color: #b8b8b8;
  font-size: 14px;
  line-height: 1.8;
}

.sell-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 28px;
}

.sell-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dedede;
  font-size: 11px;
}

.sell-hero-points svg {
  color: #bdbdbd;
}

.sell-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-left: 25px;
}

.sell-visual-card {
  display: flex;
  width: min(100%, 400px);
  min-height: 245px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 23px;
  color: #c7c7c7;
  background:
    radial-gradient(ellipse at center, #383838 0%, #242424 53%, #1b1b1b 100%);
  border: 1px solid #414141;
  border-radius: 18px;
}

.sell-visual-card span {
  color: #aaa;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Form section */

.sell-form-section {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding: 70px 0 85px;
}

.sell-form-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.sell-form-heading h2 {
  margin: 0;
  color: #171717;
  font-size: clamp(27px, 3vw, 35px);
  font-weight: 750;
  letter-spacing: -1.3px;
}

.sell-form-heading > div > p:last-child {
  margin: 10px 0 0;
  color: var(--sell-muted);
  font-size: 13px;
  line-height: 1.7;
}

.sell-required-note {
  flex-shrink: 0;
  padding-bottom: 4px;
  color: #9298a3;
  font-size: 11px;
}

/* Cards */

.sell-form-card {
  margin-bottom: 18px;
  padding: 27px;
  background: #fff;
  border: 1px solid var(--sell-border);
  border-radius: 13px;
  box-shadow: 0 3px 12px rgb(0 0 0 / 2%);
}

.sell-section-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}

.sell-section-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #292929;
  background: #f1f2f3;
  border-radius: 10px;
}

.sell-section-heading h3 {
  margin: 0;
  color: #222;
  font-size: 15px;
  font-weight: 750;
}

.sell-section-heading p {
  margin: 5px 0 0;
  color: #9298a3;
  font-size: 11px;
  line-height: 1.5;
}

/* Inputs */

.sell-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 17px;
}

.sell-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  color: #4c515a;
  font-size: 11px;
  font-weight: 650;
}

.sell-field > span {
  display: inline;
  color: #b42318;
}

.sell-field input,
.sell-field select,
.sell-field textarea {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  color: #252525;
  background: #fff;
  border: 1px solid #dedfe3;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 450;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sell-field textarea {
  min-height: 125px;
  padding: 13px;
  resize: vertical;
  line-height: 1.6;
}

.sell-field input::placeholder,
.sell-field textarea::placeholder {
  color: #a5a9b0;
}

.sell-field input:focus,
.sell-field select:focus,
.sell-field textarea:focus {
  border-color: #777;
  box-shadow: 0 0 0 3px rgb(0 0 0 / 4%);
}

.sell-input-icon {
  position: relative;
}

.sell-input-icon > svg {
  position: absolute;
  top: 50%;
  left: 13px;
  color: #8b9099;
  transform: translateY(-50%);
  pointer-events: none;
}

.sell-input-icon input {
  padding-left: 38px;
}

.sell-price-field {
  max-width: 430px;
}

/* Photo upload */

.sell-upload-box {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 22px;
  color: #333;
  background: #fafafa;
  border: 1px dashed #c9cbd0;
  border-radius: 11px;
  cursor: pointer;
  text-align: center;
  transition: 0.2s ease;
}

.sell-upload-box:hover {
  background: #f4f4f4;
  border-color: #777;
}

.sell-upload-box input {
  display: none;
}

.sell-upload-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #333;
  background: #ededed;
  border-radius: 50%;
}

.sell-upload-box strong {
  font-size: 12px;
}

.sell-upload-box small {
  color: #9298a3;
  font-size: 10px;
}

.sell-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}

.sell-preview-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2f2f2;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
}

.sell-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sell-preview-item button {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #fff;
  background: rgb(0 0 0 / 75%);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

/* Submit */

.sell-error-message {
  margin-bottom: 17px;
  padding: 13px 15px;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.sell-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 27px;
}

.sell-submit-row p {
  max-width: 440px;
  margin: 0;
  color: #9298a3;
  font-size: 10px;
  line-height: 1.7;
}

.sell-submit-button {
  display: inline-flex;
  min-height: 48px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  color: #fff;
  background: #171717;
  border: 1px solid #171717;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.sell-submit-button:hover {
  color: #fff;
  background: #333;
  border-color: #333;
}

.sell-submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success screen */

.sell-success-page {
  display: grid;
  min-height: 75vh;
  place-items: center;
  padding: 45px 20px;
  background: #f8f8f8;
}

.sell-success-card {
  width: min(100%, 560px);
  padding: 48px 38px;
  background: #fff;
  border: 1px solid var(--sell-border);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 25px rgb(0 0 0 / 4%);
}

.sell-success-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  place-items: center;
  color: #333;
  background: #f0f1f2;
  border-radius: 50%;
}

.sell-success-card h1 {
  margin: 0;
  color: #171717;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.sell-success-card > p:not(.sell-eyebrow) {
  margin: 16px 0 25px;
  color: #777d87;
  font-size: 13px;
  line-height: 1.8;
}

.sell-success-card .sell-submit-button {
  margin: 0 auto;
}

/* Footer */

.sell-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 25px max(5%, calc((100vw - 1250px) / 2));
  background: #171717;
}

.sell-footer-logo {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
}

.sell-footer-logo span {
  color: #aaa;
}

.sell-footer p {
  margin: 0;
  color: #999;
  font-size: 10px;
}

/* Responsive */

@media (max-width: 800px) {
  .sell-hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 60px 7%;
  }

  .sell-hero-visual {
    padding: 0;
  }

  .sell-visual-card {
    min-height: 180px;
  }
}

@media (max-width: 600px) {
  .sell-form-section {
    width: min(100% - 28px, 920px);
    padding: 45px 0 55px;
  }

  .sell-form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .sell-form-card {
    padding: 19px 15px;
  }

  .sell-fields-grid {
    grid-template-columns: 1fr;
  }

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

  .sell-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .sell-submit-button {
    width: 100%;
  }

  .sell-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .sell-success-card {
    padding: 35px 20px;
  }

  .sell-success-card h1 {
    font-size: 25px;
  }
}

/* ==========================================
   KANNU CARS ADMIN — WHITE / GREY / BLACK
========================================== */

.admin-layout {
  --admin-bg: #f7f7f8;
  --admin-white: #ffffff;
  --admin-sidebar: #f0f1f3;
  --admin-text: #171717;
  --admin-muted: #777b82;
  --admin-border: #e5e6e8;
  --admin-black: #171717;

  display: flex;
  min-height: 100vh;
  color: var(--admin-text);
  background: var(--admin-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-layout,
.admin-layout * {
  box-sizing: border-box;
}

.admin-layout button {
  font: inherit;
}

/* SIDEBAR */

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: 255px;
  height: 100vh;
  padding: 25px 17px 16px;
  overflow-y: auto;
  background: var(--admin-sidebar);
  border-right: 1px solid var(--admin-border);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 7px 25px;
  border-bottom: 1px solid #dedfe2;
}

.admin-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--admin-black);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.admin-brand h2 {
  margin: 0;
  color: var(--admin-text);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.6px;
}

.admin-brand span {
  display: block;
  margin-top: 4px;
  color: #85878c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.admin-navigation {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 25px;
  padding-top: 25px;
}

.admin-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-nav-heading {
  margin: 0 0 7px;
  padding: 0 10px;
  color: #999ca2;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #62666d;
  text-align: left;
  font-size: 12.5px;
  font-weight: 550;
  cursor: pointer;
  transition: 0.18s ease;
}

.admin-nav-link:hover {
  background: #e4e5e7;
  color: #171717;
}

.admin-nav-link.active {
  background: #171717;
  color: #fff;
}

.admin-sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 7px 5px;
  border-top: 1px solid #dedfe2;
}

.admin-avatar,
.admin-topbar-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #242424;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.admin-sidebar-footer strong,
.admin-sidebar-footer span {
  display: block;
}

.admin-sidebar-footer strong {
  font-size: 11px;
}

.admin-sidebar-footer span {
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 10px;
}

.admin-mobile-close {
  display: none;
}

/* MAIN */

.admin-main {
  width: calc(100% - 255px);
  min-width: 0;
  min-height: 100vh;
  margin-left: 255px;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
  padding: 17px 38px;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--admin-border);
  backdrop-filter: blur(12px);
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--admin-text);
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.8px;
}

.admin-topbar p {
  margin: 5px 0 0;
  color: var(--admin-muted);
  font-size: 12px;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-icon-button,
.admin-menu-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--admin-border);
  border-radius: 9px;
  background: #fff;
  color: #444;
  cursor: pointer;
}

.admin-icon-button:hover {
  background: #f5f5f5;
}

.admin-menu-toggle {
  display: none;
}

/* PAGE CONTAINER */

.admin-page-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 32px 38px 55px;
}

.admin-page {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* WELCOME */

.admin-welcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-welcome-row h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.admin-welcome-row p {
  margin: 6px 0 0;
  color: var(--admin-muted);
  font-size: 13px;
}

/* BUTTONS */

.admin-primary-button,
.admin-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: 0.2s ease;
}

.admin-primary-button {
  border: 1px solid var(--admin-black);
  background: var(--admin-black);
  color: #fff;
}

.admin-primary-button:hover {
  background: #353535;
}

.admin-secondary-button {
  border: 1px solid var(--admin-border);
  background: #fff;
  color: #252525;
}

.admin-secondary-button:hover {
  background: #f3f3f3;
}

.admin-text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #292929;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

/* STAT CARDS */

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

.admin-stat-card {
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
}

.admin-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 550;
}

.admin-stat-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #f1f2f3;
  color: #333;
}

.admin-stat-card > strong {
  display: block;
  margin-top: 17px;
  color: #171717;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -1px;
}

.admin-stat-card > small {
  display: block;
  margin-top: 9px;
  color: #92949a;
  font-size: 10px;
}

/* OVERVIEW CARDS */

.admin-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 18px;
}

.admin-content-card {
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
}

.admin-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.admin-card-heading h3 {
  margin: 0;
  color: #171717;
  font-size: 15px;
  font-weight: 700;
}

.admin-card-heading p {
  margin: 6px 0 0;
  color: var(--admin-muted);
  font-size: 11px;
}

/* EMPTY STATE */

.admin-empty-state {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  color: #888;
  text-align: center;
}

.admin-empty-state strong {
  margin-top: 13px;
  color: #303030;
  font-size: 13px;
}

.admin-empty-state p {
  max-width: 300px;
  margin: 7px 0 17px;
  color: var(--admin-muted);
  font-size: 11px;
  line-height: 1.6;
}

/* QUICK LINKS */

.admin-quick-links {
  display: flex;
  flex-direction: column;
  margin-top: 17px;
}

.admin-quick-links button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 2px;
  border: 0;
  border-top: 1px solid #eeeeef;
  background: #fff;
  color: #333;
  text-align: left;
  cursor: pointer;
}

.admin-quick-links button > span:nth-child(2) {
  flex: 1;
}

.admin-quick-links strong,
.admin-quick-links small {
  display: block;
}

.admin-quick-links strong {
  font-size: 12px;
}

.admin-quick-links small {
  margin-top: 4px;
  color: var(--admin-muted);
  font-size: 10px;
}

.admin-quick-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #f2f2f3;
}

/* PLACEHOLDER PAGES */

.admin-placeholder {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.admin-placeholder-icon {
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: #f0f0f0;
  color: #333;
}

.admin-placeholder h2 {
  margin: 20px 0 7px;
  font-size: 20px;
}

.admin-placeholder p {
  max-width: 420px;
  color: var(--admin-muted);
  font-size: 12px;
  line-height: 1.7;
}

.admin-status-label {
  margin-top: 10px;
  padding: 7px 12px;
  border: 1px solid #e3e3e3;
  border-radius: 30px;
  color: #555;
  font-size: 10px;
  font-weight: 650;
}

/* MOBILE SIDEBAR */

.admin-sidebar-overlay {
  display: none;
}

@media (max-width: 1100px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    border: 0;
    background: rgb(0 0 0 / 35%);
  }

  .admin-mobile-close {
    display: grid;
    place-items: center;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 24px;
  }

  .admin-main {
    width: 100%;
    margin-left: 0;
  }

  .admin-menu-toggle {
    display: grid;
  }

  .admin-topbar {
    min-height: 75px;
    padding: 13px 17px;
  }

  .admin-topbar h1 {
    font-size: 18px;
  }

  .admin-topbar p {
    font-size: 10px;
  }

  .admin-page-container {
    padding: 22px 16px 40px;
  }

  .admin-stat-grid {
    gap: 10px;
  }

  .admin-stat-card {
    padding: 15px;
  }

  .admin-stat-card > strong {
    font-size: 25px;
  }
}

@media (max-width: 450px) {
  .admin-topbar-actions {
    gap: 6px;
  }

  .admin-welcome-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-content-card {
    padding: 16px;
  }
}



/* Photo category selector */
.admin-photo-category-picker {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.admin-photo-category-picker button {
  padding: 11px 24px;
  border: 1px solid #dedede;
  background: #fff;
  color: #333;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.admin-photo-category-picker button.active {
  background: #171717;
  color: #fff;
  border-color: #171717;
}

.admin-photo-upload-box {
  padding: 22px;
  border: 1px dashed #cfcfcf;
  border-radius: 10px;
  background: #fafafa;
}

.admin-photo-upload-box > p {
  color: #737373;
  font-size: 12px;
  margin-top: 10px;
}

.admin-photo-group {
  margin-top: 30px;
}

.admin-photo-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.admin-photo-group-heading h4 {
  font-size: 16px;
  margin: 0;
}

.admin-photo-group-heading span {
  color: #737373;
  font-size: 12px;
}

.admin-photo-empty {
  color: #888;
  font-size: 13px;
  padding: 15px 0;
}

.admin-existing-photos {
  margin-top: 25px;
}

.admin-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 15px;
}

.admin-image-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 9px;
  padding: 9px;
  background: #fff;
}

.admin-image-item img {
  width: 100%;
  height: 125px;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
}

.admin-image-item button {
  padding: 7px 9px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
}

.admin-image-item button:hover {
  background: #f5f5f5;
}

.primary-image-label {
  color: #18733b;
  font-size: 12px;
  font-weight: 600;
}

.admin-photo-heading h3 {
  margin-bottom: 5px;
}

.admin-photo-heading p {
  color: #737373;
  font-size: 13px;
}



/* ==========================================
   KANNU CARS - VEHICLE INVENTORY
========================================== */

.vehicle-inventory-page,
.vehicle-wizard {
  width: 100%;
  max-width: 100%;
  color: #20232b;
}

.inventory-page-heading {
  align-items: center;
  margin-bottom: 24px;
}

.inventory-page-heading h1,
.vehicle-wizard .admin-page-header h1 {
  font-size: 25px;
  font-weight: 700;
  color: #191b20;
  margin: 0 0 6px;
}

.inventory-page-heading p,
.vehicle-wizard .admin-page-header p {
  color: #858992;
  font-size: 13px;
  margin: 0;
}

.inventory-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.inventory-summary-card {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e9e9ed;
  border-radius: 10px;
}

.inventory-summary-card span {
  display: block;
  color: #777d88;
  font-size: 12px;
  margin-bottom: 9px;
}

.inventory-summary-card strong {
  font-size: 25px;
  font-weight: 700;
  color: #20232b;
}

.inventory-content-card {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 12px;
  overflow: hidden;
}

.inventory-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid #ededf0;
}

.inventory-search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  max-width: 520px;
  border: 1px solid #e0e1e5;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}

.inventory-search span {
  font-size: 21px;
  color: #858992;
}

.inventory-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 11px 0;
  background: transparent;
  font-size: 13px;
  color: #24262c;
}

.inventory-filter {
  padding: 11px 12px;
  border: 1px solid #e0e1e5;
  border-radius: 8px;
  background: #fff;
  color: #353941;
  font-size: 13px;
}

.inventory-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.vehicle-inventory-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  text-align: left;
}

.vehicle-inventory-table th {
  padding: 15px 17px;
  background: #fafafa;
  color: #737985;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35px;
  border-bottom: 1px solid #ededf0;
  white-space: nowrap;
}

.vehicle-inventory-table td {
  padding: 17px;
  border-bottom: 1px solid #f0f0f2;
  color: #4b505a;
  font-size: 12px;
  vertical-align: middle;
  white-space: nowrap;
}

.vehicle-inventory-table tbody tr:hover {
  background: #fcfcfd;
}

.inventory-vehicle-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 175px;
}

.inventory-registration-number {
  color: #777d88;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

.inventory-vehicle-identity strong {
  color: #20232b;
  font-size: 13px;
  font-weight: 650;
}

.inventory-variant {
  color: #858992;
  font-size: 11px;
}

.inventory-price {
  color: #20232b !important;
  font-weight: 650;
}

.inventory-status {
  display: inline-flex;
  align-items: center;
  border-radius: 30px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 650;
}

.inventory-status.available {
  background: #eaf6ee;
  color: #267442;
}

.inventory-status.unavailable {
  background: #fff0f0;
  color: #b43b3b;
}

.inventory-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.inventory-actions button {
  border: 1px solid #e1e2e6;
  background: #fff;
  padding: 7px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.inventory-edit-button {
  color: #292d35;
}

.inventory-edit-button:hover {
  background: #f4f4f5;
}

.inventory-delete-button {
  color: #bd4444;
}

.inventory-delete-button:hover {
  background: #fff2f2;
  border-color: #f0cccc;
}

.inventory-table-footer {
  display: flex;
  justify-content: space-between;
  padding: 15px 18px;
  color: #818692;
  font-size: 11px;
}

.inventory-state {
  padding: 55px 20px;
  text-align: center;
}

.inventory-state h3 {
  color: #242833;
  font-size: 17px;
  margin-bottom: 8px;
}

.inventory-state p {
  color: #858992;
  font-size: 13px;
  margin-bottom: 18px;
}

/* ==========================================
   KANNU CARS - ADD VEHICLE WIZARD
========================================== */

.vehicle-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 22px;
}

.vehicle-step {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  color: #969ba4;
}

.vehicle-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 45px;
  right: 18px;
  height: 1px;
  background: #e6e7ea;
  transform: translateX(0);
}

.vehicle-step-number {
  z-index: 1;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #dedfe3;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.vehicle-step.active {
  color: #17191e;
}

.vehicle-step.active .vehicle-step-number {
  color: #fff;
  background: #17191e;
  border-color: #17191e;
}

.vehicle-step.completed .vehicle-step-number {
  color: #fff;
  background: #287a49;
  border-color: #287a49;
}

.vehicle-step strong,
.vehicle-step span {
  display: block;
}

.vehicle-step strong {
  font-size: 13px;
  margin-bottom: 3px;
}

.vehicle-step span {
  font-size: 10px;
  color: #9297a0;
}

.vehicle-wizard-panel {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 24px;
}

.vehicle-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.vehicle-panel-heading h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 7px;
  color: #20232b;
}

.vehicle-panel-heading p {
  color: #858992;
  font-size: 12px;
  margin: 0;
  line-height: 1.6;
}

.vehicle-photo-count {
  color: #777d88;
  font-size: 11px;
  white-space: nowrap;
}

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

.vehicle-photo-group {
  border: 1px solid #e7e8eb;
  border-radius: 10px;
  padding: 18px;
  min-width: 0;
}

.vehicle-photo-group-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.vehicle-photo-group-heading h3 {
  font-size: 14px;
  color: #242833;
  margin: 0 0 6px;
}

.vehicle-photo-group-heading p {
  font-size: 11px;
  color: #858992;
  line-height: 1.5;
  margin: 0;
}

.vehicle-photo-group-heading > span {
  color: #777d88;
  font-size: 10px;
  white-space: nowrap;
}

.vehicle-photo-dropzone {
  min-height: 160px;
  padding: 22px;
  border: 1px dashed #cfd1d6;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  background: #fafafa;
  text-align: center;
}

.vehicle-photo-dropzone:hover {
  background: #f5f5f6;
  border-color: #777;
}

.vehicle-photo-dropzone input {
  display: none;
}

.vehicle-photo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ededee;
  color: #282a30;
  font-size: 22px;
}

.vehicle-photo-dropzone strong {
  font-size: 12px;
  color: #30333a;
}

.vehicle-photo-dropzone small {
  color: #9398a1;
  font-size: 10px;
}

.vehicle-photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.vehicle-photo-preview {
  position: relative;
  min-width: 0;
}

.vehicle-photo-preview img {
  width: 100%;
  height: 85px;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
}

.vehicle-photo-preview > button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 23px;
  height: 23px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.85);
  color: #fff;
  cursor: pointer;
}

.vehicle-photo-preview > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #777d88;
  font-size: 9px;
  margin-top: 4px;
}

.vehicle-wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  margin-top: 24px;
  border-top: 1px solid #ededf0;
}

.vehicle-wizard-footer > span {
  color: #777d88;
  font-size: 12px;
}

/* Vehicle detail form */

.vehicle-form-section {
  padding: 22px 0;
  border-top: 1px solid #ededf0;
}

.vehicle-form-section h3 {
  color: #252832;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 19px;
}

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

.vehicle-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.vehicle-form-field label {
  color: #464b55;
  font-size: 12px;
  font-weight: 600;
}

.vehicle-form-field input,
.vehicle-form-field select,
.vehicle-form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  background: #fff;
  color: #24262c;
  border: 1px solid #dedfe3;
  border-radius: 7px;
  outline: none;
  font-family: inherit;
  font-size: 12px;
}

.vehicle-form-field input:focus,
.vehicle-form-field select:focus,
.vehicle-form-field textarea:focus {
  border-color: #777d88;
}

.vehicle-form-field textarea {
  resize: vertical;
  line-height: 1.6;
}

.required-mark {
  color: #c33;
}

/* Features */

.vehicle-feature-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 14px 16px;
  background: #f7f7f8;
  border-radius: 8px;
  margin-bottom: 25px;
}

.vehicle-feature-summary strong {
  color: #20232b;
  font-size: 17px;
}

.vehicle-feature-summary span {
  color: #777d88;
  font-size: 11px;
  margin-right: 18px;
}

.vehicle-feature-catalogue h3,
.vehicle-custom-feature h3,
.vehicle-specifications h3 {
  color: #252832;
  font-size: 16px;
  margin: 0 0 7px;
}

.vehicle-help-text {
  color: #858992;
  font-size: 11px;
  line-height: 1.6;
  margin: 0 0 17px;
}

.vehicle-feature-group {
  padding: 18px 0;
  border-bottom: 1px solid #ededf0;
}

.vehicle-feature-group h4,
.vehicle-spec-group h4 {
  color: #343842;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 13px;
}

.vehicle-feature-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.vehicle-feature-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #e0e1e5;
  border-radius: 7px;
  background: #fff;
  color: #555a64;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.vehicle-feature-option input {
  display: none;
}

.vehicle-feature-option.selected {
  background: #f0f0f1;
  color: #20232b;
  border-color: #333;
}

.vehicle-feature-check {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid #d5d6da;
  border-radius: 4px;
  font-size: 11px;
}

.vehicle-feature-option.selected .vehicle-feature-check {
  color: #fff;
  background: #222;
  border-color: #222;
}

.vehicle-custom-feature {
  padding: 24px 0;
  border-bottom: 1px solid #ededf0;
}

.vehicle-custom-feature-input {
  display: flex;
  gap: 10px;
  max-width: 580px;
}

.vehicle-custom-feature-input input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dedfe3;
  border-radius: 7px;
  outline: none;
  font-size: 12px;
}

.vehicle-selected-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.vehicle-selected-custom > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f1f1f2;
  color: #333;
  font-size: 11px;
}

.vehicle-selected-custom button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  color: #777;
}

/* Specifications */

.vehicle-specifications {
  padding-top: 24px;
}

.vehicle-spec-group {
  padding: 19px 0;
  border-bottom: 1px solid #ededf0;
}

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

/* Buttons and alerts */

.vehicle-wizard .admin-primary-button,
.vehicle-wizard .admin-secondary-button,
.vehicle-inventory-page .admin-primary-button,
.vehicle-inventory-page .admin-secondary-button {
  border-radius: 7px;
  padding: 11px 17px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.vehicle-wizard .admin-primary-button,
.vehicle-inventory-page .admin-primary-button {
  color: #fff;
  background: #191a1d;
  border: 1px solid #191a1d;
}

.vehicle-wizard .admin-primary-button:hover,
.vehicle-inventory-page .admin-primary-button:hover {
  background: #333;
}

.vehicle-wizard .admin-secondary-button,
.vehicle-inventory-page .admin-secondary-button {
  color: #333;
  background: #fff;
  border: 1px solid #dedfe3;
}

.vehicle-wizard button:disabled,
.vehicle-inventory-page button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Responsive */

@media (max-width: 900px) {
  .vehicle-upload-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-stepper {
    padding: 16px;
  }

  .vehicle-step {
    gap: 7px;
  }

  .vehicle-step span {
    display: none;
  }

  .vehicle-step:not(:last-child)::after {
    left: 35px;
    right: 8px;
  }
}

@media (max-width: 600px) {
  .inventory-summary {
    grid-template-columns: 1fr;
  }

  .inventory-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .inventory-search {
    max-width: none;
  }

  .vehicle-wizard-panel {
    padding: 16px;
  }

  .vehicle-form-grid,
  .vehicle-spec-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-stepper {
    gap: 8px;
  }

  .vehicle-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vehicle-step:not(:last-child)::after {
    display: none;
  }

  .vehicle-step strong {
    font-size: 10px;
  }

  .vehicle-wizard-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .vehicle-wizard-footer button {
    width: 100%;
  }
}



/* Vehicle inventory identity: registration first, bold */

.inventory-vehicle-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 175px;
}

.inventory-vehicle-identity .inventory-registration-number {
  display: block;
  color: #252832;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.35;
  text-transform: uppercase;
}

.inventory-vehicle-identity .inventory-car-name {
  display: block;
  color: #454a54;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.inventory-vehicle-identity .inventory-variant {
  display: block;
  color: #858992;
  font-size: 12px;
  font-weight: 400;
}

/* Updated specification sections */

.vehicle-spec-group {
  padding: 20px 0;
  border-bottom: 1px solid #ededf0;
}

.vehicle-spec-group h4 {
  color: #343842;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 15px;
}

.vehicle-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 20px;
}

.vehicle-spec-grid .vehicle-form-field select {
  cursor: pointer;
  background-color: #fff;
}

@media (max-width: 600px) {
  .vehicle-spec-grid {
    grid-template-columns: 1fr;
  }
}



/* ======================================
   ENQUIRIES PAGE
====================================== */

.enquiry-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.enquiry-summary-card {
  background: #fff;
  border: 1px solid #e9e9ed;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.enquiry-summary-card span {
  font-size: 12px;
  color: #858995;
}

.enquiry-summary-card strong {
  font-size: 25px;
  color: #252832;
}

.enquiry-content-card {
  background: #fff;
  border: 1px solid #e9e9ed;
  border-radius: 10px;
  overflow: hidden;
}

.enquiry-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid #ededf0;
}

.enquiry-toolbar input,
.enquiry-toolbar select {
  min-height: 40px;
  border: 1px solid #e2e3e8;
  border-radius: 7px;
  background: #fff;
  padding: 0 12px;
  font-size: 12px;
  color: #343842;
}

.enquiry-search {
  flex: 1;
  min-width: 220px;
}

.enquiry-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.enquiry-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  text-align: left;
}

.enquiry-table th {
  background: #fafafa;
  color: #777d88;
  font-size: 11px;
  font-weight: 600;
  padding: 14px 12px;
  white-space: nowrap;
}

.enquiry-table td {
  padding: 15px 12px;
  border-top: 1px solid #f0f0f2;
  color: #4e535e;
  font-size: 12px;
  vertical-align: middle;
}

.enquiry-customer-name {
  color: #292d36;
  font-size: 13px;
  font-weight: 650;
}

.enquiry-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.enquiry-contact small {
  color: #858995;
  font-size: 11px;
}

.enquiry-status,
.enquiry-priority {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.enquiry-status.new {
  background: #eaf1ff;
  color: #3265ba;
}

.enquiry-status.contacted {
  background: #f0edff;
  color: #6c52ad;
}

.enquiry-status.follow-up {
  background: #fff4df;
  color: #a46c16;
}

.enquiry-status.qualified {
  background: #e8f4ff;
  color: #276a9b;
}

.enquiry-status.converted {
  background: #e8f6ed;
  color: #277347;
}

.enquiry-status.lost {
  background: #fcebec;
  color: #b53c43;
}

.enquiry-priority.low {
  background: #f1f2f4;
  color: #737984;
}

.enquiry-priority.medium {
  background: #fff4df;
  color: #a46c16;
}

.enquiry-priority.high,
.enquiry-priority.urgent {
  background: #fcebec;
  color: #b53c43;
}

.enquiry-view-button {
  padding: 7px 12px;
  border: 1px solid #e2e3e8;
  background: #fff;
  color: #30343d;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
}

.enquiry-view-button:hover {
  background: #f5f5f6;
}

.enquiry-table-footer {
  border-top: 1px solid #ededf0;
  padding: 14px 16px;
  color: #858995;
  font-size: 11px;
}

.enquiry-empty-state {
  padding: 65px 20px;
  text-align: center;
  color: #777d88;
  font-size: 13px;
}

.enquiry-empty-state h3 {
  color: #30343d;
  margin-bottom: 8px;
}

/* ======================================
   ENQUIRY DETAILS MODAL
====================================== */

.enquiry-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 22, 28, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.enquiry-details-modal {
  width: 100%;
  max-width: 650px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.16);
}

.enquiry-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid #ededf0;
}

.enquiry-modal-header h2 {
  margin: 0 0 5px;
  color: #252832;
  font-size: 19px;
}

.enquiry-modal-header p {
  margin: 0;
  color: #858995;
  font-size: 12px;
}

.enquiry-modal-close {
  width: 32px;
  height: 32px;
  border: 1px solid #e5e5e8;
  border-radius: 7px;
  background: #fff;
  font-size: 22px;
  cursor: pointer;
}

.enquiry-detail-section {
  padding: 19px 22px;
  border-bottom: 1px solid #ededf0;
}

.enquiry-detail-section h3 {
  margin: 0 0 14px;
  color: #30343d;
  font-size: 13px;
}

.enquiry-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  font-size: 12px;
}

.enquiry-detail-row span {
  color: #858995;
}

.enquiry-detail-row strong {
  color: #343842;
  font-weight: 550;
  text-align: right;
}

.enquiry-message {
  padding: 13px;
  background: #f8f8f9;
  border-radius: 7px;
  color: #555a65;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.enquiry-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 18px 22px;
}

@media (max-width: 1100px) {
  .enquiry-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .enquiry-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enquiry-toolbar {
    flex-direction: column;
  }

  .enquiry-toolbar input,
  .enquiry-toolbar select {
    width: 100%;
  }

  .enquiry-detail-row {
    flex-direction: column;
    gap: 4px;
  }

  .enquiry-detail-row strong {
    text-align: left;
  }
}



/* Enquiry editing form */

.enquiry-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.enquiry-edit-grid input,
.enquiry-edit-grid select,
.enquiry-notes-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid #e2e3e8;
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
}

.enquiry-notes-field {
  margin-top: 18px;
}

.enquiry-notes-field textarea {
  min-height: 100px;
  resize: vertical;
}

@media (max-width: 650px) {
  .enquiry-edit-grid {
    grid-template-columns: 1fr;
  }
}




/* =========================================================
   KANNU CARS — CRM PAGE
   Shared admin.css styling
   Light CRM layout matching the Enquiries page
========================================================= */

.crm-page {
  width: 100%;
  min-width: 0;
  padding: 24px 28px 36px;
  color: #172033;
  background: #f7f7f9;
}

.crm-page .admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}

.crm-page .admin-page-header h1 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -0.8px;
}

.crm-page .admin-page-header p {
  margin: 0;
  color: #7b8493;
  font-size: 13px;
  line-height: 1.6;
}

.crm-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.crm-page .admin-primary-button,
.crm-page .admin-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
}

.crm-page .admin-primary-button {
  border: 1px solid #172033;
  background: #172033;
  color: #ffffff;
}

.crm-page .admin-primary-button:hover {
  background: #263750;
  border-color: #263750;
}

.crm-page .admin-secondary-button {
  border: 1px solid #e1e4e9;
  background: #ffffff;
  color: #293447;
}

.crm-page .admin-secondary-button:hover {
  background: #f1f3f6;
  border-color: #cbd1db;
}

.crm-page .admin-alert {
  margin: 0 0 20px;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 13px;
}

.crm-page .admin-alert-error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
}

.crm-page .admin-alert-success {
  color: #067647;
  background: #ecfdf3;
  border: 1px solid #abefc6;
}

/* Statistics */

.crm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.crm-stat-card {
  min-width: 0;
  padding: 21px;
  background: #ffffff;
  border: 1px solid #e6e8ed;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgb(15 23 42 / 3%);
}

.crm-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #858d9b;
  font-size: 12px;
  font-weight: 550;
}

.crm-stat-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #53647c;
  background: #f1f4f8;
  border-radius: 9px;
}

.crm-stat-card > strong {
  display: block;
  margin: 12px 0 5px;
  color: #172033;
  font-size: 29px;
  font-weight: 750;
}

.crm-stat-card > small {
  color: #9299a6;
  font-size: 11px;
}

/* Customer listing */

.crm-content-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgb(15 23 42 / 3%);
}

.crm-toolbar {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px;
  border-bottom: 1px solid #eaecf0;
}

.crm-search-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 180px;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #dfe3e9;
  border-radius: 8px;
  background: #ffffff;
  color: #8792a2;
}

.crm-search-wrapper:focus-within {
  border-color: #7d91ae;
  box-shadow: 0 0 0 3px rgb(59 91 140 / 8%);
}

.crm-search-wrapper input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  outline: none;
  color: #263247;
  background: transparent;
  font-size: 13px;
}

.crm-search-wrapper input::placeholder {
  color: #9299a5;
}

.crm-toolbar select {
  min-width: 155px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dfe3e9;
  border-radius: 8px;
  outline: none;
  background: #ffffff;
  color: #394457;
  font-size: 13px;
}

.crm-toolbar select:focus {
  border-color: #7d91ae;
}

.crm-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.crm-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  text-align: left;
}

.crm-table th {
  padding: 14px 13px;
  color: #7c8492;
  background: #fafafa;
  border-bottom: 1px solid #e9ebef;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.crm-table td {
  padding: 15px 13px;
  color: #596273;
  border-bottom: 1px solid #edf0f3;
  font-size: 12px;
  vertical-align: middle;
}

.crm-table tbody tr:hover {
  background: #fafbfc;
}

.crm-table tbody tr:last-child td {
  border-bottom: 0;
}

.crm-customer-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 160px;
}

.crm-customer-cell > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.crm-customer-cell strong {
  color: #273247;
  font-size: 12px;
  font-weight: 700;
}

.crm-customer-cell small {
  color: #9299a5;
  font-size: 11px;
}

.crm-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  place-items: center;
  color: #34445d;
  background: #edf1f6;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 750;
}

.crm-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.crm-status-new {
  color: #175cd3;
  background: #eff8ff;
}

.crm-status-active {
  color: #067647;
  background: #ecfdf3;
}

.crm-status-converted {
  color: #6941c6;
  background: #f4f3ff;
}

.crm-status-inactive {
  color: #667085;
  background: #f2f4f7;
}

.crm-row-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.crm-page .crm-view-button {
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid #dfe3e9;
  border-radius: 6px;
  background: #ffffff;
  color: #344054;
  font-size: 11px;
  font-weight: 650;
}

.crm-page .crm-view-button:hover {
  background: #f5f7fa;
}

.crm-page .crm-icon-action {
  display: grid;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid #e2e5eb;
  border-radius: 6px;
  background: #ffffff;
  color: #667085;
}

.crm-table-footer {
  padding: 13px 17px;
  color: #89919f;
  border-top: 1px solid #eaecf0;
  background: #ffffff;
  font-size: 11px;
}

.crm-empty-state {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 35px 20px;
  text-align: center;
  color: #8993a3;
}

.crm-empty-state h3 {
  margin: 0;
  color: #293447;
  font-size: 16px;
}

.crm-empty-state p {
  max-width: 420px;
  margin: 0 0 5px;
  color: #8791a0;
  font-size: 12px;
  line-height: 1.7;
}

/* Customer profile */

.crm-profile {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.crm-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 23px;
  background: #ffffff;
  border: 1px solid #e6e8ed;
  border-radius: 11px;
}

.crm-profile-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.crm-profile-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  place-items: center;
  color: #34445d;
  background: #edf1f6;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 750;
}

.crm-profile-identity h2 {
  margin: 0 0 5px;
  color: #172033;
  font-size: 20px;
}

.crm-profile-identity p {
  margin: 0 0 8px;
  color: #8992a0;
  font-size: 12px;
}

.crm-profile-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  padding: 0 18px;
  background: #ffffff;
  border: 1px solid #e6e8ed;
  border-radius: 10px;
}

.crm-profile-tabs button {
  position: relative;
  min-height: 48px;
  padding: 12px 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #7d8796;
  font-size: 12px;
  white-space: nowrap;
}

.crm-profile-tabs button.active {
  color: #172033;
  font-weight: 750;
}

.crm-profile-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #172033;
  content: "";
}

.crm-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 18px;
}

.crm-profile-card {
  min-width: 0;
  padding: 23px;
  background: #ffffff;
  border: 1px solid #e6e8ed;
  border-radius: 11px;
}

.crm-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.crm-section-heading h3 {
  margin: 0 0 5px;
  color: #263247;
  font-size: 16px;
}

.crm-section-heading p {
  margin: 0;
  color: #8992a0;
  font-size: 12px;
}

.crm-section-heading > svg {
  color: #8490a1;
}

.crm-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 15px;
}

.crm-detail-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.crm-detail-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  place-items: center;
  color: #64748b;
  background: #f1f4f8;
  border-radius: 8px;
}

.crm-detail-item > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.crm-detail-item small,
.crm-address-block small {
  color: #8b94a2;
  font-size: 11px;
}

.crm-detail-item strong {
  overflow-wrap: anywhere;
  color: #344054;
  font-size: 12px;
  font-weight: 650;
}

.crm-address-block {
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid #edf0f3;
}

.crm-address-block p {
  margin: 7px 0 0;
  color: #344054;
  font-size: 12px;
  line-height: 1.7;
}

.crm-activity-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.crm-activity-summary > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 8px;
  text-align: center;
  background: #f7f8fa;
  border-radius: 8px;
}

.crm-activity-summary strong {
  color: #172033;
  font-size: 22px;
}

.crm-activity-summary span {
  color: #818b9a;
  font-size: 10px;
}

/* Interaction timeline */

.crm-timeline {
  display: flex;
  flex-direction: column;
}

.crm-timeline-item {
  display: flex;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0f3;
}

.crm-timeline-item:last-child {
  border-bottom: 0;
}

.crm-timeline-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  place-items: center;
  color: #53647c;
  background: #edf1f6;
  border-radius: 50%;
}

.crm-timeline-content {
  flex: 1;
  min-width: 0;
}

.crm-timeline-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.crm-timeline-heading strong {
  color: #344054;
  font-size: 13px;
}

.crm-timeline-heading small,
.crm-timeline-content > small {
  color: #8992a0;
  font-size: 10px;
}

.crm-interaction-type {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 8px;
  color: #475467;
  background: #f2f4f7;
  border-radius: 5px;
  font-size: 10px;
}

.crm-timeline-content p {
  margin: 9px 0;
  color: #626d7d;
  font-size: 12px;
  line-height: 1.7;
}

/* Notes */

.crm-note-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.crm-note-form textarea {
  width: 100%;
  min-height: 95px;
  padding: 12px;
  resize: vertical;
  border: 1px solid #dfe3e9;
  border-radius: 8px;
  outline: none;
  color: #344054;
  background: #ffffff;
  font-size: 13px;
}

.crm-note-form textarea:focus {
  border-color: #7d91ae;
  box-shadow: 0 0 0 3px rgb(59 91 140 / 8%);
}

.crm-notes-list {
  display: flex;
  flex-direction: column;
}

.crm-note-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0f3;
}

.crm-note-item p {
  margin: 0 0 8px;
  color: #344054;
  font-size: 13px;
  line-height: 1.7;
}

.crm-note-item small {
  color: #8992a0;
  font-size: 10px;
}

.crm-page .crm-delete-note {
  display: grid;
  width: 32px;
  height: 32px;
  min-height: 32px;
  flex-shrink: 0;
  padding: 0;
  place-items: center;
  color: #b42318;
  background: #fff5f5;
  border: 1px solid #fee4e2;
}

/* Modal */

.crm-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background: rgb(16 24 40 / 50%);
  backdrop-filter: blur(3px);
}

.crm-modal {
  width: min(650px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 13px;
  box-shadow: 0 24px 70px rgb(15 23 42 / 20%);
}

.crm-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 24px;
  border-bottom: 1px solid #eaecf0;
}

.crm-modal-header h2 {
  margin: 0 0 6px;
  color: #172033;
  font-size: 19px;
}

.crm-modal-header p {
  margin: 0;
  color: #8992a0;
  font-size: 12px;
}

.crm-page .crm-close-button {
  display: grid;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  place-items: center;
  color: #667085;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.crm-form {
  padding: 24px;
}

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

.crm-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 650;
}

.crm-form-grid input,
.crm-form-grid select,
.crm-form-grid textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  color: #344054;
  background: #ffffff;
  border: 1px solid #dfe3e9;
  border-radius: 7px;
  outline: none;
  font-size: 12px;
  font-weight: 400;
}

.crm-form-grid textarea {
  resize: vertical;
}

.crm-form-grid input:focus,
.crm-form-grid select:focus,
.crm-form-grid textarea:focus {
  border-color: #7d91ae;
  box-shadow: 0 0 0 3px rgb(59 91 140 / 8%);
}

.crm-form-grid input::placeholder,
.crm-form-grid textarea::placeholder {
  color: #a0a7b2;
}

.crm-form-full {
  grid-column: 1 / -1;
}

.crm-modal-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #eaecf0;
}

/* Responsive */

@media (max-width: 1050px) {
  .crm-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crm-profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .crm-page {
    padding: 18px 12px 30px;
  }

  .crm-page .admin-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .crm-header-actions {
    width: 100%;
  }

  .crm-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .crm-stat-card {
    padding: 15px;
  }

  .crm-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .crm-search-wrapper {
    flex: auto;
  }

  .crm-toolbar select {
    width: 100%;
  }

  .crm-profile-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 17px;
  }

  .crm-profile-card {
    padding: 17px;
  }

  .crm-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .crm-form-full {
    grid-column: auto;
  }

  .crm-modal-overlay {
    align-items: flex-start;
    padding: 12px;
  }

  .crm-modal {
    max-height: 95vh;
  }

  .crm-form {
    padding: 18px;
  }

  .crm-profile-tabs {
    gap: 17px;
  }
}



/* Sold / Unsold toggle button */

.inventory-sold-toggle-button {
  min-width: 82px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Green: vehicle is currently available.
   Clicking marks it as sold. */
.inventory-sold-toggle-button.is-unsold {
  color: #16803c;
  background: #eaf7ef;
  border-color: #c6e9d2;
}

.inventory-sold-toggle-button.is-unsold:hover {
  color: #ffffff;
  background: #16803c;
  border-color: #16803c;
}

/* Red: vehicle is currently sold.
   Clicking restores it as unsold/available. */
.inventory-sold-toggle-button.is-sold {
  color: #c62828;
  background: #fff0f0;
  border-color: #f0caca;
}

.inventory-sold-toggle-button.is-sold:hover {
  color: #ffffff;
  background: #c62828;
  border-color: #c62828;
}

.inventory-sold-toggle-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}




/* =========================================
   SIDEBAR BRAND LOGO
========================================= */

.admin-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.admin-brand-mark {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 11px;
  background: #171717;
  color: #ffffff;
}

.admin-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.admin-brand-mark-fallback {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.admin-brand-details {
  min-width: 0;
}

.admin-brand-details h2 {
  margin: 0;
  color: #171717;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.5px;
}

.admin-brand-details span {
  display: block;
  margin-top: 4px;
  color: #85878c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

/* =========================================
   HEADER ACTIONS
========================================= */

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-header-dropdown-wrapper {
  position: relative;
}

.admin-icon-button {
  position: relative;
}

.admin-notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
  border-radius: 20px;
  background: #dc2626;
  color: #ffffff;
  font-size: 9px;
  font-weight: 750;
}

.admin-profile-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-profile-trigger .admin-topbar-avatar {
  width: 40px;
  height: 40px;
}

.admin-profile-chevron {
  color: #777777;
  transition: transform 0.2s ease;
}

.admin-profile-trigger[aria-expanded="true"]
.admin-profile-chevron {
  transform: rotate(180deg);
}

/* =========================================
   DROPDOWN COMMON
========================================= */

.admin-header-dropdown {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  z-index: 100;
  width: 340px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
  color: #222222;
  animation: adminDropdownIn 0.16s ease-out;
}

@keyframes adminDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   NOTIFICATION DROPDOWN
========================================= */

.admin-dropdown-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 17px 17px 14px;
  border-bottom: 1px solid #eeeeee;
}

.admin-dropdown-heading h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 750;
}

.admin-dropdown-heading p {
  margin: 5px 0 0;
  color: #888888;
  font-size: 11px;
}

.admin-dropdown-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #777777;
  cursor: pointer;
}

.admin-dropdown-close:hover {
  background: #f2f2f2;
}

.admin-notification-list {
  display: flex;
  flex-direction: column;
}

.admin-notification-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #eeeeee;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.admin-notification-item:hover {
  background: #f8f8f8;
}

.admin-notification-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #f0f0f0;
  color: #333333;
}

.admin-notification-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.admin-notification-content strong {
  overflow: hidden;
  color: #222222;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-notification-content span {
  overflow: hidden;
  color: #666666;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-notification-content small {
  color: #999999;
  font-size: 10px;
}

.admin-notification-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2563eb;
}

.admin-dropdown-empty {
  display: flex;
  min-height: 100px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 18px;
  color: #888888;
  font-size: 12px;
  text-align: center;
}

.admin-notification-view-all {
  width: 100%;
  padding: 13px;
  border: 0;
  background: #ffffff;
  color: #222222;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-notification-view-all:hover {
  background: #f5f5f5;
}

/* =========================================
   PROFILE DROPDOWN
========================================= */

.admin-profile-panel {
  width: 290px;
}

.admin-profile-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
}

.admin-profile-large-avatar {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #222222;
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
}

.admin-profile-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.admin-profile-details strong {
  color: #222222;
  font-size: 13px;
  font-weight: 750;
}

.admin-profile-details span {
  overflow: hidden;
  color: #777777;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-profile-details small {
  color: #999999;
  font-size: 10px;
  text-transform: capitalize;
}

.admin-profile-divider {
  height: 1px;
  background: #eeeeee;
}

.admin-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 13px 17px;
  border: 0;
  background: #ffffff;
  color: #333333;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.admin-profile-menu-item:hover {
  background: #f6f6f6;
}

.admin-profile-logout {
  border-top: 1px solid #eeeeee;
  color: #dc2626;
}

.admin-profile-logout:hover {
  background: #fff5f5;
}

/* =========================================
   SIDEBAR USER DETAILS
========================================= */

.admin-sidebar-user-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.admin-sidebar-user-details strong {
  overflow: hidden;
  color: #222222;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-sidebar-user-details span {
  color: #85878c;
  font-size: 10px;
  text-transform: capitalize;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
  .admin-topbar {
    padding-left: 15px;
    padding-right: 15px;
  }

  .admin-topbar-actions {
    gap: 8px;
  }

  .admin-header-dropdown {
    position: fixed;
    top: 76px;
    right: 10px;
    width: min(340px, calc(100vw - 20px));
  }

  .admin-profile-panel {
    width: min(290px, calc(100vw - 20px));
  }
}




/* Profile photo display in admin header and sidebar */

.admin-topbar-avatar,
.admin-profile-large-avatar,
.admin-avatar {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-topbar-avatar img,
.admin-profile-large-avatar img,
.admin-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


/* ==========================================
   OVERVIEW — MONTHLY PERFORMANCE ANALYTICS
   Scoped to Overview; other admin pages remain unchanged.
========================================== */

.admin-performance-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}

.admin-performance-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.admin-performance-toolbar h2 {
  margin: 0;
  color: #171717;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.45px;
}

.admin-performance-toolbar p {
  margin: 6px 0 0;
  color: #777b82;
  font-size: 12px;
}

.admin-year-select {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777b82;
  font-size: 11px;
  font-weight: 600;
}

.admin-year-select select {
  min-width: 105px;
  padding: 9px 30px 9px 11px;
  border: 1px solid #e5e6e8;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.admin-performance-card {
  width: 100%;
  padding: 24px;
}

.admin-performance-heading {
  align-items: center;
}

.admin-performance-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-performance-title h3 {
  margin: 0;
  color: #171717;
  font-size: 15px;
  font-weight: 700;
}

.admin-performance-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 9px;
  background: #f1f2f3;
  color: #292929;
}

.admin-performance-period {
  color: #858992;
  font-size: 11px;
  white-space: nowrap;
}

.admin-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  margin: 25px 0 16px;
}

.admin-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #656a73;
  font-size: 11px;
}

.admin-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.admin-legend-dot.digital { background: #202020; }
.admin-legend-dot.offline { background: #8b929c; }
.admin-legend-dot.sold { background: #b9a17a; }

.admin-monthly-chart {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 245px;
}

.admin-chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 8px 26px 0;
  color: #999da4;
  font-size: 10px;
  text-align: right;
}

.admin-chart-plot {
  position: relative;
  min-width: 0;
  min-height: 245px;
}

.admin-chart-gridlines {
  position: absolute;
  inset: 0 0 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.admin-chart-gridlines span {
  width: 100%;
  border-top: 1px dashed #e9eaec;
}

.admin-chart-months {
  position: relative;
  z-index: 1;
  display: grid;
  height: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
}

.admin-chart-month {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.admin-chart-bars {
  display: flex;
  width: 100%;
  height: calc(100% - 26px);
  align-items: flex-end;
  justify-content: center;
  gap: clamp(2px, 0.35vw, 5px);
  padding: 0 2px;
}

.admin-chart-bar {
  width: min(22px, 27%);
  min-height: 1px;
  border-radius: 4px 4px 0 0;
  transition: height 450ms ease, opacity 180ms ease;
}

.admin-chart-bar:hover { opacity: 0.72; }
.admin-chart-bar.digital { background: #202020; }
.admin-chart-bar.offline { background: #8b929c; }
.admin-chart-bar.sold { background: #b9a17a; }

.admin-chart-month-label {
  display: block;
  height: 26px;
  padding-top: 9px;
  color: #858992;
  font-size: 10px;
  text-align: center;
}

.admin-chart-footnote {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #eeeeef;
  color: #999da4;
  font-size: 10px;
}

.admin-chart-empty {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #858992;
  font-size: 12px;
}

.admin-overview-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.admin-recent-enquiry-list {
  width: 100%;
  margin-top: 14px;
}

.admin-recent-enquiry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 4px;
  border-bottom: 1px solid #eeeeee;
}

.admin-recent-enquiry-row:last-child { border-bottom: 0; }

.admin-recent-customer {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 12px;
}

.admin-recent-customer-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  min-width: 40px;
  place-items: center;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  font-weight: 600;
}

.admin-recent-customer-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.admin-recent-customer-details strong {
  overflow: hidden;
  color: #222;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-recent-customer-details small {
  color: #858585;
  font-size: 12px;
}

.admin-recent-source {
  min-width: 105px;
}

.admin-recent-source > span {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-size: 12px;
  font-weight: 500;
}

.admin-recent-source small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #929292;
  font-size: 11px;
}

.admin-recent-status {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-recent-footer {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #eeeeee;
  color: #888;
  font-size: 12px;
}

@media (max-width: 768px) {
  .admin-performance-card { padding: 18px 14px; }
  .admin-monthly-chart {
    grid-template-columns: 27px minmax(0, 1fr);
    min-height: 205px;
  }
  .admin-chart-plot { min-height: 205px; }
  .admin-chart-months { gap: 3px; }
  .admin-chart-bars { gap: 2px; padding: 0 1px; }
  .admin-chart-month-label { font-size: 9px; }
  .admin-chart-footnote { flex-direction: column; gap: 5px; }
}

@media (max-width: 520px) {
  .admin-performance-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-performance-period { display: none; }
  .admin-chart-legend { gap: 9px 13px; }
  .admin-chart-legend span { font-size: 10px; }
  .admin-recent-enquiry-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .admin-recent-customer { flex-basis: calc(100% - 10px); }
  .admin-recent-source { margin-left: 52px; }
  .admin-recent-status { margin-left: auto; }
}



/* ==========================================
   OVERVIEW - RECENT ENQUIRIES + MONTHLY GRAPH
========================================== */

/* Keep enquiries on the left and graph on the right */

.admin-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: stretch;
  gap: 18px;
}

/* Recent enquiry list */

.admin-recent-enquiry-list {
  width: 100%;
  margin-top: 14px;
}

.admin-recent-enquiry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 15px 2px;
  border-bottom: 1px solid #eeeeee;
}

.admin-recent-enquiry-row:last-child {
  border-bottom: none;
}

.admin-recent-customer {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 1;
}

.admin-recent-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333333;
  font-size: 14px;
  font-weight: 650;
}

.admin-recent-customer-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.admin-recent-customer-info strong {
  overflow: hidden;
  color: #222222;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-recent-customer-info small {
  color: #858585;
  font-size: 11px;
}

.admin-recent-source {
  display: flex;
  flex-direction: column;
  min-width: 105px;
  gap: 5px;
}

.admin-recent-source > span {
  overflow: hidden;
  color: #555555;
  font-size: 11px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-recent-source small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #929292;
  font-size: 10px;
  white-space: nowrap;
}

.admin-recent-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.admin-recent-footer {
  margin-top: 5px;
  padding-top: 13px;
  border-top: 1px solid #eeeeee;
  color: #888888;
  font-size: 11px;
}

/* Monthly performance card */

.admin-monthly-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-monthly-heading {
  align-items: center;
}

.admin-monthly-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-monthly-title h3 {
  margin: 0;
}

.admin-monthly-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #f0f1f2;
  color: #333333;
}

.admin-month-select {
  min-width: 112px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e2e3e6;
  border-radius: 8px;
  outline: none;
  background: #ffffff;
  color: #333333;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.admin-month-select:focus {
  border-color: #777777;
}

.admin-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.admin-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #777b82;
  font-size: 10px;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.digital {
  background: #202020;
}

.legend-dot.offline {
  background: #9299a3;
}

.legend-dot.sold {
  background: #b49a70;
}

/* Three visible bars and count labels */

.admin-performance-chart {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 245px;
  margin-top: 20px;
  padding: 10px 5px 0;
  border-bottom: 1px solid #e8e8e8;
}

.admin-performance-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.admin-chart-count {
  display: block;
  min-height: 23px;
  margin-bottom: 7px;
  color: #202020;
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
}

.admin-chart-bar-area {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 160px;
  border-bottom: 1px dashed #e4e5e7;
}

.admin-chart-bar {
  width: min(52px, 65%);
  border-radius: 6px 6px 0 0;
  transition: height 0.35s ease;
}

.admin-chart-bar.digital {
  background: #202020;
}

.admin-chart-bar.offline {
  background: #9299a3;
}

.admin-chart-bar.sold {
  background: #b49a70;
}

.admin-chart-category {
  display: block;
  min-height: 35px;
  margin-top: 10px;
  color: #777b82;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.4;
  text-align: center;
}

.admin-chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  color: #92949a;
  font-size: 10px;
}

/* Tablet */

@media (max-width: 1100px) {
  .admin-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-monthly-card {
    min-height: 350px;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .admin-recent-enquiry-row {
    flex-wrap: wrap;
    gap: 9px;
    padding: 13px 0;
  }

  .admin-recent-customer {
    flex-basis: 55%;
  }

  .admin-recent-source {
    min-width: 0;
    flex: 1;
    align-items: flex-end;
  }

  .admin-recent-status {
    margin-left: 49px;
  }

  .admin-monthly-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-month-select {
    width: 100%;
  }

  .admin-performance-chart {
    min-height: 220px;
    gap: 8px;
  }

  .admin-chart-bar-area {
    height: 135px;
  }

  .admin-chart-category {
    font-size: 9px;
  }

  .admin-chart-count {
    font-size: 14px;
  }

  .admin-chart-footer {
    font-size: 9px;
  }
}

/* =========================================================
   KANNU CARS — CRM
   Premium, minimal administration interface
   Scoped to CRM only
   ========================================================= */

.crm-page {
  --crm-bg: #f7f7f8;
  --crm-card: #ffffff;
  --crm-text: #171717;
  --crm-muted: #737782;
  --crm-border: #e5e7eb;
  --crm-soft: #f3f4f6;
  --crm-dark: #171717;
  --crm-radius: 13px;

  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 30px 34px 48px;
  color: var(--crm-text);
  background: transparent;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.crm-page,
.crm-page * {
  box-sizing: border-box;
}

/* Page heading */

.crm-page .admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.crm-page .admin-page-header h1 {
  margin: 0;
  color: #171717;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 750;
  letter-spacing: -1.1px;
  line-height: 1.25;
}

.crm-page .admin-page-header p {
  margin: 8px 0 0;
  color: #777b84;
  font-size: 13px;
  line-height: 1.6;
}

.crm-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

/* Buttons */

.crm-page .admin-primary-button,
.crm-page .admin-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 0 17px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  transition: all 0.2s ease;
}

.crm-page .admin-primary-button {
  color: #fff;
  background: #171717;
  border: 1px solid #171717;
}

.crm-page .admin-primary-button:hover {
  background: #333;
  border-color: #333;
  transform: translateY(-1px);
}

.crm-page .admin-secondary-button {
  color: #292929;
  background: #fff;
  border: 1px solid #dedfe3;
}

.crm-page .admin-secondary-button:hover {
  background: #f5f5f5;
  border-color: #bfc2c8;
}

.crm-page button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Alerts */

.crm-page .admin-alert {
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: 9px;
  font-size: 13px;
}

.crm-page .admin-alert-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.crm-page .admin-alert-success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

/* Statistics */

.crm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 27px;
}

.crm-stat-card {
  min-width: 0;
  padding: 21px 22px;
  background: var(--crm-card);
  border: 1px solid var(--crm-border);
  border-radius: var(--crm-radius);
  box-shadow: 0 2px 7px rgb(0 0 0 / 3%);
  transition: border-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.crm-stat-card:hover {
  border-color: #c9cbd0;
  box-shadow: 0 5px 16px rgb(0 0 0 / 5%);
  transform: translateY(-2px);
}

.crm-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.crm-stat-top > span:first-child {
  color: #737782;
  font-size: 12px;
  font-weight: 600;
}

.crm-stat-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: #414b5c;
  background: #f1f3f6;
  border-radius: 10px;
}

.crm-stat-card > strong {
  display: block;
  color: #171717;
  font-size: 30px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -1px;
}

.crm-stat-card > small {
  display: block;
  margin-top: 8px;
  color: #9296a0;
  font-size: 11px;
}

/* Customer table card */

.crm-content-card,
.crm-profile-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--crm-border);
  border-radius: var(--crm-radius);
  box-shadow: 0 2px 8px rgb(0 0 0 / 3%);
}

/* Search and filters */

.crm-toolbar {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px;
  background: #fff;
  border-bottom: 1px solid #eceef1;
}

.crm-search-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 44px;
  gap: 10px;
  padding: 0 13px;
  color: #8a909c;
  background: #fff;
  border: 1px solid #dfe2e7;
  border-radius: 9px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.crm-search-wrapper:focus-within {
  border-color: #777;
  box-shadow: 0 0 0 3px rgb(0 0 0 / 5%);
}

.crm-search-wrapper input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  color: #202124;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 13px;
}

.crm-search-wrapper input::placeholder {
  color: #9ba1ad;
}

.crm-toolbar > select {
  width: 157px;
  height: 44px;
  padding: 0 12px;
  color: #333b49;
  background: #fff;
  border: 1px solid #dfe2e7;
  border-radius: 9px;
  outline: none;
  font-size: 12px;
}

/* Table */

.crm-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.crm-table {
  width: 100%;
  min-width: 850px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  text-align: left;
}

.crm-table thead {
  background: #f7f8fa;
}

.crm-table th {
  padding: 15px 17px;
  color: #777e8a;
  background: #f7f8fa;
  border-bottom: 1px solid #e8eaee;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.crm-table td {
  padding: 15px 17px;
  color: #4c5260;
  background: #fff;
  border-bottom: 1px solid #eff0f2;
  font-size: 12px;
  vertical-align: middle;
}

.crm-table tbody tr {
  transition: background 0.18s ease;
}

.crm-table tbody tr:hover td {
  background: #fafafa;
}

.crm-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Customer name and avatar */

.crm-customer-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 155px;
}

.crm-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: #333;
  background: #f0f1f3;
  border: 1px solid #e1e3e7;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.crm-customer-cell strong {
  display: block;
  color: #202124;
  font-size: 12px;
  font-weight: 700;
}

.crm-customer-cell small {
  display: block;
  margin-top: 5px;
  color: #9298a3;
  font-size: 10px;
}

/* Status labels */

.crm-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 10px;
  color: #515762;
  background: #f0f1f3;
  border: 1px solid #e6e7ea;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.crm-status-new {
  color: #475569;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.crm-status-active {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.crm-status-converted {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.crm-status-inactive {
  color: #737373;
  background: #f5f5f5;
  border-color: #e5e5e5;
}

/* Table actions */

.crm-table-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.crm-table-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  color: #30343b;
  background: #fff;
  border: 1px solid #dedfe3;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
}

.crm-table-actions button:hover {
  color: #000;
  background: #f4f4f5;
  border-color: #bfc2c8;
}

/* Table footer */

.crm-table-footer {
  padding: 13px 17px;
  color: #8b929f;
  background: #fff;
  border-top: 1px solid #eff0f2;
  font-size: 11px;
}

/* Empty and loading states */

.crm-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 35px 20px;
  color: #9298a3;
  text-align: center;
}

.crm-empty-state > svg {
  margin-bottom: 13px;
  color: #a0a5ae;
}

.crm-empty-state h3 {
  margin: 0 0 7px;
  color: #292d34;
  font-size: 15px;
}

.crm-empty-state p {
  max-width: 390px;
  margin: 0 0 16px;
  color: #8b929f;
  font-size: 12px;
  line-height: 1.6;
}

/* Customer profile */

.crm-profile-card {
  margin-bottom: 20px;
  padding: 22px;
}

.crm-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.crm-section-heading h3 {
  margin: 0;
  color: #202124;
  font-size: 16px;
  font-weight: 700;
}

.crm-section-heading p {
  margin: 6px 0 0;
  color: #858b96;
  font-size: 12px;
}

.crm-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid #eff0f2;
}

.crm-detail-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: #555d6b;
  background: #f3f4f6;
  border-radius: 9px;
}

.crm-detail-item > div {
  min-width: 0;
}

.crm-detail-item strong,
.crm-detail-item span {
  overflow-wrap: anywhere;
}

.crm-detail-item small {
  display: block;
  margin-bottom: 4px;
  color: #9298a3;
  font-size: 10px;
}

.crm-detail-item p {
  margin: 0;
  color: #292d34;
  font-size: 12px;
}

/* Profile tabs */

.crm-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
  overflow-x: auto;
  border-bottom: 1px solid #e7e8eb;
}

.crm-tabs button {
  position: relative;
  flex: 0 0 auto;
  padding: 13px 2px;
  color: #777e8a;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 600;
}

.crm-tabs button.active {
  color: #171717;
}

.crm-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #171717;
  content: "";
}

/* Interactions timeline */

.crm-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.crm-timeline-item {
  display: flex;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #eff0f2;
}

.crm-timeline-icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  place-items: center;
  color: #444b57;
  background: #f1f2f4;
  border-radius: 50%;
}

.crm-timeline-content {
  flex: 1;
  min-width: 0;
}

.crm-timeline-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.crm-timeline-heading strong {
  color: #272b32;
  font-size: 13px;
}

.crm-timeline-heading small,
.crm-timeline-content > small {
  color: #9298a3;
  font-size: 10px;
}

.crm-timeline-content p {
  margin: 8px 0;
  color: #666d78;
  font-size: 12px;
  line-height: 1.6;
}

.crm-interaction-type {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 8px;
  color: #555d6b;
  background: #f1f2f4;
  border-radius: 5px;
  font-size: 10px;
}

/* Notes */

.crm-note-form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 20px;
}

.crm-note-form textarea {
  width: 100%;
  min-height: 95px;
  padding: 13px 14px;
  resize: vertical;
  color: #292d34;
  background: #fff;
  border: 1px solid #dedfe3;
  border-radius: 9px;
  outline: none;
  font-size: 12px;
}

.crm-note-form textarea:focus {
  border-color: #777;
  box-shadow: 0 0 0 3px rgb(0 0 0 / 5%);
}

.crm-notes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crm-note-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 15px;
  background: #fafafa;
  border: 1px solid #eceef1;
  border-radius: 9px;
}

.crm-note-item p {
  margin: 0 0 9px;
  color: #444a54;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.crm-note-item small {
  color: #9298a3;
  font-size: 10px;
}

.crm-delete-note {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  color: #777;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 7px;
}

.crm-delete-note:hover {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

/* Forms and modals */

.crm-page input:not([type="checkbox"]):not([type="radio"]),
.crm-page select,
.crm-page textarea {
  font-family: inherit;
}

.crm-page input:focus-visible,
.crm-page select:focus-visible,
.crm-page textarea:focus-visible,
.crm-page button:focus-visible {
  outline: 2px solid #777;
  outline-offset: 2px;
}

/* Responsive */

@media (max-width: 1100px) {
  .crm-page {
    padding: 25px 22px 40px;
  }

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

@media (max-width: 700px) {
  .crm-page {
    padding: 20px 14px 35px;
  }

  .crm-page .admin-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .crm-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .crm-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .crm-stat-card {
    padding: 18px;
  }

  .crm-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .crm-toolbar > select {
    width: 100%;
  }

  .crm-profile-card {
    padding: 17px;
  }

  .crm-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .crm-timeline-heading {
    flex-direction: column;
    gap: 5px;
  }
}

/* =====================================================
   KANNU CARS — SELL YOUR CAR SUBMISSIONS
   ===================================================== */

.seller-page {
  --seller-text: #171717;
  --seller-muted: #777d87;
  --seller-border: #e5e7eb;
  --seller-soft: #f5f6f7;
  --seller-white: #ffffff;

  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 30px 34px 48px;
  color: var(--seller-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.seller-page * {
  box-sizing: border-box;
}

.seller-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}

.seller-page-heading h2 {
  margin: 0;
  color: #171717;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 750;
  letter-spacing: -1px;
}

.seller-page-heading p {
  margin: 8px 0 0;
  color: var(--seller-muted);
  font-size: 13px;
}

.seller-eyebrow {
  margin: 0 0 8px !important;
  color: #858b96 !important;
  font-size: 10px !important;
  font-weight: 750;
  letter-spacing: 1.2px;
}

/* Buttons */

.seller-primary-button,
.seller-secondary-button,
.seller-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: 0.2s ease;
}

.seller-primary-button {
  color: #fff;
  background: #171717;
  border: 1px solid #171717;
}

.seller-primary-button:hover {
  background: #333;
  border-color: #333;
}

.seller-secondary-button,
.seller-view-button {
  color: #333;
  background: #fff;
  border: 1px solid #dedfe3;
}

.seller-secondary-button:hover,
.seller-view-button:hover {
  background: #f5f5f5;
  border-color: #bfc2c8;
}

.seller-page button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Alerts */

.seller-alert {
  margin: 0 0 16px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 12px;
}

.seller-alert-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.seller-alert-success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

/* Statistics */

.seller-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.seller-stat-card {
  min-width: 0;
  padding: 21px;
  background: #fff;
  border: 1px solid var(--seller-border);
  border-radius: 12px;
  box-shadow: 0 2px 7px rgb(0 0 0 / 3%);
  transition: 0.2s ease;
}

.seller-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgb(0 0 0 / 5%);
}

.seller-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.seller-stat-top > span:first-child {
  color: #777d87;
  font-size: 12px;
  font-weight: 600;
}

.seller-stat-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: #414b5c;
  background: #f1f3f6;
  border-radius: 9px;
}

.seller-stat-card > strong {
  display: block;
  color: #171717;
  font-size: 29px;
  font-weight: 750;
}

.seller-stat-card > small {
  display: block;
  margin-top: 7px;
  color: #9298a3;
  font-size: 11px;
}

/* Table card */

.seller-content-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--seller-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 3%);
}

/* Toolbar */

.seller-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #eceef1;
}

.seller-search {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 43px;
  gap: 10px;
  padding: 0 13px;
  color: #8b929f;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
}

.seller-search:focus-within {
  border-color: #888;
  box-shadow: 0 0 0 3px rgb(0 0 0 / 4%);
}

.seller-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  color: #222;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 12px;
}

.seller-search input::placeholder {
  color: #9ba1ad;
}

.seller-toolbar > select {
  width: 165px;
  height: 43px;
  padding: 0 12px;
  color: #333b49;
  background: #fff;
  border: 1px solid #dfe2e7;
  border-radius: 8px;
  font-size: 12px;
  outline: none;
}

/* Table */

.seller-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.seller-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  text-align: left;
}

.seller-table th {
  padding: 15px 16px;
  color: #777e8a;
  background: #f7f8fa;
  border-bottom: 1px solid #e8eaee;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  white-space: nowrap;
}

.seller-table td {
  padding: 14px 16px;
  color: #505663;
  background: #fff;
  border-bottom: 1px solid #eff0f2;
  font-size: 12px;
  vertical-align: middle;
}

.seller-table tbody tr:hover td {
  background: #fafafa;
}

.seller-table tbody tr:last-child td {
  border-bottom: 0;
}

.seller-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}

.seller-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #333;
  background: #f0f1f3;
  border: 1px solid #e1e3e7;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.seller-name-cell strong,
.seller-vehicle-name {
  display: block;
  color: #202124;
  font-size: 12px;
  font-weight: 700;
}

.seller-name-cell small,
.seller-table-subtext {
  display: block;
  margin-top: 5px;
  color: #9298a3;
  font-size: 10px;
}

.seller-price {
  color: #222;
  font-weight: 700;
  white-space: nowrap;
}

.seller-view-button {
  min-height: 33px;
  padding: 0 10px;
  font-size: 11px;
}

/* Status */

.seller-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 10px;
  color: #515762;
  background: #f0f1f3;
  border: 1px solid #e6e7ea;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.seller-status-pending {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}

.seller-status-under-review {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.seller-status-contacted {
  color: #6d28d9;
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.seller-status-accepted {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.seller-status-rejected {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

/* Footer and empty state */

.seller-table-footer {
  padding: 13px 16px;
  color: #8b929f;
  border-top: 1px solid #eff0f2;
  font-size: 11px;
}

.seller-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 30px;
  color: #9298a3;
  text-align: center;
}

.seller-empty-state h3 {
  margin: 12px 0 6px;
  color: #292d34;
  font-size: 15px;
}

.seller-empty-state p {
  max-width: 390px;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

/* Detail modal */

.seller-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgb(0 0 0 / 42%);
  backdrop-filter: blur(3px);
}

.seller-detail-modal {
  display: flex;
  flex-direction: column;
  width: min(850px, 100%);
  max-height: min(90vh, 900px);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  box-shadow: 0 20px 70px rgb(0 0 0 / 20%);
}

.seller-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 25px;
  border-bottom: 1px solid #e9eaed;
}

.seller-modal-header h2 {
  margin: 0 0 11px;
  color: #171717;
  font-size: 22px;
  letter-spacing: -0.6px;
}

.seller-close-button {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #555;
  background: #fff;
  border: 1px solid #e2e3e6;
  border-radius: 8px;
  cursor: pointer;
}

.seller-close-button:hover {
  background: #f4f4f5;
}

.seller-modal-body {
  padding: 22px 25px 28px;
  overflow-y: auto;
}

.seller-detail-section {
  margin-bottom: 23px;
  padding-bottom: 22px;
  border-bottom: 1px solid #eceef1;
}

.seller-detail-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.seller-detail-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: #414b5c;
}

.seller-detail-section-heading h3 {
  margin: 0;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

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

.seller-detail-item {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 10px;
  padding: 12px;
  background: #fafafa;
  border: 1px solid #eff0f2;
  border-radius: 8px;
}

.seller-detail-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: #515968;
  background: #f0f1f3;
  border-radius: 8px;
}

.seller-detail-item > div {
  min-width: 0;
}

.seller-detail-item small,
.seller-description small {
  display: block;
  margin-bottom: 5px;
  color: #9298a3;
  font-size: 10px;
}

.seller-detail-item strong {
  display: block;
  color: #292d34;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.seller-description {
  margin-top: 14px;
  padding: 13px;
  background: #fafafa;
  border: 1px solid #eff0f2;
  border-radius: 8px;
}

.seller-description p {
  margin: 0;
  color: #555d68;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Images */

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

.seller-image-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.seller-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.seller-image-grid a:hover img {
  transform: scale(1.04);
}

.seller-no-images {
  margin: 0;
  padding: 18px;
  color: #9298a3;
  background: #fafafa;
  border: 1px dashed #dedfe3;
  border-radius: 8px;
  font-size: 12px;
}

/* Review form */

.seller-review-section {
  padding: 18px;
  background: #fafafa;
  border: 1px solid #eceef1;
  border-radius: 10px;
}

.seller-form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
  color: #555d68;
  font-size: 11px;
  font-weight: 650;
}

.seller-form-label select,
.seller-form-label textarea {
  width: 100%;
  padding: 11px 12px;
  color: #292d34;
  background: #fff;
  border: 1px solid #dedfe3;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  font-size: 12px;
}

.seller-form-label select {
  min-height: 41px;
}

.seller-form-label textarea {
  resize: vertical;
  line-height: 1.6;
}

.seller-form-label select:focus,
.seller-form-label textarea:focus {
  border-color: #777;
  box-shadow: 0 0 0 3px rgb(0 0 0 / 4%);
}

.seller-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}

/* Responsive */

@media (max-width: 1050px) {
  .seller-page {
    padding: 25px 22px 40px;
  }

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

@media (max-width: 650px) {
  .seller-page {
    padding: 20px 14px 35px;
  }

  .seller-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .seller-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .seller-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .seller-toolbar > select {
    width: 100%;
  }

  .seller-modal-overlay {
    padding: 8px;
  }

  .seller-detail-modal {
    max-height: 95vh;
  }

  .seller-modal-header,
  .seller-modal-body {
    padding: 17px;
  }

  .seller-details-grid {
    grid-template-columns: 1fr;
  }

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

  .seller-review-actions {
    flex-direction: column-reverse;
  }

  .seller-review-actions button {
    width: 100%;
  }
}
.users-management-page {
  width: 100%;
  color: #142033;
  padding: 4px 0 28px;
}

.users-page-heading,
.users-heading-actions,
.users-content-toolbar,
.users-toolbar-title,
.users-filters,
.users-row-actions,
.users-modal-header,
.users-modal-footer,
.users-permissions-heading {
  display: flex;
  align-items: center;
}

.users-page-heading {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.users-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.users-page-heading h2 {
  margin: 0;
  color: #102033;
  font-size: clamp(23px, 3vw, 29px);
  font-weight: 750;
  letter-spacing: -.035em;
}

.users-page-heading p {
  margin: 7px 0 0;
  color: #708096;
  font-size: 13px;
}

.users-heading-actions { gap: 9px; }

.users-button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s ease;
}

.users-button:disabled { opacity: .6; cursor: not-allowed; }
.users-button-primary { background: #0b192c; color: #fff; border-color: #0b192c; }
.users-button-primary:hover:not(:disabled) { background: #172d49; }
.users-button-secondary { background: #fff; color: #40516a; border-color: #dce3eb; }
.users-button-secondary:hover:not(:disabled) { background: #f6f8fb; border-color: #bac7d6; }

.users-alert {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  margin-bottom: 15px;
  border: 1px solid;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
}
.users-alert button { margin-left: auto; padding: 2px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.users-alert-success { color: #16744a; background: #f0fbf5; border-color: #bce8ce; }
.users-alert-error { color: #b42318; background: #fff5f4; border-color: #f3c5c0; }

.users-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 18px;
}

.users-stat-card {
  min-height: 83px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(16, 32, 51, .025);
}

.users-stat-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: 0 0 37px;
  border-radius: 10px;
  color: #324b69;
  background: #edf2f8;
}
.users-stat-icon-green { color: #168455; background: #eaf8f0; }
.users-stat-icon-blue { color: #285c9b; background: #edf4ff; }
.users-stat-icon-orange { color: #b85b20; background: #fff2e9; }
.users-stat-card div { min-width: 0; display: grid; gap: 4px; }
.users-stat-card div span { color: #76859a; font-size: 11px; font-weight: 600; }
.users-stat-card div strong { color: #15243a; font-size: 22px; line-height: 1; }

.users-content-card {
  overflow: hidden;
  border: 1px solid #e3e9f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 32, 51, .03);
}

.users-content-toolbar {
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border-bottom: 1px solid #edf0f4;
}

.users-toolbar-title { align-items: flex-start; flex-direction: column; gap: 4px; }
.users-toolbar-title h3 { margin: 0; color: #17263b; font-size: 14px; font-weight: 750; }
.users-toolbar-title span { color: #8390a2; font-size: 11px; }
.users-filters { justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.users-search-box {
  min-width: 230px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  color: #8895a6;
}
.users-search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: #1b2a3f; background: transparent; font-size: 11px; }
.users-filters select {
  height: 36px;
  padding: 0 28px 0 10px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  color: #42536a;
  background: #fff;
  font-size: 11px;
  outline: 0;
}

.users-table-wrap { width: 100%; overflow-x: auto; }
.users-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.users-table thead { background: #f8fafc; }
.users-table th {
  padding: 12px 14px;
  color: #8290a2;
  text-align: left;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
}
.users-table td {
  padding: 13px 14px;
  border-top: 1px solid #eff2f5;
  color: #34445a;
  vertical-align: middle;
  font-size: 11px;
}
.users-table tbody tr:hover { background: #fbfcfe; }
.users-identity-cell { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.users-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 10px;
  color: #24415f;
  background: #edf3f9;
  font-size: 11px;
  font-weight: 800;
}
.users-identity-text,
.users-contact-cell { display: grid; gap: 4px; }
.users-identity-text strong { color: #1b2b40; font-size: 11px; font-weight: 750; }
.users-identity-text small,
.users-contact-cell small { color: #8793a3; font-size: 10px; }
.users-contact-cell span { color: #3a4a60; white-space: nowrap; }
.users-role-badge { display: inline-flex; padding: 5px 8px; border-radius: 6px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.users-role-super_admin { color: #7043a4; background: #f3edfb; }
.users-role-manager { color: #265b9b; background: #edf4ff; }
.users-role-staff { color: #576579; background: #f0f3f6; }
.users-permission-summary { color: #637389; font-size: 10px; }
.users-status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 10px; font-weight: 700; }
.users-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.users-status.is-active { color: #168455; }
.users-status.is-inactive { color: #9aa5b3; }
.users-date-cell { color: #8491a2 !important; white-space: nowrap; }
.users-actions-heading { text-align: right !important; }
.users-row-actions { justify-content: flex-end; gap: 5px; min-width: 102px; }
.users-icon-action {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e7ee;
  border-radius: 7px;
  color: #53647a;
  background: #fff;
  cursor: pointer;
  transition: .18s ease;
}
.users-icon-action:hover:not(:disabled) { border-color: #9aabc0; color: #172b43; background: #f6f8fb; }
.users-icon-action:disabled { opacity: .55; cursor: not-allowed; }
.users-delete-action { color: #c2413a; }
.users-delete-action:hover:not(:disabled) { color: #b42318; border-color: #efb5b0; background: #fff4f3; }
.users-you-label { color: #8290a2; font-size: 10px; font-weight: 700; }

.users-empty-state {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  color: #95a1b0;
  font-size: 12px;
}
.users-empty-state strong { color: #405168; font-size: 13px; }

.users-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(9, 20, 35, .55);
  backdrop-filter: blur(3px);
}
.users-modal {
  width: min(690px, 100%);
  max-height: min(90vh, 850px);
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.users-modal-header { gap: 12px; padding: 19px 21px; border-bottom: 1px solid #edf0f4; }
.users-modal-heading-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #24415f; background: #edf3f9; }
.users-modal-header h3 { margin: 0; color: #17263b; font-size: 16px; }
.users-modal-header p { margin: 4px 0 0; color: #8491a2; font-size: 11px; }
.users-modal-close { margin-left: auto; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #7f8b9a; background: transparent; cursor: pointer; }
.users-modal-close:hover { color: #1f2f45; background: #f1f4f7; }
.users-modal-form { padding: 19px 21px 21px; }
.users-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.users-form-field { min-width: 0; display: grid; gap: 6px; }
.users-form-field-full { grid-column: 1 / -1; }
.users-form-field label { color: #47586d; font-size: 11px; font-weight: 700; }
.users-form-field input,
.users-form-field select {
  width: 100%;
  height: 39px;
  box-sizing: border-box;
  padding: 0 11px;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  outline: 0;
  color: #1d2e43;
  background: #fff;
  font-size: 12px;
}
.users-form-field input:focus,
.users-form-field select:focus { border-color: #8197b2; box-shadow: 0 0 0 3px rgba(52, 89, 130, .09); }
.users-form-field input:disabled,
.users-form-field select:disabled { color: #8b96a4; background: #f5f7f9; }
.users-form-field small { color: #8491a2; font-size: 10px; }
.users-permissions-panel { margin-top: 18px; padding: 14px; border: 1px solid #e7ecf2; border-radius: 10px; background: #fbfcfe; }
.users-permissions-heading { justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.users-permissions-heading div { display: grid; gap: 4px; }
.users-permissions-heading strong { color: #263950; font-size: 11px; }
.users-permissions-heading span { color: #8290a2; font-size: 10px; }
.users-permissions-heading > span { padding: 4px 7px; border-radius: 5px; color: #3c5e83; background: #edf3f9; font-weight: 700; white-space: nowrap; }
.users-permissions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.users-permission-option { min-width: 0; display: flex; align-items: flex-start; gap: 8px; padding: 9px; border: 1px solid #e6ebf1; border-radius: 8px; background: #fff; cursor: pointer; }
.users-permission-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.users-custom-check { width: 17px; height: 17px; display: grid; place-items: center; flex: 0 0 17px; border: 1px solid #cbd5e1; border-radius: 5px; color: transparent; background: #fff; }
.users-permission-option input:checked + .users-custom-check { color: #fff; border-color: #0b192c; background: #0b192c; }
.users-permission-copy { min-width: 0; display: grid; gap: 3px; }
.users-permission-copy strong { color: #31435a; font-size: 10px; }
.users-permission-copy small { color: #8995a5; font-size: 9px; line-height: 1.35; }
.users-manager-note { margin: 11px 0 0; color: #78869a; font-size: 10px; line-height: 1.5; }
.users-active-toggle { display: flex; align-items: center; gap: 9px; margin-top: 15px; padding: 11px; border: 1px solid #e7ecf2; border-radius: 8px; cursor: pointer; }
.users-active-toggle input { accent-color: #0b192c; }
.users-active-toggle span { display: grid; gap: 3px; }
.users-active-toggle strong { color: #34465d; font-size: 11px; }
.users-active-toggle small { color: #8491a2; font-size: 10px; }
.users-modal-footer { justify-content: flex-end; gap: 8px; margin-top: 20px; padding-top: 15px; border-top: 1px solid #edf0f4; }

.users-spin { animation: users-spin .9s linear infinite; }
@keyframes users-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .users-content-toolbar { align-items: flex-start; flex-direction: column; }
  .users-filters { width: 100%; justify-content: flex-start; }
  .users-search-box { flex: 1; }
}

@media (max-width: 650px) {
  .users-page-heading { align-items: flex-start; flex-direction: column; }
  .users-heading-actions { width: 100%; }
  .users-heading-actions .users-button { flex: 1; }
  .users-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .users-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .users-search-box { grid-column: 1 / -1; min-width: 0; }
  .users-form-grid,
  .users-permissions-grid { grid-template-columns: 1fr; }
  .users-form-field-full { grid-column: auto; }
  .users-modal-form { padding: 16px; }
  .users-modal-header { padding: 16px; }
}

/* ======================================================
   SETTINGS PAGE - KANNU CARS ADMIN
   Black / White / Neutral
====================================================== */

.settings-page {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 30px 34px 55px;
  color: #202124;
}

/* PAGE HEADING */

.settings-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}

.settings-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #92969e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.settings-page-heading h2,
.settings-security-page-heading h2 {
  margin: 0;
  color: #171717;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.7px;
}

.settings-page-heading p,
.settings-security-page-heading > p {
  margin: 7px 0 0;
  color: #858992;
  font-size: 13px;
}

.settings-active-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #e8e8e8;
  border-radius: 30px;
  background: #fff;
  color: #555;
  font-size: 11px;
  font-weight: 600;
}

.settings-active-status span,
.settings-footer-active span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #279c65;
}

/* ALERTS */

.settings-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  margin-bottom: 18px;
  border: 1px solid;
  border-radius: 9px;
  font-size: 13px;
}

.settings-alert.success {
  border-color: #d8eadf;
  background: #f5fbf6;
  color: #28764e;
}

.settings-alert.error {
  border-color: #f0d7d4;
  background: #fff7f6;
  color: #b42318;
}

/* MAIN CARD */

.settings-card,
.settings-security-card {
  padding: 28px 30px;
  border: 1px solid #e5e6e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.025);
}

.settings-card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 27px;
}

.settings-heading-icon {
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f1f2f3;
  color: #252525;
}

.settings-card-heading h3,
.settings-password-entry h3 {
  margin: 0;
  color: #202124;
  font-size: 18px;
  font-weight: 700;
}

.settings-card-heading p,
.settings-password-entry p {
  margin: 5px 0 0;
  color: #8b8e94;
  font-size: 12px;
}

/* PROFILE PHOTO */

.settings-profile-area {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 0 25px;
}

.settings-avatar {
  width: 108px;
  height: 108px;
  flex: 0 0 108px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  background: #191919;
  color: #fff;
  font-size: 29px;
  font-weight: 700;
}

.settings-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.settings-photo-content h4 {
  margin: 0 0 7px;
  color: #242424;
  font-size: 14px;
  font-weight: 700;
}

.settings-photo-content p {
  margin: 0;
  color: #92969c;
  font-size: 12px;
  line-height: 1.6;
}

.settings-photo-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.settings-outline-button,
.settings-remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 41px;
  padding: 0 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.settings-outline-button {
  border: 1px solid #dedfe2;
  background: #fff;
  color: #292929;
}

.settings-outline-button:hover {
  background: #f7f7f7;
  border-color: #aaa;
}

.settings-remove-button {
  border: 0;
  background: transparent;
  color: #858585;
}

.settings-remove-button:hover {
  color: #c52c2c;
}

.settings-outline-button:disabled,
.settings-remove-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* DIVIDER */

.settings-divider {
  height: 1px;
  margin-bottom: 25px;
  background: #e9e9e9;
}

/* FIELDS */

.settings-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 22px;
}

.settings-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-field label {
  color: #4a4d52;
  font-size: 13px;
  font-weight: 650;
}

.settings-field label span {
  color: #a0a0a0;
  font-weight: 400;
}

.settings-field input {
  width: 100%;
  height: 49px;
  padding: 0 15px;
  border: 1px solid #dedfe2;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: #292929;
  font-family: inherit;
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.settings-field input:focus {
  border-color: #777;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.045);
}

.settings-field input:disabled {
  background: #f6f6f6;
  color: #858585;
  cursor: not-allowed;
}

.settings-field small {
  color: #a0a0a0;
  font-size: 10px;
}

.settings-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.settings-input-wrap > svg {
  position: absolute;
  left: 13px;
  color: #8c9095;
  pointer-events: none;
}

.settings-input-wrap input {
  padding-left: 40px;
}

.settings-readonly-field {
  height: 49px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #dedfe2;
  border-radius: 9px;
  background: #f6f6f6;
  color: #777;
  font-size: 13px;
}

/* SAVE BUTTON */

.settings-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding-top: 22px;
  margin-top: 25px;
  border-top: 1px solid #ebebeb;
}

.settings-primary-button,
.settings-cancel-button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.settings-primary-button {
  border: 1px solid #171717;
  background: #171717;
  color: #fff;
}

.settings-primary-button:hover:not(:disabled) {
  background: #333;
  transform: translateY(-1px);
}

.settings-primary-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.settings-cancel-button {
  border: 1px solid #dedfe2;
  background: #fff;
  color: #555;
}

.settings-cancel-button:hover {
  background: #f7f7f7;
}

/* PASSWORD ENTRY ON SETTINGS PAGE */

.settings-password-entry {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 22px 25px;
  margin-top: 20px;
  border: 1px solid #e5e6e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
}

.settings-password-entry-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f1f2f3;
  color: #242424;
}

.settings-password-entry-content {
  flex: 1;
  min-width: 0;
}

.settings-password-entry h3 {
  font-size: 15px;
}

.settings-password-entry p {
  line-height: 1.5;
}

.settings-password-entry-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid #171717;
  border-radius: 8px;
  background: #171717;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.settings-password-entry-button:hover {
  background: #333;
}

/* ACCOUNT FOOTER */

.settings-account-footer {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
  margin-top: 20px;
  border: 1px solid #e5e6e8;
  border-radius: 12px;
  background: #fff;
}

.settings-account-footer-icon {
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f1f1f1;
  color: #333;
}

.settings-account-footer strong {
  color: #333;
  font-size: 12px;
}

.settings-account-footer p {
  margin: 4px 0 0;
  color: #999;
  font-size: 10px;
}

.settings-footer-active {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #555;
  font-size: 11px;
  font-weight: 600;
}

/* SECURITY PAGE */

.settings-security-page-heading {
  margin-bottom: 25px;
}

.settings-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 27px;
  border: 0;
  background: transparent;
  color: #555;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.settings-back-button:hover {
  color: #000;
}

.settings-security-card {
  max-width: 900px;
}

.settings-security-intro {
  display: flex;
  align-items: center;
  gap: 15px;
}

.settings-security-icon {
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f1f2f3;
  color: #222;
}

.settings-security-intro h3 {
  margin: 0;
  color: #222;
  font-size: 18px;
}

.settings-security-intro p {
  margin: 5px 0 0;
  color: #8b8e94;
  font-size: 12px;
}

.settings-security-divider {
  height: 1px;
  margin: 25px 0;
  background: #e9e9e9;
}

.settings-password-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.settings-password-toggle {
  position: absolute;
  right: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #929292;
  cursor: pointer;
}

.settings-password-toggle:hover {
  color: #222;
}

.settings-input-wrap:has(.settings-password-toggle) input {
  padding-right: 43px;
}

.settings-security-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 15px;
  margin-top: 25px;
  border: 1px solid #ededed;
  border-radius: 9px;
  background: #f7f7f7;
  color: #777;
}

.settings-security-notice svg {
  flex: 0 0 auto;
  color: #666;
}

.settings-security-notice p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 750px) {
  .settings-page {
    padding: 22px 17px 40px;
  }

  .settings-card,
  .settings-security-card {
    padding: 22px 19px;
  }

  .settings-fields-grid,
  .settings-password-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .settings-page {
    padding: 18px 12px 35px;
  }

  .settings-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-page-heading h2,
  .settings-security-page-heading h2 {
    font-size: 24px;
  }

  .settings-profile-area {
    align-items: flex-start;
    gap: 15px;
  }

  .settings-avatar {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
    font-size: 22px;
  }

  .settings-password-entry {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 18px;
  }

  .settings-password-entry-content {
    flex-basis: calc(100% - 70px);
  }

  .settings-password-entry-button {
    width: 100%;
  }

  .settings-account-footer {
    padding: 14px;
  }
}

/* =====================================================
   KANNU CARS — ADMIN LOGIN
   STRICT BLACK & WHITE THEME
===================================================== */

.admin-login-page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: #f5f5f5;
  color: #171717;
  font-family: inherit;
  box-sizing: border-box;
}

.admin-login-page *,
.admin-login-page *::before,
.admin-login-page *::after {
  box-sizing: border-box;
}

/* Login card */

.admin-login-card {
  width: 100%;
  max-width: 445px;
  padding: 42px;
  border: 1px solid #e2e2e2;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 45px rgb(0 0 0 / 7%);
}

/* Brand */

.admin-login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 42px;
}

.admin-login-logo {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  overflow: hidden;
  border-radius: 20px;
  background: #171717;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}

.admin-login-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.admin-login-logo span {
  display: block;
  line-height: 1;
}

.admin-login-brand h2 {
  margin: 0 0 5px;
  color: #171717;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.admin-login-brand span {
  display: block;
  color: #858585;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

/* Heading */

.admin-login-heading {
  margin-bottom: 28px;
  text-align: center;
}

.admin-login-heading h1,
.admin-login-heading h2 {
  margin: 0 0 9px;
  color: #171717;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1px;
}

.admin-login-heading p {
  margin: 0;
  color: #858585;
  font-size: 13px;
  line-height: 1.6;
}

/* Form fields */

.admin-login-field {
  margin-bottom: 21px;
}

.admin-login-field label {
  display: block;
  margin-bottom: 9px;
  color: #333;
  font-size: 12px;
  font-weight: 650;
}

.admin-login-input {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 51px;
  padding: 0 14px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  color: #555;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-login-input:focus-within {
  border-color: #555;
  box-shadow: 0 0 0 3px rgb(0 0 0 / 5%);
}

.admin-login-input > svg {
  flex: 0 0 auto;
  color: #777;
}

.admin-login-input input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #171717;
  font-family: inherit;
  font-size: 13px;
}

.admin-login-input input::placeholder {
  color: #aaa;
}

/* Password visibility button */

.admin-password-toggle {
  display: grid;
  place-items: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  color: #777;
  cursor: pointer;
  transition: color 0.2s ease;
}

.admin-password-toggle:hover {
  color: #111;
}

/* Error message */

.admin-login-error {
  margin: 0 0 17px;
  padding: 12px 14px;
  border: 1px solid #d5d5d5;
  border-radius: 7px;
  background: #f5f5f5;
  color: #222;
  font-size: 12px;
  line-height: 1.5;
}

/* Sign in button */

.admin-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 51px;
  margin-top: 9px;
  padding: 0 18px;
  border: 1px solid #171717;
  border-radius: 8px;
  background: #171717;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.admin-login-submit:hover:not(:disabled) {
  background: #383838;
  transform: translateY(-1px);
}

.admin-login-submit:active:not(:disabled) {
  transform: translateY(0);
}

.admin-login-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */

.admin-login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 21px;
  border-top: 1px solid #e9e9e9;
  color: #929292;
  font-size: 10px;
}

/* Responsive */

@media (max-width: 520px) {
  .admin-login-page {
    padding: 18px;
  }

  .admin-login-card {
    padding: 29px 23px;
  }

  .admin-login-brand {
    margin-bottom: 34px;
  }

  .admin-login-heading h1 {
    font-size: 26px;
  }
}


/* Centered KPD branding and welcome heading */
.admin-login-brand,
.admin-login-heading {
  text-align: center;
}

@media (max-width: 520px) {
  .admin-login-logo {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
    border-radius: 18px;
  }

  .admin-login-heading h1,
  .admin-login-heading h2 {
    text-align: center;
  }
}


.admin-login-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 15px;
}

.admin-login-forgot-row a {
  color: #17345d;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.admin-login-forgot-row a:hover {
  text-decoration: underline;
}


.admin-login-logo span {
  color: #ffffff;
  font-size: 30px;
  letter-spacing: 0;
  text-transform: none;
}
.admin-forgot-page {
  min-height: 100vh;
}

.admin-forgot-card {
  width: min(100%, 440px);
}

.admin-forgot-step-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid #dfe7f1;
  border-radius: 16px;
  background: #f3f7fc;
  color: #17345d;
}

.admin-forgot-otp-input input {
  letter-spacing: 0.28em;
  font-size: 17px;
  font-weight: 700;
}

.admin-forgot-field-note {
  margin: 8px 0 0;
  color: #7c8797;
  font-size: 11px;
}

.admin-forgot-notice {
  margin: 0 0 16px;
  padding: 11px 13px;
  border: 1px solid #d5e8df;
  border-radius: 7px;
  background: #f2faf6;
  color: #226447;
  font-size: 12px;
  line-height: 1.55;
}

.admin-forgot-resend-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  color: #798395;
  font-size: 12px;
}

.admin-forgot-resend-row button,
.admin-forgot-back,
.admin-forgot-back-to-login {
  border: 0;
  background: transparent;
  color: #17345d;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.admin-forgot-resend-row button:disabled {
  color: #9aa3af;
  cursor: not-allowed;
}

.admin-forgot-back,
.admin-forgot-back-to-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 17px;
  padding: 0;
}

.admin-forgot-back-to-login {
  display: flex;
  width: fit-content;
  margin: 23px auto 0;
}

.admin-forgot-success {
  text-align: center;
}

.admin-forgot-success-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #eaf8f0;
  color: #14834c;
}

.admin-forgot-success .admin-login-heading {
  margin-bottom: 25px;
}

@media (max-width: 520px) {
  .admin-forgot-card {
    width: 100%;
  }
}

/* ========================================
   KANNU CARS — GLOBAL STYLES
======================================== */
:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  color: #172033;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --color-primary: #172033;
  --color-primary-light: #263750;
  --color-accent: #2563eb;
  --color-text: #172033;
  --color-muted: #64748b;
  --color-background: #ffffff;
  --color-surface: #f8fafc;
  --color-border: #e5e7eb;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-card: 0 8px 24px rgb(15 23 42 / 6%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--color-background);
  color: var(--color-text);
}

#root {
  width: 100%;
  min-height: 100vh;
}

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

button {
  cursor: pointer;
}

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

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

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

h1,
h2,
h3,
h4 {
  color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}



import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "./App.jsx";
import "./css/index.css";

createRoot(document.getElementById("root")).render(
  <StrictMode>
    <App />
  </StrictMode>
);