/*
Theme Name: Chargeur EV Modern
Theme URI: https://chargeurev.tn/
Author: Chargeur EV / SMS Electronics Distribution
Author URI: https://chargeurev.tn/
Description: Theme WordPress moderne pour Chargeur EV Tunisie avec Vega Chargers DC, Exicom EV AC, pages solutions, catalogue, installation, guide, simulateurs, devis et contact.
Version: 2.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chargeurev-modern
Tags: custom-logo, custom-menu, e-commerce, one-column, responsive-layout
*/

:root {
  color-scheme: light;
  --ink: #12201f;
  --ink-soft: #243836;
  --muted: #61736f;
  --line: #dbe6e2;
  --paper: #f5f8f6;
  --white: #ffffff;
  --blue: #0876c9;
  --blue-deep: #07548e;
  --green: #0e8f78;
  --lime: #c7f36f;
  --amber: #f4b340;
  --coral: #f26a4f;
  --panel: #eaf2ef;
  --shadow: 0 22px 64px rgba(10, 36, 33, 0.13);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

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

p {
  color: var(--muted);
  line-height: 1.65;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.96;
}

h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.03;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.topbar a {
  color: var(--lime);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2147483010;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.5vw, 24px);
  min-height: 78px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(219, 230, 226, 0.82);
  background: rgba(245, 248, 246, 0.92);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-header .brand {
  width: 116px;
  max-width: 116px;
  min-width: 0;
  flex: 0 0 116px;
}

.site-footer .brand {
  width: auto;
  max-width: 360px;
  flex: 0 1 auto;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 108px;
  height: 48px;
  flex: 0 0 108px;
  place-items: center;
  border-radius: 8px;
  background:
    var(--white)
    url("https://chargeurev.tn/wp-content/uploads/2022/11/cropped-cropped-CEV-1.png")
    center / contain no-repeat;
  color: var(--lime);
  font-size: 13px;
  font-weight: 950;
  overflow: hidden;
}

.brand-mark svg {
  display: none;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-logo-link,
.brand-logo-image {
  width: 108px;
  height: 48px;
  flex: 0 0 108px;
  border-radius: 8px;
}

.custom-logo-link {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
}

.custom-logo-link img,
.brand-logo-image,
.site-header .brand img,
.site-header .custom-logo {
  display: block;
  width: 108px !important;
  height: 48px !important;
  max-width: 108px !important;
  max-height: 48px !important;
  object-fit: contain;
}

.footer-logo-image {
  display: block;
  width: 120px;
  height: auto;
  max-height: 54px;
  flex: 0 0 120px;
  object-fit: contain;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(8px, 1vw, 16px);
  min-width: 0;
  color: #31443f;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav ul {
  display: contents;
}

.main-nav li {
  display: flex;
  min-width: max-content;
  align-items: center;
  margin: 0;
  list-style: none;
}

.main-nav a {
  display: flex;
  align-items: center;
  min-width: max-content;
  padding: 10px 0;
  line-height: 1.15;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}

.main-nav .nav-home-link {
  width: 36px;
  height: 36px;
  min-width: 36px;
  justify-content: center;
  border-radius: 999px;
  padding: 0;
}

.main-nav .nav-home-link:hover,
.main-nav .nav-home-link.active {
  background: rgba(8, 118, 201, 0.08);
}

.main-nav .nav-home-link svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  stroke-width: 2.4;
}

.main-nav .nav-home-link .nav-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(18, 32, 31, 0.04);
}

.language-switcher button {
  display: inline-flex;
  min-width: 34px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.language-switcher button.active,
.language-switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

#google_translate_element {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(8, 118, 201, 0.22);
}

.button.primary:hover {
  background: var(--blue-deep);
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: #b7c9c3;
  color: var(--blue);
}

.button.dark {
  background: var(--ink);
  color: var(--lime);
  box-shadow: none;
}

.button.small {
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}

.home-banner-slider {
  padding: 24px clamp(18px, 5vw, 72px) 0;
  background: var(--paper);
}

.home-banner-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-banner-track {
  display: flex;
  transition: transform 480ms ease;
  will-change: transform;
}

.home-banner {
  min-width: 100%;
  flex: 0 0 100%;
}

.home-banner-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.home-banner-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-banner-actions {
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 54px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: min(640px, calc(100% - 36px));
}

.home-banner-actions .button.secondary {
  background: rgba(255, 255, 255, 0.92);
}

.banner-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(18, 32, 31, 0.66);
  color: var(--white);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.banner-control:hover {
  background: rgba(18, 32, 31, 0.88);
}

.banner-prev {
  left: 14px;
}

.banner-next {
  right: 14px;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 12px;
}

.banner-dots button {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #b8c8c2;
}

.banner-dots button.active {
  background: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.82fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 104px);
  padding: clamp(42px, 8vw, 90px) clamp(18px, 5vw, 72px) 42px;
}

.hero.compact {
  min-height: auto;
  padding-top: clamp(48px, 8vw, 86px);
  padding-bottom: clamp(40px, 7vw, 72px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}

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

.home-seo-actions,
.home-install-actions {
  margin-top: 30px;
}

.form-actions {
  margin-top: 24px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.chip {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 850;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.seo-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(199, 243, 111, 0.8), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, #e4f1ed 0%, #ffffff 52%, #cfe8f9 100%);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: auto 14% 12% 14%;
  height: 28%;
  border-radius: 50%;
  background: rgba(18, 32, 31, 0.09);
  content: "";
  filter: blur(20px);
}

.hero-visual img {
  position: relative;
  width: min(78%, 470px);
  filter: drop-shadow(0 28px 34px rgba(9, 35, 32, 0.25));
}

.hero-visual.wide img {
  width: min(88%, 560px);
}

.floating-panel {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(285px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  padding: 16px;
  background: rgba(18, 32, 31, 0.92);
  color: var(--white);
}

.floating-panel span,
.floating-panel small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.floating-panel strong {
  display: block;
  margin: 5px 0;
  font-size: 28px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.metric {
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--white);
}

.metric strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

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

.certification-section {
  background:
    linear-gradient(135deg, rgba(8, 118, 201, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(199, 243, 111, 0.16), transparent 36%),
    var(--white);
}

.certification-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.certification-copy p {
  max-width: 620px;
}

.certification-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.certification-keywords span {
  border: 1px solid rgba(8, 118, 201, 0.18);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(8, 118, 201, 0.08);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 850;
}

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

.certificate-card {
  position: relative;
  display: flex;
  min-height: 318px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, #f5faf8);
  box-shadow: 0 18px 46px rgba(10, 36, 33, 0.08);
}

.certificate-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--lime));
  content: "";
}

.certificate-badge {
  align-self: flex-start;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(8, 118, 201, 0.1);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.certificate-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 22px 0 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--lime);
}

.certificate-icon svg {
  width: 30px;
  height: 30px;
}

.certificate-card p {
  flex: 1;
}

.certificate-actions {
  display: flex;
  margin-top: 14px;
}

.certificate-actions .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.regional-seo-section {
  background:
    linear-gradient(135deg, rgba(14, 143, 120, 0.12), transparent 38%),
    #edf4f1;
}

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

.region-zone {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.region-zone strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 850;
}

.region-zone p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.regional-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.regional-proof article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
}

.regional-proof strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
}

.regional-proof p {
  margin-bottom: 0;
}

.vehicle-compatibility {
  padding: clamp(52px, 7vw, 82px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.vehicle-logo-wall {
  display: grid;
  grid-template-columns: repeat(10, minmax(92px, 1fr));
  gap: 10px;
}

.vehicle-logo-wall span {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: linear-gradient(180deg, #ffffff, #f4f8f6);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.vehicle-logo-wall span:nth-child(3n) {
  color: var(--blue);
}

.vehicle-logo-wall span:nth-child(4n) {
  color: var(--green);
}

.vehicle-logo-wall span:nth-child(5n) {
  color: #7a5809;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(10, 36, 33, 0.08);
  contain: layout paint;
}

.logo-marquee::before,
.logo-marquee::after {
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(120px, 18vw);
  height: 100%;
  pointer-events: none;
  content: "";
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-marquee 58s linear infinite;
  will-change: transform;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  padding: 18px 14px 18px 0;
}

.logo-item {
  display: grid;
  width: 132px;
  max-width: 132px;
  min-height: 88px;
  height: 88px;
  flex: 0 0 auto;
  place-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 12px 10px;
  background: linear-gradient(180deg, #ffffff, #f5f9f7);
  color: var(--ink-soft);
  overflow: hidden;
  text-align: center;
}

.logo-item img,
.logo-item svg {
  display: block !important;
  width: 72px !important;
  height: 38px !important;
  max-width: 72px !important;
  max-height: 38px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain;
}

.logo-item svg {
  width: 74px !important;
  max-width: 74px !important;
}

.logo-item span {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
}

@keyframes logo-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

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

.vehicle-logo-wall.compact span {
  min-height: 42px;
  justify-content: start;
  padding: 8px 10px;
  text-align: left;
  text-transform: none;
}

.seo-service-card {
  align-self: stretch;
}

.section {
  padding: clamp(58px, 8vw, 102px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section.white {
  background: var(--white);
}

.section.tint {
  background: #edf4f1;
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.section.dark p,
.section.dark .eyebrow,
.section.dark li {
  color: rgba(255, 255, 255, 0.72);
}

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

.section-head p {
  max-width: 560px;
  margin-bottom: 0;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.dark .card {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.icon-box {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 950;
}

.solution-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
}

.solution-card ul,
.check-list,
.plain-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.solution-card li,
.check-list li,
.plain-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.solution-card li::before,
.check-list li::before,
.plain-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 950;
}

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

.product-card {
  display: grid;
  grid-template-rows: 250px 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #edf6f9);
}

.product-card-body {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  padding: 22px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(8, 118, 201, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.pill.green {
  background: rgba(14, 143, 120, 0.12);
  color: var(--green);
}

.pill.amber {
  background: rgba(244, 179, 64, 0.18);
  color: #8a5d09;
}

.price {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 950;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-btn {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 850;
}

.filter-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.occasion-hero .hero-visual img {
  object-fit: cover;
}

.occasion-layout,
.publish-layout,
.account-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.account-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.publish-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.occasion-filters,
.account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(18, 32, 31, 0.06);
}

.occasion-filters {
  position: sticky;
  top: 112px;
}

.occasion-filters label,
.occasion-form label,
.account-form label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-weight: 850;
}

.occasion-filters input,
.occasion-filters select,
.occasion-form input,
.occasion-form select,
.occasion-form textarea,
.account-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
}

.occasion-filters .button {
  width: 100%;
  margin-top: 16px;
}

.occasion-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
}

.occasion-toolbar strong,
.occasion-toolbar span {
  display: block;
}

.occasion-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.occasion-toolbar select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--white);
}

.occasion-grid,
.dynamic-listings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dynamic-listings {
  margin-bottom: 16px;
}

.occasion-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(18, 32, 31, 0.07);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.occasion-card:hover,
.occasion-card:focus-visible {
  border-color: rgba(8, 118, 201, 0.34);
  box-shadow: 0 20px 54px rgba(18, 32, 31, 0.12);
  outline: 0;
  transform: translateY(-2px);
}

.occasion-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #eaf2ef;
}

.occasion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.occasion-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(18, 32, 31, 0.86);
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
}

.occasion-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.occasion-card-head {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.occasion-card-head h3 {
  margin-bottom: 0;
}

.occasion-card-head strong {
  color: var(--blue);
  font-size: 22px;
  font-weight: 950;
}

.occasion-specs,
.occasion-tags,
.account-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.occasion-specs li,
.occasion-tags span {
  border-radius: 999px;
  padding: 7px 9px;
  background: #edf5f2;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 850;
}

.occasion-specs .seller-phone,
.seller-phone {
  background: rgba(14, 143, 120, 0.12);
  color: var(--green);
  font-weight: 950;
}

.occasion-specs .listing-views,
.listing-views {
  background: rgba(8, 118, 201, 0.1);
  color: var(--blue);
  font-weight: 950;
}

.occasion-tags span {
  background: rgba(8, 118, 201, 0.1);
  color: var(--blue);
}

.listing-detail-specs {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.listing-detail-specs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  padding: 10px 12px;
  background: #edf5f2;
  color: var(--ink);
  font-size: 14px;
}

.listing-detail-specs li span {
  color: var(--ink-soft);
  font-weight: 850;
}

.listing-detail-specs li strong {
  text-align: right;
  font-weight: 950;
}

.listing-energy-details {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.listing-energy-details[hidden] {
  display: none;
}

.listing-energy-details div,
.listing-charge-estimate {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(8, 118, 201, 0.18);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(8, 118, 201, 0.08);
}

.listing-energy-details span,
.listing-charge-estimate span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.listing-energy-details strong,
.listing-charge-estimate strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.listing-charge-estimate {
  margin-top: 14px;
  border-color: rgba(14, 143, 120, 0.24);
  background: linear-gradient(135deg, rgba(14, 143, 120, 0.13), rgba(8, 118, 201, 0.08));
}

.listing-charge-estimate[hidden] {
  display: none;
}

.listing-charge-estimate span {
  color: var(--green);
}

.listing-charge-estimate small {
  color: var(--muted);
  line-height: 1.45;
}

.account-panel ul {
  display: grid;
}

.account-panel li {
  color: var(--muted);
  line-height: 1.45;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.account-form .button[type="submit"] {
  margin-top: 8px;
}

.account-create-section.is-connected {
  display: none;
}

.account-locked-panel {
  border: 1px solid rgba(8, 118, 201, 0.22);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(18, 32, 31, 0.07);
}

.account-gate.is-locked .publish-layout {
  display: none;
}

.account-gate.is-unlocked .account-locked-panel {
  display: none;
}

.account-status {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  border: 1px solid rgba(8, 118, 201, 0.2);
  border-radius: 8px;
  padding: 14px;
  background: rgba(8, 118, 201, 0.06);
}

.account-status span,
.account-status strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.account-status span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-status .account-actions {
  margin-top: 8px;
}

.account-panel .account-actions {
  margin: 12px 0 0;
}

#occasionNotice,
#occasionAccountNotice {
  margin-top: 14px;
  color: var(--green);
  font-weight: 900;
  line-height: 1.45;
}

#occasionNotice:empty,
#occasionAccountNotice:empty {
  display: none;
}

.anchor-target {
  display: block;
  scroll-margin-top: 120px;
}

.upload-zone {
  border: 1px dashed rgba(8, 118, 201, 0.42);
  border-radius: 8px;
  padding: 16px;
  background: rgba(8, 118, 201, 0.06);
}

.upload-zone input {
  border: 0;
  padding: 0;
  background: transparent;
}

.upload-zone span,
.muted {
  color: var(--muted);
}

.image-preview-grid,
.my-listings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.listing-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.listing-gallery-grid .image-lightbox-link {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.image-preview-item {
  position: relative;
  min-width: 0;
}

.image-preview-grid img,
.image-preview-item img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.image-preview-item button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 32, 31, 0.84);
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.occasion-form .image-preview-grid + .button[type="submit"] {
  margin-top: 2mm;
}

.my-listings {
  grid-template-columns: 1fr;
}

.my-listing {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
}

.my-listing strong,
.my-listing span {
  display: block;
}

.my-listing span {
  color: var(--muted);
  font-size: 13px;
}

.listing-detail-modal[hidden] {
  display: none;
}

.listing-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483020;
  display: grid;
  place-items: center;
  padding: 20px;
}

.listing-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 31, 0.54);
}

.listing-detail-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(980px, 100%);
  max-height: calc(100dvh - 40px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(18, 32, 31, 0.28);
}

.listing-detail-media {
  display: grid;
  min-height: 420px;
  background: #eaf2ef;
}

.listing-detail-image {
  position: relative;
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  padding: 0;
  background: #eaf2ef;
  cursor: zoom-in;
}

.listing-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.listing-detail-image span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(18, 32, 31, 0.82);
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
}

.listing-detail-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  background: var(--white);
}

.listing-detail-gallery button,
.image-lightbox-link {
  display: block;
  flex: 0 0 78px;
  width: 78px;
  height: 58px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: #eaf2ef;
  cursor: zoom-in;
  overflow: hidden;
}

.image-lightbox-link {
  flex: unset;
}

.listing-gallery-grid .image-lightbox-link {
  flex: initial;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.listing-detail-gallery button:hover,
.listing-detail-gallery button:focus-visible,
.image-lightbox-link:hover,
.image-lightbox-link:focus-visible {
  border-color: var(--blue);
}

.listing-detail-gallery img,
.image-lightbox-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-detail-content {
  overflow-y: auto;
  padding: 28px;
}

.listing-detail-content > p[data-listing-description],
.single-content {
  color: var(--ink-soft);
  font-family:
    Aptos, "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.78;
}

.seller-phone-line + .single-content {
  margin-top: 2mm;
}

.listing-detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 22px;
}

.listing-detail-price {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 950;
}

.seller-phone-line {
  display: grid;
  gap: 3px;
  width: 100%;
  max-width: 100%;
  margin: calc(14px + 2mm) 0 0;
  border: 1px solid rgba(14, 143, 120, 0.24);
  border-radius: 8px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(14, 143, 120, 0.15), rgba(8, 118, 201, 0.08));
  color: var(--ink);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.seller-phone-line span {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.seller-phone-line strong {
  color: var(--ink);
  font-size: 20px;
}

.listing-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483030;
  display: grid;
  place-items: center;
  padding: 20px;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(18, 32, 31, 0.82);
  cursor: zoom-out;
}

.image-lightbox figure {
  position: relative;
  z-index: 1;
  width: min(1080px, 96vw);
  max-height: 92vh;
  margin: 0;
}

.image-lightbox img {
  display: block;
  width: 100%;
  max-height: 86vh;
  border-radius: 8px;
  object-fit: contain;
  background: var(--ink);
}

.image-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 12px 34px rgba(18, 32, 31, 0.22);
}

.image-lightbox-nav:hover,
.image-lightbox-nav:focus-visible {
  background: var(--blue);
  color: var(--white);
}

.image-lightbox-nav.previous {
  left: 14px;
}

.image-lightbox-nav.next {
  right: 14px;
}

.image-lightbox-counter {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(18, 32, 31, 0.78);
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  transform: translateX(-50%);
}

.image-lightbox figcaption {
  margin-top: 8px;
  color: var(--white);
  text-align: center;
  font-weight: 850;
}

.image-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.comparison th,
.comparison td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison th {
  background: #eef5f2;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
}

.process-list span {
  display: block;
  margin-bottom: 36px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: center;
}

.media-frame {
  display: grid;
  min-height: 420px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(199, 243, 111, 0.65), transparent 34%),
    #ffffff;
}

.media-frame img {
  width: min(78%, 460px);
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(15, 48, 45, 0.2));
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.cost-simulator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.cost-form {
  min-height: 100%;
}

.battery-level-control {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.battery-level-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.battery-level-title strong {
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.15;
}

.battery-symbol {
  position: relative;
  width: 34px;
  height: 18px;
  flex: 0 0 34px;
  border: 3px solid currentColor;
  border-radius: 6px;
}

.battery-symbol::after {
  position: absolute;
  top: 4px;
  right: -7px;
  width: 4px;
  height: 6px;
  border-radius: 0 3px 3px 0;
  background: currentColor;
  content: "";
}

.dual-range {
  position: relative;
  height: 44px;
  margin: 18px 0 4px;
}

.dual-range::before {
  position: absolute;
  top: 19px;
  right: 0;
  left: 0;
  height: 7px;
  border-radius: 999px;
  background: #d8e4e0;
  content: "";
}

.dual-range input[type="range"] {
  position: absolute;
  inset: 0;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  appearance: none;
  pointer-events: none;
}

.dual-range input[type="range"]::-webkit-slider-runnable-track {
  height: 7px;
  background: transparent;
}

.dual-range input[type="range"]::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  margin-top: -10px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 6px 16px rgba(18, 32, 31, 0.22);
  appearance: none;
  pointer-events: auto;
}

.dual-range input[type="range"]::-moz-range-track {
  height: 7px;
  background: transparent;
}

.dual-range input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 6px 16px rgba(18, 32, 31, 0.22);
  pointer-events: auto;
}

.range-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.cost-result-panel {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.steg-cost-main {
  margin: 12px 0 18px;
}

.steg-cost-main strong {
  display: block;
  color: var(--green);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.95;
}

.steg-cost-main p {
  margin: 10px 0 0;
}

.steg-cost-table {
  border-top: 1px solid var(--line);
}

.steg-cost-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(120px, 0.8fr) minmax(90px, auto);
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.steg-cost-row span {
  color: var(--ink);
  font-weight: 850;
}

.steg-cost-row strong {
  color: var(--muted);
  font-size: 14px;
}

.steg-cost-row b {
  justify-self: end;
  color: var(--ink);
  font-size: 20px;
}

.steg-cost-row.active {
  margin-right: -12px;
  margin-left: -12px;
  border-radius: 8px;
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(14, 143, 120, 0.09);
}

.steg-cost-row.is-hidden {
  display: none;
}

.cost-method {
  margin-top: 18px;
  color: var(--muted);
}

.cost-method summary {
  cursor: pointer;
  font-weight: 850;
}

.cost-method p {
  margin: 10px 0 0;
}

.simulator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  gap: 16px;
  align-items: stretch;
}

.simulator-form {
  min-height: 100%;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.checkbox-row input {
  width: auto;
}

.vehicle-search-note {
  margin-top: 18px;
  border-radius: 8px;
  padding: 14px;
  background: #edf5f2;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.simulator-result {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  padding: 24px;
  background: var(--ink);
  color: var(--white);
}

.simulator-result > strong {
  display: block;
  margin: 8px 0 12px;
  color: var(--lime);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.95;
}

.simulator-result p {
  color: rgba(255, 255, 255, 0.72);
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.result-stats div {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.result-stats span,
.recommendation-box span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.result-stats strong,
.recommendation-box strong {
  color: var(--white);
  font-size: 18px;
}

.recommendation-box {
  margin-top: 16px;
  border-radius: 8px;
  padding: 16px;
  background: rgba(199, 243, 111, 0.12);
}

.recommendation-box strong {
  display: block;
  color: var(--lime);
}

.recommendation-box p {
  margin: 8px 0 0;
}

.vehicle-spec-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd9d4;
  border-radius: 8px;
  padding: 13px 12px;
  background: #fbfdfc;
  color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(8, 118, 201, 0.14);
  border-color: var(--blue);
}

#contactNotice:not(:empty),
#quoteNotice:not(:empty),
#customQuoteNotice:not(:empty) {
  margin: 16px 0 0;
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(14, 143, 120, 0.1);
  color: var(--green);
  font-weight: 850;
}

.result-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  padding: 24px;
  background: var(--ink);
  color: var(--white);
}

.result-box span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 850;
}

.result-box strong {
  display: block;
  margin: 8px 0;
  color: var(--lime);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.result-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}

.quote-summary {
  position: sticky;
  top: 96px;
}

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

.summary-line:last-child {
  border-bottom: 0;
}

.devis-ad-section {
  padding-top: clamp(22px, 4vw, 42px);
  padding-bottom: clamp(22px, 4vw, 42px);
  background: var(--paper);
}

.boutique-ad-section {
  margin: 0 auto clamp(22px, 4vw, 38px);
}

.devis-ad-shell,
.boutique-ad-shell {
  width: min(940px, calc(100% - 36px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(204, 221, 216, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(18, 32, 31, 0.12);
}

.devis-ad-link,
.devis-ad-static,
.boutique-ad-link,
.boutique-ad-static {
  display: block;
}

.devis-ad-shell img,
.boutique-ad-shell img {
  display: block;
  width: 100%;
  aspect-ratio: 940 / 310;
  height: auto;
  object-fit: cover;
}

.custom-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  align-items: start;
}

.custom-quote-form small {
  color: var(--muted);
  font-weight: 750;
}

.custom-quote-auto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.custom-quote-auto div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f6faf8;
}

.custom-quote-auto span,
.custom-quote-result .custom-quote-lines span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.custom-quote-auto strong {
  display: block;
  margin-top: 5px;
}

.custom-quote-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

#devis-personnalise {
  scroll-margin-top: 112px;
}

.custom-quote-result {
  position: sticky;
  top: 96px;
}

.custom-quote-result > strong {
  display: block;
  margin: 8px 0 18px;
  color: var(--blue);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
}

.custom-quote-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.custom-quote-line strong {
  white-space: nowrap;
}

.custom-quote-line small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.ad-popup {
  position: fixed;
  inset: 0;
  z-index: 2147483060;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(12, 28, 26, 0.58);
  backdrop-filter: blur(8px);
  animation: adPopupIn 0.24s ease-out both;
}

.ad-popup.is-closing {
  pointer-events: none;
  animation: adPopupOut 0.22s ease-in both;
}

.ad-popup-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.ad-popup-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 34px 90px rgba(4, 18, 16, 0.36);
}

.ad-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(12, 28, 26, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(4, 18, 16, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ad-popup-close:hover,
.ad-popup-close:focus-visible {
  transform: translateY(-1px);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(4, 18, 16, 0.26);
}

.ad-popup-media {
  display: block;
  background: var(--white);
}

.ad-popup-media img {
  display: block;
  width: 100%;
  max-height: min(72vh, 620px);
  object-fit: contain;
}

@keyframes adPopupIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes adPopupOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.ai-assistant {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 2147483040;
  display: grid;
  justify-items: end;
  gap: 10px;
  font-family: inherit;
}

.ai-assistant-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 9px 14px 9px 9px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 48px rgba(10, 36, 33, 0.22);
}

.ai-assistant-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
}

.ai-assistant-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.ai-assistant-toggle strong {
  font-size: 14px;
}

.ai-assistant-panel {
  width: min(390px, calc(100vw - 28px));
  border: 1px solid rgba(219, 230, 226, 0.92);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(10, 36, 33, 0.24);
}

.ai-assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  background: var(--ink);
  color: var(--white);
}

.ai-assistant-head span,
.ai-assistant-head strong {
  display: block;
}

.ai-assistant-head span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-assistant-head strong {
  font-size: 14px;
}

.ai-assistant-head button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
}

.ai-assistant-messages {
  display: grid;
  gap: 10px;
  max-height: 360px;
  padding: 14px;
  overflow-y: auto;
  background: #f6faf8;
}

.ai-message {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.ai-message.user {
  justify-items: end;
}

.ai-message p {
  max-width: 92%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.ai-message.user p {
  border-color: rgba(8, 118, 201, 0.26);
  background: var(--blue);
  color: var(--white);
}

.ai-assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ai-assistant-actions a,
.ai-assistant-quick button {
  border: 1px solid rgba(8, 118, 201, 0.18);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(8, 118, 201, 0.08);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 850;
}

.ai-assistant-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 14px 0;
  background: var(--white);
}

.ai-assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 14px 14px;
  background: var(--white);
}

.ai-assistant-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
}

.ai-assistant-form button {
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--blue);
  color: var(--white);
  font-weight: 850;
}

.summary-line span {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.timeline-item strong {
  color: var(--blue);
}

.faq {
  display: grid;
  gap: 10px;
}

.seo-faq {
  margin-top: 18px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(18px, 5vw, 72px);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--lime);
}

.cta-band p {
  max-width: 720px;
  margin-bottom: 0;
  color: #43514e;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 52px clamp(18px, 5vw, 72px);
}

.footer-grid > div {
  min-width: 0;
}

.site-footer .brand strong,
.site-footer .brand small {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.site-footer .brand span {
  min-width: 0;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

.site-footer h3 {
  color: var(--white);
  font-size: 16px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-top: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.map-panel {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(18, 32, 31, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(18, 32, 31, 0.08) 1px, transparent 1px),
    #e7f0ec;
  background-size: 28px 28px;
}

.map-hero img {
  object-fit: cover;
}

.charging-map-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(18, 32, 31, 0.08);
}

.charging-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.charging-map-toolbar strong,
.charging-map-toolbar span {
  display: block;
}

.charging-map-toolbar span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.charging-map-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.map-control-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: #f4f9f7;
}

.map-layer-switch {
  background: #f4f9f7;
}

.charging-map-controls button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 900;
}

.charging-map-controls button.active,
.charging-map-controls button:hover,
.charging-map-controls button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.map-location-consent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(8, 118, 201, 0.22);
  border-radius: 8px;
  background: #eef8ff;
}

.map-location-consent[hidden] {
  display: none;
}

.map-location-consent strong,
.map-location-consent span {
  display: block;
}

.map-location-consent span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.map-location-consent button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
}

.map-layer-switch button {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink-soft);
}

.map-layer-switch button.active,
.map-layer-switch button:hover,
.map-layer-switch button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.charging-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  min-height: 620px;
}

.charging-map {
  min-height: 620px;
  background:
    radial-gradient(circle at 18% 20%, rgba(8, 118, 201, 0.12), transparent 28%),
    linear-gradient(135deg, #eef5f2, #dce9e5);
}

.charging-map.leaflet-container {
  font-family: inherit;
  color: var(--ink);
}

.charging-map .leaflet-tile-pane {
  filter: saturate(1.08) contrast(1.03);
}

.charging-map .leaflet-control-zoom {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(18, 32, 31, 0.18);
}

.charging-map .leaflet-control-zoom a {
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 40px;
}

.charging-map .leaflet-control-zoom a + a {
  border-top: 1px solid var(--line);
}

.charging-map .leaflet-control-zoom a:hover,
.charging-map .leaflet-control-zoom a:focus-visible {
  background: var(--ink);
  color: var(--lime);
}

.charging-map .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(18, 32, 31, 0.2);
}

.charging-map .leaflet-popup-content {
  min-width: 250px;
  margin: 14px;
}

.charging-map .leaflet-popup-tip {
  box-shadow: 0 12px 28px rgba(18, 32, 31, 0.12);
}

.charging-map .leaflet-control-attribution {
  border-radius: 8px 0 0 0;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 10px;
}

.charging-station-list {
  display: grid;
  align-content: start;
  max-height: 620px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  padding: 14px;
  background: #f8fbf9;
}

.charging-station-card {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
  color: inherit;
  text-align: left;
}

.charging-station-card + .charging-station-card {
  margin-top: 10px;
}

.charging-station-card:hover,
.charging-station-card:focus-visible {
  border-color: rgba(8, 118, 201, 0.34);
  outline: 0;
  box-shadow: 0 14px 34px rgba(18, 32, 31, 0.08);
}

.charging-station-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(14, 143, 120, 0.12);
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
}

.charging-station-card strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.charging-station-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.charging-station-meta b {
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(8, 118, 201, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
}

.charging-station-meta .live-status-pill,
.live-status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(86, 96, 95, 0.12);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 950;
}

.live-status-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.live-status-pill.available {
  background: rgba(14, 143, 120, 0.14);
  color: var(--green);
}

.live-status-pill.charging {
  background: rgba(8, 118, 201, 0.12);
  color: var(--blue);
}

.live-status-pill.faulted {
  background: rgba(190, 45, 45, 0.12);
  color: #be2d2d;
}

.live-status-pill.offline {
  background: rgba(86, 96, 95, 0.13);
  color: #56605f;
}

.charging-station-card small,
.charging-station-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.charge-map-marker {
  border: 0 !important;
  background: transparent !important;
}

.charge-map-marker .pin-card {
  position: relative;
  display: grid;
  width: 46px;
  min-height: 46px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 15px 15px 15px 5px;
  padding: 6px 5px 7px;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.28), transparent 18px),
    linear-gradient(150deg, var(--blue), var(--blue-deep));
  color: var(--white);
  box-shadow:
    0 10px 24px rgba(18, 32, 31, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.charge-map-marker:hover .pin-card {
  box-shadow:
    0 14px 32px rgba(18, 32, 31, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.charge-map-marker .pin-card::before {
  position: absolute;
  inset: 4px 4px auto auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  content: "";
}

.charge-map-marker .pin-card::after {
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  background: var(--blue-deep);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.charge-map-marker .pin-card span,
.charge-map-marker .pin-card strong,
.charge-map-marker .pin-card small {
  position: relative;
  z-index: 1;
}

.charge-map-marker .pin-card span {
  border-radius: 999px;
  padding: 1px 5px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-deep);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0;
}

.charge-map-marker .pin-card strong {
  margin-top: 0;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.charge-map-marker .pin-card small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 8px;
  font-weight: 950;
}

.charge-map-marker.dc .pin-card {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.28), transparent 18px),
    linear-gradient(150deg, var(--green), #096b5c);
}

.charge-map-marker.dc .pin-card::after {
  background: #096b5c;
}

.charge-map-marker.dc .pin-card span {
  color: #096b5c;
}

.charge-map-marker.all .pin-card {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.3), transparent 18px),
    linear-gradient(150deg, var(--amber), #c97d09);
}

.charge-map-marker.all .pin-card::after {
  background: #c97d09;
}

.charge-map-marker.all .pin-card span {
  color: #9a6105;
}

.charge-map-marker.live-available .pin-card {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.3), transparent 18px),
    linear-gradient(150deg, #10a982, #087762);
}

.charge-map-marker.live-available .pin-card::after {
  background: #087762;
}

.charge-map-marker.live-available .pin-card span {
  color: #087762;
}

.charge-map-marker.live-charging .pin-card {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.3), transparent 18px),
    linear-gradient(150deg, #1683df, #07549e);
}

.charge-map-marker.live-charging .pin-card::after {
  background: #07549e;
}

.charge-map-marker.live-charging .pin-card span {
  color: #07549e;
}

.charge-map-marker.live-faulted .pin-card {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.26), transparent 18px),
    linear-gradient(150deg, #d94848, #952828);
}

.charge-map-marker.live-faulted .pin-card::after {
  background: #952828;
}

.charge-map-marker.live-faulted .pin-card span {
  color: #952828;
}

.charge-map-marker.live-offline .pin-card {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.22), transparent 18px),
    linear-gradient(150deg, #7c8785, #3f4948);
}

.charge-map-marker.live-offline .pin-card::after {
  background: #3f4948;
}

.charge-map-marker.live-offline .pin-card span {
  color: #3f4948;
}

.charge-user-marker {
  display: grid;
  place-items: center;
  border: 3px solid var(--white) !important;
  border-radius: 50%;
  background: var(--lime) !important;
  box-shadow: 0 0 0 8px rgba(199, 243, 111, 0.25), 0 14px 34px rgba(18, 32, 31, 0.22);
}

.charge-user-marker span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

.charging-map-popup strong,
.charging-map-popup span,
.charging-map-popup small,
.charging-map-popup em,
.charging-map-popup a {
  display: block;
  margin-top: 5px;
}

.charging-popup-head {
  display: grid;
  gap: 6px;
}

.charging-map-popup .popup-kind {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(8, 118, 201, 0.12);
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
}

.charging-map-popup .popup-kind.dc {
  background: rgba(14, 143, 120, 0.14);
  color: var(--green);
}

.charging-map-popup strong {
  margin-top: 0;
  color: var(--ink);
  font-size: 16px;
}

.charging-map-popup dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0 0;
}

.charging-map-popup dl div {
  border-radius: 8px;
  padding: 7px;
  background: #edf5f2;
}

.charging-map-popup dt,
.charging-map-popup dd {
  margin: 0;
}

.charging-map-popup dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.charging-map-popup dd {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.charging-map-popup span,
.charging-map-popup small,
.charging-map-popup em {
  color: var(--muted);
  font-style: normal;
}

.charging-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.charging-map-popup .charging-popup-actions a {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.charging-map-popup .charging-popup-actions a:first-child {
  background: var(--blue);
  color: var(--white);
}

.map-pin {
  width: min(360px, 100%);
  margin: 84px auto 0;
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-pin strong {
  display: block;
  margin-bottom: 6px;
}

.hidden {
  display: none !important;
}

@media (min-width: 921px) and (max-width: 1280px) {
  .site-header {
    gap: 10px;
    padding-right: clamp(14px, 2vw, 28px);
    padding-left: clamp(14px, 2vw, 28px);
  }

  .main-nav {
    gap: clamp(6px, 0.7vw, 10px);
    font-size: 12px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions .button.small {
    min-height: 42px;
    padding: 0 13px;
    font-size: 13px;
  }
}

@media (max-width: 1120px) {
  .site-header {
    gap: 10px;
    padding-right: clamp(14px, 2vw, 28px);
    padding-left: clamp(14px, 2vw, 28px);
  }

  .site-header .brand {
    width: 102px;
    max-width: 102px;
    flex-basis: 102px;
  }

  .site-header .brand-mark,
  .site-header .custom-logo-link,
  .site-header .brand-logo-image,
  .site-header .custom-logo,
  .site-header .brand img {
    width: 94px !important;
    height: 42px !important;
    max-width: 94px !important;
    max-height: 42px !important;
  }

  .main-nav {
    gap: clamp(6px, 0.7vw, 10px);
    font-size: 12px;
  }

  .main-nav a {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions .button.small {
    min-height: 42px;
    padding: 0 13px;
    font-size: 13px;
  }

  .grid-4,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-logo-wall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .product-grid,
  .occasion-grid,
  .dynamic-listings,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .occasion-layout,
  .publish-layout,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .occasion-filters {
    position: static;
  }

  .charging-map-layout {
    grid-template-columns: 1fr;
  }

  .charging-station-list {
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .charging-station-card + .charging-station-card {
    margin-top: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

@media (max-width: 920px) {
  .topbar {
    display: none;
  }

  .site-header {
    position: sticky;
    min-height: 72px;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    z-index: 2147483010;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 2147483014;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    right: 14px;
    bottom: auto;
    left: 14px;
    z-index: 2147483013;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: var(--white);
    box-shadow: 0 28px 80px rgba(18, 32, 31, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s ease;
    visibility: hidden;
  }

  body.nav-open::before {
    position: fixed;
    inset: 0;
    z-index: 2147483009;
    background: rgba(18, 32, 31, 0.46);
    content: "";
  }

  body.nav-open {
    overflow: hidden;
  }

  .main-nav ul {
    display: contents;
  }

  .main-nav li {
    display: block;
    width: 100%;
  }

  body.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .main-nav a {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 16px;
    background: var(--white);
    color: var(--ink-soft);
    box-shadow: 0 10px 22px rgba(18, 32, 31, 0.04);
    font-size: 15px;
    font-weight: 900;
  }

  .main-nav .nav-home-link {
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 50px;
    justify-content: flex-start;
    gap: 10px;
    border-radius: 8px;
    padding: 0 16px;
  }

  .main-nav .nav-home-link svg {
    display: none;
  }

  .main-nav .nav-home-link .nav-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
  }

  .main-nav a:hover,
  .main-nav a.active {
    border-color: rgba(8, 118, 201, 0.25);
    background: #edf5f2;
    color: var(--blue);
  }

  body.nav-open .nav-toggle {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-actions .button.secondary {
    display: none;
  }

  .charging-map-toolbar {
    display: grid;
  }

  .charging-map-controls {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }

  .map-control-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 8px;
  }

  .map-layer-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 8px;
  }

  .charging-map-controls > button[data-map-locate],
  .charging-map-controls > button[data-map-show-all] {
    width: 100%;
  }

  .map-location-consent {
    display: grid;
  }

  .map-location-consent button {
    width: 100%;
  }

  .charging-map-layout,
  .charging-station-list {
    min-height: 0;
  }

  .charging-map {
    min-height: 440px;
  }

  .charging-station-list {
    grid-template-columns: 1fr;
  }

  .language-switcher {
    order: 2;
  }

  .nav-toggle {
    order: 3;
  }

  .hero,
  .feature-band,
  .certification-panel,
  .calculator,
  .cost-simulator,
  .simulator-layout,
  .quote-layout,
  .custom-quote-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

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

  .region-grid,
  .regional-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .certification-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .quote-summary,
  .custom-quote-result {
    position: static;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 42px;
  }

  .custom-quote-auto {
    grid-template-columns: 1fr;
  }

  .site-header,
  .home-banner-slider,
  .hero,
  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-banner-actions {
    position: static;
    display: grid;
    max-width: none;
    padding: 14px 0 0;
    background: transparent;
  }

  .devis-ad-section {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .boutique-ad-section {
    margin-bottom: 18px;
  }

  .devis-ad-shell,
  .boutique-ad-shell {
    width: 100%;
  }

  .devis-ad-shell img,
  .boutique-ad-shell img {
    min-height: 112px;
    object-position: center;
  }

  .banner-control {
    top: calc(50% - 58px);
    width: 36px;
    height: 36px;
    font-size: 26px;
  }

  .banner-prev {
    left: 8px;
  }

  .banner-next {
    right: 8px;
  }

  .site-header .brand {
    width: 112px;
    flex-basis: 112px;
    max-width: 112px;
  }

  .site-header .brand-mark,
  .site-header .custom-logo-link,
  .site-header .brand-logo-image {
    width: 104px;
    height: 50px;
    flex-basis: 104px;
    max-width: 104px !important;
    max-height: 50px !important;
  }

  .site-header .brand img,
  .site-header .custom-logo {
    width: 104px !important;
    height: 50px !important;
    max-width: 104px !important;
    max-height: 50px !important;
  }

  .header-actions .button.primary {
    display: none;
  }

  .language-switcher button {
    min-width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .hero-actions,
  .button,
  .cta-band {
    width: 100%;
  }

  .occasion-toolbar {
    display: grid;
  }

  .occasion-toolbar select,
  .occasion-grid,
  .dynamic-listings,
  .image-preview-grid {
    width: 100%;
  }

  .occasion-grid,
  .dynamic-listings,
  .image-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .occasion-grid,
  .dynamic-listings {
    grid-template-columns: 1fr;
  }

  .listing-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .listing-detail-panel {
    grid-template-columns: 1fr;
  }

  .listing-detail-image {
    min-height: 240px;
  }

  .listing-detail-specs li {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .listing-detail-specs li strong {
    text-align: left;
  }

  .listing-energy-details strong,
  .listing-charge-estimate strong,
  .seller-phone-line strong {
    font-size: 17px;
  }

  .image-lightbox {
    padding: 12px;
  }

  .image-lightbox figure {
    width: 100%;
  }

  .image-lightbox-close {
    top: 8px;
    right: 8px;
  }

  .image-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .image-lightbox-nav.previous {
    left: 8px;
  }

  .image-lightbox-nav.next {
    right: 8px;
  }

  .image-lightbox-counter {
    top: 10px;
  }

  .home-seo-actions,
  .home-install-actions {
    margin-top: 24px;
  }

  .home-seo-actions .button,
  .home-install-actions .button {
    min-height: 54px;
    padding: 10px 14px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .hero-visual {
    min-height: 360px;
  }

  .floating-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 16px 18px;
  }

  .hero-visual img {
    width: min(78%, 320px);
    margin-top: 24px;
  }

  .logo-group {
    gap: 10px;
    padding: 14px 10px 14px 0;
  }

  .logo-item {
    width: 104px;
    max-width: 104px;
    height: 76px;
    min-height: 76px;
    padding: 12px 10px 8px;
  }

  .logo-item img,
  .logo-item svg {
    width: 48px !important;
    height: 28px !important;
    max-width: 48px !important;
    max-height: 28px !important;
  }

  .metric-row,
  .region-grid,
  .regional-proof,
  .vehicle-logo-wall,
  .grid-2,
  .grid-3,
  .grid-4,
  .vehicle-spec-grid,
  .product-grid,
  .process-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .product-card {
    display: block;
  }

  .ai-assistant {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-items: stretch;
  }

  .ai-assistant-toggle {
    justify-self: end;
  }

  .ai-assistant-panel {
    width: 100%;
    max-height: min(680px, calc(100dvh - 28px));
  }

  .ai-assistant-messages {
    max-height: min(360px, calc(100dvh - 260px));
  }

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

  .ai-assistant-form button {
    min-height: 44px;
  }

  .product-card img {
    width: 100%;
    height: auto;
    max-height: 250px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 18px;
  }

  .product-card-body {
    min-height: 0;
    padding: 18px;
  }

  .product-card-body h3 {
    font-size: 22px;
    line-height: 1.15;
  }

  .product-card-body p {
    font-size: 16px;
    line-height: 1.5;
  }

  .price {
    margin-top: 18px;
    padding-top: 0;
  }

  .battery-level-title {
    align-items: flex-start;
  }

  .battery-level-title strong {
    font-size: 22px;
  }

  .steg-cost-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .steg-cost-row b {
    justify-self: start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .comparison {
    display: block;
    overflow-x: auto;
  }

  .cta-band {
    display: block;
    margin: 16px;
  }

  .cta-band .button {
    margin-top: 22px;
  }

  .footer-grid,
  .footer-bottom {
    display: block;
  }

  .footer-grid > div {
    margin-bottom: 28px;
  }
}

/* WordPress cache / minifier hardening: keep critical layout stable even when old cached rules linger. */
.site-header {
  z-index: 2147483010 !important;
}

.site-header .brand {
  width: 116px !important;
  max-width: 116px !important;
  min-width: 0 !important;
  flex: 0 0 116px !important;
}

.site-header .brand-mark,
.site-header .custom-logo-link,
.site-header .brand-logo-image,
.site-header .custom-logo,
.site-header .brand img {
  width: 108px !important;
  height: 48px !important;
  max-width: 108px !important;
  max-height: 48px !important;
  object-fit: contain !important;
}

.main-nav li {
  list-style: none !important;
}

.main-nav {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.main-nav li,
.main-nav a {
  min-width: max-content !important;
  white-space: nowrap !important;
}

@media (min-width: 921px) and (max-width: 1280px) {
  .site-header {
    gap: 10px !important;
    padding-right: clamp(14px, 2vw, 28px) !important;
    padding-left: clamp(14px, 2vw, 28px) !important;
  }

  .main-nav {
    gap: clamp(6px, 0.7vw, 10px) !important;
    font-size: 12px !important;
  }

  .header-actions {
    gap: 7px !important;
  }

  .header-actions .button.small {
    min-height: 42px !important;
    padding-right: 13px !important;
    padding-left: 13px !important;
    font-size: 13px !important;
  }
}

@media (min-width: 921px) and (max-width: 1120px) {
  .site-header .brand {
    width: 102px !important;
    max-width: 102px !important;
    flex-basis: 102px !important;
  }

  .site-header .brand-mark,
  .site-header .custom-logo-link,
  .site-header .brand-logo-image,
  .site-header .custom-logo,
  .site-header .brand img {
    width: 94px !important;
    height: 42px !important;
    max-width: 94px !important;
    max-height: 42px !important;
  }
}

.vehicle-compatibility .logo-marquee {
  max-width: 100% !important;
  overflow: hidden !important;
  contain: layout paint !important;
}

.vehicle-compatibility .logo-track,
.vehicle-compatibility .logo-group {
  display: flex !important;
  align-items: center !important;
}

.vehicle-compatibility .logo-item {
  width: 132px !important;
  max-width: 132px !important;
  height: 88px !important;
  max-height: 88px !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
}

.vehicle-compatibility .logo-item img,
.vehicle-compatibility .logo-item svg,
.vehicle-compatibility .logo-marquee img,
.vehicle-compatibility .logo-marquee svg {
  display: block !important;
  width: 72px !important;
  height: 38px !important;
  max-width: 72px !important;
  max-height: 38px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
}

.site-footer .brand {
  min-width: 0 !important;
  max-width: 360px !important;
}

.site-footer .brand img,
.site-footer .footer-logo-image {
  width: 120px !important;
  max-width: 120px !important;
  height: auto !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

.site-footer .brand strong,
.site-footer .brand small,
.site-footer a,
.site-footer li,
.site-footer p {
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

@media (max-width: 920px) {
  .site-header {
    z-index: 2147483010 !important;
  }

  .site-header .brand {
    width: 112px !important;
    max-width: 112px !important;
    flex-basis: 112px !important;
  }

  .site-header .brand-mark,
  .site-header .custom-logo-link,
  .site-header .brand-logo-image,
  .site-header .custom-logo,
  .site-header .brand img {
    width: 104px !important;
    height: 50px !important;
    max-width: 104px !important;
    max-height: 50px !important;
  }

  .main-nav {
    position: fixed !important;
    inset: 86px 14px auto 14px !important;
    z-index: 2147483013 !important;
    display: flex !important;
    max-height: calc(100dvh - 104px) !important;
    overflow-y: auto !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    background: var(--white) !important;
    box-shadow: 0 28px 80px rgba(18, 32, 31, 0.24) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-12px) scale(0.98) !important;
    visibility: hidden !important;
  }

  .nav-toggle {
    position: relative !important;
    z-index: 2147483014 !important;
  }

  body.nav-open::before {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483009 !important;
    background: rgba(18, 32, 31, 0.46) !important;
    content: "" !important;
  }

  body.nav-open {
    overflow: hidden !important;
  }

  body.nav-open .main-nav {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
  }

  .main-nav li,
  .main-nav a {
    width: 100% !important;
    min-width: 0 !important;
  }

  .main-nav .nav-home-link svg {
    display: none !important;
  }

  .vehicle-compatibility .logo-item {
    width: 104px !important;
    max-width: 104px !important;
    height: 76px !important;
    max-height: 76px !important;
  }

  .vehicle-compatibility .logo-item img,
  .vehicle-compatibility .logo-item svg,
  .vehicle-compatibility .logo-marquee img,
  .vehicle-compatibility .logo-marquee svg {
    width: 58px !important;
    height: 30px !important;
    max-width: 58px !important;
    max-height: 30px !important;
  }
}


.main-nav li {
  list-style: none;
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--blue);
}

.wp-admin-bar .site-header {
  top: 32px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
